wickes-css2 2.98.0-develop.7 → 2.98.0-develop.9

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 (169) hide show
  1. package/Readme.md +3 -3
  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/components/energy-efficiency.css +1 -1
  5. package/build/css/components/global-search.css +1 -1
  6. package/build/css/components/legal-info.css +1 -1
  7. package/build/css/components/loader.css +1 -1
  8. package/build/css/components/price-block-v2-critical.css +1 -1
  9. package/build/css/components/price-block-v2.css +1 -1
  10. package/build/css/homepage-main.css +1 -1
  11. package/build/css/main.css +1 -1
  12. package/build/css/my-account-main-v2.css +1 -1
  13. package/build/css/my-account-main.css +1 -1
  14. package/build/css/pages/checkout-new.css +1 -1
  15. package/build/css/pages/checkout.css +1 -1
  16. package/build/css/pages/my-account-v2.css +1 -1
  17. package/build/css/pages/page_home.css +1 -1
  18. package/build/css/pages/page_my-order.css +1 -1
  19. package/build/css/pages/page_my-orders.css +1 -1
  20. package/build/css/pages/page_quiz.css +1 -1
  21. package/build/css/pages/page_track-my-order.css +1 -1
  22. package/build/css/pages/page_wismo-details.css +1 -1
  23. package/build/css/pdp-main-before-combine.css +1 -1
  24. package/build/css/pdp-main-critical.css +1 -1
  25. package/build/css/pdp-main-non-critical.css +1 -1
  26. package/build/css/pdp-main.css +1 -1
  27. package/build/css/plp-main.css +1 -1
  28. package/build/css/store-locator-main.css +1 -1
  29. package/build/img/billie-logo.svg +4 -0
  30. package/build/img/billie-modal.svg +4 -0
  31. package/build/img/billie-pdp.svg +11 -0
  32. package/build/img/billie-spinner.svg +5 -0
  33. package/build/img/billie.svg +4 -0
  34. package/build/img/calm-primary-logo.png +0 -0
  35. package/build/img/payment/checkout/billie.svg +4 -0
  36. package/build/img/payment/footer/billie.svg +4 -0
  37. package/build/js/basket.min.js +2 -2
  38. package/build/js/bundle.min.js +1 -1
  39. package/build/js/checkout.min.js +1 -1
  40. package/build/js/emulation.min.js +55 -131
  41. package/build/js/general.bundle.min.js +1 -1
  42. package/build/js/merged-checkout.min.js +1 -1
  43. package/build/js/page/basket-v2.js +16 -7
  44. package/build/js/page/billie-business-type.js +34 -0
  45. package/build/js/page/checkout-payment-details.js +8 -0
  46. package/build/js/page/components/charity.js +58 -43
  47. package/build/js/page/components/modal-observer.js +51 -0
  48. package/build/js/page/pdp.js +1 -4
  49. package/build/js/pdp.bundle.min.js +1 -1
  50. package/build/js/plp.bundle.min.js +1 -1
  51. package/build/js/project-list.min.js +1 -1
  52. package/package.json +2 -2
  53. package/src/components/address-billie.hbs +42 -0
  54. package/src/components/address-postcode-look-up.hbs +2 -2
  55. package/src/components/basket-charity-donations-new.hbs +40 -0
  56. package/src/components/billie-modal.hbs +41 -0
  57. package/src/components/billie-online-messaging.hbs +14 -0
  58. package/src/components/checkout-edit-billing-address.hbs +20 -6
  59. package/src/components/checkout-payment-details-v2.hbs +94 -55
  60. package/src/components/checkout-payment-info-block.hbs +49 -0
  61. package/src/components/checkout-payment-option.hbs +40 -0
  62. package/src/components/checkout_order-summary-new.hbs +13 -18
  63. package/src/components/checkout_payment-new.hbs +10 -1
  64. package/src/components/donation-cart-new.hbs +38 -0
  65. package/src/components/header-minicart.hbs +3 -3
  66. package/src/components/legal-info.hbs +25 -22
  67. package/src/components/modal.hbs +4 -1
  68. package/src/components/my-account/active-orders/list-orders.hbs +1 -1
  69. package/src/components/my-account/active-orders/order.hbs +2 -0
  70. package/src/components/my-account/active-orders/payment-status.hbs +17 -0
  71. package/src/components/my-account/payment-status.hbs +19 -0
  72. package/src/components/my-account/saving-totaliser.hbs +52 -0
  73. package/src/components/order-summary.hbs +3 -0
  74. package/src/components/payment-loader.hbs +59 -21
  75. package/src/components/payments-checkout-v2.hbs +12 -6
  76. package/src/components/payments-checkout.hbs +6 -0
  77. package/src/components/payments.hbs +10 -4
  78. package/src/components/pdp-price-actions.hbs +1 -1
  79. package/src/components/price-block-v2.hbs +14 -8
  80. package/src/components/track-my-order-info.hbs +3 -1
  81. package/src/components/wismo-payment.hbs +16 -0
  82. package/src/data/data_confirmation-summary.json +3 -3
  83. package/src/data/data_latest-offers.json +1 -1
  84. package/src/data/data_mini-basket.json +6 -80
  85. package/src/data/data_page-category.json +1 -2
  86. package/src/data/data_page-merge-basket.json +1 -1
  87. package/src/data/data_shopping-cart-v2.json +51 -0
  88. package/src/data/data_store-locator-v2.json +1 -1
  89. package/src/data/data_wismo.json +53 -0
  90. package/src/data/my-account/data_my-account.json +57 -0
  91. package/src/elements/radiobutton.hbs +7 -0
  92. package/src/img/billie-logo.svg +4 -0
  93. package/src/img/billie-modal.svg +4 -0
  94. package/src/img/billie-pdp.svg +11 -0
  95. package/src/img/billie-spinner.svg +5 -0
  96. package/src/img/billie.svg +4 -0
  97. package/src/img/calm-primary-logo.png +0 -0
  98. package/src/img/payment/checkout/billie.svg +4 -0
  99. package/src/img/payment/footer/billie.svg +4 -0
  100. package/src/js/components/general/text-clamp.js +1 -2
  101. package/src/js/emulation/big-wins.js +29 -29
  102. package/src/js/emulation/mock.js +1 -60
  103. package/src/js/emulation/paymentLoader.js +22 -11
  104. package/src/js/emulation/popover-mini-basket.js +2 -2
  105. package/src/js/page/basket-v2.js +16 -7
  106. package/src/js/page/billie-business-type.js +34 -0
  107. package/src/js/page/checkout-payment-details.js +8 -0
  108. package/src/js/page/components/charity.js +58 -43
  109. package/src/js/page/components/modal-observer.js +51 -0
  110. package/src/js/page/pdp.js +1 -4
  111. package/src/layouts/base.hbs +0 -6
  112. package/src/layouts/my-account-v2.hbs +0 -7
  113. package/src/page_basket-billie.html +54 -0
  114. package/src/page_checkout_confirmation-billie.html +339 -0
  115. package/src/page_checkout_delivery-address-customer-journey.html +2 -2
  116. package/src/page_my-account-trade-pro-components.html +27 -0
  117. package/src/page_my-account-trade-pro.html +7 -0
  118. package/src/page_my-account.html +1 -0
  119. package/src/page_my-order.html +1 -1
  120. package/src/page_payment-details-with-billie.html +67 -0
  121. package/src/page_product-details-billie.html +87 -0
  122. package/src/page_product-details-saved-pl.html +13 -16
  123. package/src/page_product-details-with-global-search-v2.html +0 -1
  124. package/src/page_shopping-cart-v2.html +4 -3
  125. package/src/page_wismo-details.html +2 -2
  126. package/src/partials/head.hbs +1 -5
  127. package/src/scss/common/_app.scss +0 -1
  128. package/src/scss/common/_elements.scss +4 -0
  129. package/src/scss/common/_scroll-disable.scss +2 -4
  130. package/src/scss/components/_billie-modal.scss +181 -0
  131. package/src/scss/components/_billie-online-messaging.scss +46 -0
  132. package/src/scss/components/_charity-donations.scss +114 -186
  133. package/src/scss/components/_donation-cart-new.scss +192 -0
  134. package/src/scss/components/_payments-checkout.scss +2 -1
  135. package/src/scss/components/_payments-v2.scss +8 -0
  136. package/src/scss/components/_tooltip.scss +19 -0
  137. package/src/scss/components/checkout-payment-details-v2.scss +237 -0
  138. package/src/scss/components/legal-info.scss +0 -61
  139. package/src/scss/components/loader.scss +8 -0
  140. package/src/scss/components/my-account/_active-orders.scss +2 -0
  141. package/src/scss/components/my-account/_payment-status.scss +84 -0
  142. package/src/scss/components/my-account/_saving-totaliser.scss +175 -0
  143. package/src/scss/components/price-block-v2-critical.scss +4 -0
  144. package/src/scss/components/price-block-v2.scss +4 -0
  145. package/src/scss/globals/_global-components.scss +0 -1
  146. package/src/scss/helpers/_mixins.scss +0 -8
  147. package/src/scss/helpers/_variables.scss +0 -1
  148. package/src/scss/homepage-main.scss +0 -1
  149. package/src/scss/main.scss +0 -1
  150. package/src/scss/pages/_checkout-confirmation-new.scss +10 -3
  151. package/src/scss/pages/checkout-new.scss +3 -0
  152. package/src/scss/pages/my-account-v2.scss +3 -0
  153. package/src/scss/pages/page_track-my-order.scss +0 -21
  154. package/src/scss/pages/page_wismo-details.scss +1 -0
  155. package/src/scss/partials/_header-critical.scss +0 -14
  156. package/src/scss/partials/_header.scss +0 -14
  157. package/src/scss/pdp-main-critical.scss +1 -0
  158. package/src/scss/pdp-main.scss +2 -0
  159. package/src/sitemap.html +32 -2
  160. package/src/components/mini-basket/mini-basket-empty.hbs +0 -17
  161. package/src/components/mini-basket/mini-basket.hbs +0 -39
  162. package/src/components/mini-basket/product-item.hbs +0 -24
  163. package/src/js/components/general/backdrop.js +0 -23
  164. package/src/js/components/general/cart-slider.js +0 -16
  165. package/src/js/components/general/create-popup-slider.js +0 -196
  166. package/src/js/components/general/mini-basket-slider.js +0 -8
  167. package/src/js/emulation/custom-slider-emulation.js +0 -28
  168. package/src/page_shopping-cart-charity.html +0 -56
  169. package/src/scss/components/_custom-slider.scss +0 -541
@@ -113,238 +113,166 @@
113
113
  max-width: 100%;
114
114
  }
115
115
  }
116
+ }
116
117
 
117
- &.charity-multiple {
118
- .checkout-info-wrap {
119
- padding: 15px;
120
- }
121
-
122
- .title {
123
- margin-bottom: 15px;
124
- }
125
-
126
- .definition {
127
- font-size: .75rem;
128
- font-weight: 400;
129
- line-height: 14px;
130
- margin-bottom: 25px;
131
- }
132
-
133
- .descr {
134
- margin-top: -10px;
135
- }
136
-
137
- .checkout-order {
138
- &__img {
139
- img {
140
- width: 100%;
141
- height: 100%;
142
- object-fit: contain;
143
- object-position: top;
144
- }
145
- }
146
- }
118
+ .charity-donation-new {
119
+ background-color: $gray-bg;
120
+ padding: 16px;
147
121
 
148
- .donation-cart {
149
- &__definition {
150
- display: none;
151
- }
152
- }
153
-
154
- &.charity-added {
155
- .checkout-order {
156
- &__charity {
157
- border-bottom: 1px solid $gray;
158
- padding-bottom: 15px;
159
- }
160
- }
161
- }
122
+ &__wrapper {
123
+ display: flex;
124
+ flex-direction: column;
162
125
  }
163
- }
164
126
 
165
- @include media-breakpoint-up(sm) {
166
- .charity-new {
167
- .checkout-order {
168
- &__img {
169
- img {
170
- max-width: 155px;
171
- max-height: 42px;
172
- width: 155px;
173
- height: 42px;
174
- }
127
+ &__top {
128
+ display: flex;
129
+ align-items: flex-start;
130
+ justify-content: space-between;
131
+ flex-wrap: wrap;
132
+ }
175
133
 
176
- .image {
177
- width: 155px;
178
- }
179
- }
134
+ &__header {
135
+ display: flex;
136
+ gap: 12px;
137
+ }
180
138
 
181
- &__info-wrap {
182
- padding-top: 0;
183
- }
139
+ &__right {
140
+ flex-shrink: 0;
141
+ }
184
142
 
185
- .price-wrap {
186
- align-items: center;
143
+ &__image {
144
+ width: 64px;
145
+ }
187
146
 
188
- label {
189
- margin-top: 0;
190
- }
191
- }
147
+ &__title {
148
+ width: 100%;
149
+ font-size: .875rem;
150
+ font-weight: 500;
151
+ line-height: 1.375rem;
152
+ margin-bottom: 12px;
153
+ }
192
154
 
193
- .title-wrap {
194
- max-width: 100%;
195
- display: flex;
196
- flex-direction: column;
155
+ &__description {
156
+ width: 100%;
157
+ font-size: 0.75rem;
158
+ font-weight: 400;
159
+ line-height: 1rem;
160
+ margin-bottom: 16px;
161
+ }
197
162
 
198
- .title {
199
- order: 1;
200
- }
163
+ &__message {
164
+ font-size: 0.75rem;
165
+ line-height: 1rem;
166
+ }
201
167
 
202
- .descr {
203
- order: 2;
204
- }
168
+ &__body {
169
+ width: 100%;
170
+ }
171
+ }
205
172
 
206
- .definition {
207
- order: 3;
208
- }
209
- }
173
+ @include media-breakpoint-up(sm) {
174
+ .charity-donation-new {
175
+ &__title {
176
+ width: 100%;
177
+ font-weight: 500;
178
+ font-size: 1rem;
179
+ line-height: 1.5rem;
210
180
  }
211
181
 
212
- &.charity-multiple {
213
- .checkout-order {
214
- &__img {
215
- max-width: 184px;
216
-
217
- img {
218
- max-height: initial;
219
- max-width: 100%;
220
- }
221
- }
222
-
223
- &__info-wrap {
224
- align-items: flex-start;
225
- }
226
- }
182
+ &__description {
183
+ width: 100%;
184
+ margin: 0;
185
+ }
227
186
 
228
- .price-wrap {
229
- margin-top: 6px;
187
+ &__message {
188
+ display: block;
189
+ }
230
190
 
231
- .order-item {
232
- &__remove {
233
- margin-top: 0;
234
- }
235
- }
236
- }
191
+ &__image {
192
+ width: 100px;
193
+ }
237
194
 
238
- .title-wrap {
239
- .descr {
240
- margin-bottom: 20px;
241
- }
242
- }
195
+ &__body {
196
+ margin-top: 16px;
243
197
  }
244
198
  }
245
199
  }
246
200
 
247
201
  @include media-breakpoint-up(md) {
248
- .charity-new {
249
- .checkout-order {
250
- &__info-wrap {
251
- padding-left: 15px;
252
- }
253
-
254
- .title-wrap {
255
- max-width: 50%;
256
- }
202
+ .charity-donation-new {
203
+ &__title {
204
+ width: 100%;
257
205
  }
258
206
 
259
- &.charity-multiple {
260
- .checkout-info-wrap {
261
- padding-bottom: 20px;
262
- }
263
-
264
- .donation-cart {
265
- &__definition {
266
- display: block;
267
- }
268
- }
269
-
270
- .definition.definition,
271
- & p:last-of-type {
272
- margin-bottom: 0;
273
- }
207
+ &__body {
208
+ margin-top: 16px;
209
+ width: 668px;
274
210
  }
275
211
 
276
- &.charity-multiple.charity-added {
277
- .checkout-order {
278
- .title-wrap {
279
- max-width: none;
280
- }
281
-
282
- &__charity {
283
- display: grid;
284
- grid-template-columns: 1fr 1fr;
212
+ &__description {
213
+ width: 488px;
214
+ margin-top: -25px;
215
+ }
285
216
 
286
- .definition {
287
- display: none;
288
- }
289
- }
290
- }
217
+ &__message {
218
+ display: block;
219
+ }
291
220
 
292
- .title-wrap {
293
- .descr {
294
- margin-bottom: 0;
295
- }
296
- }
221
+ &__image {
222
+ width: 124px;
297
223
  }
298
224
  }
299
225
  }
300
226
 
301
227
  @include media-breakpoint-up(lg) {
302
- .charity-new {
303
- .checkout-order {
304
- .title-wrap {
305
- max-width: 50%;
306
- }
228
+ .charity-donation-new {
229
+ &__cost {
230
+ height: 24px;
231
+ }
232
+
233
+ &__title {
234
+ width: 100%;
235
+ margin-bottom: 8px;
236
+ }
237
+
238
+ &__body {
239
+ margin-top: 16px;
240
+ width: 588px;
307
241
  }
308
- }
309
242
 
310
- .charity {
311
- &__msg {
312
- margin-bottom: 0;
313
- max-width: 50%;
243
+ &__message {
244
+ margin: 0;
245
+ display: block;
314
246
  }
315
247
  }
316
248
  }
317
249
 
318
250
  @include media-breakpoint-up(xl) {
319
- .charity-new {
320
- &.charity-multiple {
321
- .checkout-order {
322
- .title-wrap {
323
- @include make-col(7);
324
- }
251
+ .charity-donation-new {
252
+ padding: 24px;
325
253
 
326
- &__info-wrap {
327
- @include make-col(5);
328
- }
329
- }
254
+ &__title {
255
+ width: 100%;
256
+ margin-bottom: 8px;
330
257
  }
331
258
 
332
- &.charity-multiple.charity-added {
333
- .checkout-order {
334
- &__info-wrap {
335
- max-width: none;
336
- }
259
+ &__body {
260
+ margin-top: 15px;
261
+ width: 747px;
262
+ }
337
263
 
338
- &__charity {
339
- grid-template-columns: 7fr 5fr;
340
- }
341
- }
264
+ &__description {
265
+ width: 100%;
266
+ margin-top: -30px;
342
267
  }
343
- }
344
268
 
345
- .charity {
346
- &__msg {
347
- max-width: 100%;
269
+ &__message {
270
+ margin-left: 3px;
271
+ display: inline;
272
+ }
273
+
274
+ &__image {
275
+ width: 124px;
348
276
  }
349
277
  }
350
278
  }
@@ -0,0 +1,192 @@
1
+ .donation-cart-new {
2
+ &__cost {
3
+ font-weight: 500;
4
+ font-size: .875rem;
5
+ line-height: 1rem;
6
+ display: flex;
7
+ align-items: center;
8
+ margin-top: 12px;
9
+ height: 24px;
10
+
11
+ &-hide {
12
+ display: none;
13
+ }
14
+ }
15
+
16
+ .order-item__remove {
17
+ position: static;
18
+ margin-left: auto;
19
+ display: block;
20
+
21
+ .btn__text {
22
+ display: inline-block;
23
+ width: 1em;
24
+ text-align: center;
25
+ }
26
+
27
+ i.fas {
28
+ display: inline-block;
29
+ width: 1em;
30
+ }
31
+ }
32
+
33
+ &__price-value,
34
+ &__price {
35
+ display: inline-block;
36
+ line-height: 1rem;
37
+ font-weight: 400;
38
+ font-size: .750rem;
39
+ }
40
+
41
+ &__description {
42
+ font-weight: 500;
43
+ font-size: .875rem;
44
+ margin-bottom: 12px;
45
+ }
46
+
47
+ &__value {
48
+ min-width: 14px;
49
+ margin-left: -3px;
50
+ }
51
+
52
+ &__currency,
53
+ &__value {
54
+ font-size: .750rem;
55
+ }
56
+
57
+ &__divider {
58
+ border: none;
59
+ border-top: 1px solid $gray;
60
+ margin: 16px 0;
61
+ }
62
+
63
+ &__charity-info {
64
+ color: $squant;
65
+ font-weight: 400;
66
+ font-size: .75rem;
67
+ line-height: 1rem;
68
+ margin: 0;
69
+ }
70
+
71
+ &__holder {
72
+ display: flex;
73
+ flex-wrap: wrap;
74
+ gap: 8px;
75
+ }
76
+
77
+ &__btn {
78
+ width: 58px;
79
+ height: 36px;
80
+ margin-bottom: 0;
81
+ font-weight: 700;
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+
86
+ &:nth-of-type(odd),
87
+ &:nth-of-type(even) {
88
+ margin-left: 0;
89
+ }
90
+
91
+ &:last-of-type {
92
+ margin-right: 0;
93
+ }
94
+
95
+ &.btn-secondary {
96
+ color: $black;
97
+ border-color: $gray;
98
+
99
+ &:hover {
100
+ color: $white;
101
+ border-color: $blue;
102
+ }
103
+ }
104
+
105
+ &.btn-selected {
106
+ color: $white;
107
+ border-color: $blue;
108
+ background: $blue;
109
+ pointer-events: none;
110
+ }
111
+ }
112
+ }
113
+
114
+ @include media-breakpoint-up(sm) {
115
+ .donation-cart-new {
116
+ &__btn {
117
+ width: 52px;
118
+ height: 36px;
119
+ margin-bottom: 0;
120
+ }
121
+
122
+ &__description {
123
+ font-weight: 700;
124
+ font-size: .875rem;
125
+ margin-bottom: 12px;
126
+ }
127
+ }
128
+ }
129
+
130
+ @include media-breakpoint-up(md) {
131
+ .donation-cart-new {
132
+ justify-content: space-between;
133
+
134
+ &:not(.donation-cart__hide) {
135
+ display: flex;
136
+ }
137
+
138
+ &__definition {
139
+ max-width: 50%;
140
+ }
141
+
142
+ &__details {
143
+ width: 100%;
144
+ }
145
+
146
+ &__definition {
147
+ padding-right: 15px;
148
+ }
149
+
150
+ &__btn {
151
+ width: 56px;
152
+ height: 36px;
153
+ margin-bottom: 0;
154
+ }
155
+
156
+ .order-item__remove {
157
+ position: static;
158
+ margin-left: auto;
159
+ display: block;
160
+ }
161
+ }
162
+ }
163
+
164
+ @include media-breakpoint-up(lg) {
165
+ .donation-cart-new {
166
+ &__holder {
167
+ width: 588px;
168
+ }
169
+
170
+ &__btn {
171
+ width: 56px;
172
+ height: 36px;
173
+ margin-bottom: 0;
174
+ }
175
+ }
176
+ }
177
+
178
+ @include media-breakpoint-up(xl) {
179
+ .donation-cart-new {
180
+ &__holder {
181
+ width: 100%;
182
+ }
183
+ }
184
+ }
185
+
186
+ @media (min-width: 350px) and (max-width: 575px) {
187
+ .donation-cart-new {
188
+ &__btn {
189
+ width: 72px;
190
+ }
191
+ }
192
+ }
@@ -26,7 +26,8 @@
26
26
  }
27
27
 
28
28
  &-klarna {
29
- display: block;
29
+ display: flex;
30
+ align-items: center;
30
31
  height: 30px;
31
32
  width: 48px;
32
33
  }
@@ -52,6 +52,14 @@
52
52
  }
53
53
 
54
54
  @include media-breakpoint-up(sm) {
55
+ .payways {
56
+ max-width: 100%;
57
+ flex-direction: column;
58
+ justify-content: center;
59
+ }
60
+ }
61
+
62
+ @include media-breakpoint-up(md) {
55
63
  .payways {
56
64
  max-width: 100%;
57
65
  flex-direction: row;
@@ -0,0 +1,19 @@
1
+ .tooltip {
2
+ filter: drop-shadow(0 0 8px rgba(0, 0, 0, .12));
3
+ position: absolute;
4
+
5
+ .tooltip-inner {
6
+ background: $white;
7
+ color: $gray-dark;
8
+ padding: 8px 16px !important;
9
+ border-radius: 4px;
10
+ font-weight: 400;
11
+ font-size: .875rem;
12
+ line-height: 1.375rem;
13
+ max-width: 340px !important;
14
+ }
15
+
16
+ .arrow:before {
17
+ border-top-color: $white;
18
+ }
19
+ }