Julie Ralph
85d4c4b82e
feat(core): update zone.js to 0.8.10 and expose the flush method ( #16860 )
...
`flush()` can now be used from within fakeAsync tests to simulate moving
time forward until all macrotask events have been cleared from the
event queue.
2017-05-22 12:19:21 -06:00
Chuck Jazdzewski
6e41add867
feat(tsc-wrapped): support template literals in metadata collection ( #16880 )
...
Fixes : #16876
2017-05-22 12:19:09 -06:00
Chuck Jazdzewski
11c10b2ab8
fix(tsc-wrapped): resolve short-hand literal values to locals ( #16873 )
...
Fixes : #16872
2017-05-22 11:18:44 -06:00
Victor Berchet
98849de127
build: fix public-api:update gulp task ( #16859 )
...
PR #16834 makes the task faster but it doesn't work any more!
Reverting to the slower but correct task for now.
2017-05-22 11:07:21 -06:00
Suguru Inatomi
afd703d08c
build: remove router-specific versioning process ( #16810 )
2017-05-22 11:06:46 -06:00
Peter Bacon Darwin
ce18fdb399
fix(aio): use the current version in the version picker
...
Previously we hardcoded the current version into the navigation items.
Now only previous versions are included there. The current version is
computed from the currentVersion info.
Closes #16909
2017-05-22 13:48:07 +01:00
Georgios Kalpakas
670771da33
build(aio): make the postinstall script more Windows-friendly
2017-05-21 15:37:22 +01:00
Georgios Kalpakas
c8b08f3a59
feat(aio): implement ScrollSpy service (to highlight the active section in ToC)
2017-05-20 12:08:38 +01:00
Jason Aden
3d382dc750
docs: add changelog for 4.2.0-rc.0
2017-05-19 16:03:18 -07:00
Jason Aden
9081f84543
release: cut the 4.2.0-rc.0 release
2017-05-19 15:54:52 -07:00
Matias Niemelä
f1a9e3c1bb
feat(animations): introduce routeable animation support
2017-05-19 13:45:22 -07:00
Matias Niemelä
b10029c18b
docs(animations): add documentation for new animation features
2017-05-19 12:52:04 -07:00
Victor Berchet
5d4f5434fd
refactor(router): don't run the change detection every time an outlet is activated
...
fix(router): inside on push // SQUASH after review
2017-05-19 11:55:15 -07:00
Victor Berchet
81ca51a8f0
refactor(router): cleanup, simplification
2017-05-19 11:55:15 -07:00
Matias Niemelä
6cb93c1fac
fix(animations): only require one flushMicrotasks call when testing animations
2017-05-19 10:45:20 -07:00
Peter Bacon Darwin
eed67ddafb
feat(aio): update aio-shell class when sidenav opens or closes
2017-05-19 14:10:00 +01:00
Peter Bacon Darwin
be9e8b99ff
fix(aio): support IE via conditionally loaded polyfills
...
Closes #16519
2017-05-19 11:26:29 +01:00
Peter Bacon Darwin
8a0e5659c0
docs(aio): tidy up docs that use float clearing
...
Closes #16681
2017-05-19 09:47:53 +01:00
Peter Bacon Darwin
2842b0cc3d
fix(aio): ensure that subsections clear floats correctly
2017-05-19 09:47:53 +01:00
Ward Bell
a42322da0c
feat(aio): code copy button has tooltip and aria-label
...
Based on optional title passed in from parent element such as CodeExample or CodeTabs.
Darkens uncovered copy button slightly as recommended for a11y.
PR #16808
2017-05-19 09:42:48 +01:00
Ward Bell
4ccb2269a5
feat(aio): buttons for TOC "Contents" label
...
- Use buttons for the TOC “Contents” label when embedded-and-expandable or TOC on the right to satisfy a11y.
- Add aria-pressed setting for the toggles in TOC and NavItem.
- Clicking the right panel TOC “Contents” button scrolls to top.
- When embedded use same rotating caret as sidebar
- When embedded and no secondaries, “Content” is just a label.
- Gray background for focused buttons rather than outline because can’t get carets to work with outline.
2017-05-19 09:42:30 +01:00
Georgios Kalpakas
b836aca999
docs(aio): rework of the upgrade guide
...
This commit was worked on by a number of people including
@filipesilva, @gkalpak and @wardbell. It contains changes that:
* remove unused files,
* fix the bootstrap approach to ensure that bootstrap is in the correct Zone
* fix unclosed code-example tags
* replace use of "we" with "you"
* remove broken dual router example
Related to angular/angular.io#3541
2017-05-19 09:42:17 +01: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ä
86b7bd9c8e
revert: refactor(router): cleanup, simplification
...
This reverts commit 44d48d9d7a
.
2017-05-18 11:57:22 -07:00
Matias Niemelä
a0a6029915
revert: refactor(router): don't run the change detection every time an outlet is activated
...
This reverts commit 198edb3109
.
2017-05-18 11:57:22 -07:00
Peter Bacon Darwin
6531806996
build(aio): do not ignore `is-on-https` in lighthouse check
...
Lighthouse v1.6.5 treats localhost/1.2.7.0.0.1 as secure domains (i.e. as if they where HTTPS), so we need to stop handling the is-on-https audit specially.
2017-05-18 15:48:49 +01:00
Georgios Kalpakas
3a604ba0bf
fix(aio): fix PWA testing on Windows (and reduce flaky-ness)
...
Adding a delay after Lighthouse has run and before killing the Chrome process
avoids `ECONNREFUSED` errors on Windows and will hopefully prevent such errors
occasionally appearing on CI.
Based on info in:
https://github.com/paulirish/pwmetrics/issues/63#issuecomment-282721068
2017-05-18 15:48:49 +01:00
Peter Bacon Darwin
39f2977fa8
fix(aio): fix up typing errors in tests
...
The new version of Jasmine types identified issues with our unit tests.
2017-05-18 15:48:49 +01:00
Igor Minar
faacbe4dac
build(aio): upgrade to @angular/cli@1.1.0-rc.0
2017-05-18 15:48:49 +01:00
Igor Minar
47c72e4627
perf(aio): load reflect-metadata polyfill only in the dev mode
2017-05-18 15:48:49 +01:00
Igor Minar
59136fdbe4
build(aio): add ngo + purify
2017-05-18 15:48:49 +01:00
Georgios Kalpakas
35d1922006
ci(aio): log the full PWA testing results
...
This will help diagnose errors or regressions in PWA scores.
2017-05-18 15:48:49 +01:00
Georgios Kalpakas
b40aae54b7
fix(aio): fix PWA testing in cases where `atob`/`btoa` is necessary
...
In some cases (unclear when), traceviewer-js, used by Lighthouse under the hood,
assumes `atob`/`btoa` are defined in the global scope. This is true for browser
environments, but not on node.
As a result, some aggregations that required access to model-tracing failed to
produce results, dropping the overall PWA score.
This affected #16665 (e.g. commit 0de6eec7a).
2017-05-18 15:48:49 +01:00
Igor Minar
baa3fbab46
build(aio): upgrade @angular/* and friends, remove obsolete deps
2017-05-18 15:48:49 +01:00
Georgios Kalpakas
3361a7b834
build(aio): minor `update-preview-server.sh` improvements
2017-05-18 14:41:54 +01:00
Peter Bacon Darwin
0e13a5956c
fix(aio): add small delay before autoscrolling
...
This delay allows any async layout to complete
before we autoscroll to a heading anchor.
Closes #16242
2017-05-18 14:37:45 +01:00
Georgios Kalpakas
9466908c22
build(aio): add script for updating the preview server
2017-05-18 08:21:25 +01:00
Georgios Kalpakas
93d27d283a
build(aio): fix syntax error in preview server's Dockerfile
2017-05-18 08:21:25 +01:00
Georgios Kalpakas
6f59a4a5b2
docs(aio): minor docs fixes for `aio-builds-setup/`
2017-05-18 08:21:25 +01:00
Jesus Rodriguez
71c3103312
build(aio): reduce images weight
2017-05-18 08:20:10 +01:00
Victor Berchet
198edb3109
refactor(router): don't run the change detection every time an outlet is activated
2017-05-17 19:32:04 -07:00
Victor Berchet
44d48d9d7a
refactor(router): cleanup, simplification
2017-05-17 19:32: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
Victor Berchet
6416e79933
build: do not create the bundles when updating the public API
...
- 1.7x faster on my machine (2.7 vs 4.6 min)
- should solve the memory issue
2017-05-17 08:34:50 -07:00
Ward Bell
238c5238a5
fix(aio): remove searchbox shrink animation
2017-05-17 08:22:28 +01:00
George Kalpakas
593fe5ed25
build(aio): enable HTTP/2 on the preview server ( #16826 )
...
Fixes #16780
2017-05-16 21:07:28 -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
Chuck Jazdzewski
d761059e4d
fix(compiler-cli): allow '==' to compare nullable types ( #16731 )
...
Fixes : #16729
* fix(compiler-cli): diagnose issues in conditional of ternary
Fixes : #16730
2017-05-16 16:36:51 -07:00