@elasticias/ui 1.0.36 → 1.0.38

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": "@elasticias/ui",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.0.0",
6
6
  "@angular/core": "^21.0.0",
@@ -1577,7 +1577,9 @@ declare class EfToolbarComponent {
1577
1577
  * - `EfPermissionService` (via the rail / mobile tabs) for visible modules
1578
1578
  * - `EfActiveModuleService` for the active module accent
1579
1579
  *
1580
- * **Desktop / tablet:** rail (64px) + side (240px) + (top + main).
1580
+ * **Desktop / tablet:** rail (64px) + side (240px) + (top + main). The
1581
+ * side folds away from a toggle at the foot of the rail (or mod+B); the
1582
+ * rail never does.
1581
1583
  * **Mobile:** delegates to `<ef-app-shell-mobile>` — top bar + scrollable
1582
1584
  * body + 5-tab bottom bar + FAB slot.
1583
1585
  *
@@ -1598,6 +1600,11 @@ declare class EfAppShellComponent {
1598
1600
  readonly viewport: _angular_core.Signal<_elasticias_core.EfViewport>;
1599
1601
  readonly isMobile: _angular_core.Signal<boolean>;
1600
1602
  readonly showSide: _angular_core.Signal<boolean>;
1603
+ readonly sideCollapsed: _angular_core.WritableSignal<boolean>;
1604
+ /** Shown in the toggle's tooltip: the button is far from the content, the shortcut is not. */
1605
+ readonly shortcutHint: string;
1606
+ toggleSide(): void;
1607
+ constructor();
1601
1608
  readonly activeId: _angular_core.Signal<_elasticias_core.EfModuleId>;
1602
1609
  readonly switcherOpen: _angular_core.WritableSignal<boolean>;
1603
1610
  /** Five tabs is what fits a phone; the rest live in the sheet. */
@@ -1772,7 +1779,7 @@ declare class EfModuleRailComponent {
1772
1779
  badgeFor(id: EfModuleId): string | number | undefined;
1773
1780
  trackRow(index: number, row: RailRow): string;
1774
1781
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EfModuleRailComponent, never>;
1775
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<EfModuleRailComponent, "ef-module-rail", never, { "badges": { "alias": "badges"; "required": false; }; }, {}, never, ["[logo]"], true, never>;
1782
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EfModuleRailComponent, "ef-module-rail", never, { "badges": { "alias": "badges"; "required": false; }; }, {}, never, ["[logo]", "[rail-footer]"], true, never>;
1776
1783
  }
1777
1784
 
1778
1785
  /**
@@ -2081,12 +2088,15 @@ declare class EfProfileChipComponent {
2081
2088
  tone: 'tenant' | 'neutral';
2082
2089
  /** Render as a non-interactive container (no hover/focus, no click). */
2083
2090
  readonly: boolean;
2091
+ /** Avatar only, no name or role: for a trigger that sits in a toolbar. */
2092
+ compact: boolean;
2084
2093
  readonly clickEvent: EventEmitter<Event>;
2085
2094
  get computedInitial(): string;
2086
2095
  handleClick(event: Event): void;
2087
2096
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EfProfileChipComponent, never>;
2088
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<EfProfileChipComponent, "ef-profile-chip", never, { "name": { "alias": "name"; "required": false; }; "role": { "alias": "role"; "required": false; }; "roleKey": { "alias": "roleKey"; "required": false; }; "initial": { "alias": "initial"; "required": false; }; "tone": { "alias": "tone"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, never, true, never>;
2097
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<EfProfileChipComponent, "ef-profile-chip", never, { "name": { "alias": "name"; "required": false; }; "role": { "alias": "role"; "required": false; }; "roleKey": { "alias": "roleKey"; "required": false; }; "initial": { "alias": "initial"; "required": false; }; "tone": { "alias": "tone"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, never, true, never>;
2089
2098
  static ngAcceptInputType_readonly: unknown;
2099
+ static ngAcceptInputType_compact: unknown;
2090
2100
  }
2091
2101
 
2092
2102
  /**
@@ -2156,7 +2166,9 @@ declare class EfProfileMenuComponent {
2156
2166
  readonly initial: _angular_core.InputSignal<string>;
2157
2167
  readonly tone: _angular_core.InputSignal<"tenant" | "neutral">;
2158
2168
  readonly items: _angular_core.InputSignal<readonly EfProfileMenuItem[]>;
2159
- readonly variant: _angular_core.InputSignal<"chip" | "list">;
2169
+ /** `avatar` is the chip without its text, for the top bar while the
2170
+ * side panel (and the full chip in its footer) is folded away. */
2171
+ readonly variant: _angular_core.InputSignal<"chip" | "avatar" | "list">;
2160
2172
  readonly itemSelected: _angular_core.OutputEmitterRef<EfProfileMenuItem>;
2161
2173
  /** Id of the one expanded group, or null. One at a time: a menu that
2162
2174
  * grows in two directions at once stops being scannable. */