wickes-css2 2.103.0-develop.9 → 2.103.0-et-774-filter-whisk.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 (60) hide show
  1. package/build/css/category-main.css +1 -1
  2. package/build/css/homepage-main.css +1 -1
  3. package/build/css/kitchen-plp-main.css +1 -1
  4. package/build/css/main.css +1 -1
  5. package/build/css/my-account-main-v2.css +1 -1
  6. package/build/css/my-account-main.css +1 -1
  7. package/build/css/pdp-main-before-combine.css +1 -1
  8. package/build/css/pdp-main-non-critical.css +1 -1
  9. package/build/css/pdp-main.css +1 -1
  10. package/build/css/plp-main.css +1 -1
  11. package/build/css/store-locator-main.css +1 -1
  12. package/build/js/basket.min.js +2 -2
  13. package/build/js/bundle.min.js +1 -1
  14. package/build/js/checkout.min.js +2 -2
  15. package/build/js/emulation.min.js +10 -954
  16. package/build/js/general.bundle.min.js +1 -1
  17. package/build/js/kitchen/kitchen-plp.min.js +1 -1
  18. package/build/js/merged-checkout.min.js +2 -2
  19. package/build/js/page/basket-v2.js +244 -138
  20. package/build/js/page/components/discounts.js +6 -6
  21. package/build/js/page/kitchen/plp-filters.js +12 -0
  22. package/build/js/pdp.bundle.min.js +1 -1
  23. package/build/js/plp.bundle.min.js +1 -1
  24. package/build/js/project-list.min.js +1 -1
  25. package/package.json +2 -2
  26. package/src/components/mini-basket/mini-basket-empty.hbs +13 -3
  27. package/src/components/mini-basket/mini-basket.hbs +13 -32
  28. package/src/components/mini-basket/product-item.hbs +16 -37
  29. package/src/data/data_confirmation-summary.json +2 -4
  30. package/src/data/data_mini-basket.json +80 -4
  31. package/src/js/components/general/cart-slider.js +0 -4
  32. package/src/js/components/general/create-popup-slider.js +2 -5
  33. package/src/js/components/general/mini-basket-slider.js +8 -0
  34. package/src/js/emulation/custom-slider-emulation.js +10 -4
  35. package/src/js/page/basket-v2.js +244 -138
  36. package/src/js/page/components/discounts.js +6 -6
  37. package/src/js/page/kitchen/plp-filters.js +12 -0
  38. package/src/layouts/base.hbs +6 -0
  39. package/src/partials/scripts.hbs +0 -1
  40. package/src/scss/components/_custom-slider.scss +3 -131
  41. package/src/scss/components/_popover-mini-basket.scss +4 -0
  42. package/build/js/mini-basket-slider.min.js +0 -1
  43. package/build/js/page/basket/basket-update-cart-action.js +0 -59
  44. package/build/js/page/basket/basket-update-cart.js +0 -29
  45. package/build/js/page/basket/basket-utils.js +0 -50
  46. package/build/js/page/basket/mini-basket-total.js +0 -97
  47. package/build/js/page/basket/quantity-change-handler.js +0 -64
  48. package/build/js/page/basket/update-quantity-operation.js +0 -37
  49. package/build/js/page/basket/update-quantity.js +0 -65
  50. package/build/js/page/components/mini-basket-slider.js +0 -569
  51. package/src/components/mini-basket/mini-basket-order-item.hbs +0 -73
  52. package/src/js/emulation/mini-basket-data.js +0 -949
  53. package/src/js/page/basket/basket-update-cart-action.js +0 -59
  54. package/src/js/page/basket/basket-update-cart.js +0 -29
  55. package/src/js/page/basket/basket-utils.js +0 -50
  56. package/src/js/page/basket/mini-basket-total.js +0 -97
  57. package/src/js/page/basket/quantity-change-handler.js +0 -64
  58. package/src/js/page/basket/update-quantity-operation.js +0 -37
  59. package/src/js/page/basket/update-quantity.js +0 -65
  60. package/src/js/page/components/mini-basket-slider.js +0 -569
@@ -1,73 +0,0 @@
1
- <div class="card product-card-preview" data-id="{{item.entryNumber}}">
2
- <div
3
- class="products__item card__inner"
4
- data-name="{{item.product.name}}"
5
- data-id="{{item.product.code}}"
6
- data-price="{{item.product.price.formattedPriceWithoutCurrencySymbol}}"
7
- data-brand="{{item.product.brandName}}"
8
- data-category="{{removeFirst item.product.categoryPath 'Products/'}}"
9
- data-position="{{position}}"
10
- data-quantity="{{item.quantity}}"
11
- >
12
- <a href="{{item.product.url}}" class="card__img-wrap card__img-wrap_link products__image">
13
- <img
14
- class="product-img"
15
- src="{{item.product.image.url}}"
16
- alt="{{item.product.image.altText}}">
17
- </a>
18
- <div class="products__details product-card__content">
19
- <div class="products__details-header">
20
- <a href="{{item.product.url}}" class="title product-card__title product-card__title_link">
21
- {{item.product.name}}
22
- </a>
23
- <button class="btn btn--remove {{#unless item.updateable}}d-none{{/unless}}" data-action="remove">
24
- <i class="fas fa-trash remove-icon"></i>
25
- </button>
26
- </div>
27
- <div class="products__details-body">
28
- {{#if item.deliveryPointOfService.name}}
29
- <p class="item">Click &amp; Collect: <span class="value">{{item.deliveryPointOfService.description}}</span></p>
30
- {{else}}
31
- <p class="item">Added for delivery</p>
32
- {{/if}}
33
- </div>
34
-
35
- {{{promotionsHtml}}}
36
-
37
- <div class="products__details-footer">
38
- <div class="products__quantity-control">
39
- <button class="btn btn--quantity" data-action="minus"
40
- {{#unless item.updateable}}disabled{{/unless}} {{#if (eq item.quantity 1)}}disabled{{/if}}>
41
- <i class="fal fa-minus quantity-cta-icon"></i>
42
- </button>
43
- <div class="quantity product-card__quantity-label">
44
- <span class="value product-card__quantity-value" value="{{item.quantity}}">{{item.quantity}}</span>
45
- </div>
46
- <button class="btn btn--quantity" data-action="plus" {{#unless item.updateable}}disabled{{/unless}}>
47
- <i class="fal fa-plus quantity-cta-icon"></i>
48
- </button>
49
- </div>
50
- {{#if (eq item.basePrice.value 0)}}
51
- <span class="order-item__value product-card__price-value">FREE</span>
52
- {{else}}
53
- {{#if (isToggleVatAvailable)}}
54
- <div class="price including-vat-inherit">
55
- <span class="product-card__price-value">
56
- <span class="order-item__value">{{item.basePrice.formattedValue}}</span>
57
- <span class="inc">Inc.VAT</span>
58
- </span>
59
- </div>
60
- <div class="price excluding-vat-inherit">
61
- <span class="product-card__price-value">
62
- <span class="order-item__value">{{item.basePriceExcVat.formattedValue}}</span>
63
- <span class="inc">Exc.VAT</span>
64
- </span>
65
- </div>
66
- {{else}}
67
- <span class="price product-card__price-value">{{item.basePrice.formattedValue}}</span>
68
- {{/if}}
69
- {{/if}}
70
- </div>
71
- </div>
72
- </div>
73
- </div>