@innovastudio/contentbox 1.6.139 → 1.6.141

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
@@ -224,6 +224,7 @@ interface ContentBoxOptions {
224
224
  absolutePath?: boolean;
225
225
  maxEmbedImageWidth?: number;
226
226
  zoom?: number;
227
+ shiftDisableBreakpoint?: number;
227
228
 
228
229
  shortenHTML?: boolean;
229
230
  advancedTimeline?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.139",
4
+ "version": "1.6.141",
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.132",
62
+ "@innovastudio/contentbuilder": "^1.5.133",
63
63
  "js-beautify": "^1.14.0",
64
64
  "sortablejs": "^1.15.2"
65
65
  }
@@ -25788,8 +25788,9 @@ class ControlPanel {
25788
25788
 
25789
25789
  open_(what) {
25790
25790
  const viewportWidth = document.documentElement.clientWidth;
25791
+ const shiftDisableBreakpoint = this.builder.shiftDisableBreakpoint !== undefined ? this.builder.shiftDisableBreakpoint : 1322;
25791
25792
 
25792
- if (viewportWidth <= 1322) {
25793
+ if (viewportWidth <= shiftDisableBreakpoint) {
25793
25794
  document.body.classList.add('shift-off');
25794
25795
  } else {
25795
25796
  document.body.classList.remove('shift-off');
@@ -109935,6 +109936,9 @@ class Dictation {
109935
109936
  font-size: 14px;
109936
109937
  }
109937
109938
  */
109939
+ .is-modal.commandconfig .is-modal-overlay {
109940
+ background: transparent !important;
109941
+ }
109938
109942
  .is-modal.commandconfig ul {
109939
109943
  margin: 0;
109940
109944
  padding: 0 0 0 16px;
@@ -110111,7 +110115,7 @@ class Dictation {
110111
110115
  align-items: center;">
110112
110116
  ${util.out('AI Assistant')}</span>
110113
110117
 
110114
- <button class="is-modal-close" tabindex="-1" title="${util.out('Close')}">
110118
+ <button class="is-modal-close" title="${util.out('Close')}">
110115
110119
  <svg class="is-icon-flex"style="width:22px;height:22px"><use xlink:href="#ion-ios-close-empty"></use></svg>
110116
110120
  </button>
110117
110121
  </div>
@@ -110159,13 +110163,20 @@ class Dictation {
110159
110163
  </div>
110160
110164
  </div>
110161
110165
 
110162
- <div class="is-modal commandconfig" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
110163
- <div class="is-modal-content" style="max-width:380px;padding:55px 40px 35px;">
110164
- <div class="is-modal-bar is-draggable">
110165
- ${util.out('Settings')}
110166
- <button class="is-modal-close" tabindex="-1" title="${util.out('Close')}">&#10005;</button>
110167
- </div>
110168
-
110166
+ <div class="is-modal is-modal-content commandconfig" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true" style="top:calc(50% - 250px);left:calc(50% - 191px);max-width:380px;height:auto;z-index: 10005">
110167
+ <div class="is-modal-bar is-draggable" draggable="">
110168
+ <span style="display: flex;
110169
+ justify-content: center;
110170
+ align-items: center;">
110171
+ ${util.out('Settings')}</span>
110172
+
110173
+ <button class="is-modal-close" title="${util.out('Close')}">
110174
+ <svg class="is-icon-flex"style="width:22px;height:22px"><use xlink:href="#ion-ios-close-empty"></use></svg>
110175
+ </button>
110176
+ </div>
110177
+
110178
+ <div style="width:100%;border-top:transparent 35px solid;box-sizing:border-box;padding:16px 40px 35px;">
110179
+
110169
110180
  <div class="is-label"><span>${util.out('Temperature')}</span>: <span class="val-temp">0.6</span></div>
110170
110181
  <div style="padding-top:4px">
110171
110182
  <input type="range" min="0" max="2" step="0.01" value="0.6" class="temperature-slider is-rangeslider" style="margin:0 !important;">
@@ -110228,6 +110239,9 @@ class Dictation {
110228
110239
  new Draggable$2({
110229
110240
  selector: '.is-modal.page-command .is-draggable'
110230
110241
  });
110242
+ new Draggable$2({
110243
+ selector: '.is-modal.commandconfig .is-draggable'
110244
+ });
110231
110245
  const modalCommandList = builderStuff.querySelector('.commandlist');
110232
110246
  this.modalCommandList = modalCommandList;
110233
110247
  const modalConfig = builderStuff.querySelector('.commandconfig');