@ojiepermana/angular 22.2.1 → 22.2.3
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/README.md +18 -7
- package/component/icon/README.md +40 -13
- package/fesm2022/ojiepermana-angular-chart-area.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-bar.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-core.mjs +33 -33
- package/fesm2022/ojiepermana-angular-chart-line.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-pie.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-primitives.mjs +33 -33
- package/fesm2022/ojiepermana-angular-chart-radar.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-radial.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-scatter.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +17 -17
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +27 -27
- package/fesm2022/ojiepermana-angular-component-alert.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-avatar.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-badge.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-button-group.mjs +10 -10
- package/fesm2022/ojiepermana-angular-component-button.mjs +4 -4
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +5 -5
- package/fesm2022/ojiepermana-angular-component-card.mjs +27 -24
- package/fesm2022/ojiepermana-angular-component-carousel.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs +4 -4
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-combobox.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-command.mjs +28 -28
- package/fesm2022/ojiepermana-angular-component-composer.mjs +22 -22
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs +5 -5
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +22 -22
- package/fesm2022/ojiepermana-angular-component-drawer.mjs +2 -1
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +39 -39
- package/fesm2022/ojiepermana-angular-component-editor.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-empty.mjs +19 -19
- package/fesm2022/ojiepermana-angular-component-form.mjs +36 -36
- package/fesm2022/ojiepermana-angular-component-hover-card.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-icon.mjs +114 -105
- package/fesm2022/ojiepermana-angular-component-input-group.mjs +19 -19
- package/fesm2022/ojiepermana-angular-component-input-otp.mjs +16 -16
- package/fesm2022/ojiepermana-angular-component-input.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-item.mjs +31 -31
- package/fesm2022/ojiepermana-angular-component-kanban.mjs +29 -29
- package/fesm2022/ojiepermana-angular-component-kbd.mjs +7 -7
- package/fesm2022/ojiepermana-angular-component-label.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-menubar.mjs +13 -13
- package/fesm2022/ojiepermana-angular-component-native-select.mjs +14 -14
- package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-pagination.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-pillbox.mjs +16 -16
- package/fesm2022/ojiepermana-angular-component-popover.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-progress.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-radio.mjs +7 -7
- package/fesm2022/ojiepermana-angular-component-resizable.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-segmented-control.mjs +6 -8
- package/fesm2022/ojiepermana-angular-component-select.mjs +8 -8
- package/fesm2022/ojiepermana-angular-component-separator.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-sheet.mjs +41 -28
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-slider.mjs +10 -10
- package/fesm2022/ojiepermana-angular-component-spinner.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-switch.mjs +4 -4
- package/fesm2022/ojiepermana-angular-component-table.mjs +24 -24
- package/fesm2022/ojiepermana-angular-component-tabs.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-textarea.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-timeline.mjs +19 -19
- package/fesm2022/ojiepermana-angular-component-toast.mjs +5 -5
- package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-toggle.mjs +5 -5
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +15 -15
- package/fesm2022/ojiepermana-angular-component-utils-scale.mjs +3 -3
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs +3 -3
- package/fesm2022/{ojiepermana-angular-navigation-navigation-badge-count.component-DYuysKVf.mjs → ojiepermana-angular-navigation-navigation-badge-count.component-4RIokl1C.mjs} +3 -3
- package/fesm2022/{ojiepermana-angular-navigation-navigation-dockbar-menu.component-COiTaw34.mjs → ojiepermana-angular-navigation-navigation-dockbar-menu.component-I-ln7fOq.mjs} +22 -15
- package/fesm2022/{ojiepermana-angular-navigation-navigation-entry-grid.component-YIz0IsIb.mjs → ojiepermana-angular-navigation-navigation-entry-grid.component-meQb_EWZ.mjs} +15 -24
- package/fesm2022/{ojiepermana-angular-navigation-navigation-flyout-menu.component-D2vwEwBY.mjs → ojiepermana-angular-navigation-navigation-flyout-menu.component-DRdw2G-c.mjs} +14 -13
- package/fesm2022/{ojiepermana-angular-navigation-navigation-horizontal.component-B5D7yXfb.mjs → ojiepermana-angular-navigation-navigation-horizontal.component-Bx1NcrWO.mjs} +5 -5
- package/fesm2022/{ojiepermana-angular-navigation-navigation-item.component-CUb68MZH.mjs → ojiepermana-angular-navigation-navigation-item.component-ERZNpmTZ.mjs} +22 -23
- package/fesm2022/{ojiepermana-angular-navigation-navigation-list.component-CrK16trj.mjs → ojiepermana-angular-navigation-navigation-list.component-DfG6_3eF.mjs} +4 -4
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +16 -7
- package/fesm2022/ojiepermana-angular-navigation.mjs +95 -89
- package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +127 -72
- package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +6 -6
- package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +56 -48
- package/fesm2022/ojiepermana-angular-theme-layout.mjs +30 -30
- package/fesm2022/ojiepermana-angular-theme-page-core.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-page-filter.mjs +7 -7
- package/fesm2022/ojiepermana-angular-theme-page-overview.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-page-root.mjs +8 -6
- package/fesm2022/ojiepermana-angular-theme-page-side.mjs +7 -7
- package/fesm2022/ojiepermana-angular-theme-page-slots.mjs +12 -12
- package/fesm2022/ojiepermana-angular-theme-shell-services.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-shell.mjs +16 -12
- package/fesm2022/ojiepermana-angular-theme-styles.mjs +17 -33
- package/navigation/README.md +2 -2
- package/package.json +3 -2
- package/theme/README.md +4 -10
- package/theme/page/README.md +2 -0
- package/theme/shell/README.md +5 -1
- package/theme/styles/README.md +32 -8
- package/theme/styles/css/base/components.css +13 -9
- package/theme/styles/css/base/tailwind.css +43 -0
- package/theme/styles/css/base/theme.css +4 -25
- package/theme/styles/css/base/tokens.css +21 -0
- package/theme/styles/css/fonts.css +85 -0
- package/types/ojiepermana-angular-chart-radar.d.ts +2 -1
- package/types/ojiepermana-angular-component-avatar.d.ts +2 -1
- package/types/ojiepermana-angular-component-calendar.d.ts +2 -1
- package/types/ojiepermana-angular-component-card.d.ts +6 -1
- package/types/ojiepermana-angular-component-editor.d.ts +2 -1
- package/types/ojiepermana-angular-component-icon.d.ts +50 -79
- package/types/ojiepermana-angular-component-input-otp.d.ts +2 -1
- package/types/ojiepermana-angular-component-pillbox.d.ts +2 -1
- package/types/ojiepermana-angular-component-radio.d.ts +2 -1
- package/types/ojiepermana-angular-component-resizable.d.ts +2 -1
- package/types/ojiepermana-angular-component-segmented-control.d.ts +1 -1
- package/types/ojiepermana-angular-component-select.d.ts +2 -3
- package/types/ojiepermana-angular-navigation-service.d.ts +8 -0
- package/types/ojiepermana-angular-navigation-types.d.ts +1 -1
- package/types/ojiepermana-angular-navigation.d.ts +12 -7
- package/types/ojiepermana-angular-theme-layout-services.d.ts +2 -1
- package/types/ojiepermana-angular-theme-layout-wrapper.d.ts +4 -3
- package/types/ojiepermana-angular-theme-page-root.d.ts +1 -1
- package/types/ojiepermana-angular-theme-shell-services.d.ts +2 -1
- package/types/ojiepermana-angular-theme-styles.d.ts +0 -12
|
@@ -6,7 +6,7 @@ export interface SegmentedControlOption {
|
|
|
6
6
|
readonly value: string;
|
|
7
7
|
/** Visible text, or the accessible fallback for an icon-only option. */
|
|
8
8
|
readonly label: string;
|
|
9
|
-
/**
|
|
9
|
+
/** Lucide icon name (kebab case, registered with `provideIcons()`), used by the `icon-text` and `icon` appearances. */
|
|
10
10
|
readonly icon?: string;
|
|
11
11
|
readonly disabled?: boolean;
|
|
12
12
|
/** Overrides `label` as the accessible name for an icon-only option. */
|
|
@@ -28,8 +28,6 @@ declare abstract class SelectMaterialBridge extends MatSelect {
|
|
|
28
28
|
protected materialConfigureSkipPredicate(predicate: (option: MatOption) => boolean): void;
|
|
29
29
|
protected materialSetActiveItem(option: MatOption | number): void;
|
|
30
30
|
}
|
|
31
|
-
/** Material does not currently expose an option host accessor publicly. */
|
|
32
|
-
declare function materialOptionHost(option: MatOption): HTMLElement;
|
|
33
31
|
/**
|
|
34
32
|
* Custom shadcn-styled select.
|
|
35
33
|
*
|
|
@@ -136,4 +134,5 @@ export declare class SelectComponent extends SelectMaterialBridge implements Aft
|
|
|
136
134
|
export declare class OptionComponent extends MatOption {
|
|
137
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
|
|
138
136
|
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "SelectItem", ["matOption"], {}, {}, never, ["mat-icon", "*"], true, never>;
|
|
139
|
-
}
|
|
137
|
+
}
|
|
138
|
+
export {};
|
|
@@ -7,6 +7,7 @@ export declare class NavigationService {
|
|
|
7
7
|
private readonly persistence;
|
|
8
8
|
private readonly router;
|
|
9
9
|
private readonly urlResolver;
|
|
10
|
+
private readonly location;
|
|
10
11
|
private readonly routerUrl;
|
|
11
12
|
private readonly states;
|
|
12
13
|
private readonly openPanelKeys;
|
|
@@ -35,6 +36,13 @@ export declare class NavigationService {
|
|
|
35
36
|
* state yang ditulis ke query params).
|
|
36
37
|
*/
|
|
37
38
|
private releasePanelsAfterNavigation;
|
|
39
|
+
/**
|
|
40
|
+
* Until the first navigation commits, `router.url` is still `/`, so a deep link
|
|
41
|
+
* resolved as home until its lazy route loaded, and the route-aware dockbar then
|
|
42
|
+
* opened late and shifted the content. The address bar already holds the
|
|
43
|
+
* target; `NavigationEnd` replaces this guess with the router's own URL.
|
|
44
|
+
*/
|
|
45
|
+
private initialUrl;
|
|
38
46
|
private urlPath;
|
|
39
47
|
private readRouteContext;
|
|
40
48
|
private optionalString;
|
|
@@ -14,7 +14,7 @@ export type NavigationFlyoutIconPosition = 'start' | 'end';
|
|
|
14
14
|
/** Bentuk visual tombol trigger flyout: `button` (pil), `link` (gaya tautan), `plain` (ghost). */
|
|
15
15
|
export type NavigationFlyoutTriggerVariant = 'button' | 'link' | 'plain';
|
|
16
16
|
export type NavigationDockbarMode = 'drawer' | 'sticky';
|
|
17
|
-
/**
|
|
17
|
+
/** Nama ikon Lucide bawaan ketika route aktif tidak menyediakan icon lain. */
|
|
18
18
|
export declare const NAVIGATION_DOCKBAR_FALLBACK_ICON = "route";
|
|
19
19
|
export type NavigationBadgeCount = number | null | undefined;
|
|
20
20
|
export type NavigationBadgeValueSource = NavigationBadgeCount | Signal<NavigationBadgeCount> | Observable<NavigationBadgeCount> | (() => NavigationBadgeCount);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NavigationIconDirective, NavigationIconDirective as NavigationIconDirective$1 } from "@ojiepermana/angular/navigation/icon";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import {
|
|
3
|
+
import { Signal, TemplateRef } from "@angular/core";
|
|
4
4
|
import { NAVIGATION_DOCKBAR_FALLBACK_ICON, NavigationActionHandler, NavigationAppearance, NavigationAppearance as NavigationAppearance$1, NavigationBadgeAriaLabel, NavigationBadgeContext, NavigationBadgeContext as NavigationBadgeContext$1, NavigationBadgeCount, NavigationBadgeSource, NavigationBadgeSource as NavigationBadgeSource$1, NavigationBadgeValueSource, NavigationCollapseTree, NavigationCollapseTree as NavigationCollapseTree$1, NavigationDockbarMode, NavigationDockbarMode as NavigationDockbarMode$1, NavigationDockbarRouteConfig, NavigationDockbarRouteContext, NavigationDockbarRouteContext as NavigationDockbarRouteContext$1, NavigationFlyoutIconPosition, NavigationFlyoutIconPosition as NavigationFlyoutIconPosition$1, NavigationFlyoutTriggerVariant, NavigationFlyoutTriggerVariant as NavigationFlyoutTriggerVariant$1, NavigationHorizontalPosition, NavigationHorizontalPosition as NavigationHorizontalPosition$1, NavigationHorizontalType, NavigationIconContext, NavigationIconContext as NavigationIconContext$1, NavigationItem, NavigationItem as NavigationItem$1, NavigationItemBadge, NavigationItemClasses, NavigationItemType, NavigationLink, NavigationNormalizedItem, NavigationNormalizedItem as NavigationNormalizedItem$1, NavigationNormalizedItemType, NavigationOrientation, NavigationOrientation as NavigationOrientation$1, NavigationPosition, NavigationPosition as NavigationPosition$1, NavigationRegisterInput, NavigationResolvedRouteContext, NavigationResolvedRouteContext as NavigationResolvedRouteContext$1, NavigationRouteData, NavigationSelection, NavigationSelection as NavigationSelection$1, NavigationState, NavigationState as NavigationState$1, NavigationType, NavigationType as NavigationType$1, NavigationVerticalPosition, NavigationVerticalPosition as NavigationVerticalPosition$1, NavigationVerticalType, NavigationVisibilityHandler, formatNavigationBadgeCount, normalizeUiNavItems, toMinidockItems } from "@ojiepermana/angular/navigation/types";
|
|
5
5
|
export * from "@ojiepermana/angular/navigation/core";
|
|
6
6
|
/**
|
|
@@ -27,7 +27,7 @@ export interface NavigationTypeConfig {
|
|
|
27
27
|
readonly previewExpanded?: Signal<boolean>;
|
|
28
28
|
readonly typeStyle?: Signal<NavigationAppearance$1>;
|
|
29
29
|
readonly flyoutLabel?: Signal<string>;
|
|
30
|
-
/** Nama
|
|
30
|
+
/** Nama ikon Lucide untuk trigger flyout; `null` = tanpa ikon (label saja). */
|
|
31
31
|
readonly flyoutIcon?: Signal<string | null>;
|
|
32
32
|
/** Trigger flyout hanya ikon — label pindah ke aria-label/title. */
|
|
33
33
|
readonly flyoutIconOnly?: Signal<boolean>;
|
|
@@ -50,7 +50,6 @@ interface NavigationShellContext {
|
|
|
50
50
|
readonly collapseEnabled: Signal<boolean>;
|
|
51
51
|
toggleCollapsed(): void;
|
|
52
52
|
}
|
|
53
|
-
declare const NAVIGATION_SHELL: InjectionToken<NavigationShellContext>;
|
|
54
53
|
interface NavigationDockbarRouteHeaderState {
|
|
55
54
|
readonly activeEntry: NavigationNormalizedItem$1 | null;
|
|
56
55
|
readonly panelGroup: NavigationNormalizedItem$1 | null;
|
|
@@ -103,6 +102,12 @@ export declare class NavigationContainerComponent implements NavigationShellCont
|
|
|
103
102
|
* pointer hovering the rail.
|
|
104
103
|
*/
|
|
105
104
|
private readonly focusPreviewExpanded;
|
|
105
|
+
/**
|
|
106
|
+
* Width and transform snap until the first user input. Restoring a persisted
|
|
107
|
+
* or route-context state on load then never animates the rail open while the
|
|
108
|
+
* absolutely positioned dockbar panel already covers the content.
|
|
109
|
+
*/
|
|
110
|
+
protected readonly motionArmed: import("@angular/core").WritableSignal<boolean>;
|
|
106
111
|
/** Konfigurasi type aktif yang didaftarkan wrapper anak (sidebar/dockbar/navbar/flyout). */
|
|
107
112
|
private readonly typeConfig;
|
|
108
113
|
private readonly orientationPreference;
|
|
@@ -154,6 +159,7 @@ export declare class NavigationContainerComponent implements NavigationShellCont
|
|
|
154
159
|
readonly state: import("@angular/core").Signal<import("@ojiepermana/angular/navigation").NavigationState>;
|
|
155
160
|
readonly resolvedDataId: import("@angular/core").Signal<string>;
|
|
156
161
|
protected readonly hostClasses: import("@angular/core").Signal<string>;
|
|
162
|
+
protected armMotion(): void;
|
|
157
163
|
constructor();
|
|
158
164
|
/**
|
|
159
165
|
* Dipanggil komponen type saat dibuat. Satu `<Navigation>` hanya boleh
|
|
@@ -290,7 +296,6 @@ export declare class NavigationHeaderComponent {
|
|
|
290
296
|
*/
|
|
291
297
|
protected readonly showToggle: import("@angular/core").Signal<boolean>;
|
|
292
298
|
protected readonly toggleAriaLabel: import("@angular/core").Signal<"Expand navigation" | "Collapse navigation">;
|
|
293
|
-
protected readonly toggleIconName: import("@angular/core").Signal<"left_panel_open" | "left_panel_close">;
|
|
294
299
|
/**
|
|
295
300
|
* Baris isi header. Saat collapsed/dockbar (vertical) isi (inisial/ikon) dipusatkan di tengah
|
|
296
301
|
* rail agar simetris dengan ikon nav-item di bawahnya (yang juga center di rail); selain itu kiri
|
|
@@ -524,7 +529,7 @@ export declare class NavigationFlyoutComponent {
|
|
|
524
529
|
private readonly container;
|
|
525
530
|
private readonly destroyRef;
|
|
526
531
|
readonly label: import("@angular/core").InputSignal<string>;
|
|
527
|
-
/** Nama
|
|
532
|
+
/** Nama ikon Lucide untuk trigger (mis. `grip`, `menu`); `null` = label saja. */
|
|
528
533
|
readonly icon: import("@angular/core").InputSignal<string | null>;
|
|
529
534
|
/** Trigger hanya menampilkan ikon; label tetap dipakai sebagai aria-label/title. */
|
|
530
535
|
readonly iconOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
@@ -665,7 +670,7 @@ export declare class NavigationFooterActionComponent {
|
|
|
665
670
|
* Blok avatar/inisial untuk slot `NavigationFooter` (profil user). Sama seperti
|
|
666
671
|
* `NavigationHeaderInitial` dengan bentuk identitas yang seragam (rounded-md).
|
|
667
672
|
* Consumer cukup memberi `name`; inisial diturunkan otomatis. Beri `src` untuk
|
|
668
|
-
* foto, `icon` untuk
|
|
673
|
+
* foto, `icon` untuk nama ikon Lucide, atau `initials` untuk override.
|
|
669
674
|
*
|
|
670
675
|
* Tetap tampil saat sidebar collapsed; pasangannya `NavigationFooterTitle` yang
|
|
671
676
|
* menyembunyikan diri.
|
|
@@ -742,7 +747,7 @@ export declare class NavigationFooterTitleComponent {
|
|
|
742
747
|
/**
|
|
743
748
|
* Blok avatar/inisial untuk slot `NavigationHeader` (brand/logo). Consumer cukup
|
|
744
749
|
* memberi `name`; inisial diturunkan otomatis ("Ojie Permana" → "OP"). Beri `src`
|
|
745
|
-
* untuk gambar, `icon` (
|
|
750
|
+
* untuk gambar, `icon` (nama ikon Lucide) sebagai ganti inisial, atau `initials`
|
|
746
751
|
* untuk override manual.
|
|
747
752
|
*
|
|
748
753
|
* Selalu tampil baik saat sidebar expanded maupun collapsed karena ukurannya muat
|
|
@@ -139,4 +139,5 @@ export declare const LAYOUT_LOADING_SKIP: HttpContextToken<boolean>;
|
|
|
139
139
|
* Interceptor that lights the `LayoutLoading` progress line while an HTTP
|
|
140
140
|
* request is in flight. Register it through `withInterceptors([...])`.
|
|
141
141
|
*/
|
|
142
|
-
export declare const layoutLoadingInterceptor: HttpInterceptorFn;
|
|
142
|
+
export declare const layoutLoadingInterceptor: HttpInterceptorFn;
|
|
143
|
+
export {};
|
|
@@ -10,7 +10,7 @@ import { NavigationDockbarRouteContext as NavigationDockbarRouteContext$1, Navig
|
|
|
10
10
|
export interface BrandIdentity {
|
|
11
11
|
/** Name behind the initials and the accessible name in the header slot. */
|
|
12
12
|
readonly name: string;
|
|
13
|
-
/**
|
|
13
|
+
/** Lucide icon name used as the logo; `null` falls back to initials from `name`. */
|
|
14
14
|
readonly icon: string | null;
|
|
15
15
|
/** Judul brand. */
|
|
16
16
|
readonly title: string;
|
|
@@ -90,7 +90,7 @@ export declare class LayoutUser {
|
|
|
90
90
|
readonly detailed: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
91
91
|
/** Accessible name for the logout button. */
|
|
92
92
|
readonly logoutLabel: import("@angular/core").InputSignal<string>;
|
|
93
|
-
/**
|
|
93
|
+
/** Lucide icon name for the logout button; register a custom one with `provideIcons()`. */
|
|
94
94
|
readonly logoutIcon: import("@angular/core").InputSignal<string>;
|
|
95
95
|
/** The user pressed logout. The effect is the consumer's; the library does not navigate. */
|
|
96
96
|
readonly logout: import("@angular/core").OutputEmitterRef<void>;
|
|
@@ -555,4 +555,5 @@ export declare class LayoutWrapperDefault {
|
|
|
555
555
|
"mobileNavOpen": "mobile-nav-openChange";
|
|
556
556
|
"logout": "logout";
|
|
557
557
|
}, never, ["*"], true, never>;
|
|
558
|
-
}
|
|
558
|
+
}
|
|
559
|
+
export {};
|
|
@@ -32,7 +32,7 @@ export declare class PageComponent {
|
|
|
32
32
|
readonly appsLauncher: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
33
33
|
/** Id of the navigation the apps launcher surfaces (`main` by default). */
|
|
34
34
|
readonly appsNavId: import("@angular/core").InputSignal<string>;
|
|
35
|
-
/**
|
|
35
|
+
/** Lucide icon name for the apps launcher button. */
|
|
36
36
|
readonly appsIcon: import("@angular/core").InputSignal<string>;
|
|
37
37
|
/** Label and `aria-label` for the icon-only apps launcher button. */
|
|
38
38
|
readonly appsLabel: import("@angular/core").InputSignal<string>;
|
|
@@ -267,17 +267,6 @@ export declare class ThemeSpaceService {
|
|
|
267
267
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSpaceService, never>;
|
|
268
268
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
269
269
|
}
|
|
270
|
-
export interface ThemeIconOptions {
|
|
271
|
-
/**
|
|
272
|
-
* Load the Material Symbols icon font from Google Fonts at startup.
|
|
273
|
-
*
|
|
274
|
-
* Default: `false` (opt-in). Left off, `provideUiTheme()` makes no external
|
|
275
|
-
* network request — better for privacy, offline, and strict CSP. Set to
|
|
276
|
-
* `true` to fetch `https://fonts.googleapis.com/css2`, or self-host the font
|
|
277
|
-
* and import it in your own stylesheet instead.
|
|
278
|
-
*/
|
|
279
|
-
readonly materialSymbols?: boolean;
|
|
280
|
-
}
|
|
281
270
|
/** Consumer brand color. HSL triplets `H S% L%` consumed by `hsl(var(--brand))`. */
|
|
282
271
|
export interface ThemeBrandOptions {
|
|
283
272
|
/** Brand color, e.g. `'221 83% 53%'`. */
|
|
@@ -301,7 +290,6 @@ export interface ThemeOptions {
|
|
|
301
290
|
* changes (ThemeBrandService.setBrand) win over this default.
|
|
302
291
|
*/
|
|
303
292
|
readonly brand?: string | ThemeBrandOptions;
|
|
304
|
-
readonly icons?: ThemeIconOptions;
|
|
305
293
|
}
|
|
306
294
|
export declare const THEME_OPTIONS: InjectionToken<Readonly<ThemeOptions>>;
|
|
307
295
|
export declare function provideUiTheme(options?: ThemeOptions): EnvironmentProviders;
|