ninegrid2 6.848.0 → 6.849.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.
@@ -121211,11 +121211,13 @@ class nxSplitter extends HTMLElement {
121211
121211
  let totalPadding = 0;
121212
121212
 
121213
121213
  while (el) {
121214
+ console.log(el, el instanceof Element, el instanceof ShadowRoot);
121214
121215
  if (el instanceof Element) {
121215
121216
  const style = getComputedStyle(el);
121216
121217
  totalPadding += parseFloat(style.paddingLeft) || 0;
121217
121218
  el = el.offsetParent;
121218
121219
  } else if (el instanceof ShadowRoot) {
121220
+
121219
121221
  const host = el.host;
121220
121222
  const style = getComputedStyle(host);
121221
121223
  totalPadding += parseFloat(style.paddingLeft) || 0;
@@ -121207,11 +121207,13 @@ class nxSplitter extends HTMLElement {
121207
121207
  let totalPadding = 0;
121208
121208
 
121209
121209
  while (el) {
121210
+ console.log(el, el instanceof Element, el instanceof ShadowRoot);
121210
121211
  if (el instanceof Element) {
121211
121212
  const style = getComputedStyle(el);
121212
121213
  totalPadding += parseFloat(style.paddingLeft) || 0;
121213
121214
  el = el.offsetParent;
121214
121215
  } else if (el instanceof ShadowRoot) {
121216
+
121215
121217
  const host = el.host;
121216
121218
  const style = getComputedStyle(host);
121217
121219
  totalPadding += parseFloat(style.paddingLeft) || 0;
@@ -66,11 +66,13 @@ class nxSplitter extends HTMLElement {
66
66
  let totalPadding = 0;
67
67
 
68
68
  while (el) {
69
+ console.log(el, el instanceof Element, el instanceof ShadowRoot);
69
70
  if (el instanceof Element) {
70
71
  const style = getComputedStyle(el);
71
72
  totalPadding += parseFloat(style.paddingLeft) || 0;
72
73
  el = el.offsetParent;
73
74
  } else if (el instanceof ShadowRoot) {
75
+
74
76
  const host = el.host;
75
77
  const style = getComputedStyle(host);
76
78
  totalPadding += parseFloat(style.paddingLeft) || 0;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.848.0",
4
+ "version": "6.849.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -66,11 +66,13 @@ class nxSplitter extends HTMLElement {
66
66
  let totalPadding = 0;
67
67
 
68
68
  while (el) {
69
+ console.log(el, el instanceof Element, el instanceof ShadowRoot);
69
70
  if (el instanceof Element) {
70
71
  const style = getComputedStyle(el);
71
72
  totalPadding += parseFloat(style.paddingLeft) || 0;
72
73
  el = el.offsetParent;
73
74
  } else if (el instanceof ShadowRoot) {
75
+
74
76
  const host = el.host;
75
77
  const style = getComputedStyle(host);
76
78
  totalPadding += parseFloat(style.paddingLeft) || 0;