@angular/aria 21.1.1 → 21.1.2
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/_combobox-tree-chunk.mjs +7 -0
- package/fesm2022/_combobox-tree-chunk.mjs.map +1 -1
- package/fesm2022/_toolbar-widget-group-chunk.mjs +0 -4
- package/fesm2022/_toolbar-widget-group-chunk.mjs.map +1 -1
- package/fesm2022/_widget-chunk.mjs +10 -8
- package/fesm2022/_widget-chunk.mjs.map +1 -1
- package/fesm2022/aria.mjs +1 -1
- package/fesm2022/aria.mjs.map +1 -1
- package/fesm2022/grid.mjs +11 -3
- package/fesm2022/grid.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +0 -8
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tree.mjs +8 -0
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/code-examples.db +0 -0
- package/types/_grid-chunk.d.ts +2 -0
- package/types/_toolbar-chunk.d.ts +0 -2
- package/types/_tree-chunk.d.ts +2 -0
- package/types/grid.d.ts +2 -2
package/types/_grid-chunk.d.ts
CHANGED
|
@@ -541,6 +541,8 @@ declare class GridPattern {
|
|
|
541
541
|
readonly prevColKey: SignalLike<"ArrowRight" | "ArrowLeft">;
|
|
542
542
|
/** The key for navigating to the next column. */
|
|
543
543
|
readonly nextColKey: SignalLike<"ArrowRight" | "ArrowLeft">;
|
|
544
|
+
/** Whether the grid pattern is currently accepting `pointermove` events. */
|
|
545
|
+
readonly acceptsPointerMove: SignalLike<boolean>;
|
|
544
546
|
/** The keydown event manager for the grid. */
|
|
545
547
|
readonly keydown: SignalLike<KeyboardEventManager<KeyboardEvent>>;
|
|
546
548
|
/** The pointerdown event manager for the grid. */
|
|
@@ -116,8 +116,6 @@ declare class ToolbarPattern<V> {
|
|
|
116
116
|
* Otherwise, sets the active index to the first focusable widget.
|
|
117
117
|
*/
|
|
118
118
|
setDefaultState(): void;
|
|
119
|
-
/** Validates the state of the toolbar and returns a list of accessibility violations. */
|
|
120
|
-
validate(): string[];
|
|
121
119
|
}
|
|
122
120
|
|
|
123
121
|
export { ToolbarPattern, ToolbarWidgetGroupPattern, ToolbarWidgetPattern };
|
package/types/_tree-chunk.d.ts
CHANGED
|
@@ -251,6 +251,8 @@ declare class TreePattern<V> implements TreeInputs<V> {
|
|
|
251
251
|
/** The current selected items of the tree. */
|
|
252
252
|
readonly values: WritableSignalLike<V[]>;
|
|
253
253
|
constructor(inputs: TreeInputs<V>);
|
|
254
|
+
/** Returns a set of violations */
|
|
255
|
+
validate(): string[];
|
|
254
256
|
/**
|
|
255
257
|
* Sets the tree to it's default initial state.
|
|
256
258
|
*
|
package/types/grid.d.ts
CHANGED
|
@@ -226,9 +226,9 @@ declare class GridCellWidget {
|
|
|
226
226
|
/** The target that will receive focus instead of the widget. */
|
|
227
227
|
readonly focusTarget: _angular_core.InputSignal<ElementRef<any> | HTMLElement | undefined>;
|
|
228
228
|
/** Emits when the widget is activated. */
|
|
229
|
-
readonly onActivate: _angular_core.OutputEmitterRef<
|
|
229
|
+
readonly onActivate: _angular_core.OutputEmitterRef<FocusEvent | KeyboardEvent | undefined>;
|
|
230
230
|
/** Emits when the widget is deactivated. */
|
|
231
|
-
readonly onDeactivate: _angular_core.OutputEmitterRef<
|
|
231
|
+
readonly onDeactivate: _angular_core.OutputEmitterRef<FocusEvent | KeyboardEvent | undefined>;
|
|
232
232
|
/** The tabindex override. */
|
|
233
233
|
readonly tabindex: _angular_core.InputSignal<number | undefined>;
|
|
234
234
|
/**
|