@angular/aria 22.1.3 → 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/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 +8 -6
- 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 +9 -3
- package/types/tabs.d.ts +3 -3
- package/types/toolbar.d.ts +1 -1
- package/types/tree.d.ts +5 -5
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. */
|