@angular/platform-browser 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.
- package/README.md +1 -2
- package/fesm2022/_browser-chunk.mjs +11 -11
- package/fesm2022/_browser-chunk.mjs.map +1 -1
- package/fesm2022/_dom_renderer-chunk.mjs +16 -27
- package/fesm2022/_dom_renderer-chunk.mjs.map +1 -1
- package/fesm2022/animations-async.mjs +4 -4
- package/fesm2022/animations-async.mjs.map +1 -1
- package/fesm2022/animations.mjs +12 -12
- package/fesm2022/animations.mjs.map +1 -1
- package/fesm2022/platform-browser.mjs +24 -24
- package/fesm2022/platform-browser.mjs.map +1 -1
- package/fesm2022/testing.mjs +8 -8
- package/fesm2022/testing.mjs.map +1 -1
- package/package.json +4 -4
- package/types/_browser-chunk.d.ts +1 -1
- package/types/animations-async.d.ts +1 -1
- package/types/animations.d.ts +1 -1
- package/types/platform-browser.d.ts +3 -4
- package/types/testing.d.ts +1 -1
package/types/animations.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-rc.
|
|
2
|
+
* @license Angular v21.0.0-rc.2
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -337,14 +337,13 @@ declare class DomRendererFactory2 implements RendererFactory2, OnDestroy {
|
|
|
337
337
|
private readonly appId;
|
|
338
338
|
private removeStylesOnCompDestroy;
|
|
339
339
|
private readonly doc;
|
|
340
|
-
readonly platformId: Object;
|
|
341
340
|
readonly ngZone: NgZone;
|
|
342
341
|
private readonly nonce;
|
|
343
342
|
private readonly tracingService;
|
|
344
343
|
private readonly rendererByCompId;
|
|
345
344
|
private readonly defaultRenderer;
|
|
346
345
|
private readonly platformIsServer;
|
|
347
|
-
constructor(eventManager: EventManager, sharedStylesHost: SharedStylesHost, appId: string, removeStylesOnCompDestroy: boolean, doc: Document,
|
|
346
|
+
constructor(eventManager: EventManager, sharedStylesHost: SharedStylesHost, appId: string, removeStylesOnCompDestroy: boolean, doc: Document, ngZone: NgZone, nonce?: string | null, tracingService?: _TracingService<_TracingSnapshot> | null);
|
|
348
347
|
createRenderer(element: any, type: RendererType2 | null): Renderer2;
|
|
349
348
|
private getOrCreateRenderer;
|
|
350
349
|
ngOnDestroy(): void;
|
|
@@ -353,7 +352,7 @@ declare class DomRendererFactory2 implements RendererFactory2, OnDestroy {
|
|
|
353
352
|
* @param componentId ID of the component that is being replaced.
|
|
354
353
|
*/
|
|
355
354
|
protected componentReplaced(componentId: string): void;
|
|
356
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DomRendererFactory2, [null, null, null, null, null, null, null,
|
|
355
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DomRendererFactory2, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
357
356
|
static ɵprov: i0.ɵɵInjectableDeclaration<DomRendererFactory2>;
|
|
358
357
|
}
|
|
359
358
|
|
package/types/testing.d.ts
CHANGED