mp-design-system 0.9.16 → 0.9.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/build/scss/main.css +1 -1
- package/dist/build/scss/main.css.map +1 -1
- package/package.json +1 -1
- package/src/_includes/components/features-table/features-table.config.js +121 -0
- package/src/_includes/components/features-table/features-table.njk +11 -7
- package/src/_includes/components/features-table/features-table.scss +4 -9
- package/src/_includes/components/gallery/gallery.config.js +29 -0
- package/src/_includes/components/gallery/gallery.md +0 -0
- package/src/_includes/components/gallery/gallery.njk +52 -0
- package/src/{assets/scss/components → _includes/components/gallery}/gallery.scss +0 -0
- package/src/_includes/components/gallery/macro.njk +5 -0
- package/src/assets/scss/components/index.scss +24 -24
package/package.json
CHANGED
@@ -1,4 +1,122 @@
|
|
1
1
|
const products = [
|
2
|
+
{
|
3
|
+
title: 'Mastersizer 3000',
|
4
|
+
link: '/prototype/product/',
|
5
|
+
image: {
|
6
|
+
src: '/static/img/range-product-1.jpg',
|
7
|
+
alt: 'Mastersizer 3000'
|
8
|
+
},
|
9
|
+
description: 'Delivering the data you need for outcomes you can trust',
|
10
|
+
range: '0.01µm - 3500µm',
|
11
|
+
checklist: [
|
12
|
+
{
|
13
|
+
title: 'Automated wet',
|
14
|
+
value: true,
|
15
|
+
},
|
16
|
+
{
|
17
|
+
title: 'Automated dry powder',
|
18
|
+
value: true,
|
19
|
+
},
|
20
|
+
{
|
21
|
+
title: 'Manual wet',
|
22
|
+
value: true,
|
23
|
+
},
|
24
|
+
{
|
25
|
+
title: 'Manual dry powder',
|
26
|
+
value: false,
|
27
|
+
},
|
28
|
+
{
|
29
|
+
title: '21 CFR Part 11 support',
|
30
|
+
value: true,
|
31
|
+
},
|
32
|
+
{
|
33
|
+
title: 'IQ/OQ validation',
|
34
|
+
value: true,
|
35
|
+
},
|
36
|
+
{
|
37
|
+
title: 'Data quality assessment',
|
38
|
+
value: true,
|
39
|
+
}
|
40
|
+
]
|
41
|
+
},
|
42
|
+
{
|
43
|
+
title: 'Mastersizer 3000E',
|
44
|
+
link: '/prototype/product/',
|
45
|
+
image: {
|
46
|
+
src: '/static/img/range-product-2.jpg',
|
47
|
+
alt: 'Mastersizer 3000E'
|
48
|
+
},
|
49
|
+
description: 'Entry level particle size analyzer',
|
50
|
+
checklist: [
|
51
|
+
{
|
52
|
+
title: 'Automated wet',
|
53
|
+
value: true,
|
54
|
+
},
|
55
|
+
{
|
56
|
+
title: 'Automated dry powder',
|
57
|
+
value: true,
|
58
|
+
},
|
59
|
+
{
|
60
|
+
title: 'Manual wet',
|
61
|
+
value: true,
|
62
|
+
},
|
63
|
+
{
|
64
|
+
title: 'Manual dry powder',
|
65
|
+
value: false,
|
66
|
+
},
|
67
|
+
{
|
68
|
+
title: '21 CFR Part 11 support',
|
69
|
+
value: true,
|
70
|
+
},
|
71
|
+
{
|
72
|
+
title: 'IQ/OQ validation',
|
73
|
+
value: true,
|
74
|
+
},
|
75
|
+
{
|
76
|
+
title: 'Data quality assessment',
|
77
|
+
value: true,
|
78
|
+
}
|
79
|
+
]
|
80
|
+
},
|
81
|
+
{
|
82
|
+
title: 'Mastersizer 3000E',
|
83
|
+
link: '/prototype/product/',
|
84
|
+
image: {
|
85
|
+
src: '/static/img/range-product-2.jpg',
|
86
|
+
alt: 'Mastersizer 3000E'
|
87
|
+
},
|
88
|
+
description: 'Entry level particle size analyzer',
|
89
|
+
checklist: [
|
90
|
+
{
|
91
|
+
title: 'Automated wet',
|
92
|
+
value: true,
|
93
|
+
},
|
94
|
+
{
|
95
|
+
title: 'Automated dry powder',
|
96
|
+
value: true,
|
97
|
+
},
|
98
|
+
{
|
99
|
+
title: 'Manual wet',
|
100
|
+
value: true,
|
101
|
+
},
|
102
|
+
{
|
103
|
+
title: 'Manual dry powder',
|
104
|
+
value: false,
|
105
|
+
},
|
106
|
+
{
|
107
|
+
title: '21 CFR Part 11 support',
|
108
|
+
value: true,
|
109
|
+
},
|
110
|
+
{
|
111
|
+
title: 'IQ/OQ validation',
|
112
|
+
value: true,
|
113
|
+
},
|
114
|
+
{
|
115
|
+
title: 'Data quality assessment',
|
116
|
+
value: true,
|
117
|
+
}
|
118
|
+
]
|
119
|
+
}
|
2
120
|
]
|
3
121
|
|
4
122
|
module.exports = {
|
@@ -8,6 +126,9 @@ module.exports = {
|
|
8
126
|
},
|
9
127
|
context: {
|
10
128
|
sections: [
|
129
|
+
{
|
130
|
+
title: 'Compatible sample dispersions',
|
131
|
+
}
|
11
132
|
],
|
12
133
|
products: [
|
13
134
|
...products
|
@@ -143,7 +143,7 @@
|
|
143
143
|
<tfoot>
|
144
144
|
<tr>
|
145
145
|
<td>
|
146
|
-
<a href="/en/products/product-range/mastersizer-range/mastersizer-
|
146
|
+
<a href="/en/products/product-range/mastersizer-range/mastersizer-3000e" class="mp c-button c-button--inline">Request a quote</a>
|
147
147
|
</td>
|
148
148
|
</tr>
|
149
149
|
</tfoot>
|
@@ -197,7 +197,7 @@
|
|
197
197
|
<tfoot>
|
198
198
|
<tr>
|
199
199
|
<td>
|
200
|
-
<a href="/en/products/product-range/mastersizer-range/mastersizer-
|
200
|
+
<a href="/en/products/product-range/mastersizer-range/mastersizer-3000e" class="mp c-button c-button--inline">Request a quote</a>
|
201
201
|
</td>
|
202
202
|
</tr>
|
203
203
|
</tfoot>
|
@@ -348,11 +348,15 @@
|
|
348
348
|
</tbody>
|
349
349
|
<tfoot>
|
350
350
|
<tr>
|
351
|
-
|
352
|
-
<
|
353
|
-
|
354
|
-
|
355
|
-
|
351
|
+
<td>
|
352
|
+
<a href="/en/products/product-range/mastersizer-range/mastersizer-3000" class="mp c-button c-button--inline">Request a quote</a>
|
353
|
+
</td>
|
354
|
+
<td>
|
355
|
+
<a href="/en/products/product-range/mastersizer-range/mastersizer-3000e" class="mp c-button c-button--inline">Request a quote</a>
|
356
|
+
</td>
|
357
|
+
<td>
|
358
|
+
<a href="/en/products/product-range/mastersizer-range/mastersizer-3000e" class="mp c-button c-button--inline">Request a quote</a>
|
359
|
+
</td>
|
356
360
|
</tr>
|
357
361
|
</tfoot>
|
358
362
|
</table>
|
@@ -39,20 +39,15 @@
|
|
39
39
|
}
|
40
40
|
|
41
41
|
&__checklist-title th {
|
42
|
-
color:
|
42
|
+
color: color('grey') !important;
|
43
43
|
background: transparent !important;
|
44
44
|
padding-bottom: 0 !important;
|
45
45
|
}
|
46
46
|
|
47
|
-
tr.c-features__checklist:nth-last-child {
|
48
|
-
background: red;
|
49
|
-
@include padding-bottom('m');
|
50
|
-
}
|
51
|
-
|
52
47
|
&__checklist {
|
53
48
|
td {
|
54
|
-
|
55
|
-
padding-bottom: 0;
|
49
|
+
padding-top: var(--space-3xs) !important;
|
50
|
+
padding-bottom: 0 !important;
|
56
51
|
vertical-align: middle;
|
57
52
|
line-height: 20px;
|
58
53
|
|
@@ -67,7 +62,7 @@
|
|
67
62
|
|
68
63
|
&--last {
|
69
64
|
td {
|
70
|
-
|
65
|
+
padding-bottom: var(--space-s) !important;
|
71
66
|
}
|
72
67
|
}
|
73
68
|
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module.exports = {
|
2
|
+
title: 'Gallery',
|
3
|
+
component: {
|
4
|
+
name: 'gallery'
|
5
|
+
},
|
6
|
+
// docs: true,
|
7
|
+
context: {
|
8
|
+
images: [
|
9
|
+
{
|
10
|
+
src: '/static/img/slide-1.jpg',
|
11
|
+
title: 'Mastersizer slide 1'
|
12
|
+
},
|
13
|
+
{
|
14
|
+
src: '/static/img/slide-2.jpg',
|
15
|
+
title: 'Mastersizer slide 2'
|
16
|
+
},
|
17
|
+
{
|
18
|
+
src: '/static/img/slide-3.jpg',
|
19
|
+
title: 'Mastersizer slide 3'
|
20
|
+
}
|
21
|
+
],
|
22
|
+
videos: [
|
23
|
+
{
|
24
|
+
title: 'FOCUS ON THE AIR YOU BREATHE - Elemental analysis of air filters according to US EPA Method io-3.3',
|
25
|
+
id: 'Q4H7EdHFghs'
|
26
|
+
}
|
27
|
+
]
|
28
|
+
}
|
29
|
+
}
|
File without changes
|
@@ -0,0 +1,52 @@
|
|
1
|
+
{% from "components/embed/macro.njk" import youtube %}
|
2
|
+
|
3
|
+
{% set count = 1 %}
|
4
|
+
|
5
|
+
<div class="u-flow c-gallery">
|
6
|
+
<div class="c-gallery__main">
|
7
|
+
{% if params.images | length %}
|
8
|
+
{% for image in params.images %}
|
9
|
+
{% set active = (count == 1) %}
|
10
|
+
<figure class="c-gallery__slide {{"active" if active}}" data-slide="{{count}}">
|
11
|
+
<img src="{{image.src}}" alt="{{image.title}}" >
|
12
|
+
</figure>
|
13
|
+
{% set count = count+1 %}
|
14
|
+
{% endfor %}
|
15
|
+
{% endif %}
|
16
|
+
{% if params.videos | length %}
|
17
|
+
{% for video in params.videos %}
|
18
|
+
<div class="c-gallery__slide c-gallery__video" data-slide="{{count}}">
|
19
|
+
{{ youtube({
|
20
|
+
title: video.title,
|
21
|
+
id: video.id
|
22
|
+
}) }}
|
23
|
+
</div>
|
24
|
+
{% set count = count+1 %}
|
25
|
+
{% endfor %}
|
26
|
+
{% endif %}
|
27
|
+
</div>
|
28
|
+
|
29
|
+
{% set count = 1 %}
|
30
|
+
|
31
|
+
<div class="c-gallery__thumbnails">
|
32
|
+
{% if params.images | length %}
|
33
|
+
{% for image in params.images %}
|
34
|
+
{% set active = (count == 1) %}
|
35
|
+
<figure class="c-gallery__slide {{"active" if active}}" data-slide="{{count}}">
|
36
|
+
<img src="{{image.src}}" alt="{{image.title}}" loading="lazy" width="102">
|
37
|
+
</figure>
|
38
|
+
{% set count = count+1 %}
|
39
|
+
{% endfor %}
|
40
|
+
{% endif %}
|
41
|
+
{% if params.videos | length %}
|
42
|
+
{% for video in params.videos %}
|
43
|
+
{% set active = (count == 1) %}
|
44
|
+
<figure class="c-gallery__slide {{"active" if active}}" data-slide="{{count}}">
|
45
|
+
<img src="https://img.youtube.com/vi/{{video.id}}/default.jpg" alt="{{video.title}}" loading="lazy" width="102">
|
46
|
+
</figure>
|
47
|
+
{% set count = count+1 %}
|
48
|
+
{% endfor %}
|
49
|
+
{% endif %}
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
</div>
|
File without changes
|
@@ -1,35 +1,35 @@
|
|
1
|
+
@import '~comp/accordion/accordion.scss';
|
2
|
+
@import '~comp/alert/alert.scss';
|
1
3
|
@import '~comp/button/button.scss';
|
2
|
-
@import '~comp/icon/icon.scss';
|
3
|
-
@import '~comp/twi/twi.scss';
|
4
|
-
@import '~comp/table/table.scss';
|
5
|
-
@import '~comp/post-meta/post-meta.scss';
|
6
|
-
@import '~comp/header/header.scss';
|
7
|
-
@import '~comp/footer/footer.scss';
|
8
|
-
@import '~comp/input/input.scss';
|
9
|
-
@import '~comp/product-signpost/product-signpost.scss';
|
10
|
-
@import '~comp/usp/usp.scss';
|
11
4
|
@import '~comp/campaign/campaign.scss';
|
12
|
-
@import '~comp/
|
13
|
-
@import '~comp/
|
14
|
-
@import '~comp/
|
5
|
+
@import '~comp/card/card.scss';
|
6
|
+
@import '~comp/comparison-table/comparison-table.scss';
|
7
|
+
@import '~comp/embed/embed.scss';
|
15
8
|
@import '~comp/featured-article-card/featured-article-card.scss';
|
16
|
-
@import '~comp/
|
17
|
-
@import '~comp/input/radio.scss';
|
9
|
+
@import '~comp/features-table/features-table.scss';
|
18
10
|
@import '~comp/filter-search/filter-search.scss';
|
19
|
-
@import '~comp/
|
20
|
-
@import '~comp/
|
11
|
+
@import '~comp/footer/footer.scss';
|
12
|
+
@import '~comp/gallery/gallery.scss';
|
13
|
+
@import '~comp/header/header.scss';
|
14
|
+
@import '~comp/hero/hero.scss';
|
15
|
+
@import '~comp/icon/icon.scss';
|
16
|
+
@import '~comp/industry-card/industry-card.scss';
|
17
|
+
@import '~comp/input/input.scss';
|
18
|
+
@import '~comp/input/radio.scss';
|
19
|
+
@import '~comp/internal-nav/internal-nav.scss';
|
20
|
+
@import '~comp/meta-box/meta-box.scss';
|
21
21
|
@import '~comp/option-list/option-list.scss';
|
22
|
-
@import '~comp/
|
22
|
+
@import '~comp/post-meta/post-meta.scss';
|
23
|
+
@import '~comp/product-signpost/product-signpost.scss';
|
24
|
+
@import '~comp/quote/quote.scss';
|
23
25
|
@import '~comp/scroll-spy/scroll-spy.scss';
|
24
26
|
@import '~comp/series/series.scss';
|
25
|
-
@import '~comp/
|
26
|
-
@import '~comp/features-table/features-table.scss';
|
27
|
-
@import '~comp/meta-box/meta-box.scss';
|
27
|
+
@import '~comp/signpost/signpost.scss';
|
28
28
|
@import '~comp/slat/slat.scss';
|
29
|
-
@import '~comp/
|
30
|
-
@import '~comp/
|
31
|
-
@import '~comp/
|
29
|
+
@import '~comp/table/table.scss';
|
30
|
+
@import '~comp/tabs/tabs.scss';
|
31
|
+
@import '~comp/twi/twi.scss';
|
32
|
+
@import '~comp/usp/usp.scss';
|
32
33
|
|
33
34
|
@import './headings.scss';
|
34
|
-
@import './gallery.scss';
|
35
35
|
@import './lightbox.scss';
|