@cngx/ui 0.0.1-rc.0 → 0.1.0-rc.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/README.md +22 -48
- package/action-button/README.md +9 -11
- package/empty-state/README.md +11 -26
- package/feedback/README.md +3 -3
- package/fesm2022/cngx-ui-action-button.mjs +30 -26
- package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
- package/fesm2022/cngx-ui-empty-state.mjs +26 -21
- package/fesm2022/cngx-ui-empty-state.mjs.map +1 -1
- package/fesm2022/cngx-ui-feedback.mjs +498 -261
- package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
- package/fesm2022/cngx-ui-layout.mjs +32 -5
- package/fesm2022/cngx-ui-layout.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-stepper.mjs +79 -104
- package/fesm2022/cngx-ui-mat-stepper.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-tabs.mjs +111 -83
- package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui-material.mjs +14 -3
- package/fesm2022/cngx-ui-material.mjs.map +1 -1
- package/fesm2022/cngx-ui-overlay.mjs +22 -3
- package/fesm2022/cngx-ui-overlay.mjs.map +1 -1
- package/fesm2022/cngx-ui-sidenav.mjs +107 -28
- package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
- package/fesm2022/cngx-ui-skeleton.mjs +61 -20
- package/fesm2022/cngx-ui-skeleton.mjs.map +1 -1
- package/fesm2022/cngx-ui-speak.mjs +14 -5
- package/fesm2022/cngx-ui-speak.mjs.map +1 -1
- package/fesm2022/cngx-ui-stepper.mjs +484 -161
- package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
- package/fesm2022/cngx-ui-tabs.mjs +75 -39
- package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui.mjs +2 -1
- package/fesm2022/cngx-ui.mjs.map +1 -1
- package/layout/README.md +9 -44
- package/mat-stepper/README.md +7 -10
- package/mat-tabs/README.md +13 -13
- package/mat-tabs/styles/mat-tabs.css +339 -213
- package/material/README.md +19 -19
- package/overlay/README.md +11 -11
- package/package.json +5 -4
- package/sidenav/README.md +4 -19
- package/skeleton/README.md +3 -17
- package/speak/README.md +15 -15
- package/stepper/README.md +139 -5
- package/tabs/README.md +4 -4
- package/theming/system-tokens.css +29 -0
- package/types/cngx-ui-action-button.d.ts +28 -13
- package/types/cngx-ui-empty-state.d.ts +21 -9
- package/types/cngx-ui-feedback.d.ts +437 -121
- package/types/cngx-ui-layout.d.ts +38 -8
- package/types/cngx-ui-mat-stepper.d.ts +58 -43
- package/types/cngx-ui-mat-tabs.d.ts +122 -72
- package/types/cngx-ui-material.d.ts +12 -1
- package/types/cngx-ui-overlay.d.ts +25 -4
- package/types/cngx-ui-sidenav.d.ts +106 -12
- package/types/cngx-ui-skeleton.d.ts +62 -8
- package/types/cngx-ui-speak.d.ts +10 -2
- package/types/cngx-ui-stepper.d.ts +280 -56
- package/types/cngx-ui-tabs.d.ts +38 -10
- package/types/cngx-ui.d.ts +1 -0
- package/speak/speak-button-theme.scss +0 -78
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { ElementRef } from '@angular/core';
|
|
3
3
|
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Logical position - flips in RTL.
|
|
6
|
+
*
|
|
7
|
+
* @category ui/sidenav
|
|
8
|
+
*/
|
|
5
9
|
type SidenavPosition = 'start' | 'end';
|
|
6
10
|
/**
|
|
7
11
|
* How the sidenav interacts with the content area.
|
|
8
12
|
*
|
|
9
|
-
* - `'over'`
|
|
10
|
-
* - `'push'`
|
|
11
|
-
* - `'side'`
|
|
12
|
-
* - `'mini'`
|
|
13
|
+
* - `'over'` - floats above content (overlay + backdrop)
|
|
14
|
+
* - `'push'` - pushes content aside when open
|
|
15
|
+
* - `'side'` - always visible, content permanently offset
|
|
16
|
+
* - `'mini'` - collapsed icon rail (miniWidth), expands to full width on hover
|
|
17
|
+
*
|
|
18
|
+
* @category ui/sidenav
|
|
13
19
|
*/
|
|
14
20
|
type SidenavMode = 'over' | 'push' | 'side' | 'mini';
|
|
15
21
|
/**
|
|
@@ -35,6 +41,16 @@ type SidenavMode = 'over' | 'push' | 'side' | 'mini';
|
|
|
35
41
|
* </cngx-sidenav-content>
|
|
36
42
|
* </cngx-sidenav-layout>
|
|
37
43
|
* ```
|
|
44
|
+
*
|
|
45
|
+
* @category ui/sidenav
|
|
46
|
+
* @docsKind primary
|
|
47
|
+
* @wcag AA
|
|
48
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/sidenav/sidenav.ts
|
|
49
|
+
* @since 0.1.0
|
|
50
|
+
* @relatedTo CngxSidenavLayout, CngxSidenavContent, CngxSidenavHeader, CngxSidenavFooter
|
|
51
|
+
* <example-url>http://localhost:4200/#/ui/sidenav/dual-sidebar-master-detail</example-url>
|
|
52
|
+
* <example-url>http://localhost:4200/#/ui/sidenav/full-navigation-sidebar</example-url>
|
|
53
|
+
* <example-url>http://localhost:4200/#/ui/sidenav/material-theming-light-vs-dark</example-url>
|
|
38
54
|
*/
|
|
39
55
|
declare class CngxSidenav {
|
|
40
56
|
/** Logical position: `'start'` (default left in LTR) or `'end'` (right in LTR). */
|
|
@@ -78,11 +94,11 @@ declare class CngxSidenav {
|
|
|
78
94
|
/** @internal Reference to host element for layout positioning. */
|
|
79
95
|
readonly elementRef: ElementRef<any>;
|
|
80
96
|
private readonly mediaMatches;
|
|
81
|
-
/** Resolved mode
|
|
97
|
+
/** Resolved mode - responsive overrides to `'side'` when matching, falls back to `mode()`. */
|
|
82
98
|
readonly effectiveMode: _angular_core.Signal<SidenavMode>;
|
|
83
99
|
/** Whether this sidenav is in overlay mode (over). */
|
|
84
100
|
readonly isOverlay: _angular_core.Signal<boolean>;
|
|
85
|
-
/** Resolved width
|
|
101
|
+
/** Resolved width - mini mode uses miniWidth unless expanded. */
|
|
86
102
|
readonly effectiveWidth: _angular_core.Signal<string>;
|
|
87
103
|
private readonly doc;
|
|
88
104
|
private readonly win;
|
|
@@ -136,6 +152,13 @@ declare class CngxSidenav {
|
|
|
136
152
|
* </cngx-sidenav>
|
|
137
153
|
* </cngx-sidenav-layout>
|
|
138
154
|
* ```
|
|
155
|
+
*
|
|
156
|
+
* @category ui/sidenav
|
|
157
|
+
* @docsKind primary
|
|
158
|
+
* @wcag AA
|
|
159
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/sidenav/sidenav-layout.ts
|
|
160
|
+
* @since 0.1.0
|
|
161
|
+
* @relatedTo CngxSidenav, CngxSidenavContent, CngxSidenavHeader, CngxSidenavFooter
|
|
139
162
|
*/
|
|
140
163
|
declare class CngxSidenavLayout {
|
|
141
164
|
/** @internal */
|
|
@@ -168,6 +191,13 @@ declare class CngxSidenavLayout {
|
|
|
168
191
|
* </cngx-sidenav-content>
|
|
169
192
|
* </cngx-sidenav-layout>
|
|
170
193
|
* ```
|
|
194
|
+
*
|
|
195
|
+
* @category ui/sidenav
|
|
196
|
+
* @docsKind primary
|
|
197
|
+
* @wcag AA
|
|
198
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/sidenav/sidenav-content.ts
|
|
199
|
+
* @since 0.1.0
|
|
200
|
+
* @relatedTo CngxSidenavLayout, CngxSidenav
|
|
171
201
|
*/
|
|
172
202
|
declare class CngxSidenavContent {
|
|
173
203
|
private readonly layout;
|
|
@@ -175,22 +205,53 @@ declare class CngxSidenavContent {
|
|
|
175
205
|
/**
|
|
176
206
|
* Margin offset for the start sidenav.
|
|
177
207
|
*
|
|
178
|
-
* Push and side modes use `position: relative`
|
|
208
|
+
* Push and side modes use `position: relative` - the sidenav sits in
|
|
179
209
|
* the flex flow and the content shrinks naturally via `flex: 1`.
|
|
180
|
-
* No margin needed. Over mode uses `position: absolute`
|
|
210
|
+
* No margin needed. Over mode uses `position: absolute` - no margin needed
|
|
181
211
|
* either since the sidenav floats above content.
|
|
182
212
|
*
|
|
183
213
|
* Kept as a public computed so tests and consumers can still read it.
|
|
184
214
|
*/
|
|
185
215
|
readonly marginStart = "0";
|
|
186
|
-
/** Margin offset for the end sidenav
|
|
216
|
+
/** Margin offset for the end sidenav - same rationale as start. */
|
|
187
217
|
readonly marginEnd = "0";
|
|
188
218
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxSidenavContent, never>;
|
|
189
219
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CngxSidenavContent, "cngx-sidenav-content", ["cngxSidenavContent"], {}, {}, never, ["*"], true, never>;
|
|
190
220
|
}
|
|
191
221
|
|
|
192
222
|
/**
|
|
193
|
-
*
|
|
223
|
+
* Top region of `<cngx-sidenav>`. Sits before the scrolling body in
|
|
224
|
+
* the sidenav's flex column, so it stays pinned at the top while the
|
|
225
|
+
* body scrolls. Not `position: sticky` - a non-shrinking flex sibling
|
|
226
|
+
* with `flex-shrink: 0`.
|
|
227
|
+
*
|
|
228
|
+
* Two selector forms:
|
|
229
|
+
* - `<cngx-sidenav-header>` element wrapper for arbitrary content.
|
|
230
|
+
* - `[cngxSidenavHeader]` attribute for native landmarks like
|
|
231
|
+
* `<header>` so the landmark a11y comes from the element itself.
|
|
232
|
+
*
|
|
233
|
+
* Adds the `cngx-sidenav-header` class for theming via
|
|
234
|
+
* `--cngx-sidenav-header-bg` and `--cngx-sidenav-header-font-size`.
|
|
235
|
+
*
|
|
236
|
+
* In `mini` mode (collapsed rail, not expanded) the region clips to
|
|
237
|
+
* `miniWidth` with `overflow: hidden`, centred text, and tight
|
|
238
|
+
* padding. Design the projected content to survive the rail width:
|
|
239
|
+
* an icon-sized logo works, a wordmark gets cropped.
|
|
240
|
+
*
|
|
241
|
+
* Typical content: logo, app name, close trigger.
|
|
242
|
+
*
|
|
243
|
+
* ```html
|
|
244
|
+
* <cngx-sidenav>
|
|
245
|
+
* <cngx-sidenav-header>Acme HR</cngx-sidenav-header>
|
|
246
|
+
* ...
|
|
247
|
+
* </cngx-sidenav>
|
|
248
|
+
* ```
|
|
249
|
+
*
|
|
250
|
+
* @category ui/sidenav
|
|
251
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/sidenav/sidenav-header.ts
|
|
252
|
+
* @selector cngx-sidenav-header
|
|
253
|
+
* @since 0.1.0
|
|
254
|
+
* @relatedTo CngxSidenav, CngxSidenavFooter, CngxSidenavLayout
|
|
194
255
|
*/
|
|
195
256
|
declare class CngxSidenavHeader {
|
|
196
257
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxSidenavHeader, never>;
|
|
@@ -198,7 +259,40 @@ declare class CngxSidenavHeader {
|
|
|
198
259
|
}
|
|
199
260
|
|
|
200
261
|
/**
|
|
201
|
-
*
|
|
262
|
+
* Bottom region of `<cngx-sidenav>`. Mirror of `CngxSidenavHeader`:
|
|
263
|
+
* a non-shrinking flex sibling after the scrolling body, so it stays
|
|
264
|
+
* pinned at the bottom while the body scrolls. Not `position:
|
|
265
|
+
* sticky`.
|
|
266
|
+
*
|
|
267
|
+
* Two selector forms:
|
|
268
|
+
* - `<cngx-sidenav-footer>` element wrapper for arbitrary content.
|
|
269
|
+
* - `[cngxSidenavFooter]` attribute for native landmarks like
|
|
270
|
+
* `<footer>` so the landmark a11y comes from the element itself.
|
|
271
|
+
*
|
|
272
|
+
* Adds the `cngx-sidenav-footer` class for theming via
|
|
273
|
+
* `--cngx-sidenav-footer-bg`, `--cngx-sidenav-footer-border-color`,
|
|
274
|
+
* and `--cngx-sidenav-footer-font-size`.
|
|
275
|
+
*
|
|
276
|
+
* In `mini` mode (collapsed rail, not expanded) the region clips to
|
|
277
|
+
* `miniWidth` with `overflow: hidden` and centred text - same
|
|
278
|
+
* caveat as the header. An icon + tooltip pattern survives the
|
|
279
|
+
* rail; a multi-line copyright line does not.
|
|
280
|
+
*
|
|
281
|
+
* Typical content: version badge, account menu trigger, secondary
|
|
282
|
+
* nav, sign-out button.
|
|
283
|
+
*
|
|
284
|
+
* ```html
|
|
285
|
+
* <cngx-sidenav>
|
|
286
|
+
* ...
|
|
287
|
+
* <cngx-sidenav-footer>v2.4.0</cngx-sidenav-footer>
|
|
288
|
+
* </cngx-sidenav>
|
|
289
|
+
* ```
|
|
290
|
+
*
|
|
291
|
+
* @category ui/sidenav
|
|
292
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/sidenav/sidenav-footer.ts
|
|
293
|
+
* @selector cngx-sidenav-footer
|
|
294
|
+
* @since 0.1.0
|
|
295
|
+
* @relatedTo CngxSidenav, CngxSidenavHeader, CngxSidenavLayout
|
|
202
296
|
*/
|
|
203
297
|
declare class CngxSidenavFooter {
|
|
204
298
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxSidenavFooter, never>;
|
|
@@ -3,19 +3,58 @@ import { TemplateRef, Signal } from '@angular/core';
|
|
|
3
3
|
import { CngxAsyncState } from '@cngx/core/utils';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Structural slot directive that registers a `<ng-template>` as the
|
|
7
|
+
* loading-state stand-in for `<cngx-skeleton>`. The container reads
|
|
8
|
+
* it via `contentChild(CngxSkeletonPlaceholder)`; the directive
|
|
9
|
+
* holds only the `TemplateRef` and contributes no DOM of its own.
|
|
7
10
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
11
|
+
* One-per-container contract: the container uses `contentChild`
|
|
12
|
+
* (single), not `contentChildren`. Multiple sibling
|
|
13
|
+
* `<ng-template cngxSkeletonPlaceholder>` blocks resolve to the
|
|
14
|
+
* first match; the rest are dead code. Pick the variant at author
|
|
15
|
+
* time, do not stack alternatives.
|
|
16
|
+
*
|
|
17
|
+
* Repetition: while the container's `loading()` (or
|
|
18
|
+
* `state.isFirstLoad()`) is `true`, the template renders `[count]`
|
|
19
|
+
* times inside the container's internal `@for`. When loading flips
|
|
20
|
+
* to `false`, the skeleton DOM tears down and the projected sibling
|
|
21
|
+
* content renders in its place.
|
|
22
|
+
*
|
|
23
|
+
* Context fields ({@link CngxSkeletonPlaceholderContext}):
|
|
24
|
+
* - `$implicit` / `index` - 0-based iteration index. Drive per-row
|
|
25
|
+
* width variance with it (`i === 0 ? '60%' : '100%'`).
|
|
26
|
+
* - `count` - total placeholders being rendered, mirrors the
|
|
27
|
+
* container's `[count]` input.
|
|
28
|
+
* - `first` / `last` - row markers for end-of-block treatments
|
|
29
|
+
* (e.g. last row without a trailing border).
|
|
30
|
+
*
|
|
31
|
+
* Bind via `let-i` for the implicit index, or `let-x="<field>"`
|
|
32
|
+
* for any other field:
|
|
10
33
|
*
|
|
11
34
|
* ```html
|
|
12
35
|
* <cngx-skeleton [loading]="loading()" [count]="3">
|
|
13
36
|
* <ng-template cngxSkeletonPlaceholder let-i>
|
|
14
|
-
* <div class="skeleton-line"
|
|
37
|
+
* <div class="skeleton-line"
|
|
38
|
+
* [style.width]="i === 0 ? '60%' : '100%'"></div>
|
|
15
39
|
* </ng-template>
|
|
16
40
|
* <p>Real content</p>
|
|
17
41
|
* </cngx-skeleton>
|
|
18
42
|
* ```
|
|
43
|
+
*
|
|
44
|
+
* Last-row variant using `let-last`:
|
|
45
|
+
*
|
|
46
|
+
* ```html
|
|
47
|
+
* <ng-template cngxSkeletonPlaceholder let-i let-last="last">
|
|
48
|
+
* <div class="skeleton-row" [class.is-last]="last"></div>
|
|
49
|
+
* </ng-template>
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @category ui/skeleton
|
|
53
|
+
* @docsKind primary
|
|
54
|
+
* @wcag AA
|
|
55
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/skeleton/skeleton-placeholder.ts
|
|
56
|
+
* @since 0.1.0
|
|
57
|
+
* @relatedTo CngxSkeletonContainer
|
|
19
58
|
*/
|
|
20
59
|
declare class CngxSkeletonPlaceholder {
|
|
21
60
|
/** Reference to the projected template. Used internally by `CngxSkeletonContainer`. */
|
|
@@ -23,7 +62,11 @@ declare class CngxSkeletonPlaceholder {
|
|
|
23
62
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxSkeletonPlaceholder, never>;
|
|
24
63
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxSkeletonPlaceholder, "ng-template[cngxSkeletonPlaceholder]", never, {}, {}, never, never, true, never>;
|
|
25
64
|
}
|
|
26
|
-
/**
|
|
65
|
+
/**
|
|
66
|
+
* Template context for `cngxSkeletonPlaceholder`.
|
|
67
|
+
*
|
|
68
|
+
* @category ui/skeleton
|
|
69
|
+
*/
|
|
27
70
|
interface CngxSkeletonPlaceholderContext {
|
|
28
71
|
/** Current index (0-based). */
|
|
29
72
|
$implicit: number;
|
|
@@ -46,7 +89,7 @@ interface CngxSkeletonPlaceholderContext {
|
|
|
46
89
|
*
|
|
47
90
|
* - Project a `<ng-template cngxSkeletonPlaceholder>` for the loading state (repeated `count` times).
|
|
48
91
|
* - Project content directly for the loaded state.
|
|
49
|
-
* - Uses `display: contents`
|
|
92
|
+
* - Uses `display: contents` - no extra DOM wrapper.
|
|
50
93
|
*
|
|
51
94
|
* ### Basic usage
|
|
52
95
|
* ```html
|
|
@@ -67,11 +110,22 @@ interface CngxSkeletonPlaceholderContext {
|
|
|
67
110
|
* <p>Loaded content here</p>
|
|
68
111
|
* </cngx-skeleton>
|
|
69
112
|
* ```
|
|
113
|
+
*
|
|
114
|
+
* @category ui/skeleton
|
|
115
|
+
* @docsKind primary
|
|
116
|
+
* @wcag AA
|
|
117
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/skeleton/skeleton-container.ts
|
|
118
|
+
* @since 0.1.0
|
|
119
|
+
* @relatedTo CngxSkeletonPlaceholder, CngxAsyncState, CngxEmptyState
|
|
120
|
+
* <example-url>http://localhost:4200/#/common/layout/skeleton/basic-skeleton</example-url>
|
|
121
|
+
* <example-url>http://localhost:4200/#/common/layout/skeleton/skeleton-container</example-url>
|
|
122
|
+
* <example-url>http://localhost:4200/#/ui/skeleton/card-skeleton</example-url>
|
|
123
|
+
* <example-url>http://localhost:4200/#/ui/skeleton/template-context</example-url>
|
|
70
124
|
*/
|
|
71
125
|
declare class CngxSkeletonContainer {
|
|
72
126
|
/** Controls the loading state directly. */
|
|
73
127
|
readonly loading: _angular_core.InputSignal<boolean>;
|
|
74
|
-
/** Bind an async state
|
|
128
|
+
/** Bind an async state - shows skeleton during first load. Takes precedence over `loading`. */
|
|
75
129
|
readonly state: _angular_core.InputSignal<CngxAsyncState<unknown> | undefined>;
|
|
76
130
|
/** Enables the `.cngx-skeleton--shimmer` class (respects `prefers-reduced-motion`). */
|
|
77
131
|
readonly shimmer: _angular_core.InputSignal<boolean>;
|
|
@@ -79,7 +133,7 @@ declare class CngxSkeletonContainer {
|
|
|
79
133
|
readonly count: _angular_core.InputSignal<number>;
|
|
80
134
|
/** Derived loading state: `state.isFirstLoad` takes precedence over `loading` input. */
|
|
81
135
|
protected readonly isLoading: Signal<boolean>;
|
|
82
|
-
/** @internal
|
|
136
|
+
/** @internal - projected placeholder template. */
|
|
83
137
|
protected readonly placeholderTpl: Signal<CngxSkeletonPlaceholder | undefined>;
|
|
84
138
|
/** Array of indices for internal `@for` rendering. */
|
|
85
139
|
readonly indices: Signal<number[]>;
|
package/types/cngx-ui-speak.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { CngxSpeak } from '@cngx/common';
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Ready-made speaker button that connects to a {@link CngxSpeak} directive
|
|
6
|
-
* via an explicit `[speakRef]` input
|
|
6
|
+
* via an explicit `[speakRef]` input - no ancestor injection.
|
|
7
7
|
*
|
|
8
8
|
* Ships with a speaker/stop SVG icon and CSS custom properties for full
|
|
9
9
|
* theming control. Include `speak-button-theme.scss` for automatic Material
|
|
@@ -17,9 +17,17 @@ import { CngxSpeak } from '@cngx/common';
|
|
|
17
17
|
*
|
|
18
18
|
* ### Material theme integration
|
|
19
19
|
* ```scss
|
|
20
|
-
* @use '@cngx/
|
|
20
|
+
* @use '@cngx/themes/material/speak-button-theme' as speak;
|
|
21
21
|
* @include speak.theme($theme);
|
|
22
22
|
* ```
|
|
23
|
+
*
|
|
24
|
+
* @category ui/speak
|
|
25
|
+
* @docsKind primary
|
|
26
|
+
* @wcag AAA
|
|
27
|
+
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/speak/speak-button.ts
|
|
28
|
+
* @since 0.1.0
|
|
29
|
+
* @relatedTo CngxSpeak
|
|
30
|
+
* <example-url>http://localhost:4200/#/ui/speak/speak-button/styled-speaker-icon</example-url>
|
|
23
31
|
*/
|
|
24
32
|
declare class CngxSpeakButton {
|
|
25
33
|
/** The `CngxSpeak` directive instance to connect to. */
|