mp-design-system 1.2.28 → 1.2.34
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/build/js/app.js +1 -1
- package/dist/build/js/app.js.map +1 -1
- 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 +1 -1
- package/src/_includes/components/button/button.scss +1 -1
- package/src/_includes/components/card/card.njk +1 -1
- package/src/_includes/components/card/existing-customer-card.config.js +2 -2
- package/src/_includes/components/card/existing-customer-card.njk +7 -3
- 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 +10 -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 +9 -5
- package/src/_includes/components/card/search-result-card.scss +5 -1
- 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/eyebrow/eyebrow.scss +1 -1
- package/src/_includes/components/hero/hero.njk +18 -1
- package/src/_includes/components/hero/hero.scss +29 -1
- package/src/_includes/components/input/input.njk +1 -1
- package/src/_includes/components/internal-nav/internal-nav.scss +5 -4
- package/src/_includes/components/scroll-spy/scroll-spy.scss +1 -1
- package/src/_includes/components/signpost/signpost.config.js +21 -1
- package/src/_includes/components/signpost/signpost.njk +13 -3
- package/src/_includes/components/signpost/signpost.scss +39 -0
- package/src/_includes/components/tabs/tabs.scss +4 -0
- package/src/_includes/components/twi/twi.scss +5 -0
- package/src/_includes/navigation/corporate.njk +0 -3
- package/src/assets/js/imports/internal-nav.js +19 -1
- package/src/assets/js/imports/scroll-spy.js +10 -2
- package/src/assets/scss/components/index.scss +3 -1
- package/src/assets/scss/components/product-finder.scss +1 -1
- package/src/assets/scss/objects/grid.scss +12 -1
- package/src/assets/scss/tools/cutoff.scss +5 -1
- package/src/assets/scss/utilities/space.scss +6 -0
- package/src/brand/resources.njk +28 -23
- package/src/index.njk +1 -1
- package/src/prototype/events-hub.njk +524 -0
- package/src/prototype/index.njk +264 -180
- package/src/prototype/range.njk +5 -5
- package/src/prototype/sections.njk +6 -1
- package/src/static/pdf/Power of one Content guidance.pdf +0 -0
- package/src/static/svg/icon-globe-alt--white.svg +4 -0
- package/src/static/svg/icon-globe-alt.svg +4 -0
- package/src/static/svg/icon-live-webinars--white.svg +6 -0
- package/src/static/svg/icon-live-webinars.svg +6 -0
- package/src/static/svg/icon-recorded-webinars--white.svg +4 -0
- package/src/static/svg/icon-recorded-webinars.svg +4 -0
- package/src/static/svg/icon-user-training--white.svg +5 -0
- package/src/static/svg/icon-user-training.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
@@ -0,0 +1,4 @@
|
|
1
|
+
<svg width="136" height="135" viewBox="0 0 136 135" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path d="M57.3667 93.3653H23C17.4771 93.3653 13 88.8882 13 83.3653V31.8654C13 26.3425 17.4772 21.8654 23 21.8654H113C118.523 21.8654 123 26.3425 123 31.8654V83.3653C123 88.8882 118.523 93.3653 113 93.3653H78.6333M57.3667 93.3653H78.6333M57.3667 93.3653V103.135C57.3667 108.658 52.8895 113.135 47.3667 113.135H46.3667M78.6333 93.3653V103.135C78.6333 108.658 83.1105 113.135 88.6333 113.135H89.6333" stroke="#333333" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
3
|
+
<path d="M55.7759 45.2015V70.1403C55.7759 72.4714 58.3183 73.9118 60.3179 72.7136L80.6246 60.5458C82.5443 59.3955 82.5742 56.6242 80.6798 55.4329L60.373 42.662C58.3752 41.4056 55.7759 42.8414 55.7759 45.2015Z" fill="#ffffff" stroke="#ffffff" stroke-width="4"/>
|
4
|
+
</svg>
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<svg width="136" height="135" viewBox="0 0 136 135" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path d="M57.3667 93.3653H23C17.4771 93.3653 13 88.8882 13 83.3653V31.8654C13 26.3425 17.4772 21.8654 23 21.8654H113C118.523 21.8654 123 26.3425 123 31.8654V83.3653C123 88.8882 118.523 93.3653 113 93.3653H78.6333M57.3667 93.3653H78.6333M57.3667 93.3653V103.135C57.3667 108.658 52.8895 113.135 47.3667 113.135H46.3667M78.6333 93.3653V103.135C78.6333 108.658 83.1105 113.135 88.6333 113.135H89.6333" stroke="#333333" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
3
|
+
<path d="M55.7759 45.2015V70.1403C55.7759 72.4714 58.3183 73.9118 60.3179 72.7136L80.6246 60.5458C82.5443 59.3955 82.5742 56.6242 80.6798 55.4329L60.373 42.662C58.3752 41.4056 55.7759 42.8414 55.7759 45.2015Z" fill="#00a2c2" stroke="#00a2c2" stroke-width="4"/>
|
4
|
+
</svg>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<svg width="136" height="135" viewBox="0 0 136 135" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path d="M21.0029 36.6926V39.4762C21.0029 45.2704 24.8279 50.0353 29.4234 50.0353C34.019 50.0353 37.844 45.2704 37.844 39.4762V36.6926C37.844 34.5645 35.5902 29.5521 29.4234 29.5521C23.2567 29.5521 21.0029 33.9921 21.0029 36.6926Z" stroke="#ffffff" stroke-width="5" stroke-linejoin="round"/>
|
3
|
+
<path d="M17.3803 89.2418L15.6821 103.658C15.3572 106.441 12.5901 108.616 9.9273 108.137C6.66157 107.551 5.2466 104.675 5.537 102.048L9.01124 72.9348C9.85435 66.3845 11.9733 63.438 14.7185 62.0392C17.7112 60.5142 23.1538 59.6442 26.1869 59.1496C28.1619 58.8275 30.1711 58.8347 32.1518 59.1196C35.9515 59.6661 41.4506 60.8331 44.6134 62.755C44.8465 62.8967 45.0565 63.0709 45.2504 63.2628L57.7999 75.6753C58.7481 76.5538 60.1363 76.7648 61.3027 76.2079L72.5893 70.8188C75.1964 69.574 78.3224 70.5363 79.7782 73.0318C81.4173 75.8417 80.3008 79.4524 77.3616 80.8466L59.6635 89.2418C58.5131 89.7875 57.1475 89.588 56.2012 88.7361L44.5587 78.255V100.852C44.5587 104.166 41.8724 106.852 38.5587 106.852H22.6478" stroke="#ffffff" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
4
|
+
<path d="M49.2756 53.9583V34.7963C49.2756 30.378 52.8574 26.7963 57.2756 26.7963H122.5C126.918 26.7963 130.5 30.378 130.5 34.7963V75.5442C130.5 79.9624 126.918 83.5442 122.5 83.5442H88.4409" stroke="#333333" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
5
|
+
</svg>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<svg width="136" height="135" viewBox="0 0 136 135" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path d="M21.0029 36.6926V39.4762C21.0029 45.2704 24.8279 50.0353 29.4234 50.0353C34.019 50.0353 37.844 45.2704 37.844 39.4762V36.6926C37.844 34.5645 35.5902 29.5521 29.4234 29.5521C23.2567 29.5521 21.0029 33.9921 21.0029 36.6926Z" stroke="#00a2c2" stroke-width="5" stroke-linejoin="round"/>
|
3
|
+
<path d="M17.3803 89.2418L15.6821 103.658C15.3572 106.441 12.5901 108.616 9.9273 108.137C6.66157 107.551 5.2466 104.675 5.537 102.048L9.01124 72.9348C9.85435 66.3845 11.9733 63.438 14.7185 62.0392C17.7112 60.5142 23.1538 59.6442 26.1869 59.1496C28.1619 58.8275 30.1711 58.8347 32.1518 59.1196C35.9515 59.6661 41.4506 60.8331 44.6134 62.755C44.8465 62.8967 45.0565 63.0709 45.2504 63.2628L57.7999 75.6753C58.7481 76.5538 60.1363 76.7648 61.3027 76.2079L72.5893 70.8188C75.1964 69.574 78.3224 70.5363 79.7782 73.0318C81.4173 75.8417 80.3008 79.4524 77.3616 80.8466L59.6635 89.2418C58.5131 89.7875 57.1475 89.588 56.2012 88.7361L44.5587 78.255V100.852C44.5587 104.166 41.8724 106.852 38.5587 106.852H22.6478" stroke="#00a2c2" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
4
|
+
<path d="M49.2756 53.9583V34.7963C49.2756 30.378 52.8574 26.7963 57.2756 26.7963H122.5C126.918 26.7963 130.5 30.378 130.5 34.7963V75.5442C130.5 79.9624 126.918 83.5442 122.5 83.5442H88.4409" stroke="#333333" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
5
|
+
</svg>
|
@@ -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
|
-
}
|