@innovastudio/contentbox 1.6.141 → 1.6.143
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/index.d.ts
CHANGED
package/package.json
CHANGED
@@ -10668,7 +10668,7 @@ class PanelText {
|
|
10668
10668
|
<button title="${out('Color')}" class="btn-color is-btn-color"></button>
|
10669
10669
|
</div>
|
10670
10670
|
</div>
|
10671
|
-
<div class="mr-8">
|
10671
|
+
<div class="mr-8 div-text-gradient-control">
|
10672
10672
|
<div class="label mt-2">${out('Gradient')}:</div>
|
10673
10673
|
<div class="group">
|
10674
10674
|
<button title="${out('Gradient')}" class="btn-gradient is-btn-color"></button>
|
@@ -11116,6 +11116,14 @@ class PanelText {
|
|
11116
11116
|
if (!activeElement) return;
|
11117
11117
|
}
|
11118
11118
|
|
11119
|
+
const divTextGradient = this.panel.querySelector('.div-text-gradient-control');
|
11120
|
+
|
11121
|
+
if (activeElement.closest('[role="button"]')) {
|
11122
|
+
divTextGradient.style.display = 'none';
|
11123
|
+
} else {
|
11124
|
+
divTextGradient.style.display = '';
|
11125
|
+
}
|
11126
|
+
|
11119
11127
|
const btnColorPick = this.panel.querySelector('.btn-color');
|
11120
11128
|
let currentColor = this.text.getStyle(activeElement, 'color');
|
11121
11129
|
btnColorPick.style.backgroundColor = currentColor;
|
@@ -25788,9 +25796,8 @@ class ControlPanel {
|
|
25788
25796
|
|
25789
25797
|
open_(what) {
|
25790
25798
|
const viewportWidth = document.documentElement.clientWidth;
|
25791
|
-
const shiftDisableBreakpoint = this.builder.shiftDisableBreakpoint !== undefined ? this.builder.shiftDisableBreakpoint : 1322;
|
25792
25799
|
|
25793
|
-
if (viewportWidth <= shiftDisableBreakpoint) {
|
25800
|
+
if (viewportWidth <= this.builder.shiftDisableBreakpoint) {
|
25794
25801
|
document.body.classList.add('shift-off');
|
25795
25802
|
} else {
|
25796
25803
|
document.body.classList.remove('shift-off');
|
@@ -157419,6 +157426,7 @@ class ContentBox {
|
|
157419
157426
|
// iframe only
|
157420
157427
|
canvas: true,
|
157421
157428
|
blankHtml: '',
|
157429
|
+
shiftDisableBreakpoint: 0,
|
157422
157430
|
lang: [],
|
157423
157431
|
// Old Template System:
|
157424
157432
|
designUrl1: 'assets/designs/basic.js',
|