3154 Commits

Author SHA1 Message Date
Showtim3
052cae6427 docs: fix typo in attribute-directives.md ()
Fixes 

PR Close 
2019-10-02 14:30:50 -07:00
Jakub Pawlot
e7729b6863 docs: add comment about newEvent utility function ()
PR Close 
2019-10-02 13:28:38 -07:00
Kai Röder
3de59d48b5 docs(docs-infra): use recommended type assertion ()
Angular uses tslint:recommended by default. The default for no-angle-bracket-type-assertion is true
See https://github.com/palantir/tslint/blob/master/src/configs/recommended.ts#L69

PR Close 
2019-10-02 13:25:39 -07:00
Nikita Potapenko
3c7ac5f835 docs: add ngOnInit description ()
PR Close 
2019-10-02 13:24:30 -07:00
Stephen Fluin
a3b6b109d8 docs: fix stackblitz example polyfills ()
PR Close 
2019-10-02 13:20:37 -07:00
Judy Bogart
70429bf350 docs: add lib build note ()
PR Close 
2019-10-02 10:59:05 -07:00
Jordan Amman
448749cafa docs: added '>' to ng-template closing tag. ()
Fixes 

PR Close 
2019-10-02 09:44:23 -07:00
Filipe Silva
fc3260d87e ci: use CircleCI parameterized jobs ()
Parameterized jobs lets us reduce duplication of very similar jobs.

See https://circleci.com/docs/2.0/reusing-config/#authoring-parameterized-jobs for more info.

PR Close 
2019-10-02 09:34:11 -07:00
Alan Agius
5d5c94d83a feat(service-worker): remove deprecated versionedFiles option ()
BREAKING CHANGE:

Remove deprecated option `versionedFiles` from service worker asset group configuration in `ngsw-config.json`

Before
```json
"assetGroups": [
  {
    "name": "test",
    "resources": {
      "versionedFiles": [
        "/**/*.txt"
      ]
    }
  }
]
```

After
```json
"assetGroups": [
  {
    "name": "test",
    "resources": {
      "files": [
        "/**/*.txt"
      ]
    }
  }
]
```

PR Close 
2019-10-02 09:30:59 -07:00
George Kalpakas
090732fc2d fix(docs-infra): show hamburger button on getting started guide ()
In 1c3ee4190, the `getting-started` guide/tutorial was renamed to
`start`, but the corresponding CSS class that controls the display of
the top-left hamburger (and it automatically derived based on the URL)
was not updated.

This commit updates the class to ensure that the hamburger is not hidden
when navigating to the getting started guide.

PR Close 
2019-10-02 09:20:22 -07:00
Kapunahele Wong
206fb82330 docs: add dynamic queries flag migration documentation ()
PR Close 
2019-10-01 17:19:05 -07:00
Judy Bogart
088435c5eb docs: emphasize headers for code examples ()
PR Close 
2019-10-01 14:45:29 -07:00
Joshua Colvin
32b6548be9 docs: fix capitalization in elements docs () ()
PR Close 

PR Close 
2019-10-01 14:44:49 -07:00
Gérôme Grignon
b3549e6680 docs: fix typo in creating-libraries ()
PR Close 
2019-10-01 10:59:01 -07:00
Hoel IRIS
45c893d0e1 docs(service-worker): add info about recovering from degraded Driver state ()
Related to 

PR Close 
2019-09-30 14:15:35 -07:00
Judy Bogart
d5071651df docs: add filename headers to code examples ()
PR Close 
2019-09-30 10:28:20 -07:00
Judy Bogart
8985233804 docs: add prompts section to schematic guide ()
PR Close 
2019-09-30 10:27:38 -07:00
Yulia Tsareva
877f9ad7b9 docs: add missing space between "Component" and "will" in guide ()
Closes angular/angular#32873

PR Close 
2019-09-27 15:59:29 -07:00
Igor Minar
84feda1db7 build(docs-infra): do not ngcc the 'module' entry points ()
CLI v8.3+ doesn't read them any more.

PR Close 
2019-09-27 11:34:53 -07:00
Igor Minar
ecd7554051 build(docs-infra): update to cli@9.0.0-next ()
PR Close 
2019-09-27 11:34:53 -07:00
john li
5ae48d52e6 docs: fix typo in deployment guide ()
The typo causes most of the callout to not appear on the page. The issue 
appears at the bottom of the "Lazy loading" section on the live site:
https://angular.io/guide/deployment#lazy-loading
PR Close 
2019-09-27 10:32:38 -07:00
Harinder Singh
278d634723 docs: correct spelling of HTMLTableCellElement in Template Syntax ()
Spelling Correction in Docs

Corrected spelling; From `HTMLTableCellElment` to  `HTMLTableCellElement`.

PR Close 
2019-09-27 10:03:52 -07:00
Reuben Wilson
f6914159e4 docs: fix sentence phrasing ()
`In this section, you'll add a "Buy" button the product details page.` -> `In this section, you'll add a "Buy" button to the product details page.`
PR Close 
2019-09-27 10:03:22 -07:00
Jordan Amman
2e730287fb docs: clarify sentence in lifecycle hooks doc ()
PR Close 
2019-09-27 10:02:54 -07:00
George Kalpakas
a7d090d22e build(docs-infra): upgrade cli command docs sources to 0a36071b8 ()
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](c6184bf31...0a36071b8):

**Modified**
- help/generate.json

##

PR Close 
2019-09-27 10:01:19 -07:00
George Kalpakas
85990c3213 fix(docs-infra): correctly run on IE11 ()
Since 007282d2b, [TocService][1] uses [forEach()][2] to iterate over a
`NodeList`. This breaks in IE11, which does not support
`NodeList#forEach()`.

This commit wraps the returned `NodeList` in a regular `Array` to have
access to array methods (such as `forEach()`).

Fixes 

[1]: https://github.com/angular/angular/blob/fbad4ff65/aio/src/app/shared/toc.service.ts#L68
[2]: https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach

PR Close 
2019-09-26 17:05:38 -07:00
George Kalpakas
fbad4ff65c build(docs-infra): upgrade cli command docs sources to c6184bf31 ()
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](493841df1...c6184bf31):

**Modified**
- help/build.json

##

PR Close 
2019-09-26 07:38:36 -07:00
Rustam
c07b6fece5 docs: added link to ngRuAir podcast ()
PR Close 
2019-09-26 07:37:54 -07:00
George Kalpakas
fe54af9ba6 build(docs-infra): upgrade cli command docs sources to 493841df1 ()
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](5d72355fc...493841df1):

**Modified**
- help/new.json

##

PR Close 
2019-09-25 11:27:03 -07:00
Issei Horie
3a96631387 docs: removed duplicated spaces in upgrade guide ()
PR Close 
2019-09-24 14:01:42 -07:00
Issei Horie
c093390c22 docs: fix typo in upgrade guide ()
PR Close 
2019-09-24 14:01:18 -07:00
Kapunahele Wong
04ddcfecd8 docs: edit copy on getting started step 1 ()
PR Close 
2019-09-19 14:20:50 -07:00
Kapunahele Wong
5c2e890d76 docs: edit copy on first step of getting started ()
PR Close 
2019-09-18 13:36:59 -07:00
Aristeidis Bampakos
cd4021ba41 docs: Typo fixes in hierarchical DI guide ()
Introduce minor typo fixes in the guide for hierarchical dependency injection

PR Close 
2019-09-17 13:37:53 -07:00
Matias Niemelä
4f41473048 refactor(ivy): remove styling state storage and introduce direct style writing ()
This patch is a final major refactor in styling Angular.

This PR includes three main fixes:

All temporary state taht is persisted between template style/class application
and style/class application in host bindings is now removed.
Removes the styling() and stylingApply() instructions.
Introduces a "direct apply" mode that is used apply prop-based
style/class in the event that there are no map-based bindings as
well as property collisions.

PR Close 

PR Close 
2019-09-16 14:12:48 -07:00
Judy Bogart
4c061271db docs: add autoprefixer backward compatability instruction ()
PR Close 
2019-09-16 10:48:02 -07:00
Kapunahele Wong
bd679581e2 docs: add undecorated classes migration faq ()
PR Close 
2019-09-12 12:16:14 -07:00
Kapunahele Wong
222af38462 docs: move renderer2 deprecation guide into own file ()
PR Close 
2019-09-12 10:42:59 -07:00
George Kalpakas
eab959aa18 build(docs-infra): upgrade cli command docs sources to 5d72355fc ()
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](53ae26cb6...5d72355fc):

**Modified**
- help/generate.json

##

PR Close 
2019-09-12 10:25:02 -07:00
Judy Bogart
5cf597249c docs: modify lazy-load module instructions for new cli flag ()
PR Close 
2019-09-12 10:23:18 -07:00
Judy Bogart
a32df388f8 docs: fix doc links to current version ()
PR Close 
2019-09-11 19:27:00 -04:00
Judy Bogart
8a911773b8 docs: add header to code examples ()
PR Close 
2019-09-11 19:26:19 -04:00
Matias Niemelä
53dbff66d7 revert: refactor(ivy): remove styling state storage and introduce direct style writing ()
This reverts commit 15aeab16207fd6491e296db02501a14f92ff8e97.
2019-09-11 15:24:10 -07:00
Matias Niemelä
15aeab1620 refactor(ivy): remove styling state storage and introduce direct style writing () ()
This patch is a final major refactor in styling Angular.

This PR includes three main fixes:

All temporary state taht is persisted between template style/class application
and style/class application in host bindings is now removed.
Removes the styling() and stylingApply() instructions.
Introduces a "direct apply" mode that is used apply prop-based
style/class in the event that there are no map-based bindings as
well as property collisions.

PR Close 

PR Close 
2019-09-11 16:27:10 -04:00
Matias Niemelä
c84c27f7f4 revert: refactor(ivy): remove styling state storage and introduce direct style writing () 2019-09-10 18:08:05 -04:00
George Kalpakas
65f5c0476f ci: check code-ownership on CI ()
This commit expands the `lint` CircleCI job to also run the
`tools/verify-codeownership.js` script. This script verifies that some
important files/directories in the codebase have code-owners assigned in
`.github/CODEOWNERS`.

The main purpose of this change is to prevent adding new directories
(e.g. packages or docs guides/examples) without assigning appropriate
code-owners. When no code-owner is explicitly assigned, corresponding
PRs will automatically request reviews from @igorminar, who is the
"fall-back" code-owner.

PR Close 
2019-09-10 17:30:55 -04:00
George Kalpakas
d0dd69f177 test: expand the verify-codeownership.js script to also check packages ()
The `aio/scripts/verify-codeownership.js` script (formerly
`verify-docs-codeownership.js`) can be used to verify whether there are
directories in the codebase that don't have a codeowner (in
`.github/CODEOWNERS`) and vice versa. It does not aim to cover all files
and directories, but do a coarse check on some important (or frequently
changing) directories.

Previously, the script only checked for API docs examples (in
`packages/examples/`) and guides (and related images and example) (in
`aio/content/`).

This commit expands the script to also check for packages (i.e.
top-level directories in `packages/`). It also renames the script from
`verify-docs-codeownership.js` to `verify-codeownership.js`, to better
reflect its new behavior.

PR Close 
2019-09-10 17:30:55 -04:00
idzark
79b673a17f docs: add mdb angular boilerplate to docs resources ()
PR Close 
2019-09-10 17:22:31 -04:00
Matias Niemelä
3b37469735 refactor(ivy): remove styling state storage and introduce direct style writing ()
This patch is a final major refactor in styling Angular.

This PR includes three main fixes:

All temporary state taht is persisted between template style/class application
and style/class application in host bindings is now removed.
Removes the styling() and stylingApply() instructions.
Introduces a "direct apply" mode that is used apply prop-based
style/class in the event that there are no map-based bindings as
well as property collisions.

PR Close 
2019-09-10 15:54:58 -04:00
Kapunahele Wong
25d90dabbe docs: port accessibility app from stackblitz to aio ()
Fixes 

PR Close 
2019-09-10 13:11:48 -04:00