@innovastudio/contentbuilder 1.3.44 → 1.3.45

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.3.44",
4
+ "version": "1.3.45",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -72747,16 +72747,18 @@ class Resize {
72747
72747
  item.style.width = '100%';
72748
72748
  item.style.flex = '';
72749
72749
  }
72750
- } else {
72750
+ }
72751
+ /*else {
72751
72752
  // if(!item.getAttribute('data-module') && !item.style.width) {
72752
72753
  // item.style.width = '100%';
72753
72754
  // item.style.flex = '';
72754
72755
  // }
72755
- if (!item.getAttribute('data-module') && item === col.nextElementSibling) {
72756
- item.style.width = '100%';
72757
- item.style.flex = '';
72756
+ if(!item.getAttribute('data-module') && item===col.nextElementSibling) {
72757
+ item.style.width = '100%';
72758
+ item.style.flex = '';
72758
72759
  }
72759
- }
72760
+ }*/
72761
+
72760
72762
  });
72761
72763
 
72762
72764
  if (numOfCols === 1) {
@@ -72835,16 +72837,18 @@ class Resize {
72835
72837
  item.style.width = '100%';
72836
72838
  item.style.flex = '';
72837
72839
  }
72838
- } else {
72840
+ }
72841
+ /*else {
72839
72842
  // if(!item.getAttribute('data-module') && !item.style.width) {
72840
72843
  // item.style.width = '100%';
72841
72844
  // item.style.flex = '';
72842
72845
  // }
72843
- if (!item.getAttribute('data-module') && item === col.nextElementSibling) {
72844
- item.style.width = '100%';
72845
- item.style.flex = '';
72846
+ if(!item.getAttribute('data-module') && item===col.nextElementSibling) {
72847
+ item.style.width = '100%';
72848
+ item.style.flex = '';
72846
72849
  }
72847
- }
72850
+ }*/
72851
+
72848
72852
  });
72849
72853
  } // /adjust others
72850
72854
  // New: Final fix (if column resized exceeds its max)
@@ -74896,8 +74900,8 @@ class ContentBuilder {
74896
74900
  // DEFAULT: Built-in simple css grid
74897
74901
  this.opts.row = 'row'; //row clrfx
74898
74902
 
74899
- this.opts.cols = ['column sixth', 'column fifth', 'column fourth', 'column third', 'column half', 'column two-third', 'column two-fourth', 'column two-fifth', 'column two-sixth', 'column full'];
74900
- this.opts.colequal = [['column sixth', 'column sixth', 'column sixth', 'column sixth', 'column sixth', 'column sixth'], ['column fifth', 'column fifth', 'column fifth', 'column fifth', 'column fifth'], ['column fourth', 'column fourth', 'column fourth', 'column fourth'], ['column third', 'column third', 'column third'], ['column half', 'column half']];
74903
+ this.opts.cols = ['column twelfth', 'column eleventh', 'column tenth', 'column ninth', 'column eighth', 'column seventh', 'column sixth', 'column fifth', 'column fourth', 'column third', 'column half', 'column two-third', 'column two-fourth', 'column two-fifth', 'column two-sixth', 'column full'];
74904
+ this.opts.colequal = [['column twelfth', 'column twelfth', 'column twelfth', 'column twelfth', 'column twelfth', 'column twelfth', 'column twelfth', 'column twelfth', 'column twelfth', 'column twelfth', 'column twelfth', 'column twelfth'], ['column eleventh', 'column eleventh', 'column eleventh', 'column eleventh', 'column eleventh', 'column eleventh', 'column eleventh', 'column eleventh', 'column eleventh', 'column eleventh', 'column eleventh'], ['column tenth', 'column tenth', 'column tenth', 'column tenth', 'column tenth', 'column tenth', 'column tenth', 'column tenth', 'column tenth', 'column tenth'], ['column ninth', 'column ninth', 'column ninth', 'column ninth', 'column ninth', 'column ninth', 'column ninth', 'column ninth', 'column ninth'], ['column eighth', 'column eighth', 'column eighth', 'column eighth', 'column eighth', 'column eighth', 'column eighth', 'column eighth'], ['column seventh', 'column seventh', 'column seventh', 'column seventh', 'column seventh', 'column seventh', 'column seventh'], ['column sixth', 'column sixth', 'column sixth', 'column sixth', 'column sixth', 'column sixth'], ['column fifth', 'column fifth', 'column fifth', 'column fifth', 'column fifth'], ['column fourth', 'column fourth', 'column fourth', 'column fourth'], ['column third', 'column third', 'column third'], ['column half', 'column half']];
74901
74905
  this.opts.colsizes = [//needed for columns in which the size increment is not constant.
74902
74906
  [//increment for 3 columns
74903
74907
  ['column third', 'column third', 'column third'], ['column half', 'column fourth', 'column fourth']], [//increment for 2 columns