wickes-css2 2.94.0-develop.6 → 2.94.0-ic-298-mega-nav.1

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 (180) hide show
  1. package/Readme.md +1 -1
  2. package/build/css/category-main.css +1 -1
  3. package/build/css/components/checkout-payment-details-v2.css +1 -1
  4. package/build/css/emulation.css +1 -1
  5. package/build/css/homepage-main.css +1 -1
  6. package/build/css/main.css +1 -1
  7. package/build/css/my-account-main.css +1 -1
  8. package/build/css/pages/checkout-new.css +1 -1
  9. package/build/css/pages/checkout.css +1 -1
  10. package/build/css/pages/my-account.css +1 -1
  11. package/build/css/pages/page_checkout_delivery-new.css +1 -1
  12. package/build/css/pages/page_product-details-v2-critical.css +1 -1
  13. package/build/css/pages/page_product-details-v2.css +1 -1
  14. package/build/css/pages/page_shopping-cart-v2.css +1 -1
  15. package/build/css/pdp-main-before-combine.css +1 -1
  16. package/build/css/pdp-main-critical.css +1 -1
  17. package/build/css/pdp-main-non-critical.css +1 -1
  18. package/build/css/pdp-main.css +1 -1
  19. package/build/css/plp-main.css +1 -1
  20. package/build/css/store-locator-main.css +1 -1
  21. package/build/img/placeholders/discount-sm-15.jpg +0 -0
  22. package/build/img/placeholders/discount-sm.png +0 -0
  23. package/build/js/account-members.min.js +1 -1
  24. package/build/js/basket.min.js +1 -1
  25. package/build/js/bundle.min.js +1 -1
  26. package/build/js/checkout.min.js +1 -1
  27. package/build/js/emulation.min.js +30 -177
  28. package/build/js/general.bundle.min.js +1 -1
  29. package/build/js/merged-checkout.min.js +1 -1
  30. package/build/js/page/plp-load-more.js +0 -1
  31. package/build/js/pdp.bundle.min.js +1 -1
  32. package/build/js/plp.bundle.min.js +1 -1
  33. package/build/js/project-list.min.js +1 -1
  34. package/package.json +1 -1
  35. package/src/components/account-families/actions-bar.hbs +3 -6
  36. package/src/components/aside-nav2.hbs +1 -1
  37. package/src/components/calendar-time-table-v2.hbs +3 -0
  38. package/src/components/calendar-time-table.hbs +3 -0
  39. package/src/components/date-selection-v2.hbs +106 -0
  40. package/src/components/date-selection.hbs +59 -46
  41. package/src/components/delivery-selection.hbs +11 -0
  42. package/src/components/delivery-types-v2.hbs +17 -0
  43. package/src/components/delivery-types.hbs +38 -18
  44. package/src/components/navigation/menu-item-sub.hbs +33 -0
  45. package/src/components/navigation/menu-item-top.hbs +32 -0
  46. package/src/components/navigation/menu-item.hbs +32 -0
  47. package/src/components/navigation/nav-wrapper.hbs +12 -0
  48. package/src/components/store-details.hbs +20 -22
  49. package/src/components/store-preview.hbs +11 -0
  50. package/src/components.html +0 -1
  51. package/src/data/data_big-wins-stores.json +22 -0
  52. package/src/data/data_notification-page.json +0 -4
  53. package/src/data/navigation.json +854 -0
  54. package/src/elements/dropdown.hbs +5 -16
  55. package/src/elements/form-row.hbs +1 -1
  56. package/src/elements/input.hbs +2 -2
  57. package/src/img/placeholders/discount-sm-15.jpg +0 -0
  58. package/src/img/placeholders/discount-sm.png +0 -0
  59. package/src/js/components/date-selection.js +20 -6
  60. package/src/js/components/general/main-nav.js +23 -14
  61. package/src/js/components/general/switchVat.js +1 -27
  62. package/src/js/components/leave-event.js +5 -51
  63. package/src/js/emulation/big-wins.js +2 -0
  64. package/src/js/emulation/date-selection.js +21 -0
  65. package/src/js/emulation/forms.js +1 -1
  66. package/src/js/emulation/main-nav-local.js +6 -4
  67. package/src/js/page/plp-load-more.js +0 -1
  68. package/src/layouts/my-account.hbs +1 -1
  69. package/src/page_checkout_delivery-address.html +70 -0
  70. package/src/page_checkout_delivery-details-ASM.html +251 -0
  71. package/src/page_checkout_delivery-details-oos-partially.html +215 -0
  72. package/src/page_checkout_delivery-details-oos.html +232 -0
  73. package/src/page_checkout_delivery-details-v2-asm.html +3 -3
  74. package/src/page_checkout_delivery-details-v2-calendar-message.html +1 -1
  75. package/src/page_checkout_delivery-details-v2-oos.html +1 -1
  76. package/src/page_checkout_delivery-details-v2-wisdom-not-available.html +2 -2
  77. package/src/page_checkout_delivery-details-v2-wisdom.html +2 -2
  78. package/src/{page_checkout_rapid-delivery-details.html → page_checkout_delivery-details-v2.html} +3 -14
  79. package/src/page_checkout_delivery-details-with-loader-v2.html +1 -1
  80. package/src/page_checkout_delivery-details-with-loader.html +220 -0
  81. package/src/page_checkout_delivery-details.html +221 -0
  82. package/src/page_checkout_delivery-details_guest-new.html +1 -1
  83. package/src/page_checkout_delivery-details_guest.html +198 -0
  84. package/src/page_discount_installer.html +1 -7
  85. package/src/page_marketing-preferences.html +1 -7
  86. package/src/page_my-account.html +59 -56
  87. package/src/page_my-account_address-book.html +2 -8
  88. package/src/page_my-account_order-history.html +3 -8
  89. package/src/page_my-account_personal-details.html +1 -7
  90. package/src/page_old-navigation.html +10 -0
  91. package/src/page_tradePro_delivery-details.html +243 -0
  92. package/src/page_tradePro_discount.html +2 -8
  93. package/src/page_tradePro_rewards.html +1 -7
  94. package/src/page_wismo-order-history-loadmore.html +3 -3
  95. package/src/partials/breadcrumbs.hbs +8 -27
  96. package/src/partials/head.hbs +1 -5
  97. package/src/partials/header.hbs +49 -68
  98. package/src/partials/main-nav.hbs +15 -19
  99. package/src/scss/barclays-paypage-combined-minified.css +1 -1
  100. package/src/scss/barclays-paypage-combined.css +15 -9
  101. package/src/scss/components/_aside-nav2.scss +0 -18
  102. package/src/scss/components/_big-wins-critical.scss +1 -0
  103. package/src/scss/components/_big-wins.scss +8 -1
  104. package/src/scss/components/_date-selection-add-new-styles.scss +19 -78
  105. package/src/scss/components/_date-selection.scss +215 -30
  106. package/src/scss/components/_order-item-cc.scss +6 -0
  107. package/src/scss/components/checkout-payment-details-v2.scss +2 -2
  108. package/src/scss/emulation.scss +24 -0
  109. package/src/scss/helpers/_variables.scss +1 -3
  110. package/src/scss/pages/_my-account_new.scss +12 -1
  111. package/src/scss/pages/checkout-new.scss +0 -51
  112. package/src/scss/pages/my-account.scss +0 -1
  113. package/src/scss/pages/page_checkout_delivery-new.scss +1 -2
  114. package/src/scss/pages/page_paint-mixing-error.scss +1 -1
  115. package/src/scss/partials/_header.scss +0 -35
  116. package/src/scss/partials/_main-nav.scss +11 -6
  117. package/src/sitemap.html +78 -49
  118. package/build/css/my-account-main-v2.css +0 -1
  119. package/build/css/pages/my-account-v2.css +0 -1
  120. package/build/css/pages/page_default-store.css +0 -1
  121. package/build/css/pages/page_personal-details.css +0 -1
  122. package/build/js/default-store.min.js +0 -1
  123. package/build/js/my-account.min.js +0 -1
  124. package/build/js/page/default-store.js +0 -44
  125. package/build/js/page/my-account.js +0 -51
  126. package/build/js/page/personal-details.js +0 -286
  127. package/build/js/personal-details.min.js +0 -1
  128. package/src/components/banner-news.hbs +0 -8
  129. package/src/components/default-store/current-store.hbs +0 -60
  130. package/src/components/default-store/list-of-store.hbs +0 -39
  131. package/src/components/default-store/store-form.hbs +0 -29
  132. package/src/components/default-store/store-unavailable.hbs +0 -4
  133. package/src/components/my-account/active-orders/consignment-info.hbs +0 -11
  134. package/src/components/my-account/active-orders/header.hbs +0 -4
  135. package/src/components/my-account/active-orders/list-orders.hbs +0 -9
  136. package/src/components/my-account/active-orders/order-details.hbs +0 -18
  137. package/src/components/my-account/active-orders/order-header.hbs +0 -7
  138. package/src/components/my-account/active-orders/order.hbs +0 -20
  139. package/src/components/my-account/active-orders/shipment-detail.hbs +0 -13
  140. package/src/components/my-account/barcode.hbs +0 -17
  141. package/src/components/my-account/clipboard-code-card.hbs +0 -16
  142. package/src/components/my-account/contact-us.hbs +0 -23
  143. package/src/components/my-account/discount.hbs +0 -11
  144. package/src/components/my-account/greetings.hbs +0 -7
  145. package/src/components/my-account/leave-modal.hbs +0 -13
  146. package/src/components/my-account/menu-items.hbs +0 -25
  147. package/src/components/my-account/mobile-nav.hbs +0 -46
  148. package/src/components/my-account/personal-details-form.hbs +0 -29
  149. package/src/components/my-account/personal-details.hbs +0 -14
  150. package/src/components/my-account/user-account-actions.hbs +0 -18
  151. package/src/components/user-information-field.hbs +0 -4
  152. package/src/data/data_calendar.json +0 -149
  153. package/src/data/my-account/data_my-account.json +0 -469
  154. package/src/data/my-account/data_personal-details.json +0 -204
  155. package/src/data/my-account/page_default-store.json +0 -158
  156. package/src/js/components/leave-event-v2.js +0 -0
  157. package/src/js/emulation/default-store.js +0 -97
  158. package/src/js/emulation/personal-details-local.js +0 -73
  159. package/src/js/page/default-store.js +0 -44
  160. package/src/js/page/my-account.js +0 -51
  161. package/src/js/page/personal-details.js +0 -286
  162. package/src/layouts/my-account-v2.hbs +0 -27
  163. package/src/page_checkout_next-day-delivery-details.html +0 -161
  164. package/src/page_checkout_payment-details_with-card-loader.html +0 -56
  165. package/src/page_default-store-page-empty.html +0 -48
  166. package/src/page_default-store-page.html +0 -55
  167. package/src/page_my-account-installer.html +0 -93
  168. package/src/page_my-account-trade-pro.html +0 -91
  169. package/src/page_personal-details-installer.html +0 -62
  170. package/src/page_personal-details.html +0 -60
  171. package/src/scss/components/my-account/_consignment-info.scss +0 -46
  172. package/src/scss/components/my-account/_contacts.scss +0 -116
  173. package/src/scss/components/my-account/_menu.scss +0 -215
  174. package/src/scss/components/my-account/_mobile-nav.scss +0 -130
  175. package/src/scss/components/my-account/_order.scss +0 -112
  176. package/src/scss/components/my-account/_shipment.scss +0 -93
  177. package/src/scss/my-account-main-v2.scss +0 -32
  178. package/src/scss/pages/my-account-v2.scss +0 -570
  179. package/src/scss/pages/page_default-store.scss +0 -634
  180. package/src/scss/pages/page_personal-details.scss +0 -281
@@ -1,570 +0,0 @@
1
- @import '../helpers/helpers';
2
- @import '../components/my-account/consignment-info';
3
- @import '../components/my-account/shipment';
4
- @import '../components/my-account/order';
5
- @import '../components/my-account/menu';
6
- @import '../components/my-account/contacts';
7
- @import '../components/my-account/mobile-nav';
8
-
9
- .my-account {
10
- margin: 0;
11
- display: block;
12
- padding: 0;
13
-
14
- .notification {
15
- &_general {
16
- margin-bottom: 8px;
17
- margin-top: 8px;
18
- }
19
-
20
- &_reminder {
21
- margin: 0 0 1.5rem;
22
- }
23
-
24
- &_link {
25
- color: $white;
26
- text-decoration: none;
27
- padding: 0 5px;
28
-
29
- &:hover {
30
- text-decoration: none;
31
- color: $white;
32
- }
33
- }
34
-
35
- &_info-message {
36
- border: 0;
37
- text-align: center;
38
- margin: 0;
39
- background: $virid-darker;
40
- color: $white;
41
- padding: 4px 5px;
42
- font-size: .75rem;
43
- }
44
- }
45
-
46
- .account-actions {
47
- background: $gray-bg;
48
- padding: 24px 0;
49
-
50
- &__list {
51
- list-style-type: none;
52
- display: flex;
53
- flex-direction: column;
54
- background: $white;
55
- padding: 16px;
56
- margin-bottom: 0;
57
- }
58
-
59
- &__item {
60
- & + .account-actions__item {
61
- margin-top: 16px;
62
- }
63
- }
64
-
65
- &__link {
66
- text-decoration: none;
67
- font-weight: 500;
68
- color: $blue;
69
- display: flex;
70
- align-items: center;
71
- transition: all .3s;
72
-
73
- &:hover {
74
- opacity: .7;
75
- text-decoration: underline;
76
- }
77
-
78
- .icon {
79
- width: 24px;
80
- height: 24px;
81
- display: flex;
82
- align-items: center;
83
- justify-content: center;
84
- margin-right: 8px;
85
- font-size: 1rem;
86
- }
87
- }
88
- }
89
-
90
- .account-summary {
91
- background: $ma-white;
92
- padding: 24px 0;
93
-
94
- &__wrapper {
95
- background: $blue-dark;
96
- border-radius: 4px;
97
- color: $white;
98
- padding: 16px;
99
- width: 100%;
100
- }
101
- }
102
-
103
- .discount,
104
- .clipboard-code {
105
- background: rgba(255, 255, 255, .08);
106
- border-radius: 4px;
107
- padding: 16px;
108
-
109
- .title {
110
- margin-bottom: 0;
111
- font-weight: 700;
112
- font-size: 1rem;
113
- line-height: 1.25rem;
114
- }
115
-
116
- .subtitle {
117
- display: inline-block;
118
- font-weight: 400;
119
- font-size: .875rem;
120
- line-height: 1.375rem;
121
- }
122
- }
123
-
124
- .discount {
125
- margin-top: 16px;
126
- padding-bottom: 26px;
127
-
128
- &__content {
129
- display: flex;
130
-
131
- .subtitle {
132
- margin: 4px 0 0;
133
- }
134
-
135
- .icon {
136
- font-size: 1.44rem;
137
- height: 18px;
138
- margin: 6px 4px;
139
- color: $blue-satin;
140
- }
141
- }
142
-
143
- &__code {
144
- margin-left: 8px;
145
- }
146
- }
147
-
148
- .clipboard-code {
149
- display: flex;
150
- margin-top: 16px;
151
-
152
- .icon {
153
- width: 24px;
154
- height: 25px;
155
- margin: 4px;
156
- color: $blue-satin;
157
- }
158
-
159
- &__content {
160
- margin-left: 8px;
161
- }
162
-
163
- &__cta {
164
- margin-top: 4px;
165
- display: flex;
166
- align-items: center;
167
-
168
- .btn--icon {
169
- padding: 4px;
170
- margin-left: 4px;
171
- border: 0;
172
- border-radius: 0;
173
- background: transparent;
174
- display: inline-flex;
175
-
176
- .icon-copy {
177
- width: 14px;
178
- height: auto;
179
- color: $white;
180
- }
181
- }
182
- }
183
-
184
- &.trade-pro-id {
185
- .icon path {
186
- fill: $blue-satin;
187
- }
188
- }
189
- }
190
-
191
- .greetings {
192
- word-break: break-all;
193
-
194
- .title {
195
- font-weight: 500;
196
- font-size: 1.625rem;
197
- line-height: 2.25rem;
198
- margin-bottom: 0;
199
- text-align: left;
200
- }
201
-
202
- .subtitle {
203
- margin-top: 5px;
204
- margin-bottom: 0;
205
- }
206
- }
207
-
208
- .barcode {
209
- margin-top: 16px;
210
- padding: 12px;
211
- background: $white;
212
- border-radius: 4px;
213
- color: $gray-dark;
214
- position: relative;
215
- font-size: .75rem;
216
- line-height: 1rem;
217
-
218
- &__discount {
219
- position: absolute;
220
- top: -8px;
221
- right: -8px;
222
-
223
- img {
224
- border-radius: 40px;
225
- width: 100%;
226
- max-width: 58px;
227
- }
228
- }
229
-
230
- &__content {
231
- display: flex;
232
- justify-content: center;
233
- align-items: center;
234
- margin-bottom: 8px;
235
-
236
- p {
237
- margin-bottom: 0;
238
- margin-left: 8px;
239
- font-weight: 500;
240
- display: -webkit-box;
241
- -webkit-line-clamp: 1;
242
- -webkit-box-orient: vertical;
243
- overflow: hidden;
244
- text-overflow: ellipsis;
245
- }
246
-
247
- .custom-icon {
248
- width: 13px;
249
- height: auto;
250
- }
251
- }
252
-
253
- &__image {
254
- display: flex;
255
-
256
- svg {
257
- width: 100%;
258
- height: auto;
259
- }
260
- }
261
-
262
- &__code {
263
- text-align: center;
264
- margin-top: 8px;
265
- margin-bottom: 0;
266
- }
267
- }
268
-
269
- .active-orders {
270
- margin-top: 24px;
271
-
272
- &__title {
273
- font-weight: 500;
274
- font-size: 1.25rem;
275
- line-height: 1rem;
276
- color: $blue-dark;
277
- margin-bottom: 0;
278
- }
279
-
280
- &__item {
281
- margin-top: 16px;
282
- padding: 16px;
283
- background: $white;
284
- border-radius: 4px;
285
-
286
- & + & {
287
- margin-top: 16px;
288
- }
289
- }
290
-
291
- .view-more {
292
- display: flex;
293
- align-items: center;
294
- justify-content: center;
295
- padding-top: 12px;
296
- border-top: 1px solid $gray;
297
-
298
- .link {
299
- font-weight: 500;
300
- font-size: .875rem;
301
- line-height: 1.375rem;
302
- text-align: center;
303
- color: $blue;
304
- text-decoration: none;
305
- display: flex;
306
- justify-content: center;
307
- align-items: center;
308
-
309
- span:hover {
310
- text-decoration: underline;
311
- }
312
-
313
- .icon {
314
- margin-left: 8px;
315
- font-size: 1rem;
316
- }
317
- }
318
- }
319
-
320
- .btn--all-orders {
321
- margin-top: 16px;
322
- }
323
-
324
- .tooltip {
325
- filter: drop-shadow(0 0 8px rgba(0, 0, 0, .12));
326
- position: absolute;
327
-
328
- .tooltip-inner {
329
- background: $white;
330
- color: $gray-dark;
331
- padding: 8px 16px !important;
332
- border-radius: 4px;
333
- font-weight: 400;
334
- font-size: .75rem;
335
- line-height: 1rem;
336
- }
337
-
338
- .arrow:before {
339
- border-top-color: $white;
340
- }
341
- }
342
- }
343
- }
344
-
345
- @include media-breakpoint-up(sm) {
346
- .my-account {
347
- .account-actions {
348
- padding-top: 32px;
349
- padding-bottom: 32px;
350
-
351
- &__list {
352
- margin-top: 0;
353
- margin-left: 10px;
354
- padding: 0 0 0 16px;
355
- background: transparent;
356
- border-left: 1px solid $white;
357
- justify-content: center;
358
- }
359
-
360
- &__link {
361
- color: $white;
362
- white-space: nowrap;
363
- }
364
- }
365
-
366
- .account-summary {
367
- padding-top: 32px;
368
- padding-bottom: 32px;
369
-
370
- &__wrapper {
371
- display: grid;
372
- grid-template-columns: 1fr 1fr;
373
- grid-template-rows: 3fr;
374
- grid-gap: 16px;
375
-
376
- .greetings {
377
- grid-column: span 2;
378
- display: flex;
379
- justify-content: space-between;
380
- }
381
-
382
- .discount,
383
- .clipboard-code {
384
- margin-top: 0;
385
- }
386
-
387
- .discount {
388
- grid-row: span 2;
389
- padding-bottom: 16px;
390
- }
391
-
392
- .clipboard-code {
393
- align-items: center;
394
- }
395
- }
396
- }
397
-
398
- .active-orders {
399
- &__header {
400
- display: flex;
401
- justify-content: space-between;
402
- align-items: center;
403
-
404
- .btn--all-orders {
405
- margin-top: 0;
406
- max-width: 125px;
407
- }
408
- }
409
-
410
- &__item {
411
- display: grid;
412
- grid-template-areas:
413
- 'header viewMore'
414
- 'orderDetails orderDetails'
415
- 'consignmentInfo consignmentInfo'
416
- 'shipment shipment';
417
-
418
- .order-header {
419
- flex-direction: row-reverse;
420
- justify-content: flex-end;
421
- grid-area: header;
422
-
423
- &__title {
424
- margin-left: 16px;
425
- font-weight: 700;
426
- }
427
- }
428
-
429
- .view-more {
430
- grid-area: viewMore;
431
- justify-content: flex-end;
432
- border-top: 0;
433
- padding: 0;
434
-
435
- .link .icon {
436
- margin-left: 13px;
437
- }
438
- }
439
- }
440
- }
441
-
442
- .notification_info-message {
443
- font-size: .875rem;
444
- }
445
- }
446
- }
447
-
448
- @include media-breakpoint-up(md) {
449
- .my-account {
450
- .account-actions {
451
- padding-top: 40px;
452
- padding-bottom: 70px;
453
- }
454
-
455
- .account-summary__wrapper {
456
- padding: 24px;
457
- }
458
-
459
- .active-orders__title {
460
- font-size: 1.5rem;
461
- }
462
-
463
- .notification_general:not(.notification_info-message) {
464
- margin-top: 16px;
465
- margin-bottom: 16px;
466
- }
467
- }
468
- }
469
-
470
- @include media-breakpoint-only(md) {
471
- .my-account {
472
- .clipboard-code {
473
- .icon {
474
- font-size: 2rem;
475
- height: auto;
476
- }
477
- }
478
- }
479
- }
480
-
481
- @include media-breakpoint-up(lg) {
482
- .my-account {
483
- .account-summary {
484
- &__wrapper {
485
- grid-template-columns: minmax(auto, 502px) repeat(2, minmax(auto, 223px));
486
-
487
- .clipboard-code,
488
- .discount {
489
- padding-top: 20px;
490
- padding-bottom: 20px;
491
- }
492
-
493
- .greetings {
494
- grid-column: span 3;
495
- }
496
-
497
- .discount {
498
- grid-row: initial;
499
- flex-direction: row;
500
- display: flex;
501
- justify-content: space-between;
502
- align-items: center;
503
-
504
- .subtitle {
505
- font-size: 1rem;
506
- }
507
- }
508
- }
509
- }
510
-
511
- .barcode {
512
- max-width: 155px;
513
- height: auto;
514
- margin-left: 24px;
515
- padding: 12px;
516
- margin-top: -4px;
517
- margin-bottom: -4px;
518
-
519
- &__content,
520
- &__code {
521
- display: none;
522
- }
523
-
524
- &__discount {
525
- top: -12px;
526
- right: -12px;
527
- }
528
- }
529
-
530
- .clipboard-code.discount-code {
531
- padding-right: 14px;
532
- }
533
-
534
- .active-orders {
535
- &__item {
536
- padding: 24px;
537
- grid-template-areas:
538
- 'header consignmentInfo viewMore'
539
- 'orderDetails orderDetails orderDetails'
540
- 'shipment shipment shipment';
541
- grid-template-columns: auto auto 1fr;
542
- align-items: center;
543
- }
544
- }
545
- }
546
- }
547
-
548
- @include media-breakpoint-up(xl) {
549
- .my-account {
550
- .account-summary {
551
- &__wrapper {
552
- grid-template-columns: minmax(auto, 502px) 1fr 1fr;
553
-
554
- .discount {
555
- .icon {
556
- font-size: 1.75rem;
557
- height: 28px;
558
- margin: auto 6px;
559
- }
560
- }
561
-
562
- .clipboard-code .icon {
563
- margin: auto 6px;
564
- width: auto;
565
- height: 32px;
566
- }
567
- }
568
- }
569
- }
570
- }