@innovastudio/contentbox 1.6.191 → 1.6.193

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
@@ -411,6 +411,7 @@ interface OpenModalOptions {
411
411
  w?: string; // modal width (e.g. "500px", "100%")
412
412
  maxW?: string; // max width
413
413
  h?: string; // modal height
414
+ showCloseButton?: boolean;
414
415
  extraStyle?: string; // inline extra styles
415
416
  ariaLabel?: string; // accessibility label
416
417
  onOpen?: (modal: HTMLElement, iframe: HTMLIFrameElement) => void; // callback when opened
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.191",
4
+ "version": "1.6.193",
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.210",
62
+ "@innovastudio/contentbuilder": "^1.5.211",
63
63
  "js-beautify": "^1.14.0",
64
64
  "marked": "^17.0.0",
65
65
  "sortablejs": "^1.15.2"
@@ -2524,6 +2524,7 @@ body.frame-center.controlpanel .is-content-view {
2524
2524
  left: auto;
2525
2525
  width: 35px;
2526
2526
  height: auto;
2527
+ font-size: 13px;
2527
2528
  flex-direction: column;
2528
2529
  border-top-left-radius: 3px;
2529
2530
  border-bottom-left-radius: 3px;
@@ -34055,8 +34055,8 @@ class Util$1 {
34055
34055
  }
34056
34056
  let editingInsidePlugin = false;
34057
34057
  let elm = this.builder.activeElement;
34058
- const plugin = elm.closest('[data-cb-type]');
34059
- const subblock = elm.closest('.is-subblock');
34058
+ const plugin = elm && elm.closest('[data-cb-type]');
34059
+ const subblock = elm && elm.closest('.is-subblock');
34060
34060
  if (plugin && subblock) {
34061
34061
  editingInsidePlugin = true;
34062
34062
  }
@@ -160592,6 +160592,7 @@ Add an image for each feature.`, 'Create a new block showcasing a photo gallery
160592
160592
  top: calc(17% - 14px);
160593
160593
  right: 0px;
160594
160594
  left: auto;
160595
+ font-size: 13px;
160595
160596
  width: 35px;
160596
160597
  height: auto;
160597
160598
  flex-direction: column;