@innovastudio/contentbox 1.5.49 → 1.5.50
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@innovastudio/contentbox",
|
3
3
|
"type": "module",
|
4
|
-
"version": "1.5.
|
4
|
+
"version": "1.5.50",
|
5
5
|
"description": "",
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
7
7
|
"files": [
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"webpack-dev-server": "^4.0.0"
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
|
-
"@innovastudio/contentbuilder": "^1.4.
|
49
|
+
"@innovastudio/contentbuilder": "^1.4.40",
|
50
50
|
"js-beautify": "^1.14.0"
|
51
51
|
}
|
52
52
|
}
|
@@ -4100,11 +4100,11 @@ class EditSection {
|
|
4100
4100
|
<div class="div-visibility" style="display:flex;">
|
4101
4101
|
<button title="${out('Visible')}" class="input-visible on" style="width:100px;height:34px;">
|
4102
4102
|
<svg class="is-icon-flex" style="width:16px;height:16px"><use xlink:href="#icon-eye"></use></svg>
|
4103
|
-
<span>${out('Visible')}</span>
|
4103
|
+
<span style="margin-left:5px">${out('Visible')}</span>
|
4104
4104
|
</button>
|
4105
4105
|
<button title="${out('Hidden')}" class="input-hidden" style="width:100px;height:34px;">
|
4106
4106
|
<svg class="is-icon-flex" style="width:16px;height:16px"><use xlink:href="#icon-eye-off"></use></svg>
|
4107
|
-
<span>${out('Hidden')}</span>
|
4107
|
+
<span style="margin-left:5px">${out('Hidden')}</span>
|
4108
4108
|
</button>
|
4109
4109
|
</div>
|
4110
4110
|
|
@@ -91717,6 +91717,24 @@ class Responsive {
|
|
91717
91717
|
|
91718
91718
|
readTarget(area) {
|
91719
91719
|
const inp = area.querySelector('.input-device.on');
|
91720
|
+
const target = inp.getAttribute('data-value');
|
91721
|
+
|
91722
|
+
if (target === '') {
|
91723
|
+
this.builder.livePreview.resizePreview(1920);
|
91724
|
+
}
|
91725
|
+
|
91726
|
+
if (target === 'md') {
|
91727
|
+
this.builder.livePreview.resizePreview(1024);
|
91728
|
+
}
|
91729
|
+
|
91730
|
+
if (target === 'sm') {
|
91731
|
+
this.builder.livePreview.resizePreview(768);
|
91732
|
+
}
|
91733
|
+
|
91734
|
+
if (target === 'xs') {
|
91735
|
+
this.builder.livePreview.resizePreview(375);
|
91736
|
+
}
|
91737
|
+
|
91720
91738
|
return inp.getAttribute('data-value');
|
91721
91739
|
}
|
91722
91740
|
|