@zonos/elements 1.3.142 → 1.3.144

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 (348) hide show
  1. package/dist/cjs/{CheckoutConfig-eaaf62a1.js → CheckoutConfig-d25d548d.js} +13 -3
  2. package/dist/cjs/TaxId-4632639d.js +29 -0
  3. package/dist/cjs/{cart-199b0751.js → cart-2398abd4.js} +547 -42
  4. package/dist/cjs/{createCustomEvent-3e982e57.js → createCustomEvent-7b6fad95.js} +0 -3
  5. package/dist/cjs/{getBorderRadius-f97c99ad.js → getBorderRadius-7d0772bf.js} +1 -1
  6. package/dist/cjs/{handleFetch-864d3c53.js → handleFetch-3673a0c2.js} +30 -1
  7. package/dist/cjs/{index-b678ce0c.js → index-2f90486e.js} +209 -157
  8. package/dist/cjs/index.cjs.js +15 -11
  9. package/dist/cjs/{isDarkColor-434d71dd.js → isDarkColor-2acf30d1.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/{paypal-4f1ee604.js → paypal-7ed9dfb7.js} +4 -4
  12. package/dist/cjs/{zonos-address_7.cjs.entry.js → zonos-address_8.cjs.entry.js} +143 -10
  13. package/dist/cjs/zonos-badge.cjs.entry.js +2 -2
  14. package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
  15. package/dist/cjs/zonos-button_3.cjs.entry.js +4 -4
  16. package/dist/cjs/zonos-card.cjs.entry.js +3 -3
  17. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +151 -32
  18. package/dist/cjs/zonos-checkout.cjs.entry.js +36 -16
  19. package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
  20. package/dist/cjs/zonos-component.cjs.entry.js +2 -2
  21. package/dist/cjs/zonos-controller.cjs.entry.js +8 -8
  22. package/dist/cjs/zonos-country-flag.cjs.entry.js +6 -6
  23. package/dist/cjs/zonos-country-select_4.cjs.entry.js +10 -10
  24. package/dist/cjs/zonos-elements.cjs.js +3 -3
  25. package/dist/cjs/{zonos-notification_3.cjs.entry.js → zonos-empty-state-payment_4.cjs.entry.js} +87 -9
  26. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +10 -10
  27. package/dist/cjs/zonos-hello.cjs.entry.js +6 -6
  28. package/dist/cjs/zonos-input.cjs.entry.js +3 -3
  29. package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -6
  30. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  31. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  32. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  33. package/dist/cjs/zonos-text.cjs.entry.js +2 -2
  34. package/dist/cjs/zonos-toggle.cjs.entry.js +4 -4
  35. package/dist/cjs/zonos-tooltip.cjs.entry.js +3 -3
  36. package/dist/cjs/zonos-v-stack.cjs.entry.js +4 -4
  37. package/dist/cjs/{zonosStore-8971eb65.js → zonosStore-46809186.js} +1 -1
  38. package/dist/collection/collection-manifest.json +3 -1
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.js +5 -1
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +8 -2
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.js +24 -4
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.js +2 -0
  43. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +4 -0
  44. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +34 -6
  45. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +4 -0
  46. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +109 -18
  47. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/assets/PaymentEmptyStateDarkIcon.svg +22 -0
  48. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/assets/PaymentEmptyStateLightIcon.svg +22 -0
  49. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.css +51 -0
  50. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.js +90 -0
  51. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +62 -7
  52. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +3 -0
  53. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +32 -1
  54. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +4 -0
  55. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +6 -0
  56. package/dist/collection/components/common/zonos-badge/zonos-badge.js +18 -2
  57. package/dist/collection/components/common/zonos-banner/zonos-banner.js +4 -0
  58. package/dist/collection/components/common/zonos-button/zonos-button.js +30 -0
  59. package/dist/collection/components/common/zonos-card/zonos-card.js +20 -4
  60. package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +14 -0
  61. package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +4 -0
  62. package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +4 -0
  63. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +22 -0
  64. package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +4 -0
  65. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -0
  66. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +4 -0
  67. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +26 -0
  68. package/dist/collection/components/common/zonos-icon/zonos-icon.js +8 -0
  69. package/dist/collection/components/common/zonos-input/zonos-input.js +12 -0
  70. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -0
  71. package/dist/collection/components/common/zonos-link/zonos-link.js +8 -0
  72. package/dist/collection/components/common/zonos-logo/zonos-logo.js +4 -0
  73. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +6 -0
  74. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +4 -0
  75. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +11 -1
  76. package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +4 -0
  77. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.css +162 -0
  78. package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +264 -0
  79. package/dist/collection/components/common/zonos-text/zonos-text.js +8 -0
  80. package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +6 -2
  81. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +6 -2
  82. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +4 -2
  83. package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +12 -4
  84. package/dist/collection/components/component-template/zonos-component/zonos-component.js +7 -1
  85. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +7 -1
  86. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +9 -3
  87. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +17 -5
  88. package/dist/collection/components/main/zonos-controller.js +7 -3
  89. package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
  90. package/dist/collection/components/store/checkout/cart.js +3 -0
  91. package/dist/collection/components/store/checkout/stripe.js +121 -40
  92. package/dist/collection/components/store/translationStore/strings.arabic.js +21 -0
  93. package/dist/collection/components/store/translationStore/strings.base.js +21 -0
  94. package/dist/collection/components/store/translationStore/strings.chinese.js +21 -0
  95. package/dist/collection/components/store/translationStore/strings.danish.js +21 -0
  96. package/dist/collection/components/store/translationStore/strings.dutch.js +21 -0
  97. package/dist/collection/components/store/translationStore/strings.french.js +21 -0
  98. package/dist/collection/components/store/translationStore/strings.german.js +21 -0
  99. package/dist/collection/components/store/translationStore/strings.hebrew.js +21 -0
  100. package/dist/collection/components/store/translationStore/strings.indonesian.js +21 -0
  101. package/dist/collection/components/store/translationStore/strings.italian.js +21 -0
  102. package/dist/collection/components/store/translationStore/strings.japanese.js +21 -0
  103. package/dist/collection/components/store/translationStore/strings.korean.js +21 -0
  104. package/dist/collection/components/store/translationStore/strings.norwegian.js +21 -0
  105. package/dist/collection/components/store/translationStore/strings.polish.js +21 -0
  106. package/dist/collection/components/store/translationStore/strings.portuguese.js +21 -0
  107. package/dist/collection/components/store/translationStore/strings.russian.js +21 -0
  108. package/dist/collection/components/store/translationStore/strings.spanish.js +21 -0
  109. package/dist/collection/components/store/translationStore/strings.swedish.js +21 -0
  110. package/dist/collection/components/store/translationStore/strings.turkish.js +21 -0
  111. package/dist/collection/components/store/translationStore/strings.vietnamese.js +21 -0
  112. package/dist/collection/components/stripe/zonos-address/zonos-address.js +7 -1
  113. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +84 -3
  114. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +3 -1
  115. package/dist/collection/components/utils/api/getCheckoutSession.js +1 -1
  116. package/dist/collection/components/utils/api/placeTestOrder.js +40 -0
  117. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +2 -0
  118. package/dist/collection/components/utils/checkout/getIsStagingMode.js +1 -0
  119. package/dist/collection/components/utils/checkout/getIsTestMode.js +5 -1
  120. package/dist/collection/components/utils/handleFetch.js +22 -1
  121. package/dist/collection/components/utils/validateEmailValue.js +4 -0
  122. package/dist/collection/scripts/_getTempCartById.js +2 -2
  123. package/dist/collection/scripts/_getWithTestPublicCredential.js +5 -2
  124. package/dist/collection/scripts/cart/_getIsValidCartId.js +11 -0
  125. package/dist/collection/types/checkout/TaxId.js +24 -0
  126. package/dist/collection/types/checkout/api/PlaceTestOrder.js +1 -0
  127. package/dist/collection/types/generated/graphql.internal.types.js +64 -0
  128. package/dist/collection/types/index.js +2 -0
  129. package/dist/esm/{CheckoutConfig-262008fe.js → CheckoutConfig-573bd959.js} +13 -3
  130. package/dist/esm/TaxId-915ef042.js +26 -0
  131. package/dist/esm/{cart-cf87ec6f.js → cart-3427ee25.js} +547 -42
  132. package/dist/esm/{createCustomEvent-31a792d3.js → createCustomEvent-58159025.js} +1 -3
  133. package/dist/esm/{getBorderRadius-4aca63d4.js → getBorderRadius-b32d4218.js} +1 -1
  134. package/dist/esm/{handleFetch-badf4543.js → handleFetch-b4633675.js} +29 -2
  135. package/dist/esm/{index-986b5ff2.js → index-d82f06f2.js} +209 -157
  136. package/dist/esm/index.js +14 -12
  137. package/dist/esm/{isDarkColor-4915739f.js → isDarkColor-10f38df6.js} +1 -1
  138. package/dist/esm/loader.js +3 -3
  139. package/dist/esm/{paypal-b7124cc4.js → paypal-4e2f9753.js} +4 -4
  140. package/dist/esm/{zonos-address_7.entry.js → zonos-address_8.entry.js} +143 -11
  141. package/dist/esm/zonos-badge.entry.js +2 -2
  142. package/dist/esm/zonos-banner.entry.js +2 -2
  143. package/dist/esm/zonos-button_3.entry.js +4 -4
  144. package/dist/esm/zonos-card.entry.js +3 -3
  145. package/dist/esm/zonos-cart-items_13.entry.js +149 -30
  146. package/dist/esm/zonos-checkout.entry.js +34 -14
  147. package/dist/esm/zonos-collapse.entry.js +2 -2
  148. package/dist/esm/zonos-component.entry.js +2 -2
  149. package/dist/esm/zonos-controller.entry.js +8 -8
  150. package/dist/esm/zonos-country-flag.entry.js +6 -6
  151. package/dist/esm/zonos-country-select_4.entry.js +10 -10
  152. package/dist/esm/zonos-elements.js +4 -4
  153. package/dist/esm/{zonos-notification_3.entry.js → zonos-empty-state-payment_4.entry.js} +87 -10
  154. package/dist/esm/zonos-hello-dialog.entry.js +10 -10
  155. package/dist/esm/zonos-hello.entry.js +6 -6
  156. package/dist/esm/zonos-input.entry.js +3 -3
  157. package/dist/esm/zonos-language-select_2.entry.js +6 -6
  158. package/dist/esm/zonos-link.entry.js +1 -1
  159. package/dist/esm/zonos-logo.entry.js +2 -2
  160. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  161. package/dist/esm/zonos-text.entry.js +2 -2
  162. package/dist/esm/zonos-toggle.entry.js +4 -4
  163. package/dist/esm/zonos-tooltip.entry.js +3 -3
  164. package/dist/esm/zonos-v-stack.entry.js +4 -4
  165. package/dist/esm/{zonosStore-708637e7.js → zonosStore-44efd080.js} +1 -1
  166. package/dist/esm-es5/CheckoutConfig-573bd959.js +1 -0
  167. package/dist/esm-es5/TaxId-915ef042.js +1 -0
  168. package/dist/esm-es5/cart-3427ee25.js +1 -0
  169. package/dist/esm-es5/createCustomEvent-58159025.js +1 -0
  170. package/dist/esm-es5/{getBorderRadius-4aca63d4.js → getBorderRadius-b32d4218.js} +1 -1
  171. package/dist/esm-es5/handleFetch-b4633675.js +1 -0
  172. package/dist/esm-es5/index-d82f06f2.js +2 -0
  173. package/dist/esm-es5/index.js +1 -1
  174. package/dist/esm-es5/{isDarkColor-4915739f.js → isDarkColor-10f38df6.js} +1 -1
  175. package/dist/esm-es5/loader.js +1 -1
  176. package/dist/esm-es5/{paypal-b7124cc4.js → paypal-4e2f9753.js} +1 -1
  177. package/dist/esm-es5/zonos-address_8.entry.js +1 -0
  178. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  179. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  180. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  181. package/dist/esm-es5/zonos-card.entry.js +1 -1
  182. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  183. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  184. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  185. package/dist/esm-es5/zonos-component.entry.js +1 -1
  186. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  187. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  188. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  189. package/dist/esm-es5/zonos-elements.js +1 -1
  190. package/dist/esm-es5/zonos-empty-state-payment_4.entry.js +1 -0
  191. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  192. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  193. package/dist/esm-es5/zonos-input.entry.js +1 -1
  194. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  195. package/dist/esm-es5/zonos-link.entry.js +1 -1
  196. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  197. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  198. package/dist/esm-es5/zonos-text.entry.js +1 -1
  199. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  200. package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
  201. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  202. package/dist/esm-es5/{zonosStore-708637e7.js → zonosStore-44efd080.js} +1 -1
  203. package/dist/scripts/index.d.ts +170 -0
  204. package/dist/scripts/index.js +1 -1
  205. package/dist/scripts/loadZonos.js +1 -1
  206. package/dist/scripts/zonos.js +1 -1
  207. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +1 -0
  208. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.d.ts +18 -0
  209. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.d.ts +13 -0
  210. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +10 -0
  211. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +5 -0
  212. package/dist/types/components/common/zonos-stripe-input/zonos-stripe-input.d.ts +46 -0
  213. package/dist/types/components/store/checkout/cart.d.ts +5 -0
  214. package/dist/types/components/store/checkout/stripe.d.ts +16 -2
  215. package/dist/types/components/store/translationStore/strings.arabic.d.ts +21 -0
  216. package/dist/types/components/store/translationStore/strings.base.d.ts +21 -0
  217. package/dist/types/components/store/translationStore/strings.chinese.d.ts +21 -0
  218. package/dist/types/components/store/translationStore/strings.danish.d.ts +21 -0
  219. package/dist/types/components/store/translationStore/strings.dutch.d.ts +21 -0
  220. package/dist/types/components/store/translationStore/strings.french.d.ts +21 -0
  221. package/dist/types/components/store/translationStore/strings.german.d.ts +21 -0
  222. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +21 -0
  223. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +21 -0
  224. package/dist/types/components/store/translationStore/strings.italian.d.ts +21 -0
  225. package/dist/types/components/store/translationStore/strings.japanese.d.ts +21 -0
  226. package/dist/types/components/store/translationStore/strings.korean.d.ts +21 -0
  227. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +21 -0
  228. package/dist/types/components/store/translationStore/strings.polish.d.ts +21 -0
  229. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +21 -0
  230. package/dist/types/components/store/translationStore/strings.russian.d.ts +21 -0
  231. package/dist/types/components/store/translationStore/strings.spanish.d.ts +21 -0
  232. package/dist/types/components/store/translationStore/strings.swedish.d.ts +21 -0
  233. package/dist/types/components/store/translationStore/strings.turkish.d.ts +21 -0
  234. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +21 -0
  235. package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +6 -0
  236. package/dist/types/components/utils/api/placeTestOrder.d.ts +7 -0
  237. package/dist/types/components/utils/checkout/getIsStagingMode.d.ts +1 -0
  238. package/dist/types/components/utils/checkout/getIsTestMode.d.ts +1 -1
  239. package/dist/types/components/utils/validateEmailValue.d.ts +1 -0
  240. package/dist/types/components.d.ts +161 -0
  241. package/dist/types/types/checkout/TaxId.d.ts +20 -0
  242. package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +8 -0
  243. package/dist/types/types/checkout/api/CheckoutSession.d.ts +8 -2
  244. package/dist/types/types/checkout/api/PlaceTestOrder.d.ts +7 -0
  245. package/dist/types/types/generated/graphql.internal.types.d.ts +144 -109
  246. package/dist/types/types/generated/graphql.internal.types.ts +180 -99
  247. package/dist/types/types/index.d.ts +2 -0
  248. package/dist/zonos-elements/index.esm.js +1 -1
  249. package/dist/zonos-elements/{p-68d79b58.entry.js → p-00136c20.entry.js} +1 -1
  250. package/dist/zonos-elements/{p-d381288e.entry.js → p-0028d158.entry.js} +1 -1
  251. package/dist/zonos-elements/{p-72256333.entry.js → p-05013308.entry.js} +1 -1
  252. package/dist/zonos-elements/{p-c1b098de.system.js → p-0e6a3cd2.system.js} +1 -1
  253. package/dist/zonos-elements/{p-c0164a3c.system.js → p-12546668.system.js} +1 -1
  254. package/dist/zonos-elements/p-12a6b7bd.system.js +1 -0
  255. package/dist/zonos-elements/p-1423ebbe.js +1 -0
  256. package/dist/zonos-elements/p-18e5b741.system.js +1 -0
  257. package/dist/zonos-elements/p-2deae669.entry.js +1 -0
  258. package/dist/zonos-elements/{p-36dfc7ac.system.js → p-32912caf.system.js} +1 -1
  259. package/dist/zonos-elements/{p-fc4658a6.entry.js → p-36f97fd9.entry.js} +1 -1
  260. package/dist/zonos-elements/{p-983f23a1.system.entry.js → p-3a213429.system.entry.js} +1 -1
  261. package/dist/zonos-elements/{p-e6554a6f.system.entry.js → p-3aa4841a.system.entry.js} +1 -1
  262. package/dist/zonos-elements/{p-a13d5957.system.entry.js → p-3d221556.system.entry.js} +1 -1
  263. package/dist/zonos-elements/{p-381874b0.system.entry.js → p-41e26cc4.system.entry.js} +1 -1
  264. package/dist/zonos-elements/{p-2d514c1d.system.entry.js → p-463e44b6.system.entry.js} +1 -1
  265. package/dist/zonos-elements/p-46f6e5e9.system.js +1 -0
  266. package/dist/zonos-elements/{p-6271e108.js → p-485d89a4.js} +1 -1
  267. package/dist/zonos-elements/p-48bca3d4.system.entry.js +1 -0
  268. package/dist/zonos-elements/p-4caffd96.system.js +2 -0
  269. package/dist/zonos-elements/{p-0920500d.entry.js → p-50896f89.entry.js} +1 -1
  270. package/dist/zonos-elements/{p-2e152517.system.entry.js → p-515e3606.system.entry.js} +1 -1
  271. package/dist/zonos-elements/p-5834c218.system.js +1 -0
  272. package/dist/zonos-elements/p-595f5dd2.js +1 -0
  273. package/dist/zonos-elements/p-5bd927f2.js +1 -0
  274. package/dist/zonos-elements/{p-2761ad55.system.entry.js → p-619c07c6.system.entry.js} +1 -1
  275. package/dist/zonos-elements/{p-2b8cddb7.entry.js → p-69f84611.entry.js} +1 -1
  276. package/dist/zonos-elements/{p-766dd01f.js → p-6c578d26.js} +1 -1
  277. package/dist/zonos-elements/{p-28295342.entry.js → p-709c7e9e.entry.js} +1 -1
  278. package/dist/zonos-elements/{p-0197a9bf.system.entry.js → p-7140439f.system.entry.js} +1 -1
  279. package/dist/zonos-elements/p-7302a081.system.entry.js +1 -0
  280. package/dist/zonos-elements/p-7e47f6cf.entry.js +1 -0
  281. package/dist/zonos-elements/{p-44dd4269.entry.js → p-7f288336.entry.js} +1 -1
  282. package/dist/zonos-elements/{p-0e54432c.system.entry.js → p-81084be5.system.entry.js} +1 -1
  283. package/dist/zonos-elements/p-81a5dd5c.js +1 -0
  284. package/dist/zonos-elements/p-84e5fc0b.entry.js +1 -0
  285. package/dist/zonos-elements/{p-33e1d25e.system.entry.js → p-86e825f0.system.entry.js} +1 -1
  286. package/dist/zonos-elements/{p-0b5f4ca7.system.entry.js → p-91fc6c24.system.entry.js} +1 -1
  287. package/dist/zonos-elements/p-9951462e.entry.js +1 -0
  288. package/dist/zonos-elements/{p-a2bce31d.system.entry.js → p-9cf018c8.system.entry.js} +1 -1
  289. package/dist/zonos-elements/{p-232963d3.system.entry.js → p-9e05e259.system.entry.js} +1 -1
  290. package/dist/zonos-elements/{p-6b490b0a.system.entry.js → p-a8cf3542.system.entry.js} +1 -1
  291. package/dist/zonos-elements/p-ab68ad11.js +2 -0
  292. package/dist/zonos-elements/{p-4b685549.js → p-b0616716.js} +1 -1
  293. package/dist/zonos-elements/{p-1e3ea4ae.entry.js → p-b12fbc07.entry.js} +1 -1
  294. package/dist/zonos-elements/{p-d198421b.system.entry.js → p-b2292b70.system.entry.js} +1 -1
  295. package/dist/zonos-elements/{p-58a09715.entry.js → p-b262b93e.entry.js} +1 -1
  296. package/dist/zonos-elements/{p-545c05ce.entry.js → p-b288c2ed.entry.js} +1 -1
  297. package/dist/zonos-elements/p-b3882a73.system.js +1 -0
  298. package/dist/zonos-elements/{p-9306a835.entry.js → p-b5c360af.entry.js} +1 -1
  299. package/dist/zonos-elements/{p-2cfc00b8.system.entry.js → p-b6bbdb59.system.entry.js} +1 -1
  300. package/dist/zonos-elements/{p-f295030e.system.entry.js → p-bb92882d.system.entry.js} +1 -1
  301. package/dist/zonos-elements/p-bf37ccc7.system.js +1 -0
  302. package/dist/zonos-elements/{p-21b538ea.system.js → p-c015be06.system.js} +1 -1
  303. package/dist/zonos-elements/p-c8b0bc02.system.entry.js +1 -0
  304. package/dist/zonos-elements/{p-39cac2c1.entry.js → p-cbd5d932.entry.js} +1 -1
  305. package/dist/zonos-elements/{p-7c5c0a85.entry.js → p-cdfca133.entry.js} +1 -1
  306. package/dist/zonos-elements/{p-675f60b4.entry.js → p-d2f2c685.entry.js} +1 -1
  307. package/dist/zonos-elements/{p-2c19f5e2.entry.js → p-d6061c79.entry.js} +1 -1
  308. package/dist/zonos-elements/p-da6a29e4.system.entry.js +1 -0
  309. package/dist/zonos-elements/{p-65069140.entry.js → p-db3f381d.entry.js} +1 -1
  310. package/dist/zonos-elements/{p-9dec2b74.entry.js → p-de221545.entry.js} +1 -1
  311. package/dist/zonos-elements/{p-2949faf3.entry.js → p-e01ccb27.entry.js} +1 -1
  312. package/dist/zonos-elements/{p-b0174a8f.js → p-e02fd9ae.js} +1 -1
  313. package/dist/zonos-elements/{p-3cf30d83.entry.js → p-e2f1fa53.entry.js} +1 -1
  314. package/dist/zonos-elements/{p-ebdd9b64.system.entry.js → p-e8c70c7d.system.entry.js} +1 -1
  315. package/dist/zonos-elements/{p-a8bd492d.system.entry.js → p-ea35b237.system.entry.js} +1 -1
  316. package/dist/zonos-elements/p-f0c8150e.js +1 -0
  317. package/dist/zonos-elements/p-f3b0a097.system.js +1 -0
  318. package/dist/zonos-elements/{p-d5a3851d.system.entry.js → p-fc4ebe6b.system.entry.js} +1 -1
  319. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  320. package/dist/zonos-elements/zonos-elements.js +1 -1
  321. package/package.json +9 -8
  322. package/dist/esm-es5/CheckoutConfig-262008fe.js +0 -1
  323. package/dist/esm-es5/cart-cf87ec6f.js +0 -1
  324. package/dist/esm-es5/createCustomEvent-31a792d3.js +0 -1
  325. package/dist/esm-es5/handleFetch-badf4543.js +0 -1
  326. package/dist/esm-es5/index-986b5ff2.js +0 -2
  327. package/dist/esm-es5/zonos-address_7.entry.js +0 -1
  328. package/dist/esm-es5/zonos-notification_3.entry.js +0 -1
  329. package/dist/zonos-elements/p-076388d3.entry.js +0 -1
  330. package/dist/zonos-elements/p-0cda2818.system.js +0 -1
  331. package/dist/zonos-elements/p-0d2cf216.entry.js +0 -1
  332. package/dist/zonos-elements/p-1460f917.js +0 -1
  333. package/dist/zonos-elements/p-272052bd.system.entry.js +0 -1
  334. package/dist/zonos-elements/p-3cb4468f.system.entry.js +0 -1
  335. package/dist/zonos-elements/p-3d82e70e.js +0 -1
  336. package/dist/zonos-elements/p-64372f93.system.js +0 -1
  337. package/dist/zonos-elements/p-673b4402.system.entry.js +0 -1
  338. package/dist/zonos-elements/p-680d3694.js +0 -2
  339. package/dist/zonos-elements/p-7b999a40.js +0 -1
  340. package/dist/zonos-elements/p-7c643376.system.js +0 -1
  341. package/dist/zonos-elements/p-866bb93e.system.js +0 -1
  342. package/dist/zonos-elements/p-8c487480.entry.js +0 -1
  343. package/dist/zonos-elements/p-9b720cf4.entry.js +0 -1
  344. package/dist/zonos-elements/p-a5b294d7.js +0 -1
  345. package/dist/zonos-elements/p-b50667b6.system.js +0 -2
  346. package/dist/zonos-elements/p-bfcfd29b.system.js +0 -1
  347. package/dist/zonos-elements/p-ded984d9.system.entry.js +0 -1
  348. package/dist/zonos-elements/p-e9964a5a.system.js +0 -1
@@ -0,0 +1,162 @@
1
+ :host {
2
+ font-family: var(--zonos--font-family, Inter), Inter;
3
+ display: block;
4
+ white-space: normal;
5
+ }
6
+ :host * {
7
+ font-family: var(--zonos--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
+ --zonos--background-color: #f1f1f1;
36
+ --zonos--local-glowing-color: 0 0 0 3px hsla(0, 0%, 100%, 25%),
37
+ 0 0 0 1px var(--zonos--primary-color);
38
+ --zonos--border: 1px solid #e8e8e8;
39
+ }
40
+
41
+ :host(.dark) {
42
+ color-scheme: dark;
43
+ --zonos--background-color: #30313d;
44
+ --zonos--local-glowing-color: 0px 2px 4px rgba(0, 0, 0, 0.5),
45
+ 0px 1px 6px rgba(0, 0, 0, 0.25), 0 0 0 3px hsla(0, 0%, 100%, 25%),
46
+ 0 1px 1px 0 rgba(255, 255, 255, 0.12);
47
+ --zonos--border: 1px solid var(--zonos--primary-color);
48
+ }
49
+
50
+ :host {
51
+ margin: 1px;
52
+ height: calc(var(--zonos-elements-size-xl) - 2px);
53
+ /**disabled state */
54
+ }
55
+ :host .zonos--label-wrapper {
56
+ position: relative;
57
+ display: flex;
58
+ flex-direction: row;
59
+ height: 100%;
60
+ width: 100%;
61
+ background: var(--zonos--background-color);
62
+ border-radius: var(--zonos--border-radius);
63
+ border: var(--zonos--border);
64
+ outline-offset: 0;
65
+ outline-width: 2px;
66
+ }
67
+ :host .zonos--floated-input {
68
+ box-sizing: border-box;
69
+ position: relative;
70
+ padding: 0 16px;
71
+ outline: none;
72
+ transition: var(--zonos-elements-transition);
73
+ width: 100%;
74
+ border-radius: var(--zonos--border-radius);
75
+ background: var(--zonos--background-color);
76
+ border: var(--zonos--border);
77
+ order: 2;
78
+ font-weight: 400;
79
+ font-size: var(--zonos--font-size);
80
+ }
81
+ :host .zonos--floated-input :-internal-autofill-selected {
82
+ border-radius: var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6);
83
+ }
84
+ :host .zonos--floated-input :-internal-autofill-selected + label + div {
85
+ background-color: #e8f0fe;
86
+ }
87
+ :host .zonos--floated-input.has-label {
88
+ padding: 24px 4px 2px 16px;
89
+ }
90
+ :host .zonos--floated-input.has-label.has-input-prefix {
91
+ padding-left: 0;
92
+ }
93
+ :host .zonos--floated-input.has-label.has-input-prefix ~ .zonos--floated-label label {
94
+ margin-left: 0;
95
+ }
96
+ :host .zonos--floated-input:not(.has-label)::placeholder {
97
+ opacity: var(--zonos-elements-opacity-disabled);
98
+ }
99
+ :host .zonos--floated-input::placeholder {
100
+ transition: var(--zonos-elements-transition);
101
+ opacity: 0;
102
+ }
103
+ :host .zonos--floated-input:focus {
104
+ outline: none;
105
+ border: var(--zonos--border);
106
+ }
107
+ :host .zonos--floated-input:focus ~ .zonos--floated-label::after {
108
+ box-shadow: var(--zonos--glowing-color, var(--zonos--local-glowing-color));
109
+ }
110
+ :host .zonos--floated-input.has-error + .zonos--floated-label::after {
111
+ box-shadow: 0 0 0 2px #df1b41;
112
+ }
113
+ :host .zonos--floated-input.has-content::placeholder, :host .zonos--floated-input:focus::placeholder {
114
+ opacity: var(--zonos-elements-opacity-disabled);
115
+ }
116
+ :host .zonos--floated-input.has-content ~ .zonos--floated-label label, :host .zonos--floated-input:focus ~ .zonos--floated-label label {
117
+ top: 11px;
118
+ transform: scale(0.8);
119
+ }
120
+ :host .zonos--floated-input:-webkit-autofill, :host .zonos--floated-input:-moz-autofill {
121
+ background-color: var(--zonos-elements-input-background);
122
+ color: var(--zonos-elements-text-color);
123
+ }
124
+ :host .zonos--floated-label {
125
+ display: block;
126
+ max-height: 0;
127
+ pointer-events: none;
128
+ order: 1;
129
+ }
130
+ :host .zonos--floated-label label {
131
+ color: var(--zonos-elements-gray-800);
132
+ position: absolute;
133
+ font-size: 16px;
134
+ line-height: 16px;
135
+ display: inline-block;
136
+ filter: blur(0);
137
+ transform-origin: left top;
138
+ transition: var(--zonos-elements-transition);
139
+ margin-left: 16px;
140
+ top: calc(50% - 8px);
141
+ z-index: 1;
142
+ }
143
+ :host .zonos--floated-label::after {
144
+ content: "";
145
+ position: absolute;
146
+ left: 0;
147
+ right: 0;
148
+ top: 0;
149
+ bottom: 0;
150
+ border-radius: var(--zonos--border-radius);
151
+ }
152
+ :host .disabled .zonos--floated-label {
153
+ pointer-events: inherit;
154
+ }
155
+ :host .disabled .zonos--floated-label::after {
156
+ cursor: not-allowed;
157
+ z-index: 1;
158
+ }
159
+
160
+ :host(.dark) .zonos--label-wrapper {
161
+ background: #30313d;
162
+ }
@@ -0,0 +1,264 @@
1
+ import { h, Host, } from "@stencil/core";
2
+ import { zonosStore, zonosStoreFontFamily, } from "../../store/zonosStore";
3
+ import { classes } from "../../utils/classes";
4
+ import { getBorderRadius } from "../../utils/getBorderRadius";
5
+ import { isDarkColor } from "../../utils/isDarkColor";
6
+ /**
7
+ * This component is input that has similar style to Stripe since we will use it with other Stripe elements when we don't want to use Link authentication element
8
+ */
9
+ export class ZonosStripeInput {
10
+ constructor() {
11
+ this.inputValue = '';
12
+ this.inputLabel = undefined;
13
+ this.overridePrimaryColor = undefined;
14
+ this.overrideSecondaryColor = undefined;
15
+ this.isDisabled = false;
16
+ this.isError = false;
17
+ this.inputPlaceholder = '';
18
+ this.value = '';
19
+ this.internalValue = this.inputValue;
20
+ }
21
+ onInputValueChange(newValue) {
22
+ this.internalValue = newValue;
23
+ this.inputChange.emit(newValue);
24
+ this.value = newValue;
25
+ }
26
+ onValueChange(newValue) {
27
+ this.internalValue = newValue;
28
+ }
29
+ render() {
30
+ const primaryColor = this.overridePrimaryColor || zonosStore.appearance.colorPrimary;
31
+ const secondaryColor = this.overrideSecondaryColor || zonosStore.appearance.colorSecondary;
32
+ const isDark = primaryColor && isDarkColor(primaryColor);
33
+ const fontSize = zonosStore.appearance.fontSizeInputValue || 16;
34
+ return (h(Host, { key: 'd78f2aee99ac4e6d95cf1628e058e6d3bb70e309', class: classes([
35
+ 'zonos--input zonos--elements',
36
+ isDark && 'dark',
37
+ this.isError && 'has-error',
38
+ ]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: {
39
+ '--zonos--border-radius': getBorderRadius(),
40
+ '--zonos--font-family': zonosStoreFontFamily(),
41
+ '--zonos--font-size': `${fontSize}px`,
42
+ '--zonos--primary-color': secondaryColor,
43
+ } }, h("div", { key: 'a3e7f765b0081a564c5955e387ff4b521a28d1a5', class: classes([
44
+ 'zonos--label-wrapper',
45
+ this.isDisabled && 'disabled',
46
+ ]) }, h("input", { key: '999a54381e24e5da6f2a5fd9cde56c4fa87d37b1', class: classes([
47
+ 'zonos--floated-input',
48
+ !!this.inputLabel && 'has-label',
49
+ this.internalValue && 'has-content',
50
+ this.isError && 'has-error',
51
+ ]), disabled: this.isDisabled, id: "zonos--input", onInput: e => {
52
+ const input = e.target;
53
+ this.inputChange.emit(input.value);
54
+ this.el.inputValue = input.value;
55
+ this.el.dispatchEvent(new Event('change'));
56
+ }, placeholder: this.inputPlaceholder, type: "text", value: this.internalValue }), h("div", { key: '251f9bfc2399e47f2a4dad359d2511400ec10b41', class: "zonos--floated-label" }, h("label", { key: 'eb23eea3a74af98c7439294621a4caf282fdbbb1', htmlFor: "zonos--input" }, this.inputLabel)))));
57
+ }
58
+ static get is() { return "zonos-stripe-input"; }
59
+ static get encapsulation() { return "shadow"; }
60
+ static get originalStyleUrls() {
61
+ return {
62
+ "$": ["zonos-stripe-input.scss"]
63
+ };
64
+ }
65
+ static get styleUrls() {
66
+ return {
67
+ "$": ["zonos-stripe-input.css"]
68
+ };
69
+ }
70
+ static get properties() {
71
+ return {
72
+ "inputValue": {
73
+ "type": "string",
74
+ "mutable": false,
75
+ "complexType": {
76
+ "original": "string",
77
+ "resolved": "string",
78
+ "references": {}
79
+ },
80
+ "required": false,
81
+ "optional": false,
82
+ "docs": {
83
+ "tags": [],
84
+ "text": "Value of the stripeInput"
85
+ },
86
+ "getter": false,
87
+ "setter": false,
88
+ "attribute": "input-value",
89
+ "reflect": false,
90
+ "defaultValue": "''"
91
+ },
92
+ "inputLabel": {
93
+ "type": "string",
94
+ "mutable": false,
95
+ "complexType": {
96
+ "original": "string",
97
+ "resolved": "string",
98
+ "references": {}
99
+ },
100
+ "required": true,
101
+ "optional": false,
102
+ "docs": {
103
+ "tags": [],
104
+ "text": "Input label"
105
+ },
106
+ "getter": false,
107
+ "setter": false,
108
+ "attribute": "input-label",
109
+ "reflect": false
110
+ },
111
+ "overridePrimaryColor": {
112
+ "type": "string",
113
+ "mutable": false,
114
+ "complexType": {
115
+ "original": "string",
116
+ "resolved": "string | undefined",
117
+ "references": {}
118
+ },
119
+ "required": false,
120
+ "optional": true,
121
+ "docs": {
122
+ "tags": [],
123
+ "text": "Primary color to override primary color from appearance primary color in setting."
124
+ },
125
+ "getter": false,
126
+ "setter": false,
127
+ "attribute": "override-primary-color",
128
+ "reflect": false
129
+ },
130
+ "overrideSecondaryColor": {
131
+ "type": "string",
132
+ "mutable": false,
133
+ "complexType": {
134
+ "original": "string",
135
+ "resolved": "string | undefined",
136
+ "references": {}
137
+ },
138
+ "required": false,
139
+ "optional": true,
140
+ "docs": {
141
+ "tags": [],
142
+ "text": "Secondary color to override secondary color from appearance secondary color in setting"
143
+ },
144
+ "getter": false,
145
+ "setter": false,
146
+ "attribute": "override-secondary-color",
147
+ "reflect": false
148
+ },
149
+ "isDisabled": {
150
+ "type": "boolean",
151
+ "mutable": false,
152
+ "complexType": {
153
+ "original": "boolean",
154
+ "resolved": "boolean",
155
+ "references": {}
156
+ },
157
+ "required": false,
158
+ "optional": false,
159
+ "docs": {
160
+ "tags": [],
161
+ "text": "Disables the input"
162
+ },
163
+ "getter": false,
164
+ "setter": false,
165
+ "attribute": "is-disabled",
166
+ "reflect": false,
167
+ "defaultValue": "false"
168
+ },
169
+ "isError": {
170
+ "type": "boolean",
171
+ "mutable": false,
172
+ "complexType": {
173
+ "original": "boolean",
174
+ "resolved": "boolean",
175
+ "references": {}
176
+ },
177
+ "required": false,
178
+ "optional": false,
179
+ "docs": {
180
+ "tags": [],
181
+ "text": "Error state of the input"
182
+ },
183
+ "getter": false,
184
+ "setter": false,
185
+ "attribute": "is-error",
186
+ "reflect": false,
187
+ "defaultValue": "false"
188
+ },
189
+ "inputPlaceholder": {
190
+ "type": "string",
191
+ "mutable": false,
192
+ "complexType": {
193
+ "original": "string",
194
+ "resolved": "string",
195
+ "references": {}
196
+ },
197
+ "required": false,
198
+ "optional": false,
199
+ "docs": {
200
+ "tags": [],
201
+ "text": "Placeholder for the input"
202
+ },
203
+ "getter": false,
204
+ "setter": false,
205
+ "attribute": "input-placeholder",
206
+ "reflect": false,
207
+ "defaultValue": "''"
208
+ },
209
+ "value": {
210
+ "type": "string",
211
+ "mutable": true,
212
+ "complexType": {
213
+ "original": "string",
214
+ "resolved": "string",
215
+ "references": {}
216
+ },
217
+ "required": false,
218
+ "optional": false,
219
+ "docs": {
220
+ "tags": [],
221
+ "text": "The value of the input."
222
+ },
223
+ "getter": false,
224
+ "setter": false,
225
+ "attribute": "value",
226
+ "reflect": false,
227
+ "defaultValue": "''"
228
+ }
229
+ };
230
+ }
231
+ static get states() {
232
+ return {
233
+ "internalValue": {}
234
+ };
235
+ }
236
+ static get events() {
237
+ return [{
238
+ "method": "inputChange",
239
+ "name": "inputChange",
240
+ "bubbles": true,
241
+ "cancelable": true,
242
+ "composed": true,
243
+ "docs": {
244
+ "tags": [],
245
+ "text": "Event to emit when input value changes"
246
+ },
247
+ "complexType": {
248
+ "original": "string",
249
+ "resolved": "string",
250
+ "references": {}
251
+ }
252
+ }];
253
+ }
254
+ static get elementRef() { return "el"; }
255
+ static get watchers() {
256
+ return [{
257
+ "propName": "inputValue",
258
+ "methodName": "onInputValueChange"
259
+ }, {
260
+ "propName": "value",
261
+ "methodName": "onValueChange"
262
+ }];
263
+ }
264
+ }
@@ -105,6 +105,8 @@ export class ZonosText {
105
105
  "tags": [],
106
106
  "text": "The icon element to display"
107
107
  },
108
+ "getter": false,
109
+ "setter": false,
108
110
  "attribute": "text-color",
109
111
  "reflect": false,
110
112
  "defaultValue": "'gray-1000'"
@@ -129,6 +131,8 @@ export class ZonosText {
129
131
  "tags": [],
130
132
  "text": "The size of the text"
131
133
  },
134
+ "getter": false,
135
+ "setter": false,
132
136
  "attribute": "size",
133
137
  "reflect": false
134
138
  },
@@ -152,6 +156,8 @@ export class ZonosText {
152
156
  "tags": [],
153
157
  "text": "Type of the text to display"
154
158
  },
159
+ "getter": false,
160
+ "setter": false,
155
161
  "attribute": "type",
156
162
  "reflect": false,
157
163
  "defaultValue": "'body'"
@@ -176,6 +182,8 @@ export class ZonosText {
176
182
  "tags": [],
177
183
  "text": "The weight of the text"
178
184
  },
185
+ "getter": false,
186
+ "setter": false,
179
187
  "attribute": "weight",
180
188
  "reflect": false
181
189
  }
@@ -7,9 +7,9 @@ export class ZonosToggle {
7
7
  this.value = undefined;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: '318787cdd63c418c3ff8c3090a56485c7746a225', class: classes(['zonos--elements zonos--toggle']), style: {
10
+ return (h(Host, { key: '01958140c90fdadecbfca64fe65dbf1132af2cc1', class: classes(['zonos--elements zonos--toggle']), style: {
11
11
  '--zonos--font-family': zonosStoreFontFamily(),
12
- } }, h("div", { key: 'f91f378b5f3b0114ccec5972fb93fd17093bb016', class: "wrapper" }, this.options.map(option => {
12
+ } }, h("div", { key: '5362589929c25b5ba897d23a308f6dd2759c4ac0', class: "wrapper" }, this.options.map(option => {
13
13
  const selected = option.value === this.value;
14
14
  return (h("button", { class: classes(['zonos--option', selected && 'selected']), key: option.value, onClick: () => {
15
15
  this.toggleChanged.emit(option.value);
@@ -50,6 +50,8 @@ export class ZonosToggle {
50
50
  "tags": [],
51
51
  "text": "Options for the toggle"
52
52
  },
53
+ "getter": false,
54
+ "setter": false,
53
55
  "defaultValue": "[]"
54
56
  },
55
57
  "value": {
@@ -66,6 +68,8 @@ export class ZonosToggle {
66
68
  "tags": [],
67
69
  "text": "The selected option"
68
70
  },
71
+ "getter": false,
72
+ "setter": false,
69
73
  "attribute": "value",
70
74
  "reflect": false
71
75
  }
@@ -7,10 +7,10 @@ export class ZonosTooltip {
7
7
  this.showTooltip = false;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: '7ddbd67ee8737db3bb449e4b0e3bb7aa201750e8', class: "zonos--elements" }, h("div", { key: 'd1389e596398fef4610e2682a06f9025bb3cb755', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '33cb09297417473b1c609258007dcdb600aba5ab' }), h("div", { key: 'dd02d87b040708d7998a3a5ca7be217c37a35625', class: classes([
10
+ return (h(Host, { key: 'fa16c20a254958721bcc44dbe96f6588545e86f0', class: "zonos--elements" }, h("div", { key: '0e57607df02b12d5df9fb84b64c8345b40b2e823', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: '9faf457a730046b789a5b822fb6ab89d88970d59' }), h("div", { key: 'f85dbf49e172f9a1c1b57443b1ea22d819b4099c', class: classes([
11
11
  this.showTooltip && 'zonos--show-tooltip',
12
12
  'zonos--tooltip-content',
13
- ]) }, h("zonos-text", { key: '8252086536ddf4e91547c5c9c26042bfe5e2d7b2', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'b795a982ba2ea7f0388aa578168021cf32ef5f95', size: "xs", textColor: "gray-0" }, this.subtitle)))));
13
+ ]) }, h("zonos-text", { key: '6e90bfe3f346cbe5d49aab4e03c868b3138aeca7', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: '1c10f75f13ae427737fcf4ece41b9f7ba13fb76d', size: "xs", textColor: "gray-0" }, this.subtitle)))));
14
14
  }
15
15
  static get is() { return "zonos-tooltip"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -40,6 +40,8 @@ export class ZonosTooltip {
40
40
  "tags": [],
41
41
  "text": "The title of the tooltip"
42
42
  },
43
+ "getter": false,
44
+ "setter": false,
43
45
  "attribute": "label",
44
46
  "reflect": false,
45
47
  "defaultValue": "''"
@@ -58,6 +60,8 @@ export class ZonosTooltip {
58
60
  "tags": [],
59
61
  "text": "The subtitle of the tooltip"
60
62
  },
63
+ "getter": false,
64
+ "setter": false,
61
65
  "attribute": "subtitle",
62
66
  "reflect": false,
63
67
  "defaultValue": "''"
@@ -7,9 +7,9 @@ export class VStack {
7
7
  this.spacing = 24;
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: '4d2a0ea6c3c427e04bb9bca7ac0d035bd2c7143e', style: {
10
+ return (h(Host, { key: '32154740511a038c4ca04ad55bc7d77d96496654', style: {
11
11
  '--zonos--font-family': zonosStoreFontFamily(),
12
- } }, h("div", { key: '6ea72ff37210b0d719fd15506bd78810658d59ac', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: 'fa0abf999f3737852cb181b7678a89ce6b52a471' }))));
12
+ } }, h("div", { key: 'f80f8b0e51554a3db9efa960706ac9bb450155cb', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: '711a207eb1b4c59672be4df8b19a3c7200d44f29' }))));
13
13
  }
14
14
  static get is() { return "zonos-v-stack"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -48,6 +48,8 @@ export class VStack {
48
48
  }],
49
49
  "text": "The spacing between elements in the stack"
50
50
  },
51
+ "getter": false,
52
+ "setter": false,
51
53
  "attribute": "spacing",
52
54
  "reflect": false,
53
55
  "defaultValue": "24"
@@ -56,12 +56,12 @@ export class ZonosVirtualScroll {
56
56
  } }, this.renderItem(i)));
57
57
  accHeight += itemHeight;
58
58
  }
59
- return (h(Host, { key: 'c09f341c0436d53ad245f0dc4ed54d5ead9a0e39' }, h("div", { key: 'e7f9cbb0dd33d0fab1bffd01672e9f5a3bc11f04',
59
+ return (h(Host, { key: '0f132a5b60586fb22d1d5536aa7abef6199e0748' }, h("div", { key: 'a947229cd3d53b79312855cf8ddf8c9985035e1e',
60
60
  // to capture scroll action
61
61
  class: "scroller", style: {
62
62
  height: `${this.totalHeight}px`,
63
63
  width: `${W}px`,
64
- } }), h("div", { key: '93071acbc731dda4e9a1f453aa76526cd1639191',
64
+ } }), h("div", { key: '63013fe7bc53d76152fda74e7b6ef054e7c3a9ef',
65
65
  // to display items
66
66
  class: "item-container", ref: el => (this.container = el), style: {
67
67
  height: `${this.totalHeight}px`,
@@ -104,7 +104,9 @@ export class ZonosVirtualScroll {
104
104
  "docs": {
105
105
  "tags": [],
106
106
  "text": "Render item"
107
- }
107
+ },
108
+ "getter": false,
109
+ "setter": false
108
110
  },
109
111
  "itemWidth": {
110
112
  "type": "number",
@@ -120,6 +122,8 @@ export class ZonosVirtualScroll {
120
122
  "tags": [],
121
123
  "text": "Width of each item"
122
124
  },
125
+ "getter": false,
126
+ "setter": false,
123
127
  "attribute": "item-width",
124
128
  "reflect": false
125
129
  },
@@ -137,6 +141,8 @@ export class ZonosVirtualScroll {
137
141
  "tags": [],
138
142
  "text": "Height that is used as a fallback if height is not provided"
139
143
  },
144
+ "getter": false,
145
+ "setter": false,
140
146
  "attribute": "fallback-item-height",
141
147
  "reflect": false
142
148
  },
@@ -153,7 +159,9 @@ export class ZonosVirtualScroll {
153
159
  "docs": {
154
160
  "tags": [],
155
161
  "text": "Heights list of each item"
156
- }
162
+ },
163
+ "getter": false,
164
+ "setter": false
157
165
  }
158
166
  };
159
167
  }
@@ -10,7 +10,7 @@ export class ZonosComponent {
10
10
  return format(this.first, this.middle, this.last);
11
11
  }
12
12
  render() {
13
- return h("div", { key: '564c34a7a93a16b8e619a0e140f8d99fabc91c34' }, "Hello, World! I'm ", this.getText());
13
+ return h("div", { key: '63b0c771133fd495f36e2c67601d64d6e56f5f2b' }, "Hello, World! I'm ", this.getText());
14
14
  }
15
15
  static get is() { return "zonos-component"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -40,6 +40,8 @@ export class ZonosComponent {
40
40
  "tags": [],
41
41
  "text": "The first name"
42
42
  },
43
+ "getter": false,
44
+ "setter": false,
43
45
  "attribute": "first",
44
46
  "reflect": false,
45
47
  "defaultValue": "''"
@@ -58,6 +60,8 @@ export class ZonosComponent {
58
60
  "tags": [],
59
61
  "text": "The middle name"
60
62
  },
63
+ "getter": false,
64
+ "setter": false,
61
65
  "attribute": "middle",
62
66
  "reflect": false,
63
67
  "defaultValue": "''"
@@ -76,6 +80,8 @@ export class ZonosComponent {
76
80
  "tags": [],
77
81
  "text": "The last name"
78
82
  },
83
+ "getter": false,
84
+ "setter": false,
79
85
  "attribute": "last",
80
86
  "reflect": false,
81
87
  "defaultValue": "''"
@@ -423,6 +423,8 @@ export class ZonosHello {
423
423
  }],
424
424
  "text": "Force mobile styling instead of media query and use the passed location value"
425
425
  },
426
+ "getter": false,
427
+ "setter": false,
426
428
  "attribute": "mobile-location-override",
427
429
  "reflect": false
428
430
  },
@@ -443,6 +445,8 @@ export class ZonosHello {
443
445
  }],
444
446
  "text": "Force left animation instead of detecting which side has more space"
445
447
  },
448
+ "getter": false,
449
+ "setter": false,
446
450
  "attribute": "animate-from-left-override",
447
451
  "reflect": false
448
452
  },
@@ -469,7 +473,9 @@ export class ZonosHello {
469
473
  "docs": {
470
474
  "tags": [],
471
475
  "text": "Override the appearance settings"
472
- }
476
+ },
477
+ "getter": false,
478
+ "setter": false
473
479
  }
474
480
  };
475
481
  }