2223 Commits

Author SHA1 Message Date
Kristiyan Kostadinov 20953c5224 docs: update schematic authoring guide to use new utilities (#50667)
Updates the guide for writing `ng add` schematics to include the new authoring utilities. I've also removed the `NodePackageInstallTask` because it's redundant.

PR Close #50667
2023-06-12 19:15:46 +02:00
Shadab Ansari f1b235392c docs(packaging): Clarify the necessity of dev-dependencies (#50619)
Clarify the role of dev-dependencies. Dependencies are required for production
ie, execution of an application, whereas devDependencies are required for
developing as well as *building* the application (dev and prod build both)

PR Close #50619
2023-06-12 11:19:11 +02:00
Jessica Janiuk 140c078be6 docs: add information about usage of innerHTML and outerHTML (#50643)
Usage of innerHTML and outerHTML will cause the same problem as using direct DOM manipulation.

PR Close #50643
2023-06-12 11:17:52 +02:00
Pham Huu Hien aaebe9e585 docs: remove repeated word (#50614)
PR Close #50614
2023-06-09 17:39:14 +02:00
Cade DuPont eef1cbbae1 docs: fix indentation issue in component lifecycle (#50490)
PR Close #50490
2023-06-07 12:44:44 -07:00
Julian Andres Gomez Gomez 9e68a62512 docs: correct Signals documentation (#50518)
Remove "only" word from "Reading without tracking dependencies" effect explanation

PR Close #50518
2023-05-31 12:39:37 -07:00
Arno Chauveau 8ce28dbafa docs(router): correct references to guard services (#50514)
PR Close #50514
2023-05-31 12:37:20 -07:00
Saba Shavidze 7e9c7eda49 docs: fix code-example header path in dependency-injection-in-action-md (#50397)
docs: fix typo in dependency-injection-in-action doc

docs: fixed code-example header paths in dependency-injection-in-action doc

PR Close #50397
2023-05-23 14:15:00 +00:00
Saba Shavidze 0b9855377d docs: fix code-example header path in hierarchical-dependency-injection-md file (#50404)
PR Close #50404
2023-05-23 14:14:27 +00:00
Matthieu Riegler 6fb0de6ce7 docs: improve AOT docs. (#50398)
Since v15, `protected` class member can be used in templates, Inputs & Outputs.

Other Decorated class members, like @HostBindings or Children queries can be private.

Fixes #27467

PR Close #50398
2023-05-22 17:34:46 +00:00
Saba Shavidze 75f9fe675a docs: fix typo in dependency-injection-in-action doc (#50396)
PR Close #50396
2023-05-22 14:43:50 +00:00
Saba Shavidze 10dde9a5e7 docs: fix typo in dependency-injectoin-in-action.md (#50396)
PR Close #50396
2023-05-22 14:43:50 +00:00
garrettld fc18b101a8 docs: replace blossom emoji with tulip (#50349)
The blossom emoji is referred to as "yellow flower" in the docs, but it's not yellow on all platforms. Since "flower" or "blossom" is too generic, the "tulip" emoji is used instead.

Fixes #50347

PR Close #50349
2023-05-19 16:26:27 +00:00
Matthieu Riegler 14588ab10d docs: forwardref usage for standalone components (#50366)
Fixes #48614 and #49059

PR Close #50366
2023-05-19 15:10:29 +00:00
Aristeidis Bampakos b75625ba49 docs: fix typo in security guide (#50324)
PR Close #50324
2023-05-16 09:47:26 -07:00
Aristeidis Bampakos e82f12ee06 docs: fix typo in dependency injection guide (#50323)
PR Close #50323
2023-05-16 09:44:30 -07:00
Matthieu Riegler 2d87aeecc1 docs: Glossary link to N (#50294)
The shortcut to N was missing resulting in a rendering issue.

PR Close #50294
2023-05-15 09:55:59 -07:00
Arnel Umandap Jr 81185e0afd docs: add missing "when" (#50262)
PR Close #50262
2023-05-12 10:17:22 -07:00
Matthieu Riegler d5be23efd4 docs: split unsupported versions table in two. (#50243)
To ease the maintenance of this table and keep the same number of columns between active and unsupported versions.

PR Close #50243
2023-05-11 10:17:52 -07:00
Matthieu Riegler 2333947753 docs: fix v13 dependencies versions. (#50243)
Fixing a small mistake.

Fixes #50242

PR Close #50243
2023-05-11 10:17:52 -07:00
Matthieu Riegler 1f4bc47fae docs: replace absolute links to aio with relative links. (#50213)
This change follows the introduction of the warning message from a transform processor to prevent absolute links to angular.io.

PR Close #50213
2023-05-10 14:29:51 -07:00
Ambroise BAZIE 868723c084 docs: fix typo on hydration in Preserve Whitespaces Configuration (#50236)
PR Close #50236
2023-05-10 10:35:07 -07:00
Matthieu Riegler 087b08b5fe docs: fix link label. (#50209)
Removing a duplicate https protocol.

PR Close #50209
2023-05-09 14:47:09 -07:00
Peter fafcb125ef docs: standalone component preloading config (#50193)
The preloading modules documentation were missing information about how to apply preloading strategies to standalone application  ( `ng new AppName --standalone` ).
Feel free to fix anything not in line with the Angular documentation style guide, as this is my first attempt at contributing :)

- Added example for `app.config.ts` providing info on the `withPreloading(<preloading strategy>)` you can add to the `provideRouter()` RouterFeatures.
- Specified that preloading modules also applies for standalone components.
PR Close #50193
2023-05-09 14:44:55 -07:00
Jeremy Elbourn d077c44bdc docs: update releases guide for v16 (#50128)
Also clarify that the deprecations guide is for _noteworthy_ deprecations and may not be comprehensive.

PR Close #50128
2023-05-09 14:42:16 -07:00
Matthieu Riegler 63112f9b36 docs: delete aborted documentation files (#49962)
Those files were created as part of #47391 but the content was never merged.

PR Close #49962
2023-05-09 14:36:16 -07:00
WILLY FALONE KOUADIO 22c7bd9f6c docs: fix obs variable name to obs$ (#50196)
PR Close #50196
2023-05-08 14:43:03 -07:00
Matthieu Riegler 9f332b5c87 docs: remove mentions of the WebWorker platform (#50059)
The webworker platform was dropped in v11.

PR Close #50059
2023-05-04 09:06:55 +02:00
Walid Bouguima 68e6704d25 docs: fix takeUntilDestroyed description's typo (#50134)
PR Close #50134
2023-05-04 09:03:34 +02:00
mgechev 9f696b8bb2 docs: fix roadmap structure and remove redundant title (#50137)
PR Close #50137
2023-05-04 08:38:32 +02:00
mgechev a326609957 docs: update the roadmap to reflect v16 progress (#50016)
PR Close #50016
2023-05-03 12:54:26 -07:00
Matthieu Riegler 2f5ac11c69 docs: fix non-relative links. (#50080)
Relative links have 2 advantages :
* They're not marked as external links
* When on a specific doc version, the link point to the same version.

PR Close #50080
2023-05-02 12:27:24 +02:00
Lola Bola 5ced888143 docs: fix a typo (#50092)
PR Close #50092
2023-05-02 11:55:18 +02:00
Charles Lyding d6d347fec5 docs: add developer preview guide for esbuild-based build system (#50068)
Angular v16 will move the esbuild-based browser application builder from
an experimental status to a developer preview status. This newly added
guide provides instructions and information regarding the use of the new
build system.

PR Close #50068
2023-05-01 07:54:17 -07:00
Alan Agius 5ea624f313 fix(platform-server): remove dependency on @angular/platform-browser-dynamic (#50064)
Using `@angular/platform-browser-dynamic` is no longer required for JIT scenarios with Ivy. Instead `@angular/compiler` should be imported instead.

This change is part of the effort to reduce the server bundles sizes, which is needed to support cloud workers.

BREAKING CHANGE:
Users that are using SSR with JIT mode will now need to add  `import to @angular/compiler` before bootstrapping the application.

**NOTE:** this does not effect users using the Angular CLI.

PR Close #50064
2023-05-01 07:50:04 -07:00
Matthieu Riegler 5711babbd3 refactor(common): Deprecate useless isPlatform functions (#50055)
The Web worker platform was removed in v11.
`isPlatformWorkerApp` & `isPlatformWorkerUi` have no purpose since.

PR Close #50055
2023-05-01 07:39:40 -07:00
Jeremy Elbourn 16430fbdb8 docs: add v16 update guide (#50073)
PR Close #50073
2023-05-01 07:38:11 -07:00
Dylan Hunn d0c976fc5a docs: Introduce RxJS and Signals interop guide (#50039)
Create a new Signals section on aio, and add an interop guide.

PR Close #50039
2023-05-01 07:36:47 -07:00
Dylan Hunn 67abb3ffea docs: Add DestroyRef and takeUntilDestroyed sections to lifecycle doc (#50042)
These two concepts are a crucial addition to component destruction, and are added to the existing lifecycle doc (which is retitled more generally).

PR Close #50042
2023-05-01 07:34:02 -07:00
Alex Rickabaugh 6dc3add921 docs(core): primary Angular Signals documentation (#50053)
Adds the developer preview signals guide to AIO, under the preview section.
This guide explains signals, computed properties, and effects.

PR Close #50053
2023-04-28 16:36:38 -07:00
Alan Agius 9aff146dad docs: update universal guide to include standalone methods (#49993)
This commit updates the universal guide to include standalone methods.

PR Close #49993
2023-04-26 09:18:36 -07:00
Alan Agius 4fabe4c294 docs: update file structure to include standalone application files (#49993)
This commit updates the docs to include standalone files.

PR Close #49993
2023-04-26 09:18:36 -07:00
Alan Agius c0d698ec5b docs: update links to reference the version compatibility guide (#49995)
This commit updates several docs to reference the version compatibility guide instead of the `package.json`.

PR Close #49995
2023-04-26 09:17:57 -07:00
Jessica Janiuk 4240f4a35a refactor(core): improve error message when dom node is not found (#49977)
This adds context to the error message in the case that a DOM node is not found during the hydration process. It outputs the expected DOM structure based on the lView and tNode rather than an unhelpful text message.

PR Close #49977
2023-04-25 09:29:47 -07:00
Alan Agius 7cdf710092 docs: add v16 in version compatibility table (#49994)
This commit add version v16 in the version compatibility table.

PR Close #49994
2023-04-25 09:28:45 -07:00
Lars Gyrup Brink Nielsen b5da47be0f docs(core): correct description of actively supported versions (#49945)
PR Close #49945
2023-04-24 11:52:20 -07:00
Lars Gyrup Brink Nielsen 08dd9d5196 docs(core): combine compatibility for minor versions sharing dependencies (#49945)
PR Close #49945
2023-04-24 11:52:20 -07:00
Qiuran Hu e17267f08f docs: fix typo in lazy-loading feature modules doc (#49972)
PR Close #49972
2023-04-24 10:52:46 -07:00
Rushikesh Kavar bc9d0b71c6 docs: applicability of NgModule providers (#49966)
saying that providers of this NgModule is available to components,pipes and directive of "this" ngModule is not accurate sentence to describe the fact.
I am referring from: https://angular.io/guide/hierarchical-dependency-injection.
It says that "ModuleInjector is configured by the @NgModule.providers and NgModule.imports property. ModuleInjector is a flattening of all the providers arrays that can be reached by following the NgModule.imports recursively."
So, any component,pipe or directive of other NgModule within same ModuleInjector can use providers of this NgModule.
PR Close #49966
2023-04-24 09:51:58 -07:00
Andrew Kushnir a2b6b9d584 refactor(platform-browser): log a warning when a custom or a noop ZoneJS is used with hydration (#49944)
Hydration relies on a signal from ZoneJS when it becomes stable inside an application, so that Angular can start serialization process on the server or post-hydration cleanup on the client (to remove DOM nodes that remained unclaimed).

Providing a custom or a "noop" ZoneJS implementation may lead to a different timing of the "stable" event, thus triggering the serialization or the cleanup too early or too late. This is not yet a fully supported configuration.

This commit adds a warning (non-blocking) for those cases.

PR Close #49944
2023-04-23 18:23:29 -07:00