@masterteam/delegations 0.0.36 → 0.0.37

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masterteam/delegations",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/delegations",
6
6
  "linkDirectory": false,
@@ -390,9 +390,10 @@ declare class TopbarDelegationMenu implements OnInit {
390
390
  readonly showManageLink: _angular_core.InputSignal<boolean>;
391
391
  readonly promptOnCandidates: _angular_core.InputSignal<boolean>;
392
392
  /**
393
- * Render no visible trigger/popover but keep loading candidates + the prompt.
394
- * Use when the delegation menu is embedded elsewhere (e.g. the user dropdown
395
- * via {@link DelegationMenuPanel}).
393
+ * Suppress the *candidates* trigger (surface them elsewhere, e.g. the user
394
+ * dropdown via {@link DelegationMenuPanel}) while keeping candidate loading +
395
+ * the post-login prompt. The *active* "Acting on behalf of" pill stays visible
396
+ * even when headless — an active delegated session must always be obvious.
396
397
  */
397
398
  readonly headless: _angular_core.InputSignal<boolean>;
398
399
  private readonly facade;
@@ -405,7 +406,7 @@ declare class TopbarDelegationMenu implements OnInit {
405
406
  protected readonly onBehalfOf: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
406
407
  protected readonly executedBy: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
407
408
  private readonly promptShown;
408
- protected readonly mode: _angular_core.Signal<"active" | "candidates" | "hidden">;
409
+ protected readonly mode: _angular_core.Signal<"hidden" | "candidates" | "active">;
409
410
  constructor();
410
411
  ngOnInit(): void;
411
412
  /** Two-letter initials for a delegator avatar (matches the user-menu pattern). */
@@ -441,7 +442,7 @@ declare class DelegationMenuPanel {
441
442
  protected readonly hasCandidates: _angular_core.Signal<boolean>;
442
443
  protected readonly onBehalfOf: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
443
444
  protected readonly executedBy: _angular_core.Signal<_masterteam_delegations.DelegationParty | null>;
444
- protected readonly mode: _angular_core.Signal<"active" | "candidates" | "hidden">;
445
+ protected readonly mode: _angular_core.Signal<"hidden" | "candidates" | "active">;
445
446
  /** Two-letter initials for a delegator avatar (matches the user-menu pattern). */
446
447
  protected initials(party: DelegationRow['delegator'] | null | undefined): string;
447
448
  protected start(row: DelegationRow, event: MouseEvent): void;