@angular/aria 22.1.2 → 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.
Files changed (52) hide show
  1. package/fesm2022/_accordion-chunk.mjs +3 -2
  2. package/fesm2022/_accordion-chunk.mjs.map +1 -1
  3. package/fesm2022/_deferred-content-chunk.mjs +6 -6
  4. package/fesm2022/_menu-chunk.mjs +5 -4
  5. package/fesm2022/_menu-chunk.mjs.map +1 -1
  6. package/fesm2022/_option-chunk.mjs +4 -2
  7. package/fesm2022/_option-chunk.mjs.map +1 -1
  8. package/fesm2022/_tabs-chunk.mjs +4 -2
  9. package/fesm2022/_tabs-chunk.mjs.map +1 -1
  10. package/fesm2022/_toolbar-widget-group-chunk.mjs +2 -1
  11. package/fesm2022/_toolbar-widget-group-chunk.mjs.map +1 -1
  12. package/fesm2022/_tree-chunk.mjs +4 -2
  13. package/fesm2022/_tree-chunk.mjs.map +1 -1
  14. package/fesm2022/_widget-chunk.mjs +9 -8
  15. package/fesm2022/_widget-chunk.mjs.map +1 -1
  16. package/fesm2022/accordion.mjs +13 -12
  17. package/fesm2022/accordion.mjs.map +1 -1
  18. package/fesm2022/aria.mjs +1 -1
  19. package/fesm2022/aria.mjs.map +1 -1
  20. package/fesm2022/combobox.mjs +9 -9
  21. package/fesm2022/grid.mjs +13 -12
  22. package/fesm2022/grid.mjs.map +1 -1
  23. package/fesm2022/listbox.mjs +7 -6
  24. package/fesm2022/listbox.mjs.map +1 -1
  25. package/fesm2022/menu.mjs +16 -15
  26. package/fesm2022/menu.mjs.map +1 -1
  27. package/fesm2022/private.mjs +4 -3
  28. package/fesm2022/private.mjs.map +1 -1
  29. package/fesm2022/tabs.mjs +16 -15
  30. package/fesm2022/tabs.mjs.map +1 -1
  31. package/fesm2022/toolbar.mjs +10 -9
  32. package/fesm2022/toolbar.mjs.map +1 -1
  33. package/fesm2022/tree.mjs +10 -9
  34. package/fesm2022/tree.mjs.map +1 -1
  35. package/package.json +2 -2
  36. package/types/_accordion-chunk.d.ts +2 -2
  37. package/types/_collection-chunk.d.ts +1 -1
  38. package/types/_grid-chunk.d.ts +4 -4
  39. package/types/_list-chunk.d.ts +2 -2
  40. package/types/_listbox-chunk.d.ts +3 -3
  41. package/types/_menu-chunk.d.ts +4 -4
  42. package/types/_tabs-chunk.d.ts +4 -4
  43. package/types/_toolbar-chunk.d.ts +2 -2
  44. package/types/_tree-chunk.d.ts +7 -7
  45. package/types/combobox.d.ts +1 -1
  46. package/types/grid.d.ts +6 -6
  47. package/types/listbox.d.ts +3 -3
  48. package/types/menu.d.ts +13 -13
  49. package/types/private.d.ts +3 -3
  50. package/types/tabs.d.ts +3 -3
  51. package/types/toolbar.d.ts +1 -1
  52. 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<TreeItemGroup<V> | Tree<V>>;
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<"vertical" | "horizontal">;
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<"follow" | "explicit">;
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<"roving" | "activedescendant">;
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<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
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. */