@salla.sa/twilight-components 2.14.556 → 2.14.558

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 (384) hide show
  1. package/dist/{esm/cart-DY4LZmNP.js → cjs/cart-DSvlJXCH.js} +4 -2
  2. package/dist/cjs/{filepond-t0Yy69qV.js → filepond-LS8ytqmE.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-poster-DNZM6Czl.js → filepond-plugin-file-poster-DexU9y97.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-size-BPMIodJt.js → filepond-plugin-file-validate-size-BJJ_spY7.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-file-validate-type-DgYmyGCI.js → filepond-plugin-file-validate-type-BYz_biwv.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-edit-B4itf01h.js → filepond-plugin-image-edit-C3R9xG9P.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-exif-orientation-Dj43xu10.js → filepond-plugin-image-exif-orientation-DC7e2K9l.js} +1 -1
  8. package/dist/cjs/{filepond-plugin-image-preview-C6Gm9i9o.js → filepond-plugin-image-preview-DLbo1P7r.js} +1 -1
  9. package/dist/cjs/{index-DyL5Ypj3.js → index-BkcJlC9S.js} +14 -14
  10. package/dist/cjs/{intlTelInput-BTUy-aYK.js → intlTelInput-DvZz7cvU.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +21 -6
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +3 -3
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +3 -3
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-applied-filters.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-attachment-view_9.cjs.entry.js +11 -11
  21. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-bullet-delivery_3.cjs.entry.js +5 -5
  24. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +3 -3
  26. package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-comment-form_9.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-count-down_2.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-map_3.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-notification-item_2.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-orders.cjs.entry.js +224 -46
  76. package/dist/cjs/salla-payments.cjs.entry.js +76 -2
  77. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-product-card.cjs.entry.js +48 -13
  81. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +33 -4
  86. package/dist/cjs/salla-rating-modal.cjs.entry.js +3 -2
  87. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-search.cjs.entry.js +279 -33
  91. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  92. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  94. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  95. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  97. package/dist/cjs/salla-trust-badges.cjs.entry.js +3 -165
  98. package/dist/cjs/salla-user-menu.cjs.entry.js +3 -3
  99. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  101. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
  104. package/dist/cjs/twilight.cjs.js +2 -2
  105. package/dist/cjs/{vanilla-picker-C_t8j4f7.js → vanilla-picker-COagKVR0.js} +1 -1
  106. package/dist/collection/components/salla-button/salla-button.js +32 -2
  107. package/dist/collection/components/salla-modal/salla-modal.css +34 -16
  108. package/dist/collection/components/salla-modal/salla-modal.js +27 -2
  109. package/dist/collection/components/salla-orders/salla-orders.css +122 -0
  110. package/dist/collection/components/salla-orders/salla-orders.js +231 -45
  111. package/dist/collection/components/salla-payments/salla-payments.css +3 -0
  112. package/dist/collection/components/salla-payments/salla-payments.js +74 -0
  113. package/dist/collection/components/salla-product-card/salla-product-card.css +22 -2
  114. package/dist/collection/components/salla-product-card/salla-product-card.js +106 -11
  115. package/dist/collection/components/salla-rating-modal/salla-rating-modal-v2.js +32 -3
  116. package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +2 -1
  117. package/dist/collection/components/salla-search/interfaces.js +1 -0
  118. package/dist/collection/components/salla-search/salla-search.css +324 -14
  119. package/dist/collection/components/salla-search/salla-search.js +179 -32
  120. package/dist/collection/components/salla-search/utils.js +111 -0
  121. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  122. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  123. package/dist/collection/components/salla-social/salla-social.js +1 -1
  124. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  125. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  126. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  127. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  128. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  129. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  130. package/dist/collection/components/salla-trust-badges/salla-trust-badges.css +1 -16
  131. package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +1 -163
  132. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  133. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
  134. package/dist/components/index.js +2 -2
  135. package/dist/components/salla-button2.js +13 -2
  136. package/dist/components/salla-modal2.js +9 -3
  137. package/dist/components/salla-orders.js +294 -48
  138. package/dist/components/salla-payments.js +75 -1
  139. package/dist/components/salla-product-card2.js +50 -12
  140. package/dist/components/salla-rating-modal-v22.js +32 -3
  141. package/dist/components/salla-rating-modal2.js +2 -1
  142. package/dist/components/salla-search.js +392 -39
  143. package/dist/components/salla-searchable-dropdown2.js +4 -4
  144. package/dist/components/salla-skeleton2.js +1 -1
  145. package/dist/components/salla-social-share2.js +1 -1
  146. package/dist/components/salla-social.js +1 -1
  147. package/dist/components/salla-tab-content2.js +1 -1
  148. package/dist/components/salla-tab-header2.js +1 -1
  149. package/dist/components/salla-tabs2.js +1 -1
  150. package/dist/components/salla-tel-input2.js +1 -1
  151. package/dist/components/salla-tooltip2.js +1 -1
  152. package/dist/components/salla-trust-badges.js +2 -164
  153. package/dist/components/salla-user-settings.js +1 -1
  154. package/dist/components/salla-wishlist-actions.js +1 -1
  155. package/dist/{cjs/cart-s-x1Fshk.js → esm/cart-gFG8By9O.js} +2 -4
  156. package/dist/esm/{filepond-Dl-e9LIA.js → filepond-D5Fnwsco.js} +1 -1
  157. package/dist/esm/{filepond-plugin-file-poster-B44qzFr7.js → filepond-plugin-file-poster-BfePPO64.js} +1 -1
  158. package/dist/esm/{filepond-plugin-file-validate-size-DeewGi6D.js → filepond-plugin-file-validate-size-CVpLCDVB.js} +1 -1
  159. package/dist/esm/{filepond-plugin-file-validate-type-DquQHM9K.js → filepond-plugin-file-validate-type-BhzMnQfH.js} +1 -1
  160. package/dist/esm/{filepond-plugin-image-edit-DPSC2V4u.js → filepond-plugin-image-edit-Bvj3qwXE.js} +1 -1
  161. package/dist/esm/{filepond-plugin-image-exif-orientation-A-4MC3po.js → filepond-plugin-image-exif-orientation-NlBBLgPL.js} +1 -1
  162. package/dist/esm/{filepond-plugin-image-preview-vvc3KNls.js → filepond-plugin-image-preview-CA1k8ex-.js} +1 -1
  163. package/dist/esm/{index-BJmvvw9H.js → index-B6Lo-Jz2.js} +14 -14
  164. package/dist/esm/{intlTelInput-DFX9QeWQ.js → intlTelInput-nu7FH85H.js} +1 -1
  165. package/dist/esm/loader.js +3 -3
  166. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  167. package/dist/esm/salla-accordion_6.entry.js +21 -6
  168. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  169. package/dist/esm/salla-advertisement.entry.js +1 -1
  170. package/dist/esm/salla-alert_2.entry.js +3 -3
  171. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  172. package/dist/esm/salla-applied-filters.entry.js +1 -1
  173. package/dist/esm/salla-apps-icons.entry.js +1 -1
  174. package/dist/esm/salla-attachment-view_9.entry.js +11 -11
  175. package/dist/esm/salla-badge.entry.js +1 -1
  176. package/dist/esm/salla-basket-gap.entry.js +1 -1
  177. package/dist/esm/salla-bullet-delivery_3.entry.js +5 -5
  178. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  179. package/dist/esm/salla-cart-item-offers_2.entry.js +3 -3
  180. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  181. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  182. package/dist/esm/salla-comment-factors.entry.js +1 -1
  183. package/dist/esm/salla-comment-form_9.entry.js +1 -1
  184. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  185. package/dist/esm/salla-contacts.entry.js +1 -1
  186. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  187. package/dist/esm/salla-count-down_2.entry.js +1 -1
  188. package/dist/esm/salla-custom-fields.entry.js +1 -1
  189. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  190. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  191. package/dist/esm/salla-filters-widget.entry.js +1 -1
  192. package/dist/esm/salla-filters.entry.js +1 -1
  193. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  194. package/dist/esm/salla-gifting.entry.js +1 -1
  195. package/dist/esm/salla-hook.entry.js +1 -1
  196. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  197. package/dist/esm/salla-installment.entry.js +1 -1
  198. package/dist/esm/salla-list-tile.entry.js +1 -1
  199. package/dist/esm/salla-localization-modal.entry.js +1 -1
  200. package/dist/esm/salla-login-modal.entry.js +1 -1
  201. package/dist/esm/salla-loyalty-banner_10.entry.js +1 -1
  202. package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
  203. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  204. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  205. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  206. package/dist/esm/salla-loyalty.entry.js +1 -1
  207. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  208. package/dist/esm/salla-map_3.entry.js +1 -1
  209. package/dist/esm/salla-menu.entry.js +1 -1
  210. package/dist/esm/salla-metadata.entry.js +1 -1
  211. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  212. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  213. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  214. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  215. package/dist/esm/salla-notification-item_2.entry.js +1 -1
  216. package/dist/esm/salla-offer-modal.entry.js +1 -1
  217. package/dist/esm/salla-offer.entry.js +1 -1
  218. package/dist/esm/salla-order-branch.entry.js +1 -1
  219. package/dist/esm/salla-order-cancel.entry.js +1 -1
  220. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  221. package/dist/esm/salla-order-details-options.entry.js +1 -1
  222. package/dist/esm/salla-order-details.entry.js +1 -1
  223. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  224. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  225. package/dist/esm/salla-order-edit.entry.js +1 -1
  226. package/dist/esm/salla-order-shipments.entry.js +1 -1
  227. package/dist/esm/salla-order-summary.entry.js +1 -1
  228. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  229. package/dist/esm/salla-orders.entry.js +224 -46
  230. package/dist/esm/salla-payments.entry.js +76 -2
  231. package/dist/esm/salla-placeholder.entry.js +1 -1
  232. package/dist/esm/salla-price-range.entry.js +1 -1
  233. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  234. package/dist/esm/salla-product-card.entry.js +48 -13
  235. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  236. package/dist/esm/salla-products-list.entry.js +1 -1
  237. package/dist/esm/salla-products-slider.entry.js +1 -1
  238. package/dist/esm/salla-quick-order.entry.js +1 -1
  239. package/dist/esm/salla-rating-modal-v2.entry.js +33 -4
  240. package/dist/esm/salla-rating-modal.entry.js +3 -2
  241. package/dist/esm/salla-review-factors-tags.entry.js +1 -1
  242. package/dist/esm/salla-review-order-item.entry.js +1 -1
  243. package/dist/esm/salla-scopes.entry.js +1 -1
  244. package/dist/esm/salla-search.entry.js +279 -33
  245. package/dist/esm/salla-skeleton.entry.js +2 -2
  246. package/dist/esm/salla-social-share.entry.js +2 -2
  247. package/dist/esm/salla-social.entry.js +2 -2
  248. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  249. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  250. package/dist/esm/salla-tooltip.entry.js +2 -2
  251. package/dist/esm/salla-trust-badges.entry.js +3 -165
  252. package/dist/esm/salla-user-menu.entry.js +3 -3
  253. package/dist/esm/salla-user-profile.entry.js +1 -1
  254. package/dist/esm/salla-user-settings.entry.js +2 -2
  255. package/dist/esm/salla-verify.entry.js +1 -1
  256. package/dist/esm/salla-wallet.entry.js +1 -1
  257. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  258. package/dist/esm/twilight.js +3 -3
  259. package/dist/esm/{vanilla-picker-Ld2F0WbU.js → vanilla-picker-Dn7Q0By-.js} +1 -1
  260. package/dist/twilight/{p-f0c19b59.entry.js → p-00f3dc2a.entry.js} +1 -1
  261. package/dist/twilight/{p-cc3c48b4.entry.js → p-051740db.entry.js} +1 -1
  262. package/dist/twilight/{p-95b8806a.entry.js → p-05f65278.entry.js} +1 -1
  263. package/dist/twilight/{p-3ec284fd.entry.js → p-0e9845d3.entry.js} +1 -1
  264. package/dist/twilight/{p-5391291e.entry.js → p-0ea66288.entry.js} +1 -1
  265. package/dist/twilight/{p-6b3e668c.entry.js → p-0f9d25c2.entry.js} +1 -1
  266. package/dist/twilight/{p-f6e44ad6.entry.js → p-100cb969.entry.js} +1 -1
  267. package/dist/twilight/{p-b654ffbd.entry.js → p-11234d66.entry.js} +1 -1
  268. package/dist/twilight/{p-54b4dec6.entry.js → p-1546f64d.entry.js} +1 -1
  269. package/dist/twilight/{p-bd68067a.entry.js → p-191b4fa6.entry.js} +1 -1
  270. package/dist/twilight/p-19607f60.entry.js +4 -0
  271. package/dist/twilight/p-1d1bbac7.entry.js +4 -0
  272. package/dist/twilight/{p-7e7f0849.entry.js → p-1d220636.entry.js} +1 -1
  273. package/dist/twilight/{p-7d0e8486.entry.js → p-1d9aa36c.entry.js} +1 -1
  274. package/dist/twilight/{p-1b97e436.entry.js → p-257717f5.entry.js} +1 -1
  275. package/dist/twilight/{p-ec27e0f4.entry.js → p-289574f0.entry.js} +1 -1
  276. package/dist/twilight/{p-d4263617.entry.js → p-28aeea5d.entry.js} +1 -1
  277. package/dist/twilight/{p-4df9ca99.entry.js → p-29a9ff44.entry.js} +1 -1
  278. package/dist/twilight/{p-1882e5b9.entry.js → p-2cb160a8.entry.js} +1 -1
  279. package/dist/twilight/{p-d8808de5.entry.js → p-2dc5f115.entry.js} +1 -1
  280. package/dist/twilight/{p-75e126cc.entry.js → p-2de7945d.entry.js} +1 -1
  281. package/dist/twilight/{p-a1ce8d6d.entry.js → p-2ebe428c.entry.js} +1 -1
  282. package/dist/twilight/{p-45b85a45.entry.js → p-31c017ae.entry.js} +1 -1
  283. package/dist/twilight/{p-8a640353.entry.js → p-344e7a53.entry.js} +1 -1
  284. package/dist/twilight/{p-4023d48a.entry.js → p-3661b790.entry.js} +1 -1
  285. package/dist/twilight/{p-55c89592.entry.js → p-3c312812.entry.js} +1 -1
  286. package/dist/twilight/{p-e209addd.entry.js → p-3f12a3a2.entry.js} +1 -1
  287. package/dist/twilight/{p-d16a17d2.entry.js → p-400c631e.entry.js} +1 -1
  288. package/dist/twilight/{p-d9e98286.entry.js → p-44f20e64.entry.js} +1 -1
  289. package/dist/twilight/{p-5af2868f.entry.js → p-4604590c.entry.js} +1 -1
  290. package/dist/twilight/{p-5b148ad4.entry.js → p-4c422a3d.entry.js} +1 -1
  291. package/dist/twilight/{p-d5a486bb.entry.js → p-4f645457.entry.js} +1 -1
  292. package/dist/twilight/{p-5ab257bf.entry.js → p-529a60e2.entry.js} +1 -1
  293. package/dist/twilight/{p-f37147c7.entry.js → p-5a2150e8.entry.js} +1 -1
  294. package/dist/twilight/{p-e0f7a4e1.entry.js → p-5d6db148.entry.js} +1 -1
  295. package/dist/twilight/{p-4ca525cb.entry.js → p-5d6f9c3e.entry.js} +1 -1
  296. package/dist/twilight/{p-2f59ef9c.entry.js → p-5dcf8a71.entry.js} +1 -1
  297. package/dist/twilight/{p-c266feb3.entry.js → p-5f4331f0.entry.js} +1 -1
  298. package/dist/twilight/{p-91351958.entry.js → p-5ffdb544.entry.js} +1 -1
  299. package/dist/twilight/{p-c4582e2b.entry.js → p-63b48fb1.entry.js} +1 -1
  300. package/dist/twilight/{p-291d6f2b.entry.js → p-647a1b63.entry.js} +1 -1
  301. package/dist/twilight/{p-92992a1e.entry.js → p-6840449d.entry.js} +1 -1
  302. package/dist/twilight/{p-99af9a68.entry.js → p-747fdf8c.entry.js} +1 -1
  303. package/dist/twilight/{p-918eb4b7.entry.js → p-7512638e.entry.js} +1 -1
  304. package/dist/twilight/{p-6d7629ee.entry.js → p-75ba562a.entry.js} +1 -1
  305. package/dist/twilight/{p-3bba916f.entry.js → p-7639c5a8.entry.js} +1 -1
  306. package/dist/twilight/{p-e64ad9de.entry.js → p-778f38ce.entry.js} +1 -1
  307. package/dist/twilight/{p-275b49b7.entry.js → p-785ac87d.entry.js} +1 -1
  308. package/dist/twilight/{p-90d5e633.entry.js → p-78cba566.entry.js} +1 -1
  309. package/dist/twilight/{p-e0e614d1.entry.js → p-7a78cbcd.entry.js} +1 -1
  310. package/dist/twilight/{p-3eb18438.entry.js → p-7b286e8d.entry.js} +1 -1
  311. package/dist/twilight/{p-2f2956d9.entry.js → p-8284d68b.entry.js} +1 -1
  312. package/dist/twilight/{p-4af910f1.entry.js → p-86622485.entry.js} +1 -1
  313. package/dist/twilight/{p-67efee3a.entry.js → p-8ca39b58.entry.js} +1 -1
  314. package/dist/twilight/{p-12a43d43.entry.js → p-8e10a9a9.entry.js} +1 -1
  315. package/dist/twilight/{p-dff3411a.entry.js → p-8ee698cc.entry.js} +1 -1
  316. package/dist/twilight/{p-89a82ff5.entry.js → p-8f11c556.entry.js} +1 -1
  317. package/dist/twilight/p-91ab3a03.entry.js +4 -0
  318. package/dist/twilight/{p-Ye-NG0xO.js → p-9L0Aq4PZ.js} +1 -1
  319. package/dist/twilight/{p-BJmvvw9H.js → p-B6Lo-Jz2.js} +1 -1
  320. package/dist/twilight/{p-BUfrGdXG.js → p-Ble2-eBI.js} +1 -1
  321. package/dist/twilight/{p-pCB_h2Xn.js → p-BopTxsQ2.js} +1 -1
  322. package/dist/twilight/{p-SDB-lCJg.js → p-CMHD60jb.js} +1 -1
  323. package/dist/twilight/{p-DXzyepGb.js → p-CUuXQJdT.js} +1 -1
  324. package/dist/twilight/{p-DpFFhlK6.js → p-CvrBhStg.js} +1 -1
  325. package/dist/twilight/{p-BscSw0sZ.js → p-DexDAAf1.js} +1 -1
  326. package/dist/twilight/{p-CLEHV1kt.js → p-Dgq6RHqV.js} +1 -1
  327. package/dist/twilight/{p-VDJLgJLw.js → p-VJGJYEfb.js} +1 -1
  328. package/dist/twilight/p-a1035984.entry.js +4 -0
  329. package/dist/twilight/{p-74f730e1.entry.js → p-a50073b5.entry.js} +1 -1
  330. package/dist/twilight/{p-4fdc296f.entry.js → p-a82db499.entry.js} +1 -1
  331. package/dist/twilight/{p-99702306.entry.js → p-a8d3ae7e.entry.js} +1 -1
  332. package/dist/twilight/p-a8d90638.entry.js +4 -0
  333. package/dist/twilight/{p-bfb82c90.entry.js → p-abce7e02.entry.js} +1 -1
  334. package/dist/twilight/{p-ba5546ab.entry.js → p-ad12ab8c.entry.js} +1 -1
  335. package/dist/twilight/{p-427d38a0.entry.js → p-adb31a76.entry.js} +1 -1
  336. package/dist/twilight/{p-601013e8.entry.js → p-b5a68a1a.entry.js} +1 -1
  337. package/dist/twilight/{p-fdc36d7c.entry.js → p-b695db2e.entry.js} +1 -1
  338. package/dist/twilight/{p-e1cca558.entry.js → p-ba941354.entry.js} +1 -1
  339. package/dist/twilight/{p-fa1900ec.entry.js → p-bb94c4e4.entry.js} +1 -1
  340. package/dist/twilight/{p-fc0304bf.entry.js → p-bbfaf5ac.entry.js} +1 -1
  341. package/dist/twilight/{p-2815c25a.entry.js → p-be292e0b.entry.js} +1 -1
  342. package/dist/twilight/{p-cb892619.entry.js → p-be34bd30.entry.js} +1 -1
  343. package/dist/twilight/{p-cddd3975.entry.js → p-bf2f2a36.entry.js} +1 -1
  344. package/dist/twilight/p-bfa7a257.entry.js +4 -0
  345. package/dist/twilight/{p-17522796.entry.js → p-c39c8112.entry.js} +1 -1
  346. package/dist/twilight/{p-3a1fd71a.entry.js → p-c56e1aa1.entry.js} +1 -1
  347. package/dist/twilight/{p-91f9f647.entry.js → p-c8c09f5c.entry.js} +1 -1
  348. package/dist/twilight/{p-a893e7e3.entry.js → p-c8c34286.entry.js} +1 -1
  349. package/dist/twilight/{p-88045527.entry.js → p-d41903f9.entry.js} +1 -1
  350. package/dist/twilight/{p-13011571.entry.js → p-d55b86b5.entry.js} +1 -1
  351. package/dist/twilight/{p-2fddb802.entry.js → p-d72e0350.entry.js} +1 -1
  352. package/dist/twilight/{p-95918a1a.entry.js → p-d96bc0c1.entry.js} +1 -1
  353. package/dist/twilight/{p-62dfd479.entry.js → p-db9f8104.entry.js} +2 -2
  354. package/dist/twilight/p-dd734bcb.entry.js +4 -0
  355. package/dist/twilight/p-df9d5f85.entry.js +4 -0
  356. package/dist/twilight/{p-8d7bfcf6.entry.js → p-e3a45456.entry.js} +1 -1
  357. package/dist/twilight/{p-6e08f950.entry.js → p-e5169250.entry.js} +1 -1
  358. package/dist/twilight/{p-a1738bf0.entry.js → p-ea606acc.entry.js} +1 -1
  359. package/dist/twilight/{p-2ce0c4ca.entry.js → p-effc8ceb.entry.js} +1 -1
  360. package/dist/twilight/{p-0d3be88f.entry.js → p-f2fb1121.entry.js} +1 -1
  361. package/dist/twilight/{p-5527801b.entry.js → p-fa7c358f.entry.js} +1 -1
  362. package/dist/twilight/{p-DY4LZmNP.js → p-gFG8By9O.js} +1 -1
  363. package/dist/twilight/twilight.esm.js +1 -1
  364. package/dist/types/components/salla-button/salla-button.d.ts +6 -0
  365. package/dist/types/components/salla-modal/salla-modal.d.ts +5 -0
  366. package/dist/types/components/salla-orders/interface.d.ts +1 -0
  367. package/dist/types/components/salla-orders/salla-orders.d.ts +29 -2
  368. package/dist/types/components/salla-payments/salla-payments.d.ts +4 -0
  369. package/dist/types/components/salla-product-card/salla-product-card.d.ts +18 -0
  370. package/dist/types/components/salla-rating-modal/salla-rating-modal-v2.d.ts +7 -0
  371. package/dist/types/components/salla-search/interfaces.d.ts +21 -0
  372. package/dist/types/components/salla-search/salla-search.d.ts +40 -2
  373. package/dist/types/components/salla-search/utils.d.ts +19 -0
  374. package/dist/types/components/salla-trust-badges/salla-trust-badges.d.ts +0 -22
  375. package/dist/types/components.d.ts +50 -0
  376. package/package.json +5 -5
  377. package/dist/twilight/p-08fa9f0b.entry.js +0 -4
  378. package/dist/twilight/p-1066a05c.entry.js +0 -4
  379. package/dist/twilight/p-11afb8be.entry.js +0 -4
  380. package/dist/twilight/p-164cb0d8.entry.js +0 -4
  381. package/dist/twilight/p-5ecc99df.entry.js +0 -4
  382. package/dist/twilight/p-acc63da6.entry.js +0 -4
  383. package/dist/twilight/p-bb082b47.entry.js +0 -4
  384. package/dist/twilight/p-f3eab493.entry.js +0 -4
@@ -33,6 +33,12 @@ const SallaButton = /*@__PURE__*/ proxyCustomElement(class SallaButton extends H
33
33
  * Is the button currently loading
34
34
  */
35
35
  this.loading = false;
36
+ /**
37
+ * Whether this button can ever show a loading state. Defaults to true;
38
+ * set to false to make the button ignore `loading` (and any `load()` calls)
39
+ * entirely, e.g. for buttons that shouldn't display an in-flight spinner.
40
+ */
41
+ this.enableLoader = true;
36
42
  /**
37
43
  * Is the button currently disabled
38
44
  */
@@ -96,9 +102,13 @@ const SallaButton = /*@__PURE__*/ proxyCustomElement(class SallaButton extends H
96
102
  return this.host;
97
103
  }
98
104
  getBtnAttributes() {
105
+ const excludedAttributes = ['color', 'fill', 'size', 'width', 'id', 'enable-loader'];
106
+ if (!this.enableLoader) {
107
+ excludedAttributes.push('loading');
108
+ }
99
109
  const hostAttributes = {};
100
110
  for (let i = 0; i < this.host.attributes.length; i++) {
101
- if (!['color', 'fill', 'size', 'width', 'id'].includes(this.host.attributes[i].name)) {
111
+ if (!excludedAttributes.includes(this.host.attributes[i].name)) {
102
112
  hostAttributes[this.host.attributes[i].name] = this.host.attributes[i].value;
103
113
  }
104
114
  }
@@ -132,7 +142,7 @@ const SallaButton = /*@__PURE__*/ proxyCustomElement(class SallaButton extends H
132
142
  return hostAttributes;
133
143
  }
134
144
  button() {
135
- return (h("button", { ...this.getBtnAttributes(), disabled: this.disabled }, h("span", { class: "s-button-text", ref: el => this.text = el }, h("slot", null)), this.loading ? h("span", { class: "s-button-loader" }) : ''));
145
+ return (h("button", { ...this.getBtnAttributes(), disabled: this.disabled }, h("span", { class: "s-button-text", ref: el => this.text = el }, h("slot", null)), this.loading && this.enableLoader ? h("span", { class: "s-button-loader" }) : ''));
136
146
  }
137
147
  render() {
138
148
  //TODO:: find a better fix, this is a patch for issue that duplicates the buttons twice @see the screenshot inside this folder
@@ -149,6 +159,7 @@ const SallaButton = /*@__PURE__*/ proxyCustomElement(class SallaButton extends H
149
159
  "size": [513],
150
160
  "width": [513],
151
161
  "loading": [516],
162
+ "enableLoader": [516, "enable-loader"],
152
163
  "disabled": [516],
153
164
  "loaderPosition": [1, "loader-position"],
154
165
  "href": [1],
@@ -10,7 +10,7 @@ import { H as Helper } from './Helper.js';
10
10
  import { d as defineCustomElement$2 } from './salla-button2.js';
11
11
  import { d as defineCustomElement$1 } from './salla-loading2.js';
12
12
 
13
- const sallaModalCss = "/*!twlt*/@media screen and (max-width: 470px){.modal-is-open{position:fixed;width:100%}}@media screen and (max-width: 639px){.s-modal-body{max-height:calc(100vh - 2rem) !important;overflow-y:auto !important;overflow-x:hidden !important}}.s-modal-back{position:absolute;top:0.35rem;inset-inline-start:0.35rem;z-index:1;margin:0 !important;line-height:0}.s-modal-back .s-button-element,.s-modal-back .s-button-icon{margin:0 !important}.visible{visibility:visible}.hidden{display:none}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.s-hidden{display:none}.s-booking-field-modal .s-modal-body{overflow:hidden;padding:1.25rem}.s-booking-field-modal .s-modal-title{display:flex;justify-content:flex-start}.s-bottom-alert-modal .s-modal-body{padding-top:1rem;padding-bottom:1rem}.s-bullet-delivery .s-bullet-delivery-modal .s-modal-body{padding:0px}@media (min-width: 768px){.s-bullet-delivery .s-bullet-delivery-modal .s-modal-body{max-height:70dvh;overflow-y:auto}}.s-bullet-delivery .s-bullet-delivery-modal .s-modal-body:has(.s-searchable-dropdown--open){overflow:visible !important}.s-comments-item-images-slider .s-modal-close{background-color:transparent}.s-delivery-promise-city-modal .s-modal-title{font-weight:700;color:var(--color-primary,#00897b)}.s-delivery-promise-city-modal .s-modal-sub-title{font-size:0.875rem;line-height:1.25rem;line-height:1.45;color:var(--color-text-secondary,#5c6c7c)}.s-delivery-promise-city-modal .s-modal-body{overflow:visible !important}.s-delivery-promise-city-modal .s-modal-body>salla-button{position:relative;z-index:0;margin-top:1rem}.s-gifting-modal .s-modal-header{display:block}.s-gifting-modal .s-modal-body{position:relative !important;left:unset !important;bottom:unset !important;padding-bottom:2rem}@media (min-width: 640px){.s-gifting-modal .s-modal-body{padding-bottom:1.5rem}}@media (max-width: 768px){.s-loyalty-modal .s-modal-body{max-height:100%;overflow-y:scroll}}.s-modal-container{position:fixed;inset:0px;z-index:200;overflow:hidden}.s-modal-wrapper{height:100%;overflow-y:auto;text-align:center}.s-modal-loader{margin-left:0.5rem;margin-right:0.5rem;display:flex;align-items:center;justify-content:center;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-modal-loader::before{display:inline-block;height:2.5rem;content:var(--tw-content);width:2.5rem}@keyframes spin{to{content:var(--tw-content);transform:rotate(360deg)}}.s-modal-loader::before{animation:spin 1s linear infinite;border-radius:9999px;border-width:2px;border-style:solid;border-top-color:var(--color-primary);border-left-color:var(--color-primary);border-bottom-color:rgb(243 244 246 / var(--tw-border-opacity, 1));--tw-border-opacity:1;border-right-color:rgb(243 244 246 / var(--tw-border-opacity, 1));--tw-content:'';content:var(--tw-content)}.s-modal-close{position:absolute;top:0.75rem;z-index:10;width:2.75rem;cursor:pointer;border-style:none;--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-left:0.5rem;padding-right:0.5rem;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-modal-close:focus{outline:2px solid transparent;outline-offset:2px}.s-modal-close:where([dir=\"ltr\"],[dir=\"ltr\"] *){right:0px}.s-modal-close:where([dir=\"rtl\"],[dir=\"rtl\"] *){left:0px}.s-modal-close svg{width:1.25rem;fill:#f87171}.s-modal-close svg:hover{fill:#ef4444}.s-modal-header{flex-direction:column}.s-modal-header-inner{margin-bottom:1.25rem;display:flex;align-items:center;padding-right:2rem;text-align:center}@media (min-width: 640px){.s-modal-header-inner{display:block}}@media (min-width: 768px){.s-modal-header-inner{padding:0px !important}}.s-modal-header-inner:where([dir=\"rtl\"],[dir=\"rtl\"] *){padding-left:2rem;padding-right:0px}.s-modal-header-content{display:flex;flex-direction:column;text-align:left}@media (min-width: 768px){.s-modal-header-content{text-align:center}}.s-modal-header-content:where([dir=\"rtl\"],[dir=\"rtl\"] *){text-align:right}@media (min-width: 768px){.s-modal-header-content:where([dir=\"rtl\"],[dir=\"rtl\"] *){text-align:center}}.s-modal-header-img{margin-left:auto;margin-right:auto;max-width:150px}@media (min-width: 640px){.s-modal-header-img{margin-bottom:1rem}}.s-modal-icon{display:inline-flex;height:4rem;width:4rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));font-size:1.875rem;line-height:2.25rem}@media (min-width: 640px){.s-modal-icon{margin-left:auto;margin-right:auto;margin-bottom:1rem;height:5rem;width:5rem}}.s-modal-icon:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-right:0.5rem}@media (min-width: 640px){.s-modal-icon:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-right:0px}}.s-modal-icon:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-left:0.5rem}@media (min-width: 640px){.s-modal-icon:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-left:0px}}.s-modal-icon svg{fill:#9ca3af}.s-modal-bg-normal{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.s-modal-bg-success{--tw-border-opacity:1;border-color:rgb(134 239 172 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.s-modal-bg-success svg{fill:#16a34a}.s-modal-bg-error{--tw-border-opacity:1;border-color:rgb(252 165 165 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.s-modal-bg-error svg{fill:#dc2626}.s-modal-bg-primary{border-color:var(--color-primary);background-color:var(--color-primary)}.s-modal-bg-primary svg{fill:var(--color-primary-reverse)}.s-modal-title{font-size:1.125rem;font-weight:700;line-height:1.5rem;--tw-text-opacity:1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 640px){.s-modal-title{margin-bottom:0.5rem}}.s-modal-sub-title{font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}@media (min-width: 640px){.s-modal-sub-title{margin-bottom:0.5rem}}.s-modal-title-below{order:10}.s-modal-body-slot{width:100%}.s-modal-body{position:fixed;left:0px;bottom:0px;display:inline-block;width:100%;--tw-translate-y:1rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));overflow:hidden;border-radius:var(--s-radius, 0.25rem);border-bottom-right-radius:0px;border-bottom-left-radius:0px;--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow:0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:200ms;transition-timing-function:cubic-bezier(0.4, 0, 1, 1)}@media (min-width: 640px){.s-modal-body{position:relative;margin-top:2rem;margin-bottom:2rem;--tw-translate-y:0px;--tw-scale-x:.95;--tw-scale-y:.95;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));overflow:visible;border-bottom-right-radius:var(--s-radius, 0.25rem);border-bottom-left-radius:var(--s-radius, 0.25rem)}}@media (min-width: 768px){.s-modal-body{left:unset;bottom:unset}}.s-modal-body:where([dir=\"ltr\"],[dir=\"ltr\"] *){text-align:left}.s-modal-body:where([dir=\"rtl\"],[dir=\"rtl\"] *){text-align:right}.s-modal-padding{padding:1rem;padding-top:1.5rem}@media (min-width: 640px){.s-modal-padding{padding:1.5rem}}.s-modal-spacer{display:inline-block;height:100vh}.s-modal-align-middle{vertical-align:bottom}@media (min-width: 640px){.s-modal-align-middle{vertical-align:middle}}.s-modal-align-top{vertical-align:bottom}@media (min-width: 640px){.s-modal-align-top{vertical-align:top}}.s-modal-align-bottom{vertical-align:bottom}.s-modal-overlay{position:fixed;inset:0px;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1));--tw-bg-opacity:0.75;transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:200ms;transition-timing-function:cubic-bezier(0.4, 0, 1, 1)}.s-modal-overlay-leaving{opacity:0}.s-modal-entering{--tw-translate-y:0px;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1;transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}@media (min-width: 640px){.s-modal-entering{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}.s-modal-leaving{--tw-translate-y:1rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0}@media (min-width: 640px){.s-modal-leaving{--tw-translate-y:0px;--tw-scale-x:.95;--tw-scale-y:.95;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}.s-modal-is-center{align-items:center}@media (min-width: 640px){.s-modal-is-center{text-align:center}.s-modal-xs{max-width:380px}.s-modal-sm{max-width:480px}}@media (min-width: 768px){.s-modal-md{max-width:768px}}.s-modal-lg{max-width:992px}.s-modal-xl{max-width:1280px}.s-modal-full{height:100%;width:100%}@media (min-width: 768px){.s-modal-full{height:calc(100% - 70px);width:calc(100% - 70px)}}@media (min-width: 640px){.s-modal-auto{width:fit-content !important;max-width:90vw}.s-modal-custom{max-width:min(var(--s-modal-custom-width), 90vw) !important;width:var(--s-modal-custom-width) !important}}.s-offer-modal-type-discounts-table .s-modal-body{position:relative !important}salla-modal.s-order-cancel-modal .s-modal-body{display:inline-flex;max-height:100svh;flex-direction:column;overflow:hidden;text-align:start}@media (min-width: 768px){salla-modal.s-order-cancel-modal .s-modal-body{max-height:92svh}}salla-modal.s-order-cancel-modal .s-modal-header{width:100%;flex-shrink:0;align-items:flex-start;text-align:start}salla-modal.s-order-cancel-modal .s-modal-header-inner{margin-bottom:1.25rem;display:block !important;width:100%;padding-inline-end:2.5rem;padding-inline-start:0px;text-align:start}@media (min-width: 768px){salla-modal.s-order-cancel-modal .s-modal-header-inner{padding:0px}}salla-modal.s-order-cancel-modal .s-modal-header-inner:where([dir=\"rtl\"],[dir=\"rtl\"] *){padding-inline-start:2.5rem;padding-inline-end:0px}salla-modal.s-order-cancel-modal .s-modal-header-content{width:100%;align-items:flex-start;text-align:start}salla-modal.s-order-cancel-modal .s-modal-title{margin-bottom:0px;width:100%;text-align:start;font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.s-product-size-guide-wrapper .s-modal-title{margin-bottom:0px !important}.s-rating-modal-wrap .s-modal-body{position:relative !important}.s-scopes-modal .s-modal-header{display:block !important}.s-search-modal .s-modal-wrapper{align-items:flex-start;padding:0}.s-search-modal .s-modal-spacer{display:inline}.s-search-modal .s-modal-body{padding:0;width:700px;max-width:90%;margin-top:3.2rem;border-radius:0.5rem;background:transparent;overflow:visible;position:relative !important}.s-search-modal .s-modal-close{top:50%;transform:translateY(-50%)}";
13
+ const sallaModalCss = "/*!twlt*/@media screen and (max-width: 470px){.modal-is-open{position:fixed;width:100%}}@media screen and (max-width: 639px){.s-modal-body{max-height:calc(100vh - 2rem) !important;overflow-y:auto !important;overflow-x:hidden !important}}.s-modal-back{position:absolute;top:0.35rem;inset-inline-start:0.35rem;z-index:1;margin:0 !important;line-height:0}.s-modal-back .s-button-element,.s-modal-back .s-button-icon{margin:0 !important}.visible{visibility:visible}.hidden{display:none}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.s-hidden{display:none}.s-booking-field-modal .s-modal-body{overflow:hidden;padding:1.25rem}.s-booking-field-modal .s-modal-title{display:flex;justify-content:flex-start}.s-bottom-alert-modal .s-modal-body{padding-top:1rem;padding-bottom:1rem}.s-bullet-delivery .s-bullet-delivery-modal .s-modal-body{padding:0px}@media (min-width: 768px){.s-bullet-delivery .s-bullet-delivery-modal .s-modal-body{max-height:70dvh;overflow-y:auto}}.s-bullet-delivery .s-bullet-delivery-modal .s-modal-body:has(.s-searchable-dropdown--open){overflow:visible !important}.s-comments-item-images-slider .s-modal-close{background-color:transparent}.s-delivery-promise-city-modal .s-modal-title{font-weight:700;color:var(--color-primary,#00897b)}.s-delivery-promise-city-modal .s-modal-sub-title{font-size:0.875rem;line-height:1.25rem;line-height:1.45;color:var(--color-text-secondary,#5c6c7c)}.s-delivery-promise-city-modal .s-modal-body{overflow:visible !important}.s-delivery-promise-city-modal .s-modal-body>salla-button{position:relative;z-index:0;margin-top:1rem}.s-gifting-modal .s-modal-header{display:block}.s-gifting-modal .s-modal-body{position:relative !important;left:unset !important;bottom:unset !important;padding-bottom:2rem}@media (min-width: 640px){.s-gifting-modal .s-modal-body{padding-bottom:1.5rem}}@media (max-width: 768px){.s-loyalty-modal .s-modal-body{max-height:100%;overflow-y:scroll}}.s-modal-container{position:fixed;inset:0px;z-index:200;overflow:hidden}.s-modal-wrapper{height:100%;overflow-y:auto;text-align:center}.s-modal-loader{margin-left:0.5rem;margin-right:0.5rem;display:flex;align-items:center;justify-content:center;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-modal-loader::before{display:inline-block;height:2.5rem;content:var(--tw-content);width:2.5rem}@keyframes spin{to{content:var(--tw-content);transform:rotate(360deg)}}.s-modal-loader::before{animation:spin 1s linear infinite;border-radius:9999px;border-width:2px;border-style:solid;border-top-color:var(--color-primary);border-left-color:var(--color-primary);border-bottom-color:rgb(243 244 246 / var(--tw-border-opacity, 1));--tw-border-opacity:1;border-right-color:rgb(243 244 246 / var(--tw-border-opacity, 1));--tw-content:'';content:var(--tw-content)}.s-modal-close{position:absolute;top:0.75rem;z-index:10;width:2.75rem;cursor:pointer;border-style:none;--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-left:0.5rem;padding-right:0.5rem;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-modal-close:focus{outline:2px solid transparent;outline-offset:2px}.s-modal-close:where([dir=\"ltr\"],[dir=\"ltr\"] *){right:0px}.s-modal-close:where([dir=\"rtl\"],[dir=\"rtl\"] *){left:0px}.s-modal-close svg{width:1.25rem;fill:#f87171}.s-modal-close svg:hover{fill:#ef4444}.s-modal-header{flex-direction:column}.s-modal-header-inner{margin-bottom:1.25rem;display:flex;align-items:center;padding-right:2rem;text-align:center}@media (min-width: 640px){.s-modal-header-inner{display:block}}@media (min-width: 768px){.s-modal-header-inner{padding:0px !important}}.s-modal-header-inner:where([dir=\"rtl\"],[dir=\"rtl\"] *){padding-left:2rem;padding-right:0px}.s-modal-header-content{display:flex;flex-direction:column;text-align:left}@media (min-width: 768px){.s-modal-header-content{text-align:center}}.s-modal-header-content:where([dir=\"rtl\"],[dir=\"rtl\"] *){text-align:right}@media (min-width: 768px){.s-modal-header-content:where([dir=\"rtl\"],[dir=\"rtl\"] *){text-align:center}}.s-modal-header-img{margin-left:auto;margin-right:auto;max-width:150px}@media (min-width: 640px){.s-modal-header-img{margin-bottom:1rem}}.s-modal-icon{display:inline-flex;height:4rem;width:4rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));font-size:1.875rem;line-height:2.25rem}@media (min-width: 640px){.s-modal-icon{margin-left:auto;margin-right:auto;margin-bottom:1rem;height:5rem;width:5rem}}.s-modal-icon:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-right:0.5rem}@media (min-width: 640px){.s-modal-icon:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-right:0px}}.s-modal-icon:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-left:0.5rem}@media (min-width: 640px){.s-modal-icon:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-left:0px}}.s-modal-icon svg{fill:#9ca3af}.s-modal-bg-normal{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.s-modal-bg-success{--tw-border-opacity:1;border-color:rgb(134 239 172 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.s-modal-bg-success svg{fill:#16a34a}.s-modal-bg-error{--tw-border-opacity:1;border-color:rgb(252 165 165 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.s-modal-bg-error svg{fill:#dc2626}.s-modal-bg-primary{border-color:var(--color-primary);background-color:var(--color-primary)}.s-modal-bg-primary svg{fill:var(--color-primary-reverse)}.s-modal-title{font-size:1.125rem;font-weight:700;line-height:1.5rem;--tw-text-opacity:1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}@media (min-width: 640px){.s-modal-title{margin-bottom:0.5rem}}.s-modal-sub-title{font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}@media (min-width: 640px){.s-modal-sub-title{margin-bottom:0.5rem}}.s-modal-title-below{order:10}.s-modal-body-slot{width:100%}.s-modal-body{position:fixed;left:0px;bottom:0px;display:inline-block;width:100%;--tw-translate-y:1rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));overflow:hidden;border-radius:var(--s-radius, 0.25rem);border-bottom-right-radius:0px;border-bottom-left-radius:0px;--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow:0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:200ms;transition-timing-function:cubic-bezier(0.4, 0, 1, 1)}@media (min-width: 640px){.s-modal-body{position:relative;margin-top:2rem;margin-bottom:2rem;--tw-translate-y:0px;--tw-scale-x:.95;--tw-scale-y:.95;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));overflow:visible;border-bottom-right-radius:var(--s-radius, 0.25rem);border-bottom-left-radius:var(--s-radius, 0.25rem)}}@media (min-width: 768px){.s-modal-body{left:unset;bottom:unset}}.s-modal-body:where([dir=\"ltr\"],[dir=\"ltr\"] *){text-align:left}.s-modal-body:where([dir=\"rtl\"],[dir=\"rtl\"] *){text-align:right}.s-modal-padding{padding:1rem;padding-top:1.5rem}@media (min-width: 640px){.s-modal-padding{padding:1.5rem}}.s-modal-spacer{display:inline-block;height:100vh}.s-modal-align-middle{vertical-align:bottom}@media (min-width: 640px){.s-modal-align-middle{vertical-align:middle}}.s-modal-align-top{vertical-align:bottom}@media (min-width: 640px){.s-modal-align-top{vertical-align:top}}.s-modal-align-bottom{vertical-align:bottom}.s-modal-overlay{position:fixed;inset:0px;background-color:rgb(107 114 128 / var(--tw-bg-opacity, 1));--tw-bg-opacity:0.75;transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:200ms;transition-timing-function:cubic-bezier(0.4, 0, 1, 1)}.s-modal-overlay-leaving{opacity:0}.s-modal-entering{--tw-translate-y:0px;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1;transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}@media (min-width: 640px){.s-modal-entering{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}.s-modal-leaving{--tw-translate-y:1rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0}@media (min-width: 640px){.s-modal-leaving{--tw-translate-y:0px;--tw-scale-x:.95;--tw-scale-y:.95;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}.s-modal-is-center{align-items:center}@media (min-width: 640px){.s-modal-is-center{text-align:center}.s-modal-xs{max-width:380px}.s-modal-sm{max-width:480px}}@media (min-width: 768px){.s-modal-md{max-width:768px}}.s-modal-lg{max-width:992px}.s-modal-xl{max-width:1280px}.s-modal-full{height:100%;width:100%}@media (min-width: 768px){.s-modal-full{height:calc(100% - 70px);width:calc(100% - 70px)}}@media (min-width: 640px){.s-modal-auto{width:fit-content !important;max-width:90vw}.s-modal-custom{max-width:min(var(--s-modal-custom-width), 90vw) !important;width:var(--s-modal-custom-width) !important}}.s-offer-modal-type-discounts-table .s-modal-body{position:relative !important}salla-modal.s-order-cancel-modal .s-modal-body{display:inline-flex;max-height:100svh;flex-direction:column;overflow:hidden;text-align:start}@media (min-width: 768px){salla-modal.s-order-cancel-modal .s-modal-body{max-height:92svh}}salla-modal.s-order-cancel-modal .s-modal-header{width:100%;flex-shrink:0;align-items:flex-start;text-align:start}salla-modal.s-order-cancel-modal .s-modal-header-inner{margin-bottom:1.25rem;display:block !important;width:100%;padding-inline-end:2.5rem;padding-inline-start:0px;text-align:start}@media (min-width: 768px){salla-modal.s-order-cancel-modal .s-modal-header-inner{padding:0px}}salla-modal.s-order-cancel-modal .s-modal-header-inner:where([dir=\"rtl\"],[dir=\"rtl\"] *){padding-inline-start:2.5rem;padding-inline-end:0px}salla-modal.s-order-cancel-modal .s-modal-header-content{width:100%;align-items:flex-start;text-align:start}salla-modal.s-order-cancel-modal .s-modal-title{margin-bottom:0px;width:100%;text-align:start;font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.s-product-size-guide-wrapper .s-modal-title{margin-bottom:0px !important}.s-rating-modal-wrap .s-modal-body{position:relative !important}.s-scopes-modal .s-modal-header{display:block !important}@media (min-width: 640px){.s-search-modal .s-modal-wrapper{align-items:flex-start;padding:0}.s-search-modal .s-modal-spacer{display:inline}}@media (max-width: 639px){.s-search-modal .s-modal-body{height:100dvh;max-height:100dvh !important}}@media (min-width: 640px){.s-search-modal .s-modal-body{padding:0;width:700px;max-width:90%;margin-top:3.2rem;border-radius:0.5rem;background:transparent;overflow:visible;position:relative !important}}.s-search-modal .s-modal-close{top:50%;transform:translateY(-50%)}@media (min-width: 640px){.s-search-modal.s-search-modal-new .s-modal-body{background:white;overflow:hidden;width:1100px;max-width:95%}}";
14
14
 
15
15
  const SallaModal = /*@__PURE__*/ proxyCustomElement(class SallaModal extends HTMLElement {
16
16
  constructor() {
@@ -70,6 +70,11 @@ const SallaModal = /*@__PURE__*/ proxyCustomElement(class SallaModal extends HTM
70
70
  * Show a back button in the header corner. Defaults to `false`
71
71
  */
72
72
  this.showBack = false;
73
+ /**
74
+ * Hide the close (X) button in the modal header, without affecting `isClosable`
75
+ * (backdrop click / programmatic close still work). Defaults to `false`
76
+ */
77
+ this.hideCloseButton = false;
73
78
  salla.event.on('modal::open', target => target == this.host.id && this.open());
74
79
  salla.event.on('modal::close', target => target == this.host.id && this.close());
75
80
  this.modalTitle = this.host.getAttribute('modal-title');
@@ -85,7 +90,7 @@ const SallaModal = /*@__PURE__*/ proxyCustomElement(class SallaModal extends HTM
85
90
  setTimeout(() => this.toggleModal(true)); //small amont of time to running toggle After adding hidden
86
91
  }
87
92
  handleKeyUp(ev) {
88
- if (ev.key === "KeyUp") {
93
+ if (ev.key === "Escape") {
89
94
  this.closeModal();
90
95
  }
91
96
  }
@@ -180,7 +185,7 @@ const SallaModal = /*@__PURE__*/ proxyCustomElement(class SallaModal extends HTM
180
185
  }
181
186
  return (h(Host, { class: 'salla-modal s-modal s-modal-container s-hidden', "aria-modal": "true", role: "dialog" }, h("div", { class: "s-modal-overlay", ref: el => this.overlay = el, onClick: () => this.closeModal("backdropClick") }), h("div", { class: "s-modal-wrapper" }, h("span", { class: 's-modal-spacer s-modal-align-' + this.position }, "\u200B"), h("div", { class: 's-modal-body ' + 's-modal-align-' + this.position + ' s-modal-' + this.getWidth() + (this.noPadding ? ' s-modal-nopadding' : ' s-modal-padding'), style: this.getCustomWidthStyle() }, h("div", { class: { 's-modal-header': true, 's-modal-is-center': this.centered } }, this.showBack ?
182
187
  h("salla-button", { class: "s-modal-back", shape: "icon", color: "light", size: "medium", "aria-label": "Back", onClick: () => this.handleBack() }, h("span", { innerHTML: this.getBackIcon() }))
183
- : '', this.isClosable ?
188
+ : '', this.isClosable && !this.hideCloseButton ?
184
189
  h("button", { class: "s-modal-close", onClick: () => this.closeModal("closeButtonClick"), type: "button" }, h("span", { innerHTML: Cancel }))
185
190
  : '', this.modalTitle || this.subTitle ?
186
191
  h("div", { class: "s-modal-header-inner" }, h("slot", { name: 'icon' }, !!this.iconStyle ?
@@ -211,6 +216,7 @@ const SallaModal = /*@__PURE__*/ proxyCustomElement(class SallaModal extends HTM
211
216
  "centered": [4],
212
217
  "iconStyle": [1, "icon-style"],
213
218
  "showBack": [516, "show-back"],
219
+ "hideCloseButton": [4, "hide-close-button"],
214
220
  "modalTitle": [32],
215
221
  "open": [64],
216
222
  "close": [64],