@innovastudio/contentbox 1.6.107 → 1.6.108
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,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@innovastudio/contentbox",
|
3
3
|
"type": "module",
|
4
|
-
"version": "1.6.
|
4
|
+
"version": "1.6.108",
|
5
5
|
"description": "",
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
7
7
|
"types": "index.d.ts",
|
@@ -59,7 +59,7 @@
|
|
59
59
|
"ws": "^8.13.0"
|
60
60
|
},
|
61
61
|
"dependencies": {
|
62
|
-
"@innovastudio/contentbuilder": "^1.5.
|
62
|
+
"@innovastudio/contentbuilder": "^1.5.104",
|
63
63
|
"js-beautify": "^1.14.0",
|
64
64
|
"sortablejs": "^1.15.2"
|
65
65
|
}
|
@@ -31443,36 +31443,36 @@ class Util$1 {
|
|
31443
31443
|
}
|
31444
31444
|
|
31445
31445
|
/* Disable Modal Animation */
|
31446
|
+
/*
|
31446
31447
|
let animate = false;
|
31447
|
-
if
|
31448
|
-
|
31449
|
-
|
31450
|
-
|
31451
|
-
|
31452
|
-
|
31448
|
+
if(this.builder) {
|
31449
|
+
if(this.builder.opts.animateModal) {
|
31450
|
+
animate = true;
|
31451
|
+
if(!animated){ // if not set or false
|
31452
|
+
animate=false; // overide
|
31453
|
+
}
|
31453
31454
|
}
|
31454
|
-
}
|
31455
31455
|
} else {
|
31456
|
-
|
31457
|
-
|
31458
|
-
|
31459
|
-
}
|
31456
|
+
if(animated){ // if set true
|
31457
|
+
animate=true; // overide
|
31458
|
+
}
|
31460
31459
|
}
|
31461
|
-
|
31462
|
-
|
31463
|
-
|
31464
|
-
|
31465
|
-
|
31466
|
-
|
31467
|
-
|
31468
|
-
|
31469
|
-
|
31470
|
-
|
31471
|
-
|
31472
|
-
|
31473
|
-
}
|
31474
|
-
}
|
31460
|
+
if(animate) {
|
31461
|
+
if(this.builder){
|
31462
|
+
const buildercontainers = this.builder.doc.querySelectorAll(this.builder.opts.container);
|
31463
|
+
Array.prototype.forEach.call(buildercontainers, (buildercontainer) => {
|
31464
|
+
// buildercontainer.style.transform = 'scale(0.98)';
|
31465
|
+
// buildercontainer.style.WebkitTransform= 'scale(0.98)';
|
31466
|
+
// buildercontainer.style.MozTransform= 'scale(0.98)';
|
31467
|
+
buildercontainer.style.transform = `scale(${this.builder.opts.zoom-0.02})`;
|
31468
|
+
buildercontainer.style.WebkitTransform= `scale(${this.builder.opts.zoom-0.02})`;
|
31469
|
+
buildercontainer.style.MozTransform= `scale(${this.builder.opts.zoom-0.02})`;
|
31470
|
+
buildercontainer.setAttribute('scaled-down','1');
|
31471
|
+
});
|
31472
|
+
}
|
31475
31473
|
}
|
31474
|
+
*/
|
31475
|
+
|
31476
31476
|
const ovl = modal.querySelector('.is-modal-overlay');
|
31477
31477
|
if (ovl) ovl.parentNode.removeChild(ovl); // new
|
31478
31478
|
|