@zonos/elements 1.3.125 → 1.3.126

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 (261) hide show
  1. package/dist/cjs/index.cjs.js +7 -7
  2. package/dist/cjs/{isColorVariable-6f5a9608.js → isColorVariable-525dbfa7.js} +2 -0
  3. package/dist/cjs/zonos-address_7.cjs.entry.js +22 -22
  4. package/dist/cjs/zonos-badge.cjs.entry.js +5 -5
  5. package/dist/cjs/zonos-banner.cjs.entry.js +6 -6
  6. package/dist/cjs/zonos-button_3.cjs.entry.js +16 -16
  7. package/dist/cjs/zonos-card.cjs.entry.js +8 -8
  8. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +32 -32
  9. package/dist/cjs/zonos-checkout.cjs.entry.js +10 -5
  10. package/dist/cjs/zonos-collapse.cjs.entry.js +4 -4
  11. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  12. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-country-flag.cjs.entry.js +3 -3
  14. package/dist/cjs/zonos-country-select_4.cjs.entry.js +13 -13
  15. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
  16. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  17. package/dist/cjs/zonos-input.cjs.entry.js +7 -7
  18. package/dist/cjs/zonos-language-select_2.cjs.entry.js +8 -8
  19. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  20. package/dist/cjs/zonos-logo.cjs.entry.js +6 -6
  21. package/dist/cjs/zonos-notification_3.cjs.entry.js +8 -7
  22. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
  23. package/dist/cjs/zonos-text.cjs.entry.js +5 -5
  24. package/dist/cjs/zonos-toggle.cjs.entry.js +4 -4
  25. package/dist/cjs/zonos-tooltip.cjs.entry.js +1 -1
  26. package/dist/cjs/zonos-v-stack.cjs.entry.js +4 -4
  27. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.css +2 -2
  28. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.css +2 -2
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.css +2 -2
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.css +2 -2
  31. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.css +2 -2
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +2 -2
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.css +3 -3
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -4
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +2 -2
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +3 -3
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +5 -5
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +9 -4
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +3 -3
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +2 -2
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +3 -3
  42. package/dist/collection/components/common/zonos-badge/zonos-badge.css +2 -2
  43. package/dist/collection/components/common/zonos-badge/zonos-badge.js +4 -4
  44. package/dist/collection/components/common/zonos-banner/zonos-banner.css +2 -2
  45. package/dist/collection/components/common/zonos-banner/zonos-banner.js +5 -5
  46. package/dist/collection/components/common/zonos-button/zonos-button.css +12 -12
  47. package/dist/collection/components/common/zonos-button/zonos-button.js +7 -7
  48. package/dist/collection/components/common/zonos-card/zonos-card.css +4 -4
  49. package/dist/collection/components/common/zonos-card/zonos-card.js +7 -7
  50. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.css +7 -7
  51. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +7 -7
  52. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.css +5 -5
  53. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +5 -5
  54. package/dist/collection/components/common/zonos-collapse/zonos-collapse.css +2 -2
  55. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +3 -3
  56. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.css +4 -4
  57. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +6 -6
  58. package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.css +2 -2
  59. package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +2 -2
  60. package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +2 -2
  61. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  62. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.css +2 -2
  63. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +3 -3
  64. package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +7 -7
  65. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +8 -8
  66. package/dist/collection/components/common/zonos-icon/zonos-icon.css +6 -6
  67. package/dist/collection/components/common/zonos-icon/zonos-icon.js +4 -4
  68. package/dist/collection/components/common/zonos-input/zonos-input.css +5 -5
  69. package/dist/collection/components/common/zonos-input/zonos-input.js +6 -6
  70. package/dist/collection/components/common/zonos-language-select/zonos-language-select.css +2 -2
  71. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +3 -3
  72. package/dist/collection/components/common/zonos-link/zonos-link.css +2 -2
  73. package/dist/collection/components/common/zonos-logo/zonos-logo.css +4 -4
  74. package/dist/collection/components/common/zonos-logo/zonos-logo.js +5 -5
  75. package/dist/collection/components/common/zonos-notification/zonos-notification.css +3 -3
  76. package/dist/collection/components/common/zonos-notification/zonos-notification.js +5 -3
  77. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.css +2 -2
  78. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +4 -4
  79. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.css +2 -2
  80. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +3 -3
  81. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.css +8 -8
  82. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +3 -3
  83. package/dist/collection/components/common/zonos-spinner/zonos-spinner.css +6 -6
  84. package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +1 -1
  85. package/dist/collection/components/common/zonos-text/zonos-text.css +4 -4
  86. package/dist/collection/components/common/zonos-text/zonos-text.js +3 -3
  87. package/dist/collection/components/common/zonos-toggle/zonos-toggle.css +2 -2
  88. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +3 -3
  89. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.css +2 -2
  90. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.css +2 -2
  91. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +3 -3
  92. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.css +2 -2
  93. package/dist/collection/components/component-template/zonos-component/zonos-component.css +2 -2
  94. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +2 -2
  95. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +3 -3
  96. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +3 -3
  97. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +2 -2
  98. package/dist/collection/components/main/zonos-controller.css +2 -2
  99. package/dist/collection/components/paypal/zonos-paypal-payment.css +2 -2
  100. package/dist/collection/components/stripe/zonos-address/zonos-address.css +2 -2
  101. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.css +2 -2
  102. package/dist/collection/components/stripe/zonos-payment/zonos-payment.css +2 -2
  103. package/dist/collection/components/utils/isColorVariable.js +2 -0
  104. package/dist/esm/index.js +7 -7
  105. package/dist/esm/{isColorVariable-82457bef.js → isColorVariable-0a94004f.js} +2 -0
  106. package/dist/esm/zonos-address_7.entry.js +22 -22
  107. package/dist/esm/zonos-badge.entry.js +5 -5
  108. package/dist/esm/zonos-banner.entry.js +6 -6
  109. package/dist/esm/zonos-button_3.entry.js +16 -16
  110. package/dist/esm/zonos-card.entry.js +8 -8
  111. package/dist/esm/zonos-cart-items_13.entry.js +32 -32
  112. package/dist/esm/zonos-checkout.entry.js +10 -5
  113. package/dist/esm/zonos-collapse.entry.js +4 -4
  114. package/dist/esm/zonos-component.entry.js +1 -1
  115. package/dist/esm/zonos-controller.entry.js +1 -1
  116. package/dist/esm/zonos-country-flag.entry.js +3 -3
  117. package/dist/esm/zonos-country-select_4.entry.js +13 -13
  118. package/dist/esm/zonos-hello-dialog.entry.js +1 -1
  119. package/dist/esm/zonos-hello.entry.js +1 -1
  120. package/dist/esm/zonos-input.entry.js +7 -7
  121. package/dist/esm/zonos-language-select_2.entry.js +8 -8
  122. package/dist/esm/zonos-link.entry.js +1 -1
  123. package/dist/esm/zonos-logo.entry.js +6 -6
  124. package/dist/esm/zonos-notification_3.entry.js +8 -7
  125. package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
  126. package/dist/esm/zonos-text.entry.js +5 -5
  127. package/dist/esm/zonos-toggle.entry.js +4 -4
  128. package/dist/esm/zonos-tooltip.entry.js +1 -1
  129. package/dist/esm/zonos-v-stack.entry.js +4 -4
  130. package/dist/esm-es5/index.js +1 -1
  131. package/dist/esm-es5/isColorVariable-0a94004f.js +1 -0
  132. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  133. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  134. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  135. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  136. package/dist/esm-es5/zonos-card.entry.js +1 -1
  137. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  138. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  139. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  140. package/dist/esm-es5/zonos-component.entry.js +1 -1
  141. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  142. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  143. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  144. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  145. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  146. package/dist/esm-es5/zonos-input.entry.js +1 -1
  147. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  148. package/dist/esm-es5/zonos-link.entry.js +1 -1
  149. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  150. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  151. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  152. package/dist/esm-es5/zonos-text.entry.js +1 -1
  153. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  154. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  155. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  156. package/dist/scripts/index.js +1 -1
  157. package/dist/scripts/loadZonos.js +1 -1
  158. package/dist/scripts/zonos.js +1 -1
  159. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  160. package/dist/zonos-elements/index.esm.js +1 -1
  161. package/dist/zonos-elements/p-0082eefd.system.entry.js +1 -0
  162. package/dist/zonos-elements/{p-f8c7bc1d.entry.js → p-054a24bf.entry.js} +1 -1
  163. package/dist/zonos-elements/p-0bc813a9.system.entry.js +1 -0
  164. package/dist/zonos-elements/p-0c6a933c.entry.js +1 -0
  165. package/dist/zonos-elements/p-1e4d8228.entry.js +1 -0
  166. package/dist/zonos-elements/p-2906956b.entry.js +1 -0
  167. package/dist/zonos-elements/{p-b2262a9c.entry.js → p-2cd05dd5.entry.js} +1 -1
  168. package/dist/zonos-elements/p-311f6702.entry.js +1 -0
  169. package/dist/zonos-elements/p-3b5f49f6.system.entry.js +1 -0
  170. package/dist/zonos-elements/p-4170b042.entry.js +1 -0
  171. package/dist/zonos-elements/p-42ff40eb.system.entry.js +1 -0
  172. package/dist/zonos-elements/p-4cd1e79c.system.entry.js +1 -0
  173. package/dist/zonos-elements/p-4fee6e7f.system.entry.js +1 -0
  174. package/dist/zonos-elements/p-5278717e.system.entry.js +1 -0
  175. package/dist/zonos-elements/p-5610934b.entry.js +1 -0
  176. package/dist/zonos-elements/p-566c5607.system.entry.js +1 -0
  177. package/dist/zonos-elements/p-57d93236.entry.js +1 -0
  178. package/dist/zonos-elements/p-5886302b.system.entry.js +1 -0
  179. package/dist/zonos-elements/p-5ac777a7.system.entry.js +1 -0
  180. package/dist/zonos-elements/p-6a2bed3e.system.entry.js +1 -0
  181. package/dist/zonos-elements/p-6b0a8709.system.entry.js +1 -0
  182. package/dist/zonos-elements/p-6c047faf.system.entry.js +1 -0
  183. package/dist/zonos-elements/p-6de5611e.entry.js +1 -0
  184. package/dist/zonos-elements/{p-66303c89.system.entry.js → p-798d715c.entry.js} +1 -1
  185. package/dist/zonos-elements/p-799d2a3f.system.entry.js +1 -0
  186. package/dist/zonos-elements/p-8915d6cf.system.entry.js +1 -0
  187. package/dist/zonos-elements/p-8b3d9796.system.entry.js +1 -0
  188. package/dist/zonos-elements/p-8ca3b73a.entry.js +1 -0
  189. package/dist/zonos-elements/p-9178fbe0.entry.js +1 -0
  190. package/dist/zonos-elements/p-970527fe.entry.js +1 -0
  191. package/dist/zonos-elements/p-989e6a4f.entry.js +1 -0
  192. package/dist/zonos-elements/p-a01635df.system.entry.js +1 -0
  193. package/dist/zonos-elements/p-a372a9a0.entry.js +1 -0
  194. package/dist/zonos-elements/p-ae393255.js +1 -0
  195. package/dist/zonos-elements/p-b6cd212c.system.entry.js +1 -0
  196. package/dist/zonos-elements/p-c5d1217f.system.js +1 -0
  197. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  198. package/dist/zonos-elements/p-c94d0f07.entry.js +1 -0
  199. package/dist/zonos-elements/p-cf7a5119.entry.js +1 -0
  200. package/dist/zonos-elements/p-d999e680.entry.js +1 -0
  201. package/dist/zonos-elements/p-dde44079.entry.js +1 -0
  202. package/dist/zonos-elements/p-df4ca0c4.system.entry.js +1 -0
  203. package/dist/zonos-elements/{p-148e7eb7.entry.js → p-e1e00336.entry.js} +1 -1
  204. package/dist/zonos-elements/p-e6fad32a.system.entry.js +1 -0
  205. package/dist/zonos-elements/p-e933cbf0.system.entry.js +1 -0
  206. package/dist/zonos-elements/p-ea6d75ad.entry.js +1 -0
  207. package/dist/zonos-elements/p-eb6d1e26.system.entry.js +1 -0
  208. package/dist/zonos-elements/p-f20f939e.entry.js +1 -0
  209. package/dist/zonos-elements/{p-988b6d65.system.js → p-f544a6b1.system.js} +1 -1
  210. package/dist/zonos-elements/p-f828bf3a.system.entry.js +1 -0
  211. package/dist/zonos-elements/p-fe899c47.entry.js +1 -0
  212. package/dist/zonos-elements/p-ff0a79e6.system.entry.js +1 -0
  213. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  214. package/package.json +1 -1
  215. package/dist/esm-es5/isColorVariable-82457bef.js +0 -1
  216. package/dist/zonos-elements/p-0cedb17a.system.entry.js +0 -1
  217. package/dist/zonos-elements/p-139fd9b9.entry.js +0 -1
  218. package/dist/zonos-elements/p-149612d6.entry.js +0 -1
  219. package/dist/zonos-elements/p-14c67ae2.system.entry.js +0 -1
  220. package/dist/zonos-elements/p-1aed6403.system.entry.js +0 -1
  221. package/dist/zonos-elements/p-1d1c3377.entry.js +0 -1
  222. package/dist/zonos-elements/p-1e4f7997.system.entry.js +0 -1
  223. package/dist/zonos-elements/p-21970d09.system.entry.js +0 -1
  224. package/dist/zonos-elements/p-26be7ea7.entry.js +0 -1
  225. package/dist/zonos-elements/p-28b79606.system.entry.js +0 -1
  226. package/dist/zonos-elements/p-30476a6b.entry.js +0 -1
  227. package/dist/zonos-elements/p-3e2aa5e2.entry.js +0 -1
  228. package/dist/zonos-elements/p-3f5b6e7a.system.entry.js +0 -1
  229. package/dist/zonos-elements/p-4161a0f2.system.entry.js +0 -1
  230. package/dist/zonos-elements/p-44991bcf.entry.js +0 -1
  231. package/dist/zonos-elements/p-46d96a0d.entry.js +0 -1
  232. package/dist/zonos-elements/p-4a107b6f.system.js +0 -1
  233. package/dist/zonos-elements/p-4a3c1449.system.entry.js +0 -1
  234. package/dist/zonos-elements/p-4c6033ed.system.entry.js +0 -1
  235. package/dist/zonos-elements/p-4c64f0ea.system.entry.js +0 -1
  236. package/dist/zonos-elements/p-55d26aaa.system.entry.js +0 -1
  237. package/dist/zonos-elements/p-56370c8b.system.entry.js +0 -1
  238. package/dist/zonos-elements/p-66eb66d1.js +0 -1
  239. package/dist/zonos-elements/p-6de38759.entry.js +0 -1
  240. package/dist/zonos-elements/p-7a4170ba.entry.js +0 -1
  241. package/dist/zonos-elements/p-80733970.system.entry.js +0 -1
  242. package/dist/zonos-elements/p-99ab4440.entry.js +0 -1
  243. package/dist/zonos-elements/p-9a89de05.system.entry.js +0 -1
  244. package/dist/zonos-elements/p-a435037c.entry.js +0 -1
  245. package/dist/zonos-elements/p-a7c24425.system.entry.js +0 -1
  246. package/dist/zonos-elements/p-ada1c7b6.entry.js +0 -1
  247. package/dist/zonos-elements/p-b2247065.entry.js +0 -1
  248. package/dist/zonos-elements/p-b31095d5.system.entry.js +0 -1
  249. package/dist/zonos-elements/p-bb53bce8.entry.js +0 -1
  250. package/dist/zonos-elements/p-d13f3ea0.system.entry.js +0 -1
  251. package/dist/zonos-elements/p-d3472a00.system.entry.js +0 -1
  252. package/dist/zonos-elements/p-d91da318.entry.js +0 -1
  253. package/dist/zonos-elements/p-daba3f99.system.entry.js +0 -1
  254. package/dist/zonos-elements/p-de2fe7f5.entry.js +0 -1
  255. package/dist/zonos-elements/p-e19034a3.entry.js +0 -1
  256. package/dist/zonos-elements/p-e46bd90a.entry.js +0 -1
  257. package/dist/zonos-elements/p-eeb2c2f4.system.entry.js +0 -1
  258. package/dist/zonos-elements/p-f0b32dd6.entry.js +0 -1
  259. package/dist/zonos-elements/p-fe855df9.system.entry.js +0 -1
  260. package/dist/zonos-elements/p-ff6e4ea6.entry.js +0 -1
  261. package/dist/zonos-elements/p-fff6e3d9.system.entry.js +0 -1
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -84,7 +84,7 @@
84
84
  gap: 12px;
85
85
  bottom: 0;
86
86
  padding-top: 12px;
87
- background: var(--primary-color, var(--zonos-elements-gray-0));
87
+ background: var(--zonos--primary-color, var(--zonos-elements-gray-0));
88
88
  }
89
89
  :host .zonos--group-btn zonos-text {
90
90
  text-align: center;
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -53,7 +53,7 @@
53
53
  display: flex;
54
54
  height: 100%;
55
55
  overflow: hidden;
56
- border-radius: var(--border-radius, var(--zonos-elements-radius-10));
56
+ border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
57
57
  }
58
58
  :host .zonos--content .zonos--left,
59
59
  :host .zonos--content .zonos--right {
@@ -61,7 +61,7 @@
61
61
  padding: 32px;
62
62
  }
63
63
  :host .zonos--content .zonos--left {
64
- background-color: var(--primary-color, var(--zonos-elements-gray-0));
64
+ background-color: var(--zonos--primary-color, var(--zonos-elements-gray-0));
65
65
  border-right: 1px solid var(--zonos-elements-gray-200);
66
66
  }
67
67
  :host .zonos--content .zonos--right {
@@ -197,7 +197,7 @@
197
197
  display: flex;
198
198
  flex-direction: column;
199
199
  border: var(--zonos-elements-border);
200
- border-radius: var(--border-radius, var(--zonos-elements-radius-10));
200
+ border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
201
201
  background-color: var(--zonos-elements-gray-50);
202
202
  padding: 12px;
203
203
  margin-top: 32px;
@@ -24,6 +24,7 @@ import { logError } from "../../utils/logging/logError";
24
24
  import { sendErrorLog } from "../../utils/logging/sendErrorLog";
25
25
  import { sendLoadCheckoutFacadeLog } from "../../utils/logging/sendLoadCheckoutFacadeLog";
26
26
  import { mergeConfig } from "../../utils/mergeConfig";
27
+ import { styles } from "../../utils/styles";
27
28
  import { submitGtag } from "../../utils/submitGtag";
28
29
  import { setupCartData } from "../../../scripts/cart/_setupCartData";
29
30
  import { checkoutHiddenBtnSelector, domesticRedirectedBtnSelector, } from "../../../types/checkout/CheckoutConfig";
@@ -697,10 +698,14 @@ export class ZonosCheckout {
697
698
  return (h("zonos-rest-state", { class: "zonos--session-timeout", restStateSubtitle: translate('Your checkout session has expired. Please reload the page to continue.'), restStateTitle: translate('Session timed out'), restStateType: 'Warning' }, h("zonos-button", { onClick: () => this.reloadCheckoutSession(), variant: "primary" }, translate('Reload'))));
698
699
  }
699
700
  return (h("div", { class: 'zonos--content', style: {
700
- '--border-radius': getBorderRadius({ overrideBorderStyle: style }),
701
- } }, cartStore.step !== 'finish' && cartStore.step !== 'error' && (h(Fragment, null, h("div", { class: "zonos--left", "data-theme": leftSideTheme, style: {
702
- '--primary-color': !this.isMobile ? colorPrimary : '',
703
- } }, !this.isMobile && renderTopHeader(), cartStore.step === 'customer-info' && (h("zonos-customer-info", { continueLoading: this.submitLoading, defaultAddress: this.defaultAddress, isMobile: this.isMobile, onContinueClicked: () => this.handleCustomerInfoContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'shipping' && (h("zonos-shipping", { continueLoading: this.submitLoading, onContinueClicked: () => this.handleShippingContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'payment' && (h("zonos-checkout-payment", { continueLoading: this.submitLoading, onContinueClicked: async () => {
701
+ '--zonos--border-radius': getBorderRadius({
702
+ overrideBorderStyle: style,
703
+ }),
704
+ } }, cartStore.step !== 'finish' && cartStore.step !== 'error' && (h(Fragment, null, h("div", { class: "zonos--left", "data-theme": leftSideTheme, style: styles({
705
+ '--zonos--primary-color': !this.isMobile
706
+ ? colorPrimary
707
+ : undefined,
708
+ }) }, !this.isMobile && renderTopHeader(), cartStore.step === 'customer-info' && (h("zonos-customer-info", { continueLoading: this.submitLoading, defaultAddress: this.defaultAddress, isMobile: this.isMobile, onContinueClicked: () => this.handleCustomerInfoContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'shipping' && (h("zonos-shipping", { continueLoading: this.submitLoading, onContinueClicked: () => this.handleShippingContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'payment' && (h("zonos-checkout-payment", { continueLoading: this.submitLoading, onContinueClicked: async () => {
704
709
  await this.handleStripePaymentContinue();
705
710
  }, submitBtnColor: submitButtonColor }))), h("div", { class: "zonos--right", "data-theme": rightSideTheme }, this.isMobile && renderTopHeader(), h("div", { class: "zonos--right-actions" }, window.Zonos.showBaseForeign && (h("zonos-currency-toggle", null)), !this.isLegacyCheckout && (h("zonos-button", { class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close checkout dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.closeDialogHandler() }))), h("div", { class: "flex--wrapper" }, h("div", { class: "zonos--wrapper" }, h("zonos-review", { collapsed: this.collapseReviewMobile, mobile: this.isMobile, onClick: () => {
706
711
  // do nothing if it's not mobile
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -85,7 +85,7 @@
85
85
  bottom: -5px;
86
86
  padding-top: 8px;
87
87
  margin-top: 12px;
88
- background: var(--primary-color, var(--zonos-elements-gray-0));
88
+ background: var(--zonos--primary-color, var(--zonos-elements-gray-0));
89
89
  }
90
90
  :host .zonos--group-btn zonos-button {
91
91
  width: 100%;
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -79,7 +79,7 @@
79
79
  bottom: 0;
80
80
  z-index: 1;
81
81
  margin-top: 12px;
82
- background: var(--primary-color, var(--zonos-elements-gray-0));
82
+ background: var(--zonos--primary-color, var(--zonos-elements-gray-0));
83
83
  }
84
84
  :host .zonos--group-btn zonos-button {
85
85
  width: 100%;
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -15,16 +15,16 @@ export class ZonosBadge {
15
15
  this.dismissHandler = undefined;
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '250028cd50c23400b88ae1cbfa17836ade3d501b', class: classes(['zonos--elements zonos--badge']), style: {
19
- '--font-family': zonosStoreFontFamily(),
20
- } }, h("div", { key: '9d2f93b0fb791c6b3390d669473261183b5662dd', class: classes([
18
+ return (h(Host, { key: 'ef7686107447f0d7b0fb090d1995ea66ab9d9147', class: classes(['zonos--elements zonos--badge']), style: {
19
+ '--zonos--font-family': zonosStoreFontFamily(),
20
+ } }, h("div", { key: '78dd37a1413c192fba84ba17e068cdd07bc54db1', class: classes([
21
21
  'zonos--badge-content',
22
22
  this.badgeColor,
23
23
  this.rounded && 'rounded',
24
24
  this.iconRight && 'icon-right',
25
25
  this.size,
26
26
  this.bold && 'bold',
27
- ]) }, this.icon, h("zonos-text", { key: 'b612923e4e26d250a6f9d604e68d7d5a69f99701', textColor: `${this.badgeColor}-800` }, h("slot", { key: '71369a45f9e31e9f08cbd54a4e97d310d213a768' })), this.dismissHandler && (h("zonos-icon", { key: '256f64f95a466be5cc7d1606666067fc06dbd061', "aria-label": "Remove action", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
27
+ ]) }, this.icon, h("zonos-text", { key: '10ee8b496e4db3d9550d9e46859446ba4c91a823', textColor: `${this.badgeColor}-800` }, h("slot", { key: 'c9341850364d8e289d7c3569ebb41e37e2e1d99b' })), this.dismissHandler && (h("zonos-icon", { key: '85f69b0f3c31ce57978a078eb96ee856da1555a2', "aria-label": "Remove action", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
28
28
  }
29
29
  static get is() { return "zonos-badge"; }
30
30
  static get encapsulation() { return "shadow"; }
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -29,31 +29,31 @@ export class ZonosBanner {
29
29
  switch (this.intent) {
30
30
  case 'error':
31
31
  return (h(Host, { class: baseClass, style: {
32
- '--font-family': font,
32
+ '--zonos--font-family': font,
33
33
  } }, renderContent({
34
34
  color: 'red',
35
35
  })));
36
36
  case 'info':
37
37
  return (h(Host, { class: baseClass, style: {
38
- '--font-family': font,
38
+ '--zonos--font-family': font,
39
39
  } }, renderContent({
40
40
  color: 'blue',
41
41
  })));
42
42
  case 'success':
43
43
  return (h(Host, { class: baseClass, style: {
44
- '--font-family': font,
44
+ '--zonos--font-family': font,
45
45
  } }, renderContent({
46
46
  color: 'green',
47
47
  })));
48
48
  case 'warning':
49
49
  return (h(Host, { class: baseClass, style: {
50
- '--font-family': font,
50
+ '--zonos--font-family': font,
51
51
  } }, renderContent({
52
52
  color: 'orange',
53
53
  })));
54
54
  default:
55
55
  return (h(Host, { class: baseClass, style: {
56
- '--font-family': font,
56
+ '--zonos--font-family': font,
57
57
  } }, renderContent({
58
58
  color: 'gray',
59
59
  })));
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -33,7 +33,7 @@
33
33
 
34
34
  :host {
35
35
  display: inline-flex;
36
- border-radius: var(--border-radius, var(--zonos-elements-radius-10));
36
+ border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
37
37
  }
38
38
  :host .zonos--spinner-wrapper {
39
39
  position: absolute;
@@ -60,16 +60,16 @@
60
60
  background-color: var(--zonos-elements-surface-color);
61
61
  border: none;
62
62
  outline: 1px solid var(--zonos-elements-surface-color);
63
- border-radius: var(--border-radius, var(--zonos-elements-radius-10));
63
+ border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
64
64
  transition: var(--zonos-elements-transition);
65
65
  font-weight: 500;
66
66
  user-select: none;
67
- font-family: var(--font-family, Inter), Inter;
67
+ font-family: var(--zonos--font-family, Inter), Inter;
68
68
  letter-spacing: normal;
69
69
  cursor: pointer;
70
70
  white-space: nowrap;
71
71
  padding: 8px 24px;
72
- color: var(--color, var(--zonos-elements-gray-1000));
72
+ color: var(--zonos--color, var(--zonos-elements-gray-1000));
73
73
  margin: 1px;
74
74
  /** Button size */
75
75
  }
@@ -97,10 +97,10 @@
97
97
  }
98
98
  :host button[disabled] {
99
99
  cursor: not-allowed;
100
- background-color: var(--background-color, var(--zonos-elements-gray-200));
100
+ background-color: var(--zonos--background-color, var(--zonos-elements-gray-200));
101
101
  }
102
102
  :host button[disabled] .zonos--spinner-wrapper {
103
- background-color: var(--background-color, var(--zonos-elements-gray-200));
103
+ background-color: var(--zonos--background-color, var(--zonos-elements-gray-200));
104
104
  }
105
105
  :host button:active {
106
106
  transform: scale(0.99);
@@ -138,9 +138,9 @@
138
138
  }
139
139
  }
140
140
  :host button.override-background {
141
- background-color: var(--background-color, var(--zonos-elements-gray-0));
142
- color: var(--color, var(--zonos-elements-gray-1000));
143
- outline: 1px solid var(--background-color, var(--zonos-elements-gray-0));
141
+ background-color: var(--zonos--background-color, var(--zonos-elements-gray-0));
142
+ color: var(--zonos--color, var(--zonos-elements-gray-1000));
143
+ outline: 1px solid var(--zonos--background-color, var(--zonos-elements-gray-0));
144
144
  }
145
145
  :host button.override-background:disabled {
146
146
  opacity: 0.8;
@@ -236,7 +236,7 @@
236
236
  }
237
237
  :host button:not(.override-background).subtle {
238
238
  background: transparent;
239
- color: var(--color);
239
+ color: var(--zonos--color, var(--zonos-elements-gray-1000));
240
240
  outline: none;
241
241
  }
242
242
  :host button:not(.override-background).subtle:not([disabled]):hover {
@@ -121,12 +121,12 @@ export class ZonosButton {
121
121
  const borderStyle = getBorderRadius({
122
122
  overrideBorderStyle: this.borderStyle,
123
123
  });
124
- return (h(Host, { key: 'd35c2874d343aa93b38cb40cbe8cdeb5c77bb97c', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
125
- '--background-color': backgroundColor,
126
- '--border-radius': borderStyle,
127
- '--color': color,
128
- '--font-family': zonosStoreFontFamily(),
129
- }) }, h("button", { key: '9a964a9eb765152075c6a08008341d177e4d2879', class: classes([
124
+ return (h(Host, { key: 'a862db0549563c67361d2f93baf6bed668a9a561', class: classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles({
125
+ '--zonos--background-color': backgroundColor,
126
+ '--zonos--border-radius': borderStyle,
127
+ '--zonos--color': color,
128
+ '--zonos--font-family': zonosStoreFontFamily(),
129
+ }) }, h("button", { key: 'e848c5d69708b8eee9a2be1c1649eb0f9c85dae0', class: classes([
130
130
  this.hasIcon && 'has-icon',
131
131
  this.hasContent && 'has-content',
132
132
  this.noBackground && 'no-background',
@@ -141,7 +141,7 @@ export class ZonosButton {
141
141
  backgroundColor && variant === 'standard' && 'override-background',
142
142
  ]), disabled: disabled, style: {
143
143
  justifyContent: this.justifyContent,
144
- } }, this.loading && (h("div", { key: 'bcc0ae7d419ae25477b65d4e9c26b62f7f1e1a1f', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: 'dcd083f67544bd05b0ca866ff19a44fc33c77715', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'c32fab50c66737462c6a2743100cd43156edab27', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
144
+ } }, this.loading && (h("div", { key: '3d6af592a449d698a205bb327ee3f29b57a406ff', class: "zonos--spinner-wrapper" }, h("zonos-spinner", { key: 'c4e28edbbed061e57ad6c6f532887b74441e4acc', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, h("slot", { key: 'dbbf5f30085d61932505f8724473bb61dd67c7b7', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
145
145
  }
146
146
  static get is() { return "zonos-button"; }
147
147
  static get encapsulation() { return "shadow"; }
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -33,10 +33,10 @@
33
33
 
34
34
  :host .styled-card {
35
35
  border: var(--zonos-elements-border);
36
- border-radius: var(--border-radius, var(--zonos-elements-radius-6));
36
+ border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-6));
37
37
  padding: var(--spacing, 24px);
38
38
  text-align: left;
39
- background-color: var(--background-color);
39
+ background-color: var(--zonos--background-color);
40
40
  overflow: hidden;
41
41
  }
42
42
  :host .styled-card hr {
@@ -22,16 +22,16 @@ export class ZonosCard {
22
22
  customRoundRadius: `${this.borderRadius}px`,
23
23
  overrideBorderStyle: 'ROUNDED',
24
24
  });
25
- return (h(Host, { key: '0feaf20ca1bb493792614216aeace549a3bad708', style: {
26
- '--font-family': zonosStoreFontFamily(),
27
- } }, h("div", { key: '9a05937c24886d73e52ef2f6bf722869247e133c', class: classes(['styled-card']), style: {
28
- '--background-color': backgroundColor,
29
- '--border-radius': borderRadius,
25
+ return (h(Host, { key: '84d131edbe30a0ce9869351c197c438082bcadac', style: {
26
+ '--zonos--font-family': zonosStoreFontFamily(),
27
+ } }, h("div", { key: 'c1ab46423b1716badf577b51c1e10a59f6d857c7', class: classes(['styled-card']), style: {
28
+ '--zonos--background-color': backgroundColor,
29
+ '--zonos--border-radius': borderRadius,
30
30
  padding: this.spacing,
31
- } }, this.label && (h("header", { key: '862b765cabe5ab5c897db18654b0be0c8ed492f3', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: 'e637d00494ba2ca7d081bd2eebcb825afc4ffa90', type: "subheader" }, this.label), h("h-stack", { key: '5174ef0a9f588d9862aca3375a3ad3269cbc0051', spacing: 8 }, this.actions))), h("slot", { key: 'b260fa53b675b0465d32deba0daaa13a0eb85ac1' }), (this.footerActions || this.footerContent) && (h("footer", { key: '0681bfa581ef37bf0a102eb1dfe9f6fd4c0d88f4', class: "card-footer", style: {
31
+ } }, this.label && (h("header", { key: '3f86015a24d5d86f41955c57a96c1051aa8cd0fb', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: '697b450d8c77935d602a2c6fc11279c38a558f8e', type: "subheader" }, this.label), h("h-stack", { key: 'ef44ce7c7d1fd3d8f683656c2156f0b24232b6c0', spacing: 8 }, this.actions))), h("slot", { key: '1e5bc6315fcc134e5a7c608547ea2f481ecb91df' }), (this.footerActions || this.footerContent) && (h("footer", { key: 'aabb9ec4c7f1122662ac13655caa4cd3557266cc', class: "card-footer", style: {
32
32
  height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
33
33
  padding: this.spacing,
34
- } }, h("div", { key: '65271d4dd4e32a64467be17d10202cad1f302fe4' }, this.footerContent), h("h-stack", { key: 'fd1ded15a0caae9a2f781fc0f6fbf59e7768ef37', spacing: 8 }, this.footerActions))))));
34
+ } }, h("div", { key: 'c92b803303485ce25b66dad4237411e3c4d5c15c' }, this.footerContent), h("h-stack", { key: '12c395e0b5c537f991d6814352f62d3da15432a1', spacing: 8 }, this.footerActions))))));
35
35
  }
36
36
  static get is() { return "zonos-card"; }
37
37
  static get encapsulation() { return "shadow"; }
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -58,12 +58,12 @@
58
58
  opacity: 0;
59
59
  }
60
60
  :host .checkmark-container {
61
- height: var(--size);
62
- width: var(--size);
61
+ height: var(--zonos--size);
62
+ width: var(--zonos--size);
63
63
  background-color: transparent;
64
64
  border: 1.5px solid var(--zonos-elements-gray-400);
65
65
  position: relative;
66
- border-radius: var(--border-radius, var(--zonos-elements-radius-4));
66
+ border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-4));
67
67
  }
68
68
  :host .checkmark {
69
69
  opacity: 0;
@@ -75,8 +75,8 @@
75
75
  width: calc(100% + 3px);
76
76
  transition: 0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);
77
77
  transform: scale(0.4);
78
- background-color: var(--background-color);
79
- border-radius: var(--border-radius, var(--zonos-elements-radius-4));
78
+ background-color: var(--zonos--background-color);
79
+ border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-4));
80
80
  }
81
81
  :host input[type=checkbox]:checked ~ .checkmark-container .checkmark {
82
82
  opacity: 1;
@@ -36,14 +36,14 @@ export class ZonosCheckbox {
36
36
  customRoundRadius: '4px',
37
37
  overrideBorderStyle: this.borderStyle,
38
38
  });
39
- return (h(Host, { key: 'be29586ffd5ae5227614622cfb402686ff5e0583', class: classes(['zonos--elements zonos--checkbox']), style: {
40
- '--background-color': backgroundColor,
41
- '--border-radius': borderStyle,
42
- '--font-family': zonosStoreFontFamily(),
43
- '--size': `${this.size}px`,
44
- } }, h("label", { key: '091c2388668a94962d7b2bde4496856805f675e8', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: 'c0f66d11f63591b03631cb1c970c0db201d435e2', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
39
+ return (h(Host, { key: 'a863e05a6e647b9ea8ef8902a4c618f6998894cd', class: classes(['zonos--elements zonos--checkbox']), style: {
40
+ '--zonos--background-color': backgroundColor,
41
+ '--zonos--border-radius': borderStyle,
42
+ '--zonos--font-family': zonosStoreFontFamily(),
43
+ '--zonos--size': `${this.size}px`,
44
+ } }, h("label", { key: '2b84b59d106661937c10e76ccb1c05f887c657ec', class: classes([this.isDisabled && 'disabled']) }, h("input", { key: '1dc2037bf17c37c8f762f2ac28509e3d607c9e61', checked: this.isChecked, disabled: this.isDisabled, hidden: true, onChange: e => {
45
45
  this.checkboxSelected.emit(e.target.checked);
46
- }, type: "checkbox" }), h("span", { key: 'ab6c4847d006a812829bd8e871520455da91c7b0', class: "checkmark-container" }, h("svg", { key: '617693bef302910db463cdf95b10700b72ea8d44', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '410728b7d5edf27966e660e598f166ce8292015e', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: '1b9a21e7ef15ad34684453bc25cb3744ba183cd0', size: this.fontSize }, this.label)))));
46
+ }, type: "checkbox" }), h("span", { key: '75175e238cbe841c11f43392797a2126d1cd65a8', class: "checkmark-container" }, h("svg", { key: '5e853c2248dd1777f0b4029a1b7beeb0fb8a0e1c', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '367494224e826b903acb560cbb93f532502aa4d2', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: '573cfdccbd768246996bff4eaed8064b67e90009', size: this.fontSize }, this.label)))));
47
47
  }
48
48
  static get is() { return "zonos-checkbox"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -85,7 +85,7 @@
85
85
  top: 50%;
86
86
  }
87
87
  :host .zonos--tab-item.selected zonos-text {
88
- color: var(--color);
88
+ color: var(--zonos--color);
89
89
  }
90
90
  :host .zonos--tab-progress {
91
91
  width: 100%;
@@ -99,8 +99,8 @@
99
99
  }
100
100
  :host .zonos--tab-progress .zonos--progress-bar-fill {
101
101
  border-radius: 10px;
102
- background-color: var(--color);
102
+ background-color: var(--zonos--color);
103
103
  height: 100%;
104
- width: var(--progress-percent);
104
+ width: var(--zonos--progress-percent);
105
105
  transition: width 0.5s ease-in-out;
106
106
  }
@@ -64,17 +64,17 @@ export class ZonosCheckoutProgressTabs {
64
64
  color: labelSelectedColor,
65
65
  })
66
66
  : labelSelectedColor;
67
- return (h(Host, { key: '6f1797cd7dbaf99d72cdb61041c780d0635d9dc0', class: "zonos--elements", style: {
68
- '--color': contrastLabelColor,
69
- '--progress-percent': this.getTotalSuccessStep(),
70
- } }, h("div", { key: '8eb4ef12ed76f9e14a68b6dfe589b0f10bd3fc3b', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
67
+ return (h(Host, { key: '2b92000ea02fe5efcd8c8b4cab82253344fb9fba', class: "zonos--elements", style: {
68
+ '--zonos--color': contrastLabelColor,
69
+ '--zonos--progress-percent': this.getTotalSuccessStep(),
70
+ } }, h("div", { key: '2d10ca52da867104ebec46ea6406fcb1688d96d6', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
71
71
  const isSelected = tab.value === selectedStep;
72
72
  return (h("button", { class: classes([
73
73
  'zonos--tab-item',
74
74
  tab.value === selectedStep && 'selected',
75
75
  tab.isDone && 'done',
76
76
  ]), disabled: !this.isTabClickable(tab.value), key: tab.value, onClick: () => (cartStore.step = tab.value) }, h("div", { class: "zonos--tab-index" }, h("zonos-text", { class: "zonos--tab-index-label", textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, index + 1), h("zonos-icon", { class: "zonos--tab-index-done-icon", content: TabCheckmark, iconColor: isSelected ? contrastLabelColor : 'gray-1000' })), h("zonos-text", { textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, translate(tab.label))));
77
- })), h("div", { key: 'fa2d07af26eb4c50ecb06ec685cbf0eddc54be98', class: "zonos--tab-progress" }, h("div", { key: 'af86726d61e8db32f95a84758ace851e7297d013', class: "zonos--progress-bar-fill" }))));
77
+ })), h("div", { key: 'cb87fe27155f6d6a02ec668d1750a1fd397652a0', class: "zonos--tab-progress" }, h("div", { key: 'd260e03cbb980b35f4c8047233a4e54714a8a756', class: "zonos--progress-bar-fill" }))));
78
78
  }
79
79
  static get is() { return "zonos-checkout-progress-tabs"; }
80
80
  static get encapsulation() { return "shadow"; }
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -42,10 +42,10 @@ export class ZonosCollapse {
42
42
  // set overflow to hidden to prevent content from showing when collapsed
43
43
  this.el.style.overflow = 'hidden';
44
44
  }
45
- return (h(Host, { key: '514e75d41d29d70b4ca60230288ae183200b1e12', class: 'zonos--elements zonos--collapse', style: {
46
- '--font-family': zonosStoreFontFamily(),
45
+ return (h(Host, { key: '4362f714c77107361d6a12b37611d443b3913360', class: 'zonos--elements zonos--collapse', style: {
46
+ '--zonos--font-family': zonosStoreFontFamily(),
47
47
  height: this.getElementHeight(),
48
- } }, h("div", { key: '068aee1d13bde4c83ea8582b34844da7452c907c' }, h("iframe", { key: 'b22fd8ad898a098c244cb817dc6951854505efca', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: 'b54783376005085e379c7b8d43218ead1bf8e8ac' }))));
48
+ } }, h("div", { key: '0d66a5810e4d4e5485680eb07dd4201001ddeeb3' }, h("iframe", { key: '8ca06be959cfbb3d791bc93b9db9e6abc820466f', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: 'cd8be075228fdd276b7d2f12929e49847d7a8b2d' }))));
49
49
  }
50
50
  static get is() { return "zonos-collapse"; }
51
51
  static get encapsulation() { return "shadow"; }
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -62,8 +62,8 @@
62
62
  background: var(--zonos-elements-gray-0);
63
63
  max-width: 90vw;
64
64
  max-height: 90vh;
65
- width: var(--dialog-width);
66
- border-radius: var(--border-radius, 10px);
65
+ width: var(--zonos--dialog-width);
66
+ border-radius: var(--zonos--border-radius, 10px);
67
67
  outline: none;
68
68
  box-shadow: var(--zonos-elements-v3-shadow-xxl);
69
69
  border: var(--zonos-elements-border);
@@ -83,13 +83,13 @@ export class ZonosConfirmDialog {
83
83
  const borderStyle = getBorderRadius();
84
84
  // Get theme for the update dialog, inherit from the theme, no from this component theme
85
85
  const theme = getZonosStoreTheme(zonosStore.appearance.theme);
86
- return (h(Host, { key: 'ba14f47b129207062edf7eca1f9fc5b71d689e4a', class: classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
87
- '--border-radius': borderStyle,
88
- '--dialog-width': `${this.dialogWidth}px`,
89
- '--font-family': zonosStoreFontFamily(),
90
- } }, h("div", { key: 'b9eb2237cc834e23ce3b60bf2f99ad5c4d0b4ebf', class: "zonos--backdrop", tabIndex: -1 }), h("div", { key: '45b67c5a79955b579f0488f239f79a78d448482f', "aria-hidden": "true", class: classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, h("div", { key: '8aae5e6df9242f84fc225e687563db7aabc1751b', class: "zonos--confirm-dialog", onBlur: () => {
86
+ return (h(Host, { key: '6fbde5144cb14f8c418f4108037866d8d5b9a403', class: classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
87
+ '--zonos--border-radius': borderStyle,
88
+ '--zonos--dialog-width': `${this.dialogWidth}px`,
89
+ '--zonos--font-family': zonosStoreFontFamily(),
90
+ } }, h("div", { key: '972e16777f091277e935ba2cf779b98c03f1b8d9', class: "zonos--backdrop", tabIndex: -1 }), h("div", { key: 'a88ae021456007ae9ddfcf6ab778539c1500afa2', "aria-hidden": "true", class: classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, h("div", { key: '1613ef615b0dc37e90858b7e91699d62e88abce7', class: "zonos--confirm-dialog", onBlur: () => {
91
91
  this.focusDialog();
92
- } }, h("div", { key: '7a1eb45d4e015a9cd1ebb7acc9fe28917153bd53', class: "wrapper" }, h("div", { key: 'd145883d1ff60117e800e4238e3f011e43173246', class: "icon-wrapper" }, this.renderIcon()), h("div", { key: '9a93b028b1d282f1d6fde264773a0f4a4d62326c', class: "content" }, h("div", { key: '92573585e3689e4fffa60d904199999e0bfa8216', class: "title" }, h("zonos-text", { key: 'eaf1f349f478f577edc6884cf9824b74d86dcbb7', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (h("div", { key: 'aa3df64ec40031fd7599972a454cab232f57c7b9', class: "subtitle" }, h("zonos-text", { key: 'ea802033d7faf3bcd2a9c682dcdcd6588d3c9970', textColor: "gray-800" }, this.dialogSubtitle)))), h("div", { key: 'fb814639b9bbf9f284cf2def17d75ead8270c06f', class: "footer" }, this.dialogType === 'confirm' && (h("zonos-button", { key: 'fa1597ca8c4cd999c23229d0097e5c264844b8d1', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || translate('Cancel'))), h("zonos-button", { key: '78be0072def6bfa88a7482d3f7bbd5df53450f3d', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
92
+ } }, h("div", { key: '02d698138743f985dc232f19336b848b68d01fc1', class: "wrapper" }, h("div", { key: '29126adc0d48657e01bc645f2b272ae895adb053', class: "icon-wrapper" }, this.renderIcon()), h("div", { key: '2ba6eb8d4669ea346fae88bc60d79feb97aca3c2', class: "content" }, h("div", { key: 'c8b4552f75713f621bb57281b5187d13255b4a7e', class: "title" }, h("zonos-text", { key: '97543734f7870a6aec308bfc0e1b0146f77612be', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (h("div", { key: '8dec061fd863eedcde33653c2f06ce6bead894e4', class: "subtitle" }, h("zonos-text", { key: '354bd2b34a2f4673dd74569d4bde114535bdcf08', textColor: "gray-800" }, this.dialogSubtitle)))), h("div", { key: 'b0dd25b3f2848c057ea1d949bb2904fdc0850ca8', class: "footer" }, this.dialogType === 'confirm' && (h("zonos-button", { key: 'a3c9c2cd7a051aa63126d42e55d4ffbef68ffbaf', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || translate('Cancel'))), h("zonos-button", { key: '4a0d517ab5932deb0cb4c78d02e28b7d8307dbe0', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
93
93
  }
94
94
  static get is() { return "zonos-confirm-dialog"; }
95
95
  static get encapsulation() { return "shadow"; }
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;