Skip to content

Commit dc71578

Browse files
committed
main - eef7d66 fix(multiple): resolve host binding issues (#30570)
1 parent e0c8a52 commit dc71578

File tree

4 files changed

+10
-57
lines changed

4 files changed

+10
-57
lines changed

docs-content/api-docs/cdk-dialog.html

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -783,22 +783,6 @@ <h4 id="DialogConfig" class="docs-header-link docs-api-h4 docs-api-class-name">
783783

784784

785785

786-
787-
788-
<tr class="docs-api-properties-row">
789-
<td class="docs-api-properties-name-cell"><div class="docs-api-deprecated-marker" deprecated-message="No longer used. Will be removed. Will be removed in v20.0.0 or later."
790-
>
791-
Deprecated
792-
</div><p class="docs-api-property-name">
793-
<code>componentFactoryResolver: unknown</code>
794-
</p>
795-
</td>
796-
<td class="docs-api-property-description"><p>Alternate <code>ComponentFactoryResolver</code> to use when resolving the associated component.</p>
797-
</td>
798-
</tr>
799-
800-
801-
802786
</table>
803787

804788

docs-content/api-docs/cdk-portal.html

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,21 +1539,6 @@ <h4 id="ComponentPortal" class="docs-header-link docs-api-h4 docs-api-class-name
15391539

15401540

15411541

1542-
1543-
1544-
<tr class="docs-api-properties-row">
1545-
<td class="docs-api-properties-name-cell"><div class="docs-api-deprecated-marker" deprecated-message="No longer in use. To be removed. Will be removed in v18.0.0 or later."
1546-
>
1547-
Deprecated
1548-
</div><p class="docs-api-property-name">
1549-
<code>componentFactoryResolver: any</code>
1550-
</p>
1551-
</td>
1552-
<td class="docs-api-property-description"></td>
1553-
</tr>
1554-
1555-
1556-
15571542
</table>
15581543

15591544

@@ -2741,7 +2726,7 @@ <h4 id="DomPortalOutlet" class="docs-header-link docs-api-h4 docs-api-class-name
27412726
if (!element.parentNode &amp;&amp; (typeof ngDevMode === &#39;undefined&#39; || ngDevMode)) {
27422727
throw Error(&#39;DOM portal content must be attached to a parent node.&#39;);
27432728
}
2744-
const anchorNode = this._document.createComment(&#39;dom-portal&#39;);
2729+
const anchorNode = this.outletElement.ownerDocument.createComment(&#39;dom-portal&#39;);
27452730
element.parentNode!.insertBefore(anchorNode, element);
27462731
this.outletElement.appendChild(element);
27472732
this._attachedPortal = portal;
@@ -3115,7 +3100,7 @@ <h4 id="DomPortalHost" class="docs-header-link docs-api-h4 docs-api-class-name">
31153100
if (!element.parentNode &amp;&amp; (typeof ngDevMode === &#39;undefined&#39; || ngDevMode)) {
31163101
throw Error(&#39;DOM portal content must be attached to a parent node.&#39;);
31173102
}
3118-
const anchorNode = this._document.createComment(&#39;dom-portal&#39;);
3103+
const anchorNode = this.outletElement.ownerDocument.createComment(&#39;dom-portal&#39;);
31193104
element.parentNode!.insertBefore(anchorNode, element);
31203105
this.outletElement.appendChild(element);
31213106
this._attachedPortal = portal;

docs-content/api-docs/material-dialog.html

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,22 +1296,6 @@ <h4 id="MatDialogConfig" class="docs-header-link docs-api-h4 docs-api-class-name
12961296

12971297

12981298

1299-
1300-
1301-
<tr class="docs-api-properties-row">
1302-
<td class="docs-api-properties-name-cell"><div class="docs-api-deprecated-marker" deprecated-message="No longer used. Will be removed. Will be removed in v20.0.0 or later."
1303-
>
1304-
Deprecated
1305-
</div><p class="docs-api-property-name">
1306-
<code>componentFactoryResolver: unknown</code>
1307-
</p>
1308-
</td>
1309-
<td class="docs-api-property-description"><p>Alternate <code>ComponentFactoryResolver</code> to use when resolving the associated component.</p>
1310-
</td>
1311-
</tr>
1312-
1313-
1314-
13151299
</table>
13161300

13171301

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": "20.0.0-next.0+sha-ef62d5c",
3+
"version": "20.0.0-next.0+sha-eef7d66",
44
"description": "Angular Components Examples",
55
"private": true,
66
"repository": {
@@ -259,15 +259,15 @@
259259
},
260260
"homepage": "https://github.com/angular/components#readme",
261261
"peerDependencies": {
262-
"@angular/cdk": "20.0.0-next.0+sha-ef62d5c",
263-
"@angular/cdk-experimental": "20.0.0-next.0+sha-ef62d5c",
262+
"@angular/cdk": "20.0.0-next.0+sha-eef7d66",
263+
"@angular/cdk-experimental": "20.0.0-next.0+sha-eef7d66",
264264
"@angular/core": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
265265
"@angular/common": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
266-
"@angular/material": "20.0.0-next.0+sha-ef62d5c",
267-
"@angular/material-experimental": "20.0.0-next.0+sha-ef62d5c",
268-
"@angular/material-moment-adapter": "20.0.0-next.0+sha-ef62d5c",
269-
"@angular/material-luxon-adapter": "20.0.0-next.0+sha-ef62d5c",
270-
"@angular/material-date-fns-adapter": "20.0.0-next.0+sha-ef62d5c"
266+
"@angular/material": "20.0.0-next.0+sha-eef7d66",
267+
"@angular/material-experimental": "20.0.0-next.0+sha-eef7d66",
268+
"@angular/material-moment-adapter": "20.0.0-next.0+sha-eef7d66",
269+
"@angular/material-luxon-adapter": "20.0.0-next.0+sha-eef7d66",
270+
"@angular/material-date-fns-adapter": "20.0.0-next.0+sha-eef7d66"
271271
},
272272
"dependencies": {
273273
"tslib": "^2.3.0"

0 commit comments

Comments
 (0)