@kodaris/krubble-app-components 1.0.15 → 1.0.18

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.
@@ -0,0 +1,6 @@
1
+ [
2
+ {
3
+ "version": "1.0.18",
4
+ "description": "<kr-scaffold> \"title\" attribute renamed to \"label\""
5
+ }
6
+ ]
@@ -1280,7 +1280,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
1280
1280
  * @slot - The main content
1281
1281
  *
1282
1282
  * @property {string} logo - URL for the logo image
1283
- * @property {string} title - Title text to display instead of logo
1283
+ * @property {string} label - Title text to display instead of logo
1284
1284
  * @property {'light'|'dark'} scheme - Color scheme: 'light' (default) or 'dark'
1285
1285
  * @property {KRNavItem[]} nav - Navigation items as JSON array
1286
1286
  * @property {KRUser} user - User profile data
@@ -1317,7 +1317,7 @@ let KRScaffold = class KRScaffold extends i$1 {
1317
1317
  this.navItemDragExpandTimeout = null;
1318
1318
  this.navInitialized = false;
1319
1319
  this.logo = '';
1320
- this.title = '';
1320
+ this.label = '';
1321
1321
  /**
1322
1322
  * URL to navigate to when clicking the logo/title. Defaults to '/'.
1323
1323
  */
@@ -2300,8 +2300,8 @@ let KRScaffold = class KRScaffold extends i$1 {
2300
2300
  'nav--opened': !this.subbar || this.isNavOpened,
2301
2301
  })}>
2302
2302
  <div class="nav-header" @click=${this.handleNavHeaderClick}>
2303
- ${this.title
2304
- ? b `<span class="nav-title">${this.title}</span>`
2303
+ ${this.label
2304
+ ? b `<span class="nav-title">${this.label}</span>`
2305
2305
  : this.logo
2306
2306
  ? b `<img class="nav-logo" src=${this.logo} alt="Logo" />`
2307
2307
  : A}
@@ -3120,7 +3120,7 @@ __decorate$3([
3120
3120
  ], KRScaffold.prototype, "logo", void 0);
3121
3121
  __decorate$3([
3122
3122
  n({ type: String })
3123
- ], KRScaffold.prototype, "title", void 0);
3123
+ ], KRScaffold.prototype, "label", void 0);
3124
3124
  __decorate$3([
3125
3125
  n({ type: String, attribute: 'home-url' })
3126
3126
  ], KRScaffold.prototype, "homeUrl", void 0);