Matias Niemelä
e1bf067090
fix(animations): report correct totalTime value even during noOp animations ( #22225 )
...
This patch ensures that if the NoopAnimationsModule is used then it will
correctly report the associated `totalTime` property within the emitted
AnimationEvent instance when an animation event trigger is fired.
BREAKING CHANGE: When animation is trigged within a disabled zone, the
associated event (which an instance of AnimationEvent) will no longer
report the totalTime as 0 (it will emit the actual time of the
animation). To detect if an animation event is reporting a disabled
animation then the `event.disabled` property can be used instead.
PR Close #22225
2018-02-16 18:03:31 -08:00
George Kalpakas
8f6047340e
docs(animations): fix typo (disbled --> disabled) ( #21695 )
...
PR Close #21695
2018-02-07 12:06:45 -08:00
cexbrayat
d2aa8acbe0
fix(animations): fix increment/decrement aliases example ( #18323 )
...
PR Close #18323
2018-01-10 12:06:55 -08:00
Matias Niemelä
86a36eaadd
fix(animations): avoid infinite loop with multiple blocked sub triggers ( #21119 )
...
This patch fixes animations so that if multiple sub @triggers are used
and are blocked by a parent animation then the engine will not lead
itself into an infinite loop.
PR Close #21119
2017-12-22 09:23:28 -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ä
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ä
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
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
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
Casey Schroeder
e81d1fc361
docs(animations): add missing bracket to fadeAnimation
...
Closes #18899
2017-10-13 09:12:36 -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
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ä
2d2300e118
docs(animations): document usage of negative limit values for query ( #19451 )
2017-09-28 09:34:36 -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
Matias Niemelä
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
Matias Niemelä
05472cb21b
fix(animations): support persisting dynamic styles within animation states ( #18468 )
...
Closes #18423
Closes #17505
2017-08-07 11:40:04 -07:00
Matias Niemelä
6f45519d6f
feat(animations): support :increment and :decrement transition aliases
2017-07-19 11:24:00 -07:00
Matias Niemelä
23146c9201
fix(animations): capture cancelled animation styles within grouped animations
...
Closes #17170
2017-07-18 15:22:10 -07:00
Matias Niemelä
8e28382e4a
feat(animations): support disabling animations for sub elements
...
Closes #16483
2017-07-07 14:58:40 -07:00
Jason Hodges
f365a0f45c
docs(aio): animations typos fixed
2017-06-26 11:04:13 -07:00
Matias Niemelä
b10029c18b
docs(animations): add documentation for new animation features
2017-05-19 12:52:04 -07:00
Matias Niemelä
712630ca65
perf(animations): reduce size of animations bundle
...
before:
animations.umd.js = 33k
animations.umd.min.js = 9.0k
after:
animations.umd.js = 31k
animations.umd.min.js = 7.9k
2017-05-17 16:30:36 -07:00
Matias Niemelä
8a6eb1ac78
refactor(animations): single animation engine code pass
2017-05-16 17:39:57 -07:00
Matias Niemelä
16c8167886
feat(animations): introduce a wave of new animation features
2017-05-16 17:39:57 -07:00
Pete Bacon Darwin
d0e72a8f8f
docs(*) fix dangling links in API docs ( #16632 )
...
* docs(animations): fix links to `Component` animations
* docs(core): fix links to `ReflectiveInjector` methods
The `resolve` and other methods were moved from the
`Injector` to the `ReflectiveInjector`.
* docs(core): fix links to `Renderer`
The local links were assuming that that methods were on the
current document (e.g. `RootRenderer`), but they are actually
on the `Renderer` class.
* docs(router): fix links to methods
* docs(forms): fix links to methods
* docs(core): fix links to methods
* docs(router): fix API page links and an internal link
2017-05-09 15:51:37 -07:00
Miško Hevery
38d75d410e
feat(animations): Update types for TypeScript nullability support
...
Closes #15870
2017-04-11 18:13:52 -07:00
Miško Hevery
910c0d9ee7
fix(core): Update types for TypeScript nullability support ( #15472 )
2017-03-29 09:34:45 -07:00
Ward Bell
816b389759
docs: in doc comments, replace [aA]ngular2 with Angular ( #15463 )
2017-03-27 09:44:35 -07:00
Matias Niemelä
3f38c6fdcd
fix(animations): always fire callbacks even for noop animations ( #15170 )
...
Closes #15170
2017-03-15 13:41:00 -07:00
Matias Niemelä
0aad270267
refactor(platform-browser): move platform-browser/animations to animations/browser ( #15130 )
...
Closes : #15130
2017-03-14 11:55:49 -07:00
Chuck Jazdzewski
e6c81d2a42
Revert "refactor(platform-browser): move platform-browser/animations to animations/browser ( #15043 )"
...
This reverts commit 195b863ea4
.
2017-03-13 15:46:44 -07:00
Matias Niemelä
195b863ea4
refactor(platform-browser): move platform-browser/animations to animations/browser ( #15043 )
2017-03-13 14:39:19 -07:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00