@cngx/ui 0.1.0-rc.9 → 0.3.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.
Files changed (106) hide show
  1. package/README.md +118 -59
  2. package/action-button/README.md +170 -53
  3. package/breadcrumb/README.md +5 -6
  4. package/collection/README.md +1 -1
  5. package/command-palette/README.md +4 -3
  6. package/data-grid-accordion/README.md +1 -1
  7. package/empty-state/README.md +2 -3
  8. package/feedback/README.md +1 -1
  9. package/fesm2022/cngx-ui-a11y.mjs +13 -23
  10. package/fesm2022/cngx-ui-a11y.mjs.map +1 -1
  11. package/fesm2022/cngx-ui-accordion.mjs +44 -66
  12. package/fesm2022/cngx-ui-accordion.mjs.map +1 -1
  13. package/fesm2022/cngx-ui-action-button.mjs +213 -335
  14. package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
  15. package/fesm2022/cngx-ui-breadcrumb.mjs +60 -80
  16. package/fesm2022/cngx-ui-breadcrumb.mjs.map +1 -1
  17. package/fesm2022/cngx-ui-chart-panel.mjs +18 -31
  18. package/fesm2022/cngx-ui-chart-panel.mjs.map +1 -1
  19. package/fesm2022/cngx-ui-collection.mjs +28 -44
  20. package/fesm2022/cngx-ui-collection.mjs.map +1 -1
  21. package/fesm2022/cngx-ui-command-palette.mjs +29 -51
  22. package/fesm2022/cngx-ui-command-palette.mjs.map +1 -1
  23. package/fesm2022/cngx-ui-context-menu.mjs +78 -83
  24. package/fesm2022/cngx-ui-context-menu.mjs.map +1 -1
  25. package/fesm2022/cngx-ui-data-grid-accordion.mjs +52 -74
  26. package/fesm2022/cngx-ui-data-grid-accordion.mjs.map +1 -1
  27. package/fesm2022/cngx-ui-empty-state.mjs +17 -44
  28. package/fesm2022/cngx-ui-empty-state.mjs.map +1 -1
  29. package/fesm2022/cngx-ui-feedback.mjs +589 -467
  30. package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
  31. package/fesm2022/cngx-ui-layout.mjs +17 -13
  32. package/fesm2022/cngx-ui-layout.mjs.map +1 -1
  33. package/fesm2022/cngx-ui-mat-accordion.mjs +3 -5
  34. package/fesm2022/cngx-ui-mat-accordion.mjs.map +1 -1
  35. package/fesm2022/cngx-ui-mat-paginator.mjs +5 -9
  36. package/fesm2022/cngx-ui-mat-paginator.mjs.map +1 -1
  37. package/fesm2022/cngx-ui-mat-stepper.mjs +6 -9
  38. package/fesm2022/cngx-ui-mat-stepper.mjs.map +1 -1
  39. package/fesm2022/cngx-ui-mat-tabs.mjs +71 -68
  40. package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -1
  41. package/fesm2022/cngx-ui-nav-rail.mjs +440 -0
  42. package/fesm2022/cngx-ui-nav-rail.mjs.map +1 -0
  43. package/fesm2022/cngx-ui-overlay.mjs +9 -10
  44. package/fesm2022/cngx-ui-overlay.mjs.map +1 -1
  45. package/fesm2022/cngx-ui-paginator.mjs +149 -171
  46. package/fesm2022/cngx-ui-paginator.mjs.map +1 -1
  47. package/fesm2022/cngx-ui-sidenav.mjs +858 -721
  48. package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
  49. package/fesm2022/cngx-ui-skeleton.mjs +17 -19
  50. package/fesm2022/cngx-ui-skeleton.mjs.map +1 -1
  51. package/fesm2022/cngx-ui-speak.mjs +21 -74
  52. package/fesm2022/cngx-ui-speak.mjs.map +1 -1
  53. package/fesm2022/cngx-ui-stat-card.mjs +39 -62
  54. package/fesm2022/cngx-ui-stat-card.mjs.map +1 -1
  55. package/fesm2022/cngx-ui-stepper.mjs +207 -90
  56. package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
  57. package/fesm2022/cngx-ui-tabs.mjs +71 -32
  58. package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
  59. package/fesm2022/cngx-ui-timeline.mjs +21 -27
  60. package/fesm2022/cngx-ui-timeline.mjs.map +1 -1
  61. package/fesm2022/cngx-ui-toc.mjs +27 -40
  62. package/fesm2022/cngx-ui-toc.mjs.map +1 -1
  63. package/fesm2022/cngx-ui.mjs +5 -5
  64. package/fesm2022/cngx-ui.mjs.map +1 -1
  65. package/mat-tabs/README.md +28 -14
  66. package/mat-tabs/styles/mat-tabs.css +233 -258
  67. package/nav-rail/README.md +325 -0
  68. package/package.json +10 -5
  69. package/paginator/README.md +10 -0
  70. package/schematics/ng-add/index.js +7 -7
  71. package/schematics/ng-add/schema.json +5 -0
  72. package/sidenav/README.md +150 -55
  73. package/skeleton/README.md +1 -1
  74. package/speak/README.md +1 -2
  75. package/stepper/README.md +20 -5
  76. package/tabs/README.md +13 -0
  77. package/timeline/README.md +1 -1
  78. package/toc/README.md +1 -1
  79. package/types/cngx-ui-a11y.d.ts +20 -38
  80. package/types/cngx-ui-accordion.d.ts +45 -77
  81. package/types/cngx-ui-action-button.d.ts +113 -151
  82. package/types/cngx-ui-breadcrumb.d.ts +58 -94
  83. package/types/cngx-ui-chart-panel.d.ts +22 -40
  84. package/types/cngx-ui-collection.d.ts +30 -53
  85. package/types/cngx-ui-command-palette.d.ts +40 -64
  86. package/types/cngx-ui-context-menu.d.ts +67 -44
  87. package/types/cngx-ui-data-grid-accordion.d.ts +49 -77
  88. package/types/cngx-ui-empty-state.d.ts +18 -8
  89. package/types/cngx-ui-feedback.d.ts +264 -289
  90. package/types/cngx-ui-layout.d.ts +4 -12
  91. package/types/cngx-ui-mat-accordion.d.ts +2 -3
  92. package/types/cngx-ui-mat-paginator.d.ts +4 -10
  93. package/types/cngx-ui-mat-stepper.d.ts +5 -10
  94. package/types/cngx-ui-mat-tabs.d.ts +43 -69
  95. package/types/cngx-ui-nav-rail.d.ts +416 -0
  96. package/types/cngx-ui-overlay.d.ts +4 -13
  97. package/types/cngx-ui-paginator.d.ts +164 -154
  98. package/types/cngx-ui-sidenav.d.ts +557 -437
  99. package/types/cngx-ui-skeleton.d.ts +7 -13
  100. package/types/cngx-ui-speak.d.ts +40 -24
  101. package/types/cngx-ui-stat-card.d.ts +45 -36
  102. package/types/cngx-ui-stepper.d.ts +183 -62
  103. package/types/cngx-ui-tabs.d.ts +101 -27
  104. package/types/cngx-ui-timeline.d.ts +20 -48
  105. package/types/cngx-ui-toc.d.ts +30 -51
  106. package/types/cngx-ui.d.ts +1 -1
@@ -2,20 +2,14 @@ import * as _angular_core from '@angular/core';
2
2
 
3
3
  /**
4
4
  * Main-axis direction for {@link CngxStack}.
5
- *
6
- * @category ui/layout
7
5
  */
8
6
  type StackDirection = 'row' | 'column';
9
7
  /**
10
8
  * Cross-axis alignment for {@link CngxStack}.
11
- *
12
- * @category ui/layout
13
9
  */
14
10
  type StackAlign = 'start' | 'center' | 'end' | 'stretch';
15
11
  /**
16
12
  * Spacing scale for {@link CngxStack}. Maps to `--cngx-gap-*` tokens.
17
- *
18
- * @category ui/layout
19
13
  */
20
14
  type StackGap = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
21
15
  /**
@@ -31,11 +25,10 @@ type StackGap = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
31
25
  * <div>Item 2</div>
32
26
  * </cngx-stack>
33
27
  *
34
- * @category ui/layout
35
- * @docsKind primary
36
28
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/layout/stack.component.ts
37
- * @since 0.1.0
29
+ * @since 0.3.0
38
30
  * @relatedTo CngxGrid
31
+ * @axis level organism
39
32
  */
40
33
  declare class CngxStack {
41
34
  /** Flex direction of the stack. */
@@ -66,11 +59,10 @@ declare class CngxStack {
66
59
  * Bare attribute syntax works for both forms: `columns="3"` and
67
60
  * `[columns]="3"` produce identical output.
68
61
  *
69
- * @category ui/layout
70
- * @docsKind primary
71
62
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/layout/grid.component.ts
72
- * @since 0.1.0
63
+ * @since 0.3.0
73
64
  * @relatedTo CngxStack
65
+ * @axis level organism
74
66
  */
75
67
  declare class CngxGrid {
76
68
  /** Number of equal columns, or a custom `grid-template-columns` value. */
@@ -50,12 +50,11 @@ import * as i1 from '@cngx/common/interactive';
50
50
  * ```
51
51
  *
52
52
  * @playground Controlled open-set ./examples/bridge/bridge-example.component.ts
53
- * @category ui/mat-accordion
54
- * @docsKind primary
55
53
  * @wcag AA
56
54
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-accordion/mat-accordion.directive.ts
57
- * @since 0.1.0
55
+ * @since 0.3.0
58
56
  * @relatedTo CngxAccordion, CngxAccordionItem, CngxMatStepper, CngxMatTabs
57
+ * @axis level molecule
59
58
  */
60
59
  declare class CngxMatAccordion {
61
60
  private readonly matAccordion;
@@ -6,8 +6,6 @@ export { CngxPaginateResetOn, CngxPaginateRouting } from '@cngx/common/data';
6
6
  /**
7
7
  * Context handed to {@link CngxMatPaginator.announceLabel} to build the
8
8
  * screen-reader announcement after each page / page-size change.
9
- *
10
- * @category ui/mat-paginator
11
9
  */
12
10
  interface CngxMatPaginatorAnnounceContext {
13
11
  /** 1-based current page. */
@@ -62,17 +60,13 @@ interface CngxMatPaginatorAnnounceContext {
62
60
  * </ul>
63
61
  * ```
64
62
  *
65
- * @category ui/mat-paginator
66
- * @docsKind primary
67
63
  * @wcag AA
68
64
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-paginator/mat-paginator-bridge.directive.ts
69
- * @since 0.1.0
65
+ * @since 0.3.0
70
66
  * @relatedTo CngxPaginate, CngxMatStepper, CngxPaginator
71
- * <example-url>http://localhost:4200/#/common/data/data-source/datasource-cngxpaginate-manual-pipeline</example-url>
72
- * <example-url>http://localhost:4200/#/common/data/paginate-list/bridge-announce-page-changes</example-url>
73
- * <example-url>http://localhost:4200/#/common/data/paginate-list/instrumentation-bridge-cngxmatpaginator</example-url>
74
- * <example-url>http://localhost:4200/#/common/data/paginate-list/paginated-list-cngxpaginate-cngxmatpaginator</example-url>
75
- * <example-url>http://localhost:4200/#/common/data/paginate-list/uncontrolled-mode-zero-class-boilerplate</example-url>
67
+ * <example-url>/#/ui/mat-paginator/bridge-announce-page-changes</example-url>
68
+ * <example-url>/#/ui/mat-paginator/instrumentation-bridge-cngxmatpaginator</example-url>
69
+ * @axis level molecule
76
70
  */
77
71
  declare class CngxMatPaginator {
78
72
  private readonly matPaginator;
@@ -23,7 +23,7 @@ import { MatStep } from '@angular/material/stepper';
23
23
  * Commit-lifecycle transitions speak: the shared announcement builder
24
24
  * feeds the root live announcer (pending / landed / rolled-back
25
25
  * phrases, identical to `<cngx-stepper>`), and the host carries
26
- * `aria-busy="true"` while a commit is in flight.
26
+ * `aria-busy="true"` while a commit or the finish run is in flight.
27
27
  *
28
28
  * Inputs/outputs are forwarded from {@link CngxStepperPresenter}:
29
29
  * - `activeStepIndex` (two-way, with `activeStepIndexChange`),
@@ -63,12 +63,12 @@ import { MatStep } from '@angular/material/stepper';
63
63
  * ```
64
64
  * @playground Bridge instrumentation ./examples/bridge/bridge-example.component.ts
65
65
  *
66
- * @category ui/mat-stepper
67
- * @docsKind primary
68
66
  * @wcag AA
69
67
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-stepper/mat-stepper.directive.ts
70
- * @since 0.1.0
68
+ * @since 0.3.0
71
69
  * @relatedTo CngxStepper, CngxStepperPresenter, CngxMatTabs, CngxStepperFooter
70
+ * <example-url>/#/ui/mat-stepper/stepper-footer/mat-stepper-footer</example-url>
71
+ * @axis level organism
72
72
  */
73
73
  declare class CngxMatStepper {
74
74
  private readonly matStepper;
@@ -152,8 +152,6 @@ interface CngxMatStepHandleSetup {
152
152
  * pattern.
153
153
  * - `errorAggregator` - points at the shared
154
154
  * {@link NO_ERROR_AGGREGATOR} constant.
155
- *
156
- * @category ui/mat-stepper
157
155
  */
158
156
  declare function createMatStepHandle(matStep: MatStep, idSeed: () => string, i18n: Signal<CngxStepperI18n>): CngxMatStepHandleSetup;
159
157
  /**
@@ -164,8 +162,6 @@ declare function createMatStepHandle(matStep: MatStep, idSeed: () => string, i18
164
162
  * The third argument is the stepper i18n Signal the directive injected;
165
163
  * it carries the last-resort label (`stepFallbackLabel`). Forward it when
166
164
  * delegating to {@link createMatStepHandle}.
167
- *
168
- * @category ui/mat-stepper
169
165
  */
170
166
  type CngxMatStepHandleFactory = typeof createMatStepHandle;
171
167
  /**
@@ -201,10 +197,9 @@ type CngxMatStepHandleFactory = typeof createMatStepHandle;
201
197
  * ]
202
198
  * ```
203
199
  *
204
- * @category ui/mat-stepper
205
200
  * @wcag AA
206
201
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-stepper/material-bridge/handle.ts
207
- * @since 0.1.0
202
+ * @since 0.3.0
208
203
  */
209
204
  declare const CNGX_MAT_STEP_HANDLE_FACTORY: InjectionToken<typeof createMatStepHandle>;
210
205
 
@@ -47,16 +47,12 @@ interface CngxMatTabHandleSetup {
47
47
  * - `directError` - writable seeded at `false`;
48
48
  * `[cngxMatTabErrorFlag]` writes its `string | boolean` value in
49
49
  * and resets on teardown. Folds into `hasError` / `errorMessage`.
50
- *
51
- * @category ui/mat-tabs
52
50
  */
53
51
  declare function createMatTabHandle(matTab: MatTab, idSeed: () => string, injector: Injector): CngxMatTabHandleSetup;
54
52
  /**
55
53
  * Factory signature for {@link createMatTabHandle}. The DI token
56
54
  * {@link CNGX_MAT_TAB_HANDLE_FACTORY} resolves to a function with
57
55
  * this exact shape - overrides match it identically.
58
- *
59
- * @category ui/mat-tabs
60
56
  */
61
57
  type CngxMatTabHandleFactory = typeof createMatTabHandle;
62
58
  /**
@@ -83,25 +79,22 @@ type CngxMatTabHandleFactory = typeof createMatTabHandle;
83
79
  * ]
84
80
  * ```
85
81
  *
86
- * @category ui/mat-tabs
87
82
  * @wcag AA
88
83
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-tabs/material-bridge/handle.ts
89
- * @since 0.1.0
84
+ * @since 0.3.0
90
85
  */
91
86
  declare const CNGX_MAT_TAB_HANDLE_FACTORY: InjectionToken<typeof createMatTabHandle>;
92
87
 
93
88
  /**
94
89
  * Read-mostly contract for the per-tab handle-setup registry.
95
- * `[cngxMatTabError]` and any future `[cngxMatTab*]` decoration
96
- * directive injects this with `{ host: true }` to reach the
97
- * per-handle `errorAggregator` slot without walking the concrete
98
- * registry class.
99
- *
100
- * Return type narrows to `Pick<..., 'errorAggregator'>` so the
101
- * access path exposes only the per-handle aggregator slot; the
102
- * rest of the setup stays internal bookkeeping.
103
- *
104
- * @category ui/mat-tabs
90
+ * `[cngxMatTabError]`, `[cngxMatTabErrorFlag]` and any future
91
+ * `[cngxMatTab*]` decoration directive injects this with
92
+ * `{ host: true }` to reach the per-handle `errorAggregator` and
93
+ * `directError` slots without walking the concrete registry class.
94
+ *
95
+ * Return type narrows to `Pick<..., 'errorAggregator' | 'directError'>`
96
+ * so the access path exposes only those two slots; the rest of the
97
+ * setup stays internal bookkeeping.
105
98
  */
106
99
  interface CngxMatTabsRegistryHost {
107
100
  /**
@@ -120,10 +113,9 @@ interface CngxMatTabsRegistryHost {
120
113
  * `{ host: true }` to reach per-handle slots without walking the
121
114
  * concrete registry class.
122
115
  *
123
- * @category ui/mat-tabs
124
116
  * @wcag AA
125
117
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-tabs/mat-tabs-registry.directive.ts
126
- * @since 0.1.0
118
+ * @since 0.3.0
127
119
  */
128
120
  declare const CNGX_MAT_TABS_REGISTRY_HOST: InjectionToken<CngxMatTabsRegistryHost>;
129
121
  /**
@@ -151,11 +143,9 @@ declare const CNGX_MAT_TABS_REGISTRY_HOST: InjectionToken<CngxMatTabsRegistryHos
151
143
  * both share the parent's `CngxTabGroupPresenter` and the same
152
144
  * `<mat-tab-group>` content-children scope.
153
145
  *
154
- * @category ui/mat-tabs
155
- * @docsKind primary
156
146
  * @wcag AA
157
147
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-tabs/mat-tabs-registry.directive.ts
158
- * @since 0.1.0
148
+ * @since 0.3.0
159
149
  * @relatedTo CngxMatTabs, CngxMatTabError, CNGX_MAT_TABS_REGISTRY_HOST
160
150
  */
161
151
  declare class CngxMatTabsRegistry implements CngxMatTabsRegistryHost {
@@ -167,6 +157,12 @@ declare class CngxMatTabsRegistry implements CngxMatTabsRegistryHost {
167
157
  private readonly matTabs;
168
158
  private readonly seam;
169
159
  constructor();
160
+ /**
161
+ * Returns the writable `errorAggregator` and `directError` slots of the given `<mat-tab>`, or
162
+ * `undefined` while the tab is not registered yet. Implements `CngxMatTabsRegistryHost`, which
163
+ * `CngxMatTabError` and `CngxMatTabErrorFlag` call to write their value and to reset it on
164
+ * destroy.
165
+ */
170
166
  getHandleSetup(matTab: MatTab): Pick<CngxMatTabHandleSetup, 'errorAggregator' | 'directError'> | undefined;
171
167
  static ɵfac: i0.ɵɵFactoryDeclaration<CngxMatTabsRegistry, never>;
172
168
  static ɵdir: i0.ɵɵDirectiveDeclaration<CngxMatTabsRegistry, "[cngxMatTabsRegistry]", ["cngxMatTabsRegistry"], {}, {}, ["matTabs"], never, true, never>;
@@ -203,14 +199,13 @@ declare class CngxMatTabsRegistry implements CngxMatTabsRegistryHost {
203
199
  *
204
200
  * @playground Form error aggregation ./examples/form-errors/form-errors.component.ts
205
201
  *
206
- * @category ui/mat-tabs
207
- * @docsKind primary
208
202
  * @wcag AA
209
203
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-tabs/mat-tabs.directive.ts
210
- * @since 0.1.0
204
+ * @since 0.3.0
211
205
  * @relatedTo CngxMatTabsRegistry, CngxMatTabError, CngxMatStepper
212
206
  * @slot cngxMatTabAggregatorContent Replaces the aggregated error summary projected into a Material tab.
213
207
  * @slot cngxMatTabRejectionContent Replaces the rejection notice on a rolled-back Material tab.
208
+ * @axis level organism
214
209
  */
215
210
  declare class CngxMatTabs {
216
211
  private readonly matTabGroup;
@@ -281,14 +276,13 @@ declare class CngxMatTabs {
281
276
  *
282
277
  * @playground Native router tabs with a CanDeactivate guard ./examples/router-nav/router-nav.component.ts
283
278
  *
284
- * @category ui/mat-tabs
285
- * @docsKind primary
286
279
  * @wcag AA
287
280
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-tabs/mat-tab-nav.directive.ts
288
- * @since 0.1.0
281
+ * @since 0.3.0
289
282
  * @relatedTo CngxMatTabLink, CngxMatTabs, CngxTabsRouteSync
290
283
  * @slot cngxMatTabAggregatorContent Replaces the aggregated error summary projected into a Material tab.
291
284
  * @slot cngxMatTabRejectionContent Replaces the rejection notice on a rolled-back Material tab.
285
+ * @axis level organism
292
286
  */
293
287
  declare class CngxMatTabNav {
294
288
  private readonly presenter;
@@ -334,11 +328,9 @@ declare class CngxMatTabNav {
334
328
  * which matches each handle's `id` (set to the route segment) against
335
329
  * the URL.
336
330
  *
337
- * @category ui/mat-tabs
338
- * @docsKind primary
339
331
  * @wcag AA
340
332
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-tabs/mat-tab-link.directive.ts
341
- * @since 0.1.0
333
+ * @since 0.3.0
342
334
  * @relatedTo CngxMatTabNav, CngxMatTabs, CngxTab
343
335
  */
344
336
  declare class CngxMatTabLink implements OnInit {
@@ -398,15 +390,20 @@ declare class CngxMatTabLink implements OnInit {
398
390
  * the slot so an `*ngIf`-toggled binding returns to the
399
391
  * no-aggregator default.
400
392
  *
401
- * @category ui/mat-tabs
402
393
  * @wcag AA
403
394
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-tabs/mat-tab-error.directive.ts
404
- * @since 0.1.0
395
+ * @since 0.3.0
405
396
  * @relatedTo CngxMatTabs, CngxMatTabsRegistry, CngxMatTabRejectionContent
406
397
  */
407
398
  declare class CngxMatTabError {
408
399
  private readonly target;
409
400
  private readonly destroyRef;
401
+ /**
402
+ * Error aggregator for this tab, bound as `[cngxMatTabError]`. Its `shouldShow()` decides
403
+ * whether the tab header shows the error badge, and it is written into the tab's aggregator
404
+ * slot in the registry. A string value (the bare attribute) and `undefined` both mean no
405
+ * aggregator, and the slot is reset to `undefined` when the directive is destroyed.
406
+ */
410
407
  readonly aggregator: i0.InputSignalWithTransform<CngxErrorAggregatorContract | undefined, "" | CngxErrorAggregatorContract | undefined>;
411
408
  constructor();
412
409
  static ɵfac: i0.ɵɵFactoryDeclaration<CngxMatTabError, never>;
@@ -419,7 +416,7 @@ declare class CngxMatTabError {
419
416
  * `string | boolean` writes the per-handle `directError` slot, which
420
417
  * folds into the handle's `hasError` / `errorMessage`. A non-empty
421
418
  * string doubles as the SR descriptor message; `true` marks the tab
422
- * invalid with no message; `false` / `''` clear it. The folded state
419
+ * invalid with no message; `false` clears it. The folded state
423
420
  * drives the same header decoration as the aggregator: the
424
421
  * `cngx-mat-tab--has-errors` badge plus an SR-only descriptor span
425
422
  * referenced through `aria-describedby` (message, else the
@@ -436,15 +433,22 @@ declare class CngxMatTabError {
436
433
  * `presenter.tabs()` to recover from the content-init race, and
437
434
  * clears the slot on destroy - exactly as {@link CngxMatTabError}.
438
435
  *
439
- * @category ui/mat-tabs
440
436
  * @wcag AA
441
437
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-tabs/mat-tab-error-flag.directive.ts
442
- * @since 0.1.0
438
+ * @since 0.3.0
443
439
  * @relatedTo CngxMatTabs, CngxMatTabError, CngxMatTabsRegistry
440
+ * @axis level atom
444
441
  */
445
442
  declare class CngxMatTabErrorFlag {
446
443
  private readonly target;
447
444
  private readonly destroyRef;
445
+ /**
446
+ * Direct invalid flag for this tab, bound as `[cngxMatTabErrorFlag]`. `true` marks the tab
447
+ * invalid, a non-empty string also serves as the screen-reader message, and `false` (the
448
+ * default) clears the flag. The empty string (the bare attribute) is coerced to `true`. The
449
+ * value is written into the tab's direct-error slot in the registry, which is reset to `false`
450
+ * when the directive is destroyed.
451
+ */
448
452
  readonly error: i0.InputSignalWithTransform<string | boolean, string | boolean>;
449
453
  constructor();
450
454
  static ɵfac: i0.ɵɵFactoryDeclaration<CngxMatTabErrorFlag, never>;
@@ -471,8 +475,6 @@ declare class CngxMatTabErrorFlag {
471
475
  * snapshotted into the decorated entry - re-emissions of the
472
476
  * underlying signals re-fire the projector's effect, which
473
477
  * re-applies the decoration with the fresh context.
474
- *
475
- * @category ui/mat-tabs
476
478
  */
477
479
  interface CngxMatTabAggregatorContentContext {
478
480
  /** Aggregated error count for this tab (≥ 1 when shown). */
@@ -518,10 +520,9 @@ interface CngxMatTabAggregatorContentContext {
518
520
  * </mat-tab-group>
519
521
  * ```
520
522
  *
521
- * @category ui/mat-tabs
522
523
  * @wcag AA
523
524
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-tabs/decorations/mat-tab-aggregator-content.directive.ts
524
- * @since 0.1.0
525
+ * @since 0.3.0
525
526
  * @relatedTo CngxMatTabs, CngxMatTabError, CngxMatTabRejectionContent
526
527
  */
527
528
  declare class CngxMatTabAggregatorContent {
@@ -566,8 +567,6 @@ declare class CngxMatTabAggregatorContent {
566
567
  * lift heavy state into a sibling `*ngTemplateOutlet`-friendly
567
568
  * structure outside the slot. Cheap text + simple markup (the
568
569
  * intended use) sees no observable difference.
569
- *
570
- * @category ui/mat-tabs
571
570
  */
572
571
  interface CngxMatTabRejectionContentContext {
573
572
  /** Stable id of the rejected `CngxTabHandle`. */
@@ -632,10 +631,9 @@ interface CngxMatTabRejectionContentContext {
632
631
  * </mat-tab-group>
633
632
  * ```
634
633
  *
635
- * @category ui/mat-tabs
636
634
  * @wcag AA
637
635
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-tabs/decorations/mat-tab-rejection-content.directive.ts
638
- * @since 0.1.0
636
+ * @since 0.3.0
639
637
  * @relatedTo CngxMatTabs, CngxMatTabAggregatorContent, CngxMatTabError
640
638
  */
641
639
  declare class CngxMatTabRejectionContent {
@@ -659,8 +657,6 @@ declare class CngxMatTabRejectionContent {
659
657
  * fail-fast). The library default is a dev-mode `console.warn`; the
660
658
  * exported {@link CNGX_DEFAULT_HALF_WIRED_SLOT_SINK} value lets test
661
659
  * doubles compose against a stable reference.
662
- *
663
- * @category ui/mat-tabs
664
660
  */
665
661
  type CngxMatTabHalfWiredSlotSink = (missing: 'contentTemplate' | 'viewContainerRef') => void;
666
662
 
@@ -669,8 +665,6 @@ type CngxMatTabHalfWiredSlotSink = (missing: 'contentTemplate' | 'viewContainerR
669
665
  * the middle cascade tier between a per-instance structural slot and
670
666
  * the built-in fallback. Sibling of `CngxTabsTemplates` /
671
667
  * `CngxStepperTemplates` so consumer templates port across families.
672
- *
673
- * @category ui/mat-tabs
674
668
  */
675
669
  interface CngxMatTabsTemplates {
676
670
  /**
@@ -692,8 +686,6 @@ interface CngxMatTabsTemplates {
692
686
  * (component scope), which wins over `provideMatTabsConfig(...)`
693
687
  * (root), which wins over the library defaults captured by
694
688
  * {@link CNGX_MAT_TABS_CONFIG_DEFAULTS}.
695
- *
696
- * @category ui/mat-tabs
697
689
  */
698
690
  interface CngxMatTabsConfig {
699
691
  /**
@@ -751,9 +743,8 @@ declare const CNGX_MAT_TABS_CONFIG_DEFAULTS: {
751
743
  * {@link injectMatTabsConfig}, which merges with the library
752
744
  * defaults so callers never see `undefined`.
753
745
  *
754
- * @category ui/mat-tabs
755
746
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-tabs/mat-tabs-config.ts
756
- * @since 0.1.0
747
+ * @since 0.3.0
757
748
  */
758
749
  declare const CNGX_MAT_TABS_CONFIG: InjectionToken<CngxMatTabsConfig>;
759
750
  /**
@@ -763,8 +754,6 @@ declare const CNGX_MAT_TABS_CONFIG: InjectionToken<CngxMatTabsConfig>;
763
754
  * cross-family aggregator (`provideCngxMatTabs`) that dispatches
764
755
  * features to the right provider - analogous to `_target: 'select'`
765
756
  * in the select family.
766
- *
767
- * @category ui/mat-tabs
768
757
  */
769
758
  interface CngxMatTabsConfigFeature {
770
759
  readonly config: Partial<CngxMatTabsConfig>;
@@ -774,15 +763,11 @@ interface CngxMatTabsConfigFeature {
774
763
  /**
775
764
  * Cap on the `[cngxMatTabs]` overflow-anchor retry loop.
776
765
  * See {@link CngxMatTabsConfig.anchorMaxAttempts} for default + rationale.
777
- *
778
- * @category ui/mat-tabs
779
766
  */
780
767
  declare function withAnchorRetryAttempts(n: number): CngxMatTabsConfigFeature;
781
768
  /**
782
769
  * Override the half-wired-slot diagnostic sink.
783
770
  * See {@link CngxMatTabsConfig.halfWiredSlotSink}.
784
- *
785
- * @category ui/mat-tabs
786
771
  */
787
772
  declare function withHalfWiredSlotSink(sink: CngxMatTabHalfWiredSlotSink): CngxMatTabsConfigFeature;
788
773
  /**
@@ -790,8 +775,6 @@ declare function withHalfWiredSlotSink(sink: CngxMatTabHalfWiredSlotSink): CngxM
790
775
  * tier; per-instance `*cngxMatTabRejectionContent` still wins.
791
776
  * Sibling of {@link withTabRejectionIconTemplate} in the cngx-native
792
777
  * family.
793
- *
794
- * @category ui/mat-tabs
795
778
  */
796
779
  declare function withMatTabRejectionTemplate(template: TemplateRef<CngxMatTabRejectionContentContext>): CngxMatTabsConfigFeature;
797
780
  /**
@@ -809,8 +792,6 @@ declare function withMatTabRejectionTemplate(template: TemplateRef<CngxMatTabRej
809
792
  * ],
810
793
  * });
811
794
  * ```
812
- *
813
- * @category ui/mat-tabs
814
795
  */
815
796
  declare function provideMatTabsConfig(...features: CngxMatTabsConfigFeature[]): EnvironmentProviders;
816
797
  /**
@@ -833,8 +814,6 @@ declare function provideMatTabsConfig(...features: CngxMatTabsConfigFeature[]):
833
814
  * ...
834
815
  * })
835
816
  * ```
836
- *
837
- * @category ui/mat-tabs
838
817
  */
839
818
  declare function provideMatTabsConfigAt(...features: CngxMatTabsConfigFeature[]): Provider[];
840
819
  /**
@@ -846,8 +825,6 @@ declare function provideMatTabsConfigAt(...features: CngxMatTabsConfigFeature[])
846
825
  * 1. `CNGX_MAT_TABS_CONFIG` value (set via
847
826
  * {@link provideMatTabsConfig} / {@link provideMatTabsConfigAt}).
848
827
  * 2. {@link CNGX_MAT_TABS_CONFIG_DEFAULTS} (library default).
849
- *
850
- * @category ui/mat-tabs
851
828
  */
852
829
  declare function injectMatTabsConfig(): Required<CngxMatTabsConfig>;
853
830
 
@@ -873,8 +850,6 @@ declare function injectMatTabsConfig(): Required<CngxMatTabsConfig>;
873
850
  * grouped name through ESLint's `@typescript-eslint` type resolver
874
851
  * - a flat `export * as` re-export from `public-api.ts` does not
875
852
  * resolve nested members through the path-alias.
876
- *
877
- * @category ui/mat-tabs
878
853
  */
879
854
 
880
855
  declare namespace MaterialPrivateSurfaces {
@@ -1083,9 +1058,8 @@ declare function mountLiveRegionAnnouncer(opts: CngxMatBridgeLiveRegionOptions):
1083
1058
  * ]
1084
1059
  * ```
1085
1060
  *
1086
- * @category ui/mat-tabs
1087
1061
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/mat-tabs/overflow/mat-tab-overflow-dom-adapter.ts
1088
- * @since 0.1.0
1062
+ * @since 0.3.0
1089
1063
  * @relatedTo CngxTabOverflow, CngxMatTabs, CNGX_TAB_OVERFLOW_DOM_ADAPTER_FACTORY
1090
1064
  */
1091
1065
  declare function createCngxMatTabOverflowDomAdapter(): CngxTabOverflowDomAdapter;