@salla.sa/twilight-components 2.14.557 → 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 (361) hide show
  1. package/dist/{esm/cart-DY4LZmNP.js → cjs/cart-DSvlJXCH.js} +4 -2
  2. package/dist/cjs/{filepond-B0WltAUU.js → filepond-LS8ytqmE.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-poster-CY6apY0i.js → filepond-plugin-file-poster-DexU9y97.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-size-D4ROC-Be.js → filepond-plugin-file-validate-size-BJJ_spY7.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-file-validate-type-6lBH-fIm.js → filepond-plugin-file-validate-type-BYz_biwv.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-edit-zEOX3Sjw.js → filepond-plugin-image-edit-C3R9xG9P.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-exif-orientation-y0OgGNND.js → filepond-plugin-image-exif-orientation-DC7e2K9l.js} +1 -1
  8. package/dist/cjs/{filepond-plugin-image-preview-C-amHd3H.js → filepond-plugin-image-preview-DLbo1P7r.js} +1 -1
  9. package/dist/cjs/{index-CyKUnNvM.js → index-BkcJlC9S.js} +10 -14
  10. package/dist/cjs/{intlTelInput-CTwMzcpE.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 +9 -4
  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-slider.cjs.entry.js → salla-map_3.cjs.entry.js} +829 -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 +1 -1
  76. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  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 +1 -1
  86. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  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 +1 -1
  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-B_r1mvJW.js → vanilla-picker-COagKVR0.js} +1 -1
  106. package/dist/collection/components/salla-modal/salla-modal.css +34 -16
  107. package/dist/collection/components/salla-modal/salla-modal.js +27 -2
  108. package/dist/collection/components/salla-product-card/salla-product-card.css +22 -2
  109. package/dist/collection/components/salla-product-card/salla-product-card.js +106 -11
  110. package/dist/collection/components/salla-search/interfaces.js +1 -0
  111. package/dist/collection/components/salla-search/salla-search.css +324 -14
  112. package/dist/collection/components/salla-search/salla-search.js +179 -32
  113. package/dist/collection/components/salla-search/utils.js +111 -0
  114. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  115. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  116. package/dist/collection/components/salla-social/salla-social.js +1 -1
  117. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  118. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  119. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  120. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  121. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  122. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  123. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  124. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
  125. package/dist/components/index.js +2 -2
  126. package/dist/components/salla-modal2.js +9 -3
  127. package/dist/components/salla-product-card2.js +50 -12
  128. package/dist/components/salla-search.js +392 -39
  129. package/dist/components/salla-searchable-dropdown2.js +4 -4
  130. package/dist/components/salla-skeleton2.js +1 -1
  131. package/dist/components/salla-social-share2.js +1 -1
  132. package/dist/components/salla-social.js +1 -1
  133. package/dist/components/salla-tab-content2.js +1 -1
  134. package/dist/components/salla-tab-header2.js +1 -1
  135. package/dist/components/salla-tabs2.js +1 -1
  136. package/dist/components/salla-tel-input2.js +1 -1
  137. package/dist/components/salla-tooltip2.js +1 -1
  138. package/dist/components/salla-user-settings.js +1 -1
  139. package/dist/components/salla-wishlist-actions.js +1 -1
  140. package/dist/{cjs/cart-s-x1Fshk.js → esm/cart-gFG8By9O.js} +2 -4
  141. package/dist/esm/{filepond-B9wUqRiS.js → filepond-D5Fnwsco.js} +1 -1
  142. package/dist/esm/{filepond-plugin-file-poster-Cms0jrkz.js → filepond-plugin-file-poster-BfePPO64.js} +1 -1
  143. package/dist/esm/{filepond-plugin-file-validate-size-B2gy-nn6.js → filepond-plugin-file-validate-size-CVpLCDVB.js} +1 -1
  144. package/dist/esm/{filepond-plugin-file-validate-type-D_AqfbaS.js → filepond-plugin-file-validate-type-BhzMnQfH.js} +1 -1
  145. package/dist/esm/{filepond-plugin-image-edit-ChS3tv_T.js → filepond-plugin-image-edit-Bvj3qwXE.js} +1 -1
  146. package/dist/esm/{filepond-plugin-image-exif-orientation-iLQFxzEc.js → filepond-plugin-image-exif-orientation-NlBBLgPL.js} +1 -1
  147. package/dist/esm/{filepond-plugin-image-preview-Dm1gYrYZ.js → filepond-plugin-image-preview-CA1k8ex-.js} +1 -1
  148. package/dist/esm/{index-BLzx0e6P.js → index-B6Lo-Jz2.js} +10 -14
  149. package/dist/esm/{intlTelInput-BTOzA2B4.js → intlTelInput-nu7FH85H.js} +1 -1
  150. package/dist/esm/loader.js +3 -3
  151. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  152. package/dist/esm/salla-accordion_6.entry.js +9 -4
  153. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  154. package/dist/esm/salla-advertisement.entry.js +1 -1
  155. package/dist/esm/salla-alert_2.entry.js +3 -3
  156. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  157. package/dist/esm/salla-applied-filters.entry.js +1 -1
  158. package/dist/esm/salla-apps-icons.entry.js +1 -1
  159. package/dist/esm/salla-attachment-view_9.entry.js +11 -11
  160. package/dist/esm/salla-badge.entry.js +1 -1
  161. package/dist/esm/salla-basket-gap.entry.js +1 -1
  162. package/dist/esm/salla-bullet-delivery_3.entry.js +5 -5
  163. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  164. package/dist/esm/salla-cart-item-offers_2.entry.js +3 -3
  165. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  166. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  167. package/dist/esm/salla-comment-factors.entry.js +1 -1
  168. package/dist/esm/salla-comment-form_9.entry.js +1 -1
  169. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  170. package/dist/esm/salla-contacts.entry.js +1 -1
  171. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  172. package/dist/esm/salla-count-down_2.entry.js +1 -1
  173. package/dist/esm/salla-custom-fields.entry.js +1 -1
  174. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  175. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  176. package/dist/esm/salla-filters-widget.entry.js +1 -1
  177. package/dist/esm/salla-filters.entry.js +1 -1
  178. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  179. package/dist/esm/salla-gifting.entry.js +1 -1
  180. package/dist/esm/salla-hook.entry.js +1 -1
  181. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  182. package/dist/esm/salla-installment.entry.js +1 -1
  183. package/dist/esm/salla-list-tile.entry.js +1 -1
  184. package/dist/esm/salla-localization-modal.entry.js +1 -1
  185. package/dist/esm/salla-login-modal.entry.js +1 -1
  186. package/dist/esm/salla-loyalty-banner_10.entry.js +1 -1
  187. package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
  188. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  189. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  190. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  191. package/dist/esm/salla-loyalty.entry.js +1 -1
  192. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  193. package/dist/esm/{salla-slider.entry.js → salla-map_3.entry.js} +828 -2
  194. package/dist/esm/salla-menu.entry.js +1 -1
  195. package/dist/esm/salla-metadata.entry.js +1 -1
  196. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  197. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  198. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  199. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  200. package/dist/esm/salla-notification-item_2.entry.js +1 -1
  201. package/dist/esm/salla-offer-modal.entry.js +1 -1
  202. package/dist/esm/salla-offer.entry.js +1 -1
  203. package/dist/esm/salla-order-branch.entry.js +1 -1
  204. package/dist/esm/salla-order-cancel.entry.js +1 -1
  205. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  206. package/dist/esm/salla-order-details-options.entry.js +1 -1
  207. package/dist/esm/salla-order-details.entry.js +1 -1
  208. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  209. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  210. package/dist/esm/salla-order-edit.entry.js +1 -1
  211. package/dist/esm/salla-order-shipments.entry.js +1 -1
  212. package/dist/esm/salla-order-summary.entry.js +1 -1
  213. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  214. package/dist/esm/salla-orders.entry.js +1 -1
  215. package/dist/esm/salla-payments.entry.js +1 -1
  216. package/dist/esm/salla-placeholder.entry.js +1 -1
  217. package/dist/esm/salla-price-range.entry.js +1 -1
  218. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  219. package/dist/esm/salla-product-card.entry.js +48 -13
  220. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  221. package/dist/esm/salla-products-list.entry.js +1 -1
  222. package/dist/esm/salla-products-slider.entry.js +1 -1
  223. package/dist/esm/salla-quick-order.entry.js +1 -1
  224. package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
  225. package/dist/esm/salla-rating-modal.entry.js +1 -1
  226. package/dist/esm/salla-review-factors-tags.entry.js +1 -1
  227. package/dist/esm/salla-review-order-item.entry.js +1 -1
  228. package/dist/esm/salla-scopes.entry.js +1 -1
  229. package/dist/esm/salla-search.entry.js +279 -33
  230. package/dist/esm/salla-skeleton.entry.js +2 -2
  231. package/dist/esm/salla-social-share.entry.js +2 -2
  232. package/dist/esm/salla-social.entry.js +2 -2
  233. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  234. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  235. package/dist/esm/salla-tooltip.entry.js +2 -2
  236. package/dist/esm/salla-trust-badges.entry.js +1 -1
  237. package/dist/esm/salla-user-menu.entry.js +3 -3
  238. package/dist/esm/salla-user-profile.entry.js +1 -1
  239. package/dist/esm/salla-user-settings.entry.js +2 -2
  240. package/dist/esm/salla-verify.entry.js +1 -1
  241. package/dist/esm/salla-wallet.entry.js +1 -1
  242. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  243. package/dist/esm/twilight.js +3 -3
  244. package/dist/esm/{vanilla-picker-CbIzx8P3.js → vanilla-picker-Dn7Q0By-.js} +1 -1
  245. package/dist/twilight/{p-d1ba8e6e.entry.js → p-00f3dc2a.entry.js} +1 -1
  246. package/dist/twilight/{p-7d86bc77.entry.js → p-051740db.entry.js} +1 -1
  247. package/dist/twilight/{p-595bfef8.entry.js → p-05f65278.entry.js} +1 -1
  248. package/dist/twilight/{p-c9d10c9f.entry.js → p-0e9845d3.entry.js} +1 -1
  249. package/dist/twilight/{p-46ba098a.entry.js → p-0ea66288.entry.js} +1 -1
  250. package/dist/twilight/{p-3b4b1f29.entry.js → p-0f9d25c2.entry.js} +1 -1
  251. package/dist/twilight/{p-6866b3d6.entry.js → p-100cb969.entry.js} +1 -1
  252. package/dist/twilight/{p-96a13e17.entry.js → p-11234d66.entry.js} +1 -1
  253. package/dist/twilight/{p-365745de.entry.js → p-1546f64d.entry.js} +1 -1
  254. package/dist/twilight/{p-c0fc7756.entry.js → p-191b4fa6.entry.js} +1 -1
  255. package/dist/twilight/{p-5cbd36fb.entry.js → p-19607f60.entry.js} +1 -1
  256. package/dist/twilight/p-1d1bbac7.entry.js +4 -0
  257. package/dist/twilight/{p-932e3bff.entry.js → p-1d220636.entry.js} +1 -1
  258. package/dist/twilight/{p-eb10186c.entry.js → p-1d9aa36c.entry.js} +1 -1
  259. package/dist/twilight/{p-53285f66.entry.js → p-257717f5.entry.js} +1 -1
  260. package/dist/twilight/{p-4cabeff6.entry.js → p-289574f0.entry.js} +1 -1
  261. package/dist/twilight/{p-f276a319.entry.js → p-28aeea5d.entry.js} +1 -1
  262. package/dist/twilight/{p-6ea62f2b.entry.js → p-29a9ff44.entry.js} +1 -1
  263. package/dist/twilight/{p-7767f3a7.entry.js → p-2cb160a8.entry.js} +1 -1
  264. package/dist/twilight/{p-0416a2a8.entry.js → p-2dc5f115.entry.js} +1 -1
  265. package/dist/twilight/{p-8d8c84d8.entry.js → p-2de7945d.entry.js} +1 -1
  266. package/dist/twilight/{p-9ef91e6b.entry.js → p-2ebe428c.entry.js} +1 -1
  267. package/dist/twilight/{p-2a5b180a.entry.js → p-31c017ae.entry.js} +1 -1
  268. package/dist/twilight/p-344e7a53.entry.js +4 -0
  269. package/dist/twilight/{p-59ccfd64.entry.js → p-3661b790.entry.js} +1 -1
  270. package/dist/twilight/{p-47597499.entry.js → p-3c312812.entry.js} +1 -1
  271. package/dist/twilight/{p-7ffa452c.entry.js → p-3f12a3a2.entry.js} +1 -1
  272. package/dist/twilight/{p-8e2f52b2.entry.js → p-400c631e.entry.js} +1 -1
  273. package/dist/twilight/{p-a4175383.entry.js → p-44f20e64.entry.js} +1 -1
  274. package/dist/twilight/{p-738ec366.entry.js → p-4604590c.entry.js} +1 -1
  275. package/dist/twilight/{p-07b67ef6.entry.js → p-4c422a3d.entry.js} +1 -1
  276. package/dist/twilight/{p-c428c44b.entry.js → p-4f645457.entry.js} +1 -1
  277. package/dist/twilight/{p-86cd2898.entry.js → p-529a60e2.entry.js} +1 -1
  278. package/dist/twilight/{p-cd86c231.entry.js → p-5a2150e8.entry.js} +1 -1
  279. package/dist/twilight/{p-de3b3e41.entry.js → p-5d6db148.entry.js} +1 -1
  280. package/dist/twilight/{p-fa459971.entry.js → p-5d6f9c3e.entry.js} +1 -1
  281. package/dist/twilight/{p-1bfb9675.entry.js → p-5dcf8a71.entry.js} +1 -1
  282. package/dist/twilight/{p-bba884dc.entry.js → p-5f4331f0.entry.js} +1 -1
  283. package/dist/twilight/{p-06c1c936.entry.js → p-5ffdb544.entry.js} +1 -1
  284. package/dist/twilight/{p-fa7966bd.entry.js → p-63b48fb1.entry.js} +1 -1
  285. package/dist/twilight/{p-eb9fca37.entry.js → p-647a1b63.entry.js} +1 -1
  286. package/dist/twilight/{p-cb7bc39f.entry.js → p-6840449d.entry.js} +1 -1
  287. package/dist/twilight/{p-5bb8c263.entry.js → p-747fdf8c.entry.js} +1 -1
  288. package/dist/twilight/{p-7f077279.entry.js → p-7512638e.entry.js} +1 -1
  289. package/dist/twilight/{p-f602c556.entry.js → p-75ba562a.entry.js} +1 -1
  290. package/dist/twilight/{p-3a97face.entry.js → p-7639c5a8.entry.js} +1 -1
  291. package/dist/twilight/{p-6d8b0678.entry.js → p-778f38ce.entry.js} +1 -1
  292. package/dist/twilight/{p-7c859f0c.entry.js → p-785ac87d.entry.js} +1 -1
  293. package/dist/twilight/{p-34f2d378.entry.js → p-78cba566.entry.js} +1 -1
  294. package/dist/twilight/{p-ed3fc3bb.entry.js → p-7a78cbcd.entry.js} +1 -1
  295. package/dist/twilight/{p-96ded4cf.entry.js → p-7b286e8d.entry.js} +1 -1
  296. package/dist/twilight/{p-ada5f9db.entry.js → p-8284d68b.entry.js} +1 -1
  297. package/dist/twilight/{p-6af36173.entry.js → p-86622485.entry.js} +1 -1
  298. package/dist/twilight/{p-67caf54b.entry.js → p-8ca39b58.entry.js} +1 -1
  299. package/dist/twilight/{p-a51931ba.entry.js → p-8e10a9a9.entry.js} +1 -1
  300. package/dist/twilight/{p-98e83214.entry.js → p-8ee698cc.entry.js} +1 -1
  301. package/dist/twilight/{p-a7801576.entry.js → p-8f11c556.entry.js} +1 -1
  302. package/dist/twilight/{p-18d0c69f.entry.js → p-91ab3a03.entry.js} +1 -1
  303. package/dist/twilight/{p-iB9dUe00.js → p-9L0Aq4PZ.js} +1 -1
  304. package/dist/twilight/{p-BLzx0e6P.js → p-B6Lo-Jz2.js} +1 -1
  305. package/dist/twilight/{p-BBCmWsAH.js → p-Ble2-eBI.js} +1 -1
  306. package/dist/twilight/{p-BTjFfROl.js → p-BopTxsQ2.js} +1 -1
  307. package/dist/twilight/{p-Bi7BjntU.js → p-CMHD60jb.js} +1 -1
  308. package/dist/twilight/{p-oVUukCva.js → p-CUuXQJdT.js} +1 -1
  309. package/dist/twilight/{p-BQGQ9tVS.js → p-CvrBhStg.js} +1 -1
  310. package/dist/twilight/{p-CBW4kczX.js → p-DexDAAf1.js} +1 -1
  311. package/dist/twilight/{p-C_G6bYCk.js → p-Dgq6RHqV.js} +1 -1
  312. package/dist/twilight/{p-BqaOIJsE.js → p-VJGJYEfb.js} +1 -1
  313. package/dist/twilight/{p-ee463cf9.entry.js → p-a1035984.entry.js} +1 -1
  314. package/dist/twilight/{p-61b6c754.entry.js → p-a50073b5.entry.js} +1 -1
  315. package/dist/twilight/{p-1420e962.entry.js → p-a82db499.entry.js} +1 -1
  316. package/dist/twilight/{p-c69e0669.entry.js → p-a8d3ae7e.entry.js} +1 -1
  317. package/dist/twilight/{p-bc0bc63f.entry.js → p-a8d90638.entry.js} +1 -1
  318. package/dist/twilight/{p-0c80fbcf.entry.js → p-abce7e02.entry.js} +1 -1
  319. package/dist/twilight/{p-7a19cb93.entry.js → p-ad12ab8c.entry.js} +1 -1
  320. package/dist/twilight/{p-fad4aa22.entry.js → p-adb31a76.entry.js} +1 -1
  321. package/dist/twilight/{p-9ddcdf20.entry.js → p-b5a68a1a.entry.js} +1 -1
  322. package/dist/twilight/{p-407a73f4.entry.js → p-b695db2e.entry.js} +1 -1
  323. package/dist/twilight/{p-f87ba34e.entry.js → p-ba941354.entry.js} +1 -1
  324. package/dist/twilight/{p-3ba22519.entry.js → p-bb94c4e4.entry.js} +1 -1
  325. package/dist/twilight/{p-33e0d7b8.entry.js → p-bbfaf5ac.entry.js} +1 -1
  326. package/dist/twilight/{p-809a0076.entry.js → p-be292e0b.entry.js} +1 -1
  327. package/dist/twilight/{p-b36ca739.entry.js → p-be34bd30.entry.js} +1 -1
  328. package/dist/twilight/{p-5f6c10d6.entry.js → p-bf2f2a36.entry.js} +1 -1
  329. package/dist/twilight/{p-2b7ca018.entry.js → p-bfa7a257.entry.js} +1 -1
  330. package/dist/twilight/{p-be424137.entry.js → p-c39c8112.entry.js} +1 -1
  331. package/dist/twilight/{p-99a757ac.entry.js → p-c56e1aa1.entry.js} +1 -1
  332. package/dist/twilight/{p-d84a11b8.entry.js → p-c8c09f5c.entry.js} +1 -1
  333. package/dist/twilight/{p-a0c97ac9.entry.js → p-c8c34286.entry.js} +1 -1
  334. package/dist/twilight/{p-5cc80969.entry.js → p-d41903f9.entry.js} +1 -1
  335. package/dist/twilight/{p-c4f963ea.entry.js → p-d55b86b5.entry.js} +1 -1
  336. package/dist/twilight/{p-3cc1a9b8.entry.js → p-d72e0350.entry.js} +1 -1
  337. package/dist/twilight/{p-2c0870cb.entry.js → p-d96bc0c1.entry.js} +1 -1
  338. package/dist/twilight/{p-81f8537a.entry.js → p-db9f8104.entry.js} +2 -2
  339. package/dist/twilight/{p-45706908.entry.js → p-dd734bcb.entry.js} +1 -1
  340. package/dist/twilight/p-df9d5f85.entry.js +4 -0
  341. package/dist/twilight/{p-05490b44.entry.js → p-e3a45456.entry.js} +1 -1
  342. package/dist/twilight/{p-2bd06384.entry.js → p-e5169250.entry.js} +1 -1
  343. package/dist/twilight/{p-a4b7ee47.entry.js → p-ea606acc.entry.js} +1 -1
  344. package/dist/twilight/{p-8b81811b.entry.js → p-effc8ceb.entry.js} +1 -1
  345. package/dist/twilight/{p-894fdcdd.entry.js → p-f2fb1121.entry.js} +1 -1
  346. package/dist/twilight/{p-210095ee.entry.js → p-fa7c358f.entry.js} +1 -1
  347. package/dist/twilight/{p-DY4LZmNP.js → p-gFG8By9O.js} +1 -1
  348. package/dist/twilight/twilight.esm.js +1 -1
  349. package/dist/types/components/salla-modal/salla-modal.d.ts +5 -0
  350. package/dist/types/components/salla-product-card/salla-product-card.d.ts +18 -0
  351. package/dist/types/components/salla-search/interfaces.d.ts +21 -0
  352. package/dist/types/components/salla-search/salla-search.d.ts +40 -2
  353. package/dist/types/components/salla-search/utils.d.ts +19 -0
  354. package/dist/types/components.d.ts +40 -0
  355. package/package.json +5 -5
  356. package/dist/cjs/salla-map_2.cjs.entry.js +0 -835
  357. package/dist/esm/salla-map_2.entry.js +0 -832
  358. package/dist/twilight/p-05b66ce1.entry.js +0 -4
  359. package/dist/twilight/p-56b2f8d7.entry.js +0 -4
  360. package/dist/twilight/p-8a7bb785.entry.js +0 -4
  361. package/dist/twilight/p-a8b41edc.entry.js +0 -4
@@ -1,23 +1,41 @@
1
1
  import { HTMLStencilElement } from '../../stencil-public-runtime';
2
2
  import SearchProductsResponse from './search-response';
3
+ import { SearchLabels, SearchTrendingCategory } from './interfaces';
3
4
  /**
4
5
  * @slot product - Replaces products card in the results, has replaceable props `{name}`, `{price}`, `{regular_price}`, `{image}`.
5
6
  */
6
7
  export declare class SallaSearch {
8
+ host: HTMLStencilElement | undefined;
7
9
  constructor();
8
10
  private readonly productSlot;
11
+ private readonly newSearchEnabled;
9
12
  private modal;
10
13
  private container;
11
14
  private searchInput;
12
15
  private noResults;
13
16
  private inputValue;
14
- host: HTMLStencilElement;
17
+ private hasTrackedFocus;
15
18
  translationLoaded: boolean;
19
+ labels: SearchLabels;
16
20
  results: SearchProductsResponse | undefined;
17
21
  loading: boolean;
18
22
  typing: boolean;
19
23
  debounce: ReturnType<typeof setTimeout>;
20
24
  search_term: string;
25
+ hasInputValue: boolean;
26
+ searchHistory: string[];
27
+ /**
28
+ * Most-searched categories to surface before the customer types a query.
29
+ * Not wired to a live endpoint yet - stays empty (and hidden) until a future
30
+ * story populates it.
31
+ */
32
+ trendingCategories: SearchTrendingCategory[];
33
+ /**
34
+ * Most-searched terms, reused both as the pre-search "most searched" list and
35
+ * as the results-view "search suggestions" sidebar. Same not-wired-yet status
36
+ * as trendingCategories.
37
+ */
38
+ mostSearchedTerms: string[];
21
39
  /**
22
40
  * Set the component to display as a placeholder (button) that will open the modal. Defaults to `false`
23
41
  */
@@ -45,7 +63,11 @@ export declare class SallaSearch {
45
63
  open(): Promise<void>;
46
64
  onModalClose(): void;
47
65
  handleKeyDown(ev: KeyboardEvent): void;
48
- private getDefaultProductSlot;
66
+ private clearSearch;
67
+ private tracking;
68
+ private removeFromSearchHistory;
69
+ private applySuggestedTerm;
70
+ componentWillLoad(): Promise<void>;
49
71
  private debounceSearch;
50
72
  private limitWordsAndSearch;
51
73
  private getQueryParam;
@@ -53,6 +75,22 @@ export declare class SallaSearch {
53
75
  handleSearch(val: string): void;
54
76
  search(val: any): void;
55
77
  private afterSearching;
78
+ private renderLegacyResults;
79
+ private renderCategoriesSection;
80
+ private renderTermsSection;
81
+ private renderSearchHistorySection;
82
+ private renderIdlePanel;
83
+ private renderResultsBody;
84
+ private renderViewAllLink;
85
+ private renderDropdown;
86
+ private renderInputWrapper;
87
+ private renderPlaceholderTrigger;
88
+ /**
89
+ * The new search UI is always a modal opened from a placeholder trigger (never inline,
90
+ * never a bare/self-triggering modal), with its own padded panel layout - the input and
91
+ * dropdown content share one bordered card instead of the legacy floating-dropdown look.
92
+ */
93
+ private renderNewSearchExperience;
56
94
  render(): any;
57
95
  /**
58
96
  * Run it one time after load
@@ -0,0 +1,19 @@
1
+ import { SearchLabels, SearchTrendingCategory } from './interfaces';
2
+ export declare const NEW_SEARCH_FEATURE_FLAG = "new-search-ui-enabled";
3
+ export declare const SEARCH_HISTORY_KEY = "salla::search-history";
4
+ export declare const SEARCH_HISTORY_LIMIT = 10;
5
+ export declare function getSearchHistoryKey(): string;
6
+ export declare const DEFAULT_LABELS: SearchLabels;
7
+ export declare const TRANSLATION_DEFAULTS: Record<string, {
8
+ ar: string;
9
+ en: string;
10
+ }>;
11
+ export declare function isNewSearchFeatureEnabled(): boolean;
12
+ export declare function getSearchResultsUrl(term: string): string;
13
+ export declare function loadSearchHistory(): string[];
14
+ export declare function saveSearchHistory(history: string[]): void;
15
+ export declare function addToSearchHistory(history: string[], term: string): string[];
16
+ export declare function hasIdlePanelContent(searchHistory: string[], trendingCategories: SearchTrendingCategory[], mostSearchedTerms: string[]): boolean;
17
+ export declare function registerTranslationDefaults(): void;
18
+ export declare function loadLabels(): SearchLabels;
19
+ export declare function getDefaultProductSlot(): string;
@@ -1894,6 +1894,11 @@ export namespace Components {
1894
1894
  * @default false
1895
1895
  */
1896
1896
  "hasSkeleton": boolean;
1897
+ /**
1898
+ * Hide the close (X) button in the modal header, without affecting `isClosable` (backdrop click / programmatic close still work). Defaults to `false`
1899
+ * @default false
1900
+ */
1901
+ "hideCloseButton": boolean;
1897
1902
  /**
1898
1903
  * Set the style of the header icon.
1899
1904
  * @default undefined
@@ -2322,6 +2327,16 @@ export namespace Components {
2322
2327
  * Compact list layout for drawers and lists.
2323
2328
  */
2324
2329
  "compact": boolean;
2330
+ /**
2331
+ * Show only the cart icon instead of the text label on the add-to-cart button. Defaults to `false`.
2332
+ * @default false
2333
+ */
2334
+ "compactAddToCart": boolean;
2335
+ /**
2336
+ * Force-show the wishlist button even in layouts (e.g. horizontal + compact) that otherwise wouldn't render one. Defaults to `false`.
2337
+ * @default false
2338
+ */
2339
+ "forceShowWishlistButton": boolean;
2325
2340
  /**
2326
2341
  * Full image card.
2327
2342
  */
@@ -2350,6 +2365,11 @@ export namespace Components {
2350
2365
  * Support shadow on hover.
2351
2366
  */
2352
2367
  "shadowOnHover": boolean;
2368
+ /**
2369
+ * Show the out-of-stock label beside the price instead of as the image badge rendered by `getProductBadge()`. Defaults to `false`.
2370
+ * @default false
2371
+ */
2372
+ "showOutOfStockBesidePrice": boolean;
2353
2373
  /**
2354
2374
  * Show quantity.
2355
2375
  */
@@ -7119,6 +7139,11 @@ declare namespace LocalJSX {
7119
7139
  * @default false
7120
7140
  */
7121
7141
  "hasSkeleton"?: boolean;
7142
+ /**
7143
+ * Hide the close (X) button in the modal header, without affecting `isClosable` (backdrop click / programmatic close still work). Defaults to `false`
7144
+ * @default false
7145
+ */
7146
+ "hideCloseButton"?: boolean;
7122
7147
  /**
7123
7148
  * Set the style of the header icon.
7124
7149
  * @default undefined
@@ -7557,6 +7582,16 @@ declare namespace LocalJSX {
7557
7582
  * Compact list layout for drawers and lists.
7558
7583
  */
7559
7584
  "compact"?: boolean;
7585
+ /**
7586
+ * Show only the cart icon instead of the text label on the add-to-cart button. Defaults to `false`.
7587
+ * @default false
7588
+ */
7589
+ "compactAddToCart"?: boolean;
7590
+ /**
7591
+ * Force-show the wishlist button even in layouts (e.g. horizontal + compact) that otherwise wouldn't render one. Defaults to `false`.
7592
+ * @default false
7593
+ */
7594
+ "forceShowWishlistButton"?: boolean;
7560
7595
  /**
7561
7596
  * Full image card.
7562
7597
  */
@@ -7585,6 +7620,11 @@ declare namespace LocalJSX {
7585
7620
  * Support shadow on hover.
7586
7621
  */
7587
7622
  "shadowOnHover"?: boolean;
7623
+ /**
7624
+ * Show the out-of-stock label beside the price instead of as the image badge rendered by `getProductBadge()`. Defaults to `false`.
7625
+ * @default false
7626
+ */
7627
+ "showOutOfStockBesidePrice"?: boolean;
7588
7628
  /**
7589
7629
  * Show quantity.
7590
7630
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salla.sa/twilight-components",
3
- "version": "2.14.557",
3
+ "version": "2.14.558",
4
4
  "license": "GPL-3.0",
5
5
  "author": "Salla Team <support@salla.dev> (https://salla.dev)",
6
6
  "bugs": {
@@ -82,9 +82,9 @@
82
82
  },
83
83
  "dependencies": {
84
84
  "@googlemaps/markerclusterer": "2.6.2",
85
- "@salla.sa/applepay": "2.14.557",
86
- "@salla.sa/twilight": "2.14.557",
87
- "@salla.sa/twilight-tailwind-theme": "2.14.557",
85
+ "@salla.sa/applepay": "2.14.558",
86
+ "@salla.sa/twilight": "2.14.558",
87
+ "@salla.sa/twilight-tailwind-theme": "2.14.558",
88
88
  "@salla.sa/ui-address-autocomplete-widget": "1.2.1",
89
89
  "@salla.sa/ui-google-map-render": "1.2.1",
90
90
  "@types/node": "^20.4.8",
@@ -105,5 +105,5 @@
105
105
  "vanilla-lazyload": "^17.8.5",
106
106
  "vanilla-picker": "^2.12.2"
107
107
  },
108
- "gitHead": "58d1d221cd35bc95ea0e776a3d66d692e7e86809"
108
+ "gitHead": "97ae8092c90920fea449b3561f9bda2276af04bd"
109
109
  }