wickes-css2 2.103.0-0.5.0-icons.6 → 2.103.0-0.5.0-icons.8

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.
@@ -1,51 +1,51 @@
1
1
  function returnMembers() {
2
- return {
3
- canLoadMore: true,
4
- members: [
5
- {
6
- 'id': 'john.doe@wickes.co.uk',
7
- 'name': 'John Doe',
8
- 'email': 'john.doe@wickes.co.uk',
9
- 'date': '24/02/2022',
10
- 'order-history-url': 'page_tradePro_order-history.html',
11
- "status": "PENDING",
12
- "card-label": "Pending"
13
- },
14
- {
15
- 'id': 'john.doe2@wickes.co.uk',
16
- 'name': 'John Doe2',
17
- 'email': 'john.doe2@wickes.co.uk',
18
- 'date': '24/02/2022',
19
- 'order-history-url': 'page_tradePro_order-history.html',
20
- 'card-label': 'Other label'
21
- },
22
- {
23
- 'id': 'john.doe3@wickes.co.uk',
24
- 'name': 'John Doe3',
25
- 'email': 'john.doe3@wickes.co.uk',
26
- 'date': '24/02/2022',
27
- 'order-history-url': 'page_tradePro_order-history.html',
28
- }
29
- ],
30
- };
2
+ return {
3
+ canLoadMore: true,
4
+ members: [
5
+ {
6
+ id: 'john.doe@wickes.co.uk',
7
+ name: 'John Doe',
8
+ email: 'john.doe@wickes.co.uk',
9
+ date: '24/02/2022',
10
+ 'order-history-url': 'page_tradePro_order-history.html',
11
+ status: 'PENDING',
12
+ 'card-label': 'Pending',
13
+ },
14
+ {
15
+ id: 'john.doe2@wickes.co.uk',
16
+ name: 'John Doe2',
17
+ email: 'john.doe2@wickes.co.uk',
18
+ date: '24/02/2022',
19
+ 'order-history-url': 'page_tradePro_order-history.html',
20
+ 'card-label': 'Other label',
21
+ },
22
+ {
23
+ id: 'john.doe3@wickes.co.uk',
24
+ name: 'John Doe3',
25
+ email: 'john.doe3@wickes.co.uk',
26
+ date: '24/02/2022',
27
+ 'order-history-url': 'page_tradePro_order-history.html',
28
+ },
29
+ ],
30
+ };
31
31
  }
32
32
 
33
33
  function initAccountHubFunctionality() {
34
- Wick.AccountHub.initAccountHub();
35
- Wick.AccountHub.initAccountHubRemove();
34
+ Wick.AccountHub.initAccountHub();
35
+ Wick.AccountHub.initAccountHubRemove();
36
36
 
37
- $(window).on(Wick.AccountHub.LOAD_MORE_EVENT, function (e) {
38
- setTimeout(() => {
39
- e.detail.resolve(returnMembers());
40
- }, 1000);
41
- });
37
+ $(window).on(Wick.AccountHub.LOAD_MORE_EVENT, function (e) {
38
+ setTimeout(() => {
39
+ e.detail.resolve(returnMembers());
40
+ }, 1000);
41
+ });
42
42
  }
43
43
 
44
44
  $(document).ready(function () {
45
- if (!$('.account-hub').length) {
46
- return;
47
- }
48
- initAccountHubFunctionality();
45
+ if (!$('.account-hub').length) {
46
+ return;
47
+ }
48
+ initAccountHubFunctionality();
49
49
  });
50
50
 
51
51
  const ALREADY_EXIST_EMAIL = 'fe@wickes.co.uk';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wickes-css2",
3
- "version": "2.103.0-0.5.0-icons.6",
3
+ "version": "2.103.0-0.5.0-icons.8",
4
4
  "description": "CSS and JS and page templates in use by Wickes",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,49 +1,49 @@
1
1
  function returnMembers() {
2
- return {
3
- canLoadMore: true,
4
- members: [
5
- {
6
- 'id': 'john.doe@wickes.co.uk',
7
- 'name': 'John Doe',
8
- 'email': 'john.doe@wickes.co.uk',
9
- 'date': '24/02/2022',
10
- 'order-history-url': 'page_tradePro_order-history.html',
11
- "status": "PENDING",
12
- "card-label": "Pending"
13
- },
14
- {
15
- 'id': 'john.doe2@wickes.co.uk',
16
- 'name': 'John Doe2',
17
- 'email': 'john.doe2@wickes.co.uk',
18
- 'date': '24/02/2022',
19
- 'order-history-url': 'page_tradePro_order-history.html',
20
- 'card-label': 'Other label'
21
- },
22
- {
23
- 'id': 'john.doe3@wickes.co.uk',
24
- 'name': 'John Doe3',
25
- 'email': 'john.doe3@wickes.co.uk',
26
- 'date': '24/02/2022',
27
- 'order-history-url': 'page_tradePro_order-history.html',
28
- }
29
- ],
30
- };
2
+ return {
3
+ canLoadMore: true,
4
+ members: [
5
+ {
6
+ id: 'john.doe@wickes.co.uk',
7
+ name: 'John Doe',
8
+ email: 'john.doe@wickes.co.uk',
9
+ date: '24/02/2022',
10
+ 'order-history-url': 'page_tradePro_order-history.html',
11
+ status: 'PENDING',
12
+ 'card-label': 'Pending',
13
+ },
14
+ {
15
+ id: 'john.doe2@wickes.co.uk',
16
+ name: 'John Doe2',
17
+ email: 'john.doe2@wickes.co.uk',
18
+ date: '24/02/2022',
19
+ 'order-history-url': 'page_tradePro_order-history.html',
20
+ 'card-label': 'Other label',
21
+ },
22
+ {
23
+ id: 'john.doe3@wickes.co.uk',
24
+ name: 'John Doe3',
25
+ email: 'john.doe3@wickes.co.uk',
26
+ date: '24/02/2022',
27
+ 'order-history-url': 'page_tradePro_order-history.html',
28
+ },
29
+ ],
30
+ };
31
31
  }
32
32
 
33
33
  function initAccountHubFunctionality() {
34
- Wick.AccountHub.initAccountHub();
35
- Wick.AccountHub.initAccountHubRemove();
34
+ Wick.AccountHub.initAccountHub();
35
+ Wick.AccountHub.initAccountHubRemove();
36
36
 
37
- $(window).on(Wick.AccountHub.LOAD_MORE_EVENT, function (e) {
38
- setTimeout(() => {
39
- e.detail.resolve(returnMembers());
40
- }, 1000);
41
- });
37
+ $(window).on(Wick.AccountHub.LOAD_MORE_EVENT, function (e) {
38
+ setTimeout(() => {
39
+ e.detail.resolve(returnMembers());
40
+ }, 1000);
41
+ });
42
42
  }
43
43
 
44
44
  $(document).ready(function () {
45
- if (!$('.account-hub').length) {
46
- return;
47
- }
48
- initAccountHubFunctionality();
45
+ if (!$('.account-hub').length) {
46
+ return;
47
+ }
48
+ initAccountHubFunctionality();
49
49
  });
@@ -29,7 +29,7 @@
29
29
 
30
30
  &__address {
31
31
  .fa-map-marker-alt {
32
- max-width: .75rem;
32
+ max-width: 0.75rem;
33
33
  }
34
34
  }
35
35
  }
@@ -54,11 +54,11 @@
54
54
  }
55
55
 
56
56
  .offer-banner__link-arrow {
57
- max-width: .625rem;
57
+ max-width: 0.625rem;
58
58
  }
59
59
 
60
60
  @include media-breakpoint-down(sm) {
61
- .cards-store-list:not(:nth-child(-n+4)) {
61
+ .cards-store-list:not(:nth-child(-n + 4)) {
62
62
  display: none;
63
63
  }
64
64
  }