@zonos/elements 1.3.82 → 1.3.84

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 (166) hide show
  1. package/dist/cjs/{cart-ba540c8e.js → cart-a06f18e2.js} +462 -18
  2. package/dist/cjs/{createCustomEvent-1fd24ad8.js → createCustomEvent-8d9cf9ac.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{paypal-6bbe55a7.js → paypal-078f3cef.js} +1 -1
  6. package/dist/cjs/{zonos-address_8.cjs.entry.js → zonos-address_7.cjs.entry.js} +3 -58
  7. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +99 -29
  8. package/dist/cjs/zonos-checkout.cjs.entry.js +10 -8
  9. package/dist/cjs/zonos-collapse.cjs.entry.js +62 -0
  10. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  12. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-elements.cjs.js +1 -1
  14. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
  15. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  16. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  17. package/dist/cjs/zonos-notification_3.cjs.entry.js +2 -2
  18. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +1 -11
  19. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +17 -6
  20. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +3 -1
  21. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +7 -3
  22. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/assets/ChevronUpIcon.svg +23 -0
  23. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +55 -9
  24. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +57 -16
  25. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +20 -27
  26. package/dist/collection/components/store/checkout/cart.js +28 -11
  27. package/dist/collection/components/store/checkout/stripe.js +5 -4
  28. package/dist/collection/components/store/hello/localization.js +5 -1
  29. package/dist/collection/components/store/translationStore/strings.arabic.js +21 -0
  30. package/dist/collection/components/store/translationStore/strings.base.js +21 -0
  31. package/dist/collection/components/store/translationStore/strings.chinese.js +21 -0
  32. package/dist/collection/components/store/translationStore/strings.danish.js +21 -0
  33. package/dist/collection/components/store/translationStore/strings.dutch.js +21 -0
  34. package/dist/collection/components/store/translationStore/strings.french.js +22 -1
  35. package/dist/collection/components/store/translationStore/strings.german.js +22 -1
  36. package/dist/collection/components/store/translationStore/strings.hebrew.js +22 -1
  37. package/dist/collection/components/store/translationStore/strings.indonesian.js +21 -0
  38. package/dist/collection/components/store/translationStore/strings.italian.js +21 -0
  39. package/dist/collection/components/store/translationStore/strings.japanese.js +21 -0
  40. package/dist/collection/components/store/translationStore/strings.korean.js +21 -0
  41. package/dist/collection/components/store/translationStore/strings.norwegian.js +21 -0
  42. package/dist/collection/components/store/translationStore/strings.polish.js +21 -0
  43. package/dist/collection/components/store/translationStore/strings.portuguese.js +21 -0
  44. package/dist/collection/components/store/translationStore/strings.russian.js +22 -1
  45. package/dist/collection/components/store/translationStore/strings.spanish.js +21 -0
  46. package/dist/collection/components/store/translationStore/strings.swedish.js +21 -0
  47. package/dist/collection/components/store/translationStore/strings.turkish.js +21 -0
  48. package/dist/collection/components/store/translationStore/strings.vietnamese.js +21 -0
  49. package/dist/collection/components/stripe/zonos-address/zonos-address.js +3 -3
  50. package/dist/collection/components/utils/checkout/isDisabledCountry.js +0 -2
  51. package/dist/collection/components/utils/checkout/isShippableCountry.js +0 -2
  52. package/dist/collection/components/utils/checkout/{sortServiceLevelOptions.js → sortServiceLevelOptionsByAmount.js} +1 -1
  53. package/dist/esm/{cart-7df78f9f.js → cart-40e0d619.js} +461 -19
  54. package/dist/esm/{createCustomEvent-fcec608e.js → createCustomEvent-1f615c82.js} +1 -1
  55. package/dist/esm/index.js +7 -7
  56. package/dist/esm/loader.js +1 -1
  57. package/dist/esm/{paypal-a27aad03.js → paypal-a45fb0bb.js} +1 -1
  58. package/dist/esm/{zonos-address_8.entry.js → zonos-address_7.entry.js} +4 -58
  59. package/dist/esm/zonos-cart-items_12.entry.js +99 -29
  60. package/dist/esm/zonos-checkout.entry.js +10 -8
  61. package/dist/esm/zonos-collapse.entry.js +58 -0
  62. package/dist/esm/zonos-controller.entry.js +1 -1
  63. package/dist/esm/zonos-country-flag.entry.js +1 -1
  64. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  65. package/dist/esm/zonos-elements.js +1 -1
  66. package/dist/esm/zonos-hello-dialog.entry.js +1 -1
  67. package/dist/esm/zonos-hello.entry.js +1 -1
  68. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  69. package/dist/esm/zonos-notification_3.entry.js +2 -2
  70. package/dist/esm/zonos-shipping-rich-radio.entry.js +1 -11
  71. package/dist/esm-es5/cart-40e0d619.js +1 -0
  72. package/dist/esm-es5/{createCustomEvent-fcec608e.js → createCustomEvent-1f615c82.js} +1 -1
  73. package/dist/esm-es5/index.js +1 -1
  74. package/dist/esm-es5/loader.js +1 -1
  75. package/dist/esm-es5/{paypal-a27aad03.js → paypal-a45fb0bb.js} +1 -1
  76. package/dist/esm-es5/zonos-address_7.entry.js +1 -0
  77. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  78. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  79. package/dist/esm-es5/zonos-collapse.entry.js +1 -0
  80. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  81. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  82. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  83. package/dist/esm-es5/zonos-elements.js +1 -1
  84. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  85. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  86. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  87. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  88. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  89. package/dist/scripts/index.d.ts +499 -496
  90. package/dist/scripts/index.js +1 -1
  91. package/dist/scripts/loadZonos.js +1 -1
  92. package/dist/scripts/zonos.js +1 -1
  93. package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +4 -1
  94. package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +2 -6
  95. package/dist/types/components/store/checkout/cart.d.ts +9 -7
  96. package/dist/types/components/store/hello/localization.d.ts +4 -0
  97. package/dist/types/components/store/translationStore/strings.arabic.d.ts +21 -0
  98. package/dist/types/components/store/translationStore/strings.base.d.ts +21 -0
  99. package/dist/types/components/store/translationStore/strings.chinese.d.ts +21 -0
  100. package/dist/types/components/store/translationStore/strings.danish.d.ts +21 -0
  101. package/dist/types/components/store/translationStore/strings.dutch.d.ts +21 -0
  102. package/dist/types/components/store/translationStore/strings.french.d.ts +21 -0
  103. package/dist/types/components/store/translationStore/strings.german.d.ts +21 -0
  104. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +21 -0
  105. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +21 -0
  106. package/dist/types/components/store/translationStore/strings.italian.d.ts +21 -0
  107. package/dist/types/components/store/translationStore/strings.japanese.d.ts +21 -0
  108. package/dist/types/components/store/translationStore/strings.korean.d.ts +21 -0
  109. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +21 -0
  110. package/dist/types/components/store/translationStore/strings.polish.d.ts +21 -0
  111. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +21 -0
  112. package/dist/types/components/store/translationStore/strings.russian.d.ts +21 -0
  113. package/dist/types/components/store/translationStore/strings.spanish.d.ts +21 -0
  114. package/dist/types/components/store/translationStore/strings.swedish.d.ts +21 -0
  115. package/dist/types/components/store/translationStore/strings.turkish.d.ts +21 -0
  116. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +21 -0
  117. package/dist/types/components/store/translationStore.d.ts +1 -1
  118. package/dist/types/components/utils/checkout/{sortServiceLevelOptions.d.ts → sortServiceLevelOptionsByAmount.d.ts} +1 -1
  119. package/dist/types/components.d.ts +10 -8
  120. package/dist/zonos-elements/index.esm.js +1 -1
  121. package/dist/zonos-elements/{p-cd17565d.entry.js → p-019b202c.entry.js} +1 -1
  122. package/dist/zonos-elements/{p-a4cdd4f2.entry.js → p-0a15de43.entry.js} +1 -1
  123. package/dist/zonos-elements/{p-2024313c.js → p-1348c46d.js} +1 -1
  124. package/dist/zonos-elements/p-181de82e.entry.js +1 -0
  125. package/dist/zonos-elements/p-189a2cae.entry.js +1 -0
  126. package/dist/zonos-elements/{p-957b1c1b.system.js → p-3d9a0e52.system.js} +1 -1
  127. package/dist/zonos-elements/{p-4683797b.system.js → p-47d5a081.system.js} +1 -1
  128. package/dist/zonos-elements/p-4abca0e9.system.entry.js +1 -0
  129. package/dist/zonos-elements/{p-4e06a2bb.system.entry.js → p-5d325c13.system.entry.js} +1 -1
  130. package/dist/zonos-elements/{p-5d4bde9c.system.entry.js → p-5ef15d65.system.entry.js} +1 -1
  131. package/dist/zonos-elements/{p-df83e30b.entry.js → p-60c543e7.entry.js} +1 -1
  132. package/dist/zonos-elements/p-7096814b.system.entry.js +1 -0
  133. package/dist/zonos-elements/{p-43e2de45.system.entry.js → p-78ca17aa.system.entry.js} +1 -1
  134. package/dist/zonos-elements/{p-cfd53396.entry.js → p-9013751a.entry.js} +1 -1
  135. package/dist/zonos-elements/p-9367aeca.system.entry.js +1 -0
  136. package/dist/zonos-elements/p-9931bea7.system.entry.js +1 -0
  137. package/dist/zonos-elements/{p-d48f3bd3.system.entry.js → p-ac6562c7.system.entry.js} +1 -1
  138. package/dist/zonos-elements/{p-2d2edb5a.system.entry.js → p-b1381434.system.entry.js} +1 -1
  139. package/dist/zonos-elements/{p-acabfc47.js → p-b39b794a.js} +1 -1
  140. package/dist/zonos-elements/p-ba10b830.entry.js +1 -0
  141. package/dist/zonos-elements/p-c1fbe220.js +1 -0
  142. package/dist/zonos-elements/{p-4097a25b.system.entry.js → p-c224f43a.system.entry.js} +1 -1
  143. package/dist/zonos-elements/{p-b09c3702.entry.js → p-c3314b3b.entry.js} +1 -1
  144. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  145. package/dist/zonos-elements/p-cec3e1ed.entry.js +1 -0
  146. package/dist/zonos-elements/p-d043cf10.system.entry.js +1 -0
  147. package/dist/zonos-elements/{p-bf84416a.entry.js → p-d31368f1.entry.js} +1 -1
  148. package/dist/zonos-elements/{p-15651b06.system.js → p-e2adfe87.system.js} +1 -1
  149. package/dist/zonos-elements/{p-112a969c.entry.js → p-e563eb3f.entry.js} +1 -1
  150. package/dist/zonos-elements/p-e6f2948c.system.js +1 -0
  151. package/dist/zonos-elements/{p-59806a8e.system.entry.js → p-ec8ff301.system.entry.js} +1 -1
  152. package/dist/zonos-elements/p-f1e452e1.entry.js +1 -0
  153. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  154. package/package.json +1 -1
  155. package/dist/esm-es5/cart-7df78f9f.js +0 -1
  156. package/dist/esm-es5/zonos-address_8.entry.js +0 -1
  157. package/dist/zonos-elements/p-270cc182.system.entry.js +0 -1
  158. package/dist/zonos-elements/p-2c5e2163.entry.js +0 -1
  159. package/dist/zonos-elements/p-85600e22.system.entry.js +0 -1
  160. package/dist/zonos-elements/p-8dd38974.entry.js +0 -1
  161. package/dist/zonos-elements/p-8fd6ae63.js +0 -1
  162. package/dist/zonos-elements/p-a1c5c1a2.entry.js +0 -1
  163. package/dist/zonos-elements/p-aa899bf7.entry.js +0 -1
  164. package/dist/zonos-elements/p-cffe7cc8.system.entry.js +0 -1
  165. package/dist/zonos-elements/p-e7eb0a92.system.js +0 -1
  166. package/dist/zonos-elements/p-f4667002.system.entry.js +0 -1
@@ -1 +0,0 @@
1
- System.register(["./p-fd061229.system.js","./p-b74ff880.system.js","./p-23e7c655.system.js","./p-455b7545.system.js","./p-4a107b6f.system.js"],(function(o){"use strict";var s,i,e,t,n,r,a,l,d;return{setters:[function(o){s=o.r;i=o.c;e=o.h;t=o.H},function(o){n=o.d;r=o.z},function(o){a=o.c},function(o){l=o.g},function(o){d=o.i}],execute:function(){var h=":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--selected-border-color, var(--zonos-elements-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:16px;-ms-flex-align:center;align-items:center;gap:16px;cursor:pointer;border:1px solid var(--zonos-elements-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--border-radius, var(--zonos-elements-radius-10));border-top-right-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--border-radius, var(--zonos-elements-radius-10));border-bottom-left-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--selected-border-color, var(--zonos-elements-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";var c=h;var p=o("zonos_shipping_rich_radio",function(){function o(o){var e=this;s(this,o);this.radioSelected=i(this,"radioSelected",7);this.handleRichRadioSelect=function(o){var s;e.selectedItem=o;(s=e.radioSelected)===null||s===void 0?void 0:s.emit(o)};this.getRadioItemStyleVariables=function(){var o=e.borderColor||r.appearance.colorSecondary;var s=d(o)?"var(--zonos-elements-".concat(o,")"):o;return{"--border-radius":l({overrideBorderStyle:e.borderStyle}),"--selected-border-color":s||"unset"}};this.items=undefined;this.borderColor=undefined;this.borderStyle=undefined;this.theme=undefined;this.initialSelectedValue=undefined;this.selectedItem=null}o.prototype.componentWillLoad=function(){var o=this;if(this.initialSelectedValue){this.selectedItem=this.items.find((function(s){return s.value===o.initialSelectedValue}))||null}};o.prototype.render=function(){var o=this;var s;return e(t,{key:"83ee4ddc5ad32514ca98457812207964cf452217",class:"zonos--shipping-rich-radio zonos--elements","data-theme":this.theme,style:Object.assign(Object.assign({},this.getRadioItemStyleVariables()),{"--font-family":n()})},(s=this.items)===null||s===void 0?void 0:s.map((function(s){var i;var t=((i=o.selectedItem)===null||i===void 0?void 0:i.value)===s.value;return e("div",{"aria-hidden":"true",class:a(["zonos--shipping-rich-radio-item",t&&"selected"]),onClick:function(){return o.handleRichRadioSelect(s)}},e("input",{checked:t,class:"zonos--shipping-rich-radio-input",name:"zonos--shipping-rich-radio",type:"radio",value:s.value}),e("div",{class:"zonos--shipping-info"},e("div",{class:"zonos--shipping-detail"},e("zonos-text",{class:"zonos--shipping-label",type:"label"},s.label),(s.sublabel||s.caption)&&e("div",{class:"zonos--sub-detail"},s.sublabel&&e("zonos-text",{textColor:"gray-800"},s.sublabel),s.caption&&e("zonos-text",{textColor:"gray-600"},s.caption))),e("zonos-text",{type:"semiBoldLabel"},s.price)))})))};return o}());p.style=c}}}));