@innovastudio/contentbuilder 1.4.2 → 1.4.3

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/license.txt CHANGED
@@ -19,9 +19,12 @@ STANDARD DEVELOPER LICENSE AGREEMENT
19
19
 
20
20
  4. You will be responsible for providing support to your clients, and InnovaStudio will not communicate directly with your clients under any circumstances.
21
21
 
22
- 5 You are not allowed to re-distribute the Product as another plugin and/or sell the Product as is. You must include the Product in your custom application.
22
+ 5. InnovaStudio provides support and free Product upgrades/updates for 1 (One) year period since purchase date.
23
+ Upgrade/update is optional. Your license remains active even if you do not upgrade the Product.
23
24
 
24
- 6. LIMITED WARRANTY
25
+ 6 You are not allowed to re-distribute the Product as another plugin and/or sell the Product as is. You must include the Product in your custom application.
26
+
27
+ 7. LIMITED WARRANTY
25
28
  Although InnovaStudio has tested the Product and reviewed the documentation, InnovaStudio makes no warranty or representation, either expressed or implied, with respect to the Product, its quality, performance, merchantability, or fitness for a particular purpose. As a result, ContentBuilder.js is licensed AS-IS, and you are assuming the entire risk as to its quality and performance.
26
29
  InnovaStudio shall not be liable for any claim or right to recover damages, including, but not limited to, loss of profit, data, or use of the software or special, incidental, or consequential damages, or other similar claims, even if InnovaStudio has been specifically advised of the possibility of such damages.
27
30
 
@@ -44,9 +47,12 @@ PRO DEVELOPER LICENSE AGREEMENT
44
47
 
45
48
  6. You will be responsible for providing support to your clients, and InnovaStudio will not communicate directly with your clients under any circumstances.
46
49
 
47
- 7. You are not allowed to re-distribute the Product as another plugin and/or sell the Product as is. You must include the Product in your custom application.
50
+ 7. InnovaStudio provides support and free Product upgrades/updates for 1 (One) year period since purchase date.
51
+ Upgrade/update is optional. Your license remains active even if you do not upgrade the Product.
52
+
53
+ 8. You are not allowed to re-distribute the Product as another plugin and/or sell the Product as is. You must include the Product in your custom application.
48
54
 
49
- 8. LIMITED WARRANTY
55
+ 9. LIMITED WARRANTY
50
56
  Although InnovaStudio has tested the Product and reviewed the documentation, InnovaStudio makes no warranty or representation, either expressed or implied, with respect to the Product, its quality, performance, merchantability, or fitness for a particular purpose. As a result, ContentBuilder.js is licensed AS-IS, and you are assuming the entire risk as to its quality and performance.
51
57
  InnovaStudio shall not be liable for any claim or right to recover damages, including, but not limited to, loss of profit, data, or use of the software or special, incidental, or consequential damages, or other similar claims, even if InnovaStudio has been specifically advised of the possibility of such damages.
52
58
 
@@ -69,9 +75,12 @@ SUPER DEVELOPER LICENSE AGREEMENT
69
75
 
70
76
  6. You will be responsible for providing support to your clients, and InnovaStudio will not communicate directly with your clients under any circumstances.
71
77
 
72
- 7. You are not allowed to re-distribute the Product as another plugin and/or sell the Product as is. You must include the Product in your custom application.
78
+ 7. InnovaStudio provides support and free Product upgrades/updates for 1 (One) year period since purchase date.
79
+ Upgrade/update is optional. Your license remains active even if you do not upgrade the Product.
80
+
81
+ 8. You are not allowed to re-distribute the Product as another plugin and/or sell the Product as is. You must include the Product in your custom application.
73
82
 
74
- 8. LIMITED WARRANTY
83
+ 9. LIMITED WARRANTY
75
84
  Although InnovaStudio has tested the Product and reviewed the documentation, InnovaStudio makes no warranty or representation, either expressed or implied, with respect to the Product, its quality, performance, merchantability, or fitness for a particular purpose. As a result, ContentBuilder.js is licensed AS-IS, and you are assuming the entire risk as to its quality and performance.
76
85
  InnovaStudio shall not be liable for any claim or right to recover damages, including, but not limited to, loss of profit, data, or use of the software or special, incidental, or consequential damages, or other similar claims, even if InnovaStudio has been specifically advised of the possibility of such damages.
77
86
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.4.2",
4
+ "version": "1.4.3",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -5410,3 +5410,23 @@ button:focus-visible {
5410
5410
  pointer-events: none;
5411
5411
  user-select: none;
5412
5412
  }
5413
+
5414
+ /*
5415
+ @media (min-width: 761px) and (max-width: 970px) {
5416
+ body.data-editor .sm-hidden {
5417
+ opacity: 0.5 !important;
5418
+ background-color: rgb(130 130 130 / 14%) !important;
5419
+ }
5420
+ }
5421
+ @media (min-width: 971px) and (max-width: 1280px) {
5422
+ body.data-editor .md-hidden {
5423
+ opacity: 0.5 !important;
5424
+ background-color: rgb(130 130 130 / 14%) !important;
5425
+ }
5426
+ }
5427
+ @media (min-width: 1281px) {
5428
+ body.data-editor .desktop-hidden {
5429
+ opacity: 0.5 !important;
5430
+ background-color: rgb(130 130 130 / 14%) !important;
5431
+ }
5432
+ }*/
@@ -57721,6 +57721,7 @@ class RowTool {
57721
57721
  btnVisible.addEventListener('click', () => {
57722
57722
  let row = util.rowSelected();
57723
57723
  if (!row) return;
57724
+ this.builder.uo.saveForUndo();
57724
57725
  row.classList.remove('hideonmobile');
57725
57726
  let divTarget = this.rowSettings.querySelector('.div-target');
57726
57727
  let target = this.builder.responsive.readTarget(divTarget);
@@ -57736,11 +57737,14 @@ class RowTool {
57736
57737
  }
57737
57738
 
57738
57739
  btnVisible.classList.add('on');
57739
- btnHidden.classList.remove('on');
57740
+ btnHidden.classList.remove('on'); //Trigger Change event
57741
+
57742
+ this.builder.opts.onChange();
57740
57743
  });
57741
57744
  btnHidden.addEventListener('click', () => {
57742
57745
  let row = util.rowSelected();
57743
57746
  if (!row) return;
57747
+ this.builder.uo.saveForUndo();
57744
57748
  row.classList.remove('hideonmobile');
57745
57749
  let divTarget = this.rowSettings.querySelector('.div-target');
57746
57750
  let target = this.builder.responsive.readTarget(divTarget);
@@ -57756,7 +57760,9 @@ class RowTool {
57756
57760
  }
57757
57761
 
57758
57762
  btnVisible.classList.remove('on');
57759
- btnHidden.classList.add('on');
57763
+ btnHidden.classList.add('on'); //Trigger Change event
57764
+
57765
+ this.builder.opts.onChange();
57760
57766
  }); //More
57761
57767
 
57762
57768
  let inpRowId = rowSettings.querySelector('.input-row-id');
@@ -60160,6 +60166,7 @@ class ColumnTool {
60160
60166
  btnVisible.addEventListener('click', () => {
60161
60167
  let cell = this.util.cellSelected();
60162
60168
  if (!cell) return;
60169
+ this.builder.uo.saveForUndo();
60163
60170
  cell.classList.remove('hideonmobile');
60164
60171
  let divTarget = this.cellSettings.querySelector('.div-target');
60165
60172
  let target = this.builder.responsive.readTarget(divTarget);
@@ -60177,11 +60184,14 @@ class ColumnTool {
60177
60184
  }
60178
60185
 
60179
60186
  btnVisible.classList.add('on');
60180
- btnHidden.classList.remove('on');
60187
+ btnHidden.classList.remove('on'); //Trigger Change event
60188
+
60189
+ this.builder.opts.onChange();
60181
60190
  });
60182
60191
  btnHidden.addEventListener('click', () => {
60183
60192
  let cell = this.util.cellSelected();
60184
60193
  if (!cell) return;
60194
+ this.builder.uo.saveForUndo();
60185
60195
  cell.classList.remove('hideonmobile');
60186
60196
  let divTarget = this.cellSettings.querySelector('.div-target');
60187
60197
  let target = this.builder.responsive.readTarget(divTarget);
@@ -60199,7 +60209,9 @@ class ColumnTool {
60199
60209
  }
60200
60210
 
60201
60211
  btnVisible.classList.remove('on');
60202
- btnHidden.classList.add('on');
60212
+ btnHidden.classList.add('on'); //Trigger Change event
60213
+
60214
+ this.builder.opts.onChange();
60203
60215
  });
60204
60216
  }
60205
60217
 
@@ -61428,6 +61440,7 @@ class ElementGeneralStyles {
61428
61440
  let btnHidden = panelStuff.querySelector('.input-hidden');
61429
61441
  btnVisible.addEventListener('click', () => {
61430
61442
  const elm = this.builder.inspectedElement;
61443
+ this.builder.uo.saveForUndo();
61431
61444
  elm.classList.remove('hideonmobile');
61432
61445
  let divTarget = panelStuff.querySelector('.div-target');
61433
61446
  let target = this.builder.responsive.readTarget(divTarget);
@@ -61443,10 +61456,13 @@ class ElementGeneralStyles {
61443
61456
  }
61444
61457
 
61445
61458
  btnVisible.classList.add('on');
61446
- btnHidden.classList.remove('on');
61459
+ btnHidden.classList.remove('on'); //Trigger Change event
61460
+
61461
+ this.builder.opts.onChange();
61447
61462
  });
61448
61463
  btnHidden.addEventListener('click', () => {
61449
61464
  const elm = this.builder.inspectedElement;
61465
+ this.builder.uo.saveForUndo();
61450
61466
  elm.classList.remove('hideonmobile');
61451
61467
  let divTarget = panelStuff.querySelector('.div-target');
61452
61468
  let target = this.builder.responsive.readTarget(divTarget);
@@ -61462,7 +61478,9 @@ class ElementGeneralStyles {
61462
61478
  }
61463
61479
 
61464
61480
  btnVisible.classList.remove('on');
61465
- btnHidden.classList.add('on');
61481
+ btnHidden.classList.add('on'); //Trigger Change event
61482
+
61483
+ this.builder.opts.onChange();
61466
61484
  });
61467
61485
  }
61468
61486