Matthieu Riegler
241c0004e9
docs: fix mermaid DI diagram. ( #59105 )
...
We need to use `<br>` for linebreakes.
fixes #59104
PR Close #59105
2024-12-10 13:42:04 -08:00
Ahmad Shabeer K
5b841fde1d
docs(docs-infra): removed confusing extra single quote ( #59101 )
...
PR Close #59101
2024-12-10 13:40:39 -08:00
Kristiyan Kostadinov
af3d6c7d19
refactor(docs-infra): fix build-time warnings ( #59100 )
...
Fixes a bunch of warnings around an upcoming Sass breaking change https://sass-lang.com/documentation/breaking-changes/mixed-decls/ . Also fixes one unused standalone import.
PR Close #59100
2024-12-10 13:40:11 -08:00
Angular Robot
ff03fc8ac0
build: update actions/cache digest to 1bd1e32 ( #59077 )
...
See associated pull request for more information.
PR Close #59077
2024-12-06 14:38:28 -08:00
arielbackenroth
34ded10fa6
fix(core): Fix a bug where snapshotted functions are being run twice if they return a nullish/falsey value. ( #59073 )
...
Snapshots can return nullish values; don't run the snapshotted function if the snapshotted function returns a nullish/falsey value.
PR Close #59073
2024-12-05 16:16:49 -08:00
Kristiyan Kostadinov
7e61217170
fix(compiler-cli): consider pre-release versions when detecting feature support ( #59061 )
...
Fixes that the logic which checks whether a feature is supported didn't account for pre-releases.
Fixes https://github.com/angular/vscode-ng-language-service/issues/2123 .
PR Close #59061
2024-12-05 16:15:12 -08:00
Kristiyan Kostadinov
cd764a3115
fix(compiler-cli): error in unused standalone imports diagnostic ( #59064 )
...
Fixes a null pointer error in the unused standalone imports diagnostic. It was caused by an inconsistency in TypeScript's built-in types.
Fixes #58872 .
PR Close #59064
2024-12-05 16:14:02 -08:00
Matthieu Riegler
ffae7df6e8
refactor(http): Don't log fetch warning in tests. ( #59049 )
...
Prior to this commit, we were logging the `NOT_USING_FETCH_BACKEND_IN_SSR` error when `provideHttpTestingClient` and `PLATFORM_ID` were provided.
fixes #59028
PR Close #59049
2024-12-05 16:12:55 -08:00
Charles Lyding
ae0802d63c
fix(platform-browser): collect external component styles from server rendering ( #59031 )
...
SSR generated component styles used in development environments will add
external styles via link elements to the HTML. However, the runtime would
previously not collect these link elements for reuse with rendered components.
This would result in two copies of the link elements present in the DOM. In
isolation this is not problematic as it is only present in development mode.
Unfortunately, the Vite-based CSS HMR functionality used by the Angular CLI
only updates the first stylesheet it finds and leaves other instances of the
stylesheet in place. This behavior causes the styles to be left in an
inconsistent state. This could be considered a defect within Vite as it should
update all relevant styles to maintain consistency but ideally there should
not be two instances in the Angular SSR case. To avoid the Vite issue, the
runtime will now collect SSR generated external styles and reuse them.
PR Close #59031
2024-12-05 16:12:22 -08:00
Matthieu Riegler
c521ce133f
docs: remove inline docs-code in table ( #58992 )
...
Having a code block yields the correct result.
Fixes #58989
PR Close #58992
2024-12-05 16:10:28 -08:00
Matthieu Riegler
3af585b98e
docs(docs-infra): enable tslint ( #58961 )
...
PR Close #58961
2024-12-05 16:03:36 -08:00
Sheik Althaf
044e1d8007
refactor(router): remove standalone true ( #58950 )
...
removed the standalone true from router package.
PR Close #58950
2024-12-05 16:02:37 -08:00
Matthieu Riegler
6d56dc332c
docs: fix formating for NG0913 ( #58869 )
...
fixes #58868
PR Close #58869
2024-12-05 16:01:55 -08:00
Alex Rickabaugh
1cd0eb83d2
refactor(router): remove circular dep in router navigation code ( #59083 )
...
Use `import type` to break phantom circular imports for the router
navigation implementation.
PR Close #59083
2024-12-05 16:01:16 -08:00
Alex Rickabaugh
9d73fe605e
refactor(router): remove circular dep in router model definitions ( #59083 )
...
Use `import type` to break phantom circular imports for router model
definitions.
PR Close #59083
2024-12-05 16:01:16 -08:00
Alex Rickabaugh
f87cdd9280
refactor(router): remove circular dep in RouterOutletContext ( #59083 )
...
Use `import type` to break phantom circular imports for
`RouterOutletContext`.
PR Close #59083
2024-12-05 16:01:16 -08:00
Alex Rickabaugh
308950dafa
refactor(core): remove circular dep in LView & LContainer definitions ( #59083 )
...
Use `import type` to break phantom circular imports in the runtime
definitions of `LView` and `LContainer`.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
8bc3693f7a
refactor(core): remove circular dep in JIT decorator definitions ( #59083 )
...
Use `import type` to break phantom circular imports in the runtime
definitions of JIT decorators.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
98471dfc08
refactor(core): remove circular dep in ComponentFactoryResolver ( #59083 )
...
Use `import type` to break a phantom circular import in the runtime
definition of `ComponentFactory` and `ComponentFactoryResolver`.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
850a2ad899
refactor(core): remove circular dep in DI code ( #59083 )
...
Use `import type` to break a phantom circular import in the DI code.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
c9ce08a7ea
refactor(core): remove circular dep in iterable differs. ( #59083 )
...
Use `import type` to break a phantom circular import in iterable differs.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
d0e0446149
refactor(core): remove circular dep in ViewRef definition ( #59083 )
...
Use `import type` to break a phantom circular import in the runtime
definition of `ViewRef`.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
b58123bfd8
refactor(compiler): remove circular dep in the output ast ( #59083 )
...
Use `import type` to break a phantom circular import in the output AST in
the compiler.
PR Close #59083
2024-12-05 16:01:15 -08:00
Alex Rickabaugh
3e8e9483db
refactor(compiler-cli): remove circular dep in the partial evaluator ( #59083 )
...
Use `import type` to break a phantom import cycle.
PR Close #59083
2024-12-05 16:01:15 -08:00
Tom Wilkinson
e2c8c6f269
refactor(core): Remove event_contract_multi_container ( #59059 )
...
This code has been moved internally.
PR Close #59059
2024-12-05 15:24:43 -08:00
Joey Perrott
47e314f418
ci: update to latest version of dev-infra actions ( #59070 )
...
Update to latest version of the actions
PR Close #59070
2024-12-05 08:17:29 -07:00
Pawel Kozlowski
4dfe7f1cce
release: cut the v19.0.3 release
2024-12-04 20:20:18 +01:00
Matthieu Riegler
a7fb45fba2
Revert "fix(platform-server): remove peer dependency on animations ( #58997 )" ( #59051 )
...
This reverts commit 1cfbfc66d3 .
PR Close #59051
2024-12-04 19:11:12 +01:00
Alan Agius
28c00cbc8b
build: update cross-repo angular dependencies ( #59048 )
...
This is a cherry-pick of #59011
PR Close #59048
2024-12-04 18:21:59 +01:00
hawkgs
7ad1f27d83
feat(docs-infra): use angular-ts and angular-html shiki highlighting ( #59004 )
...
Use `angular-ts` instead of `typescript` and `angular-html` instead of `html`.
PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs
e18adff76d
refactor(docs-infra): update comments ( #59004 )
...
Add missing file header comments and update others.
PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs
0c40bb28e1
refactor(docs-infra): convert code-example-s that have only region param to @example-s ( #59004 )
...
Replace all <code-example>-s within TS files that contain only a path and a region with JSDoc @example-s.
PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs
6338c1bece
test(docs-infra): interpolation mechanism ( #59004 )
...
Test all use cases that are supported by the interpolation mechanism.
PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs
54a1bcee20
fix(docs-infra): minor bug fixes ( #59004 )
...
Minor bug fixes found and implemented during testing.
PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs
dc8fd113a5
test(docs-infra): add initial test ( #59004 )
...
Setup the test suite and add the initial test.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
e0aa93e67f
fix(docs-infra): markdown code block highlighting for the different file types ( #59004 )
...
Set the code block language highlighting based on the file type.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
7e4d312aed
feat(docs-infra): remove redundant JSDoc transform related to code examples ( #59004 )
...
The transform is no longer relevant nor it served any functional purpose.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
8eb20463bf
fix(docs-infra): handle regions overlap and multiple-regions examples ( #59004 )
...
It seems that there are overlapping region markers and an example can be composed by multiple regions.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
d75c4d2d12
fix(docs-infra): interpolation script nesting ( #59004 )
...
Add support for nested #docregion-s and modify the examples caching.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
3c0e4938a7
feat(docs-infra): implement interpolation script ( #59004 )
...
The script substitutes the JSDoc example tags with the respective code sample.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
41a600f3ae
feat(docs-infra): include code examples files in the API gen ( #59004 )
...
The code examples in `package/examples` are now passed to the API JSON generator.
PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs
5f3ba068f1
docs: set syntax highlighting of code examples MD code blocks ( #59026 )
...
Set the syntax highlighting based on the code examples' language.
PR Close #59026
2024-12-04 17:30:28 +01:00
Pawel Kozlowski
6ae3ce7c81
release: cut the v19.0.2 release
2024-12-04 16:13:06 +01:00
hawkgs
7d2308f8ba
feat(docs-infra): move members descriptions section to the center of the page ( #58610 )
...
Move the members description section below the main content of the page since it is part of the core information about a doc item. The CLI reference details page is affected as well.
PR Close #58610
2024-12-04 15:26:15 +01:00
Sheik Althaf
0df7b1e0ed
refactor(common): remove standalone: true ( #58949 )
...
Removed the standalone true flag from common packages.
PR Close #58949
2024-12-04 12:41:51 +01:00
hawkgs
b8a2ae01d5
docs: fix missing alert block styles in the API reference ( #59020 )
...
Substitute legacy alert classes with the new ones.
PR Close #59020
2024-12-04 11:02:43 +01:00
Angular Robot
b5807c5bc7
build: update io_bazel_rules_sass digest to df7d2a9 ( #59034 )
...
See associated pull request for more information.
PR Close #59034
2024-12-04 10:59:37 +01:00
Jessica Janiuk
ad927bcf18
ci: add kirjs to pullapprove groups ( #59025 )
...
This adds Kirill to a number of pullapprove groups.
PR Close #59025
2024-12-03 18:31:38 +01:00
Alan Agius
5cd35cb9d1
docs: remove extra spacing from DI token note ( #59023 )
...
This commit removes extra spacing.
PR Close #59023
2024-12-03 16:14:17 +01:00
Angular Robot
a107bf8ddb
build: update dependency mocha to v11 ( #59012 )
...
See associated pull request for more information.
PR Close #59012
2024-12-03 12:21:45 +01:00