@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
@@ -5,7 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-e12d459c.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const isColorVariable = require('./isColorVariable-6f5a9608.js');
8
+ const isColorVariable = require('./isColorVariable-525dbfa7.js');
9
+ const styles = require('./styles-d1e64fb9.js');
9
10
 
10
11
  const textOptions = {
11
12
  pageHeader: {
@@ -107,7 +108,7 @@ const textOptions = {
107
108
  },
108
109
  };
109
110
 
110
- const zonosTextCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{color:var(--color)}:host(.zonos--text-size-3xl)>*,:host(.zonos--text-size-3xl){font-size:var(--zonos-elements-font-size-3xl)}:host(.zonos--text-size-2xl)>*,:host(.zonos--text-size-2xl){font-size:var(--zonos-elements-font-size-2xl)}:host(.zonos--text-size-xl)>*,:host(.zonos--text-size-xl){font-size:var(--zonos-elements-font-size-xl)}:host(.zonos--text-size-l)>*,:host(.zonos--text-size-l){font-size:var(--zonos-elements-font-size-l)}:host(.zonos--text-size-base)>*,:host(.zonos--text-size-base){font-size:var(--zonos-elements-font-size-base)}:host(.zonos--text-size-s)>*,:host(.zonos--text-size-s){font-size:var(--zonos-elements-font-size-s)}:host(.zonos--text-size-xs)>*,:host(.zonos--text-size-xs){font-size:var(--zonos-elements-font-size-xs)}:host(.zonos--text-weight-900)>*,:host(.zonos--text-weight-900){font-weight:900}:host(.zonos--text-weight-700)>*,:host(.zonos--text-weight-700){font-weight:700}:host(.zonos--text-weight-600)>*,:host(.zonos--text-weight-600){font-weight:600}:host(.zonos--text-weight-500)>*,:host(.zonos--text-weight-500){font-weight:500}:host(.zonos--text-weight-400)>*,:host(.zonos--text-weight-400){font-weight:400}";
111
+ const zonosTextCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{color:var(--zonos--color)}:host(.zonos--text-size-3xl)>*,:host(.zonos--text-size-3xl){font-size:var(--zonos-elements-font-size-3xl)}:host(.zonos--text-size-2xl)>*,:host(.zonos--text-size-2xl){font-size:var(--zonos-elements-font-size-2xl)}:host(.zonos--text-size-xl)>*,:host(.zonos--text-size-xl){font-size:var(--zonos-elements-font-size-xl)}:host(.zonos--text-size-l)>*,:host(.zonos--text-size-l){font-size:var(--zonos-elements-font-size-l)}:host(.zonos--text-size-base)>*,:host(.zonos--text-size-base){font-size:var(--zonos--font-size-base, var(--zonos-elements-font-size-base))}:host(.zonos--text-size-s)>*,:host(.zonos--text-size-s){font-size:var(--zonos-elements-font-size-s)}:host(.zonos--text-size-xs)>*,:host(.zonos--text-size-xs){font-size:var(--zonos-elements-font-size-xs)}:host(.zonos--text-weight-900)>*,:host(.zonos--text-weight-900){font-weight:900}:host(.zonos--text-weight-700)>*,:host(.zonos--text-weight-700){font-weight:700}:host(.zonos--text-weight-600)>*,:host(.zonos--text-weight-600){font-weight:600}:host(.zonos--text-weight-500)>*,:host(.zonos--text-weight-500){font-weight:500}:host(.zonos--text-weight-400)>*,:host(.zonos--text-weight-400){font-weight:400}";
111
112
  const ZonosTextStyle0 = zonosTextCss;
112
113
 
113
114
  const ZonosText = class {
@@ -152,10 +153,13 @@ const ZonosText = class {
152
153
  'zonos--elements',
153
154
  `zonos--text-size-${textSize}`,
154
155
  `zonos--text-weight-${textWeight}`,
155
- ]), style: {
156
- '--color': actualTextColor,
157
- '--font-family': zonosStore.zonosStoreFontFamily(),
158
- } }, renderText()));
156
+ ]), style: styles.styles({
157
+ '--zonos--color': actualTextColor,
158
+ '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
159
+ '--zonos--font-size-base': zonosStore.zonosStore.appearance.fontSize
160
+ ? `${zonosStore.zonosStore.appearance.fontSize}px`
161
+ : undefined,
162
+ }) }, renderText()));
159
163
  }
160
164
  };
161
165
  ZonosText.style = ZonosTextStyle0;
@@ -6,7 +6,7 @@ const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-e12d459c.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
- const zonosToggleCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host .wrapper{position:relative;border-radius:6px;background-color:var(--zonos-elements-gray-50);display:-ms-flexbox;display:flex}:host .zonos--toggle-selected-slider{z-index:1;position:absolute;background-color:var(--zonos-elements-raised-surface-color);height:100%;-webkit-box-shadow:var(--zonos-elements-shadow-button-standard);box-shadow:var(--zonos-elements-shadow-button-standard);border-radius:6px;-webkit-animation:translate 0.3s ease-in-out;animation:translate 0.3s ease-in-out}:host .zonos--option{background:transparent;border:0;z-index:2;cursor:pointer;padding:4px 12px;border-radius:6px;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);font-size:var(--zonos-elements-font-size-base);font-weight:500;color:var(--zonos-elements-text-color-secondary)}:host .zonos--option:focus{outline:none}:host .zonos--option:hover:not(.selected){color:var(--zonos-elements-text-color)}:host .zonos--option.selected{color:var(--zonos-elements-text-color);background-color:var(--zonos-elements-raised-surface-color);height:100%;-webkit-box-shadow:var(--zonos-elements-shadow-button-standard);box-shadow:var(--zonos-elements-shadow-button-standard);border-radius:6px;-webkit-animation:translate 0.3s ease-in-out;animation:translate 0.3s ease-in-out}";
9
+ const zonosToggleCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host .wrapper{position:relative;border-radius:6px;background-color:var(--zonos-elements-gray-50);display:-ms-flexbox;display:flex}:host .zonos--toggle-selected-slider{z-index:1;position:absolute;background-color:var(--zonos-elements-raised-surface-color);height:100%;-webkit-box-shadow:var(--zonos-elements-shadow-button-standard);box-shadow:var(--zonos-elements-shadow-button-standard);border-radius:6px;-webkit-animation:translate 0.3s ease-in-out;animation:translate 0.3s ease-in-out}:host .zonos--option{background:transparent;border:0;z-index:2;cursor:pointer;padding:4px 12px;border-radius:6px;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);font-size:var(--zonos-elements-font-size-base);font-weight:500;color:var(--zonos-elements-text-color-secondary)}:host .zonos--option:focus{outline:none}:host .zonos--option:hover:not(.selected){color:var(--zonos-elements-text-color)}:host .zonos--option.selected{color:var(--zonos-elements-text-color);background-color:var(--zonos-elements-raised-surface-color);height:100%;-webkit-box-shadow:var(--zonos-elements-shadow-button-standard);box-shadow:var(--zonos-elements-shadow-button-standard);border-radius:6px;-webkit-animation:translate 0.3s ease-in-out;animation:translate 0.3s ease-in-out}";
10
10
  const ZonosToggleStyle0 = zonosToggleCss;
11
11
 
12
12
  const ZonosToggle = class {
@@ -17,9 +17,9 @@ const ZonosToggle = class {
17
17
  this.value = undefined;
18
18
  }
19
19
  render() {
20
- return (index.h(index.Host, { key: '20b8a280c9f318de47df0904742350f678445173', class: classes.classes(['zonos--elements zonos--toggle']), style: {
21
- '--font-family': zonosStore.zonosStoreFontFamily(),
22
- } }, index.h("div", { key: 'e2e5e213922b637fda1e420f500d7e5e1c211ebb', class: "wrapper" }, this.options.map(option => {
20
+ return (index.h(index.Host, { key: 'c49d16b02ca854ead2b2652cc1e39a423fd67251', class: classes.classes(['zonos--elements zonos--toggle']), style: {
21
+ '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
22
+ } }, index.h("div", { key: 'cda75445836db4a4d8466e840eac952a18b3ad48', class: "wrapper" }, this.options.map(option => {
23
23
  const selected = option.value === this.value;
24
24
  return (index.h("button", { class: classes.classes(['zonos--option', selected && 'selected']), key: option.value, onClick: () => {
25
25
  this.toggleChanged.emit(option.value);
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-d56e0a8b.js');
6
6
  const classes = require('./classes-b7918f56.js');
7
7
 
8
- const zonosTooltipCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--tooltip{position:relative}:host .zonos--tooltip .zonos--tooltip-content{position:absolute;bottom:100%;left:0;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:12px;background-color:var(--zonos-elements-gray-1000);opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;-webkit-transform-origin:bottom left;transform-origin:bottom left;border-radius:var(--zonos-elements-radius-4);z-index:100;-webkit-box-shadow:var(--zonos-elements-v3-shadow-large);box-shadow:var(--zonos-elements-v3-shadow-large)}:host .zonos--tooltip .zonos--tooltip-content.zonos--show-tooltip{opacity:1;-webkit-transform:scale(1);transform:scale(1)}";
8
+ const zonosTooltipCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--tooltip{position:relative}:host .zonos--tooltip .zonos--tooltip-content{position:absolute;bottom:100%;left:0;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:12px;background-color:var(--zonos-elements-gray-1000);opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;-webkit-transform-origin:bottom left;transform-origin:bottom left;border-radius:var(--zonos-elements-radius-4);z-index:100;-webkit-box-shadow:var(--zonos-elements-v3-shadow-large);box-shadow:var(--zonos-elements-v3-shadow-large)}:host .zonos--tooltip .zonos--tooltip-content.zonos--show-tooltip{opacity:1;-webkit-transform:scale(1);transform:scale(1)}";
9
9
  const ZonosTooltipStyle0 = zonosTooltipCss;
10
10
 
11
11
  const ZonosTooltip = class {
@@ -6,7 +6,7 @@ const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-e12d459c.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
- const zonosVStackCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .vstack{display:grid;grid-auto-columns:minmax(0, 1fr);grid-row-gap:var(--spacing, 24px);grid-auto-flow:row}";
9
+ const zonosVStackCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .vstack{display:grid;grid-auto-columns:minmax(0, 1fr);grid-row-gap:var(--spacing, 24px);grid-auto-flow:row}";
10
10
  const ZonosVStackStyle0 = zonosVStackCss;
11
11
 
12
12
  const VStack = class {
@@ -15,9 +15,9 @@ const VStack = class {
15
15
  this.spacing = 24;
16
16
  }
17
17
  render() {
18
- return (index.h(index.Host, { key: 'e542ff8bbefa3223f157ad4bd6e537af8e5d5a5d', style: {
19
- '--font-family': zonosStore.zonosStoreFontFamily(),
20
- } }, index.h("div", { key: '9bd1cc8fdf94265d7d2767d507af7ad21d77234d', class: classes.classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, index.h("slot", { key: 'c8a294410e4c1348405c53283cf4dba176d5b27b' }))));
18
+ return (index.h(index.Host, { key: '1c12857cdab3dcbfae5135d40cbf276451bbcf81', style: {
19
+ '--zonos--font-family': zonosStore.zonosStoreFontFamily(),
20
+ } }, index.h("div", { key: '8c88f2390c758ed9961daf1d9f5cadb3bd67b928', class: classes.classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, index.h("slot", { key: 'fa31c9a430b53b837d840827097a56acbd033b8e' }))));
21
21
  }
22
22
  };
23
23
  VStack.style = ZonosVStackStyle0;
@@ -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%;
@@ -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%;
@@ -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%;
@@ -41,7 +41,7 @@
41
41
  justify-content: center;
42
42
  align-items: center;
43
43
  margin-bottom: 24px;
44
- border-radius: var(--border-radius, 10px);
44
+ border-radius: var(--zonos--border-radius, 10px);
45
45
  gap: 24px;
46
46
  margin-top: 24px;
47
47
  background-color: var(--zonos-elements-gray-50);
@@ -327,12 +327,12 @@ export class ZonosCheckoutFinish {
327
327
  }
328
328
  render() {
329
329
  const isTestMode = getIsTestMode();
330
- return (h(Host, { key: 'be6d82d3f5d2b75cb3ca7676d4e9dc96958b55f9', class: "zonos--checkout-finish zonos--elements", style: {
331
- '--border-radius': getBorderRadius({
330
+ return (h(Host, { key: 'e9e088880a1b13f821dfdb7804b2e27efae5298c', class: "zonos--checkout-finish zonos--elements", style: {
331
+ '--zonos--border-radius': getBorderRadius({
332
332
  overrideBorderStyle: this.borderRadius,
333
333
  }),
334
- } }, !this.isLoading && (h("div", { key: '1e9ae0e3e835e824d3269b76f38601f1f4a4462b', class: "zonos--finish-details" }, h("div", { key: '54766c1ee7a8a81616ca1bf0e1da778250a21cec', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '310f5df77e5788f287d2815dde6d4a8af0b47370', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: 'b6725d31f0613d773e08fa451e74f32aa6708e6b', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), !window.Zonos.isLegacyCheckout &&
335
- this.shouldRenderKeepShoppingButton() && (h("zonos-button", { key: '057ce352ad5202e120aa470875d32fca75e22487', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode && cartStore.step === 'finish' && (h("div", { key: '95acf45bb6433d04bf8fb5e36cd7a34b097b4bf9', class: "zonos--finish-button-wrapper" }, h("zonos-button", { key: '0a7dc7709b0226cd9011ccbdff2820aecf3aa0f6', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), h("zonos-button", { key: '21e38b16330e375e19eb2d70f442316e89daf56f', onClick: () => this.redirectToUrl(`/orders/all`), size: "lg", variant: "primary" }, "View order in Dashboard")))))));
334
+ } }, !this.isLoading && (h("div", { key: 'a1ec6900c645aedfd4f4662fa5251b5b9adebadf', class: "zonos--finish-details" }, h("div", { key: '6e08efc67a101ca4af34c67d853709d1f4f0f436', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '049e7cbaef783b113daaf449b842bb27e1cd9fd4', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), h("zonos-text", { key: '9ff5e5794bd0762341ef27cfca03bb52829c3463', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), !window.Zonos.isLegacyCheckout &&
335
+ this.shouldRenderKeepShoppingButton() && (h("zonos-button", { key: '0546063749a2b2c96762488e03507bfa31643b33', onClick: () => this.closeClickHandler(), size: "md", variant: "primary" }, this.notificationActionText))), isTestMode && cartStore.step === 'finish' && (h("div", { key: 'ef75fac530f2a3cf69ccd28c2d48f93771b8459e', class: "zonos--finish-button-wrapper" }, h("zonos-button", { key: '5e8dd1c3e34c1e97b14e9f6225817005b79bd679', backgroundColor: "gray-0", buttonColor: "gray-1000", onClick: () => this.closeClickHandler(), size: "lg", variant: "outline" }, "New test cart"), h("zonos-button", { key: '40c1c75fb3afae2c20ce8b018285f5cc21abbb96', onClick: () => this.redirectToUrl(`/orders/all`), size: "lg", variant: "primary" }, "View order in Dashboard")))))));
336
336
  }
337
337
  static get is() { return "zonos-checkout-finish"; }
338
338
  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%;
@@ -84,7 +84,7 @@
84
84
  gap: 12px;
85
85
  bottom: 0;
86
86
  padding-top: 12px;
87
- background: var(--primary-color, var(--zonos-elements-gray-0));
87
+ background: var(--zonos--primary-color, var(--zonos-elements-gray-0));
88
88
  }
89
89
  :host .zonos--group-btn zonos-text {
90
90
  text-align: center;
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -53,7 +53,7 @@
53
53
  display: flex;
54
54
  height: 100%;
55
55
  overflow: hidden;
56
- border-radius: var(--border-radius, var(--zonos-elements-radius-10));
56
+ border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
57
57
  }
58
58
  :host .zonos--content .zonos--left,
59
59
  :host .zonos--content .zonos--right {
@@ -61,7 +61,7 @@
61
61
  padding: 32px;
62
62
  }
63
63
  :host .zonos--content .zonos--left {
64
- background-color: var(--primary-color, var(--zonos-elements-gray-0));
64
+ background-color: var(--zonos--primary-color, var(--zonos-elements-gray-0));
65
65
  border-right: 1px solid var(--zonos-elements-gray-200);
66
66
  }
67
67
  :host .zonos--content .zonos--right {
@@ -197,7 +197,7 @@
197
197
  display: flex;
198
198
  flex-direction: column;
199
199
  border: var(--zonos-elements-border);
200
- border-radius: var(--border-radius, var(--zonos-elements-radius-10));
200
+ border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
201
201
  background-color: var(--zonos-elements-gray-50);
202
202
  padding: 12px;
203
203
  margin-top: 32px;
@@ -24,6 +24,7 @@ import { logError } from "../../utils/logging/logError";
24
24
  import { sendErrorLog } from "../../utils/logging/sendErrorLog";
25
25
  import { sendLoadCheckoutFacadeLog } from "../../utils/logging/sendLoadCheckoutFacadeLog";
26
26
  import { mergeConfig } from "../../utils/mergeConfig";
27
+ import { styles } from "../../utils/styles";
27
28
  import { submitGtag } from "../../utils/submitGtag";
28
29
  import { setupCartData } from "../../../scripts/cart/_setupCartData";
29
30
  import { checkoutHiddenBtnSelector, domesticRedirectedBtnSelector, } from "../../../types/checkout/CheckoutConfig";
@@ -697,10 +698,14 @@ export class ZonosCheckout {
697
698
  return (h("zonos-rest-state", { class: "zonos--session-timeout", restStateSubtitle: translate('Your checkout session has expired. Please reload the page to continue.'), restStateTitle: translate('Session timed out'), restStateType: 'Warning' }, h("zonos-button", { onClick: () => this.reloadCheckoutSession(), variant: "primary" }, translate('Reload'))));
698
699
  }
699
700
  return (h("div", { class: 'zonos--content', style: {
700
- '--border-radius': getBorderRadius({ overrideBorderStyle: style }),
701
- } }, cartStore.step !== 'finish' && cartStore.step !== 'error' && (h(Fragment, null, h("div", { class: "zonos--left", "data-theme": leftSideTheme, style: {
702
- '--primary-color': !this.isMobile ? colorPrimary : '',
703
- } }, !this.isMobile && renderTopHeader(), cartStore.step === 'customer-info' && (h("zonos-customer-info", { continueLoading: this.submitLoading, defaultAddress: this.defaultAddress, isMobile: this.isMobile, onContinueClicked: () => this.handleCustomerInfoContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'shipping' && (h("zonos-shipping", { continueLoading: this.submitLoading, onContinueClicked: () => this.handleShippingContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'payment' && (h("zonos-checkout-payment", { continueLoading: this.submitLoading, onContinueClicked: async () => {
701
+ '--zonos--border-radius': getBorderRadius({
702
+ overrideBorderStyle: style,
703
+ }),
704
+ } }, cartStore.step !== 'finish' && cartStore.step !== 'error' && (h(Fragment, null, h("div", { class: "zonos--left", "data-theme": leftSideTheme, style: styles({
705
+ '--zonos--primary-color': !this.isMobile
706
+ ? colorPrimary
707
+ : undefined,
708
+ }) }, !this.isMobile && renderTopHeader(), cartStore.step === 'customer-info' && (h("zonos-customer-info", { continueLoading: this.submitLoading, defaultAddress: this.defaultAddress, isMobile: this.isMobile, onContinueClicked: () => this.handleCustomerInfoContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'shipping' && (h("zonos-shipping", { continueLoading: this.submitLoading, onContinueClicked: () => this.handleShippingContinue(), submitBtnColor: submitButtonColor })), cartStore.step === 'payment' && (h("zonos-checkout-payment", { continueLoading: this.submitLoading, onContinueClicked: async () => {
704
709
  await this.handleStripePaymentContinue();
705
710
  }, submitBtnColor: submitButtonColor }))), h("div", { class: "zonos--right", "data-theme": rightSideTheme }, this.isMobile && renderTopHeader(), h("div", { class: "zonos--right-actions" }, window.Zonos.showBaseForeign && (h("zonos-currency-toggle", null)), !this.isLegacyCheckout && (h("zonos-button", { class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close checkout dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.closeDialogHandler() }))), h("div", { class: "flex--wrapper" }, h("div", { class: "zonos--wrapper" }, h("zonos-review", { collapsed: this.collapseReviewMobile, mobile: this.isMobile, onClick: () => {
706
711
  // do nothing if it's not mobile
@@ -778,7 +783,7 @@ export class ZonosCheckout {
778
783
  "mutable": false,
779
784
  "complexType": {
780
785
  "original": "Partial<AppearanceConfig>",
781
- "resolved": "undefined | { colorPrimary?: string | undefined; colorSecondary?: string | undefined; fontFamily?: string | undefined; logoUrl?: string | undefined; style?: ElementsUiStyle | undefined; theme?: ElementsUiTheme | undefined; zonosAttribution?: ZonosAttribution | null | undefined; }",
786
+ "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; }",
782
787
  "references": {
783
788
  "Partial": {
784
789
  "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%;
@@ -85,7 +85,7 @@
85
85
  bottom: -5px;
86
86
  padding-top: 8px;
87
87
  margin-top: 12px;
88
- background: var(--primary-color, var(--zonos-elements-gray-0));
88
+ background: var(--zonos--primary-color, var(--zonos-elements-gray-0));
89
89
  }
90
90
  :host .zonos--group-btn zonos-button {
91
91
  width: 100%;
@@ -82,6 +82,7 @@ export class ZonosCustomerInfo {
82
82
  void trackConversionEvent('checkout_customerInfoCompleted');
83
83
  };
84
84
  this.handleValidate = () => {
85
+ var _a, _b;
85
86
  const stripeShippingAddressEventData = stripeStore.stripeAddressEventData;
86
87
  const stripeBillingAddressEventData = stripeStore.stripeBillingAddressEventData;
87
88
  const stripeLinkEventData = stripeStore.stripeLinkEventData;
@@ -91,11 +92,26 @@ export class ZonosCustomerInfo {
91
92
  : !!(stripeBillingAddressEventData === null || stripeBillingAddressEventData === void 0 ? void 0 : stripeBillingAddressEventData.complete);
92
93
  const isValidShipping = !!(stripeShippingAddressEventData === null || stripeShippingAddressEventData === void 0 ? void 0 : stripeShippingAddressEventData.complete);
93
94
  const isValidLink = !!(stripeLinkEventData === null || stripeLinkEventData === void 0 ? void 0 : stripeLinkEventData.complete);
95
+ // display errors on fields that are invalid
96
+ void ((_a = stripeStore.stripeAddressElement) === null || _a === void 0 ? void 0 : _a.getValue());
97
+ void ((_b = stripeStore.stripeBillingAddressElement) === null || _b === void 0 ? void 0 : _b.getValue());
98
+ if (!isValidLink && (stripeLinkEventData === null || stripeLinkEventData === void 0 ? void 0 : stripeLinkEventData.empty)) {
99
+ this.isEmailError = true;
100
+ }
94
101
  if (!isValidBilling || !isValidShipping || !isValidLink) {
95
102
  return false;
96
103
  }
97
104
  return true;
98
105
  };
106
+ this.handleEmailValidation = () => {
107
+ var _a;
108
+ if (!this.isEmailError) {
109
+ return;
110
+ }
111
+ if (!((_a = stripeStore.stripeLinkEventData) === null || _a === void 0 ? void 0 : _a.empty)) {
112
+ this.isEmailError = false;
113
+ }
114
+ };
99
115
  this.prepareAddressObject = (stripeAddressEventData) => {
100
116
  var _a;
101
117
  const addressValue = stripeAddressEventData.value;
@@ -123,6 +139,7 @@ export class ZonosCustomerInfo {
123
139
  this.invalidShippingCharacterList = null;
124
140
  this.invalidBillingCharacterList = null;
125
141
  this.openAddressValidationDialog = false;
142
+ this.isEmailError = false;
126
143
  }
127
144
  checkInvalidCharacters(address) {
128
145
  if (!address) {
@@ -173,7 +190,7 @@ export class ZonosCustomerInfo {
173
190
  if (this.showErrorBanner) {
174
191
  this.showErrorBanner = !this.handleValidate();
175
192
  }
176
- return (h(Host, { class: "zonos--customer-info zonos--elements" }, h("div", { class: "zonos--group" }, h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, translate('Customer information')), this.showErrorBanner && (h("zonos-banner", { class: "zonos--error-banner", intent: "error" }, translate('Missing required fields. Make sure all fields are completed.'))), h("zonos-link-authentication", { defaultEmail: (_b = this.defaultAddress) === null || _b === void 0 ? void 0 : _b.email, titleText: translate('Contact') }), h("zonos-address", { defaultAddress: this.defaultAddress, titleText: translate('Address'), type: "shipping" }), h("zonos-checkbox", { class: "zonos--shipping-same-as-billing-cbx", isChecked: stripeStore.stripeShippingSameAsBilling, label: translate('Shipping address same as billing'), onCheckboxSelected: e => {
193
+ return (h(Host, { class: "zonos--customer-info zonos--elements" }, h("div", { class: "zonos--group" }, h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, translate('Customer information')), this.showErrorBanner && (h("zonos-banner", { class: "zonos--error-banner", intent: "error" }, translate('Missing required fields. Make sure all fields are completed.'))), h("zonos-link-authentication", { defaultEmail: (_b = this.defaultAddress) === null || _b === void 0 ? void 0 : _b.email, isEmailError: this.isEmailError, onLinkAuthenticationChange: this.handleEmailValidation, titleText: translate('Contact') }), h("zonos-address", { defaultAddress: this.defaultAddress, titleText: translate('Address'), type: "shipping" }), h("zonos-checkbox", { class: "zonos--shipping-same-as-billing-cbx", isChecked: stripeStore.stripeShippingSameAsBilling, label: translate('Shipping address same as billing'), onCheckboxSelected: e => {
177
194
  stripeStore.stripeShippingSameAsBilling = e.detail;
178
195
  } }), h("zonos-collapse", { collapsed: !showBilling }, h("zonos-address", { defaultAddress: this.defaultAddress, titleText: translate('Billing address'), type: "billing" })), h("div", { class: "zonos--group-btn" }, h("zonos-button", { backgroundColor: this.submitBtnColor, loading: this.continueLoading, onClick: () => this.continueClickHandler(), size: "lg",
179
196
  // use primary type when on mobile mode
@@ -313,7 +330,8 @@ export class ZonosCustomerInfo {
313
330
  "isValidatingAddress": {},
314
331
  "invalidShippingCharacterList": {},
315
332
  "invalidBillingCharacterList": {},
316
- "openAddressValidationDialog": {}
333
+ "openAddressValidationDialog": {},
334
+ "isEmailError": {}
317
335
  };
318
336
  }
319
337
  static get events() {
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -79,7 +79,7 @@
79
79
  bottom: 0;
80
80
  z-index: 1;
81
81
  margin-top: 12px;
82
- background: var(--primary-color, var(--zonos-elements-gray-0));
82
+ background: var(--zonos--primary-color, var(--zonos-elements-gray-0));
83
83
  }
84
84
  :host .zonos--group-btn zonos-button {
85
85
  width: 100%;
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -15,16 +15,16 @@ export class ZonosBadge {
15
15
  this.dismissHandler = undefined;
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '250028cd50c23400b88ae1cbfa17836ade3d501b', class: classes(['zonos--elements zonos--badge']), style: {
19
- '--font-family': zonosStoreFontFamily(),
20
- } }, h("div", { key: '9d2f93b0fb791c6b3390d669473261183b5662dd', class: classes([
18
+ return (h(Host, { key: 'ef7686107447f0d7b0fb090d1995ea66ab9d9147', class: classes(['zonos--elements zonos--badge']), style: {
19
+ '--zonos--font-family': zonosStoreFontFamily(),
20
+ } }, h("div", { key: '78dd37a1413c192fba84ba17e068cdd07bc54db1', class: classes([
21
21
  'zonos--badge-content',
22
22
  this.badgeColor,
23
23
  this.rounded && 'rounded',
24
24
  this.iconRight && 'icon-right',
25
25
  this.size,
26
26
  this.bold && 'bold',
27
- ]) }, this.icon, h("zonos-text", { key: 'b612923e4e26d250a6f9d604e68d7d5a69f99701', textColor: `${this.badgeColor}-800` }, h("slot", { key: '71369a45f9e31e9f08cbd54a4e97d310d213a768' })), this.dismissHandler && (h("zonos-icon", { key: '256f64f95a466be5cc7d1606666067fc06dbd061', "aria-label": "Remove action", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
27
+ ]) }, this.icon, h("zonos-text", { key: '10ee8b496e4db3d9550d9e46859446ba4c91a823', textColor: `${this.badgeColor}-800` }, h("slot", { key: 'c9341850364d8e289d7c3569ebb41e37e2e1d99b' })), this.dismissHandler && (h("zonos-icon", { key: '85f69b0f3c31ce57978a078eb96ee856da1555a2', "aria-label": "Remove action", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
28
28
  }
29
29
  static get is() { return "zonos-badge"; }
30
30
  static get encapsulation() { return "shadow"; }
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -29,31 +29,31 @@ export class ZonosBanner {
29
29
  switch (this.intent) {
30
30
  case 'error':
31
31
  return (h(Host, { class: baseClass, style: {
32
- '--font-family': font,
32
+ '--zonos--font-family': font,
33
33
  } }, renderContent({
34
34
  color: 'red',
35
35
  })));
36
36
  case 'info':
37
37
  return (h(Host, { class: baseClass, style: {
38
- '--font-family': font,
38
+ '--zonos--font-family': font,
39
39
  } }, renderContent({
40
40
  color: 'blue',
41
41
  })));
42
42
  case 'success':
43
43
  return (h(Host, { class: baseClass, style: {
44
- '--font-family': font,
44
+ '--zonos--font-family': font,
45
45
  } }, renderContent({
46
46
  color: 'green',
47
47
  })));
48
48
  case 'warning':
49
49
  return (h(Host, { class: baseClass, style: {
50
- '--font-family': font,
50
+ '--zonos--font-family': font,
51
51
  } }, renderContent({
52
52
  color: 'orange',
53
53
  })));
54
54
  default:
55
55
  return (h(Host, { class: baseClass, style: {
56
- '--font-family': font,
56
+ '--zonos--font-family': font,
57
57
  } }, renderContent({
58
58
  color: 'gray',
59
59
  })));