@life-cockpit/angular-ui-kit 2.8.0 → 2.10.0
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 +3 -1
- package/fesm2022/life-cockpit-angular-ui-kit.mjs +205 -19
- package/fesm2022/life-cockpit-angular-ui-kit.mjs.map +1 -1
- package/package.json +1 -1
- package/src/styles/_theme-dark.scss +3 -0
- package/src/styles/_theme-light.scss +2 -0
- package/src/styles/tokens/_all.scss +2 -1
- package/src/styles/tokens/_colors.scss +2 -1
- package/types/life-cockpit-angular-ui-kit.d.ts +218 -11
package/package.json
CHANGED
|
@@ -212,6 +212,9 @@
|
|
|
212
212
|
--color-surface: #{$color-surface-dark-base};
|
|
213
213
|
--color-surface-2: #{$color-surface-dark-raised};
|
|
214
214
|
--color-surface-sunken: #{$color-surface-dark-sunken};
|
|
215
|
+
// Darkest shell layer — the nav rail / sidebar sits below the app background,
|
|
216
|
+
// giving the two-tone shell (dark sidebar, slightly lighter content area).
|
|
217
|
+
--color-sidebar: #{$color-sidebar-dark};
|
|
215
218
|
--color-surface-hover: rgba(132, 199, 212, 0.06);
|
|
216
219
|
--color-surface-selected: rgba(32, 132, 151, 0.12);
|
|
217
220
|
--color-surface-muted: rgba(255, 255, 255, 0.02);
|
|
@@ -206,6 +206,8 @@
|
|
|
206
206
|
--color-surface: #ffffff;
|
|
207
207
|
--color-surface-2: #{$color-neutral-50};
|
|
208
208
|
--color-surface-sunken: #{$color-neutral-100};
|
|
209
|
+
// Sidebar reads as a subtle off-white rail against the white content area.
|
|
210
|
+
--color-sidebar: #{$color-neutral-50};
|
|
209
211
|
--color-surface-hover: #{$color-neutral-100};
|
|
210
212
|
--color-surface-selected: #{$color-primary-50};
|
|
211
213
|
--color-surface-muted: #{$color-neutral-50};
|
|
@@ -51,7 +51,8 @@ $color-accent-violet: #4e3f84;
|
|
|
51
51
|
$color-surface-dark-base: #14222e; // DS2.0 dark card surface
|
|
52
52
|
$color-surface-dark-raised: #1a2c3a; // DS2.0 raised dark surface
|
|
53
53
|
$color-surface-dark-sunken: #0c1722; // DS2.0 sunken dark surface
|
|
54
|
-
$color-background-dark: #
|
|
54
|
+
$color-background-dark: #0a121b; // DS2.0 dark app background — deep teal-black, sits below the raised card surfaces
|
|
55
|
+
$color-sidebar-dark: #070e15; // DS2.0 dark sidebar/nav rail — darkest shell layer (below app background)
|
|
55
56
|
$color-text-dark-primary: #eef4f6; // DS2.0 dark primary text
|
|
56
57
|
$color-text-dark-secondary: #aebfc7; // DS2.0 dark secondary text
|
|
57
58
|
$color-text-dark-tertiary: #71858f; // DS2.0 dark muted text
|
|
@@ -51,7 +51,8 @@ $color-accent-violet: #4e3f84;
|
|
|
51
51
|
$color-surface-dark-base: #14222e; // DS2.0 dark card surface
|
|
52
52
|
$color-surface-dark-raised: #1a2c3a; // DS2.0 raised dark surface
|
|
53
53
|
$color-surface-dark-sunken: #0c1722; // DS2.0 sunken dark surface
|
|
54
|
-
$color-background-dark: #
|
|
54
|
+
$color-background-dark: #0a121b; // DS2.0 dark app background — deep teal-black, sits below the raised card surfaces
|
|
55
|
+
$color-sidebar-dark: #070e15; // DS2.0 dark sidebar/nav rail — darkest shell layer (below app background)
|
|
55
56
|
$color-text-dark-primary: #eef4f6; // DS2.0 dark primary text
|
|
56
57
|
$color-text-dark-secondary: #aebfc7; // DS2.0 dark secondary text
|
|
57
58
|
$color-text-dark-tertiary: #71858f; // DS2.0 dark muted text
|
|
@@ -57,7 +57,8 @@ declare const ColorAccentViolet = "#4e3f84";
|
|
|
57
57
|
declare const ColorSurfaceDarkBase = "#14222e";
|
|
58
58
|
declare const ColorSurfaceDarkRaised = "#1a2c3a";
|
|
59
59
|
declare const ColorSurfaceDarkSunken = "#0c1722";
|
|
60
|
-
declare const ColorBackgroundDark = "#
|
|
60
|
+
declare const ColorBackgroundDark = "#0a121b";
|
|
61
|
+
declare const ColorSidebarDark = "#070e15";
|
|
61
62
|
declare const ColorTextDarkPrimary = "#eef4f6";
|
|
62
63
|
declare const ColorTextDarkSecondary = "#aebfc7";
|
|
63
64
|
declare const ColorTextDarkTertiary = "#71858f";
|
|
@@ -449,7 +450,7 @@ declare class ButtonComponent {
|
|
|
449
450
|
* - Variant styles (elevated, outlined, filled)
|
|
450
451
|
* - Configurable padding (none, sm, md, lg)
|
|
451
452
|
* - Border radius options (none, sm, md, lg, xl)
|
|
452
|
-
* - Optional title display
|
|
453
|
+
* - Optional title display, with an optional leading icon tile
|
|
453
454
|
* - Content projection for flexible body content
|
|
454
455
|
*
|
|
455
456
|
* @example
|
|
@@ -457,6 +458,11 @@ declare class ButtonComponent {
|
|
|
457
458
|
* <lc-card title="Card Title" variant="elevated" padding="md">
|
|
458
459
|
* <p>Card body content</p>
|
|
459
460
|
* </lc-card>
|
|
461
|
+
*
|
|
462
|
+
* <!-- With a leading brand-tile icon in the header -->
|
|
463
|
+
* <lc-card title="Repository" subtitle="Checkout & profile" icon="git-branch">
|
|
464
|
+
* ...
|
|
465
|
+
* </lc-card>
|
|
460
466
|
* ```
|
|
461
467
|
*/
|
|
462
468
|
declare class CardComponent {
|
|
@@ -469,8 +475,29 @@ declare class CardComponent {
|
|
|
469
475
|
* Optional subtitle rendered below the title.
|
|
470
476
|
*/
|
|
471
477
|
subtitle: _angular_core.InputSignal<string | undefined>;
|
|
478
|
+
/**
|
|
479
|
+
* Optional leading icon (Tabler icon name) rendered as a teal brand tile to
|
|
480
|
+
* the left of the title. Only shown when `title` is set.
|
|
481
|
+
*/
|
|
482
|
+
icon: _angular_core.InputSignal<string | undefined>;
|
|
483
|
+
/**
|
|
484
|
+
* Visual treatment of the leading icon tile.
|
|
485
|
+
* - brand: gradient teal tile with light ink (default)
|
|
486
|
+
* - subtle: translucent surface tile with brand-teal ink
|
|
487
|
+
* @default 'brand'
|
|
488
|
+
*/
|
|
489
|
+
iconVariant: _angular_core.InputSignal<"brand" | "subtle">;
|
|
490
|
+
/**
|
|
491
|
+
* Size of the leading icon tile.
|
|
492
|
+
* - md: 2.25rem tile (default)
|
|
493
|
+
* - sm: compact ~1.75rem chip for dense card headers
|
|
494
|
+
* @default 'md'
|
|
495
|
+
*/
|
|
496
|
+
iconSize: _angular_core.InputSignal<"sm" | "md">;
|
|
472
497
|
/**
|
|
473
498
|
* Optional badge text/count shown next to the title (e.g. item count).
|
|
499
|
+
* For a richer status badge (e.g. a leading status dot), project an
|
|
500
|
+
* `lc-badge` into the `card-badge` slot instead — the slot takes precedence.
|
|
474
501
|
*/
|
|
475
502
|
badge: _angular_core.InputSignal<string | undefined>;
|
|
476
503
|
/**
|
|
@@ -531,7 +558,7 @@ declare class CardComponent {
|
|
|
531
558
|
*/
|
|
532
559
|
protected handleKeydown(event: KeyboardEvent): void;
|
|
533
560
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
534
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardComponent, "lc-card", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "badgeVariant": { "alias": "badgeVariant"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "cardClick": "cardClick"; }, never, ["[card-header-action]", "[card-header]", "*", "[card-footer]"], true, never>;
|
|
561
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardComponent, "lc-card", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconVariant": { "alias": "iconVariant"; "required": false; "isSignal": true; }; "iconSize": { "alias": "iconSize"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "badgeVariant": { "alias": "badgeVariant"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "cardClick": "cardClick"; }, never, ["[card-badge]", "[card-header-action]", "[card-header]", "*", "[card-footer]"], true, never>;
|
|
535
562
|
}
|
|
536
563
|
|
|
537
564
|
type CheckboxSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -2469,10 +2496,12 @@ declare class ContainerComponent {
|
|
|
2469
2496
|
* to get consistent rhythm between title, metadata and content below.
|
|
2470
2497
|
*
|
|
2471
2498
|
* Slots:
|
|
2472
|
-
* - `[slot="breadcrumbs"]`
|
|
2473
|
-
* - `[slot="
|
|
2474
|
-
*
|
|
2475
|
-
* -
|
|
2499
|
+
* - `[slot="breadcrumbs"]` — rendered above the title (e.g. `<lc-breadcrumbs>`)
|
|
2500
|
+
* - `[slot="title-suffix"]` — inline beside the title, after the optional `badge`
|
|
2501
|
+
* (for one or more status chips/badges)
|
|
2502
|
+
* - `[slot="actions"]` — right-aligned actions (buttons, menus)
|
|
2503
|
+
* - `[slot="meta"]` — secondary metadata under the title row (chips, tags)
|
|
2504
|
+
* - default — short header-internal description text
|
|
2476
2505
|
*
|
|
2477
2506
|
* Full-blown navigation primitives like `lc-tabs` — which render both the tab
|
|
2478
2507
|
* strip **and** their panel content — belong **below** the page header, never
|
|
@@ -2486,6 +2515,8 @@ declare class ContainerComponent {
|
|
|
2486
2515
|
* [showDivider]="true"
|
|
2487
2516
|
* >
|
|
2488
2517
|
* <lc-breadcrumbs slot="breadcrumbs" [items]="crumbs" />
|
|
2518
|
+
* <lc-chip slot="title-suffix" size="sm">Beta</lc-chip>
|
|
2519
|
+
* <lc-chip slot="title-suffix" size="sm" variant="success">Ready</lc-chip>
|
|
2489
2520
|
* <lc-button slot="actions" variant="primary">New report</lc-button>
|
|
2490
2521
|
* <lc-chip slot="meta">12 active</lc-chip>
|
|
2491
2522
|
* </lc-page-header>
|
|
@@ -2494,6 +2525,23 @@ declare class ContainerComponent {
|
|
|
2494
2525
|
declare class PageHeaderComponent {
|
|
2495
2526
|
/** Main heading text. */
|
|
2496
2527
|
title: _angular_core.InputSignal<string | undefined>;
|
|
2528
|
+
/**
|
|
2529
|
+
* Optional leading icon (Tabler icon name) rendered as a brand tile to the
|
|
2530
|
+
* left of the title block, mirroring `lc-card`'s header icon. Purely additive.
|
|
2531
|
+
*/
|
|
2532
|
+
icon: _angular_core.InputSignal<string | undefined>;
|
|
2533
|
+
/**
|
|
2534
|
+
* Visual treatment of the leading icon tile.
|
|
2535
|
+
* - brand: gradient teal tile with light ink (default)
|
|
2536
|
+
* - subtle: translucent surface tile with brand-teal ink
|
|
2537
|
+
* @default 'brand'
|
|
2538
|
+
*/
|
|
2539
|
+
iconVariant: _angular_core.InputSignal<"brand" | "subtle">;
|
|
2540
|
+
/**
|
|
2541
|
+
* Size of the leading icon tile.
|
|
2542
|
+
* @default 'md'
|
|
2543
|
+
*/
|
|
2544
|
+
iconSize: _angular_core.InputSignal<"sm" | "md">;
|
|
2497
2545
|
/** Short supporting line below the title. */
|
|
2498
2546
|
subtitle: _angular_core.InputSignal<string | undefined>;
|
|
2499
2547
|
/**
|
|
@@ -2525,7 +2573,7 @@ declare class PageHeaderComponent {
|
|
|
2525
2573
|
noPaddingX: _angular_core.InputSignal<boolean>;
|
|
2526
2574
|
protected hostClasses: _angular_core.Signal<string>;
|
|
2527
2575
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
|
|
2528
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PageHeaderComponent, "lc-page-header", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showDivider": { "alias": "showDivider"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "noPaddingX": { "alias": "noPaddingX"; "required": false; "isSignal": true; }; }, {}, never, ["[slot='breadcrumbs']", "[slot='actions']", "[slot='meta']", "*"], true, never>;
|
|
2576
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PageHeaderComponent, "lc-page-header", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconVariant": { "alias": "iconVariant"; "required": false; "isSignal": true; }; "iconSize": { "alias": "iconSize"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showDivider": { "alias": "showDivider"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "noPaddingX": { "alias": "noPaddingX"; "required": false; "isSignal": true; }; }, {}, never, ["[slot='breadcrumbs']", "[slot='title-suffix']", "[slot='title-suffix']", "[slot='title-suffix']", "[slot='actions']", "[slot='meta']", "*"], true, never>;
|
|
2529
2577
|
}
|
|
2530
2578
|
|
|
2531
2579
|
/** Where the layout takes its height from. */
|
|
@@ -3734,12 +3782,18 @@ declare class BadgeComponent {
|
|
|
3734
3782
|
size: _angular_core.InputSignal<BadgeSize>;
|
|
3735
3783
|
/** Whether the badge has fully rounded corners (pill shape) */
|
|
3736
3784
|
rounded: _angular_core.InputSignal<boolean>;
|
|
3785
|
+
/**
|
|
3786
|
+
* Render a small leading status dot, filled in the variant's `currentColor`,
|
|
3787
|
+
* before the label (the "● label" pattern). Purely additive.
|
|
3788
|
+
* @default false
|
|
3789
|
+
*/
|
|
3790
|
+
dot: _angular_core.InputSignal<boolean>;
|
|
3737
3791
|
/**
|
|
3738
3792
|
* Computed CSS classes for the badge
|
|
3739
3793
|
*/
|
|
3740
3794
|
badgeClasses: _angular_core.Signal<string>;
|
|
3741
3795
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
3742
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BadgeComponent, "lc-badge", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3796
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BadgeComponent, "lc-badge", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
3743
3797
|
}
|
|
3744
3798
|
|
|
3745
3799
|
interface ToggleOption {
|
|
@@ -7417,5 +7471,158 @@ declare class StageListComponent {
|
|
|
7417
7471
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StageListComponent, "lc-stage-list", never, { "stages": { "alias": "stages"; "required": true; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "showBar": { "alias": "showBar"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; }, { "stageClick": "stageClick"; }, never, never, true, never>;
|
|
7418
7472
|
}
|
|
7419
7473
|
|
|
7420
|
-
|
|
7421
|
-
|
|
7474
|
+
/**
|
|
7475
|
+
* Emphasis treatment applied to a row's value.
|
|
7476
|
+
* - `mono` renders the value in the monospace font (paths, URLs, hashes).
|
|
7477
|
+
*/
|
|
7478
|
+
type DescriptionListEmphasis = 'default' | 'strong' | 'muted' | 'primary' | 'mono';
|
|
7479
|
+
interface DescriptionListItem {
|
|
7480
|
+
/** Label shown on the term side of the row. */
|
|
7481
|
+
term: string;
|
|
7482
|
+
/** Value shown on the description side of the row. */
|
|
7483
|
+
value: string;
|
|
7484
|
+
/**
|
|
7485
|
+
* Optional qualifying suffix appended after the value on the same line and
|
|
7486
|
+
* rendered muted (e.g. a rating grade or "last checked" hint). Wraps if the
|
|
7487
|
+
* combined value + suffix exceed the available width.
|
|
7488
|
+
*/
|
|
7489
|
+
valueSuffix?: string;
|
|
7490
|
+
/** Optional link — renders the value as an anchor. */
|
|
7491
|
+
href?: string;
|
|
7492
|
+
/** Optional visual emphasis for the value. @default 'default' */
|
|
7493
|
+
emphasis?: DescriptionListEmphasis;
|
|
7494
|
+
/** Optional opaque payload echoed back in `itemClick`. */
|
|
7495
|
+
id?: string;
|
|
7496
|
+
}
|
|
7497
|
+
type DescriptionListLayout = 'rows' | 'stacked';
|
|
7498
|
+
type DescriptionListSize = 'sm' | 'md';
|
|
7499
|
+
/**
|
|
7500
|
+
* Per-row separator style (applies to the `rows` layout).
|
|
7501
|
+
* - `line` solid hairline under each row (default — unchanged look)
|
|
7502
|
+
* - `divider` subtle dashed line, for the dense card look
|
|
7503
|
+
* - `none` no row separator
|
|
7504
|
+
*
|
|
7505
|
+
* Orthogonal to `leaders`, which draws dotted leaders *between* term and value.
|
|
7506
|
+
*/
|
|
7507
|
+
type DescriptionListSeparator = 'line' | 'divider' | 'none';
|
|
7508
|
+
/**
|
|
7509
|
+
* Description list for key/value metadata (a styled `<dl>`).
|
|
7510
|
+
*
|
|
7511
|
+
* Features:
|
|
7512
|
+
* - `rows` layout: term on the left, value on the right, with an optional
|
|
7513
|
+
* dotted leader line connecting them (the DS2.0 "spec sheet" look).
|
|
7514
|
+
* - `stacked` layout: term above value, for narrow columns.
|
|
7515
|
+
* - Per-row value emphasis and optional links.
|
|
7516
|
+
* - Semantic markup (`<dl>`/`<dt>`/`<dd>`) for accessibility.
|
|
7517
|
+
*
|
|
7518
|
+
* @example
|
|
7519
|
+
* ```html
|
|
7520
|
+
* <lc-description-list
|
|
7521
|
+
* [items]="[
|
|
7522
|
+
* { term: 'Repository', value: 'example/project', href: '#', emphasis: 'primary' },
|
|
7523
|
+
* { term: 'Access', value: 'Token stored · read only' },
|
|
7524
|
+
* { term: 'Status', value: 'Maintained', emphasis: 'strong' }
|
|
7525
|
+
* ]"
|
|
7526
|
+
* [leaders]="true" />
|
|
7527
|
+
* ```
|
|
7528
|
+
*/
|
|
7529
|
+
declare class DescriptionListComponent {
|
|
7530
|
+
/** Rows to render. */
|
|
7531
|
+
readonly items: _angular_core.InputSignal<readonly DescriptionListItem[]>;
|
|
7532
|
+
/**
|
|
7533
|
+
* Row layout.
|
|
7534
|
+
* - rows: term left / value right (default)
|
|
7535
|
+
* - stacked: term above value
|
|
7536
|
+
* @default 'rows'
|
|
7537
|
+
*/
|
|
7538
|
+
readonly layout: _angular_core.InputSignal<DescriptionListLayout>;
|
|
7539
|
+
/**
|
|
7540
|
+
* Draw a dotted leader line between term and value. Only applies to the
|
|
7541
|
+
* `rows` layout.
|
|
7542
|
+
* @default false
|
|
7543
|
+
*/
|
|
7544
|
+
readonly leaders: _angular_core.InputSignal<boolean>;
|
|
7545
|
+
/** Density of the rows. @default 'md' */
|
|
7546
|
+
readonly size: _angular_core.InputSignal<DescriptionListSize>;
|
|
7547
|
+
/**
|
|
7548
|
+
* Per-row separator style for the `rows` layout. Defaults to `line`, which is
|
|
7549
|
+
* identical to the previous behavior. Orthogonal to `leaders`.
|
|
7550
|
+
* @default 'line'
|
|
7551
|
+
*/
|
|
7552
|
+
readonly separator: _angular_core.InputSignal<DescriptionListSeparator>;
|
|
7553
|
+
/** Emitted when a row is clicked. */
|
|
7554
|
+
readonly itemClick: _angular_core.OutputEmitterRef<DescriptionListItem>;
|
|
7555
|
+
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
7556
|
+
protected valueClass(item: DescriptionListItem): string;
|
|
7557
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DescriptionListComponent, never>;
|
|
7558
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DescriptionListComponent, "lc-description-list", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "leaders": { "alias": "leaders"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; }, never, never, true, never>;
|
|
7559
|
+
}
|
|
7560
|
+
|
|
7561
|
+
/**
|
|
7562
|
+
* Status of a single pipeline node.
|
|
7563
|
+
* - complete: finished (teal check)
|
|
7564
|
+
* - current: in progress / active (teal, subtle pulse)
|
|
7565
|
+
* - pending: not started yet (muted, hollow)
|
|
7566
|
+
* - warning: needs attention (amber)
|
|
7567
|
+
* - error: failed (red)
|
|
7568
|
+
*/
|
|
7569
|
+
type PipelineStatus = 'complete' | 'current' | 'pending' | 'warning' | 'error';
|
|
7570
|
+
interface PipelineStep {
|
|
7571
|
+
/** Node label. */
|
|
7572
|
+
label: string;
|
|
7573
|
+
/** Optional secondary line under the label. */
|
|
7574
|
+
caption?: string;
|
|
7575
|
+
/** Status that drives the node color and default icon. */
|
|
7576
|
+
status: PipelineStatus;
|
|
7577
|
+
/** Optional icon (Tabler name) overriding the status default. */
|
|
7578
|
+
icon?: string;
|
|
7579
|
+
/** Optional opaque payload echoed back in `stepClick`. */
|
|
7580
|
+
id?: string;
|
|
7581
|
+
}
|
|
7582
|
+
type PipelineOrientation = 'horizontal' | 'vertical';
|
|
7583
|
+
type PipelineSize = 'sm' | 'md';
|
|
7584
|
+
/**
|
|
7585
|
+
* Pipeline — a status timeline of connected process nodes.
|
|
7586
|
+
*
|
|
7587
|
+
* Unlike {@link StepperComponent} (a navigation stepper whose states derive
|
|
7588
|
+
* from the active index), each pipeline node carries its own explicit status,
|
|
7589
|
+
* so it can show completed, current, pending, warning and error nodes in the
|
|
7590
|
+
* same chain — with an optional caption under each label.
|
|
7591
|
+
*
|
|
7592
|
+
* @example
|
|
7593
|
+
* ```html
|
|
7594
|
+
* <lc-pipeline
|
|
7595
|
+
* [steps]="[
|
|
7596
|
+
* { label: 'Connect', caption: 'Token valid', status: 'complete' },
|
|
7597
|
+
* { label: 'Checkout', caption: '2 hours ago', status: 'complete' },
|
|
7598
|
+
* { label: 'Analyze', caption: 'Running…', status: 'current' },
|
|
7599
|
+
* { label: 'Graph', caption: 'Out of date', status: 'warning' }
|
|
7600
|
+
* ]" />
|
|
7601
|
+
* ```
|
|
7602
|
+
*/
|
|
7603
|
+
declare class PipelineComponent {
|
|
7604
|
+
/** Ordered pipeline nodes. */
|
|
7605
|
+
readonly steps: _angular_core.InputSignal<readonly PipelineStep[]>;
|
|
7606
|
+
/** Layout direction. @default 'horizontal' */
|
|
7607
|
+
readonly orientation: _angular_core.InputSignal<PipelineOrientation>;
|
|
7608
|
+
/**
|
|
7609
|
+
* Node/connector scale.
|
|
7610
|
+
* - md: default nodes (1.75rem)
|
|
7611
|
+
* - sm: compact spine — smaller nodes, thinner connectors, tighter grid
|
|
7612
|
+
* @default 'md'
|
|
7613
|
+
*/
|
|
7614
|
+
readonly size: _angular_core.InputSignal<PipelineSize>;
|
|
7615
|
+
/** Whether nodes are clickable (emits `stepClick`). @default false */
|
|
7616
|
+
readonly clickable: _angular_core.InputSignal<boolean>;
|
|
7617
|
+
/** Emitted when a node is activated (only when `clickable`). */
|
|
7618
|
+
readonly stepClick: _angular_core.OutputEmitterRef<PipelineStep>;
|
|
7619
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
7620
|
+
protected iconFor(step: PipelineStep): string;
|
|
7621
|
+
protected stepClass(step: PipelineStep): string;
|
|
7622
|
+
protected onActivate(step: PipelineStep): void;
|
|
7623
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PipelineComponent, never>;
|
|
7624
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PipelineComponent, "lc-pipeline", never, { "steps": { "alias": "steps"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; }, { "stepClick": "stepClick"; }, never, never, true, never>;
|
|
7625
|
+
}
|
|
7626
|
+
|
|
7627
|
+
export { AccordionComponent, AccordionContentDirective, AccordionGroupComponent, AccordionHeaderDirective, AlertComponent, AnimationDurationFast, AnimationEasingEaseIn, AnimationEasingEaseInOut, AnimationEasingEaseOut, AreaChartComponent, AvatarComponent, AvatarGroupComponent, BadgeComponent, BarChartComponent, BorderRadius2xl, BorderRadiusFull, BorderRadiusLg, BorderRadiusMd, BorderRadiusNone, BorderRadiusSm, BorderRadiusXl, BreadcrumbsComponent, ButtonComponent, CalendarComponent, CalloutComponent, CardComponent, ChatComponent, CheckboxComponent, ChipComponent, CodeBlockComponent, ColorAccentOrange, ColorAccentPurple, ColorAccentRed, ColorAccentRust, ColorAccentViolet, ColorBackgroundDark, ColorErrorDark, ColorErrorDefault, ColorErrorLight, ColorInfoDark, ColorInfoDefault, ColorInfoLight, ColorNeutral100, ColorNeutral200, ColorNeutral300, ColorNeutral400, ColorNeutral50, ColorNeutral500, ColorNeutral600, ColorNeutral700, ColorNeutral800, ColorNeutral900, ColorPickerComponent, ColorPrimary100, ColorPrimary200, ColorPrimary300, ColorPrimary400, ColorPrimary50, ColorPrimary500, ColorPrimary600, ColorPrimary700, ColorPrimary800, ColorPrimary900, ColorSecondary100, ColorSecondary200, ColorSecondary300, ColorSecondary400, ColorSecondary50, ColorSecondary500, ColorSecondary600, ColorSecondary700, ColorSecondary800, ColorSecondary900, ColorSidebarDark, ColorSuccessDark, ColorSuccessDefault, ColorSuccessLight, ColorSurfaceDarkBase, ColorSurfaceDarkRaised, ColorSurfaceDarkSunken, ColorTextDarkPrimary, ColorTextDarkSecondary, ColorTextDarkTertiary, ColorWarningDark, ColorWarningDefault, ColorWarningLight, ComboboxComponent, ConfirmDialogComponent, ConfirmService, ContainerComponent, DateRangePickerComponent, DatepickerComponent, DependencyViewerComponent, DescriptionListComponent, DiffViewerComponent, DividerComponent, DocumentViewerComponent, DonutChartComponent, DrawerComponent, Elevation1, Elevation2, Elevation3, Elevation4, EmailInputComponent, EmptyStateComponent, ErrorDisplayComponent, FILE_FALLBACK_ICON, FOLDER_ICON, FOLDER_OPEN_ICON, FieldGroupComponent, FileUploadComponent, FilterBarComponent, FooterComponent, FunnelChartComponent, GalleryComponent, GanttChartComponent, GaugeComponent, HeaderComponent, HeatmapComponent, HeroComponent, ICON_ALIASES, ICON_NAMES, IconComponent, InputComponent, KanbanBoardComponent, LC_LOGO_BASE_PATH, LineChartComponent, ListComponent, ListItemTemplateDirective, LogViewerComponent, LogoComponent, MarkdownComponent, MenuComponent, ModalComponent, NotificationCenterComponent, NumberInputComponent, PageHeaderComponent, PageLayoutComponent, PaginationComponent, PasswordInputComponent, PieChartComponent, PipelineComponent, PopoverComponent, ProgressBarComponent, ProgressRingComponent, RadarChartComponent, RadioComponent, RatingComponent, RichTextEditorComponent, ScatterPlotComponent, SearchInputComponent, SectionComponent, SelectComponent, SidenavComponent, SizeInteractiveLgFontSize, SizeInteractiveLgHeight, SizeInteractiveLgPadding, SizeInteractiveMdFontSize, SizeInteractiveMdHeight, SizeInteractiveMdPadding, SizeInteractiveSmFontSize, SizeInteractiveSmHeight, SizeInteractiveSmPadding, SizeInteractiveXsFontSize, SizeInteractiveXsHeight, SizeInteractiveXsPadding, SizeMinTouchHeight, SizeMinTouchWidth, SkeletonComponent, SliderComponent, SpacerComponent, Spacing0, Spacing05, Spacing1, Spacing10, Spacing11, Spacing12, Spacing14, Spacing15, Spacing16, Spacing2, Spacing25, Spacing3, Spacing35, Spacing4, Spacing5, Spacing6, Spacing7, Spacing8, Spacing9, SparklineComponent, SpinnerComponent, StackComponent, StackedBarChartComponent, StageListComponent, StatTrendComponent, StepperComponent, SwitchComponent, TabComponent, TableCellDirective, TableComponent, TabsComponent, TagInputComponent, TextareaComponent, ThemeService, TimelineComponent, ToastComponent, ToastService, ToggleGroupComponent, ToolbarComponent, TooltipContentComponent, TooltipDirective, TreeViewComponent, TypographyComponent, TypographyFontFamilyBase, TypographyFontFamilyMono, TypographyFontSize2xl, TypographyFontSize3xl, TypographyFontSize4xl, TypographyFontSize5xl, TypographyFontSize6xl, TypographyFontSizeBase, TypographyFontSizeLg, TypographyFontSizeSm, TypographyFontSizeXl, TypographyFontSizeXs, TypographyFontWeightBold, TypographyFontWeightMedium, TypographyFontWeightNormal, TypographyFontWeightSemibold, TypographyLineHeightNormal, TypographyLineHeightRelaxed, TypographyLineHeightTight, VerificationCodeInputComponent, WaterfallChartComponent, isValidIconName, resolveFileIcon };
|
|
7628
|
+
export type { AccordionChevronPosition, ActionClickEvent, AlertVariant, AreaChartSeries, AvatarGroupItem, AvatarSize, AvatarStatus, BadgeSize, BadgeVariant, BarChartItem, BarChartOrientation, BreadcrumbItem, BreadcrumbSize, ButtonSize, ButtonType, ButtonVariant, CalendarEvent, CalendarView, CalloutVariant, CellEditEvent, ChatAttachment, ChatFileAttachEvent, ChatMessage, ChatMessageRole, ChatMessageStatus, ChatRenderMarkdown, ChatSendEvent, CheckboxSize, ChipSize, ChipVariant, CodeBlockLanguage, ComboboxOption, ComboboxSize, ComboboxValue, ConfirmDialogVariant, ConfirmOptions, ContainerSize, DateRange, DateValue, DependencyDirection, DependencyEdgeDef, DependencyNode, DependencyNodeStatus, DependencyRelation, DescriptionListEmphasis, DescriptionListItem, DescriptionListLayout, DescriptionListSeparator, DescriptionListSize, DiffViewMode, DividerOrientation, DividerSpacing, DividerVariant, DocumentType, DonutChartSize, DonutSegment, DrawerPosition, DrawerSize, EmptyStateSize, ErrorSeverity, FileUploadFile, FilterConfig, FilterOption, FilterValues, FooterLink, FooterSection, FooterVariant, FunnelStep, GalleryItem, GalleryLayout, GallerySize, GanttDependency, GanttTask, GaugeColor, GaugeSize, HeatmapCell, HeroColor, HeroSize, HeroVariant, IconName, IconSize, IconVariant, KanbanCard, KanbanColumn, KanbanLabel, KanbanMoveEvent, LineChartSeries, ListItem, ListOrientation, ListSize, ListVariant, LogLevel, LogLine, LogViewerVariant, MarkdownChangesHighlighted, MarkdownHeading, MarkdownLinkClick, MarkdownRendered, MenuItem, ModalSize, NavigationItem, Notification, NotificationPriority, NotificationType, PageLayoutFill, PaginationSize, PasswordRequirement, PasswordStrength, PieChartSize, PieSegment, PipelineOrientation, PipelineSize, PipelineStatus, PipelineStep, PopoverPosition, PopoverTrigger, ProgressBarColor, ProgressBarSize, ProgressBarVariant, ProgressRingColor, ProgressRingSize, RadarChartSeries, RadioSize, RatingSize, RenderPart, RequireTextConfig, RichTextEditorMode, RowToggleEvent, ScatterPoint, ScatterSeries, SearchInputSize, SectionBackground, SectionSpacing, SelectOption, SelectOptionGroup, SelectValue, SelectionChangeEvent, SidenavMode, SidenavPosition, SkeletonVariant, SortEvent, SpacerSize, SparklineColor, SparklineCurve, SpinnerSize, StackAlign, StackDirection, StackGap, StackJustify, StackedBarCategory, StackedBarLegend, StackedBarOrientation, StageItem, StageListSize, StatTrendDirection, StepState, StepperStep, TabOrientation, TableAction, TableActionsAlign, TableColumn, TableSize, TableTreeConfig, TableVariant, ThemeConfig, ThemeMode, ThemeState, TimelineItem, TimelineOrientation, Toast, ToastAction, ToastConfig, ToastPosition, ToastVariant, ToggleOption, ToolbarAction, ToolbarConfig, TooltipPosition, TreeNode, TreeNodeType, WaterfallItem };
|