Ward Bell
816b389759
docs: in doc comments, replace [aA]ngular2 with Angular ( #15463 )
2017-03-27 09:44:35 -07:00
Ed Pelc
6605dd1c7c
docs(aio): correct spelling in overview
2017-03-27 14:36:05 +01:00
Ward Bell
837ed788f4
feat(aio): add code-example and code-tabs
...
* move embedded components to EmbeddedModule
* add PrettyPrint service; load pretty print js dynamically
* make code-example to syntax highlighting w/ `prettyPrintOne`
* add code-tabs
* Implement copy code button
2017-03-27 12:25:34 +01:00
Peter Bacon Darwin
2e4fe7fd2e
docs(aio): add test content
2017-03-27 12:25:34 +01:00
Peter Bacon Darwin
52ea193638
build(aio): left align code regions
2017-03-27 10:10:34 +01:00
Peter Bacon Darwin
5e3ef775d5
build(aio): remove naughty fdescribe from utils spec
2017-03-27 10:10:34 +01:00
Peter Bacon Darwin
228238e602
refactor(aio): move SearchService initialisation into SearchBoxComponent
...
The AppComponent really doesn't need to know about the search service.
2017-03-27 09:24:38 +01:00
Adam
a6fd22c399
docs(aio): fix typo
2017-03-27 09:15:50 +01:00
Peter Bacon Darwin
1616cae5cf
build(aio): add renderExamples processor
...
This processor will eventually replace the `{@example}` inline tags
because it provides a cleaner approach that also supports tabbed examples
straight out of the box.
The idea is that authors will simply add a `path` and (optionally) a `region`
attribute to `<code-example>` or `<code-pane>` elements in their docs.
This indicates to dgeni that the relevant example needs to be injected
into the content of this element.
For example, assume that there is an example file `toh-pt1/index.hml` with
a region called `title`, which looks like:
```
<h1>Tour of Heroes</h1>
```
Then the document author could get this to appear in the docs as a
standalone example:
```
<code-example path="toh-pt1" region="title"></code-example>
```
Or as part of a tabbed group:
```
<code-tabs>
<code-pane path="toh-pt1" region="title"></code-pane>
</code-tabs>
```
If no `path` attribute is provided then the element is ignored, which
enables authors to provide inline code instead:
```
<code-example>
Some <html> escaped code
</code-example>
```
Also all attributes other than `path` and `region` are ignored and passed
through to the final rendered output allowing the author to provide
styling hints:
```
<code-example path="toh-pt1" region="title" linenums"15" class="important">
</code-example>
```
2017-03-25 21:32:30 +00:00
Peter Bacon Darwin
d5cf684d99
build(aio): refactor getExampleRegion into a reusable service
2017-03-25 21:32:30 +00:00
Stefanie Fluin
c9e51d9911
feat(aio): add new classes, table and images styling ( #15478 )
2017-03-25 14:21:40 +00:00
Georgios Kalpakas
b2830384f5
build(aio): upgrade @angular/service-worker to v1.0.0-beta.8
2017-03-25 07:27:42 +00:00
Georgios Kalpakas
487a0e1b5d
build(aio): upgrade @angular/cli to v1.0.0
2017-03-25 07:27:42 +00:00
Georgios Kalpakas
8fe42e58b3
build(aio): upgrade @angular/* to v4.0.0
2017-03-25 07:27:42 +00:00
Stefanie Fluin
afb17a5b6e
feat(aio): block code examples style fix
2017-03-25 06:55:59 +00:00
Stefanie Fluin
b8f3533d53
feat(aio): search input animation
2017-03-25 06:55:59 +00:00
Stefanie Fluin
4918cd241f
feat(aio): search results and code margins styling
2017-03-25 06:55:59 +00:00
Stefanie Fluin
45983301d5
feat(aio): footer styling
2017-03-25 06:55:59 +00:00
Stefanie Fluin
acf57def13
feat(aio): marketing responsive items and footer
2017-03-25 06:55:59 +00:00
Stefanie Fluin
800591db00
feat(aio): add a and ol to standard typo styles
2017-03-25 06:55:59 +00:00
Stefanie Fluin
159c98c202
feat(aio): search result stying, add footer
2017-03-25 06:55:59 +00:00
Stefanie Fluin
c837b3dfb9
feat(aio): terminal code styling and code mixin
2017-03-25 06:55:59 +00:00
Olivier Combe
53b89ec312
fix(compiler): allow single quotes into named interpolations ( #15461 )
...
Fixes #15318
2017-03-24 15:10:41 -07:00
Dzmitry Shylovich
c17b912eb9
refactor: use object spread operator rather than merge ( #15426 )
2017-03-24 14:45:33 -07:00
Dzmitry Shylovich
8785b2bf6d
fix(router): shouldn't execute CanLoad when a route has been loaded
...
Closes #14475
Closes #15438
2017-03-24 14:38:38 -07:00
Dzmitry Shylovich
fb1be83a1b
refactor(router): polishing
2017-03-24 14:38:23 -07:00
Mike
ea848f74af
docs: clarify querying all descendants ( #15400 )
...
Fixes #14417
Updated example to illustrate @ContentChildren default behavior (only query direct children), and how to query for nested elements/all descendants.
2017-03-24 14:36:55 -07:00
Marc Laval
b8d5f87f96
feat(compiler): support ICU messages in XLIFF
...
Fixes #12636
Closes #15068
2017-03-24 14:35:28 -07:00
Marc Laval
95afaf495b
test(compiler): refactor i18n integration test
2017-03-24 14:35:10 -07:00
Thomas Pink
d92930e975
docs: fixed broken links ( #15455 )
...
Closes #15446
2017-03-24 08:14:23 -07:00
Igor Minar
c2892dada3
docs: revert the move of CONTRIBUTING.md to docs/CONTRIBUTING.md
...
Because the root path has a special meeting for GitHub, Jeremy, unicorns and red arrows.
2017-03-23 20:57:49 -07:00
Igor Minar
b2b1195534
docs: update the contributing link one more time :-)
2017-03-23 19:26:25 -07:00
Igor Minar
e1b09e3bcc
docs: update CONTRIBUTING link in README.md
2017-03-23 19:25:46 -07:00
Igor Minar
c65b75443e
docs: add the 4.0.0 code name to the changelog
2017-03-23 17:46:02 -07:00
Igor Minar
db0dca3fc1
docs: add a note about exclusion of symbols prefixed with ɵ from our public api surface ( #15440 )
2017-03-23 17:21:52 -07:00
Victor Berchet
7a715b2403
docs: add changelog for 4.0.0
2017-03-23 16:48:54 -07:00
Victor Berchet
1ba296644d
release: cut the 4.0.0 release
2017-03-23 16:45:16 -07:00
Igor Minar
b800a0c824
fix: prevent strictNullChecks support until #15432 is fixed ( #15434 )
2017-03-23 14:54:19 -07:00
Chuck Jazdzewski
0dda01e37c
fix(compiler): correctly handle when `toString` is exported ( #15430 )
...
Fixes #15420
2017-03-23 13:38:01 -07:00
Tobias Bosch
c8ab5cb0c5
fix(compiler): assume queries with no matches as static ( #15429 )
...
This has the side effect of allowing `@Input` and `@ContentChild`
on the same property if the query is static (see the bug description
for details).
Fixes #15417
2017-03-23 13:37:45 -07:00
Dzmitry Shylovich
92084f2b6a
fix(platform-browser): setAttribute should work with xmlns namespace ( #14874 )
...
Closes #14865
2017-03-23 12:52:06 -07:00
Dzmitry Shylovich
08f2f08d74
fix(router): should pass new data to Observable when query params change ( #15387 )
...
Fixes #15290
2017-03-23 10:43:14 -07:00
Pete Bacon Darwin
376088da70
build(aio): delete content folder before doc-gen ( #15414 )
...
This should prevent false-positive e2e test runs where stale files
are left lying around.
2017-03-23 10:23:09 -07:00
Igor Minar
73808dd38b
build(aio): upgrade to @angular@4.0.0-rc.6 ( #15412 )
2017-03-22 23:52:43 -07:00
Igor Minar
ee03418b10
release: cut the 4.0.0-rc.6 release
2017-03-22 23:09:47 -07:00
Igor Minar
da700d1842
docs: move markdown docs from root dir to docs/ and remove obsolete files ( #15410 )
2017-03-22 22:50:12 -07:00
Aliaksei Kuncevic
de87c47dd9
docs: spelling errors
2017-03-22 21:28:24 -07:00
Aliaksei Kuncevic
1060805a1f
docs: fix spelling
2017-03-22 21:28:24 -07:00
Rob Wormald
08d86751b9
fix(compiler): only log template deprecation warning once ( #15364 )
2017-03-22 21:26:53 -07:00
Josep Sayol
9319b5f329
docs(common): update ngFor docs to new `as` syntax ( #15166 )
2017-03-22 17:18:22 -07:00