codexly-ui 0.10.111 → 0.10.112

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.
@@ -10585,6 +10585,11 @@ class ClxMenuItemComponent {
10585
10585
  return this.nested() ? NAV_ITEM_L2 : NAV_ITEM_L1;
10586
10586
  }, ...(ngDevMode ? [{ debugName: "_geom" }] : /* istanbul ignore next */ []));
10587
10587
  _iconCls = computed(() => resolveColor(this._resolved().color).textSubtle, ...(ngDevMode ? [{ debugName: "_iconCls" }] : /* istanbul ignore next */ []));
10588
+ // Idle-state label color: a neutral gray by default (matches every other sidebar item), but
10589
+ // respects an explicit [style] color override — e.g. clx-profile's "Cerrar sesión" passing
10590
+ // { color: 'red' } expects the label to actually read red, not fall back to gray like the
10591
+ // icon-only styling used to leave it.
10592
+ _idleLabelCls = computed(() => this.style()?.color ? resolveColor(this._resolved().color).textSubtle : 'text-clx-text-subtle', ...(ngDevMode ? [{ debugName: "_idleLabelCls" }] : /* istanbul ignore next */ []));
10588
10593
  _typography = computed(() => resolveNavZoneTypography(this._resolved()), ...(ngDevMode ? [{ debugName: "_typography" }] : /* istanbul ignore next */ []));
10589
10594
  // Nested items (children under a clx-menu module) stay flat — only the label/icon color
10590
10595
  // changes. Top-level items (e.g. Dashboard) get the same hover/active pill as clx-menu.
@@ -10618,7 +10623,7 @@ class ClxMenuItemComponent {
10618
10623
  <span clx-icon [name]="icon()" size="sm" [class]="_iconCls()"></span>
10619
10624
  }
10620
10625
  @if (!collapsed()) {
10621
- <span class="flex-1 text-left truncate" [class]="rla.isActive ? '' : 'text-clx-text-subtle'">{{ label() }}</span>
10626
+ <span class="flex-1 text-left truncate" [class]="rla.isActive ? '' : _idleLabelCls()">{{ label() }}</span>
10622
10627
  }
10623
10628
  </a>
10624
10629
  } @else {
@@ -10631,7 +10636,7 @@ class ClxMenuItemComponent {
10631
10636
  <span clx-icon [name]="icon()" size="sm" [class]="_iconCls()"></span>
10632
10637
  }
10633
10638
  @if (!collapsed()) {
10634
- <span class="flex-1 text-left truncate" [class]="active() ? '' : 'text-clx-text-subtle'">{{ label() }}</span>
10639
+ <span class="flex-1 text-left truncate" [class]="active() ? '' : _idleLabelCls()">{{ label() }}</span>
10635
10640
  <!-- Only rendered in button mode (no routerLink) — that's the only mode any consumer
10636
10641
  uses this slot with today; adding it to the <a> branch too would duplicate the same
10637
10642
  ng-content selector across two mutually-exclusive branches, which silently fails to
@@ -10661,7 +10666,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
10661
10666
  <span clx-icon [name]="icon()" size="sm" [class]="_iconCls()"></span>
10662
10667
  }
10663
10668
  @if (!collapsed()) {
10664
- <span class="flex-1 text-left truncate" [class]="rla.isActive ? '' : 'text-clx-text-subtle'">{{ label() }}</span>
10669
+ <span class="flex-1 text-left truncate" [class]="rla.isActive ? '' : _idleLabelCls()">{{ label() }}</span>
10665
10670
  }
10666
10671
  </a>
10667
10672
  } @else {
@@ -10674,7 +10679,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
10674
10679
  <span clx-icon [name]="icon()" size="sm" [class]="_iconCls()"></span>
10675
10680
  }
10676
10681
  @if (!collapsed()) {
10677
- <span class="flex-1 text-left truncate" [class]="active() ? '' : 'text-clx-text-subtle'">{{ label() }}</span>
10682
+ <span class="flex-1 text-left truncate" [class]="active() ? '' : _idleLabelCls()">{{ label() }}</span>
10678
10683
  <!-- Only rendered in button mode (no routerLink) — that's the only mode any consumer
10679
10684
  uses this slot with today; adding it to the <a> branch too would duplicate the same
10680
10685
  ng-content selector across two mutually-exclusive branches, which silently fails to