@zonos/elements 1.3.10 → 1.3.11-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/dist/cjs/{cart-34d4bf2e.js → cart-d9e9ecfc.js} +209 -25
  2. package/dist/cjs/{getBorderRadius-d795f526.js → getBorderRadius-9d619bf6.js} +1 -1
  3. package/dist/cjs/getContrastColor-af2386af.js +20 -0
  4. package/dist/cjs/{isColorVariable-41cacd82.js → isColorVariable-fff5e469.js} +1 -1
  5. package/dist/cjs/{isDarkColor-33fb96a7.js → isDarkColor-a68274cf.js} +2 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/{submitGtag-1f92afd1.js → submitGtag-b7ef5d5b.js} +2 -2
  8. package/dist/cjs/zonos-address_4.cjs.entry.js +11 -11
  9. package/dist/cjs/zonos-badge_2.cjs.entry.js +6 -6
  10. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  11. package/dist/cjs/{zonos-button_3.cjs.entry.js → zonos-button_2.cjs.entry.js} +34 -36
  12. package/dist/cjs/zonos-card_2.cjs.entry.js +8 -8
  13. package/dist/cjs/{zonos-cart-items_9.cjs.entry.js → zonos-cart-items_10.cjs.entry.js} +161 -48
  14. package/dist/cjs/zonos-checkout.cjs.entry.js +20 -22
  15. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  16. package/dist/cjs/zonos-controller.cjs.entry.js +5 -5
  17. package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-country-select_3.cjs.entry.js +9 -9
  19. package/dist/cjs/zonos-elements.cjs.js +1 -1
  20. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
  21. package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
  22. package/dist/cjs/zonos-icon.cjs.entry.js +39 -0
  23. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  24. package/dist/cjs/zonos-logo.cjs.entry.js +3 -3
  25. package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
  26. package/dist/cjs/zonos-payment.cjs.entry.js +5 -5
  27. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +5 -5
  28. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +13 -4
  29. package/dist/cjs/zonos-text.cjs.entry.js +6 -2
  30. package/dist/cjs/{zonosStore-d3f0173b.js → zonosStore-21334303.js} +1 -1
  31. package/dist/collection/collection-manifest.json +1 -0
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +32 -22
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +76 -16
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +2 -4
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +15 -17
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +1 -1
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +43 -24
  38. package/dist/collection/components/common/component-template/zonos-link/zonos-link.js +1 -1
  39. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  40. package/dist/collection/components/common/zonos-button/zonos-button.css +1 -1
  41. package/dist/collection/components/common/zonos-button/zonos-button.js +18 -4
  42. package/dist/collection/components/common/zonos-card/zonos-card.js +2 -2
  43. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  44. package/dist/collection/components/common/zonos-checkout-progress-tabs/assets/TabCheckmark.svg +3 -0
  45. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.css +102 -0
  46. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +193 -0
  47. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  48. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
  49. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +1 -1
  50. package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +1 -1
  51. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -28
  52. package/dist/collection/components/common/zonos-icon/zonos-icon.js +7 -3
  53. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  54. package/dist/collection/components/common/zonos-logo/zonos-logo.js +4 -4
  55. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  56. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +27 -1
  57. package/dist/collection/components/common/zonos-text/zonos-text.js +7 -3
  58. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  59. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  60. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  61. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  62. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +1 -1
  63. package/dist/collection/components/main/zonos-controller.js +1 -1
  64. package/dist/collection/components/store/checkout/cart.js +26 -0
  65. package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
  66. package/dist/collection/components/store/translationStore/strings.base.js +9 -0
  67. package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
  68. package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
  69. package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
  70. package/dist/collection/components/store/translationStore/strings.french.js +9 -0
  71. package/dist/collection/components/store/translationStore/strings.german.js +9 -0
  72. package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
  73. package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
  74. package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
  75. package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
  76. package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
  77. package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
  78. package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
  79. package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
  80. package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
  81. package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
  82. package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
  83. package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
  84. package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
  85. package/dist/collection/components/store/zonosStore.js +1 -1
  86. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  87. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  88. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  89. package/dist/collection/components/utils/getContrastColor.js +16 -0
  90. package/dist/collection/components/utils/isColorVariable.js +1 -1
  91. package/dist/collection/components/utils/styles.js +12 -0
  92. package/dist/components/getContrastColor.js +18 -0
  93. package/dist/components/isColorVariable.js +1 -1
  94. package/dist/components/isDarkColor.js +1 -1
  95. package/dist/components/stripe.js +207 -22
  96. package/dist/components/trackConversionEvent.js +1 -1
  97. package/dist/components/zonos-address2.js +1 -1
  98. package/dist/components/zonos-badge2.js +3 -3
  99. package/dist/components/zonos-button2.js +30 -4
  100. package/dist/components/zonos-card2.js +2 -2
  101. package/dist/components/zonos-checkbox2.js +3 -3
  102. package/dist/components/zonos-checkout-finish2.js +1 -1
  103. package/dist/components/zonos-checkout-footer2.js +33 -17
  104. package/dist/components/zonos-checkout-progress-tabs.d.ts +11 -0
  105. package/dist/components/zonos-checkout-progress-tabs.js +6 -0
  106. package/dist/components/zonos-checkout-progress-tabs2.js +122 -0
  107. package/dist/components/zonos-checkout.js +44 -40
  108. package/dist/components/zonos-collapse2.js +2 -2
  109. package/dist/components/zonos-component.js +1 -1
  110. package/dist/components/zonos-controller.js +2 -2
  111. package/dist/components/zonos-country-select2.js +2 -2
  112. package/dist/components/zonos-custom-message2.js +1 -1
  113. package/dist/components/zonos-dialog2.js +4 -6
  114. package/dist/components/zonos-hello-dialog-footer2.js +2 -2
  115. package/dist/components/zonos-hello-dialog2.js +2 -2
  116. package/dist/components/zonos-hello.js +1 -1
  117. package/dist/components/zonos-icon2.js +5 -1
  118. package/dist/components/zonos-language-select2.js +3 -3
  119. package/dist/components/zonos-link-authentication2.js +1 -1
  120. package/dist/components/zonos-link.js +1 -1
  121. package/dist/components/zonos-logo.js +2 -2
  122. package/dist/components/zonos-payment2.js +1 -1
  123. package/dist/components/zonos-review2.js +1 -1
  124. package/dist/components/zonos-select-dialog-header2.js +2 -2
  125. package/dist/components/zonos-shipping-rich-radio2.js +11 -1
  126. package/dist/components/zonos-shipping2.js +44 -25
  127. package/dist/components/zonos-text2.js +5 -1
  128. package/dist/components/zonos-tooltip2.js +2 -2
  129. package/dist/components/zonos-v-stack2.js +2 -2
  130. package/dist/components/zonosStore.js +1 -1
  131. package/dist/esm/{cart-8526eb36.js → cart-6cfd7560.js} +210 -25
  132. package/dist/esm/{getBorderRadius-5d750ab8.js → getBorderRadius-c5fb7746.js} +1 -1
  133. package/dist/esm/getContrastColor-a1a6f6aa.js +18 -0
  134. package/dist/esm/{isColorVariable-91c33804.js → isColorVariable-fbf2d80d.js} +1 -1
  135. package/dist/esm/{isDarkColor-c34dfed9.js → isDarkColor-810fcaa5.js} +2 -2
  136. package/dist/esm/loader.js +1 -1
  137. package/dist/esm/{submitGtag-b1e6731d.js → submitGtag-acca574d.js} +2 -2
  138. package/dist/esm/zonos-address_4.entry.js +11 -11
  139. package/dist/esm/zonos-badge_2.entry.js +6 -6
  140. package/dist/esm/zonos-banner.entry.js +1 -1
  141. package/dist/esm/{zonos-button_3.entry.js → zonos-button_2.entry.js} +35 -36
  142. package/dist/esm/zonos-card_2.entry.js +8 -8
  143. package/dist/esm/{zonos-cart-items_9.entry.js → zonos-cart-items_10.entry.js} +161 -49
  144. package/dist/esm/zonos-checkout.entry.js +20 -22
  145. package/dist/esm/zonos-component.entry.js +1 -1
  146. package/dist/esm/zonos-controller.entry.js +5 -5
  147. package/dist/esm/zonos-country-flag.entry.js +4 -4
  148. package/dist/esm/zonos-country-select_3.entry.js +9 -9
  149. package/dist/esm/zonos-elements.js +1 -1
  150. package/dist/esm/zonos-hello-dialog.entry.js +5 -5
  151. package/dist/esm/zonos-hello.entry.js +4 -4
  152. package/dist/esm/zonos-icon.entry.js +35 -0
  153. package/dist/esm/zonos-link.entry.js +1 -1
  154. package/dist/esm/zonos-logo.entry.js +3 -3
  155. package/dist/esm/zonos-notification.entry.js +1 -1
  156. package/dist/esm/zonos-payment.entry.js +5 -5
  157. package/dist/esm/zonos-select-dialog-header_2.entry.js +5 -5
  158. package/dist/esm/zonos-shipping-rich-radio.entry.js +13 -4
  159. package/dist/esm/zonos-text.entry.js +6 -2
  160. package/dist/esm/{zonosStore-aac7c6ac.js → zonosStore-e5f3d4da.js} +1 -1
  161. package/dist/esm-es5/cart-6cfd7560.js +1 -0
  162. package/dist/esm-es5/{getBorderRadius-5d750ab8.js → getBorderRadius-c5fb7746.js} +1 -1
  163. package/dist/esm-es5/getContrastColor-a1a6f6aa.js +1 -0
  164. package/dist/esm-es5/isColorVariable-fbf2d80d.js +1 -0
  165. package/dist/esm-es5/{isDarkColor-c34dfed9.js → isDarkColor-810fcaa5.js} +1 -1
  166. package/dist/esm-es5/loader.js +1 -1
  167. package/dist/esm-es5/{submitGtag-b1e6731d.js → submitGtag-acca574d.js} +1 -1
  168. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  169. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  170. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  171. package/dist/esm-es5/zonos-button_2.entry.js +1 -0
  172. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  173. package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -0
  174. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  175. package/dist/esm-es5/zonos-component.entry.js +1 -1
  176. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  177. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  178. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  179. package/dist/esm-es5/zonos-elements.js +1 -1
  180. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  181. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  182. package/dist/esm-es5/zonos-icon.entry.js +1 -0
  183. package/dist/esm-es5/zonos-link.entry.js +1 -1
  184. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  185. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  186. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  187. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  188. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  189. package/dist/esm-es5/zonos-text.entry.js +1 -1
  190. package/dist/esm-es5/{zonosStore-aac7c6ac.js → zonosStore-e5f3d4da.js} +1 -1
  191. package/dist/scripts/loadZonos.js +1 -1
  192. package/dist/scripts/zonos.js +1 -1
  193. package/dist/scripts/zonosBase.js +1 -1
  194. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.d.ts +14 -2
  195. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +0 -1
  196. package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +7 -0
  197. package/dist/types/components/common/zonos-button/zonos-button.d.ts +1 -0
  198. package/dist/types/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.d.ts +29 -0
  199. package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +0 -5
  200. package/dist/types/components/common/zonos-icon/zonos-icon.d.ts +3 -1
  201. package/dist/types/components/common/zonos-logo/zonos-logo.d.ts +1 -1
  202. package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +5 -0
  203. package/dist/types/components/common/zonos-text/zonos-text.d.ts +3 -1
  204. package/dist/types/components/store/checkout/cart.d.ts +10 -1
  205. package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
  206. package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
  207. package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
  208. package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
  209. package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
  210. package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
  211. package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
  212. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
  213. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
  214. package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
  215. package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
  216. package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
  217. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
  218. package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
  219. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
  220. package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
  221. package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
  222. package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
  223. package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
  224. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
  225. package/dist/types/components/utils/getContrastColor.d.ts +4 -0
  226. package/dist/types/components/utils/isColorVariable.d.ts +1 -1
  227. package/dist/types/components/utils/styles.d.ts +7 -0
  228. package/dist/types/components.d.ts +67 -14
  229. package/dist/zonos-elements/assets/TabCheckmark.svg +3 -0
  230. package/dist/zonos-elements/p-0b51de7b.system.entry.js +1 -0
  231. package/dist/zonos-elements/{p-f8e7aea7.system.entry.js → p-0dfd549e.system.entry.js} +1 -1
  232. package/dist/zonos-elements/{p-c1e54094.system.js → p-0f414d6a.system.js} +1 -1
  233. package/dist/zonos-elements/p-0f8acb62.js +1 -0
  234. package/dist/zonos-elements/{p-27d57265.system.entry.js → p-20b080d1.system.entry.js} +1 -1
  235. package/dist/zonos-elements/{p-7e355496.system.entry.js → p-212992ec.system.entry.js} +1 -1
  236. package/dist/zonos-elements/p-22db99c9.system.entry.js +1 -0
  237. package/dist/zonos-elements/{p-473943ae.entry.js → p-26aee7a0.entry.js} +1 -1
  238. package/dist/zonos-elements/{p-c6de2e40.system.entry.js → p-2d5a6a7f.system.entry.js} +1 -1
  239. package/dist/zonos-elements/{p-b1a44483.system.entry.js → p-2fdec8bc.system.entry.js} +1 -1
  240. package/dist/zonos-elements/p-352ba771.system.js +1 -0
  241. package/dist/zonos-elements/p-4051a42d.js +1 -0
  242. package/dist/zonos-elements/p-5162f4cc.system.entry.js +1 -0
  243. package/dist/zonos-elements/{p-d0d12a64.entry.js → p-51c32b3d.entry.js} +1 -1
  244. package/dist/zonos-elements/{p-f3e497d0.js → p-55b8b98b.js} +1 -1
  245. package/dist/zonos-elements/p-59595553.entry.js +1 -0
  246. package/dist/zonos-elements/p-5a40684c.entry.js +1 -0
  247. package/dist/zonos-elements/{p-8d608535.system.entry.js → p-60ac5342.system.entry.js} +1 -1
  248. package/dist/zonos-elements/p-61e08de7.system.entry.js +1 -0
  249. package/dist/zonos-elements/{p-ab7657fa.entry.js → p-65a877e2.entry.js} +1 -1
  250. package/dist/zonos-elements/p-66cc1554.system.js +1 -0
  251. package/dist/zonos-elements/p-6a80f7f5.entry.js +1 -0
  252. package/dist/zonos-elements/{p-4eb24c96.entry.js → p-6daa64bf.entry.js} +1 -1
  253. package/dist/zonos-elements/{p-77727098.system.js → p-6db032ee.system.js} +1 -1
  254. package/dist/zonos-elements/{p-188ddbe2.entry.js → p-6dc606c6.entry.js} +1 -1
  255. package/dist/zonos-elements/p-6e81adba.system.js +1 -1
  256. package/dist/zonos-elements/{p-4ad5f307.system.entry.js → p-7e00a5dc.system.entry.js} +1 -1
  257. package/dist/zonos-elements/{p-e12a18d3.entry.js → p-817e7f8e.entry.js} +1 -1
  258. package/dist/zonos-elements/{p-2984aa3d.system.entry.js → p-824b8708.system.entry.js} +1 -1
  259. package/dist/zonos-elements/{p-770384fa.system.entry.js → p-9a2c3874.system.entry.js} +1 -1
  260. package/dist/zonos-elements/{p-edbea8df.system.js → p-9db2f9d1.system.js} +1 -1
  261. package/dist/zonos-elements/{p-77c54b83.js → p-a1a477c9.js} +1 -1
  262. package/dist/zonos-elements/{p-1fc444b0.system.entry.js → p-a398bc59.system.entry.js} +1 -1
  263. package/dist/zonos-elements/{p-6255bfe6.entry.js → p-a641dfcd.entry.js} +1 -1
  264. package/dist/zonos-elements/p-a7bfe188.entry.js +1 -0
  265. package/dist/zonos-elements/{p-9db3028d.entry.js → p-ac7155d7.entry.js} +1 -1
  266. package/dist/zonos-elements/{p-6181f2d5.entry.js → p-ad499520.entry.js} +1 -1
  267. package/dist/zonos-elements/{p-a578facf.entry.js → p-b0e9226a.entry.js} +1 -1
  268. package/dist/zonos-elements/{p-d9c65636.system.js → p-b1ee44c6.system.js} +1 -1
  269. package/dist/zonos-elements/{p-9b95b387.system.entry.js → p-b2c48954.system.entry.js} +1 -1
  270. package/dist/zonos-elements/{p-315c1fc2.entry.js → p-b62aee3d.entry.js} +1 -1
  271. package/dist/zonos-elements/p-b76909ab.entry.js +1 -0
  272. package/dist/zonos-elements/{p-333da541.entry.js → p-b9cde0c3.entry.js} +1 -1
  273. package/dist/zonos-elements/{p-482371fb.system.entry.js → p-c4862aab.system.entry.js} +1 -1
  274. package/dist/zonos-elements/p-c6e44a9b.entry.js +1 -0
  275. package/dist/zonos-elements/p-cde25873.js +1 -0
  276. package/dist/zonos-elements/p-d96f8d89.system.entry.js +1 -0
  277. package/dist/zonos-elements/p-e2131057.entry.js +1 -0
  278. package/dist/zonos-elements/p-e28ed57c.js +1 -0
  279. package/dist/zonos-elements/{p-49a5be72.js → p-e74f27da.js} +1 -1
  280. package/dist/zonos-elements/{p-a554d58d.system.js → p-ed4d8d71.system.js} +1 -1
  281. package/dist/zonos-elements/{p-0b4910fe.system.entry.js → p-f62b49aa.system.entry.js} +1 -1
  282. package/dist/zonos-elements/{p-a87803b7.system.entry.js → p-f8b03017.system.entry.js} +1 -1
  283. package/dist/zonos-elements/{p-22802400.system.entry.js → p-fac20c60.system.entry.js} +1 -1
  284. package/dist/zonos-elements/{p-aaf75ede.system.entry.js → p-fd8c50e8.system.entry.js} +1 -1
  285. package/dist/zonos-elements/{p-0e63111b.entry.js → p-ff17c03b.entry.js} +1 -1
  286. package/dist/zonos-elements/p-ff962844.entry.js +1 -0
  287. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  288. package/package.json +2 -2
  289. package/dist/esm-es5/cart-8526eb36.js +0 -1
  290. package/dist/esm-es5/isColorVariable-91c33804.js +0 -1
  291. package/dist/esm-es5/zonos-button_3.entry.js +0 -1
  292. package/dist/esm-es5/zonos-cart-items_9.entry.js +0 -1
  293. package/dist/zonos-elements/p-144f4d31.entry.js +0 -1
  294. package/dist/zonos-elements/p-4c414a92.js +0 -1
  295. package/dist/zonos-elements/p-5c991faa.system.entry.js +0 -1
  296. package/dist/zonos-elements/p-5d2dd287.entry.js +0 -1
  297. package/dist/zonos-elements/p-92e88f3d.system.js +0 -1
  298. package/dist/zonos-elements/p-95cc6b89.entry.js +0 -1
  299. package/dist/zonos-elements/p-ada42479.entry.js +0 -1
  300. package/dist/zonos-elements/p-adc2e8c3.system.entry.js +0 -1
  301. package/dist/zonos-elements/p-b0c84054.entry.js +0 -1
  302. package/dist/zonos-elements/p-cf03cb54.system.entry.js +0 -1
  303. package/dist/zonos-elements/p-dd153a4e.entry.js +0 -1
  304. package/dist/zonos-elements/p-e4749f19.js +0 -1
  305. package/dist/zonos-elements/p-e87e8c9c.system.entry.js +0 -1
  306. package/dist/zonos-elements/p-ed7d1948.js +0 -1
  307. package/dist/zonos-elements/p-f1170e7b.entry.js +0 -1
@@ -5,7 +5,7 @@ import { g as globalScripts } from './app-globals-0f993ce5.js';
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["zonos-checkout",[[2,"zonos-checkout",{"appearanceSettingsOverride":[16],"preview":[4],"mobile":[4],"defaultAddress":[16],"forceDialogOpen":[4,"force-dialog-open"],"open":[32],"stripe":[32],"submitLoading":[32],"paymentError":[32],"collapseReviewMobile":[32],"isAttachError":[32],"isMobile":[32],"zonosReviewRef":[32],"storybookPaymentStatusOverride":[32],"domesticRedirectedBtnSelector":[32],"closeDialogHandler":[64],"init":[64],"setToFinishStep":[64]},[[16,"zonos--init-cart-info","initCartInfoHandler"],[9,"resize","handleWindowResize"]],{"appearanceSettingsOverride":["appearanceSettingsOverrideChanged"],"mobile":["handleMobileChange"]}]]],["zonos-hello",[[1,"zonos-hello",{"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettingsOverride":[16],"showPeekMessage":[32],"zonosStoreHelloSettings":[32],"showDialog":[32],"peekMessage":[32],"initialUrl":[32],"allRestrictedItems":[32],"allFoundProducts":[32],"productsOnPage":[32],"displayCurrency":[64],"convertAndFormat":[64],"convert":[64],"format":[64],"openHelloDialog":[64]},[[9,"resize","handleResize"]]]]],["zonos-controller",[[1,"zonos-controller",{"config":[16],"zonosApiKey":[1,"zonos-api-key"],"initCheckoutElement":[64],"setupGoogleFont":[64],"showNotification":[64],"overrideConfig":[64],"overrideCountry":[64],"getAppearanceSetting":[64],"updateOrganizationName":[64]}]]],["zonos-component",[[1,"zonos-component",{"first":[1],"middle":[1],"last":[1]}]]],["zonos-link",[[1,"zonos-link",{"href":[1],"rel":[1],"target":[1],"linkTitle":[1,"link-title"]}]]],["zonos-logo",[[1,"zonos-logo",{"theme":[1],"width":[1]}]]],["zonos-text",[[1,"zonos-text",{"textColor":[1,"text-color"],"size":[1],"type":[1],"weight":[2],"content":[1],"ready":[32]}]]],["zonos-hello-dialog",[[1,"zonos-hello-dialog",{"isOpen":[4,"is-open"],"setIsOpen":[16],"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettings":[16],"restrictedItems":[16],"welcomeMessage":[32],"showCountrySelect":[32],"showLanguageSelect":[32]},[[4,"click","globalClickHandler"]],{"isOpen":["isOpenHandler"]}]]],["zonos-notification",[[1,"zonos-notification",{"notificationArray":[32],"showNotification":[64]}]]],["zonos-payment",[[2,"zonos-payment",{"titleText":[1,"title-text"],"stripe":[32],"stripeElements":[32]},null,{"stripeElements":["watchInitStripe"],"stripe":["watchInitStripe"]}]]],["zonos-shipping-rich-radio",[[1,"zonos-shipping-rich-radio",{"items":[16],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"theme":[1],"selectedItem":[32]}]]],["zonos-badge_2",[[1,"zonos-badge",{"bold":[4],"badgeColor":[1,"badge-color"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"rounded":[4]}],[1,"zonos-tooltip",{"label":[1],"subtitle":[1],"showTooltip":[32]}]]],["zonos-country-flag",[[1,"zonos-country-flag",{"countryCode":[1,"country-code"],"size":[2]}]]],["zonos-banner",[[1,"zonos-banner",{"bannerTitle":[1,"banner-title"],"intent":[1],"hasContent":[32]}]]],["zonos-button_3",[[1,"zonos-button",{"buttonColor":[1,"button-color"],"backgroundColor":[1,"background-color"],"borderStyle":[1,"border-style"],"isDisabled":[4,"is-disabled"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"variant":[1],"noBackground":[4,"no-background"],"noPaddingLeft":[4,"no-padding-left"],"noPaddingRight":[4,"no-padding-right"],"loading":[4],"theme":[1],"hasIcon":[32],"hasContent":[32]},[[2,"click","clickHandler"]],{"icon":["iconChangeHandler"]}],[1,"zonos-icon",{"autoHeight":[4,"auto-height"],"iconColor":[1,"icon-color"],"content":[1],"size":[2]}],[1,"zonos-spinner",{"size":[2],"spinnerColor":[1,"spinner-color"]}]]],["zonos-select-dialog-header_2",[[1,"zonos-select-dialog-header",{"handleOnClose":[16],"label":[1]}],[1,"zonos-v-stack",{"spacing":[2]}]]],["zonos-card_2",[[1,"zonos-language-select",{"handleOnClose":[16]}],[1,"zonos-card",{"actions":[16],"footerActions":[16],"footerContent":[16],"footerHeight":[2,"footer-height"],"label":[16],"spacing":[1]}]]],["zonos-country-select_3",[[1,"zonos-country-select",{"handleOnClose":[16],"inputValue":[32]}],[1,"zonos-hello-dialog-footer",{"appearanceSettings":[16],"setShowCountrySelect":[16],"setShowLanguageSelect":[16]}],[1,"zonos-custom-message",{"icon":[1],"message":[1]}]]],["zonos-address_4",[[2,"zonos-address",{"type":[1],"titleText":[1,"title-text"],"defaultAddress":[16],"stripe":[32],"hasInvalidCharacters":[32],"isDirtyAddress":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-checkbox",{"backgroundColor":[1,"background-color"],"label":[1],"isChecked":[4,"is-checked"],"isDisabled":[4,"is-disabled"],"size":[2],"fontSize":[1,"font-size"],"borderStyle":[1,"border-style"]}],[2,"zonos-link-authentication",{"titleText":[1,"title-text"],"stripe":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-collapse",{"collapsed":[4],"collapseSize":[2,"collapse-size"],"height":[32],"iframe":[32]}]]],["zonos-cart-items_9",[[2,"zonos-customer-info",{"continueLoading":[4,"continue-loading"],"submitBtnType":[1,"submit-btn-type"],"submitBtnColor":[1,"submit-btn-color"],"defaultAddress":[16],"disabled":[32],"hasInvalidShippingCharacters":[32],"hasInvalidBillingCharacters":[32]},null,{"disabled":["watchFormComplete"]}],[1,"zonos-checkout-footer",{"showDialog":[32]},[[4,"click","handleGlobalClick"]]],[2,"zonos-checkout-payment",{"paymentError":[4,"payment-error"],"submitBtnType":[1,"submit-btn-type"],"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"disabled":[32]},null,{"disabled":["watchFormComplete"]}],[2,"zonos-shipping",{"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"submitBtnType":[1,"submit-btn-type"],"selectedShippingMethod":[32],"disabled":[32]},null,{"disabled":["watchFormComplete"]}],[1,"zonos-cart-subtotal"],[1,"zonos-checkout-finish",{"borderRadius":[1,"border-radius"],"storybookForceStatus":[1,"storybook-force-status"],"overrideNotification":[16],"isLoading":[32],"notificationType":[32],"notificationTitle":[32],"notificationMessages":[32],"order":[32]}],[1,"zonos-dialog",{"open":[4],"headerText":[1,"header-text"],"width":[1],"height":[1],"noHeader":[4,"no-header"],"noBodyPadding":[4,"no-body-padding"],"noBorder":[4,"no-border"],"footerRightAction":[16],"borderStyle":[1,"border-style"],"noCloseButton":[4,"no-close-button"],"noClickOutside":[4,"no-click-outside"],"mobile":[4],"isLoading":[4,"is-loading"],"isMobile":[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-review",{"mobile":[4],"collapsed":[4],"isMobile":[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-cart-items",{"errorImages":[32]}]]]], options);
8
+ return bootstrapLazy([["zonos-checkout",[[2,"zonos-checkout",{"appearanceSettingsOverride":[16],"preview":[4],"mobile":[4],"defaultAddress":[16],"forceDialogOpen":[4,"force-dialog-open"],"open":[32],"stripe":[32],"submitLoading":[32],"paymentError":[32],"collapseReviewMobile":[32],"isAttachError":[32],"isMobile":[32],"zonosReviewRef":[32],"storybookPaymentStatusOverride":[32],"domesticRedirectedBtnSelector":[32],"closeDialogHandler":[64],"init":[64],"setToFinishStep":[64]},[[16,"zonos--init-cart-info","initCartInfoHandler"],[9,"resize","handleWindowResize"]],{"appearanceSettingsOverride":["appearanceSettingsOverrideChanged"],"mobile":["handleMobileChange"]}]]],["zonos-hello",[[1,"zonos-hello",{"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettingsOverride":[16],"showPeekMessage":[32],"zonosStoreHelloSettings":[32],"showDialog":[32],"peekMessage":[32],"initialUrl":[32],"allRestrictedItems":[32],"allFoundProducts":[32],"productsOnPage":[32],"displayCurrency":[64],"convertAndFormat":[64],"convert":[64],"format":[64],"openHelloDialog":[64]},[[9,"resize","handleResize"]]]]],["zonos-controller",[[1,"zonos-controller",{"config":[16],"zonosApiKey":[1,"zonos-api-key"],"initCheckoutElement":[64],"setupGoogleFont":[64],"showNotification":[64],"overrideConfig":[64],"overrideCountry":[64],"getAppearanceSetting":[64],"updateOrganizationName":[64]}]]],["zonos-component",[[1,"zonos-component",{"first":[1],"middle":[1],"last":[1]}]]],["zonos-link",[[1,"zonos-link",{"href":[1],"rel":[1],"target":[1],"linkTitle":[1,"link-title"]}]]],["zonos-logo",[[1,"zonos-logo",{"theme":[1],"width":[1]}]]],["zonos-text",[[1,"zonos-text",{"textColor":[1,"text-color"],"size":[1],"type":[1],"weight":[2],"content":[1],"ready":[32]}]]],["zonos-hello-dialog",[[1,"zonos-hello-dialog",{"isOpen":[4,"is-open"],"setIsOpen":[16],"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettings":[16],"restrictedItems":[16],"welcomeMessage":[32],"showCountrySelect":[32],"showLanguageSelect":[32]},[[4,"click","globalClickHandler"]],{"isOpen":["isOpenHandler"]}]]],["zonos-notification",[[1,"zonos-notification",{"notificationArray":[32],"showNotification":[64]}]]],["zonos-payment",[[2,"zonos-payment",{"titleText":[1,"title-text"],"stripe":[32],"stripeElements":[32]},null,{"stripeElements":["watchInitStripe"],"stripe":["watchInitStripe"]}]]],["zonos-shipping-rich-radio",[[1,"zonos-shipping-rich-radio",{"items":[16],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"theme":[1],"initialSelectedValue":[8,"initial-selected-value"],"selectedItem":[32]}]]],["zonos-badge_2",[[1,"zonos-badge",{"bold":[4],"badgeColor":[1,"badge-color"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"rounded":[4]}],[1,"zonos-tooltip",{"label":[1],"subtitle":[1],"showTooltip":[32]}]]],["zonos-country-flag",[[1,"zonos-country-flag",{"countryCode":[1,"country-code"],"size":[2]}]]],["zonos-banner",[[1,"zonos-banner",{"bannerTitle":[1,"banner-title"],"intent":[1],"hasContent":[32]}]]],["zonos-icon",[[1,"zonos-icon",{"autoHeight":[4,"auto-height"],"iconColor":[1,"icon-color"],"content":[1],"size":[2]}]]],["zonos-button_2",[[1,"zonos-button",{"buttonColor":[1,"button-color"],"backgroundColor":[1,"background-color"],"borderStyle":[1,"border-style"],"isDisabled":[4,"is-disabled"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"variant":[1],"noBackground":[4,"no-background"],"noPaddingLeft":[4,"no-padding-left"],"noPaddingRight":[4,"no-padding-right"],"loading":[4],"theme":[1],"hasIcon":[32],"hasContent":[32]},[[2,"click","clickHandler"]],{"icon":["iconChangeHandler"]}],[1,"zonos-spinner",{"size":[2],"spinnerColor":[1,"spinner-color"]}]]],["zonos-select-dialog-header_2",[[1,"zonos-select-dialog-header",{"handleOnClose":[16],"label":[1]}],[1,"zonos-v-stack",{"spacing":[2]}]]],["zonos-card_2",[[1,"zonos-language-select",{"handleOnClose":[16]}],[1,"zonos-card",{"actions":[16],"footerActions":[16],"footerContent":[16],"footerHeight":[2,"footer-height"],"label":[16],"spacing":[1]}]]],["zonos-country-select_3",[[1,"zonos-country-select",{"handleOnClose":[16],"inputValue":[32]}],[1,"zonos-hello-dialog-footer",{"appearanceSettings":[16],"setShowCountrySelect":[16],"setShowLanguageSelect":[16]}],[1,"zonos-custom-message",{"icon":[1],"message":[1]}]]],["zonos-address_4",[[2,"zonos-address",{"type":[1],"titleText":[1,"title-text"],"defaultAddress":[16],"stripe":[32],"hasInvalidCharacters":[32],"isDirtyAddress":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-checkbox",{"backgroundColor":[1,"background-color"],"label":[1],"isChecked":[4,"is-checked"],"isDisabled":[4,"is-disabled"],"size":[2],"fontSize":[1,"font-size"],"borderStyle":[1,"border-style"]}],[2,"zonos-link-authentication",{"titleText":[1,"title-text"],"stripe":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-collapse",{"collapsed":[4],"collapseSize":[2,"collapse-size"],"height":[32],"iframe":[32]}]]],["zonos-cart-items_10",[[2,"zonos-customer-info",{"continueLoading":[4,"continue-loading"],"submitBtnType":[1,"submit-btn-type"],"submitBtnColor":[1,"submit-btn-color"],"defaultAddress":[16],"disabled":[32],"hasInvalidShippingCharacters":[32],"hasInvalidBillingCharacters":[32]},null,{"disabled":["watchFormComplete"]}],[1,"zonos-checkout-footer",{"mobile":[4],"dataTheme":[1,"data-theme"],"showLanguageDialog":[32],"isMobile":[32]},[[4,"click","handleGlobalClick"]],{"mobile":["handleMobileChange"]}],[2,"zonos-checkout-payment",{"paymentError":[4,"payment-error"],"submitBtnType":[1,"submit-btn-type"],"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"disabled":[32]},null,{"disabled":["watchFormComplete"]}],[2,"zonos-shipping",{"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"submitBtnType":[1,"submit-btn-type"],"selectedShippingMethod":[32],"isSelecting":[32],"disabled":[32],"serviceLevels":[32]},null,{"disabled":["watchFormComplete"]}],[1,"zonos-cart-subtotal"],[1,"zonos-checkout-finish",{"borderRadius":[1,"border-radius"],"storybookForceStatus":[1,"storybook-force-status"],"overrideNotification":[16],"isLoading":[32],"notificationType":[32],"notificationTitle":[32],"notificationMessages":[32],"order":[32]}],[1,"zonos-dialog",{"open":[4],"headerText":[1,"header-text"],"width":[1],"height":[1],"noHeader":[4,"no-header"],"noBodyPadding":[4,"no-body-padding"],"noBorder":[4,"no-border"],"borderStyle":[1,"border-style"],"noCloseButton":[4,"no-close-button"],"noClickOutside":[4,"no-click-outside"],"mobile":[4],"isLoading":[4,"is-loading"],"isMobile":[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-checkout-progress-tabs",{"tabColor":[1,"tab-color"],"backgroundColor":[1,"background-color"],"setTabItems":[64],"setTabSelected":[64]}],[1,"zonos-review",{"mobile":[4],"collapsed":[4],"isMobile":[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-cart-items",{"errorImages":[32]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -1,5 +1,5 @@
1
- import { u as handleFetch, l as localizationStore, a as log } from './cart-8526eb36.js';
2
- import { z as zonosStore } from './zonosStore-aac7c6ac.js';
1
+ import { r as handleFetch, l as localizationStore, a as log } from './cart-6cfd7560.js';
2
+ import { z as zonosStore } from './zonosStore-e5f3d4da.js';
3
3
 
4
4
  const trackConversionEvent = async (eventName, metadata) => {
5
5
  var _a, _b;
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-dd40cc85.js';
2
- import { j as stripeStore, d as logError, l as localizationStore, t as translate, n as stripeStorePrefetchLandedCost } from './cart-8526eb36.js';
3
- import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-aac7c6ac.js';
2
+ import { j as stripeStore, d as logError, l as localizationStore, t as translate, n as stripeStorePrefetchLandedCost } from './cart-6cfd7560.js';
3
+ import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-e5f3d4da.js';
4
4
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
5
5
  import { c as classes } from './classes-0d95c529.js';
6
- import { g as getBorderRadius } from './getBorderRadius-5d750ab8.js';
7
- import { i as isDarkColor } from './isDarkColor-c34dfed9.js';
6
+ import { g as getBorderRadius } from './getBorderRadius-c5fb7746.js';
7
+ import { i as isDarkColor } from './isDarkColor-810fcaa5.js';
8
8
 
9
9
  /**
10
10
  * Check if the given address object contains non-latin characters
@@ -189,7 +189,7 @@ const ZonosAddress = class {
189
189
  }
190
190
  render() {
191
191
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
192
- return (h(Host, { key: '3927946760be161a50ccf924cef5a58503887ac8', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'ac95946a7322dbfab13b3d29df2e22d251ba553c', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '552c6e94d64a842f702c5499320713c8b8fcab6b', class: "zonos--address-component" }), this.hasInvalidCharacters && (h("zonos-banner", { bannerTitle: translate('Please ensure your text uses the Latin alphabet only (A-Z, a-z).'), intent: "error" }))));
192
+ return (h(Host, { key: '94a81dc71b5425ac0ab7868bc55072fdd695fa7d', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '5bddb83ba17b50b779820fd9bdf0630ce03274b5', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '0f076c843b1997b8e1290caf2b8fe18b78114f65', class: "zonos--address-component" }), this.hasInvalidCharacters && (h("zonos-banner", { bannerTitle: translate('Please ensure your text uses the Latin alphabet only (A-Z, a-z).'), intent: "error" }))));
193
193
  }
194
194
  get el() { return getElement(this); }
195
195
  static get watchers() { return {
@@ -237,14 +237,14 @@ const ZonosCheckbox = class {
237
237
  ? 'var(--amino-gray-800)'
238
238
  : 'var(--amino-gray-0)';
239
239
  const borderStyle = getBorderRadius(this.borderStyle, '4px');
240
- return (h(Host, { key: '5f8516f5933b739cc3f21d901e50dec1c761fa58', class: classes(['zonos--elements zonos--checkbox']), style: {
240
+ return (h(Host, { key: '20c925f03d3659edde22d4e075aab5ac7323efc1', class: classes(['zonos--elements zonos--checkbox']), style: {
241
241
  '--background-color': backgroundColor,
242
242
  '--border-radius': borderStyle,
243
243
  '--font-family': zonosStoreFontFamily(),
244
244
  '--size': `${this.size}px`,
245
- } }, h("label", { key: '6544f51a8c892d616123ab4194d069b055e3dc86', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: '958e35bf16be575230748fccdb1a3916942c3a30', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
245
+ } }, h("label", { key: 'c2a0fd9fa8f3aebed3bc996647bfb88299822257', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: 'c3293e1ac102b874eccd2ef9494f94c5da3e28e1', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
246
246
  this.checkboxSelected.emit(e.target.checked);
247
- }, type: "checkbox" }), h("span", { key: '2c55e0a190b092dd083c433c35143e253910f54f', class: "checkmark-container" }, h("svg", { key: '0aa1f705b728055835159a399173a170aee4f7c0', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'd526bbafde4d4399be3f3a0a7cc87e92634d9548', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { size: this.fontSize }, this.label)))));
247
+ }, type: "checkbox" }), h("span", { key: '8d0a39007516ee7f9700f40f3fab20f21161a045', class: "checkmark-container" }, h("svg", { key: 'ee310e0aa1d06f7c81272cac5991dc5c34e19655', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '44611f270e104bc421f50aaccbce1b059e8aa15f', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { size: this.fontSize }, this.label)))));
248
248
  }
249
249
  };
250
250
  ZonosCheckbox.style = ZonosCheckboxStyle0;
@@ -294,10 +294,10 @@ const ZonosCollapse = class {
294
294
  // set overflow to hidden to prevent content from showing when collapsed
295
295
  this.el.style.overflow = 'hidden';
296
296
  }
297
- return (h(Host, { key: '7ac8b898feadfb4424b3b48a98135cb18994f4e0', class: 'zonos--elements zonos--collapse', style: {
297
+ return (h(Host, { key: '032f5818dd8394b5111927907c8fa135a55fef5c', class: 'zonos--elements zonos--collapse', style: {
298
298
  '--font-family': zonosStoreFontFamily(),
299
299
  height: this.getElementHeight(),
300
- } }, h("div", { key: '4a527ec319b59041196284d4d9a8f22b943a74e6' }, h("iframe", { key: '2fb51c16e13ca90561b1b1e6cab89d87e4a37a47', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: '6d7849f6c35be611446b0da36d657396e5ca3122' }))));
300
+ } }, h("div", { key: '5ddbf406c93f37c9e23375f11dd8439934c0d2a5' }, h("iframe", { key: 'b3efa8bc198918dbb3284e8ce658ffca6249eaa8', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: 'ffcd123c3a046e62855a650da9972cde94a7774c' }))));
301
301
  }
302
302
  get el() { return getElement(this); }
303
303
  };
@@ -338,7 +338,7 @@ const ZonosLinkAuthentication = class {
338
338
  }
339
339
  render() {
340
340
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
341
- return (h(Host, { key: '671681b3ca3e95ab25a70cb44e84db7e2b3903e8', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: '8d20c795500e3ce27b92cdeb0446908e550f9f13', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'b8374d7d7a4844b4c2cf6363b8d2d225bb52b21d', class: "zonos--link-authentication-component" })));
341
+ return (h(Host, { key: 'a434761e3f237cd44971e458512c7649f214eb4d', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: '0c350ff6dabb1c71376e4e6539a68613d7174189', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'e9cc2bd1e68b64e2fed41851a0d2f2be40583337', class: "zonos--link-authentication-component" })));
342
342
  }
343
343
  get el() { return getElement(this); }
344
344
  static get watchers() { return {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-dd40cc85.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-aac7c6ac.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-e5f3d4da.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  const zonosBadgeCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host .zonos--badge-content{display:-ms-flexbox;display:flex;gap:var(--amino-space-8);font-size:var(--amino-font-size-s);padding:4px 8px;text-align:center;border-radius:var(--amino-radius-6);background-color:var(--amino-gray-100);color:var(--amino-gray-800);-ms-flex-align:center;align-items:center}:host p{font-weight:600;line-height:16px}:host .icon-right svg{-ms-flex-order:2;order:2}:host .small{padding:2px 8px}:host .rounded{border-radius:20px}:host .bold{background-color:var(--amino-gray-600);color:var(--amino-gray-100)}:host .blue{background-color:var(--amino-blue-100);color:var(--amino-blue-800)}:host .blue.bold{background-color:var(--amino-blue-600);color:var(--amino-blue-100)}:host .green{background-color:var(--amino-green-100);color:var(--amino-green-800)}:host .green.bold{background-color:var(--amino-green-600);color:var(--amino-green-100)}:host .red{background-color:var(--amino-red-100);color:var(--amino-red-800)}:host .red.bold{background-color:var(--amino-red-600);color:var(--amino-red-100)}:host .orange{background-color:var(--amino-orange-100);color:var(--amino-orange-800)}:host .orange.bold{background-color:var(--amino-orange-600);color:var(--amino-orange-100)}:host .purple{background-color:var(--amino-purple-100);color:var(--amino-purple-800)}:host .purple.bold{background-color:var(--amino-purple-600);color:var(--amino-purple-100)}:host .cyan{background-color:var(--amino-cyan-100);color:var(--amino-cyan-800)}:host .cyan.bold{background-color:var(--amino-cyan-600);color:var(--amino-cyan-100)}";
@@ -16,16 +16,16 @@ const ZonosBadge = class {
16
16
  this.rounded = false;
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '1cece57ce37e04873f625d05ad5a0bea6368b46b', class: classes(['zonos--elements zonos--badge']), style: {
19
+ return (h(Host, { key: '9e6c4ec2341f5ca076a3c54bcce347db9e83bb38', class: classes(['zonos--elements zonos--badge']), style: {
20
20
  '--font-family': zonosStoreFontFamily(),
21
- } }, h("div", { key: '8caf3f2ffb7deda215c44ad0c6c0892936d526c2', class: classes([
21
+ } }, h("div", { key: 'ad4d88e7ac5b8e8a617bb904faeaad73d426c271', class: classes([
22
22
  'zonos--badge-content',
23
23
  this.badgeColor,
24
24
  this.rounded && 'rounded',
25
25
  this.iconRight && 'icon-right',
26
26
  this.size,
27
27
  this.bold && 'bold',
28
- ]) }, this.icon, h("zonos-text", { key: 'fb8ac7f09675f9cfd829ecea54c61f5c699caa00' }, h("slot", { key: '978bc876e427d932662a0100043e04b105e9df8d' })))));
28
+ ]) }, this.icon, h("zonos-text", { key: 'd0709a3ffbcc65703933273f614bbb71792b8f61' }, h("slot", { key: '997537e7fd4102a35a1e16789fa7b5444ee85a5a' })))));
29
29
  }
30
30
  };
31
31
  ZonosBadge.style = ZonosBadgeStyle0;
@@ -41,10 +41,10 @@ const ZonosTooltip = class {
41
41
  this.showTooltip = false;
42
42
  }
43
43
  render() {
44
- return (h(Host, { key: '4864150b0af4119fc7d87aec5af3c258fb27802d', class: "zonos--elements" }, h("div", { key: 'c11d3da431f9c4507bc58ec38d0b1ef21c99b584', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '0a92efb2e6c17f67c2feacbd17bbddd4fb63f7da' }), h("div", { key: '0ea54bfaf54a2f170044d77c2b555e5da37af8ae', class: classes([
44
+ return (h(Host, { key: 'a23ad45e8f96b88b0feaf17690c6bdb75aacb12c', class: "zonos--elements" }, h("div", { key: 'b057f5ae304921f5fd50536cb5b7fb493120f1e7', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '396ac2ec3fcc8d49f8a346d1059cb096ef2e2874' }), h("div", { key: '4aa607dcc9c4c675224e9d7effd1e8ad2bdee097', class: classes([
45
45
  this.showTooltip && 'zonos--show-tooltip',
46
46
  'zonos--tooltip-content',
47
- ]) }, h("zonos-text", { key: '73c55a7318eb36760d2779691f9ea79d2c5bf8c7', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: '1f4106f67fc468121d7fb7fbc0ee69363bb26186', size: "xs", textColor: "gray-0" }, this.subtitle)))));
47
+ ]) }, h("zonos-text", { key: 'e69a1883f21f277be88e892a99ae6e66a9829a1c', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'cb901c3cd7d0931f157eddef8fe4286fbd66b66b', size: "xs", textColor: "gray-0" }, this.subtitle)))));
48
48
  }
49
49
  };
50
50
  ZonosTooltip.style = ZonosTooltipStyle0;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-dd40cc85.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-aac7c6ac.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-e5f3d4da.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
4
 
5
5
  const zonosBannerCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{border-radius:var(--amino-radius-10);padding:var(--amino-space-16);background:var(--amino-gray-100)}:host .zonos--container{display:grid;-ms-flex-align:center;align-items:center;grid-template-areas:\"icon header\" \". content\";grid-template-columns:32px auto 0}:host .zonos--icon-wrapper{grid-area:icon;display:-ms-flexbox;display:flex;justify-self:start}:host .zonos--header-wrapper{margin-top:var(--amino-space-0);grid-area:header}:host .zonos--content-wrapper{grid-area:content;margin-top:var(--amino-space-4)}:host(.info){background-color:var(--amino-blue-100);border:1px solid var(--amino-blue-200)}:host(.success){background-color:var(--amino-green-100);border:1px solid var(--amino-green-200)}:host(.error){background-color:var(--amino-red-100);border:1px solid var(--amino-red-200)}:host(.warning){background-color:var(--amino-orange-100);border:1px solid var(--amino-orange-200)}";
@@ -1,9 +1,10 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-dd40cc85.js';
2
- import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-aac7c6ac.js';
2
+ import { z as zonosStore, d as zonosStoreFontFamily } from './zonosStore-e5f3d4da.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { g as getBorderRadius } from './getBorderRadius-5d750ab8.js';
5
- import { i as isColorVariable } from './isColorVariable-91c33804.js';
6
- import { i as isDarkColor } from './isDarkColor-c34dfed9.js';
4
+ import { g as getBorderRadius } from './getBorderRadius-c5fb7746.js';
5
+ import { i as isColorVariable } from './isColorVariable-fbf2d80d.js';
6
+ import { i as isDarkColor } from './isDarkColor-810fcaa5.js';
7
+ import { g as getContrastColor } from './getContrastColor-a1a6f6aa.js';
7
8
 
8
9
  /**
9
10
  * Get theme for button text based on background color
@@ -19,7 +20,20 @@ const getButtonTheme = (overrideBackground) => {
19
20
  return buttonTheme;
20
21
  };
21
22
 
22
- 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:var(--amino-space-8)}: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:var(--amino-space-8) var(--amino-space-24);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:var(--amino-space-4) var(--amino-space-8)}:host button.sm:not(.has-content).has-icon{padding:0 var(--amino-space-4)}:host button.md{height:var(--amino-size-md);line-height:var(--amino-size-md);padding:var(--amino-space-8) var(--amino-space-16)}:host button.md:not(.has-content).has-icon{padding:0 var(--amino-space-8)}:host button.lg{height:var(--amino-size-lg);line-height:var(--amino-size-lg);padding:var(--amino-space-12) var(--amino-space-24)}:host button.lg:not(.has-content).has-icon{padding:0 var(--amino-space-16)}:host button:not(.only-icon).has-icon{gap:var(--amino-space-8)}@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-100)}: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}";
23
+ /**
24
+ * Filter out all of the undefined values from the object so we don't have undefined css variable values
25
+ */
26
+ const styles = (props) => {
27
+ // loop through the object and filter out all of the underfined values
28
+ return Object.entries(props).reduce((acc, [key, value]) => {
29
+ if (value) {
30
+ acc[key] = value;
31
+ }
32
+ return acc;
33
+ }, {});
34
+ };
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:var(--amino-space-8)}: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:var(--amino-space-8) var(--amino-space-24);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:var(--amino-space-4) var(--amino-space-8)}:host button.sm:not(.has-content).has-icon{padding:0 var(--amino-space-4)}:host button.md{height:var(--amino-size-md);line-height:var(--amino-size-md);padding:var(--amino-space-8) var(--amino-space-16)}:host button.md:not(.has-content).has-icon{padding:0 var(--amino-space-8)}:host button.lg{height:var(--amino-size-lg);line-height:var(--amino-size-lg);padding:var(--amino-space-12) var(--amino-space-24)}:host button.lg:not(.has-content).has-icon{padding:0 var(--amino-space-16)}:host button:not(.only-icon).has-icon{gap:var(--amino-space-8)}@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(--subtle-hover-color, var(--amino-gray-100))}: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}";
23
37
  const ZonosButtonStyle0 = zonosButtonCss;
24
38
 
25
39
  const ZonosButton = class {
@@ -78,12 +92,23 @@ const ZonosButton = class {
78
92
  const buttonTheme = variant === 'standard' ? getButtonTheme(overrideBackground) : undefined;
79
93
  const borderStyle = getBorderRadius(this.borderStyle);
80
94
  const spinnerColor = buttonTheme === 'LIGHT' ? 'black' : 'white';
81
- return (h(Host, { key: 'f3374eedd37ec6293260fba7b19d66aa013d3484', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: {
95
+ return (h(Host, { key: '75f5e6900c6e0eb468ea639460d55f251b580200', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
82
96
  '--background-color': overrideBackground,
83
97
  '--border-radius': borderStyle,
84
98
  '--color': color,
85
99
  '--font-family': zonosStoreFontFamily(),
86
- } }, h("button", { key: '352ce427591b20b8042dcd19ce159b77c1fc2faf', class: classes([
100
+ '--subtle-hover-color': this.buttonColor
101
+ ? // for the subtle variant, the hover background should contrast with the text color
102
+ getContrastColor({
103
+ backgroundColor: 'white',
104
+ color: isColorVariable(this.buttonColor)
105
+ ? window
106
+ .getComputedStyle(this.ele)
107
+ .getPropertyValue(`--amino-${this.buttonColor}`)
108
+ : this.buttonColor,
109
+ })
110
+ : undefined,
111
+ }) }, h("button", { key: 'fd1323ac24be622182f9b60d8b026fb0ea47fa40', class: classes([
87
112
  this.hasIcon && 'has-icon',
88
113
  this.hasContent && 'has-content',
89
114
  this.noBackground && 'no-background',
@@ -96,41 +121,15 @@ const ZonosButton = class {
96
121
  overrideBackground &&
97
122
  variant === 'standard' &&
98
123
  'override-background',
99
- ]), disabled: disabled }, this.loading && (h("div", { class: "zonos--spinner-wrapper" }, h("zonos-spinner", { size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: '554cc1fd9bb58d833339ae21e837d586adc248c2', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
124
+ ]), disabled: disabled }, this.loading && (h("div", { class: "zonos--spinner-wrapper" }, h("zonos-spinner", { size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: '92706fef0545ba24e3f943d731bffa1e844ec154', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
100
125
  }
126
+ get ele() { return getElement(this); }
101
127
  static get watchers() { return {
102
128
  "icon": ["iconChangeHandler"]
103
129
  }; }
104
130
  };
105
131
  ZonosButton.style = ZonosButtonStyle0;
106
132
 
107
- const zonosIconCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host svg{width:var(--width);height:var(--height);fill:var(--color);color:var(--color)}";
108
- const ZonosIconStyle0 = zonosIconCss;
109
-
110
- const ZonosIcon = class {
111
- constructor(hostRef) {
112
- registerInstance(this, hostRef);
113
- this.autoHeight = false;
114
- this.iconColor = 'gray-1200';
115
- this.content = undefined;
116
- this.size = 24;
117
- }
118
- render() {
119
- if (!this.content || !this.el.shadowRoot) {
120
- return null;
121
- }
122
- this.el.shadowRoot.innerHTML = this.content;
123
- return (h(Host, { class: "zonos--elements", style: {
124
- '--color': `var(--amino-${this.iconColor})`,
125
- '--font-family': zonosStoreFontFamily(),
126
- '--height': `${this.autoHeight ? 'auto' : `${this.size}px`}`,
127
- '--width': `${this.size}px`,
128
- } }));
129
- }
130
- get el() { return getElement(this); }
131
- };
132
- ZonosIcon.style = ZonosIconStyle0;
133
-
134
133
  const zonosSpinnerCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{position:relative;overflow:hidden;width:var(--size);height:var(--size);display:-ms-inline-flexbox;display:inline-flex}:host svg{width:var(--size);height:var(--size);stroke:var(--amino-blue-600);-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite}:host circle.track{stroke:var(--amino-gray-200)}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}:host circle:not(.track){stroke-linecap:round;-webkit-animation:dash 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite}:host(.black) circle{stroke:var(--amino-spinner-stroke-black)}:host(.black) circle.track{stroke:var(--amino-spinner-track-black)}:host(.white) circle{stroke:var(--amino-spinner-stroke-white)}:host(.white) circle.track{stroke:var(--amino-spinner-track-white)}:host(.info) circle{stroke:var(--amino-blue-600)}:host(.info) circle.track{stroke:var(--amino-blue-100)}:host(.success) circle{stroke:var(--amino-green-600)}:host(.success) circle.track{stroke:var(--amino-green-100)}:host(.danger) circle{stroke:var(--amino-red-600)}:host(.danger) circle.track{stroke:var(--amino-red-100)}:host(.warning) circle{stroke:var(--amino-orange-600)}:host(.warning) circle.track{stroke:var(--amino-orange-100)}";
135
134
  const ZonosSpinnerStyle0 = zonosSpinnerCss;
136
135
 
@@ -152,4 +151,4 @@ const ZonosSpinner = class {
152
151
  };
153
152
  ZonosSpinner.style = ZonosSpinnerStyle0;
154
153
 
155
- export { ZonosButton as zonos_button, ZonosIcon as zonos_icon, ZonosSpinner as zonos_spinner };
154
+ export { ZonosButton as zonos_button, ZonosSpinner as zonos_spinner };
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-dd40cc85.js';
2
- import { d as zonosStoreFontFamily } from './zonosStore-aac7c6ac.js';
2
+ import { d as zonosStoreFontFamily } from './zonosStore-e5f3d4da.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { G as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-8526eb36.js';
4
+ import { F as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-6cfd7560.js';
5
5
  import { l as languages } from './ILanguage-97790bee.js';
6
- import './isDarkColor-c34dfed9.js';
7
- import './getBorderRadius-5d750ab8.js';
6
+ import './isDarkColor-810fcaa5.js';
7
+ import './getBorderRadius-c5fb7746.js';
8
8
 
9
9
  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, var(--amino-space-24));text-align:left}:host .styled-card hr{margin-left:calc(var(--spacing, var(--amino-space-24)) * -1);margin-right:calc(var(--spacing, var(--amino-space-24)) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, var(--amino-space-24)) * -1);padding:var(--spacing, var(--amino-space-24));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, var(--amino-space-24));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, var(--amino-space-24)) * -1);padding:var(--spacing, var(--amino-space-24));border-top:var(--amino-border);background:var(--amino-surface-color-secondary);margin-top:var(--spacing, var(--amino-space-24));border-bottom-left-radius:var(--amino-radius-8);border-bottom-right-radius:var(--amino-radius-8);height:var(--footerHeight)}";
10
10
  const ZonosCardStyle0 = zonosCardCss;
@@ -20,9 +20,9 @@ const ZonosCard = class {
20
20
  this.spacing = '24px';
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: 'b350f7a592ea35c3b6beaf5eefaa2ab0208975dd', style: {
23
+ return (h(Host, { key: 'c2f25ffa32920500b63702df35b9e30dcf28b47d', style: {
24
24
  '--font-family': zonosStoreFontFamily(),
25
- } }, h("div", { key: '125e8b550cd8f371e28a012536722f48402774f2', class: classes(['styled-card']), style: { padding: this.spacing } }, this.label && (h("header", { class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { type: "subheader" }, this.label), h("h-stack", { spacing: 8 }, this.actions))), h("slot", { key: '3cf038c62910ebac736ed1c37ecf1a490c8e1d0e' }), (this.footerActions || this.footerContent) && (h("footer", { class: "card-footer", style: {
25
+ } }, h("div", { key: '30515451d4694d3fffffab4c23ac2b0ff0e37710', class: classes(['styled-card']), style: { padding: this.spacing } }, this.label && (h("header", { class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { type: "subheader" }, this.label), h("h-stack", { spacing: 8 }, this.actions))), h("slot", { key: 'a1ced320f20a585c7201fc5c7b0729ce8e91a176' }), (this.footerActions || this.footerContent) && (h("footer", { class: "card-footer", style: {
26
26
  height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
27
27
  padding: this.spacing,
28
28
  } }, h("div", null, this.footerContent), h("h-stack", { spacing: 8 }, this.footerActions))))));
@@ -51,9 +51,9 @@ const ZonosLanguageSelect = class {
51
51
  }
52
52
  render() {
53
53
  const { selectedLocale } = localizationStore;
54
- return (h(Host, { key: 'd12676d6438941bb8d987826f68c1b72a7e02ccd', class: "zonos--elements", style: {
54
+ return (h(Host, { key: '25e0e2be0bbac853efa9c26c1595a1d57461a1a1', class: "zonos--elements", style: {
55
55
  '--font-family': zonosStoreFontFamily(),
56
- } }, h("div", { key: '259eaa6a8ae682cc96c98eaaab574757285188b9', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '88bff024a5f678b00bf4edd7b2497177a986af4c', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'be1d87991dec9ac2a3b530a0cf9129b9e191781b', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
56
+ } }, h("div", { key: 'b9f3a630f945570a9c0058bb0367e810b7650eb0', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: 'b30a41cc7f4eab57f15b48ffa3f7c0ad1e695e65', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'c6826b80ece54415befc388e57baa02d56472aef', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
57
57
  }
58
58
  };
59
59
  ZonosLanguageSelect.style = ZonosLanguageSelectStyle0;