@salla.sa/twilight-components 2.14.466 → 2.14.468
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.
- package/dist/cjs/{filepond-ChLzVjJY.js → filepond-C1SAyrFq.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-CsFmGjnc.js → filepond-plugin-file-poster-DAhQ7rGa.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-CHsUG4Ey.js → filepond-plugin-file-validate-size-qfwxpApK.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-BcOZG5x6.js → filepond-plugin-file-validate-type-BbYanfPf.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-Cq0bUS7X.js → filepond-plugin-image-edit-lWdFhMNt.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-D6e7ezt-.js → filepond-plugin-image-exif-orientation-C2wUYBSb.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-B0fvWDqM.js → filepond-plugin-image-preview-B1ukjrjT.js} +1 -1
- package/dist/cjs/{functions-DQkYfvtq.js → functions-DCSgyun2.js} +1 -1
- package/dist/cjs/{index-DTSWXcbN.js → index-CXr_39D8.js} +9 -5
- package/dist/cjs/{index-MaPhQdOr.js → index-D3oJJZKW.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{mail-Bgvt2hc9.js → mail-C9D8MHae.js} +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +29 -84
- package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
- package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-booking-field_7.cjs.entry.js +11 -11
- package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +91 -7
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-contacts.cjs.entry.js +3 -3
- package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
- package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
- package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
- package/dist/cjs/salla-filters.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +63 -28
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
- package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-login-modal.cjs.entry.js +32 -2
- package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +4 -4
- package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
- package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
- package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map.cjs.entry.js +1 -1
- package/dist/cjs/salla-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
- package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-orders.cjs.entry.js +1 -1
- package/dist/cjs/salla-payments.cjs.entry.js +1 -1
- package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
- package/dist/cjs/salla-products-list.cjs.entry.js +259 -64
- package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/salla-quick-order.cjs.entry.js +3 -3
- package/dist/cjs/salla-rating-modal.cjs.entry.js +3 -3
- package/dist/cjs/salla-reward-action_4.cjs.entry.js +3 -3
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +1 -1
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-slider.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +252 -32
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
- package/dist/cjs/salla-verify.cjs.entry.js +3 -3
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +329 -0
- package/dist/cjs/{tracked-promise-ePwPYqjc.js → tracked-promise-BsYRgTGD.js} +1 -1
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-l24zONcP.js → vanilla-picker-DkdzTjSC.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +90 -6
- package/dist/collection/components/salla-gifting/salla-gifting.js +69 -29
- package/dist/collection/components/salla-login-modal/salla-login-modal.js +31 -1
- package/dist/collection/components/salla-product-options/salla-product-options.css +0 -3
- package/dist/collection/components/salla-product-options/salla-product-options.js +28 -84
- package/dist/collection/components/salla-products-list/salla-products-list.css +76 -0
- package/dist/collection/components/salla-products-list/salla-products-list.js +387 -65
- package/dist/collection/components/salla-social-share/salla-social-share.css +161 -0
- package/dist/collection/components/salla-social-share/salla-social-share.js +316 -50
- package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
- package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
- package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
- package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
- package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
- package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.css +65 -0
- package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +432 -0
- package/dist/components/index.js +5 -5
- package/dist/components/salla-bullet-delivery.js +90 -6
- package/dist/components/salla-gifting.js +63 -27
- package/dist/components/salla-login-modal2.js +31 -1
- package/dist/components/salla-product-options2.js +28 -84
- package/dist/components/salla-products-list2.js +266 -64
- package/dist/components/salla-social-share.js +1 -189
- package/dist/components/salla-social-share2.js +420 -0
- package/dist/components/salla-tab-content2.js +1 -1
- package/dist/components/salla-tab-header2.js +1 -1
- package/dist/components/salla-tabs2.js +1 -1
- package/dist/components/salla-tel-input2.js +1 -1
- package/dist/components/salla-tooltip2.js +1 -1
- package/dist/components/salla-user-settings.js +1 -1
- package/dist/components/salla-wishlist-actions.d.ts +11 -0
- package/dist/components/salla-wishlist-actions.js +375 -0
- package/dist/esm/{filepond-C8Bwo-02.js → filepond-C4pZr9nR.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-Bx3Pf2Jt.js → filepond-plugin-file-poster-CXpAGxT4.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-B855u7Nl.js → filepond-plugin-file-validate-size-Dk4M6ge1.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-Bi5ftj6I.js → filepond-plugin-file-validate-type-DD7qvRsg.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-BDsvflVi.js → filepond-plugin-image-edit-DMllAEkg.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation-CIBvl9lW.js → filepond-plugin-image-exif-orientation-BRCbcu_E.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-iKOdvH4g.js → filepond-plugin-image-preview-DgeylrwN.js} +1 -1
- package/dist/esm/{functions-Bc7BItqP.js → functions-DrS7by6t.js} +1 -1
- package/dist/esm/{index-TDIoPT-F.js → index-9SnsJoYO.js} +1 -1
- package/dist/esm/{index-B4SEH_Fg.js → index-D2yBy7Jh.js} +9 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{mail-DLNIOD9t.js → mail-DzAIgzdz.js} +2 -2
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +1 -1
- package/dist/esm/salla-add-product-button_5.entry.js +29 -84
- package/dist/esm/salla-advertisement.entry.js +1 -1
- package/dist/esm/salla-alert_2.entry.js +1 -1
- package/dist/esm/salla-app-install-alert.entry.js +1 -1
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-booking-field_7.entry.js +11 -11
- package/dist/esm/salla-bullet-delivery_2.entry.js +91 -7
- package/dist/esm/salla-cart-coupons.entry.js +1 -1
- package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-form_8.entry.js +1 -1
- package/dist/esm/salla-conditional-offer.entry.js +1 -1
- package/dist/esm/salla-contacts.entry.js +3 -3
- package/dist/esm/salla-cookies-bar.entry.js +1 -1
- package/dist/esm/salla-count-down.entry.js +1 -1
- package/dist/esm/salla-custom-fields.entry.js +1 -1
- package/dist/esm/salla-delivery-promise.entry.js +1 -1
- package/dist/esm/salla-edit-order-button.entry.js +1 -1
- package/dist/esm/salla-filters-widget.entry.js +1 -1
- package/dist/esm/salla-filters.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +63 -28
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-list-tile.entry.js +1 -1
- package/dist/esm/salla-localization-modal.entry.js +1 -1
- package/dist/esm/salla-login-modal.entry.js +32 -2
- package/dist/esm/salla-loyalty-banner.entry.js +2 -2
- package/dist/esm/salla-loyalty-hero_2.entry.js +4 -4
- package/dist/esm/salla-loyalty-panel.entry.js +3 -3
- package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
- package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
- package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
- package/dist/esm/salla-loyalty-program.entry.js +3 -3
- package/dist/esm/salla-loyalty-reward.entry.js +2 -2
- package/dist/esm/salla-loyalty.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map.entry.js +1 -1
- package/dist/esm/salla-menu.entry.js +1 -1
- package/dist/esm/salla-metadata.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
- package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-next-order-coupon.entry.js +1 -1
- package/dist/esm/salla-notification-item.entry.js +1 -1
- package/dist/esm/salla-notifications.entry.js +1 -1
- package/dist/esm/salla-offer-modal.entry.js +1 -1
- package/dist/esm/salla-offer.entry.js +1 -1
- package/dist/esm/salla-order-branch.entry.js +1 -1
- package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
- package/dist/esm/salla-order-details-options.entry.js +1 -1
- package/dist/esm/salla-order-details.entry.js +1 -1
- package/dist/esm/salla-order-edit-item.entry.js +1 -1
- package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
- package/dist/esm/salla-order-edit.entry.js +1 -1
- package/dist/esm/salla-order-summary.entry.js +1 -1
- package/dist/esm/salla-order-totals-card.entry.js +1 -1
- package/dist/esm/salla-orders.entry.js +1 -1
- package/dist/esm/salla-payments.entry.js +1 -1
- package/dist/esm/salla-placeholder.entry.js +1 -1
- package/dist/esm/salla-price-range.entry.js +1 -1
- package/dist/esm/salla-product-card-embed.entry.js +1 -1
- package/dist/esm/salla-product-card_2.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +259 -64
- package/dist/esm/salla-progress-bar.entry.js +1 -1
- package/dist/esm/salla-quick-order.entry.js +3 -3
- package/dist/esm/salla-rating-modal.entry.js +3 -3
- package/dist/esm/salla-reward-action_4.entry.js +3 -3
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +1 -1
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-slider.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +252 -32
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +4 -4
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- package/dist/esm/salla-tooltip.entry.js +2 -2
- package/dist/esm/salla-trust-badges.entry.js +1 -1
- package/dist/esm/salla-user-menu.entry.js +1 -1
- package/dist/esm/salla-user-profile.entry.js +1 -1
- package/dist/esm/salla-user-settings.entry.js +2 -2
- package/dist/esm/salla-verify.entry.js +3 -3
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +327 -0
- package/dist/esm/{tracked-promise-DJMfgq3q.js → tracked-promise-CTcAqNfZ.js} +1 -1
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-BZ3Kpnm6.js → vanilla-picker-DfeK45Yv.js} +1 -1
- package/dist/twilight/{p-7a144cce.entry.js → p-07af3286.entry.js} +1 -1
- package/dist/twilight/{p-08fa3250.entry.js → p-08337b2b.entry.js} +1 -1
- package/dist/twilight/{p-c4a2f0c4.entry.js → p-08771dff.entry.js} +1 -1
- package/dist/twilight/{p-63b6ff19.entry.js → p-0e1bab4f.entry.js} +1 -1
- package/dist/twilight/{p-a94c8805.entry.js → p-0eadca17.entry.js} +1 -1
- package/dist/twilight/{p-92ecbfb3.entry.js → p-12ccc1ab.entry.js} +1 -1
- package/dist/twilight/{p-d1be0cf0.entry.js → p-1574176e.entry.js} +1 -1
- package/dist/twilight/{p-b1c9125f.entry.js → p-17015f9c.entry.js} +1 -1
- package/dist/twilight/{p-f4326883.entry.js → p-1920b702.entry.js} +1 -1
- package/dist/twilight/{p-65cc4abf.entry.js → p-1a1cebfa.entry.js} +1 -1
- package/dist/twilight/{p-b22966df.entry.js → p-1a844fda.entry.js} +1 -1
- package/dist/twilight/{p-1beccaa5.entry.js → p-1b7ebf47.entry.js} +1 -1
- package/dist/twilight/{p-999abe04.entry.js → p-223d7ceb.entry.js} +1 -1
- package/dist/twilight/{p-b99ecd2c.entry.js → p-255f5d2a.entry.js} +1 -1
- package/dist/twilight/{p-077c5ae5.entry.js → p-266f57de.entry.js} +1 -1
- package/dist/twilight/p-28bdf8ec.entry.js +4 -0
- package/dist/twilight/{p-089507be.entry.js → p-2c7086ec.entry.js} +1 -1
- package/dist/twilight/{p-fe6a634f.entry.js → p-2c7f524a.entry.js} +1 -1
- package/dist/twilight/{p-ac91aa4f.entry.js → p-30ea9a82.entry.js} +1 -1
- package/dist/twilight/{p-0beaf6f8.entry.js → p-313d38cd.entry.js} +1 -1
- package/dist/twilight/{p-70658c1a.entry.js → p-315ce27b.entry.js} +1 -1
- package/dist/twilight/p-378d45e2.entry.js +4 -0
- package/dist/twilight/{p-96489529.entry.js → p-3c2fe8cd.entry.js} +1 -1
- package/dist/twilight/{p-3b416cdd.entry.js → p-3d1e7982.entry.js} +1 -1
- package/dist/twilight/{p-7e0bfa67.entry.js → p-3d7c0ac6.entry.js} +1 -1
- package/dist/twilight/{p-3e9fb046.entry.js → p-3d8d289e.entry.js} +1 -1
- package/dist/twilight/{p-c5b5162c.entry.js → p-4144c908.entry.js} +1 -1
- package/dist/twilight/{p-f4a5521e.entry.js → p-453a7bb2.entry.js} +1 -1
- package/dist/twilight/{p-7a238d37.entry.js → p-4c457ba5.entry.js} +1 -1
- package/dist/twilight/{p-d33fe4fe.entry.js → p-4d3bcacd.entry.js} +1 -1
- package/dist/twilight/{p-53c1a65f.entry.js → p-4dedb514.entry.js} +1 -1
- package/dist/twilight/{p-eebe55bd.entry.js → p-50dfec0a.entry.js} +1 -1
- package/dist/twilight/{p-72627a5b.entry.js → p-53f83426.entry.js} +1 -1
- package/dist/twilight/{p-20bed966.entry.js → p-54e9ac89.entry.js} +1 -1
- package/dist/twilight/{p-20b24e22.entry.js → p-571b8e00.entry.js} +1 -1
- package/dist/twilight/{p-7e0f8832.entry.js → p-5a5057a8.entry.js} +1 -1
- package/dist/twilight/{p-5817d5db.entry.js → p-5a9b94f8.entry.js} +1 -1
- package/dist/twilight/{p-ac2979bf.entry.js → p-5c1c520a.entry.js} +1 -1
- package/dist/twilight/{p-649cca57.entry.js → p-5d06fe77.entry.js} +1 -1
- package/dist/twilight/{p-eb7e08dd.entry.js → p-5e433652.entry.js} +1 -1
- package/dist/twilight/{p-c605f897.entry.js → p-6046666d.entry.js} +1 -1
- package/dist/twilight/{p-ace778dd.entry.js → p-67e23040.entry.js} +1 -1
- package/dist/twilight/{p-0c721c37.entry.js → p-6c777951.entry.js} +1 -1
- package/dist/twilight/{p-aaf77847.entry.js → p-749dbf27.entry.js} +1 -1
- package/dist/twilight/p-7bd464f3.entry.js +4 -0
- package/dist/twilight/{p-88a26183.entry.js → p-7ffc1711.entry.js} +1 -1
- package/dist/twilight/{p-173638ad.entry.js → p-83b6c374.entry.js} +1 -1
- package/dist/twilight/{p-83f3fe92.entry.js → p-8b5d26d3.entry.js} +1 -1
- package/dist/twilight/{p-46efd843.entry.js → p-9a0514dd.entry.js} +1 -1
- package/dist/twilight/{p-a8a43d8f.entry.js → p-9ba953ab.entry.js} +1 -1
- package/dist/twilight/{p-BhwNzoAX.js → p-BGpAIcg-.js} +1 -1
- package/dist/twilight/{p-DqcHIrMk.js → p-BHkz1ssL.js} +1 -1
- package/dist/twilight/{p-DCiLQw-U.js → p-BZhp8a87.js} +1 -1
- package/dist/twilight/{p-1GhsZ-y0.js → p-Bo1nXenO.js} +1 -1
- package/dist/twilight/{p-B8tpOftS.js → p-BojnM4VS.js} +1 -1
- package/dist/twilight/{p-CzKuXgcx.js → p-CBU9I-zy.js} +1 -1
- package/dist/twilight/{p-BPrbqbi4.js → p-CGd7EQZr.js} +1 -1
- package/dist/twilight/p-D01LipFK.js +9 -0
- package/dist/twilight/{p-B4SEH_Fg.js → p-D2yBy7Jh.js} +2 -2
- package/dist/twilight/{p-Bol9M57m.js → p-DSgSJMud.js} +2 -2
- package/dist/twilight/{p-DLNIOD9t.js → p-DzAIgzdz.js} +1 -1
- package/dist/twilight/{p-26ff2da1.entry.js → p-a0d88c4d.entry.js} +1 -1
- package/dist/twilight/{p-7f8b4a78.entry.js → p-a2b53a52.entry.js} +1 -1
- package/dist/twilight/{p-c360bc76.entry.js → p-a3e1fafc.entry.js} +1 -1
- package/dist/twilight/{p-204b9c34.entry.js → p-a463d567.entry.js} +1 -1
- package/dist/twilight/{p-39e531f4.entry.js → p-a6a9e398.entry.js} +1 -1
- package/dist/twilight/{p-5a8e7bb9.entry.js → p-a79f60e6.entry.js} +1 -1
- package/dist/twilight/{p-36528e88.entry.js → p-aadfd70e.entry.js} +1 -1
- package/dist/twilight/{p-7dc4a6ce.entry.js → p-ad0a27e2.entry.js} +1 -1
- package/dist/twilight/{p-2a1c12f9.entry.js → p-ae8bd2e7.entry.js} +1 -1
- package/dist/twilight/{p-50b92803.entry.js → p-af121bbf.entry.js} +1 -1
- package/dist/twilight/p-b0f28806.entry.js +4 -0
- package/dist/twilight/{p-7c46d055.entry.js → p-b3f6b725.entry.js} +1 -1
- package/dist/twilight/{p-e0e8b5ee.entry.js → p-b7e720e8.entry.js} +1 -1
- package/dist/twilight/{p-19748525.entry.js → p-b80016c8.entry.js} +1 -1
- package/dist/twilight/{p-19afb593.entry.js → p-c0f40eea.entry.js} +1 -1
- package/dist/twilight/p-c4bc10c1.entry.js +4 -0
- package/dist/twilight/{p-6bf44c4f.entry.js → p-c637b6bb.entry.js} +1 -1
- package/dist/twilight/{p-afb4ffe9.entry.js → p-c6e18746.entry.js} +1 -1
- package/dist/twilight/{p-a0433089.entry.js → p-cb855cb3.entry.js} +1 -1
- package/dist/twilight/{p-88c110ae.entry.js → p-cbc44b3e.entry.js} +1 -1
- package/dist/twilight/{p-d98c3e96.entry.js → p-cbf547f0.entry.js} +1 -1
- package/dist/twilight/{p-78cc1984.entry.js → p-cebad615.entry.js} +1 -1
- package/dist/twilight/{p-0abda719.entry.js → p-cfd910a8.entry.js} +1 -1
- package/dist/twilight/{p-a366dff0.entry.js → p-d0a8b9be.entry.js} +1 -1
- package/dist/twilight/{p-921b23fc.entry.js → p-d0cae7da.entry.js} +1 -1
- package/dist/twilight/{p-47df8f81.entry.js → p-d861eea6.entry.js} +1 -1
- package/dist/twilight/p-daa9c0b3.entry.js +4 -0
- package/dist/twilight/{p-7310af57.entry.js → p-db43fa93.entry.js} +1 -1
- package/dist/twilight/{p-83beb2f7.entry.js → p-e06a7e19.entry.js} +1 -1
- package/dist/twilight/{p-6fb05a50.entry.js → p-e34f68e0.entry.js} +1 -1
- package/dist/twilight/{p-5647ab30.entry.js → p-e4cac2a9.entry.js} +1 -1
- package/dist/twilight/{p-9f817867.entry.js → p-e5de1833.entry.js} +1 -1
- package/dist/twilight/{p-61bbcb2e.entry.js → p-e80ee5b0.entry.js} +2 -2
- package/dist/twilight/{p-42523f08.entry.js → p-e8ffc069.entry.js} +1 -1
- package/dist/twilight/{p-1027f1df.entry.js → p-ee8c7a5a.entry.js} +1 -1
- package/dist/twilight/{p-6667d7e9.entry.js → p-f0dedf42.entry.js} +1 -1
- package/dist/twilight/{p-fc2c74e3.entry.js → p-f3a01895.entry.js} +1 -1
- package/dist/twilight/{p-e0bafef7.entry.js → p-fb56a444.entry.js} +1 -1
- package/dist/twilight/{p-02dac67d.entry.js → p-fe1bced4.entry.js} +1 -1
- package/dist/twilight/{p-Cip0ZIcP.js → p-paiaALkJ.js} +1 -1
- package/dist/twilight/{p-BNurXH-d.js → p-xz8gqXL9.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +16 -0
- package/dist/types/components/salla-gifting/gift-schema.d.ts +4 -0
- package/dist/types/components/salla-gifting/salla-gifting.d.ts +4 -1
- package/dist/types/components/salla-login-modal/salla-login-modal.d.ts +2 -0
- package/dist/types/components/salla-product-options/salla-product-options.d.ts +0 -11
- package/dist/types/components/salla-products-list/salla-products-list.d.ts +60 -6
- package/dist/types/components/salla-social-share/salla-social-share.d.ts +39 -2
- package/dist/types/components/salla-wishlist-actions/salla-wishlist-actions.d.ts +93 -0
- package/dist/types/components.d.ts +172 -18
- package/package.json +5 -5
- package/dist/twilight/p-6020ddec.entry.js +0 -4
- package/dist/twilight/p-645254eb.entry.js +0 -4
- package/dist/twilight/p-99a57ad1.entry.js +0 -4
- package/dist/twilight/p-BnjD0Cne.js +0 -9
- package/dist/twilight/p-b3456579.entry.js +0 -4
- package/dist/twilight/p-d19c0be3.entry.js +0 -4
|
@@ -27,7 +27,6 @@ export class SallaProductOptions {
|
|
|
27
27
|
this.availableDigitalCardValues = [];
|
|
28
28
|
this.userInitiatedValidation = false;
|
|
29
29
|
this.isCartMode = false;
|
|
30
|
-
this.availabilityMap = {};
|
|
31
30
|
this.outSkus = [];
|
|
32
31
|
/**
|
|
33
32
|
* Avoid selection of previous default or selected card value option
|
|
@@ -118,14 +117,12 @@ export class SallaProductOptions {
|
|
|
118
117
|
*/
|
|
119
118
|
async setOptionsData(optionsData) {
|
|
120
119
|
this.optionsData = optionsData;
|
|
121
|
-
|
|
122
|
-
this.optionsData[0]?.details?.forEach(detail
|
|
120
|
+
const that = this;
|
|
121
|
+
this.optionsData[0]?.details?.forEach(function (detail) {
|
|
123
122
|
Object.entries(detail.skus_availability || {})
|
|
124
|
-
.filter(
|
|
125
|
-
.
|
|
123
|
+
.filter(sku => !sku[1])
|
|
124
|
+
.map(sku => that.outSkus.push(Number(sku[0])));
|
|
126
125
|
});
|
|
127
|
-
this.fillSelectedOptions();
|
|
128
|
-
this.computeAvailability();
|
|
129
126
|
}
|
|
130
127
|
/**
|
|
131
128
|
* Get the current options state, including selected values/details.
|
|
@@ -311,9 +308,8 @@ export class SallaProductOptions {
|
|
|
311
308
|
*/
|
|
312
309
|
setSelectedSkus() {
|
|
313
310
|
this.selectedSkus = this.selectedOptions.map(detail => Object.keys(detail.skus_availability || {}))
|
|
314
|
-
.reduce((p, c) => p.filter(e => c.includes(e)), [])
|
|
311
|
+
.reduce((p, c) => p.filter(e => c.includes(e)), []) // Initialize accumulator as an empty array
|
|
315
312
|
.map(sku => Number(sku));
|
|
316
|
-
this.computeAvailability();
|
|
317
313
|
}
|
|
318
314
|
handleRequiredMultipleOptions(option) {
|
|
319
315
|
if (option.type !== DisplayType.MULTIPLE_OPTIONS || !option.required) {
|
|
@@ -642,7 +638,6 @@ export class SallaProductOptions {
|
|
|
642
638
|
this.disableCardValue = false;
|
|
643
639
|
this.canDisabled = true;
|
|
644
640
|
this.fillSelectedOptions();
|
|
645
|
-
this.computeAvailability();
|
|
646
641
|
}
|
|
647
642
|
/**
|
|
648
643
|
* Enable user-initiated validation mode so invalid fields will scroll into view
|
|
@@ -753,59 +748,22 @@ export class SallaProductOptions {
|
|
|
753
748
|
//and because we are using this inside select option, we need to replace the html currency symbol with the store currency symbol
|
|
754
749
|
return detailName.replace('<i class=sicon-sar></i>', salla.config.currency()?.symbol || 'ر.س');
|
|
755
750
|
}
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
*
|
|
760
|
-
* Status values:
|
|
761
|
-
* 'available' – at least one in-stock SKU exists for this detail + current selections
|
|
762
|
-
* 'out_of_stock'– all matching SKUs are out of stock
|
|
763
|
-
* 'impossible' – no SKU exists for this detail + current selections (invalid combination)
|
|
764
|
-
*/
|
|
765
|
-
computeAvailability() {
|
|
766
|
-
const map = {};
|
|
767
|
-
if (!this.optionsData?.length) {
|
|
768
|
-
this.availabilityMap = map;
|
|
769
|
-
return;
|
|
751
|
+
isOptionDetailOut(detail) {
|
|
752
|
+
if (detail.is_out || !detail.skus_availability || !this.selectedSkus?.length) {
|
|
753
|
+
return detail.is_out;
|
|
770
754
|
}
|
|
771
|
-
const
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
for (const detail of optionGroup.details) {
|
|
776
|
-
if (detail.is_out) {
|
|
777
|
-
map[detail.id] = 'out_of_stock';
|
|
778
|
-
continue;
|
|
779
|
-
}
|
|
780
|
-
const skusAvail = detail.skus_availability;
|
|
781
|
-
if (!skusAvail || !Object.keys(skusAvail).length) {
|
|
782
|
-
map[detail.id] = 'available';
|
|
783
|
-
continue;
|
|
784
|
-
}
|
|
785
|
-
const detailSkus = Object.keys(skusAvail).map(Number);
|
|
786
|
-
// No cross-group context yet — evaluate this detail's own SKUs directly
|
|
787
|
-
if (isSingleGroup || otherSelected.length === 0) {
|
|
788
|
-
map[detail.id] = detailSkus.some(sku => skusAvail[sku]) ? 'available' : 'out_of_stock';
|
|
789
|
-
continue;
|
|
790
|
-
}
|
|
791
|
-
// Intersect this detail's SKUs with the SKUs of each other selected detail
|
|
792
|
-
let candidates = detailSkus;
|
|
793
|
-
for (const other of otherSelected) {
|
|
794
|
-
const otherSkus = Object.keys(other.skus_availability || {}).map(Number);
|
|
795
|
-
candidates = candidates.filter(sku => otherSkus.includes(sku));
|
|
796
|
-
}
|
|
797
|
-
if (!candidates.length) {
|
|
798
|
-
map[detail.id] = 'impossible';
|
|
799
|
-
continue;
|
|
800
|
-
}
|
|
801
|
-
map[detail.id] = candidates.some(sku => skusAvail[sku]) ? 'available' : 'out_of_stock';
|
|
802
|
-
}
|
|
755
|
+
const isDetailSelected = this.selectedOptions.filter(option => option.id === detail.id).length;
|
|
756
|
+
//if the current options is the only selected option, so we are sure that it's not out, because there is no other options selected yet
|
|
757
|
+
if (isDetailSelected && this.selectedOptions.length === 1) {
|
|
758
|
+
return false;
|
|
803
759
|
}
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
760
|
+
//if current details has sku in the possible outSkus it's out for sure
|
|
761
|
+
if (isDetailSelected) {
|
|
762
|
+
//here we will get the possible outSkus for current selected options
|
|
763
|
+
const outSelectableSkus = this.selectedSkus.filter(sku => this.outSkus.includes(sku));
|
|
764
|
+
return Object.keys(detail.skus_availability).some(sku => outSelectableSkus.includes(Number(sku)));
|
|
765
|
+
}
|
|
766
|
+
return this.selectedOptions.some(option => option.is_out && option.option_id !== detail.option_id);
|
|
809
767
|
}
|
|
810
768
|
/**
|
|
811
769
|
* Renders a single input element (radio or checkbox) for an option detail.
|
|
@@ -818,15 +776,10 @@ export class SallaProductOptions {
|
|
|
818
776
|
*/
|
|
819
777
|
renderInput(type, detail, option, isRequired, name, buttonStyle) {
|
|
820
778
|
const id = this.generateUniqueKey(`${type}-${option.id}-${detail.id}`);
|
|
821
|
-
const
|
|
779
|
+
const isDisabled = this.isOptionDetailOut(detail);
|
|
822
780
|
return (h("label", { class: {
|
|
823
|
-
"s-product-options-disabled":
|
|
824
|
-
|
|
825
|
-
} }, h("input", { id: id, type: type, name: name, value: detail.id, disabled: this.canDisabled && isOutOfStock, required: isRequired, checked: detail.is_selected, onInvalid: (e) => this.invalidHandler(e, option), onChange: (e) => this.changedHandler(e, option) }), h("div", { class: {
|
|
826
|
-
"s-product-options-grid-mode-span": buttonStyle,
|
|
827
|
-
"s-product-options-disabled": this.canDisabled && isOutOfStock,
|
|
828
|
-
"s-product-options-option-stock-out": isOutOfStock,
|
|
829
|
-
} }, this.getOptionDetailName(detail))));
|
|
781
|
+
"s-product-options-disabled": isDisabled,
|
|
782
|
+
} }, h("input", { id: id, type: type, name: name, value: detail.id, disabled: isDisabled, required: isRequired, checked: detail.is_selected, onInvalid: (e) => this.invalidHandler(e, option), onChange: (e) => this.changedHandler(e, option) }), h("div", { class: { "s-product-options-grid-mode-span": buttonStyle, "s-product-options-disabled": isDisabled } }, this.getOptionDetailName(detail))));
|
|
830
783
|
}
|
|
831
784
|
/**
|
|
832
785
|
* Renders a collection of input elements for all details of an option.
|
|
@@ -899,22 +852,15 @@ export class SallaProductOptions {
|
|
|
899
852
|
}
|
|
900
853
|
//@ts-ignore
|
|
901
854
|
colorOption(option) {
|
|
902
|
-
return (h("fieldset", { class: "s-product-options-colors-wrapper" }, option?.details.map((detail) => {
|
|
903
|
-
const isOutOfStock = this.isOptionDetailOut(detail);
|
|
904
|
-
return (h("div", { class: {
|
|
905
|
-
"s-product-options-colors-item": true,
|
|
906
|
-
"s-product-options-option-stock-out": isOutOfStock,
|
|
907
|
-
}, key: detail.id }, h("input", { type: "radio", value: detail.id, required: !option.visibility_condition && option.required, checked: detail.is_selected, name: this.generateInputName(option.id), disabled: this.canDisabled && isOutOfStock, id: this.generateUniqueKey(`color-${this.productId}-${option.id}-${detail.id}`), onInvalid: (e) => this.invalidHandler(e, option), onChange: (e) => this.changedHandler(e, option), "data-img-id": detail.option_value }), h("label", { htmlFor: this.generateUniqueKey(`color-${this.productId}-${option.id}-${detail.id}`), "data-img-id": detail.option_value }, h("span", { style: { backgroundColor: detail.color } }), h("div", { innerHTML: this.getOptionDetailName(detail, true, option.type) }))));
|
|
908
|
-
})));
|
|
855
|
+
return (h("fieldset", { class: "s-product-options-colors-wrapper" }, option?.details.map((detail) => (h("div", { class: "s-product-options-colors-item", key: detail.id }, h("input", { type: "radio", value: detail.id, required: !option.visibility_condition && option.required, checked: detail.is_selected, name: this.generateInputName(option.id), disabled: this.canDisabled && this.isOptionDetailOut(detail), id: this.generateUniqueKey(`color-${this.productId}-${option.id}-${detail.id}`), onInvalid: (e) => this.invalidHandler(e, option), onChange: (e) => this.changedHandler(e, option), "data-img-id": detail.option_value }), h("label", { htmlFor: this.generateUniqueKey(`color-${this.productId}-${option.id}-${detail.id}`), "data-img-id": detail.option_value }, h("span", { style: { backgroundColor: detail.color } }), h("div", { innerHTML: this.getOptionDetailName(detail, true, option.type) })))))));
|
|
909
856
|
}
|
|
910
857
|
//@ts-ignore
|
|
911
858
|
thumbnailOption(option) {
|
|
912
859
|
return h("div", { class: "s-product-options-thumbnails-wrapper" }, option.details.map((detail) => {
|
|
913
|
-
|
|
914
|
-
return h("div", { key: detail.id, class: { "s-product-options-option-stock-out": isOutOfStock } }, h("input", { type: "radio", value: detail.id, "data-itemid": detail.id, required: !option.visibility_condition && option.required, checked: detail.is_selected, name: this.generateInputName(option.id), "data-img-id": detail.option_value, disabled: this.canDisabled && isOutOfStock, id: this.generateUniqueKey(`option_${this.productId}-${option.id}_${detail.id}`), onInvalid: (e) => this.invalidHandler(e, option), onChange: (e) => this.changedHandler(e, option) }), h("label", { htmlFor: this.generateUniqueKey(`option_${this.productId}-${option.id}_${detail.id}`), "data-img-id": detail.option_value, class: "go-to-slide" }, h("img", { "data-src": detail.image, src: detail.image, title: detail.name, alt: detail.name }), h("span", { innerHTML: CheckCircleIcon, class: "s-product-options-thumbnails-icon" }), isOutOfStock ?
|
|
860
|
+
return h("div", { key: detail.id }, h("input", { type: "radio", value: detail.id, "data-itemid": detail.id, required: !option.visibility_condition && option.required, checked: detail.is_selected, name: this.generateInputName(option.id), "data-img-id": detail.option_value, disabled: this.canDisabled && this.isOptionDetailOut(detail), id: this.generateUniqueKey(`option_${this.productId}-${option.id}_${detail.id}`), onInvalid: (e) => this.invalidHandler(e, option), onChange: (e) => this.changedHandler(e, option) }), h("label", { htmlFor: this.generateUniqueKey(`option_${this.productId}-${option.id}_${detail.id}`), "data-img-id": detail.option_value, class: "go-to-slide" }, h("img", { "data-src": detail.image, src: detail.image, title: detail.name, alt: detail.name }), h("span", { innerHTML: CheckCircleIcon, class: "s-product-options-thumbnails-icon" }), this.isOptionDetailOut(detail) ?
|
|
915
861
|
[
|
|
916
|
-
h("small", { key:
|
|
917
|
-
this.canDisabled ? h("div", { key:
|
|
862
|
+
h("small", { key: detail.id, class: "s-product-options-thumbnails-stock-badge" }, this.outOfStockText),
|
|
863
|
+
this.canDisabled ? h("div", { key: detail.id, class: "s-product-options-thumbnails-badge-overlay" }) : '',
|
|
918
864
|
]
|
|
919
865
|
: ''), h("p", null, this.getOptionDetailName(detail, false), " "));
|
|
920
866
|
}));
|
|
@@ -929,8 +875,7 @@ export class SallaProductOptions {
|
|
|
929
875
|
}
|
|
930
876
|
countryOption(option) {
|
|
931
877
|
return h("div", { class: "s-product-options-digital-card-wrapper" }, option.details.map((detail) => {
|
|
932
|
-
|
|
933
|
-
return h("label", { htmlFor: this.generateUniqueKey(detail.id.toString()), key: detail.id, class: { "s-product-options-digital-card-option": true, "s-product-options-digital-card-option-stock-out": isOutOfStock, "s-product-options-option-stock-out": isOutOfStock } }, h("input", { id: this.generateUniqueKey(detail.id.toString()), type: "radio", class: "s-form-control s-product-options-digital-card-input", value: detail.id, name: this.generateInputName(option.id), disabled: this.canDisabled && isOutOfStock, required: !option.visibility_condition && option.required, onInvalid: (e) => this.invalidHandler(e, option), onChange: e => this.changedHandler(e, option), onClick: () => { this.disableCardValue = false; }, ...(salla.url.is_page("cart") ? { defaultChecked: this.getSelectedDigitalCardOptions(option)?.id === detail.id } : {}) }), h("img", { loading: "lazy", alt: detail.code, height: 24, width: 24, class: "s-product-options-country-flag", src: `https://cdn.assets.salla.network/prod/admin/cp/assets/flags/1x1/${String(detail.code).toLocaleLowerCase()}.svg`, onError: e => {
|
|
878
|
+
return h("label", { htmlFor: this.generateUniqueKey(detail.id.toString()), key: detail.id, class: { "s-product-options-digital-card-option": true, "s-product-options-digital-card-option-stock-out": detail.is_out } }, h("input", { id: this.generateUniqueKey(detail.id.toString()), type: "radio", class: "s-form-control s-product-options-digital-card-input", value: detail.id, name: this.generateInputName(option.id), disabled: detail.is_out, required: !option.visibility_condition && option.required, onInvalid: (e) => this.invalidHandler(e, option), onChange: e => this.changedHandler(e, option), onClick: () => { this.disableCardValue = false; }, ...(salla.url.is_page("cart") ? { defaultChecked: this.getSelectedDigitalCardOptions(option)?.id === detail.id } : {}) }), h("img", { loading: "lazy", alt: detail.code, height: 24, width: 24, class: "s-product-options-country-flag", src: `https://cdn.assets.salla.network/prod/admin/cp/assets/flags/1x1/${String(detail.code).toLocaleLowerCase()}.svg`, onError: e => {
|
|
934
879
|
e.currentTarget.onerror = null;
|
|
935
880
|
e.currentTarget.src =
|
|
936
881
|
salla.url.cdn('images/globe.svg');
|
|
@@ -1082,8 +1027,7 @@ export class SallaProductOptions {
|
|
|
1082
1027
|
"disableCardValue": {},
|
|
1083
1028
|
"availableDigitalCardValues": {},
|
|
1084
1029
|
"userInitiatedValidation": {},
|
|
1085
|
-
"isCartMode": {}
|
|
1086
|
-
"availabilityMap": {}
|
|
1030
|
+
"isCartMode": {}
|
|
1087
1031
|
};
|
|
1088
1032
|
}
|
|
1089
1033
|
static get events() {
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
.s-products-list-selectable-item {
|
|
2
|
+
position: relative;
|
|
3
|
+
border-radius: 0.5rem;
|
|
4
|
+
transition: box-shadow 0.15s ease-in-out;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.s-products-list-item-selected {
|
|
8
|
+
box-shadow: 0 0 0 2px var(--color-primary);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.s-products-list-select-control {
|
|
12
|
+
position: absolute;
|
|
13
|
+
top: 10px;
|
|
14
|
+
inset-inline-start: 10px;
|
|
15
|
+
z-index: 5;
|
|
16
|
+
display: inline-flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.s-products-list-select-checkbox {
|
|
23
|
+
appearance: none;
|
|
24
|
+
-webkit-appearance: none;
|
|
25
|
+
-moz-appearance: none;
|
|
26
|
+
position: relative;
|
|
27
|
+
width: 22px;
|
|
28
|
+
height: 22px;
|
|
29
|
+
margin: 0;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
color: var(--color-primary);
|
|
32
|
+
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
33
|
+
border-radius: 6px;
|
|
34
|
+
background-color: #fff;
|
|
35
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
36
|
+
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.s-products-list-select-checkbox:hover {
|
|
40
|
+
border-color: var(--color-primary);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.s-products-list-select-checkbox:focus,
|
|
44
|
+
.s-products-list-select-checkbox:focus-visible {
|
|
45
|
+
outline: none;
|
|
46
|
+
border-color: var(--color-primary);
|
|
47
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 0 3px color-mix(in srgb, var(--color-primary) 30%, transparent);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.s-products-list-select-checkbox:checked,
|
|
51
|
+
.s-products-list-select-checkbox:checked:hover,
|
|
52
|
+
.s-products-list-select-checkbox:checked:focus {
|
|
53
|
+
background-color: var(--color-primary);
|
|
54
|
+
border-color: var(--color-primary);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.s-products-list-select-checkbox:checked::after {
|
|
58
|
+
content: "";
|
|
59
|
+
position: absolute;
|
|
60
|
+
top: 50%;
|
|
61
|
+
left: 50%;
|
|
62
|
+
width: 5px;
|
|
63
|
+
height: 10px;
|
|
64
|
+
border: solid #fff;
|
|
65
|
+
border-width: 0 2px 2px 0;
|
|
66
|
+
transform: translate(-50%, -60%) rotate(45deg);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.s-products-list-row-cards .s-products-list-select-control {
|
|
70
|
+
top: 50%;
|
|
71
|
+
inset-inline-start: 14px;
|
|
72
|
+
transform: translateY(-50%);
|
|
73
|
+
}
|
|
74
|
+
.s-products-list-row-cards .s-products-list-selectable-item > :not(.s-products-list-select-control) {
|
|
75
|
+
padding-inline-start: 2.75rem;
|
|
76
|
+
}
|