@zonos/elements 1.3.125 → 1.3.127

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 (272) hide show
  1. package/dist/cjs/{cart-7e5608b4.js → cart-3bdaf092.js} +6 -4
  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/{paypal-4c479f19.js → paypal-2f48ab8d.js} +1 -1
  5. package/dist/cjs/zonos-address_7.cjs.entry.js +23 -23
  6. package/dist/cjs/zonos-badge.cjs.entry.js +5 -5
  7. package/dist/cjs/zonos-banner.cjs.entry.js +6 -6
  8. package/dist/cjs/zonos-button_3.cjs.entry.js +16 -16
  9. package/dist/cjs/zonos-card.cjs.entry.js +8 -8
  10. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +34 -34
  11. package/dist/cjs/zonos-checkout.cjs.entry.js +12 -7
  12. package/dist/cjs/zonos-collapse.cjs.entry.js +4 -4
  13. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  14. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  15. package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
  16. package/dist/cjs/zonos-country-select_4.cjs.entry.js +14 -14
  17. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  18. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-input.cjs.entry.js +7 -7
  20. package/dist/cjs/zonos-language-select_2.cjs.entry.js +9 -9
  21. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-logo.cjs.entry.js +6 -6
  23. package/dist/cjs/zonos-notification_3.cjs.entry.js +10 -9
  24. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
  25. package/dist/cjs/zonos-text.cjs.entry.js +5 -5
  26. package/dist/cjs/zonos-toggle.cjs.entry.js +4 -4
  27. package/dist/cjs/zonos-tooltip.cjs.entry.js +1 -1
  28. package/dist/cjs/zonos-v-stack.cjs.entry.js +4 -4
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.css +2 -2
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.css +2 -2
  31. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.css +2 -2
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.css +2 -2
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.css +2 -2
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +2 -2
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.css +3 -3
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -4
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +2 -2
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +3 -3
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +5 -5
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +9 -4
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +3 -3
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +2 -2
  43. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +3 -3
  44. package/dist/collection/components/common/zonos-badge/zonos-badge.css +2 -2
  45. package/dist/collection/components/common/zonos-badge/zonos-badge.js +4 -4
  46. package/dist/collection/components/common/zonos-banner/zonos-banner.css +2 -2
  47. package/dist/collection/components/common/zonos-banner/zonos-banner.js +5 -5
  48. package/dist/collection/components/common/zonos-button/zonos-button.css +12 -12
  49. package/dist/collection/components/common/zonos-button/zonos-button.js +7 -7
  50. package/dist/collection/components/common/zonos-card/zonos-card.css +4 -4
  51. package/dist/collection/components/common/zonos-card/zonos-card.js +7 -7
  52. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.css +7 -7
  53. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +7 -7
  54. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.css +5 -5
  55. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +5 -5
  56. package/dist/collection/components/common/zonos-collapse/zonos-collapse.css +2 -2
  57. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +3 -3
  58. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.css +4 -4
  59. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +6 -6
  60. package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.css +2 -2
  61. package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +2 -2
  62. package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +2 -2
  63. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  64. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.css +2 -2
  65. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +3 -3
  66. package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +7 -7
  67. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +8 -8
  68. package/dist/collection/components/common/zonos-icon/zonos-icon.css +6 -6
  69. package/dist/collection/components/common/zonos-icon/zonos-icon.js +4 -4
  70. package/dist/collection/components/common/zonos-input/zonos-input.css +5 -5
  71. package/dist/collection/components/common/zonos-input/zonos-input.js +6 -6
  72. package/dist/collection/components/common/zonos-language-select/zonos-language-select.css +2 -2
  73. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +3 -3
  74. package/dist/collection/components/common/zonos-link/zonos-link.css +2 -2
  75. package/dist/collection/components/common/zonos-logo/zonos-logo.css +4 -4
  76. package/dist/collection/components/common/zonos-logo/zonos-logo.js +5 -5
  77. package/dist/collection/components/common/zonos-notification/zonos-notification.css +3 -3
  78. package/dist/collection/components/common/zonos-notification/zonos-notification.js +5 -3
  79. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.css +2 -2
  80. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +4 -4
  81. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.css +2 -2
  82. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +3 -3
  83. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.css +8 -8
  84. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +3 -3
  85. package/dist/collection/components/common/zonos-spinner/zonos-spinner.css +6 -6
  86. package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +1 -1
  87. package/dist/collection/components/common/zonos-text/zonos-text.css +4 -4
  88. package/dist/collection/components/common/zonos-text/zonos-text.js +3 -3
  89. package/dist/collection/components/common/zonos-toggle/zonos-toggle.css +2 -2
  90. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +3 -3
  91. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.css +2 -2
  92. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.css +2 -2
  93. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +3 -3
  94. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.css +2 -2
  95. package/dist/collection/components/component-template/zonos-component/zonos-component.css +2 -2
  96. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +2 -2
  97. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +3 -3
  98. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +3 -3
  99. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +2 -2
  100. package/dist/collection/components/main/zonos-controller.css +2 -2
  101. package/dist/collection/components/paypal/zonos-paypal-payment.css +2 -2
  102. package/dist/collection/components/stripe/zonos-address/zonos-address.css +2 -2
  103. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.css +2 -2
  104. package/dist/collection/components/stripe/zonos-payment/zonos-payment.css +2 -2
  105. package/dist/collection/components/utils/api/triggerBuildLandedCost.js +6 -4
  106. package/dist/collection/components/utils/isColorVariable.js +2 -0
  107. package/dist/esm/{cart-65c7d5f1.js → cart-519f08e3.js} +6 -4
  108. package/dist/esm/index.js +7 -7
  109. package/dist/esm/{isColorVariable-82457bef.js → isColorVariable-0a94004f.js} +2 -0
  110. package/dist/esm/{paypal-cd96efa7.js → paypal-d0a05eda.js} +1 -1
  111. package/dist/esm/zonos-address_7.entry.js +23 -23
  112. package/dist/esm/zonos-badge.entry.js +5 -5
  113. package/dist/esm/zonos-banner.entry.js +6 -6
  114. package/dist/esm/zonos-button_3.entry.js +16 -16
  115. package/dist/esm/zonos-card.entry.js +8 -8
  116. package/dist/esm/zonos-cart-items_13.entry.js +34 -34
  117. package/dist/esm/zonos-checkout.entry.js +12 -7
  118. package/dist/esm/zonos-collapse.entry.js +4 -4
  119. package/dist/esm/zonos-component.entry.js +1 -1
  120. package/dist/esm/zonos-controller.entry.js +2 -2
  121. package/dist/esm/zonos-country-flag.entry.js +4 -4
  122. package/dist/esm/zonos-country-select_4.entry.js +14 -14
  123. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  124. package/dist/esm/zonos-hello.entry.js +2 -2
  125. package/dist/esm/zonos-input.entry.js +7 -7
  126. package/dist/esm/zonos-language-select_2.entry.js +9 -9
  127. package/dist/esm/zonos-link.entry.js +1 -1
  128. package/dist/esm/zonos-logo.entry.js +6 -6
  129. package/dist/esm/zonos-notification_3.entry.js +10 -9
  130. package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
  131. package/dist/esm/zonos-text.entry.js +5 -5
  132. package/dist/esm/zonos-toggle.entry.js +4 -4
  133. package/dist/esm/zonos-tooltip.entry.js +1 -1
  134. package/dist/esm/zonos-v-stack.entry.js +4 -4
  135. package/dist/esm-es5/{cart-65c7d5f1.js → cart-519f08e3.js} +1 -1
  136. package/dist/esm-es5/index.js +1 -1
  137. package/dist/esm-es5/isColorVariable-0a94004f.js +1 -0
  138. package/dist/esm-es5/{paypal-cd96efa7.js → paypal-d0a05eda.js} +1 -1
  139. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  140. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  141. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  142. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  143. package/dist/esm-es5/zonos-card.entry.js +1 -1
  144. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  145. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  146. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  147. package/dist/esm-es5/zonos-component.entry.js +1 -1
  148. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  149. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  150. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  151. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  152. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  153. package/dist/esm-es5/zonos-input.entry.js +1 -1
  154. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  155. package/dist/esm-es5/zonos-link.entry.js +1 -1
  156. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  157. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  158. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  159. package/dist/esm-es5/zonos-text.entry.js +1 -1
  160. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  161. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  162. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  163. package/dist/scripts/index.js +1 -1
  164. package/dist/scripts/loadZonos.js +1 -1
  165. package/dist/scripts/zonos.js +1 -1
  166. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  167. package/dist/zonos-elements/index.esm.js +1 -1
  168. package/dist/zonos-elements/p-0082eefd.system.entry.js +1 -0
  169. package/dist/zonos-elements/{p-f8827566.js → p-00ff4f4a.js} +1 -1
  170. package/dist/zonos-elements/p-0bc813a9.system.entry.js +1 -0
  171. package/dist/zonos-elements/p-0c6a933c.entry.js +1 -0
  172. package/dist/zonos-elements/p-0cb426b8.entry.js +1 -0
  173. package/dist/zonos-elements/p-167b7fa8.system.entry.js +1 -0
  174. package/dist/zonos-elements/p-1e4d8228.entry.js +1 -0
  175. package/dist/zonos-elements/{p-988b6d65.system.js → p-1ed1ce99.system.js} +1 -1
  176. package/dist/zonos-elements/{p-c6f74e2c.js → p-2402e12c.js} +1 -1
  177. package/dist/zonos-elements/p-2906956b.entry.js +1 -0
  178. package/dist/zonos-elements/p-2db962f9.system.entry.js +1 -0
  179. package/dist/zonos-elements/p-311f6702.entry.js +1 -0
  180. package/dist/zonos-elements/p-3b5f49f6.system.entry.js +1 -0
  181. package/dist/zonos-elements/{p-b2262a9c.entry.js → p-3dbfe639.entry.js} +1 -1
  182. package/dist/zonos-elements/p-4170b042.entry.js +1 -0
  183. package/dist/zonos-elements/p-4cd1e79c.system.entry.js +1 -0
  184. package/dist/zonos-elements/p-4fee6e7f.system.entry.js +1 -0
  185. package/dist/zonos-elements/p-5610934b.entry.js +1 -0
  186. package/dist/zonos-elements/p-57d93236.entry.js +1 -0
  187. package/dist/zonos-elements/p-5ac777a7.system.entry.js +1 -0
  188. package/dist/zonos-elements/p-61380d53.system.entry.js +1 -0
  189. package/dist/zonos-elements/p-685e395e.entry.js +1 -0
  190. package/dist/zonos-elements/p-6a2bed3e.system.entry.js +1 -0
  191. package/dist/zonos-elements/p-6b0a8709.system.entry.js +1 -0
  192. package/dist/zonos-elements/p-6c047faf.system.entry.js +1 -0
  193. package/dist/zonos-elements/p-6de5611e.entry.js +1 -0
  194. package/dist/zonos-elements/{p-148e7eb7.entry.js → p-723c9d4d.entry.js} +1 -1
  195. package/dist/zonos-elements/p-76d03238.entry.js +1 -0
  196. package/dist/zonos-elements/{p-66303c89.system.entry.js → p-798d715c.entry.js} +1 -1
  197. package/dist/zonos-elements/p-8b3d9796.system.entry.js +1 -0
  198. package/dist/zonos-elements/p-8ca3b73a.entry.js +1 -0
  199. package/dist/zonos-elements/p-8df3d5d0.system.entry.js +1 -0
  200. package/dist/zonos-elements/p-970527fe.entry.js +1 -0
  201. package/dist/zonos-elements/p-9833f37d.system.entry.js +1 -0
  202. package/dist/zonos-elements/p-a372a9a0.entry.js +1 -0
  203. package/dist/zonos-elements/p-a7eaa9ad.entry.js +1 -0
  204. package/dist/zonos-elements/{p-0ceb45a9.system.js → p-abbfde44.system.js} +1 -1
  205. package/dist/zonos-elements/p-ae393255.js +1 -0
  206. package/dist/zonos-elements/p-bc9987f2.system.entry.js +1 -0
  207. package/dist/zonos-elements/{p-f8c7bc1d.entry.js → p-bf2f9095.entry.js} +1 -1
  208. package/dist/zonos-elements/p-c5d1217f.system.js +1 -0
  209. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  210. package/dist/zonos-elements/p-cf7a5119.entry.js +1 -0
  211. package/dist/zonos-elements/p-d6f1b6fa.system.entry.js +1 -0
  212. package/dist/zonos-elements/p-e2cda105.system.entry.js +1 -0
  213. package/dist/zonos-elements/p-e6fad32a.system.entry.js +1 -0
  214. package/dist/zonos-elements/p-e933cbf0.system.entry.js +1 -0
  215. package/dist/zonos-elements/p-ea8663b7.entry.js +1 -0
  216. package/dist/zonos-elements/p-eb6d1e26.system.entry.js +1 -0
  217. package/dist/zonos-elements/p-eca920dc.system.entry.js +1 -0
  218. package/dist/zonos-elements/p-efffbaec.entry.js +1 -0
  219. package/dist/zonos-elements/p-f50f48da.entry.js +1 -0
  220. package/dist/zonos-elements/{p-80a4d1e0.system.js → p-f7d56ce5.system.js} +1 -1
  221. package/dist/zonos-elements/p-f962fc6a.system.entry.js +1 -0
  222. package/dist/zonos-elements/p-fe899c47.entry.js +1 -0
  223. package/dist/zonos-elements/p-ff0a79e6.system.entry.js +1 -0
  224. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  225. package/package.json +1 -1
  226. package/dist/esm-es5/isColorVariable-82457bef.js +0 -1
  227. package/dist/zonos-elements/p-0cedb17a.system.entry.js +0 -1
  228. package/dist/zonos-elements/p-139fd9b9.entry.js +0 -1
  229. package/dist/zonos-elements/p-149612d6.entry.js +0 -1
  230. package/dist/zonos-elements/p-14c67ae2.system.entry.js +0 -1
  231. package/dist/zonos-elements/p-1aed6403.system.entry.js +0 -1
  232. package/dist/zonos-elements/p-1d1c3377.entry.js +0 -1
  233. package/dist/zonos-elements/p-1e4f7997.system.entry.js +0 -1
  234. package/dist/zonos-elements/p-21970d09.system.entry.js +0 -1
  235. package/dist/zonos-elements/p-26be7ea7.entry.js +0 -1
  236. package/dist/zonos-elements/p-28b79606.system.entry.js +0 -1
  237. package/dist/zonos-elements/p-30476a6b.entry.js +0 -1
  238. package/dist/zonos-elements/p-3e2aa5e2.entry.js +0 -1
  239. package/dist/zonos-elements/p-3f5b6e7a.system.entry.js +0 -1
  240. package/dist/zonos-elements/p-4161a0f2.system.entry.js +0 -1
  241. package/dist/zonos-elements/p-44991bcf.entry.js +0 -1
  242. package/dist/zonos-elements/p-46d96a0d.entry.js +0 -1
  243. package/dist/zonos-elements/p-4a107b6f.system.js +0 -1
  244. package/dist/zonos-elements/p-4a3c1449.system.entry.js +0 -1
  245. package/dist/zonos-elements/p-4c6033ed.system.entry.js +0 -1
  246. package/dist/zonos-elements/p-4c64f0ea.system.entry.js +0 -1
  247. package/dist/zonos-elements/p-55d26aaa.system.entry.js +0 -1
  248. package/dist/zonos-elements/p-56370c8b.system.entry.js +0 -1
  249. package/dist/zonos-elements/p-66eb66d1.js +0 -1
  250. package/dist/zonos-elements/p-6de38759.entry.js +0 -1
  251. package/dist/zonos-elements/p-7a4170ba.entry.js +0 -1
  252. package/dist/zonos-elements/p-80733970.system.entry.js +0 -1
  253. package/dist/zonos-elements/p-99ab4440.entry.js +0 -1
  254. package/dist/zonos-elements/p-9a89de05.system.entry.js +0 -1
  255. package/dist/zonos-elements/p-a435037c.entry.js +0 -1
  256. package/dist/zonos-elements/p-a7c24425.system.entry.js +0 -1
  257. package/dist/zonos-elements/p-ada1c7b6.entry.js +0 -1
  258. package/dist/zonos-elements/p-b2247065.entry.js +0 -1
  259. package/dist/zonos-elements/p-b31095d5.system.entry.js +0 -1
  260. package/dist/zonos-elements/p-bb53bce8.entry.js +0 -1
  261. package/dist/zonos-elements/p-d13f3ea0.system.entry.js +0 -1
  262. package/dist/zonos-elements/p-d3472a00.system.entry.js +0 -1
  263. package/dist/zonos-elements/p-d91da318.entry.js +0 -1
  264. package/dist/zonos-elements/p-daba3f99.system.entry.js +0 -1
  265. package/dist/zonos-elements/p-de2fe7f5.entry.js +0 -1
  266. package/dist/zonos-elements/p-e19034a3.entry.js +0 -1
  267. package/dist/zonos-elements/p-e46bd90a.entry.js +0 -1
  268. package/dist/zonos-elements/p-eeb2c2f4.system.entry.js +0 -1
  269. package/dist/zonos-elements/p-f0b32dd6.entry.js +0 -1
  270. package/dist/zonos-elements/p-fe855df9.system.entry.js +0 -1
  271. package/dist/zonos-elements/p-ff6e4ea6.entry.js +0 -1
  272. package/dist/zonos-elements/p-fff6e3d9.system.entry.js +0 -1
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -37,7 +37,7 @@
37
37
  }
38
38
  :host input {
39
39
  margin: 0;
40
- accent-color: var(--selected-border-color, var(--zonos-elements-blue-600));
40
+ accent-color: var(--zonos--selected-border-color, var(--zonos-elements-blue-600));
41
41
  }
42
42
  :host .zonos--shipping-rich-radio-item {
43
43
  display: flex;
@@ -49,18 +49,18 @@
49
49
  border: 1px solid var(--zonos-elements-gray-200);
50
50
  }
51
51
  :host .zonos--shipping-rich-radio-item:first-child {
52
- border-top-left-radius: var(--border-radius, var(--zonos-elements-radius-10));
53
- border-top-right-radius: var(--border-radius, var(--zonos-elements-radius-10));
52
+ border-top-left-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
53
+ border-top-right-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
54
54
  }
55
55
  :host .zonos--shipping-rich-radio-item:last-child {
56
- border-bottom-right-radius: var(--border-radius, var(--zonos-elements-radius-10));
57
- border-bottom-left-radius: var(--border-radius, var(--zonos-elements-radius-10));
56
+ border-bottom-right-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
57
+ border-bottom-left-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
58
58
  }
59
59
  :host .zonos--shipping-rich-radio-item:not(:last-child) {
60
60
  border-bottom: none;
61
61
  }
62
62
  :host .zonos--shipping-rich-radio-item.selected {
63
- outline: 1px solid var(--selected-border-color, var(--zonos-elements-blue-600));
63
+ outline: 1px solid var(--zonos--selected-border-color, var(--zonos-elements-blue-600));
64
64
  outline-offset: -1px;
65
65
  }
66
66
  :host .zonos--shipping-info {
@@ -15,10 +15,10 @@ export class ZonosShippingRichRadio {
15
15
  ? `var(--zonos-elements-${usedColor})`
16
16
  : usedColor;
17
17
  return {
18
- '--border-radius': getBorderRadius({
18
+ '--zonos--border-radius': getBorderRadius({
19
19
  overrideBorderStyle: this.borderStyle,
20
20
  }),
21
- '--selected-border-color': secondaryColor || 'unset',
21
+ '--zonos--selected-border-color': secondaryColor || 'unset',
22
22
  };
23
23
  };
24
24
  this.items = undefined;
@@ -29,7 +29,7 @@ export class ZonosShippingRichRadio {
29
29
  }
30
30
  render() {
31
31
  var _a;
32
- return (h(Host, { key: '74cb16ff6cfde65b626ef902c456b967af649f6d', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
32
+ return (h(Host, { key: '34abb7026ed7d382870f912b5e5c5631e4f06f76', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--zonos--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
33
33
  var _a;
34
34
  const selected = ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.value) === item.value;
35
35
  return (h("div", { "aria-hidden": "true", class: classes([
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -34,13 +34,13 @@
34
34
  :host {
35
35
  position: relative;
36
36
  overflow: hidden;
37
- width: var(--size);
38
- height: var(--size);
37
+ width: var(--zonos--size);
38
+ height: var(--zonos--size);
39
39
  display: inline-flex;
40
40
  }
41
41
  :host svg {
42
- width: var(--size);
43
- height: var(--size);
42
+ width: var(--zonos--size);
43
+ height: var(--zonos--size);
44
44
  stroke: var(--zonos-elements-blue-600);
45
45
  animation: rotate 2s linear infinite;
46
46
  }
@@ -10,7 +10,7 @@ export class ZonosSpinner {
10
10
  return null;
11
11
  }
12
12
  return (h(Host, { class: classes(['zonos--elements', this.spinnerColor]), style: {
13
- '--size': `${this.size}px`,
13
+ '--zonos--size': `${this.size}px`,
14
14
  } }, h("svg", { viewBox: "0 0 50 50" }, h("circle", { class: "track", cx: "25", cy: "25", fill: "none", id: "loading-spinner-circle", r: "20", "stroke-width": "5" }), h("circle", { cx: "25", cy: "25", fill: "none", id: "loading-spinner-circle", r: "20", "stroke-width": "5" }))));
15
15
  }
16
16
  static get is() { return "zonos-spinner"; }
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -32,7 +32,7 @@
32
32
  }
33
33
 
34
34
  :host {
35
- color: var(--color);
35
+ color: var(--zonos--color);
36
36
  }
37
37
 
38
38
  :host(.zonos--text-size-3xl) > *, :host(.zonos--text-size-3xl) {
@@ -52,7 +52,7 @@
52
52
  }
53
53
 
54
54
  :host(.zonos--text-size-base) > *, :host(.zonos--text-size-base) {
55
- font-size: var(--font-size-base, var(--zonos-elements-font-size-base));
55
+ font-size: var(--zonos--font-size-base, var(--zonos-elements-font-size-base));
56
56
  }
57
57
 
58
58
  :host(.zonos--text-size-s) > *, :host(.zonos--text-size-s) {
@@ -46,9 +46,9 @@ export class ZonosText {
46
46
  `zonos--text-size-${textSize}`,
47
47
  `zonos--text-weight-${textWeight}`,
48
48
  ]), style: styles({
49
- '--color': actualTextColor,
50
- '--font-family': zonosStoreFontFamily(),
51
- '--font-size-base': zonosStore.appearance.fontSize
49
+ '--zonos--color': actualTextColor,
50
+ '--zonos--font-family': zonosStoreFontFamily(),
51
+ '--zonos--font-size-base': zonosStore.appearance.fontSize
52
52
  ? `${zonosStore.appearance.fontSize}px`
53
53
  : undefined,
54
54
  }) }, renderText()));
@@ -1,10 +1,10 @@
1
1
  :host {
2
- font-family: var(--font-family, Inter), Inter;
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
3
  display: block;
4
4
  white-space: normal;
5
5
  }
6
6
  :host * {
7
- font-family: var(--font-family, Inter), Inter;
7
+ font-family: var(--zonos--font-family, Inter), Inter;
8
8
  }
9
9
  :host img {
10
10
  max-width: 100%;
@@ -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%;
@@ -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"; }
@@ -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%;
@@ -2,7 +2,7 @@ import { prepCalculateLandedCost } from "./prepCalculateLandedCost";
2
2
  import { fallbackApiList } from "../getNextFallbackApi";
3
3
  import { handleFetch } from "../handleFetch";
4
4
  export const triggerBuildLandedCost = async (buildLandedCost) => {
5
- var _a, _b, _c, _d;
5
+ var _a, _b, _c, _d, _e;
6
6
  const data = prepCalculateLandedCost();
7
7
  const landedCost = await buildLandedCost({
8
8
  billingAddress: data.billingAddress,
@@ -13,8 +13,10 @@ export const triggerBuildLandedCost = async (buildLandedCost) => {
13
13
  shippingAddress: data.shippingAddress,
14
14
  zonosApiRoute: fallbackApiList['vercel'],
15
15
  });
16
- if (!landedCost || ((_a = landedCost.errors) === null || _a === void 0 ? void 0 : _a.length)) {
17
- throw new Error(`Failed to build landed cost: ${((_c = (_b = landedCost === null || landedCost === void 0 ? void 0 : landedCost.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.message) || 'Unknown error'}`);
16
+ if (!landedCost ||
17
+ // Only show errors if there are no rate back (checkoutSessionWorkflow) and there are errors
18
+ (!((_a = landedCost.checkoutSessionWorkflow) === null || _a === void 0 ? void 0 : _a.length) && ((_b = landedCost.errors) === null || _b === void 0 ? void 0 : _b.length))) {
19
+ throw new Error(`Failed to build landed cost: ${((_d = (_c = landedCost === null || landedCost === void 0 ? void 0 : landedCost.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.message) || 'Unknown error'}`);
18
20
  }
19
21
  // Validate the landed cost object to make sure the returned value from buildLandedCost has a valid schema
20
22
  const { errors, json } = await handleFetch('/api/zonos-elements/validate-landed-cost', {
@@ -25,7 +27,7 @@ export const triggerBuildLandedCost = async (buildLandedCost) => {
25
27
  method: 'POST',
26
28
  });
27
29
  if (!json || errors.length) {
28
- throw new Error(`Invalid landed cost object: ${((_d = errors.find(Boolean)) === null || _d === void 0 ? void 0 : _d.message) || 'Unknown error'}`);
30
+ throw new Error(`Invalid landed cost object: ${((_e = errors.find(Boolean)) === null || _e === void 0 ? void 0 : _e.message) || 'Unknown error'}`);
29
31
  }
30
32
  return landedCost;
31
33
  };
@@ -2,6 +2,8 @@ export const isColorVariable = (color) => {
2
2
  const isAminoVariable = color &&
3
3
  // match --zonos-elements-<color>
4
4
  (/--zonos-elements-/gi.test(color) ||
5
+ // match --zonos--<color>
6
+ /--zonos--/gi.test(color) ||
5
7
  // match 'gray-0'
6
8
  /(\-*)\w+-\d+/gi.test(color));
7
9
  return (!!isAminoVariable &&
@@ -9354,7 +9354,7 @@ const prepCalculateLandedCost = () => {
9354
9354
  };
9355
9355
 
9356
9356
  const triggerBuildLandedCost = async (buildLandedCost) => {
9357
- var _a, _b, _c, _d;
9357
+ var _a, _b, _c, _d, _e;
9358
9358
  const data = prepCalculateLandedCost();
9359
9359
  const landedCost = await buildLandedCost({
9360
9360
  billingAddress: data.billingAddress,
@@ -9365,8 +9365,10 @@ const triggerBuildLandedCost = async (buildLandedCost) => {
9365
9365
  shippingAddress: data.shippingAddress,
9366
9366
  zonosApiRoute: fallbackApiList['vercel'],
9367
9367
  });
9368
- if (!landedCost || ((_a = landedCost.errors) === null || _a === void 0 ? void 0 : _a.length)) {
9369
- throw new Error(`Failed to build landed cost: ${((_c = (_b = landedCost === null || landedCost === void 0 ? void 0 : landedCost.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.message) || 'Unknown error'}`);
9368
+ if (!landedCost ||
9369
+ // Only show errors if there are no rate back (checkoutSessionWorkflow) and there are errors
9370
+ (!((_a = landedCost.checkoutSessionWorkflow) === null || _a === void 0 ? void 0 : _a.length) && ((_b = landedCost.errors) === null || _b === void 0 ? void 0 : _b.length))) {
9371
+ throw new Error(`Failed to build landed cost: ${((_d = (_c = landedCost === null || landedCost === void 0 ? void 0 : landedCost.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.message) || 'Unknown error'}`);
9370
9372
  }
9371
9373
  // Validate the landed cost object to make sure the returned value from buildLandedCost has a valid schema
9372
9374
  const { errors, json } = await handleFetch('/api/zonos-elements/validate-landed-cost', {
@@ -9377,7 +9379,7 @@ const triggerBuildLandedCost = async (buildLandedCost) => {
9377
9379
  method: 'POST',
9378
9380
  });
9379
9381
  if (!json || errors.length) {
9380
- throw new Error(`Invalid landed cost object: ${((_d = errors.find(Boolean)) === null || _d === void 0 ? void 0 : _d.message) || 'Unknown error'}`);
9382
+ throw new Error(`Invalid landed cost object: ${((_e = errors.find(Boolean)) === null || _e === void 0 ? void 0 : _e.message) || 'Unknown error'}`);
9381
9383
  }
9382
9384
  return landedCost;
9383
9385
  };
package/dist/esm/index.js CHANGED
@@ -94,7 +94,7 @@ const getZonosQaUrl = () => {
94
94
  return null;
95
95
  }
96
96
  const qaUrl = extractZonosQaUrl(window.location.href);
97
- const cdnUrl = "https://v1.3.125.js.zonos.com";
97
+ const cdnUrl = "https://v1.3.127.js.zonos.com";
98
98
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
99
99
  if (!qaUrl &&
100
100
  (cdnUrl.includes('test.') ||
@@ -278,10 +278,10 @@ const zonosLoadUrl = (() => {
278
278
  }
279
279
  return null;
280
280
  })();
281
- const ZONOS_URL = "https://v1.3.125.js.zonos.com";
282
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.125";
283
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.125";
284
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.125";
281
+ const ZONOS_URL = "https://v1.3.127.js.zonos.com";
282
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.127";
283
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.127";
284
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.127";
285
285
  const INTER_FONT_URL = 'https://rsms.me';
286
286
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
287
287
  const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
@@ -296,7 +296,7 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
296
296
  !!window.location.search.match(/\?.*(&*)zonosConversionTest/);
297
297
  Zonos._paypalMockResponse = null;
298
298
  Zonos.isBigCommerce = false;
299
- Zonos.releaseDate = "1731090000621";
299
+ Zonos.releaseDate = "1731357811312";
300
300
  Zonos.isLegacyCheckout = false;
301
301
  Zonos.showBaseForeign = typeof window !== 'undefined' &&
302
302
  window.location.search.includes('zonosShowBaseForeign');
@@ -306,7 +306,7 @@ Zonos.showBaseForeign = typeof window !== 'undefined' &&
306
306
  Zonos.isNpm = true;
307
307
  Zonos.zonosQaUrl = null;
308
308
  Zonos.zonosQaUrlApi = null;
309
- Zonos.version = `v${"1.3.125"}`;
309
+ Zonos.version = `v${"1.3.127"}`;
310
310
  Zonos.modeAlerted = false;
311
311
  Zonos.cartData = null;
312
312
  Zonos.paypal = null;
@@ -2,6 +2,8 @@ const isColorVariable = (color) => {
2
2
  const isAminoVariable = color &&
3
3
  // match --zonos-elements-<color>
4
4
  (/--zonos-elements-/gi.test(color) ||
5
+ // match --zonos--<color>
6
+ /--zonos--/gi.test(color) ||
5
7
  // match 'gray-0'
6
8
  /(\-*)\w+-\d+/gi.test(color));
7
9
  return (!!isAminoVariable &&
@@ -1,5 +1,5 @@
1
1
  import { z as zonosStore, c as createStore } from './zonosStore-6b5bd87c.js';
2
- import { d as cartStore, w as stripeStoreHandleInventoryCheck, p as translate, v as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-65c7d5f1.js';
2
+ import { d as cartStore, w as stripeStoreHandleInventoryCheck, p as translate, v as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-519f08e3.js';
3
3
  import { h as handleFetch, l as log, a as logError, j as jsonParse } from './handleFetch-da1a9c5d.js';
4
4
  import { t as tinycolor } from './isDarkColor-dc08fa26.js';
5
5