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.
Files changed (177) hide show
  1. package/Readme.md +1 -1
  2. package/build/css/category-main.css +1 -1
  3. package/build/css/components/global-search.css +1 -1
  4. package/build/css/homepage-main.css +1 -1
  5. package/build/css/kitchen-plp-main.css +1 -1
  6. package/build/css/main.css +1 -1
  7. package/build/css/my-account-main-v2.css +1 -1
  8. package/build/css/my-account-main.css +1 -1
  9. package/build/css/pages/page_personal-details.css +1 -1
  10. package/build/css/pages/page_product-details-v2.css +1 -1
  11. package/build/css/pdp-main-before-combine.css +1 -1
  12. package/build/css/pdp-main-critical.css +1 -1
  13. package/build/css/pdp-main-non-critical.css +1 -1
  14. package/build/css/pdp-main.css +1 -1
  15. package/build/css/plp-main.css +1 -1
  16. package/build/css/store-locator-main.css +1 -1
  17. package/build/js/account-hub.min.js +1 -1
  18. package/build/js/basket.min.js +2 -2
  19. package/build/js/bloomreach-widget.min.js +1 -0
  20. package/build/js/bundle.min.js +1 -1
  21. package/build/js/checkout.min.js +2 -2
  22. package/build/js/emulation.min.js +3001 -280
  23. package/build/js/general.bundle.min.js +1 -1
  24. package/build/js/gift-cards.min.js +1 -1
  25. package/build/js/merged-checkout.min.js +2 -2
  26. package/build/js/mini-basket-slider.min.js +1 -1
  27. package/build/js/page/basket-v2.js +18 -11
  28. package/build/js/page/bloomreach-widget.js +1187 -0
  29. package/build/js/page/components/discounts.js +8 -15
  30. package/build/js/page/components/mini-basket-slider.js +24 -18
  31. package/build/js/page/components/voucher.js +2 -56
  32. package/build/js/page/utils/create-count-stepper.js +30 -9
  33. package/build/js/page/utils/create-loading-button.js +37 -0
  34. package/build/js/page/utils/create-toast.js +79 -0
  35. package/build/js/page/utils/custom-dropdown.js +80 -0
  36. package/build/js/pdp-count-stepper.min.js +1 -1
  37. package/build/js/pdp.bundle.min.js +1 -1
  38. package/build/js/plp.bundle.min.js +1 -1
  39. package/build/js/project-list.min.js +1 -1
  40. package/build/js/saving-shopping-list.min.js +1 -1
  41. package/package.json +1 -1
  42. package/src/components/base/button.hbs +23 -5
  43. package/src/components/bloomreach/complete-card-dropdown.hbs +47 -0
  44. package/src/components/bloomreach/complete-card-skeleton.hbs +19 -0
  45. package/src/components/bloomreach/complete-card.hbs +138 -0
  46. package/src/components/bloomreach/complete-divider.hbs +3 -0
  47. package/src/components/bloomreach/complete-summary-skeleton.hbs +12 -0
  48. package/src/components/bloomreach/complete-summary.hbs +43 -0
  49. package/src/components/bloomreach/complete-wrapper.hbs +1 -0
  50. package/src/components/bloomreach/complete-your-project.hbs +21 -0
  51. package/src/components/cart-voucher.hbs +4 -4
  52. package/src/components/gift-cards.hbs +1 -1
  53. package/src/components/mini-basket/mini-basket-order-item.hbs +4 -4
  54. package/src/components/wismo-payment.hbs +7 -50
  55. package/src/data/data_delivery-address-v2.json +6 -6
  56. package/src/data/data_discounts.json +6 -6
  57. package/src/data/data_shopping-cart-v2.json +11 -32
  58. package/src/data/data_shopping-cart-with-energy.json +12 -12
  59. package/src/data/data_wismo.json +1 -2
  60. package/src/elements/checkbox.hbs +8 -1
  61. package/src/js/components/general/cart-slider.js +19 -6
  62. package/src/js/components/general/switchVat.js +7 -9
  63. package/src/js/emulation/basket-data.js +1 -11
  64. package/src/js/emulation/bloomreach-widget-calculations.js +132 -0
  65. package/src/js/emulation/bloomreach-widget-loading.js +11 -0
  66. package/src/js/emulation/checkout-data.js +0 -3
  67. package/src/js/emulation/mini-basket-data.js +0 -68
  68. package/src/js/emulation/mock.js +3098 -1
  69. package/src/js/emulation/notify-me.js +1 -1
  70. package/src/js/page/basket-v2.js +18 -11
  71. package/src/js/page/bloomreach-widget.js +1187 -0
  72. package/src/js/page/components/discounts.js +8 -15
  73. package/src/js/page/components/mini-basket-slider.js +24 -18
  74. package/src/js/page/components/voucher.js +2 -56
  75. package/src/js/page/utils/create-count-stepper.js +30 -9
  76. package/src/js/page/utils/create-loading-button.js +37 -0
  77. package/src/js/page/utils/create-toast.js +79 -0
  78. package/src/js/page/utils/custom-dropdown.js +80 -0
  79. package/src/layouts/checkout.hbs +0 -1
  80. package/src/page_basket-energy-efficiency.html +0 -4
  81. package/src/page_checkout_confirmation-new-marketing-consent-error.html +0 -7
  82. package/src/page_checkout_confirmation-new-marketing-consent.html +0 -4
  83. package/src/page_checkout_delivery-address-v2.html +0 -4
  84. package/src/page_checkout_delivery-details-v2-asm.html +1 -7
  85. package/src/page_checkout_delivery-details-v2-calendar-message.html +0 -4
  86. package/src/page_checkout_delivery-details-v2-oos.html +0 -4
  87. package/src/page_checkout_delivery-details-v2-wisdom-not-available.html +0 -4
  88. package/src/page_checkout_delivery-details-v2-wisdom.html +0 -4
  89. package/src/page_checkout_delivery-details-with-loader-v2.html +0 -4
  90. package/src/page_checkout_delivery-details_guest-new.html +0 -4
  91. package/src/page_checkout_delivery_address-asm-new.html +0 -4
  92. package/src/page_checkout_merge-basket-v2.html +3 -6
  93. package/src/page_checkout_merge-basket-vat-v2.html +1 -6
  94. package/src/page_checkout_merge-basket-with-energy.html +0 -4
  95. package/src/page_checkout_next-day-delivery-details.html +0 -4
  96. package/src/page_checkout_payment-details-v2-asm.html +0 -4
  97. package/src/page_checkout_payment-details-v2.html +0 -4
  98. package/src/page_checkout_payment-details_guest-click-collect-icon.html +0 -4
  99. package/src/page_checkout_payment-details_guest-with-checkout-journey.html +0 -7
  100. package/src/page_checkout_payment-details_login-with-checkout-journey.html +0 -7
  101. package/src/page_checkout_payment-details_with-card-loader.html +0 -4
  102. package/src/page_checkout_payment-details_with-loader-v2.html +0 -4
  103. package/src/page_checkout_rapid-delivery-details.html +0 -4
  104. package/src/page_empty-basket-instore.html +0 -4
  105. package/src/page_homepage-with-global-search-v2-vat.html +0 -1
  106. package/src/page_instore_progress_bar.html +0 -4
  107. package/src/page_product-details-banner.html +0 -1
  108. package/src/page_product-details-big-wins-disabled-delivery.html +0 -1
  109. package/src/page_product-details-big-wins-non-registered.html +0 -1
  110. package/src/page_product-details-big-wins-out-nearest.html +0 -1
  111. package/src/page_product-details-big-wins-unhappy.html +0 -1
  112. package/src/page_product-details-big-wins.html +0 -1
  113. package/src/page_product-details-billie.html +0 -1
  114. package/src/page_product-details-bloomreach.html +130 -0
  115. package/src/page_product-details-calculator.html +0 -1
  116. package/src/page_product-details-cashback-v2.html +0 -1
  117. package/src/page_product-details-clearpay.html +0 -1
  118. package/src/page_product-details-cnc-error-notification.html +0 -1
  119. package/src/page_product-details-cnc-success-notification-vat.html +0 -1
  120. package/src/page_product-details-cnc-success-notification.html +0 -1
  121. package/src/page_product-details-default-store.html +0 -1
  122. package/src/page_product-details-energy-efficiency.html +0 -1
  123. package/src/page_product-details-flooring-with-pr-placeholder.html +0 -1
  124. package/src/page_product-details-flooring.html +0 -1
  125. package/src/page_product-details-gallery-actual.html +0 -1
  126. package/src/page_product-details-mfe-calculator.html +0 -1
  127. package/src/page_product-details-minimum-v2.html +0 -1
  128. package/src/page_product-details-mtm-doors.html +0 -1
  129. package/src/page_product-details-only-clearpay.html +0 -1
  130. package/src/page_product-details-paint-mixing.html +0 -1
  131. package/src/page_product-details-saved-pl.html +0 -1
  132. package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +0 -1
  133. package/src/page_product-details-tile-steps-logout.html +0 -1
  134. package/src/page_product-details-tile-steps-no-new-project-list.html +0 -1
  135. package/src/page_product-details-tile-steps-with-klarna.html +0 -1
  136. package/src/page_product-details-tile-steps.html +0 -1
  137. package/src/page_product-details-v2.html +0 -1
  138. package/src/page_product-details-vat.html +0 -1
  139. package/src/page_product-details-wisdom-mcfc-registered.html +0 -1
  140. package/src/page_product-details-wisdom-mcfc.html +0 -1
  141. package/src/page_product-details-wisdom-oos-registered.html +0 -1
  142. package/src/page_product-details-wisdom-oos.html +0 -1
  143. package/src/page_product-details-wisdom-registered.html +0 -1
  144. package/src/page_product-details-wisdom.html +0 -1
  145. package/src/page_product-details-with-favourite.html +0 -1
  146. package/src/page_product-details-with-global-search-v2.html +7 -2
  147. package/src/page_product-details_no-previous-default.html +0 -1
  148. package/src/page_shopping-cart-registered-v2.html +0 -4
  149. package/src/page_shopping-cart-v2-vat.html +0 -6
  150. package/src/page_shopping-cart-v2.html +2 -5
  151. package/src/page_shopping-cart-v3-instore.html +0 -4
  152. package/src/page_track-my-order-result.html +1 -0
  153. package/src/partials/scripts.hbs +1 -0
  154. package/src/scss/common/_common.scss +1 -0
  155. package/src/scss/common/_elements.scss +13 -1
  156. package/src/scss/common/_loading-button.scss +49 -0
  157. package/src/scss/components/_notifications.scss +86 -5
  158. package/src/scss/components/bloomreach/_bloomreach.scss +3 -0
  159. package/src/scss/components/bloomreach/_complete-card-dropdown.scss +174 -0
  160. package/src/scss/components/bloomreach/_complete-card.scss +408 -0
  161. package/src/scss/components/bloomreach/_complete-your-project.scss +207 -0
  162. package/src/scss/components/global-search.scss +0 -11
  163. package/src/scss/globals/_global-components.scss +0 -1
  164. package/src/scss/helpers/_variables.scss +1 -0
  165. package/src/scss/main.scss +0 -2
  166. package/src/scss/pages/page_product-details-v2.scss +45 -2
  167. package/src/scss/pdp-main-critical.scss +0 -1
  168. package/src/scss/pdp-main.scss +1 -1
  169. package/src/sitemap.html +6 -0
  170. package/src/components/checkout-voucher-remove-modal.hbs +0 -16
  171. package/src/components/tradepro-discount-banner.hbs +0 -8
  172. package/src/js/components/general/tradepro-discount-banner.js +0 -69
  173. package/src/js/emulation/tradepro-discount-banner-emulation.js +0 -13
  174. package/src/scss/components/_checkout-voucher-remove-modal.scss +0 -108
  175. package/src/scss/components/_pdp-action-v2-critical.scss +0 -27
  176. package/src/scss/components/_pdp-action-v2.scss +0 -27
  177. 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²',