ninegrid2 6.660.0 → 6.661.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.
@@ -120128,7 +120128,7 @@ class nxSideMenu extends HTMLElement
120128
120128
 
120129
120129
  const el = ninegrid.querySelector(`nx-side-menu-item[href="${href}"]`, this.shadowRoot);
120130
120130
  if (el) {
120131
- el.addClass("active");
120131
+ el.classList.add("active");
120132
120132
  }
120133
120133
  }
120134
120134
  }, 1000);
@@ -120124,7 +120124,7 @@ class nxSideMenu extends HTMLElement
120124
120124
 
120125
120125
  const el = ninegrid.querySelector(`nx-side-menu-item[href="${href}"]`, this.shadowRoot);
120126
120126
  if (el) {
120127
- el.addClass("active");
120127
+ el.classList.add("active");
120128
120128
  }
120129
120129
  }
120130
120130
  }, 1000);
@@ -24,7 +24,7 @@ class nxSideMenu extends HTMLElement
24
24
 
25
25
  const el = ninegrid.querySelector(`nx-side-menu-item[href="${href}"]`, this.shadowRoot);
26
26
  if (el) {
27
- el.addClass("active");
27
+ el.classList.add("active");
28
28
  }
29
29
  }
30
30
  }, 1000);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.660.0",
4
+ "version": "6.661.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -24,7 +24,7 @@ class nxSideMenu extends HTMLElement
24
24
 
25
25
  const el = ninegrid.querySelector(`nx-side-menu-item[href="${href}"]`, this.shadowRoot);
26
26
  if (el) {
27
- el.addClass("active");
27
+ el.classList.add("active");
28
28
  }
29
29
  }
30
30
  }, 1000);