ninegrid2 6.1020.0 → 6.1021.0

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.
@@ -121512,6 +121512,9 @@ class nxSplitter extends HTMLElement {
121512
121512
  allPanels.length;
121513
121513
 
121514
121514
  allPanels.forEach(panel => {
121515
+
121516
+ console.log(panel);
121517
+
121515
121518
  const panelRect = panel.getBoundingClientRect();
121516
121519
  const currentSize = isHorizontal ? panelRect.width : panelRect.height;
121517
121520
 
@@ -121521,6 +121524,8 @@ class nxSplitter extends HTMLElement {
121521
121524
 
121522
121525
  const newFlexBasis = newSize / newTotalSize;
121523
121526
  panel.style.flex = `${newFlexBasis} ${newFlexBasis} 0`;
121527
+
121528
+ console.log(panel.style.flex);
121524
121529
  });
121525
121530
  };
121526
121531
 
@@ -121508,6 +121508,9 @@ class nxSplitter extends HTMLElement {
121508
121508
  allPanels.length;
121509
121509
 
121510
121510
  allPanels.forEach(panel => {
121511
+
121512
+ console.log(panel);
121513
+
121511
121514
  const panelRect = panel.getBoundingClientRect();
121512
121515
  const currentSize = isHorizontal ? panelRect.width : panelRect.height;
121513
121516
 
@@ -121517,6 +121520,8 @@ class nxSplitter extends HTMLElement {
121517
121520
 
121518
121521
  const newFlexBasis = newSize / newTotalSize;
121519
121522
  panel.style.flex = `${newFlexBasis} ${newFlexBasis} 0`;
121523
+
121524
+ console.log(panel.style.flex);
121520
121525
  });
121521
121526
  };
121522
121527
 
@@ -145,6 +145,9 @@ class nxSplitter extends HTMLElement {
145
145
  const newTotalFlex = allPanels.length;
146
146
 
147
147
  allPanels.forEach(panel => {
148
+
149
+ console.log(panel);
150
+
148
151
  const panelRect = panel.getBoundingClientRect();
149
152
  const currentSize = isHorizontal ? panelRect.width : panelRect.height;
150
153
 
@@ -154,6 +157,8 @@ class nxSplitter extends HTMLElement {
154
157
 
155
158
  const newFlexBasis = newSize / newTotalSize;
156
159
  panel.style.flex = `${newFlexBasis} ${newFlexBasis} 0`;
160
+
161
+ console.log(panel.style.flex);
157
162
  });
158
163
  };
159
164
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1020.0",
4
+ "version": "6.1021.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -145,6 +145,9 @@ class nxSplitter extends HTMLElement {
145
145
  const newTotalFlex = allPanels.length;
146
146
 
147
147
  allPanels.forEach(panel => {
148
+
149
+ console.log(panel);
150
+
148
151
  const panelRect = panel.getBoundingClientRect();
149
152
  const currentSize = isHorizontal ? panelRect.width : panelRect.height;
150
153
 
@@ -154,6 +157,8 @@ class nxSplitter extends HTMLElement {
154
157
 
155
158
  const newFlexBasis = newSize / newTotalSize;
156
159
  panel.style.flex = `${newFlexBasis} ${newFlexBasis} 0`;
160
+
161
+ console.log(panel.style.flex);
157
162
  });
158
163
  };
159
164