ninegrid2 6.789.0 → 6.790.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.
@@ -120940,6 +120940,8 @@ class nxCollapse extends HTMLElement {
120940
120940
  this.#targetPrevDisplay = this.#target.style.display;
120941
120941
  this.#target.style.display = "none";
120942
120942
  this.style.display = "inline-block";
120943
+
120944
+ this.classList.add("appearing");
120943
120945
  }, 500); // transition 시간과 맞춰서 300ms 딜레이
120944
120946
  });
120945
120947
  }
@@ -120947,6 +120949,8 @@ class nxCollapse extends HTMLElement {
120947
120949
  // 복원 시 target 보이고 복원 버튼 사라짐
120948
120950
  this.shadowRoot.querySelector("button").addEventListener("click", () => {
120949
120951
  this.#target.classList.remove("shrinking");
120952
+ this.classList.remove("appearing");
120953
+
120950
120954
  this.#target.style.display = this.#targetPrevDisplay;
120951
120955
  this.style.display = "none";
120952
120956
  });
@@ -120936,6 +120936,8 @@ class nxCollapse extends HTMLElement {
120936
120936
  this.#targetPrevDisplay = this.#target.style.display;
120937
120937
  this.#target.style.display = "none";
120938
120938
  this.style.display = "inline-block";
120939
+
120940
+ this.classList.add("appearing");
120939
120941
  }, 500); // transition 시간과 맞춰서 300ms 딜레이
120940
120942
  });
120941
120943
  }
@@ -120943,6 +120945,8 @@ class nxCollapse extends HTMLElement {
120943
120945
  // 복원 시 target 보이고 복원 버튼 사라짐
120944
120946
  this.shadowRoot.querySelector("button").addEventListener("click", () => {
120945
120947
  this.#target.classList.remove("shrinking");
120948
+ this.classList.remove("appearing");
120949
+
120946
120950
  this.#target.style.display = this.#targetPrevDisplay;
120947
120951
  this.style.display = "none";
120948
120952
  });
@@ -95,6 +95,8 @@ class nxCollapse extends HTMLElement {
95
95
  this.#targetPrevDisplay = this.#target.style.display;
96
96
  this.#target.style.display = "none";
97
97
  this.style.display = "inline-block";
98
+
99
+ this.classList.add("appearing");
98
100
  }, 500); // transition 시간과 맞춰서 300ms 딜레이
99
101
  });
100
102
  }
@@ -102,6 +104,8 @@ class nxCollapse extends HTMLElement {
102
104
  // 복원 시 target 보이고 복원 버튼 사라짐
103
105
  this.shadowRoot.querySelector("button").addEventListener("click", () => {
104
106
  this.#target.classList.remove("shrinking");
107
+ this.classList.remove("appearing");
108
+
105
109
  this.#target.style.display = this.#targetPrevDisplay;
106
110
  this.style.display = "none";
107
111
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.789.0",
4
+ "version": "6.790.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -95,6 +95,8 @@ class nxCollapse extends HTMLElement {
95
95
  this.#targetPrevDisplay = this.#target.style.display;
96
96
  this.#target.style.display = "none";
97
97
  this.style.display = "inline-block";
98
+
99
+ this.classList.add("appearing");
98
100
  }, 500); // transition 시간과 맞춰서 300ms 딜레이
99
101
  });
100
102
  }
@@ -102,6 +104,8 @@ class nxCollapse extends HTMLElement {
102
104
  // 복원 시 target 보이고 복원 버튼 사라짐
103
105
  this.shadowRoot.querySelector("button").addEventListener("click", () => {
104
106
  this.#target.classList.remove("shrinking");
107
+ this.classList.remove("appearing");
108
+
105
109
  this.#target.style.display = this.#targetPrevDisplay;
106
110
  this.style.display = "none";
107
111
  });