@angular/aria 21.0.0-rc.0 → 21.0.0-rc.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.
Files changed (48) hide show
  1. package/_adev_assets/aria-accordion.json +443 -59
  2. package/_adev_assets/aria-combobox.json +345 -37
  3. package/_adev_assets/aria-grid.json +408 -71
  4. package/_adev_assets/aria-listbox.json +115 -35
  5. package/_adev_assets/aria-menu.json +492 -167
  6. package/_adev_assets/aria-tabs.json +272 -88
  7. package/_adev_assets/aria-toolbar.json +151 -133
  8. package/_adev_assets/aria-tree.json +182 -35
  9. package/fesm2022/_widget-chunk.mjs +643 -190
  10. package/fesm2022/_widget-chunk.mjs.map +1 -1
  11. package/fesm2022/accordion.mjs +129 -77
  12. package/fesm2022/accordion.mjs.map +1 -1
  13. package/fesm2022/aria.mjs +1 -1
  14. package/fesm2022/aria.mjs.map +1 -1
  15. package/fesm2022/combobox.mjs +140 -27
  16. package/fesm2022/combobox.mjs.map +1 -1
  17. package/fesm2022/grid.mjs +254 -68
  18. package/fesm2022/grid.mjs.map +1 -1
  19. package/fesm2022/listbox.mjs +54 -44
  20. package/fesm2022/listbox.mjs.map +1 -1
  21. package/fesm2022/menu.mjs +270 -108
  22. package/fesm2022/menu.mjs.map +1 -1
  23. package/fesm2022/private.mjs +752 -785
  24. package/fesm2022/private.mjs.map +1 -1
  25. package/fesm2022/tabs.mjs +101 -71
  26. package/fesm2022/tabs.mjs.map +1 -1
  27. package/fesm2022/toolbar.mjs +87 -64
  28. package/fesm2022/toolbar.mjs.map +1 -1
  29. package/fesm2022/tree.mjs +105 -60
  30. package/fesm2022/tree.mjs.map +1 -1
  31. package/package.json +2 -10
  32. package/types/_grid-chunk.d.ts +326 -83
  33. package/types/accordion.d.ts +134 -35
  34. package/types/combobox.d.ts +146 -13
  35. package/types/grid.d.ts +159 -32
  36. package/types/listbox.d.ts +59 -28
  37. package/types/menu.d.ts +151 -55
  38. package/types/private.d.ts +449 -567
  39. package/types/tabs.d.ts +121 -41
  40. package/types/toolbar.d.ts +74 -51
  41. package/types/tree.d.ts +116 -45
  42. package/_adev_assets/aria-radio-group.json +0 -389
  43. package/fesm2022/deferred-content.mjs +0 -99
  44. package/fesm2022/deferred-content.mjs.map +0 -1
  45. package/fesm2022/radio-group.mjs +0 -338
  46. package/fesm2022/radio-group.mjs.map +0 -1
  47. package/types/deferred-content.d.ts +0 -38
  48. package/types/radio-group.d.ts +0 -84
package/types/tree.d.ts CHANGED
@@ -1,73 +1,99 @@
1
1
  import * as _angular_cdk_bidi from '@angular/cdk/bidi';
2
2
  import * as _angular_core from '@angular/core';
3
- import { Signal, OnInit, OnDestroy } from '@angular/core';
4
- import * as i1 from '@angular/aria/deferred-content';
5
- import { DeferredContentAware } from '@angular/aria/deferred-content';
6
- import { TreePattern, TreeItemPattern } from '@angular/aria/private';
3
+ import { OnInit, OnDestroy, Signal } from '@angular/core';
4
+ import * as i1 from '@angular/aria/private';
5
+ import { TreePattern, DeferredContentAware, TreeItemPattern } from '@angular/aria/private';
7
6
  import { ComboboxPopup } from './combobox.js';
8
7
 
9
8
  interface HasElement {
10
- element: Signal<HTMLElement>;
9
+ element: HTMLElement;
11
10
  }
12
11
  /**
13
- * A Tree container.
14
- *
15
- * Transforms nested lists into an accessible, ARIA-compliant tree structure.
12
+ * A container that transforms nested lists into an accessible, ARIA-compliant tree structure.
13
+ * It manages the overall state of the tree, including selection, expansion, and keyboard
14
+ * navigation.
16
15
  *
17
16
  * ```html
18
17
  * <ul ngTree [(value)]="selectedItems" [multi]="true">
19
- * <li ngTreeItem [value]="'leaf1'">Leaf Item 1</li>
20
- * <li ngTreeItem [value]="'parent1'">
21
- * Parent Item 1
22
- * <ul ngTreeItemGroup [value]="'parent1'">
23
- * <ng-template ngTreeItemGroupContent>
24
- * <li ngTreeItem [value]="'child1.1'">Child Item 1.1</li>
25
- * <li ngTreeItem [value]="'child1.2'">Child Item 1.2</li>
26
- * </ng-template>
27
- * </ul>
28
- * </li>
29
- * <li ngTreeItem [value]="'leaf2'" [disabled]="true">Disabled Leaf Item 2</li>
18
+ * <ng-template
19
+ * [ngTemplateOutlet]="treeNodes"
20
+ * [ngTemplateOutletContext]="{nodes: treeData, parent: tree}"
21
+ * />
30
22
  * </ul>
23
+ *
24
+ * <ng-template #treeNodes let-nodes="nodes" let-parent="parent">
25
+ * @for (node of nodes; track node.name) {
26
+ * <li ngTreeItem [parent]="parent" [value]="node.name" [label]="node.name">
27
+ * {{ node.name }}
28
+ * @if (node.children) {
29
+ * <ul role="group">
30
+ * <ng-template ngTreeItemGroup [ownedBy]="treeItem" #group="ngTreeItemGroup">
31
+ * <ng-template
32
+ * [ngTemplateOutlet]="treeNodes"
33
+ * [ngTemplateOutletContext]="{nodes: node.children, parent: group}"
34
+ * />
35
+ * </ng-template>
36
+ * </ul>
37
+ * }
38
+ * </li>
39
+ * }
40
+ * </ng-template>
31
41
  * ```
42
+ *
43
+ * @developerPreview 21.0
32
44
  */
33
45
  declare class Tree<V> {
34
- /** A unique identifier for the tree. */
35
- private readonly _generatedId;
36
- /** A unique identifier for the tree. */
37
- protected id: Signal<string>;
46
+ /** A reference to the host element. */
47
+ private readonly _elementRef;
48
+ /** A reference to the host element. */
49
+ readonly element: HTMLElement;
38
50
  /** A reference to the parent combobox popup, if one exists. */
39
51
  private readonly _popup;
40
- /** A reference to the tree element. */
41
- private readonly _elementRef;
42
52
  /** All TreeItem instances within this tree. */
43
53
  private readonly _unorderedItems;
54
+ /** A unique identifier for the tree. */
55
+ readonly id: _angular_core.InputSignal<string>;
44
56
  /** Orientation of the tree. */
45
57
  readonly orientation: _angular_core.InputSignal<"vertical" | "horizontal">;
46
58
  /** Whether multi-selection is allowed. */
47
59
  readonly multi: _angular_core.InputSignalWithTransform<boolean, unknown>;
48
60
  /** Whether the tree is disabled. */
49
61
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
50
- /** The selection strategy used by the tree. */
62
+ /**
63
+ * The selection strategy used by the tree.
64
+ * - `explicit`: Items are selected explicitly by the user (e.g., via click or spacebar).
65
+ * - `follow`: The focused item is automatically selected.
66
+ */
51
67
  readonly selectionMode: _angular_core.InputSignal<"explicit" | "follow">;
52
- /** The focus strategy used by the tree. */
68
+ /**
69
+ * The focus strategy used by the tree.
70
+ * - `roving`: Focus is moved to the active item using `tabindex`.
71
+ * - `activedescendant`: Focus remains on the tree container, and `aria-activedescendant` is used to indicate the active item.
72
+ */
53
73
  readonly focusMode: _angular_core.InputSignal<"roving" | "activedescendant">;
54
74
  /** Whether navigation wraps. */
55
75
  readonly wrap: _angular_core.InputSignalWithTransform<boolean, unknown>;
56
- /** Whether to skip disabled items during navigation. */
57
- readonly skipDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
58
- /** Typeahead delay. */
76
+ /**
77
+ * Whether to allow disabled items to receive focus. When `true`, disabled items are
78
+ * focusable but not interactive. When `false`, disabled items are skipped during navigation.
79
+ */
80
+ readonly softDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
81
+ /** The delay in seconds before the typeahead search is reset. */
59
82
  readonly typeaheadDelay: _angular_core.InputSignal<number>;
60
- /** Selected item values. */
61
- readonly value: _angular_core.ModelSignal<V[]>;
83
+ /** The values of the currently selected items. */
84
+ readonly values: _angular_core.ModelSignal<V[]>;
62
85
  /** Text direction. */
63
86
  readonly textDirection: _angular_core.WritableSignal<_angular_cdk_bidi.Direction>;
64
87
  /** Whether the tree is in navigation mode. */
65
- readonly nav: _angular_core.InputSignal<boolean>;
66
- /** The aria-current type. */
88
+ readonly nav: _angular_core.InputSignalWithTransform<boolean, unknown>;
89
+ /**
90
+ * The `aria-current` type. It can be used in navigation trees to indicate the currently active item.
91
+ * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-current for more details.
92
+ */
67
93
  readonly currentType: _angular_core.InputSignal<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
68
94
  /** The UI pattern for the tree. */
69
95
  readonly _pattern: TreePattern<V>;
70
- /** Whether the tree has received focus yet. */
96
+ /** Whether the tree has received focus since it was rendered. */
71
97
  private _hasFocused;
72
98
  constructor();
73
99
  onFocus(): void;
@@ -75,20 +101,32 @@ declare class Tree<V> {
75
101
  unregister(child: TreeItem<V>): void;
76
102
  scrollActiveItemIntoView(options?: ScrollIntoViewOptions): void;
77
103
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Tree<any>, never>;
78
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Tree<any>, "[ngTree]", ["ngTree"], { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "multi": { "alias": "multi"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "focusMode": { "alias": "focusMode"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "skipDisabled": { "alias": "skipDisabled"; "required": false; "isSignal": true; }; "typeaheadDelay": { "alias": "typeaheadDelay"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "nav": { "alias": "nav"; "required": false; "isSignal": true; }; "currentType": { "alias": "currentType"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, [{ directive: typeof ComboboxPopup; inputs: {}; outputs: {}; }]>;
104
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Tree<any>, "[ngTree]", ["ngTree"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "multi": { "alias": "multi"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "focusMode": { "alias": "focusMode"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "softDisabled": { "alias": "softDisabled"; "required": false; "isSignal": true; }; "typeaheadDelay": { "alias": "typeaheadDelay"; "required": false; "isSignal": true; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; "nav": { "alias": "nav"; "required": false; "isSignal": true; }; "currentType": { "alias": "currentType"; "required": false; "isSignal": true; }; }, { "values": "valuesChange"; }, never, never, true, [{ directive: typeof ComboboxPopup; inputs: {}; outputs: {}; }]>;
79
105
  }
80
106
  /**
81
- * A selectable and expandable Tree Item in a Tree.
107
+ * A selectable and expandable item in an `ngTree`.
108
+ *
109
+ * The `ngTreeItem` directive represents an individual node within an `ngTree`. It can be
110
+ * selected, expanded (if it has children), and disabled. The `parent` input establishes
111
+ * the hierarchical relationship within the tree.
112
+ *
113
+ * ```html
114
+ * <li ngTreeItem [parent]="parentTreeOrGroup" value="item-id" label="Item Label">
115
+ * Item Label
116
+ * </li>
117
+ * ```
118
+ *
119
+ * @developerPreview 21.0
82
120
  */
83
121
  declare class TreeItem<V> extends DeferredContentAware implements OnInit, OnDestroy, HasElement {
84
- /** A reference to the tree item element. */
122
+ /** A reference to the host element. */
85
123
  private readonly _elementRef;
86
- /** A unique identifier for the tree item. */
87
- private readonly _id;
124
+ /** A reference to the host element. */
125
+ readonly element: HTMLElement;
88
126
  /** The owned tree item group. */
89
127
  private readonly _group;
90
- /** The host native element. */
91
- readonly element: Signal<any>;
128
+ /** A unique identifier for the tree item. */
129
+ readonly id: _angular_core.InputSignal<string>;
92
130
  /** The value of the tree item. */
93
131
  readonly value: _angular_core.InputSignal<V>;
94
132
  /** The parent tree root or tree item group. */
@@ -97,12 +135,24 @@ declare class TreeItem<V> extends DeferredContentAware implements OnInit, OnDest
97
135
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
98
136
  /** Whether the tree item is selectable. */
99
137
  readonly selectable: _angular_core.InputSignal<boolean>;
138
+ /** Whether the tree item is expanded. */
139
+ readonly expanded: _angular_core.ModelSignal<boolean>;
100
140
  /** Optional label for typeahead. Defaults to the element's textContent. */
101
141
  readonly label: _angular_core.InputSignal<string | undefined>;
102
142
  /** Search term for typeahead. */
103
- readonly searchTerm: Signal<any>;
143
+ readonly searchTerm: Signal<string>;
104
144
  /** The tree root. */
105
145
  readonly tree: Signal<Tree<V>>;
146
+ /** Whether the item is active. */
147
+ readonly active: Signal<boolean>;
148
+ /** The level of the current item in a tree. */
149
+ readonly level: Signal<number>;
150
+ /** Whether the item is selected. */
151
+ readonly selected: Signal<boolean | undefined>;
152
+ /** Whether this item is visible due to all of its parents being expanded. */
153
+ readonly visible: Signal<boolean>;
154
+ /** Whether the tree is expanded. Use this value for aria-expanded. */
155
+ protected readonly _expanded: Signal<boolean | undefined>;
106
156
  /** The UI pattern for this item. */
107
157
  _pattern: TreeItemPattern<V>;
108
158
  constructor();
@@ -111,12 +161,33 @@ declare class TreeItem<V> extends DeferredContentAware implements OnInit, OnDest
111
161
  register(group: TreeItemGroup<V>): void;
112
162
  unregister(): void;
113
163
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeItem<any>, never>;
114
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TreeItem<any>, "[ngTreeItem]", ["ngTreeItem"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; "parent": { "alias": "parent"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
164
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TreeItem<any>, "[ngTreeItem]", ["ngTreeItem"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "parent": { "alias": "parent"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, never, true, never>;
115
165
  }
116
166
  /**
117
- * Contains children tree itmes.
167
+ * Group that contains children tree items.
168
+ *
169
+ * The `ngTreeItemGroup` structural directive should be applied to an `ng-template` that
170
+ * wraps the child `ngTreeItem` elements. It is used to define a group of children for an
171
+ * expandable `ngTreeItem`. The `ownedBy` input links the group to its parent `ngTreeItem`.
172
+ *
173
+ * ```html
174
+ * <li ngTreeItem [value]="'parent-id'">
175
+ * Parent Item
176
+ * <ul role="group">
177
+ * <ng-template ngTreeItemGroup [ownedBy]="parentTreeItemRef">
178
+ * <li ngTreeItem [value]="'child-id'">Child Item</li>
179
+ * </ng-template>
180
+ * </ul>
181
+ * </li>
182
+ * ```
183
+ *
184
+ * @developerPreview 21.0
118
185
  */
119
186
  declare class TreeItemGroup<V> implements OnInit, OnDestroy {
187
+ /** A reference to the host element. */
188
+ private readonly _elementRef;
189
+ /** A reference to the host element. */
190
+ readonly element: HTMLElement;
120
191
  /** The DeferredContent host directive. */
121
192
  private readonly _deferredContent;
122
193
  /** All groupable items that are descendants of the group. */
@@ -1,389 +0,0 @@
1
- {
2
- "repo": "angular/components",
3
- "moduleLabel": "@angular/aria/radio-group",
4
- "moduleName": "@angular/aria/radio-group",
5
- "normalizedModuleName": "angular_aria_radio-group",
6
- "entries": [
7
- {
8
- "name": "RadioGroup",
9
- "isAbstract": false,
10
- "entryType": "undecorated_class",
11
- "members": [
12
- {
13
- "name": "textDirection",
14
- "type": "any",
15
- "memberType": "property",
16
- "memberTags": [
17
- "protected"
18
- ],
19
- "description": "A signal wrapper for directionality.",
20
- "jsdocTags": []
21
- },
22
- {
23
- "name": "items",
24
- "type": "any",
25
- "memberType": "property",
26
- "memberTags": [
27
- "protected"
28
- ],
29
- "description": "The RadioButton UIPatterns of the child RadioButtons.",
30
- "jsdocTags": []
31
- },
32
- {
33
- "name": "orientation",
34
- "type": "any",
35
- "memberType": "property",
36
- "memberTags": [
37
- "readonly"
38
- ],
39
- "description": "Whether the radio group is vertically or horizontally oriented.",
40
- "jsdocTags": []
41
- },
42
- {
43
- "name": "skipDisabled",
44
- "type": "any",
45
- "memberType": "property",
46
- "memberTags": [
47
- "readonly"
48
- ],
49
- "description": "Whether disabled items in the group should be skipped when navigating.",
50
- "jsdocTags": []
51
- },
52
- {
53
- "name": "focusMode",
54
- "type": "any",
55
- "memberType": "property",
56
- "memberTags": [
57
- "readonly"
58
- ],
59
- "description": "The focus strategy used by the radio group.",
60
- "jsdocTags": []
61
- },
62
- {
63
- "name": "disabled",
64
- "type": "any",
65
- "memberType": "property",
66
- "memberTags": [
67
- "readonly"
68
- ],
69
- "description": "Whether the radio group is disabled.",
70
- "jsdocTags": []
71
- },
72
- {
73
- "name": "readonly",
74
- "type": "any",
75
- "memberType": "property",
76
- "memberTags": [
77
- "readonly"
78
- ],
79
- "description": "Whether the radio group is readonly.",
80
- "jsdocTags": []
81
- },
82
- {
83
- "name": "value",
84
- "type": "any",
85
- "memberType": "property",
86
- "memberTags": [
87
- "readonly"
88
- ],
89
- "description": "The value of the currently selected radio button.",
90
- "jsdocTags": []
91
- },
92
- {
93
- "name": "onFocus",
94
- "signatures": [
95
- {
96
- "name": "onFocus",
97
- "entryType": "function",
98
- "description": "",
99
- "generics": [],
100
- "isNewType": false,
101
- "jsdocTags": [],
102
- "params": [],
103
- "rawComment": "",
104
- "returnType": "void"
105
- }
106
- ],
107
- "implementation": {
108
- "params": [],
109
- "isNewType": false,
110
- "returnType": "void",
111
- "generics": [],
112
- "name": "onFocus",
113
- "description": "",
114
- "entryType": "function",
115
- "jsdocTags": [],
116
- "rawComment": ""
117
- },
118
- "entryType": "function",
119
- "description": "",
120
- "jsdocTags": [],
121
- "rawComment": "",
122
- "memberType": "method",
123
- "memberTags": []
124
- }
125
- ],
126
- "generics": [
127
- {
128
- "name": "V"
129
- }
130
- ],
131
- "description": "A radio button group container.\n\nRadio groups are used to group multiple radio buttons or radio group labels so they function as\na single form control. The RadioGroup is meant to be used in conjunction with RadioButton\nas follows:\n\n```html\n<div ngRadioGroup>\n <div ngRadioButton value=\"1\">Option 1</div>\n <div ngRadioButton value=\"2\">Option 2</div>\n <div ngRadioButton value=\"3\">Option 3</div>\n</div>\n```",
132
- "jsdocTags": [],
133
- "rawComment": "/**\n * A radio button group container.\n *\n * Radio groups are used to group multiple radio buttons or radio group labels so they function as\n * a single form control. The RadioGroup is meant to be used in conjunction with RadioButton\n * as follows:\n *\n * ```html\n * <div ngRadioGroup>\n * <div ngRadioButton value=\"1\">Option 1</div>\n * <div ngRadioButton value=\"2\">Option 2</div>\n * <div ngRadioButton value=\"3\">Option 3</div>\n * </div>\n * ```\n */",
134
- "implements": [],
135
- "source": {
136
- "filePath": "/src/aria/radio-group/radio-group.ts",
137
- "startLine": 84,
138
- "endLine": 200
139
- }
140
- },
141
- {
142
- "name": "RadioButton",
143
- "isAbstract": false,
144
- "entryType": "directive",
145
- "members": [
146
- {
147
- "name": "id",
148
- "type": "any",
149
- "memberType": "property",
150
- "memberTags": [
151
- "readonly"
152
- ],
153
- "description": "A unique identifier for the radio button.",
154
- "jsdocTags": []
155
- },
156
- {
157
- "name": "value",
158
- "type": "any",
159
- "memberType": "property",
160
- "memberTags": [
161
- "readonly",
162
- "input"
163
- ],
164
- "description": "The value associated with the radio button.",
165
- "jsdocTags": [],
166
- "inputAlias": "value",
167
- "isRequiredInput": true
168
- },
169
- {
170
- "name": "group",
171
- "type": "any",
172
- "memberType": "property",
173
- "memberTags": [
174
- "readonly"
175
- ],
176
- "description": "The parent RadioGroup UIPattern.",
177
- "jsdocTags": []
178
- },
179
- {
180
- "name": "element",
181
- "type": "any",
182
- "memberType": "property",
183
- "memberTags": [],
184
- "description": "A reference to the radio button element to be focused on navigation.",
185
- "jsdocTags": []
186
- },
187
- {
188
- "name": "disabled",
189
- "type": "any",
190
- "memberType": "property",
191
- "memberTags": [
192
- "input"
193
- ],
194
- "description": "Whether the radio button is disabled.",
195
- "jsdocTags": [],
196
- "inputAlias": "disabled",
197
- "isRequiredInput": false
198
- },
199
- {
200
- "name": "selected",
201
- "type": "any",
202
- "memberType": "property",
203
- "memberTags": [
204
- "readonly"
205
- ],
206
- "description": "Whether the radio button is selected.",
207
- "jsdocTags": []
208
- }
209
- ],
210
- "generics": [
211
- {
212
- "name": "V"
213
- }
214
- ],
215
- "description": "A selectable radio button in a RadioGroup.",
216
- "jsdocTags": [],
217
- "rawComment": "/** A selectable radio button in a RadioGroup. */",
218
- "implements": [],
219
- "isStandalone": true,
220
- "selector": "[ngRadioButton]",
221
- "exportAs": [
222
- "ngRadioButton"
223
- ],
224
- "source": {
225
- "filePath": "/src/aria/radio-group/radio-group.ts",
226
- "startLine": 203,
227
- "endLine": 252
228
- }
229
- }
230
- ],
231
- "symbols": [
232
- [
233
- "afterRenderEffect",
234
- "@angular/core"
235
- ],
236
- [
237
- "booleanAttribute",
238
- "@angular/core"
239
- ],
240
- [
241
- "computed",
242
- "@angular/core"
243
- ],
244
- [
245
- "contentChildren",
246
- "@angular/core"
247
- ],
248
- [
249
- "Directive",
250
- "@angular/core"
251
- ],
252
- [
253
- "ElementRef",
254
- "@angular/core"
255
- ],
256
- [
257
- "inject",
258
- "@angular/core"
259
- ],
260
- [
261
- "input",
262
- "@angular/core"
263
- ],
264
- [
265
- "linkedSignal",
266
- "@angular/core"
267
- ],
268
- [
269
- "model",
270
- "@angular/core"
271
- ],
272
- [
273
- "signal",
274
- "@angular/core"
275
- ],
276
- [
277
- "WritableSignal",
278
- "@angular/core"
279
- ],
280
- [
281
- "RadioButtonPattern",
282
- "@angular/aria/private"
283
- ],
284
- [
285
- "RadioGroupInputs",
286
- "@angular/aria/private"
287
- ],
288
- [
289
- "RadioGroupPattern",
290
- "@angular/aria/private"
291
- ],
292
- [
293
- "ToolbarRadioGroupInputs",
294
- "@angular/aria/private"
295
- ],
296
- [
297
- "ToolbarRadioGroupPattern",
298
- "@angular/aria/private"
299
- ],
300
- [
301
- "Directionality",
302
- "@angular/cdk/bidi"
303
- ],
304
- [
305
- "_IdGenerator",
306
- "@angular/cdk/a11y"
307
- ],
308
- [
309
- "ToolbarWidgetGroup",
310
- "@angular/aria/toolbar"
311
- ],
312
- [
313
- "RadioGroup",
314
- "@angular/aria/radio-group"
315
- ],
316
- [
317
- "RadioButton",
318
- "@angular/aria/radio-group"
319
- ],
320
- [
321
- "RadioGroup",
322
- "@angular/aria/radio-group"
323
- ],
324
- [
325
- "RadioGroup.textDirection",
326
- "@angular/aria/radio-group"
327
- ],
328
- [
329
- "RadioGroup.items",
330
- "@angular/aria/radio-group"
331
- ],
332
- [
333
- "RadioGroup.orientation",
334
- "@angular/aria/radio-group"
335
- ],
336
- [
337
- "RadioGroup.skipDisabled",
338
- "@angular/aria/radio-group"
339
- ],
340
- [
341
- "RadioGroup.focusMode",
342
- "@angular/aria/radio-group"
343
- ],
344
- [
345
- "RadioGroup.disabled",
346
- "@angular/aria/radio-group"
347
- ],
348
- [
349
- "RadioGroup.readonly",
350
- "@angular/aria/radio-group"
351
- ],
352
- [
353
- "RadioGroup.value",
354
- "@angular/aria/radio-group"
355
- ],
356
- [
357
- "RadioGroup.onFocus",
358
- "@angular/aria/radio-group"
359
- ],
360
- [
361
- "RadioButton",
362
- "@angular/aria/radio-group"
363
- ],
364
- [
365
- "RadioButton.id",
366
- "@angular/aria/radio-group"
367
- ],
368
- [
369
- "RadioButton.value",
370
- "@angular/aria/radio-group"
371
- ],
372
- [
373
- "RadioButton.group",
374
- "@angular/aria/radio-group"
375
- ],
376
- [
377
- "RadioButton.element",
378
- "@angular/aria/radio-group"
379
- ],
380
- [
381
- "RadioButton.disabled",
382
- "@angular/aria/radio-group"
383
- ],
384
- [
385
- "RadioButton.selected",
386
- "@angular/aria/radio-group"
387
- ]
388
- ]
389
- }