Skip to content

Commit 5f5828f

Browse files
refactor(core): dispatch enter and leave animations at the right times (#63710)
This updates the enter and leave logic to use the stored LView data to dispatch the enter and leave animations at the right points in the lifecycle. This should fix issues with signals not being available yet, parallel animations, and also eliminate the need for the element registry. fixes: #63391 fixes: #63388 fixes: #63369 PR Close #63710
1 parent e00c5c5 commit 5f5828f

File tree

57 files changed

+453
-639
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+453
-639
lines changed

integration/cli-hello-world-ivy-i18n/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
],
1717
"lib": [
1818
"es2018",
19-
"dom"
19+
"dom",
20+
"ES2020.Promise"
2021
]
2122
},
2223
"angularCompilerOptions": {

integration/cli-hello-world-lazy/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
],
1717
"lib": [
1818
"es2018",
19-
"dom"
19+
"dom",
20+
"ES2020.Promise"
2021
]
2122
},
2223
"angularCompilerOptions": {

integration/cli-hello-world/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"importHelpers": true,
1313
"target": "es2022",
1414
"typeRoots": ["node_modules/@types"],
15-
"lib": ["es2018", "dom"]
15+
"lib": ["es2018", "dom", "ES2020.Promise"]
1616
},
1717
"angularCompilerOptions": {
1818
"strictTemplates": true

integration/cli-signal-inputs/e2e/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"types": [
88
"jasmine",
99
"jasminewd2",
10-
"node"
10+
"node",
11+
"ES2020.Promise"
1112
]
1213
}
1314
}

integration/cli-signal-inputs/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"importHelpers": true,
1414
"target": "es2022",
1515
"typeRoots": ["node_modules/@types"],
16-
"lib": ["es2018", "dom"]
16+
"lib": ["es2018", "dom", "ES2020.Promise"]
1717
},
1818
"angularCompilerOptions": {
1919
"strictTemplates": true

integration/defer/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
],
1717
"lib": [
1818
"es2018",
19-
"dom"
19+
"dom",
20+
"ES2020.Promise"
2021
]
2122
},
2223
"angularCompilerOptions": {

integration/legacy-animations-async/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
],
1818
"lib": [
1919
"es2018",
20-
"dom"
20+
"dom",
21+
"ES2020.Promise"
2122
]
2223
},
2324
"angularCompilerOptions": {

integration/legacy-animations/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
],
1717
"lib": [
1818
"es2018",
19-
"dom"
19+
"dom",
20+
"ES2020.Promise"
2021
]
2122
},
2223
"angularCompilerOptions": {

integration/ng-add-localize/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"module": "es2022",
2121
"lib": [
2222
"es2018",
23-
"dom"
23+
"dom",
24+
"ES2020.Promise"
2425
]
2526
},
2627
"angularCompilerOptions": {

integration/nodenext_resolution/tsconfig.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@
99
"moduleResolution": "NodeNext",
1010
"outDir": "./dist/out-tsc",
1111
"rootDir": ".",
12-
"target": "es5",
12+
"target": "es2020",
1313
"lib": [
14-
"es5",
14+
"es2020",
1515
"dom",
16-
"es2015.collection",
17-
"es2015.iterable",
18-
"es2015.promise"
16+
"es2020.promise"
1917
],
2018
"types": [],
2119
},

0 commit comments

Comments
 (0)