ninegrid2 6.693.0 → 6.695.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.
@@ -121145,6 +121145,8 @@ class nxSplitter extends HTMLElement {
121145
121145
  ? e.clientX - prevRect.left
121146
121146
  : e.clientY - prevRect.top;
121147
121147
 
121148
+ console.log(e.clientX, prevRect.left, delta);
121149
+
121148
121150
  if (this.#mode === "h") {
121149
121151
  prev.style.width = `${delta}px`;
121150
121152
 
@@ -121154,6 +121156,8 @@ class nxSplitter extends HTMLElement {
121154
121156
  prev.style.height = `${delta}px`;
121155
121157
  next.style.height = `${parentRect.height - (prevRect.top - parentRect.top) - delta - splitterSize}px`;
121156
121158
  }
121159
+
121160
+ console.log(e.clientX, prevRect.left, delta, next.style.width);
121157
121161
  };
121158
121162
 
121159
121163
 
@@ -121141,6 +121141,8 @@ class nxSplitter extends HTMLElement {
121141
121141
  ? e.clientX - prevRect.left
121142
121142
  : e.clientY - prevRect.top;
121143
121143
 
121144
+ console.log(e.clientX, prevRect.left, delta);
121145
+
121144
121146
  if (this.#mode === "h") {
121145
121147
  prev.style.width = `${delta}px`;
121146
121148
 
@@ -121150,6 +121152,8 @@ class nxSplitter extends HTMLElement {
121150
121152
  prev.style.height = `${delta}px`;
121151
121153
  next.style.height = `${parentRect.height - (prevRect.top - parentRect.top) - delta - splitterSize}px`;
121152
121154
  }
121155
+
121156
+ console.log(e.clientX, prevRect.left, delta, next.style.width);
121153
121157
  };
121154
121158
 
121155
121159
 
@@ -130,6 +130,8 @@ class nxSplitter extends HTMLElement {
130
130
  ? e.clientX - prevRect.left
131
131
  : e.clientY - prevRect.top;
132
132
 
133
+ console.log(e.clientX, prevRect.left, delta);
134
+
133
135
  if (this.#mode === "h") {
134
136
  prev.style.width = `${delta}px`;
135
137
 
@@ -139,6 +141,8 @@ class nxSplitter extends HTMLElement {
139
141
  prev.style.height = `${delta}px`;
140
142
  next.style.height = `${parentRect.height - (prevRect.top - parentRect.top) - delta - splitterSize}px`;
141
143
  }
144
+
145
+ console.log(e.clientX, prevRect.left, delta, next.style.width);
142
146
  };
143
147
 
144
148
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.693.0",
4
+ "version": "6.695.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -130,6 +130,8 @@ class nxSplitter extends HTMLElement {
130
130
  ? e.clientX - prevRect.left
131
131
  : e.clientY - prevRect.top;
132
132
 
133
+ console.log(e.clientX, prevRect.left, delta);
134
+
133
135
  if (this.#mode === "h") {
134
136
  prev.style.width = `${delta}px`;
135
137
 
@@ -139,6 +141,8 @@ class nxSplitter extends HTMLElement {
139
141
  prev.style.height = `${delta}px`;
140
142
  next.style.height = `${parentRect.height - (prevRect.top - parentRect.top) - delta - splitterSize}px`;
141
143
  }
144
+
145
+ console.log(e.clientX, prevRect.left, delta, next.style.width);
142
146
  };
143
147
 
144
148