@rblabs-dev/axiom 1.2.1 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +39 -13
  2. package/app-shell/package.json +4 -0
  3. package/brand-lockup/package.json +4 -0
  4. package/central-sign-in/package.json +4 -0
  5. package/cli/build-brand-assets.mjs +12 -18
  6. package/cli/project.mjs +6 -0
  7. package/cli/verify-production-assets.mjs +71 -6
  8. package/confirm-dialog/package.json +4 -0
  9. package/core/package.json +4 -0
  10. package/empty-state/package.json +4 -0
  11. package/fesm2022/rblabs-dev-axiom-app-shell.mjs +375 -0
  12. package/fesm2022/rblabs-dev-axiom-app-shell.mjs.map +1 -0
  13. package/fesm2022/rblabs-dev-axiom-brand-lockup.mjs +154 -0
  14. package/fesm2022/rblabs-dev-axiom-brand-lockup.mjs.map +1 -0
  15. package/fesm2022/rblabs-dev-axiom-central-sign-in.mjs +375 -0
  16. package/fesm2022/rblabs-dev-axiom-central-sign-in.mjs.map +1 -0
  17. package/fesm2022/rblabs-dev-axiom-confirm-dialog.mjs +329 -0
  18. package/fesm2022/rblabs-dev-axiom-confirm-dialog.mjs.map +1 -0
  19. package/fesm2022/rblabs-dev-axiom-core.mjs +181 -0
  20. package/fesm2022/rblabs-dev-axiom-core.mjs.map +1 -0
  21. package/fesm2022/rblabs-dev-axiom-empty-state.mjs +252 -0
  22. package/fesm2022/rblabs-dev-axiom-empty-state.mjs.map +1 -0
  23. package/fesm2022/rblabs-dev-axiom-message.mjs +194 -0
  24. package/fesm2022/rblabs-dev-axiom-message.mjs.map +1 -0
  25. package/fesm2022/rblabs-dev-axiom-monogram.mjs +102 -0
  26. package/fesm2022/rblabs-dev-axiom-monogram.mjs.map +1 -0
  27. package/fesm2022/rblabs-dev-axiom-page-header.mjs +199 -0
  28. package/fesm2022/rblabs-dev-axiom-page-header.mjs.map +1 -0
  29. package/fesm2022/rblabs-dev-axiom-panel.mjs +207 -0
  30. package/fesm2022/rblabs-dev-axiom-panel.mjs.map +1 -0
  31. package/fesm2022/rblabs-dev-axiom-public-shell.mjs +165 -0
  32. package/fesm2022/rblabs-dev-axiom-public-shell.mjs.map +1 -0
  33. package/fesm2022/rblabs-dev-axiom-shell-footer.mjs +73 -0
  34. package/fesm2022/rblabs-dev-axiom-shell-footer.mjs.map +1 -0
  35. package/fesm2022/rblabs-dev-axiom-status-chip.mjs +161 -0
  36. package/fesm2022/rblabs-dev-axiom-status-chip.mjs.map +1 -0
  37. package/fesm2022/rblabs-dev-axiom-technical-value.mjs +173 -0
  38. package/fesm2022/rblabs-dev-axiom-technical-value.mjs.map +1 -0
  39. package/fesm2022/rblabs-dev-axiom-theme-toggle.mjs +117 -0
  40. package/fesm2022/rblabs-dev-axiom-theme-toggle.mjs.map +1 -0
  41. package/fesm2022/rblabs-dev-axiom.mjs +15 -2955
  42. package/fonts/LICENSE +93 -0
  43. package/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
  44. package/fonts/inter-latin-wght-normal.woff2 +0 -0
  45. package/message/package.json +4 -0
  46. package/monogram/package.json +4 -0
  47. package/package.json +77 -2
  48. package/page-header/package.json +4 -0
  49. package/panel/package.json +4 -0
  50. package/public-shell/package.json +4 -0
  51. package/shell-footer/package.json +4 -0
  52. package/status-chip/package.json +4 -0
  53. package/styles/_fonts.scss +7 -7
  54. package/styles/_index.scss +1 -1
  55. package/technical-value/package.json +4 -0
  56. package/theme-toggle/package.json +4 -0
  57. package/types/rblabs-dev-axiom-app-shell.d.ts +50 -0
  58. package/types/rblabs-dev-axiom-brand-lockup.d.ts +35 -0
  59. package/types/rblabs-dev-axiom-central-sign-in.d.ts +82 -0
  60. package/types/rblabs-dev-axiom-confirm-dialog.d.ts +76 -0
  61. package/types/rblabs-dev-axiom-core.d.ts +116 -0
  62. package/types/rblabs-dev-axiom-empty-state.d.ts +55 -0
  63. package/types/rblabs-dev-axiom-message.d.ts +48 -0
  64. package/types/rblabs-dev-axiom-monogram.d.ts +12 -0
  65. package/types/rblabs-dev-axiom-page-header.d.ts +44 -0
  66. package/types/rblabs-dev-axiom-panel.d.ts +44 -0
  67. package/types/rblabs-dev-axiom-public-shell.d.ts +28 -0
  68. package/types/rblabs-dev-axiom-shell-footer.d.ts +17 -0
  69. package/types/rblabs-dev-axiom-status-chip.d.ts +40 -0
  70. package/types/rblabs-dev-axiom-technical-value.d.ts +35 -0
  71. package/types/rblabs-dev-axiom-theme-toggle.d.ts +12 -0
  72. package/types/rblabs-dev-axiom.d.ts +15 -675
  73. package/fesm2022/rblabs-dev-axiom.mjs.map +0 -1
@@ -0,0 +1,116 @@
1
+ import * as i0 from "@angular/core";
2
+ import { EnvironmentProviders, InjectionToken } from "@angular/core";
3
+ /** Breakpoint widths (docs/design-system.md, section 8). Mirrors `$breakpoints` in _breakpoints.scss. */
4
+ export declare const RB_BREAKPOINT_WIDTHS: {
5
+ readonly xs: "30rem";
6
+ readonly sm: "40rem";
7
+ readonly md: "48rem";
8
+ readonly lg: "60rem";
9
+ readonly xl: "75rem";
10
+ readonly '2xl': "87.5rem";
11
+ };
12
+ export type RbBreakpoint = keyof typeof RB_BREAKPOINT_WIDTHS;
13
+ /** Media queries for the CDK `BreakpointObserver`, e.g. `observe(RB_BREAKPOINTS.belowLg)`. */
14
+ export declare const RB_BREAKPOINTS: {
15
+ readonly belowXs: "(width < 30rem)";
16
+ readonly belowSm: "(width < 40rem)";
17
+ readonly belowMd: "(width < 48rem)";
18
+ readonly belowLg: "(width < 60rem)";
19
+ readonly belowXl: "(width < 75rem)";
20
+ readonly below2xl: "(width < 87.5rem)";
21
+ readonly aboveXs: "(width >= 30rem)";
22
+ readonly aboveSm: "(width >= 40rem)";
23
+ readonly aboveMd: "(width >= 48rem)";
24
+ readonly aboveLg: "(width >= 60rem)";
25
+ readonly aboveXl: "(width >= 75rem)";
26
+ readonly above2xl: "(width >= 87.5rem)";
27
+ };
28
+ export type RbTheme = 'light' | 'dark';
29
+ /** localStorage key holding the user's explicit choice (docs/design-system.md, section 11). */
30
+ export declare const RB_THEME_STORAGE_KEY = "rb-theme";
31
+ /** `--rb-color-bg` per theme; also the `<meta name="theme-color">` value. */
32
+ export declare const RB_THEME_COLORS: Readonly<Record<RbTheme, string>>;
33
+ export interface RbThemeOptions {
34
+ /**
35
+ * Forces a theme regardless of the stored choice and the OS, without persisting anything. Used by
36
+ * apps that only support one theme until their migration is done. The theme toggle hides itself
37
+ * while a theme is forced.
38
+ */
39
+ forcedTheme?: RbTheme | null;
40
+ /** Storage keys an app used before adopting the kit; a valid value is moved to `rb-theme` once. */
41
+ legacyStorageKeys?: readonly string[];
42
+ }
43
+ export declare const RB_THEME_OPTIONS: InjectionToken<RbThemeOptions>;
44
+ /**
45
+ * Owns the light/dark theme contract (docs/design-system.md, section 11):
46
+ *
47
+ * - an explicit choice is stored under `rb-theme` and wins over the OS;
48
+ * - without one, the theme follows `prefers-color-scheme` and tracks OS changes live;
49
+ * - the resolved theme is written to `<html>` as `data-theme`, and every
50
+ * `<meta name="theme-color">` is kept in sync;
51
+ * - `color-scheme` is only set inline for an explicit or forced theme; otherwise the stylesheet's
52
+ * `color-scheme: light dark` already follows the OS before any script runs.
53
+ *
54
+ * `provideRbDesignSystem()` calls `initialize()` from an app initializer, before first paint.
55
+ */
56
+ export declare class ThemeService {
57
+ private readonly document;
58
+ private readonly options;
59
+ private readonly window;
60
+ private readonly darkScheme;
61
+ private readonly systemTheme;
62
+ private readonly storedTheme;
63
+ private readonly forcedTheme;
64
+ private initialized;
65
+ /** The user's explicit choice, or `null` while the theme follows the OS. */
66
+ readonly preference: import("@angular/core").Signal<RbTheme | null>;
67
+ /** The theme in effect: forced, then stored, then the OS preference. */
68
+ readonly theme: import("@angular/core").Signal<RbTheme>;
69
+ readonly isDark: import("@angular/core").Signal<boolean>;
70
+ /** True while a theme is forced; the toggle is hidden then. */
71
+ readonly isForced: import("@angular/core").Signal<boolean>;
72
+ constructor();
73
+ /** Reads the stored choice and applies the theme to the document. Safe to call more than once. */
74
+ initialize(): void;
75
+ /** Switches between light and dark and stores the result as an explicit choice. */
76
+ toggle(): void;
77
+ /** Stores an explicit choice; OS changes are ignored from now on. */
78
+ setTheme(theme: RbTheme): void;
79
+ /** Forgets the explicit choice, so the theme follows the OS again. */
80
+ clearPreference(): void;
81
+ /** Forces a theme (or releases it with `null`) without touching the stored choice. */
82
+ forceTheme(theme: RbTheme | null): void;
83
+ private apply;
84
+ private readStoredTheme;
85
+ private read;
86
+ private write;
87
+ private remove;
88
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
89
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
90
+ }
91
+ /** Font set class of the self-hosted Material Symbols subset (docs/design-system.md, section 10). */
92
+ export declare const RB_ICON_FONT_SET = "material-symbols-outlined";
93
+ export type RbDesignSystemOptions = RbThemeOptions;
94
+ /**
95
+ * Registers the kit's runtime pieces in `app.config.ts`:
96
+ *
97
+ * - applies the theme before the root component renders (no flash for a stored choice);
98
+ * - makes `material-symbols-outlined` the default `<mat-icon>` font set.
99
+ */
100
+ export declare function provideRbDesignSystem(options?: RbDesignSystemOptions): EnvironmentProviders;
101
+ /** Tones of `rb-message` (docs/design-system.md, section 15.3). */
102
+ export type RbMessageTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger';
103
+ /** Tones of `rb-status-chip` and page header metrics (15.1, 15.5). `active` means in progress. */
104
+ export type RbStatusTone = 'neutral' | 'active' | 'success' | 'warning' | 'danger';
105
+ /**
106
+ * Default icon per tone, so state is never carried by color alone (section 9.4). Neutral status
107
+ * chips and metrics have no default icon: their label is the whole message.
108
+ */
109
+ export declare const RB_TONE_ICONS: Readonly<Record<RbMessageTone | RbStatusTone, string | null>>;
110
+ /** Visually hidden prefix that names a message's tone for screen reader users. */
111
+ export declare const RB_MESSAGE_TONE_LABELS: Readonly<Record<RbMessageTone, string | null>>;
112
+ /**
113
+ * Kit version. The build stamps it from projects/axiom/package.json (scripts/stamp-version.mjs);
114
+ * source and development builds show the placeholder.
115
+ */
116
+ export declare const RB_DESIGN_SYSTEM_VERSION: string;
@@ -0,0 +1,55 @@
1
+ import { RbHeadingLevel } from "@rblabs-dev/axiom/panel";
2
+ import * as i0 from "@angular/core";
3
+ export type RbEmptyStateLayout = 'centered' | 'inline';
4
+ /**
5
+ * Explains why a region has no content and, when there is one, offers the next step
6
+ * (docs/design-system.md, section 15.4). `actionLabel` renders an outlined button that emits
7
+ * `action`; elements marked `rbActions` are projected next to it, for links or several actions.
8
+ */
9
+ export declare class RbEmptyStateComponent {
10
+ readonly title: import("@angular/core").InputSignal<string>;
11
+ readonly description: import("@angular/core").InputSignal<string>;
12
+ readonly icon: import("@angular/core").InputSignal<string>;
13
+ /** Heading level of the title; follows the document outline, not the visual size. */
14
+ readonly headingLevel: import("@angular/core").InputSignal<RbHeadingLevel>;
15
+ /** `inline` is the compact variant for sidebars and narrow panels. */
16
+ readonly layout: import("@angular/core").InputSignal<RbEmptyStateLayout>;
17
+ /** Label of the recovery button; leave empty for a purely informational state. */
18
+ readonly actionLabel: import("@angular/core").InputSignal<string>;
19
+ readonly action: import("@angular/core").OutputEmitterRef<void>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<RbEmptyStateComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<RbEmptyStateComponent, "rb-empty-state", never, {
22
+ "title": {
23
+ "alias": "title";
24
+ "required": true;
25
+ "isSignal": true;
26
+ };
27
+ "description": {
28
+ "alias": "description";
29
+ "required": false;
30
+ "isSignal": true;
31
+ };
32
+ "icon": {
33
+ "alias": "icon";
34
+ "required": false;
35
+ "isSignal": true;
36
+ };
37
+ "headingLevel": {
38
+ "alias": "headingLevel";
39
+ "required": false;
40
+ "isSignal": true;
41
+ };
42
+ "layout": {
43
+ "alias": "layout";
44
+ "required": false;
45
+ "isSignal": true;
46
+ };
47
+ "actionLabel": {
48
+ "alias": "actionLabel";
49
+ "required": false;
50
+ "isSignal": true;
51
+ };
52
+ }, {
53
+ "action": "action";
54
+ }, never, ["[rbActions]"], true, never>;
55
+ }
@@ -0,0 +1,48 @@
1
+ import { RbMessageTone } from "@rblabs-dev/axiom/core";
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * How the message is announced. `auto` makes a danger message an assertive alert and every other
5
+ * tone a polite status; `off` renders a static message with no live region.
6
+ */
7
+ export type RbMessageLive = 'auto' | 'polite' | 'assertive' | 'off';
8
+ /**
9
+ * Inline status message (docs/design-system.md, section 15.3). The host is the live region, so keep
10
+ * the component mounted and change its content: a region inserted together with its text is not
11
+ * announced by most screen readers (section 9.5).
12
+ */
13
+ export declare class RbMessageComponent {
14
+ readonly tone: import("@angular/core").InputSignal<RbMessageTone>;
15
+ /** Optional bold first line. */
16
+ readonly title: import("@angular/core").InputSignal<string>;
17
+ /** Overrides the tone's default icon. */
18
+ readonly icon: import("@angular/core").InputSignal<string>;
19
+ readonly live: import("@angular/core").InputSignal<RbMessageLive>;
20
+ protected readonly resolvedIcon: import("@angular/core").Signal<string>;
21
+ protected readonly toneLabel: import("@angular/core").Signal<string | null>;
22
+ private readonly politeness;
23
+ protected readonly role: import("@angular/core").Signal<"alert" | "status" | null>;
24
+ protected readonly ariaLive: import("@angular/core").Signal<"polite" | "assertive" | null>;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<RbMessageComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<RbMessageComponent, "rb-message", never, {
27
+ "tone": {
28
+ "alias": "tone";
29
+ "required": false;
30
+ "isSignal": true;
31
+ };
32
+ "title": {
33
+ "alias": "title";
34
+ "required": false;
35
+ "isSignal": true;
36
+ };
37
+ "icon": {
38
+ "alias": "icon";
39
+ "required": false;
40
+ "isSignal": true;
41
+ };
42
+ "live": {
43
+ "alias": "live";
44
+ "required": false;
45
+ "isSignal": true;
46
+ };
47
+ }, {}, never, ["*"], true, never>;
48
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * The RB monogram (docs/design-system.md, section 12.1), drawn inline from the brand tokens so it
4
+ * needs no request and is identical in both themes. Decorative: the element that contains it (the
5
+ * brand lockup link) carries the accessible name. Size it with `inline-size` on the host.
6
+ */
7
+ export declare class RbMonogramComponent {
8
+ /** Unique per instance: several monograms can share a page. */
9
+ protected readonly gradientId: string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<RbMonogramComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<RbMonogramComponent, "rb-monogram", never, {}, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,44 @@
1
+ import { RbStatusTone } from "@rblabs-dev/axiom/core";
2
+ import * as i0 from "@angular/core";
3
+ export interface RbPageHeaderMetric {
4
+ label: string;
5
+ value: string | number;
6
+ /** Adds a tone color and icon to the value; the label and value carry the meaning. */
7
+ tone?: RbStatusTone;
8
+ }
9
+ /**
10
+ * The page's single `<h1>` with its eyebrow, description, summary metrics and page actions
11
+ * (docs/design-system.md, section 15.1). Elements marked `rbActions` are projected next to the
12
+ * title.
13
+ */
14
+ export declare class RbPageHeaderComponent {
15
+ readonly title: import("@angular/core").InputSignal<string>;
16
+ /** Short context line above the title, such as the app area. */
17
+ readonly eyebrow: import("@angular/core").InputSignal<string>;
18
+ readonly description: import("@angular/core").InputSignal<string>;
19
+ readonly metrics: import("@angular/core").InputSignal<readonly RbPageHeaderMetric[]>;
20
+ protected toneIcon(metric: RbPageHeaderMetric): string | null;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<RbPageHeaderComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<RbPageHeaderComponent, "rb-page-header", never, {
23
+ "title": {
24
+ "alias": "title";
25
+ "required": true;
26
+ "isSignal": true;
27
+ };
28
+ "eyebrow": {
29
+ "alias": "eyebrow";
30
+ "required": false;
31
+ "isSignal": true;
32
+ };
33
+ "description": {
34
+ "alias": "description";
35
+ "required": false;
36
+ "isSignal": true;
37
+ };
38
+ "metrics": {
39
+ "alias": "metrics";
40
+ "required": false;
41
+ "isSignal": true;
42
+ };
43
+ }, {}, never, ["[rbActions]"], true, never>;
44
+ }
@@ -0,0 +1,44 @@
1
+ import * as i0 from "@angular/core";
2
+ export type RbPanelVariant = 'default' | 'soft' | 'elevated' | 'danger';
3
+ export type RbHeadingLevel = 2 | 3 | 4 | 5 | 6;
4
+ /**
5
+ * Content container with an optional header (docs/design-system.md, section 15.2). Elements marked
6
+ * `rbActions` are projected into the header next to the title.
7
+ */
8
+ export declare class RbPanelComponent {
9
+ readonly title: import("@angular/core").InputSignal<string>;
10
+ readonly description: import("@angular/core").InputSignal<string>;
11
+ readonly variant: import("@angular/core").InputSignal<RbPanelVariant>;
12
+ /** Heading level of the title; follows the document outline, not the visual size. */
13
+ readonly headingLevel: import("@angular/core").InputSignal<RbHeadingLevel>;
14
+ /** Removes the body padding, for a table or list that runs to the panel's edges. */
15
+ readonly flush: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<RbPanelComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<RbPanelComponent, "rb-panel", never, {
18
+ "title": {
19
+ "alias": "title";
20
+ "required": false;
21
+ "isSignal": true;
22
+ };
23
+ "description": {
24
+ "alias": "description";
25
+ "required": false;
26
+ "isSignal": true;
27
+ };
28
+ "variant": {
29
+ "alias": "variant";
30
+ "required": false;
31
+ "isSignal": true;
32
+ };
33
+ "headingLevel": {
34
+ "alias": "headingLevel";
35
+ "required": false;
36
+ "isSignal": true;
37
+ };
38
+ "flush": {
39
+ "alias": "flush";
40
+ "required": false;
41
+ "isSignal": true;
42
+ };
43
+ }, {}, never, ["[rbActions]", "*"], true, never>;
44
+ }
@@ -0,0 +1,28 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Frame for landing, sign-in and other public pages (docs/design-system.md, section 16.2): skip
4
+ * link, a header with the brand lockup and theme toggle, a centered content area on the brand
5
+ * background, and the standard footer.
6
+ */
7
+ export declare class RbPublicShellComponent {
8
+ /** Shown in the lockup and the footer: `Admin`, `Auth`, `Rover`, `Photogrammetry`… */
9
+ readonly appName: import("@angular/core").InputSignal<string>;
10
+ /** The lockup's link target, as a `routerLink` value. */
11
+ readonly homeLink: import("@angular/core").InputSignal<string | readonly unknown[]>;
12
+ private readonly main;
13
+ /** See RbAppShellComponent: keeps the skip link on the current route. */
14
+ protected skipToMain(event: Event): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<RbPublicShellComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<RbPublicShellComponent, "rb-public-shell", never, {
17
+ "appName": {
18
+ "alias": "appName";
19
+ "required": true;
20
+ "isSignal": true;
21
+ };
22
+ "homeLink": {
23
+ "alias": "homeLink";
24
+ "required": false;
25
+ "isSignal": true;
26
+ };
27
+ }, {}, never, ["[rbShellActions]", "*", "[rbShellFooter]"], true, never>;
28
+ }
@@ -0,0 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * The standard footer of every shell (docs/design-system.md, section 12.5): "© <year> RB Labs ·
4
+ * <App name>", followed on the same line by any projected links or status.
5
+ */
6
+ export declare class RbShellFooterComponent {
7
+ readonly appName: import("@angular/core").InputSignal<string>;
8
+ protected readonly year: number;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<RbShellFooterComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<RbShellFooterComponent, "rb-shell-footer", never, {
11
+ "appName": {
12
+ "alias": "appName";
13
+ "required": true;
14
+ "isSignal": true;
15
+ };
16
+ }, {}, never, ["*"], true, never>;
17
+ }
@@ -0,0 +1,40 @@
1
+ import { RbStatusTone } from "@rblabs-dev/axiom/core";
2
+ import * as i0 from "@angular/core";
3
+ export type RbStatusChipSize = 'default' | 'compact';
4
+ /**
5
+ * Read-only status label (docs/design-system.md, section 15.5). The label is always visible and
6
+ * every non-neutral tone has an icon, so the state is never carried by color alone. It is not
7
+ * interactive and not a live region: announce changes through `rb-message` or a status region.
8
+ */
9
+ export declare class RbStatusChipComponent {
10
+ readonly label: import("@angular/core").InputSignal<string>;
11
+ readonly tone: import("@angular/core").InputSignal<RbStatusTone>;
12
+ /** Overrides the tone's default icon. */
13
+ readonly icon: import("@angular/core").InputSignal<string>;
14
+ /** `compact` fits a single table row line. */
15
+ readonly size: import("@angular/core").InputSignal<RbStatusChipSize>;
16
+ protected readonly resolvedIcon: import("@angular/core").Signal<string | null>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<RbStatusChipComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<RbStatusChipComponent, "rb-status-chip", never, {
19
+ "label": {
20
+ "alias": "label";
21
+ "required": true;
22
+ "isSignal": true;
23
+ };
24
+ "tone": {
25
+ "alias": "tone";
26
+ "required": false;
27
+ "isSignal": true;
28
+ };
29
+ "icon": {
30
+ "alias": "icon";
31
+ "required": false;
32
+ "isSignal": true;
33
+ };
34
+ "size": {
35
+ "alias": "size";
36
+ "required": false;
37
+ "isSignal": true;
38
+ };
39
+ }, {}, never, never, true, never>;
40
+ }
@@ -0,0 +1,35 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Identifier, key, hash or path in monospace on one line (docs/design-system.md, section 15.6).
4
+ * A value that does not fit is truncated with an ellipsis and the full value appears in a tooltip.
5
+ * Screen readers and copying always get the full value, even when `displayValue` shortens it.
6
+ */
7
+ export declare class RbTechnicalValueComponent {
8
+ readonly value: import("@angular/core").InputSignal<string>;
9
+ /** Shorter text to show instead of the value, such as the first characters of a hash. */
10
+ readonly displayValue: import("@angular/core").InputSignal<string>;
11
+ private readonly host;
12
+ private readonly destroyRef;
13
+ private readonly text;
14
+ private readonly truncated;
15
+ protected readonly shownValue: import("@angular/core").Signal<string>;
16
+ protected readonly shortened: import("@angular/core").Signal<boolean>;
17
+ protected readonly tooltipEnabled: import("@angular/core").Signal<boolean>;
18
+ constructor();
19
+ /** Copying a selection inside the component copies the full value, not the shortened text. */
20
+ protected copyFullValue(event: ClipboardEvent): void;
21
+ private measure;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<RbTechnicalValueComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<RbTechnicalValueComponent, "rb-technical-value", never, {
24
+ "value": {
25
+ "alias": "value";
26
+ "required": true;
27
+ "isSignal": true;
28
+ };
29
+ "displayValue": {
30
+ "alias": "displayValue";
31
+ "required": false;
32
+ "isSignal": true;
33
+ };
34
+ }, {}, never, never, true, never>;
35
+ }
@@ -0,0 +1,12 @@
1
+ import { ThemeService } from "@rblabs-dev/axiom/core";
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Light/dark switch for the app shell (docs/design-system.md, section 11). The accessible name stays
5
+ * "Dark theme" and `aria-pressed` carries the state, so the label never rewrites itself into the
6
+ * opposite action. Renders nothing while the app forces a theme.
7
+ */
8
+ export declare class RbThemeToggleComponent {
9
+ protected readonly theme: ThemeService;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<RbThemeToggleComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<RbThemeToggleComponent, "rb-theme-toggle", never, {}, {}, never, never, true, never>;
12
+ }