@innovastudio/contentbuilder 1.5.103 → 1.5.104
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
@@ -6515,6 +6515,9 @@ div[data-html] {
|
|
6515
6515
|
font-size: 15px;
|
6516
6516
|
height: var(--cs-height);
|
6517
6517
|
width: 100%;
|
6518
|
+
background: none;
|
6519
|
+
padding: 0;
|
6520
|
+
border: none;
|
6518
6521
|
}
|
6519
6522
|
.custom-select .select-styled {
|
6520
6523
|
display: flex;
|
@@ -6555,8 +6558,8 @@ div[data-html] {
|
|
6555
6558
|
display: flex;
|
6556
6559
|
}
|
6557
6560
|
.custom-select .select-styled svg {
|
6558
|
-
width:
|
6559
|
-
height:
|
6561
|
+
width: 18px;
|
6562
|
+
height: 18px;
|
6560
6563
|
}
|
6561
6564
|
.custom-select .select-styled[aria-expanded=true] > span:nth-child(2) {
|
6562
6565
|
-webkit-transform: rotate(-180deg);
|
@@ -5022,36 +5022,36 @@ class Util {
|
|
5022
5022
|
}
|
5023
5023
|
|
5024
5024
|
/* Disable Modal Animation */
|
5025
|
+
/*
|
5025
5026
|
let animate = false;
|
5026
|
-
if
|
5027
|
-
|
5028
|
-
|
5029
|
-
|
5030
|
-
|
5031
|
-
|
5027
|
+
if(this.builder) {
|
5028
|
+
if(this.builder.opts.animateModal) {
|
5029
|
+
animate = true;
|
5030
|
+
if(!animated){ // if not set or false
|
5031
|
+
animate=false; // overide
|
5032
|
+
}
|
5032
5033
|
}
|
5033
|
-
}
|
5034
5034
|
} else {
|
5035
|
-
|
5036
|
-
|
5037
|
-
|
5038
|
-
|
5039
|
-
|
5040
|
-
|
5041
|
-
|
5042
|
-
|
5043
|
-
|
5044
|
-
|
5045
|
-
|
5046
|
-
|
5047
|
-
|
5048
|
-
|
5049
|
-
|
5050
|
-
|
5051
|
-
|
5052
|
-
});
|
5053
|
-
}
|
5035
|
+
if(animated){ // if set true
|
5036
|
+
animate=true; // overide
|
5037
|
+
}
|
5038
|
+
}
|
5039
|
+
if(animate) {
|
5040
|
+
if(this.builder){
|
5041
|
+
const buildercontainers = this.builder.doc.querySelectorAll(this.builder.opts.container);
|
5042
|
+
Array.prototype.forEach.call(buildercontainers, (buildercontainer) => {
|
5043
|
+
// buildercontainer.style.transform = 'scale(0.98)';
|
5044
|
+
// buildercontainer.style.WebkitTransform= 'scale(0.98)';
|
5045
|
+
// buildercontainer.style.MozTransform= 'scale(0.98)';
|
5046
|
+
buildercontainer.style.transform = `scale(${this.builder.opts.zoom-0.02})`;
|
5047
|
+
buildercontainer.style.WebkitTransform= `scale(${this.builder.opts.zoom-0.02})`;
|
5048
|
+
buildercontainer.style.MozTransform= `scale(${this.builder.opts.zoom-0.02})`;
|
5049
|
+
buildercontainer.setAttribute('scaled-down','1');
|
5050
|
+
});
|
5051
|
+
}
|
5054
5052
|
}
|
5053
|
+
*/
|
5054
|
+
|
5055
5055
|
const ovl = modal.querySelector('.is-modal-overlay');
|
5056
5056
|
if (ovl) ovl.parentNode.removeChild(ovl); // new
|
5057
5057
|
|