@innovastudio/contentbox 1.6.187 → 1.6.188

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
@@ -403,6 +403,8 @@ interface ContentBoxOptions {
403
403
 
404
404
  activeStyleOffset?: number;
405
405
  contentStylesVersion?: number;
406
+
407
+ setTypographyStyleScope?: (scope: string) => void;
406
408
  }
407
409
 
408
410
  interface OpenModalOptions {
@@ -503,5 +505,8 @@ declare class ContentBox {
503
505
  confirm(message: string, yesText?: string): Promise<boolean>;
504
506
 
505
507
  refresh(): void;
508
+
509
+ activeBox: HTMLElement;
510
+ activeSection: HTMLElement;
506
511
  }
507
512
  export default ContentBox;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.187",
4
+ "version": "1.6.188",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "types": "index.d.ts",
@@ -158970,6 +158970,8 @@ Add an image for each feature.`, 'Create a new block showcasing a photo gallery
158970
158970
  };
158971
158971
  this.settings = Object.assign(this, defaults, settings);
158972
158972
  this.screenMode = this.settings.screenMode; // Expose as direct property
158973
+ // this.activeBox = null;
158974
+ // this.activeSection = null;
158973
158975
 
158974
158976
  if (this.contentStylesVersion === 2) {
158975
158977
  this.settings.contentStyles = this.settings.contentStylesV2;