mp-design-system 1.2.27 → 1.2.30
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/build/scss/library.css +1 -1
- package/dist/build/scss/library.css.map +1 -1
- package/dist/build/scss/main.css +1 -1
- package/dist/build/scss/main.css.map +1 -1
- package/package.json +2 -2
- package/src/_includes/components/button/button.scss +1 -1
- package/src/_includes/components/card/existing-customer-card.config.js +51 -0
- package/src/_includes/components/card/existing-customer-card.njk +40 -0
- package/src/_includes/components/card/existing-customer-card.scss +100 -0
- package/src/_includes/components/card/industry-card.config.js +26 -3
- package/src/_includes/components/card/industry-card.njk +32 -6
- package/src/_includes/components/card/industry-card.scss +76 -6
- package/src/_includes/components/card/macro.njk +14 -2
- package/src/_includes/components/card/measurement-type-card.config.js +35 -0
- package/src/_includes/components/card/measurement-type-card.njk +35 -0
- package/src/_includes/components/card/measurement-type-card.scss +56 -0
- package/src/_includes/components/card/{product-comparison-card.config.js → product-card.config.js} +28 -27
- package/src/_includes/components/card/product-card.njk +50 -0
- package/src/_includes/components/card/product-card.scss +88 -0
- package/src/_includes/components/card/search-result-card.config.js +2 -2
- package/src/_includes/components/card/search-result-card.njk +27 -18
- package/src/_includes/components/card/search-result-card.scss +5 -5
- package/src/_includes/components/card/technology-card.config.js +35 -0
- package/src/_includes/components/card/technology-card.njk +35 -0
- package/src/_includes/components/card/technology-card.scss +56 -0
- package/src/_includes/components/component/preview-fixed-width.njk +5 -0
- package/src/_includes/components/eyebrow/eyebrow.config.js +14 -0
- package/src/_includes/components/eyebrow/eyebrow.scss +10 -0
- package/src/_includes/components/signpost/signpost.config.js +14 -1
- package/src/_includes/components/signpost/signpost.njk +7 -4
- package/src/_includes/components/signpost/signpost.scss +23 -0
- package/src/_includes/components/tabs/tabs.scss +4 -0
- package/src/_includes/components/twi/twi.scss +4 -0
- package/src/_includes/layout.njk +0 -2
- package/src/_includes/navigation/corporate.njk +0 -3
- package/src/assets/scss/components/index.scss +4 -1
- package/src/assets/scss/components/product-finder.scss +1 -1
- package/src/assets/scss/tools/cutoff.scss +5 -1
- package/src/assets/scss/tools/index.scss +11 -7
- package/src/assets/scss/utilities/space.scss +6 -0
- package/src/index.njk +1 -1
- package/src/prototype/events-hub.njk +463 -0
- package/src/prototype/index.njk +251 -182
- package/src/prototype/range.njk +5 -5
- package/src/prototype/sections.njk +6 -1
- package/src/static/svg/icon-globe-alt.svg +4 -0
- package/src/static/svg/icon-live-webinars.svg +6 -0
- package/src/static/svg/icon-recorded-webinars.svg +4 -0
- package/src/static/svg/icon-user-trainings.svg +5 -0
- package/src/_includes/components/card/product-comparison-card.njk +0 -37
- package/src/_includes/components/card/product-comparison-card.scss +0 -79
- /package/src/assets/fonts/{inter-bold.woff → Inter-Bold.woff} +0 -0
- /package/src/assets/fonts/{inter-bold.woff2 → Inter-Bold.woff2} +0 -0
- /package/src/assets/fonts/{inter-regular.woff → Inter-Regular.woff} +0 -0
- /package/src/assets/fonts/{inter-regular.woff2 → Inter-Regular.woff2} +0 -0
- /package/src/assets/fonts/{inter-semibold.woff → Inter-SemiBold.woff} +0 -0
- /package/src/assets/fonts/{inter-semibold.woff2 → Inter-SemiBold.woff2} +0 -0
@@ -1,37 +0,0 @@
|
|
1
|
-
{%- from "components/button/macro.njk" import button -%}
|
2
|
-
{%- from "components/twi/macro.njk" import twi -%}
|
3
|
-
|
4
|
-
<article class="mp c-product-comparison-card" role="article" aria-label="Product card">
|
5
|
-
<div class="c-product-comparison-card__body">
|
6
|
-
<h3 class="c-product-comparison-card__heading">{{ params.title }}</h3>
|
7
|
-
<p>{{ params.description }}</p>
|
8
|
-
{% if params.features | length %}
|
9
|
-
<p class="c-product-comparison-card__features-list-heading">Features include</p>
|
10
|
-
<ul class="c-product-comparison-card__features-list">
|
11
|
-
{% for feature in params.features %}
|
12
|
-
<li class="c-product-comparison-card__feature--{{ feature.icon }}">
|
13
|
-
{{ twi({
|
14
|
-
label: feature.label,
|
15
|
-
icon: feature.icon
|
16
|
-
}) }}
|
17
|
-
</li>
|
18
|
-
{% endfor %}
|
19
|
-
</ul>
|
20
|
-
{% endif %}
|
21
|
-
<footer class="c-product-comparison-card__footer">
|
22
|
-
{% if params.footer.buttons | length %}
|
23
|
-
{% for item in params.footer.buttons %}
|
24
|
-
{{ button({
|
25
|
-
link: item.link,
|
26
|
-
label: item.label,
|
27
|
-
colour: 'outline-green' if loop.index0 == 0 else 'green'
|
28
|
-
}) }}
|
29
|
-
{% endfor %}
|
30
|
-
{% endif %}
|
31
|
-
</footer>
|
32
|
-
</div>
|
33
|
-
<figure class="c-product-comparison-card__image">
|
34
|
-
<img src="{{ params.image.src }}" alt="{{ params.image.alt or params.title }}" />
|
35
|
-
</figure>
|
36
|
-
</article>
|
37
|
-
|
@@ -1,79 +0,0 @@
|
|
1
|
-
.c-product-comparison-card {
|
2
|
-
@extend .u-flow--2xs;
|
3
|
-
background: color('white');
|
4
|
-
display: flex;
|
5
|
-
flex-flow: column;
|
6
|
-
flex-grow: 1;
|
7
|
-
border: 1px solid color('petrol', 'step-2');
|
8
|
-
|
9
|
-
& > * + * {
|
10
|
-
@include margin-top('2xs');
|
11
|
-
}
|
12
|
-
|
13
|
-
&__body {
|
14
|
-
@include padding('s-m');
|
15
|
-
display: flex;
|
16
|
-
flex-flow: column;
|
17
|
-
flex-grow: 1;
|
18
|
-
|
19
|
-
& > * + * {
|
20
|
-
@include margin-top('xs');
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
&__heading {
|
25
|
-
@extend .c-h;
|
26
|
-
@extend .c-h--step-1;
|
27
|
-
}
|
28
|
-
|
29
|
-
&__features-list {
|
30
|
-
@include margin-top('2xs');
|
31
|
-
list-style: none;
|
32
|
-
|
33
|
-
&-heading {
|
34
|
-
@include margin-top('s');
|
35
|
-
font-weight: weight("bold");
|
36
|
-
}
|
37
|
-
|
38
|
-
& > * + * {
|
39
|
-
@include margin-top('3xs');
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
&__feature {
|
44
|
-
&--tick {
|
45
|
-
svg {
|
46
|
-
color: color('green');
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
&--cross {
|
51
|
-
color: color('grey', 'step-2');
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
&__footer {
|
56
|
-
@include margin-top('auto');
|
57
|
-
@include padding-top('s');
|
58
|
-
display: flex;
|
59
|
-
flex-flow: row;
|
60
|
-
flex-wrap: wrap;
|
61
|
-
gap: var(--space-2xs);
|
62
|
-
|
63
|
-
& > * {
|
64
|
-
flex-grow: 1;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
|
68
|
-
&__image {
|
69
|
-
height: 10em;
|
70
|
-
order: -1;
|
71
|
-
aspect-ratio: 16/9;
|
72
|
-
|
73
|
-
img {
|
74
|
-
height: 100%;
|
75
|
-
width: 100%;
|
76
|
-
object-fit: contain;
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|