@zonos/elements 1.3.15-alpha.2 → 1.3.15

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 (415) hide show
  1. package/dist/cjs/RemoveIcon-6c79a2a1.js +5 -0
  2. package/dist/cjs/{cart-1b1d39af.js → cart-db549f04.js} +976 -138
  3. package/dist/cjs/containsNonLatinChars-2be5129b.js +24 -0
  4. package/dist/cjs/{getBorderRadius-c8cc2bb3.js → getBorderRadius-44b3eca1.js} +4 -6
  5. package/dist/cjs/index-654a6001.js +1361 -0
  6. package/dist/cjs/isCheckoutMobile-f491ca7c.js +8 -0
  7. package/dist/cjs/{isDarkColor-f5473002.js → isDarkColor-01f45d3f.js} +1 -1
  8. package/dist/cjs/loader.cjs.js +2 -2
  9. package/dist/cjs/{submitGtag-ab287a34.js → submitGtag-fd8acad5.js} +21 -2
  10. package/dist/cjs/zonos-address_8.cjs.entry.js +642 -0
  11. package/dist/cjs/zonos-badge_2.cjs.entry.js +9 -9
  12. package/dist/cjs/zonos-banner.cjs.entry.js +3 -3
  13. package/dist/cjs/zonos-button_3.cjs.entry.js +192 -0
  14. package/dist/cjs/zonos-card_2.cjs.entry.js +12 -12
  15. package/dist/cjs/{zonos-cart-items_10.cjs.entry.js → zonos-cart-items_9.cjs.entry.js} +144 -118
  16. package/dist/cjs/zonos-checkout.cjs.entry.js +19 -18
  17. package/dist/cjs/zonos-component.cjs.entry.js +2 -2
  18. package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
  19. package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
  20. package/dist/cjs/zonos-country-select_3.cjs.entry.js +14 -14
  21. package/dist/cjs/zonos-elements.cjs.js +10 -10
  22. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +9 -9
  23. package/dist/cjs/zonos-hello.cjs.entry.js +6 -6
  24. package/dist/cjs/zonos-input.cjs.entry.js +57 -0
  25. package/dist/cjs/zonos-link.cjs.entry.js +2 -2
  26. package/dist/cjs/zonos-logo.cjs.entry.js +4 -4
  27. package/dist/cjs/zonos-notification.cjs.entry.js +5 -5
  28. package/dist/cjs/zonos-payment.cjs.entry.js +7 -7
  29. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +7 -7
  30. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +8 -6
  31. package/dist/cjs/zonos-text.cjs.entry.js +3 -2
  32. package/dist/cjs/{zonosStore-aee974e0.js → zonosStore-d8bb0bda.js} +1 -1
  33. package/dist/collection/collection-manifest.json +5 -1
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.css +62 -0
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.js +80 -0
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.css +59 -0
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +148 -0
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.css +115 -0
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.js +429 -0
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.css +1 -1
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +2 -2
  43. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.css +4 -4
  44. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +5 -3
  45. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +9 -9
  46. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
  47. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +5 -5
  48. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +16 -16
  49. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +6 -4
  50. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +8 -8
  51. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +135 -20
  52. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +5 -5
  53. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +7 -7
  54. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +1 -1
  55. package/dist/collection/components/common/component-template/zonos-link/zonos-link.js +1 -1
  56. package/dist/collection/components/common/zonos-badge/zonos-badge.css +1 -1
  57. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  58. package/dist/collection/components/common/zonos-banner/zonos-banner.css +3 -3
  59. package/dist/collection/components/common/zonos-button/zonos-button.css +10 -9
  60. package/dist/collection/components/common/zonos-button/zonos-button.js +17 -8
  61. package/dist/collection/components/common/zonos-card/zonos-card.css +9 -9
  62. package/dist/collection/components/common/zonos-card/zonos-card.js +3 -3
  63. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.css +2 -1
  64. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +22 -4
  65. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.css +1 -1
  66. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  67. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  68. package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +5 -5
  69. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
  70. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.css +1 -1
  71. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  72. package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +6 -6
  73. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +6 -4
  74. package/dist/collection/components/common/zonos-input/zonos-input.css +176 -0
  75. package/dist/collection/components/common/zonos-input/zonos-input.js +193 -0
  76. package/dist/collection/components/common/zonos-language-select/zonos-language-select.css +4 -4
  77. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  78. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  79. package/dist/collection/components/common/zonos-notification/zonos-notification.css +3 -3
  80. package/dist/collection/components/common/zonos-notification/zonos-notification.js +2 -2
  81. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.css +1 -1
  82. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  83. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.css +2 -2
  84. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +4 -2
  85. package/dist/collection/components/common/zonos-text/zonos-text.js +1 -0
  86. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.css +1 -1
  87. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  88. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  89. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  90. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +18 -18
  91. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +10 -52
  92. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  93. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +4 -4
  94. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +3 -3
  95. package/dist/collection/components/main/zonos-controller.js +2 -2
  96. package/dist/collection/components/store/checkout/stripe.js +153 -14
  97. package/dist/collection/components/store/translationStore/strings.arabic.js +36 -6
  98. package/dist/collection/components/store/translationStore/strings.base.js +36 -6
  99. package/dist/collection/components/store/translationStore/strings.chinese.js +36 -6
  100. package/dist/collection/components/store/translationStore/strings.danish.js +36 -6
  101. package/dist/collection/components/store/translationStore/strings.dutch.js +36 -6
  102. package/dist/collection/components/store/translationStore/strings.french.js +36 -6
  103. package/dist/collection/components/store/translationStore/strings.german.js +36 -6
  104. package/dist/collection/components/store/translationStore/strings.hebrew.js +36 -6
  105. package/dist/collection/components/store/translationStore/strings.indonesian.js +36 -6
  106. package/dist/collection/components/store/translationStore/strings.italian.js +36 -6
  107. package/dist/collection/components/store/translationStore/strings.japanese.js +36 -6
  108. package/dist/collection/components/store/translationStore/strings.korean.js +36 -6
  109. package/dist/collection/components/store/translationStore/strings.norwegian.js +36 -6
  110. package/dist/collection/components/store/translationStore/strings.polish.js +36 -6
  111. package/dist/collection/components/store/translationStore/strings.portuguese.js +36 -6
  112. package/dist/collection/components/store/translationStore/strings.russian.js +36 -6
  113. package/dist/collection/components/store/translationStore/strings.spanish.js +36 -6
  114. package/dist/collection/components/store/translationStore/strings.swedish.js +36 -6
  115. package/dist/collection/components/store/translationStore/strings.turkish.js +36 -6
  116. package/dist/collection/components/store/translationStore/strings.vietnamese.js +36 -6
  117. package/dist/collection/components/stripe/zonos-address/zonos-address.css +2 -2
  118. package/dist/collection/components/stripe/zonos-address/zonos-address.js +3 -71
  119. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.css +1 -1
  120. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +29 -5
  121. package/dist/collection/components/stripe/zonos-payment/zonos-payment.css +1 -1
  122. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  123. package/dist/collection/components/utils/checkout/buildTranslateRequestBody.js +98 -0
  124. package/dist/collection/components/utils/containsNonLatinChars.js +10 -8
  125. package/dist/collection/components/utils/getBorderRadius.js +3 -5
  126. package/dist/collection/styles/stripe/defaultVariable.js +2 -2
  127. package/dist/collection/types/checkout/TranslatedText.js +1 -0
  128. package/dist/collection/types/checkout/api/ValidateAddressRequest.js +1 -0
  129. package/dist/components/containsNonLatinChars.js +21 -0
  130. package/dist/components/getBorderRadius.js +3 -5
  131. package/dist/components/stripe.js +255 -4545
  132. package/dist/components/trackConversionEvent.js +1 -1
  133. package/dist/components/translationStore.js +5131 -0
  134. package/dist/components/zonos-address-display.d.ts +11 -0
  135. package/dist/components/zonos-address-display.js +6 -0
  136. package/dist/components/zonos-address-display2.js +64 -0
  137. package/dist/components/zonos-address-form.d.ts +11 -0
  138. package/dist/components/zonos-address-form.js +6 -0
  139. package/dist/components/zonos-address-form2.js +84 -0
  140. package/dist/components/zonos-address-update-dialog.d.ts +11 -0
  141. package/dist/components/zonos-address-update-dialog.js +6 -0
  142. package/dist/components/zonos-address-update-dialog2.js +264 -0
  143. package/dist/components/zonos-address2.js +4 -94
  144. package/dist/components/zonos-badge2.js +4 -4
  145. package/dist/components/zonos-banner2.js +1 -1
  146. package/dist/components/zonos-button2.js +18 -9
  147. package/dist/components/zonos-card2.js +4 -4
  148. package/dist/components/zonos-cart-items2.js +2 -2
  149. package/dist/components/zonos-cart-subtotal2.js +3 -2
  150. package/dist/components/zonos-checkbox2.js +15 -6
  151. package/dist/components/zonos-checkout-finish2.js +27 -7
  152. package/dist/components/zonos-checkout-footer2.js +3 -3
  153. package/dist/components/zonos-checkout-payment2.js +3 -2
  154. package/dist/components/zonos-checkout-progress-tabs2.js +6 -5
  155. package/dist/components/zonos-checkout.js +72 -42
  156. package/dist/components/zonos-collapse2.js +2 -2
  157. package/dist/components/zonos-component.js +1 -1
  158. package/dist/components/zonos-controller.js +2 -2
  159. package/dist/components/zonos-country-select2.js +3 -3
  160. package/dist/components/zonos-custom-message2.js +3 -3
  161. package/dist/components/zonos-customer-info2.js +171 -30
  162. package/dist/components/zonos-dialog2.js +7 -5
  163. package/dist/components/zonos-hello-dialog-footer2.js +3 -3
  164. package/dist/components/zonos-hello-dialog2.js +6 -5
  165. package/dist/components/zonos-hello.js +3 -2
  166. package/dist/components/zonos-input.d.ts +11 -0
  167. package/dist/components/zonos-input.js +6 -0
  168. package/dist/components/zonos-input2.js +78 -0
  169. package/dist/components/zonos-language-select2.js +5 -4
  170. package/dist/components/zonos-link-authentication2.js +13 -6
  171. package/dist/components/zonos-link.js +1 -1
  172. package/dist/components/zonos-logo.js +2 -2
  173. package/dist/components/zonos-notification2.js +3 -3
  174. package/dist/components/zonos-payment2.js +2 -2
  175. package/dist/components/zonos-review2.js +3 -2
  176. package/dist/components/zonos-select-dialog-header2.js +3 -3
  177. package/dist/components/zonos-shipping-rich-radio2.js +5 -3
  178. package/dist/components/zonos-shipping2.js +4 -3
  179. package/dist/components/zonos-text2.js +1 -0
  180. package/dist/components/zonos-tooltip2.js +3 -3
  181. package/dist/components/zonos-v-stack2.js +2 -2
  182. package/dist/esm/RemoveIcon-f6715b36.js +3 -0
  183. package/dist/esm/{cart-10bcd2e0.js → cart-462e89a6.js} +976 -139
  184. package/dist/esm/containsNonLatinChars-2d8810c3.js +21 -0
  185. package/dist/esm/{getBorderRadius-8129b0cb.js → getBorderRadius-567f1786.js} +4 -6
  186. package/dist/esm/index-e063389c.js +1328 -0
  187. package/dist/esm/isCheckoutMobile-8846dccb.js +6 -0
  188. package/dist/esm/{isDarkColor-7a6d2d14.js → isDarkColor-7f62035a.js} +1 -1
  189. package/dist/esm/loader.js +3 -3
  190. package/dist/esm/{submitGtag-84886899.js → submitGtag-ac7c3c89.js} +21 -3
  191. package/dist/esm/zonos-address_8.entry.js +631 -0
  192. package/dist/esm/zonos-badge_2.entry.js +9 -9
  193. package/dist/esm/zonos-banner.entry.js +3 -3
  194. package/dist/esm/zonos-button_3.entry.js +186 -0
  195. package/dist/esm/zonos-card_2.entry.js +12 -12
  196. package/dist/esm/{zonos-cart-items_10.entry.js → zonos-cart-items_9.entry.js} +140 -113
  197. package/dist/esm/zonos-checkout.entry.js +14 -13
  198. package/dist/esm/zonos-component.entry.js +2 -2
  199. package/dist/esm/zonos-controller.entry.js +6 -6
  200. package/dist/esm/zonos-country-flag.entry.js +5 -5
  201. package/dist/esm/zonos-country-select_3.entry.js +14 -14
  202. package/dist/esm/zonos-elements.js +11 -11
  203. package/dist/esm/zonos-hello-dialog.entry.js +9 -9
  204. package/dist/esm/zonos-hello.entry.js +6 -6
  205. package/dist/esm/zonos-input.entry.js +53 -0
  206. package/dist/esm/zonos-link.entry.js +2 -2
  207. package/dist/esm/zonos-logo.entry.js +4 -4
  208. package/dist/esm/zonos-notification.entry.js +5 -5
  209. package/dist/esm/zonos-payment.entry.js +7 -7
  210. package/dist/esm/zonos-select-dialog-header_2.entry.js +7 -7
  211. package/dist/esm/zonos-shipping-rich-radio.entry.js +8 -6
  212. package/dist/esm/zonos-text.entry.js +3 -2
  213. package/dist/esm/{zonosStore-f3eef64b.js → zonosStore-33ff08ff.js} +1 -1
  214. package/dist/esm-es5/RemoveIcon-f6715b36.js +1 -0
  215. package/dist/esm-es5/cart-462e89a6.js +1 -0
  216. package/dist/esm-es5/containsNonLatinChars-2d8810c3.js +1 -0
  217. package/dist/esm-es5/getBorderRadius-567f1786.js +1 -0
  218. package/dist/esm-es5/index-e063389c.js +2 -0
  219. package/dist/esm-es5/isCheckoutMobile-8846dccb.js +1 -0
  220. package/dist/esm-es5/{isDarkColor-7a6d2d14.js → isDarkColor-7f62035a.js} +1 -1
  221. package/dist/esm-es5/loader.js +1 -1
  222. package/dist/esm-es5/submitGtag-ac7c3c89.js +1 -0
  223. package/dist/esm-es5/zonos-address_8.entry.js +1 -0
  224. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  225. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  226. package/dist/esm-es5/zonos-button_3.entry.js +1 -0
  227. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  228. package/dist/esm-es5/zonos-cart-items_9.entry.js +1 -0
  229. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  230. package/dist/esm-es5/zonos-component.entry.js +1 -1
  231. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  232. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  233. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  234. package/dist/esm-es5/zonos-elements.js +1 -1
  235. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  236. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  237. package/dist/esm-es5/zonos-input.entry.js +1 -0
  238. package/dist/esm-es5/zonos-link.entry.js +1 -1
  239. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  240. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  241. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  242. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  243. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  244. package/dist/esm-es5/zonos-text.entry.js +1 -1
  245. package/dist/esm-es5/{zonosStore-f3eef64b.js → zonosStore-33ff08ff.js} +1 -1
  246. package/dist/scripts/loadStripe.js +1 -1
  247. package/dist/scripts/loadZonos.js +1 -1
  248. package/dist/scripts/stripe.js +1 -1
  249. package/dist/scripts/zonos.js +1 -1
  250. package/dist/scripts/zonosBase.js +1 -1
  251. package/dist/types/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.d.ts +12 -0
  252. package/dist/types/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.d.ts +28 -0
  253. package/dist/types/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.d.ts +96 -0
  254. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +22 -2
  255. package/dist/types/components/common/zonos-checkbox/zonos-checkbox.d.ts +1 -0
  256. package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +0 -3
  257. package/dist/types/components/common/zonos-input/zonos-input.d.ts +35 -0
  258. package/dist/types/components/store/checkout/stripe.d.ts +25 -1
  259. package/dist/types/components/store/translationStore/strings.arabic.d.ts +35 -5
  260. package/dist/types/components/store/translationStore/strings.base.d.ts +35 -5
  261. package/dist/types/components/store/translationStore/strings.chinese.d.ts +35 -5
  262. package/dist/types/components/store/translationStore/strings.danish.d.ts +35 -5
  263. package/dist/types/components/store/translationStore/strings.dutch.d.ts +35 -5
  264. package/dist/types/components/store/translationStore/strings.french.d.ts +35 -5
  265. package/dist/types/components/store/translationStore/strings.german.d.ts +35 -5
  266. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +35 -5
  267. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +35 -5
  268. package/dist/types/components/store/translationStore/strings.italian.d.ts +35 -5
  269. package/dist/types/components/store/translationStore/strings.japanese.d.ts +35 -5
  270. package/dist/types/components/store/translationStore/strings.korean.d.ts +35 -5
  271. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +35 -5
  272. package/dist/types/components/store/translationStore/strings.polish.d.ts +35 -5
  273. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +35 -5
  274. package/dist/types/components/store/translationStore/strings.russian.d.ts +35 -5
  275. package/dist/types/components/store/translationStore/strings.spanish.d.ts +35 -5
  276. package/dist/types/components/store/translationStore/strings.swedish.d.ts +35 -5
  277. package/dist/types/components/store/translationStore/strings.turkish.d.ts +35 -5
  278. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +35 -5
  279. package/dist/types/components/store/translationStore.d.ts +1 -1
  280. package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +2 -10
  281. package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +4 -0
  282. package/dist/types/components/utils/changeDeepProperty.d.ts +1 -1
  283. package/dist/types/components/utils/changeDeepPropertyAtIndex.d.ts +1 -1
  284. package/dist/types/components/utils/checkout/buildTranslateRequestBody.d.ts +26 -0
  285. package/dist/types/components/utils/containsNonLatinChars.d.ts +1 -0
  286. package/dist/types/components/utils/getBorderRadius.d.ts +7 -1
  287. package/dist/types/components.d.ts +308 -6
  288. package/dist/types/types/checkout/TranslatedText.d.ts +23 -0
  289. package/dist/types/types/checkout/api/ValidateAddressRequest.d.ts +20 -0
  290. package/dist/types/types/generated/graphql.customer.types.d.ts +2 -0
  291. package/dist/types/types/generated/graphql.customer.types.ts +2 -0
  292. package/dist/zonos-elements/p-029f11dd.system.entry.js +1 -0
  293. package/dist/zonos-elements/{p-2ee0d779.entry.js → p-094c0ee8.entry.js} +1 -1
  294. package/dist/zonos-elements/p-0c64dbbb.js +1 -0
  295. package/dist/zonos-elements/p-11504442.entry.js +1 -0
  296. package/dist/zonos-elements/p-11bef836.system.entry.js +1 -0
  297. package/dist/zonos-elements/{p-bc3a0f7c.entry.js → p-11f1b78c.entry.js} +1 -1
  298. package/dist/zonos-elements/p-13ddaf31.js +2 -0
  299. package/dist/zonos-elements/p-154aaf95.system.js +1 -0
  300. package/dist/zonos-elements/p-163ff5b5.system.js +2 -0
  301. package/dist/zonos-elements/{p-32b4e9c3.entry.js → p-1e934274.entry.js} +1 -1
  302. package/dist/zonos-elements/p-20582e58.system.entry.js +1 -0
  303. package/dist/zonos-elements/p-2439c82f.system.entry.js +1 -0
  304. package/dist/zonos-elements/p-2670438c.system.js +1 -0
  305. package/dist/zonos-elements/p-321226b0.entry.js +1 -0
  306. package/dist/zonos-elements/p-3221530d.system.entry.js +1 -0
  307. package/dist/zonos-elements/{p-97534044.entry.js → p-32d27535.entry.js} +1 -1
  308. package/dist/zonos-elements/p-3d10866d.entry.js +1 -0
  309. package/dist/zonos-elements/{p-1a5f8df7.entry.js → p-3d8667a7.entry.js} +1 -1
  310. package/dist/zonos-elements/p-3f05d130.system.entry.js +1 -0
  311. package/dist/zonos-elements/p-430eefd4.entry.js +1 -0
  312. package/dist/zonos-elements/p-49825866.system.entry.js +1 -0
  313. package/dist/zonos-elements/p-5525b740.entry.js +1 -0
  314. package/dist/zonos-elements/p-578f0aad.system.js +1 -0
  315. package/dist/zonos-elements/p-58a8ef6c.entry.js +1 -0
  316. package/dist/zonos-elements/p-5d993965.js +1 -0
  317. package/dist/zonos-elements/{p-262b8e1e.system.entry.js → p-5f9c066d.system.entry.js} +1 -1
  318. package/dist/zonos-elements/p-60e262f0.system.entry.js +1 -0
  319. package/dist/zonos-elements/p-64b594f4.js +1 -0
  320. package/dist/zonos-elements/p-66471df6.entry.js +1 -0
  321. package/dist/zonos-elements/{p-95c864ca.system.entry.js → p-679877b1.system.entry.js} +1 -1
  322. package/dist/zonos-elements/{p-fc4da55c.system.js → p-771fbeb3.system.js} +1 -1
  323. package/dist/zonos-elements/p-79f3c4f5.system.js +1 -0
  324. package/dist/zonos-elements/{p-e1ac5b2a.system.entry.js → p-80d78980.system.entry.js} +1 -1
  325. package/dist/zonos-elements/p-81a54668.js +1 -0
  326. package/dist/zonos-elements/p-83cc2936.js +1 -0
  327. package/dist/zonos-elements/{p-520e8e63.system.js → p-87badea9.system.js} +1 -1
  328. package/dist/zonos-elements/p-8a61a04f.system.entry.js +1 -0
  329. package/dist/zonos-elements/p-8b32f560.system.entry.js +1 -0
  330. package/dist/zonos-elements/{p-d01576d7.js → p-909a331c.js} +1 -1
  331. package/dist/zonos-elements/p-94b15a5e.system.entry.js +1 -0
  332. package/dist/zonos-elements/p-9a45fae5.system.entry.js +1 -0
  333. package/dist/zonos-elements/{p-24fee841.entry.js → p-9ec93319.entry.js} +1 -1
  334. package/dist/zonos-elements/p-a6d7ac46.js +1 -0
  335. package/dist/zonos-elements/p-a6eeb4bd.system.entry.js +1 -0
  336. package/dist/zonos-elements/p-a93f2e84.entry.js +1 -0
  337. package/dist/zonos-elements/p-aed0098c.system.js +1 -0
  338. package/dist/zonos-elements/p-b19d51e0.entry.js +1 -0
  339. package/dist/zonos-elements/{p-46f9c93e.system.entry.js → p-b9652402.system.entry.js} +1 -1
  340. package/dist/zonos-elements/{p-13b55282.entry.js → p-baee62a4.entry.js} +1 -1
  341. package/dist/zonos-elements/{p-eff12c31.system.entry.js → p-bf32179a.system.entry.js} +1 -1
  342. package/dist/zonos-elements/p-cd1cc224.entry.js +1 -0
  343. package/dist/zonos-elements/p-d1b63cec.system.entry.js +1 -0
  344. package/dist/zonos-elements/p-d6b103d5.system.js +1 -0
  345. package/dist/zonos-elements/{p-376bdf70.entry.js → p-da6767d8.entry.js} +1 -1
  346. package/dist/zonos-elements/p-dde1383b.entry.js +1 -0
  347. package/dist/zonos-elements/p-df192668.system.js +1 -0
  348. package/dist/zonos-elements/{p-70ede197.system.entry.js → p-df24d548.system.entry.js} +1 -1
  349. package/dist/zonos-elements/{p-6743734f.entry.js → p-e7b4b756.entry.js} +1 -1
  350. package/dist/zonos-elements/{p-d41b5762.js → p-f1962041.js} +1 -1
  351. package/dist/zonos-elements/p-f3d3c754.system.entry.js +1 -0
  352. package/dist/zonos-elements/p-f79682b5.entry.js +1 -0
  353. package/dist/zonos-elements/zonos-elements.css +3 -3
  354. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  355. package/dist/zonos-elements/zonos-elements.js +1 -1
  356. package/package.json +3 -2
  357. package/dist/cjs/index-3b4816ef.js +0 -2088
  358. package/dist/cjs/sendErrorLog-29e50f7e.js +0 -29
  359. package/dist/cjs/zonos-address_4.cjs.entry.js +0 -388
  360. package/dist/cjs/zonos-button_2.cjs.entry.js +0 -152
  361. package/dist/cjs/zonos-icon.cjs.entry.js +0 -39
  362. package/dist/components/sendErrorLog.js +0 -21
  363. package/dist/esm/index-0e31d804.js +0 -2055
  364. package/dist/esm/sendErrorLog-8642e94a.js +0 -26
  365. package/dist/esm/zonos-address_4.entry.js +0 -381
  366. package/dist/esm/zonos-button_2.entry.js +0 -147
  367. package/dist/esm/zonos-icon.entry.js +0 -35
  368. package/dist/esm-es5/cart-10bcd2e0.js +0 -1
  369. package/dist/esm-es5/getBorderRadius-8129b0cb.js +0 -1
  370. package/dist/esm-es5/index-0e31d804.js +0 -2
  371. package/dist/esm-es5/sendErrorLog-8642e94a.js +0 -1
  372. package/dist/esm-es5/submitGtag-84886899.js +0 -1
  373. package/dist/esm-es5/zonos-address_4.entry.js +0 -1
  374. package/dist/esm-es5/zonos-button_2.entry.js +0 -1
  375. package/dist/esm-es5/zonos-cart-items_10.entry.js +0 -1
  376. package/dist/esm-es5/zonos-icon.entry.js +0 -1
  377. package/dist/scripts/insertTranslations.js +0 -1
  378. package/dist/zonos-elements/p-066b5ca3.entry.js +0 -1
  379. package/dist/zonos-elements/p-0a0d45e9.system.entry.js +0 -1
  380. package/dist/zonos-elements/p-2244534c.js +0 -2
  381. package/dist/zonos-elements/p-2693da50.system.entry.js +0 -1
  382. package/dist/zonos-elements/p-2825570c.system.js +0 -2
  383. package/dist/zonos-elements/p-33abdb30.js +0 -1
  384. package/dist/zonos-elements/p-450942a3.system.js +0 -1
  385. package/dist/zonos-elements/p-46b4010c.entry.js +0 -1
  386. package/dist/zonos-elements/p-509717bc.system.entry.js +0 -1
  387. package/dist/zonos-elements/p-5ca09163.entry.js +0 -1
  388. package/dist/zonos-elements/p-5ff27485.js +0 -1
  389. package/dist/zonos-elements/p-6f5761e8.js +0 -1
  390. package/dist/zonos-elements/p-6fb15797.system.entry.js +0 -1
  391. package/dist/zonos-elements/p-73acb3eb.system.entry.js +0 -1
  392. package/dist/zonos-elements/p-7432179a.system.entry.js +0 -1
  393. package/dist/zonos-elements/p-8126011d.entry.js +0 -1
  394. package/dist/zonos-elements/p-8b44e558.system.js +0 -1
  395. package/dist/zonos-elements/p-8c568b87.entry.js +0 -1
  396. package/dist/zonos-elements/p-92d85125.system.entry.js +0 -1
  397. package/dist/zonos-elements/p-9b385237.entry.js +0 -1
  398. package/dist/zonos-elements/p-9fc92940.entry.js +0 -1
  399. package/dist/zonos-elements/p-a6bbf6de.system.entry.js +0 -1
  400. package/dist/zonos-elements/p-ad0a2581.entry.js +0 -1
  401. package/dist/zonos-elements/p-b4c3dcda.entry.js +0 -1
  402. package/dist/zonos-elements/p-b8e8330b.system.js +0 -1
  403. package/dist/zonos-elements/p-be022d8e.entry.js +0 -1
  404. package/dist/zonos-elements/p-c6170bec.system.js +0 -1
  405. package/dist/zonos-elements/p-c9e137e1.system.entry.js +0 -1
  406. package/dist/zonos-elements/p-d0d78094.system.entry.js +0 -1
  407. package/dist/zonos-elements/p-d1ba7e52.system.entry.js +0 -1
  408. package/dist/zonos-elements/p-d29895ed.system.entry.js +0 -1
  409. package/dist/zonos-elements/p-dac861bb.entry.js +0 -1
  410. package/dist/zonos-elements/p-e010f227.system.entry.js +0 -1
  411. package/dist/zonos-elements/p-e703c902.entry.js +0 -1
  412. package/dist/zonos-elements/p-e8a41797.system.entry.js +0 -1
  413. package/dist/zonos-elements/p-ed2e94d2.js +0 -1
  414. package/dist/zonos-elements/p-f2b60329.system.entry.js +0 -1
  415. package/dist/zonos-elements/p-f4c38bfc.system.js +0 -1
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface ZonosInput extends Components.ZonosInput, HTMLElement {}
4
+ export const ZonosInput: {
5
+ prototype: ZonosInput;
6
+ new (): ZonosInput;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { Z as ZonosInput$1, d as defineCustomElement$1 } from './zonos-input2.js';
2
+
3
+ const ZonosInput = ZonosInput$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { ZonosInput, defineCustomElement };
@@ -0,0 +1,78 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { a as zonosStoreFontFamily } from './zonosStore.js';
3
+ import { c as classes } from './classes.js';
4
+ import { g as getBorderRadius } from './getBorderRadius.js';
5
+
6
+ const zonosInputCss = ":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{margin:1px;}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%;background:var(--amino-input-background);border-radius:var(--border-radius);border:var(--amino-border)}:host .zonos--label-wrapper:hover{border:1px solid var(--amino-gray-300)}:host .zonos--floated-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--amino-transition);transition:var(--amino-transition);width:100%;border-radius:var(--border-radius);background:var(--amino-input-background);border:0;-ms-flex-order:2;order:2;font-weight:500}:host .zonos--floated-input :-internal-autofill-selected{border-radius:var(--amino-radius-6) 0 0 var(--amino-radius-6)}:host .zonos--floated-input :-internal-autofill-selected+label+div{background-color:#e8f0fe}:host .zonos--floated-input.has-label{padding:16px 4px 8px 16px}:host .zonos--floated-input.has-label.has-input-prefix{padding-left:0}:host .zonos--floated-input.has-label.has-input-prefix+.zonos--floated-label::before{margin-left:0}:host .zonos--floated-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--amino-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-moz-placeholder{opacity:var(--amino-opacity-disabled)}:host .zonos--floated-input:not(.has-label):-ms-input-placeholder{opacity:var(--amino-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-ms-input-placeholder{opacity:var(--amino-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::placeholder{opacity:var(--amino-opacity-disabled)}:host .zonos--floated-input::-webkit-input-placeholder{-webkit-transition:var(--amino-transition);transition:var(--amino-transition);opacity:0}:host .zonos--floated-input::-moz-placeholder{-moz-transition:var(--amino-transition);transition:var(--amino-transition);opacity:0}:host .zonos--floated-input:-ms-input-placeholder{-ms-transition:var(--amino-transition);transition:var(--amino-transition);opacity:0}:host .zonos--floated-input::-ms-input-placeholder{-ms-transition:var(--amino-transition);transition:var(--amino-transition);opacity:0}:host .zonos--floated-input::placeholder{-webkit-transition:var(--amino-transition);transition:var(--amino-transition);opacity:0}:host .zonos--floated-input:focus{outline:none}:host .zonos--floated-input:focus+.zonos--floated-label::after{-webkit-box-shadow:var(--amino-glow-blue);box-shadow:var(--amino-glow-blue)}:host .zonos--floated-input.has-error+.zonos--floated-label::after{-webkit-box-shadow:var(--amino-glow-error);box-shadow:var(--amino-glow-error)}:host .zonos--floated-input.has-content::-webkit-input-placeholder,:host .zonos--floated-input:focus::-webkit-input-placeholder{opacity:var(--amino-opacity-disabled)}:host .zonos--floated-input.has-content::-moz-placeholder,:host .zonos--floated-input:focus::-moz-placeholder{opacity:var(--amino-opacity-disabled)}:host .zonos--floated-input.has-content:-ms-input-placeholder,:host .zonos--floated-input:focus:-ms-input-placeholder{opacity:var(--amino-opacity-disabled)}:host .zonos--floated-input.has-content::-ms-input-placeholder,:host .zonos--floated-input:focus::-ms-input-placeholder{opacity:var(--amino-opacity-disabled)}:host .zonos--floated-input.has-content::placeholder,:host .zonos--floated-input:focus::placeholder{opacity:var(--amino-opacity-disabled)}:host .zonos--floated-input.has-content+.zonos--floated-label::before,:host .zonos--floated-input:focus+.zonos--floated-label::before{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-input:-webkit-autofill,:host .zonos--floated-input:-moz-autofill{background-color:var(--amino-input-background);color:var(--amino-text-color)}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label::before{content:attr(data-label);color:var(--amino-gray-800);position:absolute;font-size:var(--amino-font-size-base);line-height:var(--amino-font-size-base);display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--amino-transition);transition:var(--amino-transition);margin-left:16px;top:calc(50% - var(--amino-font-size-base) / 2);z-index:1}:host .zonos--floated-label::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--border-radius)}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host(.sm){height:calc(var(--amino-size-sm) - 2px)}:host(.sm) .zonos--floated-input.has-label{padding-top:13px;padding-bottom:0}:host(.sm) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.sm) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:2px}:host(.md){height:calc(var(--amino-size-md) - 2px)}:host(.md) .zonos--floated-input.has-label{padding-top:20px}:host(.md) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.md) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:6px}:host(.lg){height:calc(var(--amino-size-lg) - 2px)}:host(.lg) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.lg) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:10px}:host(.xl){height:calc(var(--amino-size-xl) - 2px)}:host(.xl) .zonos--floated-input.has-label{padding-bottom:2px}";
7
+ const ZonosInputStyle0 = zonosInputCss;
8
+
9
+ const ZonosInput = /*@__PURE__*/ proxyCustomElement(class ZonosInput extends HTMLElement {
10
+ constructor() {
11
+ super();
12
+ this.__registerHost();
13
+ this.__attachShadow();
14
+ this.inputChange = createEvent(this, "inputChange", 7);
15
+ this.inputValue = '';
16
+ this.inputLabel = undefined;
17
+ this.inputSize = 'md';
18
+ this.isDisabled = false;
19
+ this.isError = false;
20
+ this.inputPlaceholder = '';
21
+ this.value = this.inputValue;
22
+ }
23
+ onInputValueChange(newValue) {
24
+ this.value = newValue;
25
+ this.inputChange.emit(newValue);
26
+ }
27
+ render() {
28
+ return (h(Host, { key: '97f9a886695c81bf72ffa5cc4b7afc26e40a2694', class: classes([
29
+ 'zonos--input zonos--elements',
30
+ this.inputSize,
31
+ this.isError && 'has-error',
32
+ ]), style: {
33
+ '--border-radius': getBorderRadius(),
34
+ '--font-family': zonosStoreFontFamily(),
35
+ } }, h("div", { key: 'ffc96e546684499a5272dd0f5b4b087b1f717353', class: classes([
36
+ 'zonos--label-wrapper',
37
+ this.isDisabled && 'disabled',
38
+ ]) }, h("input", { key: '162556990fe4c93fc9400f7cf947d8fdbeffd2f1', class: classes([
39
+ 'zonos--floated-input',
40
+ !!this.inputLabel && 'has-label',
41
+ this.inputValue && 'has-content',
42
+ this.isError && 'has-error',
43
+ ]), disabled: this.isDisabled, onInput: e => {
44
+ const input = e.target;
45
+ this.inputChange.emit(input.value);
46
+ }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '9b73d42d50090f1ac761ccf27bd606d474cd8d53', class: "zonos--floated-label", "data-label": this.inputLabel }))));
47
+ }
48
+ get el() { return this; }
49
+ static get watchers() { return {
50
+ "inputValue": ["onInputValueChange"]
51
+ }; }
52
+ static get style() { return ZonosInputStyle0; }
53
+ }, [1, "zonos-input", {
54
+ "inputValue": [1, "input-value"],
55
+ "inputLabel": [1, "input-label"],
56
+ "inputSize": [1, "input-size"],
57
+ "isDisabled": [4, "is-disabled"],
58
+ "isError": [4, "is-error"],
59
+ "inputPlaceholder": [1, "input-placeholder"],
60
+ "value": [32]
61
+ }, undefined, {
62
+ "inputValue": ["onInputValueChange"]
63
+ }]);
64
+ function defineCustomElement() {
65
+ if (typeof customElements === "undefined") {
66
+ return;
67
+ }
68
+ const components = ["zonos-input"];
69
+ components.forEach(tagName => { switch (tagName) {
70
+ case "zonos-input":
71
+ if (!customElements.get(tagName)) {
72
+ customElements.define(tagName, ZonosInput);
73
+ }
74
+ break;
75
+ } });
76
+ }
77
+
78
+ export { ZonosInput as Z, defineCustomElement as d };
@@ -1,5 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { w as localizationStoreUpdateSelectedLocale, t as translate, a as localizationStore } from './stripe.js';
2
+ import { w as localizationStoreUpdateSelectedLocale, a as localizationStore } from './stripe.js';
3
+ import { a as translate } from './translationStore.js';
3
4
  import { a as zonosStoreFontFamily } from './zonosStore.js';
4
5
  import { l as languages } from './ILanguage.js';
5
6
  import { d as defineCustomElement$6 } from './zonos-button2.js';
@@ -15,7 +16,7 @@ const GreenCheckDuotoneIcon = `<svg width="16" height="16" viewBox="0 0 16 16" f
15
16
  </svg>
16
17
  `;
17
18
 
18
- const zonosLanguageSelectCss = ":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--language-select{width:100%}:host .zonos--language-select .zonos--language-select-content{display:grid;grid-template-columns:repeat(3, minmax(-webkit-max-content, 1fr));grid-template-columns:repeat(3, minmax(max-content, 1fr));padding:var(--amino-space-16);padding-top:var(--amino-space-0)}:host .zonos--language-select .zonos--language-select-content .zonos--language-select-button{display:-ms-flexbox;display:flex;padding:var(--amino-space-8);gap:var(--amino-space-4);-ms-flex-align:center;align-items:center;border-radius:var(--amino-radius-4);cursor:pointer;width:100%;border:none;background:none}:host .zonos--language-select .zonos--language-select-content .zonos--language-select-button:hover{background:var(--amino-gray-100)}@media (max-width: 400px){:host .zonos--language-select .zonos--language-select-content{grid-template-columns:1fr 1fr}}";
19
+ const zonosLanguageSelectCss = ":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--language-select{width:100%}:host .zonos--language-select .zonos--language-select-content{display:grid;grid-template-columns:repeat(3, minmax(-webkit-max-content, 1fr));grid-template-columns:repeat(3, minmax(max-content, 1fr));padding:16px;padding-top:0px}:host .zonos--language-select .zonos--language-select-content .zonos--language-select-button{display:-ms-flexbox;display:flex;padding:8px;gap:4px;-ms-flex-align:center;align-items:center;border-radius:var(--amino-radius-4);cursor:pointer;width:100%;border:none;background:none}:host .zonos--language-select .zonos--language-select-content .zonos--language-select-button:hover{background:var(--amino-gray-100)}@media (max-width: 400px){:host .zonos--language-select .zonos--language-select-content{grid-template-columns:1fr 1fr}}";
19
20
  const ZonosLanguageSelectStyle0 = zonosLanguageSelectCss;
20
21
 
21
22
  const ZonosLanguageSelect = /*@__PURE__*/ proxyCustomElement(class ZonosLanguageSelect extends HTMLElement {
@@ -32,9 +33,9 @@ const ZonosLanguageSelect = /*@__PURE__*/ proxyCustomElement(class ZonosLanguage
32
33
  }
33
34
  render() {
34
35
  const { selectedLocale } = localizationStore;
35
- return (h(Host, { key: 'b17a55c8fe256cf1e484834700dec4ea512a0379', class: "zonos--elements", style: {
36
+ return (h(Host, { key: 'e1943addb44b8e06d5b4534865f403a721175cdd', class: "zonos--elements", style: {
36
37
  '--font-family': zonosStoreFontFamily(),
37
- } }, h("div", { key: '0d8c6f5902f3f25c2528d88dd76b625807f2bd62', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: 'c82d962040885203b20f384a56990d9515afeba6', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'ac4a694a903eaa38886d929350b74b0c0114b61d', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
38
+ } }, h("div", { key: '888a410d444424f4ffb06dd28e5151bca9269de2', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '59aa5ae5e685f65baa1c7b1a19c1000ab8cdac74', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '854c44fefe28f22fdd37b251d482ca6db46b0895', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
38
39
  }
39
40
  static get style() { return ZonosLanguageSelectStyle0; }
40
41
  }, [1, "zonos-language-select", {
@@ -1,8 +1,8 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { s as stripeStore, l as logError, p as stripeStorePrefetchLandedCost } from './stripe.js';
2
+ import { s as stripeStore, l as logError } from './stripe.js';
3
3
  import { d as defineCustomElement$1 } from './zonos-text2.js';
4
4
 
5
- const zonosLinkAuthenticationCss = ".sc-zonos-link-authentication-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-link-authentication-h *.sc-zonos-link-authentication{font-family:var(--font-family, Inter), Inter}.sc-zonos-link-authentication-h img.sc-zonos-link-authentication{max-width:100%}.sc-zonos-link-authentication-h dl.sc-zonos-link-authentication,.sc-zonos-link-authentication-h dd.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h1.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h2.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h3.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h4.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h5.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h6.sc-zonos-link-authentication,.sc-zonos-link-authentication-h hr.sc-zonos-link-authentication,.sc-zonos-link-authentication-h figure.sc-zonos-link-authentication,.sc-zonos-link-authentication-h p.sc-zonos-link-authentication,.sc-zonos-link-authentication-h pre.sc-zonos-link-authentication{margin:0}.sc-zonos-link-authentication-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-link-authentication-h .zonos--title.sc-zonos-link-authentication{margin-bottom:var(--amino-space-16)}";
5
+ const zonosLinkAuthenticationCss = ".sc-zonos-link-authentication-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-link-authentication-h *.sc-zonos-link-authentication{font-family:var(--font-family, Inter), Inter}.sc-zonos-link-authentication-h img.sc-zonos-link-authentication{max-width:100%}.sc-zonos-link-authentication-h dl.sc-zonos-link-authentication,.sc-zonos-link-authentication-h dd.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h1.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h2.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h3.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h4.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h5.sc-zonos-link-authentication,.sc-zonos-link-authentication-h h6.sc-zonos-link-authentication,.sc-zonos-link-authentication-h hr.sc-zonos-link-authentication,.sc-zonos-link-authentication-h figure.sc-zonos-link-authentication,.sc-zonos-link-authentication-h p.sc-zonos-link-authentication,.sc-zonos-link-authentication-h pre.sc-zonos-link-authentication{margin:0}.sc-zonos-link-authentication-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-link-authentication-h .zonos--title.sc-zonos-link-authentication{margin-bottom:16px}";
6
6
  const ZonosLinkAuthenticationStyle0 = zonosLinkAuthenticationCss;
7
7
 
8
8
  const ZonosLinkAuthentication = /*@__PURE__*/ proxyCustomElement(class ZonosLinkAuthentication extends HTMLElement {
@@ -10,15 +10,23 @@ const ZonosLinkAuthentication = /*@__PURE__*/ proxyCustomElement(class ZonosLink
10
10
  super();
11
11
  this.__registerHost();
12
12
  this.titleText = undefined;
13
+ this.defaultEmail = null;
13
14
  this.stripe = stripeStore.stripe;
14
15
  }
15
16
  watchInitStripe() {
16
17
  if (!this.stripe || !stripeStore.stripeElements) {
17
18
  return;
18
19
  }
20
+ const defaultValues = this.defaultEmail
21
+ ? {
22
+ email: this.defaultEmail,
23
+ }
24
+ : undefined;
19
25
  // Create and mount the Authentication Element in ${type} mode
20
26
  const linkAuthenticationElement = stripeStore.stripeLinkElement ||
21
- stripeStore.stripeElements.create('linkAuthentication');
27
+ stripeStore.stripeElements.create('linkAuthentication', {
28
+ defaultValues: defaultValues || undefined,
29
+ });
22
30
  const linkAuthenticationElementContainer = this.el.querySelector('.zonos--link-authentication-component');
23
31
  if (!linkAuthenticationElementContainer) {
24
32
  logError('Cannot find container element for linkAuthenticationElement');
@@ -27,8 +35,6 @@ const ZonosLinkAuthentication = /*@__PURE__*/ proxyCustomElement(class ZonosLink
27
35
  linkAuthenticationElement.mount(linkAuthenticationElementContainer);
28
36
  linkAuthenticationElement.on('change', event => {
29
37
  stripeStore.stripeLinkEventData = event;
30
- // run prefetch landed cost when address is changed
31
- void stripeStorePrefetchLandedCost();
32
38
  });
33
39
  stripeStore.stripeLinkElement = linkAuthenticationElement;
34
40
  }
@@ -38,7 +44,7 @@ const ZonosLinkAuthentication = /*@__PURE__*/ proxyCustomElement(class ZonosLink
38
44
  }
39
45
  render() {
40
46
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
41
- return (h(Host, { key: '97c3c388d1a035e6a46ecdbd3bc66d80a589b19f', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'e799af821045b2c1792d2971843afa0c7d3ece5b', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'eaf9be27a11d279c13f261e1312ee8a46e4620f7', class: "zonos--link-authentication-component" })));
47
+ return (h(Host, { key: '4a7b9eb534e938f791f70e04756aa9fb1c39f2c7', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'cc4fe49ed6d4bd7cec502ef739b9e835e9e26584', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'f04a438d04e6ccd608d7ff61ac300fb09da4f0ce', class: "zonos--link-authentication-component" })));
42
48
  }
43
49
  get el() { return this; }
44
50
  static get watchers() { return {
@@ -47,6 +53,7 @@ const ZonosLinkAuthentication = /*@__PURE__*/ proxyCustomElement(class ZonosLink
47
53
  static get style() { return ZonosLinkAuthenticationStyle0; }
48
54
  }, [2, "zonos-link-authentication", {
49
55
  "titleText": [1, "title-text"],
56
+ "defaultEmail": [1, "default-email"],
50
57
  "stripe": [32]
51
58
  }, undefined, {
52
59
  "stripe": ["watchInitStripe"]
@@ -14,7 +14,7 @@ const ZonosLink$1 = /*@__PURE__*/ proxyCustomElement(class ZonosLink extends HTM
14
14
  this.linkTitle = undefined;
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: 'af4c861f0a7f0a86c60c2ba6fe12a37721d50c1b', class: "zonos--elements" }, h("a", { key: 'b8fc607e0aa5269f2c3c1ccf51e233b52fac6693', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '98ebca9c8962143426fd1c88d9189b92fc402505' }))));
17
+ return (h(Host, { key: '595aa56bf6c9503434d265b62a85a5fcbf0e7bec', class: "zonos--elements" }, h("a", { key: '3e355af783529c0fa77ff2c351476c92ec128ec3', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '45607e8fa7448a96f6914270baaeab2f0d03944e' }))));
18
18
  }
19
19
  static get style() { return ZonosLinkStyle0; }
20
20
  }, [1, "zonos-link", {
@@ -17,11 +17,11 @@ const ZonosLogo$1 = /*@__PURE__*/ proxyCustomElement(class ZonosLogo extends HTM
17
17
  const filterColor = this.theme === 'DARK'
18
18
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
19
19
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
20
- return (h(Host, { key: 'c196e8372ff0f602b135c582a1a4cdf2ba75274d', class: classes(['zonos--elements zonos--logo']), style: {
20
+ return (h(Host, { key: 'c68b772cba1e8562b48a58bace45e0643bd18dcf', class: classes(['zonos--elements zonos--logo']), style: {
21
21
  '--filter-color': filterColor,
22
22
  '--font-family': zonosStoreFontFamily(),
23
23
  '--width': this.width,
24
- } }, h("img", { key: '668abac552ed1e133f29b0b0aa8f17d158c5441b', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
24
+ } }, h("img", { key: 'a3a48b9f4dc2401d543afe0d2334b5bd57aad4d6', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
25
25
  }
26
26
  static get assetsDirs() { return ["assets"]; }
27
27
  static get style() { return ZonosLogoStyle0; }
@@ -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 zonosNotificationCss = ":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-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999;bottom:var(--amino-space-24);gap:var(--amino-space-8);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:var(--amino-space-8);border-radius:var(--border-radius, var(--amino-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--amino-green-700)}:host .zonos--notification-item.error{background-color:var(--amino-red-700)}:host .zonos--notification-item.warning{background-color:var(--amino-orange-700)}";
6
+ const zonosNotificationCss = ":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-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999;bottom:24px;gap:8px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:8px;border-radius:var(--border-radius, var(--amino-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--amino-green-700)}:host .zonos--notification-item.error{background-color:var(--amino-red-700)}:host .zonos--notification-item.warning{background-color:var(--amino-orange-700)}";
7
7
  const ZonosNotificationStyle0 = zonosNotificationCss;
8
8
 
9
9
  const ZonosNotification = /*@__PURE__*/ proxyCustomElement(class ZonosNotification extends HTMLElement {
@@ -53,9 +53,9 @@ const ZonosNotification = /*@__PURE__*/ proxyCustomElement(class ZonosNotificati
53
53
  }, 300);
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: '3567d975084d41ba075ccf92347adf31e200b41f', class: classes(['zonos--elements zonos--notification']), style: {
56
+ return (h(Host, { key: '17c08c90c6c1dfade4e43451c196127a0f53429e', class: classes(['zonos--elements zonos--notification']), style: {
57
57
  '--font-family': zonosStoreFontFamily(),
58
- } }, h("div", { key: 'c01555f14621f43d515f0593ed5463d4aa9b1309', class: "zonos--notification-items" }, this.notificationArray.map(notification => {
58
+ } }, h("div", { key: '6624419d86a5c7518539069dbc5c9d7c08262c75', class: "zonos--notification-items" }, this.notificationArray.map(notification => {
59
59
  return (h("div", { "aria-hidden": "true", class: classes([
60
60
  'zonos--notification-item',
61
61
  notification.type,
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
2
2
  import { s as stripeStore, l as logError } from './stripe.js';
3
3
  import { d as defineCustomElement$1 } from './zonos-text2.js';
4
4
 
5
- const zonosPaymentCss = ".sc-zonos-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-payment-h *.sc-zonos-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-payment-h img.sc-zonos-payment{max-width:100%}.sc-zonos-payment-h dl.sc-zonos-payment,.sc-zonos-payment-h dd.sc-zonos-payment,.sc-zonos-payment-h h1.sc-zonos-payment,.sc-zonos-payment-h h2.sc-zonos-payment,.sc-zonos-payment-h h3.sc-zonos-payment,.sc-zonos-payment-h h4.sc-zonos-payment,.sc-zonos-payment-h h5.sc-zonos-payment,.sc-zonos-payment-h h6.sc-zonos-payment,.sc-zonos-payment-h hr.sc-zonos-payment,.sc-zonos-payment-h figure.sc-zonos-payment,.sc-zonos-payment-h p.sc-zonos-payment,.sc-zonos-payment-h pre.sc-zonos-payment{margin:0}.sc-zonos-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-payment-h .zonos--title.sc-zonos-payment{margin-bottom:var(--amino-space-16)}";
5
+ const zonosPaymentCss = ".sc-zonos-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-payment-h *.sc-zonos-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-payment-h img.sc-zonos-payment{max-width:100%}.sc-zonos-payment-h dl.sc-zonos-payment,.sc-zonos-payment-h dd.sc-zonos-payment,.sc-zonos-payment-h h1.sc-zonos-payment,.sc-zonos-payment-h h2.sc-zonos-payment,.sc-zonos-payment-h h3.sc-zonos-payment,.sc-zonos-payment-h h4.sc-zonos-payment,.sc-zonos-payment-h h5.sc-zonos-payment,.sc-zonos-payment-h h6.sc-zonos-payment,.sc-zonos-payment-h hr.sc-zonos-payment,.sc-zonos-payment-h figure.sc-zonos-payment,.sc-zonos-payment-h p.sc-zonos-payment,.sc-zonos-payment-h pre.sc-zonos-payment{margin:0}.sc-zonos-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-payment-h .zonos--title.sc-zonos-payment{margin-bottom:16px}";
6
6
  const ZonosPaymentStyle0 = zonosPaymentCss;
7
7
 
8
8
  const ZonosPayment = /*@__PURE__*/ proxyCustomElement(class ZonosPayment extends HTMLElement {
@@ -39,7 +39,7 @@ const ZonosPayment = /*@__PURE__*/ proxyCustomElement(class ZonosPayment extends
39
39
  }
40
40
  render() {
41
41
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
42
- return (h(Host, { key: '2ac7d34f60a5e4fc21fed92218e8b467e49bee33', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: 'a0360edd61bf571645fbc0781a43a94cf02e9acc', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '41a1daa79d640eecf197e520145c41cf957fbee1', class: "zonos--payment-component" })));
42
+ return (h(Host, { key: '7967dfeb2c8661201aed74d3d9f4be1df9eb993d', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '2a3b744c1935f471897ab492efa7d3788907b126', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '7d643ec935dc15339c79237572bd067efa8f23ea', class: "zonos--payment-component" })));
43
43
  }
44
44
  get el() { return this; }
45
45
  static get watchers() { return {
@@ -1,5 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { t as translate, c as cartStore } from './stripe.js';
2
+ import { c as cartStore } from './stripe.js';
3
+ import { a as translate } from './translationStore.js';
3
4
  import { z as zonosStore } from './zonosStore.js';
4
5
  import { i as isCheckoutMobile } from './isCheckoutMobile.js';
5
6
  import { c as classes } from './classes.js';
@@ -11,7 +12,7 @@ const ChevronDownIcon = `<svg color="var(--amino-gray-400)" fill="none" height="
11
12
 
12
13
  const ChevronUpIcon = `<svg color="var(--amino-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M17.707 14.707a1 1 0 0 1-1.414 0L12 10.414l-4.293 4.293a1 1 0 0 1-1.414-1.414l4.93-4.93a1.1 1.1 0 0 1 1.555 0l4.93 4.93a1 1 0 0 1 0 1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
13
14
 
14
- const zonosReviewCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{position:-webkit-sticky;position:sticky;top:0;background-color:var(--amino-gray-0);z-index:1}:host .zonos--total-pay{margin:var(--amino-space-8) 0 var(--amino-space-24)}:host(.mobile){display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:var(--amino-space-24);-ms-flex-pack:justify;justify-content:space-between;padding:var(--amino-space-4) 0;margin-bottom:var(--amino-space-8);background-color:transparent}:host(.mobile) .zonos--title{display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;gap:var(--amino-space-8)}:host(.mobile) .zonos--total-pay{margin:0}";
15
+ const zonosReviewCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{position:-webkit-sticky;position:sticky;top:0;background-color:var(--amino-gray-0);z-index:1}:host .zonos--total-pay{margin:8px 0 24px}:host(.mobile){display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:24px;-ms-flex-pack:justify;justify-content:space-between;padding:4px 0;margin-bottom:8px;background-color:transparent}:host(.mobile) .zonos--title{display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;gap:8px}:host(.mobile) .zonos--total-pay{margin:0}";
15
16
  const ZonosReviewStyle0 = zonosReviewCss;
16
17
 
17
18
  const ZonosReview = /*@__PURE__*/ proxyCustomElement(class ZonosReview extends HTMLElement {
@@ -8,7 +8,7 @@ import { d as defineCustomElement$1 } from './zonos-v-stack2.js';
8
8
 
9
9
  const RemoveIcon = `<svg xmlns="https://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#C5C6CA" fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" clip-rule="evenodd"/><path fill="#4D505A" fill-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"/></svg>`;
10
10
 
11
- const zonosSelectDialogHeaderCss = ":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--select-dialog-header-wrapper{position:-webkit-sticky;position:sticky;top:0;background:var(--amino-surface-color);padding:var(--amino-space-16)}:host .zonos--select-dialog-header-wrapper .zonos--select-dialog-header{position:relative;-ms-flex-pack:justify;justify-content:space-between;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}";
11
+ const zonosSelectDialogHeaderCss = ":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--select-dialog-header-wrapper{position:-webkit-sticky;position:sticky;top:0;background:var(--amino-surface-color);padding:16px}:host .zonos--select-dialog-header-wrapper .zonos--select-dialog-header{position:relative;-ms-flex-pack:justify;justify-content:space-between;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}";
12
12
  const ZonosSelectDialogHeaderStyle0 = zonosSelectDialogHeaderCss;
13
13
 
14
14
  const ZonosSelectDialogHeader = /*@__PURE__*/ proxyCustomElement(class ZonosSelectDialogHeader extends HTMLElement {
@@ -20,9 +20,9 @@ const ZonosSelectDialogHeader = /*@__PURE__*/ proxyCustomElement(class ZonosSele
20
20
  this.label = '';
21
21
  }
22
22
  render() {
23
- return (h(Host, { key: 'c571a648772792abb553c87a9c238e36d2fd63fb', class: "zonos--elements", style: {
23
+ return (h(Host, { key: '7b7a5a39307cfacdfda4dd622d9b7e052013f80e', class: "zonos--elements", style: {
24
24
  '--font-family': zonosStoreFontFamily(),
25
- } }, h("zonos-v-stack", { key: 'f8d2c7a95bb985e17c7c6fa4fdeb2d6c692dd266', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: 'dd87a6fd7d2f84e907b99a440e62b1260273ae0d', class: "zonos--select-dialog-header" }, h("zonos-text", { key: 'a5573f14f446c343bf7d5ed7f1c4564788435513', type: "boldLabel" }, this.label), h("zonos-button", { key: '3edfd71ce5da3a2366c856ca739aaea928a836de', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: '155ec43e2791f871a4182edff8a6dd2304951f72' }))));
25
+ } }, h("zonos-v-stack", { key: '3b4152d041961241d48acfdfefe421b487fc63c1', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '9b72b53159ef2ea9ef3ac2682da24e6b2bc0f71b', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '9aee88932746e76c819d1e40ed45ba3c44a74a0a', type: "boldLabel" }, this.label), h("zonos-button", { key: '5e794ef5039bbff4f8cd52bb942a8f6c655adbe7', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: 'ee4e5657d5034a4068b52d1f4e3a8971ccbee626' }))));
26
26
  }
27
27
  static get style() { return ZonosSelectDialogHeaderStyle0; }
28
28
  }, [1, "zonos-select-dialog-header", {
@@ -5,7 +5,7 @@ import { g as getBorderRadius } from './getBorderRadius.js';
5
5
  import { i as isColorVariable } from './isColorVariable.js';
6
6
  import { d as defineCustomElement$1 } from './zonos-text2.js';
7
7
 
8
- const zonosShippingRichRadioCss = ":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 input{margin:0;accent-color:var(--selected-border-color, var(--amino-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:var(--amino-space-16);-ms-flex-align:center;align-items:center;gap:var(--amino-space-16);cursor:pointer;border:1px solid var(--amino-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--border-radius, var(--amino-radius-10));border-top-right-radius:var(--border-radius, var(--amino-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--border-radius, var(--amino-radius-10));border-bottom-left-radius:var(--border-radius, var(--amino-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--selected-border-color, var(--amino-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";
8
+ const zonosShippingRichRadioCss = ":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 input{margin:0;accent-color:var(--selected-border-color, var(--amino-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:16px;-ms-flex-align:center;align-items:center;gap:16px;cursor:pointer;border:1px solid var(--amino-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--border-radius, var(--amino-radius-10));border-top-right-radius:var(--border-radius, var(--amino-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--border-radius, var(--amino-radius-10));border-bottom-left-radius:var(--border-radius, var(--amino-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--selected-border-color, var(--amino-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";
9
9
  const ZonosShippingRichRadioStyle0 = zonosShippingRichRadioCss;
10
10
 
11
11
  const ZonosShippingRichRadio = /*@__PURE__*/ proxyCustomElement(class ZonosShippingRichRadio extends HTMLElement {
@@ -25,7 +25,9 @@ const ZonosShippingRichRadio = /*@__PURE__*/ proxyCustomElement(class ZonosShipp
25
25
  ? `var(--amino-${usedColor})`
26
26
  : usedColor;
27
27
  return {
28
- '--border-radius': getBorderRadius(this.borderStyle),
28
+ '--border-radius': getBorderRadius({
29
+ overrideBorderStyle: this.borderStyle,
30
+ }),
29
31
  '--selected-border-color': secondaryColor || 'unset',
30
32
  };
31
33
  };
@@ -46,7 +48,7 @@ const ZonosShippingRichRadio = /*@__PURE__*/ proxyCustomElement(class ZonosShipp
46
48
  }
47
49
  render() {
48
50
  var _a;
49
- return (h(Host, { key: 'a1c2ace211e4d0b9d63a784028cc725bab7229e7', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
51
+ return (h(Host, { key: 'a11e7be647b06e96a356361b6a8674eb6fd5d217', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
50
52
  var _a;
51
53
  const selected = ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.value) === item.value;
52
54
  return (h("div", { "aria-hidden": "true", class: classes([
@@ -1,5 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { c as cartStore, x as cartStoreUpdateSelectedShippingOption, y as cartStoreGetShippingTransitInfo, t as translate } from './stripe.js';
2
+ import { c as cartStore, x as cartStoreUpdateSelectedShippingOption, y as cartStoreGetShippingTransitInfo } from './stripe.js';
3
+ import { a as translate } from './translationStore.js';
3
4
  import { t as trackConversionEvent } from './trackConversionEvent.js';
4
5
  import { f as formatCurrency } from './formatCurrency.js';
5
6
  import { s as submitGtag } from './submitGtag.js';
@@ -9,7 +10,7 @@ import { d as defineCustomElement$3 } from './zonos-shipping-rich-radio2.js';
9
10
  import { d as defineCustomElement$2 } from './zonos-spinner2.js';
10
11
  import { d as defineCustomElement$1 } from './zonos-text2.js';
11
12
 
12
- const zonosShippingCss = ".sc-zonos-shipping-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-shipping-h *.sc-zonos-shipping{font-family:var(--font-family, Inter), Inter}.sc-zonos-shipping-h img.sc-zonos-shipping{max-width:100%}.sc-zonos-shipping-h dl.sc-zonos-shipping,.sc-zonos-shipping-h dd.sc-zonos-shipping,.sc-zonos-shipping-h h1.sc-zonos-shipping,.sc-zonos-shipping-h h2.sc-zonos-shipping,.sc-zonos-shipping-h h3.sc-zonos-shipping,.sc-zonos-shipping-h h4.sc-zonos-shipping,.sc-zonos-shipping-h h5.sc-zonos-shipping,.sc-zonos-shipping-h h6.sc-zonos-shipping,.sc-zonos-shipping-h hr.sc-zonos-shipping,.sc-zonos-shipping-h figure.sc-zonos-shipping,.sc-zonos-shipping-h p.sc-zonos-shipping,.sc-zonos-shipping-h pre.sc-zonos-shipping{margin:0}.sc-zonos-shipping-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-shipping-h{overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sc-zonos-shipping-h .zonos--title.sc-zonos-shipping{margin-bottom:var(--amino-space-24)}.sc-zonos-shipping-h .zonos--shipping-method-title.sc-zonos-shipping{margin-bottom:var(--amino-space-16)}.sc-zonos-shipping-h .zonos-shipping-rich-radio.sc-zonos-shipping{margin-bottom:var(--amino-space-24)}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping{margin-bottom:var(--amino-space-20);overflow:auto;padding:5px}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar{width:10px}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-track{background:var(--amino-gray-50)}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-shipping-h .zonos--error-banner.sc-zonos-shipping{margin-bottom:var(--amino-space-16)}.sc-zonos-shipping-h zonos-button.sc-zonos-shipping{-webkit-box-shadow:0 0 1px 0 var(--amino-gray-600);box-shadow:0 0 1px 0 var(--amino-gray-600)}.sc-zonos-shipping-h .zonos--group-btn.sc-zonos-shipping{position:-webkit-sticky;position:sticky;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;bottom:0;margin-top:var(--amino-space-12);background:var(--primary-color, var(--amino-gray-0))}.sc-zonos-shipping-h .zonos--group-btn.sc-zonos-shipping zonos-button.sc-zonos-shipping{width:100%}.sc-zonos-shipping-h zonos-banner.sc-zonos-shipping{margin-top:var(--amino-space-24)}";
13
+ const zonosShippingCss = ".sc-zonos-shipping-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-shipping-h *.sc-zonos-shipping{font-family:var(--font-family, Inter), Inter}.sc-zonos-shipping-h img.sc-zonos-shipping{max-width:100%}.sc-zonos-shipping-h dl.sc-zonos-shipping,.sc-zonos-shipping-h dd.sc-zonos-shipping,.sc-zonos-shipping-h h1.sc-zonos-shipping,.sc-zonos-shipping-h h2.sc-zonos-shipping,.sc-zonos-shipping-h h3.sc-zonos-shipping,.sc-zonos-shipping-h h4.sc-zonos-shipping,.sc-zonos-shipping-h h5.sc-zonos-shipping,.sc-zonos-shipping-h h6.sc-zonos-shipping,.sc-zonos-shipping-h hr.sc-zonos-shipping,.sc-zonos-shipping-h figure.sc-zonos-shipping,.sc-zonos-shipping-h p.sc-zonos-shipping,.sc-zonos-shipping-h pre.sc-zonos-shipping{margin:0}.sc-zonos-shipping-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-shipping-h{overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.sc-zonos-shipping-h .zonos--title.sc-zonos-shipping{margin-bottom:24px}.sc-zonos-shipping-h .zonos--shipping-method-title.sc-zonos-shipping{margin-bottom:16px}.sc-zonos-shipping-h .zonos-shipping-rich-radio.sc-zonos-shipping{margin-bottom:24px}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping{margin-bottom:20px;overflow:auto;padding:5px}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar{width:10px}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-track{background:var(--amino-gray-50)}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-shipping-h .zonos--group.sc-zonos-shipping::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-shipping-h .zonos--error-banner.sc-zonos-shipping{margin-bottom:16px}.sc-zonos-shipping-h zonos-button.sc-zonos-shipping{-webkit-box-shadow:0 0 1px 0 var(--amino-gray-600);box-shadow:0 0 1px 0 var(--amino-gray-600)}.sc-zonos-shipping-h .zonos--group-btn.sc-zonos-shipping{position:-webkit-sticky;position:sticky;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;bottom:0;margin-top:12px;background:var(--primary-color, var(--amino-gray-0))}.sc-zonos-shipping-h .zonos--group-btn.sc-zonos-shipping zonos-button.sc-zonos-shipping{width:100%}.sc-zonos-shipping-h zonos-banner.sc-zonos-shipping{margin-top:24px}";
13
14
  const ZonosShippingStyle0 = zonosShippingCss;
14
15
 
15
16
  const ZonosShipping = /*@__PURE__*/ proxyCustomElement(class ZonosShipping extends HTMLElement {
@@ -102,7 +103,7 @@ const ZonosShipping = /*@__PURE__*/ proxyCustomElement(class ZonosShipping exten
102
103
  if (this.showErrorBanner) {
103
104
  this.showErrorBanner = !this.handleValidate();
104
105
  }
105
- return (h(Host, { key: 'c172dbd75de8a0d5d32d7e3e1814a124aaa05c05', class: "zonos--shipping zonos--elements" }, h("div", { key: '3dbbfadac7c8fb2bd4f3337206da535add7c4dd5', class: "zonos--group" }, h("zonos-text", { key: '93c2e9f56359a0c046e23a0e8c70af9af2dad3f4', class: "zonos--title", type: "semiBoldSubheader" }, translate('Delivery options')), this.showErrorBanner && !!((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) && (h("zonos-banner", { key: 'dc0aa4f036719929344071fe68dd8bf98d493642', class: "zonos--error-banner", intent: "error" }, translate('No shipping method selected'))), h("zonos-text", { key: '98dd599d8a87e3a350b928a5d0d9300aa197d731', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, translate('Shipping method')), !((_b = this.serviceLevels) === null || _b === void 0 ? void 0 : _b.length) ? (h("zonos-banner", { bannerTitle: translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (h("zonos-shipping-rich-radio", { initialSelectedValue: (_c = this.selectedShippingMethod) === null || _c === void 0 ? void 0 : _c.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), h("div", { key: 'a59a2833967bde37cd2b31dca4209e8730ec92dc', class: "zonos--group-btn" }, h("zonos-button", { key: 'ef100ac737c28901f609b188bfa0b9e58d4363e8', backgroundColor: this.submitBtnColor, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
106
+ return (h(Host, { key: '032c917dd5510a6a5801f0bf86a84bcf4096759e', class: "zonos--shipping zonos--elements" }, h("div", { key: 'b5052414ae56dc46908e53a1676acf96701bafa8', class: "zonos--group" }, h("zonos-text", { key: '41bb421c0fc620f8373be5453e872e83ad19150e', class: "zonos--title", type: "semiBoldSubheader" }, translate('Delivery options')), this.showErrorBanner && !!((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) && (h("zonos-banner", { key: '4b0119b9c1991ab31c15220ed26f0eac18c7229e', class: "zonos--error-banner", intent: "error" }, translate('No shipping method selected'))), h("zonos-text", { key: '61ea64f33b2b4bd54c4f2c4d273bac9e13d67040', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, translate('Shipping method')), !((_b = this.serviceLevels) === null || _b === void 0 ? void 0 : _b.length) ? (h("zonos-banner", { bannerTitle: translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (h("zonos-shipping-rich-radio", { initialSelectedValue: (_c = this.selectedShippingMethod) === null || _c === void 0 ? void 0 : _c.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), h("div", { key: '1908b7445ef7158402882265af8a357f48096937', class: "zonos--group-btn" }, h("zonos-button", { key: 'b73ca7298b5c020c237703e4ce1f9b877cb96605', backgroundColor: this.submitBtnColor, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
106
107
  // use primary type when on mobile mode
107
108
  variant: this.submitBtnType }, translate('Go to payment'))))));
108
109
  }
@@ -148,6 +148,7 @@ const ZonosText = /*@__PURE__*/ proxyCustomElement(class ZonosText extends HTMLE
148
148
  }
149
149
  };
150
150
  return (h(Host, { class: classes([
151
+ 'zonos--elements',
151
152
  `zonos--text-size-${textSize}`,
152
153
  `zonos--text-weight-${textWeight}`,
153
154
  ]), style: {
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal
2
2
  import { c as classes } from './classes.js';
3
3
  import { d as defineCustomElement$1 } from './zonos-text2.js';
4
4
 
5
- const zonosTooltipCss = ":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--tooltip{position:relative}:host .zonos--tooltip .zonos--tooltip-content{position:absolute;bottom:100%;left:0;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:var(--amino-space-12);background-color:var(--amino-gray-1200);opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;-webkit-transform-origin:bottom left;transform-origin:bottom left;border-radius:var(--amino-radius-4);z-index:100;-webkit-box-shadow:var(--amino-v3-shadow-large);box-shadow:var(--amino-v3-shadow-large)}:host .zonos--tooltip .zonos--tooltip-content.zonos--show-tooltip{opacity:1;-webkit-transform:scale(1);transform:scale(1)}";
5
+ const zonosTooltipCss = ":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--tooltip{position:relative}:host .zonos--tooltip .zonos--tooltip-content{position:absolute;bottom:100%;left:0;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:12px;background-color:var(--amino-gray-1200);opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;-webkit-transform-origin:bottom left;transform-origin:bottom left;border-radius:var(--amino-radius-4);z-index:100;-webkit-box-shadow:var(--amino-v3-shadow-large);box-shadow:var(--amino-v3-shadow-large)}:host .zonos--tooltip .zonos--tooltip-content.zonos--show-tooltip{opacity:1;-webkit-transform:scale(1);transform:scale(1)}";
6
6
  const ZonosTooltipStyle0 = zonosTooltipCss;
7
7
 
8
8
  const ZonosTooltip = /*@__PURE__*/ proxyCustomElement(class ZonosTooltip extends HTMLElement {
@@ -15,10 +15,10 @@ const ZonosTooltip = /*@__PURE__*/ proxyCustomElement(class ZonosTooltip extends
15
15
  this.showTooltip = false;
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '3b1bc52074428e85d2e3939b0fb6dbf4e8146e1c', class: "zonos--elements" }, h("div", { key: 'ded9a789ec041c9bd01c4a225ad0706a097c2215', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '2052001f18e774bf5f364f2f94fb83fbc161e510' }), h("div", { key: 'ed207e64c5361aadf6deb25574b736bbbb32cf49', class: classes([
18
+ return (h(Host, { key: '39503dadb0422477303a6715a744478d765e6ecf', class: "zonos--elements" }, h("div", { key: '834be19e46353d018bf827327f418d3e82502cf5', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '7c8f731f548d1bcf750615be450d93004e83a369' }), h("div", { key: 'b7f02a3057f2d2f6eeb65715e64783b48cab71ea', class: classes([
19
19
  this.showTooltip && 'zonos--show-tooltip',
20
20
  'zonos--tooltip-content',
21
- ]) }, h("zonos-text", { key: 'c2b064cac7a7851bbb8cd55ec116655160fffe6b', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'e03b47929a5b1856b6770e97403c85088d6a6c77', size: "xs", textColor: "gray-0" }, this.subtitle)))));
21
+ ]) }, h("zonos-text", { key: 'f65ede18a38c299d389403400a4ae00a0387e2cb', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'eb69da57b2e4f0e9be31801101c079618ac30148', size: "xs", textColor: "gray-0" }, this.subtitle)))));
22
22
  }
23
23
  static get style() { return ZonosTooltipStyle0; }
24
24
  }, [1, "zonos-tooltip", {
@@ -13,9 +13,9 @@ const VStack = /*@__PURE__*/ proxyCustomElement(class VStack extends HTMLElement
13
13
  this.spacing = 24;
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '39a71bdb43f87fd7beec0370aa384a94c7603417', style: {
16
+ return (h(Host, { key: 'd6e16e46c900ee9e15cb1664a1f07133b9e82135', style: {
17
17
  '--font-family': zonosStoreFontFamily(),
18
- } }, h("div", { key: '37ef89d4d2aecfebbf6a47f1754ce5f45fcd2566', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'd34be5394fef1bf5e7f37cb6dbd468ae48454df8' }))));
18
+ } }, h("div", { key: 'f634995e617314160ecf5a432958207a43a40201', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'aa7bca0df7412bb0b8913e02ffd3617a511b9c8c' }))));
19
19
  }
20
20
  static get style() { return ZonosVStackStyle0; }
21
21
  }, [1, "zonos-v-stack", {
@@ -0,0 +1,3 @@
1
+ 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>`;
2
+
3
+ export { RemoveIcon as R };