3132 Commits

Author SHA1 Message Date
Németh Tamás
b97577bd94 docs: grammar fix ()
PR Close 
2019-11-08 14:40:58 -08:00
Németh Tamás
4385cbaa65 docs: add missing word ()
PR Close 
2019-11-08 14:40:58 -08:00
Daniele Morosinotto
98766b1d07 docs: fix migration-renderer code snippets ()
Fix code snippets for migration-renderer.md found in next.angular.io
PR Close 
2019-11-08 12:43:20 -08:00
George Kalpakas
afbaaf93c5 build(docs-infra): upgrade cli command docs sources to 3bcf5b5e2 ()
Updating [angular#master](https://github.com/angular/angular/tree/master) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master).

##
Relevant changes in [commit range](e598c8e89...3bcf5b5e2):

**Modified**
- help/update.json

##

PR Close 
2019-11-08 10:55:22 -08:00
Alan Agius
570936e39f docs: add ivy ssr opt-out ()
PR Close 
2019-11-08 10:54:31 -08:00
Shibasish
43ffe7257a docs: describe your change... ()
Grammatical changes
PR Close 
2019-11-08 10:52:17 -08:00
Kara Erickson
c4fbd0bef7 docs: update ivy compatibility guide with latest changes ()
This commit removes one of the expected Ivy changes because we have
decided to change the behavior to be more backwards-compatible.

It also adds a bug fix that is technically breaking to the list of
expected changes.

PR Close 
2019-11-08 10:51:52 -08:00
Santosh Yadav
0ca2a390d5 docs: app-name not rendering on browser ()
Fixes 

PR Close 
2019-11-07 20:31:48 +00:00
Judy Bogart
2a4061a3fd docs: clarify status of sample app in stackblitz ()
PR Close 
2019-11-06 19:39:12 +00:00
George Kalpakas
8e6bed988e build(docs-infra): upgrade cli command docs sources to e598c8e89 ()
Updating [angular#master](https://github.com/angular/angular/tree/master) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master).

##
Relevant changes in [commit range](7ecec963d...e598c8e89):

**Modified**
- help/generate.json

##

PR Close 
2019-11-06 16:12:05 +00:00
Srichandradeep Choudarapu
1bd8fdb766 docs: add missing parenthesis ()
PR Close 
2019-11-05 21:08:59 +00:00
Eliran Eliassy
29007e406d docs(core): remove duplicate 'because' ()
PR Close 
2019-11-05 21:07:17 +00:00
Doug Parker
25aaff2ee1 docs: Adding Doug Parker to contributors list. ()
PR Close 
2019-11-05 00:55:17 +00:00
Geoff Bass
5bc1b6f9ac docs: remove redundant word from template syntax guide ()
PR Close 
2019-11-05 00:54:47 +00:00
Brian Michalski
e3189f97ff docs: Update link to angular + bazel example app ()
http://github.com/angular/angular-bazel-example has been moved to rules_nodejs monorepo.
PR Close 
2019-11-04 20:07:37 +00:00
FabianGosebrink
ac9d044cad docs: add GDE profile of Fabian Gosebrink ()
PR Close 
2019-11-02 00:53:05 +00:00
Rick Katka
9e83814e61 docs: remove erroneous brack in animations guide ()
Fixes 

PR Close 
2019-11-01 22:27:40 +00:00
Dave
f185fabc11 docs: add GDE profile of David Muellerchen ()
PR Close 
2019-11-01 22:23:06 +00:00
Mike Brocchi
feb5f27d09 docs: Add Mike Brocchi to the list of GDEs ()
PR Close 
2019-11-01 17:40:16 +00:00
Geoff Bass
d863839ecc docs: fix selector in getting started guide ()
PR Close 
2019-10-31 22:22:25 +00:00
TheMushr00m
66ab701606 docs: add example of a server in ruby for deployment ()
PR Close 
2019-10-31 22:22:01 +00:00
Geoff Bass
64ac106248 docs: fix typo in Observables in Angular guide ()
change `ActivateRoute` to `ActivatedRoute`
PR Close 
2019-10-31 22:21:00 +00:00
Kara Erickson
7355906a95 docs: add detailed example to ContentChildren change ()
PR Close 
2019-10-31 13:54:47 -07:00
vikerman
12703d5601 docs: update to use latest 8.3.x CLI ()
Change the "Updating to v9" docs to reflect that we want to use the latest 8.3.x CLI build for updating and not just 8.3.15.

PR Close 
2019-10-31 11:55:58 -07:00
Judy Bogart
e4ebffab8d docs: fix format in ivy page ()
PR Close 
2019-10-31 10:32:22 -07:00
Kapunahele Wong
c35587ba56 docs: add template type-checking guide ()
PR Close 
2019-10-30 13:49:18 -07:00
Judy Bogart
fba72f0d4d docs: rewrite ivy page, add template typecheck doc ()
PR Close 
2019-10-30 10:39:26 -07:00
Andrew Kushnir
5666d11633 docs: adding a note on ICU processing to Ivy compatibility guide ()
PR Close 
2019-10-29 17:16:30 -07:00
John Ralph Umandal
ba0c178dbb docs: fixed cli ng update reference link ()
The automated link for ng update is currently going to the 
wrong page. Edit directs them to the correct page.
PR Close 
2019-10-29 14:03:52 -07:00
crisbeto
a3034ef92e build: bump maximum allowed yarn version ()
Currently this repo allows Yarn between 1.17.3 and 1.18.0, whereas the components repo requires a minimum of 1.19.1 which makes it annoying to switch between repositories. These changes bump the maximum allowed Yarn version.

PR Close 
2019-10-29 11:48:18 -07:00
Igor Minar
afa50838a7 docs: update instructions for v9 to reflect cli update ()
PR Close 
2019-10-29 11:43:12 -07:00
thanhpd
27745c5d8c docs: added missing whitespaces ()
PR Close 
2019-10-29 11:40:48 -07:00
thanhpd
2f6c97e93c docs: remove redundant whitespaces and fix minor typos ()
PR Close 
2019-10-29 11:39:17 -07:00
George Kalpakas
e23bc4991d build(docs-infra): upgrade cli command docs sources to 7ecec963d ()
Updating [angular#master](https://github.com/angular/angular/tree/master) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master).

##
Relevant changes in [commit range](57e36893c...7ecec963d):

**Modified**
- help/new.json

##

PR Close 
2019-10-28 10:08:33 -07:00
Kara Erickson
3505692f75 docs: add @next to update instructions ()
PR Close 
2019-10-25 13:01:04 -07:00
Kara Erickson
49bfc7421a docs: add ivy compatibility guide ()
PR Close 
2019-10-25 09:34:01 -07:00
Kara Erickson
01455d70e3 docs: re-organize version 9 guide ()
PR Close 
2019-10-25 09:34:01 -07:00
George Kalpakas
e2310732d7 docs(docs-infra): document running docs examples in ivy mode ()
PR Close 
2019-10-25 09:19:35 -07:00
Geoff Bass
2805af900f docs: fix typo in getting started guide ()
Add a missing word to make the phrase grammatically correct
PR Close 
2019-10-24 09:51:36 -07:00
Andrus Diaz
2f3812a1ef docs: add example of a server in golang for deployment ()
PR Close 
2019-10-24 09:51:05 -07:00
Alex Rickabaugh
f1269d98dc feat(ivy): input type coercion for template type-checking ()
Often the types of an `@Input`'s field don't fully reflect the types of
assignable values. This can happen when an input has a getter/setter pair
where the getter always returns a narrow type, and the setter coerces a
wider value down to the narrow type.

For example, you could imagine an input of the form:

```typescript
@Input() get value(): string {
  return this._value;
}

set value(v: {toString(): string}) {
  this._value = v.toString();
}
```

Here, the getter always returns a `string`, but the setter accepts any value
that can be `toString()`'d, and coerces it to a string.

Unfortunately TypeScript does not actually support this syntax, and so
Angular users are forced to type their setters as narrowly as the getters,
even though at runtime the coercion works just fine.

To support these kinds of patterns (e.g. as used by Material), this commit
adds a compiler feature called "input coercion". When a binding is made to
the 'value' input of a directive like MatInput, the compiler will look for a
static field with the name ngAcceptInputType_value. If such a field is found
the type-checking expression for the input will use the static field's type
instead of the type for the @Input field,allowing for the expression of a
type conversion between the binding expression and the value being written
to the input's field.

To solve the case above, for example, MatInput might write:

```typescript
class MatInput {
  // rest of the directive...

  static ngAcceptInputType_value: {toString(): string};
}
```

FW-1475 #resolve

PR Close 
2019-10-24 09:49:38 -07:00
Igor Minar
c79d6ec502 docs: deprecate esm5 and fesm5 code distribution in our npm packages ()
See diff for more info.

PR Close 
2019-10-23 16:39:36 -07:00
Stefanie Fluin
ba29e4d953 feat(docs-infra): implement figure styles ()
PR#28396 originally addressed an update via issue  to make images more visible with a white background (implementation of gray "lightbox").

This PR implements those styles defined in PR#28396.

PR Close 
2019-10-23 12:59:34 -07:00
ODAVING
1b607529a6 docs: fix spelling error in angular component ()
change component class section of the docs

Closes 

PR Close 
2019-10-23 11:46:41 -07:00
Keen Yee Liau
2ecc4c7886 docs: Fix appHighlightColor typo ()
In the example, there's no directive nor input that's named `appHighlightColor`.
It should be `appHighlight`, referring to the input binding.

PR Close 
2019-10-23 11:08:17 -07:00
George Kalpakas
b04de1363d build(docs-infra): upgrade cli command docs sources to 57e36893c ()
Updating [angular#master](https://github.com/angular/angular/tree/master) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master).

##
Relevant changes in [commit range](38635d2d9...57e36893c):

**Modified**
- help/generate.json
- help/update.json

##

PR Close 
2019-10-23 10:00:27 -07:00
George Kalpakas
f013515307 test(docs-infra): disable es5 size tracking in aio tests ()
PR Close 
2019-10-23 09:13:46 -07:00
George Kalpakas
43ac02e566 fix(docs-infra): scroll to top when navigating to new page via address bar ()
Previously, when navigating to a new page via a link, the scroll
position was correctly restored to 0, but navigating to a new page via
typing the URL in the browser address bar keeps the old scroll position.

This commit ensures that the scroll position is restored to 0 whenever
the `ScrollService` is instantiated anew (i.e. new page navigation). The
old behavior of retaining the scroll position on reload is kept by
storing the old URL when leaving a page and only applying the stored
scroll position if the new URL matches the stored one.

Fixes 

PR Close 
2019-10-23 09:12:02 -07:00
Kara Erickson
ed4d96f858 docs: add migrating to version 9 guide ()
This commit adds a guide to AIO navigation for
"Migrating to Version 9" and moves the schematics
section into the guide that previously lived in
the deprecations page. It also pastes a snippet
of the deprecations page in the new guide so users
don't have to filter out deprecations they've seen
before.

Note: Ivy compatibility section is coming up in a
follow-up PR.

PR Close 
2019-10-23 09:11:40 -07:00
Kara Erickson
383457f898 docs: clean up deprecation guide ()
PR Close 
2019-10-23 09:11:13 -07:00