@angular/aria 22.2.0-next.2 → 22.2.0-next.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/fesm2022/_deferred-content-chunk.mjs +6 -6
- package/fesm2022/accordion.mjs +12 -12
- package/fesm2022/aria.mjs +1 -1
- package/fesm2022/aria.mjs.map +1 -1
- package/fesm2022/combobox.mjs +9 -9
- package/fesm2022/grid.mjs +12 -12
- package/fesm2022/listbox.mjs +6 -6
- package/fesm2022/menu.mjs +15 -15
- package/fesm2022/tabs.mjs +15 -15
- package/fesm2022/toolbar.mjs +9 -9
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tree.mjs +9 -9
- package/package.json +2 -2
- package/types/_accordion-chunk.d.ts +2 -2
- package/types/_collection-chunk.d.ts +1 -1
- package/types/_grid-chunk.d.ts +4 -4
- package/types/_list-chunk.d.ts +2 -2
- package/types/_listbox-chunk.d.ts +3 -3
- package/types/_menu-chunk.d.ts +4 -4
- package/types/_tabs-chunk.d.ts +4 -4
- package/types/_toolbar-chunk.d.ts +2 -2
- package/types/_tree-chunk.d.ts +7 -7
- package/types/combobox.d.ts +1 -1
- package/types/grid.d.ts +6 -6
- package/types/listbox.d.ts +3 -3
- package/types/menu.d.ts +3 -3
- package/types/private.d.ts +3 -3
- package/types/tabs.d.ts +3 -3
- package/types/toolbar.d.ts +1 -1
- package/types/tree.d.ts +5 -5
package/types/private.d.ts
CHANGED
|
@@ -66,9 +66,9 @@ declare class ComboboxPattern {
|
|
|
66
66
|
/** The ID of the popup. */
|
|
67
67
|
readonly popupId: _angular_core.Signal<string | undefined>;
|
|
68
68
|
/** The type of the popup. */
|
|
69
|
-
readonly popupType: _angular_core.Signal<"
|
|
69
|
+
readonly popupType: _angular_core.Signal<"dialog" | "grid" | "listbox" | "tree" | undefined>;
|
|
70
70
|
/** The autocomplete behavior of the combobox. */
|
|
71
|
-
readonly autocomplete: _angular_core.Signal<"
|
|
71
|
+
readonly autocomplete: _angular_core.Signal<"both" | "inline" | "list" | "none">;
|
|
72
72
|
/** A relay for keyboard events to the popup. */
|
|
73
73
|
readonly keyboardEventRelay: _angular_core.WritableSignal<KeyboardEvent | undefined>;
|
|
74
74
|
/** Whether the combobox is focused. */
|
|
@@ -118,7 +118,7 @@ interface ComboboxPopupInputs {
|
|
|
118
118
|
declare class ComboboxPopupPattern {
|
|
119
119
|
readonly inputs: ComboboxPopupInputs;
|
|
120
120
|
/** The type of the popup. */
|
|
121
|
-
readonly popupType: () => "
|
|
121
|
+
readonly popupType: () => "dialog" | "grid" | "listbox" | "tree";
|
|
122
122
|
/** The element that serves as the control target for the popup. */
|
|
123
123
|
readonly controlTarget: () => HTMLElement | undefined;
|
|
124
124
|
/** The ID of the active descendant in the popup. */
|
package/types/tabs.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ declare class TabList implements OnInit, OnDestroy {
|
|
|
81
81
|
/** The Tab UIPatterns of the child Tabs. */
|
|
82
82
|
readonly _tabPatterns: _angular_core.Signal<TabPattern[]>;
|
|
83
83
|
/** Whether the tablist is vertically or horizontally oriented. */
|
|
84
|
-
readonly orientation: _angular_core.InputSignal<"
|
|
84
|
+
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
85
85
|
/** Text direction. */
|
|
86
86
|
readonly textDirection: WritableSignal<_angular_cdk_bidi.Direction>;
|
|
87
87
|
/** Whether focus should wrap when navigating. */
|
|
@@ -96,13 +96,13 @@ declare class TabList implements OnInit, OnDestroy {
|
|
|
96
96
|
* - `roving`: Focus is moved to the active tab using `tabindex`.
|
|
97
97
|
* - `activedescendant`: Focus remains on the tablist container, and `aria-activedescendant` is used to indicate the active tab.
|
|
98
98
|
*/
|
|
99
|
-
readonly focusMode: _angular_core.InputSignal<"
|
|
99
|
+
readonly focusMode: _angular_core.InputSignal<"activedescendant" | "roving">;
|
|
100
100
|
/**
|
|
101
101
|
* The selection strategy used by the tablist.
|
|
102
102
|
* - `follow`: The focused tab is automatically selected.
|
|
103
103
|
* - `explicit`: Tabs are selected explicitly by the user (e.g., via click or spacebar).
|
|
104
104
|
*/
|
|
105
|
-
readonly selectionMode: _angular_core.InputSignal<"
|
|
105
|
+
readonly selectionMode: _angular_core.InputSignal<"explicit" | "follow">;
|
|
106
106
|
/** The current selected tab as a model input. */
|
|
107
107
|
readonly selectedTab: _angular_core.ModelSignal<string | undefined>;
|
|
108
108
|
/** The current selected Tab pattern, passed to the List pattern. */
|
package/types/toolbar.d.ts
CHANGED
|
@@ -115,7 +115,7 @@ declare class Toolbar<V> implements OnDestroy {
|
|
|
115
115
|
/** Sorted UIPatterns of the child widgets */
|
|
116
116
|
readonly _itemPatterns: _angular_core.Signal<ToolbarWidgetPattern<V>[]>;
|
|
117
117
|
/** Whether the toolbar is vertically or horizontally oriented. */
|
|
118
|
-
readonly orientation: _angular_core.InputSignal<"
|
|
118
|
+
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
119
119
|
/**
|
|
120
120
|
* Whether to allow disabled items to receive focus. When `true`, disabled items are
|
|
121
121
|
* focusable but not interactive. When `false`, disabled items are skipped during navigation.
|
package/types/tree.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ declare class TreeItem<V> extends DeferredContentAware implements OnInit, OnDest
|
|
|
77
77
|
/** The value of the tree item. */
|
|
78
78
|
readonly value: _angular_core.InputSignal<V>;
|
|
79
79
|
/** The parent tree root or tree item group. */
|
|
80
|
-
readonly parent: _angular_core.InputSignal<
|
|
80
|
+
readonly parent: _angular_core.InputSignal<Tree<V> | TreeItemGroup<V>>;
|
|
81
81
|
/** Whether the tree item is disabled. */
|
|
82
82
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
83
83
|
/** Whether the tree item is selectable. */
|
|
@@ -155,7 +155,7 @@ declare class Tree<V> implements OnDestroy {
|
|
|
155
155
|
/** A unique identifier for the tree. */
|
|
156
156
|
readonly id: _angular_core.InputSignal<string>;
|
|
157
157
|
/** Orientation of the tree. */
|
|
158
|
-
readonly orientation: _angular_core.InputSignal<"
|
|
158
|
+
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
159
159
|
/** Whether multi-selection is allowed. */
|
|
160
160
|
readonly multi: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
161
161
|
/** Whether the tree is disabled. */
|
|
@@ -165,13 +165,13 @@ declare class Tree<V> implements OnDestroy {
|
|
|
165
165
|
* - `explicit`: Items are selected explicitly by the user (e.g., via click or spacebar).
|
|
166
166
|
* - `follow`: The focused item is automatically selected.
|
|
167
167
|
*/
|
|
168
|
-
readonly selectionMode: _angular_core.InputSignal<"
|
|
168
|
+
readonly selectionMode: _angular_core.InputSignal<"explicit" | "follow">;
|
|
169
169
|
/**
|
|
170
170
|
* The focus strategy used by the tree.
|
|
171
171
|
* - `roving`: Focus is moved to the active item using `tabindex`.
|
|
172
172
|
* - `activedescendant`: Focus remains on the tree container, and `aria-activedescendant` is used to indicate the active item.
|
|
173
173
|
*/
|
|
174
|
-
readonly focusMode: _angular_core.InputSignal<"
|
|
174
|
+
readonly focusMode: _angular_core.InputSignal<"activedescendant" | "roving">;
|
|
175
175
|
/** Whether navigation wraps. */
|
|
176
176
|
readonly wrap: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
177
177
|
/**
|
|
@@ -193,7 +193,7 @@ declare class Tree<V> implements OnDestroy {
|
|
|
193
193
|
* The `aria-current` type. It can be used in navigation trees to indicate the currently active item.
|
|
194
194
|
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-current for more details.
|
|
195
195
|
*/
|
|
196
|
-
readonly currentType: _angular_core.InputSignal<"
|
|
196
|
+
readonly currentType: _angular_core.InputSignal<"date" | "false" | "location" | "page" | "step" | "time" | "true">;
|
|
197
197
|
/** The UI pattern for the tree. */
|
|
198
198
|
readonly _pattern: TreePattern<V>;
|
|
199
199
|
/** The ID of the active descendant in the tree. */
|