ninegrid2 6.771.0 → 6.772.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.
@@ -120898,6 +120898,14 @@ class nxCollapse extends HTMLElement {
120898
120898
  const shadowRoot = this.#target.shadowRoot;
120899
120899
  (shadowRoot || this.#target).appendChild(collapseBtn);
120900
120900
 
120901
+ const style = document.createElement("style");
120902
+ style.textContent = `
120903
+ .collapse-toggle:hover {
120904
+ border: 1px solid red;
120905
+ }
120906
+ `;
120907
+ if (shadowRoot) shadowRoot.appendChild(style);
120908
+
120901
120909
  // collapse 시 target 숨기고 복원 버튼 등장
120902
120910
  collapseBtn.addEventListener("click", () => {
120903
120911
  this.#targetPrevDisplay = this.#target.style.display;
@@ -120894,6 +120894,14 @@ class nxCollapse extends HTMLElement {
120894
120894
  const shadowRoot = this.#target.shadowRoot;
120895
120895
  (shadowRoot || this.#target).appendChild(collapseBtn);
120896
120896
 
120897
+ const style = document.createElement("style");
120898
+ style.textContent = `
120899
+ .collapse-toggle:hover {
120900
+ border: 1px solid red;
120901
+ }
120902
+ `;
120903
+ if (shadowRoot) shadowRoot.appendChild(style);
120904
+
120897
120905
  // collapse 시 target 숨기고 복원 버튼 등장
120898
120906
  collapseBtn.addEventListener("click", () => {
120899
120907
  this.#targetPrevDisplay = this.#target.style.display;
@@ -53,6 +53,14 @@ class nxCollapse extends HTMLElement {
53
53
  const shadowRoot = this.#target.shadowRoot;
54
54
  (shadowRoot || this.#target).appendChild(collapseBtn);
55
55
 
56
+ const style = document.createElement("style");
57
+ style.textContent = `
58
+ .collapse-toggle:hover {
59
+ border: 1px solid red;
60
+ }
61
+ `;
62
+ if (shadowRoot) shadowRoot.appendChild(style);
63
+
56
64
  // collapse 시 target 숨기고 복원 버튼 등장
57
65
  collapseBtn.addEventListener("click", () => {
58
66
  this.#targetPrevDisplay = this.#target.style.display;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.771.0",
4
+ "version": "6.772.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -53,6 +53,14 @@ class nxCollapse extends HTMLElement {
53
53
  const shadowRoot = this.#target.shadowRoot;
54
54
  (shadowRoot || this.#target).appendChild(collapseBtn);
55
55
 
56
+ const style = document.createElement("style");
57
+ style.textContent = `
58
+ .collapse-toggle:hover {
59
+ border: 1px solid red;
60
+ }
61
+ `;
62
+ if (shadowRoot) shadowRoot.appendChild(style);
63
+
56
64
  // collapse 시 target 숨기고 복원 버튼 등장
57
65
  collapseBtn.addEventListener("click", () => {
58
66
  this.#targetPrevDisplay = this.#target.style.display;