wickes-css2 2.109.0-test.1 → 2.110.0
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 -0
- package/build/css/category-main.css +1 -1
- package/build/css/components/card-product-banner.css +1 -1
- package/build/css/components/special-opening-schedule-v2.css +1 -1
- package/build/css/components/special-opening-schedule.css +1 -1
- package/build/css/emulation.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/checkout-new.css +1 -1
- package/build/css/pages/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_merged-basket.css +1 -1
- package/build/css/pages/page_products-list-combined.css +1 -1
- package/build/css/pages/page_products-list.css +1 -1
- package/build/css/pages/page_shopping-cart-v2.css +1 -1
- package/build/css/pages/page_store-locator-details.css +1 -1
- package/build/css/pages/page_store-locator.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/basket.min.js +2 -2
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/emulation.min.js +490 -138
- 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/mini-basket-total.js +17 -2
- package/build/js/page/checkout-payment-details.js +8 -0
- package/build/js/page/components/notify-me.js +99 -0
- package/build/js/page/components/order-summary.js +35 -0
- package/build/js/page/components/store-locator-cards.js +76 -0
- package/build/js/pdp.bundle.min.js +2 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +1 -1
- package/build/js/store-locator-cards.min.js +1 -0
- package/build/js/toggle-password-visibility.min.js +1 -0
- package/build/js/wickes-dc.js +1 -0
- package/package.json +1 -3
- package/src/components/base/button.hbs +1 -1
- package/src/components/card-store-locator.hbs +70 -33
- package/src/components/card_bloomreach_media_banner.hbs +10 -0
- package/src/components/card_product_banner_v2.hbs +4 -1
- package/src/components/card_sponsor_banner.hbs +4 -1
- package/src/components/checkout_order-summary-new.hbs +10 -1
- package/src/components/click-and-collect-modal.hbs +0 -14
- package/src/components/date-selection.hbs +1 -1
- package/src/components/delivery-types.hbs +11 -3
- package/src/components/injected-content.hbs +6 -1
- package/src/components/modal.hbs +1 -1
- package/src/components/modals/notify-me-modal.hbs +76 -0
- package/src/components/order-summary.hbs +2 -2
- package/src/components/price-block-v2.hbs +211 -214
- package/src/components/sponsor-top-banner.hbs +10 -0
- package/src/data/data_delivery-address-v2.json +1 -1
- package/src/data/data_locators.json +441 -135
- package/src/data/data_search-results_v2.json +20 -2
- package/src/data/data_spr_injected_content.json +4 -0
- package/src/js/components/general/accordion.js +25 -2
- package/src/js/emulation/banner-placement-manager.js +235 -34
- package/src/js/emulation/checkout-delivery-details.js +28 -25
- package/src/js/emulation/custom-slider-emulation.js +1 -1
- package/src/js/emulation/date-selection.js +136 -24
- package/src/js/emulation/forms.js +12 -0
- package/src/js/emulation/gift-cards.js +1 -1
- package/src/js/emulation/mini-basket-data.js +3 -3
- package/src/js/emulation/notify-me.js +9 -0
- package/src/js/emulation/store-locator-load-more.js +69 -0
- package/src/js/emulation/switchCalendar.js +12 -8
- package/src/js/page/basket/mini-basket-total.js +17 -2
- package/src/js/page/checkout-payment-details.js +8 -0
- package/src/js/page/components/notify-me.js +99 -0
- package/src/js/page/components/order-summary.js +35 -0
- package/src/js/page/components/store-locator-cards.js +76 -0
- package/src/page_checkout_next-day-delivery-details.html +2 -2
- package/src/page_checkout_payment-details-v2-asm.html +1 -1
- package/src/page_checkout_payment-details-v2.html +1 -1
- package/src/page_checkout_payment-details_with-card-loader.html +1 -1
- package/src/page_checkout_payment-details_with-klarna-loader.html +1 -1
- package/src/page_checkout_payment-details_with-loader-v2.html +1 -1
- package/src/page_checkout_rapid-delivery-details.html +7 -5
- package/src/page_klarna_payment-details_with-klarna.html +1 -1
- package/src/page_payment-details-with-billie.html +1 -1
- package/src/page_payment-details-with-clearpay.html +1 -1
- package/src/page_payment-details-with-gift-card.html +1 -1
- package/src/page_payment-details_with_apple-pay.html +1 -1
- package/src/page_payment-details_with_google-pay.html +1 -1
- package/src/page_plp_bloomreach.html +81 -0
- package/src/page_plp_v2.html +6 -0
- package/src/page_product-details-mfe-calculator.html +9 -3
- package/src/page_store-locator-list.html +18 -28
- package/src/scss/common/_CTAs.scss +7 -3
- package/src/scss/components/_card-store-locator.scss +139 -32
- package/src/scss/components/_custom-slider.scss +18 -0
- package/src/scss/components/_date-selection-add-new-styles.scss +43 -1
- package/src/scss/components/_notify-me-modal.scss +139 -0
- package/src/scss/components/_order-summary.scss +25 -12
- package/src/scss/components/_price-block-critical.scss +2 -2
- package/src/scss/components/_price-block.scss +14 -4
- package/src/scss/components/card-product-banner.scss +35 -27
- package/src/scss/components/special-opening-schedule-v2.scss +2 -6
- package/src/scss/components/special-opening-schedule.scss +17 -4
- package/src/scss/emulation.scss +0 -6
- package/src/scss/helpers/_CTAs.scss +15 -5
- package/src/scss/pages/page_checkout_delivery-new.scss +36 -0
- package/src/scss/pages/page_products-list-combined.scss +8 -1
- package/src/scss/pages/page_products-list.scss +8 -1
- package/src/scss/pages/page_shopping-cart-v2.scss +34 -10
- package/src/scss/pages/page_store-locator.scss +48 -26
- package/src/scss/pdp-main.scss +1 -0
- package/src/scss/store-locator-main.scss +15 -1
- package/src/sitemap.html +1 -0
- package/src/js/emulation/store-locator-list.js +0 -19
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
@include make-col-ready;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
20
19
|
&__main,
|
|
21
20
|
.content,
|
|
22
21
|
.right-aside {
|
|
@@ -102,6 +101,16 @@
|
|
|
102
101
|
display: flex;
|
|
103
102
|
}
|
|
104
103
|
|
|
104
|
+
&:has(.checkout-widget__item-delivery-cost-message) {
|
|
105
|
+
.checkout-widget__item-charity {
|
|
106
|
+
order: 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.checkout-widget__voucher-accordion {
|
|
110
|
+
order: 2;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
105
114
|
.checkout-widget {
|
|
106
115
|
&__item {
|
|
107
116
|
&-bold {
|
|
@@ -128,7 +137,6 @@
|
|
|
128
137
|
}
|
|
129
138
|
}
|
|
130
139
|
|
|
131
|
-
|
|
132
140
|
&__details-discount {
|
|
133
141
|
order: 1;
|
|
134
142
|
}
|
|
@@ -151,7 +159,7 @@
|
|
|
151
159
|
.checkout-widget {
|
|
152
160
|
&__item {
|
|
153
161
|
font-weight: 400;
|
|
154
|
-
font-size: .875rem;
|
|
162
|
+
font-size: 0.875rem;
|
|
155
163
|
padding: 10px 0;
|
|
156
164
|
margin: 0;
|
|
157
165
|
|
|
@@ -175,7 +183,6 @@
|
|
|
175
183
|
padding: 0;
|
|
176
184
|
}
|
|
177
185
|
|
|
178
|
-
|
|
179
186
|
&:not(.checkout-widget__item-vat) {
|
|
180
187
|
margin-top: 0;
|
|
181
188
|
}
|
|
@@ -188,15 +195,34 @@
|
|
|
188
195
|
margin: 0;
|
|
189
196
|
padding: 0 0 10px;
|
|
190
197
|
color: $warm-grey;
|
|
191
|
-
font-size: .75rem;
|
|
198
|
+
font-size: 0.75rem;
|
|
192
199
|
border-bottom: 1px solid #eee;
|
|
193
200
|
}
|
|
201
|
+
|
|
202
|
+
&-delivery:has(+ .checkout-widget__item-delivery-cost-message) {
|
|
203
|
+
padding-bottom: 0;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
&-delivery-cost-message {
|
|
207
|
+
padding-top: 0;
|
|
208
|
+
margin-top: 4px !important;
|
|
209
|
+
margin-bottom: 0;
|
|
210
|
+
justify-content: flex-end;
|
|
211
|
+
|
|
212
|
+
#order-delivery-cost-message {
|
|
213
|
+
@include font-size(10);
|
|
214
|
+
@include line-height(12);
|
|
215
|
+
|
|
216
|
+
font-weight: 700;
|
|
217
|
+
color: $squant;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
194
220
|
}
|
|
195
221
|
|
|
196
222
|
&__detail {
|
|
197
223
|
&-name {
|
|
198
224
|
font-weight: 400;
|
|
199
|
-
font-size: .875rem;
|
|
225
|
+
font-size: 0.875rem;
|
|
200
226
|
|
|
201
227
|
.accordion__header-icon-small {
|
|
202
228
|
left: 75px;
|
|
@@ -206,7 +232,7 @@
|
|
|
206
232
|
|
|
207
233
|
&-value {
|
|
208
234
|
color: $gray-dark;
|
|
209
|
-
font-size: .875rem;
|
|
235
|
+
font-size: 0.875rem;
|
|
210
236
|
}
|
|
211
237
|
}
|
|
212
238
|
|
|
@@ -276,7 +302,7 @@
|
|
|
276
302
|
& h5 {
|
|
277
303
|
margin: 0;
|
|
278
304
|
margin-top: 8px;
|
|
279
|
-
font-size: .875rem;
|
|
305
|
+
font-size: 0.875rem;
|
|
280
306
|
}
|
|
281
307
|
}
|
|
282
308
|
}
|
|
@@ -357,7 +383,6 @@
|
|
|
357
383
|
}
|
|
358
384
|
}
|
|
359
385
|
}
|
|
360
|
-
|
|
361
386
|
}
|
|
362
387
|
}
|
|
363
388
|
}
|
|
@@ -535,7 +560,6 @@
|
|
|
535
560
|
}
|
|
536
561
|
}
|
|
537
562
|
|
|
538
|
-
|
|
539
563
|
@include media-breakpoint-up(xl) {
|
|
540
564
|
.basket {
|
|
541
565
|
.checkout-title {
|
|
@@ -7,16 +7,26 @@ h1 {
|
|
|
7
7
|
|
|
8
8
|
.cards-store {
|
|
9
9
|
&-list {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
padding-right: 0;
|
|
11
|
+
padding-left: 0;
|
|
12
|
+
height: auto;
|
|
12
13
|
|
|
13
14
|
&__actions {
|
|
14
|
-
margin:
|
|
15
|
+
margin: 24px auto 0;
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
&-wrapper {
|
|
19
20
|
padding-top: 40px;
|
|
21
|
+
|
|
22
|
+
.row {
|
|
23
|
+
display: grid;
|
|
24
|
+
grid-template-columns: 1fr;
|
|
25
|
+
gap: 16px;
|
|
26
|
+
margin-right: 0;
|
|
27
|
+
margin-left: 0;
|
|
28
|
+
align-items: start;
|
|
29
|
+
}
|
|
20
30
|
}
|
|
21
31
|
}
|
|
22
32
|
|
|
@@ -40,10 +50,6 @@ h1 {
|
|
|
40
50
|
padding-top: 20px;
|
|
41
51
|
}
|
|
42
52
|
|
|
43
|
-
.cards-store-list__actions {
|
|
44
|
-
margin: 0 auto;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
53
|
.btn_store-near-me {
|
|
48
54
|
@include button-full;
|
|
49
55
|
margin-bottom: 20px;
|
|
@@ -52,25 +58,20 @@ h1 {
|
|
|
52
58
|
@include media-breakpoint-down(sm) {
|
|
53
59
|
.cards-store {
|
|
54
60
|
&-list {
|
|
55
|
-
@include make-col-ready;
|
|
56
|
-
@include make-col(12);
|
|
57
|
-
|
|
58
61
|
&__actions {
|
|
59
|
-
|
|
60
|
-
@include make-col(12);
|
|
62
|
+
width: 100%;
|
|
61
63
|
|
|
62
64
|
.icon__eye {
|
|
63
|
-
svg
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
width: 1.3125rem;
|
|
65
|
+
svg,
|
|
66
|
+
i {
|
|
67
|
+
vertical-align: -0.15em;
|
|
67
68
|
margin-right: 5px;
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
|
|
73
|
-
&-list_open .cards-store-list:not(:nth-child(-n+3)) {
|
|
74
|
+
&-list_open .cards-store-list:not(:nth-child(-n + 3)) {
|
|
74
75
|
display: block;
|
|
75
76
|
}
|
|
76
77
|
}
|
|
@@ -92,18 +93,28 @@ h1 {
|
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
95
|
|
|
95
|
-
@include media-breakpoint-up(
|
|
96
|
+
@include media-breakpoint-up(sm) {
|
|
96
97
|
.cards-store {
|
|
97
|
-
&-
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
&-wrapper {
|
|
99
|
+
.row {
|
|
100
|
+
grid-template-columns: repeat(2, 1fr);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
100
103
|
|
|
101
|
-
|
|
102
|
-
|
|
104
|
+
&-list__actions {
|
|
105
|
+
margin: 24px 0 0;
|
|
106
|
+
display: flex;
|
|
107
|
+
justify-content: center;
|
|
108
|
+
|
|
109
|
+
.btn {
|
|
110
|
+
min-width: 148px;
|
|
111
|
+
width: auto;
|
|
103
112
|
}
|
|
104
113
|
}
|
|
105
114
|
}
|
|
115
|
+
}
|
|
106
116
|
|
|
117
|
+
@include media-breakpoint-up(md) {
|
|
107
118
|
.btn_store-near-me {
|
|
108
119
|
display: none;
|
|
109
120
|
}
|
|
@@ -111,9 +122,20 @@ h1 {
|
|
|
111
122
|
|
|
112
123
|
@include media-breakpoint-up(lg) {
|
|
113
124
|
.cards-store {
|
|
114
|
-
&-
|
|
115
|
-
|
|
116
|
-
|
|
125
|
+
&-wrapper {
|
|
126
|
+
.row {
|
|
127
|
+
grid-template-columns: repeat(3, 1fr);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@include media-breakpoint-up(xl) {
|
|
134
|
+
.cards-store {
|
|
135
|
+
&-wrapper {
|
|
136
|
+
.row {
|
|
137
|
+
grid-template-columns: repeat(4, 1fr);
|
|
138
|
+
}
|
|
117
139
|
}
|
|
118
140
|
}
|
|
119
141
|
}
|
package/src/scss/pdp-main.scss
CHANGED
|
@@ -21,9 +21,20 @@
|
|
|
21
21
|
@import 'components/special-opening-schedule-v2';
|
|
22
22
|
@import 'pages/page_store-locator';
|
|
23
23
|
@import 'pages/page_store-locator-details';
|
|
24
|
-
@import 'components/
|
|
24
|
+
@import 'components/loader';
|
|
25
|
+
// Loader
|
|
26
|
+
|
|
27
|
+
.loader-wrapper {
|
|
28
|
+
position: fixed;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Main
|
|
32
|
+
main {
|
|
33
|
+
padding-bottom: 72px;
|
|
34
|
+
}
|
|
25
35
|
|
|
26
36
|
//Component card extract start
|
|
37
|
+
|
|
27
38
|
.card {
|
|
28
39
|
flex-direction: row;
|
|
29
40
|
margin-bottom: 30px;
|
|
@@ -74,10 +85,12 @@
|
|
|
74
85
|
div {
|
|
75
86
|
font-weight: 100;
|
|
76
87
|
}
|
|
88
|
+
|
|
77
89
|
@include media-breakpoint-down(sm) {
|
|
78
90
|
width: 100%;
|
|
79
91
|
}
|
|
80
92
|
}
|
|
93
|
+
|
|
81
94
|
//Component card extract end
|
|
82
95
|
|
|
83
96
|
//Page store-locator extract start
|
|
@@ -89,4 +102,5 @@
|
|
|
89
102
|
display: none;
|
|
90
103
|
}
|
|
91
104
|
}
|
|
105
|
+
|
|
92
106
|
//Page store-locator extract end
|
package/src/sitemap.html
CHANGED
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
<li><span class="page-id">1.19</span><a href="page_homepage-with-chat-bot.html" target="_blank">Homepage - With Chat Bot Icon</a></li>
|
|
51
51
|
<li><span class="page-id">1.20</span><a href="page_plp-with-paint.html" target="_blank">Products list - With paint swatches</a></li>
|
|
52
52
|
<li><span class="page-id">1.21</span><a href="page_homepage-with-global-search-v2-vat.html" target="_blank">Homepage - With Content Search V2 VAT</a></li>
|
|
53
|
+
<li><span class="page-id">1.22</span><a href="page_plp_bloomreach.html" target="_blank">Products list Bloomreach</a></li>
|
|
53
54
|
</ul>
|
|
54
55
|
<h3>PDP</h3>
|
|
55
56
|
<ul>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
//TODO: needs refactoring in future, gather tother with range-type.js for common script
|
|
2
|
-
var Wick = Wick || {};
|
|
3
|
-
|
|
4
|
-
Wick.StoreLocator = (function () {
|
|
5
|
-
var $button = $('.store-locator__load-button'),
|
|
6
|
-
cardsListOpenClass = 'cards-store-list_open',
|
|
7
|
-
$cardsList = $('.cards-store-wrapper'),
|
|
8
|
-
$buttons = $cardsList.find($button);
|
|
9
|
-
|
|
10
|
-
$buttons.on('click', function () {
|
|
11
|
-
if ($cardsList.hasClass(cardsListOpenClass)) {
|
|
12
|
-
$('html, body').scrollTop($cardsList.parents('.cards-store-holder').offset().top + 20);
|
|
13
|
-
}
|
|
14
|
-
$cardsList.toggleClass(cardsListOpenClass);
|
|
15
|
-
$buttons.toggle();
|
|
16
|
-
});
|
|
17
|
-
})();
|
|
18
|
-
|
|
19
|
-
|