ninegrid2 6.768.0 → 6.769.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.
- package/dist/bundle.cjs.js +1 -6
- package/dist/bundle.esm.js +1 -6
- package/dist/nx/nxCollapse.js +1 -6
- package/package.json +1 -1
- package/src/nx/nxCollapse.js +1 -6
package/dist/bundle.cjs.js
CHANGED
|
@@ -120884,12 +120884,7 @@ class nxCollapse extends HTMLElement {
|
|
|
120884
120884
|
collapseBtn.style.marginBottom = "8px";
|
|
120885
120885
|
|
|
120886
120886
|
const shadowRoot = this.#target.shadowRoot;
|
|
120887
|
-
|
|
120888
|
-
shadowRoot.insertBefore(collapseBtn, shadowRoot.firstChild);
|
|
120889
|
-
}
|
|
120890
|
-
else {
|
|
120891
|
-
this.#target.insertBefore(collapseBtn, this.#target.firstChild);
|
|
120892
|
-
}
|
|
120887
|
+
(shadowRoot || this.#target).appendChild(collapseBtn);
|
|
120893
120888
|
|
|
120894
120889
|
// collapse 시 target 숨기고 복원 버튼 등장
|
|
120895
120890
|
collapseBtn.addEventListener("click", () => {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -120880,12 +120880,7 @@ class nxCollapse extends HTMLElement {
|
|
|
120880
120880
|
collapseBtn.style.marginBottom = "8px";
|
|
120881
120881
|
|
|
120882
120882
|
const shadowRoot = this.#target.shadowRoot;
|
|
120883
|
-
|
|
120884
|
-
shadowRoot.insertBefore(collapseBtn, shadowRoot.firstChild);
|
|
120885
|
-
}
|
|
120886
|
-
else {
|
|
120887
|
-
this.#target.insertBefore(collapseBtn, this.#target.firstChild);
|
|
120888
|
-
}
|
|
120883
|
+
(shadowRoot || this.#target).appendChild(collapseBtn);
|
|
120889
120884
|
|
|
120890
120885
|
// collapse 시 target 숨기고 복원 버튼 등장
|
|
120891
120886
|
collapseBtn.addEventListener("click", () => {
|
package/dist/nx/nxCollapse.js
CHANGED
|
@@ -39,12 +39,7 @@ class nxCollapse extends HTMLElement {
|
|
|
39
39
|
collapseBtn.style.marginBottom = "8px";
|
|
40
40
|
|
|
41
41
|
const shadowRoot = this.#target.shadowRoot;
|
|
42
|
-
|
|
43
|
-
shadowRoot.insertBefore(collapseBtn, shadowRoot.firstChild);
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
this.#target.insertBefore(collapseBtn, this.#target.firstChild);
|
|
47
|
-
}
|
|
42
|
+
(shadowRoot || this.#target).appendChild(collapseBtn);
|
|
48
43
|
|
|
49
44
|
// collapse 시 target 숨기고 복원 버튼 등장
|
|
50
45
|
collapseBtn.addEventListener("click", () => {
|
package/package.json
CHANGED
package/src/nx/nxCollapse.js
CHANGED
|
@@ -39,12 +39,7 @@ class nxCollapse extends HTMLElement {
|
|
|
39
39
|
collapseBtn.style.marginBottom = "8px";
|
|
40
40
|
|
|
41
41
|
const shadowRoot = this.#target.shadowRoot;
|
|
42
|
-
|
|
43
|
-
shadowRoot.insertBefore(collapseBtn, shadowRoot.firstChild);
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
this.#target.insertBefore(collapseBtn, this.#target.firstChild);
|
|
47
|
-
}
|
|
42
|
+
(shadowRoot || this.#target).appendChild(collapseBtn);
|
|
48
43
|
|
|
49
44
|
// collapse 시 target 숨기고 복원 버튼 등장
|
|
50
45
|
collapseBtn.addEventListener("click", () => {
|