5812 Commits

Author SHA1 Message Date
Igor Minar
ae1dd5bfd0 docs(changelog): add changelog for bug fixes that landed between rc.7 and 2.0.0 2016-09-14 16:45:16 -07:00
Igor Minar
cb657c4b55 docs: update descriptions in package.jsons 2016-09-14 16:44:39 -07:00
vsavkin
42f60ca303 docs(core): update dts file 2016-09-14 15:27:33 -07:00
vsavkin
e33037a2f1 docs(core): docs for Directive and Component 2016-09-14 15:27:33 -07:00
Victor Berchet
9cee8bcc83 docs(common): add directives docs
Closes #11581
2016-09-14 15:24:01 -07:00
vsavkin
003294d5df docs(core): fix examples 2016-09-14 14:53:30 -07:00
vsavkin
785292f44f chore(core): reexport query metadata decorators 2016-09-14 14:53:30 -07:00
vsavkin
15c2912527 chore(core): update public api file 2016-09-14 14:53:30 -07:00
vsavkin
096ae7c404 docs(core): updates query decorator docs 2016-09-14 14:53:30 -07:00
vsavkin
5972fdc817 docs(core): extract how to examples 2016-09-14 14:53:30 -07:00
Misko Hevery
2c42a50fc3 docs(pipes): updated pipe documentation 2016-09-14 14:32:09 -07:00
Misko Hevery
caa1cd2470 docs(pipes): move pipe examples to the common folder 2016-09-14 14:26:00 -07:00
Alex Eagle
5fad37df69 Revert "chore(core): update public api file"
This reverts commit 727c2b38a4355e3ecb708487aa377ed54e4e8375.

Revert "docs(core): updates query decorator docs"

This reverts commit b6287ccc5126da9c1a052bd28b3a9e2743f67eae.

Revert "docs(core): extract how to examples"

This reverts commit 69e8ace8848e55c9605c1feab7d642bf46bddb4e.
2016-09-14 13:34:25 -07:00
vsavkin
727c2b38a4 chore(core): update public api file 2016-09-14 13:22:09 -07:00
vsavkin
b6287ccc51 docs(core): updates query decorator docs 2016-09-14 13:22:09 -07:00
vsavkin
69e8ace884 docs(core): extract how to examples 2016-09-14 13:22:09 -07:00
Pawel Kozlowski
85d9db6bc4 fix(platform-browser): provide Title service as part of the module (#11605)
Fixes #11600
2016-09-14 13:21:23 -07:00
Tobias Bosch
0a2132ef10 docs(di): update docs on di 2016-09-14 11:57:31 -07:00
Tobias Bosch
d299ce4bcf docs(lifecycle): update docs for lifecycle hooks 2016-09-14 11:51:03 -07:00
Tobias Bosch
0b9425bbb4 fix(examples): make them work with noImplicitAny and declarations:true 2016-09-14 11:29:31 -07:00
Tobias Bosch
1a035a0dc7 build(examples): include in main tsconfig.json
Also rename `examples/tsconfig.json` into `examples/tsconfig-build.json`
so that it does not shadow the main `tsconfig.json` in editors

Also adds `noImplicitAny` and `declarations`
`examples/tsconfig.json`.
2016-09-14 11:29:31 -07:00
Victor Berchet
84b4338ab5 build(example): fix tsconfig (#11593) 2016-09-14 07:40:58 -07:00
Victor Berchet
b847257b16 refactor(ShadowCss): remove a comment that trigger an issue with webpack (#11587)
fixes #11584
2016-09-13 21:59:11 -07:00
Igor Minar
c65d139081 build: remove JS suffix from the license banner 2016-09-13 21:48:58 -07:00
Igor Minar
57f0269491 build(examples): fail build.sh if errors are found 2016-09-13 21:48:58 -07:00
Igor Minar
4e6c41b3a1 build(examples): work around protractor typings issues and fix existing type errors
This works around the typings issues until we have a build of protractor with typings that don't
polute global types via ambient type definitions
2016-09-13 21:48:58 -07:00
Kara Erickson
7105021c41 docs(forms): add docs for FormArray 2016-09-13 14:00:52 -07:00
Kara Erickson
f7313db0be docs(forms): add docs for FormGroup 2016-09-13 14:00:52 -07:00
Kara Erickson
1d2e70e3a4 docs(forms): add docs for FormControl 2016-09-13 14:00:52 -07:00
Kara Erickson
21516c32e6 docs(forms): add docs for AbstractControl 2016-09-13 14:00:52 -07:00
Igor Minar
00a24b63da build(npm): roll back jasmine 2.5 upgrade due to console reporter issues (#11573)
2.5.1 no longer prints dots in the './test.sh node' mode
2016-09-13 13:32:58 -07:00
Kara
e71558ba89 docs(forms): update docs for FormBuilder (#11548) 2016-09-13 13:23:31 -07:00
vsavkin
7ac47acc1c docs(core): updates docs for query metadata 2016-09-13 11:28:12 -07:00
vsavkin
60e49a7e4b docs(core): add an example of using ViewChildren 2016-09-13 11:28:12 -07:00
vsavkin
c71e35cbf5 docs(core): add an example of using ViewChild 2016-09-13 11:28:12 -07:00
vsavkin
1348c65b0c docs(core): add an example of using ContentChildren 2016-09-13 11:28:12 -07:00
vsavkin
ff03d87cdd docs(core): add an example of using ContentChild 2016-09-13 11:28:12 -07:00
Tobias Bosch
a2bf334e6e chore(benchpress): update package.json and add publish script 2016-09-13 10:49:16 -07:00
Tobias Bosch
f8690caa98 chore: refactor build script to allow to build individual packages 2016-09-13 10:49:16 -07:00
Pouja
aa713d1dd9 docs(readme): fixed visual of browserstack link (#11552)
Instead of using a variable for the link of browserstack it was using the direct https link.
That caused to show the text and the link (incorrect markdown).
Moved the https link to the bottom with the other link assignments. It will now only show the blue text with the link to the browserstack.
2016-09-13 10:06:02 -07:00
Polvista
a2519c6164 fix(upgrade): correct the main entry path in package.json 2016-09-13 10:03:45 -07:00
Igor Minar
fa994810d5 chore(release): v2.0.0-rc.7 2016-09-12 23:25:28 -07:00
Igor Minar
c54580a4af docs(changelog): add release notes for 2.0.0-rc.7 2016-09-12 23:25:05 -07:00
Igor Minar
730415e048 build: temporarily disable building and testing of documentation examples
This is due to protractor typings issue that breaks the compilation.
2016-09-12 23:06:38 -07:00
Tobias Bosch
42a287fabf fix(core): make name in Pipe non optional 2016-09-12 22:47:54 -07:00
Tobias Bosch
42d442dcd5 refactor(core): add a name to all decorators and other fixes 2016-09-12 22:47:54 -07:00
Tobias Bosch
cc2873a94d chore: update typings
Note that the typings don’t reflect the shape of the metadata
due to a bug in the public-api-guard
2016-09-12 22:47:54 -07:00
Tobias Bosch
63e15ffaec refactor(core): remove …Metadata for all decorators and use the decorator directly.
BREAKING CHANGE:
- all `…Metadata` classes have been removed. Use the corresponding decorator
  as constructor or for `instanceof` checks instead.
- Example:
  * Before: `new ComponentMetadata(…)`
  * After: `new Component(…)`
- Note: `new Component(…)` worked before as well.
2016-09-12 22:47:54 -07:00
Tobias Bosch
1b15170c89 refactor(core): simplify decorators
Every decorator now is made of the following:
- a function that can be used
as a decorator or as a constructor. This function
also can be used for `instanceof` checks.
- a type for this function (callable and newable)
- a type that describes the shape of the data
  that the user needs to pass to the decorator
  as well as the instance of the metadata

The docs for decorators live at the followig places
so that IDEs can discover them correctly:
- General description of the decorator is placed on the
  `...Decorator` interface on the callable function
  definition
- Property descriptions are placed on the interface
  that describes the metadata produces by the decorator
2016-09-12 22:47:54 -07:00
Kara
26d1423ae9 docs(forms): update docs for NgForm (#11547) 2016-09-12 17:01:04 -07:00