mp-design-system 1.2.59 → 1.2.62

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mp-design-system",
3
- "version": "1.2.59",
3
+ "version": "1.2.62",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev": "npm-run-all --parallel bundle:*",
package/src/_headers CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- Content-Security-Policy: default-src 'self'; base-uri 'self'; block-all-mixed-content; font-src 'self' https://fonts.gstatic.com; form-action 'self'; frame-src 'self' https://brand.malvernpanalytical.com https://www.youtube.com https://challenges.cloudflare.com https://newassets.hcaptcha.com; frame-ancestors 'self' https://brand.malvernpanalytical.com; img-src 'self' data: https://dam.malvernpanalytical.com https://p3.aprimocdn.net https://img.youtube.com; object-src 'none'; picture-in-picture 'self'; sandbox allow-forms allow-same-origin allow-scripts allow-downloads; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://polyfill.io https://eu.altcha.org https://challenges.cloudflare.com https://js.hcaptcha.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; upgrade-insecure-requests;
2
+ Content-Security-Policy: default-src 'self'; base-uri 'self'; block-all-mixed-content; font-src 'self' https://fonts.gstatic.com; form-action 'self'; frame-src 'self' https://brand.malvernpanalytical.com https://www.youtube.com https://challenges.cloudflare.com https://newassets.hcaptcha.com; frame-ancestors 'self' https://brand.malvernpanalytical.com; img-src 'self' data: https://dam.malvernpanalytical.com https://p3.aprimocdn.net https://img.youtube.com; object-src 'none'; picture-in-picture 'self'; sandbox allow-forms allow-same-origin allow-scripts allow-downloads; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://eu.altcha.org https://challenges.cloudflare.com https://js.hcaptcha.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; upgrade-insecure-requests;
3
3
  X-Content-Type-Options: nosniff
4
4
  X-Frame-Options: SAMEORIGIN
5
5
  X-XSS-Protection: 1; mode=block
@@ -35,7 +35,7 @@ module.exports = {
35
35
  {
36
36
  title: 'With link',
37
37
  context: {
38
- content: '<p><a href="#">During the COVID-19 situation</a>, our sales team are still available to answer all your sales enquiries</p>'
38
+ content: '<p><a class="c-alert__text-link c-twi" href="#">During the COVID-19 situation</a>, our sales team are still available to answer all your sales enquiries</p>'
39
39
  }
40
40
  },
41
41
  {
@@ -24,4 +24,4 @@
24
24
  <div class="{{ classNames }}">
25
25
  {{ params.content | safe }}
26
26
  {{ icon({ id: params.icon or icons[type] }) }}
27
- </div>
27
+ </div>
@@ -15,7 +15,13 @@
15
15
  margin-top: 1em;
16
16
  }
17
17
 
18
- a {
18
+ :has(.u-fill):hover .c-alert__text-link {
19
+ text-decoration: none;
20
+ }
21
+
22
+ a,
23
+ &__text-link,
24
+ &__text-link.c-twi {
19
25
  color: var(--alert-border);
20
26
  text-decoration: underline;
21
27
 
@@ -26,6 +26,8 @@
26
26
  @extend .u-remove-bullets, .u-flow--s;
27
27
  @include padding('s');
28
28
  display: none;
29
+ max-height: 215px;
30
+ overflow-y: auto;
29
31
  }
30
32
 
31
33
  &--open {
@@ -44,4 +46,4 @@
44
46
  }
45
47
  }
46
48
  }
47
- }
49
+ }
@@ -47,7 +47,6 @@
47
47
  </script>
48
48
  <script src="/build/js/app.js" defer></script>
49
49
  <script>window.MSInputMethodContext && document.documentMode && document.write('<script src="https://cdn.jsdelivr.net/gh/nuxodin/ie11CustomProperties@4.1.0/ie11CustomProperties.min.js"><\/script>');</script>
50
- <script src="https://polyfill.io/v3/polyfill.min.js?features=Array.prototype.forEach%2CDOMTokenList.prototype.forEach%2CNodeList.prototype.forEach%2CArray.from"></script>
51
50
  {% block head %}{% endblock %}
52
51
  </head>
53
52
  <body class="{{ bodyClass }}">