Matthieu Riegler
87659baa01
docs(docs-infra): limit file interactions on tutorials. ( #61696 )
...
The restricted mode on the code editor prevents renaming, deleting or adding files.
PR Close #61696
2025-05-27 11:33:11 -07:00
Angular Robot
cc5a393a27
build: lock file maintenance ( #61681 )
...
See associated pull request for more information.
PR Close #61681
2025-05-26 11:56:37 +00:00
Alan Agius
f355fbc446
build: disable esbuild metadata file generation ( #61636 )
...
Disables creation of the esbuild meta.json file, which is not utilized in the build process. This streamlines the output and avoids generating unused artifacts.
PR Close #61636
2025-05-26 08:57:44 +00:00
Charles Lyding
f1568efcbe
docs: add initial experimental vitest testing guide ( #61483 )
...
An initial guide to use the experimental unit testing system with the
vitest runner has been added. This includes setup instructions for switching
from the karma/jasmine based system.
Additional content for configuration and potential migration of existing
projects may be added in future changes.
PR Close #61483
2025-05-23 15:39:38 -07:00
Andrew Scott
eb4abc2ddb
refactor(zone.js): Add a withProxyZone helper that might be used for unpatched test frameworks ( #61626 )
...
As an alternative to monkey patching vitest, this change adds a method that could be used
for manually running functions inside a shared proxy zone. If used inocrrectly,
this would mean that
the `fakeAsync` closure may not capture all timers and microtasks if it
invokes things created in a zone that was already forked (e.g. creating
a component in a beforeEach:
https://github.com/angular/angular/blob/2699dd65558d70fadeac1e9b420841f3dfc3a059/packages/zone.js/lib/jasmine/jasmine.ts#L363-L371 )
PR Close #61626
2025-05-22 13:39:32 -07:00
michael-small
2ee9cb03f7
docs: remove dev preview banner from RXJS interop ( #61598 )
...
Disclaimer: I made this PR directly from the MD editor in GH since I can't run the docs locally at the moment.
PR Close #61598
2025-05-22 13:00:24 -07:00
Matthieu Riegler
cee40cf778
docs: remove top level heading which ( #61593 )
...
It interferes with `docs-decorative-header`
PR Close #61593
2025-05-22 12:12:34 -07:00
Hakeem
e7cb313823
docs(docs-infra): fix nav items active status is shown for multiple items ( #61597 )
...
PR Close #61597
2025-05-21 16:04:30 -07:00
Joey Perrott
0503362d4b
build: remove the "restamping" substitutions from adev shared-docs package ( #61585 )
...
Remove the substitutions as they are not actually needed
PR Close #61585
2025-05-21 17:37:54 +00:00
marktechson
c0f27a5d56
docs: add new ai setcion to adev ( #61583 )
...
This new sections outlines guides, code samples and best practices for building AI apps with Angular.
PR Close #61583
2025-05-21 17:04:17 +00:00
hirowf
d97892aec5
docs: include bun in packageManager value types ( #60907 )
...
PR Close #60907
2025-05-21 15:19:41 +00:00
PandaByte
545bd3ef1a
docs: fix capitalization error ( #61554 )
...
PR Close #61554
2025-05-21 13:42:38 +00:00
Charles Lyding
83bb1f8e9e
docs: add a short redirect for HMR information ( #61545 )
...
The `https://angular.dev/hmr ` URL will now redirect
to the HMR information at the longer URL:
https://angular.dev/tools/cli/build-system-migration#hot-module-replacement
This shorter URL will be used within console messages within the Angular CLI.
PR Close #61545
2025-05-21 10:00:29 +00:00
Ahmed Hakeem
6e3270c6d1
docs(docs-infra): modify bazel config to include shared docs global styles ( #61384 )
...
PR Close #61384
2025-05-21 09:51:49 +00:00
Hakeem
5bf75b8016
docs(docs-infra): fix docs pages overflow when specific example-viewer exists ( #61384 )
...
enforce content to be fluid until a specific max width, and rollback breakpoints to be applied when 1430px is the current win size
as widths between 1430px and 1431px will be broken
PR Close #61384
2025-05-21 09:51:49 +00:00
Matthieu Riegler
0a82e58c21
docs: fix info about descendants for content queries. ( #61534 )
...
- `descendants` option is `true` for `contentChild`
- `descendants` option is `false` for `contentChildren`
PR Close #61534
2025-05-21 09:06:07 +00:00
Angular Robot
3b564e7d80
docs: update Angular CLI help ( #61527 )
...
Updated Angular CLI help contents.
PR Close #61527
2025-05-20 20:08:33 +00:00
Matthieu Riegler
272ad0454c
docs(docs-infra): display CLI enum values for enums ( #61521 )
...
fixes #61516
PR Close #61521
2025-05-20 16:54:14 +00:00
Matthieu Riegler
43588f3ff4
docs(docs-infra): fix substitution regex ( #61515 )
...
It was replacing `rgba(0,0,0,0)` with `rgba(99.99.99, 0)`
PR Close #61515
2025-05-20 14:27:27 +00:00
Alan Agius
30e081287d
fix(core): update min Node.js support to 20.19, 22.12, and 24.0 ( #61500 )
...
This is to match the versions of the Angular CLI.
See: https://github.com/angular/angular-cli/pull/30349
PR Close #61500
2025-05-20 14:17:20 +00:00
Jens Kuehlers
16d7a7bb7f
docs: replace material.a.io with material.a.dev ( #61513 )
...
PR Close #61513
2025-05-20 13:40:45 +00:00
Joey Perrott
82b51c6ac1
build: move ts_project and ng_project for adev into a macro ( #61345 )
...
Move ts_project and ng_project into a macro for adev/ instead of providing a custom
tsconfig on every target
PR Close #61345
2025-05-20 09:17:08 +00:00
Joey Perrott
a66e71d338
build: migrate adev to use ng_project ( #61345 )
...
Move all of adev to use ng_project instead of ng_module
PR Close #61345
2025-05-20 09:17:07 +00:00
mgechev
d12844e4c3
docs: add update instructions for v20 ( #61338 )
...
PR Close #61338
2025-05-20 08:51:19 +00:00
Miles Malerba
de602b4220
docs: point cdk drag-drop doc links to adev api pages ( #61437 )
...
Now that the drag and drop API pages are on adev we can link to those
instead of external linking to material.angular.io
PR Close #61437
2025-05-19 16:04:09 +00:00
Angular Robot
425b9656a3
build: lock file maintenance ( #61457 )
...
See associated pull request for more information.
PR Close #61457
2025-05-19 11:20:51 +00:00
Alan Agius
74be701d82
build: remove @types/diff ( #61448 )
...
The latest diff package includes the TS types.
PR Close #61448
2025-05-19 09:18:21 +00:00
Ben Hong
810b3efec0
docs: add intro to new ssr guide and refactor information architecture ( #61377 )
...
PR Close #61377
2025-05-19 08:18:49 +00:00
Matthieu Riegler
4282dc3a54
docs: replace references to platform-brower-dynamic with platform-brower ( #61428 )
...
PR Close #61428
2025-05-19 08:04:51 +00:00
Matthieu Riegler
cf92f0d703
docs(docs-infra): only show clear button of textfield when there is a text ( #61427 )
...
PR Close #61427
2025-05-16 15:57:37 +00:00
Angular Robot
670b83c1de
build: update dependency diff to v8 ( #61422 )
...
See associated pull request for more information.
Closes #61399 as a pr takeover
PR Close #61422
2025-05-16 15:49:29 +00:00
Angular Robot
e17ba18fd6
build: lock file maintenance ( #61267 )
...
See associated pull request for more information.
PR Close #61267
2025-05-16 15:47:50 +00:00
Matthieu Riegler
6ffdfc5a31
docs(docs-infra): llms-full.txt ( #61356 )
...
This includes a basic script to generate the file from the list of markdown files `llms-list.md`
PR Close #61356
2025-05-16 14:38:05 +00:00
Vlad Boisa
a90c7204f5
docs: fix typos ( #61257 )
...
Change grammar and fix typos in docs
Fixes #61244
PR Close #61257
2025-05-16 10:20:37 +00:00
Matthieu Riegler
f0e961cde2
docs: fix note formatting about optionam chaining ( #61251 )
...
PR Close #61251
2025-05-16 10:09:37 +00:00
Matthieu Riegler
095fa2f4b8
docs(docs-infra): fix API query filtering. ( #61300 )
...
On `19.2` we pass an undefined value to the text-field.
But more generaly, the CVA should protect itself if it doesn't recieve an `undefined` value.
fixes #61299
PR Close #61300
2025-05-16 09:57:06 +00:00
Vlad Boisa
378606ea3e
docs: fix incomplete sentence ( #61391 )
...
Fix insufficient sentence.
Fixes #61350
PR Close #61391
2025-05-16 09:35:46 +00:00
Matthieu Riegler
c0fb34b4c9
docs: fix Routed components example ( #61278 )
...
fixes #61277
PR Close #61278
2025-05-16 09:14:41 +00:00
Andrew Scott
cabca2d93f
fix(docs-infra): Correctly support the CLI tutorial type ( #61246 )
...
There were a myriad of problems when using the type: 'cli' for a
tutorial:
* Editor component would flicker the non-cli version first since that
was the default value. Fixed by not showing anything until type is
available
* Editor component still rendered a split screen when there was no
preview. Fixed
* Project initialization was incorrect because the terminal would appear
to be available but really didn't work until dependencies were done
installing. Fixed by sharing initialization with regular project init
and piping the install output to the interactive terminal
* Terminals would not work when going from type: 'cli' to another or
vice versa. This is because the element instance of a terminal cannot
change once it is opened. Fixed by dispoing and recreating terminals
when the element changes
PR Close #61246
2025-05-16 07:50:24 +00:00
Angular Robot
a1807e5bea
docs: update Angular CDK apis [20.0.x] ( #61348 )
...
Updated Angular CDK api files.
PR Close #61348
2025-05-16 07:40:59 +00:00
Andrew Seguin
c5a83a444b
docs: make drag and drop examples preview ( #59737 )
...
PR Close #59737
2025-05-16 07:38:06 +00:00
Miles Malerba
3666b6e48b
docs: fix embedded preview ( #59737 )
...
update the embeddable examples glob to captrue the drag & drop examples,
and fix the current build issues in the drag & drop examples
PR Close #59737
2025-05-16 07:38:06 +00:00
Andrew Seguin
354cdd90e6
docs: add preview to an example to test ( #59737 )
...
PR Close #59737
2025-05-16 07:38:06 +00:00
Miles Malerba
46ee5bc832
ci: fix build ( #59737 )
...
Deletes the BUILD.bazel in examples/drag-drop so the files can be
collected in examples/BUILD.bazel instead
PR Close #59737
2025-05-16 07:38:06 +00:00
Amy Sorto
5a196e89f8
docs: add code examples for drag and drop guide ( #59737 )
...
# Conflicts:
# adev/src/content/guide/BUILD.bazel
PR Close #59737
2025-05-16 07:38:06 +00:00
Amy Sorto
5a332f19e6
docs: add drag and drop guide ( #59737 )
...
PR Close #59737
2025-05-16 07:38:06 +00:00
Will 保哥
e864461d60
docs: update Traditional Chinese footer link ( #61280 )
...
update Traditional Chinese footer link from angular.tw to dev.angular.tw to direct users to the new Traditional Chinese dev site.
PR Close #61280
2025-05-16 07:36:21 +00:00
Matthieu Riegler
2eba8762b4
docs: add llms.txt ( #61285 )
...
PR Close #61285
2025-05-15 10:09:16 -07:00
Hakeem
558ff67a64
docs(docs-infra): fix update page styles to adhere to the new layout ( #61256 )
...
PR Close #61256
2025-05-14 08:47:33 -07:00
Hakeem
b0915c86b3
docs(docs-infra): fixating the position of the docs content whether TOC exists or not ( #61256 )
...
PR Close #61256
2025-05-14 08:47:32 -07:00