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
Matias Niemelä
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
Matias Niemelä
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
Jason Aden
fd701b07f0
build: publish tree of files rather than FESMs ( #18541 )
...
* Remove now unnecessary portions of build.
* Add a compilePackageES5 method to build ES5 from sources
* Rework all package.json and rollup config files to new format
* Remove "extends" from tsconfig-build.json files and fixup compilation roots
PR Close #18541
2017-08-31 15:34:50 -07:00
Matias Niemelä
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
Matias Niemelä
70628112e8
fix(animations): restore auto-style support for removed DOM nodes ( #18787 )
...
PR Close #18787
2017-08-18 23:31:10 -05:00
Matias Niemelä
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
Matias Niemelä
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
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ä
c0c03dc4ba
fix(animations): revert container/queried animations accordingly during cancel ( #18516 )
2017-08-07 11:38:30 -07:00
Victor Berchet
9479a106bb
build: enable TSLint on the packages folder
2017-07-31 15:47:57 -07:00
Matias Niemelä
6f45519d6f
feat(animations): support :increment and :decrement transition aliases
2017-07-19 11:24:00 -07:00
Matias Niemelä
5344be5182
fix(animations): make sure @.disabled works in non-animation components
...
Note 4.3 only!
Prior to this fix when [@.disabled] was used in a component that
contained zero animation code it wouldn't register properly because the
renderer associated with that component was not an animation renderer.
This patch ensures that it gets registered even when there are no
animations set.
2017-07-18 16:37:04 -07:00
Matias Niemelä
d22f8f54db
fix(animations): always camelcase style property names that contain auto styles
...
Closes #17938
2017-07-18 15:22:30 -07:00
Matias Niemelä
23146c9201
fix(animations): capture cancelled animation styles within grouped animations
...
Closes #17170
2017-07-18 15:22:10 -07:00
Alex Rickabaugh
f7686d4124
Revert "fix(animations): make sure @.disabled works in non-animation components"
...
This reverts commit 01a2688848
.
2017-07-14 11:00:29 -07:00
Matias Niemelä
01a2688848
fix(animations): make sure @.disabled works in non-animation components
...
Note 4.3 only!
Prior to this fix when [@.disabled] was used in a component that
contained zero animation code it wouldn't register properly because the
renderer associated with that component was not an animation renderer.
This patch ensures that it gets registered even when there are no
animations set.
2017-07-14 10:34:58 -07:00
Victor Berchet
c723d42d0a
refactor: fix typos ( #18000 )
2017-07-07 16:55:17 -07:00
Matias Niemelä
8e28382e4a
feat(animations): support disabling animations for sub elements
...
Closes #16483
2017-07-07 14:58:40 -07:00
Matias Niemelä
3203639d7d
fix(animations): ensure `:animating` queries collect previous animation elements properly
2017-07-07 14:58:40 -07:00
Matias Niemelä
f85b543cc1
fix(animations): properly detect state transition changes for object literals
2017-07-07 14:58:40 -07:00
Matias Niemelä
105e920b69
fix(animations): properly handle cancelled animation style application
2017-07-06 10:18:12 -07:00
Matias Niemelä
858dea98e5
fix(animations): properly cleanup query artificats when animation construction fails
2017-07-06 10:18:12 -07:00
Matias Niemelä
40f77cb563
fix(animations): properly collect :enter nodes that exist within multi-level DOM trees
...
Closes #17632
2017-06-28 18:18:10 -07:00
Matias Niemelä
d699c354db
fix(animations): do not remove container nodes when children are queried by a parent animation
...
Closes #17746
2017-06-27 11:00:17 -07:00
Matias Niemelä
34f3832af9
fix(animations): do not delay style() values before a stagger() runs
...
Closes #17412
2017-06-27 11:00:06 -07:00
Jason Hodges
f365a0f45c
docs(aio): animations typos fixed
2017-06-26 11:04:13 -07:00
Matias Niemelä
f2ee1dcdb7
fix(animations): do not validate style overlap errors in different transitions
2017-06-23 09:02:37 -07:00
Igor Minar
e096a85874
fix(animations): remove duplicate license header
2017-06-15 14:41:59 -07:00
Matias Niemelä
6ca46929fa
fix(animations): properly collect :enter nodes in a partially updated collection
...
This PR fixes an issue where `query(':enter')` will only collect elements up until it an element that is found that isn't apart of the `:enter` query.
Closes #17440
2017-06-12 15:26:46 -07:00
Matias Niemelä
185075d870
fix(animations): compute removal node height correctly
2017-06-12 12:18:26 -07:00
Matias Niemelä
451257a2fd
fix(animations): do not treat a `0` animation state as `void`
2017-06-12 12:18:15 -07:00
Matias Niemelä
e9886d701d
fix(animations): evaluate substitutions on option param values
2017-06-08 10:12:52 -07:00
Matias Niemelä
fe6b39d585
perf(animations): do not create a closure each time a node is removed
2017-06-07 11:16:17 -07:00
Matias Niemelä
819514aeba
fix(animations): ensure web-animations understands a numeric CSS perspective value
...
Closes #14007
2017-06-02 17:05:15 -07:00
Matias Niemelä
b55adee982
perf(animations): only apply `:leave` flags if animations are set to run
2017-06-02 17:05:06 -07:00
Matias Niemelä
068133ec85
fix(animations): do not retain deleted nodes during an non-removal animation ( #17153 )
...
Closes #17086
2017-06-01 14:02:41 -07:00
Matias Niemelä
ad6a57e0a3
perf(animations): do not place enterId values on elements for querying purposes ( #17150 )
2017-06-01 11:39:53 -07:00
Matias Niemelä
665e7071fa
fix(animations): always change to desired animation state even if no transition fires ( #17025 )
...
Fixes #16947
2017-05-31 15:36:41 -07:00
Matias Niemelä
d108479d84
fix(animations): use a lightweight renderer for non-animation components ( #17003 )
...
This reverts commit c0981b8e13
.
2017-05-26 14:39:42 -06:00
Chuck Jazdzewski
c0981b8e13
Revert "fix(animations): use a lightweight renderer for non-animation components ( #17003 )"
...
This reverts commit 3ab86bd661
.
2017-05-26 08:55:23 -07:00
Matias Niemelä
3ab86bd661
fix(animations): use a lightweight renderer for non-animation components ( #17003 )
2017-05-25 18:54:35 -06:00
Jason Aden
fa809ec8cf
build: import tslib rather than output TS helpers ( #16901 )
2017-05-23 14:01:39 -06:00
Matias Niemelä
e7d9fd8056
fix(animations): repair flicker issues with WA polyfill ( #16937 )
...
Fixes #16919
Fixes #16918
2017-05-22 17:57:16 -06:00
Matias Niemelä
b10029c18b
docs(animations): add documentation for new animation features
2017-05-19 12:52:04 -07:00
Matias Niemelä
6cb93c1fac
fix(animations): only require one flushMicrotasks call when testing animations
2017-05-19 10:45:20 -07:00
Matias Niemelä
7d9f96abf0
fix(animations): make sure reuseable animation subtitutions work without default params ( #16875 )
2017-05-18 12:59:54 -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ä
54a6e4ff9e
refactor(animations): make animation testing work with fixture.whenRenderingDone
2017-05-16 17:39:57 -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
Matias Niemelä
a580f8c61f
fix(animations): make sure style calculations are not computed too early ( #15540 )
...
Closes #15507
2017-03-28 16:07:49 -07:00
Ward Bell
816b389759
docs: in doc comments, replace [aA]ngular2 with Angular ( #15463 )
2017-03-27 09:44:35 -07:00
Aliaksei Kuncevič
941f194a83
docs: spelling errors ( #15375 )
2017-03-22 13:25:35 -07:00
Matias Niemelä
fbccd5cd38
fix(animations): ensure empty animate() steps work at the end of a sequence ( #15328 )
...
Closes #15310
Closes #15328
PR Close #15328
2017-03-21 14:26:43 -05:00
Stanimira Vlaeva
2489e4ba1b
fix(animations): correct the main entry path in package.json ( #15300 )
...
PR Close #15300
2017-03-20 22:36:37 -05:00
Matias Niemelä
94da80148e
fix(animations): stringify boolean values as `1` and `0` ( #15311 )
...
Closes #15247
Closes #15311
PR Close #15311
2017-03-20 22:36:29 -05:00
Matias Niemelä
9bf2fb4a74
fix(animations): ensure enter/leave cancellations work ( #15323 )
...
Closes #15315
Closes #15323
PR Close #15323
2017-03-20 22:36:11 -05:00
Filipe Silva
f634c62cb3
test: add systemjs+umd integration test ( #14196 )
...
This test ensures the `__esModule` is set on UMD bundles, thus making them compatible with SystemJS@^0.22.3.
Followup from https://github.com/frankwallis/plugin-typescript/issues/185 .
PR Close #14196
2017-03-19 12:23:07 -05:00
Matias Niemelä
80075afe8a
fix(animations): only process element nodes through the animation engine ( #15268 )
...
Closes #15267
Closes #15268
PR Close #15268
2017-03-19 10:50:07 -05:00
Jason Aden
49829b4a4d
build: add package names to secondary endpoint package.json files ( #15253 )
...
Fixes #14736
PR Close #15253
2017-03-17 16:52:55 -05:00
Matias Niemelä
a6fb78ee3c
fix(animations): make sure non-transitioned leave operations cancel existing animations ( #15254 )
...
Closes #15213
PR Close #15254
2017-03-17 15:35:11 -05:00
Matias Niemelä
f92591054b
fix(animations): make sure easing values work with web-animations ( #15195 )
...
Closes #15115
Closes #15195
PR Close #15195
2017-03-17 13:53:19 -05:00
Matias Niemelä
c66437fc13
fix(animations): only treat view removals as `void` state transitions ( #15245 )
...
Closes #15223
PR Close #15245
2017-03-17 13:48:25 -05:00
Jason Aden
410aa33005
build: fix paths to typings files so tsickle resolves imports correctly
...
Fixes #15080
2017-03-16 17:34:29 -07:00
Matias Niemelä
62d5543b01
fix(animations): make sure easing values are applied to an empty animate() step ( #15174 )
...
Closes #15115
Closes #15174
2017-03-15 15:31:06 -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ä
36ce0afff6
fix(animations): support multiple state names per state() call ( #15147 )
...
Closes #14732
Closes #15147
2017-03-15 09:24:09 -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
Chuck Jazdzewski
498a95148b
Revert "build(animations): adjust animations/browser source to new standard for automatic build ( #15043 )"
...
This reverts commit 21a18d6ceb
.
2017-03-13 15:46:07 -07:00
Jason Aden
21a18d6ceb
build(animations): adjust animations/browser source to new standard for automatic build ( #15043 )
2017-03-13 14:39:42 -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
da8ea350b2
refactor: More generic build.sh file
2017-03-08 16:29:28 -08:00
Jason Aden
58dd4673cd
refactor: remove babel config files
2017-03-08 16:29:28 -08:00
Jason Aden
72563b61fb
build: fix rollup config file paths
2017-03-08 16:29:28 -08:00
Jason Aden
5aed1e36b8
refactor: move secondary entry point rollup configs.
2017-03-08 16:29:28 -08:00
Jason Aden
8573e36574
build: fix file paths after moving modules/@angular/* to packages/*
2017-03-08 16:29:28 -08:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00