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/dist/build/js/app.js +1 -1
- package/dist/build/js/app.js.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/_headers +1 -1
- package/src/_includes/components/product-signpost/product-signpost.scss +2 -5
- package/src/assets/js/imports/off-canvas.js +0 -2
- package/src/prototype/form-altcha.njk +705 -0
- package/src/prototype/form-cloudflare.njk +688 -0
- package/src/prototype/form-hcaptcha.njk +693 -0
- package/src/prototype/forms.njk +0 -3105
package/package.json
CHANGED
package/src/_headers
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
Content-Security-Policy: default-src 'self';
|
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(
|
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 {
|