@angular/core 20.2.0-rc.0 → 20.2.0-rc.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/api.d.d.ts +1 -1
- package/chrome_dev_tools_performance.d.d.ts +1 -1
- package/discovery.d.d.ts +2 -8
- package/event_dispatcher.d.d.ts +1 -1
- package/fesm2022/attribute.mjs +1 -1
- package/fesm2022/core.mjs +7 -10
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/debug_node.mjs +4 -13
- package/fesm2022/debug_node.mjs.map +1 -1
- package/fesm2022/not_found.mjs +1 -1
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/resource.mjs +2 -11
- package/fesm2022/resource.mjs.map +1 -1
- package/fesm2022/root_effect_scheduler.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/signal.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/untracked.mjs +1 -1
- package/fesm2022/weak_ref.mjs +1 -1
- package/graph.d.d.ts +1 -1
- package/index.d.ts +3 -11
- package/package.json +2 -2
- package/primitives/di/index.d.ts +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/bundles/{apply_import_manager-BDpMzDvN.cjs → apply_import_manager-OJAv7nyR.cjs} +3 -3
- package/schematics/bundles/cleanup-unused-imports.cjs +5 -5
- package/schematics/bundles/{compiler_host-GNtX_RDe.cjs → compiler_host-GMENszSm.cjs} +2 -2
- package/schematics/bundles/control-flow-migration.cjs +3 -3
- package/schematics/bundles/document-core.cjs +5 -5
- package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
- package/schematics/bundles/{index-czXpbmcu.cjs → index-C0gVsyDQ.cjs} +4 -4
- package/schematics/bundles/{index-BrQFpkJq.cjs → index-CvCDOy8a.cjs} +17 -19
- package/schematics/bundles/inject-flags.cjs +5 -5
- package/schematics/bundles/inject-migration.cjs +3 -3
- package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
- package/schematics/bundles/{migrate_ts_type_references-DLVVfu8Y.cjs → migrate_ts_type_references-ByPRdLHL.cjs} +5 -5
- package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
- package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
- package/schematics/bundles/output-migration.cjs +6 -6
- package/schematics/bundles/{project_paths-pSh0WpBI.cjs → project_paths-BfWTWKz0.cjs} +3 -3
- package/schematics/bundles/{project_tsconfig_paths-Cy7U7awR.cjs → project_tsconfig_paths-Bhn4jDr1.cjs} +5 -7
- package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
- package/schematics/bundles/route-lazy-loading.cjs +3 -3
- package/schematics/bundles/router-current-navigation.cjs +4 -4
- package/schematics/bundles/self-closing-tags-migration.cjs +4 -4
- package/schematics/bundles/signal-input-migration.cjs +7 -7
- package/schematics/bundles/signal-queries-migration.cjs +7 -7
- package/schematics/bundles/signals.cjs +7 -7
- package/schematics/bundles/standalone-migration.cjs +4 -4
- package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
- package/schematics/bundles/test-bed-get.cjs +4 -4
- package/signal.d.d.ts +1 -1
- package/testing/index.d.ts +1 -1
- package/weak_ref.d.d.ts +1 -1
package/fesm2022/debug_node.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.2.0-rc.
|
|
2
|
+
* @license Angular v20.2.0-rc.1
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -4896,12 +4896,6 @@ var ViewEncapsulation;
|
|
|
4896
4896
|
* all the Component's styling.
|
|
4897
4897
|
*/
|
|
4898
4898
|
ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
|
|
4899
|
-
/**
|
|
4900
|
-
* Similar to `ShadowDom`, but prevents any external styles from leaking into the
|
|
4901
|
-
* component's ShadowRoot. This is useful when you want to ensure that the component's
|
|
4902
|
-
* styles are completely isolated from the rest of the application, including global styles.
|
|
4903
|
-
*/
|
|
4904
|
-
ViewEncapsulation[ViewEncapsulation["IsolatedShadowDom"] = 4] = "IsolatedShadowDom";
|
|
4905
4899
|
})(ViewEncapsulation || (ViewEncapsulation = {}));
|
|
4906
4900
|
|
|
4907
4901
|
/**
|
|
@@ -7996,9 +7990,7 @@ function locateHostElement(renderer, elementOrSelector, encapsulation, injector)
|
|
|
7996
7990
|
const preserveHostContent = injector.get(PRESERVE_HOST_CONTENT, PRESERVE_HOST_CONTENT_DEFAULT);
|
|
7997
7991
|
// When using native Shadow DOM, do not clear host element to allow native slot
|
|
7998
7992
|
// projection.
|
|
7999
|
-
const preserveContent = preserveHostContent ||
|
|
8000
|
-
encapsulation === ViewEncapsulation.ShadowDom ||
|
|
8001
|
-
encapsulation === ViewEncapsulation.IsolatedShadowDom;
|
|
7993
|
+
const preserveContent = preserveHostContent || encapsulation === ViewEncapsulation.ShadowDom;
|
|
8002
7994
|
const rootElement = renderer.selectRootElement(elementOrSelector, preserveContent);
|
|
8003
7995
|
applyRootElementTransform(rootElement);
|
|
8004
7996
|
return rootElement;
|
|
@@ -13523,7 +13515,7 @@ class ComponentFactory extends ComponentFactory$1 {
|
|
|
13523
13515
|
}
|
|
13524
13516
|
function createRootTView(rootSelectorOrNode, componentDef, componentBindings, directives) {
|
|
13525
13517
|
const tAttributes = rootSelectorOrNode
|
|
13526
|
-
? ['ng-version', '20.2.0-rc.
|
|
13518
|
+
? ['ng-version', '20.2.0-rc.1']
|
|
13527
13519
|
: // Extract attributes and classes from the first selector only to match VE behavior.
|
|
13528
13520
|
extractAttrsAndClassesFromSelector(componentDef.selectors[0]);
|
|
13529
13521
|
let creationBindings = null;
|
|
@@ -29077,8 +29069,7 @@ function recreateLView(importMeta, id, newDef, oldDef, lView) {
|
|
|
29077
29069
|
// shadow root. The browser will throw if we attempt to attach another one and there's no way
|
|
29078
29070
|
// to detach it. Our only option is to make a clone only of the root node, replace the node
|
|
29079
29071
|
// with the clone and use it for the newly-created LView.
|
|
29080
|
-
if (oldDef.encapsulation === ViewEncapsulation.ShadowDom
|
|
29081
|
-
oldDef.encapsulation === ViewEncapsulation.IsolatedShadowDom) {
|
|
29072
|
+
if (oldDef.encapsulation === ViewEncapsulation.ShadowDom) {
|
|
29082
29073
|
const newHost = host.cloneNode(false);
|
|
29083
29074
|
host.replaceWith(newHost);
|
|
29084
29075
|
host = newHost;
|