@innovastudio/contentbuilder 1.4.11 → 1.4.12

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.4.11",
4
+ "version": "1.4.12",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -58324,7 +58324,20 @@ class RowTool {
58324
58324
 
58325
58325
  let actualRow = row.parentNode; // row is actually row overlay
58326
58326
 
58327
- this.realtimeVisibility(actualRow); //More
58327
+ this.realtimeVisibility(actualRow);
58328
+ let elms = this.rowSettings.querySelectorAll('.input-breakpoint');
58329
+ elms.forEach(elm => {
58330
+ elm.classList.remove('on');
58331
+ });
58332
+
58333
+ if (actualRow.classList.contains('md-wrap')) {
58334
+ this.rowSettings.querySelector('.input-breakpoint[data-value="md"]').classList.add('on');
58335
+ } else if (actualRow.classList.contains('sm-wrap')) {
58336
+ this.rowSettings.querySelector('.input-breakpoint[data-value="sm"]').classList.add('on');
58337
+ } else {
58338
+ this.rowSettings.querySelector('.input-breakpoint[data-value="xs"]').classList.add('on');
58339
+ } //More
58340
+
58328
58341
 
58329
58342
  let inpRowId = this.rowSettings.querySelector('.input-row-id');
58330
58343
  inpRowId.value = '';