Joey Perrott
6f829180f7
build: update license headers to reference Google LLC ( #37205 )
...
Update the license headers throughout the repository to reference Google LLC
rather than Google Inc, for the required license headers.
PR Close #37205
2020-05-26 14:27:01 -04:00
Andrew Scott
cc1e0bbdc0
docs(router): add docs for RouterLink inputs ( #37018 )
...
The RouterLink and RouterLinkWithHref inputs do not have any docs. This comment adds jsdoc comments to the inputs.
PR Close #37018
2020-05-18 14:55:41 -07:00
Andrew Scott
ef9f8df9ed
fix(router): update type for routerLink to include null and undefined ( #37018 )
...
PR #13380 added support for `null` and `undefined` but the type on the parameter was not updated.
This would result in a compilation error if `fullTemplateTypeCheck` is enabled.
Fixes #36544
PR Close #37018
2020-05-18 14:55:41 -07:00
Joey Perrott
698b0288be
build: reformat repo to new clang@1.4.0 ( #36613 )
...
PR Close #36613
2020-04-14 12:08:36 -07:00
Andrew Scott
e0415dbf16
fix(router): state data missing in routerLink ( #36462 )
...
fixes #33173 - router state data is missing on routerLink when used
with non-anchor elements.
PR Close #36462
2020-04-07 11:31:25 -07:00
Matias Niemelä
98a9daf4f4
Revert "fix(router): state data missing in routerLink ( #33203 )" ( #35882 )
...
This reverts commit de67978a7d0d867ccbb91615a09e4471584569da.
PR Close #35882
2020-03-05 17:43:03 -05:00
Santosh Yadav
de67978a7d
fix(router): state data missing in routerLink ( #33203 )
...
Fixes 33173
PR Close #33203
2020-03-04 16:51:13 -05:00
Judy Bogart
ac745c8356
docs: clarify static router-outlet name attribute ( #32973 )
...
PR Close #32973
2019-10-14 23:47:01 +00:00
Paul Gschwendtner
ce9d0de840
refactor(router): compatibility with typescript strict flag ( #30993 )
...
As part of FW-1265, the `@angular/router` package is made compatible
with the TypeScript `--strict` flag. Read more about the strict flag [here](https://www.typescriptlang.org/docs/handbook/compiler-options.html )
PR Close #30993
2019-07-18 14:21:26 -07:00
Pawel Kozlowski
fcd1f61476
refactor(router): change RouterLinkActive impl to account for upcoming ivy breaking change ( #28560 )
...
PR Close #28560
2019-02-08 16:42:45 -08:00
kevinphelps
ed0cf7e2cb
fix(router): set href when routerLink is used on an 'area' element ( #28441 )
...
closes #28401
PR Close #28441
2019-02-05 23:28:40 -05:00
William Neely
03c8528fcb
docs(router): removed additional to ( #25989 )
...
PR Close #25989
2019-01-23 11:00:20 -08:00
cexbrayat
0b78f54d4f
docs(router): typo in state documentation ( #27671 )
...
PR Close #27671
2018-12-14 15:13:45 -08:00
Jason Aden
d40af0c137
feat(router): add a Navigation type available during navigation ( #27198 )
...
Provides target URLs, Navigation, and `NavigationExtras` data.
FW-613
PR Close #27198
2018-11-30 13:34:55 -08:00
Jason Aden
73f6ed9be1
feat(router): allow passing state
to routerLink directives ( #27198 )
...
This value will get written to the `history.state` entry.
FW-613 (related)
Related to #24617
PR Close #27198
2018-11-30 13:34:55 -08:00
Pete Bacon Darwin
13143b850e
docs: update router to use @publicApi
tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:53 -07:00
Igor Minar
e3064d5432
feat: typescript 2.9 support ( #24652 )
...
PR Close #24652
2018-07-03 13:32:06 -07:00
Rado Kirov
c95437f15d
build(bazel): Turning on strictPropertyInitialization for Angular. ( #24572 )
...
All errors for existing fields have been detected and suppressed with a
`!` assertion.
Issue/24571 is tracking proper clean up of those instances.
One-line change required in ivy/compilation.ts, because it appears that
the new syntax causes tsickle emitted node to no longer track their
original sourceFiles.
PR Close #24572
2018-06-25 07:57:13 -07:00
Pete Bacon Darwin
4b96a58c5a
docs: remove all deprecated @stable
jsdoc tags ( #23210 )
...
These are no longer needed as stable docs are computed as those that
do not have `@experimental` or `@deprecated` tags.
PR Close #23210
2018-04-10 21:49:32 -07:00
Pete Bacon Darwin
9141424ac6
docs(router): remove unnecessary {@link Injector}
jsdoc tags ( #23187 )
...
Inline code blocks are automatically linked, if possible, to their API
page.
PR Close #23187
2018-04-05 09:29:08 -07:00
Pete Bacon Darwin
31b90436b4
docs(router): migrate deprecated @whatItDoes
tags ( #23187 )
...
The first line of the description is now used as an overview.
PR Close #23187
2018-04-05 09:29:08 -07:00
Pete Bacon Darwin
f66f408b04
docs(router): migrate deprecated @howToUse
tags ( #23187 )
...
These have been converted to `@usageNotes` or included in the
`@description` tag.
PR Close #23187
2018-04-05 09:29:08 -07:00
Igor Minar
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
George Kalpakas
901436e46f
docs: fix link texts
...
Fixes #19701
PR Close #19709
2017-11-01 15:44:59 -04:00
vsavkin
6f2939da62
fix(router): RouterLinkActive should update its state right after checking the children ( #19449 )
...
Closes #18983
PR Close #19449
2017-10-18 11:17:55 -07:00
Tobias Bosch
b0c7ea8181
Revert "fix(router): RouterLinkActive should update its state right after checking the children ( #19449 )"
...
This reverts commit c569b7524974200040c2abae6923cd4e6f59a13b.
As it was synched together with 5a9ed2de272912ac74ed56bfec4bdf4551f7b38e
which broke an internal test.
2017-10-18 09:58:41 -07:00
vsavkin
c569b75249
fix(router): RouterLinkActive should update its state right after checking the children ( #19449 )
...
Closes #18983
PR Close #19449
2017-10-17 20:57:30 -07:00
Yuan Gao
549f2254b4
refactor(core): remove getters for packages/animations, language-service, platform-browser, router ( #19151 )
...
PR Close #19151
2017-09-20 12:38:37 -07:00
Olivier Combe
a9ef858359
refactor(router): remove deprecated RouterOutlet
properties
...
BREAKING CHANGE: `RouterOutlet` properties `locationInjector` and `locationFactoryResolver` have been removed as they were deprecated since v4.
2017-09-08 16:19:32 -04:00
Miško Hevery
7236095f6f
Revert "refactor(router): remove deprecated RouterOutlet
properties ( #18781 )"
...
This reverts commit d1c4a94bbf4389de598c6f4a66eee634e3d5dc22.
2017-08-22 18:38:53 -05:00
Olivier Combe
d1c4a94bbf
refactor(router): remove deprecated RouterOutlet
properties ( #18781 )
...
BREAKING CHANGE: `RouterOutlet` properties `locationInjector` and `locationFactoryResolver` have been removed as they were deprecated since v4.
PR Close #18781
2017-08-22 16:53:00 -05:00
Jan Peer Stöcklmair
81cb5bc3a7
docs(router): fix typo ( #18479 )
2017-08-02 17:31:09 -07:00
Pawel Kozlowski
3165fd3dc9
refactor(router): remove usage of deprecated Renderer
2017-06-23 16:12:43 -07:00
Robert Spier
4c32cb952f
fix(router): opening links in new window
...
Shift-clicks on router-links should not prevent browser default action.
A follow on to:
1ac9dda93d
2017-06-02 17:32:12 -04:00
Matias Niemelä
f1a9e3c1bb
feat(animations): introduce routeable animation support
2017-05-19 13:45:22 -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ä
86b7bd9c8e
revert: refactor(router): cleanup, simplification
...
This reverts commit 44d48d9d7aa10bbf03c412ce7e59821c748b5d2d.
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 198edb31093ffdecfd13aed17967fb02e650cffe.
2017-05-18 11:57:22 -07: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
Pete Bacon Darwin
d0e72a8f8f
docs(*) fix dangling links in API docs ( #16632 )
...
* docs(animations): fix links to `Component` animations
* docs(core): fix links to `ReflectiveInjector` methods
The `resolve` and other methods were moved from the
`Injector` to the `ReflectiveInjector`.
* docs(core): fix links to `Renderer`
The local links were assuming that that methods were on the
current document (e.g. `RootRenderer`), but they are actually
on the `Renderer` class.
* docs(router): fix links to methods
* docs(forms): fix links to methods
* docs(core): fix links to methods
* docs(router): fix API page links and an internal link
2017-05-09 15:51:37 -07:00
Igor Minar
71f5b73296
docs: fix links in api docs
2017-05-03 09:22:32 +01:00
Miško Hevery
bc431888f3
fix(router): Update types for TypeScript nullability support
...
This reverts commit ea8ffc984136ef4d32b6858fe35e69cc9fced021.
2017-04-18 12:07:33 -07:00
Victor Berchet
82417b3ca5
fix(router): prevent RouterLinkActive
from causing an infinite CD loop
...
fixes #15825
2017-04-17 10:15:44 -07:00
Tobias Bosch
ea8ffc9841
Revert "fix(router): Update types for TypeScript nullability support"
...
This reverts commit 56c46d70f7b3cb308d658224682d739d4f9b5a2a.
Broke in G3.
2017-04-17 09:56:09 -07:00
Miško Hevery
56c46d70f7
fix(router): Update types for TypeScript nullability support
2017-04-14 14:31:17 -07:00
Victor Berchet
13686bb518
fix: element injector vs module injector ( #15044 )
...
fixes #12869
fixes #12889
fixes #13885
fixes #13870
Before this change there was a single injector tree.
Now we have 2 injector trees, one for the modules and one for the components.
This fixes lazy loading modules.
See the design docs for details:
https://docs.google.com/document/d/1OEUIwc-s69l1o97K0wBd_-Lth5BBxir1KuCRWklTlI4
BREAKING CHANGES
`ComponentFactory.create()` takes an extra optional `NgModuleRef` parameter.
No change should be required in user code as the correct module will be used
when none is provided
DEPRECATIONS
The following methods were used internally and are no more required:
- `RouterOutlet.locationFactoryResolver`
- `RouterOutlet.locationInjector`
2017-03-14 16:26:17 -07:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00