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
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
e544742156
refactor(core): Removed readonly getters and changed to readonly ( #19842 )
...
variables
PR Close #19842
2017-12-08 10:24:19 -08:00
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
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
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
c2b3792a3b
fix(animations): ensure multi-level leave animations work ( #19455 )
...
PR Close #19455
2017-11-28 18:24:41 -06:00
b2a586cee1
fix(animations): ensure multi-level enter animations work ( #19455 )
...
PR Close #19455
2017-11-28 18:24:40 -06:00
add5953aa1
Revert "fix(animations): ensure multi-level enter animations work ( #19455 )"
...
This reverts commit dd6237ecd9
.
2017-11-28 15:08:44 -06:00
6b4c24020d
Revert "fix(animations): ensure multi-level leave animations work ( #19455 )"
...
This reverts commit 1366762d12
.
2017-11-28 15:08:31 -06:00
1366762d12
fix(animations): ensure multi-level leave animations work ( #19455 )
...
PR Close #19455
2017-11-27 16:59:47 -06:00
dd6237ecd9
fix(animations): ensure multi-level enter animations work ( #19455 )
...
PR Close #19455
2017-11-27 16:59:46 -06:00
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
1861e416a1
fix(animations): validate against trigger() names that use @ symbols ( #20326 )
...
PR Close #20326
2017-11-16 16:20:09 -06:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
6a9ce67714
Revert "refactor(core): Removed readonly getters and changed to readonly ( #19225 )"
...
This reverts commit 2b84b86fc0
.
2017-09-28 13:36:44 -07:00
2b84b86fc0
refactor(core): Removed readonly getters and changed to readonly ( #19225 )
...
variables
2017-09-28 09:36:29 -07:00
86ffacf7ce
feat(animations): support negative query option values
...
closes #19259
2017-09-26 12:02:56 -07:00
b54368bf35
fix(animations): properly support the query limit option value
...
Closes #19232
2017-09-26 12:02:43 -07:00
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
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
a95e03ae85
fix(animations): ensure animateChild() works with all inner leave animations ( #19006 )
...
Closes #18305
PR Close #19006
2017-09-05 15:33:50 -05:00
fcadeb2079
fix(animations): do not leak DOM nodes/styling for host triggered animations ( #18853 )
...
Closes #18606
PR Close #18853
2017-08-31 18:38:27 -07:00
409688fe17
feat(animations): report errors when invalid CSS properties are detected ( #18718 )
...
Closes #18701
PR Close #18718
2017-08-21 20:38:22 -05:00
70628112e8
fix(animations): restore auto-style support for removed DOM nodes ( #18787 )
...
PR Close #18787
2017-08-18 23:31:10 -05:00
29aa8b33df
fix(animations): make sure animation cancellations respect AUTO style values ( #18787 )
...
Closes #17450
PR Close #18787
2017-08-18 23:31:10 -05:00
e25f05ae7c
fix(animations): make sure @.disabled respects disabled parent/sub animation sequences ( #18715 )
...
Prior to this fix if @parent and @child animations ran at the same
time within a disabled region then there was a chance that a @child
sub animation would never complete. This would cause *directives to
never close a removal when a @child trigger was placed on them. This
patch fixes this issue.
PR Close #18715
2017-08-18 23:30:28 -05:00
791c7efe29
fix(animations): ensure animations are disabled on the element containing the @.disabled flag ( #18714 )
...
Prior to fix this fix, @.disabled would only work to disable child
animations. Now it will also disable animations for the element that has
the @.disabled flag (which makes more sense).
PR Close #18714
2017-08-18 23:28:07 -05:00
05472cb21b
fix(animations): support persisting dynamic styles within animation states ( #18468 )
...
Closes #18423
Closes #17505
2017-08-07 11:40:04 -07:00
c0c03dc4ba
fix(animations): revert container/queried animations accordingly during cancel ( #18516 )
2017-08-07 11:38:30 -07:00
9479a106bb
build: enable TSLint on the packages folder
2017-07-31 15:47:57 -07:00