@angular/aria 22.1.3 → 22.1.4
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
|
@@ -76,7 +76,7 @@ declare class TreeItem<V> extends DeferredContentAware implements OnInit, OnDest
|
|
|
76
76
|
/** The value of the tree item. */
|
|
77
77
|
readonly value: _angular_core.InputSignal<V>;
|
|
78
78
|
/** The parent tree root or tree item group. */
|
|
79
|
-
readonly parent: _angular_core.InputSignal<
|
|
79
|
+
readonly parent: _angular_core.InputSignal<Tree<V> | TreeItemGroup<V>>;
|
|
80
80
|
/** Whether the tree item is disabled. */
|
|
81
81
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
82
82
|
/** Whether the tree item is selectable. */
|
|
@@ -154,7 +154,7 @@ declare class Tree<V> implements OnDestroy {
|
|
|
154
154
|
/** A unique identifier for the tree. */
|
|
155
155
|
readonly id: _angular_core.InputSignal<string>;
|
|
156
156
|
/** Orientation of the tree. */
|
|
157
|
-
readonly orientation: _angular_core.InputSignal<"
|
|
157
|
+
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
158
158
|
/** Whether multi-selection is allowed. */
|
|
159
159
|
readonly multi: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
160
160
|
/** Whether the tree is disabled. */
|
|
@@ -164,13 +164,13 @@ declare class Tree<V> implements OnDestroy {
|
|
|
164
164
|
* - `explicit`: Items are selected explicitly by the user (e.g., via click or spacebar).
|
|
165
165
|
* - `follow`: The focused item is automatically selected.
|
|
166
166
|
*/
|
|
167
|
-
readonly selectionMode: _angular_core.InputSignal<"
|
|
167
|
+
readonly selectionMode: _angular_core.InputSignal<"explicit" | "follow">;
|
|
168
168
|
/**
|
|
169
169
|
* The focus strategy used by the tree.
|
|
170
170
|
* - `roving`: Focus is moved to the active item using `tabindex`.
|
|
171
171
|
* - `activedescendant`: Focus remains on the tree container, and `aria-activedescendant` is used to indicate the active item.
|
|
172
172
|
*/
|
|
173
|
-
readonly focusMode: _angular_core.InputSignal<"
|
|
173
|
+
readonly focusMode: _angular_core.InputSignal<"activedescendant" | "roving">;
|
|
174
174
|
/** Whether navigation wraps. */
|
|
175
175
|
readonly wrap: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
176
176
|
/**
|
|
@@ -192,7 +192,7 @@ declare class Tree<V> implements OnDestroy {
|
|
|
192
192
|
* The `aria-current` type. It can be used in navigation trees to indicate the currently active item.
|
|
193
193
|
* See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-current for more details.
|
|
194
194
|
*/
|
|
195
|
-
readonly currentType: _angular_core.InputSignal<"
|
|
195
|
+
readonly currentType: _angular_core.InputSignal<"date" | "false" | "location" | "page" | "step" | "time" | "true">;
|
|
196
196
|
/** The UI pattern for the tree. */
|
|
197
197
|
readonly _pattern: TreePattern<V>;
|
|
198
198
|
/** The ID of the active descendant in the tree. */
|