Vikram Subramanian
a094769bca
fix(platform-server): don't clobber parse5 properties when setting ( #18237 )
...
element properties.
Fixes #17050 .
We now store all element properties in a separate 'properties' bag.
PR Close #18237
2017-07-20 17:46:37 -05: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ä
5db6f38b73
fix(animations): do not crash animations if a nested component fires CD during CD
...
Closes #18193
2017-07-18 15:22:43 -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
meDavid
a9757ec674
docs: Fix code example in the ChangeDetectorRef docs ( #18051 )
...
Minor example fix: mark the 'ref' constructor parameter as a private property
2017-07-11 11:45:32 -07:00
Victor Berchet
c723d42d0a
refactor: fix typos ( #18000 )
2017-07-07 16:55:17 -07:00
Victor Berchet
9c1f6fd06f
fix(compiler): emits quoted keys only iff they are quoted in the original template
...
fixes #14292
2017-07-07 16:17:33 -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
Victor Berchet
c69fff15c9
fix(core): fix re-insertions in the iterable differ ( #17891 )
...
fixes #17852
2017-07-06 12:11:47 -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
Jason Aden
b479ed9407
perf(core): refactor NgZone, decrease size by 1.2Kb ( #17773 )
...
- Remove getters
- Hide private methods for better property renaming
```
497893 May 31 11:26 core.umd.js
718073 May 31 11:26 core.umd.js.map
217108 May 31 11:26 core.umd.min.js
575092 May 31 11:26 core.umd.min.js.map
```
```
495594 May 31 11:28 core.umd.js
716943 May 31 11:28 core.umd.js.map
215826 May 31 11:28 core.umd.min.js
574401 May 31 11:28 core.umd.min.js.map
```
diff: 1,282
2017-07-01 10:29:56 -07:00
Matias Niemelä
af14b1e384
test(animations): add proper tests to check multiple combinations of :enter/:leave animation queries
2017-06-28 18:18:10 -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
Alex Eagle
e80851d98b
fix(core): add needed closure compiler warning suppression
2017-06-23 14:44:00 -07:00
Alex Rickabaugh
c59c390cdc
fix: argument destructuring sometimes breaks strictNullChecks
...
Destructuring of the form:
function foo({a, b}: {a?, b?} = {})
breaks strictNullChecks, due to the TypeScript bug https://github.com/microsoft/typescript/issues/10078 .
This change eliminates usage of destructuring in function argument lists in cases where it would leak
into the public API .d.ts.
2017-06-20 12:56:08 -07:00
Pawel Kozlowski
009651e14f
refactor(core): remove toString() method from DefaultKeyValueDiffer
...
toString() from DefaultKeyValueDiffer is only used in tests and should not
be part of the production code. toString() methods from differs add
~ 0.3KB (min+gzip) to the production bundle size.
2017-06-20 12:55:20 -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
Alex Eagle
5faf520067
build: Introduce Bazel build rules
...
So far this just compiles the core and common packages.
2017-06-05 11:18:20 -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