ninegrid2 6.499.0 → 6.501.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.
@@ -51,7 +51,7 @@ class aiContainer extends HTMLElement
51
51
  this.shadowRoot.querySelector(".expand-icon").addEventListener("click", this.#toggleCollapseHandler);
52
52
  this.shadowRoot.querySelector(".collapse-icon").addEventListener("click", this.#toggleCollapseHandler);
53
53
 
54
- this.shadowRoot.querySelector(".menu-icon").addEventListener("click", this.#menuClickHandler);
54
+ this.shadowRoot.querySelectorAll(".menu-icon").forEach(el => el.addEventListener("click", this.#menuClickHandler));
55
55
  };
56
56
 
57
57
  #toggleCollapseHandler = () => {
@@ -27905,7 +27905,7 @@ class aiContainer extends HTMLElement
27905
27905
  this.shadowRoot.querySelector(".expand-icon").addEventListener("click", this.#toggleCollapseHandler);
27906
27906
  this.shadowRoot.querySelector(".collapse-icon").addEventListener("click", this.#toggleCollapseHandler);
27907
27907
 
27908
- this.shadowRoot.querySelector(".menu-icon").addEventListener("click", this.#menuClickHandler);
27908
+ this.shadowRoot.querySelectorAll(".menu-icon").forEach(el => el.addEventListener("click", this.#menuClickHandler));
27909
27909
  };
27910
27910
 
27911
27911
  #toggleCollapseHandler = () => {
@@ -27903,7 +27903,7 @@ class aiContainer extends HTMLElement
27903
27903
  this.shadowRoot.querySelector(".expand-icon").addEventListener("click", this.#toggleCollapseHandler);
27904
27904
  this.shadowRoot.querySelector(".collapse-icon").addEventListener("click", this.#toggleCollapseHandler);
27905
27905
 
27906
- this.shadowRoot.querySelector(".menu-icon").addEventListener("click", this.#menuClickHandler);
27906
+ this.shadowRoot.querySelectorAll(".menu-icon").forEach(el => el.addEventListener("click", this.#menuClickHandler));
27907
27907
  };
27908
27908
 
27909
27909
  #toggleCollapseHandler = () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.499.0",
4
+ "version": "6.501.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -51,7 +51,7 @@ class aiContainer extends HTMLElement
51
51
  this.shadowRoot.querySelector(".expand-icon").addEventListener("click", this.#toggleCollapseHandler);
52
52
  this.shadowRoot.querySelector(".collapse-icon").addEventListener("click", this.#toggleCollapseHandler);
53
53
 
54
- this.shadowRoot.querySelector(".menu-icon").addEventListener("click", this.#menuClickHandler);
54
+ this.shadowRoot.querySelectorAll(".menu-icon").forEach(el => el.addEventListener("click", this.#menuClickHandler));
55
55
  };
56
56
 
57
57
  #toggleCollapseHandler = () => {