ninegrid2 6.954.0 → 6.955.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.
@@ -121823,7 +121823,8 @@ class nxTitle extends HTMLElement {
121823
121823
  };
121824
121824
 
121825
121825
  #renderer = () => {
121826
- const caption = this.getAttribute("caption") || "No Caption";
121826
+ const el = ninegrid.delayQuerySelector('nx-side-menu-item.active');
121827
+ const caption = el ? el.caption : "No Caption";
121827
121828
 
121828
121829
  // 내부 HTML (Light DOM)은 이 컴포넌트의 자식으로 넘어오는 콘텐츠이므로,
121829
121830
  // Breadcrumb에서는 사용하지 않는다면 제거하는 것이 맞습니다.
@@ -121834,6 +121835,8 @@ class nxTitle extends HTMLElement {
121834
121835
  // Shadow DOM 초기화 (새로운 콘텐츠를 위해)
121835
121836
  this.shadowRoot.innerHTML = "";
121836
121837
 
121838
+
121839
+
121837
121840
  const htmlTmpl = document.createElement("template");
121838
121841
  htmlTmpl.innerHTML = `
121839
121842
  <style>
@@ -121819,7 +121819,8 @@ class nxTitle extends HTMLElement {
121819
121819
  };
121820
121820
 
121821
121821
  #renderer = () => {
121822
- const caption = this.getAttribute("caption") || "No Caption";
121822
+ const el = ninegrid.delayQuerySelector('nx-side-menu-item.active');
121823
+ const caption = el ? el.caption : "No Caption";
121823
121824
 
121824
121825
  // 내부 HTML (Light DOM)은 이 컴포넌트의 자식으로 넘어오는 콘텐츠이므로,
121825
121826
  // Breadcrumb에서는 사용하지 않는다면 제거하는 것이 맞습니다.
@@ -121830,6 +121831,8 @@ class nxTitle extends HTMLElement {
121830
121831
  // Shadow DOM 초기화 (새로운 콘텐츠를 위해)
121831
121832
  this.shadowRoot.innerHTML = "";
121832
121833
 
121834
+
121835
+
121833
121836
  const htmlTmpl = document.createElement("template");
121834
121837
  htmlTmpl.innerHTML = `
121835
121838
  <style>
@@ -144,7 +144,8 @@ export class nxTitle extends HTMLElement {
144
144
  };
145
145
 
146
146
  #renderer = () => {
147
- const caption = this.getAttribute("caption") || "No Caption";
147
+ const el = ninegrid.delayQuerySelector('nx-side-menu-item.active');
148
+ const caption = el ? el.caption : "No Caption";
148
149
 
149
150
  // 내부 HTML (Light DOM)은 이 컴포넌트의 자식으로 넘어오는 콘텐츠이므로,
150
151
  // Breadcrumb에서는 사용하지 않는다면 제거하는 것이 맞습니다.
@@ -155,6 +156,8 @@ export class nxTitle extends HTMLElement {
155
156
  // Shadow DOM 초기화 (새로운 콘텐츠를 위해)
156
157
  this.shadowRoot.innerHTML = "";
157
158
 
159
+
160
+
158
161
  const htmlTmpl = document.createElement("template");
159
162
  htmlTmpl.innerHTML = `
160
163
  <style>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.954.0",
4
+ "version": "6.955.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
package/src/nx/nxTitle.js CHANGED
@@ -144,7 +144,8 @@ export class nxTitle extends HTMLElement {
144
144
  };
145
145
 
146
146
  #renderer = () => {
147
- const caption = this.getAttribute("caption") || "No Caption";
147
+ const el = ninegrid.delayQuerySelector('nx-side-menu-item.active');
148
+ const caption = el ? el.caption : "No Caption";
148
149
 
149
150
  // 내부 HTML (Light DOM)은 이 컴포넌트의 자식으로 넘어오는 콘텐츠이므로,
150
151
  // Breadcrumb에서는 사용하지 않는다면 제거하는 것이 맞습니다.
@@ -155,6 +156,8 @@ export class nxTitle extends HTMLElement {
155
156
  // Shadow DOM 초기화 (새로운 콘텐츠를 위해)
156
157
  this.shadowRoot.innerHTML = "";
157
158
 
159
+
160
+
158
161
  const htmlTmpl = document.createElement("template");
159
162
  htmlTmpl.innerHTML = `
160
163
  <style>