@angular/aria 21.0.0-next.9 → 21.0.0-rc.1

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 (49) hide show
  1. package/_adev_assets/aria-accordion.json +373 -0
  2. package/_adev_assets/aria-combobox.json +383 -0
  3. package/_adev_assets/aria-grid.json +647 -0
  4. package/_adev_assets/aria-listbox.json +511 -0
  5. package/_adev_assets/aria-menu.json +852 -0
  6. package/_adev_assets/aria-tabs.json +987 -0
  7. package/_adev_assets/aria-toolbar.json +696 -0
  8. package/_adev_assets/aria-tree.json +1071 -0
  9. package/fesm2022/_widget-chunk.mjs +949 -0
  10. package/fesm2022/_widget-chunk.mjs.map +1 -0
  11. package/fesm2022/accordion.mjs +372 -174
  12. package/fesm2022/accordion.mjs.map +1 -1
  13. package/fesm2022/aria.mjs +1 -2
  14. package/fesm2022/aria.mjs.map +1 -1
  15. package/fesm2022/combobox.mjs +308 -116
  16. package/fesm2022/combobox.mjs.map +1 -1
  17. package/fesm2022/grid.mjs +566 -0
  18. package/fesm2022/grid.mjs.map +1 -0
  19. package/fesm2022/listbox.mjs +384 -184
  20. package/fesm2022/listbox.mjs.map +1 -1
  21. package/fesm2022/menu.mjs +591 -0
  22. package/fesm2022/menu.mjs.map +1 -0
  23. package/fesm2022/private.mjs +2338 -0
  24. package/fesm2022/private.mjs.map +1 -0
  25. package/fesm2022/tabs.mjs +484 -276
  26. package/fesm2022/tabs.mjs.map +1 -1
  27. package/fesm2022/toolbar.mjs +366 -200
  28. package/fesm2022/toolbar.mjs.map +1 -1
  29. package/fesm2022/tree.mjs +515 -267
  30. package/fesm2022/tree.mjs.map +1 -1
  31. package/package.json +12 -12
  32. package/types/_grid-chunk.d.ts +608 -0
  33. package/types/accordion.d.ts +8 -8
  34. package/types/combobox.d.ts +20 -7
  35. package/types/grid.d.ts +120 -0
  36. package/types/listbox.d.ts +9 -7
  37. package/types/menu.d.ts +170 -0
  38. package/types/{ui-patterns.d.ts → private.d.ts} +555 -433
  39. package/types/tabs.d.ts +8 -8
  40. package/types/toolbar.d.ts +31 -28
  41. package/types/tree.d.ts +11 -9
  42. package/fesm2022/deferred-content.mjs +0 -60
  43. package/fesm2022/deferred-content.mjs.map +0 -1
  44. package/fesm2022/radio-group.mjs +0 -197
  45. package/fesm2022/radio-group.mjs.map +0 -1
  46. package/fesm2022/ui-patterns.mjs +0 -2504
  47. package/fesm2022/ui-patterns.mjs.map +0 -1
  48. package/types/deferred-content.d.ts +0 -38
  49. package/types/radio-group.d.ts +0 -82
@@ -0,0 +1,696 @@
1
+ {
2
+ "repo": "angular/components",
3
+ "moduleLabel": "@angular/aria/toolbar",
4
+ "moduleName": "@angular/aria/toolbar",
5
+ "normalizedModuleName": "angular_aria_toolbar",
6
+ "entries": [
7
+ {
8
+ "name": "Toolbar",
9
+ "isAbstract": false,
10
+ "entryType": "directive",
11
+ "members": [
12
+ {
13
+ "name": "textDirection",
14
+ "type": "any",
15
+ "memberType": "property",
16
+ "memberTags": [
17
+ "readonly"
18
+ ],
19
+ "description": "Text direction.",
20
+ "jsdocTags": []
21
+ },
22
+ {
23
+ "name": "items",
24
+ "type": "any",
25
+ "memberType": "property",
26
+ "memberTags": [
27
+ "readonly"
28
+ ],
29
+ "description": "Sorted UIPatterns of the child widgets",
30
+ "jsdocTags": []
31
+ },
32
+ {
33
+ "name": "orientation",
34
+ "type": "any",
35
+ "memberType": "property",
36
+ "memberTags": [
37
+ "readonly",
38
+ "input"
39
+ ],
40
+ "description": "Whether the toolbar is vertically or horizontally oriented.",
41
+ "jsdocTags": [],
42
+ "inputAlias": "orientation",
43
+ "isRequiredInput": false
44
+ },
45
+ {
46
+ "name": "softDisabled",
47
+ "type": "any",
48
+ "memberType": "property",
49
+ "memberTags": [
50
+ "input"
51
+ ],
52
+ "description": "Whether to allow disabled items to receive focus.",
53
+ "jsdocTags": [],
54
+ "inputAlias": "softDisabled",
55
+ "isRequiredInput": false
56
+ },
57
+ {
58
+ "name": "disabled",
59
+ "type": "any",
60
+ "memberType": "property",
61
+ "memberTags": [
62
+ "readonly",
63
+ "input"
64
+ ],
65
+ "description": "Whether the toolbar is disabled.",
66
+ "jsdocTags": [],
67
+ "inputAlias": "disabled",
68
+ "isRequiredInput": false
69
+ },
70
+ {
71
+ "name": "wrap",
72
+ "type": "any",
73
+ "memberType": "property",
74
+ "memberTags": [
75
+ "readonly",
76
+ "input"
77
+ ],
78
+ "description": "Whether focus should wrap when navigating.",
79
+ "jsdocTags": [],
80
+ "inputAlias": "wrap",
81
+ "isRequiredInput": false
82
+ },
83
+ {
84
+ "name": "onFocus",
85
+ "signatures": [
86
+ {
87
+ "name": "onFocus",
88
+ "entryType": "function",
89
+ "description": "",
90
+ "generics": [],
91
+ "isNewType": false,
92
+ "jsdocTags": [],
93
+ "params": [],
94
+ "rawComment": "",
95
+ "returnType": "void"
96
+ }
97
+ ],
98
+ "implementation": {
99
+ "params": [],
100
+ "isNewType": false,
101
+ "returnType": "void",
102
+ "generics": [],
103
+ "name": "onFocus",
104
+ "description": "",
105
+ "entryType": "function",
106
+ "jsdocTags": [],
107
+ "rawComment": ""
108
+ },
109
+ "entryType": "function",
110
+ "description": "",
111
+ "jsdocTags": [],
112
+ "rawComment": "",
113
+ "memberType": "method",
114
+ "memberTags": []
115
+ },
116
+ {
117
+ "name": "register",
118
+ "signatures": [
119
+ {
120
+ "name": "register",
121
+ "entryType": "function",
122
+ "description": "",
123
+ "generics": [],
124
+ "isNewType": false,
125
+ "jsdocTags": [],
126
+ "params": [
127
+ {
128
+ "name": "widget",
129
+ "description": "",
130
+ "type": "ToolbarWidget<V>",
131
+ "isOptional": false,
132
+ "isRestParam": false
133
+ }
134
+ ],
135
+ "rawComment": "",
136
+ "returnType": "void"
137
+ }
138
+ ],
139
+ "implementation": {
140
+ "params": [
141
+ {
142
+ "name": "widget",
143
+ "description": "",
144
+ "type": "ToolbarWidget<V>",
145
+ "isOptional": false,
146
+ "isRestParam": false
147
+ }
148
+ ],
149
+ "isNewType": false,
150
+ "returnType": "void",
151
+ "generics": [],
152
+ "name": "register",
153
+ "description": "",
154
+ "entryType": "function",
155
+ "jsdocTags": [],
156
+ "rawComment": ""
157
+ },
158
+ "entryType": "function",
159
+ "description": "",
160
+ "jsdocTags": [],
161
+ "rawComment": "",
162
+ "memberType": "method",
163
+ "memberTags": []
164
+ },
165
+ {
166
+ "name": "unregister",
167
+ "signatures": [
168
+ {
169
+ "name": "unregister",
170
+ "entryType": "function",
171
+ "description": "",
172
+ "generics": [],
173
+ "isNewType": false,
174
+ "jsdocTags": [],
175
+ "params": [
176
+ {
177
+ "name": "widget",
178
+ "description": "",
179
+ "type": "ToolbarWidget<V>",
180
+ "isOptional": false,
181
+ "isRestParam": false
182
+ }
183
+ ],
184
+ "rawComment": "",
185
+ "returnType": "void"
186
+ }
187
+ ],
188
+ "implementation": {
189
+ "params": [
190
+ {
191
+ "name": "widget",
192
+ "description": "",
193
+ "type": "ToolbarWidget<V>",
194
+ "isOptional": false,
195
+ "isRestParam": false
196
+ }
197
+ ],
198
+ "isNewType": false,
199
+ "returnType": "void",
200
+ "generics": [],
201
+ "name": "unregister",
202
+ "description": "",
203
+ "entryType": "function",
204
+ "jsdocTags": [],
205
+ "rawComment": ""
206
+ },
207
+ "entryType": "function",
208
+ "description": "",
209
+ "jsdocTags": [],
210
+ "rawComment": "",
211
+ "memberType": "method",
212
+ "memberTags": []
213
+ }
214
+ ],
215
+ "generics": [
216
+ {
217
+ "name": "V"
218
+ }
219
+ ],
220
+ "description": "A toolbar widget container.\n\nWidgets such as radio groups or buttons are nested within a toolbar to allow for a single\nplace of reference for focus and navigation. The Toolbar is meant to be used in conjunction\nwith ToolbarWidget and RadioGroup as follows:\n\n```html\n<div ngToolbar>\n <button ngToolbarWidget>Button</button>\n <div ngRadioGroup>\n <label ngRadioButton value=\"1\">Option 1</label>\n <label ngRadioButton value=\"2\">Option 2</label>\n <label ngRadioButton value=\"3\">Option 3</label>\n </div>\n</div>\n```",
221
+ "jsdocTags": [],
222
+ "rawComment": "/**\n * A toolbar widget container.\n *\n * Widgets such as radio groups or buttons are nested within a toolbar to allow for a single\n * place of reference for focus and navigation. The Toolbar is meant to be used in conjunction\n * with ToolbarWidget and RadioGroup as follows:\n *\n * ```html\n * <div ngToolbar>\n * <button ngToolbarWidget>Button</button>\n * <div ngRadioGroup>\n * <label ngRadioButton value=\"1\">Option 1</label>\n * <label ngRadioButton value=\"2\">Option 2</label>\n * <label ngRadioButton value=\"3\">Option 3</label>\n * </div>\n * </div>\n * ```\n */",
223
+ "implements": [],
224
+ "isStandalone": true,
225
+ "selector": "[ngToolbar]",
226
+ "exportAs": [
227
+ "ngToolbar"
228
+ ],
229
+ "source": {
230
+ "filePath": "/src/aria/toolbar/toolbar.ts",
231
+ "startLine": 63,
232
+ "endLine": 158
233
+ }
234
+ },
235
+ {
236
+ "name": "ToolbarWidget",
237
+ "isAbstract": false,
238
+ "entryType": "directive",
239
+ "members": [
240
+ {
241
+ "name": "id",
242
+ "type": "any",
243
+ "memberType": "property",
244
+ "memberTags": [
245
+ "readonly",
246
+ "input"
247
+ ],
248
+ "description": "A unique identifier for the widget.",
249
+ "jsdocTags": [],
250
+ "inputAlias": "id",
251
+ "isRequiredInput": false
252
+ },
253
+ {
254
+ "name": "toolbar",
255
+ "type": "any",
256
+ "memberType": "property",
257
+ "memberTags": [
258
+ "readonly"
259
+ ],
260
+ "description": "The parent Toolbar UIPattern.",
261
+ "jsdocTags": []
262
+ },
263
+ {
264
+ "name": "element",
265
+ "type": "any",
266
+ "memberType": "property",
267
+ "memberTags": [
268
+ "readonly"
269
+ ],
270
+ "description": "A reference to the widget element to be focused on navigation.",
271
+ "jsdocTags": []
272
+ },
273
+ {
274
+ "name": "disabled",
275
+ "type": "any",
276
+ "memberType": "property",
277
+ "memberTags": [
278
+ "readonly",
279
+ "input"
280
+ ],
281
+ "description": "Whether the widget is disabled.",
282
+ "jsdocTags": [],
283
+ "inputAlias": "disabled",
284
+ "isRequiredInput": false
285
+ },
286
+ {
287
+ "name": "hardDisabled",
288
+ "type": "any",
289
+ "memberType": "property",
290
+ "memberTags": [
291
+ "readonly"
292
+ ],
293
+ "description": "Whether the widget is 'hard' disabled, which is different from `aria-disabled`. A hard disabled widget cannot receive focus.",
294
+ "jsdocTags": []
295
+ },
296
+ {
297
+ "name": "value",
298
+ "type": "any",
299
+ "memberType": "property",
300
+ "memberTags": [
301
+ "readonly",
302
+ "input"
303
+ ],
304
+ "description": "The value associated with the widget.",
305
+ "jsdocTags": [],
306
+ "inputAlias": "value",
307
+ "isRequiredInput": true
308
+ },
309
+ {
310
+ "name": "active",
311
+ "type": "any",
312
+ "memberType": "property",
313
+ "memberTags": [
314
+ "readonly"
315
+ ],
316
+ "description": "Whether the widget is currently active (focused).",
317
+ "jsdocTags": []
318
+ },
319
+ {
320
+ "name": "selected",
321
+ "type": "() => any",
322
+ "memberType": "property",
323
+ "memberTags": [
324
+ "readonly"
325
+ ],
326
+ "description": "Whether the widget is selected (only relevant in a selection group).",
327
+ "jsdocTags": []
328
+ },
329
+ {
330
+ "name": "group",
331
+ "type": "SignalLike<any>",
332
+ "memberType": "property",
333
+ "memberTags": [
334
+ "readonly"
335
+ ],
336
+ "description": "",
337
+ "jsdocTags": []
338
+ },
339
+ {
340
+ "name": "ngOnInit",
341
+ "signatures": [
342
+ {
343
+ "name": "ngOnInit",
344
+ "entryType": "function",
345
+ "description": "",
346
+ "generics": [],
347
+ "isNewType": false,
348
+ "jsdocTags": [],
349
+ "params": [],
350
+ "rawComment": "",
351
+ "returnType": "void"
352
+ }
353
+ ],
354
+ "implementation": {
355
+ "params": [],
356
+ "isNewType": false,
357
+ "returnType": "void",
358
+ "generics": [],
359
+ "name": "ngOnInit",
360
+ "description": "",
361
+ "entryType": "function",
362
+ "jsdocTags": [],
363
+ "rawComment": ""
364
+ },
365
+ "entryType": "function",
366
+ "description": "",
367
+ "jsdocTags": [],
368
+ "rawComment": "",
369
+ "memberType": "method",
370
+ "memberTags": []
371
+ },
372
+ {
373
+ "name": "ngOnDestroy",
374
+ "signatures": [
375
+ {
376
+ "name": "ngOnDestroy",
377
+ "entryType": "function",
378
+ "description": "",
379
+ "generics": [],
380
+ "isNewType": false,
381
+ "jsdocTags": [],
382
+ "params": [],
383
+ "rawComment": "",
384
+ "returnType": "void"
385
+ }
386
+ ],
387
+ "implementation": {
388
+ "params": [],
389
+ "isNewType": false,
390
+ "returnType": "void",
391
+ "generics": [],
392
+ "name": "ngOnDestroy",
393
+ "description": "",
394
+ "entryType": "function",
395
+ "jsdocTags": [],
396
+ "rawComment": ""
397
+ },
398
+ "entryType": "function",
399
+ "description": "",
400
+ "jsdocTags": [],
401
+ "rawComment": "",
402
+ "memberType": "method",
403
+ "memberTags": []
404
+ }
405
+ ],
406
+ "generics": [
407
+ {
408
+ "name": "V"
409
+ }
410
+ ],
411
+ "description": "A widget within a toolbar.\n\nA widget is anything that is within a toolbar. It should be applied to any native HTML element\nthat has the purpose of acting as a widget navigatable within a toolbar.",
412
+ "jsdocTags": [],
413
+ "rawComment": "/**\n * A widget within a toolbar.\n *\n * A widget is anything that is within a toolbar. It should be applied to any native HTML element\n * that has the purpose of acting as a widget navigatable within a toolbar.\n */",
414
+ "implements": [
415
+ "OnInit",
416
+ "OnDestroy"
417
+ ],
418
+ "isStandalone": true,
419
+ "selector": "[ngToolbarWidget]",
420
+ "exportAs": [
421
+ "ngToolbarWidget"
422
+ ],
423
+ "source": {
424
+ "filePath": "/src/aria/toolbar/toolbar.ts",
425
+ "startLine": 166,
426
+ "endLine": 234
427
+ }
428
+ },
429
+ {
430
+ "name": "ToolbarWidgetGroup",
431
+ "isAbstract": false,
432
+ "entryType": "directive",
433
+ "members": [
434
+ {
435
+ "name": "toolbar",
436
+ "type": "any",
437
+ "memberType": "property",
438
+ "memberTags": [
439
+ "readonly"
440
+ ],
441
+ "description": "The parent Toolbar UIPattern.",
442
+ "jsdocTags": []
443
+ },
444
+ {
445
+ "name": "disabled",
446
+ "type": "any",
447
+ "memberType": "property",
448
+ "memberTags": [
449
+ "readonly",
450
+ "input"
451
+ ],
452
+ "description": "Whether the widget group is disabled.",
453
+ "jsdocTags": [],
454
+ "inputAlias": "disabled",
455
+ "isRequiredInput": false
456
+ },
457
+ {
458
+ "name": "items",
459
+ "type": "() => any",
460
+ "memberType": "property",
461
+ "memberTags": [
462
+ "readonly"
463
+ ],
464
+ "description": "The list of toolbar items within the group.",
465
+ "jsdocTags": []
466
+ },
467
+ {
468
+ "name": "multi",
469
+ "type": "any",
470
+ "memberType": "property",
471
+ "memberTags": [
472
+ "readonly",
473
+ "input"
474
+ ],
475
+ "description": "Whether the group allows multiple widgets to be selected.",
476
+ "jsdocTags": [],
477
+ "inputAlias": "multi",
478
+ "isRequiredInput": false
479
+ }
480
+ ],
481
+ "generics": [
482
+ {
483
+ "name": "V"
484
+ }
485
+ ],
486
+ "description": "A directive that groups toolbar widgets, used for more complex widgets like radio groups that\nhave their own internal navigation.",
487
+ "jsdocTags": [],
488
+ "rawComment": "/**\n * A directive that groups toolbar widgets, used for more complex widgets like radio groups that\n * have their own internal navigation.\n */",
489
+ "implements": [],
490
+ "isStandalone": true,
491
+ "selector": "[ngToolbarWidgetGroup]",
492
+ "exportAs": [
493
+ "ngToolbarWidgetGroup"
494
+ ],
495
+ "source": {
496
+ "filePath": "/src/aria/toolbar/toolbar.ts",
497
+ "startLine": 240,
498
+ "endLine": 268
499
+ }
500
+ }
501
+ ],
502
+ "symbols": [
503
+ [
504
+ "afterRenderEffect",
505
+ "@angular/core"
506
+ ],
507
+ [
508
+ "Directive",
509
+ "@angular/core"
510
+ ],
511
+ [
512
+ "ElementRef",
513
+ "@angular/core"
514
+ ],
515
+ [
516
+ "inject",
517
+ "@angular/core"
518
+ ],
519
+ [
520
+ "computed",
521
+ "@angular/core"
522
+ ],
523
+ [
524
+ "input",
525
+ "@angular/core"
526
+ ],
527
+ [
528
+ "booleanAttribute",
529
+ "@angular/core"
530
+ ],
531
+ [
532
+ "signal",
533
+ "@angular/core"
534
+ ],
535
+ [
536
+ "Signal",
537
+ "@angular/core"
538
+ ],
539
+ [
540
+ "OnInit",
541
+ "@angular/core"
542
+ ],
543
+ [
544
+ "OnDestroy",
545
+ "@angular/core"
546
+ ],
547
+ [
548
+ "contentChildren",
549
+ "@angular/core"
550
+ ],
551
+ [
552
+ "ToolbarPattern",
553
+ "@angular/aria/private"
554
+ ],
555
+ [
556
+ "ToolbarWidgetPattern",
557
+ "@angular/aria/private"
558
+ ],
559
+ [
560
+ "ToolbarWidgetGroupPattern",
561
+ "@angular/aria/private"
562
+ ],
563
+ [
564
+ "SignalLike",
565
+ "@angular/aria/private"
566
+ ],
567
+ [
568
+ "Directionality",
569
+ "@angular/cdk/bidi"
570
+ ],
571
+ [
572
+ "_IdGenerator",
573
+ "@angular/cdk/a11y"
574
+ ],
575
+ [
576
+ "Toolbar",
577
+ "@angular/aria/toolbar"
578
+ ],
579
+ [
580
+ "ToolbarWidget",
581
+ "@angular/aria/toolbar"
582
+ ],
583
+ [
584
+ "ToolbarWidgetGroup",
585
+ "@angular/aria/toolbar"
586
+ ],
587
+ [
588
+ "Toolbar",
589
+ "@angular/aria/toolbar"
590
+ ],
591
+ [
592
+ "Toolbar.textDirection",
593
+ "@angular/aria/toolbar"
594
+ ],
595
+ [
596
+ "Toolbar.items",
597
+ "@angular/aria/toolbar"
598
+ ],
599
+ [
600
+ "Toolbar.orientation",
601
+ "@angular/aria/toolbar"
602
+ ],
603
+ [
604
+ "Toolbar.softDisabled",
605
+ "@angular/aria/toolbar"
606
+ ],
607
+ [
608
+ "Toolbar.disabled",
609
+ "@angular/aria/toolbar"
610
+ ],
611
+ [
612
+ "Toolbar.wrap",
613
+ "@angular/aria/toolbar"
614
+ ],
615
+ [
616
+ "Toolbar.onFocus",
617
+ "@angular/aria/toolbar"
618
+ ],
619
+ [
620
+ "Toolbar.register",
621
+ "@angular/aria/toolbar"
622
+ ],
623
+ [
624
+ "Toolbar.unregister",
625
+ "@angular/aria/toolbar"
626
+ ],
627
+ [
628
+ "ToolbarWidget",
629
+ "@angular/aria/toolbar"
630
+ ],
631
+ [
632
+ "ToolbarWidget.id",
633
+ "@angular/aria/toolbar"
634
+ ],
635
+ [
636
+ "ToolbarWidget.toolbar",
637
+ "@angular/aria/toolbar"
638
+ ],
639
+ [
640
+ "ToolbarWidget.element",
641
+ "@angular/aria/toolbar"
642
+ ],
643
+ [
644
+ "ToolbarWidget.disabled",
645
+ "@angular/aria/toolbar"
646
+ ],
647
+ [
648
+ "ToolbarWidget.hardDisabled",
649
+ "@angular/aria/toolbar"
650
+ ],
651
+ [
652
+ "ToolbarWidget.value",
653
+ "@angular/aria/toolbar"
654
+ ],
655
+ [
656
+ "ToolbarWidget.active",
657
+ "@angular/aria/toolbar"
658
+ ],
659
+ [
660
+ "ToolbarWidget.selected",
661
+ "@angular/aria/toolbar"
662
+ ],
663
+ [
664
+ "ToolbarWidget.group",
665
+ "@angular/aria/toolbar"
666
+ ],
667
+ [
668
+ "ToolbarWidget.ngOnInit",
669
+ "@angular/aria/toolbar"
670
+ ],
671
+ [
672
+ "ToolbarWidget.ngOnDestroy",
673
+ "@angular/aria/toolbar"
674
+ ],
675
+ [
676
+ "ToolbarWidgetGroup",
677
+ "@angular/aria/toolbar"
678
+ ],
679
+ [
680
+ "ToolbarWidgetGroup.toolbar",
681
+ "@angular/aria/toolbar"
682
+ ],
683
+ [
684
+ "ToolbarWidgetGroup.disabled",
685
+ "@angular/aria/toolbar"
686
+ ],
687
+ [
688
+ "ToolbarWidgetGroup.items",
689
+ "@angular/aria/toolbar"
690
+ ],
691
+ [
692
+ "ToolbarWidgetGroup.multi",
693
+ "@angular/aria/toolbar"
694
+ ]
695
+ ]
696
+ }