@angular/aria 22.1.4 → 22.1.5
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/fesm2022/_deferred-content-chunk.mjs +6 -6
- package/fesm2022/_menu-chunk.mjs +4 -2
- package/fesm2022/_menu-chunk.mjs.map +1 -1
- package/fesm2022/accordion.mjs +12 -12
- package/fesm2022/aria.mjs +1 -1
- package/fesm2022/aria.mjs.map +1 -1
- package/fesm2022/combobox.mjs +11 -10
- package/fesm2022/combobox.mjs.map +1 -1
- package/fesm2022/grid.mjs +12 -12
- package/fesm2022/listbox.mjs +6 -6
- package/fesm2022/menu.mjs +15 -15
- package/fesm2022/private.mjs +6 -1
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/tabs.mjs +15 -15
- package/fesm2022/toolbar.mjs +9 -9
- package/fesm2022/tree.mjs +9 -9
- package/package.json +2 -2
- package/types/_menu-chunk.d.ts +4 -2
- package/types/private.d.ts +6 -0
package/fesm2022/tree.mjs
CHANGED
|
@@ -124,7 +124,7 @@ class Tree {
|
|
|
124
124
|
}
|
|
125
125
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
126
126
|
minVersion: "12.0.0",
|
|
127
|
-
version: "22.1.
|
|
127
|
+
version: "22.1.4",
|
|
128
128
|
ngImport: i0,
|
|
129
129
|
type: Tree,
|
|
130
130
|
deps: [],
|
|
@@ -132,7 +132,7 @@ class Tree {
|
|
|
132
132
|
});
|
|
133
133
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
134
134
|
minVersion: "17.1.0",
|
|
135
|
-
version: "22.1.
|
|
135
|
+
version: "22.1.4",
|
|
136
136
|
type: Tree,
|
|
137
137
|
isStandalone: true,
|
|
138
138
|
selector: "[ngTree]",
|
|
@@ -256,7 +256,7 @@ class Tree {
|
|
|
256
256
|
}
|
|
257
257
|
i0.ɵɵngDeclareClassMetadata({
|
|
258
258
|
minVersion: "12.0.0",
|
|
259
|
-
version: "22.1.
|
|
259
|
+
version: "22.1.4",
|
|
260
260
|
ngImport: i0,
|
|
261
261
|
type: Tree,
|
|
262
262
|
decorators: [{
|
|
@@ -420,7 +420,7 @@ class TreeItemGroup {
|
|
|
420
420
|
}
|
|
421
421
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
422
422
|
minVersion: "12.0.0",
|
|
423
|
-
version: "22.1.
|
|
423
|
+
version: "22.1.4",
|
|
424
424
|
ngImport: i0,
|
|
425
425
|
type: TreeItemGroup,
|
|
426
426
|
deps: [],
|
|
@@ -428,7 +428,7 @@ class TreeItemGroup {
|
|
|
428
428
|
});
|
|
429
429
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
430
430
|
minVersion: "17.1.0",
|
|
431
|
-
version: "22.1.
|
|
431
|
+
version: "22.1.4",
|
|
432
432
|
type: TreeItemGroup,
|
|
433
433
|
isStandalone: true,
|
|
434
434
|
selector: "ng-template[ngTreeItemGroup]",
|
|
@@ -450,7 +450,7 @@ class TreeItemGroup {
|
|
|
450
450
|
}
|
|
451
451
|
i0.ɵɵngDeclareClassMetadata({
|
|
452
452
|
minVersion: "12.0.0",
|
|
453
|
-
version: "22.1.
|
|
453
|
+
version: "22.1.4",
|
|
454
454
|
ngImport: i0,
|
|
455
455
|
type: TreeItemGroup,
|
|
456
456
|
decorators: [{
|
|
@@ -578,7 +578,7 @@ class TreeItem extends DeferredContentAware {
|
|
|
578
578
|
}
|
|
579
579
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
580
580
|
minVersion: "12.0.0",
|
|
581
|
-
version: "22.1.
|
|
581
|
+
version: "22.1.4",
|
|
582
582
|
ngImport: i0,
|
|
583
583
|
type: TreeItem,
|
|
584
584
|
deps: [],
|
|
@@ -586,7 +586,7 @@ class TreeItem extends DeferredContentAware {
|
|
|
586
586
|
});
|
|
587
587
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
588
588
|
minVersion: "17.1.0",
|
|
589
|
-
version: "22.1.
|
|
589
|
+
version: "22.1.4",
|
|
590
590
|
type: TreeItem,
|
|
591
591
|
isStandalone: true,
|
|
592
592
|
selector: "[ngTreeItem]",
|
|
@@ -668,7 +668,7 @@ class TreeItem extends DeferredContentAware {
|
|
|
668
668
|
}
|
|
669
669
|
i0.ɵɵngDeclareClassMetadata({
|
|
670
670
|
minVersion: "12.0.0",
|
|
671
|
-
version: "22.1.
|
|
671
|
+
version: "22.1.4",
|
|
672
672
|
ngImport: i0,
|
|
673
673
|
type: TreeItem,
|
|
674
674
|
decorators: [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/aria",
|
|
3
|
-
"version": "22.1.
|
|
3
|
+
"version": "22.1.5",
|
|
4
4
|
"description": "Angular Aria",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"homepage": "https://github.com/angular/components#readme",
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@angular/cdk": "22.1.
|
|
15
|
+
"@angular/cdk": "22.1.5",
|
|
16
16
|
"@angular/core": "^22.0.0 || ^23.0.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
package/types/_menu-chunk.d.ts
CHANGED
|
@@ -65,10 +65,12 @@ declare class MenuPattern<V> {
|
|
|
65
65
|
readonly hasBeenInteracted: WritableSignalLike<boolean>;
|
|
66
66
|
/** Whether the menu trigger has been hovered. */
|
|
67
67
|
readonly hasBeenHovered: WritableSignalLike<boolean>;
|
|
68
|
+
/** Items currently inside the menu. */
|
|
69
|
+
readonly items: () => MenuItemPattern<V>[];
|
|
68
70
|
/** Timeout used to open sub-menus on hover. */
|
|
69
|
-
_openTimeout
|
|
71
|
+
private _openTimeout;
|
|
70
72
|
/** Timeout used to close sub-menus on hover out. */
|
|
71
|
-
_closeTimeout
|
|
73
|
+
private _closeTimeout;
|
|
72
74
|
/** The tab index of the menu. */
|
|
73
75
|
readonly tabIndex: () => -1 | 0;
|
|
74
76
|
/** Whether the menu should be focused on mouse over. */
|
package/types/private.d.ts
CHANGED
|
@@ -96,6 +96,8 @@ declare class ComboboxPattern {
|
|
|
96
96
|
onFocusin(): void;
|
|
97
97
|
/** Handles focus out events for the combobox. */
|
|
98
98
|
onFocusout(): void;
|
|
99
|
+
/** Closes the popup once focus has left both the combobox and the popup. */
|
|
100
|
+
closePopupOnFocusout(): void;
|
|
99
101
|
/** Handles input events for the combobox. */
|
|
100
102
|
onInput(event: Event): void;
|
|
101
103
|
/** Highlights the currently selected item in the combobox. */
|
|
@@ -113,6 +115,8 @@ interface ComboboxPopupInputs {
|
|
|
113
115
|
activeDescendant: SignalLike<string | undefined>;
|
|
114
116
|
/** The ID of the popup. */
|
|
115
117
|
popupId: SignalLike<string | undefined>;
|
|
118
|
+
/** A reference to the parent combobox. */
|
|
119
|
+
combobox: SignalLike<ComboboxPattern | undefined>;
|
|
116
120
|
}
|
|
117
121
|
/** Controls the state of a simple combobox popup. */
|
|
118
122
|
declare class ComboboxPopupPattern {
|
|
@@ -125,6 +129,8 @@ declare class ComboboxPopupPattern {
|
|
|
125
129
|
readonly activeDescendant: () => string | undefined;
|
|
126
130
|
/** The ID of the popup. */
|
|
127
131
|
readonly popupId: () => string | undefined;
|
|
132
|
+
/** A reference to the parent combobox. */
|
|
133
|
+
readonly combobox: () => ComboboxPattern | undefined;
|
|
128
134
|
/** Whether the popup is focused. */
|
|
129
135
|
readonly isFocused: _angular_core.WritableSignal<boolean>;
|
|
130
136
|
constructor(inputs: ComboboxPopupInputs);
|