wickes-css2 2.96.0-develop.6 → 2.96.0-develop.7

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 (39) hide show
  1. package/build/css/components/tile-calculator.css +1 -1
  2. package/build/css/pages/page_ti.css +1 -1
  3. package/build/css/pdp-main-before-combine.css +1 -1
  4. package/build/css/pdp-main-non-critical.css +1 -1
  5. package/build/css/pdp-main.css +1 -1
  6. package/build/js/basket.min.js +1 -1
  7. package/build/js/bundle.min.js +1 -1
  8. package/build/js/checkout.min.js +1 -1
  9. package/build/js/emulation.min.js +4 -1
  10. package/build/js/general.bundle.min.js +1 -1
  11. package/build/js/merged-checkout.min.js +1 -1
  12. package/build/js/pdp.bundle.min.js +1 -1
  13. package/build/js/plp.bundle.min.js +1 -1
  14. package/build/js/project-list.min.js +1 -1
  15. package/package.json +1 -1
  16. package/src/components/pdp-info-v2.hbs +0 -37
  17. package/src/components/shopping-list-pdf.hbs +37 -7
  18. package/src/components/ti-total-area.hbs +0 -32
  19. package/src/components/ti.hbs +0 -791
  20. package/src/components/voucher.hbs +4 -6
  21. package/src/js/components/general/switchVat.js +11 -0
  22. package/src/js/emulation/project-list-print.js +4 -1
  23. package/src/layouts/base.hbs +1 -1
  24. package/src/page_activate-trade-pro-api-flow.html +62 -0
  25. package/src/page_my-shopping-list-pdf-vat.html +7 -0
  26. package/src/partials/header.hbs +1 -1
  27. package/src/scss/components/_ti-total-area.scss +0 -53
  28. package/src/scss/components/tile-calculator.scss +1 -4
  29. package/src/scss/pages/page_ti.scss +3 -719
  30. package/src/sitemap.html +4 -0
  31. package/src/components/ti-header.hbs +0 -34
  32. package/src/components/ti-radio.hbs +0 -57
  33. package/src/components/tile-banner.hbs +0 -13
  34. package/src/components/tile-why-wickes.hbs +0 -32
  35. package/src/data/data_flooring-installation.json +0 -186
  36. package/src/scss/components/_ti-header.scss +0 -43
  37. package/src/scss/components/_ti-radio.scss +0 -142
  38. package/src/scss/components/_tile-banner.scss +0 -141
  39. package/src/scss/components/_tile-why-wickes.scss +0 -57
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wickes-css2",
3
- "version": "2.96.0-develop.6",
3
+ "version": "2.96.0-develop.7",
4
4
  "description": "CSS and JS and page templates in use by Wickes",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -174,25 +174,6 @@
174
174
  </div>
175
175
  </div>
176
176
  </div>
177
- <div class="accordion accordion_collapsed additional-info info__block" id="info-tile-estimation">
178
- <a id="tile-estimation"></a>
179
- <h5 class="accordion__header additional-info__header info__header">
180
- Tile installation estimate
181
- </h5>
182
- <div class="accordion__content additional-info__content info__content" id="tile-estimation-content"
183
- style="display: none">
184
- <div class="info-content">
185
-
186
- <section class="ti">
187
- {{> tile-banner}}
188
- {{> ti header-present=true
189
- tile-measurement=true}}
190
- {{> tile-why-wickes}}
191
- </section>
192
-
193
- </div>
194
- </div>
195
- </div>
196
177
  {{/if}}
197
178
  {{#if floor}}
198
179
  <div class="accordion accordion_collapsed additional-info info__block tile-calculation"
@@ -214,23 +195,5 @@
214
195
  </div>
215
196
  </div>
216
197
  </div>
217
- <div class="accordion accordion_collapsed additional-info info__block" id="info-tile-estimation">
218
- <a id="tile-estimation"></a>
219
- <h5 class="accordion__header additional-info__header info__header">
220
- Floor installation estimate
221
- </h5>
222
- <div class="accordion__content additional-info__content info__content" id="tile-estimation-content"
223
- style="display: none">
224
- <div class="info-content">
225
- <section class="fi">
226
- {{> ti header-present=true
227
- flooring=true
228
- tile-measurement=true}}
229
- {{> tile-why-wickes}}
230
- </section>
231
-
232
- </div>
233
- </div>
234
- </div>
235
198
  {{/if}}
236
199
  </div>
@@ -78,10 +78,29 @@
78
78
  </span>
79
79
  <div class="order-line__value">
80
80
  <div class="product-card__price__value">
81
- <div class="product-card__price__value">
82
- <span class="isNotBulkDiscountOrWasPrice priceValue" itemprop="price" content="35">£35</span>
83
- </div>
84
- <div class="product-card__price__sqm">£14 per L</div>
81
+ {{#if switch-vat}}
82
+ <div class="product-card__price__value including-vat-inherit">
83
+ <span class="isNotBulkDiscountOrWasPrice priceValue" itemprop="price" content="35">£35&nbsp;</span>
84
+ <div class="price-vat">Inc.VAT</div>
85
+ </div>
86
+ <div class="product-card__price__sqm including-vat-inherit">
87
+ <span>£14 per L&nbsp;</span>
88
+ <div class="price-vat">Inc.VAT</div>
89
+ </div>
90
+ <div class="product-card__price__value excluding-vat-inherit">
91
+ <span class="isNotBulkDiscountOrWasPrice priceValue" itemprop="price" content="34">£34&nbsp;</span>
92
+ <div class="price-vat">Exc.VAT</div>
93
+ </div>
94
+ <div class="product-card__price__sqm excluding-vat-inherit">
95
+ <span>£13 per L&nbsp;</span>
96
+ <div class="price-vat">Exc.VAT</div>
97
+ </div>
98
+ {{else}}
99
+ <div class="product-card__price__value">
100
+ <span class="isNotBulkDiscountOrWasPrice priceValue" itemprop="price" content="35">£35</span>
101
+ </div>
102
+ <div class="product-card__price__sqm">£14 per L</div>
103
+ {{/if}}
85
104
  </div>
86
105
  </div>
87
106
  </div>
@@ -89,9 +108,20 @@
89
108
  <span class="order-line-shop-list__lbl">
90
109
  Item total:
91
110
  </span>
92
- <span class="order-line__value">
93
- <span class="product-card__price__total">£35</span>
94
- </span>
111
+ {{#if switch-vat}}
112
+ <span class="order-line__value including-vat-inherit">
113
+ <span class="product-card__price__total">£35&nbsp;</span>
114
+ <div class="price-vat">Inc.VAT</div>
115
+ </span>
116
+ <span class="order-line__value excluding-vat-inherit">
117
+ <span class="product-card__price__total">£34&nbsp;</span>
118
+ <div class="price-vat">Exc.VAT</div>
119
+ </span>
120
+ {{else}}
121
+ <span class="order-line__value">
122
+ <span class="product-card__price__total">£35</span>
123
+ </span>
124
+ {{/if}}
95
125
  </div>
96
126
  </div>
97
127
  </div>
@@ -1,36 +1,4 @@
1
1
  <div class="ti-total-area">
2
- <div class="step1-inactive">
3
- <p class="ti-total-area__waste">
4
- 10% wastage included
5
- </p>
6
- <div class="ti-total-area__row">
7
- <div class="ti-total-area__row-specification">
8
- Total:
9
- </div>
10
- <div class="ti-total-area__row-value">
11
- <span class="ti-total-area__row-cost">75</span>
12
- {{#unless flooring}}
13
- <span class="ti-total-area__row-sqm">SQ<span class="ti-unit_big">M</span></span>
14
- {{else}}
15
- <span><span class="ti-total-area__row-sqm fi__unit">m</span><sup>2</sup></span>
16
- {{/unless}}
17
- </div>
18
- </div>
19
- <div class="ti-total-area__row">
20
- <div class="ti-total-area__row-specification">
21
- Quantity:
22
- </div>
23
- <div class="ti-total-area__row-value">
24
- <span class="ti-total-area__row-number">22</span>
25
- {{#unless flooring}}
26
- <span class="ti-total-area__row-per-pack">packs of</span>
27
- <span class="ti-total-area__row-quantity">6</span>
28
- {{else}}
29
- <span class="ti-total-area__row-per-pack">packs</span>
30
- {{/unless}}
31
- </div>
32
- </div>
33
- </div>
34
2
  <div class="step1-active">
35
3
  <h3 class="ti-total-area__title">
36
4
  Your estimate total