mp-design-system 1.2.47 → 1.2.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mp-design-system",
3
- "version": "1.2.47",
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 {