@angular/aria 21.0.0-rc.1 → 21.0.0-rc.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.
- package/_adev_assets/aria-accordion.json +429 -59
- package/_adev_assets/aria-combobox.json +261 -41
- package/_adev_assets/aria-grid.json +339 -85
- package/_adev_assets/aria-listbox.json +99 -70
- package/_adev_assets/aria-menu.json +355 -158
- package/_adev_assets/aria-tabs.json +198 -305
- package/_adev_assets/aria-toolbar.json +70 -221
- package/_adev_assets/aria-tree.json +153 -363
- package/fesm2022/_widget-chunk.mjs +388 -57
- package/fesm2022/_widget-chunk.mjs.map +1 -1
- package/fesm2022/accordion.mjs +125 -72
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/aria.mjs +1 -1
- package/fesm2022/aria.mjs.map +1 -1
- package/fesm2022/combobox.mjs +129 -24
- package/fesm2022/combobox.mjs.map +1 -1
- package/fesm2022/grid.mjs +203 -65
- package/fesm2022/grid.mjs.map +1 -1
- package/fesm2022/listbox.mjs +50 -39
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +179 -71
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/private.mjs +418 -440
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/tabs.mjs +105 -73
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +52 -44
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tree.mjs +106 -63
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +2 -2
- package/types/_grid-chunk.d.ts +216 -35
- package/types/accordion.d.ts +134 -35
- package/types/combobox.d.ts +141 -12
- package/types/grid.d.ts +150 -32
- package/types/listbox.d.ts +60 -28
- package/types/menu.d.ts +133 -49
- package/types/private.d.ts +210 -250
- package/types/tabs.d.ts +124 -44
- package/types/toolbar.d.ts +58 -36
- package/types/tree.d.ts +121 -49
|
@@ -14,11 +14,21 @@
|
|
|
14
14
|
"type": "any",
|
|
15
15
|
"memberType": "property",
|
|
16
16
|
"memberTags": [
|
|
17
|
-
"
|
|
17
|
+
"readonly"
|
|
18
18
|
],
|
|
19
19
|
"description": "A unique identifier for the listbox.",
|
|
20
20
|
"jsdocTags": []
|
|
21
21
|
},
|
|
22
|
+
{
|
|
23
|
+
"name": "element",
|
|
24
|
+
"type": "HTMLElement",
|
|
25
|
+
"memberType": "property",
|
|
26
|
+
"memberTags": [
|
|
27
|
+
"readonly"
|
|
28
|
+
],
|
|
29
|
+
"description": "A reference to the host element.",
|
|
30
|
+
"jsdocTags": []
|
|
31
|
+
},
|
|
22
32
|
{
|
|
23
33
|
"name": "textDirection",
|
|
24
34
|
"type": "any",
|
|
@@ -68,7 +78,7 @@
|
|
|
68
78
|
"type": "any",
|
|
69
79
|
"memberType": "property",
|
|
70
80
|
"memberTags": [],
|
|
71
|
-
"description": "Whether to allow disabled items
|
|
81
|
+
"description": "Whether to allow disabled items to receive focus. When `true`, disabled items are\nfocusable but not interactive. When `false`, disabled items are skipped during navigation.",
|
|
72
82
|
"jsdocTags": []
|
|
73
83
|
},
|
|
74
84
|
{
|
|
@@ -76,7 +86,7 @@
|
|
|
76
86
|
"type": "any",
|
|
77
87
|
"memberType": "property",
|
|
78
88
|
"memberTags": [],
|
|
79
|
-
"description": "The focus strategy used by the list.",
|
|
89
|
+
"description": "The focus strategy used by the list.\n- `roving`: Focus is moved to the active item using `tabindex`.\n- `activedescendant`: Focus remains on the listbox container, and `aria-activedescendant` is used to indicate the active item.",
|
|
80
90
|
"jsdocTags": []
|
|
81
91
|
},
|
|
82
92
|
{
|
|
@@ -84,7 +94,7 @@
|
|
|
84
94
|
"type": "any",
|
|
85
95
|
"memberType": "property",
|
|
86
96
|
"memberTags": [],
|
|
87
|
-
"description": "The selection strategy used by the list.",
|
|
97
|
+
"description": "The selection strategy used by the list.\n- `follow`: The focused item is automatically selected.\n- `explicit`: Items are selected explicitly by the user (e.g., via click or spacebar).",
|
|
88
98
|
"jsdocTags": []
|
|
89
99
|
},
|
|
90
100
|
{
|
|
@@ -112,34 +122,50 @@
|
|
|
112
122
|
"jsdocTags": []
|
|
113
123
|
},
|
|
114
124
|
{
|
|
115
|
-
"name": "
|
|
125
|
+
"name": "values",
|
|
116
126
|
"type": "any",
|
|
117
127
|
"memberType": "property",
|
|
118
128
|
"memberTags": [],
|
|
119
|
-
"description": "The values of the
|
|
129
|
+
"description": "The values of the currently selected items.",
|
|
120
130
|
"jsdocTags": []
|
|
121
131
|
},
|
|
122
132
|
{
|
|
123
|
-
"name": "
|
|
133
|
+
"name": "scrollActiveItemIntoView",
|
|
124
134
|
"signatures": [
|
|
125
135
|
{
|
|
126
|
-
"name": "
|
|
136
|
+
"name": "scrollActiveItemIntoView",
|
|
127
137
|
"entryType": "function",
|
|
128
138
|
"description": "",
|
|
129
139
|
"generics": [],
|
|
130
140
|
"isNewType": false,
|
|
131
141
|
"jsdocTags": [],
|
|
132
|
-
"params": [
|
|
142
|
+
"params": [
|
|
143
|
+
{
|
|
144
|
+
"name": "options",
|
|
145
|
+
"description": "",
|
|
146
|
+
"type": "ScrollIntoViewOptions",
|
|
147
|
+
"isOptional": true,
|
|
148
|
+
"isRestParam": false
|
|
149
|
+
}
|
|
150
|
+
],
|
|
133
151
|
"rawComment": "",
|
|
134
152
|
"returnType": "void"
|
|
135
153
|
}
|
|
136
154
|
],
|
|
137
155
|
"implementation": {
|
|
138
|
-
"params": [
|
|
156
|
+
"params": [
|
|
157
|
+
{
|
|
158
|
+
"name": "options",
|
|
159
|
+
"description": "",
|
|
160
|
+
"type": "ScrollIntoViewOptions",
|
|
161
|
+
"isOptional": true,
|
|
162
|
+
"isRestParam": false
|
|
163
|
+
}
|
|
164
|
+
],
|
|
139
165
|
"isNewType": false,
|
|
140
166
|
"returnType": "void",
|
|
141
167
|
"generics": [],
|
|
142
|
-
"name": "
|
|
168
|
+
"name": "scrollActiveItemIntoView",
|
|
143
169
|
"description": "",
|
|
144
170
|
"entryType": "function",
|
|
145
171
|
"jsdocTags": [],
|
|
@@ -153,51 +179,35 @@
|
|
|
153
179
|
"memberTags": []
|
|
154
180
|
},
|
|
155
181
|
{
|
|
156
|
-
"name": "
|
|
182
|
+
"name": "gotoFirst",
|
|
157
183
|
"signatures": [
|
|
158
184
|
{
|
|
159
|
-
"name": "
|
|
185
|
+
"name": "gotoFirst",
|
|
160
186
|
"entryType": "function",
|
|
161
|
-
"description": "",
|
|
187
|
+
"description": "Navigates to the first item in the listbox.",
|
|
162
188
|
"generics": [],
|
|
163
189
|
"isNewType": false,
|
|
164
190
|
"jsdocTags": [],
|
|
165
|
-
"params": [
|
|
166
|
-
|
|
167
|
-
"name": "options",
|
|
168
|
-
"description": "",
|
|
169
|
-
"type": "ScrollIntoViewOptions",
|
|
170
|
-
"isOptional": true,
|
|
171
|
-
"isRestParam": false
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
|
-
"rawComment": "",
|
|
191
|
+
"params": [],
|
|
192
|
+
"rawComment": "/** Navigates to the first item in the listbox. */",
|
|
175
193
|
"returnType": "void"
|
|
176
194
|
}
|
|
177
195
|
],
|
|
178
196
|
"implementation": {
|
|
179
|
-
"params": [
|
|
180
|
-
{
|
|
181
|
-
"name": "options",
|
|
182
|
-
"description": "",
|
|
183
|
-
"type": "ScrollIntoViewOptions",
|
|
184
|
-
"isOptional": true,
|
|
185
|
-
"isRestParam": false
|
|
186
|
-
}
|
|
187
|
-
],
|
|
197
|
+
"params": [],
|
|
188
198
|
"isNewType": false,
|
|
189
199
|
"returnType": "void",
|
|
190
200
|
"generics": [],
|
|
191
|
-
"name": "
|
|
192
|
-
"description": "",
|
|
201
|
+
"name": "gotoFirst",
|
|
202
|
+
"description": "Navigates to the first item in the listbox.",
|
|
193
203
|
"entryType": "function",
|
|
194
204
|
"jsdocTags": [],
|
|
195
|
-
"rawComment": ""
|
|
205
|
+
"rawComment": "/** Navigates to the first item in the listbox. */"
|
|
196
206
|
},
|
|
197
207
|
"entryType": "function",
|
|
198
|
-
"description": "",
|
|
208
|
+
"description": "Navigates to the first item in the listbox.",
|
|
199
209
|
"jsdocTags": [],
|
|
200
|
-
"rawComment": "",
|
|
210
|
+
"rawComment": "/** Navigates to the first item in the listbox. */",
|
|
201
211
|
"memberType": "method",
|
|
202
212
|
"memberTags": []
|
|
203
213
|
}
|
|
@@ -207,14 +217,23 @@
|
|
|
207
217
|
"name": "V"
|
|
208
218
|
}
|
|
209
219
|
],
|
|
210
|
-
"description": "
|
|
211
|
-
"jsdocTags": [
|
|
212
|
-
|
|
220
|
+
"description": "Represents a container used to display a list of items for a user to select from.\n\nThe `ngListbox` is meant to be used in conjunction with `ngOption` directives to create a\nselectable list. It supports single and multiple selection modes, as well as various focus and\norientation strategies.\n\n```html\n<ul ngListbox [(value)]=\"selectedItems\" [multi]=\"true\" orientation=\"vertical\">",
|
|
221
|
+
"jsdocTags": [
|
|
222
|
+
{
|
|
223
|
+
"name": "for",
|
|
224
|
+
"comment": "(item of items; track item.id) {\n<li ngOption [value]=\"item.id\" [label]=\"item.name\" [disabled]=\"item.disabled\">\n{{item.name}}\n</li>\n}\n</ul>\n```"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "developerPreview",
|
|
228
|
+
"comment": "21.0"
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"rawComment": "/**\n * Represents a container used to display a list of items for a user to select from.\n *\n * The `ngListbox` is meant to be used in conjunction with `ngOption` directives to create a\n * selectable list. It supports single and multiple selection modes, as well as various focus and\n * orientation strategies.\n *\n * ```html\n * <ul ngListbox [(value)]=\"selectedItems\" [multi]=\"true\" orientation=\"vertical\">\n * @for (item of items; track item.id) {\n * <li ngOption [value]=\"item.id\" [label]=\"item.name\" [disabled]=\"item.disabled\">\n * {{item.name}}\n * </li>\n * }\n * </ul>\n * ```\n *\n * @developerPreview 21.0\n */",
|
|
213
232
|
"implements": [],
|
|
214
233
|
"source": {
|
|
215
234
|
"filePath": "/src/aria/listbox/listbox.ts",
|
|
216
|
-
"startLine":
|
|
217
|
-
"endLine":
|
|
235
|
+
"startLine": 47,
|
|
236
|
+
"endLine": 209
|
|
218
237
|
}
|
|
219
238
|
},
|
|
220
239
|
{
|
|
@@ -223,43 +242,44 @@
|
|
|
223
242
|
"entryType": "directive",
|
|
224
243
|
"members": [
|
|
225
244
|
{
|
|
226
|
-
"name": "
|
|
227
|
-
"type": "
|
|
245
|
+
"name": "element",
|
|
246
|
+
"type": "HTMLElement",
|
|
228
247
|
"memberType": "property",
|
|
229
248
|
"memberTags": [
|
|
230
|
-
"
|
|
249
|
+
"readonly"
|
|
231
250
|
],
|
|
232
|
-
"description": "A
|
|
251
|
+
"description": "A reference to the host element.",
|
|
233
252
|
"jsdocTags": []
|
|
234
253
|
},
|
|
235
254
|
{
|
|
236
|
-
"name": "
|
|
255
|
+
"name": "active",
|
|
237
256
|
"type": "any",
|
|
238
257
|
"memberType": "property",
|
|
239
|
-
"memberTags": [
|
|
240
|
-
|
|
241
|
-
],
|
|
242
|
-
"description": "The text used by the typeahead search.",
|
|
258
|
+
"memberTags": [],
|
|
259
|
+
"description": "Whether the option is currently active (focused).",
|
|
243
260
|
"jsdocTags": []
|
|
244
261
|
},
|
|
245
262
|
{
|
|
246
|
-
"name": "
|
|
263
|
+
"name": "id",
|
|
247
264
|
"type": "any",
|
|
248
265
|
"memberType": "property",
|
|
249
266
|
"memberTags": [
|
|
250
|
-
"
|
|
267
|
+
"readonly",
|
|
268
|
+
"input"
|
|
251
269
|
],
|
|
252
|
-
"description": "
|
|
253
|
-
"jsdocTags": []
|
|
270
|
+
"description": "A unique identifier for the option.",
|
|
271
|
+
"jsdocTags": [],
|
|
272
|
+
"inputAlias": "id",
|
|
273
|
+
"isRequiredInput": false
|
|
254
274
|
},
|
|
255
275
|
{
|
|
256
|
-
"name": "
|
|
276
|
+
"name": "searchTerm",
|
|
257
277
|
"type": "any",
|
|
258
278
|
"memberType": "property",
|
|
259
279
|
"memberTags": [
|
|
260
280
|
"protected"
|
|
261
281
|
],
|
|
262
|
-
"description": "
|
|
282
|
+
"description": "The text used by the typeahead search.",
|
|
263
283
|
"jsdocTags": []
|
|
264
284
|
},
|
|
265
285
|
{
|
|
@@ -314,9 +334,14 @@
|
|
|
314
334
|
"name": "V"
|
|
315
335
|
}
|
|
316
336
|
],
|
|
317
|
-
"description": "A selectable option in
|
|
318
|
-
"jsdocTags": [
|
|
319
|
-
|
|
337
|
+
"description": "A selectable option in an `ngListbox`.\n\nThis directive should be applied to an element (e.g., `<li>`, `<div>`) within an\n`ngListbox`. The `value` input is used to identify the option, and the `label` input provides\nthe accessible name for the option.\n\n```html\n<li ngOption value=\"item-id\" label=\"Item Name\">\n Item Name\n</li>\n```",
|
|
338
|
+
"jsdocTags": [
|
|
339
|
+
{
|
|
340
|
+
"name": "developerPreview",
|
|
341
|
+
"comment": "21.0"
|
|
342
|
+
}
|
|
343
|
+
],
|
|
344
|
+
"rawComment": "/**\n * A selectable option in an `ngListbox`.\n *\n * This directive should be applied to an element (e.g., `<li>`, `<div>`) within an\n * `ngListbox`. The `value` input is used to identify the option, and the `label` input provides\n * the accessible name for the option.\n *\n * ```html\n * <li ngOption value=\"item-id\" label=\"Item Name\">\n * Item Name\n * </li>\n * ```\n *\n * @developerPreview 21.0\n */",
|
|
320
345
|
"implements": [],
|
|
321
346
|
"isStandalone": true,
|
|
322
347
|
"selector": "[ngOption]",
|
|
@@ -325,8 +350,8 @@
|
|
|
325
350
|
],
|
|
326
351
|
"source": {
|
|
327
352
|
"filePath": "/src/aria/listbox/listbox.ts",
|
|
328
|
-
"startLine":
|
|
329
|
-
"endLine":
|
|
353
|
+
"startLine": 226,
|
|
354
|
+
"endLine": 283
|
|
330
355
|
}
|
|
331
356
|
}
|
|
332
357
|
],
|
|
@@ -415,6 +440,10 @@
|
|
|
415
440
|
"Listbox.id",
|
|
416
441
|
"@angular/aria/listbox"
|
|
417
442
|
],
|
|
443
|
+
[
|
|
444
|
+
"Listbox.element",
|
|
445
|
+
"@angular/aria/listbox"
|
|
446
|
+
],
|
|
418
447
|
[
|
|
419
448
|
"Listbox.textDirection",
|
|
420
449
|
"@angular/aria/listbox"
|
|
@@ -460,15 +489,15 @@
|
|
|
460
489
|
"@angular/aria/listbox"
|
|
461
490
|
],
|
|
462
491
|
[
|
|
463
|
-
"Listbox.
|
|
492
|
+
"Listbox.values",
|
|
464
493
|
"@angular/aria/listbox"
|
|
465
494
|
],
|
|
466
495
|
[
|
|
467
|
-
"Listbox.
|
|
496
|
+
"Listbox.scrollActiveItemIntoView",
|
|
468
497
|
"@angular/aria/listbox"
|
|
469
498
|
],
|
|
470
499
|
[
|
|
471
|
-
"Listbox.
|
|
500
|
+
"Listbox.gotoFirst",
|
|
472
501
|
"@angular/aria/listbox"
|
|
473
502
|
],
|
|
474
503
|
[
|
|
@@ -476,19 +505,19 @@
|
|
|
476
505
|
"@angular/aria/listbox"
|
|
477
506
|
],
|
|
478
507
|
[
|
|
479
|
-
"Option.
|
|
508
|
+
"Option.element",
|
|
480
509
|
"@angular/aria/listbox"
|
|
481
510
|
],
|
|
482
511
|
[
|
|
483
|
-
"Option.
|
|
512
|
+
"Option.active",
|
|
484
513
|
"@angular/aria/listbox"
|
|
485
514
|
],
|
|
486
515
|
[
|
|
487
|
-
"Option.
|
|
516
|
+
"Option.id",
|
|
488
517
|
"@angular/aria/listbox"
|
|
489
518
|
],
|
|
490
519
|
[
|
|
491
|
-
"Option.
|
|
520
|
+
"Option.searchTerm",
|
|
492
521
|
"@angular/aria/listbox"
|
|
493
522
|
],
|
|
494
523
|
[
|