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/src/sitemap.html CHANGED
@@ -644,6 +644,10 @@
644
644
  <span class="page-id">10.1</span>
645
645
  <a href="page_activate-trade-pro.html" target="_blank">Activate Trade Pro account</a>
646
646
  </li>
647
+ <li>
648
+ <span class="page-id">10.1.1</span>
649
+ <a href="page_activate-trade-pro-api-flow.html" target="_blank">Activate Trade Pro account API flow</a>
650
+ </li>
647
651
  <li>
648
652
  <span class="page-id">10.2</span>
649
653
  <a href="page_tradePro-checkout-summary.html" target="_blank">TradePro Checkout Summary</a>
@@ -1,34 +0,0 @@
1
- <header class="ti__header {{headerClass}}">
2
- <h3>
3
- {{#if number}}
4
- <span class="ti__header-number">
5
- {{number}}
6
- </span>
7
- {{/if}}
8
- {{#if title}}
9
- <span class="ti__header-title">
10
- {{title}}
11
- </span>
12
- {{/if}}
13
- {{#if hint}}
14
- <span class="ti__header-hint">
15
- (in square
16
- <span class="ti__header-unit">
17
- meters
18
- </span>
19
- -
20
- {{#if flooring}}
21
- <span><span class="ti-unit_big">m</span><sup>2</sup></span>
22
- {{else}}
23
- <span>SQ<span class="ti-unit_big">M</span></span>
24
- {{/if}}
25
- )
26
- </span>
27
- {{/if}}
28
- </h3>
29
- {{#if linkClass}}
30
- <a href="#" class="{{linkClass}}">
31
- View/Edit
32
- </a>
33
- {{/if}}
34
- </header>
@@ -1,57 +0,0 @@
1
- <div class="choose {{class}}">
2
- {{#each step}}
3
- {{> radiobutton
4
- name=radioName
5
- id=radioID
6
- label=radioLabel
7
- class=radioClass}}
8
- {{#if additionalBlock}}
9
- <div class="form-details">
10
- <div class="form-details__row">
11
- <div class="form-details__info">
12
- Simply complete your details below and click "Continue".
13
- </div>
14
- <div class="form-details__descr">
15
- <div class="warning-required">Required fields</div>
16
- </div>
17
- </div>
18
-
19
- <div class="form-row" data-row-required>
20
- <label class="form-row__label form-row__label_required" for="first-name">Your name:</label>
21
- <div class="form-row__field">
22
- <input type="text" class="tbx" id="first-name" name="first-name">
23
- </div>
24
- <div class="form-row__error">Please enter your name.</div>
25
- </div>
26
-
27
- <div class="form-row" data-row-required>
28
- <label class="form-row__label form-row__label_required" for="mobile-telephone">Phone number:</label>
29
- <div class="form-row__field">
30
- <input type="tel" class="tbx" id="mobile-telephone" name="mobile-telephone">
31
- </div>
32
- <div class="form-row__error">Please enter a valid phone number.</div>
33
- </div>
34
-
35
- <div class="form-row" data-row-required>
36
- <label class="form-row__label form-row__label_required" for="email">E-mail address:</label>
37
- <div class="form-row__field">
38
- <input type="email" class="tbx" id="email" name="email">
39
- </div>
40
- <div class="form-row__error">Please enter a valid email address. For example josmith@domain.com</div>
41
- </div>
42
- </div>
43
- {{/if}}
44
- {{/each}}
45
- {{#if listTitle}}
46
- <p class="choose__info">
47
- {{ listTitle }}
48
- </p>
49
- <ul class="choose__list">
50
- {{#each sourse }}
51
- <li class="choose__item">
52
- {{label}}
53
- </li>
54
- {{/each}}
55
- </ul>
56
- {{/if}}
57
- </div>
@@ -1,13 +0,0 @@
1
- <div class="tile-estimation__banner">
2
- <img src="./img/wickes-logo.svg" alt="logo" class="tile-estimation__banner-logo">
3
- <div class="tile-estimation__banner-info">
4
- <h3 class="tile-estimation__banner-header">
5
- Calculate the cost of your complete tiling project
6
- with our no-obligation tile estimation tool.
7
- </h3>
8
- <p class="tile-estimation__banner-text">
9
- From your chosen tiles to installation guaranteed by us,
10
- we offer a complete tiling service.
11
- </p>
12
- </div>
13
- </div>
@@ -1,32 +0,0 @@
1
- <div class="why-wickes">
2
- <h4 class="why-wickes__header">
3
- Why Wickes?
4
- </h4>
5
- <ul class="why-wickes__list">
6
- <li class="why-wickes__item">
7
- <i class="fas fa-check-circle why-wickes__bullet"></i>
8
- <p class="why-wickes__info">
9
- Our approved installer will complete a technical survey prior to installation
10
- </p>
11
- </li>
12
- <li class="why-wickes__item">
13
- <i class="fas fa-check-circle why-wickes__bullet"></i>
14
- <p class="why-wickes__info">
15
- We provide a 2-year guarantee on workmanship
16
- </p>
17
- </li>
18
- <li class="why-wickes__item">
19
- <i class="fas fa-check-circle why-wickes__bullet"></i>
20
- <p class="why-wickes__info">
21
- We dispose of your old tiles in an environmentally-friendly way
22
- </p>
23
- </li>
24
- <li class="why-wickes__item">
25
- <i class="fas fa-check-circle why-wickes__bullet"></i>
26
- <p class="why-wickes__info">
27
- Your installation estimate includes adhesive, plastic trim and standard
28
- grout colours to finish your tiling job
29
- </p>
30
- </li>
31
- </ul>
32
- </div>
@@ -1,186 +0,0 @@
1
- {
2
- "flooring-installation": {
3
- "step2": {
4
- "removalExist": [
5
- {
6
- "label": "Existing laminate or wooden floor",
7
- "id": "removal-exist-yes-lam"
8
- },
9
- {
10
- "label": "Existing glued or tiled floor",
11
- "id": "removal-exist-yes-tile"
12
- },
13
- {
14
- "label": "Not needed",
15
- "id": "removal-exist-no"
16
- }
17
- ],
18
- "removalWaste": [
19
- {
20
- "label": "Yes",
21
- "id": "removal-waste-yes"
22
- },
23
- {
24
- "label": "No",
25
- "id": "removal-waste-no"
26
- }
27
- ],
28
- "leveling": [
29
- {
30
- "label": "Yes",
31
- "id": "leveling-yes"
32
- },
33
- {
34
- "label": "No",
35
- "id": "leveling-no"
36
- },
37
- {
38
- "label": "Unsure",
39
- "id": "leveling-unsure"
40
- }
41
- ],
42
- "additionLeveling": [
43
- {
44
- "label": "Wooden floating floor",
45
- "id": "wooden"
46
- },
47
- {
48
- "label": "Concrete",
49
- "id": "concrete"
50
- }
51
- ],
52
- "threshold": {
53
- "radio": [
54
- {
55
- "label": "Yes",
56
- "id": "threshold-yes"
57
- },
58
- {
59
- "label": "No",
60
- "id": "threshold-no"
61
- }
62
- ],
63
- "cards": [
64
- {
65
- "title": "Shimba/Alberto/Salerno Variable Height Threshold Bar - 900mm Shimba / Alberto / Salerno Variable Height Threshold Bar",
66
- "src": "https://media.wickes.co.uk/is/image/wickes/W6149_201521_00?id=WFNRV0&fmt=jpg&fit=constrain,1&wid=348&hei=275",
67
- "price": 10,
68
- "quantity": 1,
69
- "badge": "2 for £40",
70
- "description": [
71
- "Length: 900 mm",
72
- "Material: Plastic",
73
- "Self Adhesive Base - No Drilling or Nailing required",
74
- "Ideal for single door"
75
- ]
76
- },
77
- {
78
- "title": "Wickes Carpet To Laminate Joint Trim Silver",
79
- "src": "https://media.wickes.co.uk/is/image/wickes/W6149_201521_00?id=WFNRV0&fmt=jpg&fit=constrain,1&wid=348&hei=275",
80
- "price": 4.50,
81
- "quantity": 1,
82
- "description": [
83
- "Length: 900 mm",
84
- "Material: Metal",
85
- "Ideal for single door"
86
- ]
87
- }
88
- ]
89
- },
90
- "trimming": {
91
- "radio": [
92
- {
93
- "label": "Yes",
94
- "id": "trimming-yes"
95
- },
96
- {
97
- "label": "No",
98
- "id": "trimming-no"
99
- },
100
- {
101
- "label": "Unsure",
102
- "id": "trimming-unsure"
103
- }
104
- ]
105
- },
106
- "scotia": {
107
- "radio": [
108
- {
109
- "label": "Yes",
110
- "id": "scotia-yes"
111
- },
112
- {
113
- "label": "No",
114
- "id": "scotia-no"
115
- }
116
- ],
117
- "cards": [
118
- {
119
- "title": "Vitrex White Flooring Trim - 2m",
120
- "src": "https://media.wickes.co.uk/is/image/wickes/C1875_121198_00?$normal$",
121
- "price": 5,
122
- "quantity": 1,
123
- "quantity-sqm": 25,
124
- "description": [
125
- "Length: 2m",
126
- "Material: MDF",
127
- "Simple to fit"
128
- ]
129
- },
130
- {
131
- "title": "Shimba/Alberto/Salerno Oak Laminate Flooring Trim - 2m",
132
- "src": "https://media.wickes.co.uk/is/image/wickes/C1875_121198_00?$normal$",
133
- "price": 6,
134
- "quantity": 1,
135
- "quantity-sqm": 25,
136
- "description": [
137
- "Length: 2m",
138
- "Material: MDF",
139
- "For use with Laminate, Engineered & Solid Wood",
140
- "Simple to fit"
141
- ]
142
- }
143
- ]
144
- },
145
- "underlay": {
146
- "radio": [
147
- {
148
- "label": "Yes",
149
- "id": "underlay-yes"
150
- },
151
- {
152
- "label": "No",
153
- "id": "underlay-no"
154
- }
155
- ],
156
- "cards": [
157
- {
158
- "title": "Arbiton PE Foam Flooring Underlay - 15m Pack",
159
- "src": "https://media.wickes.co.uk/is/image/wickes/W6149_620801_00?$normal$",
160
- "price": 15,
161
- "quantity": 2,
162
- "quantity-sqm": 25,
163
- "badge": "2 for £40",
164
- "description": [
165
- "Material: Foam",
166
- "Suitable for both timber and concrete substrates",
167
- "Strong thermal resistance - 0.4 Tog, ideal for cold rooms or flats"
168
- ]
169
- },
170
- {
171
- "title": "Wickes Carpet To Laminate Joint Trim Silver",
172
- "src": "https://media.wickes.co.uk/is/image/wickes/W6149_620801_00?$normal$",
173
- "price": 26,
174
- "quantity": 2,
175
- "quantity-sqm": 25,
176
- "description": [
177
- "Material: XPS",
178
- "Suitable for both timber and concrete substrates",
179
- "High compressive strength up to 90 kpa which is ideal for click systems"
180
- ]
181
- }
182
- ]
183
- }
184
- }
185
- }
186
- }
@@ -1,43 +0,0 @@
1
- .ti__header {
2
- @include make-col(12);
3
- position: relative;
4
- padding: 15px 0;
5
- border-bottom: 1px solid $gray-light;
6
-
7
- &-inactive .ti__header-number,
8
- &-inactive .ti__header-title,
9
- &-inactive .ti__header-hint {
10
- opacity: .5;
11
- }
12
-
13
- & h3 {
14
- margin-bottom: 0;
15
- }
16
-
17
- &-number {
18
- display: block;
19
- color: $pewter;
20
- }
21
-
22
- &-title {
23
- display: block;
24
- line-height: 1;
25
- margin-top: -2px;
26
- }
27
-
28
- &-hint {
29
- display: block;
30
- color: $pewter;
31
- font-size: .875rem;
32
- font-weight: 400;
33
- line-height: 24px;
34
-
35
- &.ti__header-hint {
36
- margin-bottom: -8px;
37
- }
38
-
39
- @include media-breakpoint-down(sm) {
40
- font-weight: 700;
41
- }
42
- }
43
- }
@@ -1,142 +0,0 @@
1
- .choose {
2
- width: 100%;
3
- background: $gray-bg;
4
- padding: 20px;
5
- height: auto;
6
- display: flex;
7
- flex-direction: column;
8
-
9
- &__info {
10
- padding-top: 10px;
11
- padding-left: 34px;
12
- font-size: .875rem;
13
- font-weight: 700;
14
- line-height: 22px;
15
- margin-bottom: 0;
16
- }
17
-
18
- &__list {
19
- padding-left: 50px;
20
- list-style-position: outside;
21
- margin-bottom: 0;
22
- }
23
-
24
- &__item {
25
- font-size: .875rem;
26
- font-weight: 400;
27
- line-height: 24px;
28
- }
29
-
30
- &__add {
31
- text-align: center;
32
-
33
- .ti__phone {
34
- padding: 6px;
35
- margin-right: .75rem;
36
- border: 1px solid $blue;
37
- border-radius: 50%;
38
- text-align: center;
39
- color: $blue;
40
- align-self: center;
41
- display: flex;
42
- }
43
-
44
- .contact-info {
45
- margin: 0;
46
-
47
- a {
48
- text-decoration: none;
49
-
50
- &:hover {
51
- text-decoration: underline;
52
- }
53
- }
54
- }
55
- }
56
-
57
- &__callback {
58
- .form-details {
59
- display: none;
60
-
61
- &_open {
62
- display: block;
63
-
64
- .form-row__error {
65
- display: none;
66
- }
67
- }
68
-
69
- &__info {
70
- font-weight: bold;
71
- }
72
-
73
- .warning-required {
74
- margin-top: 10px;
75
- margin-bottom: 20px;
76
- }
77
- }
78
- }
79
- }
80
-
81
- @include media-breakpoint-down(md) {
82
- .choose {
83
- padding: 15px;
84
- }
85
- }
86
-
87
- @include media-breakpoint-down(sm) {
88
- .choose {
89
- &__callback {
90
- & label {
91
- padding-bottom: 10px;
92
- }
93
- }
94
-
95
- &__callback,
96
- &__add {
97
- height: auto;
98
- }
99
-
100
- &__add {
101
- .ti__phone {
102
- align-self: baseline;
103
- }
104
-
105
- .contact-info {
106
- text-align: left;
107
- }
108
- }
109
-
110
- &__info {
111
- padding-left: 0;
112
- }
113
-
114
- &__list {
115
- padding-left: 15px;
116
- }
117
-
118
- .form-details {
119
- .form-row {
120
- padding: 0;
121
- }
122
- }
123
- }
124
- }
125
-
126
- @include media-breakpoint-up(md) {
127
- .ti__choose {
128
- .choose {
129
- &__callback {
130
- & label {
131
- margin-bottom: .75rem;
132
- }
133
-
134
- .form-details {
135
- margin-left: 34px;
136
- width: 50%;
137
- margin-bottom: 25px;
138
- }
139
- }
140
- }
141
- }
142
- }
@@ -1,141 +0,0 @@
1
- @import '../helpers/helpers';
2
-
3
- .tile-estimation {
4
- &__banner {
5
- position: relative;
6
- width: 100%;
7
- height: 240px;
8
- background: url('./../img/placeholders/tile-banner-desktop.jpg') no-repeat center center;
9
- background-size: cover;
10
-
11
- @include media-breakpoint-only(md) {
12
- background-image: url('./../img/placeholders/tile-banner-tablet.jpg');
13
- height: 200px;
14
- }
15
-
16
- @include media-breakpoint-down(sm) {
17
- background-image: url('./../img/placeholders/tile-banner-mobile.jpg');
18
- height: 220px;
19
- }
20
-
21
- &-logo {
22
- height: auto;
23
- position: absolute;
24
- top: 0;
25
-
26
- @include media-breakpoint-up(lg) {
27
- right: 20px;
28
- width: 90px;
29
- }
30
-
31
- @include media-breakpoint-only(md) {
32
- left: 15px;
33
- width: 75px;
34
- }
35
-
36
- @include media-breakpoint-down(sm) {
37
- right: 10px;
38
- width: 60px;
39
- }
40
- }
41
-
42
- &-info {
43
- position: relative;
44
- left: 20px;
45
-
46
- @include media-breakpoint-up(lg) {
47
- max-width: 570px;
48
- top: 50px;
49
- }
50
-
51
- @include media-breakpoint-only(md) {
52
- top: 50%;
53
- transform: translateY(-50%);
54
- max-width: 360px;
55
- left: 15px;
56
- }
57
-
58
- @include media-breakpoint-down(sm) {
59
- max-width: 170px;
60
- top: 50%;
61
- transform: translateY(-50%);
62
- left: 10px;
63
- }
64
-
65
- &::after {
66
- content: '';
67
- position: absolute;
68
- bottom: -20px;
69
-
70
- width: 90px;
71
- border-top: 3px solid $blue-dark;
72
-
73
- @include media-breakpoint-up(lg) {
74
- left: 50%;
75
- transform: translateX(-50%);
76
- }
77
-
78
- @include media-breakpoint-only(md) {
79
- left: 0;
80
- }
81
-
82
- @include media-breakpoint-down(sm) {
83
- left: 0;
84
- width: 25px;
85
- bottom: -15px;
86
- }
87
- }
88
- }
89
-
90
- &-header {
91
- text-align: center;
92
- font-size: 1.375rem;
93
- font-weight: 700;
94
- line-height: 32px;
95
- margin-bottom: 0;
96
-
97
- @include media-breakpoint-only(md) {
98
- text-align: left;
99
- max-width: 360px;
100
- font-size: 1rem;
101
- line-height: 23px;
102
- }
103
-
104
- @include media-breakpoint-down(sm) {
105
- text-align: left;
106
- max-width: 170px;
107
- font-size: .875rem;
108
- font-weight: 700;
109
- line-height: 19px;
110
- }
111
- }
112
-
113
- &-text {
114
- text-align: center;
115
- max-width: 430px;
116
- font-size: 1.125rem;
117
- font-weight: 400;
118
- line-height: 24px;
119
- margin-bottom: 0;
120
-
121
- @include media-breakpoint-up(lg) {
122
- margin: 10px auto 0;
123
- }
124
-
125
- @include media-breakpoint-only(md) {
126
- margin-top: 5px;
127
- text-align: left;
128
- max-width: 320px;
129
- font-size: $font-size-13;
130
- }
131
-
132
- @include media-breakpoint-down(sm) {
133
- max-width: 155px;
134
- text-align: left;
135
- font-size: $font-size-13;
136
- font-weight: 400;
137
- line-height: 17px;
138
- }
139
- }
140
- }
141
- }