@zonos/elements 1.3.40 → 1.3.42

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 (247) hide show
  1. package/dist/cjs/{cart-775440b7.js → cart-99a1ed87.js} +67 -10
  2. package/dist/cjs/{getBorderRadius-9ae7890c.js → getBorderRadius-4413e191.js} +1 -1
  3. package/dist/cjs/{index-ef8b2c76.js → index-d56e0a8b.js} +9 -3
  4. package/dist/cjs/index.cjs.js +21 -7
  5. package/dist/cjs/{isDarkColor-5f56770b.js → isDarkColor-4eb96a1e.js} +1 -1
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/{paypal-25c84e33.js → paypal-5509a76f.js} +3 -3
  8. package/dist/cjs/{sendErrorLog-7818b288.js → sendErrorLog-21996939.js} +2 -2
  9. package/dist/cjs/zonos-address_8.cjs.entry.js +10 -10
  10. package/dist/cjs/zonos-badge_2.cjs.entry.js +4 -4
  11. package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-button_3.cjs.entry.js +4 -4
  13. package/dist/cjs/zonos-card.cjs.entry.js +3 -3
  14. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +10 -10
  15. package/dist/cjs/zonos-checkout.cjs.entry.js +7 -7
  16. package/dist/cjs/zonos-component.cjs.entry.js +2 -2
  17. package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
  18. package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
  19. package/dist/cjs/{zonos-country-select_3.cjs.entry.js → zonos-country-select_4.cjs.entry.js} +100 -14
  20. package/dist/cjs/zonos-elements.cjs.js +2 -2
  21. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +9 -9
  22. package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
  23. package/dist/cjs/zonos-input.cjs.entry.js +7 -7
  24. package/dist/cjs/zonos-language-select_2.cjs.entry.js +9 -9
  25. package/dist/cjs/zonos-link.cjs.entry.js +2 -2
  26. package/dist/cjs/zonos-logo.cjs.entry.js +4 -4
  27. package/dist/cjs/zonos-notification_3.cjs.entry.js +8 -8
  28. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  29. package/dist/cjs/zonos-text.cjs.entry.js +2 -2
  30. package/dist/cjs/zonos-v-stack.cjs.entry.js +4 -4
  31. package/dist/cjs/{zonosStore-b6c72408.js → zonosStore-56401fdb.js} +1 -1
  32. package/dist/collection/collection-manifest.json +1 -0
  33. package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +8 -0
  34. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +14 -4
  35. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  36. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  37. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  38. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  39. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  40. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  41. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  42. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  43. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  44. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  45. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.css +46 -0
  46. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +177 -0
  47. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  48. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +6 -1
  49. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  50. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
  51. package/dist/collection/components/main/zonos-controller.js +1 -1
  52. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  53. package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
  54. package/dist/collection/components/store/translationStore/strings.base.js +3 -0
  55. package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
  56. package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
  57. package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
  58. package/dist/collection/components/store/translationStore/strings.french.js +3 -0
  59. package/dist/collection/components/store/translationStore/strings.german.js +3 -0
  60. package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
  61. package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
  62. package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
  63. package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
  64. package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
  65. package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
  66. package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
  67. package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
  68. package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
  69. package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
  70. package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
  71. package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
  72. package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
  73. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  74. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  75. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  76. package/dist/collection/components/utils/handleFetch.js +0 -6
  77. package/dist/collection/components/utils/hello/currencyConversion/defaultCurrencyConverter.js +4 -1
  78. package/dist/collection/environment.js +6 -0
  79. package/dist/collection/scripts/_getNextFallbackUrl.js +1 -1
  80. package/dist/collection/scripts/_getZonosQaUrl.js +12 -1
  81. package/dist/collection/scripts/_zonosBase.js +4 -1
  82. package/dist/esm/{cart-e9cd8286.js → cart-bc217300.js} +67 -10
  83. package/dist/esm/{getBorderRadius-3c75c4c1.js → getBorderRadius-3ba98361.js} +1 -1
  84. package/dist/esm/{index-5a37ccde.js → index-86b8247e.js} +9 -3
  85. package/dist/esm/index.js +21 -7
  86. package/dist/esm/{isDarkColor-3eb31a6d.js → isDarkColor-3119e351.js} +1 -1
  87. package/dist/esm/loader.js +3 -3
  88. package/dist/esm/{paypal-da2b3db1.js → paypal-fa96e7c3.js} +3 -3
  89. package/dist/esm/{sendErrorLog-2fcf78a2.js → sendErrorLog-c40b553a.js} +2 -2
  90. package/dist/esm/zonos-address_8.entry.js +10 -10
  91. package/dist/esm/zonos-badge_2.entry.js +4 -4
  92. package/dist/esm/zonos-banner.entry.js +2 -2
  93. package/dist/esm/zonos-button_3.entry.js +4 -4
  94. package/dist/esm/zonos-card.entry.js +3 -3
  95. package/dist/esm/zonos-cart-items_12.entry.js +10 -10
  96. package/dist/esm/zonos-checkout.entry.js +7 -7
  97. package/dist/esm/zonos-component.entry.js +2 -2
  98. package/dist/esm/zonos-controller.entry.js +6 -6
  99. package/dist/esm/zonos-country-flag.entry.js +5 -5
  100. package/dist/esm/{zonos-country-select_3.entry.js → zonos-country-select_4.entry.js} +100 -15
  101. package/dist/esm/zonos-elements.js +3 -3
  102. package/dist/esm/zonos-hello-dialog.entry.js +9 -9
  103. package/dist/esm/zonos-hello.entry.js +5 -5
  104. package/dist/esm/zonos-input.entry.js +7 -7
  105. package/dist/esm/zonos-language-select_2.entry.js +9 -9
  106. package/dist/esm/zonos-link.entry.js +2 -2
  107. package/dist/esm/zonos-logo.entry.js +4 -4
  108. package/dist/esm/zonos-notification_3.entry.js +8 -8
  109. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  110. package/dist/esm/zonos-text.entry.js +2 -2
  111. package/dist/esm/zonos-v-stack.entry.js +4 -4
  112. package/dist/esm/{zonosStore-425abc1b.js → zonosStore-8fc9ceb2.js} +1 -1
  113. package/dist/esm-es5/cart-bc217300.js +1 -0
  114. package/dist/esm-es5/{getBorderRadius-3c75c4c1.js → getBorderRadius-3ba98361.js} +1 -1
  115. package/dist/esm-es5/{index-5a37ccde.js → index-86b8247e.js} +2 -2
  116. package/dist/esm-es5/index.js +1 -1
  117. package/dist/esm-es5/{isDarkColor-3eb31a6d.js → isDarkColor-3119e351.js} +1 -1
  118. package/dist/esm-es5/loader.js +1 -1
  119. package/dist/esm-es5/{paypal-da2b3db1.js → paypal-fa96e7c3.js} +1 -1
  120. package/dist/esm-es5/{sendErrorLog-2fcf78a2.js → sendErrorLog-c40b553a.js} +1 -1
  121. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  122. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  123. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  124. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  125. package/dist/esm-es5/zonos-card.entry.js +1 -1
  126. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  127. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  128. package/dist/esm-es5/zonos-component.entry.js +1 -1
  129. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  130. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  131. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -0
  132. package/dist/esm-es5/zonos-elements.js +1 -1
  133. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  134. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  135. package/dist/esm-es5/zonos-input.entry.js +1 -1
  136. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  137. package/dist/esm-es5/zonos-link.entry.js +1 -1
  138. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  139. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  140. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  141. package/dist/esm-es5/zonos-text.entry.js +1 -1
  142. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  143. package/dist/esm-es5/{zonosStore-425abc1b.js → zonosStore-8fc9ceb2.js} +1 -1
  144. package/dist/scripts/index.d.ts +141 -52
  145. package/dist/scripts/index.js +1 -1
  146. package/dist/scripts/loadZonos.js +1 -1
  147. package/dist/scripts/zonos.js +1 -1
  148. package/dist/types/components/common/zonos-virtual-scroll/zonos-virtual-scroll.d.ts +32 -0
  149. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +2 -1
  150. package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
  151. package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
  152. package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
  153. package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
  154. package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
  155. package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
  156. package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
  157. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
  158. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
  159. package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
  160. package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
  161. package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
  162. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
  163. package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
  164. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
  165. package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
  166. package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
  167. package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
  168. package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
  169. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
  170. package/dist/types/components/store/translationStore.d.ts +1 -1
  171. package/dist/types/components.d.ts +82 -1
  172. package/dist/types/environment.d.ts +4 -0
  173. package/dist/types/scripts/_getNextFallbackUrl.d.ts +3 -3
  174. package/dist/types/types/LogLoadScriptRequestBody.d.ts +1 -1
  175. package/dist/zonos-elements/index.esm.js +1 -1
  176. package/dist/zonos-elements/{p-5f68f356.system.entry.js → p-0229282c.system.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-92bebe7a.js → p-04054425.js} +1 -1
  178. package/dist/zonos-elements/{p-f98f7066.js → p-1041cbd0.js} +1 -1
  179. package/dist/zonos-elements/{p-2c03ac78.system.entry.js → p-14067782.system.entry.js} +1 -1
  180. package/dist/zonos-elements/p-16dd23e1.entry.js +1 -0
  181. package/dist/zonos-elements/{p-1daa3b1e.system.entry.js → p-1e4f7997.system.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-3d98f422.system.entry.js → p-211e3529.system.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-dc6a17fe.system.entry.js → p-23748211.system.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-6897be29.entry.js → p-23fd4673.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-efdc7748.entry.js → p-25633055.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-916adba7.entry.js → p-29ed14b8.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-36df9785.entry.js → p-2cc469c3.entry.js} +1 -1
  188. package/dist/zonos-elements/{p-fa02dd07.system.entry.js → p-35679ed2.system.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-c5a5512a.system.entry.js → p-3b1ea7c8.system.entry.js} +1 -1
  190. package/dist/zonos-elements/{p-b2007124.system.js → p-40c21634.system.js} +1 -1
  191. package/dist/zonos-elements/{p-e6efc2e1.system.entry.js → p-4f454a91.system.entry.js} +1 -1
  192. package/dist/zonos-elements/{p-bfa5ec2b.entry.js → p-5230520c.entry.js} +1 -1
  193. package/dist/zonos-elements/{p-da15b587.system.entry.js → p-52947dab.system.entry.js} +1 -1
  194. package/dist/zonos-elements/{p-3da1bc42.js → p-52fb6876.js} +1 -1
  195. package/dist/zonos-elements/{p-d95cb86a.system.js → p-539974db.system.js} +1 -1
  196. package/dist/zonos-elements/{p-15ecad81.entry.js → p-558486eb.entry.js} +1 -1
  197. package/dist/zonos-elements/p-5b7da777.js +2 -0
  198. package/dist/zonos-elements/{p-54971a77.system.js → p-668fb530.system.js} +1 -1
  199. package/dist/zonos-elements/p-68bb8de4.entry.js +1 -0
  200. package/dist/zonos-elements/{p-890f5788.js → p-6ac72711.js} +1 -1
  201. package/dist/zonos-elements/{p-01bd2187.system.entry.js → p-6bb0b7d2.system.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-d9d5ee2f.entry.js → p-6de38759.entry.js} +1 -1
  203. package/dist/zonos-elements/{p-d46fa40a.entry.js → p-706d2bad.entry.js} +1 -1
  204. package/dist/zonos-elements/{p-61842b4f.system.entry.js → p-717028a2.system.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-14b53e8f.system.entry.js → p-7338ea95.system.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-ca58f16e.system.entry.js → p-73c56565.system.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-8d149b99.entry.js → p-7a902328.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-c55a5fe4.system.entry.js → p-7d67bbb8.system.entry.js} +1 -1
  209. package/dist/zonos-elements/{p-1b499bcc.system.js → p-8809964a.system.js} +1 -1
  210. package/dist/zonos-elements/{p-54101ed6.entry.js → p-8b01aafb.entry.js} +1 -1
  211. package/dist/zonos-elements/p-90f517f5.js +1 -0
  212. package/dist/zonos-elements/{p-f643035f.entry.js → p-9220f63d.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-3496183d.entry.js → p-9420f9db.entry.js} +1 -1
  214. package/dist/zonos-elements/p-98a0fda1.system.js +1 -0
  215. package/dist/zonos-elements/{p-5e55dcbc.entry.js → p-9a319774.entry.js} +1 -1
  216. package/dist/zonos-elements/{p-657be9e9.entry.js → p-9d1f13c2.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-5a5d1a12.system.entry.js → p-9eadd9a7.system.entry.js} +1 -1
  218. package/dist/zonos-elements/p-a0581551.system.js +1 -0
  219. package/dist/zonos-elements/{p-70b024ad.system.entry.js → p-a3e2592b.system.entry.js} +1 -1
  220. package/dist/zonos-elements/{p-3447ef24.system.js → p-a8a94872.system.js} +1 -1
  221. package/dist/zonos-elements/{p-e252d86f.entry.js → p-a9ae78e3.entry.js} +1 -1
  222. package/dist/zonos-elements/{p-445fb353.system.entry.js → p-c0aec0ca.system.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-97dadd90.system.entry.js → p-c4bb2949.system.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-fa95c3dc.entry.js → p-c7301a88.entry.js} +1 -1
  225. package/dist/zonos-elements/p-c78dd680.system.js +1 -0
  226. package/dist/zonos-elements/p-d27489bb.system.entry.js +1 -0
  227. package/dist/zonos-elements/{p-7f96d3b4.entry.js → p-dc368ad5.entry.js} +1 -1
  228. package/dist/zonos-elements/{p-71037fe5.entry.js → p-e07bf9ea.entry.js} +1 -1
  229. package/dist/zonos-elements/{p-2bfb5e4b.system.entry.js → p-e8f7fb29.system.entry.js} +1 -1
  230. package/dist/zonos-elements/{p-c87113fb.system.entry.js → p-f59666e6.system.entry.js} +1 -1
  231. package/dist/zonos-elements/{p-d6135575.js → p-f97ffbfb.js} +1 -1
  232. package/dist/zonos-elements/{p-3b6a7200.entry.js → p-fc2676e3.entry.js} +1 -1
  233. package/dist/zonos-elements/{p-b55b557a.system.js → p-fd061229.system.js} +2 -2
  234. package/dist/zonos-elements/zonos-elements.css +1 -1
  235. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  236. package/dist/zonos-elements/zonos-elements.js +1 -1
  237. package/package.json +1 -1
  238. package/dist/esm-es5/cart-e9cd8286.js +0 -1
  239. package/dist/esm-es5/zonos-country-select_3.entry.js +0 -1
  240. package/dist/zonos-elements/p-1debb7b2.entry.js +0 -1
  241. package/dist/zonos-elements/p-3996d025.system.js +0 -1
  242. package/dist/zonos-elements/p-6f39051c.system.entry.js +0 -1
  243. package/dist/zonos-elements/p-7dd54a63.entry.js +0 -1
  244. package/dist/zonos-elements/p-800db524.system.js +0 -1
  245. package/dist/zonos-elements/p-94279862.system.js +0 -1
  246. package/dist/zonos-elements/p-dd61b7a0.js +0 -2
  247. package/dist/zonos-elements/p-fb63bd03.js +0 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ef8b2c76.js');
5
+ const index = require('./index-d56e0a8b.js');
6
6
 
7
7
  const zonosLinkCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display: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;
@@ -16,7 +16,7 @@ const ZonosLink = class {
16
16
  this.linkTitle = undefined;
17
17
  }
18
18
  render() {
19
- return (index.h(index.Host, { key: 'bba0da02c0dee468bd0cacd268f339f7ec4f1008', class: "zonos--elements" }, index.h("a", { key: '19515197e397b2b24237e77d3e89de75382c14e1', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, index.h("slot", { key: '63d597a3091e954c9302e461030646b38ee2396e' }))));
19
+ return (index.h(index.Host, { key: 'a5913bea95608f1f1a95186664d2032a4aff66ec', class: "zonos--elements" }, index.h("a", { key: 'dffb72ba6d1820669b1dbd9e841a242cbe58d860', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, index.h("slot", { key: '774219d208dce4b32dcc715b827b1d85fc5dfe5e' }))));
20
20
  }
21
21
  };
22
22
  ZonosLink.style = ZonosLinkStyle0;
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ef8b2c76.js');
6
- const zonosStore = require('./zonosStore-b6c72408.js');
5
+ const index = require('./index-d56e0a8b.js');
6
+ const zonosStore = require('./zonosStore-56401fdb.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const zonosLogoCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host img{-webkit-filter:var(--filter-color);filter:var(--filter-color);width:var(--width)}";
@@ -19,11 +19,11 @@ const ZonosLogo = class {
19
19
  const filterColor = this.theme === 'DARK'
20
20
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
21
21
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
22
- return (index.h(index.Host, { key: '08ef20244bc204125a7a308efed42cd7fc86c885', class: classes.classes(['zonos--elements zonos--logo']), style: {
22
+ return (index.h(index.Host, { key: '8737fef033ef8114ca67be72b2f598897a6929b3', class: classes.classes(['zonos--elements zonos--logo']), style: {
23
23
  '--filter-color': filterColor,
24
24
  '--font-family': zonosStore.zonosStoreFontFamily(),
25
25
  '--width': this.width,
26
- } }, index.h("img", { key: '9202f0619fa3874a19ca3050477719b19592d82a', alt: "Zonos Logo", src: index.getAssetPath('./assets/ZonosLogo.png') })));
26
+ } }, index.h("img", { key: 'd5a15f2f8f891f865c7eb46268ae2f113ad1d3b4', alt: "Zonos Logo", src: index.getAssetPath('./assets/ZonosLogo.png') })));
27
27
  }
28
28
  static get assetsDirs() { return ["assets"]; }
29
29
  };
@@ -2,14 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ef8b2c76.js');
6
- const zonosStore = require('./zonosStore-b6c72408.js');
5
+ const index = require('./index-d56e0a8b.js');
6
+ const zonosStore = require('./zonosStore-56401fdb.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const cart = require('./cart-775440b7.js');
8
+ const cart = require('./cart-99a1ed87.js');
9
9
  const logError = require('./logError-4e2f2020.js');
10
- const paypal = require('./paypal-25c84e33.js');
11
- require('./isDarkColor-5f56770b.js');
12
- require('./getBorderRadius-9ae7890c.js');
10
+ const paypal = require('./paypal-5509a76f.js');
11
+ require('./isDarkColor-4eb96a1e.js');
12
+ require('./getBorderRadius-4413e191.js');
13
13
 
14
14
  const zonosNotificationCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999999;bottom:24px;gap:8px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:8px;border-radius:var(--border-radius, var(--zonos-elements-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--zonos-elements-green-700)}:host .zonos--notification-item.error{background-color:var(--zonos-elements-red-700)}:host .zonos--notification-item.warning{background-color:var(--zonos-elements-orange-700)}";
15
15
  const ZonosNotificationStyle0 = zonosNotificationCss;
@@ -110,7 +110,7 @@ const ZonosPayment = class {
110
110
  }
111
111
  render() {
112
112
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
113
- return (index.h(index.Host, { key: 'a6df9bab4826d7c4e4027bf6b7e58f176cb25ca1', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: 'a2f3d1288537a8e63c26bef9c87cae7f3a6f94fa', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: '4e30103e4b6fa407450afc71474b663377233310', class: "zonos--payment-component" }), index.h("div", { key: '66a9798018fb25e86933a839014ed0d2ed16d8b3', class: "zonos--payment-paypal-container" })));
113
+ return (index.h(index.Host, { key: 'ab601d9a0cc6fe2fee19f45d6321dcc81b418cff', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: '27857c99c59e4913fa403ef5b23b5b7d7f32bd45', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: '329b5a5617f0c5942b209df1ccf3bfcb4ddabb0c', class: "zonos--payment-component" }), index.h("div", { key: '7abb08922e9f607314713fc9fa762a3bb8a35b13', class: "zonos--payment-paypal-container" })));
114
114
  }
115
115
  get el() { return index.getElement(this); }
116
116
  static get watchers() { return {
@@ -164,7 +164,7 @@ const ZonosPaypalPayment = class {
164
164
  void this.loadPaypal();
165
165
  }
166
166
  render() {
167
- return (index.h(index.Host, { key: '036a9d43da99e1c08293936d89ca5f97d5acdf10', class: "zonos--paypal-payment zonos--elements" }, index.h("div", { key: 'f38290dce670024e001d8219d2d8d1e9fde1f9e2', class: "zonos--payment-paypal-container" })));
167
+ return (index.h(index.Host, { key: 'a09fe5b66b1ac971c10529ecb6213479f2870f08', class: "zonos--paypal-payment zonos--elements" }, index.h("div", { key: '6ba337785b8a90965e0cba05fd62681bc92633fe', class: "zonos--payment-paypal-container" })));
168
168
  }
169
169
  get el() { return index.getElement(this); }
170
170
  };
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ef8b2c76.js');
6
- const zonosStore = require('./zonosStore-b6c72408.js');
5
+ const index = require('./index-d56e0a8b.js');
6
+ const zonosStore = require('./zonosStore-56401fdb.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const getBorderRadius = require('./getBorderRadius-9ae7890c.js');
8
+ const getBorderRadius = require('./getBorderRadius-4413e191.js');
9
9
  const isColorVariable = require('./isColorVariable-6f5a9608.js');
10
10
 
11
11
  const zonosShippingRichRadioCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--selected-border-color, var(--zonos-elements-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:16px;-ms-flex-align:center;align-items:center;gap:16px;cursor:pointer;border:1px solid var(--zonos-elements-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--border-radius, var(--zonos-elements-radius-10));border-top-right-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--border-radius, var(--zonos-elements-radius-10));border-bottom-left-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--selected-border-color, var(--zonos-elements-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ef8b2c76.js');
6
- const zonosStore = require('./zonosStore-b6c72408.js');
5
+ const index = require('./index-d56e0a8b.js');
6
+ const zonosStore = require('./zonosStore-56401fdb.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
  const isColorVariable = require('./isColorVariable-6f5a9608.js');
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ef8b2c76.js');
6
- const zonosStore = require('./zonosStore-b6c72408.js');
5
+ const index = require('./index-d56e0a8b.js');
6
+ const zonosStore = require('./zonosStore-56401fdb.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
8
 
9
9
  const zonosVStackCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .vstack{display:grid;grid-auto-columns:minmax(0, 1fr);grid-row-gap:var(--spacing, 24px);grid-auto-flow:row}";
@@ -15,9 +15,9 @@ const VStack = class {
15
15
  this.spacing = 24;
16
16
  }
17
17
  render() {
18
- return (index.h(index.Host, { key: '8cdee94089af0eac57784a7914e169f363472577', style: {
18
+ return (index.h(index.Host, { key: 'e542ff8bbefa3223f157ad4bd6e537af8e5d5a5d', style: {
19
19
  '--font-family': zonosStore.zonosStoreFontFamily(),
20
- } }, index.h("div", { key: 'd60da826d77b4cf7e5349b75927fc746f0053ddd', class: classes.classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, index.h("slot", { key: '97b0e8232cbac73938225e1310712c1607997073' }))));
20
+ } }, index.h("div", { key: '9bd1cc8fdf94265d7d2767d507af7ad21d77234d', class: classes.classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, index.h("slot", { key: 'c8a294410e4c1348405c53283cf4dba176d5b27b' }))));
21
21
  }
22
22
  };
23
23
  VStack.style = ZonosVStackStyle0;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-ef8b2c76.js');
3
+ const index = require('./index-d56e0a8b.js');
4
4
 
5
5
  const appendToMap = (map, propName, value) => {
6
6
  const items = map.get(propName);
@@ -38,6 +38,7 @@
38
38
  "components/common/zonos-text/zonos-text.js",
39
39
  "components/common/zonos-tooltip/zonos-tooltip.js",
40
40
  "components/common/zonos-v-stack/zonos-v-stack.js",
41
+ "components/common/zonos-virtual-scroll/zonos-virtual-scroll.js",
41
42
  "components/component-template/zonos-component/zonos-component.js",
42
43
  "components/hello/zonos-hello/zonos-hello.js",
43
44
  "components/hello/zonos-hello-dialog/zonos-hello-dialog.js",
@@ -51,6 +51,14 @@
51
51
  padding: 16px;
52
52
  padding-top: 0px;
53
53
  }
54
+ :host .zonos--country-select .zonos--country-select-content .no-country {
55
+ position: absolute;
56
+ left: 17px;
57
+ }
58
+ :host .zonos--country-select .zonos--country-select-content .zonos--country-filter-content {
59
+ height: 300px;
60
+ display: block;
61
+ }
54
62
  :host .zonos--country-select .zonos--country-select-country {
55
63
  display: flex;
56
64
  gap: 16px;
@@ -1,6 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  import Fuse from "fuse.js";
3
3
  import { localizationStore, localizationStoreUpdateSelectedCountryCode, } from "../../store/hello/localization";
4
+ import { translate } from "../../store/translationStore";
4
5
  import { zonosStoreFontFamily } from "../../store/zonosStore";
5
6
  // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
6
7
  import GreenCheckDuotoneIcon from "./assets/greenCheckDuotone.svg";
@@ -16,7 +17,7 @@ export class ZonosCountrySelect {
16
17
  const input = event.target;
17
18
  this.inputValue = input.value;
18
19
  // query the country list container
19
- const countryListSelector = (_a = this.ele.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.zonos--country-select');
20
+ const countryListSelector = (_a = this.ele.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.zonos--country-filter-content');
20
21
  // scroll to top every time the input changes
21
22
  if (countryListSelector) {
22
23
  countryListSelector.scrollTop = 0;
@@ -28,21 +29,30 @@ export class ZonosCountrySelect {
28
29
  componentDidRender() {
29
30
  var _a, _b;
30
31
  // focus the input on render
31
- (_b = (_a = this.ele.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.zonos--country-select-input')) === null || _b === void 0 ? void 0 : _b.focus();
32
+ (_b = (_a = this.ele.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.zonos--country-filter-input')) === null || _b === void 0 ? void 0 : _b.focus();
32
33
  }
33
34
  render() {
34
35
  const { helloCountryList } = localizationStore;
35
36
  const countries = helloCountryList ? Object.values(helloCountryList) : [];
36
37
  const fuse = new Fuse(countries, {
38
+ includeScore: true,
37
39
  keys: ['displayName'],
40
+ threshold: 0.3,
38
41
  });
39
42
  const fuseObject = fuse.search(this.inputValue.toLowerCase());
40
43
  const filteredCountries = this.inputValue
41
44
  ? fuseObject.map(country => country.item)
42
45
  : countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
43
- return (h(Host, { key: '2337dcb4bbca5520cb6a4e9426167916c548ef59', class: "zonos--elements", style: {
46
+ const isEmpty = !filteredCountries.length;
47
+ return (h(Host, { key: 'd6d6a0736660d0c6e76f749f8ea78a8c95825b88', class: "zonos--elements", style: {
44
48
  '--font-family': zonosStoreFontFamily(),
45
- } }, h("div", { key: '7cb0f80536b6e89f23be24cc4860e84bfa7ab362', class: "zonos--country-select" }, h("zonos-v-stack", { key: 'fef186dbafd5e4d16e6f1486d3122c1297ef7f2d', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: '19ad548f3ab7aa6afdeaacd48d8b7c5821ba13e1', handleOnClose: () => this.handleOnClose(), label: "Select a country" }, h("input", { key: 'f7367680dbde6fb432dc778aed5a94291d1226c4', class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: "Search countries", value: this.inputValue }))), h("div", { key: 'e0765ab18a86a913edd7eec82452c0a9e5291f86', class: "zonos--country-select-content" }, filteredCountries.map(country => (h("button", { class: "zonos--country-select-country", onClick: () => this.countrySelected(country.code) }, h("zonos-country-flag", { class: "zonos--country-flag", countryCode: country.code }), h("zonos-text", { textColor: "gray-800" }, country.displayName), country.code === localizationStore.selectedCountryCode && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 20 })))))))));
49
+ } }, h("div", { key: '0bc3773965c49f0ee4da2056b6acc0ae361e227a', class: "zonos--country-select" }, h("zonos-v-stack", { key: '9e00877189dc39b789861c0425702d276cdad410', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: '9c098afdf6db8ef8e18dc855e19ab6d45b7db8be', handleOnClose: () => this.handleOnClose(), label: translate('Select a country') }, h("input", { key: '10c59b07a42da02fb348e289dc0211ae33b96638', autocomplete: "off", autofocus: "autofocus", class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: translate('Search countries'), value: this.inputValue }))), h("div", { key: 'fec8fb874726377a3c4a03ac5d264fc7d8a94a21', class: "zonos--country-select-content" }, isEmpty && (h("zonos-text", { key: '182fb6955798519e63d63121752bc65ac6045770', class: "no-country", textColor: "gray-800" }, translate('No countries found'))), h("zonos-virtual-scroll", { key: '3ccda154b37344857595d65ce3131ca6d2610a11', class: "zonos--country-filter-content", fallbackItemHeight: 34, itemHeights: filteredCountries.map(() => 34), renderItem: index => {
50
+ const country = filteredCountries[index];
51
+ if (!country) {
52
+ return null;
53
+ }
54
+ return (h("button", { class: "zonos--country-select-country", onClick: () => this.countrySelected(country.code) }, h("zonos-country-flag", { class: "zonos--country-flag", countryCode: country.code }), h("zonos-text", { textColor: "gray-800" }, country.displayName), country.code === localizationStore.selectedCountryCode && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 20 }))));
55
+ } })))));
46
56
  }
47
57
  static get is() { return "zonos-country-select"; }
48
58
  static get encapsulation() { return "shadow"; }
@@ -8,9 +8,9 @@ export class ZonosCustomMessage {
8
8
  }
9
9
  render() {
10
10
  const messageWithLinks = formatStringWithLinks(this.message);
11
- return (h(Host, { key: '37b59a5aad442e9c20b8ed03672c73c315b45538', class: "zonos--elements", style: {
11
+ return (h(Host, { key: 'd6d31b58cf5396c136d81a5969b418c79229c930', class: "zonos--elements", style: {
12
12
  '--font-family': zonosStoreFontFamily(),
13
- } }, this.message && (h("zonos-card", { key: '5de7e44deb7c0544789a9d2b306fc8b2cad338b8', class: "zonos--custom-message", spacing: "12px" }, h("div", { key: 'c911e94eb1d7cbaf1db2126d14a6eeed8932ff97', class: "zonos--flex-message" }, h("zonos-icon", { key: '35c7f483046b78e9dffe87370d6b2f9435bc0ec1', "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { key: 'fdbc136b2a01fd5df35a3b01aa82bb9d088083e0', innerHTML: messageWithLinks }))))));
13
+ } }, this.message && (h("zonos-card", { key: '4c62131117e23bbe475fb6f59a5e9bba8bc7d552', class: "zonos--custom-message", spacing: "12px" }, h("div", { key: '7ec3cbde2204fe0fa3b52844109bf0379677d567', class: "zonos--flex-message" }, h("zonos-icon", { key: 'cad94039767bd3d93fe9995aee34e8eb42fb707c', "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { key: 'f5bd77fafded83fefd99c45f0a78cf5c72459e47', innerHTML: messageWithLinks }))))));
14
14
  }
15
15
  static get is() { return "zonos-custom-message"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -59,7 +59,7 @@ export class ZonosDialog {
59
59
  const borderStyle = getBorderRadius({
60
60
  overrideBorderStyle: this.borderStyle,
61
61
  });
62
- return (h(Host, { key: '018771d0e01311ae520abcf33fbd64316794b202', class: classes([
62
+ return (h(Host, { key: '03735385e07c7f6c8a87df42ad95f8c9d9533668', class: classes([
63
63
  'zonos--elements',
64
64
  this.open && 'open',
65
65
  this.isLoading && 'is-loading',
@@ -71,10 +71,10 @@ export class ZonosDialog {
71
71
  '--height': this.height || 'initial',
72
72
  '--min-height': this.minHeight || '500px',
73
73
  '--width': this.width,
74
- } }, h("div", { key: 'a86c9f8465054fde894bbdd71149e59d97e8cbcf', class: "zonos--backdrop" }), h("div", { key: 'b2f0c86fa0e768474ba4d522f8c2b8157f89cd56', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: '26cd8a7b98d38c53dcf4789c8781f0c1ced99633', class: "zonos--dialog" }, this.isLoading && (h("div", { key: '34d0ba841a9af9ca2ff6d21d0471113cc86cdec3', class: "zonos--loading" }, h("zonos-spinner", { key: '0109778b1a9734de0959035e3975414fb1cac1be', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: 'f80a4c337727500ee1ad92c1d80d7b3088eccc0f', class: "zonos--header" }, this.headerText && (h("h3", { key: '92b078fbbcd9ca5f8bf178fc67f2bee817d1e961', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '698e45fffd466f22b6179aa220d35fe39ee5374c', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, variant: "subtle" })))), h("div", { key: 'a4012e5a48d5fbcc77cac038d8a39fe05f332008', class: classes([
74
+ } }, h("div", { key: 'da5d599e1a247f7e3364e6f5c9b2eae3db9539f5', class: "zonos--backdrop" }), h("div", { key: 'cda1a996d9521c2e0b307f7a03ca3ee3d4915b8d', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: '471d8a069d4f580233bdb3e9e971efdb268ef57d', class: "zonos--dialog" }, this.isLoading && (h("div", { key: '57220007aabcaef133c2c0782fa238cc43d63964', class: "zonos--loading" }, h("zonos-spinner", { key: '0298b754341abd61ec07706128d05df5332f915d', size: 30 }))), (this.headerText || !this.noCloseButton) && (h("div", { key: '5103dbc1c7593a8042505f767d8290825f9d10e7', class: "zonos--header" }, this.headerText && (h("h3", { key: 'a2d9cd4c8cb359aa64cf104a172ca960068c20a0', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: 'de9bf8a949344d19fcb8bfb496719282553be194', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, variant: "subtle" })))), h("div", { key: '1ec2cdca0f186cd0b28602580022ed0cb4b0eec9', class: classes([
75
75
  'zonos--body',
76
76
  this.noBodyPadding && 'zonos--no-body-padding',
77
- ]) }, h("slot", { key: 'd64b381cb91afde4ddbde58348a62612d9871c8e' })), h("slot", { key: '4ddd73bfe41ecd1c90b18f82a8d8f12a1eacf144', name: "dialog-footer" })))));
77
+ ]) }, h("slot", { key: '5071d921f48bf792a951a390d83b121e32771668' })), h("slot", { key: 'c1818ac301afc845f5b14fd0f2ac9a1fd3a27b99', name: "dialog-footer" })))));
78
78
  }
79
79
  static get is() { return "zonos-dialog"; }
80
80
  static get encapsulation() { return "shadow"; }
@@ -17,17 +17,17 @@ export class ZonosInput {
17
17
  this.inputChange.emit(newValue);
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: 'f4b7ad75b2aebce3bc05a482fe20fee290a3a4e7', class: classes([
20
+ return (h(Host, { key: '66ab3a9ec4ac4f78e448008824471cecd4775e78', class: classes([
21
21
  'zonos--input zonos--elements',
22
22
  this.inputSize,
23
23
  this.isError && 'has-error',
24
24
  ]), style: {
25
25
  '--border-radius': getBorderRadius(),
26
26
  '--font-family': zonosStoreFontFamily(),
27
- } }, h("div", { key: '356e16c11c1cd9edf137f69978ebaa3eb2c28d4e', class: classes([
27
+ } }, h("div", { key: 'cef0295dea117c8bf0b8f3dc090f7c34648b9b31', class: classes([
28
28
  'zonos--label-wrapper',
29
29
  this.isDisabled && 'disabled',
30
- ]) }, h("input", { key: '71659072bd58942efebb88be65ced18ad29be8ab', class: classes([
30
+ ]) }, h("input", { key: 'a5c9e0791292046e9520bf8d186f6dc76a23ba64', class: classes([
31
31
  'zonos--floated-input',
32
32
  !!this.inputLabel && 'has-label',
33
33
  this.inputValue && 'has-content',
@@ -35,7 +35,7 @@ export class ZonosInput {
35
35
  ]), disabled: this.isDisabled, onInput: e => {
36
36
  const input = e.target;
37
37
  this.inputChange.emit(input.value);
38
- }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: 'b84c60836fc969c23aedc314c67337e8e87f2ab6', class: "zonos--floated-label", "data-label": this.inputLabel }))));
38
+ }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '25f51d372fdb0819fe316bcbfce429d63ded358f', class: "zonos--floated-label", "data-label": this.inputLabel }))));
39
39
  }
40
40
  static get is() { return "zonos-input"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -16,9 +16,9 @@ export class ZonosLanguageSelect {
16
16
  }
17
17
  render() {
18
18
  const { selectedLocale } = localizationStore;
19
- return (h(Host, { key: '6682af3d631bac1a8d3783418c30364ff7694792', class: "zonos--elements", style: {
19
+ return (h(Host, { key: '448f89b5870956b6e9455968134b94c9409a983d', class: "zonos--elements", style: {
20
20
  '--font-family': zonosStoreFontFamily(),
21
- } }, h("div", { key: '9f7e60bc5c4e9d1c0cc31afcbbaec444a7da630e', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: 'f790ef85eeb0bed05773d98793437ab4d6e64c8d', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '7385a1134b21ae4b39947483ee643da021e6c54c', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
21
+ } }, h("div", { key: '23841aa801d68da4b537cfaab5ea89405ec66a9f', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '5fc1b45aa0cb27c94163c2dace5ce4ad63215dfc', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '7030fb276a05eea0e7333add3219b5316495662c', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
22
22
  }
23
23
  static get is() { return "zonos-language-select"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -7,7 +7,7 @@ export class ZonosLink {
7
7
  this.linkTitle = undefined;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'bba0da02c0dee468bd0cacd268f339f7ec4f1008', class: "zonos--elements" }, h("a", { key: '19515197e397b2b24237e77d3e89de75382c14e1', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '63d597a3091e954c9302e461030646b38ee2396e' }))));
10
+ return (h(Host, { key: 'a5913bea95608f1f1a95186664d2032a4aff66ec', class: "zonos--elements" }, h("a", { key: 'dffb72ba6d1820669b1dbd9e841a242cbe58d860', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '774219d208dce4b32dcc715b827b1d85fc5dfe5e' }))));
11
11
  }
12
12
  static get is() { return "zonos-link"; }
13
13
  static get encapsulation() { return "shadow"; }
@@ -10,11 +10,11 @@ export class ZonosLogo {
10
10
  const filterColor = this.theme === 'DARK'
11
11
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
12
12
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
13
- return (h(Host, { key: '08ef20244bc204125a7a308efed42cd7fc86c885', class: classes(['zonos--elements zonos--logo']), style: {
13
+ return (h(Host, { key: '8737fef033ef8114ca67be72b2f598897a6929b3', class: classes(['zonos--elements zonos--logo']), style: {
14
14
  '--filter-color': filterColor,
15
15
  '--font-family': zonosStoreFontFamily(),
16
16
  '--width': this.width,
17
- } }, h("img", { key: '9202f0619fa3874a19ca3050477719b19592d82a', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
17
+ } }, h("img", { key: 'd5a15f2f8f891f865c7eb46268ae2f113ad1d3b4', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
18
18
  }
19
19
  static get is() { return "zonos-logo"; }
20
20
  static get encapsulation() { return "shadow"; }
@@ -14,11 +14,11 @@ export class ZonosRestState {
14
14
  }
15
15
  render() {
16
16
  const imageUrl = this.getImageRestState();
17
- return (h(Host, { key: 'c6b1e581578da852f6ff852c0c8ff48eba97c82b', class: classes(['zonos--elements zonos--restState']), style: {
17
+ return (h(Host, { key: 'a87be11591bfc71ad5133ceeea1f6b396cd98055', class: classes(['zonos--elements zonos--restState']), style: {
18
18
  '--font-family': zonosStoreFontFamily(),
19
- } }, h("div", { key: '3c9bb31ade1e3343901fbb22bef5a123b3332a77', class: "zonos--restState-image" }, h("img", { key: '00417c062265b35f8603d90520f5efe677b76b19', alt: this.restStateType, onError: () => {
19
+ } }, h("div", { key: 'c317f01e0ac745e6ef91df1247b98c72aa340ce8', class: "zonos--restState-image" }, h("img", { key: '34947c09f8bcb76b21a547d8f5e0aa88d957a760', alt: this.restStateType, onError: () => {
20
20
  this.isErrorImageLoad = true;
21
- }, src: imageUrl })), h("div", { key: '503346f06d25e04a1bc1bbfb770359817854cd64', class: "content" }, h("zonos-text", { key: 'eb580484efd22fd93530d43d04889569ced27fba', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '34972cd05b26b01b1e7877a80b79d6729b63b025', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: '703bfa3740b94e7d742804cd073347ba5f6a8855', class: "action" }, h("slot", { key: 'd0b330b60ad98bda20d35cc6802412d24ab6c536' }))));
21
+ }, src: imageUrl })), h("div", { key: '6e5ea4207cafd572ad947e10526d20c38b24764f', class: "content" }, h("zonos-text", { key: '2dcb142426419451a0543ef2a110d7e8c713879f', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '440fe0d032979b56316cc9dc58c67d2c62795f3a', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: '2c9d2542bee1dc37202204529d8dd09b9c0592fa', class: "action" }, h("slot", { key: 'a50f0d183dd80a5c8509c8d3b839e342c661a33f' }))));
22
22
  }
23
23
  static get is() { return "zonos-rest-state"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -8,9 +8,9 @@ export class ZonosSelectDialogHeader {
8
8
  this.label = '';
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '21cd3c3e35baf172ecad7f47a76810e8f39bdeff', class: "zonos--elements", style: {
11
+ return (h(Host, { key: '8ac4e1bcd64f6a2073e1161fec76c9b117345ada', class: "zonos--elements", style: {
12
12
  '--font-family': zonosStoreFontFamily(),
13
- } }, h("zonos-v-stack", { key: '0470633326b6fca9b45a8be67e0d77819561f634', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '8713cbf368658af22bb88825d32175117d47c95b', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '2f94e9f6139570398897ca55934c5244df7f82e8', type: "boldLabel" }, this.label), h("zonos-button", { key: 'c247dabcc8f487a4cc5a814fb1aa4d9a68fa4ba3', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: '26727e634ec09a3b9e3912ada3b920a87a1ba4d0' }))));
13
+ } }, h("zonos-v-stack", { key: 'fe4a184a8bed7aceb4c3f8d341fed50380587c77', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '2176069a11ba20c7408ef898044f2ba68eea4a80', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '45b9d890484881a15c4fa7a7e4028f9887cc942e', type: "boldLabel" }, this.label), h("zonos-button", { key: '65f0d9ea7b6dee35d23aa6fca19fd686190b667f', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: '758fce95d668ad755745687d3fcf1a6a307061bc' }))));
14
14
  }
15
15
  static get is() { return "zonos-select-dialog-header"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -7,10 +7,10 @@ export class ZonosTooltip {
7
7
  this.showTooltip = false;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'a38f8d5dec27abcfc73f341b9451ac29c71f3e1a', class: "zonos--elements" }, h("div", { key: 'dc2d9d599437e79d61ea6a7c4dc1cbba6ab03748', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: 'a0e10b6ea75346cee1b5a42f0c35f9a86ba4f1ee' }), h("div", { key: 'bed28d732fe207e56f03ba50ea835c562c5d08cb', class: classes([
10
+ return (h(Host, { key: '24f3b1f73cc320540ab3700213004c267ea04658', class: "zonos--elements" }, h("div", { key: '7f52acf90cb5b9f1fd5efdc4fedc4d61a893a646', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '1871529e8b75c44a71bf1f5bc9e60b81bbc598d2' }), h("div", { key: 'c0b9c9c1b3fef5f766d2bad4c5bea48f3d6bbb6f', class: classes([
11
11
  this.showTooltip && 'zonos--show-tooltip',
12
12
  'zonos--tooltip-content',
13
- ]) }, h("zonos-text", { key: '920ef6419d1dedd71e46be23e9a19dc1042925ce', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: '259961488d833d3728819f6ba93ea6579b0f3f9d', size: "xs", textColor: "gray-0" }, this.subtitle)))));
13
+ ]) }, h("zonos-text", { key: '3b106cb439877dffa101f15fb01aff980a64c7cb', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'c0005051e6e1b614b7739718e1a262f6043d56f5', size: "xs", textColor: "gray-0" }, this.subtitle)))));
14
14
  }
15
15
  static get is() { return "zonos-tooltip"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -7,9 +7,9 @@ export class VStack {
7
7
  this.spacing = 24;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: '8cdee94089af0eac57784a7914e169f363472577', style: {
10
+ return (h(Host, { key: 'e542ff8bbefa3223f157ad4bd6e537af8e5d5a5d', style: {
11
11
  '--font-family': zonosStoreFontFamily(),
12
- } }, h("div", { key: 'd60da826d77b4cf7e5349b75927fc746f0053ddd', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: '97b0e8232cbac73938225e1310712c1607997073' }))));
12
+ } }, h("div", { key: '9bd1cc8fdf94265d7d2767d507af7ad21d77234d', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'c8a294410e4c1348405c53283cf4dba176d5b27b' }))));
13
13
  }
14
14
  static get is() { return "zonos-v-stack"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,46 @@
1
+ :host {
2
+ font-family: var(--font-family, Inter), Inter;
3
+ display: block;
4
+ white-space: normal;
5
+ }
6
+ :host * {
7
+ font-family: var(--font-family, Inter), Inter;
8
+ }
9
+ :host img {
10
+ max-width: 100%;
11
+ }
12
+ :host dl,
13
+ :host dd,
14
+ :host h1,
15
+ :host h2,
16
+ :host h3,
17
+ :host h4,
18
+ :host h5,
19
+ :host h6,
20
+ :host hr,
21
+ :host figure,
22
+ :host p,
23
+ :host pre {
24
+ margin: 0;
25
+ }
26
+
27
+ /* All sets of variable are here */
28
+ /* smooth font rendering */
29
+ :host {
30
+ -moz-osx-font-smoothing: grayscale;
31
+ -webkit-font-smoothing: antialiased;
32
+ }
33
+
34
+ :host {
35
+ overflow: scroll;
36
+ }
37
+ :host .scroller {
38
+ display: inline-block;
39
+ }
40
+ :host .item-container {
41
+ position: relative;
42
+ display: inline-block;
43
+ }
44
+ :host .item-container .item {
45
+ position: absolute;
46
+ }