Commit Graph

216 Commits

Author SHA1 Message Date
Pascal Fivian e9867e8ae1 docs: remove extra parenthesis from inline animations snippet ()
PR Close 
2019-09-25 12:05:21 -07:00
Carlos Ortiz García 9166baf709 refactor(core): Migrate TestBed.get to TestBed.inject ()
This is cleanup/followup for PR 

PR Close 
2019-09-09 19:10:54 -04:00
Alex Eagle ef0b2cc74d build: convert entry_point to label ()
PR Close 
2019-06-11 00:03:11 +00:00
Alex Eagle 337b6fe003 build: remove unreferenced tsconfig-build.json files ()
These are no longer needed since Bazel generates a tsconfig for each compilation

PR Close 
2019-06-05 09:03:36 -07:00
Filipe Silva ac34a1429b refactor: remove toplevel property accesses ()
PR Close 
2019-05-16 12:08:49 -07:00
Kevin Newman 22294dfad1 docs(animations): fixed some closing brackets on query animation page () ()
PR Close 
2019-04-18 18:19:48 -07:00
Alan 9a1959269f build: remove now redundant `bundle_dts = True` attribute ()
This is now turned on by default in the ng_module macro

PR Close 
2019-03-07 10:47:20 -08:00
Matias Niemelä ff8e4dddb2 test(animations): fix unit-based delays within the animation DSL ()
Closes 

PR Close 
2019-03-01 15:16:48 -08:00
Rado Kirov 03d2e5cb1d refactor: Consistently use index access on index signature types. ()
This change helps highlight certain misoptimizations with Closure
compiler. It is also stylistically preferable to consistently use index
access on index sig types.

Roughly, when one sees '.foo' they know it is always checked for typos
in the prop name by the type system (unless 'any'), while "['foo']" is
always not.

Once all angular repos are conforming this will become a tsetse.info
check, enforced by bazel.

PR Close 
2019-02-28 02:49:14 -08:00
Matias Niemelä a6ae759b46 fix(animations): ensure `position` and `display` styles are handled outside of keyframes/web-animations ()
When web-animations and/or CSS keyframes are used for animations certain
CSS style values (such as `display` and `position`) may be ignored by a
keyframe-based animation. Angular should special-case these styles to
ensure that they get applied as inline styles throughout the duration of
the animation.

Closes 
Closes 

Jira Issue: FW-1091
Jira Issue: FW-1092

PR Close 
2019-02-27 11:57:31 -08:00
Wassim Chegham ce68b4d839 style: enforce buildifier lint on CI ()
PR Close 
2019-02-26 16:57:41 -08:00
Alan Agius fd4e1d69ee build: enable bundle_dts for a number of packages ()
This change enables dts bundling for the following packages and their secondary entry points:

- @angular/animations
- @angular/elements
- @angular/http
- @angular/platform-browser
- @angular/platform-browser-dynamic
- @angular/platform-server
- @angular/platform-webworker
- @angular/platform-webworker-dynamic
- @angular/servce-worker

Dts bundling happens in `ng_module` bazel definition, hence packages such as `@angular/compiler`, `@angular/compiler-cli` and `@angular/langauge service` cannot be flattened as they use `ts_library`.

`@angular/core`, `@angular/common`, `@angular/upgrade` and `@angular/forms` will be done seperatly as it requires some changes either to their source or specs.

PR Close 
2019-02-19 16:30:38 -08:00
Paul Gschwendtner 7cbc36fdac build: remove unused rollup.config.js files ()
Since we build and publish the individual packages
using Bazel and `build.sh` has been removed, we can
safely remove the `rollup.config.js` files which are no
longer needed because the `ng_package` bazel rule
automatically handles the rollup settings and globals.

PR Close 
2019-02-14 19:28:08 +00:00
Alberto Garza 36df9056af docs(animations): fixed some grammar ()
PR Close 
2019-02-13 19:14:57 -08:00
onlyflix 41e68f7a7a style: change to American English ()
PR Close 
2019-01-29 16:30:25 -08:00
Paul Gschwendtner 40d64b6b58 build: run offline_compiler_test using bazel ()
PR Close 
2019-01-28 20:07:22 -08:00
Felix Lemke 465abab213 docs(animations): fix group and sequence function usage examples ()
animate functions now contain style functions instead of plain objects
e.g. animate(1s, { background: black }))
to   animate(1s, style({ background: black }))

PR Close 
2019-01-24 10:21:35 -08:00
Alex Eagle 38343a2388 build: set a default module_name for ts_library rules ()
PR Close 
2019-01-18 10:16:39 -08:00
Matias Niemelä 5a582a8afd fix(ivy): ensure element removal triggers host removal animations ()
Prior to this fix Ivy would not execute any animation triggers
that exist as host bindings on an element if it is removed by
the parent template.

PR Close 
2019-01-17 09:58:50 -08:00
Alan Agius b61dafaeac refactor: remove redundant error in catch ()
PR Close 
2019-01-04 15:42:19 -08:00
cyraid f8096d4993 docs(animations): rename animateChild() to animate() ()
Renamed "animateChild()" to "animate()" in the comments/usage.
  The docs state to use animateChild() but uses animate() in the examples.
PR Close 
2018-12-14 15:27:37 -08:00
levgaas f1c9d6a81f fix(animations): do not truncate decimals for delay ()
Do not truncate decimals for animation delay if specified in seconds

PR Close 
2018-12-14 15:20:23 -08:00
JoostK df123e0410 fix(animations): mark actual descendant node as disabled ()
PR Close 
2018-12-14 15:19:56 -08:00
Alex Eagle d32939d51a build: restrict visibility of npm_package targets ()
dependencies on these cause very long rebuilds which have to re-package angular.
Such tests belong in the integration/ folder

PR Close 
2018-12-14 10:20:40 -08:00
Igor Minar 4237c34c78 test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags ()
We are close enough to blacklist a few test targets, rather than whitelist targets to run...

Because bazel rules can be composed of other rules that don't inherit tags automatically,
I had to explicitly mark all of our ts_library and ng_module targes with "ivy-local" and
"ivy-jit" tags so that we can create a query that excludes all fixme- tagged targets even
if those targets are composed of other targets that don't inherit this tag.

This is the updated overview of ivy related bazel tags:

- ivy-only: target that builds or runs only under ivy
- fixme-ivy-jit: target that doesn't yet build or run under ivy with --compile=jit
- fixme-ivy-local: target that doesn't yet build or run under ivy with --compile=local
- no-ivy-jit: target that is not intended to build or run under ivy with --compile=jit
- no-ivy-local: target that is not intended to build or run under ivy with --compile=local

PR Close 
2018-10-23 08:57:42 -07:00
Pete Bacon Darwin 42c331bbf2 docs: update animations with `@publicApi` tags ()
PR Close 
2018-10-19 14:35:53 -07:00
Pete Bacon Darwin 24521f549c docs: convert all `@experimental` tags to `@publicApi` tags ()
PR Close 
2018-10-19 14:35:52 -07:00
Igor Minar 371ffef4ce test(ivy): enable unit tests for @angular/animations ()
PR Close 
2018-10-16 20:31:56 -07:00
Greg Magolan 9605456b66 build: refactor ambient node & jasmine types so they are only included where needed ()
PR Close 
2018-08-16 13:46:43 -07:00
Judy Bogart 98f336c0fb docs: add api doc for programmatic animation classes ()
PR Close 
2018-08-14 13:15:27 -07:00
Pete Bacon Darwin d5b73832bf refactor(animations): do not use short parameter names ()
PR Close 
2018-08-01 10:51:58 -07:00
Johan CHOUQUET 0bcf20c9fa docs(animations): typo fix in the comments ()
PR Close 
2018-07-25 10:13:18 -07:00
Martin Probst d76531d16e fix(animations): @internal must use JSDoc tags. ()
This change fixes up several comments that accidentally used the JSDoc
tag @internal in regular block comments (`/*` instead of `/**`).

This prevents a problem with Closure Compiler that balks at `@` tags
occuring in regular block comments, because it assumes they were
intended to be tags for the compiler.

When occuring in `/**` JSDoc, tsickle escapes the tags, so they do not
cause problems.

PR Close 
2018-07-18 18:18:04 -04:00
Pete Bacon Darwin d8c828c9b1 build(docs-infra): implement the 'package' API template ()
PR Close 
2018-07-13 19:45:54 -04:00
Alex Rickabaugh 02b5087685 build(ivy): enable ngtsc AOT builds for a few packages ()
Turn on AOT builds using ngtsc for:

* animations
* common
* compiler
* compiler-cli
* forms
* platform-browser

PR Close 
2018-07-12 16:36:35 -04:00
Judy Bogart 2a68ba4cbb docs: fix misdirected group links ()
PR Close 
2018-06-25 10:03:42 -07:00
Vikram Subramanian 6e20e0aac8 fix(animations): set animations styles properly on platform-server ()
Animations styles weren't getting properly set on platform-server because of erroneous checks and absence of reflection of style property to attribute on the server.

The fix corrects the check for platform and explicitly reflects the style property to the attribute.

PR Close 
2018-06-25 07:58:11 -07:00
Rado Kirov c95437f15d build(bazel): Turning on strictPropertyInitialization for Angular. ()
All errors for existing fields have been detected and suppressed with a
`!` assertion.

Issue/24571 is tracking proper clean up of those instances.

One-line change required in ivy/compilation.ts, because it appears that
the new syntax causes tsickle emitted node to no longer track their
original sourceFiles.

PR Close 
2018-06-25 07:57:13 -07:00
Matias Niemelä e8354edcd2 test(animations): properly reference body node for SSR environments ()
PR Close 
2018-06-20 11:00:41 -07:00
Pete Bacon Darwin e6516b0229 docs: fix invalid headings ()
PR Close 
2018-06-13 16:47:40 -07:00
Judy Bogart a577c9e1f4 docs: edit api doc comments for new template and style ()
PR Close 
2018-06-13 13:31:10 -07:00
Matias Niemelä dc4a3d00d0 fix(animations): always render end-state styles for orphaned DOM nodes ()
This patch ensures that any destination animation styling (state values)
are always applied even if the DOM node is not apart of the DOM.

PR Close 
2018-06-08 16:35:26 -07:00
Alex Rickabaugh 7983f0a69b ci(ivy): configure CI environments for Ivy JIT and AOT ()
Two new CircleCI environments are created: test_ivy_jit and test_ivy_aot.
Both run a subset of the tests that have been marked with Bazel tags as
being appropriate for that environment.

Once all the tests pass, builds are published to the *-builds repo both
for the legacy View Engine compiled code as well as for ivy-jit and ivy-aot.

PR Close 
2018-06-08 13:34:27 -07:00
Matias Niemelä 8db928df9d fix(animations): retain trigger-state for nodes that are moved around ()
This patch ensures that if a list of nodes (that contain
animation triggers) are moved around then they will retain their
trigger-value state when animated again at a later point.

PR Close 
2018-06-05 18:29:47 -07:00
Adam 9d364203a6 refactor(animations): fix typo ()
closes 

PR Close 
2018-05-30 17:06:12 -07:00
Vikram Subramanian b492b9e12b fix(animations): Fix browser detection logic ()
Element type is being polyfilled on the server now and cannot be used to detect browser environment.

PR Close 
2018-05-30 16:39:09 -07:00
Vikram Subramanian 3fd3c2ac4c test(animations): fix Node.js detection in animation tests ()
PR Close 
2018-05-29 18:21:20 -04:00
Matias Niemelä d2a86872a9 fix(animations): do not throw errors when a destroyed component is animated ()
PR Close 
2018-05-11 16:08:14 -04:00
swseverance fe3679a356 style: remove empty comments ()
PR Close 
2018-05-10 15:48:13 -07:00
Igor Minar 77ff72f93b Revert "style(animations): fix short param names ()"
This reverts commit e3518967ad.

This PR accidentaly introduces a breaking change:
https://github.com/angular/angular/pull/23668#discussion_r186265055
2018-05-05 08:36:49 -07:00