ud-components 0.8.2 → 0.8.4

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,21 @@
1
+ import { SidenavGroup } from '../sidenav/sidenav.interface';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * The app frame: `ud-sidenav` in a drawer, a sticky toolbar with the drawer
5
+ * toggle, and the page. Project `[toolbar-start]` (e.g. a breadcrumb),
6
+ * `[toolbar-end]` (e.g. the user menu) and the page itself.
7
+ */
8
+ export declare class AppShellComponent {
9
+ readonly groups: import("@angular/core").InputSignal<SidenavGroup[]>;
10
+ readonly brandRoute: import("@angular/core").InputSignal<string>;
11
+ readonly logo: import("@angular/core").InputSignal<string>;
12
+ readonly logoCollapsed: import("@angular/core").InputSignal<string>;
13
+ protected readonly $canOpen: import("@angular/core").WritableSignal<boolean>;
14
+ protected readonly $isOpen: import("@angular/core").WritableSignal<boolean>;
15
+ protected readonly $collapsed: import("@angular/core").Signal<boolean>;
16
+ protected onResize(): void;
17
+ protected toggle(): void;
18
+ private wideEnough;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppShellComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppShellComponent, "ud-app-shell", never, { "groups": { "alias": "groups"; "required": true; "isSignal": true; }; "brandRoute": { "alias": "brandRoute"; "required": false; "isSignal": true; }; "logo": { "alias": "logo"; "required": false; "isSignal": true; }; "logoCollapsed": { "alias": "logoCollapsed"; "required": false; "isSignal": true; }; }, {}, never, ["[toolbar-start]", "[toolbar-end]", "*"], true, never>;
21
+ }
@@ -1,6 +1,8 @@
1
1
  import { AfterViewInit } from '@angular/core';
2
2
  import { SidenavGroup } from './sidenav.interface';
3
3
  import * as i0 from "@angular/core";
4
+ export declare const SIDENAV_LOGO = "assets/brand/wordmark/udorm-wordmark-reverse.png";
5
+ export declare const SIDENAV_LOGO_COLLAPSED = "assets/brand/appicon/udorm-glyph-ud-reverse.png";
4
6
  /**
5
7
  * The navy app drawer: brand, scrolling sections, pinned footer. It renders
6
8
  * the groups it is given; filtering by role or feature flag is the app's job.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ud-components",
3
- "version": "0.8.2",
3
+ "version": "0.8.4",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": ">=19",
6
6
  "@angular/common": ">=19",
package/public-api.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './lib/app-shell/app-shell.component';
1
2
  export * from './lib/carousel/carousel.component';
2
3
  export * from './lib/checkbox/checkbox.component';
3
4
  export * from './lib/custom-input/custom-input.component';