@angular/aria 21.0.0-rc.1 → 21.0.0-rc.2

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 (41) hide show
  1. package/_adev_assets/aria-accordion.json +439 -55
  2. package/_adev_assets/aria-combobox.json +343 -35
  3. package/_adev_assets/aria-grid.json +345 -77
  4. package/_adev_assets/aria-listbox.json +113 -33
  5. package/_adev_assets/aria-menu.json +366 -141
  6. package/_adev_assets/aria-tabs.json +261 -77
  7. package/_adev_assets/aria-toolbar.json +72 -33
  8. package/_adev_assets/aria-tree.json +169 -26
  9. package/fesm2022/_widget-chunk.mjs +388 -57
  10. package/fesm2022/_widget-chunk.mjs.map +1 -1
  11. package/fesm2022/accordion.mjs +121 -68
  12. package/fesm2022/accordion.mjs.map +1 -1
  13. package/fesm2022/aria.mjs +1 -1
  14. package/fesm2022/aria.mjs.map +1 -1
  15. package/fesm2022/combobox.mjs +132 -21
  16. package/fesm2022/combobox.mjs.map +1 -1
  17. package/fesm2022/grid.mjs +198 -61
  18. package/fesm2022/grid.mjs.map +1 -1
  19. package/fesm2022/listbox.mjs +42 -31
  20. package/fesm2022/listbox.mjs.map +1 -1
  21. package/fesm2022/menu.mjs +173 -67
  22. package/fesm2022/menu.mjs.map +1 -1
  23. package/fesm2022/private.mjs +415 -439
  24. package/fesm2022/private.mjs.map +1 -1
  25. package/fesm2022/tabs.mjs +86 -55
  26. package/fesm2022/tabs.mjs.map +1 -1
  27. package/fesm2022/toolbar.mjs +13 -25
  28. package/fesm2022/toolbar.mjs.map +1 -1
  29. package/fesm2022/tree.mjs +86 -44
  30. package/fesm2022/tree.mjs.map +1 -1
  31. package/package.json +2 -2
  32. package/types/_grid-chunk.d.ts +216 -35
  33. package/types/accordion.d.ts +133 -34
  34. package/types/combobox.d.ts +145 -12
  35. package/types/grid.d.ts +149 -31
  36. package/types/listbox.d.ts +58 -26
  37. package/types/menu.d.ts +130 -46
  38. package/types/private.d.ts +210 -250
  39. package/types/tabs.d.ts +119 -39
  40. package/types/toolbar.d.ts +49 -29
  41. package/types/tree.d.ts +113 -41
@@ -10,23 +10,23 @@
10
10
  "entryType": "directive",
11
11
  "members": [
12
12
  {
13
- "name": "textDirection",
14
- "type": "any",
13
+ "name": "element",
14
+ "type": "HTMLElement",
15
15
  "memberType": "property",
16
16
  "memberTags": [
17
17
  "readonly"
18
18
  ],
19
- "description": "The directionality (LTR / RTL) context for the application (or a subtree of it).",
19
+ "description": "A reference to the host element.",
20
20
  "jsdocTags": []
21
21
  },
22
22
  {
23
- "name": "element",
24
- "type": "HTMLButtonElement",
23
+ "name": "textDirection",
24
+ "type": "any",
25
25
  "memberType": "property",
26
26
  "memberTags": [
27
27
  "readonly"
28
28
  ],
29
- "description": "A reference to the menu element.",
29
+ "description": "The directionality (LTR / RTL) context for the application (or a subtree of it).",
30
30
  "jsdocTags": []
31
31
  },
32
32
  {
@@ -42,27 +42,63 @@
42
42
  "isRequiredInput": false
43
43
  },
44
44
  {
45
- "name": "hasBeenFocused",
45
+ "name": "expanded",
46
46
  "type": "any",
47
47
  "memberType": "property",
48
48
  "memberTags": [
49
49
  "readonly"
50
50
  ],
51
- "description": "Whether the menu item has been focused.",
51
+ "description": "Whether the menu is expanded.",
52
52
  "jsdocTags": []
53
53
  },
54
54
  {
55
- "name": "onFocusIn",
55
+ "name": "hasPopup",
56
+ "type": "any",
57
+ "memberType": "property",
58
+ "memberTags": [
59
+ "readonly"
60
+ ],
61
+ "description": "Whether the menu trigger has a popup.",
62
+ "jsdocTags": []
63
+ },
64
+ {
65
+ "name": "disabled",
66
+ "type": "any",
67
+ "memberType": "property",
68
+ "memberTags": [
69
+ "readonly",
70
+ "input"
71
+ ],
72
+ "description": "Whether the menu trigger is disabled.",
73
+ "jsdocTags": [],
74
+ "inputAlias": "disabled",
75
+ "isRequiredInput": false
76
+ },
77
+ {
78
+ "name": "softDisabled",
79
+ "type": "any",
80
+ "memberType": "property",
81
+ "memberTags": [
82
+ "readonly",
83
+ "input"
84
+ ],
85
+ "description": "Whether the menu trigger is soft disabled.",
86
+ "jsdocTags": [],
87
+ "inputAlias": "softDisabled",
88
+ "isRequiredInput": false
89
+ },
90
+ {
91
+ "name": "open",
56
92
  "signatures": [
57
93
  {
58
- "name": "onFocusIn",
94
+ "name": "open",
59
95
  "entryType": "function",
60
- "description": "Marks the menu trigger as having been focused.",
96
+ "description": "Opens the menu focusing on the first menu item.",
61
97
  "generics": [],
62
98
  "isNewType": false,
63
99
  "jsdocTags": [],
64
100
  "params": [],
65
- "rawComment": "/** Marks the menu trigger as having been focused. */",
101
+ "rawComment": "/** Opens the menu focusing on the first menu item. */",
66
102
  "returnType": "void"
67
103
  }
68
104
  ],
@@ -71,16 +107,49 @@
71
107
  "isNewType": false,
72
108
  "returnType": "void",
73
109
  "generics": [],
74
- "name": "onFocusIn",
75
- "description": "Marks the menu trigger as having been focused.",
110
+ "name": "open",
111
+ "description": "Opens the menu focusing on the first menu item.",
76
112
  "entryType": "function",
77
113
  "jsdocTags": [],
78
- "rawComment": "/** Marks the menu trigger as having been focused. */"
114
+ "rawComment": "/** Opens the menu focusing on the first menu item. */"
79
115
  },
80
116
  "entryType": "function",
81
- "description": "Marks the menu trigger as having been focused.",
117
+ "description": "Opens the menu focusing on the first menu item.",
82
118
  "jsdocTags": [],
83
- "rawComment": "/** Marks the menu trigger as having been focused. */",
119
+ "rawComment": "/** Opens the menu focusing on the first menu item. */",
120
+ "memberType": "method",
121
+ "memberTags": []
122
+ },
123
+ {
124
+ "name": "close",
125
+ "signatures": [
126
+ {
127
+ "name": "close",
128
+ "entryType": "function",
129
+ "description": "Closes the menu.",
130
+ "generics": [],
131
+ "isNewType": false,
132
+ "jsdocTags": [],
133
+ "params": [],
134
+ "rawComment": "/** Closes the menu. */",
135
+ "returnType": "void"
136
+ }
137
+ ],
138
+ "implementation": {
139
+ "params": [],
140
+ "isNewType": false,
141
+ "returnType": "void",
142
+ "generics": [],
143
+ "name": "close",
144
+ "description": "Closes the menu.",
145
+ "entryType": "function",
146
+ "jsdocTags": [],
147
+ "rawComment": "/** Closes the menu. */"
148
+ },
149
+ "entryType": "function",
150
+ "description": "Closes the menu.",
151
+ "jsdocTags": [],
152
+ "rawComment": "/** Closes the menu. */",
84
153
  "memberType": "method",
85
154
  "memberTags": []
86
155
  }
@@ -90,9 +159,14 @@
90
159
  "name": "V"
91
160
  }
92
161
  ],
93
- "description": "A trigger for a menu.\n\nThe menu trigger is used to open and close menus, and can be placed on menu items to connect\nsub-menus.",
94
- "jsdocTags": [],
95
- "rawComment": "/**\n * A trigger for a menu.\n *\n * The menu trigger is used to open and close menus, and can be placed on menu items to connect\n * sub-menus.\n */",
162
+ "description": "A trigger for a menu.\n\nThe `ngMenuTrigger` directive is used to open and close menus. It can be applied to\nany interactive element (e.g., a button) to associate it with a `ngMenu` instance.\nIt also supports linking to sub-menus when applied to a `ngMenuItem`.\n\n```html\n<button ngMenuTrigger [menu]=\"myMenu\">Open Menu</button>\n\n<div ngMenu #myMenu=\"ngMenu\">\n <div ngMenuItem>Item 1</div>\n <div ngMenuItem>Item 2</div>\n</div>\n```",
163
+ "jsdocTags": [
164
+ {
165
+ "name": "developerPreview",
166
+ "comment": "21.0"
167
+ }
168
+ ],
169
+ "rawComment": "/**\n * A trigger for a menu.\n *\n * The `ngMenuTrigger` directive is used to open and close menus. It can be applied to\n * any interactive element (e.g., a button) to associate it with a `ngMenu` instance.\n * It also supports linking to sub-menus when applied to a `ngMenuItem`.\n *\n * ```html\n * <button ngMenuTrigger [menu]=\"myMenu\">Open Menu</button>\n *\n * <div ngMenu #myMenu=\"ngMenu\">\n * <div ngMenuItem>Item 1</div>\n * <div ngMenuItem>Item 2</div>\n * </div>\n * ```\n *\n * @developerPreview 21.0\n */",
96
170
  "implements": [],
97
171
  "isStandalone": true,
98
172
  "selector": "button[ngMenuTrigger]",
@@ -101,8 +175,8 @@
101
175
  ],
102
176
  "source": {
103
177
  "filePath": "/src/aria/menu/menu.ts",
104
- "startLine": 42,
105
- "endLine": 88
178
+ "startLine": 55,
179
+ "endLine": 117
106
180
  }
107
181
  },
108
182
  {
@@ -117,7 +191,7 @@
117
191
  "memberTags": [
118
192
  "readonly"
119
193
  ],
120
- "description": "A reference to the menu element.",
194
+ "description": "A reference to the host element.",
121
195
  "jsdocTags": []
122
196
  },
123
197
  {
@@ -157,7 +231,17 @@
157
231
  "memberTags": [
158
232
  "readonly"
159
233
  ],
160
- "description": "The delay in seconds before the typeahead buffer is cleared.",
234
+ "description": "The delay in milliseconds before the typeahead buffer is cleared.",
235
+ "jsdocTags": []
236
+ },
237
+ {
238
+ "name": "disabled",
239
+ "type": "any",
240
+ "memberType": "property",
241
+ "memberTags": [
242
+ "readonly"
243
+ ],
244
+ "description": "Whether the menu is disabled.",
161
245
  "jsdocTags": []
162
246
  },
163
247
  {
@@ -181,13 +265,25 @@
181
265
  "jsdocTags": []
182
266
  },
183
267
  {
184
- "name": "isVisible",
268
+ "name": "visible",
185
269
  "type": "any",
186
270
  "memberType": "property",
187
- "memberTags": [],
271
+ "memberTags": [
272
+ "readonly"
273
+ ],
188
274
  "description": "Whether the menu is visible.",
189
275
  "jsdocTags": []
190
276
  },
277
+ {
278
+ "name": "tabIndex",
279
+ "type": "any",
280
+ "memberType": "property",
281
+ "memberTags": [
282
+ "readonly"
283
+ ],
284
+ "description": "The tab index of the menu.",
285
+ "jsdocTags": []
286
+ },
191
287
  {
192
288
  "name": "onSelect",
193
289
  "type": "any",
@@ -196,6 +292,16 @@
196
292
  "description": "A callback function triggered when a menu item is selected.",
197
293
  "jsdocTags": []
198
294
  },
295
+ {
296
+ "name": "expansionDelay",
297
+ "type": "any",
298
+ "memberType": "property",
299
+ "memberTags": [
300
+ "readonly"
301
+ ],
302
+ "description": "The delay in milliseconds before expanding sub-menus on hover.",
303
+ "jsdocTags": []
304
+ },
199
305
  {
200
306
  "name": "close",
201
307
  "signatures": [
@@ -206,29 +312,13 @@
206
312
  "generics": [],
207
313
  "isNewType": false,
208
314
  "jsdocTags": [],
209
- "params": [
210
- {
211
- "name": "opts",
212
- "description": "",
213
- "type": "{ refocus?: boolean | undefined; } | undefined",
214
- "isOptional": true,
215
- "isRestParam": false
216
- }
217
- ],
315
+ "params": [],
218
316
  "rawComment": "/** Closes the menu. */",
219
317
  "returnType": "void"
220
318
  }
221
319
  ],
222
320
  "implementation": {
223
- "params": [
224
- {
225
- "name": "opts",
226
- "description": "",
227
- "type": "{ refocus?: boolean | undefined; } | undefined",
228
- "isOptional": true,
229
- "isRestParam": false
230
- }
231
- ],
321
+ "params": [],
232
322
  "isNewType": false,
233
323
  "returnType": "void",
234
324
  "generics": [],
@@ -244,55 +334,6 @@
244
334
  "rawComment": "/** Closes the menu. */",
245
335
  "memberType": "method",
246
336
  "memberTags": []
247
- },
248
- {
249
- "name": "closeAll",
250
- "signatures": [
251
- {
252
- "name": "closeAll",
253
- "entryType": "function",
254
- "description": "Closes all parent menus.",
255
- "generics": [],
256
- "isNewType": false,
257
- "jsdocTags": [],
258
- "params": [
259
- {
260
- "name": "opts",
261
- "description": "",
262
- "type": "{ refocus?: boolean | undefined; } | undefined",
263
- "isOptional": true,
264
- "isRestParam": false
265
- }
266
- ],
267
- "rawComment": "/** Closes all parent menus. */",
268
- "returnType": "void"
269
- }
270
- ],
271
- "implementation": {
272
- "params": [
273
- {
274
- "name": "opts",
275
- "description": "",
276
- "type": "{ refocus?: boolean | undefined; } | undefined",
277
- "isOptional": true,
278
- "isRestParam": false
279
- }
280
- ],
281
- "isNewType": false,
282
- "returnType": "void",
283
- "generics": [],
284
- "name": "closeAll",
285
- "description": "Closes all parent menus.",
286
- "entryType": "function",
287
- "jsdocTags": [],
288
- "rawComment": "/** Closes all parent menus. */"
289
- },
290
- "entryType": "function",
291
- "description": "Closes all parent menus.",
292
- "jsdocTags": [],
293
- "rawComment": "/** Closes all parent menus. */",
294
- "memberType": "method",
295
- "memberTags": []
296
337
  }
297
338
  ],
298
339
  "generics": [
@@ -300,14 +341,19 @@
300
341
  "name": "V"
301
342
  }
302
343
  ],
303
- "description": "A list of menu items.\n\nA menu is used to offer a list of menu item choices to users. Menus can be nested within other\nmenus to create sub-menus.\n\n```html\n<button ngMenuTrigger menu=\"menu\">Options</button>\n\n<div ngMenu #menu=\"ngMenu\">\n <div ngMenuItem>Star</div>\n <div ngMenuItem>Edit</div>\n <div ngMenuItem>Delete</div>\n</div>\n```",
304
- "jsdocTags": [],
305
- "rawComment": "/**\n * A list of menu items.\n *\n * A menu is used to offer a list of menu item choices to users. Menus can be nested within other\n * menus to create sub-menus.\n *\n * ```html\n * <button ngMenuTrigger menu=\"menu\">Options</button>\n *\n * <div ngMenu #menu=\"ngMenu\">\n * <div ngMenuItem>Star</div>\n * <div ngMenuItem>Edit</div>\n * <div ngMenuItem>Delete</div>\n * </div>\n * ```\n */",
344
+ "description": "A list of menu items.\n\nA `ngMenu` is used to offer a list of menu item choices to users. Menus can be nested\nwithin other menus to create sub-menus. It works in conjunction with `ngMenuTrigger`\nand `ngMenuItem` directives.\n\n```html\n<button ngMenuTrigger [menu]=\"myMenu\">Options</button>\n\n<div ngMenu #myMenu=\"ngMenu\">\n <div ngMenuItem>Star</div>\n <div ngMenuItem>Edit</div>\n <div ngMenuItem [submenu]=\"subMenu\">More</div>\n</div>\n\n<div ngMenu #subMenu=\"ngMenu\">\n <div ngMenuItem>Sub Item 1</div>\n <div ngMenuItem>Sub Item 2</div>\n</div>\n```",
345
+ "jsdocTags": [
346
+ {
347
+ "name": "developerPreview",
348
+ "comment": "21.0"
349
+ }
350
+ ],
351
+ "rawComment": "/**\n * A list of menu items.\n *\n * A `ngMenu` is used to offer a list of menu item choices to users. Menus can be nested\n * within other menus to create sub-menus. It works in conjunction with `ngMenuTrigger`\n * and `ngMenuItem` directives.\n *\n * ```html\n * <button ngMenuTrigger [menu]=\"myMenu\">Options</button>\n *\n * <div ngMenu #myMenu=\"ngMenu\">\n * <div ngMenuItem>Star</div>\n * <div ngMenuItem>Edit</div>\n * <div ngMenuItem [submenu]=\"subMenu\">More</div>\n * </div>\n *\n * <div ngMenu #subMenu=\"ngMenu\">\n * <div ngMenuItem>Sub Item 1</div>\n * <div ngMenuItem>Sub Item 2</div>\n * </div>\n * ```\n *\n * @developerPreview 21.0\n */",
306
352
  "implements": [],
307
353
  "source": {
308
354
  "filePath": "/src/aria/menu/menu.ts",
309
- "startLine": 106,
310
- "endLine": 241
355
+ "startLine": 143,
356
+ "endLine": 273
311
357
  }
312
358
  },
313
359
  {
@@ -322,9 +368,35 @@
322
368
  "memberTags": [
323
369
  "readonly"
324
370
  ],
325
- "description": "A reference to the menubar element.",
371
+ "description": "A reference to the host element.",
326
372
  "jsdocTags": []
327
373
  },
374
+ {
375
+ "name": "disabled",
376
+ "type": "any",
377
+ "memberType": "property",
378
+ "memberTags": [
379
+ "readonly",
380
+ "input"
381
+ ],
382
+ "description": "Whether the menubar is disabled.",
383
+ "jsdocTags": [],
384
+ "inputAlias": "disabled",
385
+ "isRequiredInput": false
386
+ },
387
+ {
388
+ "name": "softDisabled",
389
+ "type": "any",
390
+ "memberType": "property",
391
+ "memberTags": [
392
+ "readonly",
393
+ "input"
394
+ ],
395
+ "description": "Whether the menubar is soft disabled.",
396
+ "jsdocTags": [],
397
+ "inputAlias": "softDisabled",
398
+ "isRequiredInput": false
399
+ },
328
400
  {
329
401
  "name": "textDirection",
330
402
  "type": "any",
@@ -336,7 +408,7 @@
336
408
  "jsdocTags": []
337
409
  },
338
410
  {
339
- "name": "value",
411
+ "name": "values",
340
412
  "type": "any",
341
413
  "memberType": "property",
342
414
  "memberTags": [
@@ -344,11 +416,11 @@
344
416
  "input",
345
417
  "output"
346
418
  ],
347
- "description": "The value of the menu.",
419
+ "description": "The values of the currently selected menu items.",
348
420
  "jsdocTags": [],
349
- "inputAlias": "value",
421
+ "inputAlias": "values",
350
422
  "isRequiredInput": false,
351
- "outputAlias": "valueChange"
423
+ "outputAlias": "valuesChange"
352
424
  },
353
425
  {
354
426
  "name": "wrap",
@@ -371,7 +443,7 @@
371
443
  "readonly",
372
444
  "input"
373
445
  ],
374
- "description": "The delay in seconds before the typeahead buffer is cleared.",
446
+ "description": "The delay in milliseconds before the typeahead buffer is cleared.",
375
447
  "jsdocTags": [],
376
448
  "inputAlias": "typeaheadDelay",
377
449
  "isRequiredInput": false
@@ -396,6 +468,39 @@
396
468
  "description": "A callback function triggered when a menu item is selected.",
397
469
  "jsdocTags": [],
398
470
  "outputAlias": "onSelect"
471
+ },
472
+ {
473
+ "name": "close",
474
+ "signatures": [
475
+ {
476
+ "name": "close",
477
+ "entryType": "function",
478
+ "description": "Closes the menubar.",
479
+ "generics": [],
480
+ "isNewType": false,
481
+ "jsdocTags": [],
482
+ "params": [],
483
+ "rawComment": "/** Closes the menubar. */",
484
+ "returnType": "void"
485
+ }
486
+ ],
487
+ "implementation": {
488
+ "params": [],
489
+ "isNewType": false,
490
+ "returnType": "void",
491
+ "generics": [],
492
+ "name": "close",
493
+ "description": "Closes the menubar.",
494
+ "entryType": "function",
495
+ "jsdocTags": [],
496
+ "rawComment": "/** Closes the menubar. */"
497
+ },
498
+ "entryType": "function",
499
+ "description": "Closes the menubar.",
500
+ "jsdocTags": [],
501
+ "rawComment": "/** Closes the menubar. */",
502
+ "memberType": "method",
503
+ "memberTags": []
399
504
  }
400
505
  ],
401
506
  "generics": [
@@ -403,9 +508,14 @@
403
508
  "name": "V"
404
509
  }
405
510
  ],
406
- "description": "A menu bar of menu items.\n\nLike the menu, a menubar is used to offer a list of menu item choices to users. However, a\nmenubar is used to display a persistent, top-level,\nalways-visible set of menu item choices.",
407
- "jsdocTags": [],
408
- "rawComment": "/**\n * A menu bar of menu items.\n *\n * Like the menu, a menubar is used to offer a list of menu item choices to users. However, a\n * menubar is used to display a persistent, top-level,\n * always-visible set of menu item choices.\n */",
511
+ "description": "A menu bar of menu items.\n\nLike the `ngMenu`, a `ngMenuBar` is used to offer a list of menu item choices to users.\nHowever, a menubar is used to display a persistent, top-level, always-visible set of\nmenu item choices, typically found at the top of an application window.\n\n```html\n<div ngMenuBar>\n <button ngMenuTrigger [menu]=\"fileMenu\">File</button>\n <button ngMenuTrigger [menu]=\"editMenu\">Edit</button>\n</div>\n\n<div ngMenu #fileMenu=\"ngMenu\">\n <div ngMenuItem>New</div>\n <div ngMenuItem>Open</div>\n</div>\n\n<div ngMenu #editMenu=\"ngMenu\">\n <div ngMenuItem>Cut</div>\n <div ngMenuItem>Copy</div>\n</div>\n```",
512
+ "jsdocTags": [
513
+ {
514
+ "name": "developerPreview",
515
+ "comment": "21.0"
516
+ }
517
+ ],
518
+ "rawComment": "/**\n * A menu bar of menu items.\n *\n * Like the `ngMenu`, a `ngMenuBar` is used to offer a list of menu item choices to users.\n * However, a menubar is used to display a persistent, top-level, always-visible set of\n * menu item choices, typically found at the top of an application window.\n *\n * ```html\n * <div ngMenuBar>\n * <button ngMenuTrigger [menu]=\"fileMenu\">File</button>\n * <button ngMenuTrigger [menu]=\"editMenu\">Edit</button>\n * </div>\n *\n * <div ngMenu #fileMenu=\"ngMenu\">\n * <div ngMenuItem>New</div>\n * <div ngMenuItem>Open</div>\n * </div>\n *\n * <div ngMenu #editMenu=\"ngMenu\">\n * <div ngMenuItem>Cut</div>\n * <div ngMenuItem>Copy</div>\n * </div>\n * ```\n *\n * @developerPreview 21.0\n */",
409
519
  "implements": [],
410
520
  "isStandalone": true,
411
521
  "selector": "[ngMenuBar]",
@@ -414,8 +524,8 @@
414
524
  ],
415
525
  "source": {
416
526
  "filePath": "/src/aria/menu/menu.ts",
417
- "startLine": 250,
418
- "endLine": 320
527
+ "startLine": 301,
528
+ "endLine": 384
419
529
  }
420
530
  },
421
531
  {
@@ -430,7 +540,7 @@
430
540
  "memberTags": [
431
541
  "readonly"
432
542
  ],
433
- "description": "A reference to the menu element.",
543
+ "description": "A reference to the host element.",
434
544
  "jsdocTags": []
435
545
  },
436
546
  {
@@ -511,27 +621,80 @@
511
621
  "isRequiredInput": false
512
622
  },
513
623
  {
514
- "name": "hasBeenFocused",
624
+ "name": "active",
515
625
  "type": "any",
516
626
  "memberType": "property",
517
627
  "memberTags": [
518
628
  "readonly"
519
629
  ],
520
- "description": "Whether the menu item has been focused.",
630
+ "description": "Whether the menu item is active.",
521
631
  "jsdocTags": []
522
632
  },
523
633
  {
524
- "name": "onFocusIn",
634
+ "name": "expanded",
635
+ "type": "any",
636
+ "memberType": "property",
637
+ "memberTags": [
638
+ "readonly"
639
+ ],
640
+ "description": "Whether the menu is expanded.",
641
+ "jsdocTags": []
642
+ },
643
+ {
644
+ "name": "hasPopup",
645
+ "type": "any",
646
+ "memberType": "property",
647
+ "memberTags": [
648
+ "readonly"
649
+ ],
650
+ "description": "Whether the menu item has a popup.",
651
+ "jsdocTags": []
652
+ },
653
+ {
654
+ "name": "open",
655
+ "signatures": [
656
+ {
657
+ "name": "open",
658
+ "entryType": "function",
659
+ "description": "Opens the submenu focusing on the first menu item.",
660
+ "generics": [],
661
+ "isNewType": false,
662
+ "jsdocTags": [],
663
+ "params": [],
664
+ "rawComment": "/** Opens the submenu focusing on the first menu item. */",
665
+ "returnType": "void"
666
+ }
667
+ ],
668
+ "implementation": {
669
+ "params": [],
670
+ "isNewType": false,
671
+ "returnType": "void",
672
+ "generics": [],
673
+ "name": "open",
674
+ "description": "Opens the submenu focusing on the first menu item.",
675
+ "entryType": "function",
676
+ "jsdocTags": [],
677
+ "rawComment": "/** Opens the submenu focusing on the first menu item. */"
678
+ },
679
+ "entryType": "function",
680
+ "description": "Opens the submenu focusing on the first menu item.",
681
+ "jsdocTags": [],
682
+ "rawComment": "/** Opens the submenu focusing on the first menu item. */",
683
+ "memberType": "method",
684
+ "memberTags": []
685
+ },
686
+ {
687
+ "name": "close",
525
688
  "signatures": [
526
689
  {
527
- "name": "onFocusIn",
690
+ "name": "close",
528
691
  "entryType": "function",
529
- "description": "Marks the menu item as having been focused.",
692
+ "description": "Closes the submenu.",
530
693
  "generics": [],
531
694
  "isNewType": false,
532
695
  "jsdocTags": [],
533
696
  "params": [],
534
- "rawComment": "/** Marks the menu item as having been focused. */",
697
+ "rawComment": "/** Closes the submenu. */",
535
698
  "returnType": "void"
536
699
  }
537
700
  ],
@@ -540,16 +703,16 @@
540
703
  "isNewType": false,
541
704
  "returnType": "void",
542
705
  "generics": [],
543
- "name": "onFocusIn",
544
- "description": "Marks the menu item as having been focused.",
706
+ "name": "close",
707
+ "description": "Closes the submenu.",
545
708
  "entryType": "function",
546
709
  "jsdocTags": [],
547
- "rawComment": "/** Marks the menu item as having been focused. */"
710
+ "rawComment": "/** Closes the submenu. */"
548
711
  },
549
712
  "entryType": "function",
550
- "description": "Marks the menu item as having been focused.",
713
+ "description": "Closes the submenu.",
551
714
  "jsdocTags": [],
552
- "rawComment": "/** Marks the menu item as having been focused. */",
715
+ "rawComment": "/** Closes the submenu. */",
553
716
  "memberType": "method",
554
717
  "memberTags": []
555
718
  }
@@ -559,9 +722,14 @@
559
722
  "name": "V"
560
723
  }
561
724
  ],
562
- "description": "An item in a Menu.\n\nMenu items can be used in menus and menubars to represent a choice or action a user can take.",
563
- "jsdocTags": [],
564
- "rawComment": "/**\n * An item in a Menu.\n *\n * Menu items can be used in menus and menubars to represent a choice or action a user can take.\n */",
725
+ "description": "An item in a Menu.\n\n`ngMenuItem` directives can be used in `ngMenu` and `ngMenuBar` to represent a choice\nor action a user can take. They can also act as triggers for sub-menus.\n\n```html\n<div ngMenuItem (onSelect)=\"doAction()\">Action Item</div>\n\n<div ngMenuItem [submenu]=\"anotherMenu\">Submenu Trigger</div>\n```",
726
+ "jsdocTags": [
727
+ {
728
+ "name": "developerPreview",
729
+ "comment": "21.0"
730
+ }
731
+ ],
732
+ "rawComment": "/**\n * An item in a Menu.\n *\n * `ngMenuItem` directives can be used in `ngMenu` and `ngMenuBar` to represent a choice\n * or action a user can take. They can also act as triggers for sub-menus.\n *\n * ```html\n * <div ngMenuItem (onSelect)=\"doAction()\">Action Item</div>\n *\n * <div ngMenuItem [submenu]=\"anotherMenu\">Submenu Trigger</div>\n * ```\n *\n * @developerPreview 21.0\n */",
565
733
  "implements": [],
566
734
  "isStandalone": true,
567
735
  "selector": "[ngMenuItem]",
@@ -570,8 +738,8 @@
570
738
  ],
571
739
  "source": {
572
740
  "filePath": "/src/aria/menu/menu.ts",
573
- "startLine": 327,
574
- "endLine": 397
741
+ "startLine": 400,
742
+ "endLine": 480
575
743
  }
576
744
  },
577
745
  {
@@ -580,14 +748,19 @@
580
748
  "entryType": "undecorated_class",
581
749
  "members": [],
582
750
  "generics": [],
583
- "description": "Defers the rendering of the menu content.",
584
- "jsdocTags": [],
585
- "rawComment": "/** Defers the rendering of the menu content. */",
751
+ "description": "Defers the rendering of the menu content.\n\nThis structural directive should be applied to an `ng-template` within a `ngMenu`\nor `ngMenuBar` to lazily render its content only when the menu is opened.\n\n```html\n<div ngMenu #myMenu=\"ngMenu\">\n <ng-template ngMenuContent>\n <div ngMenuItem>Lazy Item 1</div>\n <div ngMenuItem>Lazy Item 2</div>\n </ng-template>\n</div>\n```",
752
+ "jsdocTags": [
753
+ {
754
+ "name": "developerPreview",
755
+ "comment": "21.0"
756
+ }
757
+ ],
758
+ "rawComment": "/**\n * Defers the rendering of the menu content.\n *\n * This structural directive should be applied to an `ng-template` within a `ngMenu`\n * or `ngMenuBar` to lazily render its content only when the menu is opened.\n *\n * ```html\n * <div ngMenu #myMenu=\"ngMenu\">\n * <ng-template ngMenuContent>\n * <div ngMenuItem>Lazy Item 1</div>\n * <div ngMenuItem>Lazy Item 2</div>\n * </ng-template>\n * </div>\n * ```\n *\n * @developerPreview 21.0\n */",
586
759
  "implements": [],
587
760
  "source": {
588
761
  "filePath": "/src/aria/menu/menu.ts",
589
- "startLine": 400,
590
- "endLine": 405
762
+ "startLine": 499,
763
+ "endLine": 504
591
764
  }
592
765
  }
593
766
  ],
@@ -596,6 +769,10 @@
596
769
  "afterRenderEffect",
597
770
  "@angular/core"
598
771
  ],
772
+ [
773
+ "booleanAttribute",
774
+ "@angular/core"
775
+ ],
599
776
  [
600
777
  "computed",
601
778
  "@angular/core"
@@ -705,11 +882,11 @@
705
882
  "@angular/aria/menu"
706
883
  ],
707
884
  [
708
- "MenuTrigger.textDirection",
885
+ "MenuTrigger.element",
709
886
  "@angular/aria/menu"
710
887
  ],
711
888
  [
712
- "MenuTrigger.element",
889
+ "MenuTrigger.textDirection",
713
890
  "@angular/aria/menu"
714
891
  ],
715
892
  [
@@ -717,11 +894,27 @@
717
894
  "@angular/aria/menu"
718
895
  ],
719
896
  [
720
- "MenuTrigger.hasBeenFocused",
897
+ "MenuTrigger.expanded",
898
+ "@angular/aria/menu"
899
+ ],
900
+ [
901
+ "MenuTrigger.hasPopup",
721
902
  "@angular/aria/menu"
722
903
  ],
723
904
  [
724
- "MenuTrigger.onFocusIn",
905
+ "MenuTrigger.disabled",
906
+ "@angular/aria/menu"
907
+ ],
908
+ [
909
+ "MenuTrigger.softDisabled",
910
+ "@angular/aria/menu"
911
+ ],
912
+ [
913
+ "MenuTrigger.open",
914
+ "@angular/aria/menu"
915
+ ],
916
+ [
917
+ "MenuTrigger.close",
725
918
  "@angular/aria/menu"
726
919
  ],
727
920
  [
@@ -748,6 +941,10 @@
748
941
  "Menu.typeaheadDelay",
749
942
  "@angular/aria/menu"
750
943
  ],
944
+ [
945
+ "Menu.disabled",
946
+ "@angular/aria/menu"
947
+ ],
751
948
  [
752
949
  "Menu.parent",
753
950
  "@angular/aria/menu"
@@ -757,7 +954,11 @@
757
954
  "@angular/aria/menu"
758
955
  ],
759
956
  [
760
- "Menu.isVisible",
957
+ "Menu.visible",
958
+ "@angular/aria/menu"
959
+ ],
960
+ [
961
+ "Menu.tabIndex",
761
962
  "@angular/aria/menu"
762
963
  ],
763
964
  [
@@ -765,11 +966,11 @@
765
966
  "@angular/aria/menu"
766
967
  ],
767
968
  [
768
- "Menu.close",
969
+ "Menu.expansionDelay",
769
970
  "@angular/aria/menu"
770
971
  ],
771
972
  [
772
- "Menu.closeAll",
973
+ "Menu.close",
773
974
  "@angular/aria/menu"
774
975
  ],
775
976
  [
@@ -780,12 +981,20 @@
780
981
  "MenuBar.element",
781
982
  "@angular/aria/menu"
782
983
  ],
984
+ [
985
+ "MenuBar.disabled",
986
+ "@angular/aria/menu"
987
+ ],
988
+ [
989
+ "MenuBar.softDisabled",
990
+ "@angular/aria/menu"
991
+ ],
783
992
  [
784
993
  "MenuBar.textDirection",
785
994
  "@angular/aria/menu"
786
995
  ],
787
996
  [
788
- "MenuBar.value",
997
+ "MenuBar.values",
789
998
  "@angular/aria/menu"
790
999
  ],
791
1000
  [
@@ -804,6 +1013,10 @@
804
1013
  "MenuBar.onSelect",
805
1014
  "@angular/aria/menu"
806
1015
  ],
1016
+ [
1017
+ "MenuBar.close",
1018
+ "@angular/aria/menu"
1019
+ ],
807
1020
  [
808
1021
  "MenuItem",
809
1022
  "@angular/aria/menu"
@@ -837,11 +1050,23 @@
837
1050
  "@angular/aria/menu"
838
1051
  ],
839
1052
  [
840
- "MenuItem.hasBeenFocused",
1053
+ "MenuItem.active",
1054
+ "@angular/aria/menu"
1055
+ ],
1056
+ [
1057
+ "MenuItem.expanded",
1058
+ "@angular/aria/menu"
1059
+ ],
1060
+ [
1061
+ "MenuItem.hasPopup",
1062
+ "@angular/aria/menu"
1063
+ ],
1064
+ [
1065
+ "MenuItem.open",
841
1066
  "@angular/aria/menu"
842
1067
  ],
843
1068
  [
844
- "MenuItem.onFocusIn",
1069
+ "MenuItem.close",
845
1070
  "@angular/aria/menu"
846
1071
  ],
847
1072
  [