@assistanz/carbideui 1.3.0 → 1.4.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/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnChanges, SimpleChanges, EventEmitter, AfterViewInit, InjectionToken, ElementRef, AfterContentInit, QueryList, OnDestroy, TemplateRef, OnInit, Renderer2, ChangeDetectorRef, PipeTransform, EnvironmentProviders } from '@angular/core';
2
+ import { OnChanges, SimpleChanges, EventEmitter, AfterViewInit, InjectionToken, ElementRef, AfterContentInit, QueryList, OnDestroy, TemplateRef, OnInit, Renderer2, ChangeDetectorRef, EnvironmentProviders, PipeTransform } from '@angular/core';
3
3
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
4
4
  import { ControlValueAccessor, NgControl } from '@angular/forms';
5
- import { Chart, BarChartOptions, StackedBarChartOptions, LineChartOptions, AreaChartOptions, PieChartOptions, DonutChartOptions, GaugeChartOptions } from '@carbon/charts';
6
5
  import * as _assistanz_carbideui from '@assistanz/carbideui';
6
+ import { Chart, BarChartOptions, StackedBarChartOptions, LineChartOptions, AreaChartOptions, StackedAreaChartOptions, ComboChartOptions, HeatmapChartOptions, PieChartOptions, DonutChartOptions, GaugeChartOptions } from '@carbon/charts';
7
7
 
8
8
  declare const ICONS: {
9
9
  readonly add: {
@@ -1322,7 +1322,88 @@ declare class NgccTabsSkeleton implements OnChanges {
1322
1322
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTabsSkeleton, "ngcc-tabs-skeleton", never, { "numOftabs": { "alias": "numOftabs"; "required": false; }; }, {}, never, never, true, never>;
1323
1323
  }
1324
1324
 
1325
- type BaseThemeNamesType = 'white' | 'g10' | 'g90' | 'g100' | 'rounded' | 'curved';
1325
+ /** The four Carbon color themes. */
1326
+ type NgccCarbonThemeName = 'white' | 'g10' | 'g90' | 'g100';
1327
+ /** Pre-v1.3 "themes" that were really shape/alignment variants. Still accepted, then migrated. */
1328
+ type NgccLegacyThemeName = 'rounded' | 'curved' | 'centered';
1329
+ /** Everything `setTheme()` accepts. Only the Carbon four are ever applied as the color theme. */
1330
+ type BaseThemeNamesType = NgccCarbonThemeName | NgccLegacyThemeName;
1331
+ /** Shape of controls and containers. Applied as `data-corner-style`. */
1332
+ type NgccCornerStyle = 'square' | 'rounded' | 'curved';
1333
+ /** Button label alignment. Applied as `data-button-align`. */
1334
+ type NgccButtonAlign = 'left' | 'centered';
1335
+ type NgccThemeStorage = 'local' | 'session' | 'none';
1336
+ interface NgccThemeOption {
1337
+ value: NgccCarbonThemeName;
1338
+ label: string;
1339
+ description: string;
1340
+ isDark: boolean;
1341
+ /** Preview colors: page background, surface, text */
1342
+ preview: {
1343
+ background: string;
1344
+ surface: string;
1345
+ text: string;
1346
+ };
1347
+ }
1348
+ interface NgccCornerStyleOption {
1349
+ value: NgccCornerStyle;
1350
+ label: string;
1351
+ description: string;
1352
+ /** Preview radii in px: [control, container] */
1353
+ preview: {
1354
+ control: string;
1355
+ container: string;
1356
+ };
1357
+ }
1358
+ interface NgccButtonAlignOption {
1359
+ value: NgccButtonAlign;
1360
+ label: string;
1361
+ description: string;
1362
+ }
1363
+ interface NgccThemeConfig {
1364
+ /** Color theme used when nothing is persisted. Default: 'white' */
1365
+ defaultTheme: NgccCarbonThemeName;
1366
+ /** Corner style used when nothing is persisted. Default: 'square' (Carbon) */
1367
+ defaultCornerStyle: NgccCornerStyle;
1368
+ /** Button label alignment used when nothing is persisted. Default: 'left' (Carbon) */
1369
+ defaultButtonAlign: NgccButtonAlign;
1370
+ /** Where the user's choices are persisted. Default: 'local' */
1371
+ storage: NgccThemeStorage;
1372
+ /** Storage key. Default: 'ngcc-theme' */
1373
+ storageKey: string;
1374
+ /** Follow the OS light/dark preference until the user picks a color theme. Default: false */
1375
+ followSystem: boolean;
1376
+ /** Color theme applied when the OS is in light mode and followSystem is on. Default: 'white' */
1377
+ systemLightTheme: NgccCarbonThemeName;
1378
+ /** Color theme applied when the OS is in dark mode and followSystem is on. Default: 'g100' */
1379
+ systemDarkTheme: NgccCarbonThemeName;
1380
+ /** Keep multiple browser tabs in sync. Default: true */
1381
+ syncAcrossTabs: boolean;
1382
+ }
1383
+ declare const NGCC_THEME_DEFAULTS: NgccThemeConfig;
1384
+ declare const NGCC_THEME_CONFIG: InjectionToken<NgccThemeConfig>;
1385
+ declare const NGCC_THEME_OPTIONS: readonly NgccThemeOption[];
1386
+ declare const NGCC_CORNER_STYLE_OPTIONS: readonly NgccCornerStyleOption[];
1387
+ declare const NGCC_BUTTON_ALIGN_OPTIONS: readonly NgccButtonAlignOption[];
1388
+ declare const NGCC_THEME_NAMES: readonly NgccCarbonThemeName[];
1389
+ declare const NGCC_CORNER_STYLES: readonly NgccCornerStyle[];
1390
+ declare const NGCC_BUTTON_ALIGNS: readonly NgccButtonAlign[];
1391
+ /** Valid for `setTheme()`: the Carbon four plus the legacy shape names. */
1392
+ declare function isNgccThemeName(value: unknown): value is BaseThemeNamesType;
1393
+ declare function isNgccCornerStyle(value: unknown): value is NgccCornerStyle;
1394
+ declare function isNgccButtonAlign(value: unknown): value is NgccButtonAlign;
1395
+ declare function isNgccThemeDark(theme: BaseThemeNamesType): boolean;
1396
+ interface NgccResolvedLegacyTheme {
1397
+ theme: NgccCarbonThemeName;
1398
+ cornerStyle?: NgccCornerStyle;
1399
+ buttonAlign?: NgccButtonAlign;
1400
+ }
1401
+ /**
1402
+ * Splits an old combined theme name into the new independent settings:
1403
+ * rounded → white + rounded corners, curved → white + curved corners,
1404
+ * centered → white + centered button labels. Carbon names pass through.
1405
+ */
1406
+ declare function resolveNgccThemeName(name: BaseThemeNamesType): NgccResolvedLegacyTheme;
1326
1407
 
1327
1408
  /**
1328
1409
  * Sets the initial theme on the HTML element.
@@ -1330,6 +1411,198 @@ type BaseThemeNamesType = 'white' | 'g10' | 'g90' | 'g100' | 'rounded' | 'curved
1330
1411
  */
1331
1412
  declare function initNgccTheme(theme?: BaseThemeNamesType): void;
1332
1413
 
1414
+ /**
1415
+ * Single owner of the global theme attributes on `<html>`:
1416
+ *
1417
+ * | Setting | Attribute | Values |
1418
+ * | -------------- | -------------------- | ------------------------------- |
1419
+ * | Color theme | `data-carbon-theme` | white · g10 · g90 · g100 |
1420
+ * | Corner style | `data-corner-style` | square · rounded · curved |
1421
+ * | Button align | `data-button-align` | left · centered |
1422
+ *
1423
+ * The three settings are independent; any combination is valid. Components are never
1424
+ * touched: global CSS reads these attributes (see `styles/_theme-corners.scss`).
1425
+ *
1426
+ * - Signal based: bind to `theme()`, `cornerStyle()`, `buttonAlign()`, `isDark()`.
1427
+ * - Persists choices (local/session storage, configurable) and migrates older formats.
1428
+ * - Optionally follows the OS light/dark preference in real time.
1429
+ * - Keeps other browser tabs in sync. SSR safe.
1430
+ */
1431
+ declare class NgccThemeService {
1432
+ private readonly doc;
1433
+ private readonly config;
1434
+ private readonly isBrowser;
1435
+ private readonly selectedTheme;
1436
+ private readonly _followSystem;
1437
+ private readonly _cornerStyle;
1438
+ private readonly _buttonAlign;
1439
+ private readonly systemDark;
1440
+ /** True while the color theme is driven by the OS preference */
1441
+ readonly followSystem: _angular_core.Signal<boolean>;
1442
+ readonly cornerStyle: _angular_core.Signal<NgccCornerStyle>;
1443
+ readonly buttonAlign: _angular_core.Signal<NgccButtonAlign>;
1444
+ /** The Carbon color theme currently applied to the document */
1445
+ readonly theme: _angular_core.Signal<NgccCarbonThemeName>;
1446
+ readonly isDark: _angular_core.Signal<boolean>;
1447
+ constructor();
1448
+ /**
1449
+ * Pick an explicit color theme. This turns off "follow system".
1450
+ *
1451
+ * For backwards compatibility the old combined names still work and are split into the
1452
+ * independent settings: `'rounded'`/`'curved'` also set the corner style,
1453
+ * `'centered'` also sets button alignment (the color theme becomes `'white'`).
1454
+ */
1455
+ setTheme(theme: BaseThemeNamesType): void;
1456
+ getTheme(): NgccCarbonThemeName;
1457
+ setCornerStyle(style: NgccCornerStyle): void;
1458
+ setButtonAlign(align: NgccButtonAlign): void;
1459
+ /** Follow (or stop following) the OS light/dark preference. */
1460
+ setFollowSystem(enabled: boolean): void;
1461
+ /** Flip between the configured light and dark color themes. */
1462
+ toggleDarkMode(): void;
1463
+ /** Forget the persisted choices and return to configured defaults. */
1464
+ reset(): void;
1465
+ private applyDefaults;
1466
+ private apply;
1467
+ private store;
1468
+ private persist;
1469
+ /**
1470
+ * Understands every format ever written under the storage key:
1471
+ * - v2 JSON `{ version: 2, theme, followSystem, cornerStyle, buttonAlign }`
1472
+ * - v1 JSON `{ theme, followSystem }` where theme may be rounded|curved|centered
1473
+ * - a bare theme name (original format)
1474
+ * Anything invalid is ignored (returns null) so a bad value can never break theming.
1475
+ */
1476
+ private read;
1477
+ private adopt;
1478
+ private restore;
1479
+ /**
1480
+ * Pre-v1.3 builds stored a bare theme name in sessionStorage under the same key.
1481
+ * Adopt it once into the configured store so existing users keep their theme.
1482
+ */
1483
+ private migrateLegacy;
1484
+ private watchSystemPreference;
1485
+ private watchOtherTabs;
1486
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccThemeService, never>;
1487
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<NgccThemeService>;
1488
+ }
1489
+
1490
+ declare class NgccThemeSwitcher {
1491
+ private readonly themeService;
1492
+ protected readonly uid: string;
1493
+ /** Heading text. Set to an empty string to hide it. */
1494
+ readonly heading: _angular_core.InputSignal<string>;
1495
+ /** Restrict the color themes offered, e.g. `['white', 'g100']`. Defaults to all four. */
1496
+ readonly themes: _angular_core.InputSignal<readonly NgccCarbonThemeName[]>;
1497
+ /** Show the "Match system" toggle */
1498
+ readonly showFollowSystem: _angular_core.InputSignal<boolean>;
1499
+ /** Show the Corner style category */
1500
+ readonly showCornerStyle: _angular_core.InputSignal<boolean>;
1501
+ /** Show the Button label alignment category */
1502
+ readonly showButtonAlign: _angular_core.InputSignal<boolean>;
1503
+ /** Compact layout (swatch only, name as tooltip) */
1504
+ readonly compact: _angular_core.InputSignal<boolean>;
1505
+ /** Emits the resolved color theme whenever it changes through this control */
1506
+ readonly themeChange: _angular_core.OutputEmitterRef<NgccCarbonThemeName>;
1507
+ readonly cornerStyleChange: _angular_core.OutputEmitterRef<NgccCornerStyle>;
1508
+ readonly buttonAlignChange: _angular_core.OutputEmitterRef<NgccButtonAlign>;
1509
+ protected readonly currentTheme: _angular_core.Signal<NgccCarbonThemeName>;
1510
+ protected readonly followSystem: _angular_core.Signal<boolean>;
1511
+ protected readonly currentCorner: _angular_core.Signal<NgccCornerStyle>;
1512
+ protected readonly currentAlign: _angular_core.Signal<NgccButtonAlign>;
1513
+ protected readonly cornerOptions: readonly _assistanz_carbideui.NgccCornerStyleOption[];
1514
+ protected readonly alignOptions: readonly _assistanz_carbideui.NgccButtonAlignOption[];
1515
+ protected readonly cornerValues: NgccCornerStyle[];
1516
+ protected readonly alignValues: NgccButtonAlign[];
1517
+ protected readonly options: _angular_core.Signal<NgccThemeOption[]>;
1518
+ private readonly themeValues;
1519
+ protected readonly currentLabel: _angular_core.Signal<string>;
1520
+ protected readonly statusMessage: _angular_core.Signal<string>;
1521
+ protected selectTheme(theme: NgccCarbonThemeName): void;
1522
+ protected selectCorner(style: NgccCornerStyle): void;
1523
+ protected selectAlign(align: NgccButtonAlign): void;
1524
+ protected onFollowSystemChange(enabled: boolean): void;
1525
+ protected onThemeKeydown(event: KeyboardEvent): void;
1526
+ protected onCornerKeydown(event: KeyboardEvent): void;
1527
+ protected onAlignKeydown(event: KeyboardEvent): void;
1528
+ /** Roving tabindex: only the checked radio (or the first, if none) is tabbable. */
1529
+ protected tabIndex<T>(values: readonly T[], current: T, value: T): number;
1530
+ protected themeValuesList(): readonly NgccCarbonThemeName[];
1531
+ /** Arrow/Home/End navigation across a radio group. */
1532
+ private navigate;
1533
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccThemeSwitcher, never>;
1534
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccThemeSwitcher, "ngcc-theme-switcher", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "themes": { "alias": "themes"; "required": false; "isSignal": true; }; "showFollowSystem": { "alias": "showFollowSystem"; "required": false; "isSignal": true; }; "showCornerStyle": { "alias": "showCornerStyle"; "required": false; "isSignal": true; }; "showButtonAlign": { "alias": "showButtonAlign"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; }, { "themeChange": "themeChange"; "cornerStyleChange": "cornerStyleChange"; "buttonAlignChange": "buttonAlignChange"; }, never, never, true, never>;
1535
+ }
1536
+
1537
+ /**
1538
+ * Carbon Theme Metadata
1539
+ *
1540
+ * Minimal metadata for each Carbon theme. All actual base token values
1541
+ * are applied by Carbon's SCSS via the [data-carbon-theme] attribute selector
1542
+ * in custom-themes.scss. This metadata provides only what the service
1543
+ * needs for WCAG contrast calculations.
1544
+ */
1545
+ type CarbonThemeName = 'white' | 'g10' | 'g90' | 'g100';
1546
+ interface NgccThemeMetadata {
1547
+ name: CarbonThemeName;
1548
+ isDark: boolean;
1549
+ background: string;
1550
+ /** Secondary button background color (needed for text-on-button WCAG check) */
1551
+ secondaryButtonBg: string;
1552
+ }
1553
+ declare const themeMetadata: Record<CarbonThemeName, NgccThemeMetadata>;
1554
+ declare function isThemeDark(theme: CarbonThemeName): boolean;
1555
+ declare function getThemeBackground(theme: CarbonThemeName): string;
1556
+ declare function getThemeSecondaryButtonBg(theme: CarbonThemeName): string;
1557
+ declare function getAvailableThemes(): CarbonThemeName[];
1558
+ /**
1559
+ * Colors written straight to CSS per base theme (Carbon has a fixed value for each, so
1560
+ * "reset" has a known target).
1561
+ */
1562
+ type NgccStaticThemeColorToken = 'background' | 'layer-01' | 'layer-02' | 'text-primary' | 'text-secondary' | 'border-subtle' | 'border-strong';
1563
+ /**
1564
+ * Colors the service turns into a whole family of tokens (hover states, text-on-color, …) and
1565
+ * contrast-adjusts for the active base theme. Their default is derived from the brand color.
1566
+ */
1567
+ type NgccDerivedThemeColorToken = 'support-error' | 'support-warning' | 'support-success' | 'support-info' | 'link' | 'focus';
1568
+ /** Every color a user may adjust. */
1569
+ type NgccThemeColorToken = NgccStaticThemeColorToken | NgccDerivedThemeColorToken;
1570
+ type NgccThemeColorCategoryId = 'surface' | 'text' | 'border' | 'status' | 'interactive';
1571
+ interface NgccThemeColorCategory {
1572
+ id: NgccThemeColorCategoryId;
1573
+ label: string;
1574
+ description: string;
1575
+ }
1576
+ interface NgccThemeColorTokenDef {
1577
+ key: NgccThemeColorToken;
1578
+ label: string;
1579
+ description: string;
1580
+ category: NgccThemeColorCategoryId;
1581
+ /** Derived tokens are contrast-adjusted by the service instead of written verbatim. */
1582
+ derived: boolean;
1583
+ /** CSS custom properties this color drives. */
1584
+ cssVars: readonly string[];
1585
+ }
1586
+ declare const NGCC_THEME_COLOR_CATEGORIES: readonly NgccThemeColorCategory[];
1587
+ /** Brand color: the single input that derives buttons, interactive tokens and charts. */
1588
+ declare const NGCC_BRAND_TOKEN_NAMES: readonly string[];
1589
+ /** Overrides, kept per theme so switching theme switches to that theme's customizations. */
1590
+ type NgccThemeColorOverrides = Partial<Record<CarbonThemeName, Partial<Record<NgccThemeColorToken, string>>>>;
1591
+ /** Carbon's own values for each theme (what "Reset" returns to). Static tokens only. */
1592
+ declare const themeBaseColors: Record<CarbonThemeName, Record<NgccStaticThemeColorToken, string>>;
1593
+ declare function getThemeBaseColor(theme: CarbonThemeName, token: NgccStaticThemeColorToken): string;
1594
+ declare function isDerivedThemeColorToken(value: unknown): value is NgccDerivedThemeColorToken;
1595
+ declare function isThemeColorToken(value: unknown): value is NgccThemeColorToken;
1596
+ declare function isCarbonThemeName(value: unknown): value is CarbonThemeName;
1597
+ /**
1598
+ * CSS custom properties a *static* color writes verbatim; related tokens move together.
1599
+ * Derived colors return `{}`: the service generates (and contrast-adjusts) their tokens.
1600
+ */
1601
+ declare function themeColorCssVars(token: NgccThemeColorToken, color: string): Record<string, string>;
1602
+ declare const NGCC_THEME_COLOR_TOKENS: readonly NgccThemeColorTokenDef[];
1603
+ /** Colors written verbatim per base theme (what presets and the audit cover). */
1604
+ declare const NGCC_STATIC_THEME_COLOR_TOKENS: readonly NgccThemeColorTokenDef[];
1605
+
1333
1606
  /**
1334
1607
  * WCAG 2.1 Color Accessibility Utilities
1335
1608
  *
@@ -1490,6 +1763,54 @@ interface NgccDerivedColorPalette {
1490
1763
  */
1491
1764
  declare function derivePaletteFromBrand(brandColor: string): NgccDerivedColorPalette;
1492
1765
 
1766
+ /**
1767
+ * Ready-made color themes. Each defines a brand color plus tinted neutrals for all four
1768
+ * Carbon base themes, so switching white / g10 / g90 / g100 keeps the palette's character.
1769
+ *
1770
+ * Contrast (checked in the spec for every preset × theme):
1771
+ * - text and secondary text on background and on layers: at least 7:1 (WCAG AAA)
1772
+ * - strong (control) border on background and layer 01: at least 3:1 (AA non-text)
1773
+ * The brand color itself is contrast-adjusted per theme by NgccColorThemeService.
1774
+ */
1775
+ interface NgccColorThemePreset {
1776
+ id: string;
1777
+ name: string;
1778
+ description: string;
1779
+ brandColor: string;
1780
+ themeColors: NgccThemeColorOverrides;
1781
+ }
1782
+ declare const NGCC_COLOR_THEME_PRESETS: readonly NgccColorThemePreset[];
1783
+ interface NgccColorThemeOptions {
1784
+ /**
1785
+ * Color theme the app starts with: a built-in preset id ('ocean' | 'royal' | 'ember') or your
1786
+ * own preset object. It is used only when the user has no saved customization, and it is what
1787
+ * "Reset to Defaults" returns to.
1788
+ */
1789
+ defaultPreset?: string | NgccColorThemePreset;
1790
+ }
1791
+ declare const NGCC_COLOR_THEME_OPTIONS: InjectionToken<NgccColorThemeOptions>;
1792
+ interface NgccPresetAuditIssue {
1793
+ theme: CarbonThemeName;
1794
+ check: string;
1795
+ foreground: string;
1796
+ background: string;
1797
+ /** Measured contrast ratio (0 when a color is not valid hex). */
1798
+ ratio: number;
1799
+ required: number;
1800
+ }
1801
+ /**
1802
+ * Checks a preset's neutrals against WCAG for every base theme. Tokens you leave out fall back
1803
+ * to Carbon's value, so partial presets are audited as they will render.
1804
+ *
1805
+ * - text and secondary text on the background and on layer 01 / 02: 4.5:1 (AA) or 7:1 (AAA)
1806
+ * - control (strong) border on the background and on layer 01: 3:1 (non-text)
1807
+ *
1808
+ * Returns the failures; an empty array means the preset passes. The brand color and the status,
1809
+ * link and focus colors are not audited here: NgccColorThemeService contrast-adjusts them for
1810
+ * each base theme.
1811
+ */
1812
+ declare function auditNgccColorThemePreset(preset: NgccColorThemePreset, level?: WCAGLevel): NgccPresetAuditIssue[];
1813
+
1493
1814
  interface NgccWCAGConfig {
1494
1815
  /** Target WCAG compliance level */
1495
1816
  level: WCAGLevel;
@@ -1541,28 +1862,22 @@ interface NgccColorThemeConfig {
1541
1862
  /** Generated color scale for secondary */
1542
1863
  secondaryScale?: NgccColorScale;
1543
1864
  }
1544
-
1545
- /**
1546
- * Carbon Theme Metadata
1547
- *
1548
- * Minimal metadata for each Carbon theme. All actual base token values
1549
- * are applied by Carbon's SCSS via the [data-carbon-theme] attribute selector
1550
- * in custom-themes.scss. This metadata provides only what the service
1551
- * needs for WCAG contrast calculations.
1552
- */
1553
- type CarbonThemeName = 'white' | 'g10' | 'g90' | 'g100';
1554
- interface NgccThemeMetadata {
1555
- name: CarbonThemeName;
1556
- isDark: boolean;
1557
- background: string;
1558
- /** Secondary button background color (needed for text-on-button WCAG check) */
1559
- secondaryButtonBg: string;
1865
+ /** Persisted / exportable color settings */
1866
+ interface NgccColorThemeSnapshot {
1867
+ version: 1;
1868
+ brandColor: string;
1869
+ wcagLevel: WCAGLevel;
1870
+ autoAdjust: boolean;
1871
+ /** Per-theme base color overrides. Omitted when nothing is customized. */
1872
+ themeColors?: NgccThemeColorOverrides;
1560
1873
  }
1561
- declare const themeMetadata: Record<CarbonThemeName, NgccThemeMetadata>;
1562
- declare function isThemeDark(theme: CarbonThemeName): boolean;
1563
- declare function getThemeBackground(theme: CarbonThemeName): string;
1564
- declare function getThemeSecondaryButtonBg(theme: CarbonThemeName): string;
1565
- declare function getAvailableThemes(): CarbonThemeName[];
1874
+ interface NgccBrandPreset {
1875
+ name: string;
1876
+ color: string;
1877
+ }
1878
+ declare const NGCC_BRAND_PRESETS: readonly NgccBrandPreset[];
1879
+ /** Returns lowercase #rrggbb for a valid #rgb / #rrggbb string, otherwise null. */
1880
+ declare function normalizeHexColor(value: string): string | null;
1566
1881
 
1567
1882
  /**
1568
1883
  * Color Theme Service with WCAG 2.1 Compliance
@@ -1572,8 +1887,20 @@ declare function getAvailableThemes(): CarbonThemeName[];
1572
1887
  * Dynamic tokens (interactive, button, link, etc.) are applied as inline CSS overrides.
1573
1888
  */
1574
1889
  declare class NgccColorThemeService {
1890
+ private static readonly DEFAULT_WCAG;
1575
1891
  private static readonly FALLBACK_BRAND_COLOR;
1576
- readonly baseTheme: _angular_core.WritableSignal<CarbonThemeName>;
1892
+ private readonly themeService;
1893
+ private readonly doc;
1894
+ private readonly isBrowser;
1895
+ private readonly themeConfig;
1896
+ private readonly colorOptions;
1897
+ /** Customizations of the app's default preset (empty without one); what reset returns to. */
1898
+ private defaultThemeColors;
1899
+ /**
1900
+ * Carbon base theme. Owned by NgccThemeService (single source of truth for
1901
+ * `data-carbon-theme`). Corner style and button alignment don't affect color tokens.
1902
+ */
1903
+ readonly baseTheme: _angular_core.Signal<CarbonThemeName>;
1577
1904
  readonly brandColor: _angular_core.WritableSignal<string>;
1578
1905
  private readonly defaultBrandColor;
1579
1906
  /** WCAG configuration */
@@ -1585,15 +1912,26 @@ declare class NgccColorThemeService {
1585
1912
  /** Convenience accessors derived from palette */
1586
1913
  readonly primaryColor: _angular_core.Signal<string>;
1587
1914
  readonly secondaryColor: _angular_core.Signal<string>;
1915
+ /** Status colors: the user's override for the active theme, else derived from the brand. */
1588
1916
  readonly dangerColor: _angular_core.Signal<string>;
1589
1917
  readonly successColor: _angular_core.Signal<string>;
1918
+ readonly warningColor: _angular_core.Signal<string>;
1919
+ /** @deprecated Misspelled; use warningColor. */
1590
1920
  readonly warningccolor: _angular_core.Signal<string>;
1591
1921
  readonly infoColor: _angular_core.Signal<string>;
1592
1922
  readonly isDarkMode: _angular_core.Signal<boolean>;
1923
+ /** Effective page background of the active theme, including user customization. */
1593
1924
  readonly backgroundColor: _angular_core.Signal<string>;
1594
1925
  readonly primaryScale: _angular_core.Signal<_assistanz_carbideui.NgccColorScale>;
1595
1926
  readonly secondaryScale: _angular_core.Signal<_assistanz_carbideui.NgccColorScale>;
1596
1927
  readonly availableThemes: _angular_core.WritableSignal<CarbonThemeName[]>;
1928
+ /**
1929
+ * User adjustments to the base themes (white, g10, g90, g100), kept per theme.
1930
+ * Emitted as `:root[data-carbon-theme='…']` token blocks: global CSS, no component edits.
1931
+ */
1932
+ readonly themeColorOverrides: _angular_core.WritableSignal<Partial<Record<CarbonThemeName, Partial<Record<NgccThemeColorToken, string>>>>>;
1933
+ /** CSS custom properties currently applied to :root (for inspection / copy). */
1934
+ readonly appliedTokens: _angular_core.WritableSignal<Record<string, string>>;
1597
1935
  /**
1598
1936
  * Chart color configuration for Carbon Charts integration
1599
1937
  */
@@ -1604,8 +1942,32 @@ declare class NgccColorThemeService {
1604
1942
  constructor();
1605
1943
  private generateChartColorScale;
1606
1944
  setBaseTheme(theme: CarbonThemeName): void;
1607
- /** Set the brand color. All other colors are derived automatically. */
1608
- updateBrandColor(color: string): void;
1945
+ /** Effective color of a base-theme token: the user's override, else Carbon's value. */
1946
+ getThemeColor(theme: CarbonThemeName, token: NgccThemeColorToken): string;
1947
+ /**
1948
+ * What a token is without an override: Carbon's value for surfaces, text and borders; derived
1949
+ * from the brand color for status, link and focus (those are contrast-adjusted when applied).
1950
+ */
1951
+ defaultThemeColor(theme: CarbonThemeName, token: NgccThemeColorToken): string;
1952
+ isThemeColorOverridden(theme: CarbonThemeName, token: NgccThemeColorToken): boolean;
1953
+ /**
1954
+ * Customize one color of one base theme. Accepts #rgb / #rrggbb; returns false for anything
1955
+ * else. Setting a token back to Carbon's own value removes the override.
1956
+ */
1957
+ setThemeColor(theme: CarbonThemeName, token: NgccThemeColorToken, color: string): boolean;
1958
+ /**
1959
+ * Apply a ready-made color theme (brand color + tinted neutrals for all four base themes).
1960
+ * Replaces current customizations. Accepts a preset or its id; returns false if unknown/invalid.
1961
+ */
1962
+ applyPreset(preset: NgccColorThemePreset | string): boolean;
1963
+ /** Remove one override (token given) or every override of a theme. */
1964
+ resetThemeColors(theme: CarbonThemeName, token?: NgccThemeColorToken): void;
1965
+ private withTheme;
1966
+ /**
1967
+ * Set the brand color. All other colors are derived automatically.
1968
+ * Accepts #rgb or #rrggbb; returns false (and changes nothing) for anything else.
1969
+ */
1970
+ updateBrandColor(color: string): boolean;
1609
1971
  /** Set the default brand color used on initialization and reset. */
1610
1972
  setDefaultBrandColor(color: string): void;
1611
1973
  /** @deprecated Use updateBrandColor() instead. */
@@ -1617,7 +1979,29 @@ declare class NgccColorThemeService {
1617
1979
  private styleElement;
1618
1980
  private applyTheme;
1619
1981
  private updateThemeStyleTag;
1982
+ /** Brand tokens on :root, then one block per customized base theme. */
1983
+ private renderCss;
1984
+ /** Restore the default brand color and WCAG settings. Base theme is left alone. */
1620
1985
  resetOverrides(): void;
1986
+ private persistTimer;
1987
+ private hasPersisted;
1988
+ private get storageKey();
1989
+ private snapshot;
1990
+ /** Serializable settings, e.g. to save to a user profile on your backend. */
1991
+ exportConfig(): NgccColorThemeSnapshot;
1992
+ /** Apply settings from exportConfig(). Returns false if the payload is invalid. */
1993
+ importConfig(input: string | Partial<NgccColorThemeSnapshot>): boolean;
1994
+ /** Start from the app's default preset (provideNgccColorTheme). Saved user choices load after. */
1995
+ private initDefaultPreset;
1996
+ private sameOverrides;
1997
+ /** Persisted/imported data is untrusted: keep only known themes, tokens and valid hex colors. */
1998
+ private sanitizeOverrides;
1999
+ /** Applied tokens as a ready-to-paste CSS block. */
2000
+ toCss(): string;
2001
+ private restore;
2002
+ /** Debounced so dragging the color picker doesn't write storage on every frame. */
2003
+ private schedulePersist;
2004
+ private clearPersisted;
1621
2005
  private generateWcagCompliantTokens;
1622
2006
  private generateAccessibilityReport;
1623
2007
  private getVisitedLinkColor;
@@ -1656,15 +2040,19 @@ declare abstract class NgccBaseChart<TOptions extends object> implements OnDestr
1656
2040
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgccBaseChart<any>, never, never, { "data": { "alias": "data"; "required": false; }; "options": { "alias": "options"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "noDataMessage": { "alias": "noDataMessage"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, true, never>;
1657
2041
  }
1658
2042
 
1659
- type NgccChartType = 'bar' | 'stackedBar' | 'line' | 'area' | 'pie' | 'donut';
2043
+ type NgccChartType = 'bar' | 'horizontalBar' | 'stackedBar' | 'line' | 'area' | 'stackedArea' | 'combo' | 'heatmap' | 'pie' | 'donut';
1660
2044
  /**
1661
2045
  * Automatically maps each chart type to its Carbon option type.
1662
2046
  */
1663
2047
  interface NgccChartOptionMap {
1664
2048
  bar: BarChartOptions;
2049
+ horizontalBar: BarChartOptions;
1665
2050
  stackedBar: StackedBarChartOptions;
1666
2051
  line: LineChartOptions;
1667
2052
  area: AreaChartOptions;
2053
+ stackedArea: StackedAreaChartOptions;
2054
+ combo: ComboChartOptions;
2055
+ heatmap: HeatmapChartOptions;
1668
2056
  pie: PieChartOptions;
1669
2057
  donut: DonutChartOptions;
1670
2058
  }
@@ -1672,17 +2060,105 @@ interface NgccChartOptionMap {
1672
2060
  * A type-safe way to get the right options type for the given chart type.
1673
2061
  */
1674
2062
  type NgccChartOptions<T extends NgccChartType = NgccChartType> = NgccChartOptionMap[T];
2063
+ interface NgccChartsArgs {
2064
+ type: NgccChartType;
2065
+ data: Record<string, unknown>[];
2066
+ options: NgccChartOptions;
2067
+ loading?: boolean;
2068
+ noDataMessage?: string;
2069
+ thresholds?: readonly NgccChartThreshold[];
2070
+ sort?: NgccChartSort;
2071
+ limit?: number | null;
2072
+ }
2073
+ /**
2074
+ * A reference line on the value axis: a limit to stay under (capacity, quota) or a goal to reach.
2075
+ * `kind` only picks the default color: limit is red, goal is green. `color` overrides it.
2076
+ */
2077
+ interface NgccChartThreshold {
2078
+ value: number;
2079
+ label: string;
2080
+ kind?: 'limit' | 'goal';
2081
+ color?: string;
2082
+ }
2083
+ /** Converts thresholds to Carbon Charts' axis `thresholds` option. */
2084
+ declare function toCarbonThresholds(thresholds: readonly NgccChartThreshold[]): {
2085
+ value: number;
2086
+ label: string;
2087
+ fillColor: string;
2088
+ }[];
2089
+ type NgccChartSort = 'none' | 'asc' | 'desc';
2090
+ /** Sorts rows by their `value` and keeps the first `limit`, for top-N charts. */
2091
+ declare function rankChartData(rows: readonly Record<string, unknown>[], sort: NgccChartSort, limit?: number | null): Record<string, unknown>[];
2092
+ /**
2093
+ * Builds Carbon's `comboChartTypes` from series names: which groups draw as bars and which as
2094
+ * lines. Example: `ngccComboChartTypes({ bars: ['Revenue'], lines: ['Capacity'] })`.
2095
+ */
2096
+ declare function ngccComboChartTypes(series: {
2097
+ bars: readonly string[];
2098
+ lines: readonly string[];
2099
+ }): ComboChartOptions['comboChartTypes'];
1675
2100
 
1676
2101
  declare class NgccCharts<T extends NgccChartType = 'bar'> extends NgccBaseChart<NgccChartOptions<T>> implements OnChanges {
1677
2102
  type: T;
2103
+ /**
2104
+ * Reference lines on the value axis: limits (capacity, quota) and goals. Applies to bar, line,
2105
+ * area and combo charts; for `horizontalBar` the line is vertical.
2106
+ */
2107
+ thresholds: readonly NgccChartThreshold[];
2108
+ /** Sort rows by `value` before drawing (top-N / ranked charts). Default: keep input order. */
2109
+ sort: NgccChartSort;
2110
+ /** Keep only the first N rows after sorting. */
2111
+ limit: number | null;
1678
2112
  private readonly _type;
2113
+ private readonly _thresholds;
2114
+ private readonly _sort;
2115
+ private readonly _limit;
1679
2116
  ngOnChanges(changes: SimpleChanges): void;
2117
+ /** The rows actually drawn: input data, ranked when `sort` / `limit` are set. */
2118
+ protected preparedData(): Record<string, unknown>[];
1680
2119
  constructor();
1681
2120
  protected initChart(el: HTMLElement): void;
1682
2121
  private getMergedOptions;
2122
+ /**
2123
+ * Ranked list: categories on the left (first row on top), values along the bottom. Data is
2124
+ * `{ group, value }`.
2125
+ * Unlike the other axis charts, user `axes` are merged per axis rather than replacing ours.
2126
+ */
2127
+ private horizontalBarOptions;
2128
+ /** Category labels in the order they should read from the top: the order of the (ranked) rows. */
2129
+ private groupsTopDown;
2130
+ /**
2131
+ * Heat map. Data is `{ x, y, value }`: x along the bottom, y up the side, `value` as the color.
2132
+ * Carbon draws a color legend; the legend title defaults to "Value".
2133
+ */
2134
+ private heatmapOptions;
2135
+ /** Adds the `thresholds` input to the value axis, after any thresholds the options define. */
2136
+ private withThresholds;
2137
+ /**
2138
+ * Combo charts need to know which series are bars and which are lines. Without
2139
+ * `comboChartTypes` in the options, the first series draws as bars and the rest as lines.
2140
+ */
2141
+ private defaultComboTypes;
1683
2142
  getType(): T;
1684
2143
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccCharts<any>, never>;
1685
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccCharts<any>, "ngcc-charts", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
2144
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccCharts<any>, "ngcc-charts", never, { "type": { "alias": "type"; "required": false; }; "thresholds": { "alias": "thresholds"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; }, {}, never, never, true, never>;
2145
+ }
2146
+
2147
+ /**
2148
+ * The loading and empty placeholder shared by every chart panel, so they look and announce the
2149
+ * same: the library skeleton while loading, a "no data" message (same height, so the layout does
2150
+ * not jump) when there is nothing to draw. Renders nothing when neither applies.
2151
+ *
2152
+ * Use it for your own chart wrappers too:
2153
+ * `<ngcc-chart-state [loading]="loading" [empty]="!rows.length" height="300px" />`
2154
+ */
2155
+ declare class NgccChartState {
2156
+ readonly loading: _angular_core.InputSignal<boolean>;
2157
+ readonly empty: _angular_core.InputSignal<boolean>;
2158
+ readonly message: _angular_core.InputSignal<string>;
2159
+ readonly height: _angular_core.InputSignal<string>;
2160
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccChartState, never>;
2161
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccChartState, "ngcc-chart-state", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "empty": { "alias": "empty"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1686
2162
  }
1687
2163
 
1688
2164
  declare class NgccGaugeChart extends NgccBaseChart<GaugeChartOptions> {
@@ -2002,6 +2478,35 @@ declare class ToastService {
2002
2478
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<ToastService>;
2003
2479
  }
2004
2480
 
2481
+ type NgccTagType = 'red' | 'magenta' | 'purple' | 'blue' | 'cyan' | 'teal' | 'green' | 'gray' | 'cool-gray' | 'warm-gray' | 'high-contrast' | 'outline';
2482
+ type NgccTagSize = 'sm' | 'md' | 'lg';
2483
+ /** Convenience map for status badges: `<ngcc-tag [type]="NGCC_STATUS_TAG.running">`. */
2484
+ declare const NGCC_STATUS_TAG: {
2485
+ readonly running: "green";
2486
+ readonly success: "green";
2487
+ readonly pending: "blue";
2488
+ readonly warning: "purple";
2489
+ readonly error: "red";
2490
+ readonly stopped: "gray";
2491
+ readonly unknown: "cool-gray";
2492
+ };
2493
+ /**
2494
+ * Tag / status badge. `dot` adds a leading status dot (status-badge look).
2495
+ * `dismissible` shows a close button and emits `dismissed`.
2496
+ */
2497
+ declare class NgccTag {
2498
+ readonly type: _angular_core.InputSignal<NgccTagType>;
2499
+ readonly size: _angular_core.InputSignal<NgccTagSize>;
2500
+ readonly dot: _angular_core.InputSignal<boolean>;
2501
+ readonly dismissible: _angular_core.InputSignal<boolean>;
2502
+ readonly disabled: _angular_core.InputSignal<boolean>;
2503
+ readonly dismissLabel: _angular_core.InputSignal<string>;
2504
+ readonly dismissed: _angular_core.OutputEmitterRef<void>;
2505
+ protected readonly classes: _angular_core.Signal<string>;
2506
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTag, never>;
2507
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTag, "ngcc-tag", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "dismissLabel": { "alias": "dismissLabel"; "required": false; "isSignal": true; }; }, { "dismissed": "dismissed"; }, never, ["*"], true, never>;
2508
+ }
2509
+
2005
2510
  type SortDirection = 'asc' | 'desc';
2006
2511
  interface NgccTableColumn<_T = unknown> {
2007
2512
  key: string;
@@ -2009,17 +2514,36 @@ interface NgccTableColumn<_T = unknown> {
2009
2514
  sortable?: boolean;
2010
2515
  width?: string | number;
2011
2516
  align?: 'start' | 'center' | 'end';
2517
+ /**
2518
+ * `status` renders the value as a status tag (dot + text, so color is never the only signal).
2519
+ * Default `text`.
2520
+ */
2521
+ cell?: 'text' | 'status';
2522
+ /** For `cell: 'status'`: value -> tag color. Unmapped values use the built-in status names
2523
+ * (running, success, pending, warning, error, stopped) and fall back to gray. */
2524
+ statusMap?: Record<string, NgccTagType>;
2012
2525
  }
2013
2526
  interface NgccTableConfig {
2014
2527
  pagination?: boolean;
2015
2528
  pageSize?: number;
2016
2529
  rowSelection?: 'single' | 'multiple' | 'none';
2530
+ /** Set to `false` to hide the expand column even when an expanded-row template is provided. */
2531
+ expandable?: boolean;
2017
2532
  search?: {
2018
2533
  enabled?: boolean;
2019
2534
  mode?: 'static' | 'dynamic';
2020
2535
  };
2021
2536
  }
2022
2537
 
2538
+ /**
2539
+ * Marks the template shown under an expanded row:
2540
+ * `<ng-template ngccTableExpandedRow let-row let-index="index">...</ng-template>`
2541
+ */
2542
+ declare class NgccTableExpandedRowDirective {
2543
+ readonly template: TemplateRef<unknown>;
2544
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTableExpandedRowDirective, never>;
2545
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgccTableExpandedRowDirective, "ng-template[ngccTableExpandedRow]", never, {}, {}, never, never, true, never>;
2546
+ }
2023
2547
  declare class NgccTable<T = unknown> implements OnInit, OnChanges {
2024
2548
  private readonly searchService;
2025
2549
  columns: NgccTableColumn<T>[];
@@ -2040,6 +2564,14 @@ declare class NgccTable<T = unknown> implements OnInit, OnChanges {
2040
2564
  } | null>;
2041
2565
  rowSelect: EventEmitter<T[]>;
2042
2566
  searchChange: EventEmitter<string>;
2567
+ /** Emits when a row is expanded or collapsed. */
2568
+ rowExpand: EventEmitter<{
2569
+ row: T;
2570
+ expanded: boolean;
2571
+ }>;
2572
+ /** Template for the content under an expanded row. Its presence turns on the expand column. */
2573
+ protected readonly expandedTemplate: _angular_core.Signal<NgccTableExpandedRowDirective | undefined>;
2574
+ protected readonly expanded: _angular_core.WritableSignal<Set<number>>;
2043
2575
  private readonly _sortState;
2044
2576
  private readonly _columns;
2045
2577
  private readonly _rows;
@@ -2066,8 +2598,19 @@ declare class NgccTable<T = unknown> implements OnInit, OnChanges {
2066
2598
  protected readonly totalPages: _angular_core.Signal<number>;
2067
2599
  constructor();
2068
2600
  ngOnInit(): void;
2069
- protected isSelected(indexOnPage: number): boolean;
2070
- protected toggleRowSelect(absIndex: number, _row: T): void;
2601
+ /** Position of a row in the original `rows` input (selection and expansion key on this). */
2602
+ private readonly rowIndexMap;
2603
+ protected absIndex(row: T): number;
2604
+ protected isSelected(row: T): boolean;
2605
+ protected isExpandable(): boolean;
2606
+ protected isExpanded(row: T): boolean;
2607
+ protected toggleExpand(row: T): void;
2608
+ /** Columns the body spans: data + selection + expand. */
2609
+ protected columnCount(): number;
2610
+ protected statusType(col: NgccTableColumn<T>, value: unknown): NgccTagType;
2611
+ /** A click on the row selects it, unless it landed on a control inside the row. */
2612
+ protected onRowClick(event: Event, row: T): void;
2613
+ protected toggleRowSelect(row: T): void;
2071
2614
  protected isAllSelected(): boolean;
2072
2615
  protected toggleAllRowsSelected(): void;
2073
2616
  protected readonly isIndeterminate: _angular_core.Signal<boolean>;
@@ -2085,7 +2628,7 @@ declare class NgccTable<T = unknown> implements OnInit, OnChanges {
2085
2628
  width?: number | string;
2086
2629
  }): string | null;
2087
2630
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTable<any>, never>;
2088
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTable<any>, "ngcc-table", never, { "columns": { "alias": "columns"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "config": { "alias": "config"; "required": false; }; "sortState": { "alias": "sortState"; "required": false; }; }, { "sortStateChange": "sortStateChange"; "rowSelect": "rowSelect"; "searchChange": "searchChange"; }, never, ["ngcc-table-toolbar"], true, never>;
2631
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTable<any>, "ngcc-table", never, { "columns": { "alias": "columns"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "config": { "alias": "config"; "required": false; }; "sortState": { "alias": "sortState"; "required": false; }; }, { "sortStateChange": "sortStateChange"; "rowSelect": "rowSelect"; "searchChange": "searchChange"; "rowExpand": "rowExpand"; }, ["expandedTemplate"], ["ngcc-table-toolbar"], true, never>;
2089
2632
  }
2090
2633
 
2091
2634
  declare class NgccTableToolbar implements OnChanges {
@@ -2200,31 +2743,135 @@ declare class NgccPagination implements OnChanges {
2200
2743
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccPagination, "ngcc-pagination", never, { "page": { "alias": "page"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "loopNavigation": { "alias": "loopNavigation"; "required": false; }; }, { "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; }, never, never, true, never>;
2201
2744
  }
2202
2745
 
2746
+ type NgccColorThemeTab = 'colors' | 'brand' | 'a11y' | 'output';
2203
2747
  declare class NgccColorThemeSwitcher {
2204
2748
  private readonly colorService;
2205
2749
  /** Optional default brand color provided by the consumer */
2206
2750
  readonly defaultColor: _angular_core.InputSignal<string | undefined>;
2751
+ /** Quick-pick brand colors. Pass an empty array to hide. */
2752
+ readonly presets: _angular_core.InputSignal<readonly NgccBrandPreset[]>;
2753
+ /** Show the WCAG compliance panel */
2754
+ readonly showAccessibility: _angular_core.InputSignal<boolean>;
2755
+ /** Show the applied-token preview and copy/import/export tools */
2756
+ readonly showAdvanced: _angular_core.InputSignal<boolean>;
2757
+ /** Show the editor for the active base theme's colors (background, layers, text, borders) */
2758
+ readonly showThemeColors: _angular_core.InputSignal<boolean>;
2207
2759
  constructor();
2208
- /** Signals for reactive template binding */
2209
- protected readonly brandColor: _angular_core.Signal<string>;
2210
- protected readonly baseTheme: _angular_core.Signal<_assistanz_carbideui.CarbonThemeName>;
2211
- /** Derived palette colors for preview */
2760
+ protected readonly brandColor: _angular_core.WritableSignal<string>;
2761
+ protected readonly baseTheme: _angular_core.Signal<CarbonThemeName>;
2762
+ protected readonly wcag: _angular_core.WritableSignal<_assistanz_carbideui.NgccWCAGConfig>;
2763
+ protected readonly report: _angular_core.WritableSignal<_assistanz_carbideui.NgccThemeAccessibilityReport | null>;
2212
2764
  protected readonly primaryColor: _angular_core.Signal<string>;
2213
2765
  protected readonly secondaryColor: _angular_core.Signal<string>;
2214
2766
  protected readonly dangerColor: _angular_core.Signal<string>;
2215
2767
  protected readonly successColor: _angular_core.Signal<string>;
2216
- protected readonly warningccolor: _angular_core.Signal<string>;
2768
+ protected readonly warningColor: _angular_core.Signal<string>;
2217
2769
  protected readonly infoColor: _angular_core.Signal<string>;
2218
- /** Base Carbon themes */
2219
- protected readonly themes: _angular_core.WritableSignal<readonly ["white", "g10", "g90", "g100"]>;
2220
- /** Update handlers */
2221
- protected onBrandColorChange(value: string): void;
2222
- protected onBaseThemeChange(theme: 'white' | 'g10' | 'g90' | 'g100'): void;
2770
+ protected readonly themes: readonly CarbonThemeName[];
2771
+ /** Built-in color themes offered as one-click starting points. */
2772
+ protected readonly colorPresets: readonly NgccColorThemePreset[];
2773
+ protected readonly activePreset: _angular_core.WritableSignal<string>;
2774
+ protected readonly brandTokens: readonly string[];
2775
+ /** Search over color names, descriptions and CSS token names. */
2776
+ protected readonly filter: _angular_core.WritableSignal<string>;
2777
+ protected readonly tab: _angular_core.WritableSignal<NgccColorThemeTab>;
2778
+ protected readonly tabs: _angular_core.Signal<{
2779
+ id: NgccColorThemeTab;
2780
+ label: string;
2781
+ show: boolean;
2782
+ }[]>;
2783
+ /** The chosen tab, or the first one still shown if it was switched off. */
2784
+ protected readonly activeTab: _angular_core.Signal<NgccColorThemeTab>;
2785
+ /** Every customizable color of the active base theme, with whether it has been changed. */
2786
+ private readonly allRows;
2787
+ /** Categories with their rows, narrowed by the search box. Empty categories are dropped. */
2788
+ protected readonly categories: _angular_core.Signal<{
2789
+ rows: {
2790
+ value: string;
2791
+ overridden: boolean;
2792
+ key: NgccThemeColorToken;
2793
+ label: string;
2794
+ description: string;
2795
+ category: _assistanz_carbideui.NgccThemeColorCategoryId;
2796
+ derived: boolean;
2797
+ cssVars: readonly string[];
2798
+ }[];
2799
+ modified: number;
2800
+ id: _assistanz_carbideui.NgccThemeColorCategoryId;
2801
+ label: string;
2802
+ description: string;
2803
+ }[]>;
2804
+ protected readonly nothingMatches: _angular_core.Signal<boolean>;
2805
+ protected readonly modifiedCount: _angular_core.Signal<number>;
2806
+ protected readonly themeHasOverrides: _angular_core.Signal<boolean>;
2807
+ /** The color being edited on the right. Falls back to the first listed color. */
2808
+ protected readonly selectedKey: _angular_core.WritableSignal<NgccThemeColorToken | null>;
2809
+ protected readonly selectedRow: _angular_core.Signal<{
2810
+ value: string;
2811
+ overridden: boolean;
2812
+ key: NgccThemeColorToken;
2813
+ label: string;
2814
+ description: string;
2815
+ category: _assistanz_carbideui.NgccThemeColorCategoryId;
2816
+ derived: boolean;
2817
+ cssVars: readonly string[];
2818
+ }>;
2819
+ /** A paste-ready override for the selected color (static colors only). */
2820
+ protected readonly selectedSnippet: _angular_core.Signal<string>;
2821
+ /** Arrow keys move between tabs (roving tabindex). */
2822
+ protected onTabKeydown(event: KeyboardEvent): void;
2823
+ /** Text field draft; follows the real brand color whenever it changes elsewhere. */
2824
+ protected readonly hexDraft: _angular_core.WritableSignal<string>;
2825
+ protected readonly hexInvalid: _angular_core.Signal<boolean>;
2826
+ protected readonly errorCount: _angular_core.Signal<number>;
2827
+ protected readonly warningCount: _angular_core.Signal<number>;
2828
+ /** Screen-reader announcement for the last action */
2829
+ protected readonly announcement: _angular_core.WritableSignal<string>;
2830
+ protected readonly transferText: _angular_core.WritableSignal<string>;
2831
+ protected readonly transferError: _angular_core.WritableSignal<boolean>;
2832
+ protected onPickerInput(value: string): void;
2833
+ protected onHexInput(value: string): void;
2834
+ protected selectPreset(preset: NgccBrandPreset): void;
2835
+ protected isActivePreset(preset: NgccBrandPreset): boolean;
2836
+ protected onBaseThemeChange(theme: CarbonThemeName): void;
2837
+ /** Live while dragging the picker. */
2838
+ protected onThemeColorInput(token: NgccThemeColorToken, value: string): void;
2839
+ /** Typed hex applies on commit (blur/Enter); an invalid value is reverted. */
2840
+ protected onThemeColorCommit(token: NgccThemeColorToken, event: Event): void;
2841
+ protected resetThemeColor(token: NgccThemeColorToken): void;
2842
+ protected resetThemeColors(): void;
2843
+ protected onWcagLevelChange(level: string): void;
2844
+ protected onAutoAdjustChange(enabled: boolean): void;
2223
2845
  protected resetOverrides(): void;
2846
+ protected applyColorPreset(preset: NgccColorThemePreset): void;
2847
+ protected copyToken(name: string): Promise<void>;
2848
+ protected copySnippet(): Promise<void>;
2849
+ protected copyCss(): Promise<void>;
2850
+ protected copyConfig(): Promise<void>;
2851
+ protected applyConfig(): void;
2852
+ private copy;
2853
+ private announce;
2224
2854
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccColorThemeSwitcher, never>;
2225
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccColorThemeSwitcher, "ngcc-color-theme-switcher", never, { "defaultColor": { "alias": "defaultColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2855
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccColorThemeSwitcher, "ngcc-color-theme-switcher", never, { "defaultColor": { "alias": "defaultColor"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "showAccessibility": { "alias": "showAccessibility"; "required": false; "isSignal": true; }; "showAdvanced": { "alias": "showAdvanced"; "required": false; "isSignal": true; }; "showThemeColors": { "alias": "showThemeColors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2226
2856
  }
2227
2857
 
2858
+ /**
2859
+ * Configure theming app-wide, in `app.config.ts`:
2860
+ * `providers: [provideNgccTheme({ defaultTheme: 'g10', defaultCornerStyle: 'rounded' })]`
2861
+ *
2862
+ * The theme is applied at app start-up. You don't need a switcher on the page, nothing has to
2863
+ * inject the service first.
2864
+ */
2865
+ declare function provideNgccTheme(config?: Partial<NgccThemeConfig>): EnvironmentProviders;
2866
+ /**
2867
+ * Choose the app's color theme, in `app.config.ts`:
2868
+ * `providers: [provideNgccColorTheme({ defaultPreset: 'ocean' })]`
2869
+ *
2870
+ * Applied at app start-up. A user's saved customization still wins, and "Reset to Defaults"
2871
+ * returns to this preset.
2872
+ */
2873
+ declare function provideNgccColorTheme(options?: NgccColorThemeOptions): EnvironmentProviders;
2874
+
2228
2875
  /**
2229
2876
  * Signals-based, SSR-safe i18n service for Angular applications.
2230
2877
  * Provides translation functionality with lazy loading, caching, fallback language support,
@@ -3126,6 +3773,12 @@ declare class NgccTile {
3126
3773
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTile, "ngcc-tile", never, { "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "light": { "alias": "light"; "required": false; "isSignal": true; }; }, { "activated": "activated"; }, never, ["[ngccTileHeader]", "[ngccTileAction]", "*", "[ngccTileFooter]"], true, never>;
3127
3774
  }
3128
3775
 
3776
+ type NgccSparklineType = 'line' | 'area' | 'bar';
3777
+ type NgccSparklineStatus = 'none' | 'success' | 'warning' | 'error' | 'info';
3778
+ /** Whether a rising series is good (revenue), bad (cost, errors) or has no judgement. */
3779
+ type NgccSparklineSentiment = 'positive-up' | 'positive-down' | 'neutral';
3780
+ type NgccSparklineTrend = 'up' | 'down' | 'flat';
3781
+
3129
3782
  type NgccStatTrend = 'up' | 'down' | 'flat';
3130
3783
  type NgccStatStatus = 'none' | 'success' | 'warning' | 'error' | 'info';
3131
3784
  /** Whether a rising value is good (revenue) or bad (cost, errors). */
@@ -3144,42 +3797,302 @@ declare class NgccStatTile {
3144
3797
  readonly trend: _angular_core.InputSignal<NgccStatTrend | undefined>;
3145
3798
  readonly trendSentiment: _angular_core.InputSignal<NgccStatTrendSentiment>;
3146
3799
  readonly status: _angular_core.InputSignal<NgccStatStatus>;
3800
+ /** A short series (oldest first) drawn under the value as a trend. */
3801
+ readonly sparkline: _angular_core.InputSignal<readonly number[]>;
3802
+ readonly sparklineType: _angular_core.InputSignal<NgccSparklineType>;
3803
+ /** Overrides the generated text alternative (e.g. "Last 12 months, revenue"). */
3804
+ readonly sparklineLabel: _angular_core.InputSignal<string>;
3805
+ readonly sparklineWidth: _angular_core.InputSignal<number>;
3806
+ readonly sparklineHeight: _angular_core.InputSignal<number>;
3807
+ protected readonly hasSparkline: _angular_core.Signal<boolean>;
3147
3808
  protected readonly hasDelta: _angular_core.Signal<boolean>;
3148
3809
  protected readonly resolvedTrend: _angular_core.Signal<NgccStatTrend>;
3149
3810
  protected readonly accentColor: _angular_core.Signal<string | null>;
3150
3811
  protected readonly deltaColor: _angular_core.Signal<"var(--cds-support-success)" | "var(--cds-support-error)" | null>;
3151
3812
  protected readonly deltaAriaLabel: _angular_core.Signal<string>;
3152
3813
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccStatTile, never>;
3153
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccStatTile, "ngcc-stat-tile", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "delta": { "alias": "delta"; "required": false; "isSignal": true; }; "deltaCaption": { "alias": "deltaCaption"; "required": false; "isSignal": true; }; "trend": { "alias": "trend"; "required": false; "isSignal": true; }; "trendSentiment": { "alias": "trendSentiment"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3814
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccStatTile, "ngcc-stat-tile", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "delta": { "alias": "delta"; "required": false; "isSignal": true; }; "deltaCaption": { "alias": "deltaCaption"; "required": false; "isSignal": true; }; "trend": { "alias": "trend"; "required": false; "isSignal": true; }; "trendSentiment": { "alias": "trendSentiment"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "sparkline": { "alias": "sparkline"; "required": false; "isSignal": true; }; "sparklineType": { "alias": "sparklineType"; "required": false; "isSignal": true; }; "sparklineLabel": { "alias": "sparklineLabel"; "required": false; "isSignal": true; }; "sparklineWidth": { "alias": "sparklineWidth"; "required": false; "isSignal": true; }; "sparklineHeight": { "alias": "sparklineHeight"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3154
3815
  }
3155
3816
 
3156
- type NgccTagType = 'red' | 'magenta' | 'purple' | 'blue' | 'cyan' | 'teal' | 'green' | 'gray' | 'cool-gray' | 'warm-gray' | 'high-contrast' | 'outline';
3157
- type NgccTagSize = 'sm' | 'md' | 'lg';
3158
- /** Convenience map for status badges: `<ngcc-tag [type]="NGCC_STATUS_TAG.running">`. */
3159
- declare const NGCC_STATUS_TAG: {
3160
- readonly running: "green";
3161
- readonly success: "green";
3162
- readonly pending: "blue";
3163
- readonly warning: "purple";
3164
- readonly error: "red";
3165
- readonly stopped: "gray";
3166
- readonly unknown: "cool-gray";
3167
- };
3817
+ interface NgccSparklineBar {
3818
+ x: number;
3819
+ y: number;
3820
+ width: number;
3821
+ height: number;
3822
+ }
3168
3823
  /**
3169
- * Tag / status badge. `dot` adds a leading status dot (status-badge look).
3170
- * `dismissible` shows a close button and emits `dismissed`.
3824
+ * A tiny trend graphic for KPI tiles and table rows. Pure SVG (no chart library), so dozens can
3825
+ * sit on one dashboard cheaply. It has a text alternative generated from the data, a loading
3826
+ * skeleton, and an explicit "no data" state.
3827
+ *
3828
+ * Color: `color` wins, then `status`, then `sentiment` (up/down from the first to the last
3829
+ * value), then the theme's interactive color, so it follows any color theme.
3171
3830
  */
3172
- declare class NgccTag {
3173
- readonly type: _angular_core.InputSignal<NgccTagType>;
3174
- readonly size: _angular_core.InputSignal<NgccTagSize>;
3175
- readonly dot: _angular_core.InputSignal<boolean>;
3176
- readonly dismissible: _angular_core.InputSignal<boolean>;
3177
- readonly disabled: _angular_core.InputSignal<boolean>;
3178
- readonly dismissLabel: _angular_core.InputSignal<string>;
3179
- readonly dismissed: _angular_core.OutputEmitterRef<void>;
3180
- protected readonly classes: _angular_core.Signal<string>;
3181
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccTag, never>;
3182
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccTag, "ngcc-tag", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "dismissLabel": { "alias": "dismissLabel"; "required": false; "isSignal": true; }; }, { "dismissed": "dismissed"; }, never, ["*"], true, never>;
3831
+ declare class NgccSparkline {
3832
+ /** The series, oldest first. Non-finite values are ignored. */
3833
+ readonly data: _angular_core.InputSignal<readonly number[]>;
3834
+ readonly type: _angular_core.InputSignal<NgccSparklineType>;
3835
+ /** Drawing width in px; the graphic shrinks to fit narrower containers. */
3836
+ readonly width: _angular_core.InputSignal<number>;
3837
+ readonly height: _angular_core.InputSignal<number>;
3838
+ /** Fix the scale (e.g. 0–100 for percentages). Defaults to the data range. */
3839
+ readonly min: _angular_core.InputSignal<number | undefined>;
3840
+ readonly max: _angular_core.InputSignal<number | undefined>;
3841
+ readonly status: _angular_core.InputSignal<NgccSparklineStatus>;
3842
+ readonly sentiment: _angular_core.InputSignal<NgccSparklineSentiment>;
3843
+ /** Any CSS color; overrides status and sentiment. */
3844
+ readonly color: _angular_core.InputSignal<string>;
3845
+ /** Dot on the latest value (line and area). */
3846
+ readonly showLastPoint: _angular_core.InputSignal<boolean>;
3847
+ /** Accessible name. Defaults to a summary built from the data. */
3848
+ readonly label: _angular_core.InputSignal<string>;
3849
+ /** Hide from assistive technology, e.g. when the surrounding text already says it. */
3850
+ readonly decorative: _angular_core.InputSignal<boolean>;
3851
+ readonly loading: _angular_core.InputSignal<boolean>;
3852
+ readonly emptyLabel: _angular_core.InputSignal<string>;
3853
+ protected readonly values: _angular_core.Signal<number[]>;
3854
+ protected readonly isEmpty: _angular_core.Signal<boolean>;
3855
+ protected readonly trend: _angular_core.Signal<NgccSparklineTrend>;
3856
+ protected readonly resolvedColor: _angular_core.Signal<string>;
3857
+ private readonly domain;
3858
+ private y;
3859
+ private x;
3860
+ private readonly coords;
3861
+ private static round;
3862
+ protected readonly linePath: _angular_core.Signal<string>;
3863
+ protected readonly areaPath: _angular_core.Signal<string>;
3864
+ protected readonly lastPoint: _angular_core.Signal<{
3865
+ x: number;
3866
+ y: number;
3867
+ } | null>;
3868
+ protected readonly bars: _angular_core.Signal<NgccSparklineBar[]>;
3869
+ protected readonly baselineY: _angular_core.Signal<number>;
3870
+ /** Text alternative: the label, or a summary of the series. */
3871
+ protected readonly accessibleName: _angular_core.Signal<string>;
3872
+ protected readonly widthPx: _angular_core.Signal<string>;
3873
+ protected readonly heightPx: _angular_core.Signal<string>;
3874
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccSparkline, never>;
3875
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccSparkline, "ngcc-sparkline", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "sentiment": { "alias": "sentiment"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "showLastPoint": { "alias": "showLastPoint"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "decorative": { "alias": "decorative"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyLabel": { "alias": "emptyLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3876
+ }
3877
+
3878
+ /**
3879
+ * Page header: breadcrumbs, the page's one `<h1>`, a description and an action area.
3880
+ *
3881
+ * Slots (content projection):
3882
+ * - `[ngccPageActions]` — buttons on the right of the title (stack under it on narrow screens)
3883
+ * - `[ngccPageMeta]` — extra line under the description (status tag, last updated…)
3884
+ * - `[ngccPageTabs]` — tabs along the bottom edge
3885
+ *
3886
+ * Every module page should render exactly one of these, so each page has one heading and a
3887
+ * consistent place for its primary action.
3888
+ */
3889
+ declare class NgccPageHeader {
3890
+ readonly title: _angular_core.InputSignal<string>;
3891
+ readonly description: _angular_core.InputSignal<string>;
3892
+ readonly breadcrumbs: _angular_core.InputSignal<NgccBreadcrumbItem[]>;
3893
+ readonly breadcrumbLabel: _angular_core.InputSignal<string>;
3894
+ /** Shows a skeleton in place of the title while it is being fetched. */
3895
+ readonly loading: _angular_core.InputSignal<boolean>;
3896
+ /** Set when you project `[ngccPageTabs]`, so the header drops its bottom padding. */
3897
+ readonly hasTabs: _angular_core.InputSignal<boolean>;
3898
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccPageHeader, never>;
3899
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccPageHeader, "ngcc-page-header", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "breadcrumbs": { "alias": "breadcrumbs"; "required": false; "isSignal": true; }; "breadcrumbLabel": { "alias": "breadcrumbLabel"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "hasTabs": { "alias": "hasTabs"; "required": false; "isSignal": true; }; }, {}, never, ["[ngccPageMeta]", "[ngccPageActions]", "[ngccPageTabs]"], true, never>;
3900
+ }
3901
+
3902
+ interface NgccStep {
3903
+ /** Stable id, used to track the step across re-renders. Defaults to the index. */
3904
+ id?: string;
3905
+ label: string;
3906
+ /** Small text under the label, e.g. "Optional". */
3907
+ secondaryLabel?: string;
3908
+ /** Marks the step as having an error; shown instead of "complete". */
3909
+ invalid?: boolean;
3910
+ disabled?: boolean;
3911
+ }
3912
+ type NgccStepState = 'complete' | 'current' | 'incomplete' | 'invalid';
3913
+
3914
+ interface NgccStepView {
3915
+ step: NgccStep;
3916
+ index: number;
3917
+ state: NgccStepState;
3918
+ reachable: boolean;
3919
+ stateLabel: string;
3920
+ key: string | number;
3921
+ }
3922
+ /**
3923
+ * Stepper / progress indicator for multi-step create flows.
3924
+ *
3925
+ * `current` is the zero-based index of the active step (two-way bindable). Steps before it are
3926
+ * complete, steps after it incomplete; a step marked `invalid` shows the error state. By default
3927
+ * (`linear`) only completed steps and the current one can be clicked; set `linear` to `false` to
3928
+ * allow jumping anywhere.
3929
+ *
3930
+ * An `invalid` step stays reachable even when it is behind the current one, so users can go back
3931
+ * and fix it. Each reachable step is a normal button in the tab order (no roving tabindex).
3932
+ *
3933
+ * Accessible: an ordered list in a labelled `nav`, `aria-current="step"` on the active step, and
3934
+ * each state is spelled out in hidden text (never color alone).
3935
+ */
3936
+ declare class NgccStepper {
3937
+ readonly steps: _angular_core.InputSignal<readonly NgccStep[]>;
3938
+ /** Zero-based index of the active step. */
3939
+ readonly current: _angular_core.ModelSignal<number>;
3940
+ readonly vertical: _angular_core.InputSignal<boolean>;
3941
+ /** Only completed steps and the current one are clickable. Turn off to allow any step. */
3942
+ readonly linear: _angular_core.InputSignal<boolean>;
3943
+ readonly ariaLabel: _angular_core.InputSignal<string>;
3944
+ /** Emits the step navigated to, whether by clicking it or through `next()` / `previous()`. */
3945
+ readonly stepChange: _angular_core.OutputEmitterRef<{
3946
+ index: number;
3947
+ step: NgccStep;
3948
+ }>;
3949
+ protected readonly views: _angular_core.Signal<NgccStepView[]>;
3950
+ /** 1-based "Step 2 of 4" text, handy for a live region or a mobile summary. */
3951
+ readonly summary: _angular_core.Signal<string>;
3952
+ protected go(view: NgccStepView): void;
3953
+ next(): void;
3954
+ previous(): void;
3955
+ private moveTo;
3956
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccStepper, never>;
3957
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccStepper, "ngcc-stepper", never, { "steps": { "alias": "steps"; "required": true; "isSignal": true; }; "current": { "alias": "current"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "current": "currentChange"; "stepChange": "stepChange"; }, never, never, true, never>;
3958
+ }
3959
+
3960
+ type NgccAvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3961
+ type NgccAvatarShape = 'circle' | 'square';
3962
+ /** Diameter in px for each size. */
3963
+ declare const NGCC_AVATAR_SIZES: Record<NgccAvatarSize, number>;
3964
+ /** "Ada Lovelace" -> "AL", "ada" -> "A", "" -> "". */
3965
+ declare function ngccInitials(name: string): string;
3966
+
3967
+ /**
3968
+ * User or client avatar: a photo when `src` loads, otherwise initials on a color that is stable
3969
+ * for that name, otherwise a person icon.
3970
+ *
3971
+ * Accessible name is the `name`. Set `decorative` when the name is printed next to it.
3972
+ */
3973
+ declare class NgccAvatar {
3974
+ readonly name: _angular_core.InputSignal<string>;
3975
+ readonly src: _angular_core.InputSignal<string>;
3976
+ readonly size: _angular_core.InputSignal<NgccAvatarSize>;
3977
+ readonly shape: _angular_core.InputSignal<NgccAvatarShape>;
3978
+ /** Hide from assistive technology, e.g. when the name is shown beside the avatar. */
3979
+ readonly decorative: _angular_core.InputSignal<boolean>;
3980
+ protected readonly failed: _angular_core.WritableSignal<boolean>;
3981
+ protected readonly px: _angular_core.Signal<number>;
3982
+ protected readonly fontPx: _angular_core.Signal<number>;
3983
+ protected readonly iconSize: _angular_core.Signal<"sm" | "lg">;
3984
+ protected readonly initials: _angular_core.Signal<string>;
3985
+ protected readonly showImage: _angular_core.Signal<boolean>;
3986
+ protected readonly background: _angular_core.Signal<"#8a3ffc" | "#6929c4" | "#9f1853" | "#005d5d" | "#0043ce" | "#00539a" | "#0e6027" | "#a2191f" | "var(--cds-icon-secondary, #525252)">;
3987
+ protected readonly accessibleName: _angular_core.Signal<string>;
3988
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccAvatar, never>;
3989
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccAvatar, "ngcc-avatar", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "decorative": { "alias": "decorative"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3990
+ }
3991
+
3992
+ type NgccPopoverPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
3993
+ /** `click` toggles on click; `hover` opens on hover and keyboard focus. */
3994
+ type NgccPopoverTrigger = 'click' | 'hover';
3995
+
3996
+ /**
3997
+ * Non-modal popover for detail panels: anchored to a trigger, no backdrop, the page stays usable.
3998
+ *
3999
+ * ```html
4000
+ * <ngcc-popover label="Cluster details" placement="bottom-start">
4001
+ * <button ngccPopoverTrigger class="cds--btn cds--btn--ghost">Details</button>
4002
+ * <p>Region eu-west-1, 12 nodes</p>
4003
+ * </ngcc-popover>
4004
+ * ```
4005
+ *
4006
+ * The element marked `ngccPopoverTrigger` gets `aria-expanded`, `aria-controls` and
4007
+ * `aria-haspopup="dialog"`. Escape and a click outside close it (Escape returns focus to the
4008
+ * trigger). The content follows the trigger in tab order, so keyboard users reach it naturally.
4009
+ * With `trigger="hover"` it also opens on keyboard focus, and the content stays open while the
4010
+ * pointer is over it.
4011
+ */
4012
+ declare class NgccPopover {
4013
+ private readonly host;
4014
+ /** Two-way: whether the popover is showing. */
4015
+ readonly open: _angular_core.ModelSignal<boolean>;
4016
+ readonly placement: _angular_core.InputSignal<NgccPopoverPlacement>;
4017
+ readonly trigger: _angular_core.InputSignal<NgccPopoverTrigger>;
4018
+ /** Accessible name of the popover content (what it is about). */
4019
+ readonly label: _angular_core.InputSignal<string>;
4020
+ readonly caret: _angular_core.InputSignal<boolean>;
4021
+ readonly closeOnOutsideClick: _angular_core.InputSignal<boolean>;
4022
+ protected readonly contentId: string;
4023
+ protected readonly hostClasses: _angular_core.Signal<string>;
4024
+ constructor();
4025
+ private triggerEl;
4026
+ private fromTrigger;
4027
+ protected onHostClick(event: Event): void;
4028
+ protected onEnter(): void;
4029
+ protected onLeave(): void;
4030
+ protected onFocusIn(): void;
4031
+ protected onFocusOut(event: FocusEvent): void;
4032
+ protected onEscape(event: Event): void;
4033
+ protected onDocumentClick(event: Event): void;
4034
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccPopover, never>;
4035
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccPopover, "ngcc-popover", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "trigger": { "alias": "trigger"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "caret": { "alias": "caret"; "required": false; "isSignal": true; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; "isSignal": true; }; }, { "open": "openChange"; }, never, ["[ngccPopoverTrigger]", "*"], true, never>;
4036
+ }
4037
+
4038
+ /** Space between grid cells: condensed 0.5rem, default 1rem, wide 2rem. */
4039
+ type NgccGridGap = 'condensed' | 'default' | 'wide';
4040
+ declare const NGCC_GRID_GAPS: Record<NgccGridGap, string>;
4041
+
4042
+ /**
4043
+ * Page grid on Carbon's breakpoints: 4 columns below 672px, 8 up to 1055px, 12 above. Direct
4044
+ * children span the full row unless they carry `ngccGridSpan`.
4045
+ *
4046
+ * ```html
4047
+ * <ngcc-page-grid>
4048
+ * <ngcc-stat-tile ngccGridSpan [sm]="4" [md]="4" [lg]="3" .../>
4049
+ * <section ngccGridSpan [lg]="8">chart</section>
4050
+ * <aside ngccGridSpan [lg]="4">activity</aside>
4051
+ * </ngcc-page-grid>
4052
+ * ```
4053
+ */
4054
+ declare class NgccPageGrid {
4055
+ readonly gap: _angular_core.InputSignal<NgccGridGap>;
4056
+ protected readonly gapValue: _angular_core.Signal<string>;
4057
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccPageGrid, never>;
4058
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccPageGrid, "ngcc-page-grid", never, { "gap": { "alias": "gap"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
4059
+ }
4060
+ /**
4061
+ * How many columns an item spans at each breakpoint (4 / 8 / 12 column grid). Omitted
4062
+ * breakpoints span the full row. `start` pins the first column at the large breakpoint.
4063
+ */
4064
+ declare class NgccGridSpanDirective {
4065
+ readonly sm: _angular_core.InputSignal<number | undefined>;
4066
+ readonly md: _angular_core.InputSignal<number | undefined>;
4067
+ readonly lg: _angular_core.InputSignal<number | undefined>;
4068
+ /** 1-based column the item starts at on large screens. */
4069
+ readonly start: _angular_core.InputSignal<number | undefined>;
4070
+ protected cell(span: number | undefined, start?: number): string | null;
4071
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccGridSpanDirective, never>;
4072
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgccGridSpanDirective, "[ngccGridSpan]", never, { "sm": { "alias": "sm"; "required": false; "isSignal": true; }; "md": { "alias": "md"; "required": false; "isSignal": true; }; "lg": { "alias": "lg"; "required": false; "isSignal": true; }; "start": { "alias": "start"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
4073
+ }
4074
+
4075
+ /**
4076
+ * Responsive grid of panels (tiles, stat tiles, charts) that are as tall as the tallest panel in
4077
+ * their row. Columns wrap by themselves: each panel is at least `min` wide, and there are at most
4078
+ * `columns` per row.
4079
+ *
4080
+ * ```html
4081
+ * <ngcc-panel-grid [columns]="3" min="16rem">
4082
+ * <ngcc-tile>…</ngcc-tile>
4083
+ * <ngcc-stat-tile …/>
4084
+ * </ngcc-panel-grid>
4085
+ * ```
4086
+ */
4087
+ declare class NgccPanelGrid {
4088
+ /** Most panels per row. */
4089
+ readonly columns: _angular_core.InputSignal<number>;
4090
+ /** Narrowest a panel may get before it wraps to the next row. */
4091
+ readonly min: _angular_core.InputSignal<string>;
4092
+ readonly gap: _angular_core.InputSignal<NgccGridGap>;
4093
+ protected readonly gapValue: _angular_core.Signal<string>;
4094
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgccPanelGrid, never>;
4095
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccPanelGrid, "ngcc-panel-grid", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
3183
4096
  }
3184
4097
 
3185
4098
  type NgccProgressBarLevel = 'normal' | 'warning' | 'critical' | 'finished';
@@ -3444,5 +4357,5 @@ declare class NgccOverflowMenu {
3444
4357
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgccOverflowMenu, "ngcc-overflow-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "itemSelected": "itemSelected"; }, never, never, true, never>;
3445
4358
  }
3446
4359
 
3447
- export { HttpNgccI18nLoader, ICONS, NGCC_ACCORDION_ALIGN, NGCC_CONTENT_SWITCHER, NGCC_DEFAULT_DATE_PRESETS, NGCC_I18N_CONFIG, NGCC_RADIO_GROUP_TOKEN, NGCC_SIDE_NAV_CONTEXT, NGCC_STATUS_TAG, NgccAccordion, NgccAccordionItem, NgccActivityFeed, NgccBreadcrumbComponent, NgccBreadcrumbItemComponent, NgccButton, NgccCharts, NgccCheckbox, NgccCodeSnippetComponent, NgccColorThemeService, NgccColorThemeSwitcher, NgccContainedList, NgccContainedListActionDirective, NgccContainedListItem, NgccContainedListItemActionDirective, NgccContentSwitcher, NgccContentSwitcherOption, NgccDatePicker, NgccDatePickerCalendar, NgccDateRangePicker, NgccDropdown, NgccEmptyState, NgccFilterBar, NgccGaugeChart, NgccHamburger, NgccHeader, NgccHeaderAction, NgccHeaderGlobal, NgccHeaderItem, NgccHeaderMenu, NgccHeaderMenuItem, NgccHeaderName, NgccHeaderNavigation, NgccHeaderPanel, NgccI18nPipe, NgccI18nService, NgccIcon, NgccInput, NgccLink, NgccModal, NgccNotification, NgccNotificationContainer, NgccNotificationList, NgccOverflowMenu, NgccPagination, NgccProgressBar, NgccRadio, NgccRadioGroup, NgccSideNav, NgccSideNavDivider, NgccSideNavItem, NgccSideNavMenu, NgccSideNavMenuItem, NgccSideNavSection, NgccSkeleton, NgccStatTile, NgccStructuredList, NgccTab, NgccTabHeaders, NgccTable, NgccTableSearchDirective, NgccTableSearchService, NgccTableService, NgccTableSkeleton, NgccTableToolbar, NgccTabs, NgccTabsSkeleton, NgccTag, NgccTextAreaComponent, NgccTile, NgccToast, NgccToastContainer, NgccToggle, NgccTooltip, NotificationService, ToastService, WCAG_CONTRAST, adjustColorForContrast, checkContrast, createAccessibleColorPair, derivePaletteFromBrand, generateColorScale, generateInteractiveStates, getAccessibleTextColor, getAvailableThemes, getContrastRatio, getFocusIndicatorColor, getRelativeLuminance, getThemeBackground, getThemeSecondaryButtonBg, hexToHsl, hexToRgb, hslToHex, hslToRgb, initNgccTheme, isThemeDark, ngccResolveDatePreset, provideNgccI18n, rgbToHex, rgbToHsl, themeMetadata, validateColorToken };
3448
- export type { AccordionAlign, AccordionSize, CarbonThemeName, DropdownSize, NgccAccessibilityIssue, NgccAccessibleColorPair, NgccActivityFeedVariant, NgccActivityItem, NgccActivityStatus, NgccBreadcrumbItem, NgccBreadcrumbSize, NgccCalendarCell, NgccCodeSnippetType, NgccColorScale, NgccColorThemeConfig, NgccContainedListKind, NgccContainedListSize, NgccContentSwitcherContext, NgccContrastResult, NgccDateFormat, NgccDatePreset, NgccDateRange, NgccDerivedColorPalette, NgccDropdownItem, NgccEmptyStateSize, NgccFilterBarValue, NgccFilterField, NgccFilterOption, NgccHSL, NgccHeaderMenuTrigger, NgccHeaderNavItem, NgccI18nConfig, NgccI18nLoader, NgccIconNameType, NgccInputNumberSize, NgccInputSize, NgccInputType, NgccLinkAriaCurrent, NgccLinkSize, NgccLinkTarget, NgccNotificationConfig, NgccNotificationItem, NgccNotificationSeverity, NgccOverflowMenuItem, NgccOverflowMenuSize, NgccProgressBarLevel, NgccRGB, NgccRadioChange, NgccRadioGroupContext, NgccRadioLabelPlacement, NgccRadioOrientation, NgccSideNavContext, NgccSideNavVariant, NgccStatStatus, NgccStatTrend, NgccStatTrendSentiment, NgccStructuredListColumn, NgccStructuredListRow, NgccTableColumn, NgccTableConfig, NgccTagSize, NgccTagType, NgccTextAreaSize, NgccThemeAccessibilityReport, NgccThemeMetadata, NgccToastConfig, NgccToggleSize, NgccTokenValidationResult, NgccWCAGConfig, NotificationType, SortDirection, TextSize, ToastType, WCAGLevel };
4360
+ export { HttpNgccI18nLoader, ICONS, NGCC_ACCORDION_ALIGN, NGCC_AVATAR_SIZES, NGCC_BRAND_PRESETS, NGCC_BRAND_TOKEN_NAMES, NGCC_BUTTON_ALIGNS, NGCC_BUTTON_ALIGN_OPTIONS, NGCC_COLOR_THEME_OPTIONS, NGCC_COLOR_THEME_PRESETS, NGCC_CONTENT_SWITCHER, NGCC_CORNER_STYLES, NGCC_CORNER_STYLE_OPTIONS, NGCC_DEFAULT_DATE_PRESETS, NGCC_GRID_GAPS, NGCC_I18N_CONFIG, NGCC_RADIO_GROUP_TOKEN, NGCC_SIDE_NAV_CONTEXT, NGCC_STATIC_THEME_COLOR_TOKENS, NGCC_STATUS_TAG, NGCC_THEME_COLOR_CATEGORIES, NGCC_THEME_COLOR_TOKENS, NGCC_THEME_CONFIG, NGCC_THEME_DEFAULTS, NGCC_THEME_NAMES, NGCC_THEME_OPTIONS, NgccAccordion, NgccAccordionItem, NgccActivityFeed, NgccAvatar, NgccBreadcrumbComponent, NgccBreadcrumbItemComponent, NgccButton, NgccChartState, NgccCharts, NgccCheckbox, NgccCodeSnippetComponent, NgccColorThemeService, NgccColorThemeSwitcher, NgccContainedList, NgccContainedListActionDirective, NgccContainedListItem, NgccContainedListItemActionDirective, NgccContentSwitcher, NgccContentSwitcherOption, NgccDatePicker, NgccDatePickerCalendar, NgccDateRangePicker, NgccDropdown, NgccEmptyState, NgccFilterBar, NgccGaugeChart, NgccGridSpanDirective, NgccHamburger, NgccHeader, NgccHeaderAction, NgccHeaderGlobal, NgccHeaderItem, NgccHeaderMenu, NgccHeaderMenuItem, NgccHeaderName, NgccHeaderNavigation, NgccHeaderPanel, NgccI18nPipe, NgccI18nService, NgccIcon, NgccInput, NgccLink, NgccModal, NgccNotification, NgccNotificationContainer, NgccNotificationList, NgccOverflowMenu, NgccPageGrid, NgccPageHeader, NgccPagination, NgccPanelGrid, NgccPopover, NgccProgressBar, NgccRadio, NgccRadioGroup, NgccSideNav, NgccSideNavDivider, NgccSideNavItem, NgccSideNavMenu, NgccSideNavMenuItem, NgccSideNavSection, NgccSkeleton, NgccSparkline, NgccStatTile, NgccStepper, NgccStructuredList, NgccTab, NgccTabHeaders, NgccTable, NgccTableExpandedRowDirective, NgccTableSearchDirective, NgccTableSearchService, NgccTableService, NgccTableSkeleton, NgccTableToolbar, NgccTabs, NgccTabsSkeleton, NgccTag, NgccTextAreaComponent, NgccThemeService, NgccThemeSwitcher, NgccTile, NgccToast, NgccToastContainer, NgccToggle, NgccTooltip, NotificationService, ToastService, WCAG_CONTRAST, adjustColorForContrast, auditNgccColorThemePreset, checkContrast, createAccessibleColorPair, derivePaletteFromBrand, generateColorScale, generateInteractiveStates, getAccessibleTextColor, getAvailableThemes, getContrastRatio, getFocusIndicatorColor, getRelativeLuminance, getThemeBackground, getThemeBaseColor, getThemeSecondaryButtonBg, hexToHsl, hexToRgb, hslToHex, hslToRgb, initNgccTheme, isCarbonThemeName, isDerivedThemeColorToken, isNgccButtonAlign, isNgccCornerStyle, isNgccThemeDark, isNgccThemeName, isThemeColorToken, isThemeDark, ngccComboChartTypes, ngccInitials, ngccResolveDatePreset, normalizeHexColor, provideNgccColorTheme, provideNgccI18n, provideNgccTheme, rankChartData, resolveNgccThemeName, rgbToHex, rgbToHsl, themeBaseColors, themeColorCssVars, themeMetadata, toCarbonThresholds, validateColorToken };
4361
+ export type { AccordionAlign, AccordionSize, BaseThemeNamesType, CarbonThemeName, DropdownSize, NgccAccessibilityIssue, NgccAccessibleColorPair, NgccActivityFeedVariant, NgccActivityItem, NgccActivityStatus, NgccAvatarShape, NgccAvatarSize, NgccBrandPreset, NgccBreadcrumbItem, NgccBreadcrumbSize, NgccButtonAlign, NgccButtonAlignOption, NgccCalendarCell, NgccCarbonThemeName, NgccChartOptionMap, NgccChartOptions, NgccChartSort, NgccChartThreshold, NgccChartType, NgccChartsArgs, NgccCodeSnippetType, NgccColorScale, NgccColorThemeConfig, NgccColorThemeOptions, NgccColorThemePreset, NgccColorThemeSnapshot, NgccContainedListKind, NgccContainedListSize, NgccContentSwitcherContext, NgccContrastResult, NgccCornerStyle, NgccCornerStyleOption, NgccDateFormat, NgccDatePreset, NgccDateRange, NgccDerivedColorPalette, NgccDerivedThemeColorToken, NgccDropdownItem, NgccEmptyStateSize, NgccFilterBarValue, NgccFilterField, NgccFilterOption, NgccGridGap, NgccHSL, NgccHeaderMenuTrigger, NgccHeaderNavItem, NgccI18nConfig, NgccI18nLoader, NgccIconNameType, NgccInputNumberSize, NgccInputSize, NgccInputType, NgccLegacyThemeName, NgccLinkAriaCurrent, NgccLinkSize, NgccLinkTarget, NgccNotificationConfig, NgccNotificationItem, NgccNotificationSeverity, NgccOverflowMenuItem, NgccOverflowMenuSize, NgccPopoverPlacement, NgccPopoverTrigger, NgccPresetAuditIssue, NgccProgressBarLevel, NgccRGB, NgccRadioChange, NgccRadioGroupContext, NgccRadioLabelPlacement, NgccRadioOrientation, NgccResolvedLegacyTheme, NgccSideNavContext, NgccSideNavVariant, NgccSparklineSentiment, NgccSparklineStatus, NgccSparklineTrend, NgccSparklineType, NgccStatStatus, NgccStatTrend, NgccStatTrendSentiment, NgccStaticThemeColorToken, NgccStep, NgccStepState, NgccStructuredListColumn, NgccStructuredListRow, NgccTableColumn, NgccTableConfig, NgccTagSize, NgccTagType, NgccTextAreaSize, NgccThemeAccessibilityReport, NgccThemeColorCategory, NgccThemeColorCategoryId, NgccThemeColorOverrides, NgccThemeColorToken, NgccThemeColorTokenDef, NgccThemeConfig, NgccThemeMetadata, NgccThemeOption, NgccThemeStorage, NgccToastConfig, NgccToggleSize, NgccTokenValidationResult, NgccWCAGConfig, NotificationType, SortDirection, TextSize, ToastType, WCAGLevel };