@cngx/ui 0.1.0-rc.8 → 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 (108) 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 +9 -5
  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 +55 -60
  12. package/fesm2022/cngx-ui-accordion.mjs.map +1 -1
  13. package/fesm2022/cngx-ui-action-button.mjs +220 -339
  14. package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
  15. package/fesm2022/cngx-ui-breadcrumb.mjs +100 -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 -34
  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 +138 -89
  24. package/fesm2022/cngx-ui-context-menu.mjs.map +1 -1
  25. package/fesm2022/cngx-ui-data-grid-accordion.mjs +135 -77
  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 +648 -495
  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 +6 -7
  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 +315 -134
  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 +212 -188
  46. package/fesm2022/cngx-ui-paginator.mjs.map +1 -1
  47. package/fesm2022/cngx-ui-sidenav.mjs +872 -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 +259 -130
  56. package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
  57. package/fesm2022/cngx-ui-tabs.mjs +148 -50
  58. package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
  59. package/fesm2022/cngx-ui-timeline.mjs +48 -32
  60. package/fesm2022/cngx-ui-timeline.mjs.map +1 -1
  61. package/fesm2022/cngx-ui-toc.mjs +59 -48
  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 +57 -19
  66. package/mat-tabs/styles/mat-tabs.css +285 -163
  67. package/nav-rail/README.md +325 -0
  68. package/package.json +37 -8
  69. package/paginator/README.md +10 -0
  70. package/schematics/collection.json +9 -0
  71. package/schematics/ng-add/index.js +9 -0
  72. package/schematics/ng-add/schema.json +96 -0
  73. package/schematics/package.json +3 -0
  74. package/sidenav/README.md +150 -55
  75. package/skeleton/README.md +1 -1
  76. package/speak/README.md +1 -2
  77. package/stepper/README.md +20 -5
  78. package/tabs/README.md +13 -0
  79. package/timeline/README.md +1 -1
  80. package/toc/README.md +1 -1
  81. package/types/cngx-ui-a11y.d.ts +20 -38
  82. package/types/cngx-ui-accordion.d.ts +46 -71
  83. package/types/cngx-ui-action-button.d.ts +113 -151
  84. package/types/cngx-ui-breadcrumb.d.ts +60 -85
  85. package/types/cngx-ui-chart-panel.d.ts +22 -40
  86. package/types/cngx-ui-collection.d.ts +30 -43
  87. package/types/cngx-ui-command-palette.d.ts +40 -64
  88. package/types/cngx-ui-context-menu.d.ts +109 -48
  89. package/types/cngx-ui-data-grid-accordion.d.ts +50 -75
  90. package/types/cngx-ui-empty-state.d.ts +18 -8
  91. package/types/cngx-ui-feedback.d.ts +275 -292
  92. package/types/cngx-ui-layout.d.ts +4 -12
  93. package/types/cngx-ui-mat-accordion.d.ts +5 -5
  94. package/types/cngx-ui-mat-paginator.d.ts +4 -10
  95. package/types/cngx-ui-mat-stepper.d.ts +5 -10
  96. package/types/cngx-ui-mat-tabs.d.ts +86 -89
  97. package/types/cngx-ui-nav-rail.d.ts +416 -0
  98. package/types/cngx-ui-overlay.d.ts +4 -13
  99. package/types/cngx-ui-paginator.d.ts +186 -161
  100. package/types/cngx-ui-sidenav.d.ts +557 -437
  101. package/types/cngx-ui-skeleton.d.ts +7 -13
  102. package/types/cngx-ui-speak.d.ts +40 -24
  103. package/types/cngx-ui-stat-card.d.ts +45 -36
  104. package/types/cngx-ui-stepper.d.ts +205 -84
  105. package/types/cngx-ui-tabs.d.ts +104 -28
  106. package/types/cngx-ui-timeline.d.ts +31 -51
  107. package/types/cngx-ui-toc.d.ts +43 -54
  108. package/types/cngx-ui.d.ts +1 -1
@@ -6,9 +6,8 @@ import { CngxDensityValue, CngxTextScaleValue, CngxMotionPreference, CngxContras
6
6
  * The four accessibility axes the panel can render a control group for.
7
7
  * Each maps 1:1 onto a writable signal returned by `injectA11yPreferences()`.
8
8
  *
9
- * @category ui/a11y
10
9
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
11
- * @since 0.1.0
10
+ * @since 0.3.0
12
11
  */
13
12
  type CngxA11yPanelAxis = 'density' | 'textScale' | 'motion' | 'contrast';
14
13
  /**
@@ -18,10 +17,9 @@ type CngxA11yPanelAxis = 'density' | 'textScale' | 'motion' | 'contrast';
18
17
  * than reaching the global preference signal. An option without a `label`
19
18
  * reads it from the `a11yPanel` section of the language pack, by value.
20
19
  *
21
- * @category ui/a11y
22
20
  * @relatedTo withA11yPanelAxes
23
21
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
24
- * @since 0.1.0
22
+ * @since 0.3.0
25
23
  */
26
24
  interface CngxA11yPanelAxisOption<V extends string = string> {
27
25
  /** Value written to the axis signal - a valid member of that axis' union. */
@@ -41,10 +39,9 @@ interface CngxA11yPanelAxisOption<V extends string = string> {
41
39
  * not a garbage value written to `<html data-density>`. Reorder or drop axes
42
40
  * by supplying a subset via `withA11yPanelAxes`.
43
41
  *
44
- * @category ui/a11y
45
42
  * @relatedTo withA11yPanelAxes
46
43
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
47
- * @since 0.1.0
44
+ * @since 0.3.0
48
45
  */
49
46
  type CngxA11yPanelAxisSpec = {
50
47
  readonly axis: 'density';
@@ -70,9 +67,8 @@ type CngxA11yPanelAxisSpec = {
70
67
  * `a11yPanel` section of the language pack (English without one); override
71
68
  * single keys via {@link withA11yPanelLabels}.
72
69
  *
73
- * @category ui/a11y
74
70
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
75
- * @since 0.1.0
71
+ * @since 0.3.0
76
72
  */
77
73
  interface CngxA11yPanelLabels {
78
74
  /** Group label (the accessible name) per axis. */
@@ -95,9 +91,8 @@ interface CngxA11yPanelLabels {
95
91
  * `Signal`; its option labels are optional and default to the section. Read
96
92
  * both through {@link injectA11yPanelLabels} and {@link injectA11yPanelAxes}.
97
93
  *
98
- * @category ui/a11y
99
94
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
100
- * @since 0.1.0
95
+ * @since 0.3.0
101
96
  */
102
97
  interface CngxA11yPanelConfig {
103
98
  readonly labels?: CngxA11yPanelLabelsOverride | Signal<CngxA11yPanelLabelsOverride>;
@@ -108,10 +103,9 @@ interface CngxA11yPanelConfig {
108
103
  * record merges key-by-key, so a consumer can relabel one axis group without
109
104
  * restating the rest.
110
105
  *
111
- * @category ui/a11y
112
106
  * @relatedTo withA11yPanelLabels
113
107
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
114
- * @since 0.1.0
108
+ * @since 0.3.0
115
109
  */
116
110
  interface CngxA11yPanelLabelsOverride {
117
111
  readonly axes?: Partial<Record<CngxA11yPanelAxis, string>>;
@@ -133,10 +127,9 @@ declare const CNGX_A11Y_PANEL_DEFAULTS: CngxA11yPanelConfig & {
133
127
  * `provideA11yPanelConfig(...)` at the application root, then the library
134
128
  * defaults.
135
129
  *
136
- * @category ui/a11y
137
130
  * @relatedTo provideA11yPanelConfig
138
131
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
139
- * @since 0.1.0
132
+ * @since 0.3.0
140
133
  */
141
134
  declare const CNGX_A11Y_PANEL_CONFIG: InjectionToken<CngxA11yPanelConfig>;
142
135
  /**
@@ -144,9 +137,8 @@ declare const CNGX_A11Y_PANEL_CONFIG: InjectionToken<CngxA11yPanelConfig>;
144
137
  * reducer in {@link provideA11yPanelConfig} matches on `kind`: `labels` deep-
145
138
  * merges the text bundle, `axes` replaces the axis list wholesale.
146
139
  *
147
- * @category ui/a11y
148
140
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
149
- * @since 0.1.0
141
+ * @since 0.3.0
150
142
  */
151
143
  type CngxA11yPanelConfigFeature = {
152
144
  readonly kind: 'labels';
@@ -171,10 +163,9 @@ type CngxA11yPanelConfigFeature = {
171
163
  * );
172
164
  * ```
173
165
  *
174
- * @category ui/a11y
175
166
  * @relatedTo provideA11yPanelConfig
176
167
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
177
- * @since 0.1.0
168
+ * @since 0.3.0
178
169
  */
179
170
  declare function withA11yPanelLabels(payload: CngxA11yPanelLabelsOverride | Signal<CngxA11yPanelLabelsOverride>): CngxA11yPanelConfigFeature;
180
171
  /**
@@ -195,10 +186,9 @@ declare function withA11yPanelLabels(payload: CngxA11yPanelLabelsOverride | Sign
195
186
  * );
196
187
  * ```
197
188
  *
198
- * @category ui/a11y
199
189
  * @relatedTo provideA11yPanelConfig
200
190
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
201
- * @since 0.1.0
191
+ * @since 0.3.0
202
192
  */
203
193
  declare function withA11yPanelAxes(payload: readonly CngxA11yPanelAxisSpec[] | Signal<readonly CngxA11yPanelAxisSpec[]>): CngxA11yPanelConfigFeature;
204
194
  /**
@@ -207,12 +197,11 @@ declare function withA11yPanelAxes(payload: readonly CngxA11yPanelAxisSpec[] | S
207
197
  * supplied features merge with the library defaults, so consumers only declare
208
198
  * what they override.
209
199
  *
210
- * @category ui/a11y
211
200
  * @relatedTo withA11yPanelLabels
212
201
  * @relatedTo withA11yPanelAxes
213
202
  * @relatedTo injectA11yPanelConfig
214
203
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
215
- * @since 0.1.0
204
+ * @since 0.3.0
216
205
  */
217
206
  declare function provideA11yPanelConfig(...features: CngxA11yPanelConfigFeature[]): EnvironmentProviders;
218
207
  /**
@@ -237,10 +226,9 @@ declare function provideA11yPanelConfig(...features: CngxA11yPanelConfigFeature[
237
226
  * })
238
227
  * ```
239
228
  *
240
- * @category ui/a11y
241
229
  * @relatedTo provideA11yPanelConfig
242
230
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
243
- * @since 0.1.0
231
+ * @since 0.3.0
244
232
  */
245
233
  declare function provideA11yPanelConfigAt(...features: CngxA11yPanelConfigFeature[]): Provider[];
246
234
  /**
@@ -248,10 +236,9 @@ declare function provideA11yPanelConfigAt(...features: CngxA11yPanelConfigFeatur
248
236
  * injection context; resolves through the cascade. Equivalent to
249
237
  * `inject(CNGX_A11Y_PANEL_CONFIG)`.
250
238
  *
251
- * @category ui/a11y
252
239
  * @relatedTo provideA11yPanelConfig
253
240
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
254
- * @since 0.1.0
241
+ * @since 0.3.0
255
242
  */
256
243
  declare function injectA11yPanelConfig(): CngxA11yPanelConfig;
257
244
  /**
@@ -261,10 +248,9 @@ declare function injectA11yPanelConfig(): CngxA11yPanelConfig;
261
248
  * config leaves unset, `null` or `undefined` reads the section. Runs in an
262
249
  * injection context; read it inside a `computed()`, a template or a handler.
263
250
  *
264
- * @category ui/a11y
265
251
  * @relatedTo withA11yPanelLabels
266
252
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
267
- * @since 0.1.0
253
+ * @since 0.3.0
268
254
  */
269
255
  declare function injectA11yPanelLabels(): Signal<CngxA11yPanelLabels>;
270
256
  /**
@@ -273,10 +259,9 @@ declare function injectA11yPanelLabels(): Signal<CngxA11yPanelLabels>;
273
259
  * Every option without its own `label` carries the label for its value from
274
260
  * the `a11yPanel` section of the active pack. Runs in an injection context.
275
261
  *
276
- * @category ui/a11y
277
262
  * @relatedTo withA11yPanelAxes
278
263
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.config.ts
279
- * @since 0.1.0
264
+ * @since 0.3.0
280
265
  */
281
266
  declare function injectA11yPanelAxes(): Signal<readonly CngxA11yPanelAxisSpec[]>;
282
267
 
@@ -317,14 +302,13 @@ interface CngxA11yPanelAxisView {
317
302
  * <cngx-a11y-panel />
318
303
  * ```
319
304
  *
320
- * @category ui/a11y
321
- * @docsKind primary
322
305
  * @wcag AA
323
306
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/a11y/a11y-panel.component.ts
324
307
  * @selector cngx-a11y-panel
325
- * @since 0.1.0
308
+ * @since 0.3.0
326
309
  * @relatedTo CngxCard, CngxButtonToggleGroup, CngxLiveAnnouncer, provideA11yPreferences, provideA11yPanelConfig
327
- * <example-url>http://localhost:4200/#/ui/a11y/panel/inline</example-url>
310
+ * <example-url>/#/ui/a11y/panel/inline</example-url>
311
+ * @axis level organism
328
312
  */
329
313
  declare class CngxA11yPanel {
330
314
  private readonly announcer;
@@ -352,8 +336,7 @@ declare class CngxA11yPanel {
352
336
  * records label the toggle options by value, so an axis list from
353
337
  * `withA11yPanelAxes` without option labels reads them from here.
354
338
  *
355
- * @category ui/a11y/i18n
356
- * @since 0.1.0
339
+ * @since 0.3.0
357
340
  * @relatedTo CNGX_A11Y_PANEL_CONFIG, withA11yPanelLabels, withA11yPanelAxes
358
341
  */
359
342
  interface CngxA11yPanelLanguageSection {
@@ -379,8 +362,7 @@ interface CngxA11yPanelLanguageSection {
379
362
  * English copy. The `CNGX_A11Y_PANEL_CONFIG` labels and option labels default
380
363
  * to it.
381
364
  *
382
- * @category ui/a11y/i18n
383
- * @since 0.1.0
365
+ * @since 0.3.0
384
366
  * @relatedTo CNGX_A11Y_PANEL_CONFIG
385
367
  */
386
368
  declare const CNGX_A11Y_PANEL_LANGUAGE_EN: CngxA11yPanelLanguageSection;
@@ -2,7 +2,6 @@ import * as _angular_core from '@angular/core';
2
2
  import { InjectionToken, Signal, TemplateRef, EnvironmentProviders, Provider } from '@angular/core';
3
3
  import { AsyncStatus, CngxAsyncState } from '@cngx/core/utils';
4
4
  import * as i1 from '@cngx/common/interactive';
5
- import * as _cngx_ui_accordion from '@cngx/ui/accordion';
6
5
 
7
6
  /**
8
7
  * UI-local context a {@link CngxAccordionGroup} exposes so each
@@ -11,9 +10,8 @@ import * as _cngx_ui_accordion from '@cngx/ui/accordion';
11
10
  * from the headless `CNGX_ACCORDION` brain contract, which stays
12
11
  * skin-agnostic - heading semantics are a skin concern.
13
12
  *
14
- * @category ui/accordion
15
13
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/accordion/accordion-group.token.ts
16
- * @since 0.1.0
14
+ * @since 0.3.0
17
15
  * @relatedTo CngxAccordionGroup, CngxAccordionItem
18
16
  */
19
17
  interface CngxAccordionGroupContext {
@@ -24,9 +22,8 @@ interface CngxAccordionGroupContext {
24
22
  * DI token for the {@link CngxAccordionGroupContext}. {@link CngxAccordionGroup}
25
23
  * provides it via `useExisting`; each `CngxAccordionItem` injects it.
26
24
  *
27
- * @category ui/accordion
28
25
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/accordion/accordion-group.token.ts
29
- * @since 0.1.0
26
+ * @since 0.3.0
30
27
  * @relatedTo CngxAccordionGroup, CngxAccordionItem
31
28
  */
32
29
  declare const CNGX_ACCORDION_GROUP: InjectionToken<CngxAccordionGroupContext>;
@@ -34,8 +31,6 @@ declare const CNGX_ACCORDION_GROUP: InjectionToken<CngxAccordionGroupContext>;
34
31
  /**
35
32
  * Template context for {@link CngxAccordionItemIcon}: `$implicit` is the item's
36
33
  * current expanded state, so the override can render an open/closed glyph.
37
- *
38
- * @category ui/accordion
39
34
  */
40
35
  interface CngxAccordionItemIconContext {
41
36
  readonly $implicit: boolean;
@@ -55,10 +50,9 @@ interface CngxAccordionItemIconContext {
55
50
  * </cngx-accordion-item>
56
51
  * ```
57
52
  *
58
- * @category ui/accordion
59
53
  * @wcag AA
60
54
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/accordion/accordion-item-icon.directive.ts
61
- * @since 0.1.0
55
+ * @since 0.3.0
62
56
  * @relatedTo CngxAccordionItem, CngxAccordionItemContent
63
57
  */
64
58
  declare class CngxAccordionItemIcon {
@@ -78,8 +72,6 @@ declare class CngxAccordionItemIcon {
78
72
  * the busy slot, `error` in the error slot). `message` carries the resolved
79
73
  * error string in the error state and is empty in the busy state, so an error
80
74
  * override can render the announced text (and a retry) without re-deriving it.
81
- *
82
- * @category ui/accordion
83
75
  */
84
76
  interface CngxAccordionItemStateContext {
85
77
  readonly $implicit: AsyncStatus;
@@ -100,8 +92,7 @@ interface CngxAccordionItemStateContext {
100
92
  * `'severity-spine'` a full-height priority spine; `'primary-frame'` a solid
101
93
  * primary border + glow on open.
102
94
  *
103
- * @category ui/accordion
104
- * @since 0.1.0
95
+ * @since 0.3.0
105
96
  */
106
97
  type CngxAccordionSkin = 'editorial' | 'categorized' | 'plus-minus' | 'lux' | 'bento' | 'section-bands' | 'timeline' | 'severity-spine' | 'primary-frame';
107
98
  /**
@@ -110,8 +101,7 @@ type CngxAccordionSkin = 'editorial' | 'categorized' | 'plus-minus' | 'lux' | 'b
110
101
  * the `--cngx-color-danger` / `-warning` / `-info` tokens). Structural only - it
111
102
  * changes no ARIA and no behaviour, and unset items simply carry no severity.
112
103
  *
113
- * @category ui/accordion
114
- * @since 0.1.0
104
+ * @since 0.3.0
115
105
  */
116
106
  type CngxAccordionSeverity = 'error' | 'warning' | 'info';
117
107
  /**
@@ -131,8 +121,7 @@ type CngxAccordionSeverity = 'error' | 'warning' | 'info';
131
121
  * {@link injectAccordionLabels} fills every unset key from the `accordion`
132
122
  * section of the language pack, so a reader never observes a partial shape.
133
123
  *
134
- * @category ui/accordion
135
- * @since 0.1.0
124
+ * @since 0.3.0
136
125
  */
137
126
  interface CngxAccordionConfig {
138
127
  /**
@@ -209,18 +198,25 @@ interface CngxAccordionConfig {
209
198
  * </cngx-accordion-group>
210
199
  * ```
211
200
  *
212
- * @category ui/accordion
213
- * @docsKind primary
214
201
  * @wcag AA
215
202
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/accordion/accordion-group.component.ts
216
- * @since 0.1.0
203
+ * @since 0.3.0
217
204
  * @relatedTo CngxAccordionItem, CngxAccordion, createAccordionKeyboardNav
218
205
  *
219
- * <example-url>http://localhost:4200/#/ui/accordion/single-open/basic</example-url>
220
- * <example-url>http://localhost:4200/#/ui/accordion/multi-open/independent</example-url>
221
- * <example-url>http://localhost:4200/#/ui/accordion/controlled-open/initial-open</example-url>
222
- * <example-url>http://localhost:4200/#/ui/accordion/config/app-wide-labels</example-url>
223
- * <example-url>http://localhost:4200/#/ui/accordion/skins/editorial</example-url>
206
+ * <example-url>/#/ui/accordion/single-open/basic</example-url>
207
+ * <example-url>/#/ui/accordion/multi-open/independent</example-url>
208
+ * <example-url>/#/ui/accordion/controlled-open/initial-open</example-url>
209
+ * <example-url>/#/ui/accordion/config/app-wide-labels</example-url>
210
+ * <example-url>/#/ui/accordion/skins/bento</example-url>
211
+ * <example-url>/#/ui/accordion/skins/categorized</example-url>
212
+ * <example-url>/#/ui/accordion/skins/editorial</example-url>
213
+ * <example-url>/#/ui/accordion/skins/lux</example-url>
214
+ * <example-url>/#/ui/accordion/skins/plus-minus</example-url>
215
+ * <example-url>/#/ui/accordion/skins/primary-frame</example-url>
216
+ * <example-url>/#/ui/accordion/skins/section-bands</example-url>
217
+ * <example-url>/#/ui/accordion/skins/severity-spine</example-url>
218
+ * <example-url>/#/ui/accordion/skins/timeline</example-url>
219
+ * @axis level organism
224
220
  */
225
221
  declare class CngxAccordionGroup implements CngxAccordionGroupContext {
226
222
  private readonly config;
@@ -270,10 +266,9 @@ declare class CngxAccordionGroup implements CngxAccordionGroupContext {
270
266
  * </cngx-accordion-item>
271
267
  * ```
272
268
  *
273
- * @category ui/accordion
274
269
  * @wcag AA
275
270
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/accordion/accordion-item-busy.directive.ts
276
- * @since 0.1.0
271
+ * @since 0.3.0
277
272
  * @relatedTo CngxAccordionItem, CngxAccordionItemError
278
273
  */
279
274
  declare class CngxAccordionItemBusy {
@@ -299,10 +294,9 @@ declare class CngxAccordionItemBusy {
299
294
  * </cngx-accordion-item>
300
295
  * ```
301
296
  *
302
- * @category ui/accordion
303
297
  * @wcag AA
304
298
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/accordion/accordion-item-content.directive.ts
305
- * @since 0.1.0
299
+ * @since 0.3.0
306
300
  * @relatedTo CngxAccordionItem, CngxAccordionItemTitle
307
301
  */
308
302
  declare class CngxAccordionItemContent {
@@ -332,10 +326,9 @@ declare class CngxAccordionItemContent {
332
326
  * </cngx-accordion-item>
333
327
  * ```
334
328
  *
335
- * @category ui/accordion
336
329
  * @wcag AA
337
330
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/accordion/accordion-item-error.directive.ts
338
- * @since 0.1.0
331
+ * @since 0.3.0
339
332
  * @relatedTo CngxAccordionItem, CngxAccordionItemBusy
340
333
  */
341
334
  declare class CngxAccordionItemError {
@@ -361,10 +354,9 @@ declare class CngxAccordionItemError {
361
354
  * </cngx-accordion-item>
362
355
  * ```
363
356
  *
364
- * @category ui/accordion
365
357
  * @wcag AA
366
358
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/accordion/accordion-item-subtitle.directive.ts
367
- * @since 0.1.0
359
+ * @since 0.3.0
368
360
  * @relatedTo CngxAccordionItem, CngxAccordionItemTitle
369
361
  */
370
362
  declare class CngxAccordionItemSubtitle {
@@ -385,21 +377,19 @@ declare class CngxAccordionItemSubtitle {
385
377
  * that `aria-describedby` always points at (IDREF never dangles); only the
386
378
  * element's `aria-hidden` and text toggle with `disabled()`.
387
379
  *
388
- * @category ui/accordion
389
- * @docsKind primary
390
380
  * @wcag AA
391
381
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/accordion/accordion-item.component.ts
392
- * @since 0.1.0
382
+ * @since 0.3.0
393
383
  * @relatedTo CngxAccordionGroup, CngxAccordionPanel
394
384
  * @slot cngxAccordionItemIcon Replaces the item's expand/collapse chevron.
395
385
  * @slot cngxAccordionItemContent The panel body, rendered lazily when the item opens.
396
386
  * @slot cngxAccordionItemBusy Rendered over the item while its content loads.
397
387
  * @slot cngxAccordionItemError Rendered when the item's content failed to load.
398
388
  *
399
- * <example-url>http://localhost:4200/#/ui/accordion/async-panel/lazy-fetch</example-url>
400
- * <example-url>http://localhost:4200/#/ui/accordion/disabled-lazy/disabled-and-lazy</example-url>
401
- * <example-url>http://localhost:4200/#/ui/accordion/custom-chevron/icon-slot</example-url>
402
- * <example-url>http://localhost:4200/#/ui/accordion/panel-content/table</example-url>
389
+ * <example-url>/#/ui/accordion/async-panel/lazy-fetch</example-url>
390
+ * <example-url>/#/ui/accordion/disabled-lazy/disabled-and-lazy</example-url>
391
+ * <example-url>/#/ui/accordion/custom-chevron/icon-slot</example-url>
392
+ * <example-url>/#/ui/accordion/panel-content/table</example-url>
403
393
  */
404
394
  declare class CngxAccordionItem {
405
395
  private readonly config;
@@ -450,8 +440,8 @@ declare class CngxAccordionItem {
450
440
  * consumer wires the fetch; the item only communicates the state it is handed.
451
441
  */
452
442
  readonly state: _angular_core.InputSignal<AsyncStatus | CngxAsyncState<unknown> | undefined>;
443
+ protected readonly group: CngxAccordionGroupContext;
453
444
  private readonly accordion;
454
- protected readonly group: _cngx_ui_accordion.CngxAccordionGroupContext;
455
445
  protected readonly regionId: string;
456
446
  protected readonly headerId: string;
457
447
  protected readonly titleId: string;
@@ -552,10 +542,9 @@ declare class CngxAccordionItem {
552
542
  * </cngx-accordion-item>
553
543
  * ```
554
544
  *
555
- * @category ui/accordion
556
545
  * @wcag AA
557
546
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/accordion/accordion-item-title.directive.ts
558
- * @since 0.1.0
547
+ * @since 0.3.0
559
548
  * @relatedTo CngxAccordionItem
560
549
  */
561
550
  declare class CngxAccordionItemTitle {
@@ -579,10 +568,9 @@ declare class CngxAccordionItemTitle {
579
568
  * </cngx-accordion-item>
580
569
  * ```
581
570
  *
582
- * @category ui/accordion
583
571
  * @wcag AA
584
572
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/accordion/accordion-item-leading.directive.ts
585
- * @since 0.1.0
573
+ * @since 0.3.0
586
574
  * @relatedTo CngxAccordionItem, CngxAccordionItemMeta
587
575
  */
588
576
  declare class CngxAccordionItemLeading {
@@ -607,10 +595,9 @@ declare class CngxAccordionItemLeading {
607
595
  * </cngx-accordion-item>
608
596
  * ```
609
597
  *
610
- * @category ui/accordion
611
598
  * @wcag AA
612
599
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/accordion/accordion-item-meta.directive.ts
613
- * @since 0.1.0
600
+ * @since 0.3.0
614
601
  * @relatedTo CngxAccordionItem, CngxAccordionItemLeading
615
602
  */
616
603
  declare class CngxAccordionItemMeta {
@@ -634,9 +621,8 @@ declare class CngxAccordionItemMeta {
634
621
  * `provideAccordionConfigAt(...)` in a component's `viewProviders` (sub-tree
635
622
  * cascade).
636
623
  *
637
- * @category ui/accordion
638
624
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/accordion/config/accordion.config.defaults.ts
639
- * @since 0.1.0
625
+ * @since 0.3.0
640
626
  */
641
627
  declare const CNGX_ACCORDION_CONFIG: InjectionToken<CngxAccordionConfig>;
642
628
 
@@ -648,8 +634,7 @@ declare const CNGX_ACCORDION_CONFIG: InjectionToken<CngxAccordionConfig>;
648
634
  * `@cngx/ui/breadcrumb` so the consumer's mental model is one across feature
649
635
  * areas.
650
636
  *
651
- * @category ui/accordion
652
- * @since 0.1.0
637
+ * @since 0.3.0
653
638
  */
654
639
  type CngxAccordionConfigFeature = {
655
640
  readonly kind: 'labels';
@@ -697,8 +682,7 @@ type CngxAccordionConfigFeature = {
697
682
  * });
698
683
  * ```
699
684
  *
700
- * @category ui/accordion
701
- * @since 0.1.0
685
+ * @since 0.3.0
702
686
  */
703
687
  declare function provideAccordionConfig(...features: CngxAccordionConfigFeature[]): EnvironmentProviders;
704
688
  /**
@@ -723,8 +707,7 @@ declare function provideAccordionConfig(...features: CngxAccordionConfigFeature[
723
707
  * class Section {}
724
708
  * ```
725
709
  *
726
- * @category ui/accordion
727
- * @since 0.1.0
710
+ * @since 0.3.0
728
711
  */
729
712
  declare function provideAccordionConfigAt(...features: CngxAccordionConfigFeature[]): Provider[];
730
713
 
@@ -745,8 +728,7 @@ declare function provideAccordionConfigAt(...features: CngxAccordionConfigFeatur
745
728
  * );
746
729
  * ```
747
730
  *
748
- * @category ui/accordion
749
- * @since 0.1.0
731
+ * @since 0.3.0
750
732
  */
751
733
  declare function withAccordionLabels(payload: {
752
734
  disabledReason?: string | Signal<string>;
@@ -761,8 +743,7 @@ declare function withAccordionLabels(payload: {
761
743
  * provideAccordionConfig(withDefaultHeadingLevel(2));
762
744
  * ```
763
745
  *
764
- * @category ui/accordion
765
- * @since 0.1.0
746
+ * @since 0.3.0
766
747
  */
767
748
  declare function withDefaultHeadingLevel(headingLevel: number): CngxAccordionConfigFeature;
768
749
  /**
@@ -776,8 +757,7 @@ declare function withDefaultHeadingLevel(headingLevel: number): CngxAccordionCon
776
757
  * provideAccordionConfig(withAccordionSkin('categorized'));
777
758
  * ```
778
759
  *
779
- * @category ui/accordion
780
- * @since 0.1.0
760
+ * @since 0.3.0
781
761
  */
782
762
  declare function withAccordionSkin(skin: CngxAccordionSkin): CngxAccordionConfigFeature;
783
763
  /**
@@ -795,8 +775,7 @@ declare function withAccordionSkin(skin: CngxAccordionSkin): CngxAccordionConfig
795
775
  * );
796
776
  * ```
797
777
  *
798
- * @category ui/accordion
799
- * @since 0.1.0
778
+ * @since 0.3.0
800
779
  */
801
780
  declare function withAccordionTemplates(payload: NonNullable<CngxAccordionConfig['templates']>): CngxAccordionConfigFeature;
802
781
 
@@ -806,8 +785,7 @@ declare function withAccordionTemplates(payload: NonNullable<CngxAccordionConfig
806
785
  * `CNGX_ACCORDION_CONFIG`; a key set through `withAccordionLabels` or a bound
807
786
  * `[disabledReason]` / `[errorMessage]` still wins.
808
787
  *
809
- * @category ui/accordion/i18n
810
- * @since 0.1.0
788
+ * @since 0.3.0
811
789
  * @relatedTo CNGX_ACCORDION_CONFIG, withAccordionLabels
812
790
  */
813
791
  interface CngxAccordionLanguageSection {
@@ -820,8 +798,7 @@ interface CngxAccordionLanguageSection {
820
798
  * The English accordion section: the single source of the accordion's English
821
799
  * copy. The `CNGX_ACCORDION_CONFIG` copy keys default to it.
822
800
  *
823
- * @category ui/accordion/i18n
824
- * @since 0.1.0
801
+ * @since 0.3.0
825
802
  * @relatedTo CNGX_ACCORDION_CONFIG
826
803
  */
827
804
  declare const CNGX_ACCORDION_LANGUAGE_EN: CngxAccordionLanguageSection;
@@ -843,8 +820,7 @@ declare module '@cngx/core/i18n' {
843
820
  * the resolved copy (overrides over the language pack) through
844
821
  * {@link injectAccordionLabels}.
845
822
  *
846
- * @category ui/accordion
847
- * @since 0.1.0
823
+ * @since 0.3.0
848
824
  */
849
825
  declare function injectAccordionConfig(): CngxAccordionConfig;
850
826
  /**
@@ -862,8 +838,7 @@ declare function injectAccordionConfig(): CngxAccordionConfig;
862
838
  * }
863
839
  * ```
864
840
  *
865
- * @category ui/accordion
866
- * @since 0.1.0
841
+ * @since 0.3.0
867
842
  */
868
843
  declare function injectAccordionLabels(): Signal<CngxAccordionLanguageSection>;
869
844