wickes-css2 2.111.0-develop.2 → 2.111.0-why-not-add.2
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/Readme.md +1 -1
- package/build/css/category-main.css +1 -1
- package/build/css/components/global-search.css +1 -1
- package/build/css/homepage-main.css +1 -1
- package/build/css/kitchen-plp-main.css +1 -1
- package/build/css/main.css +1 -1
- package/build/css/my-account-main-v2.css +1 -1
- package/build/css/my-account-main.css +1 -1
- package/build/css/pages/page_personal-details.css +1 -1
- package/build/css/pages/page_product-details-v2.css +1 -1
- package/build/css/pdp-main-before-combine.css +1 -1
- package/build/css/pdp-main-critical.css +1 -1
- package/build/css/pdp-main-non-critical.css +1 -1
- package/build/css/pdp-main.css +1 -1
- package/build/css/plp-main.css +1 -1
- package/build/css/store-locator-main.css +1 -1
- package/build/js/account-hub.min.js +1 -1
- package/build/js/basket.min.js +2 -2
- package/build/js/bloomreach-widget.min.js +1 -0
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/emulation.min.js +3001 -280
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/gift-cards.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/mini-basket-slider.min.js +1 -1
- package/build/js/page/basket-v2.js +18 -11
- package/build/js/page/bloomreach-widget.js +1187 -0
- package/build/js/page/components/discounts.js +8 -15
- package/build/js/page/components/mini-basket-slider.js +24 -18
- package/build/js/page/components/voucher.js +2 -56
- package/build/js/page/utils/create-count-stepper.js +30 -9
- package/build/js/page/utils/create-loading-button.js +37 -0
- package/build/js/page/utils/create-toast.js +79 -0
- package/build/js/page/utils/custom-dropdown.js +80 -0
- package/build/js/pdp-count-stepper.min.js +1 -1
- package/build/js/pdp.bundle.min.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +1 -1
- package/build/js/saving-shopping-list.min.js +1 -1
- package/package.json +1 -1
- package/src/components/base/button.hbs +23 -5
- package/src/components/bloomreach/complete-card-dropdown.hbs +47 -0
- package/src/components/bloomreach/complete-card-skeleton.hbs +19 -0
- package/src/components/bloomreach/complete-card.hbs +138 -0
- package/src/components/bloomreach/complete-divider.hbs +3 -0
- package/src/components/bloomreach/complete-summary-skeleton.hbs +12 -0
- package/src/components/bloomreach/complete-summary.hbs +43 -0
- package/src/components/bloomreach/complete-wrapper.hbs +1 -0
- package/src/components/bloomreach/complete-your-project.hbs +21 -0
- package/src/components/cart-voucher.hbs +4 -4
- package/src/components/gift-cards.hbs +1 -1
- package/src/components/mini-basket/mini-basket-order-item.hbs +4 -4
- package/src/components/wismo-payment.hbs +7 -50
- package/src/data/data_delivery-address-v2.json +6 -6
- package/src/data/data_discounts.json +6 -6
- package/src/data/data_shopping-cart-v2.json +11 -32
- package/src/data/data_shopping-cart-with-energy.json +12 -12
- package/src/data/data_wismo.json +1 -2
- package/src/elements/checkbox.hbs +8 -1
- package/src/js/components/general/cart-slider.js +19 -6
- package/src/js/components/general/switchVat.js +7 -9
- package/src/js/emulation/basket-data.js +1 -11
- package/src/js/emulation/bloomreach-widget-calculations.js +132 -0
- package/src/js/emulation/bloomreach-widget-loading.js +11 -0
- package/src/js/emulation/checkout-data.js +0 -3
- package/src/js/emulation/mini-basket-data.js +0 -68
- package/src/js/emulation/mock.js +3098 -1
- package/src/js/emulation/notify-me.js +1 -1
- package/src/js/page/basket-v2.js +18 -11
- package/src/js/page/bloomreach-widget.js +1187 -0
- package/src/js/page/components/discounts.js +8 -15
- package/src/js/page/components/mini-basket-slider.js +24 -18
- package/src/js/page/components/voucher.js +2 -56
- package/src/js/page/utils/create-count-stepper.js +30 -9
- package/src/js/page/utils/create-loading-button.js +37 -0
- package/src/js/page/utils/create-toast.js +79 -0
- package/src/js/page/utils/custom-dropdown.js +80 -0
- package/src/layouts/checkout.hbs +0 -1
- package/src/page_basket-energy-efficiency.html +0 -4
- package/src/page_checkout_confirmation-new-marketing-consent-error.html +0 -7
- package/src/page_checkout_confirmation-new-marketing-consent.html +0 -4
- package/src/page_checkout_delivery-address-v2.html +0 -4
- package/src/page_checkout_delivery-details-v2-asm.html +1 -7
- package/src/page_checkout_delivery-details-v2-calendar-message.html +0 -4
- package/src/page_checkout_delivery-details-v2-oos.html +0 -4
- package/src/page_checkout_delivery-details-v2-wisdom-not-available.html +0 -4
- package/src/page_checkout_delivery-details-v2-wisdom.html +0 -4
- package/src/page_checkout_delivery-details-with-loader-v2.html +0 -4
- package/src/page_checkout_delivery-details_guest-new.html +0 -4
- package/src/page_checkout_delivery_address-asm-new.html +0 -4
- package/src/page_checkout_merge-basket-v2.html +3 -6
- package/src/page_checkout_merge-basket-vat-v2.html +1 -6
- package/src/page_checkout_merge-basket-with-energy.html +0 -4
- package/src/page_checkout_next-day-delivery-details.html +0 -4
- package/src/page_checkout_payment-details-v2-asm.html +0 -4
- package/src/page_checkout_payment-details-v2.html +0 -4
- package/src/page_checkout_payment-details_guest-click-collect-icon.html +0 -4
- package/src/page_checkout_payment-details_guest-with-checkout-journey.html +0 -7
- package/src/page_checkout_payment-details_login-with-checkout-journey.html +0 -7
- package/src/page_checkout_payment-details_with-card-loader.html +0 -4
- package/src/page_checkout_payment-details_with-loader-v2.html +0 -4
- package/src/page_checkout_rapid-delivery-details.html +0 -4
- package/src/page_empty-basket-instore.html +0 -4
- package/src/page_homepage-with-global-search-v2-vat.html +0 -1
- package/src/page_instore_progress_bar.html +0 -4
- package/src/page_product-details-banner.html +0 -1
- package/src/page_product-details-big-wins-disabled-delivery.html +0 -1
- package/src/page_product-details-big-wins-non-registered.html +0 -1
- package/src/page_product-details-big-wins-out-nearest.html +0 -1
- package/src/page_product-details-big-wins-unhappy.html +0 -1
- package/src/page_product-details-big-wins.html +0 -1
- package/src/page_product-details-billie.html +0 -1
- package/src/page_product-details-bloomreach.html +130 -0
- package/src/page_product-details-calculator.html +0 -1
- package/src/page_product-details-cashback-v2.html +0 -1
- package/src/page_product-details-clearpay.html +0 -1
- package/src/page_product-details-cnc-error-notification.html +0 -1
- package/src/page_product-details-cnc-success-notification-vat.html +0 -1
- package/src/page_product-details-cnc-success-notification.html +0 -1
- package/src/page_product-details-default-store.html +0 -1
- package/src/page_product-details-energy-efficiency.html +0 -1
- package/src/page_product-details-flooring-with-pr-placeholder.html +0 -1
- package/src/page_product-details-flooring.html +0 -1
- package/src/page_product-details-gallery-actual.html +0 -1
- package/src/page_product-details-mfe-calculator.html +0 -1
- package/src/page_product-details-minimum-v2.html +0 -1
- package/src/page_product-details-mtm-doors.html +0 -1
- package/src/page_product-details-only-clearpay.html +0 -1
- package/src/page_product-details-paint-mixing.html +0 -1
- package/src/page_product-details-saved-pl.html +0 -1
- package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +0 -1
- package/src/page_product-details-tile-steps-logout.html +0 -1
- package/src/page_product-details-tile-steps-no-new-project-list.html +0 -1
- package/src/page_product-details-tile-steps-with-klarna.html +0 -1
- package/src/page_product-details-tile-steps.html +0 -1
- package/src/page_product-details-v2.html +0 -1
- package/src/page_product-details-vat.html +0 -1
- package/src/page_product-details-wisdom-mcfc-registered.html +0 -1
- package/src/page_product-details-wisdom-mcfc.html +0 -1
- package/src/page_product-details-wisdom-oos-registered.html +0 -1
- package/src/page_product-details-wisdom-oos.html +0 -1
- package/src/page_product-details-wisdom-registered.html +0 -1
- package/src/page_product-details-wisdom.html +0 -1
- package/src/page_product-details-with-favourite.html +0 -1
- package/src/page_product-details-with-global-search-v2.html +7 -2
- package/src/page_product-details_no-previous-default.html +0 -1
- package/src/page_shopping-cart-registered-v2.html +0 -4
- package/src/page_shopping-cart-v2-vat.html +0 -6
- package/src/page_shopping-cart-v2.html +2 -5
- package/src/page_shopping-cart-v3-instore.html +0 -4
- package/src/page_track-my-order-result.html +1 -0
- package/src/partials/scripts.hbs +1 -0
- package/src/scss/common/_common.scss +1 -0
- package/src/scss/common/_elements.scss +13 -1
- package/src/scss/common/_loading-button.scss +49 -0
- package/src/scss/components/_notifications.scss +86 -5
- package/src/scss/components/bloomreach/_bloomreach.scss +3 -0
- package/src/scss/components/bloomreach/_complete-card-dropdown.scss +174 -0
- package/src/scss/components/bloomreach/_complete-card.scss +408 -0
- package/src/scss/components/bloomreach/_complete-your-project.scss +207 -0
- package/src/scss/components/global-search.scss +0 -11
- package/src/scss/globals/_global-components.scss +0 -1
- package/src/scss/helpers/_variables.scss +1 -0
- package/src/scss/main.scss +0 -2
- package/src/scss/pages/page_product-details-v2.scss +45 -2
- package/src/scss/pdp-main-critical.scss +0 -1
- package/src/scss/pdp-main.scss +1 -1
- package/src/sitemap.html +6 -0
- package/src/components/checkout-voucher-remove-modal.hbs +0 -16
- package/src/components/tradepro-discount-banner.hbs +0 -8
- package/src/js/components/general/tradepro-discount-banner.js +0 -69
- package/src/js/emulation/tradepro-discount-banner-emulation.js +0 -13
- package/src/scss/components/_checkout-voucher-remove-modal.scss +0 -108
- package/src/scss/components/_pdp-action-v2-critical.scss +0 -27
- package/src/scss/components/_pdp-action-v2.scss +0 -27
- package/src/scss/components/_tradepro-discount-banner.scss +0 -78
|
@@ -460,18 +460,6 @@ Wick.MiniBasketData = (function () {
|
|
|
460
460
|
currencyIso: 'GBP',
|
|
461
461
|
formattedPriceWithoutCurrencySymbol: '10',
|
|
462
462
|
},
|
|
463
|
-
displayBasePrice: {
|
|
464
|
-
value: 90.0,
|
|
465
|
-
formattedValue: '£90.00',
|
|
466
|
-
currencyIso: 'GBP',
|
|
467
|
-
formattedPriceWithoutCurrencySymbol: '90.00',
|
|
468
|
-
},
|
|
469
|
-
displayBasePriceExclusiveVat: {
|
|
470
|
-
value: 75.0,
|
|
471
|
-
formattedValue: '£75.00',
|
|
472
|
-
currencyIso: 'GBP',
|
|
473
|
-
formattedPriceWithoutCurrencySymbol: '75.00',
|
|
474
|
-
},
|
|
475
463
|
product: {
|
|
476
464
|
code: '221100',
|
|
477
465
|
name: 'Blue Circle Ready To Use Postcrete - 20kg',
|
|
@@ -559,18 +547,6 @@ Wick.MiniBasketData = (function () {
|
|
|
559
547
|
currencyIso: 'GBP',
|
|
560
548
|
formattedPriceWithoutCurrencySymbol: '9',
|
|
561
549
|
},
|
|
562
|
-
displayBasePrice: {
|
|
563
|
-
value: 8.1,
|
|
564
|
-
formattedValue: '£8.10',
|
|
565
|
-
currencyIso: 'GBP',
|
|
566
|
-
formattedPriceWithoutCurrencySymbol: '8.10',
|
|
567
|
-
},
|
|
568
|
-
displayBasePriceExclusiveVat: {
|
|
569
|
-
value: 6.75,
|
|
570
|
-
formattedValue: '£6.75',
|
|
571
|
-
currencyIso: 'GBP',
|
|
572
|
-
formattedPriceWithoutCurrencySymbol: '6.75',
|
|
573
|
-
},
|
|
574
550
|
product: {
|
|
575
551
|
code: '109450',
|
|
576
552
|
name: 'Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²',
|
|
@@ -657,18 +633,6 @@ Wick.MiniBasketData = (function () {
|
|
|
657
633
|
currencyIso: 'GBP',
|
|
658
634
|
formattedPriceWithoutCurrencySymbol: '8',
|
|
659
635
|
},
|
|
660
|
-
displayBasePrice: {
|
|
661
|
-
value: 22.5,
|
|
662
|
-
formattedValue: '£22.50',
|
|
663
|
-
currencyIso: 'GBP',
|
|
664
|
-
formattedPriceWithoutCurrencySymbol: '22.50',
|
|
665
|
-
},
|
|
666
|
-
displayBasePriceExclusiveVat: {
|
|
667
|
-
value: 18.75,
|
|
668
|
-
formattedValue: '£18.75',
|
|
669
|
-
currencyIso: 'GBP',
|
|
670
|
-
formattedPriceWithoutCurrencySymbol: '18.75',
|
|
671
|
-
},
|
|
672
636
|
product: {
|
|
673
637
|
code: '123143',
|
|
674
638
|
name: '6 Wickes General Purpose Claw test',
|
|
@@ -852,9 +816,6 @@ Wick.MiniBasketData = (function () {
|
|
|
852
816
|
potentialProductPromotions: [
|
|
853
817
|
{
|
|
854
818
|
description: 'Buy more to qualify for our buy 3 get 1 free offer',
|
|
855
|
-
displayDescription: 'Buy more to qualify for our buy 3 get 1 free offer',
|
|
856
|
-
displayDescriptionExclusiveVat:
|
|
857
|
-
'Buy more to qualify for our buy 3 get 1 free offer',
|
|
858
819
|
promotionData: {
|
|
859
820
|
code: 'TD_ProductBOGOFPromotionPotential',
|
|
860
821
|
title: null,
|
|
@@ -879,10 +840,6 @@ Wick.MiniBasketData = (function () {
|
|
|
879
840
|
{
|
|
880
841
|
description:
|
|
881
842
|
'These item qualify for our buy 3 get 1 free offer - You have saved £36.00',
|
|
882
|
-
displayDescription:
|
|
883
|
-
'These item qualify for our buy 3 get 1 free offer - You have saved £36.00',
|
|
884
|
-
displayDescriptionExclusiveVat:
|
|
885
|
-
'These item qualify for our buy 3 get 1 free offer - You have saved £30.00 Exc.VAT',
|
|
886
843
|
promotionData: {
|
|
887
844
|
code: 'TD_ProductBOGOFPromotion',
|
|
888
845
|
title: null,
|
|
@@ -911,7 +868,6 @@ Wick.MiniBasketData = (function () {
|
|
|
911
868
|
promotionsInfo: [
|
|
912
869
|
{
|
|
913
870
|
description: 'Buy 3 get 1 free',
|
|
914
|
-
displayDescription: 'Buy 3 get 1 free',
|
|
915
871
|
usedCouponCode: '',
|
|
916
872
|
},
|
|
917
873
|
],
|
|
@@ -944,18 +900,6 @@ Wick.MiniBasketData = (function () {
|
|
|
944
900
|
currencyIso: 'GBP',
|
|
945
901
|
formattedPriceWithoutCurrencySymbol: '18',
|
|
946
902
|
},
|
|
947
|
-
displayBasePrice: {
|
|
948
|
-
value: 14.4,
|
|
949
|
-
formattedValue: '£14.40',
|
|
950
|
-
currencyIso: 'GBP',
|
|
951
|
-
formattedPriceWithoutCurrencySymbol: '14.40',
|
|
952
|
-
},
|
|
953
|
-
displayBasePriceExclusiveVat: {
|
|
954
|
-
value: 12.0,
|
|
955
|
-
formattedValue: '£12.00',
|
|
956
|
-
currencyIso: 'GBP',
|
|
957
|
-
formattedPriceWithoutCurrencySymbol: '12.00',
|
|
958
|
-
},
|
|
959
903
|
product: {
|
|
960
904
|
code: '109450',
|
|
961
905
|
name: 'Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²',
|
|
@@ -1042,18 +986,6 @@ Wick.MiniBasketData = (function () {
|
|
|
1042
986
|
currencyIso: 'GBP',
|
|
1043
987
|
formattedPriceWithoutCurrencySymbol: '24',
|
|
1044
988
|
},
|
|
1045
|
-
displayBasePrice: {
|
|
1046
|
-
value: 22.5,
|
|
1047
|
-
formattedValue: '£22.50',
|
|
1048
|
-
currencyIso: 'GBP',
|
|
1049
|
-
formattedPriceWithoutCurrencySymbol: '22.50',
|
|
1050
|
-
},
|
|
1051
|
-
displayBasePriceExclusiveVat: {
|
|
1052
|
-
value: 18.75,
|
|
1053
|
-
formattedValue: '£18.75',
|
|
1054
|
-
currencyIso: 'GBP',
|
|
1055
|
-
formattedPriceWithoutCurrencySymbol: '18.75',
|
|
1056
|
-
},
|
|
1057
989
|
product: {
|
|
1058
990
|
code: '109451',
|
|
1059
991
|
name: 'Knauf Insulation Super Top Up 200mm Loft Roll - 5.61m²',
|