@zonos/elements 1.3.204 → 1.3.205

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 (269) hide show
  1. package/dist/cjs/{cart-0d91ad0b.js → cart-193af95a.js} +6 -5
  2. package/dist/cjs/{debounce-94e1b7ff.js → debounce-0b9c0f8a.js} +1 -1
  3. package/dist/cjs/{getBorderRadius-8d3b1049.js → getBorderRadius-c424eb05.js} +1 -1
  4. package/dist/cjs/{index-0993f42d.js → index-1c710d00.js} +455 -377
  5. package/dist/cjs/index.cjs.js +7 -7
  6. package/dist/cjs/{isDarkColor-bcf49625.js → isDarkColor-35e8daec.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{localization-2f17c95f.js → localization-88da0959.js} +1 -1
  9. package/dist/cjs/{paypal-9953115b.js → paypal-8525404c.js} +4 -4
  10. package/dist/cjs/zonos-address_11.cjs.entry.js +273 -121
  11. package/dist/cjs/zonos-badge.cjs.entry.js +26 -4
  12. package/dist/cjs/zonos-banner.cjs.entry.js +6 -5
  13. package/dist/cjs/zonos-button_3.cjs.entry.js +89 -24
  14. package/dist/cjs/zonos-card.cjs.entry.js +10 -9
  15. package/dist/cjs/zonos-cart-items_14.cjs.entry.js +193 -74
  16. package/dist/cjs/zonos-checkout.cjs.entry.js +90 -35
  17. package/dist/cjs/zonos-collapse.cjs.entry.js +8 -2
  18. package/dist/cjs/zonos-component.cjs.entry.js +10 -1
  19. package/dist/cjs/zonos-controller.cjs.entry.js +6 -8
  20. package/dist/cjs/zonos-country-flag.cjs.entry.js +8 -4
  21. package/dist/cjs/zonos-country-select_4.cjs.entry.js +52 -24
  22. package/dist/cjs/zonos-elements.cjs.js +2 -2
  23. package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +11 -10
  24. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +21 -13
  25. package/dist/cjs/zonos-hello.cjs.entry.js +29 -17
  26. package/dist/cjs/zonos-input.cjs.entry.js +18 -4
  27. package/dist/cjs/zonos-language-select_2.cjs.entry.js +15 -4
  28. package/dist/cjs/zonos-link.cjs.entry.js +4 -4
  29. package/dist/cjs/zonos-logo.cjs.entry.js +8 -2
  30. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +8 -8
  31. package/dist/cjs/zonos-stripe-input.cjs.entry.js +25 -9
  32. package/dist/cjs/zonos-text.cjs.entry.js +11 -4
  33. package/dist/cjs/zonos-toggle.cjs.entry.js +5 -3
  34. package/dist/cjs/zonos-tooltip.cjs.entry.js +7 -1
  35. package/dist/cjs/zonos-v-stack.cjs.entry.js +6 -2
  36. package/dist/cjs/{zonosStore-9264749e.js → zonosStore-7c1e1bc1.js} +4 -5
  37. package/dist/collection/collection-manifest.json +1 -1
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.js +0 -4
  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-address-update-dialog/zonos-address-update-dialog.js +24 -13
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.js +6 -0
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +3 -2
  43. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +14 -10
  44. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +3 -1
  45. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +25 -9
  46. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.js +3 -1
  47. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +83 -28
  48. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +54 -17
  49. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +8 -0
  50. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +20 -12
  51. package/dist/collection/components/common/zonos-badge/zonos-badge.js +24 -2
  52. package/dist/collection/components/common/zonos-banner/zonos-banner.js +4 -3
  53. package/dist/collection/components/common/zonos-button/zonos-button.js +69 -18
  54. package/dist/collection/components/common/zonos-card/zonos-card.js +7 -6
  55. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +15 -2
  56. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +8 -2
  57. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +6 -0
  58. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +34 -9
  59. package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +5 -1
  60. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +6 -2
  61. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +6 -0
  62. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +48 -14
  63. package/dist/collection/components/common/zonos-icon/zonos-icon.js +12 -1
  64. package/dist/collection/components/common/zonos-input/zonos-input.js +15 -1
  65. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +5 -1
  66. package/dist/collection/components/common/zonos-link/zonos-link.js +3 -3
  67. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +7 -1
  68. package/dist/collection/components/common/zonos-logo/zonos-logo.js +6 -0
  69. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +4 -4
  70. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +7 -0
  71. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +5 -5
  72. package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +4 -1
  73. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +21 -5
  74. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +19 -14
  75. package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +37 -12
  76. package/dist/collection/components/common/zonos-text/zonos-text.js +9 -2
  77. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +3 -1
  78. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +6 -0
  79. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +4 -0
  80. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -7
  81. package/dist/collection/components/component-template/zonos-component/zonos-component.js +9 -0
  82. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +25 -13
  83. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +8 -1
  84. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +0 -2
  85. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +17 -9
  86. package/dist/collection/components/main/zonos-controller.js +0 -4
  87. package/dist/collection/components/store/checkout/stripe.js +2 -1
  88. package/dist/collection/components/stripe/zonos-address/zonos-address.js +21 -8
  89. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +13 -5
  90. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +73 -33
  91. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +11 -6
  92. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -2
  93. package/dist/esm/{cart-db61eb95.js → cart-a921e0b7.js} +7 -6
  94. package/dist/esm/{debounce-3a9f27a0.js → debounce-eaee3a94.js} +1 -1
  95. package/dist/esm/{getBorderRadius-78b28b4d.js → getBorderRadius-b18c924f.js} +1 -1
  96. package/dist/esm/{index-a457c60c.js → index-5ea9f81d.js} +455 -377
  97. package/dist/esm/index.js +7 -7
  98. package/dist/esm/{isDarkColor-31dd7dff.js → isDarkColor-d8bb8659.js} +1 -1
  99. package/dist/esm/loader.js +2 -2
  100. package/dist/esm/{localization-bf7224aa.js → localization-a2b8f9ed.js} +1 -1
  101. package/dist/esm/{paypal-2e0ffb07.js → paypal-67d51f03.js} +4 -4
  102. package/dist/esm/zonos-address_11.entry.js +273 -121
  103. package/dist/esm/zonos-badge.entry.js +26 -4
  104. package/dist/esm/zonos-banner.entry.js +6 -5
  105. package/dist/esm/zonos-button_3.entry.js +89 -24
  106. package/dist/esm/zonos-card.entry.js +10 -9
  107. package/dist/esm/zonos-cart-items_14.entry.js +193 -74
  108. package/dist/esm/zonos-checkout.entry.js +90 -35
  109. package/dist/esm/zonos-collapse.entry.js +8 -2
  110. package/dist/esm/zonos-component.entry.js +10 -1
  111. package/dist/esm/zonos-controller.entry.js +6 -8
  112. package/dist/esm/zonos-country-flag.entry.js +8 -4
  113. package/dist/esm/zonos-country-select_4.entry.js +52 -24
  114. package/dist/esm/zonos-elements.js +3 -3
  115. package/dist/esm/zonos-empty-state-payment_4.entry.js +11 -10
  116. package/dist/esm/zonos-hello-dialog.entry.js +21 -13
  117. package/dist/esm/zonos-hello.entry.js +29 -17
  118. package/dist/esm/zonos-input.entry.js +18 -4
  119. package/dist/esm/zonos-language-select_2.entry.js +15 -4
  120. package/dist/esm/zonos-link.entry.js +4 -4
  121. package/dist/esm/zonos-logo.entry.js +8 -2
  122. package/dist/esm/zonos-shipping-rich-radio.entry.js +8 -8
  123. package/dist/esm/zonos-stripe-input.entry.js +25 -9
  124. package/dist/esm/zonos-text.entry.js +11 -4
  125. package/dist/esm/zonos-toggle.entry.js +5 -3
  126. package/dist/esm/zonos-tooltip.entry.js +7 -1
  127. package/dist/esm/zonos-v-stack.entry.js +6 -2
  128. package/dist/esm/{zonosStore-d10a829f.js → zonosStore-1e015fa5.js} +4 -5
  129. package/dist/esm-es5/{cart-db61eb95.js → cart-a921e0b7.js} +1 -1
  130. package/dist/esm-es5/{debounce-3a9f27a0.js → debounce-eaee3a94.js} +1 -1
  131. package/dist/esm-es5/{getBorderRadius-78b28b4d.js → getBorderRadius-b18c924f.js} +1 -1
  132. package/dist/esm-es5/index-5ea9f81d.js +2 -0
  133. package/dist/esm-es5/index.js +1 -1
  134. package/dist/esm-es5/{isDarkColor-31dd7dff.js → isDarkColor-d8bb8659.js} +1 -1
  135. package/dist/esm-es5/loader.js +1 -1
  136. package/dist/esm-es5/{localization-bf7224aa.js → localization-a2b8f9ed.js} +1 -1
  137. package/dist/esm-es5/{paypal-2e0ffb07.js → paypal-67d51f03.js} +1 -1
  138. package/dist/esm-es5/zonos-address_11.entry.js +1 -1
  139. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  140. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  141. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  142. package/dist/esm-es5/zonos-card.entry.js +1 -1
  143. package/dist/esm-es5/zonos-cart-items_14.entry.js +1 -1
  144. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  145. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  146. package/dist/esm-es5/zonos-component.entry.js +1 -1
  147. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  148. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  149. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  150. package/dist/esm-es5/zonos-elements.js +1 -1
  151. package/dist/esm-es5/zonos-empty-state-payment_4.entry.js +1 -1
  152. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  153. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  154. package/dist/esm-es5/zonos-input.entry.js +1 -1
  155. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  156. package/dist/esm-es5/zonos-link.entry.js +1 -1
  157. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  158. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  159. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  160. package/dist/esm-es5/zonos-text.entry.js +1 -1
  161. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  162. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  163. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  164. package/dist/esm-es5/{zonosStore-d10a829f.js → zonosStore-1e015fa5.js} +1 -1
  165. package/dist/scripts/index.js +1 -1
  166. package/dist/scripts/loadZonos.js +1 -1
  167. package/dist/scripts/zonos.js +1 -1
  168. package/dist/zonos-elements/index.esm.js +1 -1
  169. package/dist/zonos-elements/p-019f8637.entry.js +1 -0
  170. package/dist/zonos-elements/p-02da743b.system.js +2 -0
  171. package/dist/zonos-elements/{p-df4c46a6.entry.js → p-05a91fe6.entry.js} +1 -1
  172. package/dist/zonos-elements/p-0c4c8d63.entry.js +1 -0
  173. package/dist/zonos-elements/{p-5d0f7364.system.js → p-0d2df4d2.system.js} +1 -1
  174. package/dist/zonos-elements/p-0d7af8be.system.entry.js +1 -0
  175. package/dist/zonos-elements/p-12cd9d3a.entry.js +1 -0
  176. package/dist/zonos-elements/{p-d42dfd32.system.js → p-1327b935.system.js} +1 -1
  177. package/dist/zonos-elements/p-1640d77f.js +2 -0
  178. package/dist/zonos-elements/{p-3d82a352.js → p-16678764.js} +1 -1
  179. package/dist/zonos-elements/p-16e858f9.entry.js +1 -0
  180. package/dist/zonos-elements/{p-c291bac1.entry.js → p-18149db1.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-db025dfc.system.entry.js → p-1ad099ec.system.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-c5fcbc92.system.entry.js → p-1bc09abe.system.entry.js} +1 -1
  183. package/dist/zonos-elements/p-20ac92e1.system.entry.js +1 -0
  184. package/dist/zonos-elements/{p-d46349d3.system.entry.js → p-22cb6880.system.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-c9aa902e.system.entry.js → p-2866fd29.system.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-0693422b.system.js → p-28fcd277.system.js} +1 -1
  187. package/dist/zonos-elements/p-3196bf98.entry.js +1 -0
  188. package/dist/zonos-elements/p-3afc27ef.entry.js +1 -0
  189. package/dist/zonos-elements/p-3c921768.system.entry.js +1 -0
  190. package/dist/zonos-elements/{p-ea6d87a1.system.js → p-3ee44728.system.js} +1 -1
  191. package/dist/zonos-elements/{p-be5afc91.system.entry.js → p-4329f616.system.entry.js} +1 -1
  192. package/dist/zonos-elements/{p-715d0f59.system.entry.js → p-43b72ad6.system.entry.js} +1 -1
  193. package/dist/zonos-elements/{p-f8d0d488.system.entry.js → p-469ccc66.system.entry.js} +1 -1
  194. package/dist/zonos-elements/p-4a3bb31d.entry.js +1 -0
  195. package/dist/zonos-elements/{p-80bbd9c0.system.entry.js → p-4fb88ebc.system.entry.js} +1 -1
  196. package/dist/zonos-elements/p-5fbaa153.system.entry.js +1 -0
  197. package/dist/zonos-elements/{p-6a71f76b.system.js → p-69577745.system.js} +1 -1
  198. package/dist/zonos-elements/p-6d467dfb.entry.js +1 -0
  199. package/dist/zonos-elements/{p-3284f459.system.entry.js → p-719e14a8.system.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-fbe36bc8.system.entry.js → p-7234f876.system.entry.js} +1 -1
  201. package/dist/zonos-elements/p-74bcb5cc.entry.js +1 -0
  202. package/dist/zonos-elements/{p-27987298.system.entry.js → p-7777d85f.system.entry.js} +1 -1
  203. package/dist/zonos-elements/{p-aa1193bc.entry.js → p-848e08e8.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-ab176281.system.entry.js → p-858b7908.system.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-f255e822.js → p-8609e956.js} +1 -1
  206. package/dist/zonos-elements/p-87e807b4.entry.js +1 -0
  207. package/dist/zonos-elements/{p-cdd3087f.system.entry.js → p-8debefec.system.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-d99d9e00.js → p-8e000d8d.js} +1 -1
  209. package/dist/zonos-elements/p-90c185ac.entry.js +1 -0
  210. package/dist/zonos-elements/p-91fc6911.entry.js +1 -0
  211. package/dist/zonos-elements/{p-851c642e.system.entry.js → p-93aeba62.system.entry.js} +1 -1
  212. package/dist/zonos-elements/p-9b8a5372.entry.js +1 -0
  213. package/dist/zonos-elements/{p-cb823c4d.system.js → p-9e9ac7a2.system.js} +1 -1
  214. package/dist/zonos-elements/p-9fa17353.js +1 -0
  215. package/dist/zonos-elements/{p-01987cb2.system.entry.js → p-a0f570ea.system.entry.js} +1 -1
  216. package/dist/zonos-elements/p-abc83d01.entry.js +1 -0
  217. package/dist/zonos-elements/{p-45ebc788.entry.js → p-b21b0330.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-488ad646.system.entry.js → p-b50eaeac.system.entry.js} +1 -1
  219. package/dist/zonos-elements/p-b922c441.system.js +1 -0
  220. package/dist/zonos-elements/{p-6b6a9dd6.system.js → p-be53e893.system.js} +1 -1
  221. package/dist/zonos-elements/{p-c50b3100.system.js → p-c666d557.system.js} +1 -1
  222. package/dist/zonos-elements/{p-f891d470.entry.js → p-c988cf84.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-26a634a5.system.entry.js → p-d649fb9a.system.entry.js} +1 -1
  224. package/dist/zonos-elements/p-dcbd57df.entry.js +1 -0
  225. package/dist/zonos-elements/p-dd0f8f06.system.entry.js +1 -0
  226. package/dist/zonos-elements/{p-a9307caa.js → p-dfe7d1dd.js} +1 -1
  227. package/dist/zonos-elements/p-e0587eeb.entry.js +1 -0
  228. package/dist/zonos-elements/p-e0ebbefe.entry.js +1 -0
  229. package/dist/zonos-elements/{p-72f37935.js → p-e337fa88.js} +1 -1
  230. package/dist/zonos-elements/{p-d6a10007.entry.js → p-e5152c04.entry.js} +1 -1
  231. package/dist/zonos-elements/p-eb2560b6.system.entry.js +1 -0
  232. package/dist/zonos-elements/p-ebe08e44.entry.js +1 -0
  233. package/dist/zonos-elements/{p-452070af.system.entry.js → p-eca09508.system.entry.js} +1 -1
  234. package/dist/zonos-elements/{p-e26c9e83.js → p-ed20f2f7.js} +1 -1
  235. package/dist/zonos-elements/{p-5c74e5c9.system.entry.js → p-ee7a661d.system.entry.js} +1 -1
  236. package/dist/zonos-elements/p-f98276ed.entry.js +1 -0
  237. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  238. package/dist/zonos-elements/zonos-elements.js +1 -1
  239. package/package.json +50 -40
  240. package/dist/esm-es5/index-a457c60c.js +0 -2
  241. package/dist/zonos-elements/p-04b43dd5.entry.js +0 -1
  242. package/dist/zonos-elements/p-06f25f75.entry.js +0 -1
  243. package/dist/zonos-elements/p-0944fe64.entry.js +0 -1
  244. package/dist/zonos-elements/p-0c62cfb3.entry.js +0 -1
  245. package/dist/zonos-elements/p-1dcdb65f.system.entry.js +0 -1
  246. package/dist/zonos-elements/p-25970cb8.system.entry.js +0 -1
  247. package/dist/zonos-elements/p-43633269.system.js +0 -2
  248. package/dist/zonos-elements/p-4b5197e7.system.entry.js +0 -1
  249. package/dist/zonos-elements/p-4c81112f.entry.js +0 -1
  250. package/dist/zonos-elements/p-4efa8187.js +0 -1
  251. package/dist/zonos-elements/p-5170bc41.entry.js +0 -1
  252. package/dist/zonos-elements/p-7ae5cd60.entry.js +0 -1
  253. package/dist/zonos-elements/p-8d870d4c.entry.js +0 -1
  254. package/dist/zonos-elements/p-9af5e93a.entry.js +0 -1
  255. package/dist/zonos-elements/p-bc8bda92.entry.js +0 -1
  256. package/dist/zonos-elements/p-c137dc82.js +0 -2
  257. package/dist/zonos-elements/p-c3d2422e.entry.js +0 -1
  258. package/dist/zonos-elements/p-c66fc4e5.system.entry.js +0 -1
  259. package/dist/zonos-elements/p-c767242b.entry.js +0 -1
  260. package/dist/zonos-elements/p-cf6ae7dc.entry.js +0 -1
  261. package/dist/zonos-elements/p-d2165441.system.entry.js +0 -1
  262. package/dist/zonos-elements/p-dcd6acd4.system.entry.js +0 -1
  263. package/dist/zonos-elements/p-dd1cfa74.entry.js +0 -1
  264. package/dist/zonos-elements/p-dfd1ba1d.entry.js +0 -1
  265. package/dist/zonos-elements/p-e68d5219.entry.js +0 -1
  266. package/dist/zonos-elements/p-ef3e05e5.system.js +0 -1
  267. package/dist/zonos-elements/p-f29edb65.entry.js +0 -1
  268. package/dist/zonos-elements/p-f655ec36.entry.js +0 -1
  269. package/dist/zonos-elements/p-fcc2e712.entry.js +0 -1
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0993f42d.js');
6
- const debounce = require('./debounce-94e1b7ff.js');
7
- const localization = require('./localization-2f17c95f.js');
8
- const zonosStore = require('./zonosStore-9264749e.js');
5
+ const index = require('./index-1c710d00.js');
6
+ const debounce = require('./debounce-0b9c0f8a.js');
7
+ const localization = require('./localization-88da0959.js');
8
+ const zonosStore = require('./zonosStore-7c1e1bc1.js');
9
9
  const classes = require('./classes-b7918f56.js');
10
10
  const handleFetch = require('./handleFetch-969d05d8.js');
11
11
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
@@ -127,6 +127,31 @@ const PEEK_MESSAGE_CLOSE_DELAY_MS = 3000;
127
127
  const ZonosHello = class {
128
128
  constructor(hostRef) {
129
129
  index.registerInstance(this, hostRef);
130
+ this.showPeekMessage = false;
131
+ this.zonosStoreHelloSettings = zonosStore.zonosStore.helloSettings;
132
+ this.showDialog = false;
133
+ this.peekMessage = '';
134
+ this.initialUrl = '';
135
+ /**
136
+ * This array will hold all restricted items handled by Hello thus far
137
+ */
138
+ this.allRestrictedItems = [];
139
+ /**
140
+ * This array will hold all products handled by Hello thus far
141
+ */
142
+ this.allFoundProducts = [];
143
+ /**
144
+ * This array will hold all products currently on the page
145
+ */
146
+ this.productsOnPage = [];
147
+ /**
148
+ * Hello widget is rendered on the screen, this should only triggered once
149
+ */
150
+ this.isHelloWidgetRendered = false;
151
+ /**
152
+ * Determine if the window is mobile
153
+ */
154
+ this.isMobile = false;
130
155
  this.getHelloPeekMessage = (organizationName) => {
131
156
  const isRestrictionPage = zonosStore.zonosStore.currentHelloPage === 'productDetail' ||
132
157
  zonosStore.zonosStore.currentHelloPage === 'productList';
@@ -301,19 +326,6 @@ const ZonosHello = class {
301
326
  }
302
327
  return showForCountries === null || showForCountries === void 0 ? void 0 : showForCountries.includes(localization.localizationStore.selectedCountryCode || '');
303
328
  };
304
- this.mobileLocationOverride = undefined;
305
- this.animateFromLeftOverride = undefined;
306
- this.appearanceSettingsOverride = undefined;
307
- this.showPeekMessage = false;
308
- this.zonosStoreHelloSettings = zonosStore.zonosStore.helloSettings;
309
- this.showDialog = false;
310
- this.peekMessage = '';
311
- this.initialUrl = '';
312
- this.allRestrictedItems = [];
313
- this.allFoundProducts = [];
314
- this.productsOnPage = [];
315
- this.isHelloWidgetRendered = false;
316
- this.isMobile = false;
317
329
  }
318
330
  /**
319
331
  * Get the country list the hello widget's country select is using
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0993f42d.js');
6
- const zonosStore = require('./zonosStore-9264749e.js');
5
+ const index = require('./index-1c710d00.js');
6
+ const zonosStore = require('./zonosStore-7c1e1bc1.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-8d3b1049.js');
8
+ const getBorderRadius = require('./getBorderRadius-c424eb05.js');
9
9
  require('./VarianceTest-0cb1e118.js');
10
10
 
11
11
  const zonosInputCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{margin:1px;}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%;background:var(--zonos-elements-input-background);border-radius:var(--zonos--border-radius);border:var(--zonos-elements-border)}:host .zonos--label-wrapper:hover{border:1px solid var(--zonos-elements-gray-300)}:host .zonos--floated-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--zonos--border-radius);background:var(--zonos-elements-input-background);border:0;-ms-flex-order:2;order:2;font-weight:500}:host .zonos--floated-input :-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}:host .zonos--floated-input :-internal-autofill-selected+label+div{background-color:#e8f0fe}:host .zonos--floated-input.has-label{padding:16px 4px 8px 16px}:host .zonos--floated-input.has-label.has-input-prefix{padding-left:0}:host .zonos--floated-input.has-label.has-input-prefix+.zonos--floated-label::before{margin-left:0}:host .zonos--floated-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:focus{outline:none}:host .zonos--floated-input:focus+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-blue);box-shadow:var(--zonos-elements-glow-blue)}:host .zonos--floated-input.has-error+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-error);box-shadow:var(--zonos-elements-glow-error)}:host .zonos--floated-input.has-content::-webkit-input-placeholder,:host .zonos--floated-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-moz-placeholder,:host .zonos--floated-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content:-ms-input-placeholder,:host .zonos--floated-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-ms-input-placeholder,:host .zonos--floated-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::placeholder,:host .zonos--floated-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content+.zonos--floated-label::before,:host .zonos--floated-input:focus+.zonos--floated-label::before{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-input:-webkit-autofill,:host .zonos--floated-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label::before{content:attr(data-label);color:var(--zonos-elements-gray-800);position:absolute;font-size:var(--zonos-elements-font-size-base);line-height:var(--zonos-elements-font-size-base);display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - var(--zonos-elements-font-size-base) / 2);z-index:1}:host .zonos--floated-label::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius)}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host(.sm){height:calc(var(--zonos-elements-size-sm) - 2px)}:host(.sm) .zonos--floated-input.has-label{padding-top:13px;padding-bottom:0}:host(.sm) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.sm) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:2px}:host(.md){height:calc(var(--zonos-elements-size-md) - 2px)}:host(.md) .zonos--floated-input.has-label{padding-top:20px}:host(.md) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.md) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:6px}:host(.lg){height:calc(var(--zonos-elements-size-lg) - 2px)}:host(.lg) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.lg) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:10px}:host(.xl){height:calc(var(--zonos-elements-size-xl) - 2px)}:host(.xl) .zonos--floated-input.has-label{padding-bottom:2px}";
@@ -15,11 +15,25 @@ const ZonosInput = class {
15
15
  constructor(hostRef) {
16
16
  index.registerInstance(this, hostRef);
17
17
  this.inputChange = index.createEvent(this, "inputChange", 7);
18
+ /**
19
+ * Value of the input
20
+ */
18
21
  this.inputValue = '';
19
- this.inputLabel = undefined;
22
+ /**
23
+ * Input size
24
+ */
20
25
  this.inputSize = 'md';
26
+ /**
27
+ * Disables the input
28
+ */
21
29
  this.isDisabled = false;
30
+ /**
31
+ * Error state of the input
32
+ */
22
33
  this.isError = false;
34
+ /**
35
+ * Placeholder for the input
36
+ */
23
37
  this.inputPlaceholder = '';
24
38
  this.value = this.inputValue;
25
39
  }
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0993f42d.js');
6
- const localization = require('./localization-2f17c95f.js');
7
- const zonosStore = require('./zonosStore-9264749e.js');
5
+ const index = require('./index-1c710d00.js');
6
+ const localization = require('./localization-88da0959.js');
7
+ const zonosStore = require('./zonosStore-7c1e1bc1.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
9
  require('./handleFetch-969d05d8.js');
10
10
  require('./VarianceTest-0cb1e118.js');
@@ -21,12 +21,16 @@ const ZonosLanguageSelectStyle0 = zonosLanguageSelectCss;
21
21
  const ZonosLanguageSelect = class {
22
22
  constructor(hostRef) {
23
23
  index.registerInstance(this, hostRef);
24
+ /**
25
+ * Function to close the language select
26
+ * @default () => {}
27
+ */
28
+ this.handleOnClose = () => { };
24
29
  this.languageSelected = (languageCode) => {
25
30
  // mutate the selected language code in store
26
31
  void localization.localizationStoreUpdateSelectedLocale(languageCode);
27
32
  this.handleOnClose();
28
33
  };
29
- this.handleOnClose = () => { };
30
34
  }
31
35
  render() {
32
36
  const { selectedLocale } = localization.localizationStore;
@@ -45,7 +49,14 @@ const ZonosSelectDialogHeaderStyle0 = zonosSelectDialogHeaderCss;
45
49
  const ZonosSelectDialogHeader = class {
46
50
  constructor(hostRef) {
47
51
  index.registerInstance(this, hostRef);
52
+ /**
53
+ * Callback to do something on close
54
+ * @default () => {}
55
+ */
48
56
  this.handleOnClose = () => { };
57
+ /**
58
+ * The label for the select dialog
59
+ */
49
60
  this.label = '';
50
61
  }
51
62
  render() {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0993f42d.js');
5
+ const index = require('./index-1c710d00.js');
6
6
 
7
7
  const zonosLinkCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:inline-block}:host a{padding-bottom:2px;color:var(--zonos-elements-primary);-webkit-box-shadow:none;box-shadow:none;text-decoration:none;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word}:host a:link,:host a:visited{color:var(--zonos-elements-primary);-webkit-transition:all 150ms ease-in-out;transition:all 150ms ease-in-out}:host a:hover,:host a:active{color:var(--zonos-elements-primary);-webkit-box-shadow:0 1px 0 var(--zonos-elements-primary);box-shadow:0 1px 0 var(--zonos-elements-primary)}";
8
8
  const ZonosLinkStyle0 = zonosLinkCss;
@@ -10,10 +10,10 @@ const ZonosLinkStyle0 = zonosLinkCss;
10
10
  const ZonosLink = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
+ /**
14
+ * The href for the link
15
+ */
13
16
  this.href = '';
14
- this.rel = undefined;
15
- this.target = undefined;
16
- this.linkTitle = undefined;
17
17
  }
18
18
  render() {
19
19
  return (index.h(index.Host, { key: '41f0a757a334338631250764599ac99e28c41ed2', class: "zonos--elements" }, index.h("a", { key: 'b6e84f40141e8de85d005c05426f885f242ffc53', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, index.h("slot", { key: 'dd5ed33f163d7958fb7806992e003d2279ee1f5b' }))));
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0993f42d.js');
6
- const zonosStore = require('./zonosStore-9264749e.js');
5
+ const index = require('./index-1c710d00.js');
6
+ const zonosStore = require('./zonosStore-7c1e1bc1.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  require('./VarianceTest-0cb1e118.js');
9
9
 
@@ -13,7 +13,13 @@ const ZonosLogoStyle0 = zonosLogoCss;
13
13
  const ZonosLogo = class {
14
14
  constructor(hostRef) {
15
15
  index.registerInstance(this, hostRef);
16
+ /**
17
+ * Theme to change the color of the logo
18
+ */
16
19
  this.theme = 'LIGHT';
20
+ /**
21
+ * The width of the logo
22
+ */
17
23
  this.width = 'auto';
18
24
  }
19
25
  render() {
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0993f42d.js');
6
- const zonosStore = require('./zonosStore-9264749e.js');
5
+ const index = require('./index-1c710d00.js');
6
+ const zonosStore = require('./zonosStore-7c1e1bc1.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-8d3b1049.js');
8
+ const getBorderRadius = require('./getBorderRadius-c424eb05.js');
9
9
  const isColorVariable = require('./isColorVariable-525dbfa7.js');
10
10
  require('./VarianceTest-0cb1e118.js');
11
11
 
@@ -16,6 +16,11 @@ const ZonosShippingRichRadio = class {
16
16
  constructor(hostRef) {
17
17
  index.registerInstance(this, hostRef);
18
18
  this.radioSelected = index.createEvent(this, "radioSelected", 7);
19
+ /**
20
+ * Selected item
21
+ * @default {null|firstItem}
22
+ */
23
+ this.selectedItem = null;
19
24
  this.handleRichRadioSelect = (item) => {
20
25
  var _a;
21
26
  (_a = this.radioSelected) === null || _a === void 0 ? void 0 : _a.emit(item);
@@ -32,11 +37,6 @@ const ZonosShippingRichRadio = class {
32
37
  '--zonos--selected-border-color': secondaryColor || 'unset',
33
38
  };
34
39
  };
35
- this.items = undefined;
36
- this.borderColor = undefined;
37
- this.borderStyle = undefined;
38
- this.theme = undefined;
39
- this.selectedItem = null;
40
40
  }
41
41
  render() {
42
42
  var _a;
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0993f42d.js');
6
- const zonosStore = require('./zonosStore-9264749e.js');
5
+ const index = require('./index-1c710d00.js');
6
+ const zonosStore = require('./zonosStore-7c1e1bc1.js');
7
7
  const helpers = require('./helpers-5bdbb68c.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
- const getBorderRadius = require('./getBorderRadius-8d3b1049.js');
10
- const isDarkColor = require('./isDarkColor-bcf49625.js');
9
+ const getBorderRadius = require('./getBorderRadius-c424eb05.js');
10
+ const isDarkColor = require('./isDarkColor-35e8daec.js');
11
11
  require('./VarianceTest-0cb1e118.js');
12
12
 
13
13
  const zonosStripeInputCss = ".sc-zonos-stripe-input-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-stripe-input-h *.sc-zonos-stripe-input{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-stripe-input-h img.sc-zonos-stripe-input{max-width:100%}.sc-zonos-stripe-input-h dl.sc-zonos-stripe-input,.sc-zonos-stripe-input-h dd.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h1.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h2.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h3.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h4.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h5.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h6.sc-zonos-stripe-input,.sc-zonos-stripe-input-h hr.sc-zonos-stripe-input,.sc-zonos-stripe-input-h figure.sc-zonos-stripe-input,.sc-zonos-stripe-input-h p.sc-zonos-stripe-input,.sc-zonos-stripe-input-h pre.sc-zonos-stripe-input{margin:0}.sc-zonos-stripe-input-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-stripe-input-h{--zonos--background-color:#f1f1f1;--zonos--local-glowing-color:0 0 0 3px hsla(0, 0%, 100%, 25%),\n 0 0 0 1px var(--zonos--primary-color);--zonos--border:1px solid #e8e8e8}.dark.sc-zonos-stripe-input-h{color-scheme:dark;--zonos--background-color:#30313d;--zonos--local-glowing-color:0px 2px 4px rgba(0, 0, 0, 0.5),\n 0px 1px 6px rgba(0, 0, 0, 0.25), 0 0 0 3px hsla(0, 0%, 100%, 25%),\n 0 1px 1px 0 rgba(255, 255, 255, 0.12);--zonos--border:1px solid var(--zonos--primary-color)}.sc-zonos-stripe-input-h{margin:1px}.sc-zonos-stripe-input-h .zonos--label-wrapper.sc-zonos-stripe-input{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%;background:var(--zonos--background-color);border-radius:var(--zonos--border-radius);border:var(--zonos--border);outline-offset:0;outline-width:2px;height:calc(var(--zonos-elements-size-xl) - 2px)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--zonos--border-radius);background:var(--zonos--background-color);border:var(--zonos--border);-ms-flex-order:2;order:2;font-weight:400;font-size:var(--zonos--font-size);color:var(--zonos-elements-text-color)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input .sc-zonos-stripe-input:-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input .sc-zonos-stripe-input:-internal-autofill-selected+label.sc-zonos-stripe-input+div.sc-zonos-stripe-input{background-color:#e8f0fe}.sc-zonos-stripe-input-h .zonos--floated-input.has-label.sc-zonos-stripe-input{padding:24px 4px 2px 16px}.sc-zonos-stripe-input-h .zonos--floated-input.has-label.has-input-prefix.sc-zonos-stripe-input{padding-left:0}.sc-zonos-stripe-input-h .zonos--floated-input.has-label.has-input-prefix.sc-zonos-stripe-input~.zonos--floated-label.sc-zonos-stripe-input label.sc-zonos-stripe-input{margin-left:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus{outline:none;border:var(--zonos--border)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus~.zonos--floated-label.sc-zonos-stripe-input::after{-webkit-box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color));box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color))}.sc-zonos-stripe-input-h .zonos--floated-input.has-error.sc-zonos-stripe-input~.zonos--floated-label.sc-zonos-stripe-input::after{-webkit-box-shadow:0 0 0 2px #df1b41;box-shadow:0 0 0 2px #df1b41}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input::-webkit-input-placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input::-moz-placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input:-ms-input-placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input::-ms-input-placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input::placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input~.zonos--floated-label.sc-zonos-stripe-input label.sc-zonos-stripe-input,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus~.zonos--floated-label.sc-zonos-stripe-input label.sc-zonos-stripe-input{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:-webkit-autofill,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}.sc-zonos-stripe-input-h .zonos--floated-label.sc-zonos-stripe-input{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}.sc-zonos-stripe-input-h .zonos--floated-label.sc-zonos-stripe-input label.sc-zonos-stripe-input{color:var(--zonos-elements-gray-800);position:absolute;font-size:16px;line-height:16px;display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - 8px);z-index:1}.sc-zonos-stripe-input-h .zonos--floated-label.sc-zonos-stripe-input::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius)}.sc-zonos-stripe-input-h .disabled.sc-zonos-stripe-input .zonos--floated-label.sc-zonos-stripe-input{pointer-events:inherit}.sc-zonos-stripe-input-h .disabled.sc-zonos-stripe-input .zonos--floated-label.sc-zonos-stripe-input::after{cursor:not-allowed;z-index:1}.dark.sc-zonos-stripe-input-h .zonos--label-wrapper.sc-zonos-stripe-input{background:#30313d}";
@@ -23,17 +23,33 @@ const ZonosStripeInput = class {
23
23
  */
24
24
  this.inheritedAttributes = {};
25
25
  this.inputId = `zonos--input-${++inputId}`;
26
- this.name = undefined;
27
- this.autoComplete = undefined;
26
+ /**
27
+ * Value of the stripeInput
28
+ */
28
29
  this.inputValue = '';
29
- this.inputLabel = undefined;
30
- this.overridePrimaryColor = undefined;
31
- this.overrideSecondaryColor = undefined;
30
+ /**
31
+ * Disables the input
32
+ */
32
33
  this.isDisabled = false;
34
+ /**
35
+ * Error state of the input
36
+ */
33
37
  this.isError = false;
38
+ /**
39
+ * Error message of the input
40
+ */
34
41
  this.error = '';
42
+ /**
43
+ * Placeholder for the input
44
+ */
35
45
  this.inputPlaceholder = '';
46
+ /**
47
+ * The value of the input.
48
+ */
36
49
  this.value = '';
50
+ /**
51
+ * Whether the input is required
52
+ */
37
53
  this.required = false;
38
54
  this.internalValue = this.inputValue;
39
55
  }
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0993f42d.js');
6
- const zonosStore = require('./zonosStore-9264749e.js');
5
+ const index = require('./index-1c710d00.js');
6
+ const zonosStore = require('./zonosStore-7c1e1bc1.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  const isColorVariable = require('./isColorVariable-525dbfa7.js');
9
9
  const styles = require('./styles-d1e64fb9.js');
@@ -115,10 +115,17 @@ const ZonosTextStyle0 = zonosTextCss;
115
115
  const ZonosText = class {
116
116
  constructor(hostRef) {
117
117
  index.registerInstance(this, hostRef);
118
+ /**
119
+ * The icon element to display
120
+ */
118
121
  this.textColor = 'gray-1000';
119
- this.size = undefined;
122
+ /**
123
+ * Type of the text to display
124
+ */
120
125
  this.type = 'body';
121
- this.weight = undefined;
126
+ /**
127
+ * Whether or not the component is ready
128
+ */
122
129
  this.ready = false;
123
130
  }
124
131
  componentDidRender() {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0993f42d.js');
6
- const zonosStore = require('./zonosStore-9264749e.js');
5
+ const index = require('./index-1c710d00.js');
6
+ const zonosStore = require('./zonosStore-7c1e1bc1.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  require('./VarianceTest-0cb1e118.js');
9
9
 
@@ -14,8 +14,10 @@ const ZonosToggle = class {
14
14
  constructor(hostRef) {
15
15
  index.registerInstance(this, hostRef);
16
16
  this.toggleChanged = index.createEvent(this, "toggleChanged", 7);
17
+ /**
18
+ * Options for the toggle
19
+ */
17
20
  this.options = [];
18
- this.value = undefined;
19
21
  }
20
22
  render() {
21
23
  return (index.h(index.Host, { key: '9a526e8fee8e4c5af558442c82f7acbc634706c3', class: classes.classes(['zonos--elements zonos--toggle']), style: {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0993f42d.js');
5
+ const index = require('./index-1c710d00.js');
6
6
  const classes = require('./classes-b7918f56.js');
7
7
 
8
8
  const zonosTooltipCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--tooltip{position:relative}:host .zonos--tooltip .zonos--tooltip-content{position:absolute;bottom:100%;left:0;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:12px;background-color:var(--zonos-elements-gray-1000);opacity:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;-webkit-transform-origin:bottom left;transform-origin:bottom left;border-radius:var(--zonos-elements-radius-4);z-index:100;-webkit-box-shadow:var(--zonos-elements-v3-shadow-large);box-shadow:var(--zonos-elements-v3-shadow-large)}:host .zonos--tooltip .zonos--tooltip-content.zonos--show-tooltip{opacity:1;-webkit-transform:scale(1);transform:scale(1)}";
@@ -11,7 +11,13 @@ const ZonosTooltipStyle0 = zonosTooltipCss;
11
11
  const ZonosTooltip = class {
12
12
  constructor(hostRef) {
13
13
  index.registerInstance(this, hostRef);
14
+ /**
15
+ * The title of the tooltip
16
+ */
14
17
  this.label = '';
18
+ /**
19
+ * The subtitle of the tooltip
20
+ */
15
21
  this.subtitle = '';
16
22
  this.showTooltip = false;
17
23
  }
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0993f42d.js');
6
- const zonosStore = require('./zonosStore-9264749e.js');
5
+ const index = require('./index-1c710d00.js');
6
+ const zonosStore = require('./zonosStore-7c1e1bc1.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  require('./VarianceTest-0cb1e118.js');
9
9
 
@@ -13,6 +13,10 @@ const ZonosVStackStyle0 = zonosVStackCss;
13
13
  const VStack = class {
14
14
  constructor(hostRef) {
15
15
  index.registerInstance(this, hostRef);
16
+ /**
17
+ * The spacing between elements in the stack
18
+ * @default 24
19
+ */
16
20
  this.spacing = 24;
17
21
  }
18
22
  render() {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-0993f42d.js');
3
+ const index = require('./index-1c710d00.js');
4
4
  const VarianceTest = require('./VarianceTest-0cb1e118.js');
5
5
 
6
6
  const appendToMap = (map, propName, value) => {
@@ -39,7 +39,7 @@ const cleanupElements = debounce((map) => {
39
39
  for (let key of map.keys()) {
40
40
  map.set(key, map.get(key).filter(isConnected));
41
41
  }
42
- }, 2000);
42
+ }, 2_000);
43
43
  const stencilSubscription = () => {
44
44
  if (typeof index.getRenderingRef !== 'function') {
45
45
  // If we are not in a stencil project, we do nothing.
@@ -72,7 +72,7 @@ const stencilSubscription = () => {
72
72
  const unwrap = (val) => (typeof val === 'function' ? val() : val);
73
73
  const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
74
74
  const unwrappedState = unwrap(defaultState);
75
- let states = new Map(Object.entries(unwrappedState !== null && unwrappedState !== void 0 ? unwrappedState : {}));
75
+ let states = new Map(Object.entries(unwrappedState ?? {}));
76
76
  const handlers = {
77
77
  dispose: [],
78
78
  get: [],
@@ -80,10 +80,9 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
80
80
  reset: [],
81
81
  };
82
82
  const reset = () => {
83
- var _a;
84
83
  // When resetting the state, the default state may be a function - unwrap it to invoke it.
85
84
  // otherwise, the state won't be properly reset
86
- states = new Map(Object.entries((_a = unwrap(defaultState)) !== null && _a !== void 0 ? _a : {}));
85
+ states = new Map(Object.entries(unwrap(defaultState) ?? {}));
87
86
  handlers.reset.forEach((cb) => cb());
88
87
  };
89
88
  const dispose = () => {
@@ -60,7 +60,7 @@
60
60
  ],
61
61
  "compiler": {
62
62
  "name": "@stencil/core",
63
- "version": "4.23.0",
63
+ "version": "4.27.2",
64
64
  "typescriptVersion": "5.5.4"
65
65
  },
66
66
  "collections": [],
@@ -3,10 +3,6 @@ import { localizationStore } from "../../../../store/hello/localization";
3
3
  import { translate } from "../../../../store/translationStore";
4
4
  import { isTextContainsNonLatinChars } from "../../../../utils/containsNonLatinChars";
5
5
  export class ZonosAddressDisplay {
6
- constructor() {
7
- this.currentAddress = undefined;
8
- this.addressType = undefined;
9
- }
10
6
  render() {
11
7
  var _a;
12
8
  const { city, country, email, line1, line2, name, phone, postal_code, state, } = this.currentAddress;
@@ -3,13 +3,13 @@ import { translate } from "../../../../store/translationStore";
3
3
  import { isTextContainsNonLatinChars } from "../../../../utils/containsNonLatinChars";
4
4
  export class ZonosAddressForm {
5
5
  constructor() {
6
+ /**
7
+ * Local address to update
8
+ */
9
+ this.localAddress = this.currentAddress;
6
10
  this.onInputChange = ({ key, value, }) => {
7
11
  this.addressChange.emit(Object.assign(Object.assign({}, this.localAddress), { [key]: value }));
8
12
  };
9
- this.currentAddress = undefined;
10
- this.translatedAddress = undefined;
11
- this.addressType = undefined;
12
- this.localAddress = this.currentAddress;
13
13
  }
14
14
  watchCurrentAddress() {
15
15
  var _a, _b, _c, _d, _e, _f;
@@ -7,6 +7,30 @@ import { containsNonLatinChars } from "../../../utils/containsNonLatinChars";
7
7
  import RemoveIcon from "./../assets/RemoveIcon.svg";
8
8
  export class ZonosAddressUpdateDialog {
9
9
  constructor() {
10
+ /**
11
+ * Whether or not the continue button is loading
12
+ */
13
+ this.continueLoading = false;
14
+ /**
15
+ * Whether or not the dialog is open
16
+ */
17
+ this.dialogOpen = false;
18
+ /**
19
+ * Whether or not the dialog is open
20
+ */
21
+ this.isMobile = false;
22
+ /**
23
+ * Due to Stripe's validation difficulties, we need to show a banner when users hasn't filled out the form correctly but clicked continue
24
+ */
25
+ this.showErrorBanner = false;
26
+ /**
27
+ * State of shipping address input fields
28
+ */
29
+ this.translatedShippingAddressState = {};
30
+ /**
31
+ * State of billing address input fields
32
+ */
33
+ this.translatedBillingAddressState = {};
10
34
  /**
11
35
  * handler for close button click
12
36
  */
@@ -108,19 +132,6 @@ export class ZonosAddressUpdateDialog {
108
132
  },
109
133
  };
110
134
  };
111
- this.continueLoading = false;
112
- this.dialogLoading = undefined;
113
- this.dialogOpen = false;
114
- this.submitBtnType = undefined;
115
- this.submitBtnColor = undefined;
116
- this.isMobile = false;
117
- this.shippingAddress = undefined;
118
- this.billingAddress = undefined;
119
- this.translatedShippingAddress = undefined;
120
- this.translatedBillingAddress = undefined;
121
- this.showErrorBanner = false;
122
- this.translatedShippingAddressState = {};
123
- this.translatedBillingAddressState = {};
124
135
  }
125
136
  watchTranslatedShippingAddress() {
126
137
  this.translatedShippingAddressState = this.translatedShippingAddress;
@@ -7,9 +7,15 @@ import { classes } from "../../../utils/classes";
7
7
  import ChevronUpIcon from "./assets/ChevronUpIcon.svg";
8
8
  export class ZonosCartRestrictedItems {
9
9
  constructor() {
10
+ /**
11
+ * This is to hide the section when the parent collapse on mobile
12
+ */
10
13
  this.hide = false;
11
14
  this.errorImages = [];
12
15
  this.internalCollapsed = true;
16
+ /**
17
+ * Should do something after the component is loaded
18
+ */
13
19
  this.firstRender = true;
14
20
  }
15
21
  componentDidLoad() {
@@ -5,8 +5,9 @@ import { translate } from "../../../store/translationStore";
5
5
  import { renderCheckoutCurrency } from "../../../utils/checkout/renderCheckoutCurrency";
6
6
  export class ZonosCartSubtotal {
7
7
  constructor() {
8
- this.submitBtnType = undefined;
9
- this.submitBtnColor = undefined;
8
+ /**
9
+ * Loading state for apply promo code button
10
+ */
10
11
  this.loading = false;
11
12
  }
12
13
  render() {
@@ -25,6 +25,20 @@ import SuccessIcon from "./assets/SuccessIcon.svg";
25
25
  const MAX_RETRIES = 30;
26
26
  export class ZonosCheckoutFinish {
27
27
  constructor() {
28
+ /**
29
+ * The border radius style of the dialog
30
+ */
31
+ this.borderRadius = 'ROUNDED';
32
+ this.isLoading = true;
33
+ this.notificationType = 'success';
34
+ this.notificationTitle = '';
35
+ this.notificationMessages = [];
36
+ this.notificationActionText = translate('Keep shopping');
37
+ this.order = null;
38
+ /**
39
+ * Is waiting to redirect to a different page
40
+ */
41
+ this.isWaitingToRedirect = true;
28
42
  this.pullOrder = async () => {
29
43
  var _a, _b;
30
44
  const checkoutSessionId = storageStore.checkoutSessionId;
@@ -355,16 +369,6 @@ export class ZonosCheckoutFinish {
355
369
  };
356
370
  localStorage.setItem('zonos--placed-order-info', JSON.stringify(placedOrderTime));
357
371
  };
358
- this.borderRadius = 'ROUNDED';
359
- this.storybookForceStatus = undefined;
360
- this.overrideNotification = undefined;
361
- this.isLoading = true;
362
- this.notificationType = 'success';
363
- this.notificationTitle = '';
364
- this.notificationMessages = [];
365
- this.notificationActionText = translate('Keep shopping');
366
- this.order = null;
367
- this.isWaitingToRedirect = true;
368
372
  }
369
373
  componentDidLoad() {
370
374
  // Reset local storage for placed order info
@@ -9,8 +9,10 @@ import Globe from "./assets/globe.svg";
9
9
  import ZonosIcon from "./assets/zonosIcon.svg";
10
10
  export class ZonosCheckoutFooter {
11
11
  constructor() {
12
+ /**
13
+ * Override mobile mode
14
+ */
12
15
  this.mobile = false;
13
- this.dataTheme = undefined;
14
16
  this.showLanguageDialog = false;
15
17
  this.isMobile = false;
16
18
  }