mp-design-system 1.2.46 → 1.2.48

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.46",
3
+ "version": "1.2.48",
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'; script-src 'self' 'unsafe-inline' 'unsafe-eval' polyfill.io; style-src 'self' 'unsafe-inline' fonts.googleapis.com; img-src 'self' data: p3.aprimocdn.net img.youtube.com; font-src 'self' fonts.gstatic.com; frame-src 'self' brand.malvernpanalytical.com www.youtube.com; frame-ancestors 'self' brand.malvernpanalytical.com; object-src 'none'; base-uri 'self'; form-action 'self'; upgrade-insecure-requests; block-all-mixed-content; sandbox allow-forms allow-same-origin allow-scripts allow-downloads;
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://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;
3
3
  X-Content-Type-Options: nosniff
4
4
  X-Frame-Options: SAMEORIGIN
5
5
  X-XSS-Protection: 1; mode=block
@@ -21,14 +21,11 @@
21
21
  flex-shrink: 0;
22
22
  }
23
23
 
24
- &__content {
25
- flex-grow: 1;
26
- }
27
-
28
24
  &__wrapper {
29
25
  display: flex;
30
26
  flex-direction: column;
31
- @include space('gap', 'xs-s');
27
+ @include space("gap", "xs-s");
28
+ max-width: 100%;
32
29
  }
33
30
 
34
31
  .o-prose p {
@@ -40,8 +40,6 @@ function isVisible(element) {
40
40
  // Function to handle off-canvas behavior based on visibility
41
41
  function handleOffCanvas(toggle, isVisible) {
42
42
  const target = document.getElementById(toggle.getAttribute('data-target'));
43
- console.log(target);
44
- console.log(isVisible);
45
43
  if (isVisible === true) {
46
44
  createOffCanvas(target);
47
45
  } else {
@@ -17,6 +17,10 @@
17
17
 
18
18
  .c-form__input {
19
19
  flex: 1 0 298px;
20
+
21
+ @media only screen and (max-width: 31.25em) {
22
+ flex-shrink: 1;
23
+ }
20
24
  }
21
25
 
22
26
  .c-input {
@@ -26,7 +30,7 @@
26
30
 
27
31
  &__input-wrap {
28
32
  display: flex;
29
- gap: var(--space-s);
33
+ gap: var(--space-3xs) var(--space-s);
30
34
  flex-wrap: wrap;
31
35
  align-items: flex-start;
32
36
 
@@ -93,6 +93,9 @@
93
93
  .u-pad-s-m {
94
94
  @include padding('s-m');
95
95
  }
96
+ .u-pad-s-l {
97
+ @include padding('s-l');
98
+ }
96
99
  .u-pad-m {
97
100
  @include padding('m');
98
101
  }