Martin Probst
871ece6123
fix(animations): renaming issue with DOMAnimation. ( #21125 )
...
Closure Compiler renames all properties that are "internal" to the
program. `DOMAnimation` however is external, it is a browser API, so its
fields must not be renamed.
This change marks `DOMAnimation` as external using `declare interface`,
which will cause Closure Compiler to back off and prevent renaming of
any of its fields.
PR Close #21125
2017-12-21 09:44:37 -08:00
Matias Niemelä
13e663c232
fix(animations): ensure multi-level route leave animations are queryable ( #20787 )
...
Closes #19807
PR Close #20787
2017-12-08 13:44:01 -08:00
Yuan Gao
e544742156
refactor(core): Removed readonly getters and changed to readonly ( #19842 )
...
variables
PR Close #19842
2017-12-08 10:24:19 -08:00
Matias Niemelä
661fdcd3e2
refactor(animations): instantiate Set-matching code with values in constructor ( #20725 )
...
For some reason, prior to this fix, the boolean set matching
code (within `animation_transition_expr.ts`) failed to remain
the same when compiled with closure. This refactor makes sure
that the code stays in tact.
Reproduction Details:
Passes without `ng build --prod`: https://burger.stackblitz.io/
Fails with `ng build --prod`: http://burger.fxck.cz/
Closes #20374
PR Close #20725
2017-12-07 17:16:21 -08:00
Matias Niemelä
590d93b30d
feat(animations): re-introduce support for transition matching functions ( #20723 )
...
Closes #18959
PR Close #20723
2017-12-07 17:16:09 -08:00
Matias Niemelä
c26e1bba1d
fix(animations): ensure the web-animations driver properly handles empty keyframes ( #20648 )
...
Closes #15858
PR Close #20648
2017-12-07 17:16:02 -08:00
Matias Niemelä
10771d0bd8
fix(animations): support webkit-based vendor prefixes for prop validations ( #19055 )
...
Closes #18921
PR Close #19055
2017-12-07 17:15:53 -08:00
Alex Eagle
ef534c0cc1
build: upgrade bazel rules to latest ( #20768 )
...
Add enough BUILD files to make it possible to
`bazel build packages/core/test`
Also re-format BUILD.bazel files with Buildifier.
Add a CI lint check that they stay formatted.
PR Close #20768
2017-12-07 11:27:50 -08:00
Matias Niemelä
b78ada198a
fix(animations): ensure DOM is cleaned up after multiple @trigger leave animations finish ( #20740 )
...
Closes #20541
PR Close #20740
2017-12-06 07:02:42 -08:00
Matias Niemelä
c2b3792a3b
fix(animations): ensure multi-level leave animations work ( #19455 )
...
PR Close #19455
2017-11-28 18:24:41 -06:00
Matias Niemelä
b2a586cee1
fix(animations): ensure multi-level enter animations work ( #19455 )
...
PR Close #19455
2017-11-28 18:24:40 -06:00
Miško Hevery
add5953aa1
Revert "fix(animations): ensure multi-level enter animations work ( #19455 )"
...
This reverts commit dd6237ecd9
.
2017-11-28 15:08:44 -06:00
Miško Hevery
6b4c24020d
Revert "fix(animations): ensure multi-level leave animations work ( #19455 )"
...
This reverts commit 1366762d12
.
2017-11-28 15:08:31 -06:00
Matias Niemelä
1366762d12
fix(animations): ensure multi-level leave animations work ( #19455 )
...
PR Close #19455
2017-11-27 16:59:47 -06:00
Matias Niemelä
dd6237ecd9
fix(animations): ensure multi-level enter animations work ( #19455 )
...
PR Close #19455
2017-11-27 16:59:46 -06:00
Matias Niemelä
ffb6dbeefe
fix(animations): always fire start and done callbacks in order for noop animations ( #20570 )
...
PR Close #20570
2017-11-22 12:36:28 -06:00
Matias Niemelä
0e012c9669
fix(animations): always fire inner trigger callbacks even if blocked by parent animations ( #19753 )
...
Closes #19100
PR Close #19753
2017-11-22 10:38:02 -06:00
Matias Niemelä
1861e416a1
fix(animations): validate against trigger() names that use @ symbols ( #20326 )
...
PR Close #20326
2017-11-16 16:20:09 -06:00
Miško Hevery
f8658cdc38
Revert "fix(animations): always fire inner trigger callbacks even if blocked by parent animations ( #19753 )"
...
This reverts commit d47b2a6f70
.
2017-11-15 17:04:22 -06:00
Matias Niemelä
d47b2a6f70
fix(animations): always fire inner trigger callbacks even if blocked by parent animations ( #19753 )
...
Closes #19100
PR Close #19753
2017-11-14 15:59:47 -08:00
Matias Niemelä
20aafff092
fix(animations): ensure final state() styles are applied within @.disabled animations ( #20267 )
...
Closes #20266
PR Close #20267
2017-11-14 11:01:11 -08:00
Bowen Ni
743651f5e8
refactor(animations): uses a loop instead Array.map() which creates and ( #19910 )
...
returns a new array that is discarded.
This pattern will become a compilation error in google3.
PR Close #19910
2017-11-10 13:47:02 -08:00
Hans Larsen
b6abcb2500
refactor: make all rollup config ES5 compatible ( #20028 )
...
So they can be required by other Node scripts.
PR Close #20028
2017-10-30 23:09:17 -04:00
Tobias Bosch
8d735da5d8
Revert "fix(animations): always fire inner trigger callbacks even if blocked by parent animations ( #19753 )"
...
This reverts commit 5a9ed2de27
.
As it broke an internal test.
2017-10-18 09:56:59 -07:00
Matias Niemelä
5a9ed2de27
fix(animations): always fire inner trigger callbacks even if blocked by parent animations ( #19753 )
...
Closes #19100
PR Close #19753
2017-10-17 20:57:57 -07:00
Matias Niemelä
d035175cdb
fix(animations): ensure inner :leave animations do not remove node when skipped ( #19532 ) ( #19693 )
...
PR Close #19693
2017-10-16 11:13:58 -07:00
Matias Niemelä
f42d317d2f
fix(animations): ensure animateChild() works with all inner leave animations ( #19006 ) ( #19532 ) ( #19693 )
...
PR Close #19693
2017-10-16 11:13:58 -07:00
Casey Schroeder
e81d1fc361
docs(animations): add missing bracket to fadeAnimation
...
Closes #18899
2017-10-13 09:12:36 -07:00
Chuck Jazdzewski
46992b4bda
Revert "fix(animations): ensure animateChild() works with all inner leave animations ( #19006 ) ( #19532 )"
...
This reverts commit 9130505b57
.
2017-10-11 10:51:52 -07:00
Chuck Jazdzewski
d0af45c31a
Revert "fix(animations): ensure inner :leave animations do not remove node when skipped ( #19532 )"
...
This reverts commit ac50bd678e
.
2017-10-11 10:37:12 -07:00
Matias Niemelä
ac50bd678e
fix(animations): ensure inner :leave animations do not remove node when skipped ( #19532 )
...
PR Close #19532
2017-10-10 12:41:47 -07:00
Matias Niemelä
9130505b57
fix(animations): ensure animateChild() works with all inner leave animations ( #19006 ) ( #19532 )
...
Closes #18305
PR Close #19532
2017-10-10 12:41:47 -07:00
Matias Niemelä
c3a52697f5
perf(animations): reduce size of bundle by removing AST classes ( #19539 )
...
This CL refactors the animation AST code to make use of interfaces instead of classes. Given that interfaces are not persisted during runtime the removal of classes should nicely cut down on size for the animations-browser bundle.
-- before --
animations-browser.umd.js = 222kb
animations-browser.umd.min.js = 107kb
-- after --
animations-browser.umd.js = 213kb
animations-browser.umd.min.js = 102kb
PR Close #19539
2017-10-09 10:00:48 -07:00
Matias Niemelä
c4704c8abc
fix(animations): properly support boolean-based transitions and state changes ( #19279 )
...
Closes #9396
Closes #12337
PR Close #19279
2017-10-09 10:00:32 -07:00
Chuck Jazdzewski
b1ca5d4ddf
Revert "perf(animations): reduce size of bundle by removing AST classes ( #19539 )"
...
This reverts commit d5c9c5f183
.
2017-10-06 18:16:30 -07:00
Chuck Jazdzewski
f4480d46b4
Revert "fix(animations): ensure animateChild() works with all inner leave animations ( #19532 )"
...
This reverts commit 1c77cdadaf
.
2017-10-06 18:15:22 -07:00
Chuck Jazdzewski
6aa7cc1d96
Revert "fix(animations): properly support boolean-based transitions and state changes ( #19279 )"
...
This reverts commit a8920eb774
.
2017-10-06 18:15:08 -07:00
Matias Niemelä
a8920eb774
fix(animations): properly support boolean-based transitions and state changes ( #19279 )
...
Closes #9396
Closes #12337
PR Close #19279
2017-10-06 15:35:37 -07:00
Matias Niemelä
1c77cdadaf
fix(animations): ensure animateChild() works with all inner leave animations ( #19532 )
...
Closes #18305
PR Close #19532
2017-10-06 15:35:13 -07:00
Matias Niemelä
d5c9c5f183
perf(animations): reduce size of bundle by removing AST classes ( #19539 )
...
This CL refactors the animation AST code to make use of interfaces instead of classes. Given that interfaces are not persisted during runtime the removal of classes should nicely cut down on size for the animations-browser bundle.
-- before --
animations-browser.umd.js = 222kb
animations-browser.umd.min.js = 107kb
-- after --
animations-browser.umd.js = 213kb
animations-browser.umd.min.js = 102kb
PR Close #19539
2017-10-06 15:34:57 -07:00
Victor Berchet
6a9ce67714
Revert "refactor(core): Removed readonly getters and changed to readonly ( #19225 )"
...
This reverts commit 2b84b86fc0
.
2017-09-28 13:36:44 -07:00
tinayuangao
2b84b86fc0
refactor(core): Removed readonly getters and changed to readonly ( #19225 )
...
variables
2017-09-28 09:36:29 -07:00
Matias Niemelä
2d2300e118
docs(animations): document usage of negative limit values for query ( #19451 )
2017-09-28 09:34:36 -07:00
Alex Eagle
82e49230ff
build: Give names to the AMD modules nested in Angular UMD distro ( #19425 )
2017-09-28 09:29:22 -07:00
Matias Niemelä
86ffacf7ce
feat(animations): support negative query option values
...
closes #19259
2017-09-26 12:02:56 -07:00
Matias Niemelä
b54368bf35
fix(animations): properly support the query limit option value
...
Closes #19232
2017-09-26 12:02:43 -07:00
Chuck Jazdzewski
f96142cd7c
build: remove references to `tsc-wrapped` ( #19298 )
...
With this commit `ngc` is used instead of `tsc-wrapped` for
collecting metadata and tsickle rewriting and `tsc-wrapped`
is removed from the repository.
`@angular/tsc-wrapped@5` is now deprecated and is no longer
used, updated, or maintained as part as of Angular 5.x.x.
`@angular/tsc-wrapped@4` is still maintained and required by
Angular 4.x.x and will be maintained as long as 4.x.x is in
LTS.
PR Close #19298
2017-09-21 13:55:52 -07:00
Yuan Gao
549f2254b4
refactor(core): remove getters for packages/animations, language-service, platform-browser, router ( #19151 )
...
PR Close #19151
2017-09-20 12:38:37 -07:00
Jason Aden
15e8d50313
build: roll up to named .js files rather than 'index.js' ( #19190 )
...
PR Close #19190
2017-09-19 16:59:18 -07:00
Miško Hevery
15945c8791
Revert "fix(animations): ensure animateChild() works with all inner leave animations ( #19006 )"
...
This reverts commit a95e03ae85
.
2017-09-05 23:08:26 -05:00