ninegrid2 6.1354.0 → 6.1356.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.
@@ -28566,14 +28566,16 @@ class nxDiv extends HTMLElement {
28566
28566
 
28567
28567
  //console.log("=========");
28568
28568
  //console.log(this.innerHTML.trim());
28569
+ his.originContents = this.innerHTML.trim();
28569
28570
 
28571
+ /**
28570
28572
  this.originContents = this.innerHTML.trim();
28571
28573
  this.innerHTML = ""; // 기존 내부 HTML 제거
28572
28574
 
28573
28575
  // 만약 순수 nx-div로만 쓰일 경우(상속 x), 내용을 shadow에 채워줌
28574
28576
  if (this.shadowRoot && this.tagName.toLowerCase() === 'nx-div') {
28575
28577
  this.shadowRoot.innerHTML = this.originContents;
28576
- }
28578
+ } */
28577
28579
  };
28578
28580
  }
28579
28581
 
@@ -28899,7 +28901,9 @@ class nxButtons extends nxDiv {
28899
28901
  ${ninegrid.getCustomPath(this,"nxButtons.css")}
28900
28902
  </style>
28901
28903
 
28902
- ${this.originContents}
28904
+ <div part="container">
28905
+ <slot></slot>
28906
+ </div>
28903
28907
  `;
28904
28908
 
28905
28909
  target.appendChild(htmlTmpl.content.cloneNode(true));
@@ -28562,14 +28562,16 @@ class nxDiv extends HTMLElement {
28562
28562
 
28563
28563
  //console.log("=========");
28564
28564
  //console.log(this.innerHTML.trim());
28565
+ his.originContents = this.innerHTML.trim();
28565
28566
 
28567
+ /**
28566
28568
  this.originContents = this.innerHTML.trim();
28567
28569
  this.innerHTML = ""; // 기존 내부 HTML 제거
28568
28570
 
28569
28571
  // 만약 순수 nx-div로만 쓰일 경우(상속 x), 내용을 shadow에 채워줌
28570
28572
  if (this.shadowRoot && this.tagName.toLowerCase() === 'nx-div') {
28571
28573
  this.shadowRoot.innerHTML = this.originContents;
28572
- }
28574
+ } */
28573
28575
  };
28574
28576
  }
28575
28577
 
@@ -28895,7 +28897,9 @@ class nxButtons extends nxDiv {
28895
28897
  ${ninegrid.getCustomPath(this,"nxButtons.css")}
28896
28898
  </style>
28897
28899
 
28898
- ${this.originContents}
28900
+ <div part="container">
28901
+ <slot></slot>
28902
+ </div>
28899
28903
  `;
28900
28904
 
28901
28905
  target.appendChild(htmlTmpl.content.cloneNode(true));
package/dist/nx/_nxDiv.js CHANGED
@@ -133,13 +133,15 @@ export class nxDiv extends HTMLElement {
133
133
 
134
134
  //console.log("=========");
135
135
  //console.log(this.innerHTML.trim());
136
+ his.originContents = this.innerHTML.trim();
136
137
 
138
+ /**
137
139
  this.originContents = this.innerHTML.trim();
138
140
  this.innerHTML = ""; // 기존 내부 HTML 제거
139
141
 
140
142
  // 만약 순수 nx-div로만 쓰일 경우(상속 x), 내용을 shadow에 채워줌
141
143
  if (this.shadowRoot && this.tagName.toLowerCase() === 'nx-div') {
142
144
  this.shadowRoot.innerHTML = this.originContents;
143
- }
145
+ } */
144
146
  };
145
147
  }
@@ -22,7 +22,9 @@ class nxButtons extends nxDiv {
22
22
  ${ninegrid.getCustomPath(this,"nxButtons.css")}
23
23
  </style>
24
24
 
25
- ${this.originContents}
25
+ <div part="container">
26
+ <slot></slot>
27
+ </div>
26
28
  `;
27
29
 
28
30
  target.appendChild(htmlTmpl.content.cloneNode(true));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1354.0",
4
+ "version": "6.1356.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
package/src/nx/_nxDiv.js CHANGED
@@ -133,13 +133,15 @@ export class nxDiv extends HTMLElement {
133
133
 
134
134
  //console.log("=========");
135
135
  //console.log(this.innerHTML.trim());
136
+ his.originContents = this.innerHTML.trim();
136
137
 
138
+ /**
137
139
  this.originContents = this.innerHTML.trim();
138
140
  this.innerHTML = ""; // 기존 내부 HTML 제거
139
141
 
140
142
  // 만약 순수 nx-div로만 쓰일 경우(상속 x), 내용을 shadow에 채워줌
141
143
  if (this.shadowRoot && this.tagName.toLowerCase() === 'nx-div') {
142
144
  this.shadowRoot.innerHTML = this.originContents;
143
- }
145
+ } */
144
146
  };
145
147
  }
@@ -22,7 +22,9 @@ class nxButtons extends nxDiv {
22
22
  ${ninegrid.getCustomPath(this,"nxButtons.css")}
23
23
  </style>
24
24
 
25
- ${this.originContents}
25
+ <div part="container">
26
+ <slot></slot>
27
+ </div>
26
28
  `;
27
29
 
28
30
  target.appendChild(htmlTmpl.content.cloneNode(true));