@akcelik/strct 4.10.0 → 4.12.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/fesm2022/akcelik-strct.mjs +461 -102
- package/fesm2022/akcelik-strct.mjs.map +1 -1
- package/package.json +1 -1
- package/types/akcelik-strct.d.ts +133 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akcelik/strct",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.12.0",
|
|
4
4
|
"description": "UIStruct — a standalone Angular component library with a tokenised, multi-palette theme system, built for datacenter / infrastructure management UIs.",
|
|
5
5
|
"author": "Serkan Akcelik <serkan.akcelik@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
package/types/akcelik-strct.d.ts
CHANGED
|
@@ -352,6 +352,27 @@ declare class StrctIcon {
|
|
|
352
352
|
readonly badge: _angular_core.InputSignal<StrctIconBadge>;
|
|
353
353
|
/** Accessible label for the icon. When empty the icon is hidden from assistive tech. */
|
|
354
354
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
355
|
+
/**
|
|
356
|
+
* A count on the icon's top end corner — "a bell with seven alarms says 7".
|
|
357
|
+
* `null` or `0` draws nothing, and a count replaces `badge` (an icon says one
|
|
358
|
+
* thing at a time). Above `countMax` it reads "99+".
|
|
359
|
+
*/
|
|
360
|
+
readonly count: _angular_core.InputSignal<number | null>;
|
|
361
|
+
/** The highest number shown in full; above it the badge reads "<max>+". */
|
|
362
|
+
readonly countMax: _angular_core.InputSignal<number>;
|
|
363
|
+
/** Badge tone — `--{status}` background with `--inv` text. */
|
|
364
|
+
readonly countStatus: _angular_core.InputSignal<StrctStatus>;
|
|
365
|
+
/**
|
|
366
|
+
* How the count reads to assistive tech, appended to `ariaLabel` (so an icon
|
|
367
|
+
* with no label stays decorative and the count belongs to its button).
|
|
368
|
+
*/
|
|
369
|
+
readonly countLabel: _angular_core.InputSignal<(n: number) => string>;
|
|
370
|
+
/** The badge's text, or null when there is nothing to say. */
|
|
371
|
+
protected readonly countText: _angular_core.Signal<string | null>;
|
|
372
|
+
/** 1.2em of the icon size, floored at 14px, as the badge's box. */
|
|
373
|
+
protected readonly countFontSize: _angular_core.Signal<number>;
|
|
374
|
+
/** The label the glyph carries: its own, plus the count when both are set. */
|
|
375
|
+
protected readonly accessibleLabel: _angular_core.Signal<string>;
|
|
355
376
|
/** The effective name: `strictName` wins when set. */
|
|
356
377
|
protected readonly iconName: _angular_core.Signal<StrctIconName | (string & {})>;
|
|
357
378
|
/** True when the named icon is a full-SVG (raw) icon registered by the app. */
|
|
@@ -359,7 +380,7 @@ declare class StrctIcon {
|
|
|
359
380
|
protected readonly svg: _angular_core.Signal<SafeHtml>;
|
|
360
381
|
protected readonly rawSvg: _angular_core.Signal<SafeHtml>;
|
|
361
382
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctIcon, never>;
|
|
362
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctIcon, "strct-icon", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "strictName": { "alias": "strictName"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
383
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctIcon, "strct-icon", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "strictName": { "alias": "strictName"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": false; "isSignal": true; }; "countMax": { "alias": "countMax"; "required": false; "isSignal": true; }; "countStatus": { "alias": "countStatus"; "required": false; "isSignal": true; }; "countLabel": { "alias": "countLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
363
384
|
}
|
|
364
385
|
|
|
365
386
|
/** Overlay positioning strategies. */
|
|
@@ -710,7 +731,7 @@ declare class StrctSectionHeader {
|
|
|
710
731
|
}
|
|
711
732
|
|
|
712
733
|
/** Button visual variants. */
|
|
713
|
-
type StrctButtonVariant = 'primary' | 'critical' | 'outline' | 'flat' | 'neutral';
|
|
734
|
+
type StrctButtonVariant = 'primary' | 'critical' | 'outline' | 'flat' | 'neutral' | 'link';
|
|
714
735
|
/** Button size variants. */
|
|
715
736
|
type StrctButtonSize = 'md' | 'sm' | 'mini';
|
|
716
737
|
/**
|
|
@@ -755,6 +776,11 @@ declare class StrctBadge {
|
|
|
755
776
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctBadge, "strct-badge", never, { "status": { "alias": "status"; "required": false; "isSignal": true; }; "solid": { "alias": "solid"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
756
777
|
}
|
|
757
778
|
|
|
779
|
+
/** Content rendered before the tag's text — a status dot, an icon. */
|
|
780
|
+
declare class StrctTagLeading {
|
|
781
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctTagLeading, never>;
|
|
782
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<StrctTagLeading, "[strctTagLeading]", never, {}, {}, never, never, true, never>;
|
|
783
|
+
}
|
|
758
784
|
/** Tag color variants. */
|
|
759
785
|
type StrctTagStatus = 'neutral' | 'accent' | 'success' | 'warning' | 'critical';
|
|
760
786
|
/**
|
|
@@ -770,10 +796,23 @@ declare class StrctTag {
|
|
|
770
796
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
771
797
|
/** Accessible label for the remove button. */
|
|
772
798
|
readonly removeLabel: _angular_core.InputSignal<string>;
|
|
799
|
+
/**
|
|
800
|
+
* The body becomes a control: pointer, hover, focus ring, and `activated` on
|
|
801
|
+
* click / Enter / Space. The × stays a separate tab stop, so "open it" and
|
|
802
|
+
* "remove it" are two targets.
|
|
803
|
+
*/
|
|
804
|
+
readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
805
|
+
/** `'pill'` rounds the tag fully — a chip for a thing, not a label on one. */
|
|
806
|
+
readonly shape: _angular_core.InputSignal<"default" | "pill">;
|
|
807
|
+
/** Monospace text, for names that are identifiers. */
|
|
808
|
+
readonly mono: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
773
809
|
/** Emitted when the user clicks the remove button. */
|
|
774
810
|
readonly removed: _angular_core.OutputEmitterRef<void>;
|
|
811
|
+
/** Emitted when an `interactive` tag's body is activated. */
|
|
812
|
+
readonly activated: _angular_core.OutputEmitterRef<void>;
|
|
813
|
+
protected onActivate(): void;
|
|
775
814
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctTag, never>;
|
|
776
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctTag, "strct-tag", never, { "status": { "alias": "status"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "removeLabel": { "alias": "removeLabel"; "required": false; "isSignal": true; }; }, { "removed": "removed"; }, never, ["*"], true, never>;
|
|
815
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctTag, "strct-tag", never, { "status": { "alias": "status"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "removeLabel": { "alias": "removeLabel"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "mono": { "alias": "mono"; "required": false; "isSignal": true; }; }, { "removed": "removed"; "activated": "activated"; }, never, ["[strctTagLeading]", "*"], true, never>;
|
|
777
816
|
}
|
|
778
817
|
|
|
779
818
|
/** Avatar size variants. */
|
|
@@ -1958,8 +1997,18 @@ declare class StrctBreadcrumb {
|
|
|
1958
1997
|
declare class StrctBreadcrumbItem {
|
|
1959
1998
|
/** Mark as the current page. */
|
|
1960
1999
|
readonly current: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2000
|
+
/**
|
|
2001
|
+
* The crumb itself is the control — for a trail that does not route, such as
|
|
2002
|
+
* a folder path. It is stated rather than inferred from `(activated)` having
|
|
2003
|
+
* a listener, which Angular's output API does not expose;
|
|
2004
|
+
* `strct-list-item` and `strct-tag` read the same way.
|
|
2005
|
+
*/
|
|
2006
|
+
readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2007
|
+
/** Emitted when an `interactive` crumb is activated (click / Enter / Space). */
|
|
2008
|
+
readonly activated: _angular_core.OutputEmitterRef<void>;
|
|
2009
|
+
protected onActivate(): void;
|
|
1961
2010
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctBreadcrumbItem, never>;
|
|
1962
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctBreadcrumbItem, "strct-breadcrumb-item", never, { "current": { "alias": "current"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2011
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctBreadcrumbItem, "strct-breadcrumb-item", never, { "current": { "alias": "current"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; }, { "activated": "activated"; }, never, ["*"], true, never>;
|
|
1963
2012
|
}
|
|
1964
2013
|
|
|
1965
2014
|
type PageToken = number | 'dots';
|
|
@@ -2472,6 +2521,21 @@ declare class StrctInput {
|
|
|
2472
2521
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<StrctInput, "input[strctInput], textarea[strctInput], select[strctInput]", never, {}, {}, never, never, true, never>;
|
|
2473
2522
|
}
|
|
2474
2523
|
|
|
2524
|
+
/**
|
|
2525
|
+
* A description with markup in it, projected into `strct-checkbox`,
|
|
2526
|
+
* `strct-toggle` or `strct-radio` — where the string `description` renders, and
|
|
2527
|
+
* linked to the control the same way.
|
|
2528
|
+
*
|
|
2529
|
+
* <strct-checkbox [(checked)]="net">
|
|
2530
|
+
* Network
|
|
2531
|
+
* <span strctControlDescription>The cluster networks and <strong>Windows Firewall</strong>.</span>
|
|
2532
|
+
* </strct-checkbox>
|
|
2533
|
+
*/
|
|
2534
|
+
declare class StrctControlDescription {
|
|
2535
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctControlDescription, never>;
|
|
2536
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<StrctControlDescription, "[strctControlDescription]", never, {}, {}, never, never, true, never>;
|
|
2537
|
+
}
|
|
2538
|
+
|
|
2475
2539
|
/** Checkbox with custom box. Works with `[(ngModel)]` / reactive forms. */
|
|
2476
2540
|
declare class StrctCheckbox implements ControlValueAccessor {
|
|
2477
2541
|
readonly checked: _angular_core.ModelSignal<boolean>;
|
|
@@ -2484,6 +2548,26 @@ declare class StrctCheckbox implements ControlValueAccessor {
|
|
|
2484
2548
|
readonly indeterminate: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2485
2549
|
/** Accessible label for the checkbox (used when no text label is present). */
|
|
2486
2550
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
2551
|
+
/**
|
|
2552
|
+
* A sentence under the label explaining the option's consequence. It renders
|
|
2553
|
+
* inside the component's own `<label>` — so clicking it still toggles the
|
|
2554
|
+
* option — and is linked with `aria-describedby` rather than becoming part of
|
|
2555
|
+
* the name. `[strctControlDescription]` projects one with markup in it.
|
|
2556
|
+
*/
|
|
2557
|
+
readonly description: _angular_core.InputSignal<string>;
|
|
2558
|
+
private readonly n;
|
|
2559
|
+
protected readonly descId: string;
|
|
2560
|
+
protected readonly labelId: string;
|
|
2561
|
+
protected readonly projDescId: string;
|
|
2562
|
+
protected readonly projected: _angular_core.Signal<StrctControlDescription | undefined>;
|
|
2563
|
+
protected readonly described: _angular_core.Signal<boolean>;
|
|
2564
|
+
protected readonly describedBy: _angular_core.Signal<string | null>;
|
|
2565
|
+
/**
|
|
2566
|
+
* The description sits inside the `<label>` so clicking it still toggles the
|
|
2567
|
+
* option — which would otherwise make it part of the name as well as the
|
|
2568
|
+
* description. Naming the label span keeps the name to the label alone.
|
|
2569
|
+
*/
|
|
2570
|
+
protected readonly labelledBy: _angular_core.Signal<string | null>;
|
|
2487
2571
|
private onChange;
|
|
2488
2572
|
protected onTouched: () => void;
|
|
2489
2573
|
onToggle(event: Event): void;
|
|
@@ -2492,7 +2576,7 @@ declare class StrctCheckbox implements ControlValueAccessor {
|
|
|
2492
2576
|
registerOnTouched(fn: () => void): void;
|
|
2493
2577
|
setDisabledState(isDisabled: boolean): void;
|
|
2494
2578
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctCheckbox, never>;
|
|
2495
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctCheckbox, "strct-checkbox", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; },
|
|
2579
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctCheckbox, "strct-checkbox", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, ["projected"], ["[strctControlDescription]", "*"], true, never>;
|
|
2496
2580
|
}
|
|
2497
2581
|
|
|
2498
2582
|
/** On/off switch. Works with `[(ngModel)]` / reactive forms. */
|
|
@@ -2503,6 +2587,21 @@ declare class StrctToggle implements ControlValueAccessor {
|
|
|
2503
2587
|
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
2504
2588
|
/** Static disable; forms' setDisabledState also drives the disabled state. */
|
|
2505
2589
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2590
|
+
/**
|
|
2591
|
+
* A sentence under the label explaining what turning this on does. It renders
|
|
2592
|
+
* inside the component's own `<label>` and is linked with `aria-describedby`;
|
|
2593
|
+
* `[strctControlDescription]` projects one with markup in it.
|
|
2594
|
+
*/
|
|
2595
|
+
readonly description: _angular_core.InputSignal<string>;
|
|
2596
|
+
private readonly n;
|
|
2597
|
+
protected readonly descId: string;
|
|
2598
|
+
protected readonly labelId: string;
|
|
2599
|
+
protected readonly projDescId: string;
|
|
2600
|
+
protected readonly projected: _angular_core.Signal<StrctControlDescription | undefined>;
|
|
2601
|
+
protected readonly described: _angular_core.Signal<boolean>;
|
|
2602
|
+
protected readonly describedBy: _angular_core.Signal<string | null>;
|
|
2603
|
+
/** Keeps the name to the label when the description shares its `<label>`. */
|
|
2604
|
+
protected readonly labelledBy: _angular_core.Signal<string | null>;
|
|
2506
2605
|
private onChange;
|
|
2507
2606
|
protected onTouched: () => void;
|
|
2508
2607
|
onToggle(event: Event): void;
|
|
@@ -2511,7 +2610,7 @@ declare class StrctToggle implements ControlValueAccessor {
|
|
|
2511
2610
|
registerOnTouched(fn: () => void): void;
|
|
2512
2611
|
setDisabledState(isDisabled: boolean): void;
|
|
2513
2612
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctToggle, never>;
|
|
2514
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctToggle, "strct-toggle", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {},
|
|
2613
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctToggle, "strct-toggle", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; }, {}, ["projected"], ["[strctControlDescription]", "*"], true, never>;
|
|
2515
2614
|
}
|
|
2516
2615
|
|
|
2517
2616
|
/**
|
|
@@ -2522,6 +2621,12 @@ declare class StrctToggle implements ControlValueAccessor {
|
|
|
2522
2621
|
* </strct-radio-group>
|
|
2523
2622
|
*/
|
|
2524
2623
|
declare class StrctRadioGroup implements ControlValueAccessor {
|
|
2624
|
+
/**
|
|
2625
|
+
* `'card'` renders each option as a tile with room for an icon and a
|
|
2626
|
+
* sentence — a choice between a few kinds of thing, each needing an
|
|
2627
|
+
* explanation. It stays a native radio group: one tab stop, arrow keys.
|
|
2628
|
+
*/
|
|
2629
|
+
readonly variant: _angular_core.InputSignal<"default" | "card">;
|
|
2525
2630
|
readonly name: string;
|
|
2526
2631
|
readonly value: _angular_core.WritableSignal<unknown>;
|
|
2527
2632
|
readonly isDisabled: _angular_core.WritableSignal<boolean>;
|
|
@@ -2533,7 +2638,7 @@ declare class StrctRadioGroup implements ControlValueAccessor {
|
|
|
2533
2638
|
registerOnTouched(fn: () => void): void;
|
|
2534
2639
|
setDisabledState(isDisabled: boolean): void;
|
|
2535
2640
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctRadioGroup, never>;
|
|
2536
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctRadioGroup, "strct-radio-group", never, {}, {}, never, ["*"], true, never>;
|
|
2641
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctRadioGroup, "strct-radio-group", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
2537
2642
|
}
|
|
2538
2643
|
/** One option inside a `<strct-radio-group>`. */
|
|
2539
2644
|
declare class StrctRadio {
|
|
@@ -2541,9 +2646,27 @@ declare class StrctRadio {
|
|
|
2541
2646
|
readonly value: _angular_core.InputSignal<unknown>;
|
|
2542
2647
|
/** Static disable flag. */
|
|
2543
2648
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2649
|
+
/**
|
|
2650
|
+
* A sentence under the label. It renders inside the component's own
|
|
2651
|
+
* `<label>` and is linked with `aria-describedby`;
|
|
2652
|
+
* `[strctControlDescription]` projects one with markup in it.
|
|
2653
|
+
*/
|
|
2654
|
+
readonly description: _angular_core.InputSignal<string>;
|
|
2655
|
+
/** Leading icon — card variant only. */
|
|
2656
|
+
readonly icon: _angular_core.InputSignal<"" | StrctIconName>;
|
|
2544
2657
|
protected readonly group: StrctRadioGroup;
|
|
2658
|
+
protected readonly card: _angular_core.Signal<boolean>;
|
|
2659
|
+
private readonly n;
|
|
2660
|
+
protected readonly descId: string;
|
|
2661
|
+
protected readonly labelId: string;
|
|
2662
|
+
protected readonly projDescId: string;
|
|
2663
|
+
protected readonly projected: _angular_core.Signal<StrctControlDescription | undefined>;
|
|
2664
|
+
protected readonly described: _angular_core.Signal<boolean>;
|
|
2665
|
+
protected readonly describedBy: _angular_core.Signal<string | null>;
|
|
2666
|
+
/** Keeps the name to the label when the description shares its `<label>`. */
|
|
2667
|
+
protected readonly labelledBy: _angular_core.Signal<string | null>;
|
|
2545
2668
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctRadio, never>;
|
|
2546
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctRadio, "strct-radio", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {},
|
|
2669
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctRadio, "strct-radio", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, ["projected"], ["[strctControlDescription]", "*"], true, never>;
|
|
2547
2670
|
}
|
|
2548
2671
|
|
|
2549
2672
|
/** One segment of a `StrctSegmented`. */
|
|
@@ -4733,7 +4856,7 @@ declare class StrctAlert {
|
|
|
4733
4856
|
readonly dismissLabel: _angular_core.InputSignal<string>;
|
|
4734
4857
|
/** Emitted when the alert is dismissed. */
|
|
4735
4858
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
4736
|
-
protected readonly icon: _angular_core.Signal<"
|
|
4859
|
+
protected readonly icon: _angular_core.Signal<"success" | "warning" | "critical" | "info">;
|
|
4737
4860
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StrctAlert, never>;
|
|
4738
4861
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctAlert, "strct-alert", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "dismissLabel": { "alias": "dismissLabel"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["*"], true, never>;
|
|
4739
4862
|
}
|
|
@@ -6324,5 +6447,5 @@ declare class StrctHeatmap {
|
|
|
6324
6447
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StrctHeatmap, "strct-heatmap", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "colLabelEvery": { "alias": "colLabelEvery"; "required": false; "isSignal": true; }; "colLabel": { "alias": "colLabel"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "thresholds": { "alias": "thresholds"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "summaryFormat": { "alias": "summaryFormat"; "required": false; "isSignal": true; }; "cellHeight": { "alias": "cellHeight"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "rowLabelWidth": { "alias": "rowLabelWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6325
6448
|
}
|
|
6326
6449
|
|
|
6327
|
-
export { FOCUSABLE_SELECTOR, STRCT_DP_DOW, STRCT_DP_DOW_FULL, STRCT_DP_MONTHS, STRCT_ICONS, STRCT_ICON_GROUPS, STRCT_ICON_NAMES, STRCT_MASKS, STRCT_NOTIFICATION_HISTORY_LIMIT, STRCT_PALETTES, STRCT_RAW_ICONS, STRCT_TIME_RANGE_PRESETS, STRCT_WIZARD_DEFAULTS, StrctAccordion, StrctAccordionPanel, StrctAlert, StrctAnnouncer, StrctAvatar, StrctBadge, StrctBreadcrumb, StrctBreadcrumbItem, StrctButton, StrctButtonGroup, StrctBytesPipe, StrctCard, StrctCardBlock, StrctCardFooter, StrctCardHeader, StrctCardHeaderActions, StrctCardHeaderMeta, StrctCardHeaderNote, StrctCascadeColumn, StrctCascadeHost, StrctCascadeSelect, StrctCellDef, StrctCellStatus, StrctChart, StrctCheckbox, StrctChips, StrctCode, StrctCodeInline, StrctColorPicker, StrctCombobox, StrctCommandPalette, StrctConfirmOutlet, StrctConfirmService, StrctContextMenu, StrctContextMenuTrigger, StrctCopy, StrctDatagrid, StrctDatagridActionBar, StrctDatagridActionBarCaption, StrctDatepicker, StrctDatetimePicker, StrctDesc, StrctDescriptionList, StrctDiff, StrctDivider, StrctDonut, StrctDrawer, StrctDrawerFooter, StrctDropdown, StrctDropdownDivider, StrctDropdownItem, StrctDropdownTrigger, StrctDurationPipe, StrctEmptyState, StrctField, StrctFieldGroup, StrctFieldHint, StrctFieldPrefix, StrctFieldSuffix, StrctFile, StrctFilterBar, StrctFlow, StrctFooter, StrctGauge, StrctHeader, StrctHeatmap, StrctHero, StrctHotkeysHelp, StrctHotkeysService, StrctIcon, StrctInlineEdit, StrctInput, StrctInputMask, StrctInputOtp, StrctKbd, StrctKnob, StrctList, StrctListItem, StrctListItemDescription, StrctListItemLeading, StrctListItemMeta, StrctListItemTrailing, StrctLogViewer, StrctLogin, StrctMenuPanel, StrctMenuService, StrctMenubar, StrctMetricTile, StrctModal, StrctModalContent, StrctNav, StrctNavItem, StrctNotificationCenter, StrctNumber, StrctOverlay, StrctPageHeader, StrctPageHeaderActions, StrctPageHeaderCrumbs, StrctPageHeaderTitleMeta, StrctPagination, StrctPassword, StrctPopover, StrctPopoverTrigger, StrctProgress, StrctRadio, StrctRadioGroup, StrctRail, StrctRange, StrctRatePipe, StrctRating, StrctReorder, StrctReorderItem, StrctRowDetailDef, StrctSearchbox, StrctSectionHeader, StrctSectionHeaderActions, StrctSectionHeaderMeta, StrctSectionMenu, StrctSegmented, StrctSelect, StrctShell, StrctShellService, StrctSiPipe, StrctSignpost, StrctSignpostTrigger, StrctSkeleton, StrctSparkline, StrctSpeedDial, StrctSpinner, StrctSplitButton, StrctSplitter, StrctStack, StrctStackItem, StrctStatusDot, StrctStep, StrctSubmenu, StrctTab, StrctTable, StrctTabs, StrctTag, StrctThemeService, StrctThemeSwitcher, StrctTimeRangePicker, StrctTimeline, StrctTimelineItem, StrctToastOutlet, StrctToastService, StrctToggle, StrctToolbar, StrctToolbarCaption, StrctToolbarSpacer, StrctTooltip, StrctTour, StrctTransfer, StrctTree, StrctTreeNode, StrctTreeSelect, StrctVerticalNav, StrctWatermark, StrctWizard, StrctWizardAside, focusFirstIn, keepTabInside, lockBodyScroll, parseAnsi, provideStrctWizardDefaults, registerStrctIcon, restoreFocus, saveFocusedElement, strctComputeDiff, strctDpPad, strctFormatBytes, strctFormatDuration, strctFormatRate, strctFormatSi, strctValidationIcon, strctValidationTone, unlockBodyScroll };
|
|
6450
|
+
export { FOCUSABLE_SELECTOR, STRCT_DP_DOW, STRCT_DP_DOW_FULL, STRCT_DP_MONTHS, STRCT_ICONS, STRCT_ICON_GROUPS, STRCT_ICON_NAMES, STRCT_MASKS, STRCT_NOTIFICATION_HISTORY_LIMIT, STRCT_PALETTES, STRCT_RAW_ICONS, STRCT_TIME_RANGE_PRESETS, STRCT_WIZARD_DEFAULTS, StrctAccordion, StrctAccordionPanel, StrctAlert, StrctAnnouncer, StrctAvatar, StrctBadge, StrctBreadcrumb, StrctBreadcrumbItem, StrctButton, StrctButtonGroup, StrctBytesPipe, StrctCard, StrctCardBlock, StrctCardFooter, StrctCardHeader, StrctCardHeaderActions, StrctCardHeaderMeta, StrctCardHeaderNote, StrctCascadeColumn, StrctCascadeHost, StrctCascadeSelect, StrctCellDef, StrctCellStatus, StrctChart, StrctCheckbox, StrctChips, StrctCode, StrctCodeInline, StrctColorPicker, StrctCombobox, StrctCommandPalette, StrctConfirmOutlet, StrctConfirmService, StrctContextMenu, StrctContextMenuTrigger, StrctControlDescription, StrctCopy, StrctDatagrid, StrctDatagridActionBar, StrctDatagridActionBarCaption, StrctDatepicker, StrctDatetimePicker, StrctDesc, StrctDescriptionList, StrctDiff, StrctDivider, StrctDonut, StrctDrawer, StrctDrawerFooter, StrctDropdown, StrctDropdownDivider, StrctDropdownItem, StrctDropdownTrigger, StrctDurationPipe, StrctEmptyState, StrctField, StrctFieldGroup, StrctFieldHint, StrctFieldPrefix, StrctFieldSuffix, StrctFile, StrctFilterBar, StrctFlow, StrctFooter, StrctGauge, StrctHeader, StrctHeatmap, StrctHero, StrctHotkeysHelp, StrctHotkeysService, StrctIcon, StrctInlineEdit, StrctInput, StrctInputMask, StrctInputOtp, StrctKbd, StrctKnob, StrctList, StrctListItem, StrctListItemDescription, StrctListItemLeading, StrctListItemMeta, StrctListItemTrailing, StrctLogViewer, StrctLogin, StrctMenuPanel, StrctMenuService, StrctMenubar, StrctMetricTile, StrctModal, StrctModalContent, StrctNav, StrctNavItem, StrctNotificationCenter, StrctNumber, StrctOverlay, StrctPageHeader, StrctPageHeaderActions, StrctPageHeaderCrumbs, StrctPageHeaderTitleMeta, StrctPagination, StrctPassword, StrctPopover, StrctPopoverTrigger, StrctProgress, StrctRadio, StrctRadioGroup, StrctRail, StrctRange, StrctRatePipe, StrctRating, StrctReorder, StrctReorderItem, StrctRowDetailDef, StrctSearchbox, StrctSectionHeader, StrctSectionHeaderActions, StrctSectionHeaderMeta, StrctSectionMenu, StrctSegmented, StrctSelect, StrctShell, StrctShellService, StrctSiPipe, StrctSignpost, StrctSignpostTrigger, StrctSkeleton, StrctSparkline, StrctSpeedDial, StrctSpinner, StrctSplitButton, StrctSplitter, StrctStack, StrctStackItem, StrctStatusDot, StrctStep, StrctSubmenu, StrctTab, StrctTable, StrctTabs, StrctTag, StrctTagLeading, StrctThemeService, StrctThemeSwitcher, StrctTimeRangePicker, StrctTimeline, StrctTimelineItem, StrctToastOutlet, StrctToastService, StrctToggle, StrctToolbar, StrctToolbarCaption, StrctToolbarSpacer, StrctTooltip, StrctTour, StrctTransfer, StrctTree, StrctTreeNode, StrctTreeSelect, StrctVerticalNav, StrctWatermark, StrctWizard, StrctWizardAside, focusFirstIn, keepTabInside, lockBodyScroll, parseAnsi, provideStrctWizardDefaults, registerStrctIcon, restoreFocus, saveFocusedElement, strctComputeDiff, strctDpPad, strctFormatBytes, strctFormatDuration, strctFormatRate, strctFormatSi, strctValidationIcon, strctValidationTone, unlockBodyScroll };
|
|
6328
6451
|
export type { StrctAlertType, StrctAvatarSize, StrctAvatarStatus, StrctBadgeStatus, StrctButtonSize, StrctButtonVariant, StrctCascadeOption, StrctCellContext, StrctChartAnnotation, StrctChartColor, StrctChartCurve, StrctChartSeries, StrctChartSlot, StrctChartStatus, StrctChartSummaryInfo, StrctChartThreshold, StrctChartType, StrctColumn, StrctCommandItem, StrctConfirmOptions, StrctConfirmTone, StrctDatagridColumn, StrctDatagridColumnState, StrctDatagridFilters, StrctDatagridLabels, StrctDatagridLazyState, StrctDescAlign, StrctDescItem, StrctDiffRow, StrctDonutSegment, StrctDrawerSide, StrctDrawerSize, StrctEmptyVariant, StrctFilterChip, StrctFlowDirection, StrctFlowNode, StrctFlowOrientation, StrctHeatmapCell, StrctHeatmapSummaryInfo, StrctHotkey, StrctIconBadge, StrctIconName, StrctKnobStatus, StrctLogLine, StrctMenuItem, StrctMenuLink, StrctMenuOpenOptions, StrctMenuSection, StrctMenubarItem, StrctMetricStatus, StrctModalSize, StrctMode, StrctNotification, StrctOption, StrctOverlayPlacement, StrctPalette, StrctPaletteInfo, StrctProgressSegment, StrctProgressStatus, StrctRailItem, StrctRailStatus, StrctReorderEvent, StrctRow, StrctRowId, StrctSegmentedOption, StrctSegmentedSize, StrctSignpostPosition, StrctSpeedDialDirection, StrctSpinnerSize, StrctStatus, StrctStatusDotSize, StrctTagStatus, StrctThresholds, StrctTimeRange, StrctTimeRangePreset, StrctTimelineState, StrctToast, StrctToastOptions, StrctToastType, StrctTooltipPosition, StrctTourStep, StrctTransferItem, StrctTreeDropEvent, StrctTreeMenuEvent, StrctTreeNodeData, StrctTreeNodeMenuFn, StrctValidationState, StrctValidationStatus, StrctWizardDefaults };
|