@zonos/elements 1.3.124 → 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 (341) hide show
  1. package/dist/cjs/{cart-a2a94f35.js → cart-7e5608b4.js} +69 -1
  2. package/dist/cjs/index.cjs.js +7 -7
  3. package/dist/cjs/{isColorVariable-6f5a9608.js → isColorVariable-525dbfa7.js} +2 -0
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{paypal-bf7d3c50.js → paypal-4c479f19.js} +1 -1
  6. package/dist/cjs/styles-d1e64fb9.js +16 -0
  7. package/dist/cjs/zonos-address_7.cjs.entry.js +30 -24
  8. package/dist/cjs/zonos-badge.cjs.entry.js +5 -5
  9. package/dist/cjs/zonos-banner.cjs.entry.js +6 -6
  10. package/dist/cjs/zonos-button_3.cjs.entry.js +17 -29
  11. package/dist/cjs/zonos-card.cjs.entry.js +8 -8
  12. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +52 -35
  13. package/dist/cjs/zonos-checkout.cjs.entry.js +12 -7
  14. package/dist/cjs/zonos-collapse.cjs.entry.js +4 -4
  15. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  16. package/dist/cjs/zonos-controller.cjs.entry.js +8 -6
  17. package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-country-select_4.cjs.entry.js +14 -14
  19. package/dist/cjs/zonos-elements.cjs.js +1 -1
  20. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  21. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  22. package/dist/cjs/zonos-input.cjs.entry.js +7 -7
  23. package/dist/cjs/zonos-language-select_2.cjs.entry.js +9 -9
  24. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  25. package/dist/cjs/zonos-logo.cjs.entry.js +6 -6
  26. package/dist/cjs/zonos-notification_3.cjs.entry.js +11 -10
  27. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
  28. package/dist/cjs/zonos-text.cjs.entry.js +10 -6
  29. package/dist/cjs/zonos-toggle.cjs.entry.js +4 -4
  30. package/dist/cjs/zonos-tooltip.cjs.entry.js +1 -1
  31. package/dist/cjs/zonos-v-stack.cjs.entry.js +4 -4
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.css +2 -2
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.css +2 -2
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.css +2 -2
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.css +2 -2
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.css +2 -2
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +2 -2
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.css +3 -3
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -4
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +2 -2
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +3 -3
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +5 -5
  43. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +10 -5
  44. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +3 -3
  45. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +20 -2
  46. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +2 -2
  47. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +3 -3
  48. package/dist/collection/components/common/zonos-badge/zonos-badge.css +2 -2
  49. package/dist/collection/components/common/zonos-badge/zonos-badge.js +4 -4
  50. package/dist/collection/components/common/zonos-banner/zonos-banner.css +2 -2
  51. package/dist/collection/components/common/zonos-banner/zonos-banner.js +5 -5
  52. package/dist/collection/components/common/zonos-button/zonos-button.css +12 -12
  53. package/dist/collection/components/common/zonos-button/zonos-button.js +7 -7
  54. package/dist/collection/components/common/zonos-card/zonos-card.css +4 -4
  55. package/dist/collection/components/common/zonos-card/zonos-card.js +7 -7
  56. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.css +7 -7
  57. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +7 -7
  58. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.css +5 -5
  59. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +5 -5
  60. package/dist/collection/components/common/zonos-collapse/zonos-collapse.css +2 -2
  61. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +3 -3
  62. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.css +4 -4
  63. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +6 -6
  64. package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.css +2 -2
  65. package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +2 -2
  66. package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +2 -2
  67. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  68. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.css +2 -2
  69. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +3 -3
  70. package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +7 -7
  71. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +8 -8
  72. package/dist/collection/components/common/zonos-icon/zonos-icon.css +6 -6
  73. package/dist/collection/components/common/zonos-icon/zonos-icon.js +4 -4
  74. package/dist/collection/components/common/zonos-input/zonos-input.css +5 -5
  75. package/dist/collection/components/common/zonos-input/zonos-input.js +6 -6
  76. package/dist/collection/components/common/zonos-language-select/zonos-language-select.css +2 -2
  77. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +3 -3
  78. package/dist/collection/components/common/zonos-link/zonos-link.css +2 -2
  79. package/dist/collection/components/common/zonos-logo/zonos-logo.css +4 -4
  80. package/dist/collection/components/common/zonos-logo/zonos-logo.js +5 -5
  81. package/dist/collection/components/common/zonos-notification/zonos-notification.css +3 -3
  82. package/dist/collection/components/common/zonos-notification/zonos-notification.js +5 -3
  83. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.css +2 -2
  84. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +4 -4
  85. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.css +2 -2
  86. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +3 -3
  87. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.css +8 -8
  88. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +3 -3
  89. package/dist/collection/components/common/zonos-spinner/zonos-spinner.css +6 -6
  90. package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +1 -1
  91. package/dist/collection/components/common/zonos-text/zonos-text.css +4 -4
  92. package/dist/collection/components/common/zonos-text/zonos-text.js +9 -5
  93. package/dist/collection/components/common/zonos-toggle/zonos-toggle.css +2 -2
  94. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +3 -3
  95. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.css +2 -2
  96. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.css +2 -2
  97. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +3 -3
  98. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.css +2 -2
  99. package/dist/collection/components/component-template/zonos-component/zonos-component.css +2 -2
  100. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +2 -2
  101. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +1 -1
  102. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +3 -3
  103. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +4 -4
  104. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +2 -2
  105. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +1 -1
  106. package/dist/collection/components/main/zonos-controller.css +2 -2
  107. package/dist/collection/components/main/zonos-controller.js +6 -4
  108. package/dist/collection/components/paypal/zonos-paypal-payment.css +2 -2
  109. package/dist/collection/components/store/checkout/cart.js +1 -1
  110. package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
  111. package/dist/collection/components/store/translationStore/strings.base.js +3 -0
  112. package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
  113. package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
  114. package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
  115. package/dist/collection/components/store/translationStore/strings.french.js +3 -0
  116. package/dist/collection/components/store/translationStore/strings.german.js +3 -0
  117. package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
  118. package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
  119. package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
  120. package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
  121. package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
  122. package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
  123. package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
  124. package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
  125. package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
  126. package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
  127. package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
  128. package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
  129. package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
  130. package/dist/collection/components/stripe/zonos-address/zonos-address.css +2 -2
  131. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.css +6 -2
  132. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +45 -2
  133. package/dist/collection/components/stripe/zonos-payment/zonos-payment.css +2 -2
  134. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  135. package/dist/collection/components/utils/isColorVariable.js +2 -0
  136. package/dist/collection/styles/stripe/addressRuleStyle.js +9 -0
  137. package/dist/esm/{cart-7d97dbff.js → cart-65c7d5f1.js} +69 -1
  138. package/dist/esm/index.js +7 -7
  139. package/dist/esm/{isColorVariable-82457bef.js → isColorVariable-0a94004f.js} +2 -0
  140. package/dist/esm/loader.js +1 -1
  141. package/dist/esm/{paypal-7264946a.js → paypal-cd96efa7.js} +1 -1
  142. package/dist/esm/styles-6fc2fad9.js +14 -0
  143. package/dist/esm/zonos-address_7.entry.js +30 -24
  144. package/dist/esm/zonos-badge.entry.js +5 -5
  145. package/dist/esm/zonos-banner.entry.js +6 -6
  146. package/dist/esm/zonos-button_3.entry.js +17 -29
  147. package/dist/esm/zonos-card.entry.js +8 -8
  148. package/dist/esm/zonos-cart-items_13.entry.js +52 -35
  149. package/dist/esm/zonos-checkout.entry.js +12 -7
  150. package/dist/esm/zonos-collapse.entry.js +4 -4
  151. package/dist/esm/zonos-component.entry.js +1 -1
  152. package/dist/esm/zonos-controller.entry.js +8 -6
  153. package/dist/esm/zonos-country-flag.entry.js +4 -4
  154. package/dist/esm/zonos-country-select_4.entry.js +14 -14
  155. package/dist/esm/zonos-elements.js +1 -1
  156. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  157. package/dist/esm/zonos-hello.entry.js +2 -2
  158. package/dist/esm/zonos-input.entry.js +7 -7
  159. package/dist/esm/zonos-language-select_2.entry.js +9 -9
  160. package/dist/esm/zonos-link.entry.js +1 -1
  161. package/dist/esm/zonos-logo.entry.js +6 -6
  162. package/dist/esm/zonos-notification_3.entry.js +11 -10
  163. package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
  164. package/dist/esm/zonos-text.entry.js +11 -7
  165. package/dist/esm/zonos-toggle.entry.js +4 -4
  166. package/dist/esm/zonos-tooltip.entry.js +1 -1
  167. package/dist/esm/zonos-v-stack.entry.js +4 -4
  168. package/dist/esm-es5/cart-65c7d5f1.js +1 -0
  169. package/dist/esm-es5/index.js +1 -1
  170. package/dist/esm-es5/isColorVariable-0a94004f.js +1 -0
  171. package/dist/esm-es5/loader.js +1 -1
  172. package/dist/esm-es5/{paypal-7264946a.js → paypal-cd96efa7.js} +1 -1
  173. package/dist/esm-es5/styles-6fc2fad9.js +1 -0
  174. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  175. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  176. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  177. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  178. package/dist/esm-es5/zonos-card.entry.js +1 -1
  179. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  180. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  181. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  182. package/dist/esm-es5/zonos-component.entry.js +1 -1
  183. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  184. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  185. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  186. package/dist/esm-es5/zonos-elements.js +1 -1
  187. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  188. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  189. package/dist/esm-es5/zonos-input.entry.js +1 -1
  190. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  191. package/dist/esm-es5/zonos-link.entry.js +1 -1
  192. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  193. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  194. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  195. package/dist/esm-es5/zonos-text.entry.js +1 -1
  196. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  197. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  198. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  199. package/dist/scripts/index.d.ts +31 -1
  200. package/dist/scripts/index.js +1 -1
  201. package/dist/scripts/loadZonos.js +1 -1
  202. package/dist/scripts/zonos.js +1 -1
  203. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +5 -0
  204. package/dist/types/components/store/checkout/cart.d.ts +1 -1
  205. package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
  206. package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
  207. package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
  208. package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
  209. package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
  210. package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
  211. package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
  212. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
  213. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
  214. package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
  215. package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
  216. package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
  217. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
  218. package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
  219. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
  220. package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
  221. package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
  222. package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
  223. package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
  224. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
  225. package/dist/types/components/store/translationStore.d.ts +1 -1
  226. package/dist/types/components/store/zonosStore.d.ts +3 -0
  227. package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +9 -0
  228. package/dist/types/components.d.ts +27 -0
  229. package/dist/zonos-elements/index.esm.js +1 -1
  230. package/dist/zonos-elements/p-0082eefd.system.entry.js +1 -0
  231. package/dist/zonos-elements/p-054a24bf.entry.js +1 -0
  232. package/dist/zonos-elements/p-0bc813a9.system.entry.js +1 -0
  233. package/dist/zonos-elements/p-0c6a933c.entry.js +1 -0
  234. package/dist/zonos-elements/{p-8e833a0c.system.js → p-0ceb45a9.system.js} +1 -1
  235. package/dist/zonos-elements/p-1aa93d1e.system.js +1 -0
  236. package/dist/zonos-elements/p-1e4d8228.entry.js +1 -0
  237. package/dist/zonos-elements/p-2906956b.entry.js +1 -0
  238. package/dist/zonos-elements/p-2cd05dd5.entry.js +1 -0
  239. package/dist/zonos-elements/p-311f6702.entry.js +1 -0
  240. package/dist/zonos-elements/p-3b5f49f6.system.entry.js +1 -0
  241. package/dist/zonos-elements/p-4170b042.entry.js +1 -0
  242. package/dist/zonos-elements/p-42ff40eb.system.entry.js +1 -0
  243. package/dist/zonos-elements/p-4cd1e79c.system.entry.js +1 -0
  244. package/dist/zonos-elements/p-4fee6e7f.system.entry.js +1 -0
  245. package/dist/zonos-elements/p-5278717e.system.entry.js +1 -0
  246. package/dist/zonos-elements/p-5610934b.entry.js +1 -0
  247. package/dist/zonos-elements/p-566c5607.system.entry.js +1 -0
  248. package/dist/zonos-elements/p-57d93236.entry.js +1 -0
  249. package/dist/zonos-elements/p-5886302b.system.entry.js +1 -0
  250. package/dist/zonos-elements/p-5ac777a7.system.entry.js +1 -0
  251. package/dist/zonos-elements/p-6a2bed3e.system.entry.js +1 -0
  252. package/dist/zonos-elements/p-6b0a8709.system.entry.js +1 -0
  253. package/dist/zonos-elements/p-6c047faf.system.entry.js +1 -0
  254. package/dist/zonos-elements/p-6de5611e.entry.js +1 -0
  255. package/dist/zonos-elements/{p-66303c89.system.entry.js → p-798d715c.entry.js} +1 -1
  256. package/dist/zonos-elements/p-799d2a3f.system.entry.js +1 -0
  257. package/dist/zonos-elements/p-80a4d1e0.system.js +1 -0
  258. package/dist/zonos-elements/p-8915d6cf.system.entry.js +1 -0
  259. package/dist/zonos-elements/p-8b3d9796.system.entry.js +1 -0
  260. package/dist/zonos-elements/p-8ca3b73a.entry.js +1 -0
  261. package/dist/zonos-elements/p-9178fbe0.entry.js +1 -0
  262. package/dist/zonos-elements/p-96d77739.js +1 -0
  263. package/dist/zonos-elements/p-970527fe.entry.js +1 -0
  264. package/dist/zonos-elements/p-989e6a4f.entry.js +1 -0
  265. package/dist/zonos-elements/p-a01635df.system.entry.js +1 -0
  266. package/dist/zonos-elements/p-a372a9a0.entry.js +1 -0
  267. package/dist/zonos-elements/p-ae393255.js +1 -0
  268. package/dist/zonos-elements/p-b6cd212c.system.entry.js +1 -0
  269. package/dist/zonos-elements/p-c5d1217f.system.js +1 -0
  270. package/dist/zonos-elements/p-c6f74e2c.js +1 -0
  271. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  272. package/dist/zonos-elements/p-c94d0f07.entry.js +1 -0
  273. package/dist/zonos-elements/p-cf7a5119.entry.js +1 -0
  274. package/dist/zonos-elements/p-d999e680.entry.js +1 -0
  275. package/dist/zonos-elements/p-dde44079.entry.js +1 -0
  276. package/dist/zonos-elements/p-df4ca0c4.system.entry.js +1 -0
  277. package/dist/zonos-elements/{p-1a7975a6.entry.js → p-e1e00336.entry.js} +1 -1
  278. package/dist/zonos-elements/p-e6fad32a.system.entry.js +1 -0
  279. package/dist/zonos-elements/p-e933cbf0.system.entry.js +1 -0
  280. package/dist/zonos-elements/p-ea6d75ad.entry.js +1 -0
  281. package/dist/zonos-elements/p-eb6d1e26.system.entry.js +1 -0
  282. package/dist/zonos-elements/p-f20f939e.entry.js +1 -0
  283. package/dist/zonos-elements/{p-db6be6ab.system.js → p-f544a6b1.system.js} +1 -1
  284. package/dist/zonos-elements/p-f828bf3a.system.entry.js +1 -0
  285. package/dist/zonos-elements/{p-9368629a.js → p-f8827566.js} +1 -1
  286. package/dist/zonos-elements/p-fe899c47.entry.js +1 -0
  287. package/dist/zonos-elements/p-ff0a79e6.system.entry.js +1 -0
  288. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  289. package/package.json +1 -1
  290. package/dist/esm-es5/cart-7d97dbff.js +0 -1
  291. package/dist/esm-es5/isColorVariable-82457bef.js +0 -1
  292. package/dist/zonos-elements/p-02c97b12.system.entry.js +0 -1
  293. package/dist/zonos-elements/p-069a1891.entry.js +0 -1
  294. package/dist/zonos-elements/p-073bcd19.system.entry.js +0 -1
  295. package/dist/zonos-elements/p-0cedb17a.system.entry.js +0 -1
  296. package/dist/zonos-elements/p-149612d6.entry.js +0 -1
  297. package/dist/zonos-elements/p-1aed6403.system.entry.js +0 -1
  298. package/dist/zonos-elements/p-1e4f7997.system.entry.js +0 -1
  299. package/dist/zonos-elements/p-26be7ea7.entry.js +0 -1
  300. package/dist/zonos-elements/p-2763b93b.entry.js +0 -1
  301. package/dist/zonos-elements/p-28b79606.system.entry.js +0 -1
  302. package/dist/zonos-elements/p-3251fb8b.entry.js +0 -1
  303. package/dist/zonos-elements/p-3e2aa5e2.entry.js +0 -1
  304. package/dist/zonos-elements/p-3f5b6e7a.system.entry.js +0 -1
  305. package/dist/zonos-elements/p-44991bcf.entry.js +0 -1
  306. package/dist/zonos-elements/p-46d96a0d.entry.js +0 -1
  307. package/dist/zonos-elements/p-4a107b6f.system.js +0 -1
  308. package/dist/zonos-elements/p-4afde7ca.system.entry.js +0 -1
  309. package/dist/zonos-elements/p-55d26aaa.system.entry.js +0 -1
  310. package/dist/zonos-elements/p-66eb66d1.js +0 -1
  311. package/dist/zonos-elements/p-68f30f18.system.entry.js +0 -1
  312. package/dist/zonos-elements/p-6cc6c6c4.entry.js +0 -1
  313. package/dist/zonos-elements/p-6de38759.entry.js +0 -1
  314. package/dist/zonos-elements/p-71a733d4.system.entry.js +0 -1
  315. package/dist/zonos-elements/p-78adf768.js +0 -1
  316. package/dist/zonos-elements/p-7a4170ba.entry.js +0 -1
  317. package/dist/zonos-elements/p-80733970.system.entry.js +0 -1
  318. package/dist/zonos-elements/p-8138eb01.entry.js +0 -1
  319. package/dist/zonos-elements/p-8333a565.entry.js +0 -1
  320. package/dist/zonos-elements/p-861ed8e9.entry.js +0 -1
  321. package/dist/zonos-elements/p-86f0d69c.system.entry.js +0 -1
  322. package/dist/zonos-elements/p-8b1f00a6.entry.js +0 -1
  323. package/dist/zonos-elements/p-8dd3b09d.system.entry.js +0 -1
  324. package/dist/zonos-elements/p-99ab4440.entry.js +0 -1
  325. package/dist/zonos-elements/p-9a89de05.system.entry.js +0 -1
  326. package/dist/zonos-elements/p-9c7618b3.system.entry.js +0 -1
  327. package/dist/zonos-elements/p-a17ebf04.system.entry.js +0 -1
  328. package/dist/zonos-elements/p-ab4d2507.system.entry.js +0 -1
  329. package/dist/zonos-elements/p-b31095d5.system.entry.js +0 -1
  330. package/dist/zonos-elements/p-c8f24421.entry.js +0 -1
  331. package/dist/zonos-elements/p-d1a3fa94.system.entry.js +0 -1
  332. package/dist/zonos-elements/p-d2ca12ed.entry.js +0 -1
  333. package/dist/zonos-elements/p-d3472a00.system.entry.js +0 -1
  334. package/dist/zonos-elements/p-d91da318.entry.js +0 -1
  335. package/dist/zonos-elements/p-de2fe7f5.entry.js +0 -1
  336. package/dist/zonos-elements/p-e23684e2.system.entry.js +0 -1
  337. package/dist/zonos-elements/p-e46bd90a.entry.js +0 -1
  338. package/dist/zonos-elements/p-ebb97202.entry.js +0 -1
  339. package/dist/zonos-elements/p-eeb2c2f4.system.entry.js +0 -1
  340. package/dist/zonos-elements/p-f399a2e5.system.js +0 -1
  341. package/dist/zonos-elements/p-ff6e4ea6.entry.js +0 -1
@@ -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(--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) {
@@ -1,7 +1,8 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { zonosStoreFontFamily } from "../../store/zonosStore";
2
+ import { zonosStore, zonosStoreFontFamily, } from "../../store/zonosStore";
3
3
  import { classes } from "../../utils/classes";
4
4
  import { isColorVariable } from "../../utils/isColorVariable";
5
+ import { styles } from "../../utils/styles";
5
6
  import { textOptions, } from "../../../types/styles/Text";
6
7
  export class ZonosText {
7
8
  constructor() {
@@ -44,10 +45,13 @@ export class ZonosText {
44
45
  'zonos--elements',
45
46
  `zonos--text-size-${textSize}`,
46
47
  `zonos--text-weight-${textWeight}`,
47
- ]), style: {
48
- '--color': actualTextColor,
49
- '--font-family': zonosStoreFontFamily(),
50
- } }, renderText()));
48
+ ]), style: styles({
49
+ '--zonos--color': actualTextColor,
50
+ '--zonos--font-family': zonosStoreFontFamily(),
51
+ '--zonos--font-size-base': zonosStore.appearance.fontSize
52
+ ? `${zonosStore.appearance.fontSize}px`
53
+ : undefined,
54
+ }) }, renderText()));
51
55
  }
52
56
  static get is() { return "zonos-text"; }
53
57
  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%;
@@ -7,9 +7,9 @@ export class ZonosToggle {
7
7
  this.value = undefined;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: '20b8a280c9f318de47df0904742350f678445173', class: classes(['zonos--elements zonos--toggle']), style: {
11
- '--font-family': zonosStoreFontFamily(),
12
- } }, h("div", { key: 'e2e5e213922b637fda1e420f500d7e5e1c211ebb', class: "wrapper" }, this.options.map(option => {
10
+ return (h(Host, { key: 'c49d16b02ca854ead2b2652cc1e39a423fd67251', class: classes(['zonos--elements zonos--toggle']), style: {
11
+ '--zonos--font-family': zonosStoreFontFamily(),
12
+ } }, h("div", { key: 'cda75445836db4a4d8466e840eac952a18b3ad48', class: "wrapper" }, this.options.map(option => {
13
13
  const selected = option.value === this.value;
14
14
  return (h("button", { class: classes(['zonos--option', selected && 'selected']), key: option.value, onClick: () => {
15
15
  this.toggleChanged.emit(option.value);
@@ -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%;
@@ -7,9 +7,9 @@ export class VStack {
7
7
  this.spacing = 24;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'e542ff8bbefa3223f157ad4bd6e537af8e5d5a5d', style: {
11
- '--font-family': zonosStoreFontFamily(),
12
- } }, h("div", { key: '9bd1cc8fdf94265d7d2767d507af7ad21d77234d', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'c8a294410e4c1348405c53283cf4dba176d5b27b' }))));
10
+ return (h(Host, { key: '1c12857cdab3dcbfae5135d40cbf276451bbcf81', style: {
11
+ '--zonos--font-family': zonosStoreFontFamily(),
12
+ } }, h("div", { key: '8c88f2390c758ed9961daf1d9f5cadb3bd67b928', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'fa31c9a430b53b837d840827097a56acbd033b8e' }))));
13
13
  }
14
14
  static get is() { return "zonos-v-stack"; }
15
15
  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%;
@@ -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%;
@@ -451,7 +451,7 @@ export class ZonosHello {
451
451
  "mutable": false,
452
452
  "complexType": {
453
453
  "original": "Partial<AppearanceConfig>",
454
- "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
454
+ "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
455
455
  "references": {
456
456
  "Partial": {
457
457
  "location": "global",
@@ -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,7 +35,7 @@
35
35
  text-align: left;
36
36
  display: flex;
37
37
  justify-content: space-between;
38
- background: var(--primary-color, var(--zonos-elements-surface-color-secondary));
38
+ background: var(--zonos--primary-color, var(--zonos-elements-surface-color-secondary));
39
39
  border-top: var(--zonos-elements-border);
40
40
  padding: 12px;
41
41
  align-items: center;
@@ -18,9 +18,9 @@ export class ZonosHelloDialogFooter {
18
18
  const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
19
19
  // Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
20
20
  const mainColor = primaryColor && isDarkColor(primaryColor) ? 'white' : 'black';
21
- return (h(Host, { key: 'a9b52a67a2db1967fe6fde4f19dc8d2785469f8a', class: "zonos--elements" }, h("div", { key: '1b36f45f0f00fe2b6494fb04373b12b4848b9484', class: "zonos--hello-dialog-footer", style: {
22
- '--primary-color': primaryColor,
23
- } }, h("a", { key: '7ca110d30f9266d021069af41766588ffce3d2ad', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'f9f4866c18bc75577e5a3961ffdd67f48977fd68', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: mainColor, size: 108 })), h("div", { key: '2bacafbd2c2d9c79935b7a2c69ae9fd3e1ede48a', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: 'a223f6706d319da505e8f013bff6863a433effd3', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: 'aa94f1e06b80f6bec8433c3c8a7b066f0d91df08', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, localizationStore.selectedCountryCode)))));
21
+ return (h(Host, { key: 'a9b52a67a2db1967fe6fde4f19dc8d2785469f8a', class: "zonos--elements" }, h("div", { key: '83ab5c0ef0cd0d3e59d5197d8d16e5cf8b6f9c54', class: "zonos--hello-dialog-footer", style: {
22
+ '--zonos--primary-color': primaryColor,
23
+ } }, h("a", { key: 'a87d05b7a59adc9362012ea8b19df45afc5f6b33', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'b3ff790f651daa228b67354c972577093b731f2c', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: mainColor, size: 108 })), h("div", { key: '45c168a25c0d7d03d4fe70b05b7306cf7b784cd6', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '7263a0906b4e226c31ba6fdfa0c66c41c557d318', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: '2f1789e1f8ac23b81b4c07c47a50a44b18baccfe', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, localizationStore.selectedCountryCode)))));
24
24
  }
25
25
  static get is() { return "zonos-hello-dialog-footer"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -41,7 +41,7 @@ export class ZonosHelloDialogFooter {
41
41
  "mutable": false,
42
42
  "complexType": {
43
43
  "original": "Partial<AppearanceConfig>",
44
- "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
44
+ "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
45
45
  "references": {
46
46
  "Partial": {
47
47
  "location": "global",
@@ -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%;
@@ -348,7 +348,7 @@ export class ZonosHelloDialog {
348
348
  "mutable": false,
349
349
  "complexType": {
350
350
  "original": "Partial<AppearanceConfig>",
351
- "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
351
+ "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; fontSize?: number | undefined; fontSizeInputLabel?: number | undefined; fontSizeInputValue?: number | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
352
352
  "references": {
353
353
  "Partial": {
354
354
  "location": "global",
@@ -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%;