@zonos/elements 1.3.262 → 1.3.264

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 (356) hide show
  1. package/dist/cjs/{cart-d08c87e2.js → cart-d4486651.js} +4 -4
  2. package/dist/cjs/{debounce-3e17b4e9.js → debounce-606d1801.js} +1 -1
  3. package/dist/cjs/{getBorderRadius-db55a464.js → getBorderRadius-a91911e7.js} +1 -1
  4. package/dist/cjs/{getContrastColor-8ed1cb48.js → getContrastColor-68058615.js} +2 -2
  5. package/dist/cjs/{hasInclusivePrice-c781c336.js → hasInclusivePrice-40358cb1.js} +1 -1
  6. package/dist/cjs/index.cjs.js +7 -7
  7. package/dist/cjs/{invoice-e64f97c6.js → invoice-600fa2a4.js} +3 -3
  8. package/dist/cjs/{isCollectMobileTablet-9675485f.js → isCollectMobileTablet-f56566ef.js} +3 -3
  9. package/dist/cjs/{isContrastColor-6a17f408.js → isContrastColor-a02c4889.js} +1 -1
  10. package/dist/cjs/{isDarkColor-bfe6d1eb.js → isDarkColor-e317bb06.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/{localization-a7fac4b4.js → localization-06cc0379.js} +16 -2
  13. package/dist/cjs/{paypal-e278f405.js → paypal-52c4a4d4.js} +5 -5
  14. package/dist/cjs/{placeTestOrder-aefd31e8.js → placeTestOrder-7c88197a.js} +2 -2
  15. package/dist/cjs/{renderCheckoutCurrency-a374741a.js → renderCheckoutCurrency-2ebeff09.js} +2 -2
  16. package/dist/cjs/{submitGtag-4241212b.js → submitGtag-07a3b09e.js} +1 -1
  17. package/dist/cjs/{throttle-dac93461.js → throttle-8aebac7d.js} +2 -2
  18. package/dist/cjs/{updateCheckoutSessionAttributes-a3776bb0.js → updateCheckoutSessionAttributes-a9a97194.js} +1 -1
  19. package/dist/cjs/zonos-address-display_8.cjs.entry.js +24 -24
  20. package/dist/cjs/zonos-address_4.cjs.entry.js +13 -13
  21. package/dist/cjs/zonos-badge.cjs.entry.js +4 -4
  22. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-button_3.cjs.entry.js +6 -6
  24. package/dist/cjs/zonos-card_5.cjs.entry.js +14 -14
  25. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +25 -23
  26. package/dist/cjs/zonos-checkbox_2.cjs.entry.js +8 -8
  27. package/dist/cjs/zonos-checkout.cjs.entry.js +217 -67
  28. package/dist/cjs/zonos-collapse.cjs.entry.js +3 -3
  29. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +9 -9
  30. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +27 -25
  31. package/dist/cjs/zonos-collect.cjs.entry.js +9 -9
  32. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  33. package/dist/cjs/zonos-controller.cjs.entry.js +7 -7
  34. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  35. package/dist/cjs/zonos-country-select_4.cjs.entry.js +15 -13
  36. package/dist/cjs/zonos-elements.cjs.js +1 -1
  37. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +13 -11
  38. package/dist/cjs/zonos-hello.cjs.entry.js +46 -14
  39. package/dist/cjs/zonos-input.cjs.entry.js +6 -6
  40. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +11 -11
  41. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +22 -20
  42. package/dist/cjs/zonos-invoice.cjs.entry.js +9 -9
  43. package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -6
  44. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  45. package/dist/cjs/zonos-logo.cjs.entry.js +3 -3
  46. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
  47. package/dist/cjs/zonos-store-credit.cjs.entry.js +6 -6
  48. package/dist/cjs/zonos-stripe-input.cjs.entry.js +7 -7
  49. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  50. package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
  51. package/dist/cjs/zonos-v-stack.cjs.entry.js +3 -3
  52. package/dist/cjs/{zonosStore-1c517e55.js → zonosStore-0662b95f.js} +1 -0
  53. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +5 -0
  54. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +4 -2
  55. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +52 -0
  56. package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
  57. package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +2 -2
  58. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.css +5 -0
  59. package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +5 -3
  60. package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
  61. package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
  62. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
  63. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
  64. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.css +5 -0
  65. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +5 -3
  66. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
  67. package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
  68. package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
  69. package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
  70. package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
  71. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
  72. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
  73. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
  74. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
  75. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
  76. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  77. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
  78. package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
  79. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  80. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  81. package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
  82. package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
  83. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  84. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
  85. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  86. package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
  87. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
  88. package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
  89. package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +5 -5
  90. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
  91. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  92. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  93. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
  94. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  95. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +23 -15
  96. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +45 -10
  97. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +5 -0
  98. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +4 -2
  99. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +10 -8
  100. package/dist/collection/components/main/zonos-controller.js +1 -1
  101. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  102. package/dist/collection/components/store/zonosStore.js +1 -0
  103. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  104. package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
  105. package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
  106. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  107. package/dist/collection/components/utils/checkout/bigcommerceStorefrontApi.js +1 -1
  108. package/dist/collection/components/utils/checkout/getBigCommerceCustomerAddresses.js +99 -0
  109. package/dist/collection/components/utils/hello/currencyConversion/currencyDisplay.js +15 -0
  110. package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js +1 -1
  111. package/dist/collection/components/utils/hello/getHelloWidgetSize.js +22 -0
  112. package/dist/collection/types/generated/graphql.internal.types.js +67 -1
  113. package/dist/esm/{cart-c490d252.js → cart-41f41429.js} +4 -4
  114. package/dist/esm/{debounce-8faafc9f.js → debounce-ab526ca0.js} +1 -1
  115. package/dist/esm/{getBorderRadius-66de1b16.js → getBorderRadius-98c64be8.js} +1 -1
  116. package/dist/esm/{getContrastColor-e14f95a7.js → getContrastColor-2340485f.js} +2 -2
  117. package/dist/esm/{hasInclusivePrice-7a0ce66a.js → hasInclusivePrice-afc0dd6e.js} +1 -1
  118. package/dist/esm/index.js +7 -7
  119. package/dist/esm/{invoice-3ea5715b.js → invoice-e6721745.js} +3 -3
  120. package/dist/esm/{isCollectMobileTablet-0dcbd45a.js → isCollectMobileTablet-d02bb448.js} +3 -3
  121. package/dist/esm/{isContrastColor-f9e65e70.js → isContrastColor-6bad285e.js} +1 -1
  122. package/dist/esm/{isDarkColor-8092a9fb.js → isDarkColor-0a8453e7.js} +1 -1
  123. package/dist/esm/loader.js +1 -1
  124. package/dist/esm/{localization-542dbe20.js → localization-ee06df70.js} +16 -2
  125. package/dist/esm/{paypal-d8804da5.js → paypal-ac74241f.js} +5 -5
  126. package/dist/esm/{placeTestOrder-d7001709.js → placeTestOrder-0416d327.js} +2 -2
  127. package/dist/esm/{renderCheckoutCurrency-75f1bba3.js → renderCheckoutCurrency-99da51f5.js} +2 -2
  128. package/dist/esm/{submitGtag-7f5c5bb5.js → submitGtag-ae9d5d91.js} +1 -1
  129. package/dist/esm/{throttle-5a66b4fd.js → throttle-882b1f47.js} +2 -2
  130. package/dist/esm/{updateCheckoutSessionAttributes-8f3f932e.js → updateCheckoutSessionAttributes-da7fdd37.js} +1 -1
  131. package/dist/esm/zonos-address-display_8.entry.js +24 -24
  132. package/dist/esm/zonos-address_4.entry.js +13 -13
  133. package/dist/esm/zonos-badge.entry.js +4 -4
  134. package/dist/esm/zonos-banner.entry.js +1 -1
  135. package/dist/esm/zonos-button_3.entry.js +6 -6
  136. package/dist/esm/zonos-card_5.entry.js +14 -14
  137. package/dist/esm/zonos-cart-items_12.entry.js +25 -23
  138. package/dist/esm/zonos-checkbox_2.entry.js +8 -8
  139. package/dist/esm/zonos-checkout.entry.js +218 -68
  140. package/dist/esm/zonos-collapse.entry.js +3 -3
  141. package/dist/esm/zonos-collect-cart-items_3.entry.js +9 -9
  142. package/dist/esm/zonos-collect-finish_6.entry.js +27 -25
  143. package/dist/esm/zonos-collect.entry.js +9 -9
  144. package/dist/esm/zonos-component.entry.js +1 -1
  145. package/dist/esm/zonos-controller.entry.js +7 -7
  146. package/dist/esm/zonos-country-flag.entry.js +2 -2
  147. package/dist/esm/zonos-country-select_4.entry.js +15 -13
  148. package/dist/esm/zonos-elements.js +1 -1
  149. package/dist/esm/zonos-hello-dialog.entry.js +13 -11
  150. package/dist/esm/zonos-hello.entry.js +46 -14
  151. package/dist/esm/zonos-input.entry.js +6 -6
  152. package/dist/esm/zonos-invoice-cart-items_2.entry.js +11 -11
  153. package/dist/esm/zonos-invoice-finish_5.entry.js +22 -20
  154. package/dist/esm/zonos-invoice.entry.js +9 -9
  155. package/dist/esm/zonos-language-select_2.entry.js +6 -6
  156. package/dist/esm/zonos-link.entry.js +1 -1
  157. package/dist/esm/zonos-logo.entry.js +3 -3
  158. package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
  159. package/dist/esm/zonos-store-credit.entry.js +6 -6
  160. package/dist/esm/zonos-stripe-input.entry.js +7 -7
  161. package/dist/esm/zonos-text.entry.js +1 -1
  162. package/dist/esm/zonos-tooltip.entry.js +2 -2
  163. package/dist/esm/zonos-v-stack.entry.js +3 -3
  164. package/dist/esm/{zonosStore-f1d45eac.js → zonosStore-9662b071.js} +1 -0
  165. package/dist/esm-es5/{cart-c490d252.js → cart-41f41429.js} +1 -1
  166. package/dist/esm-es5/{debounce-8faafc9f.js → debounce-ab526ca0.js} +1 -1
  167. package/dist/esm-es5/{getBorderRadius-66de1b16.js → getBorderRadius-98c64be8.js} +1 -1
  168. package/dist/esm-es5/{getContrastColor-e14f95a7.js → getContrastColor-2340485f.js} +1 -1
  169. package/dist/esm-es5/{hasInclusivePrice-7a0ce66a.js → hasInclusivePrice-afc0dd6e.js} +1 -1
  170. package/dist/esm-es5/index.js +1 -1
  171. package/dist/esm-es5/{invoice-3ea5715b.js → invoice-e6721745.js} +1 -1
  172. package/dist/esm-es5/{isCollectMobileTablet-0dcbd45a.js → isCollectMobileTablet-d02bb448.js} +1 -1
  173. package/dist/esm-es5/{isContrastColor-f9e65e70.js → isContrastColor-6bad285e.js} +1 -1
  174. package/dist/esm-es5/{isDarkColor-8092a9fb.js → isDarkColor-0a8453e7.js} +1 -1
  175. package/dist/esm-es5/loader.js +1 -1
  176. package/dist/esm-es5/{localization-542dbe20.js → localization-ee06df70.js} +1 -1
  177. package/dist/esm-es5/{paypal-d8804da5.js → paypal-ac74241f.js} +2 -2
  178. package/dist/esm-es5/{placeTestOrder-d7001709.js → placeTestOrder-0416d327.js} +1 -1
  179. package/dist/esm-es5/{renderCheckoutCurrency-75f1bba3.js → renderCheckoutCurrency-99da51f5.js} +1 -1
  180. package/dist/esm-es5/{submitGtag-7f5c5bb5.js → submitGtag-ae9d5d91.js} +1 -1
  181. package/dist/esm-es5/{throttle-5a66b4fd.js → throttle-882b1f47.js} +1 -1
  182. package/dist/esm-es5/{updateCheckoutSessionAttributes-8f3f932e.js → updateCheckoutSessionAttributes-da7fdd37.js} +1 -1
  183. package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
  184. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  185. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  186. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  187. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  188. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  189. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  190. package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
  191. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  192. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  193. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  194. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  195. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  196. package/dist/esm-es5/zonos-component.entry.js +1 -1
  197. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  198. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  199. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  200. package/dist/esm-es5/zonos-elements.js +1 -1
  201. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  202. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  203. package/dist/esm-es5/zonos-input.entry.js +1 -1
  204. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  205. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  206. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  207. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  208. package/dist/esm-es5/zonos-link.entry.js +1 -1
  209. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  210. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  211. package/dist/esm-es5/zonos-store-credit.entry.js +1 -1
  212. package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
  213. package/dist/esm-es5/zonos-text.entry.js +1 -1
  214. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  215. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  216. package/dist/esm-es5/{zonosStore-f1d45eac.js → zonosStore-9662b071.js} +1 -1
  217. package/dist/scripts/index.d.ts +31 -15
  218. package/dist/scripts/index.js +1 -1
  219. package/dist/scripts/loadZonos.js +1 -1
  220. package/dist/scripts/zonos.js +1 -1
  221. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +9 -0
  222. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +8 -1
  223. package/dist/types/components/utils/checkout/bigcommerceStorefrontApi.d.ts +22 -11
  224. package/dist/types/components/utils/checkout/getBigCommerceCustomerAddresses.d.ts +26 -0
  225. package/dist/types/components/utils/hello/getHelloWidgetSize.d.ts +15 -0
  226. package/dist/types/components.d.ts +10 -2
  227. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +8 -7
  228. package/dist/types/types/generated/graphql.internal.types.d.ts +100 -20
  229. package/dist/types/types/generated/graphql.internal.types.ts +118 -20
  230. package/dist/types/types/hello/HelloConfig.d.ts +5 -0
  231. package/dist/zonos-elements/index.esm.js +1 -1
  232. package/dist/zonos-elements/{p-53fe581b.system.js → p-0207c91e.system.js} +1 -1
  233. package/dist/zonos-elements/{p-9262a57c.system.entry.js → p-0529a06b.system.entry.js} +1 -1
  234. package/dist/zonos-elements/{p-d7a9be55.system.js → p-076ca381.system.js} +1 -1
  235. package/dist/zonos-elements/{p-5a79e1f4.entry.js → p-07cdff18.entry.js} +1 -1
  236. package/dist/zonos-elements/{p-5db00bfa.system.entry.js → p-0914b8a1.system.entry.js} +1 -1
  237. package/dist/zonos-elements/{p-155b4425.entry.js → p-0b4ba025.entry.js} +1 -1
  238. package/dist/zonos-elements/{p-17476a30.system.entry.js → p-0f9a04fe.system.entry.js} +1 -1
  239. package/dist/zonos-elements/{p-72adb40d.js → p-14ce8e3a.js} +1 -1
  240. package/dist/zonos-elements/{p-7df3e44b.system.entry.js → p-15f70aae.system.entry.js} +1 -1
  241. package/dist/zonos-elements/{p-b1c76c38.system.entry.js → p-16948eea.system.entry.js} +1 -1
  242. package/dist/zonos-elements/{p-43a6e469.system.js → p-1bf9a1b9.system.js} +1 -1
  243. package/dist/zonos-elements/{p-e749fb81.entry.js → p-1cc651e8.entry.js} +1 -1
  244. package/dist/zonos-elements/{p-a3020bc9.entry.js → p-1ed2827f.entry.js} +1 -1
  245. package/dist/zonos-elements/p-20e0c24e.entry.js +1 -0
  246. package/dist/zonos-elements/{p-248bdea2.system.js → p-24aae506.system.js} +1 -1
  247. package/dist/zonos-elements/{p-f7d24382.system.entry.js → p-2555ba6b.system.entry.js} +1 -1
  248. package/dist/zonos-elements/{p-3deb91cb.entry.js → p-258c0551.entry.js} +1 -1
  249. package/dist/zonos-elements/{p-f00a56be.system.entry.js → p-274a7c0e.system.entry.js} +1 -1
  250. package/dist/zonos-elements/{p-fb87172c.entry.js → p-283ffaad.entry.js} +1 -1
  251. package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
  252. package/dist/zonos-elements/{p-aa74b61a.system.entry.js → p-2c027b67.system.entry.js} +1 -1
  253. package/dist/zonos-elements/p-2fc253b3.js +1 -0
  254. package/dist/zonos-elements/{p-00bd7e5d.entry.js → p-32ecece3.entry.js} +1 -1
  255. package/dist/zonos-elements/p-349bdc03.system.entry.js +1 -0
  256. package/dist/zonos-elements/{p-80e7cab5.entry.js → p-34dc7755.entry.js} +1 -1
  257. package/dist/zonos-elements/p-367a72bc.js +1 -0
  258. package/dist/zonos-elements/{p-15ef7644.system.js → p-3689821f.system.js} +1 -1
  259. package/dist/zonos-elements/{p-a75b8ad7.js → p-37f47658.js} +1 -1
  260. package/dist/zonos-elements/{p-4a227683.system.entry.js → p-3a23ec5f.system.entry.js} +1 -1
  261. package/dist/zonos-elements/p-3bc1adb7.entry.js +1 -0
  262. package/dist/zonos-elements/p-41f2e301.entry.js +1 -0
  263. package/dist/zonos-elements/{p-b5223840.js → p-4220556e.js} +1 -1
  264. package/dist/zonos-elements/{p-072c5e07.system.entry.js → p-42518502.system.entry.js} +1 -1
  265. package/dist/zonos-elements/p-4980facb.js +1 -0
  266. package/dist/zonos-elements/{p-5dd78b4b.js → p-4c89d04a.js} +1 -1
  267. package/dist/zonos-elements/{p-27f01d76.entry.js → p-52077d7c.entry.js} +1 -1
  268. package/dist/zonos-elements/p-551dd2e0.js +1 -0
  269. package/dist/zonos-elements/{p-b2cd18b4.system.entry.js → p-5678c044.system.entry.js} +1 -1
  270. package/dist/zonos-elements/{p-ed827ca3.entry.js → p-59aa5785.entry.js} +1 -1
  271. package/dist/zonos-elements/{p-e25e0b4b.system.js → p-5e6f85f0.system.js} +1 -1
  272. package/dist/zonos-elements/{p-cdbb50cf.entry.js → p-665bfd4f.entry.js} +1 -1
  273. package/dist/zonos-elements/{p-4cee62fb.entry.js → p-66edcaa4.entry.js} +1 -1
  274. package/dist/zonos-elements/{p-cab6bd98.system.js → p-6a195559.system.js} +1 -1
  275. package/dist/zonos-elements/p-6b9ad020.entry.js +1 -0
  276. package/dist/zonos-elements/p-6d81901a.js +1 -0
  277. package/dist/zonos-elements/{p-3ff736f7.system.entry.js → p-7003d093.system.entry.js} +1 -1
  278. package/dist/zonos-elements/{p-196423ad.system.js → p-721069c3.system.js} +1 -1
  279. package/dist/zonos-elements/{p-14f156c6.system.entry.js → p-72833da8.system.entry.js} +1 -1
  280. package/dist/zonos-elements/{p-f2909fb8.entry.js → p-7564d199.entry.js} +1 -1
  281. package/dist/zonos-elements/{p-e76dc266.system.entry.js → p-79f3c227.system.entry.js} +1 -1
  282. package/dist/zonos-elements/p-84c7cae6.system.entry.js +1 -0
  283. package/dist/zonos-elements/{p-e55bc187.entry.js → p-8571f3ce.entry.js} +1 -1
  284. package/dist/zonos-elements/p-86ed51fd.entry.js +1 -0
  285. package/dist/zonos-elements/{p-d50fef06.system.entry.js → p-88596f27.system.entry.js} +1 -1
  286. package/dist/zonos-elements/p-8a01157e.system.entry.js +1 -0
  287. package/dist/zonos-elements/{p-9e761130.entry.js → p-8a21ed2d.entry.js} +1 -1
  288. package/dist/zonos-elements/{p-bf4d2299.system.entry.js → p-90a19f4c.system.entry.js} +1 -1
  289. package/dist/zonos-elements/{p-947f5092.js → p-90d19cb6.js} +1 -1
  290. package/dist/zonos-elements/{p-06ef4d79.entry.js → p-9288878f.entry.js} +1 -1
  291. package/dist/zonos-elements/{p-ef12af4b.entry.js → p-92a14180.entry.js} +1 -1
  292. package/dist/zonos-elements/{p-dee6adff.system.js → p-98c53c77.system.js} +1 -1
  293. package/dist/zonos-elements/{p-8d0bca3a.system.entry.js → p-9da832b2.system.entry.js} +1 -1
  294. package/dist/zonos-elements/{p-a8bb461c.js → p-9eff0691.js} +1 -1
  295. package/dist/zonos-elements/{p-66934a78.system.entry.js → p-9f18348f.system.entry.js} +1 -1
  296. package/dist/zonos-elements/p-9f7e7148.system.js +1 -0
  297. package/dist/zonos-elements/{p-e36e724b.system.entry.js → p-a2e9b2aa.system.entry.js} +1 -1
  298. package/dist/zonos-elements/{p-a661dd45.system.entry.js → p-a5f5993f.system.entry.js} +1 -1
  299. package/dist/zonos-elements/p-a901d002.js +1 -0
  300. package/dist/zonos-elements/{p-2f924331.js → p-ab0b23f2.js} +1 -1
  301. package/dist/zonos-elements/{p-e673a4d9.entry.js → p-ab73cbed.entry.js} +1 -1
  302. package/dist/zonos-elements/p-b0526805.system.entry.js +1 -0
  303. package/dist/zonos-elements/{p-f0046c48.entry.js → p-b13d56b9.entry.js} +1 -1
  304. package/dist/zonos-elements/{p-6b7beb44.system.js → p-b32cd0c5.system.js} +1 -1
  305. package/dist/zonos-elements/{p-ade15fd2.entry.js → p-b4b23475.entry.js} +1 -1
  306. package/dist/zonos-elements/{p-0699931c.system.js → p-b65bca4b.system.js} +1 -1
  307. package/dist/zonos-elements/p-ba7cf5e8.system.entry.js +1 -0
  308. package/dist/zonos-elements/{p-c7ecef98.system.entry.js → p-ba9e2612.system.entry.js} +1 -1
  309. package/dist/zonos-elements/{p-9de27162.system.entry.js → p-c0fffa75.system.entry.js} +1 -1
  310. package/dist/zonos-elements/p-c52bc5ad.system.entry.js +1 -0
  311. package/dist/zonos-elements/p-c9a1f774.js +1 -0
  312. package/dist/zonos-elements/{p-a1142a95.entry.js → p-cc481c69.entry.js} +1 -1
  313. package/dist/zonos-elements/p-ccc4f69b.entry.js +1 -0
  314. package/dist/zonos-elements/{p-20263609.system.js → p-ce855245.system.js} +1 -1
  315. package/dist/zonos-elements/{p-4d776228.entry.js → p-d1ff24f5.entry.js} +1 -1
  316. package/dist/zonos-elements/{p-f6922df5.js → p-d28be518.js} +1 -1
  317. package/dist/zonos-elements/p-d6b49830.entry.js +1 -0
  318. package/dist/zonos-elements/{p-5beab541.js → p-db3b101a.js} +1 -1
  319. package/dist/zonos-elements/{p-0ec4e307.system.js → p-db607fc3.system.js} +1 -1
  320. package/dist/zonos-elements/{p-a98b8b68.system.js → p-dea75665.system.js} +2 -2
  321. package/dist/zonos-elements/p-e3292be8.system.js +1 -0
  322. package/dist/zonos-elements/{p-b47fcd8c.system.entry.js → p-e3bc3917.system.entry.js} +1 -1
  323. package/dist/zonos-elements/{p-d983d472.entry.js → p-e5582c35.entry.js} +1 -1
  324. package/dist/zonos-elements/p-e5dfccd8.system.js +1 -0
  325. package/dist/zonos-elements/{p-7dbac3ae.system.entry.js → p-e6cc5a25.system.entry.js} +1 -1
  326. package/dist/zonos-elements/{p-313b87f3.system.entry.js → p-e98e4c0b.system.entry.js} +1 -1
  327. package/dist/zonos-elements/{p-61be7d98.system.js → p-eb99a625.system.js} +1 -1
  328. package/dist/zonos-elements/{p-ed9385f4.js → p-f3cfd8fa.js} +1 -1
  329. package/dist/zonos-elements/{p-c263f95f.entry.js → p-f546bd7d.entry.js} +1 -1
  330. package/dist/zonos-elements/{p-55742c52.entry.js → p-f9c715ad.entry.js} +1 -1
  331. package/dist/zonos-elements/{p-50a15e3d.system.entry.js → p-fb684748.system.entry.js} +1 -1
  332. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  333. package/package.json +1 -1
  334. package/dist/zonos-elements/p-022ddd4a.system.entry.js +0 -1
  335. package/dist/zonos-elements/p-09307a03.js +0 -1
  336. package/dist/zonos-elements/p-1916c2b0.entry.js +0 -1
  337. package/dist/zonos-elements/p-34fc45e5.entry.js +0 -1
  338. package/dist/zonos-elements/p-56c11359.system.entry.js +0 -1
  339. package/dist/zonos-elements/p-7158a18b.js +0 -1
  340. package/dist/zonos-elements/p-721fadd5.js +0 -1
  341. package/dist/zonos-elements/p-7237f43b.system.entry.js +0 -1
  342. package/dist/zonos-elements/p-72a181b5.entry.js +0 -1
  343. package/dist/zonos-elements/p-75a27c68.entry.js +0 -1
  344. package/dist/zonos-elements/p-7c5c5318.js +0 -1
  345. package/dist/zonos-elements/p-7d9bbdc8.js +0 -1
  346. package/dist/zonos-elements/p-838e335c.entry.js +0 -1
  347. package/dist/zonos-elements/p-8bce79f4.system.js +0 -1
  348. package/dist/zonos-elements/p-944bf0e7.js +0 -1
  349. package/dist/zonos-elements/p-a2b3c1ef.system.entry.js +0 -1
  350. package/dist/zonos-elements/p-b21cf539.system.entry.js +0 -1
  351. package/dist/zonos-elements/p-ca411d97.entry.js +0 -1
  352. package/dist/zonos-elements/p-cd563d65.system.js +0 -1
  353. package/dist/zonos-elements/p-cdf99051.entry.js +0 -1
  354. package/dist/zonos-elements/p-dc4e867e.system.entry.js +0 -1
  355. package/dist/zonos-elements/p-e6726a50.system.js +0 -1
  356. package/dist/zonos-elements/p-f68ce554.js +0 -1
@@ -86,7 +86,7 @@ export class ZonosDialog {
86
86
  const borderStyle = getBorderRadius({
87
87
  overrideBorderStyle: this.borderStyle,
88
88
  });
89
- return (h(Host, { key: 'ea5fe1fbc9cddf1937f5d3d5472e8288ca99a772', class: classes([
89
+ return (h(Host, { key: 'a5e865f6ef72282447404923a8c1b9920ead47b1', class: classes([
90
90
  'zonos--elements',
91
91
  this.open && 'open',
92
92
  this.isLoading && 'is-loading',
@@ -98,10 +98,10 @@ export class ZonosDialog {
98
98
  '--zonos--height': this.height || 'initial',
99
99
  '--zonos--min-height': this.minHeight || '500px',
100
100
  '--zonos--width': this.width,
101
- } }, h("div", { key: 'a8086837918088143287c231afc7594157657ea6', class: "zonos--backdrop" }), h("div", { key: '2449af1214f4b4d745993ea001b4f1147f3989a7', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: 'f4507a332b704e09fe17c5d73b440c284d83b7d9', class: "zonos--dialog" }, this.isLoading && (h("div", { key: '1bcb8e243e87611474205d6ecd0490e43eb83383', class: "zonos--loading" }, h("zonos-spinner", { key: 'cf7ad545ef370501cf95a7e58736c90b94da7937', size: 30 }), this.loadingTitle && (h("zonos-text", { key: '0d9f87e7d1ce303f996c2536f863f1d125f3c040', class: "zonos--loading-title", size: "l", weight: 700 }, this.loadingTitle)), this.loadingText && (h("zonos-text", { key: 'e2a1d073d020b7914a1025024da0841e10bd09fb', class: "zonos--loading-text" }, this.loadingText)))), (this.headerText || !this.noCloseButton) && (h("div", { key: '3de5de755a28433ac8e14c0b7a1940ca6831a2fd', class: "zonos--header" }, this.headerText && (h("h3", { key: '89f5eb402ef75a079f6d0e0f87f986d461730727', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: 'fe220b8a93de46c56bebc704e68940c9f70e4cb1', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), h("div", { key: '1313249b74777b0394a7a7fca6745add56292086', class: classes([
101
+ } }, h("div", { key: 'de67001c33a779ed467502d3f2300844034f9559', class: "zonos--backdrop" }), h("div", { key: 'ebdca7ccb32fcf7b4c60bf3d04b5de38b0668b75', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: '668aa0ed4b56d7a8bfb2c93fbf045b60ae91c3e5', class: "zonos--dialog" }, this.isLoading && (h("div", { key: '2f7a7471b2665de6c33f194799a890756949a555', class: "zonos--loading" }, h("zonos-spinner", { key: '30432f6ab8ca578896138bcdc1bac0ed737fadb1', size: 30 }), this.loadingTitle && (h("zonos-text", { key: '17fc6c0e541f62118c6ce9dc5670b7023c99372c', class: "zonos--loading-title", size: "l", weight: 700 }, this.loadingTitle)), this.loadingText && (h("zonos-text", { key: '8f278c76b5109c5b048c8c99f559c41240f2f2c0', class: "zonos--loading-text" }, this.loadingText)))), (this.headerText || !this.noCloseButton) && (h("div", { key: '9967ec60be44a768192afc7afd09064001f2881e', class: "zonos--header" }, this.headerText && (h("h3", { key: '12daab9cff11f16b396c8595c76e9e82cea790b2', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '9ba377e1078166e81b3edb7a6f0925602bd271c5', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), h("div", { key: 'a467dd66e0feea9a2e035bf8af6ef4c5d43e88eb', class: classes([
102
102
  'zonos--body',
103
103
  this.noBodyPadding && 'zonos--no-body-padding',
104
- ]) }, h("slot", { key: '585402b85ac8ef6cfa1b9051049e42edd645d99d' })), h("slot", { key: '3c0d42a12a16ce61786f1531da312403ad70affd', name: "dialog-footer" })))));
104
+ ]) }, h("slot", { key: '7cb10ba057870384afa85d4492a39c2f01766641' })), h("slot", { key: 'e8a90958c50234218123ffbc65fe16980a35a169', name: "dialog-footer" })))));
105
105
  }
106
106
  static get is() { return "zonos-dialog"; }
107
107
  static get encapsulation() { return "shadow"; }
@@ -10,10 +10,10 @@ export class HStack {
10
10
  this.spacing = 24;
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '5f51e8415536589fe4300c5db75ea13e4419350b', style: {
13
+ return (h(Host, { key: '6d17afddd6bee4215f1ca29e6d1876ead04b1cf4', style: {
14
14
  '--spacing': `${this.spacing}px`,
15
15
  '--zonos--font-family': zonosStoreFontFamily(),
16
- } }, h("slot", { key: 'b0cc8a581603ee78ec576346c5730f28ba5006e1' })));
16
+ } }, h("slot", { key: '1588eca69137d187ce946df8004a5192187e963b' })));
17
17
  }
18
18
  static get is() { return "zonos-h-stack"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -31,17 +31,17 @@ export class ZonosInput {
31
31
  this.inputChange.emit(newValue);
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: '97f28cac82f273f95b6401f6b29ec35939cd3652', class: classes([
34
+ return (h(Host, { key: '3c4fd9d72bc124d6e915661038e6b64bee692a98', class: classes([
35
35
  'zonos--input zonos--elements',
36
36
  this.inputSize,
37
37
  this.isError && 'has-error',
38
38
  ]), style: {
39
39
  '--zonos--border-radius': getBorderRadius(),
40
40
  '--zonos--font-family': zonosStoreFontFamily(),
41
- } }, h("div", { key: '374a3b102e1dc4c422f6f69eb235f940c0271aab', class: classes([
41
+ } }, h("div", { key: '80906b54a0cc8e031b0752c4f7c7b8b3ffdd6b3f', class: classes([
42
42
  'zonos--label-wrapper',
43
43
  this.isDisabled && 'disabled',
44
- ]) }, h("input", { key: 'fd0810fbbf21f53dfe890c76bd7b66b2afafeac1', class: classes([
44
+ ]) }, h("input", { key: '413602bca1b288330631c043610161501c86e59c', class: classes([
45
45
  'zonos--floated-input',
46
46
  !!this.inputLabel && 'has-label',
47
47
  this.inputValue && 'has-content',
@@ -49,7 +49,7 @@ export class ZonosInput {
49
49
  ]), disabled: this.isDisabled, onInput: e => {
50
50
  const input = e.target;
51
51
  this.inputChange.emit(input.value);
52
- }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '7a1e72620a76eb4507b9b4c79f8faf73657cb789', class: "zonos--floated-label", "data-label": this.inputLabel }))));
52
+ }, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '183e2196be5a6d2acb202af9183b0624baf242df', class: "zonos--floated-label", "data-label": this.inputLabel }))));
53
53
  }
54
54
  static get is() { return "zonos-input"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -20,9 +20,9 @@ export class ZonosLanguageSelect {
20
20
  }
21
21
  render() {
22
22
  const { selectedLocale } = localizationStore;
23
- return (h(Host, { key: 'ebe7e47d37019b9aa6e2a5ed77d9c82c71b3fa6c', class: "zonos--elements", style: {
23
+ return (h(Host, { key: '14d44b42030ca6032055288d6b6f75b509910e0a', class: "zonos--elements", style: {
24
24
  '--zonos--font-family': zonosStoreFontFamily(),
25
- } }, h("div", { key: '532b2664add5948ae9687049afc1fdaed8cc0890', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '650adad0103c42f27e98bb3c2c6c8e2a122339df', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '84af0288f9911d4739c93388723230b165466908', 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 })))))))));
25
+ } }, h("div", { key: '3fec082ed1aba86fb31327c5f8312f4eb84f0c71', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: 'd31533f6e04a0966dc6e9b4dcbe6320951162d16', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '8bc96f64036523ac15ad0414c7b0bed09e9df75d', 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 })))))))));
26
26
  }
27
27
  static get is() { return "zonos-language-select"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -7,7 +7,7 @@ export class ZonosLink {
7
7
  this.href = '';
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'b6d1debcb25cc43d1b4eb9fe41183a3190a4f6be', class: "zonos--elements" }, h("a", { key: '9c81e327e3021215a78bd7ce2a619f5764c012ac', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '59c6fbbc8cf9b5e44e76a52dd6472bd6a28a852f' }))));
10
+ return (h(Host, { key: '87f948b23f9166f04a9ff478c3a10cac68acd749', class: "zonos--elements" }, h("a", { key: '54ef1e907c92be92a395326808977e97b92b4121', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '9a40d6624eb6e42d54efd40f5e6827713d51197c' }))));
11
11
  }
12
12
  static get is() { return "zonos-link"; }
13
13
  static get encapsulation() { return "shadow"; }
@@ -13,7 +13,7 @@ export class ZonosLoadingOverlay {
13
13
  this.size = 40;
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '2307e7f2b5db43fa4625097a96fd9182b5a1c729', class: classes(['zonos--elements', this.open && 'zonos--open']) }, h("div", { key: '9c7aa8101410becb1341bc2d602638fbccff2dbf', class: "zonos--loading-overlay" }, h("zonos-spinner", { key: 'ebf5db2566052ee898d8d09aaeceb664a8e264e2', size: this.size, spinnerColor: this.spinnerColor }))));
16
+ return (h(Host, { key: '3f830d0014a8988893b2cbde578035b1b8727ac5', class: classes(['zonos--elements', this.open && 'zonos--open']) }, h("div", { key: '84371b0bb118aef5c4ec5e1c6903d699d5402c14', class: "zonos--loading-overlay" }, h("zonos-spinner", { key: 'cf53766a1bbdf7433c5f7a1cf46e00bbd63f08b3', size: this.size, spinnerColor: this.spinnerColor }))));
17
17
  }
18
18
  static get is() { return "zonos-loading-overlay"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -16,11 +16,11 @@ export class ZonosLogo {
16
16
  const filterColor = this.theme === 'DARK'
17
17
  ? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
18
18
  : 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
19
- return (h(Host, { key: 'd45302a20adc0f2c9ad19a37c1c9e4578f129ddf', class: classes(['zonos--elements zonos--logo']), style: {
19
+ return (h(Host, { key: '93f6a3dab000ca09fcd5c669406cdd44a06b5f25', class: classes(['zonos--elements zonos--logo']), style: {
20
20
  '--zonos--filter-color': filterColor,
21
21
  '--zonos--font-family': zonosStoreFontFamily(),
22
22
  '--zonos--width': this.width,
23
- } }, h("img", { key: 'e82b14ece643a9037e57b6ce561f1eff3c3bd8fa', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
23
+ } }, h("img", { key: 'f2343614678d331ea63210d01e3be9f3c49ce7a6', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
24
24
  }
25
25
  static get is() { return "zonos-logo"; }
26
26
  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: 'c39228c5a45be0c27fc805859ba896f346f4c7bb', class: classes(['zonos--elements zonos--restState']), style: {
17
+ return (h(Host, { key: '70b8901469cba98007780b2dc6cceaa61f96d8ac', class: classes(['zonos--elements zonos--restState']), style: {
18
18
  '--zonos--font-family': zonosStoreFontFamily(),
19
- } }, h("div", { key: '466d38527c50fac57c85b29b6d501139a55c652c', class: "zonos--restState-image" }, h("img", { key: '233348dc1fe72c37ac3485dc4ae577b02d44d0cc', alt: this.restStateType, onError: () => {
19
+ } }, h("div", { key: '7903d837e37c843a55aee6211cc2071add4f5a05', class: "zonos--restState-image" }, h("img", { key: 'dee0733ab529b004f53d1d69a29a07d7a44a3eea', alt: this.restStateType, onError: () => {
20
20
  this.isErrorImageLoad = true;
21
- }, src: imageUrl })), h("div", { key: '0ead09005b4a4e59fcbe5b673ef206d09c6f344f', class: "content" }, h("zonos-text", { key: '2f6d50f5562ab86918755b2d20aeab1ba170e0d1', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '9304b2421ac05dea5e8567666dc3fd5c279bf6dd', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: '00323cff6ad4b67a5af980dcbfce5cb0c59150c4', class: "action" }, h("slot", { key: '256fc2f99f345d0302d6fa4467b22558723dae7b' }))));
21
+ }, src: imageUrl })), h("div", { key: '612e7d71d5e6bd2e0c37d7c6595b35ea5ca416dd', class: "content" }, h("zonos-text", { key: 'c28379a4b4546afa6b323986c092c9538aa66b65', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '309e2e9c5086d0c84ccbe6c695d657d9f8e16da0', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: '7fb9586682d221a311598ee8d294c6daede33e96', class: "action" }, h("slot", { key: '87959654a7a3c9c621d633a492627d53ff561fd4' }))));
22
22
  }
23
23
  static get is() { return "zonos-rest-state"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -15,9 +15,9 @@ export class ZonosSelectDialogHeader {
15
15
  this.label = '';
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '6a667ac343eccf7298cbca49b58ccbca0ca6509d', class: "zonos--elements", style: {
18
+ return (h(Host, { key: 'eb0958752881635e0e5edf9b0e66fccd1064b3f8', class: "zonos--elements", style: {
19
19
  '--zonos--font-family': zonosStoreFontFamily(),
20
- } }, h("zonos-v-stack", { key: '4f3958ab4700f1f6d1bfff92cf3c5593c97c536e', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '44d690590c6727b7d17ea96967a6929ea5d60a51', class: "zonos--select-dialog-header" }, h("zonos-text", { key: 'cd45b4d292f3487a442510918afe7c828cbdb939', type: "boldLabel" }, this.label), h("zonos-button", { key: '43e7887d8f11185ec7d6ff0895f922e8a5719865', 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: '2c6e66b98bfbc8d4c3fd1d8459d703a8006324d3' }))));
20
+ } }, h("zonos-v-stack", { key: '1f02a7f61e20a4b36e2d5598f8228482ad3f54f4', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '87b5d8d2486cc45cd8be8841d2995f4c33e9c524', class: "zonos--select-dialog-header" }, h("zonos-text", { key: 'e5c9621a69d19e6925fb7115289f74b8ec0eb76d', type: "boldLabel" }, this.label), h("zonos-button", { key: '4d61d8ee3df26c296b48b945ccb1380027def911', 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: '1a20da26116e95278d21f7d413d238ae18d8805d' }))));
21
21
  }
22
22
  static get is() { return "zonos-select-dialog-header"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class ZonosSkeleton {
15
15
  this.skeletonHeight = '14px';
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '0b7adeb320e2f98d56158e4ec4d8933aa252ee8b', class: classes(['zonos--elements zonos--skeleton']), style: styles({
18
+ return (h(Host, { key: '06888cfea3918480152b8f1af660148882747195', class: classes(['zonos--elements zonos--skeleton']), style: styles({
19
19
  '--zonos--skeleton-height': this.skeletonHeight,
20
20
  '--zonos--skeleton-width': this.skeletonWidth,
21
21
  }) }));
@@ -69,7 +69,7 @@ export class ZonosStripeInput {
69
69
  ? zonosStore.appearance.theme === 'DARK'
70
70
  : primaryColor && isDarkColor(primaryColor);
71
71
  const fontSize = zonosStore.appearance.fontSizeInputValue || 16;
72
- return (h(Host, { key: '90f2916175c8512bf24c235885dba82c8a82bc6d', class: classes([
72
+ return (h(Host, { key: '77300abdafcc0b557b89c15a7755b4278d0acdee', class: classes([
73
73
  'zonos--input zonos--elements',
74
74
  isDark && 'dark',
75
75
  (this.isError || !!this.error) && 'has-error',
@@ -78,10 +78,10 @@ export class ZonosStripeInput {
78
78
  '--zonos--font-family': zonosStoreFontFamily(),
79
79
  '--zonos--font-size': `${fontSize}px`,
80
80
  '--zonos--primary-color': secondaryColor,
81
- } }, h("div", { key: '95a6eeecfb1c8935ab5289b10a6d4330ba69d780', class: classes([
81
+ } }, h("div", { key: 'a6d091455bc8a33e8031d37f9b471118994bad47', class: classes([
82
82
  'zonos--label-wrapper',
83
83
  this.isDisabled && 'disabled',
84
- ]) }, h("input", Object.assign({ key: 'ebafe0cd341d3717914d1731c67aa961df1ed25b' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
84
+ ]) }, h("input", Object.assign({ key: '2001e1c1427c11b203514c0c849f3a1f3c2381dc' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
85
85
  'zonos--floated-input',
86
86
  !!this.inputLabel && 'has-label',
87
87
  this.internalValue && 'has-content',
@@ -91,7 +91,7 @@ export class ZonosStripeInput {
91
91
  this.inputChange.emit(input.value);
92
92
  this.el.inputValue = input.value;
93
93
  this.el.dispatchEvent(new Event('change'));
94
- }, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '4f9a9d698d64a16b20a9d2392c975f7ef7cefb43', class: "zonos--floated-label" }, h("label", { key: '8e90d3a8721703ca616dee5c8238ff01fcc7b631', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: '2fdbfa01afa0baa58a900d7303a82fac78483af9', textColor: "red-600", type: "caption" }, this.error))));
94
+ }, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '8b42af0315ed314fb267bf32dfcfebfee3a69a75', class: "zonos--floated-label" }, h("label", { key: '3de63395251ac591b1c3c527093560702f30575f', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: 'ee7b2b13d5577b965387bb1029f8036fb099890d', textColor: "red-600", type: "caption" }, this.error))));
95
95
  }
96
96
  static get is() { return "zonos-stripe-input"; }
97
97
  static get encapsulation() { return "scoped"; }
@@ -201,24 +201,24 @@ export class ZonosStripePhoneInput {
201
201
  .filter(Boolean)
202
202
  .sort((a, b) => a.displayName.localeCompare(b.displayName))
203
203
  : [];
204
- return (h(Host, { key: '1f200a91b6571a4c113da30e3837ece4b38bc7cb', class: classes([
204
+ return (h(Host, { key: 'eb23ab75a61aa94b7d4299f39b77d38ec1cbec20', class: classes([
205
205
  'zonos--phone-input zonos--elements',
206
206
  isDark && 'dark',
207
- ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: 'c4e048ff9e4fb57598033b782f43a82db4729334', class: classes([
207
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: '4690d6346d04820fa677e02483164f1e39c348ad', class: classes([
208
208
  'zonos--label-wrapper',
209
209
  this.disabled && 'disabled',
210
210
  this.isFocused && 'focused',
211
211
  hasContent && 'has-content',
212
212
  this.error && 'has-error',
213
213
  this.inputLabel && 'has-label',
214
- ]) }, h("select", { key: 'a4c1e90dd4490f6895e39d71233c5e05309434b4', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
214
+ ]) }, h("select", { key: 'be7fab230afd6e19cb133d13f9d1f946893dd85e', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
215
215
  var _a;
216
216
  return (h("option", { key: option.countryCode, selected: option.countryCode === ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.countryCode), value: option.countryCode }, option.displayName, " (+", option.phoneCode, ")"));
217
- })), h("div", { key: 'b56bdb3b9f7acd4a32c9c833c631de2ad74c8b04', class: "zonos--input-group" }, h("div", { key: '4babc988f0432df5a622e3fe70be2395625fec4f', class: "zonos--select-wrapper" }, h("div", { key: 'afd4d0863e2e4d9c809cf74b267452d23db0db9d', class: "zonos--country-select" }, h("div", { key: '6b50899c82c335ea6bc00792f549b059439f80aa', class: "zonos--country-select-content" }, this.selectedCountry && (h("div", { key: 'b2ffde73f454dc7f37598a7992f7e48a98ebe627', class: "zonos--country-select-selected" }, h("div", { key: '25573e4a4409cd742aa2557726bafd9b738a250f', class: "zonos--country-flag-wrapper" }, h("zonos-country-flag", { key: 'b6ed256e1867d8204144676f254d30ca4535eae1', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), h("div", { key: 'd8b0f28d7aa5a0afef1c11603d15b5007e8e81e9', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), h("div", { key: 'ea4ab66f550a807ecd4182dfcb803a317fd69074', class: "zonos--select-chevron-wrapper" }, h("zonos-icon", { key: 'ee0818647a08ac39c6cc3594c7c361b6a79681dd', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))))), h("div", { key: 'c02c404700de1d096838449533b419b1e9f95d84', class: classes([
217
+ })), h("div", { key: '2da719a561ed71bdaf6563249ceff2556b6a8323', class: "zonos--input-group" }, h("div", { key: 'bb533773af30f0c8c4be47f76ee642fd589a40b6', class: "zonos--select-wrapper" }, h("div", { key: '465e9b7b41ba99852cee2a36822e2a753d401337', class: "zonos--country-select" }, h("div", { key: '5f2ba6cd1937831f3b5cb61f98d501497534b758', class: "zonos--country-select-content" }, this.selectedCountry && (h("div", { key: '4f5861174efa761ec9285b5e8721b3b46d5979cb', class: "zonos--country-select-selected" }, h("div", { key: '47c28fd20118f92c9ee18e82ebdafdf212e6740e', class: "zonos--country-flag-wrapper" }, h("zonos-country-flag", { key: '28fae4f5074ca62d7592142878e3c8d48229a83e', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), h("div", { key: '9d940039033f7d09b9d6e2ac9f005e3b21060b70', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), h("div", { key: '5cbbee5f1405d05717873f287b3b6d3bb0f92ede', class: "zonos--select-chevron-wrapper" }, h("zonos-icon", { key: 'd6c493e07ee068a848e10debda7549f4cd4fc28b', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))))), h("div", { key: '2c4ec88e83d61e0305d53285c8bd5107f98eb15f', class: classes([
218
218
  'zonos--input-container',
219
219
  this.inputLabel && 'has-label',
220
220
  hasContent && 'has-content',
221
- ]) }, h("input", Object.assign({ key: '88b15052fc88329cc1791e4c89e9db171b6b0569' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: "zonos--floated-input", disabled: this.disabled, id: this.inputId, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handlePhoneChange, placeholder: ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.phonePlaceholder) || '', ref: el => (this.inputRef = el), type: "tel" })), this.inputLabel && (h("div", { key: 'bbaffd11b9d33d28dd363e9110ce884ccc1a9ebe', class: "zonos--floated-label" }, h("label", { key: '5cd458d801979127b26407295b95f0d15f5c383d', htmlFor: this.inputId }, this.inputLabel || translate('Phone number'))))))), this.error && (h("zonos-text", { key: 'f0ef5a5b0762b14007c0df09fff7f7abecd9920b', textColor: "red-600" }, this.error))));
221
+ ]) }, h("input", Object.assign({ key: '434232fdedebf3c4cd6f7e2c70d41a4cd5ad8104' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: "zonos--floated-input", disabled: this.disabled, id: this.inputId, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handlePhoneChange, placeholder: ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.phonePlaceholder) || '', ref: el => (this.inputRef = el), type: "tel" })), this.inputLabel && (h("div", { key: '4ff0d61108d5cc56381eec6f94a50485c149f360', class: "zonos--floated-label" }, h("label", { key: '37db631b0d55253787c0f2d8ae455bbf3ebfc8bb', htmlFor: this.inputId }, this.inputLabel || translate('Phone number'))))))), this.error && (h("zonos-text", { key: '260b115c3efc9ece71cf31eb24a39efc4c21a64c', textColor: "red-600" }, this.error))));
222
222
  }
223
223
  static get is() { return "zonos-stripe-phone-input"; }
224
224
  static get encapsulation() { return "scoped"; }
@@ -105,14 +105,14 @@ export class ZonosStripeSelect {
105
105
  const fontSize = zonosStore.appearance.fontSizeInputValue || 16;
106
106
  const hasContent = this.internalValue || this.selectPlaceholder;
107
107
  const showClearButton = this.isClearable && this.internalValue && !this.isDisabled;
108
- return (h(Host, { key: '07b9269eb9130ac91b366369d5db4c49c7fc7be2', class: classes([
108
+ return (h(Host, { key: '62511439918e73ea4404c4b077c5da143b1459a7', class: classes([
109
109
  'zonos--select zonos--elements',
110
110
  isDark && 'dark',
111
111
  this.isError && 'has-error',
112
- ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: '6c82ff92d68ca8b031985af671ad47d4c47c4968', class: classes([
112
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: 'cc826990fe112f66682e522e2fbbe808b3017537', class: classes([
113
113
  'zonos--label-wrapper',
114
114
  this.isDisabled && 'disabled',
115
- ]) }, h("select", Object.assign({ key: 'c2df2cfc855706c376a82bfe7c752c58d987aab4' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
115
+ ]) }, h("select", Object.assign({ key: '2803799a7226bf79d173093a4b1773ef57e122f8' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
116
116
  'zonos--floated-select',
117
117
  !!this.selectLabel && 'has-label',
118
118
  hasContent && 'has-content',
@@ -122,9 +122,9 @@ export class ZonosStripeSelect {
122
122
  this.selectChange.emit(select.value);
123
123
  this.selectedValue = select.value;
124
124
  this.el.dispatchEvent(new Event('change'));
125
- }, required: this.required }), h("option", { key: 'aab67935dd68de369fb67749006ec06656e2e187', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || translate('Select')), this.internalOptions.map(option => (h("option", { key: option.value, selected: this.internalValue === option.value ||
125
+ }, required: this.required }), h("option", { key: 'ab93bc1a38ab1c897fc57c1b6a55941c021f6944', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || translate('Select')), this.internalOptions.map(option => (h("option", { key: option.value, selected: this.internalValue === option.value ||
126
126
  // Sometimes google returns the label not the code for some countries
127
- this.internalValue === option.label, value: option.value }, option.label)))), h("div", { key: 'a5a10b4a0b690aad09e2b8138b84623eb8a80e2e', class: "zonos--floated-label" }, h("label", { key: '98da29b702b07eaea01196cffa306d8c7497ce69', htmlFor: this.selectId }, this.selectLabel)), h("div", { key: '03b5847543e1c5a60af23cf5b5b572ed53abdcf9', class: "zonos--actions-wrapper" }, showClearButton && (h("button", { key: '3a078eb32e3702edd6b084e367d336c994a23284', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, h("zonos-icon", { key: '3783636799756d514fb456005615692bfb03fbe1', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), h("zonos-icon", { key: '7ba276746b986d5cea76f9c53fa4e3d8627d4d35', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (h("zonos-text", { key: 'b9e3282bd4b44d7f6c113cff1e3746c836ab29dc', textColor: "red-600" }, this.error))));
127
+ this.internalValue === option.label, value: option.value }, option.label)))), h("div", { key: '4d4995d1770bf99e05c0d1b6dbdddbe828f2b3b0', class: "zonos--floated-label" }, h("label", { key: '2b352cf1413f4a539c6f62d7df285dbea1629b77', htmlFor: this.selectId }, this.selectLabel)), h("div", { key: '707a0df092ed2196fa8e503d79448890a9e36616', class: "zonos--actions-wrapper" }, showClearButton && (h("button", { key: '83a605fd7d3799a1ce6f4300193c63722f3f8b7e', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, h("zonos-icon", { key: 'da9e65471ec1b4f89119a71db657f06903a11a3d', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), h("zonos-icon", { key: '4b479d3f9fae286e0ebb6290d9954f08982a4e5e', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (h("zonos-text", { key: '6c9e2fa9747064203763c00f39dbb08fb413cf0c', textColor: "red-600" }, this.error))));
128
128
  }
129
129
  static get is() { return "zonos-stripe-select"; }
130
130
  static get encapsulation() { return "shadow"; }
@@ -9,9 +9,9 @@ export class ZonosToggle {
9
9
  this.options = [];
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '220dcc3ef8685ea09db761d7a42a00a7309caa70', class: classes(['zonos--elements zonos--toggle']), style: {
12
+ return (h(Host, { key: 'a69d1282e442b2cc5b24df68ee41c452b02fb022', class: classes(['zonos--elements zonos--toggle']), style: {
13
13
  '--zonos--font-family': zonosStoreFontFamily(),
14
- } }, h("div", { key: 'fa54f818b15ff33d88dc08a1df370ca9be17ff71', class: "wrapper" }, this.options.map(option => {
14
+ } }, h("div", { key: 'a0fff3107e8d9a98d3ff323379c6e39bee294eca', class: "wrapper" }, this.options.map(option => {
15
15
  const selected = option.value === this.value;
16
16
  return (h("button", { class: classes(['zonos--option', selected && 'selected']), key: option.value, onClick: () => {
17
17
  this.toggleChanged.emit(option.value);
@@ -13,10 +13,10 @@ export class ZonosTooltip {
13
13
  this.showTooltip = false;
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '3014faf5b26490a23b7735087dd69b05f785a2eb', class: "zonos--elements" }, h("div", { key: 'b7117e69a0f6f4ec28a7ccaf898567aeb886b418', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: 'bf995bf9de4497d32fd825e6a1382dc5eeb768e6' }), h("div", { key: '15c134b8aeed57ec2ad313c4316b2f5aa2c98dd0', class: classes([
16
+ return (h(Host, { key: 'f3da69a4f5610963cae6a15e5ff2d980e5d31a07', class: "zonos--elements" }, h("div", { key: '1636b467a3899c486b59167a438e071e0b88e699', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '3a512330cc556d3cabc18dd712cef1f353526e39' }), h("div", { key: 'a93fde0ea517c8eab08cbec375a891fdde5a681c', class: classes([
17
17
  this.showTooltip && 'zonos--show-tooltip',
18
18
  'zonos--tooltip-content',
19
- ]) }, h("zonos-text", { key: '6d6a135a75e9cfa8f4c921755da4bd476dddf83e', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'b166deb4b050d9a18699e1e3858449215d141726', size: "xs", textColor: "gray-0" }, this.subtitle)))));
19
+ ]) }, h("zonos-text", { key: 'bbfaa05280ac898421a3c334cb97734ccda8dbbe', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: '96fc7d23135644d92062c95686560d714a9ff4b2', size: "xs", textColor: "gray-0" }, this.subtitle)))));
20
20
  }
21
21
  static get is() { return "zonos-tooltip"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -11,9 +11,9 @@ export class VStack {
11
11
  this.spacing = 24;
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'ddc85068e0fb28356f75caef81829f2820326701', style: {
14
+ return (h(Host, { key: 'b3f2fa705a9eb81dd74f355c9caf468d8c74f49e', style: {
15
15
  '--zonos--font-family': zonosStoreFontFamily(),
16
- } }, h("div", { key: '6fd038cf714612f64aa2164ebac11ad0cd8acc77', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'e6519671bd7ac4742306d2d702d15c25d9c69af7' }))));
16
+ } }, h("div", { key: '114ebba1cbf50a3572c412db808cfb7ac74b1724', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'f2070a31f968565c08ce002ae9a6b07178fd4ad8' }))));
17
17
  }
18
18
  static get is() { return "zonos-v-stack"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -106,10 +106,10 @@ export class ZonosVirtualScroll {
106
106
  render() {
107
107
  const { width: containerWidth } = this.containerDimensions;
108
108
  const visibleItems = this.getVisibleItems();
109
- return (h(Host, { key: 'eca3e3e09d8f14f3c563042b07436732e7af71dc', class: classes(['zonos--virtual-scroll']) }, h("div", { key: '0f69f295a319c617c66b069eba97b18cf7ae8373', class: classes(['scroller']), style: {
109
+ return (h(Host, { key: 'f8c3a4bb1fc348cbe4fdc6d39a17863a633294ff', class: classes(['zonos--virtual-scroll']) }, h("div", { key: 'c53f706c7e1f9aafaeaa964eb72ca08dda3d620b', class: classes(['scroller']), style: {
110
110
  height: `${this.totalHeight}px`,
111
111
  width: `${containerWidth}px`,
112
- } }), h("div", { key: 'ae3a128e8997ba9333a015d488358ff1211d2fea', class: classes(['item-container']), style: {
112
+ } }), h("div", { key: '06107aa0a13df790db1f21cda0a0817ea5ebceaa', class: classes(['item-container']), style: {
113
113
  height: `${this.totalHeight}px`,
114
114
  } }, visibleItems.map(({ element }) => element))));
115
115
  }
@@ -19,7 +19,7 @@ export class ZonosComponent {
19
19
  return format(this.first, this.middle, this.last);
20
20
  }
21
21
  render() {
22
- return h("div", { key: '1d369c76153c971ef62736d7e00a5a940284d346' }, "Hello, World! I'm ", this.getText());
22
+ return h("div", { key: 'f8ec6c765a31d6d9599003523128ef4f5c8d3078' }, "Hello, World! I'm ", this.getText());
23
23
  }
24
24
  static get is() { return "zonos-component"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -33,6 +33,15 @@
33
33
 
34
34
  :host {
35
35
  display: inline-block;
36
+ --zonos-elements-hello-widget-size: 18px;
37
+ --zonos-elements-hello-bubble-padding: max(
38
+ 6px,
39
+ calc(var(--zonos-elements-hello-widget-size) * 0.22)
40
+ );
41
+ --zonos-elements-hello-bubble-size: calc(
42
+ var(--zonos-elements-hello-widget-size) +
43
+ var(--zonos-elements-hello-bubble-padding) * 2 + 2px
44
+ );
36
45
  }
37
46
  :host .zonos--hello-wrapper {
38
47
  position: relative;
@@ -75,14 +84,16 @@
75
84
  }
76
85
  :host .zonos--hello-widget {
77
86
  transition: all 0.7s cubic-bezier(0.31, -0.02, 0.06, 1.53);
78
- padding: 6px;
79
- border-radius: 30px;
87
+ padding: var(--zonos-elements-hello-bubble-padding);
88
+ border-radius: 9999px;
80
89
  background: var(--zonos-elements-page-background);
81
90
  font-size: var(--zonos-elements-font-size-s);
82
91
  border: var(--zonos-elements-border);
83
92
  display: flex;
84
93
  align-items: center;
94
+ justify-content: center;
85
95
  cursor: pointer;
96
+ box-sizing: border-box;
86
97
  height: fit-content;
87
98
  width: fit-content;
88
99
  position: relative;
@@ -100,10 +111,10 @@
100
111
  background: var(--zonos-elements-page-background);
101
112
  display: flex;
102
113
  align-items: center;
103
- border-top-left-radius: 30px;
104
- border-bottom-left-radius: 30px;
114
+ border-top-left-radius: calc(var(--zonos-elements-hello-bubble-size) / 2);
115
+ border-bottom-left-radius: calc(var(--zonos-elements-hello-bubble-size) / 2);
105
116
  left: 0;
106
- transform: translateX(calc(-100% + 16px));
117
+ transform: translateX(calc(-100% + var(--zonos-elements-hello-bubble-size) / 2));
107
118
  width: fit-content;
108
119
  border-top: var(--zonos-elements-border);
109
120
  border-bottom: var(--zonos-elements-border);
@@ -126,28 +137,23 @@
126
137
  }
127
138
  :host .zonos--hello-widget.zonos--hello-show-peek-message > .zonos--hello-message {
128
139
  max-width: 100vw;
129
- padding: 0 6px;
130
- padding-right: 16px;
140
+ padding: 0 calc(var(--zonos-elements-hello-bubble-size) / 2);
131
141
  border: var(--zonos-elements-border);
132
142
  }
133
143
  :host .zonos--hello-widget.zonos--hello-show-peek-message:not(.zonos--hello-widget-animate-from-left) > .zonos--hello-message {
134
144
  border-right: none;
135
145
  }
136
146
  :host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left > .zonos--hello-message {
137
- border-left: 0;
138
- }
139
- :host .zonos--hello-widget.zonos--hello-show-peek-message.zonos--hello-widget-animate-from-left > .zonos--hello-message {
140
- padding-left: 16px;
141
- padding-right: 6px;
147
+ padding-left: calc(var(--zonos-elements-hello-bubble-size) / 2);
142
148
  border-left: none;
143
149
  }
144
150
  :host .zonos--hello-widget.zonos--hello-widget-animate-from-left > .zonos--hello-message {
145
151
  order: 1;
146
- transform: translateX(calc(100% - 16px));
152
+ transform: translateX(calc(100% - var(--zonos-elements-hello-bubble-size) / 2));
147
153
  right: 0;
148
154
  left: auto;
149
- border-top-right-radius: 30px;
150
- border-bottom-right-radius: 30px;
155
+ border-top-right-radius: calc(var(--zonos-elements-hello-bubble-size) / 2);
156
+ border-bottom-right-radius: calc(var(--zonos-elements-hello-bubble-size) / 2);
151
157
  }
152
158
  :host .zonos--hello-widget .zonos--hello-country-flag-wrapper {
153
159
  display: flex;
@@ -162,6 +168,8 @@
162
168
  box-shadow: var(--zonos-elements-v3-shadow-medium);
163
169
  z-index: 10;
164
170
  justify-self: center;
171
+ height: var(--zonos-elements-hello-widget-size);
172
+ width: var(--zonos-elements-hello-widget-size);
165
173
  }
166
174
  :host .zonos--hello-widget.zonos--hello-widget-float {
167
175
  position: fixed;
@@ -11,6 +11,7 @@ import { currencyFormat } from "../../utils/hello/currencyConversion/currencyFor
11
11
  import { detectItemRestrictions } from "../../utils/hello/detectItemRestrictions";
12
12
  import { getCurrentHelloLocalePage } from "../../utils/hello/getCurrentHelloLocalePage";
13
13
  import { getHasMoreSpaceOnRight } from "../../utils/hello/getHasMoreSpaceOnRight";
14
+ import { getHelloWidgetSize } from "../../utils/hello/getHelloWidgetSize";
14
15
  import { getProductsOnPage } from "../../utils/hello/getProductsOnPage";
15
16
  import { getZCountryUrlParam } from "../../utils/hello/getZCountryUrlParam";
16
17
  import { setZCountryUrlParam } from "../../utils/hello/setZCountryUrlParam";
@@ -351,7 +352,7 @@ export class ZonosHello {
351
352
  }
352
353
  getHelloLocation() {
353
354
  const mobileLocation = this.mobileLocationOverride || zonosStore.helloSettings.mobileLocation;
354
- const desktopLocation = zonosStore.helloSettings.desktopLocation;
355
+ const desktopLocation = this.desktopLocationOverride || zonosStore.helloSettings.desktopLocation;
355
356
  const isMobileWindow = this.isMobile;
356
357
  switch (true) {
357
358
  // Mobile
@@ -369,19 +370,27 @@ export class ZonosHello {
369
370
  default:
370
371
  case !isMobileWindow: {
371
372
  /**
372
- * Only float on desktop if there is no anchor specified and desktopLocation is set
373
- * This is to keep the same behavior as it is now (display at anchor if set on desktop, float on mobile).
374
- **/
375
- const shouldFloat = !zonosStore.helloSettings.anchorElementSelector && !!desktopLocation;
373
+ * Float on desktop when `desktopLocationOverride` is set (explicit
374
+ * consumer request) OR when no anchor is specified and a
375
+ * `desktopLocation` is configured in the store. With an anchor and no
376
+ * override, the widget renders inline at the anchor.
377
+ */
378
+ const shouldFloat = !!this.desktopLocationOverride ||
379
+ (!zonosStore.helloSettings.anchorElementSelector &&
380
+ !!desktopLocation);
381
+ // When a desktopLocation is set, derive the side deterministically
382
+ // from it so RIGHT positions resolve to `false` (not `undefined`).
383
+ // Spatial detection only runs as a fallback when no location is set
384
+ // (e.g. inline / anchored placement).
376
385
  const isOnLeft = this.animateFromLeftOverride ||
377
- (desktopLocation === null || desktopLocation === void 0 ? void 0 : desktopLocation.includes('LEFT')) ||
378
- this.shouldAnimateLeftDesktop();
386
+ (desktopLocation
387
+ ? desktopLocation.includes('LEFT')
388
+ : this.shouldAnimateLeftDesktop());
379
389
  const isOnTop = desktopLocation === null || desktopLocation === void 0 ? void 0 : desktopLocation.includes('TOP');
380
390
  return {
381
391
  isMobileWindow,
382
392
  isOnLeft,
383
393
  isOnTop,
384
- // Only float if
385
394
  shouldFloat,
386
395
  };
387
396
  }
@@ -420,7 +429,8 @@ export class ZonosHello {
420
429
  currencyCode: targetCurrency,
421
430
  });
422
431
  }
423
- return (h(Host, { class: "zonos--hello zonos--elements", "data-theme": theme }, showHello && (h("div", { class: classes([
432
+ const widgetSize = getHelloWidgetSize(zonosStore.helloSettings.widgetSize);
433
+ return (h(Host, { class: "zonos--hello zonos--elements", "data-theme": theme, style: { '--zonos-elements-hello-widget-size': `${widgetSize}px` } }, showHello && (h("div", { class: classes([
424
434
  'zonos--hello-wrapper',
425
435
  shouldFloat && 'zonos--hello-widget-float',
426
436
  ]) }, h("button", { class: classes([
@@ -443,7 +453,7 @@ export class ZonosHello {
443
453
  'zonos--hello-widget-left zonos--hello-widget-animate-from-left',
444
454
  isOnTop && 'zonos--hello-widget-top',
445
455
  shouldFloat && 'zonos--hello-widget-float',
446
- ]), style: { height: this.showDialog ? 'fit-content' : '0px' } }, h("zonos-hello-dialog", { animateFromLeftOverride: this.animateFromLeftOverride, appearanceSettings: appearanceSettings, isOpen: this.showDialog, mobileLocationOverride: this.mobileLocationOverride, restrictedItems: restrictedItemsOnPage, setIsOpen: this.changeShowDialog }))))));
456
+ ]), style: { height: this.showDialog ? 'fit-content' : '0px' } }, h("zonos-hello-dialog", { animateFromLeftOverride: isOnLeft, appearanceSettings: appearanceSettings, isOpen: this.showDialog, mobileLocationOverride: this.mobileLocationOverride, restrictedItems: restrictedItemsOnPage, setIsOpen: this.changeShowDialog }))))));
447
457
  }
448
458
  static get is() { return "zonos-hello"; }
449
459
  static get encapsulation() { return "shadow"; }
@@ -487,6 +497,31 @@ export class ZonosHello {
487
497
  "attribute": "mobile-location-override",
488
498
  "reflect": false
489
499
  },
500
+ "desktopLocationOverride": {
501
+ "type": "string",
502
+ "mutable": false,
503
+ "complexType": {
504
+ "original": "HelloDesktopLocation",
505
+ "resolved": "\"BOTTOM_LEFT\" | \"BOTTOM_RIGHT\" | \"TOP_LEFT\" | \"TOP_RIGHT\" | undefined",
506
+ "references": {
507
+ "HelloDesktopLocation": {
508
+ "location": "import",
509
+ "path": "src/types/generated/graphql.internal.types",
510
+ "id": "src/types/generated/graphql.internal.types.ts::HelloDesktopLocation"
511
+ }
512
+ }
513
+ },
514
+ "required": false,
515
+ "optional": true,
516
+ "docs": {
517
+ "tags": [],
518
+ "text": "Override the configured desktop floating location. Takes precedence over\n`helloSettings.desktopLocation` and also drives the peek-message animation\ndirection, so consumers no longer need `animateFromLeftOverride` for\ndesktop positioning."
519
+ },
520
+ "getter": false,
521
+ "setter": false,
522
+ "attribute": "desktop-location-override",
523
+ "reflect": false
524
+ },
490
525
  "animateFromLeftOverride": {
491
526
  "type": "boolean",
492
527
  "mutable": false,
@@ -55,4 +55,9 @@
55
55
  :host .zonos--hello-dialog-footer .zonos--hello-locale-wrapper {
56
56
  gap: 4px;
57
57
  }
58
+ }
59
+ :host .zonos--hello-dialog-footer .zonos--hello-locale-wrapper .zonos--hello-locale-label {
60
+ display: inline-flex;
61
+ align-items: center;
62
+ gap: 4px;
58
63
  }
@@ -3,6 +3,8 @@ import { localizationStore } from "../../../store/hello/localization";
3
3
  import { isDarkColor } from "../../../utils/isDarkColor";
4
4
  import { languages } from "../../../../types/ILanguage";
5
5
  // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
6
+ import ChevronDownIcon from "./assets/chevronDownIcon.svg";
7
+ // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
6
8
  import Globe from "./assets/globe.svg";
7
9
  // eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
8
10
  import ZonosIconDark from "./assets/zonosIconDark.svg";
@@ -27,9 +29,9 @@ export class ZonosHelloDialogFooter {
27
29
  const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
28
30
  // Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
29
31
  const mainColor = primaryColor && isDarkColor(primaryColor) ? 'white' : 'black';
30
- return (h(Host, { key: '82022e82f9d984a292a1b4fedd9cb9a6853aab01', class: "zonos--elements" }, h("div", { key: 'd9d8ec1f1eeea5963e5ab9fd42cf8353b8627669', class: "zonos--hello-dialog-footer", style: {
32
+ return (h(Host, { key: 'b8c4b5608d3af10147572ad97b363e6216ceb1a7', class: "zonos--elements" }, h("div", { key: 'a136c029e2f15171be4c14b706b41d8477fae649', class: "zonos--hello-dialog-footer", style: {
31
33
  '--zonos--primary-color': primaryColor,
32
- } }, h("a", { key: '896560cd1a50d78b2f228032b79476ac08bebb4a', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '079e11ce77a1d07cde727d4895a6c8ec55fd3d83', "aria-label": "Zonos Logo", autoHeight: true, content: mainColor === 'black' ? ZonosIconLight : ZonosIconDark, iconColor: mainColor, size: 108 })), h("div", { key: '380c23a35df23ad08e87f14e9376fea1630eed59', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: 'fa475cd2456fd3d79bc81ac5092f389c13894d99', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: '5df6f50a27c04caebb1c41f735efaeab43f52699', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, localizationStore.selectedCountryCode)))));
34
+ } }, h("a", { key: '99eb0554b1167e07efeb4f30c2352fb2210b51e3', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '7b2df9be8326d1913710ff10a6633a31268e8d9b', "aria-label": "Zonos Logo", autoHeight: true, content: mainColor === 'black' ? ZonosIconLight : ZonosIconDark, iconColor: mainColor, size: 108 })), h("div", { key: 'cbb70cb5dc7d03c0345bf0b3fea2f255be0a2b6b', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: 'c974f79edf2185706404f66f820eb602b15e6467', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, h("span", { key: 'd98e82523a82be43aaaf8dc2b8660af0f240f734', class: "zonos--hello-locale-label" }, language, h("zonos-icon", { key: '06968564c732df35d141d01ef7ecdc62936cade7', "aria-hidden": "true", class: "zonos--hello-locale-chevron", content: ChevronDownIcon, iconColor: mainColor, size: 18 }))), h("zonos-button", { key: '21b299e19244e57a89890c874217ef8848c59be5', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, h("span", { key: '6a7629ffc25230ff13a4ff814dfb22796487ad6f', class: "zonos--hello-locale-label" }, localizationStore.selectedCountryCode, h("zonos-icon", { key: 'fbf465f93fea211f54967c8bd1811ac92f10f140', "aria-hidden": "true", class: "zonos--hello-locale-chevron", content: ChevronDownIcon, iconColor: mainColor, size: 18 })))))));
33
35
  }
34
36
  static get is() { return "zonos-hello-dialog-footer"; }
35
37
  static get encapsulation() { return "shadow"; }