@salla.sa/twilight-components 3.0.23 → 3.0.25
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/{Helper-D7ZKv2vD.js → Helper-BSFw7uVh.js} +1 -1
- package/dist/cjs/{filepond-CgF0UCyN.js → filepond-DzJcpvBM.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-poster-De2yzkk2.js → filepond-plugin-file-poster-BILkbyw_.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-size-TEJXuY0m.js → filepond-plugin-file-validate-size-DIJUAZji.js} +1 -1
- package/dist/cjs/{filepond-plugin-file-validate-type-CB3OKB9j.js → filepond-plugin-file-validate-type-4lpOf3hf.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-edit-gQ02gAQb.js → filepond-plugin-image-edit-DtE3Wj_4.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-exif-orientation-B-gcb-0a.js → filepond-plugin-image-exif-orientation-Dc_jwifJ.js} +1 -1
- package/dist/cjs/{filepond-plugin-image-preview-D6yQ6Ge9.js → filepond-plugin-image-preview-D_8qt0dd.js} +1 -1
- package/dist/cjs/{index-HxqdY5S_.js → index-D0d25H-r.js} +6 -6
- package/dist/cjs/{intlTelInput-BdzLlitA.js → intlTelInput-DqmuleM6.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
- package/dist/cjs/salla-add-product-button_5.cjs.entry.js +2 -2
- 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-applied-filters.cjs.entry.js +2 -2
- package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
- package/dist/cjs/salla-attachment-view_9.cjs.entry.js +11 -11
- package/dist/cjs/salla-badge.cjs.entry.js +1 -1
- package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
- package/dist/cjs/salla-bullet-delivery_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-cart-coupons.cjs.entry.js +89 -7
- package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +5 -1
- package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
- package/dist/cjs/salla-comment-form_9.cjs.entry.js +2 -2
- package/dist/cjs/salla-conditional-offer.cjs.entry.js +628 -19
- package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/salla-filters.cjs.entry.js +2 -2
- package/dist/cjs/salla-free-shipping-banner.cjs.entry.js +1 -1
- package/dist/cjs/salla-free-shipping-tag.cjs.entry.js +1 -1
- package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
- package/dist/cjs/salla-gift-card-redeem_2.cjs.entry.js +1 -1
- package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
- package/dist/cjs/salla-hook.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +1 -1
- package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +1 -1
- 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.cjs.entry.js +1 -1
- package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
- package/dist/cjs/salla-map_3.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-mobile-update-modal.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 +8 -1
- package/dist/cjs/salla-notification-item_2.cjs.entry.js +2 -2
- 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-cancel.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-items.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-options-modal.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-payment.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-rewards.cjs.entry.js +1 -1
- package/dist/cjs/salla-order-shipments.cjs.entry.js +2 -11
- 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 +2 -2
- 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.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 +2 -2
- package/dist/cjs/salla-products-slider.cjs.entry.js +2 -2
- package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +2 -2
- package/dist/cjs/salla-rating-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
- package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/salla-search-product-card.cjs.entry.js +1 -1
- package/dist/cjs/salla-search.cjs.entry.js +2 -2
- package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
- package/dist/cjs/salla-social.cjs.entry.js +1 -1
- package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/salla-thank-you-header.cjs.entry.js +1 -1
- package/dist/cjs/salla-thank-you-page.cjs.entry.js +1 -1
- package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/salla-verify.cjs.entry.js +1 -1
- package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
- package/dist/cjs/salla-wishlist-summary.cjs.entry.js +2 -2
- package/dist/cjs/twilight.cjs.js +2 -2
- package/dist/cjs/{vanilla-picker-CwkSfjkN.js → vanilla-picker-DP9Hy8IR.js} +1 -1
- package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +44 -6
- package/dist/collection/components/salla-cart-item-offers/salla-cart-item-offers.js +4 -0
- package/dist/collection/components/salla-conditional-offer/salla-conditional-offer.css +139 -0
- package/dist/collection/components/salla-conditional-offer/salla-conditional-offer.js +568 -14
- package/dist/collection/components/salla-next-order-coupon/salla-next-order-coupon.js +7 -0
- package/dist/collection/components/salla-order-shipments/salla-order-shipments.js +1 -10
- package/dist/collection/shared/cart-free-gifts.js +42 -1
- package/dist/collection/shared/coupons-request.js +47 -0
- package/dist/collection/shared/offer-stages.js +22 -3
- package/dist/components/index.js +2 -2
- package/dist/components/salla-cart-coupons.js +88 -6
- package/dist/components/salla-cart-item-offers.js +4 -0
- package/dist/components/salla-conditional-offer.js +631 -18
- package/dist/components/salla-next-order-coupon.js +7 -0
- package/dist/components/salla-order-shipments.js +1 -10
- package/dist/docs.json +2 -2
- package/dist/esm/{Helper-D0RzyeI1.js → Helper-DmnUAusv.js} +1 -1
- package/dist/esm/{filepond-CLk9FTOP.js → filepond-DZbzdjkK.js} +1 -1
- package/dist/esm/{filepond-plugin-file-poster-B4S2eO6Q.js → filepond-plugin-file-poster-D9cjvoj-.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-size-DVKiwMoA.js → filepond-plugin-file-validate-size-D-kjllC-.js} +1 -1
- package/dist/esm/{filepond-plugin-file-validate-type-Be_jLxLc.js → filepond-plugin-file-validate-type-D9hsNaJl.js} +1 -1
- package/dist/esm/{filepond-plugin-image-edit-D82X0TVT.js → filepond-plugin-image-edit-CDHAxJY8.js} +1 -1
- package/dist/esm/{filepond-plugin-image-exif-orientation--N2kKQ_T.js → filepond-plugin-image-exif-orientation-BGKiclwK.js} +1 -1
- package/dist/esm/{filepond-plugin-image-preview-CrMEZ16K.js → filepond-plugin-image-preview-BUjvnt8G.js} +1 -1
- package/dist/esm/{index-Dlr254cS.js → index-ze9e0dxM.js} +6 -6
- package/dist/esm/{intlTelInput-E_2akM-H.js → intlTelInput-BkYRB6km.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/salla-accordion-body_2.entry.js +1 -1
- package/dist/esm/salla-accordion_6.entry.js +2 -2
- package/dist/esm/salla-add-product-button_5.entry.js +2 -2
- 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-applied-filters.entry.js +2 -2
- package/dist/esm/salla-apps-icons.entry.js +1 -1
- package/dist/esm/salla-attachment-view_9.entry.js +11 -11
- package/dist/esm/salla-badge.entry.js +1 -1
- package/dist/esm/salla-basket-gap.entry.js +1 -1
- package/dist/esm/salla-bullet-delivery_3.entry.js +1 -1
- package/dist/esm/salla-cart-coupons.entry.js +89 -7
- package/dist/esm/salla-cart-item-offers_2.entry.js +5 -1
- package/dist/esm/salla-cart-summary-card.entry.js +1 -1
- package/dist/esm/salla-cashback-banner.entry.js +1 -1
- package/dist/esm/salla-comment-factors.entry.js +1 -1
- package/dist/esm/salla-comment-form_9.entry.js +2 -2
- package/dist/esm/salla-conditional-offer.entry.js +628 -19
- package/dist/esm/salla-contacts.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/salla-filters.entry.js +2 -2
- package/dist/esm/salla-free-shipping-banner.entry.js +1 -1
- package/dist/esm/salla-free-shipping-tag.entry.js +1 -1
- package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
- package/dist/esm/salla-gift-card-redeem_2.entry.js +1 -1
- package/dist/esm/salla-gifting.entry.js +1 -1
- package/dist/esm/salla-hook.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/salla-loyalty-banner_10.entry.js +1 -1
- package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
- 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.entry.js +1 -1
- package/dist/esm/salla-maintenance-alert.entry.js +1 -1
- package/dist/esm/salla-map_3.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-mobile-update-modal.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 +8 -1
- package/dist/esm/salla-notification-item_2.entry.js +2 -2
- 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-cancel.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-items.entry.js +1 -1
- package/dist/esm/salla-order-options-modal.entry.js +1 -1
- package/dist/esm/salla-order-payment.entry.js +1 -1
- package/dist/esm/salla-order-rewards.entry.js +1 -1
- package/dist/esm/salla-order-shipments.entry.js +2 -11
- 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 +2 -2
- 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.entry.js +1 -1
- package/dist/esm/salla-product-size-guide.entry.js +1 -1
- package/dist/esm/salla-products-list.entry.js +2 -2
- package/dist/esm/salla-products-slider.entry.js +2 -2
- package/dist/esm/salla-quick-order.entry.js +1 -1
- package/dist/esm/salla-rating-modal-v2.entry.js +2 -2
- package/dist/esm/salla-rating-modal.entry.js +2 -2
- package/dist/esm/salla-review-factors-tags.entry.js +1 -1
- package/dist/esm/salla-review-order-item.entry.js +1 -1
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/salla-search-product-card.entry.js +1 -1
- package/dist/esm/salla-search.entry.js +2 -2
- package/dist/esm/salla-skeleton.entry.js +1 -1
- package/dist/esm/salla-social-share.entry.js +1 -1
- package/dist/esm/salla-social.entry.js +1 -1
- package/dist/esm/salla-tab-content_3.entry.js +1 -1
- package/dist/esm/salla-thank-you-header.entry.js +1 -1
- package/dist/esm/salla-thank-you-page.entry.js +1 -1
- package/dist/esm/salla-tiered-offer.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/salla-verify.entry.js +1 -1
- package/dist/esm/salla-wallet.entry.js +1 -1
- package/dist/esm/salla-wishlist-actions.entry.js +1 -1
- package/dist/esm/salla-wishlist-summary.entry.js +2 -2
- package/dist/esm/twilight.js +3 -3
- package/dist/esm/{vanilla-picker-C2sRN_ke.js → vanilla-picker-CxhuwWDi.js} +1 -1
- package/dist/twilight/{p-e28d6181.entry.js → p-008740fe.entry.js} +1 -1
- package/dist/twilight/{p-29579fd5.entry.js → p-024ecda2.entry.js} +1 -1
- package/dist/twilight/{p-7f1b77dd.entry.js → p-02b7dfcc.entry.js} +1 -1
- package/dist/twilight/{p-884e112e.entry.js → p-03b2df97.entry.js} +1 -1
- package/dist/twilight/{p-50ebbec7.entry.js → p-07e581af.entry.js} +1 -1
- package/dist/twilight/{p-cfcc7537.entry.js → p-08be494e.entry.js} +1 -1
- package/dist/twilight/{p-dfecf2f7.entry.js → p-0c022fbd.entry.js} +1 -1
- package/dist/twilight/{p-479b64ef.entry.js → p-0c0b2b36.entry.js} +1 -1
- package/dist/twilight/{p-a56a1415.entry.js → p-0fd15433.entry.js} +1 -1
- package/dist/twilight/{p-d169c4cc.entry.js → p-11eb8675.entry.js} +1 -1
- package/dist/twilight/{p-4dd12d0a.entry.js → p-12a52f1b.entry.js} +1 -1
- package/dist/twilight/{p-c3d025f6.entry.js → p-16e2a110.entry.js} +1 -1
- package/dist/twilight/{p-f643db36.entry.js → p-1ca39f1c.entry.js} +1 -1
- package/dist/twilight/{p-3f95569b.entry.js → p-20949dfb.entry.js} +1 -1
- package/dist/twilight/{p-d36dc785.entry.js → p-2aa9147c.entry.js} +1 -1
- package/dist/twilight/{p-232e01e7.entry.js → p-2dcd24fe.entry.js} +1 -1
- package/dist/twilight/{p-cf3d4b03.entry.js → p-331003bc.entry.js} +1 -1
- package/dist/twilight/{p-7f297fe9.entry.js → p-37b64e36.entry.js} +1 -1
- package/dist/twilight/{p-d3c84d52.entry.js → p-3a2ff4d6.entry.js} +1 -1
- package/dist/twilight/{p-0f3ce271.entry.js → p-3ec3e9fb.entry.js} +1 -1
- package/dist/twilight/{p-dcb37ec6.entry.js → p-446e3f38.entry.js} +1 -1
- package/dist/twilight/{p-c7d32612.entry.js → p-455a4702.entry.js} +1 -1
- package/dist/twilight/{p-3b465776.entry.js → p-45a7d444.entry.js} +1 -1
- package/dist/twilight/{p-449a8200.entry.js → p-474d882c.entry.js} +1 -1
- package/dist/twilight/{p-53edf4ac.entry.js → p-47c79c49.entry.js} +1 -1
- package/dist/twilight/{p-9cbb4591.entry.js → p-4c191ab4.entry.js} +1 -1
- package/dist/twilight/{p-a2509beb.entry.js → p-4cf81a44.entry.js} +1 -1
- package/dist/twilight/{p-b7f5bf7f.entry.js → p-4ec15515.entry.js} +1 -1
- package/dist/twilight/{p-d34de754.entry.js → p-519cf4c2.entry.js} +1 -1
- package/dist/twilight/{p-e2af5853.entry.js → p-57fafaba.entry.js} +1 -1
- package/dist/twilight/{p-11174a7f.entry.js → p-59694c45.entry.js} +1 -1
- package/dist/twilight/{p-f50a3d12.entry.js → p-5b118b5b.entry.js} +1 -1
- package/dist/twilight/{p-beebd25b.entry.js → p-5ceda3d5.entry.js} +1 -1
- package/dist/twilight/{p-44826102.entry.js → p-5d8937c5.entry.js} +1 -1
- package/dist/twilight/{p-b3673a47.entry.js → p-5e0f85ae.entry.js} +1 -1
- package/dist/twilight/{p-57010429.entry.js → p-5f9d87ec.entry.js} +1 -1
- package/dist/twilight/{p-6f4a5f08.entry.js → p-61b98119.entry.js} +1 -1
- package/dist/twilight/{p-12845768.entry.js → p-67cf7454.entry.js} +1 -1
- package/dist/twilight/{p-92782ec3.entry.js → p-6d6b99fe.entry.js} +1 -1
- package/dist/twilight/{p-45250f93.entry.js → p-71ce8e4f.entry.js} +1 -1
- package/dist/twilight/{p-e9d32f2b.entry.js → p-73649c81.entry.js} +1 -1
- package/dist/twilight/{p-ba40d16a.entry.js → p-75ad7f14.entry.js} +1 -1
- package/dist/twilight/{p-6ac44557.entry.js → p-75f7f1d8.entry.js} +1 -1
- package/dist/twilight/{p-80fd5011.entry.js → p-770142fe.entry.js} +1 -1
- package/dist/twilight/{p-affd80ef.entry.js → p-7731e280.entry.js} +1 -1
- package/dist/twilight/p-776f9492.entry.js +4 -0
- package/dist/twilight/{p-85e251dc.entry.js → p-7790a9a1.entry.js} +1 -1
- package/dist/twilight/p-78c04993.entry.js +4 -0
- package/dist/twilight/p-792494c8.entry.js +4 -0
- package/dist/twilight/{p-ed419d9f.entry.js → p-7a985fe3.entry.js} +1 -1
- package/dist/twilight/{p-99b50412.entry.js → p-7fffa509.entry.js} +1 -1
- package/dist/twilight/{p-805e7435.entry.js → p-8077d8b6.entry.js} +1 -1
- package/dist/twilight/{p-abe8eb3e.entry.js → p-830abcc1.entry.js} +1 -1
- package/dist/twilight/{p-4a874f3c.entry.js → p-89598ad3.entry.js} +1 -1
- package/dist/twilight/p-8b0b6bca.entry.js +4 -0
- package/dist/twilight/p-8d096f95.entry.js +4 -0
- package/dist/twilight/{p-8174d52f.entry.js → p-8d3c5d1f.entry.js} +1 -1
- package/dist/twilight/{p-f16b4066.entry.js → p-93571975.entry.js} +1 -1
- package/dist/twilight/{p-27cf397c.entry.js → p-97c5b11d.entry.js} +1 -1
- package/dist/twilight/{p-738d448e.entry.js → p-97fa91db.entry.js} +1 -1
- package/dist/twilight/{p-9f99720f.entry.js → p-9a2567e2.entry.js} +1 -1
- package/dist/twilight/p-9acfe389.entry.js +4 -0
- package/dist/twilight/{p-965cd6db.entry.js → p-9dd7cf71.entry.js} +1 -1
- package/dist/twilight/{p-ec044c15.entry.js → p-9fe5c0f5.entry.js} +1 -1
- package/dist/twilight/{p-D-sz1Kxb.js → p-B8nGVDvQ.js} +1 -1
- package/dist/twilight/{p-BwHQ1q5j.js → p-BjUh9YCs.js} +1 -1
- package/dist/twilight/{p-xUW2rh4u.js → p-BlPdaFn2.js} +1 -1
- package/dist/twilight/{p-Dpj_5kRc.js → p-BpJsOjKP.js} +1 -1
- package/dist/twilight/{p-CrWhtWBj.js → p-C9ldyQUq.js} +1 -1
- package/dist/twilight/{p-4aJjS7cx.js → p-CICtuB_u.js} +1 -1
- package/dist/twilight/{p-Dyk5c-z9.js → p-CNQaYCUJ.js} +1 -1
- package/dist/twilight/{p-BfIR6xlw.js → p-DOUAavek.js} +1 -1
- package/dist/twilight/{p-bc8d3957.entry.js → p-a1a650ab.entry.js} +1 -1
- package/dist/twilight/{p-7548d271.entry.js → p-a7566af2.entry.js} +1 -1
- package/dist/twilight/{p-787a4a1c.entry.js → p-a7849674.entry.js} +1 -1
- package/dist/twilight/{p-49c353c9.entry.js → p-a865995d.entry.js} +1 -1
- package/dist/twilight/{p-7c2c9437.entry.js → p-b297fe2e.entry.js} +1 -1
- package/dist/twilight/{p-47e90d17.entry.js → p-b6098938.entry.js} +1 -1
- package/dist/twilight/{p-f4137bdf.entry.js → p-b71673ee.entry.js} +1 -1
- package/dist/twilight/{p-94293309.entry.js → p-bb137dbb.entry.js} +1 -1
- package/dist/twilight/{p-64cefedc.entry.js → p-bd06c200.entry.js} +1 -1
- package/dist/twilight/{p-30f684ca.entry.js → p-be8c42f1.entry.js} +1 -1
- package/dist/twilight/{p-7f5e1513.entry.js → p-bf5b5f52.entry.js} +1 -1
- package/dist/twilight/{p-5ee8e1d9.entry.js → p-bf65d2fa.entry.js} +1 -1
- package/dist/twilight/{p-c724e583.entry.js → p-c0301e00.entry.js} +1 -1
- package/dist/twilight/{p-42556e74.entry.js → p-c122e9c1.entry.js} +1 -1
- package/dist/twilight/{p-3c0ae33e.entry.js → p-c6f09614.entry.js} +1 -1
- package/dist/twilight/{p-5fd4d2a8.entry.js → p-cb961f05.entry.js} +1 -1
- package/dist/twilight/{p-4f336fb5.entry.js → p-cbd056ba.entry.js} +1 -1
- package/dist/twilight/{p-062063b2.entry.js → p-cdeaf60b.entry.js} +1 -1
- package/dist/twilight/{p-NCszeo4N.js → p-cykIAOlk.js} +1 -1
- package/dist/twilight/{p-d9c049a6.entry.js → p-d089ac6d.entry.js} +1 -1
- package/dist/twilight/{p-c7364f66.entry.js → p-d2396143.entry.js} +1 -1
- package/dist/twilight/{p-d1ddef43.entry.js → p-d300a117.entry.js} +1 -1
- package/dist/twilight/{p-7a1ff06b.entry.js → p-d61298f8.entry.js} +1 -1
- package/dist/twilight/{p-df77bb1c.entry.js → p-d89328d7.entry.js} +1 -1
- package/dist/twilight/p-da0349f9.entry.js +4 -0
- package/dist/twilight/{p-d356a745.entry.js → p-da60995f.entry.js} +1 -1
- package/dist/twilight/{p-0e81f2c8.entry.js → p-dbb4db25.entry.js} +1 -1
- package/dist/twilight/{p-2bdae257.entry.js → p-dceb3725.entry.js} +1 -1
- package/dist/twilight/{p-5778ec88.entry.js → p-de10d0c3.entry.js} +1 -1
- package/dist/twilight/p-dfde387f.entry.js +4 -0
- package/dist/twilight/{p-3420bcd9.entry.js → p-e23b84bf.entry.js} +1 -1
- package/dist/twilight/{p-08b48300.entry.js → p-e3dd9502.entry.js} +1 -1
- package/dist/twilight/{p-58653a8d.entry.js → p-e849f5ef.entry.js} +1 -1
- package/dist/twilight/{p-88581a27.entry.js → p-ed96c703.entry.js} +1 -1
- package/dist/twilight/{p-f55fa716.entry.js → p-f054cf8e.entry.js} +1 -1
- package/dist/twilight/{p-b57f4dd9.entry.js → p-f23ada45.entry.js} +1 -1
- package/dist/twilight/{p-cc80fe0a.entry.js → p-f7c06bee.entry.js} +1 -1
- package/dist/twilight/{p-b9effddb.entry.js → p-f9dd6b3e.entry.js} +1 -1
- package/dist/twilight/{p-6cc7155b.entry.js → p-fb955257.entry.js} +1 -1
- package/dist/twilight/{p-886fec5f.entry.js → p-ffc7f526.entry.js} +1 -1
- package/dist/twilight/{p-gn30Eq58.js → p-wYYV5ykR.js} +1 -1
- package/dist/twilight/{p-Dlr254cS.js → p-ze9e0dxM.js} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-cart-coupons/salla-cart-coupons.d.ts +11 -0
- package/dist/types/components/salla-conditional-offer/interfaces.d.ts +36 -0
- package/dist/types/components/salla-conditional-offer/salla-conditional-offer.d.ts +182 -3
- package/dist/types/components/salla-order-shipments/salla-order-shipments.d.ts +0 -1
- package/dist/types/shared/cart-free-gifts.d.ts +26 -0
- package/dist/types/shared/coupons-request.d.ts +3 -0
- package/dist/types/shared/offer-stages.d.ts +6 -1
- package/package.json +5 -5
- package/dist/twilight/p-057f7c41.entry.js +0 -4
- package/dist/twilight/p-1a7e2b8b.entry.js +0 -4
- package/dist/twilight/p-3dc7dfdb.entry.js +0 -4
- package/dist/twilight/p-9393c067.entry.js +0 -4
- package/dist/twilight/p-e50f9afa.entry.js +0 -4
- package/dist/twilight/p-e9a506e6.entry.js +0 -4
- package/dist/twilight/p-f106168e.entry.js +0 -4
- package/dist/twilight/p-f3507d9c.entry.js +0 -4
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Crafted with ❤ by Salla
|
|
3
3
|
*/
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { getCouponsRequest } from "../../shared/coupons-request";
|
|
5
6
|
export class SallaCartCoupons {
|
|
6
7
|
constructor() {
|
|
7
8
|
this.availableCoupons = [];
|
|
@@ -35,6 +36,8 @@ export class SallaCartCoupons {
|
|
|
35
36
|
// (Salla.config.get('store.settings.cart.multi_coupon')) — a stable store-level setting,
|
|
36
37
|
// exactly like cart.apply_coupon_enabled — not from the per-cart payload or localStorage.
|
|
37
38
|
this.multiCoupon = false;
|
|
39
|
+
// True from scheduling until the first (visible) load starts.
|
|
40
|
+
this.awaitingVisibility = false;
|
|
38
41
|
this.isHandlingInternalError = false;
|
|
39
42
|
// Store cart event listener references for cleanup
|
|
40
43
|
this.cartUpdatedHandler = (cartData) => {
|
|
@@ -129,7 +132,7 @@ export class SallaCartCoupons {
|
|
|
129
132
|
// apply_coupon_enabled), so it never depends on the per-cart payload or localStorage.
|
|
130
133
|
this.multiCoupon = !!salla.config.get('store.settings.cart.multi_coupon');
|
|
131
134
|
//then set your logic here to avoid any race condition
|
|
132
|
-
this.
|
|
135
|
+
this.scheduleCouponsLoad(); // Load async without blocking render - shows empty until loaded
|
|
133
136
|
// Synchronous first-paint seed from the storage cart so an applied coupon shows on the very
|
|
134
137
|
// first render instead of flashing empty → applied while the async server fetch is in flight
|
|
135
138
|
// (the old loadCartTotal read storage synchronously). loadCartTotal() then reconciles with the
|
|
@@ -148,6 +151,7 @@ export class SallaCartCoupons {
|
|
|
148
151
|
salla.event.on('cart::coupon.deleted', this.couponDeletedHandler);
|
|
149
152
|
}
|
|
150
153
|
disconnectedCallback() {
|
|
154
|
+
this.stopObservingVisibility();
|
|
151
155
|
// Input events are bound via JSX (onInput/onKeyUp) — Stencil cleans those up. Only the
|
|
152
156
|
// global cart event listeners need explicit teardown here.
|
|
153
157
|
salla.event.off('cart::updated', this.cartUpdatedHandler);
|
|
@@ -181,10 +185,44 @@ export class SallaCartCoupons {
|
|
|
181
185
|
}
|
|
182
186
|
return selectedCoupon;
|
|
183
187
|
}
|
|
188
|
+
/**
|
|
189
|
+
* CHKM-594: the cart page needs the coupons straight away; anywhere else (a theme's cart
|
|
190
|
+
* drawer, often display:none until opened) wait until the host is first visible, so a page
|
|
191
|
+
* the shopper never opens the cart on makes no request. No IntersectionObserver → fetch now.
|
|
192
|
+
*/
|
|
193
|
+
scheduleCouponsLoad() {
|
|
194
|
+
if (salla.url.is_page('cart') || typeof IntersectionObserver === 'undefined') {
|
|
195
|
+
this.loadCouponsData();
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
198
|
+
this.awaitingVisibility = true;
|
|
199
|
+
this.observeVisibility();
|
|
200
|
+
}
|
|
201
|
+
observeVisibility() {
|
|
202
|
+
this.visibilityObserver = new IntersectionObserver(entries => {
|
|
203
|
+
if (entries.some(entry => entry.isIntersecting)) {
|
|
204
|
+
this.awaitingVisibility = false;
|
|
205
|
+
this.stopObservingVisibility();
|
|
206
|
+
this.loadCouponsData();
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
this.visibilityObserver.observe(this.host);
|
|
210
|
+
}
|
|
211
|
+
stopObservingVisibility() {
|
|
212
|
+
this.visibilityObserver?.disconnect();
|
|
213
|
+
this.visibilityObserver = undefined;
|
|
214
|
+
}
|
|
215
|
+
// A host that was removed and re-attached before it was first visible must resume watching:
|
|
216
|
+
// componentWillLoad (the only scheduler) does not run again for the same element.
|
|
217
|
+
connectedCallback() {
|
|
218
|
+
if (this.awaitingVisibility && !this.visibilityObserver) {
|
|
219
|
+
this.observeVisibility();
|
|
220
|
+
}
|
|
221
|
+
}
|
|
184
222
|
async loadCouponsData() {
|
|
185
223
|
try {
|
|
186
|
-
// Load coupons from API
|
|
187
|
-
const response = await
|
|
224
|
+
// Load coupons from API (shared across instances, see coupons-request.ts)
|
|
225
|
+
const response = await getCouponsRequest();
|
|
188
226
|
const raw = response?.data;
|
|
189
227
|
const coupons = Array.isArray(raw) ? raw : (Array.isArray(raw?.data) ? raw.data : []);
|
|
190
228
|
this.availableCoupons = coupons;
|
|
@@ -621,7 +659,7 @@ export class SallaCartCoupons {
|
|
|
621
659
|
}
|
|
622
660
|
render() {
|
|
623
661
|
const couponRow = this.couponRow();
|
|
624
|
-
return (h(Host, { key: '
|
|
662
|
+
return (h(Host, { key: '59daca187b980f5ea675aea6d3617bf891bff32f' }, h("div", { key: '0e27f04a648ef5d4b4a9f0273e128a4658d5e97d', class: "s-cart-coupons-wrapper" }, h("div", { key: '3090b6c9e39069382ca517162d1861788b642e33', class: "s-cart-coupons-input-section" }, h("label", { key: 'fac50b4ab6835519849b1a5b00fcb190eabf20dd', htmlFor: "coupon-input", class: "s-cart-coupons-coupon-label" }, salla.lang.get('pages.cart.have_coupon')), h("div", { key: 'cd96cc8bdbb32b14dc1dfaa166a87aa0c2a37372', class: "s-cart-coupons-coupon-input-container" }, this.multiCoupon ? [
|
|
625
663
|
// Multi-coupon: input stays active to append more codes; applied coupons render
|
|
626
664
|
// as removable chips below.
|
|
627
665
|
h("input", { type: "text", id: "coupon-input", name: "coupon", class: `form-input ${this.couponError ? 's-coupon-input-error' : ''}`, placeholder: salla.lang.get('pages.cart.coupon_placeholder'), value: this.couponInputValue, disabled: this.isApplying, onInput: this.onInput, onKeyUp: this.onKeyUp, "aria-label": salla.lang.get('pages.cart.apply_coupon'), key: "coupon-input" }),
|
|
@@ -632,7 +670,7 @@ export class SallaCartCoupons {
|
|
|
632
670
|
// a new code can only be entered after removing. Reuses the existing master classes.
|
|
633
671
|
h("input", { type: "text", id: "coupon-input", name: "coupon", class: `form-input ${this.couponError ? 's-coupon-input-error' : ''}`, placeholder: salla.lang.get('pages.cart.coupon_placeholder'), value: this.couponInputValue, disabled: !!this.currentCoupon || this.isApplying, onInput: this.onInput, onKeyUp: this.onKeyUp, "aria-label": salla.lang.get('pages.cart.apply_coupon'), key: "coupon-input" }),
|
|
634
672
|
h("salla-button", { ref: el => this.couponButtonRef = el, class: `s-cart-coupons-coupon-button ${this.currentCoupon ? 's-cart-coupons-coupon-button-remove' : 's-cart-coupons-coupon-button-apply'}`, color: this.currentCoupon ? 'danger' : 'primary', loading: this.isApplying, "loader-position": "center", onClick: () => this.handleCouponButtonClick(), key: "apply-button" }, this.currentCoupon ? (h("i", { class: "sicon-cancel" })) : (h("span", null, salla.lang.get('pages.cart.save_coupon')))),
|
|
635
|
-
]), this.couponError && (h("span", { key: '
|
|
673
|
+
]), this.couponError && (h("span", { key: 'eeb7bc0ad60797930af60fd476c74af748f91f72', class: "s-cart-coupons-coupon-error" }, this.couponError))), couponRow.length > 0 && (h("salla-slider", { type: "carousel", showControls: false, class: "s-cart-coupons-slider",
|
|
636
674
|
/* salla-slider hands its slot children to Swiper, which MOVES them out of the
|
|
637
675
|
`slot="items"` div into its own .swiper-wrapper. Stencil then patches against a
|
|
638
676
|
tree that no longer exists where it expects, so a slide added to a list that
|
|
@@ -641,7 +679,7 @@ export class SallaCartCoupons {
|
|
|
641
679
|
against dynamic custom components inside it. Keying on the exact code list
|
|
642
680
|
makes Stencil discard and remount the slider whenever the set changes, so
|
|
643
681
|
Swiper re-initialises over the full, correct set of slides. */
|
|
644
|
-
key: couponRow.map(entry => entry.code).join('|') }, h("div", { key: '
|
|
682
|
+
key: couponRow.map(entry => entry.code).join('|') }, h("div", { key: 'f095c16d9e93a19087a0125600286f3c75527671', slot: "items" }, couponRow.map(entry => this.renderCouponCard(entry))))))));
|
|
645
683
|
}
|
|
646
684
|
static get is() { return "salla-cart-coupons"; }
|
|
647
685
|
static get originalStyleUrls() {
|
|
@@ -17,9 +17,13 @@ export class SallaCartItemOffers {
|
|
|
17
17
|
this.receivedOffer = '';
|
|
18
18
|
this.discountAmountLabel = '';
|
|
19
19
|
this.showMoreOffers = '';
|
|
20
|
+
// `item.added` / `item.deleted` too: adding or removing ANOTHER line (e.g. from the cart offer's
|
|
21
|
+
// free product picker) moves the cart across an offer tier, which changes this line's offers.
|
|
20
22
|
this.cartUpdateEvents = [
|
|
21
23
|
'cart::latest.fetched',
|
|
22
24
|
'cart::item.updated',
|
|
25
|
+
'cart::item.added',
|
|
26
|
+
'cart::item.deleted',
|
|
23
27
|
'cart::coupon.added',
|
|
24
28
|
'cart::coupon.deleted',
|
|
25
29
|
];
|
|
@@ -424,6 +424,145 @@
|
|
|
424
424
|
color: rgb(115 115 115 / var(--tw-text-opacity, 1));
|
|
425
425
|
text-decoration-line: line-through;
|
|
426
426
|
}
|
|
427
|
+
.s-conditional-offer-gifts {
|
|
428
|
+
margin-top: 0.75rem;
|
|
429
|
+
width: 100%;
|
|
430
|
+
min-width: 0px;
|
|
431
|
+
border-radius: 0.375rem;
|
|
432
|
+
border-width: 1px;
|
|
433
|
+
--tw-border-opacity: 1;
|
|
434
|
+
border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
|
|
435
|
+
--tw-bg-opacity: 1;
|
|
436
|
+
background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
|
|
437
|
+
padding: 0.75rem;
|
|
438
|
+
}
|
|
439
|
+
.s-conditional-offer-picker {
|
|
440
|
+
display: flex;
|
|
441
|
+
width: 100%;
|
|
442
|
+
min-width: 0px;
|
|
443
|
+
flex-direction: column;
|
|
444
|
+
gap: 0.75rem;
|
|
445
|
+
}
|
|
446
|
+
.s-conditional-offer-picker-header {
|
|
447
|
+
display: flex;
|
|
448
|
+
align-items: center;
|
|
449
|
+
gap: 0.5rem;
|
|
450
|
+
}
|
|
451
|
+
.s-conditional-offer-picker-counter {
|
|
452
|
+
display: inline-flex;
|
|
453
|
+
height: 2.25rem;
|
|
454
|
+
width: 2.25rem;
|
|
455
|
+
flex-shrink: 0;
|
|
456
|
+
align-items: center;
|
|
457
|
+
justify-content: center;
|
|
458
|
+
border-radius: 9999px;
|
|
459
|
+
border-width: 2px;
|
|
460
|
+
border-color: var(--color-primary);
|
|
461
|
+
font-size: 0.75rem;
|
|
462
|
+
line-height: 1rem;
|
|
463
|
+
font-weight: 700;
|
|
464
|
+
color: var(--color-primary-dark);
|
|
465
|
+
}
|
|
466
|
+
.s-conditional-offer-picker-title {
|
|
467
|
+
font-size: 0.875rem;
|
|
468
|
+
line-height: 1.25rem;
|
|
469
|
+
font-weight: 700;
|
|
470
|
+
color: var(--color-primary-dark);
|
|
471
|
+
}
|
|
472
|
+
.s-conditional-offer-picker-list {
|
|
473
|
+
margin: 0px;
|
|
474
|
+
display: flex;
|
|
475
|
+
list-style-type: none;
|
|
476
|
+
gap: 0.75rem;
|
|
477
|
+
overflow-x: auto;
|
|
478
|
+
overscroll-behavior-x: contain;
|
|
479
|
+
scroll-behavior: smooth;
|
|
480
|
+
padding: 0px;
|
|
481
|
+
padding-bottom: 0.25rem;
|
|
482
|
+
scrollbar-width: thin;
|
|
483
|
+
}
|
|
484
|
+
.s-conditional-offer-picker-card {
|
|
485
|
+
display: flex;
|
|
486
|
+
width: 9rem;
|
|
487
|
+
flex-shrink: 0;
|
|
488
|
+
flex-direction: column;
|
|
489
|
+
gap: 0.375rem;
|
|
490
|
+
text-align: start;
|
|
491
|
+
}
|
|
492
|
+
.s-conditional-offer-picker-thumb {
|
|
493
|
+
display: inline-flex;
|
|
494
|
+
height: 7rem;
|
|
495
|
+
width: 100%;
|
|
496
|
+
align-items: center;
|
|
497
|
+
justify-content: center;
|
|
498
|
+
overflow: hidden;
|
|
499
|
+
border-radius: 0.375rem;
|
|
500
|
+
border-width: 1px;
|
|
501
|
+
--tw-border-opacity: 1;
|
|
502
|
+
border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
|
|
503
|
+
--tw-bg-opacity: 1;
|
|
504
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
|
|
505
|
+
font-size: 1.5rem;
|
|
506
|
+
line-height: 2rem;
|
|
507
|
+
--tw-text-opacity: 1;
|
|
508
|
+
color: rgb(209 213 219 / var(--tw-text-opacity, 1));
|
|
509
|
+
}
|
|
510
|
+
.s-conditional-offer-picker-image {
|
|
511
|
+
height: 100%;
|
|
512
|
+
width: 100%;
|
|
513
|
+
object-fit: contain;
|
|
514
|
+
}
|
|
515
|
+
.s-conditional-offer-picker-name {
|
|
516
|
+
overflow: hidden;
|
|
517
|
+
display: -webkit-box;
|
|
518
|
+
-webkit-box-orient: vertical;
|
|
519
|
+
-webkit-line-clamp: 1;
|
|
520
|
+
font-size: 0.875rem;
|
|
521
|
+
line-height: 1.25rem;
|
|
522
|
+
--tw-text-opacity: 1;
|
|
523
|
+
color: rgb(38 38 38 / var(--tw-text-opacity, 1));
|
|
524
|
+
}
|
|
525
|
+
.s-conditional-offer-picker-prices {
|
|
526
|
+
display: flex;
|
|
527
|
+
align-items: center;
|
|
528
|
+
gap: 0.5rem;
|
|
529
|
+
font-size: 0.75rem;
|
|
530
|
+
line-height: 1rem;
|
|
531
|
+
}
|
|
532
|
+
.s-conditional-offer-picker-price-regular {
|
|
533
|
+
font-weight: 700;
|
|
534
|
+
--tw-text-opacity: 1;
|
|
535
|
+
color: rgb(23 23 23 / var(--tw-text-opacity, 1));
|
|
536
|
+
}
|
|
537
|
+
.s-conditional-offer-picker-actions {
|
|
538
|
+
margin-top: auto;
|
|
539
|
+
display: flex;
|
|
540
|
+
width: 100%;
|
|
541
|
+
align-items: center;
|
|
542
|
+
gap: 0.375rem;
|
|
543
|
+
}
|
|
544
|
+
.s-conditional-offer-picker-add {
|
|
545
|
+
display: inline-flex;
|
|
546
|
+
height: 2.25rem;
|
|
547
|
+
flex: 1 1 0%;
|
|
548
|
+
align-items: center;
|
|
549
|
+
justify-content: center;
|
|
550
|
+
border-radius: 0.375rem;
|
|
551
|
+
border-width: 1px;
|
|
552
|
+
border-color: var(--color-primary);
|
|
553
|
+
font-size: 0.875rem;
|
|
554
|
+
line-height: 1.25rem;
|
|
555
|
+
font-weight: 700;
|
|
556
|
+
color: var(--color-primary-dark);
|
|
557
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
558
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
559
|
+
transition-duration: 300ms;
|
|
560
|
+
}
|
|
561
|
+
.s-conditional-offer-picker-add:hover {
|
|
562
|
+
background-color: var(--color-primary);
|
|
563
|
+
--tw-text-opacity: 1;
|
|
564
|
+
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
565
|
+
}
|
|
427
566
|
.s-conditional-offer-tooltip {
|
|
428
567
|
position: absolute;
|
|
429
568
|
top: calc(100% + 0.75rem);
|