wickes-css2 2.98.0-develop.12 → 2.98.0-develop.13
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 +2 -1
- package/build/css/main.css +1 -1
- package/build/css/pages/checkout-new.css +1 -1
- package/build/css/pages/page_product-details-v2.css +1 -1
- package/build/css/pdp-main-before-combine.css +1 -1
- package/build/css/pdp-main-non-critical.css +1 -1
- package/build/css/pdp-main.css +1 -1
- package/build/js/basket.min.js +1 -1
- package/build/js/checkout.min.js +1 -1
- package/build/js/emulation.min.js +3 -3
- package/build/js/merged-checkout.min.js +1 -1
- package/build/js/page/components/order-summary.js +1 -1
- package/package.json +1 -1
- package/src/js/emulation/basket-data.js +3 -3
- package/src/js/page/components/order-summary.js +1 -1
- package/src/scss/components/_billie-modal.scss +10 -0
- package/src/scss/components/_order-summary.scss +7 -48
- package/src/scss/components/_voucher-accordion.scss +56 -0
- package/src/scss/main.scss +1 -0
- package/src/scss/pages/page_product-details-v2.scss +9 -0
|
@@ -80,7 +80,7 @@ function calculateFreeDelivery(data) {
|
|
|
80
80
|
$(this).find(osEl.summaryDelivery).before(function () {
|
|
81
81
|
return `
|
|
82
82
|
<div class="checkout-widget__item checkout-widget__item-free">
|
|
83
|
-
<span>
|
|
83
|
+
<span class="checkout-widget__text">
|
|
84
84
|
${data.messageForFreeDelivery}
|
|
85
85
|
</span>
|
|
86
86
|
</div>
|
package/package.json
CHANGED
|
@@ -879,12 +879,12 @@ Wick.BasketData = (function () {
|
|
|
879
879
|
"appliedProductPromotions": [],
|
|
880
880
|
"appliedOrderPromotions": [],
|
|
881
881
|
"promotionsInfo": null,
|
|
882
|
-
"clickAndCollectOnly":
|
|
882
|
+
"clickAndCollectOnly": false,
|
|
883
883
|
"deliveryItemsQuantity": 1,
|
|
884
884
|
"pickupItemsQuantity": 2,
|
|
885
|
-
"freeDelivery":
|
|
885
|
+
"freeDelivery": true,
|
|
886
886
|
"subtotalWithoutCharity": {"value": 19.0, "formattedValue": "£19.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "19.00"},
|
|
887
|
-
"messageForFreeDelivery":
|
|
887
|
+
"messageForFreeDelivery": "Free delivery<i class=\"icon fas fa-check\"></i>",
|
|
888
888
|
"pickupOrderGroups": [
|
|
889
889
|
{
|
|
890
890
|
"entries": [
|
|
@@ -80,7 +80,7 @@ function calculateFreeDelivery(data) {
|
|
|
80
80
|
$(this).find(osEl.summaryDelivery).before(function () {
|
|
81
81
|
return `
|
|
82
82
|
<div class="checkout-widget__item checkout-widget__item-free">
|
|
83
|
-
<span>
|
|
83
|
+
<span class="checkout-widget__text">
|
|
84
84
|
${data.messageForFreeDelivery}
|
|
85
85
|
</span>
|
|
86
86
|
</div>
|
|
@@ -113,50 +113,6 @@ $ios-notch-offset: 80px !default;
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
.checkout-widget {
|
|
117
|
-
&__voucher-accordion {
|
|
118
|
-
margin-top: 10px;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&__voucher-toggle {
|
|
122
|
-
margin-bottom: 8px;
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
display: flex;
|
|
125
|
-
justify-content: space-between;
|
|
126
|
-
color: $blue;
|
|
127
|
-
font-size: .875rem;
|
|
128
|
-
|
|
129
|
-
&.collapsed {
|
|
130
|
-
margin-bottom: 0;
|
|
131
|
-
|
|
132
|
-
.checkout-widget__icon {
|
|
133
|
-
transform: rotate(180deg);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&__icon {
|
|
139
|
-
width: 16px;
|
|
140
|
-
height: 16px;
|
|
141
|
-
display: flex;
|
|
142
|
-
justify-content: center;
|
|
143
|
-
align-items: center;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
&__voucher-section {
|
|
147
|
-
margin-top: 1rem;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
&__voucher-list {
|
|
151
|
-
list-style: none;
|
|
152
|
-
padding: 0;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
&__voucher-value {
|
|
156
|
-
font-weight: bold;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
116
|
.summary__mobile-order.collapsed .summary__icon {
|
|
161
117
|
transform: rotate(0deg);
|
|
162
118
|
}
|
|
@@ -176,11 +132,14 @@ $ios-notch-offset: 80px !default;
|
|
|
176
132
|
}
|
|
177
133
|
|
|
178
134
|
.checkout-widget__item-free {
|
|
135
|
+
line-height: 1.375rem;
|
|
136
|
+
|
|
179
137
|
.icon {
|
|
180
|
-
margin-left:
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
138
|
+
margin-left: 8px;
|
|
139
|
+
vertical-align: middle;
|
|
140
|
+
color: $green;
|
|
141
|
+
width: 1rem;
|
|
142
|
+
height: 1rem;
|
|
184
143
|
}
|
|
185
144
|
}
|
|
186
145
|
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@import '../helpers/helpers';
|
|
2
|
+
|
|
3
|
+
.checkout-widget {
|
|
4
|
+
&__voucher-accordion {
|
|
5
|
+
margin-top: 10px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&__voucher-toggle {
|
|
9
|
+
margin-bottom: 8px;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
color: $blue;
|
|
14
|
+
font-size: .875rem;
|
|
15
|
+
|
|
16
|
+
&.collapsed {
|
|
17
|
+
margin-bottom: 0;
|
|
18
|
+
|
|
19
|
+
.checkout-widget__icon {
|
|
20
|
+
transform: rotate(180deg);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__icon {
|
|
26
|
+
width: 16px;
|
|
27
|
+
height: 16px;
|
|
28
|
+
display: flex;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
align-items: center;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__voucher-section {
|
|
34
|
+
margin-top: 1rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__voucher-list {
|
|
38
|
+
list-style: none;
|
|
39
|
+
padding: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__voucher-value {
|
|
43
|
+
font-weight: bold;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.collapsing {
|
|
48
|
+
height: 0;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
transition: height .3s ease-in-out;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.collapse.show {
|
|
54
|
+
height: auto;
|
|
55
|
+
transition: height .3s ease-in-out;
|
|
56
|
+
}
|
package/src/scss/main.scss
CHANGED
|
@@ -134,6 +134,15 @@
|
|
|
134
134
|
&__main {
|
|
135
135
|
padding-top: 40px;
|
|
136
136
|
|
|
137
|
+
:where(ul, ol) {
|
|
138
|
+
list-style: revert;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
:where(li) {
|
|
142
|
+
display: list-item;
|
|
143
|
+
list-style: inherit;
|
|
144
|
+
}
|
|
145
|
+
|
|
137
146
|
@include media-breakpoint-only(md) {
|
|
138
147
|
padding-top: 35px;
|
|
139
148
|
}
|