wickes-css2 2.94.0-develop.1 → 2.94.0-develop.10

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 (112) 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/homepage-main.css +1 -1
  5. package/build/css/main.css +1 -1
  6. package/build/css/my-account-main-v2.css +1 -1
  7. package/build/css/my-account-main.css +1 -1
  8. package/build/css/pages/my-account-v2.css +1 -1
  9. package/build/css/pages/my-account.css +1 -1
  10. package/build/css/pages/page_default-store.css +1 -0
  11. package/build/css/pages/page_my-orders.css +1 -0
  12. package/build/css/pages/page_personal-details.css +1 -1
  13. package/build/css/pages/page_product-details-v2-critical.css +1 -1
  14. package/build/css/pages/page_product-details-v2.css +1 -1
  15. package/build/css/pages/page_products-list-combined.css +1 -1
  16. package/build/css/pages/page_products-list.css +1 -1
  17. package/build/css/pages/page_shopping-cart-v2.css +1 -1
  18. package/build/css/pdp-main-before-combine.css +1 -1
  19. package/build/css/pdp-main-critical.css +1 -1
  20. package/build/css/pdp-main-non-critical.css +1 -1
  21. package/build/css/pdp-main.css +1 -1
  22. package/build/css/plp-main.css +1 -1
  23. package/build/css/store-locator-main.css +1 -1
  24. package/build/js/account-members.min.js +1 -1
  25. package/build/js/basket.min.js +2 -2
  26. package/build/js/bundle.min.js +1 -1
  27. package/build/js/checkout.min.js +1 -1
  28. package/build/js/default-store.min.js +1 -0
  29. package/build/js/emulation.min.js +151 -3
  30. package/build/js/general.bundle.min.js +1 -1
  31. package/build/js/merged-checkout.min.js +1 -1
  32. package/build/js/my-orders.min.js +1 -0
  33. package/build/js/page/basket-v2.js +7 -6
  34. package/build/js/page/default-store.js +44 -0
  35. package/build/js/page/my-orders.js +165 -0
  36. package/build/js/page/personal-details.js +105 -36
  37. package/build/js/page/plp-load-more.js +1 -0
  38. package/build/js/pdp.bundle.min.js +1 -1
  39. package/build/js/personal-details.min.js +1 -1
  40. package/build/js/plp.bundle.min.js +1 -1
  41. package/build/js/project-list.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/components/account-families/actions-bar.hbs +3 -3
  44. package/src/components/default-store/current-store.hbs +60 -0
  45. package/src/components/default-store/list-of-store.hbs +39 -0
  46. package/src/components/default-store/store-form.hbs +29 -0
  47. package/src/components/default-store/store-unavailable.hbs +4 -0
  48. package/src/components/flatpickr-calendar.hbs +26 -0
  49. package/src/components/my-account/active-orders/header.hbs +6 -2
  50. package/src/components/my-account/active-orders/list-orders.hbs +14 -2
  51. package/src/components/my-account/active-orders/order-header.hbs +1 -1
  52. package/src/components/my-account/active-orders/order.hbs +10 -6
  53. package/src/components/my-account/clipboard-code-card.hbs +1 -1
  54. package/src/components/my-account/empty-orders.hbs +9 -0
  55. package/src/components/my-account/mobile-nav.hbs +23 -19
  56. package/src/components/my-account/orders-nav.hbs +15 -0
  57. package/src/components/my-account/personal-details-form.hbs +5 -0
  58. package/src/components/my-account/sort-by.hbs +3 -0
  59. package/src/components/my-account/user-account-actions.hbs +1 -1
  60. package/src/components/signup-form.hbs +1 -2
  61. package/src/components/store-details.hbs +22 -20
  62. package/src/components/store-preview.hbs +0 -11
  63. package/src/components/user-information-field.hbs +1 -1
  64. package/src/data/data_big-wins-stores.json +0 -22
  65. package/src/data/my-account/data_my-orders.json +246 -0
  66. package/src/data/my-account/data_personal-details.json +36 -11
  67. package/src/data/my-account/page_default-store.json +158 -0
  68. package/src/elements/dropdown.hbs +1 -1
  69. package/src/elements/input.hbs +2 -2
  70. package/src/js/components/flatpickr.js +167 -0
  71. package/src/js/components/general/handleAccordion.js +35 -0
  72. package/src/js/components/general/switchVat.js +28 -2
  73. package/src/js/components/leave-event.js +41 -2
  74. package/src/js/emulation/big-wins.js +0 -2
  75. package/src/js/emulation/default-store.js +97 -0
  76. package/src/js/emulation/forms.js +1 -1
  77. package/src/js/emulation/mock.js +10 -0
  78. package/src/js/emulation/my-orders-local.js +41 -0
  79. package/src/js/page/basket-v2.js +7 -6
  80. package/src/js/page/default-store.js +44 -0
  81. package/src/js/page/my-orders.js +165 -0
  82. package/src/js/page/personal-details.js +105 -36
  83. package/src/js/page/plp-load-more.js +1 -0
  84. package/src/page_checkout_payment-details_with-card-loader.html +56 -0
  85. package/src/page_default-store-page-empty.html +48 -0
  86. package/src/page_default-store-page.html +55 -0
  87. package/src/page_my-orders-empty.html +49 -0
  88. package/src/page_my-orders.html +64 -0
  89. package/src/page_personal-details-installer.html +17 -7
  90. package/src/page_personal-details.html +15 -7
  91. package/src/page_wismo-order-history-loadmore.html +3 -3
  92. package/src/scss/barclays-paypage-combined-minified.css +1 -1
  93. package/src/scss/barclays-paypage-combined.css +9 -15
  94. package/src/scss/components/_big-wins-critical.scss +0 -1
  95. package/src/scss/components/_big-wins.scss +1 -8
  96. package/src/scss/components/_order-item-cc.scss +0 -6
  97. package/src/scss/components/checkout-payment-details-v2.scss +2 -2
  98. package/src/scss/components/my-account/_active-orders.scss +263 -0
  99. package/src/scss/components/my-account/_orders-nav.scss +61 -0
  100. package/src/scss/components/my-account/_shipment.scss +1 -0
  101. package/src/scss/helpers/_variables.scss +1 -0
  102. package/src/scss/libs/flatpickr.scss +235 -0
  103. package/src/scss/pages/_my-account_new.scss +1 -12
  104. package/src/scss/pages/my-account-v2.scss +1 -136
  105. package/src/scss/pages/page_default-store.scss +634 -0
  106. package/src/scss/pages/page_my-orders.scss +232 -0
  107. package/src/scss/pages/page_personal-details.scss +37 -5
  108. package/src/scss/pages/page_products-list-combined.scss +0 -1
  109. package/src/scss/pages/page_products-list.scss +0 -1
  110. package/src/scss/partials/_header.scss +5 -0
  111. package/src/sitemap.html +7 -1
  112. package/src/scss/components/my-account/_order.scss +0 -112
@@ -0,0 +1,232 @@
1
+ @import '../helpers/helpers';
2
+ @import '../components/my-account/orders-nav';
3
+ @import '../libs/flatpickr';
4
+ @import '../components/loader';
5
+
6
+ .my-orders {
7
+ padding-top: 0;
8
+
9
+ .notification {
10
+ &_info-message {
11
+ border: 0;
12
+ text-align: center;
13
+ margin: 0;
14
+ background: $virid-darker;
15
+ color: $white;
16
+ padding: 4px 5px;
17
+ font-size: .75rem;
18
+ }
19
+ }
20
+
21
+ &__wrap {
22
+ padding-top: 16px;
23
+ }
24
+
25
+ &__title {
26
+ margin-bottom: 0;
27
+ text-align: left;
28
+ }
29
+
30
+ .sort-orders {
31
+ margin-top: 16px;
32
+
33
+ .form-row {
34
+ padding: 0;
35
+ margin: 0;
36
+
37
+ &__label {
38
+ margin-bottom: 8px;
39
+ padding-right: 0;
40
+ padding-left: 0;
41
+ }
42
+
43
+ &__field {
44
+ padding-right: 0;
45
+ padding-left: 0;
46
+ }
47
+ }
48
+ }
49
+
50
+ .load-more-wrap {
51
+ margin-bottom: 0;
52
+ margin-top: 24px;
53
+
54
+ @media (hover: none) {
55
+ .btn-primary {
56
+ &:hover {
57
+ color: $white;
58
+ background-color: $blue;
59
+ border-color: $blue;
60
+ }
61
+
62
+ &:focus {
63
+ color: $blue;
64
+ background-color: $white;
65
+ border-color: $blue;
66
+ }
67
+ }
68
+ }
69
+ }
70
+
71
+ .active-orders {
72
+ &__item {
73
+ border-radius: 4px;
74
+ border: 1px solid $gray;
75
+
76
+ &:first-child {
77
+ margin-top: 0;
78
+ }
79
+ }
80
+ }
81
+
82
+ .sort-orders .form-row__field select {
83
+ transition: all .3s;
84
+ }
85
+ }
86
+
87
+ .empty-orders {
88
+ margin-top: 24px;
89
+ padding: 40px 24px;
90
+ background: $ma-white;
91
+ border-radius: 4px;
92
+ display: flex;
93
+ flex-direction: column;
94
+ justify-content: center;
95
+ align-items: center;
96
+
97
+ &__title {
98
+ font-size: 20px;
99
+ font-style: normal;
100
+ font-weight: 500;
101
+ line-height: 32px;
102
+ margin-bottom: 0;
103
+ }
104
+
105
+ &__image {
106
+ margin-top: 16px;
107
+ }
108
+
109
+ &__btn {
110
+ margin-top: 16px;
111
+ }
112
+ }
113
+
114
+ @include media-breakpoint-up(sm) {
115
+ .my-orders {
116
+ &__sorts {
117
+ margin-top: 24px;
118
+ display: flex;
119
+ justify-content: space-between;
120
+ grid-gap: 16px;
121
+ }
122
+
123
+ .flatpickr-datepicker,
124
+ .sort-orders {
125
+ margin-top: 0;
126
+ }
127
+
128
+ .flatpickr-datepicker {
129
+ width: 65%;
130
+ }
131
+
132
+ &__wrap {
133
+ padding-top: 24px;
134
+ }
135
+
136
+ .active-orders {
137
+ margin-top: 16px;
138
+ }
139
+
140
+ .notification_info-message {
141
+ font-size: .875rem;
142
+ }
143
+ }
144
+
145
+ .empty-orders {
146
+ &__title {
147
+ font-size: 24px;
148
+ }
149
+ }
150
+ }
151
+
152
+ @include media-breakpoint-up(md) {
153
+ .my-orders {
154
+ padding-bottom: 70px;
155
+
156
+ .flatpickr-datepicker,
157
+ .sort-orders {
158
+ width: 100%;
159
+ }
160
+
161
+ &__wrap {
162
+ padding-top: 40px;
163
+ }
164
+ }
165
+ }
166
+
167
+ @include media-breakpoint-up(lg) {
168
+ .my-orders {
169
+ &__sorts {
170
+ max-width: 580px;
171
+ }
172
+ }
173
+ }
174
+
175
+ @include media-breakpoint-up(xl) {
176
+ .my-orders {
177
+ &__header {
178
+ display: grid;
179
+ grid-template-columns: auto 1fr;
180
+ align-items: center;
181
+ }
182
+
183
+ &__sorts {
184
+ margin-top: 0;
185
+ width: 100%;
186
+ max-width: 822px;
187
+ justify-content: flex-end;
188
+ margin-left: auto;
189
+ }
190
+
191
+ .nav-orders {
192
+ grid-column: span 2;
193
+ }
194
+
195
+ .flatpickr-datepicker__label {
196
+ flex-wrap: nowrap;
197
+ display: flex;
198
+ white-space: nowrap;
199
+ margin-bottom: 0;
200
+ margin-right: 16px;
201
+ }
202
+
203
+ .flatpickr-datepicker,
204
+ .sort-orders .form-row {
205
+ display: flex;
206
+ align-items: center;
207
+ flex-wrap: nowrap;
208
+ justify-content: flex-end;
209
+ }
210
+
211
+ .sort-orders {
212
+ flex: 80%;
213
+
214
+ .form-row__label {
215
+ width: auto;
216
+ white-space: nowrap;
217
+ margin-bottom: 0;
218
+ margin-right: 16px;
219
+ }
220
+ }
221
+
222
+ .flatpickr-datepicker__field,
223
+ .form-row__field {
224
+ width: 100%;
225
+ max-width: 282px;
226
+ }
227
+ }
228
+
229
+ .empty-orders {
230
+ margin-top: 40px;
231
+ }
232
+ }
@@ -1,10 +1,28 @@
1
1
  @import '../helpers/helpers';
2
+ @import '../components/notifications';
2
3
 
3
4
  .personal-details {
4
5
  padding-top: 0;
5
6
  padding-bottom: 40px;
6
7
 
8
+ .notification {
9
+ &_link {
10
+ color: $white;
11
+ text-decoration: none;
12
+ padding: 0 5px;
13
+
14
+ &:hover {
15
+ text-decoration: none;
16
+ color: $white;
17
+ }
18
+ }
19
+ }
20
+
7
21
  .globalMessages {
22
+ @include make-container;
23
+ @include make-container-max-widths;
24
+ @include make-col(12);
25
+
8
26
  .notification {
9
27
  margin-bottom: 8px;
10
28
  margin-top: 16px;
@@ -64,8 +82,8 @@
64
82
 
65
83
  &__value {
66
84
  margin-bottom: 0;
67
- padding-top: 9px;
68
- padding-bottom: 9px;
85
+ padding-top: 8px;
86
+ padding-bottom: 8px;
69
87
  font-size: .875rem;
70
88
  font-weight: 400;
71
89
  line-height: 1.375rem;
@@ -108,13 +126,18 @@
108
126
  }
109
127
 
110
128
  &__field {
111
- .tbx:disabled {
129
+ .tbx.disabled {
112
130
  background: $gray-bg;
113
131
  color: $warm-grey;
114
132
  -webkit-text-fill-color: $warm-grey;
133
+ pointer-events: none;
115
134
  }
116
135
  }
117
136
  }
137
+
138
+ input[name='CSRFToken'] {
139
+ display: none;
140
+ }
118
141
  }
119
142
  }
120
143
 
@@ -192,7 +215,7 @@
192
215
  }
193
216
 
194
217
  .user-form {
195
- max-width: 384px;
218
+ max-width: 390px;
196
219
 
197
220
  &__ctas {
198
221
  .btn_full {
@@ -231,9 +254,12 @@
231
254
  .globalMessages {
232
255
  .notification {
233
256
  margin-bottom: 24px;
234
- margin-top: 0;
235
257
  }
236
258
  }
259
+
260
+ .notification_reminder {
261
+ margin-bottom: 16px;
262
+ }
237
263
  }
238
264
  }
239
265
 
@@ -245,5 +271,11 @@
245
271
  &__header {
246
272
  margin-top: 0;
247
273
  }
274
+
275
+ .globalMessages {
276
+ .notification {
277
+ margin-top: 0;
278
+ }
279
+ }
248
280
  }
249
281
  }
@@ -36,7 +36,6 @@ $color-bar-radius: 3px;
36
36
  font-weight: 500;
37
37
  line-height: 1.5;
38
38
  padding: 1em 1.25em;
39
- border: 2px solid $blue;
40
39
  margin-bottom: 20px;
41
40
  text-align: center;
42
41
 
@@ -31,7 +31,6 @@
31
31
  font-weight: 500;
32
32
  line-height: 1.5;
33
33
  padding: 1em 1.25em;
34
- border: 2px solid $blue;
35
34
  margin-bottom: 20px;
36
35
  text-align: center;
37
36
 
@@ -439,8 +439,13 @@
439
439
  &.user_desktop {
440
440
  .user__name {
441
441
  display: flex;
442
+ align-items: center;
442
443
  color: $blue-dark;
443
444
 
445
+ .btn__text {
446
+ display: flex;
447
+ }
448
+
444
449
  .custom-icon {
445
450
  width: 1.125rem;
446
451
  height: auto;
package/src/sitemap.html CHANGED
@@ -348,7 +348,7 @@
348
348
  <li>
349
349
  <span class="page-id">4.10</span>
350
350
  <a href="page_wismo-order-history-loadmore.html" target="_blank">
351
- Wismo Order history - Loadmore
351
+ Wismo Order history - Loadmore VAT
352
352
  </a>
353
353
  </li>
354
354
  <li>
@@ -536,6 +536,10 @@
536
536
  <li><a href="page_my-account-trade-pro.html" target="_blank">My Account TradePro</a></li>
537
537
  <li><a href="page_personal-details.html" target="_blank">My Account Personal Details</a></li>
538
538
  <li><a href="page_personal-details-installer.html" target="_blank">My Account Personal Details Installer</a></li>
539
+ <li><a href="page_default-store-page-empty.html" target="_blank">Default Store Page Empty</a></li>
540
+ <li><a href="page_default-store-page.html" target="_blank">Default Store Page</a></li>
541
+ <li><a href="page_my-orders.html" target="_blank">My Orders</a></li>
542
+ <li><a href="page_my-orders-empty.html" target="_blank">My Orders Empty</a></li>
539
543
  </ul>
540
544
  <h3>Project list</h3>
541
545
  <ul>
@@ -1063,6 +1067,8 @@
1063
1067
  -
1064
1068
  Payment Details Marketing Consent Error</a></li>
1065
1069
 
1070
+ <li><span class="page-id">9.26</span><a href="page_checkout_payment-details_with-card-loader.html"
1071
+ target="_blank">Checkout- Payment Details with card loader</a></li>
1066
1072
  </ul>
1067
1073
 
1068
1074
  <h3>App</h3>
@@ -1,112 +0,0 @@
1
- @import '../../helpers/helpers';
2
-
3
- .active-orders .order {
4
- &-header {
5
- display: flex;
6
- justify-content: space-between;
7
- align-items: center;
8
- padding: 0;
9
-
10
- &__title {
11
- margin-bottom: 0;
12
- font-size: 1.125rem;
13
- line-height: 1.5rem;
14
- }
15
-
16
- &__status {
17
- background: rgba(2, 119, 189, .1);
18
- padding: 4px 8px;
19
- border-radius: 50px;
20
- font-weight: 500;
21
- display: flex;
22
- align-items: center;
23
-
24
- .icon {
25
- font-size: 1rem;
26
- height: auto;
27
- color: $blue;
28
- margin-right: 8px;
29
- }
30
- }
31
- }
32
-
33
- &-details {
34
- margin-top: 8px;
35
-
36
- &__summary {
37
- display: flex;
38
- align-items: baseline;
39
- }
40
-
41
- &__price {
42
- margin-bottom: 0;
43
- font-weight: 700;
44
- font-size: 1.125rem;
45
- line-height: 1.5rem;
46
- color: $blue-dark;
47
- }
48
-
49
- &__vat {
50
- margin-left: 5px;
51
- line-height: 1rem;
52
- }
53
-
54
- &__count {
55
- position: relative;
56
- padding-left: 8px;
57
- margin-left: 8px;
58
- font-weight: 400;
59
- font-size: .875rem;
60
- line-height: 1.375rem;
61
- color: $gray-dark;
62
-
63
- &::before {
64
- content: '';
65
- height: 100%;
66
- position: absolute;
67
- max-height: 16px;
68
- left: 0;
69
- top: 50%;
70
- width: 1px;
71
- background: $gray;
72
- transform: translateY(-50%);
73
- }
74
- }
75
-
76
- &__date {
77
- display: block;
78
- margin-top: 4px;
79
- font-weight: 400;
80
- font-size: .875rem;
81
- line-height: 1.375rem;
82
- color: $gray-dark;
83
- }
84
- }
85
- }
86
-
87
- @include media-breakpoint-up(sm) {
88
- .active-orders .order-details {
89
- grid-area: orderDetails;
90
- display: flex;
91
- align-items: baseline;
92
-
93
- &__date {
94
- margin-left: 8px;
95
- padding-left: 8px;
96
- margin-top: 0;
97
- position: relative;
98
-
99
- &::before {
100
- content: '';
101
- height: 100%;
102
- position: absolute;
103
- max-height: 16px;
104
- left: 0;
105
- top: 50%;
106
- width: 1px;
107
- background: $gray;
108
- transform: translateY(-50%);
109
- }
110
- }
111
- }
112
- }