Skip to content

Commit 4c42c97

Browse files
committed
main - 28a50f5 refactor(multiple): default softDisabled to true (#32240)
1 parent 231e07b commit 4c42c97

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

docs-content/examples-highlighted/aria/tabs/tabs-configurable/tabs-configurable-example-ts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@
3030

3131
wrap = <span class="hljs-keyword">new</span> <span class="hljs-title class_">FormControl</span>(<span class="hljs-literal">true</span>, {<span class="hljs-attr">nonNullable</span>: <span class="hljs-literal">true</span>});
3232
disabled = <span class="hljs-keyword">new</span> <span class="hljs-title class_">FormControl</span>(<span class="hljs-literal">false</span>, {<span class="hljs-attr">nonNullable</span>: <span class="hljs-literal">true</span>});
33-
softDisabled = <span class="hljs-keyword">new</span> <span class="hljs-title class_">FormControl</span>(<span class="hljs-literal">false</span>, {<span class="hljs-attr">nonNullable</span>: <span class="hljs-literal">true</span>});
33+
softDisabled = <span class="hljs-keyword">new</span> <span class="hljs-title class_">FormControl</span>(<span class="hljs-literal">true</span>, {<span class="hljs-attr">nonNullable</span>: <span class="hljs-literal">true</span>});
3434
}

docs-content/examples-highlighted/aria/tree/tree-configurable/tree-configurable-example-ts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
multi = <span class="hljs-keyword">new</span> <span class="hljs-title class_">FormControl</span>(<span class="hljs-literal">false</span>, {<span class="hljs-attr">nonNullable</span>: <span class="hljs-literal">true</span>});
4141
disabled = <span class="hljs-keyword">new</span> <span class="hljs-title class_">FormControl</span>(<span class="hljs-literal">false</span>, {<span class="hljs-attr">nonNullable</span>: <span class="hljs-literal">true</span>});
4242
wrap = <span class="hljs-keyword">new</span> <span class="hljs-title class_">FormControl</span>(<span class="hljs-literal">true</span>, {<span class="hljs-attr">nonNullable</span>: <span class="hljs-literal">true</span>});
43-
softDisabled = <span class="hljs-keyword">new</span> <span class="hljs-title class_">FormControl</span>(<span class="hljs-literal">false</span>, {<span class="hljs-attr">nonNullable</span>: <span class="hljs-literal">true</span>});
43+
softDisabled = <span class="hljs-keyword">new</span> <span class="hljs-title class_">FormControl</span>(<span class="hljs-literal">true</span>, {<span class="hljs-attr">nonNullable</span>: <span class="hljs-literal">true</span>});
4444
nav = <span class="hljs-keyword">new</span> <span class="hljs-title class_">FormControl</span>(<span class="hljs-literal">false</span>, {<span class="hljs-attr">nonNullable</span>: <span class="hljs-literal">true</span>});
4545

4646
selectedValues = model&lt;<span class="hljs-built_in">string</span>[]&gt;([<span class="hljs-string">&#x27;package.json&#x27;</span>]);

docs-content/examples-source/aria/tabs/tabs-configurable/tabs-configurable-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ export class TabsConfigurableExample {
3030

3131
wrap = new FormControl(true, {nonNullable: true});
3232
disabled = new FormControl(false, {nonNullable: true});
33-
softDisabled = new FormControl(false, {nonNullable: true});
33+
softDisabled = new FormControl(true, {nonNullable: true});
3434
}

docs-content/examples-source/aria/tree/tree-configurable/tree-configurable-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class TreeConfigurableExample {
4040
multi = new FormControl(false, {nonNullable: true});
4141
disabled = new FormControl(false, {nonNullable: true});
4242
wrap = new FormControl(true, {nonNullable: true});
43-
softDisabled = new FormControl(false, {nonNullable: true});
43+
softDisabled = new FormControl(true, {nonNullable: true});
4444
nav = new FormControl(false, {nonNullable: true});
4545

4646
selectedValues = model<string[]>(['package.json']);

fesm2022/aria-tabs.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class TabsConfigurableExample {
2222
disabled = new FormControl(false, {
2323
nonNullable: true
2424
});
25-
softDisabled = new FormControl(false, {
25+
softDisabled = new FormControl(true, {
2626
nonNullable: true
2727
});
2828
static ɵfac = i0.ɵɵngDeclareFactory({

fesm2022/aria-tabs.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fesm2022/aria-tree.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class TreeConfigurableExample {
9696
wrap = new FormControl(true, {
9797
nonNullable: true
9898
});
99-
softDisabled = new FormControl(false, {
99+
softDisabled = new FormControl(true, {
100100
nonNullable: true
101101
});
102102
nav = new FormControl(false, {

fesm2022/aria-tree.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular/components-examples",
3-
"version": "21.1.0-next.0+sha-a9bd33f",
3+
"version": "21.1.0-next.0+sha-28a50f5",
44
"description": "Angular Components Examples",
55
"private": true,
66
"repository": {
@@ -283,15 +283,15 @@
283283
},
284284
"homepage": "https://github.com/angular/components#readme",
285285
"peerDependencies": {
286-
"@angular/aria": "21.1.0-next.0+sha-a9bd33f",
287-
"@angular/cdk": "21.1.0-next.0+sha-a9bd33f",
288-
"@angular/cdk-experimental": "21.1.0-next.0+sha-a9bd33f",
286+
"@angular/aria": "21.1.0-next.0+sha-28a50f5",
287+
"@angular/cdk": "21.1.0-next.0+sha-28a50f5",
288+
"@angular/cdk-experimental": "21.1.0-next.0+sha-28a50f5",
289289
"@angular/core": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0",
290290
"@angular/common": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0",
291-
"@angular/material": "21.1.0-next.0+sha-a9bd33f",
292-
"@angular/material-experimental": "21.1.0-next.0+sha-a9bd33f",
293-
"@angular/material-luxon-adapter": "21.1.0-next.0+sha-a9bd33f",
294-
"@angular/material-date-fns-adapter": "21.1.0-next.0+sha-a9bd33f"
291+
"@angular/material": "21.1.0-next.0+sha-28a50f5",
292+
"@angular/material-experimental": "21.1.0-next.0+sha-28a50f5",
293+
"@angular/material-luxon-adapter": "21.1.0-next.0+sha-28a50f5",
294+
"@angular/material-date-fns-adapter": "21.1.0-next.0+sha-28a50f5"
295295
},
296296
"devDependencies": {
297297
"@angular/aria": "workspace:*",

0 commit comments

Comments
 (0)