@zonos/elements 1.3.265 → 1.3.267

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 (264) hide show
  1. package/dist/cjs/{cart-c325b9e4.js → cart-ed2de167.js} +1 -1
  2. package/dist/cjs/getContrastColor-ce80dbe7.js +54 -0
  3. package/dist/cjs/{hasInclusivePrice-40358cb1.js → hasInclusivePrice-bf31fbdb.js} +1 -1
  4. package/dist/cjs/index.cjs.js +7 -7
  5. package/dist/cjs/{invoice-ac9414df.js → invoice-542c23e7.js} +2 -2
  6. package/dist/cjs/{isCollectMobileTablet-92fa5e8f.js → isCollectMobileTablet-fe8149a5.js} +2 -2
  7. package/dist/cjs/{localization-06cc0379.js → localization-66d378ab.js} +52 -1
  8. package/dist/cjs/{paypal-b52e1f24.js → paypal-d8282578.js} +2 -2
  9. package/dist/cjs/{placeTestOrder-d93a6f2b.js → placeTestOrder-0a4b9dd7.js} +2 -2
  10. package/dist/cjs/{renderCheckoutCurrency-1f521ea7.js → renderCheckoutCurrency-ac9083d9.js} +2 -2
  11. package/dist/cjs/zonos-address-display_8.cjs.entry.js +19 -19
  12. package/dist/cjs/zonos-address_4.cjs.entry.js +6 -6
  13. package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
  14. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  15. package/dist/cjs/zonos-card_5.cjs.entry.js +7 -7
  16. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +20 -20
  17. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +3 -3
  18. package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
  19. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  20. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
  21. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +19 -19
  22. package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
  23. package/dist/cjs/zonos-controller.cjs.entry.js +122 -3
  24. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  25. package/dist/cjs/zonos-country-select_4.cjs.entry.js +6 -6
  26. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  27. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  28. package/dist/cjs/zonos-input.cjs.entry.js +4 -4
  29. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -8
  30. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +14 -14
  31. package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
  32. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  33. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  34. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  35. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +1 -1
  36. package/dist/cjs/zonos-store-credit.cjs.entry.js +3 -3
  37. package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
  38. package/dist/collection/collection-manifest.json +1 -1
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +4 -4
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -4
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
  43. package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
  44. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +2 -2
  45. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
  46. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  47. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
  48. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
  49. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
  50. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +3 -3
  51. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  52. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
  53. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  54. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  55. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  56. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  57. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  58. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  59. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  60. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  61. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  62. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  63. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  64. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  65. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  66. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  67. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  68. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  69. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  70. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  71. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  72. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  73. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +6 -6
  74. package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +8 -7
  75. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +2 -0
  76. package/dist/collection/components/main/zonos-controller.js +6 -2
  77. package/dist/collection/components/store/hello/localization.js +6 -0
  78. package/dist/collection/components/utils/checkout/injectDomesticElementHideStyle.js +116 -0
  79. package/dist/collection/components/utils/getContrastColor.js +27 -10
  80. package/dist/collection/components/utils/hello/currencyConversion/defaultCurrencyConverter.js +1 -1
  81. package/dist/collection/types/generated/graphql.internal.types.js +287 -73
  82. package/dist/collection/utils/toggleBigcommerceNativeCurrencySelector.js +48 -0
  83. package/dist/esm/{cart-0625a766.js → cart-49082718.js} +1 -1
  84. package/dist/esm/getContrastColor-0aa643c1.js +52 -0
  85. package/dist/esm/{hasInclusivePrice-afc0dd6e.js → hasInclusivePrice-2323d514.js} +1 -1
  86. package/dist/esm/index.js +7 -7
  87. package/dist/esm/{invoice-0daa7f74.js → invoice-16c688e7.js} +2 -2
  88. package/dist/esm/{isCollectMobileTablet-8d3fb5f4.js → isCollectMobileTablet-910aea2e.js} +2 -2
  89. package/dist/esm/{localization-ee06df70.js → localization-33a9f7ff.js} +52 -1
  90. package/dist/esm/{paypal-78c3572c.js → paypal-2e9aa4ba.js} +2 -2
  91. package/dist/esm/{placeTestOrder-18de7b6f.js → placeTestOrder-35c9b460.js} +2 -2
  92. package/dist/esm/{renderCheckoutCurrency-ba1702db.js → renderCheckoutCurrency-b84a6da7.js} +2 -2
  93. package/dist/esm/zonos-address-display_8.entry.js +19 -19
  94. package/dist/esm/zonos-address_4.entry.js +6 -6
  95. package/dist/esm/zonos-badge.entry.js +3 -3
  96. package/dist/esm/zonos-button_3.entry.js +3 -3
  97. package/dist/esm/zonos-card_5.entry.js +7 -7
  98. package/dist/esm/zonos-cart-items_12.entry.js +20 -20
  99. package/dist/esm/zonos-checkbox_2.entry.js +3 -3
  100. package/dist/esm/zonos-checkout.entry.js +3 -3
  101. package/dist/esm/zonos-collapse.entry.js +2 -2
  102. package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
  103. package/dist/esm/zonos-collect-finish_6.entry.js +19 -19
  104. package/dist/esm/zonos-collect.entry.js +4 -4
  105. package/dist/esm/zonos-controller.entry.js +122 -3
  106. package/dist/esm/zonos-country-flag.entry.js +1 -1
  107. package/dist/esm/zonos-country-select_4.entry.js +6 -6
  108. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  109. package/dist/esm/zonos-hello.entry.js +2 -2
  110. package/dist/esm/zonos-input.entry.js +4 -4
  111. package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -8
  112. package/dist/esm/zonos-invoice-finish_5.entry.js +14 -14
  113. package/dist/esm/zonos-invoice.entry.js +4 -4
  114. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  115. package/dist/esm/zonos-link.entry.js +1 -1
  116. package/dist/esm/zonos-logo.entry.js +2 -2
  117. package/dist/esm/zonos-shipping-rich-radio.entry.js +1 -1
  118. package/dist/esm/zonos-store-credit.entry.js +3 -3
  119. package/dist/esm/zonos-stripe-input.entry.js +4 -4
  120. package/dist/esm-es5/{cart-0625a766.js → cart-49082718.js} +1 -1
  121. package/dist/esm-es5/getContrastColor-0aa643c1.js +1 -0
  122. package/dist/esm-es5/{hasInclusivePrice-afc0dd6e.js → hasInclusivePrice-2323d514.js} +1 -1
  123. package/dist/esm-es5/index.js +1 -1
  124. package/dist/esm-es5/{invoice-0daa7f74.js → invoice-16c688e7.js} +1 -1
  125. package/dist/esm-es5/{isCollectMobileTablet-8d3fb5f4.js → isCollectMobileTablet-910aea2e.js} +1 -1
  126. package/dist/esm-es5/{localization-ee06df70.js → localization-33a9f7ff.js} +1 -1
  127. package/dist/esm-es5/{paypal-78c3572c.js → paypal-2e9aa4ba.js} +1 -1
  128. package/dist/esm-es5/{placeTestOrder-18de7b6f.js → placeTestOrder-35c9b460.js} +1 -1
  129. package/dist/esm-es5/{renderCheckoutCurrency-ba1702db.js → renderCheckoutCurrency-b84a6da7.js} +1 -1
  130. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  131. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  132. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  133. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  134. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  135. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  136. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  137. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  138. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  139. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  140. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  141. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  142. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  143. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  144. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  145. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  146. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  147. package/dist/esm-es5/zonos-input.entry.js +1 -1
  148. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  149. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  150. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  151. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  152. package/dist/esm-es5/zonos-link.entry.js +1 -1
  153. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  154. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  155. package/dist/esm-es5/zonos-store-credit.entry.js +1 -1
  156. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  157. package/dist/scripts/index.d.ts +38 -13
  158. package/dist/scripts/index.js +1 -1
  159. package/dist/scripts/loadZonos.js +1 -1
  160. package/dist/scripts/zonos.js +1 -1
  161. package/dist/types/components/common/zonos-stripe-select/zonos-stripe-select.d.ts +1 -2
  162. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  163. package/dist/types/components/utils/checkout/injectDomesticElementHideStyle.d.ts +18 -0
  164. package/dist/types/components.d.ts +2 -0
  165. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +14 -13
  166. package/dist/types/types/checkout/CheckoutConfig.d.ts +9 -0
  167. package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
  168. package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
  169. package/dist/types/types/generated/graphql.internal.types.d.ts +341 -106
  170. package/dist/types/types/generated/graphql.internal.types.ts +419 -141
  171. package/dist/types/types/utils/ZonosSettings.d.ts +9 -0
  172. package/dist/types/utils/toggleBigcommerceNativeCurrencySelector.d.ts +17 -0
  173. package/dist/zonos-elements/index.esm.js +1 -1
  174. package/dist/zonos-elements/{p-41f2e301.entry.js → p-01497a20.entry.js} +1 -1
  175. package/dist/zonos-elements/p-029be4a8.entry.js +1 -0
  176. package/dist/zonos-elements/{p-72058aac.system.entry.js → p-034ab928.system.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-b32cd0c5.system.js → p-07a76716.system.js} +1 -1
  178. package/dist/zonos-elements/{p-e89a411c.system.entry.js → p-087520f2.system.entry.js} +1 -1
  179. package/dist/zonos-elements/{p-e6cc5a25.system.entry.js → p-0b46f3bd.system.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-d1ff24f5.entry.js → p-0e8c4a29.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-eaa79ed8.entry.js → p-0ed70279.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-407b49f1.system.entry.js → p-1325bbd6.system.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-f4f71ae4.system.js → p-175c04a4.system.js} +1 -1
  184. package/dist/zonos-elements/{p-34dc7755.entry.js → p-180d3e3d.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-0529a06b.system.entry.js → p-1957af5a.system.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-ac54de99.entry.js → p-1ec9b3b0.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-d2b91bb9.entry.js → p-1f256673.entry.js} +1 -1
  188. package/dist/zonos-elements/{p-4477556a.system.entry.js → p-22ba60f6.system.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-32ecece3.entry.js → p-26c85188.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-cc481c69.entry.js → p-27061873.entry.js} +1 -1
  191. package/dist/zonos-elements/{p-59aa5785.entry.js → p-28e2ac3b.entry.js} +1 -1
  192. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  193. package/dist/zonos-elements/{p-8a21ed2d.entry.js → p-2a6be4a5.entry.js} +1 -1
  194. package/dist/zonos-elements/{p-26374593.system.entry.js → p-2a8fcb71.system.entry.js} +1 -1
  195. package/dist/zonos-elements/p-2c854197.system.entry.js +1 -0
  196. package/dist/zonos-elements/{p-a054c5eb.system.js → p-311ba000.system.js} +1 -1
  197. package/dist/zonos-elements/{p-aaf9d8a4.system.entry.js → p-3516340a.system.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-8753cb36.system.js → p-3b1b3598.system.js} +1 -1
  199. package/dist/zonos-elements/p-40284821.system.js +1 -0
  200. package/dist/zonos-elements/p-458df669.js +1 -0
  201. package/dist/zonos-elements/{p-66edcaa4.entry.js → p-46071125.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-59e16c6f.system.js → p-4f718ef9.system.js} +1 -1
  203. package/dist/zonos-elements/{p-3a23ec5f.system.entry.js → p-55fb4ea3.system.entry.js} +1 -1
  204. package/dist/zonos-elements/p-5d823ea7.system.js +1 -0
  205. package/dist/zonos-elements/{p-4baa51ef.entry.js → p-5e1799bc.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-86ed51fd.entry.js → p-601bb27e.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-f9c715ad.entry.js → p-648f3ada.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-dfe45cfd.js → p-6987f9c9.js} +1 -1
  209. package/dist/zonos-elements/{p-5678c044.system.entry.js → p-6b6cfc59.system.entry.js} +1 -1
  210. package/dist/zonos-elements/{p-6b9ad020.entry.js → p-703fc360.entry.js} +1 -1
  211. package/dist/zonos-elements/p-71c7a1ff.entry.js +1 -0
  212. package/dist/zonos-elements/{p-e5582c35.entry.js → p-71fb6126.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-24aae506.system.js → p-77c2e465.system.js} +1 -1
  214. package/dist/zonos-elements/{p-0f9a04fe.system.entry.js → p-79e5a629.system.entry.js} +1 -1
  215. package/dist/zonos-elements/{p-3686190f.js → p-843ced6c.js} +1 -1
  216. package/dist/zonos-elements/{p-3d6ce58a.js → p-84dbf474.js} +1 -1
  217. package/dist/zonos-elements/{p-9bd63d7a.system.js → p-8570e88a.system.js} +1 -1
  218. package/dist/zonos-elements/{p-4a4c3af1.system.entry.js → p-8d5f413c.system.entry.js} +1 -1
  219. package/dist/zonos-elements/p-8f9e95c2.entry.js +1 -0
  220. package/dist/zonos-elements/{p-c3ee352b.entry.js → p-90c932fd.entry.js} +1 -1
  221. package/dist/zonos-elements/{p-1cc651e8.entry.js → p-928291e5.entry.js} +1 -1
  222. package/dist/zonos-elements/{p-a52ddeb5.js → p-9a5a2043.js} +1 -1
  223. package/dist/zonos-elements/{p-85cc83e5.system.entry.js → p-9b0a6fe5.system.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-19a1cc70.system.entry.js → p-9e0cb5b3.system.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-8a01157e.system.entry.js → p-a1bad0c3.system.entry.js} +1 -1
  226. package/dist/zonos-elements/{p-72833da8.system.entry.js → p-a49ba3ae.system.entry.js} +1 -1
  227. package/dist/zonos-elements/{p-3fbdb83f.entry.js → p-a6db8883.entry.js} +1 -1
  228. package/dist/zonos-elements/{p-30a0aed1.entry.js → p-a78bc004.entry.js} +1 -1
  229. package/dist/zonos-elements/{p-37f47658.js → p-adb9827c.js} +1 -1
  230. package/dist/zonos-elements/p-b2d276e1.js +1 -0
  231. package/dist/zonos-elements/p-b5a26334.system.entry.js +1 -0
  232. package/dist/zonos-elements/{p-62db5d7c.system.js → p-b6a36c25.system.js} +1 -1
  233. package/dist/zonos-elements/{p-274a7c0e.system.entry.js → p-b6df4cc2.system.entry.js} +1 -1
  234. package/dist/zonos-elements/{p-90a19f4c.system.entry.js → p-b7e4a020.system.entry.js} +1 -1
  235. package/dist/zonos-elements/{p-ec6472c9.system.entry.js → p-baf0b24c.system.entry.js} +1 -1
  236. package/dist/zonos-elements/p-becac995.js +1 -0
  237. package/dist/zonos-elements/{p-e98e4c0b.system.entry.js → p-bf5c3dd7.system.entry.js} +1 -1
  238. package/dist/zonos-elements/{p-6ef88d96.system.entry.js → p-c9c17d08.system.entry.js} +1 -1
  239. package/dist/zonos-elements/{p-42518502.system.entry.js → p-cb966d16.system.entry.js} +1 -1
  240. package/dist/zonos-elements/{p-a5f5993f.system.entry.js → p-ce103c66.system.entry.js} +1 -1
  241. package/dist/zonos-elements/p-cfb0059f.js +1 -0
  242. package/dist/zonos-elements/{p-7c312bc2.entry.js → p-d950b0b4.entry.js} +1 -1
  243. package/dist/zonos-elements/{p-1ed2827f.entry.js → p-db5f6b8c.entry.js} +1 -1
  244. package/dist/zonos-elements/{p-2555ba6b.system.entry.js → p-deaf0e38.system.entry.js} +1 -1
  245. package/dist/zonos-elements/{p-bb0ce525.entry.js → p-e056ae6b.entry.js} +1 -1
  246. package/dist/zonos-elements/{p-281063f4.system.entry.js → p-e850e6e7.system.entry.js} +1 -1
  247. package/dist/zonos-elements/{p-105b7ebe.entry.js → p-fb712719.entry.js} +1 -1
  248. package/dist/zonos-elements/zonos-elements.css +1 -1
  249. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  250. package/package.json +1 -1
  251. package/dist/cjs/getContrastColor-68058615.js +0 -37
  252. package/dist/esm/getContrastColor-2340485f.js +0 -35
  253. package/dist/esm-es5/getContrastColor-2340485f.js +0 -1
  254. package/dist/zonos-elements/p-1ce71a7d.entry.js +0 -1
  255. package/dist/zonos-elements/p-349bdc03.system.entry.js +0 -1
  256. package/dist/zonos-elements/p-5353cfa4.entry.js +0 -1
  257. package/dist/zonos-elements/p-595e2a7d.system.entry.js +0 -1
  258. package/dist/zonos-elements/p-69e2a7dd.js +0 -1
  259. package/dist/zonos-elements/p-6f8abf4f.js +0 -1
  260. package/dist/zonos-elements/p-9b2d6f06.entry.js +0 -1
  261. package/dist/zonos-elements/p-9f7e7148.system.js +0 -1
  262. package/dist/zonos-elements/p-a901d002.js +0 -1
  263. package/dist/zonos-elements/p-c9a1f774.js +0 -1
  264. package/dist/zonos-elements/p-e755ab57.system.js +0 -1
@@ -69,7 +69,7 @@ export class ZonosStripeInput {
69
69
  ? zonosStore.appearance.theme === 'DARK'
70
70
  : primaryColor && isDarkColor(primaryColor);
71
71
  const fontSize = zonosStore.appearance.fontSizeInputValue || 16;
72
- return (h(Host, { key: '77300abdafcc0b557b89c15a7755b4278d0acdee', class: classes([
72
+ return (h(Host, { key: 'f9f06dba4fb5f74088bd501fad3dbe9784e54b87', class: classes([
73
73
  'zonos--input zonos--elements',
74
74
  isDark && 'dark',
75
75
  (this.isError || !!this.error) && 'has-error',
@@ -78,10 +78,10 @@ export class ZonosStripeInput {
78
78
  '--zonos--font-family': zonosStoreFontFamily(),
79
79
  '--zonos--font-size': `${fontSize}px`,
80
80
  '--zonos--primary-color': secondaryColor,
81
- } }, h("div", { key: 'a6d091455bc8a33e8031d37f9b471118994bad47', class: classes([
81
+ } }, h("div", { key: '9af2062a1f5730eea33d3741961f359a69f5ce83', class: classes([
82
82
  'zonos--label-wrapper',
83
83
  this.isDisabled && 'disabled',
84
- ]) }, h("input", Object.assign({ key: '2001e1c1427c11b203514c0c849f3a1f3c2381dc' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
84
+ ]) }, h("input", Object.assign({ key: '01d97ec638227200096f60d6f5408246c857662d' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
85
85
  'zonos--floated-input',
86
86
  !!this.inputLabel && 'has-label',
87
87
  this.internalValue && 'has-content',
@@ -91,7 +91,7 @@ export class ZonosStripeInput {
91
91
  this.inputChange.emit(input.value);
92
92
  this.el.inputValue = input.value;
93
93
  this.el.dispatchEvent(new Event('change'));
94
- }, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '8b42af0315ed314fb267bf32dfcfebfee3a69a75', class: "zonos--floated-label" }, h("label", { key: '3de63395251ac591b1c3c527093560702f30575f', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: 'ee7b2b13d5577b965387bb1029f8036fb099890d', textColor: "red-600", type: "caption" }, this.error))));
94
+ }, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '7344a6d20db2d94f49a1b848f49cb0dc17ad759d', class: "zonos--floated-label" }, h("label", { key: 'bac9810d8897672b7c7ab5e3cb07f1ae03803a8e', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: '7f84007f704fb2f1da0c7581f23c426d87cf1cc0', textColor: "red-600", type: "caption" }, this.error))));
95
95
  }
96
96
  static get is() { return "zonos-stripe-input"; }
97
97
  static get encapsulation() { return "scoped"; }
@@ -201,24 +201,24 @@ export class ZonosStripePhoneInput {
201
201
  .filter(Boolean)
202
202
  .sort((a, b) => a.displayName.localeCompare(b.displayName))
203
203
  : [];
204
- return (h(Host, { key: 'eb23ab75a61aa94b7d4299f39b77d38ec1cbec20', class: classes([
204
+ return (h(Host, { key: '35155697da59924b76afa4e5e23ef658ceb69bd7', class: classes([
205
205
  'zonos--phone-input zonos--elements',
206
206
  isDark && 'dark',
207
- ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: '4690d6346d04820fa677e02483164f1e39c348ad', class: classes([
207
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: '66c66da60fded977af4d5ef597a831ac117b3ed1', class: classes([
208
208
  'zonos--label-wrapper',
209
209
  this.disabled && 'disabled',
210
210
  this.isFocused && 'focused',
211
211
  hasContent && 'has-content',
212
212
  this.error && 'has-error',
213
213
  this.inputLabel && 'has-label',
214
- ]) }, h("select", { key: 'be7fab230afd6e19cb133d13f9d1f946893dd85e', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
214
+ ]) }, h("select", { key: 'a76b59a558272bda11c091bf977c90a1abd1fdbc', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
215
215
  var _a;
216
216
  return (h("option", { key: option.countryCode, selected: option.countryCode === ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.countryCode), value: option.countryCode }, option.displayName, " (+", option.phoneCode, ")"));
217
- })), h("div", { key: '2da719a561ed71bdaf6563249ceff2556b6a8323', class: "zonos--input-group" }, h("div", { key: 'bb533773af30f0c8c4be47f76ee642fd589a40b6', class: "zonos--select-wrapper" }, h("div", { key: '465e9b7b41ba99852cee2a36822e2a753d401337', class: "zonos--country-select" }, h("div", { key: '5f2ba6cd1937831f3b5cb61f98d501497534b758', class: "zonos--country-select-content" }, this.selectedCountry && (h("div", { key: '4f5861174efa761ec9285b5e8721b3b46d5979cb', class: "zonos--country-select-selected" }, h("div", { key: '47c28fd20118f92c9ee18e82ebdafdf212e6740e', class: "zonos--country-flag-wrapper" }, h("zonos-country-flag", { key: '28fae4f5074ca62d7592142878e3c8d48229a83e', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), h("div", { key: '9d940039033f7d09b9d6e2ac9f005e3b21060b70', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), h("div", { key: '5cbbee5f1405d05717873f287b3b6d3bb0f92ede', class: "zonos--select-chevron-wrapper" }, h("zonos-icon", { key: 'd6c493e07ee068a848e10debda7549f4cd4fc28b', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))))), h("div", { key: '2c4ec88e83d61e0305d53285c8bd5107f98eb15f', class: classes([
217
+ })), h("div", { key: '56cc5d0e6eedc76282df9f43f9384d5ea6eacf86', class: "zonos--input-group" }, h("div", { key: '28e2e4e627e3f7439e2d5b474632585da41d531a', class: "zonos--select-wrapper" }, h("div", { key: 'bb2e59a82ca9cb497efa705361d996debc424f60', class: "zonos--country-select" }, h("div", { key: '14b7d08d477383dc16db4c15bd6132a71206226c', class: "zonos--country-select-content" }, this.selectedCountry && (h("div", { key: 'e8a0cde2b080bf30314069656c132d21e4b3ac89', class: "zonos--country-select-selected" }, h("div", { key: '13c3a5947263770aa8fd15126dc386c6ea51ca79', class: "zonos--country-flag-wrapper" }, h("zonos-country-flag", { key: 'f9861e6165265b3095889bd1158ac9791032628c', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), h("div", { key: 'e0c54a4e62f6b5aa2d01c8bfdd8dac3338dbb45a', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), h("div", { key: 'e2c309de467ed0e4d7b26ea2a3bca4443e254b82', class: "zonos--select-chevron-wrapper" }, h("zonos-icon", { key: '36848392b8467f3118222ae9c22b1b02071a3350', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))))), h("div", { key: '3dba6c65337a2f36b16b7f8d0284c0fccade7846', class: classes([
218
218
  'zonos--input-container',
219
219
  this.inputLabel && 'has-label',
220
220
  hasContent && 'has-content',
221
- ]) }, h("input", Object.assign({ key: '434232fdedebf3c4cd6f7e2c70d41a4cd5ad8104' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: "zonos--floated-input", disabled: this.disabled, id: this.inputId, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handlePhoneChange, placeholder: ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.phonePlaceholder) || '', ref: el => (this.inputRef = el), type: "tel" })), this.inputLabel && (h("div", { key: '4ff0d61108d5cc56381eec6f94a50485c149f360', class: "zonos--floated-label" }, h("label", { key: '37db631b0d55253787c0f2d8ae455bbf3ebfc8bb', htmlFor: this.inputId }, this.inputLabel || translate('Phone number'))))))), this.error && (h("zonos-text", { key: '260b115c3efc9ece71cf31eb24a39efc4c21a64c', textColor: "red-600" }, this.error))));
221
+ ]) }, h("input", Object.assign({ key: '4241efa2b016079e7107050bccd7866cb98a9e49' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: "zonos--floated-input", disabled: this.disabled, id: this.inputId, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handlePhoneChange, placeholder: ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.phonePlaceholder) || '', ref: el => (this.inputRef = el), type: "tel" })), this.inputLabel && (h("div", { key: 'dc2f3d2b183f2e6ae24806c00c2e0d5852344287', class: "zonos--floated-label" }, h("label", { key: 'd039a17ad718f85e3566f83b8ceced43cac01b83', htmlFor: this.inputId }, this.inputLabel || translate('Phone number'))))))), this.error && (h("zonos-text", { key: 'a15dcd089b02a952d4f29fdb6e9d88390ef2d2c2', textColor: "red-600" }, this.error))));
222
222
  }
223
223
  static get is() { return "zonos-stripe-phone-input"; }
224
224
  static get encapsulation() { return "scoped"; }
@@ -259,7 +259,7 @@ export class ZonosStripePhoneInput {
259
259
  "mutable": false,
260
260
  "complexType": {
261
261
  "original": "GenericZonosSettings['countryFields'] | null",
262
- "resolved": "null | undefined | { CC: CountryFields; TO: CountryFields; AD: CountryFields; AE: CountryFields; AF: CountryFields; AG: CountryFields; AI: CountryFields; AL: CountryFields; AM: CountryFields; AO: CountryFields; AQ: CountryFields; AR: CountryFields; AS: CountryFields; AT: CountryFields; AU: CountryFields; AW: CountryFields; AX: CountryFields; AZ: CountryFields; BA: CountryFields; BB: CountryFields; BD: CountryFields; BE: CountryFields; BF: CountryFields; BG: CountryFields; BH: CountryFields; BI: CountryFields; BJ: CountryFields; BL: CountryFields; BM: CountryFields; BN: CountryFields; BO: CountryFields; BQ: CountryFields; BR: CountryFields; BS: CountryFields; BT: CountryFields; BV: CountryFields; BW: CountryFields; BY: CountryFields; BZ: CountryFields; CA: CountryFields; CD: CountryFields; CF: CountryFields; CG: CountryFields; CH: CountryFields; CI: CountryFields; CK: CountryFields; CL: CountryFields; CM: CountryFields; CN: CountryFields; CO: CountryFields; CR: CountryFields; CU: CountryFields; CV: CountryFields; CW: CountryFields; CX: CountryFields; CY: CountryFields; CZ: CountryFields; DE: CountryFields; DJ: CountryFields; DK: CountryFields; DM: CountryFields; DO: CountryFields; DZ: CountryFields; EC: CountryFields; EE: CountryFields; EG: CountryFields; EH: CountryFields; ER: CountryFields; ES: CountryFields; ET: CountryFields; FI: CountryFields; FJ: CountryFields; FK: CountryFields; FM: CountryFields; FO: CountryFields; FR: CountryFields; GA: CountryFields; GB: CountryFields; GD: CountryFields; GE: CountryFields; GF: CountryFields; GG: CountryFields; GH: CountryFields; GI: CountryFields; GL: CountryFields; GM: CountryFields; GN: CountryFields; GP: CountryFields; GQ: CountryFields; GR: CountryFields; GS: CountryFields; GT: CountryFields; GU: CountryFields; GW: CountryFields; GY: CountryFields; HK: CountryFields; HM: CountryFields; HN: CountryFields; HR: CountryFields; HT: CountryFields; HU: CountryFields; IC: CountryFields; ID: CountryFields; IE: CountryFields; IL: CountryFields; IM: CountryFields; IN: CountryFields; IO: CountryFields; IQ: CountryFields; IR: CountryFields; IS: CountryFields; IT: CountryFields; JE: CountryFields; JM: CountryFields; JO: CountryFields; JP: CountryFields; KE: CountryFields; KG: CountryFields; KH: CountryFields; KI: CountryFields; KM: CountryFields; KN: CountryFields; KP: CountryFields; KR: CountryFields; KW: CountryFields; KY: CountryFields; KZ: CountryFields; LA: CountryFields; LB: CountryFields; LC: CountryFields; LI: CountryFields; LK: CountryFields; LR: CountryFields; LS: CountryFields; LT: CountryFields; LU: CountryFields; LV: CountryFields; LY: CountryFields; MA: CountryFields; MC: CountryFields; MD: CountryFields; ME: CountryFields; MF: CountryFields; MG: CountryFields; MH: CountryFields; MK: CountryFields; ML: CountryFields; MM: CountryFields; MN: CountryFields; MO: CountryFields; MP: CountryFields; MQ: CountryFields; MR: CountryFields; MS: CountryFields; MT: CountryFields; MU: CountryFields; MV: CountryFields; MW: CountryFields; MX: CountryFields; MY: CountryFields; MZ: CountryFields; NA: CountryFields; NC: CountryFields; NE: CountryFields; NF: CountryFields; NG: CountryFields; NI: CountryFields; NL: CountryFields; NO: CountryFields; NP: CountryFields; NR: CountryFields; NU: CountryFields; NZ: CountryFields; OM: CountryFields; PA: CountryFields; PE: CountryFields; PF: CountryFields; PG: CountryFields; PH: CountryFields; PK: CountryFields; PL: CountryFields; PM: CountryFields; PN: CountryFields; PR: CountryFields; PS: CountryFields; PT: CountryFields; PW: CountryFields; PY: CountryFields; QA: CountryFields; RE: CountryFields; RO: CountryFields; RS: CountryFields; RU: CountryFields; RW: CountryFields; SA: CountryFields; SB: CountryFields; SC: CountryFields; SD: CountryFields; SE: CountryFields; SG: CountryFields; SH: CountryFields; SI: CountryFields; SJ: CountryFields; SK: CountryFields; SL: CountryFields; SM: CountryFields; SN: CountryFields; SO: CountryFields; SR: CountryFields; SS: CountryFields; ST: CountryFields; SV: CountryFields; SX: CountryFields; SY: CountryFields; SZ: CountryFields; TC: CountryFields; TD: CountryFields; TF: CountryFields; TG: CountryFields; TH: CountryFields; TJ: CountryFields; TK: CountryFields; TL: CountryFields; TM: CountryFields; TN: CountryFields; TR: CountryFields; TT: CountryFields; TV: CountryFields; TW: CountryFields; TZ: CountryFields; UA: CountryFields; UG: CountryFields; UM: CountryFields; US: CountryFields; UY: CountryFields; UZ: CountryFields; VA: CountryFields; VC: CountryFields; VE: CountryFields; VG: CountryFields; VI: CountryFields; VN: CountryFields; VU: CountryFields; WF: CountryFields; WS: CountryFields; YE: CountryFields; YT: CountryFields; ZA: CountryFields; ZM: CountryFields; ZW: CountryFields; }",
262
+ "resolved": "null | undefined | { AQ: CountryFields; AX: CountryFields; CC: CountryFields; ER: CountryFields; PF: CountryFields; SO: CountryFields; SX: CountryFields; TO: CountryFields; AD: CountryFields; AE: CountryFields; AF: CountryFields; AG: CountryFields; AI: CountryFields; AL: CountryFields; AM: CountryFields; AO: CountryFields; AR: CountryFields; AS: CountryFields; AT: CountryFields; AU: CountryFields; AW: CountryFields; AZ: CountryFields; BA: CountryFields; BB: CountryFields; BD: CountryFields; BE: CountryFields; BF: CountryFields; BG: CountryFields; BH: CountryFields; BI: CountryFields; BJ: CountryFields; BL: CountryFields; BM: CountryFields; BN: CountryFields; BO: CountryFields; BQ: CountryFields; BR: CountryFields; BS: CountryFields; BT: CountryFields; BV: CountryFields; BW: CountryFields; BY: CountryFields; BZ: CountryFields; CA: CountryFields; CD: CountryFields; CF: CountryFields; CG: CountryFields; CH: CountryFields; CI: CountryFields; CK: CountryFields; CL: CountryFields; CM: CountryFields; CN: CountryFields; CO: CountryFields; CR: CountryFields; CU: CountryFields; CV: CountryFields; CW: CountryFields; CX: CountryFields; CY: CountryFields; CZ: CountryFields; DE: CountryFields; DJ: CountryFields; DK: CountryFields; DM: CountryFields; DO: CountryFields; DZ: CountryFields; EC: CountryFields; EE: CountryFields; EG: CountryFields; EH: CountryFields; ES: CountryFields; ET: CountryFields; FI: CountryFields; FJ: CountryFields; FK: CountryFields; FM: CountryFields; FO: CountryFields; FR: CountryFields; GA: CountryFields; GB: CountryFields; GD: CountryFields; GE: CountryFields; GF: CountryFields; GG: CountryFields; GH: CountryFields; GI: CountryFields; GL: CountryFields; GM: CountryFields; GN: CountryFields; GP: CountryFields; GQ: CountryFields; GR: CountryFields; GS: CountryFields; GT: CountryFields; GU: CountryFields; GW: CountryFields; GY: CountryFields; HK: CountryFields; HM: CountryFields; HN: CountryFields; HR: CountryFields; HT: CountryFields; HU: CountryFields; IC: CountryFields; ID: CountryFields; IE: CountryFields; IL: CountryFields; IM: CountryFields; IN: CountryFields; IO: CountryFields; IQ: CountryFields; IR: CountryFields; IS: CountryFields; IT: CountryFields; JE: CountryFields; JM: CountryFields; JO: CountryFields; JP: CountryFields; KE: CountryFields; KG: CountryFields; KH: CountryFields; KI: CountryFields; KM: CountryFields; KN: CountryFields; KP: CountryFields; KR: CountryFields; KW: CountryFields; KY: CountryFields; KZ: CountryFields; LA: CountryFields; LB: CountryFields; LC: CountryFields; LI: CountryFields; LK: CountryFields; LR: CountryFields; LS: CountryFields; LT: CountryFields; LU: CountryFields; LV: CountryFields; LY: CountryFields; MA: CountryFields; MC: CountryFields; MD: CountryFields; ME: CountryFields; MF: CountryFields; MG: CountryFields; MH: CountryFields; MK: CountryFields; ML: CountryFields; MM: CountryFields; MN: CountryFields; MO: CountryFields; MP: CountryFields; MQ: CountryFields; MR: CountryFields; MS: CountryFields; MT: CountryFields; MU: CountryFields; MV: CountryFields; MW: CountryFields; MX: CountryFields; MY: CountryFields; MZ: CountryFields; NA: CountryFields; NC: CountryFields; NE: CountryFields; NF: CountryFields; NG: CountryFields; NI: CountryFields; NL: CountryFields; NO: CountryFields; NP: CountryFields; NR: CountryFields; NU: CountryFields; NZ: CountryFields; OM: CountryFields; PA: CountryFields; PE: CountryFields; PG: CountryFields; PH: CountryFields; PK: CountryFields; PL: CountryFields; PM: CountryFields; PN: CountryFields; PR: CountryFields; PS: CountryFields; PT: CountryFields; PW: CountryFields; PY: CountryFields; QA: CountryFields; RE: CountryFields; RO: CountryFields; RS: CountryFields; RU: CountryFields; RW: CountryFields; SA: CountryFields; SB: CountryFields; SC: CountryFields; SD: CountryFields; SE: CountryFields; SG: CountryFields; SH: CountryFields; SI: CountryFields; SJ: CountryFields; SK: CountryFields; SL: CountryFields; SM: CountryFields; SN: CountryFields; SR: CountryFields; SS: CountryFields; ST: CountryFields; SV: CountryFields; SY: CountryFields; SZ: CountryFields; TC: CountryFields; TD: CountryFields; TF: CountryFields; TG: CountryFields; TH: CountryFields; TJ: CountryFields; TK: CountryFields; TL: CountryFields; TM: CountryFields; TN: CountryFields; TR: CountryFields; TT: CountryFields; TV: CountryFields; TW: CountryFields; TZ: CountryFields; UA: CountryFields; UG: CountryFields; UM: CountryFields; US: CountryFields; UY: CountryFields; UZ: CountryFields; VA: CountryFields; VC: CountryFields; VE: CountryFields; VG: CountryFields; VI: CountryFields; VN: CountryFields; VU: CountryFields; WF: CountryFields; WS: CountryFields; YE: CountryFields; YT: CountryFields; ZA: CountryFields; ZM: CountryFields; ZW: CountryFields; }",
263
263
  "references": {
264
264
  "GenericZonosSettings": {
265
265
  "location": "import",
@@ -105,14 +105,14 @@ export class ZonosStripeSelect {
105
105
  const fontSize = zonosStore.appearance.fontSizeInputValue || 16;
106
106
  const hasContent = this.internalValue || this.selectPlaceholder;
107
107
  const showClearButton = this.isClearable && this.internalValue && !this.isDisabled;
108
- return (h(Host, { key: '62511439918e73ea4404c4b077c5da143b1459a7', class: classes([
108
+ return (h(Host, { key: 'c6bf5ed45fd7756985bd97b542933d25a472aa2c', class: classes([
109
109
  'zonos--select zonos--elements',
110
110
  isDark && 'dark',
111
111
  this.isError && 'has-error',
112
- ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: 'cc826990fe112f66682e522e2fbbe808b3017537', class: classes([
112
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: '7ff61460b6ac3c5b3e6e35000f3713609a26ebe2', class: classes([
113
113
  'zonos--label-wrapper',
114
114
  this.isDisabled && 'disabled',
115
- ]) }, h("select", Object.assign({ key: '2803799a7226bf79d173093a4b1773ef57e122f8' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
115
+ ]) }, h("select", Object.assign({ key: '9d644b04d7b46621245581c5143d7310e1d5396d' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
116
116
  'zonos--floated-select',
117
117
  !!this.selectLabel && 'has-label',
118
118
  hasContent && 'has-content',
@@ -122,9 +122,9 @@ export class ZonosStripeSelect {
122
122
  this.selectChange.emit(select.value);
123
123
  this.selectedValue = select.value;
124
124
  this.el.dispatchEvent(new Event('change'));
125
- }, required: this.required }), h("option", { key: 'ab93bc1a38ab1c897fc57c1b6a55941c021f6944', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || translate('Select')), this.internalOptions.map(option => (h("option", { key: option.value, selected: this.internalValue === option.value ||
125
+ }, required: this.required }), h("option", { key: 'b448bc3c2a083334108afad566feff22bf89547a', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || translate('Select')), this.internalOptions.map(option => (h("option", { key: option.value, selected: this.internalValue === option.value ||
126
126
  // Sometimes google returns the label not the code for some countries
127
- this.internalValue === option.label, value: option.value }, option.label)))), h("div", { key: '4d4995d1770bf99e05c0d1b6dbdddbe828f2b3b0', class: "zonos--floated-label" }, h("label", { key: '2b352cf1413f4a539c6f62d7df285dbea1629b77', htmlFor: this.selectId }, this.selectLabel)), h("div", { key: '707a0df092ed2196fa8e503d79448890a9e36616', class: "zonos--actions-wrapper" }, showClearButton && (h("button", { key: '83a605fd7d3799a1ce6f4300193c63722f3f8b7e', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, h("zonos-icon", { key: 'da9e65471ec1b4f89119a71db657f06903a11a3d', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), h("zonos-icon", { key: '4b479d3f9fae286e0ebb6290d9954f08982a4e5e', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (h("zonos-text", { key: '6c9e2fa9747064203763c00f39dbb08fb413cf0c', textColor: "red-600" }, this.error))));
127
+ this.internalValue === option.label, value: option.value }, option.label)))), h("div", { key: '14b3c9dad1202d432ba2a30d03e8335aebaafa89', class: "zonos--floated-label" }, h("label", { key: '4e7870ce3eeaf4ea6fd116e3a486537bebb88c87', htmlFor: this.selectId }, this.selectLabel)), h("div", { key: '4567ca19c1e018d483105c23ca781e0bbd1d2c3a', class: "zonos--actions-wrapper" }, showClearButton && (h("button", { key: 'cdceea7255fdd19177b82c42878a6c4a20690a1a', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, h("zonos-icon", { key: '099b2f1a4fb475bfa76b0f4aeee9e66f27d473f3', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), h("zonos-icon", { key: '8c7fdaf2de40a14e4fa0f8f3598851edac1c1ae6', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (h("zonos-text", { key: '1cb569a7feeea85874c852a1c69cf88076fd6856', textColor: "red-600" }, this.error))));
128
128
  }
129
129
  static get is() { return "zonos-stripe-select"; }
130
130
  static get encapsulation() { return "shadow"; }
@@ -324,8 +324,9 @@ export class ZonosStripeSelect {
324
324
  "resolved": "SelectOption[]",
325
325
  "references": {
326
326
  "SelectOption": {
327
- "location": "global",
328
- "id": "global::SelectOption"
327
+ "location": "local",
328
+ "path": "/home/runner/work/fe-3-zonos-elements/fe-3-zonos-elements/src/components/common/zonos-stripe-select/zonos-stripe-select.tsx",
329
+ "id": "src/components/common/zonos-stripe-select/zonos-stripe-select.tsx::SelectOption"
329
330
  }
330
331
  }
331
332
  },
@@ -152,6 +152,8 @@
152
152
  transform: translateX(calc(100% - var(--zonos-elements-hello-bubble-size) / 2));
153
153
  right: 0;
154
154
  left: auto;
155
+ border-top-left-radius: 0;
156
+ border-bottom-left-radius: 0;
155
157
  border-top-right-radius: calc(var(--zonos-elements-hello-bubble-size) / 2);
156
158
  border-bottom-right-radius: calc(var(--zonos-elements-hello-bubble-size) / 2);
157
159
  }
@@ -7,6 +7,7 @@ import { getZonosSettings } from "../utils/api/getZonosSettings";
7
7
  import { initCheckout } from "../utils/checkout/initCheckout";
8
8
  import { initCollect } from "../utils/checkout/initCollect";
9
9
  import { initInvoice } from "../utils/checkout/initInvoice";
10
+ import { injectDomesticElementHideStyle } from "../utils/checkout/injectDomesticElementHideStyle";
10
11
  import { handleFetch } from "../utils/handleFetch";
11
12
  import { initHello } from "../utils/hello/initHello";
12
13
  import { CheckoutAddressService } from "../utils/iframe/CheckoutAddressService";
@@ -234,6 +235,9 @@ export class ZonosController {
234
235
  zonosSettings: json,
235
236
  });
236
237
  zonosStore.zonosMode = zonosMode;
238
+ // Inject the merchant's domestic-element hide style now that
239
+ // checkoutSettings have been merged into the store.
240
+ injectDomesticElementHideStyle(zonosStore.checkoutSettings.domesticElementSelector);
237
241
  // setup google font after store loaded
238
242
  void this.setupGoogleFont();
239
243
  if (zonosStore.helloSettings.visibilityStatus === 'DISABLED') {
@@ -331,7 +335,7 @@ export class ZonosController {
331
335
  zonosStore.organizationName = organizationName;
332
336
  }
333
337
  render() {
334
- return h(Host, { key: '681a81baa59bfe91e9fe0927aee49fa720fcb35b', class: "zonos--elements" });
338
+ return h(Host, { key: 'fe1f262a2bfbf4f6f39c0f23783c132bde8d2dd7', class: "zonos--elements" });
335
339
  }
336
340
  static get is() { return "zonos-controller"; }
337
341
  static get encapsulation() { return "shadow"; }
@@ -602,7 +606,7 @@ export class ZonosController {
602
606
  "signature": "(countryCode: CountryCode) => Promise<void>",
603
607
  "parameters": [{
604
608
  "name": "countryCode",
605
- "type": "\"CC\" | \"TO\" | \"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AQ\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BR\" | \"BS\" | \"BT\" | \"BV\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CD\" | \"CF\" | \"CG\" | \"CH\" | \"CI\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CV\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB\" | \"GD\" | \"GE\" | \"GF\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GP\" | \"GQ\" | \"GR\" | \"GS\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HM\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"IC\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MF\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NC\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PM\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RE\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SD\" | \"SE\" | \"SG\" | \"SH\" | \"SI\" | \"SJ\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TF\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"UM\" | \"US\" | \"UY\" | \"UZ\" | \"VA\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WF\" | \"WS\" | \"YE\" | \"YT\" | \"ZA\" | \"ZM\" | \"ZW\"",
609
+ "type": "\"AQ\" | \"AX\" | \"CC\" | \"ER\" | \"PF\" | \"SO\" | \"SX\" | \"TO\" | \"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BR\" | \"BS\" | \"BT\" | \"BV\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CD\" | \"CF\" | \"CG\" | \"CH\" | \"CI\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CV\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB\" | \"GD\" | \"GE\" | \"GF\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GP\" | \"GQ\" | \"GR\" | \"GS\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HM\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"IC\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MF\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NC\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PM\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RE\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SD\" | \"SE\" | \"SG\" | \"SH\" | \"SI\" | \"SJ\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TF\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"UM\" | \"US\" | \"UY\" | \"UZ\" | \"VA\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WF\" | \"WS\" | \"YE\" | \"YT\" | \"ZA\" | \"ZM\" | \"ZW\"",
606
610
  "docs": ""
607
611
  }],
608
612
  "references": {
@@ -16,6 +16,7 @@ import { setZCountryUrlParam } from "../../utils/hello/setZCountryUrlParam";
16
16
  import { log } from "../../utils/logging/log";
17
17
  import { logError } from "../../utils/logging/logError";
18
18
  import { performBlurCurrency, removeBlurCurrency, } from "../../../utils/performBlurCurrency";
19
+ import { toggleBigcommerceNativeCurrencySelector } from "../../../utils/toggleBigcommerceNativeCurrencySelector";
19
20
  const { dispose: localizationDispose, onChange: localizationStoreOnChange, state: localizationStore, } = createStore({
20
21
  countryLandedCost: null,
21
22
  customMessages: [],
@@ -177,6 +178,11 @@ const localizationStoreUpdateSelectedCountryCode = ({ isInitializing, newSelecte
177
178
  localizationStore.isDisabledCountry = isDisabledCountry;
178
179
  log(`${localizationStore.selectedCountryCode} is a disabled country: ${localizationStore.isDisabledCountry}`);
179
180
  addInternationalHideClass();
181
+ // Hide / restore BC's native currency selector based on the new
182
+ // shipping-zone state. Runs here (rather than inside `currencyDisplay`)
183
+ // because `currencyDisplay` is also invoked from the price-mutation
184
+ // observer in `zonos-hello.tsx`, which fires on every DOM render.
185
+ toggleBigcommerceNativeCurrencySelector();
180
186
  if (!selectedCountryCode) {
181
187
  return;
182
188
  }
@@ -0,0 +1,116 @@
1
+ import { log } from "../logging/log";
2
+ const STYLE_ID = 'zonos-domestic-element-hide-style';
3
+ /**
4
+ * Probe whether the host parser understands `:is(...)`. Real browsers do
5
+ * (Chrome 88+, Firefox 78+, Safari 14+); older environments and some test
6
+ * runtimes don't. When supported, we wrap the merchant selector in a single
7
+ * `:is(...)` so a single `body.z-intl ` ancestor scopes the whole group.
8
+ * When not supported, we distribute the prefix across each top-level
9
+ * comma-separated piece instead — so the rule still applies in that
10
+ * environment.
11
+ */
12
+ const supportsIsSelector = typeof document !== 'undefined' &&
13
+ (() => {
14
+ try {
15
+ document.querySelector(':is(.zonos-is-probe)');
16
+ return true;
17
+ }
18
+ catch (_a) {
19
+ return false;
20
+ }
21
+ })();
22
+ /**
23
+ * Split a CSS selector string on top-level commas. Commas inside parentheses
24
+ * (`:not(.a, .b)`, `:nth-child(2n+1)`) or attribute brackets
25
+ * (`[data-foo=","]`) are preserved as part of the piece.
26
+ */
27
+ const splitTopLevelCommas = (input) => {
28
+ const parts = [];
29
+ let parenDepth = 0;
30
+ let bracketDepth = 0;
31
+ let current = '';
32
+ for (let i = 0; i < input.length; i++) {
33
+ const char = input[i];
34
+ if (char === '(') {
35
+ parenDepth++;
36
+ }
37
+ else if (char === ')') {
38
+ parenDepth--;
39
+ }
40
+ else if (char === '[') {
41
+ bracketDepth++;
42
+ }
43
+ else if (char === ']') {
44
+ bracketDepth--;
45
+ }
46
+ if (char === ',' && parenDepth === 0 && bracketDepth === 0) {
47
+ const trimmed = current.trim();
48
+ if (trimmed) {
49
+ parts.push(trimmed);
50
+ }
51
+ current = '';
52
+ }
53
+ else {
54
+ current += char;
55
+ }
56
+ }
57
+ const trimmed = current.trim();
58
+ if (trimmed) {
59
+ parts.push(trimmed);
60
+ }
61
+ return parts;
62
+ };
63
+ /**
64
+ * Build the fully-scoped selector that will land in the injected `<style>`
65
+ * tag. Exported so tests can exercise both branches of the `:is()`-support
66
+ * fallback without having to mock the module-level probe.
67
+ */
68
+ export const buildDomesticHideSelector = ({ merchantSelector, supportsIs, }) => {
69
+ if (supportsIs) {
70
+ return `body.z-intl :is(${merchantSelector})`;
71
+ }
72
+ // Fallback: distribute the `body.z-intl ` ancestor prefix across each
73
+ // top-level comma-separated piece. Parentheses/brackets are respected,
74
+ // so pseudo-classes that take selector lists (`:not(.a, .b)`) and
75
+ // attribute selectors that contain commas stay intact.
76
+ return splitTopLevelCommas(merchantSelector)
77
+ .map(part => `body.z-intl ${part}`)
78
+ .join(', ');
79
+ };
80
+ /**
81
+ * Inject a `<style>` tag that hides storefront elements matching the
82
+ * merchant-configured `checkoutSettings.domesticElementSelector`, scoped to
83
+ * `body.z-intl` so the rule only takes effect when the shopper is in a
84
+ * shipping zone (Hello sets the body class). The exact selector we emit is
85
+ * also the selector we validate — see [[buildDomesticHideSelector]] for the
86
+ * `:is()`-support branching.
87
+ */
88
+ export const injectDomesticElementHideStyle = (domesticElementSelector) => {
89
+ if (typeof document === 'undefined' || !domesticElementSelector) {
90
+ return;
91
+ }
92
+ const fullSelector = buildDomesticHideSelector({
93
+ merchantSelector: domesticElementSelector,
94
+ supportsIs: supportsIsSelector,
95
+ });
96
+ // The browser's own parser is the source of truth — `document.querySelector`
97
+ // throws `DOMException(SyntaxError)` for syntactically invalid selectors.
98
+ // Validating the exact string we're about to emit catches both malformed
99
+ // input and payloads that close `:is(` early to escape the wrapper.
100
+ try {
101
+ document.querySelector(fullSelector);
102
+ }
103
+ catch (_a) {
104
+ log(`Skip domesticElementSelector injection: "${domesticElementSelector}" produced an invalid CSS selector ("${fullSelector}")`, 'warn');
105
+ return;
106
+ }
107
+ // Already injected — settings can re-emit on hot reload during dev.
108
+ if (document.getElementById(STYLE_ID)) {
109
+ return;
110
+ }
111
+ const style = document.createElement('style');
112
+ style.id = STYLE_ID;
113
+ style.textContent = `${fullSelector} { display: none !important; }`;
114
+ (document.head || document.body).appendChild(style);
115
+ log('Zonos domestic element hide style injected');
116
+ };
@@ -19,15 +19,32 @@ export const getContrastColor = ({ backgroundColor, color, }) => {
19
19
  // no need to change the color if it's already contrast enough
20
20
  return color;
21
21
  }
22
- if (isDarkColor(color)) {
23
- return '#ffffff';
22
+ // Try both darker and lighter shifts of the same hue at increasing
23
+ // amounts; at each step prefer the candidate with higher contrast against
24
+ // the background and return as soon as one meets the threshold. This keeps
25
+ // the result close to the original color whenever possible and handles
26
+ // both light-on-light and dark-on-dark pairings symmetrically.
27
+ const adjustAmounts = [25, 50, 70];
28
+ for (const amount of adjustAmounts) {
29
+ const candidates = [
30
+ tinycolor(color).darken(amount).toHexString(),
31
+ tinycolor(color).lighten(amount).toHexString(),
32
+ ];
33
+ candidates.sort((a, b) => tinycolor.readability(backgroundColor, b) -
34
+ tinycolor.readability(backgroundColor, a));
35
+ for (const candidate of candidates) {
36
+ if (isContrastColor({
37
+ backgroundColor1: backgroundColor,
38
+ backgroundColor2: candidate,
39
+ })) {
40
+ return candidate;
41
+ }
42
+ }
24
43
  }
25
- const newDarkerColor = tinycolor(color).darken(25).toHexString();
26
- const newLigherColor = tinycolor(color).lighten(25).toHexString();
27
- // get readibility of the color
28
- const isNewColorContrastEnough = isContrastColor({
29
- backgroundColor1: backgroundColor,
30
- backgroundColor2: newDarkerColor,
31
- });
32
- return isNewColorContrastEnough ? newDarkerColor : newLigherColor;
44
+ // Last resort: pick whichever absolute extreme is more readable against
45
+ // the background.
46
+ return tinycolor.readability(backgroundColor, '#000000') >=
47
+ tinycolor.readability(backgroundColor, '#ffffff')
48
+ ? '#000000'
49
+ : '#ffffff';
33
50
  };
@@ -11,7 +11,7 @@ import { performBlurSpecificElement, removeBlurSpecificElement, } from "../../..
11
11
  const convertCurrency = (element) => {
12
12
  var _a;
13
13
  const amount = getInitialElementAmount(element);
14
- if (!amount || isNaN(amount)) {
14
+ if (amount === null || isNaN(amount)) {
15
15
  return;
16
16
  }
17
17
  const currentIntlValue = element.getAttribute('data-zintl');