@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
@@ -16,12 +16,12 @@ export class ZonosCountryFlag {
16
16
  const font = zonosStoreFontFamily();
17
17
  return (h(Host, { class: "zonos--elements", style: this.size
18
18
  ? {
19
- '--font-family': font,
19
+ '--zonos--font-family': font,
20
20
  height: `${this.size}px`,
21
21
  width: `${this.size}px`,
22
22
  }
23
23
  : {
24
- '--font-family': font,
24
+ '--zonos--font-family': font,
25
25
  } }, h("div", { class: classes([`flag-container`]) }, h("div", { class: "flag-icon", style: { backgroundImage: `url(${flagUrl})` } }))));
26
26
  }
27
27
  static get is() { return "zonos-country-flag"; }
@@ -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%;
@@ -44,9 +44,9 @@ export class ZonosCountrySelect {
44
44
  ? fuseObject.map(country => country.item)
45
45
  : countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
46
46
  const isEmpty = !filteredCountries.length;
47
- return (h(Host, { key: '24c9ba5c24b2e02cb6c3859f5c238b62802632e2', class: "zonos--elements", style: {
48
- '--font-family': zonosStoreFontFamily(),
49
- } }, h("div", { key: 'e5e3a5b00ae72bfc4b4f24a15931070fc0a1544a', class: "zonos--country-select" }, h("zonos-v-stack", { key: '95e5dc40ea4df2428374c605c5260cb25a035b96', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: 'fe10347233450a3ac609d3a9126c2b61c37aa3a0', handleOnClose: () => this.handleOnClose(), label: translate('Select a country') }, h("input", { key: '327b31df73b687089ad233c93da1befa23bf915d', autocomplete: "off", autofocus: "autofocus", class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: translate('Search countries'), value: this.inputValue }))), h("div", { key: '96040b624228b7405cca923ca86ca8a16ae7fd10', class: "zonos--country-select-content" }, isEmpty && (h("zonos-text", { key: 'c9e87b914cb9700ae1b849b8ada1100844ed5d7b', class: "no-country", textColor: "gray-800" }, translate('No countries found'))), h("zonos-virtual-scroll", { key: '733fac45be882421b39570153d61fc2abbacc361', class: "zonos--country-filter-content", fallbackItemHeight: 34, itemHeights: filteredCountries.map(() => 34), renderItem: index => {
47
+ return (h(Host, { key: 'd2c7e2e16fc85fc8d606110a225660e8681bb1cd', class: "zonos--elements", style: {
48
+ '--zonos--font-family': zonosStoreFontFamily(),
49
+ } }, h("div", { key: '362b75ddd36ee67c0d9110353636dca3baa33ea3', class: "zonos--country-select" }, h("zonos-v-stack", { key: '5a1129ee4c1b4c4164144c510b6d694e8cbcc51c', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: 'dc9d35418d2cfe4157cc1f15e2257841495fd94c', handleOnClose: () => this.handleOnClose(), label: translate('Select a country') }, h("input", { key: 'f6cd61f0b9b1bf4c878747c1262e7572589900df', autocomplete: "off", autofocus: "autofocus", class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: translate('Search countries'), value: this.inputValue }))), h("div", { key: '418cb6c9e1f69b6d79ea591952ac37d29618915c', class: "zonos--country-select-content" }, isEmpty && (h("zonos-text", { key: '32953d9f132413689091bfd5cb08be538f5fb1ec', class: "no-country", textColor: "gray-800" }, translate('No countries found'))), h("zonos-virtual-scroll", { key: '78c4cfdd6c53c4ea779ee6911402f148a6a0029b', class: "zonos--country-filter-content", fallbackItemHeight: 34, itemHeights: filteredCountries.map(() => 34), renderItem: index => {
50
50
  const country = filteredCountries[index];
51
51
  if (!country) {
52
52
  return null;
@@ -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%;
@@ -8,9 +8,9 @@ export class ZonosCustomMessage {
8
8
  }
9
9
  render() {
10
10
  const messageWithLinks = formatStringWithLinks(this.message);
11
- return (h(Host, { key: '37b59a5aad442e9c20b8ed03672c73c315b45538', class: "zonos--elements", style: {
12
- '--font-family': zonosStoreFontFamily(),
13
- } }, this.message && (h("zonos-card", { key: '5de7e44deb7c0544789a9d2b306fc8b2cad338b8', class: "zonos--custom-message", spacing: "12px" }, h("div", { key: 'c911e94eb1d7cbaf1db2126d14a6eeed8932ff97', class: "zonos--flex-message" }, h("zonos-icon", { key: '35c7f483046b78e9dffe87370d6b2f9435bc0ec1', "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { key: 'fdbc136b2a01fd5df35a3b01aa82bb9d088083e0', innerHTML: messageWithLinks }))))));
11
+ return (h(Host, { key: '614049a461ddd3d83ac735f57de933a89d76c0e4', class: "zonos--elements", style: {
12
+ '--zonos--font-family': zonosStoreFontFamily(),
13
+ } }, this.message && (h("zonos-card", { key: 'a2cd47b27b31a8b9386a69f8a0ebc4e57b9d08b4', class: "zonos--custom-message", spacing: "12px" }, h("div", { key: '6336e3d3250f0b242f629c1d3656b46966fc7e8f', class: "zonos--flex-message" }, h("zonos-icon", { key: '6ee749947941aef5f6ed1e2e2b7e37e36c7f4437', "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { key: 'c2f2981d4e91ee8bf5f981e753269b0e5f6a165e', innerHTML: messageWithLinks }))))));
14
14
  }
15
15
  static get is() { return "zonos-custom-message"; }
16
16
  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%;
@@ -57,7 +57,7 @@
57
57
  justify-content: center;
58
58
  z-index: 2147483009;
59
59
  background: var(--zonos-elements-gray-0);
60
- border-radius: var(--border-radius, var(--zonos-elements-radius-10));
60
+ border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
61
61
  }
62
62
  :host .zonos--dialog-layout {
63
63
  width: 100vw;
@@ -77,10 +77,10 @@
77
77
  background: var(--zonos-elements-gray-0);
78
78
  max-width: 90vw;
79
79
  max-height: 90vh;
80
- min-height: var(--min-height, auto);
81
- height: var(--height, auto);
82
- width: var(--width, auto);
83
- border-radius: var(--border-radius, var(--zonos-elements-radius-10));
80
+ min-height: var(--zonos--min-height, auto);
81
+ height: var(--zonos--height, auto);
82
+ width: var(--zonos--width, auto);
83
+ border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
84
84
  outline: none;
85
85
  box-shadow: var(--zonos-elements-v3-shadow-xxl);
86
86
  border: var(--zonos-elements-border);
@@ -59,22 +59,22 @@ export class ZonosDialog {
59
59
  const borderStyle = getBorderRadius({
60
60
  overrideBorderStyle: this.borderStyle,
61
61
  });
62
- return (h(Host, { key: '018771d0e01311ae520abcf33fbd64316794b202', class: classes([
62
+ return (h(Host, { key: 'ba7a8197ab543be448706f9e9691b57738d0caae', class: classes([
63
63
  'zonos--elements',
64
64
  this.open && 'open',
65
65
  this.isLoading && 'is-loading',
66
66
  this.noBorder && 'no-border',
67
67
  this.isMobile && 'mobile',
68
68
  ]), style: {
69
- '--border-radius': borderStyle,
70
- '--font-family': zonosStoreFontFamily(),
71
- '--height': this.height || 'initial',
72
- '--min-height': this.minHeight || '500px',
73
- '--width': this.width,
74
- } }, h("div", { key: 'a86c9f8465054fde894bbdd71149e59d97e8cbcf', class: "zonos--backdrop" }), h("div", { key: 'b2f0c86fa0e768474ba4d522f8c2b8157f89cd56', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: '26cd8a7b98d38c53dcf4789c8781f0c1ced99633', class: "zonos--dialog" }, this.isLoading && (h("div", { key: '34d0ba841a9af9ca2ff6d21d0471113cc86cdec3', class: "zonos--loading" }, h("zonos-spinner", { key: '0109778b1a9734de0959035e3975414fb1cac1be', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: 'f80a4c337727500ee1ad92c1d80d7b3088eccc0f', class: "zonos--header" }, this.headerText && (h("h3", { key: '92b078fbbcd9ca5f8bf178fc67f2bee817d1e961', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '698e45fffd466f22b6179aa220d35fe39ee5374c', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, variant: "subtle" })))), h("div", { key: 'a4012e5a48d5fbcc77cac038d8a39fe05f332008', class: classes([
69
+ '--zonos--border-radius': borderStyle,
70
+ '--zonos--font-family': zonosStoreFontFamily(),
71
+ '--zonos--height': this.height || 'initial',
72
+ '--zonos--min-height': this.minHeight || '500px',
73
+ '--zonos--width': this.width,
74
+ } }, h("div", { key: 'b930321b762118180765fa981ec36331fcf582e3', class: "zonos--backdrop" }), h("div", { key: '9e2c43b255342bf5ba2cce5a3ebd3690a855dea4', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: 'ba38ab19c3af855c46cd50cf1c9aac5279158432', class: "zonos--dialog" }, this.isLoading && (h("div", { key: 'a3ee6a94bb75c349b4f724295d514d3fd2c212dd', class: "zonos--loading" }, h("zonos-spinner", { key: '91f094db949bbf1698bebc871f1ae5455f647ead', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: '4804b7611ecf1eefb24126c408952941ab535ba4', class: "zonos--header" }, this.headerText && (h("h3", { key: '9e8c592e93d3c144553321f59176a2ba7b29ef95', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '35d49072fdeadf26797f9ef82d63b8448100f833', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, variant: "subtle" })))), h("div", { key: 'f74d2afc8f0296a7ef81e8a3b530fd60d92f3274', class: classes([
75
75
  'zonos--body',
76
76
  this.noBodyPadding && 'zonos--no-body-padding',
77
- ]) }, h("slot", { key: 'd64b381cb91afde4ddbde58348a62612d9871c8e' })), h("slot", { key: '4ddd73bfe41ecd1c90b18f82a8d8f12a1eacf144', name: "dialog-footer" })))));
77
+ ]) }, h("slot", { key: '78138acb4bc703c5248687468621e87262b7cc90' })), h("slot", { key: 'a98f325d222c53ba779075871fcf6aad5542d743', name: "dialog-footer" })))));
78
78
  }
79
79
  static get is() { return "zonos-dialog"; }
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%;
@@ -35,8 +35,8 @@
35
35
  display: inline-flex;
36
36
  }
37
37
  :host svg {
38
- width: var(--width);
39
- height: var(--height);
40
- fill: var(--color);
41
- color: var(--color);
38
+ width: var(--zonos--width);
39
+ height: var(--zonos--height);
40
+ fill: var(--zonos--color);
41
+ color: var(--zonos--color);
42
42
  }
@@ -17,10 +17,10 @@ export class ZonosIcon {
17
17
  : this.iconColor;
18
18
  this.el.shadowRoot.innerHTML = this.content;
19
19
  return (h(Host, { class: "zonos--elements", style: {
20
- '--color': iconColor,
21
- '--font-family': zonosStoreFontFamily(),
22
- '--height': `${this.autoHeight ? 'auto' : `${this.size}px`}`,
23
- '--width': `${this.size}px`,
20
+ '--zonos--color': iconColor,
21
+ '--zonos--font-family': zonosStoreFontFamily(),
22
+ '--zonos--height': `${this.autoHeight ? 'auto' : `${this.size}px`}`,
23
+ '--zonos--width': `${this.size}px`,
24
24
  } }));
25
25
  }
26
26
  static get is() { return "zonos-icon"; }
@@ -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,7 +42,7 @@
42
42
  height: 100%;
43
43
  width: 100%;
44
44
  background: var(--zonos-elements-input-background);
45
- border-radius: var(--border-radius);
45
+ border-radius: var(--zonos--border-radius);
46
46
  border: var(--zonos-elements-border);
47
47
  }
48
48
  :host .zonos--label-wrapper:hover {
@@ -55,7 +55,7 @@
55
55
  outline: none;
56
56
  transition: var(--zonos-elements-transition);
57
57
  width: 100%;
58
- border-radius: var(--border-radius);
58
+ border-radius: var(--zonos--border-radius);
59
59
  background: var(--zonos-elements-input-background);
60
60
  border: 0;
61
61
  order: 2;
@@ -130,7 +130,7 @@
130
130
  right: 0;
131
131
  top: 0;
132
132
  bottom: 0;
133
- border-radius: var(--border-radius);
133
+ border-radius: var(--zonos--border-radius);
134
134
  }
135
135
  :host .disabled .zonos--floated-label {
136
136
  pointer-events: inherit;
@@ -17,17 +17,17 @@ export class ZonosInput {
17
17
  this.inputChange.emit(newValue);
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: 'f4b7ad75b2aebce3bc05a482fe20fee290a3a4e7', class: classes([
20
+ return (h(Host, { key: '402137e0e5b191d36b4d51619d29f05ef050f114', class: classes([
21
21
  'zonos--input zonos--elements',
22
22
  this.inputSize,
23
23
  this.isError && 'has-error',
24
24
  ]), style: {
25
- '--border-radius': getBorderRadius(),
26
- '--font-family': zonosStoreFontFamily(),
27
- } }, h("div", { key: '356e16c11c1cd9edf137f69978ebaa3eb2c28d4e', class: classes([
25
+ '--zonos--border-radius': getBorderRadius(),
26
+ '--zonos--font-family': zonosStoreFontFamily(),
27
+ } }, h("div", { key: '601de098f0929c7e0e89efc63a0ffd5f9dc14428', class: classes([
28
28
  'zonos--label-wrapper',
29
29
  this.isDisabled && 'disabled',
30
- ]) }, h("input", { key: '71659072bd58942efebb88be65ced18ad29be8ab', class: classes([
30
+ ]) }, h("input", { key: '151162f4e5052f1cef11efd4666dfa6e89df4b25', class: classes([
31
31
  'zonos--floated-input',
32
32
  !!this.inputLabel && 'has-label',
33
33
  this.inputValue && 'has-content',
@@ -35,7 +35,7 @@ export class ZonosInput {
35
35
  ]), disabled: this.isDisabled, onInput: e => {
36
36
  const input = e.target;
37
37
  this.inputChange.emit(input.value);
38
- }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: 'b84c60836fc969c23aedc314c67337e8e87f2ab6', class: "zonos--floated-label", "data-label": this.inputLabel }))));
38
+ }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '65f207f694763f7505c75a13a2be5c24d57ec9c1', class: "zonos--floated-label", "data-label": this.inputLabel }))));
39
39
  }
40
40
  static get is() { return "zonos-input"; }
41
41
  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%;
@@ -16,9 +16,9 @@ export class ZonosLanguageSelect {
16
16
  }
17
17
  render() {
18
18
  const { selectedLocale } = localizationStore;
19
- return (h(Host, { key: '6682af3d631bac1a8d3783418c30364ff7694792', class: "zonos--elements", style: {
20
- '--font-family': zonosStoreFontFamily(),
21
- } }, h("div", { key: '9f7e60bc5c4e9d1c0cc31afcbbaec444a7da630e', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: 'f790ef85eeb0bed05773d98793437ab4d6e64c8d', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '7385a1134b21ae4b39947483ee643da021e6c54c', 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 })))))))));
19
+ return (h(Host, { key: 'eaca22844486965ba2b78c46571cdecd1f3002e7', class: "zonos--elements", style: {
20
+ '--zonos--font-family': zonosStoreFontFamily(),
21
+ } }, h("div", { key: '2846ee489019e8c83d7b64b8a29dc67353b8f8c0', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '72c36cbf777562c15346c26716e07469a5889f8d', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'd84fda6dc4aceaec2b3b8fda359ca60f78db448a', 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 })))))))));
22
22
  }
23
23
  static get is() { return "zonos-language-select"; }
24
24
  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%;
@@ -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%;
@@ -35,6 +35,6 @@
35
35
  display: inline-flex;
36
36
  }
37
37
  :host img {
38
- filter: var(--filter-color);
39
- width: var(--width);
38
+ filter: var(--zonos--filter-color);
39
+ width: var(--zonos--width);
40
40
  }
@@ -10,11 +10,11 @@ export class ZonosLogo {
10
10
  const filterColor = this.theme === 'DARK'
11
11
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
12
12
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
13
- return (h(Host, { key: '08ef20244bc204125a7a308efed42cd7fc86c885', class: classes(['zonos--elements zonos--logo']), style: {
14
- '--filter-color': filterColor,
15
- '--font-family': zonosStoreFontFamily(),
16
- '--width': this.width,
17
- } }, h("img", { key: '9202f0619fa3874a19ca3050477719b19592d82a', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
13
+ return (h(Host, { key: 'd914d74b5aee16c30242fe3fad20b917c020b5c5', class: classes(['zonos--elements zonos--logo']), style: {
14
+ '--zonos--filter-color': filterColor,
15
+ '--zonos--font-family': zonosStoreFontFamily(),
16
+ '--zonos--width': this.width,
17
+ } }, h("img", { key: '39f9bd18354de97a358432e9daf3373dfb6914b6', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
18
18
  }
19
19
  static get is() { return "zonos-logo"; }
20
20
  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%;
@@ -47,7 +47,7 @@
47
47
  cursor: pointer;
48
48
  transition: all 0.3s ease;
49
49
  padding: 8px;
50
- border-radius: var(--border-radius, var(--zonos-elements-radius-6));
50
+ border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-6));
51
51
  opacity: 0;
52
52
  flex-shrink: 0.0001;
53
53
  transform: translateY(100%);
@@ -1,6 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  import { zonosStoreFontFamily } from "../../store/zonosStore";
3
3
  import { classes } from "../../utils/classes";
4
+ import { getBorderRadius } from "../../utils/getBorderRadius";
4
5
  export class ZonosNotification {
5
6
  constructor() {
6
7
  this.notificationArray = [];
@@ -45,9 +46,10 @@ export class ZonosNotification {
45
46
  }, 300);
46
47
  }
47
48
  render() {
48
- return (h(Host, { key: '17c08c90c6c1dfade4e43451c196127a0f53429e', class: classes(['zonos--elements zonos--notification']), style: {
49
- '--font-family': zonosStoreFontFamily(),
50
- } }, h("div", { key: '6624419d86a5c7518539069dbc5c9d7c08262c75', class: "zonos--notification-items" }, this.notificationArray.map(notification => {
49
+ return (h(Host, { key: '6a790a39afc037ae56f8a53dc89c3fa899b2d659', class: classes(['zonos--elements zonos--notification']), style: {
50
+ '--zonos--border-radius': getBorderRadius(),
51
+ '--zonos--font-family': zonosStoreFontFamily(),
52
+ } }, h("div", { key: '32245a784f2322fb69a65b491648a30a84b0b3d3', class: "zonos--notification-items" }, this.notificationArray.map(notification => {
51
53
  return (h("div", { "aria-hidden": "true", class: classes([
52
54
  'zonos--notification-item',
53
55
  notification.type,
@@ -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%;
@@ -14,11 +14,11 @@ export class ZonosRestState {
14
14
  }
15
15
  render() {
16
16
  const imageUrl = this.getImageRestState();
17
- return (h(Host, { key: 'c6b1e581578da852f6ff852c0c8ff48eba97c82b', class: classes(['zonos--elements zonos--restState']), style: {
18
- '--font-family': zonosStoreFontFamily(),
19
- } }, h("div", { key: '3c9bb31ade1e3343901fbb22bef5a123b3332a77', class: "zonos--restState-image" }, h("img", { key: '00417c062265b35f8603d90520f5efe677b76b19', alt: this.restStateType, onError: () => {
17
+ return (h(Host, { key: '49903eabc623a041c5ae876f20cc23a037d57302', class: classes(['zonos--elements zonos--restState']), style: {
18
+ '--zonos--font-family': zonosStoreFontFamily(),
19
+ } }, h("div", { key: 'd85f98a9c615057f699c3e6a3894946c28252831', class: "zonos--restState-image" }, h("img", { key: 'e28aa5192809cca36d3f395d743ef5194ec79fdb', alt: this.restStateType, onError: () => {
20
20
  this.isErrorImageLoad = true;
21
- }, src: imageUrl })), h("div", { key: '503346f06d25e04a1bc1bbfb770359817854cd64', class: "content" }, h("zonos-text", { key: 'eb580484efd22fd93530d43d04889569ced27fba', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '34972cd05b26b01b1e7877a80b79d6729b63b025', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: '703bfa3740b94e7d742804cd073347ba5f6a8855', class: "action" }, h("slot", { key: 'd0b330b60ad98bda20d35cc6802412d24ab6c536' }))));
21
+ }, src: imageUrl })), h("div", { key: '09ca8ea866d82f4929587850e23e349edfbca4c0', class: "content" }, h("zonos-text", { key: 'e6a5d80825a3e73b71a7910a66a8fb9181c2fb46', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: 'a109d7750dfe7e84d0e6e37d6833c288d508ed41', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: 'd130db9c0c743058f5c5e6dc3477e5baf5fef5d5', class: "action" }, h("slot", { key: 'cce93629fbfe6b196a59a20850a7efc5309fd461' }))));
22
22
  }
23
23
  static get is() { return "zonos-rest-state"; }
24
24
  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%;
@@ -8,9 +8,9 @@ export class ZonosSelectDialogHeader {
8
8
  this.label = '';
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '21cd3c3e35baf172ecad7f47a76810e8f39bdeff', class: "zonos--elements", style: {
12
- '--font-family': zonosStoreFontFamily(),
13
- } }, h("zonos-v-stack", { key: '0470633326b6fca9b45a8be67e0d77819561f634', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '8713cbf368658af22bb88825d32175117d47c95b', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '2f94e9f6139570398897ca55934c5244df7f82e8', type: "boldLabel" }, this.label), h("zonos-button", { key: 'c247dabcc8f487a4cc5a814fb1aa4d9a68fa4ba3', 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: '26727e634ec09a3b9e3912ada3b920a87a1ba4d0' }))));
11
+ return (h(Host, { key: 'fbc386d771a9f1ee4b145b54c53a3ce31ac4aae5', class: "zonos--elements", style: {
12
+ '--zonos--font-family': zonosStoreFontFamily(),
13
+ } }, h("zonos-v-stack", { key: 'ed5cab44fd2b06a3d700602f4cb501608205e5b6', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: 'c2345cdad3bd812d7add7029b1f37d2f623de310', class: "zonos--select-dialog-header" }, h("zonos-text", { key: 'c43a9009db5e83ea96bc683ff99a36c4fcdef6fc', type: "boldLabel" }, this.label), h("zonos-button", { key: '6884b1569d52688dbc74ee3772755e37eadb1e79', 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: '8af3df1a34ea6da62be137313e0c42cc90ba704d' }))));
14
14
  }
15
15
  static get is() { return "zonos-select-dialog-header"; }
16
16
  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%;
@@ -37,7 +37,7 @@
37
37
  }
38
38
  :host input {
39
39
  margin: 0;
40
- accent-color: var(--selected-border-color, var(--zonos-elements-blue-600));
40
+ accent-color: var(--zonos--selected-border-color, var(--zonos-elements-blue-600));
41
41
  }
42
42
  :host .zonos--shipping-rich-radio-item {
43
43
  display: flex;
@@ -49,18 +49,18 @@
49
49
  border: 1px solid var(--zonos-elements-gray-200);
50
50
  }
51
51
  :host .zonos--shipping-rich-radio-item:first-child {
52
- border-top-left-radius: var(--border-radius, var(--zonos-elements-radius-10));
53
- border-top-right-radius: var(--border-radius, var(--zonos-elements-radius-10));
52
+ border-top-left-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
53
+ border-top-right-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
54
54
  }
55
55
  :host .zonos--shipping-rich-radio-item:last-child {
56
- border-bottom-right-radius: var(--border-radius, var(--zonos-elements-radius-10));
57
- border-bottom-left-radius: var(--border-radius, var(--zonos-elements-radius-10));
56
+ border-bottom-right-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
57
+ border-bottom-left-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
58
58
  }
59
59
  :host .zonos--shipping-rich-radio-item:not(:last-child) {
60
60
  border-bottom: none;
61
61
  }
62
62
  :host .zonos--shipping-rich-radio-item.selected {
63
- outline: 1px solid var(--selected-border-color, var(--zonos-elements-blue-600));
63
+ outline: 1px solid var(--zonos--selected-border-color, var(--zonos-elements-blue-600));
64
64
  outline-offset: -1px;
65
65
  }
66
66
  :host .zonos--shipping-info {
@@ -15,10 +15,10 @@ export class ZonosShippingRichRadio {
15
15
  ? `var(--zonos-elements-${usedColor})`
16
16
  : usedColor;
17
17
  return {
18
- '--border-radius': getBorderRadius({
18
+ '--zonos--border-radius': getBorderRadius({
19
19
  overrideBorderStyle: this.borderStyle,
20
20
  }),
21
- '--selected-border-color': secondaryColor || 'unset',
21
+ '--zonos--selected-border-color': secondaryColor || 'unset',
22
22
  };
23
23
  };
24
24
  this.items = undefined;
@@ -29,7 +29,7 @@ export class ZonosShippingRichRadio {
29
29
  }
30
30
  render() {
31
31
  var _a;
32
- return (h(Host, { key: '74cb16ff6cfde65b626ef902c456b967af649f6d', 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 => {
32
+ return (h(Host, { key: '34abb7026ed7d382870f912b5e5c5631e4f06f76', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--zonos--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
33
33
  var _a;
34
34
  const selected = ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.value) === item.value;
35
35
  return (h("div", { "aria-hidden": "true", class: classes([
@@ -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%;
@@ -34,13 +34,13 @@
34
34
  :host {
35
35
  position: relative;
36
36
  overflow: hidden;
37
- width: var(--size);
38
- height: var(--size);
37
+ width: var(--zonos--size);
38
+ height: var(--zonos--size);
39
39
  display: inline-flex;
40
40
  }
41
41
  :host svg {
42
- width: var(--size);
43
- height: var(--size);
42
+ width: var(--zonos--size);
43
+ height: var(--zonos--size);
44
44
  stroke: var(--zonos-elements-blue-600);
45
45
  animation: rotate 2s linear infinite;
46
46
  }
@@ -10,7 +10,7 @@ export class ZonosSpinner {
10
10
  return null;
11
11
  }
12
12
  return (h(Host, { class: classes(['zonos--elements', this.spinnerColor]), style: {
13
- '--size': `${this.size}px`,
13
+ '--zonos--size': `${this.size}px`,
14
14
  } }, h("svg", { viewBox: "0 0 50 50" }, h("circle", { class: "track", cx: "25", cy: "25", fill: "none", id: "loading-spinner-circle", r: "20", "stroke-width": "5" }), h("circle", { cx: "25", cy: "25", fill: "none", id: "loading-spinner-circle", r: "20", "stroke-width": "5" }))));
15
15
  }
16
16
  static get is() { return "zonos-spinner"; }
@@ -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%;
@@ -32,7 +32,7 @@
32
32
  }
33
33
 
34
34
  :host {
35
- color: var(--color);
35
+ color: var(--zonos--color);
36
36
  }
37
37
 
38
38
  :host(.zonos--text-size-3xl) > *, :host(.zonos--text-size-3xl) {
@@ -52,7 +52,7 @@
52
52
  }
53
53
 
54
54
  :host(.zonos--text-size-base) > *, :host(.zonos--text-size-base) {
55
- font-size: var(--font-size-base, var(--zonos-elements-font-size-base));
55
+ font-size: var(--zonos--font-size-base, var(--zonos-elements-font-size-base));
56
56
  }
57
57
 
58
58
  :host(.zonos--text-size-s) > *, :host(.zonos--text-size-s) {
@@ -46,9 +46,9 @@ export class ZonosText {
46
46
  `zonos--text-size-${textSize}`,
47
47
  `zonos--text-weight-${textWeight}`,
48
48
  ]), style: styles({
49
- '--color': actualTextColor,
50
- '--font-family': zonosStoreFontFamily(),
51
- '--font-size-base': zonosStore.appearance.fontSize
49
+ '--zonos--color': actualTextColor,
50
+ '--zonos--font-family': zonosStoreFontFamily(),
51
+ '--zonos--font-size-base': zonosStore.appearance.fontSize
52
52
  ? `${zonosStore.appearance.fontSize}px`
53
53
  : undefined,
54
54
  }) }, renderText()));
@@ -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%;