@angular/aria 22.2.0-next.1 → 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/_accordion-chunk.mjs +3 -2
- package/fesm2022/_accordion-chunk.mjs.map +1 -1
- package/fesm2022/_deferred-content-chunk.mjs +6 -6
- package/fesm2022/_menu-chunk.mjs +5 -4
- package/fesm2022/_menu-chunk.mjs.map +1 -1
- package/fesm2022/_option-chunk.mjs +4 -2
- package/fesm2022/_option-chunk.mjs.map +1 -1
- package/fesm2022/_tabs-chunk.mjs +4 -2
- package/fesm2022/_tabs-chunk.mjs.map +1 -1
- package/fesm2022/_toolbar-widget-group-chunk.mjs +2 -1
- package/fesm2022/_toolbar-widget-group-chunk.mjs.map +1 -1
- package/fesm2022/_tree-chunk.mjs +4 -2
- package/fesm2022/_tree-chunk.mjs.map +1 -1
- package/fesm2022/_widget-chunk.mjs +9 -8
- package/fesm2022/_widget-chunk.mjs.map +1 -1
- package/fesm2022/accordion.mjs +13 -12
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/aria.mjs +1 -1
- package/fesm2022/aria.mjs.map +1 -1
- package/fesm2022/combobox.mjs +9 -9
- package/fesm2022/grid.mjs +13 -12
- package/fesm2022/grid.mjs.map +1 -1
- package/fesm2022/listbox.mjs +7 -6
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +16 -15
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/private.mjs +4 -3
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/tabs.mjs +16 -15
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -9
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tree.mjs +10 -9
- package/fesm2022/tree.mjs.map +1 -1
- 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 +13 -13
- 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/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. */
|