@angular/aria 22.1.3 → 22.2.0-next.1
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 +2 -3
- package/fesm2022/_accordion-chunk.mjs.map +1 -1
- package/fesm2022/_deferred-content-chunk.mjs +6 -6
- package/fesm2022/_menu-chunk.mjs +4 -5
- package/fesm2022/_menu-chunk.mjs.map +1 -1
- package/fesm2022/_option-chunk.mjs +2 -4
- package/fesm2022/_option-chunk.mjs.map +1 -1
- package/fesm2022/_tabs-chunk.mjs +2 -4
- package/fesm2022/_tabs-chunk.mjs.map +1 -1
- package/fesm2022/_toolbar-widget-group-chunk.mjs +1 -2
- package/fesm2022/_toolbar-widget-group-chunk.mjs.map +1 -1
- package/fesm2022/_tree-chunk.mjs +2 -4
- package/fesm2022/_tree-chunk.mjs.map +1 -1
- package/fesm2022/_widget-chunk.mjs +8 -9
- package/fesm2022/_widget-chunk.mjs.map +1 -1
- package/fesm2022/accordion.mjs +13 -14
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/aria.mjs +1 -1
- package/fesm2022/aria.mjs.map +1 -1
- package/fesm2022/combobox.mjs +10 -10
- package/fesm2022/combobox.mjs.map +1 -1
- package/fesm2022/grid.mjs +13 -14
- package/fesm2022/grid.mjs.map +1 -1
- package/fesm2022/listbox.mjs +7 -8
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +16 -17
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/private.mjs +3 -4
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/tabs.mjs +17 -18
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -11
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tree.mjs +9 -10
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +3 -3
- package/types/accordion.d.ts +7 -4
- package/types/combobox.d.ts +5 -2
- package/types/grid.d.ts +11 -4
- package/types/listbox.d.ts +6 -4
- package/types/menu.d.ts +17 -14
- package/types/tabs.d.ts +9 -4
- package/types/toolbar.d.ts +7 -4
- package/types/tree.d.ts +4 -3
package/types/accordion.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
-
import { AccordionTriggerPattern, AccordionGroupPattern } from './
|
|
2
|
+
import { OnInit, OnDestroy, InjectionToken } from '@angular/core';
|
|
3
|
+
import { AccordionTriggerPattern, AccordionGroupPattern } from './private.js';
|
|
4
4
|
import { DeferredContentAware, DeferredContent } from './_deferred-content-chunk.js';
|
|
5
5
|
import * as _angular_cdk_bidi from '@angular/cdk/bidi';
|
|
6
|
-
import { SortedCollection } from './
|
|
6
|
+
import { SortedCollection } from './private.js';
|
|
7
7
|
import './_keyboard-event-manager-chunk.js';
|
|
8
8
|
import './_click-event-manager-chunk.js';
|
|
9
9
|
import './_expansion-chunk.js';
|
|
@@ -201,4 +201,7 @@ declare class AccordionContent {
|
|
|
201
201
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AccordionContent, "ng-template[ngAccordionContent]", never, {}, {}, never, never, true, [{ directive: typeof DeferredContent; inputs: {}; outputs: {}; }]>;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
|
|
204
|
+
/** Token used to expose the accordion group. */
|
|
205
|
+
declare const ACCORDION_GROUP: InjectionToken<AccordionGroup>;
|
|
206
|
+
|
|
207
|
+
export { ACCORDION_GROUP, AccordionContent, AccordionGroup, AccordionPanel, AccordionTrigger, DeferredContent as ɵɵDeferredContent, DeferredContentAware as ɵɵDeferredContentAware };
|
package/types/combobox.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/aria/private';
|
|
4
4
|
import { ComboboxPopupPattern, DeferredContentAware, ComboboxPattern } from '@angular/aria/private';
|
|
5
5
|
export { DeferredContent as ɵɵDeferredContent, DeferredContentAware as ɵɵDeferredContentAware } from './_deferred-content-chunk.js';
|
|
@@ -144,4 +144,7 @@ declare class Combobox extends DeferredContentAware implements OnInit {
|
|
|
144
144
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Combobox, "[ngCombobox]", ["ngCombobox"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "softDisabled": { "alias": "softDisabled"; "required": false; "isSignal": true; }; "alwaysExpanded": { "alias": "alwaysExpanded"; "required": false; "isSignal": true; }; "tabIndex": { "alias": "tabindex"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "inlineSuggestion": { "alias": "inlineSuggestion"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; "value": "valueChange"; }, never, never, true, never>;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
|
|
147
|
+
/** Token used to expose the combobox popup. */
|
|
148
|
+
declare const COMBOBOX_POPUP: InjectionToken<ComboboxPopup>;
|
|
149
|
+
|
|
150
|
+
export { COMBOBOX_POPUP, Combobox, ComboboxPopup, ComboboxWidget };
|
package/types/grid.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy, Signal } from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, Signal, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _angular_cdk_bidi from '@angular/cdk/bidi';
|
|
4
|
-
import { GridCellPattern, GridPattern, GridRowPattern, ElementResolver, GridCellWidgetPattern } from './
|
|
5
|
-
import { SortedCollection } from './
|
|
4
|
+
import { GridCellPattern, GridPattern, GridRowPattern, ElementResolver, GridCellWidgetPattern } from './private.js';
|
|
5
|
+
import { SortedCollection } from './private.js';
|
|
6
6
|
import './_keyboard-event-manager-chunk.js';
|
|
7
7
|
import './_click-event-manager-chunk.js';
|
|
8
8
|
|
|
@@ -248,4 +248,11 @@ declare class GridCellWidget {
|
|
|
248
248
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GridCellWidget, "[ngGridCellWidget]", ["ngGridCellWidget"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "widgetType": { "alias": "widgetType"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focusTarget": { "alias": "focusTarget"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, { "activated": "activated"; "deactivated": "deactivated"; }, never, never, true, never>;
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
|
|
251
|
+
/** Token used to expose a `GridCell`. */
|
|
252
|
+
declare const GRID_CELL: InjectionToken<GridCell>;
|
|
253
|
+
/** Token used to expose a `GridRow`. */
|
|
254
|
+
declare const GRID_ROW: InjectionToken<GridRow>;
|
|
255
|
+
/** Token used to expose a `Grid`. */
|
|
256
|
+
declare const GRID: InjectionToken<Grid>;
|
|
257
|
+
|
|
258
|
+
export { GRID, GRID_CELL, GRID_ROW, Grid, GridCell, GridCellWidget, GridRow };
|
package/types/listbox.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _angular_cdk_bidi from '@angular/cdk/bidi';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
|
-
import { OnInit, OnDestroy, Signal } from '@angular/core';
|
|
4
|
-
import { OptionPattern, ListboxPattern } from './
|
|
5
|
-
import { SortedCollection } from './
|
|
3
|
+
import { OnInit, OnDestroy, Signal, InjectionToken } from '@angular/core';
|
|
4
|
+
import { OptionPattern, ListboxPattern } from './private.js';
|
|
5
|
+
import { SortedCollection } from './private.js';
|
|
6
6
|
import './_list-chunk.js';
|
|
7
7
|
import './_list-navigation-chunk.js';
|
|
8
8
|
import './_keyboard-event-manager-chunk.js';
|
|
@@ -135,4 +135,6 @@ declare class Listbox<V> implements OnDestroy {
|
|
|
135
135
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Listbox<any>, "[ngListbox]", ["ngListbox"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "multi": { "alias": "multi"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "softDisabled": { "alias": "softDisabled"; "required": false; "isSignal": true; }; "focusMode": { "alias": "focusMode"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "typeaheadDelay": { "alias": "typeaheadDelay"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "tabIndex": { "alias": "tabindex"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
declare const LISTBOX: InjectionToken<Listbox<any>>;
|
|
139
|
+
|
|
140
|
+
export { LISTBOX, Listbox, Option };
|
package/types/menu.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnDestroy, OnInit, Signal } from '@angular/core';
|
|
2
|
+
import { OnDestroy, OnInit, Signal, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _angular_cdk_bidi from '@angular/cdk/bidi';
|
|
4
|
-
import { MenuBarPattern, MenuItemPattern, MenuPattern, MenuTriggerPattern } from './
|
|
4
|
+
import { MenuBarPattern, MenuItemPattern, MenuPattern, MenuTriggerPattern } from './private.js';
|
|
5
5
|
import { DeferredContentAware, DeferredContent } from './_deferred-content-chunk.js';
|
|
6
|
-
import { SortedCollection, SignalLike } from './
|
|
6
|
+
import { SortedCollection, SignalLike } from './private.js';
|
|
7
7
|
import './_keyboard-event-manager-chunk.js';
|
|
8
8
|
import './_list-chunk.js';
|
|
9
9
|
import './_list-navigation-chunk.js';
|
|
@@ -22,13 +22,13 @@ import './_list-navigation-chunk.js';
|
|
|
22
22
|
* </div>
|
|
23
23
|
*
|
|
24
24
|
* <div ngMenu #fileMenu="ngMenu">
|
|
25
|
-
* <div ngMenuItem
|
|
26
|
-
* <div ngMenuItem
|
|
25
|
+
* <div ngMenuItem>New</div>
|
|
26
|
+
* <div ngMenuItem>Open</div>
|
|
27
27
|
* </div>
|
|
28
28
|
*
|
|
29
29
|
* <div ngMenu #editMenu="ngMenu">
|
|
30
|
-
* <div ngMenuItem
|
|
31
|
-
* <div ngMenuItem
|
|
30
|
+
* <div ngMenuItem>Cut</div>
|
|
31
|
+
* <div ngMenuItem>Copy</div>
|
|
32
32
|
* </div>
|
|
33
33
|
* ```
|
|
34
34
|
*
|
|
@@ -77,8 +77,8 @@ declare class MenuBar<V> implements OnDestroy {
|
|
|
77
77
|
*
|
|
78
78
|
* ```html
|
|
79
79
|
* <div ngMenu (itemSelected)="doAction()">
|
|
80
|
-
* <div ngMenuItem
|
|
81
|
-
* <div ngMenuItem
|
|
80
|
+
* <div ngMenuItem>Action Item</div>
|
|
81
|
+
* <div ngMenuItem [submenu]="anotherMenu">Submenu Trigger</div>
|
|
82
82
|
* </div>
|
|
83
83
|
* ```
|
|
84
84
|
*
|
|
@@ -213,8 +213,8 @@ declare class Menu<V> implements OnDestroy {
|
|
|
213
213
|
* <button ngMenuTrigger [menu]="myMenu">Open Menu</button>
|
|
214
214
|
*
|
|
215
215
|
* <div ngMenu #myMenu="ngMenu">
|
|
216
|
-
* <div ngMenuItem
|
|
217
|
-
* <div ngMenuItem
|
|
216
|
+
* <div ngMenuItem>Item 1</div>
|
|
217
|
+
* <div ngMenuItem>Item 2</div>
|
|
218
218
|
* </div>
|
|
219
219
|
* ```
|
|
220
220
|
*
|
|
@@ -258,8 +258,8 @@ declare class MenuTrigger<V> {
|
|
|
258
258
|
* ```html
|
|
259
259
|
* <div ngMenu #myMenu="ngMenu">
|
|
260
260
|
* <ng-template ngMenuContent>
|
|
261
|
-
* <div ngMenuItem
|
|
262
|
-
* <div ngMenuItem
|
|
261
|
+
* <div ngMenuItem>Lazy Item 1</div>
|
|
262
|
+
* <div ngMenuItem>Lazy Item 2</div>
|
|
263
263
|
* </ng-template>
|
|
264
264
|
* </div>
|
|
265
265
|
* ```
|
|
@@ -272,4 +272,7 @@ declare class MenuContent {
|
|
|
272
272
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MenuContent, "ng-template[ngMenuContent]", ["ngMenuContent"], {}, {}, never, never, true, [{ directive: typeof DeferredContent; inputs: {}; outputs: {}; }]>;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
|
|
275
|
+
/** Token used to expose menus to their child components. */
|
|
276
|
+
declare const MENU_COMPONENT: InjectionToken<Menu<any> | MenuBar<any>>;
|
|
277
|
+
|
|
278
|
+
export { MENU_COMPONENT, Menu, MenuBar, MenuContent, MenuItem, MenuTrigger, DeferredContent as ɵɵDeferredContent, DeferredContentAware as ɵɵDeferredContentAware };
|
package/types/tabs.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy, WritableSignal } from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, WritableSignal, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _angular_cdk_bidi from '@angular/cdk/bidi';
|
|
4
|
-
import { TabPattern, TabListPattern, TabPanelPattern } from './
|
|
5
|
-
import { HasElement, SortedCollection } from './
|
|
4
|
+
import { TabPattern, TabListPattern, TabPanelPattern } from './private.js';
|
|
5
|
+
import { HasElement, SortedCollection } from './private.js';
|
|
6
6
|
import { DeferredContentAware, DeferredContent } from './_deferred-content-chunk.js';
|
|
7
7
|
import './_keyboard-event-manager-chunk.js';
|
|
8
8
|
import './_click-event-manager-chunk.js';
|
|
@@ -241,4 +241,9 @@ declare class TabContent {
|
|
|
241
241
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TabContent, "ng-template[ngTabContent]", ["ngTabContent"], {}, {}, never, never, true, [{ directive: typeof DeferredContent; inputs: {}; outputs: {}; }]>;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
|
|
244
|
+
/** Token used to expose the `Tabs` directive to child directives. */
|
|
245
|
+
declare const TABS: InjectionToken<Tabs>;
|
|
246
|
+
/** Token used to expose the tab list. */
|
|
247
|
+
declare const TAB_LIST: InjectionToken<TabList>;
|
|
248
|
+
|
|
249
|
+
export { TABS, TAB_LIST, Tab, TabContent, TabList, TabPanel, Tabs, DeferredContent as ɵɵDeferredContent, DeferredContentAware as ɵɵDeferredContentAware };
|
package/types/toolbar.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as _angular_cdk_bidi from '@angular/cdk/bidi';
|
|
4
|
-
import { ToolbarWidgetGroupPattern, ToolbarWidgetPattern, ToolbarPattern } from './
|
|
5
|
-
import { SortedCollection } from './
|
|
4
|
+
import { ToolbarWidgetGroupPattern, ToolbarWidgetPattern, ToolbarPattern } from './private.js';
|
|
5
|
+
import { SortedCollection } from './private.js';
|
|
6
6
|
import './_list-chunk.js';
|
|
7
7
|
import './_list-navigation-chunk.js';
|
|
8
8
|
|
|
@@ -137,4 +137,7 @@ declare class Toolbar<V> implements OnDestroy {
|
|
|
137
137
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Toolbar<any>, "[ngToolbar]", ["ngToolbar"], { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "softDisabled": { "alias": "softDisabled"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
/** Token used to provide the `ToolbarWidgetGroup` directive. */
|
|
141
|
+
declare const TOOLBAR_WIDGET_GROUP: InjectionToken<ToolbarWidgetGroup<unknown>>;
|
|
142
|
+
|
|
143
|
+
export { TOOLBAR_WIDGET_GROUP, Toolbar, ToolbarWidget, ToolbarWidgetGroup };
|
package/types/tree.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as _angular_cdk_bidi from '@angular/cdk/bidi';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { OnInit, OnDestroy, Signal } from '@angular/core';
|
|
4
|
-
import { TreeItemPattern, TreePattern } from './
|
|
5
|
-
import { HasElement, SortedCollection } from './
|
|
6
|
-
import { DeferredContent
|
|
4
|
+
import { TreeItemPattern, TreePattern } from './private.js';
|
|
5
|
+
import { HasElement, SortedCollection } from './private.js';
|
|
6
|
+
import { DeferredContent } from './_deferred-content-chunk.js';
|
|
7
|
+
import { DeferredContentAware } from './private.js';
|
|
7
8
|
import './_expansion-chunk.js';
|
|
8
9
|
import './_list-navigation-chunk.js';
|
|
9
10
|
import './_list-chunk.js';
|