Kristiyan Kostadinov
26e2092dd1
test: remove unnecessary test calls
...
Removes calls to `TestBed.configureTestingModule` since they aren't necessary.
2025-11-24 10:18:18 -05:00
SkyZeroZx
46269be842
feat(docs-infra): add docs-image extension for enhanced image handling in markdown
...
Extends the Markdown parser to support `loading`, `decoding`, and `fetchpriority` attributes for images via curly brace syntax.
2025-11-21 13:24:59 -05:00
Joey Perrott
f61e61ac4f
refactor(docs-infra): remove the multiple code example view modes
...
Rather than using multiple view modes for code examples, we can just treat the previous snippet mode as
as multifile mode that just only has one file in it.
2025-11-21 13:22:00 -05:00
Joey Perrott
88753d6a5a
refactor(docs-infra): improve code efficiency for adding line numbers
...
Only run the code for adding line numbers if line numbers are required, otherwise skip the code block
2025-11-21 13:20:46 -05:00
Joey Perrott
a873c4eb1a
refactor(docs-infra): remove the unnecessary whitespace using shiki
...
Use a transformer within shiki to remove the unnecessary whitespace between code lines
2025-11-21 13:20:46 -05:00
Joey Perrott
8ec0a4ee5c
refactor(docs-infra): drop support for providing a file diff in docs-code
...
Drop support for exposing a diff view in the docs-code element as it is unused and costly to even check for
2025-11-21 13:20:46 -05:00
Joey Perrott
fee79e37d5
refactor(docs-infra): use shiki for highlighting
...
Use shiki to perform highlighting instead of a postprocessing action
2025-11-21 13:20:46 -05:00
Joey Perrott
a8f46e598a
fix(docs-infra): link to the snippet location at the proper commit for examples
...
Within examples, we now link to the github URL using the commit that was made to create adev, rather than
always on main, which may change over time.
2025-11-21 13:19:53 -05:00
Jessica Janiuk
d42d7523ec
build: bump adev version
...
Bump adev versions for v21 release
2025-11-19 12:09:26 -08:00
Matthieu Riegler
c7424c8f07
docs: fix docs heading alignment
2025-11-18 17:00:24 -08:00
Andrew Seguin
d4595791d6
docs: hide temporary prerender tabs and multifile docs sections
2025-11-18 14:54:48 -08:00
Amy Sorto
111a7644ef
docs: update overview page
2025-11-18 14:54:08 -08:00
Cheng-Hsuan Tsai
d104acb286
docs(docs-infra): fix broken code tabs
...
When `<mat-tab-group>` is conditionally removed by `@if` it loses the
`<mat-tab>` projected content somehow.
2025-11-17 11:45:19 -08:00
Joey Perrott
7e70682f2b
docs: update examples to latest Angular
...
Updates the adev examples to use Angular 21.0.0-rc.2
2025-11-17 11:17:58 -08:00
Cheng-Hsuan Tsai
4dc226231c
docs(docs-infra): aria attribute typo
2025-11-17 09:29:26 -08:00
Cheng-Hsuan Tsai
138e65356b
docs(docs-infra): set max-height to code example
2025-11-17 09:28:14 -08:00
Shuaib Hasan Akib
ee5947db38
docs: improve accessibility with descriptive link and main landmark
...
- Replaced <a><button></button></a> with a proper <a> containing text and
aria-label to ensure links have discernible text.
- Added main tag in home page to provide
a consistent main landmark, improving accessibility for screen readers
and satisfying WCAG and Lighthouse requirements.
Fixes #65181 .
2025-11-17 08:32:00 -08:00
Shuaib Hasan Akib
f462684211
fix(docs-infra): add bash language support for shell prompt rendering
...
Code blocks with `bash` language identifier were not rendering the `$`
prefix, while `shell` blocks did.
This ensures consistent command-line prompt rendering across both
`bash` and `shell` code blocks in the documentation.
2025-11-17 08:31:26 -08:00
Cheng-Hsuan Tsai
48cff8c128
docs(docs-infra): make show code button more discoverable when collapsed
2025-11-17 08:07:01 -08:00
Kristiyan Kostadinov
1ba50caefc
fix(docs-infra): prevent example resets from affecting CDK
...
The example viewer has some `::ng-deep` styles that are used to reset global styles that leak into the live examples. It works by applying a style like `.docs-example-viewer-preview * {all: revert;}`.
The problem with this is that depending on when the first example is rendered, the styles will be lower or higher in the cascade, thus making the reset unreliable. Furthermore, it can affect structural styles from the CDK which intentionally have low specificity.
These changes move the resets into the global stylesheet to make them more predictable.
2025-11-17 08:05:12 -08:00
Cheng-Hsuan Tsai
de234def0e
docs(docs-infra): enable tabs layout
2025-11-14 12:24:01 -08:00
Angular Robot
5552707a97
build: update all non-major dependencies
...
See associated pull request for more information.
2025-11-14 08:54:51 -08:00
cexbrayat
c137f1fe91
docs: ExperimentalIsolatedShadowDom mentions
2025-11-14 08:41:13 -08:00
Cheng-Hsuan Tsai
6d8c3fc888
docs(docs-infra): hide file tabs when code example is hidden
2025-11-13 15:58:09 -08:00
Matthieu Riegler
f737a9dd5c
docs(docs-infra): Add support for metadata on fenced code blocks
...
This will help us replace `docs-code` with inline code usages and prevent future indentation issues
2025-11-13 09:36:13 -08:00
hawkgs
7ab1b3a32a
docs(docs-infra): improve playground layout
...
Improve the layout and optimize the empty space; Introduce some minor improvements to the code editor
2025-11-13 09:07:53 -08:00
SkyZeroZx
b6a91d4c39
docs: Fixed mermaid diagram node label contrast in dark mode
2025-11-12 15:01:35 -08:00
Matthieu Riegler
16e61f5dd0
docs(docs-infra): Add support for experimental enum entries
2025-11-11 08:46:06 -08:00
Angular Robot
47f6f71fc4
build: update dependency marked to v17
...
See associated pull request for more information.
2025-11-10 07:54:08 -08:00
Alan Agius
26fed34e0e
build: format md files
...
This commit configures prettier to format markdown files.
2025-11-06 10:03:05 -08:00
Angular Robot
2b71181288
build: update all non-major dependencies
...
See associated pull request for more information.
2025-11-05 15:13:37 -08:00
Miles Malerba
59635bba34
docs: improve docs generation for namespaces ( #64747 )
...
Improves docs epxerience for interfaces / type aliases that are merged
with a namespace.
PR Close #64747
2025-11-05 22:42:59 +00:00
Matthieu Riegler
7f44345db3
docs(docs-infra): fix heading layout on mobile
...
Long code blocks overflow the headings on narrow screen (like mobiles), this messes up the global layout of the page. With the ellipsis with fix that.
fixes #64845
2025-11-05 17:49:43 +00:00
marktechson
7a422c209a
docs: add v21 landing page
...
Adds a new landing page for developer events, starting with the v21 page. It also includes an ICS file link for calendar invites. Also updated the tests for the docs-pill to support two new attributes so developers can add the event to their calendars.
2025-11-03 23:59:20 +00:00
Miles Malerba
662f0e5c00
feat(docs-infra): add support for namespaces
...
Adds support for generating docs for namespaces (and merged declarations
of namespace + type)
2025-10-29 20:22:21 +00:00
SkyZeroZx
f3d056a065
docs(docs-infra): Prevent empty extends clause in interface documentation
...
Interfaces with no extends clause were incorrectly rendered with a trailing extends keyword followed by nothing, resulting in invalid TypeScript syntax
2025-10-29 18:48:30 +01:00
Shuaib Hasan Akib
5d8b76b4fa
fix(docs-infra): extract header attribute as title in multifile code snippets
...
The DocViewer component's getCodeSnippetsFromMultifileWrapper method was not
extracting the header attribute from nested <docs-code> elements, causing the
ExampleViewer to fall back to displaying file paths instead of custom headers
in tab labels.
This change adds title extraction from the header attribute when processing
multifile code snippets, ensuring that custom headers are properly displayed
in the code viewer tabs.
Fixes #64760
2025-10-29 18:48:00 +01:00
Shuaib Hasan Akib
33a872d90a
fix(docs-infra): update guide navigation to remain active with query params
...
The navigation list component was using `routerLinkActive` with
`{ exact: true }`, which required an exact URL match including query
parameters. When visiting `/update-guide?v=19.0-20.0&l=1`, the link
`/update-guide` didn't match, so the active class wasn't applied.
Updated `routerLinkActiveOptions` to ignore query parameters while
maintaining exact path matching so the navigation item stays highlighted
when interacting with the update guide form.
2025-10-28 15:58:25 +01:00
Shuaib Hasan Akib
27e183330e
fix(docs-infra): preserve shell class for multifile code blocks
...
The ExampleViewer component was extracting only innerHTML from code
blocks in multifile examples, which lost the shell class applied by
the formatCode function. This caused the $ prompt to not appear for
shell commands in multifile blocks even when language="shell" was set.
Modified the Snippet interface to track shell language state and
updated getCodeSnippetsFromMultifileWrapper and getStandaloneCodeSnippet
methods to preserve the shell class. Updated example-viewer template
to conditionally apply the shell class to the code wrapper element.
Fixes inconsistency between standalone and multifile shell code blocks.
2025-10-27 09:29:37 +01:00
Matthieu Riegler
6e7b3c2aa6
docs(docs-infra): Support linking to individual playground templates
2025-10-24 18:47:09 +02:00
Matthieu Riegler
57af0d7e1b
docs(docs-infra): enable strict templates
2025-10-24 15:23:26 +02:00
Matthieu Riegler
9126d0d616
docs(docs-infra): fix example viewer ( #64580 )
...
It was a regression introduced by #63915
PR Close #64580
2025-10-22 14:35:03 +00:00
SkyZeroZx
22270492f5
docs(docs-infra): Add OnPush change detection for components ( #64570 )
...
Improves Angular's OnPush change detection strategy for main and search history components
PR Close #64570
2025-10-22 14:34:26 +00:00
SkyZeroZx
5e55b87202
docs(docs-infra): Improves navigation list readability by balancing text wrapping ( #64512 )
...
Balances text wrapping for navigation items to enhance readability
PR Close #64512
2025-10-21 15:14:35 +00:00
Matthieu Riegler
54636eacca
docs(docs-infra): Extract multiple extends statements for interfaces ( #64539 )
...
fixes #64528
PR Close #64539
2025-10-20 21:18:13 +00:00
SkyZeroZx
ecb2507c8b
docs(docs-infra): Corrects repo name typo in entry parsing logic ( #64487 )
...
Ensures the repository reference uses the correct name to prevent confusion and maintain consistency across generated documentation entries.
PR Close #64487
2025-10-17 14:52:24 +00:00
Matthieu Riegler
ae4880f5fd
docs(docs-infra): fix mobile banner layout ( #64408 )
...
PR Close #64408
2025-10-15 10:41:04 -07:00
Angular Robot
002481b27b
build: update all non-major dependencies ( #64399 )
...
See associated pull request for more information.
PR Close #64399
2025-10-14 09:25:42 -07:00
Matthieu Riegler
3e3b6e8134
docs(docs-infra): Fix animation bug on iPhones ( #64342 )
...
PR Close #64342
2025-10-13 08:25:47 -07:00
Matthieu Riegler
59c152833e
docs: add check for non-existing anchor ( #64309 )
...
This is only for the anchors on the same document for now.
Commit also includes some reformating.
fixes #64303
PR Close #64309
2025-10-10 06:43:51 -07:00
Shuaib Hasan Akib
489711d75c
docs(docs-infra): add rel="noopener" to external links with target="_blank" in ExternalLink directive ( #64276 )
...
PR Close #64276
2025-10-09 05:29:30 -07:00
Angular Robot
cb6f8d4228
build: update all non-major dependencies ( #64265 )
...
See associated pull request for more information.
PR Close #64265
2025-10-09 05:23:34 -07:00
SkyZeroZx
6bc391c3d4
refactor(docs-infra): replace @Input with signal input for ignoredElementsIds in ClickOutside directive ( #64302 )
...
replace @Input with signal input for ignoredElementsIds in ClickOutside directive
PR Close #64302
2025-10-09 05:21:02 -07:00
Matthieu Riegler
69b3c05b9e
docs: add mentions host style bindings ( #64257 )
...
Also adds a section about css custom properties
fixes #64256
PR Close #64257
2025-10-07 20:39:40 -04:00
Matthieu Riegler
1ffc643737
docs(docs-infra): fix @example in class members ( #64249 )
...
eg: ApplicationRef
PR Close #64249
2025-10-06 15:11:31 -04:00
Shuaib Hasan Akib
015d582801
docs(docs-infra): keep file name visible when code block is hidden ( #64204 )
...
Ensures that file names remain visible even if the associated code block
is collapsed or hidden, improving readability and context in the docs.
PR Close #64204
2025-10-02 17:30:45 +00:00
Matthieu Riegler
563bc386b2
docs(docs-infra): fix app-scroller offset. ( #64144 )
...
Guide heading need different scroll offsets depending on the width of the screen. (The menu position varies).
PR Close #64144
2025-09-30 11:05:26 -04:00
Shuaib Hasan Akib
9a913dcfa9
docs(docs-infra): clean up code and use inferred types where possible ( #64139 )
...
PR Close #64139
2025-09-29 16:48:11 -04:00
Alan Agius
fc643c9044
build: adopt moduleResolution: "bundler" ( #64125 )
...
This commit updates the TypeScript configuration across the project to use `moduleResolution: "bundler"`. This modernizes our module resolution strategy to align with current TypeScript best practices and bundler behaviors.
The following changes are included:
- Updated `tsconfig.json` files to set `moduleResolution` to `"bundler"`.
- Updated the `rules_angular` bazel dependency to a version compatible with these changes.
- Adjusted related test files and golden files to reflect the new module resolution strategy.
PR Close #64125
2025-09-29 14:20:23 -04:00
hawkgs
0b2018d153
docs(docs-infra): align docs-step number to the heading ( #64035 )
...
Fix misaligned number element.
PR Close #64035
2025-09-24 18:31:42 +00:00
Cheng-Hsuan Tsai
60267282c7
docs(docs-infra): fix docs-card padding ( #64004 )
...
PR Close #64004
2025-09-23 14:18:31 +00:00
hawkgs
6f9f1ca6fe
docs(docs-infra): don't discard favorites in search history when reselected ( #63906 )
...
Do not downgrade favorites to recent search results when you reselect them via the search results list.
PR Close #63906
2025-09-22 14:22:19 +00:00
Matthieu Riegler
6782f7148d
docs: remove api grouping toggle ( #63961 )
...
PR Close #63961
2025-09-19 22:13:21 +00:00
Shuaib Hasan Akib
cc1032bd92
docs(docs-infra): removed unused common module ( #63915 )
...
PR Close #63915
2025-09-19 14:44:44 +00:00
Matthieu Riegler
5eb9f57ae8
docs: Introduce API category sorting ( #63914 )
...
PR Close #63914
2025-09-19 14:44:10 +00:00
hawkgs
b4960da4f1
docs(docs-infra): store search result fragment in search history ( #63866 )
...
Store the search result page fragment/sub-label in the search history and render it in the history items.
PR Close #63866
2025-09-17 14:56:31 +00:00
hawkgs
39cbb97dfc
docs(docs-infra): always include fragment in search results ( #63866 )
...
Always include page fragment/sub-title in the search dialog results.
PR Close #63866
2025-09-17 14:56:31 +00:00
Matthieu Riegler
d9369d199f
docs(docs-infra): Show package name for API references ( #63831 )
...
PR Close #63831
2025-09-16 17:36:50 +00:00
Matthieu Riegler
331e35c283
docs(docs-infra): fix colors ( #63842 )
...
fixes #63841
PR Close #63842
2025-09-16 17:36:18 +00:00
Matthieu Riegler
d53ac26d4e
docs(docs-infra): new home page ( #63662 )
...
ADEV is getting a new home page!
This is a first iteration.
PR Close #63662
2025-09-16 16:21:32 +00:00
Matthieu Riegler
5612ad5b45
docs: add alert about routelinkactive being a content query ( #63829 )
...
This commit also fixes an issue with alert that we're parse correctly if they were at the end of the markdown string
fixes #52877
PR Close #63829
2025-09-16 15:15:24 +00:00
Angular Robot
8952674621
build: update dependency jsdom to v27 ( #63780 )
...
See associated pull request for more information.
PR Close #63780
2025-09-15 15:28:37 +00:00
Oleg Ivanitski
420703f8fb
fix(docs-infra): fix guide content width ( #63798 )
...
This commit fixes the width of the content section, specifically the
reactive forms and template-driven forms section
Closes #63798
PR Close #63798
2025-09-15 15:25:40 +00:00
Shuaib Hasan Akib
53ef785067
docs(docs-infra): add missing type="button" for accessibility and to remove dev tools warning ( #63784 )
...
PR Close #63784
2025-09-15 15:25:08 +00:00
Shuaib Hasan Akib
7e828e3d39
docs(docs-infra): code style improvement and component update ( #63557 )
...
- Improved code style consistency in docs-infra
- Updated app.component.ts for enhancements
Co-authored-by: Matthieu Riegler <kyro38@gmail.com>
PR Close #63557
2025-09-15 15:02:24 +00:00
Angular Robot
f2bc4b5955
build: update all non-major dependencies ( #63779 )
...
See associated pull request for more information.
PR Close #63779
2025-09-15 14:39:22 +00:00
Shuaib Hasan Akib
be790e5f5c
docs(docs-infra): prevent empty h3 tags when title is empty ( #63573 )
...
Conditionally render h3 element only when title attribute has content
PR Close #63573
2025-09-08 14:50:47 -07:00
Shuaib Hasan Akib
e7fbee0a13
docs(docs-infra): quote title attributes in links ( #63578 )
...
Prevent broken HTML when link titles contain spaces by properly quoting the title attribute
PR Close #63578
2025-09-08 10:14:47 -07:00
Kristiyan Kostadinov
ecef955185
docs: update examples to latest Angular and TypeScript ( #63589 )
...
Updates the adev examples to use TypeScript 5.9 and Angular 20.2.
PR Close #63589
2025-09-05 13:54:40 -07:00
Alan Agius
af55552284
build: update @types/node to version ^20.18.8 ( #63611 )
...
Version 18 is quite old and no longer supported.
PR Close #63611
2025-09-05 13:48:16 -07:00
Alan Agius
f560536f08
test: increase mermaid spec timeout to reduce flakes ( #63610 )
...
The mermaid spec test can be flaky due to timeouts. This commit increases the timeout to 25 seconds to make the test more reliable.
PR Close #63610
2025-09-05 12:53:49 -07:00
Cheng-Hsuan Tsai
8401f8940f
docs(docs-infra): allow collapse code example ( #63559 )
...
PR Close #63559
2025-09-04 15:25:23 -07:00
Matthieu Riegler
31c689a5f4
docs(docs-infra): highlight & parse api descriptions. ( #63536 )
...
The prevent future regression of this, this commit introduces additional tests.
PR Close #63536
2025-09-02 16:49:10 +00:00
Shuaib Hasan Akib
15416067e2
docs(docs-infra): apply migration script changes ( #63514 )
...
PR Close #63514
2025-09-02 09:32:00 -07:00
Shuaib Hasan Akib
e75b04fb62
docs(docs-infra): properties should be readonly ( #63492 )
...
PR Close #63492
2025-08-29 14:06:33 -07:00
Shuaib hasan akib
a3938d550e
docs(docs-infra): makes signal readonly ( #63449 )
...
PR Close #63449
2025-08-29 13:01:53 +00:00
Angular Robot
1a26fd3c92
build: update all non-major dependencies ( #63412 )
...
See associated pull request for more information.
PR Close #63412
2025-08-28 18:54:12 +00:00
Hongxu Xu
1f4c5f72aa
refactor(bazel): reduce build deps ( #63348 )
...
clean up deps in bazel build scripts
PR Close #63348
2025-08-28 09:16:10 -07:00
Shuaib Hasan Akib
d635e6c07e
docs(docs-infra): tooltip on hover and message after copied ( #63167 )
...
PR Close #63167
2025-08-27 16:56:44 -07:00
Shuaib Hasan Akib
4c82b84c5b
docs(docs-infra): mark properties as readonly if they shouldn't change ( #63200 )
...
PR Close #63200
2025-08-27 16:16:25 -07:00
Matthieu Riegler
1bb30c7e49
docs(docs-infra): remove dependency on html-entities ( #63416 )
...
HTML entities are now supported, we don't need to convert them.
PR Close #63416
2025-08-27 11:40:50 -07:00
Joey Perrott
6e4d71e022
build: remove ts_project_interop file ( #63421 )
...
Remove the ts_project_interop.bzl file that no longer does interop work
PR Close #63421
2025-08-27 11:23:57 -07:00
Joey Perrott
b4ae94d5ef
refactor: remove TODOs which have been corrected ( #63421 )
...
Remove TODOs which were addressed but the comment was not removed
PR Close #63421
2025-08-27 11:23:57 -07:00
Joey Perrott
c15b8ed631
build: enable strict deps enforcement for ts_project ( #63375 )
...
Enable strict_deps testings for all ts_project and ng_project targets in the repo
PR Close #63375
2025-08-26 09:46:30 -07:00
Joey Perrott
2fcafb65c5
build: rename defaults2.bzl to defaults.bzl ( #63383 )
...
Use defaults.bzl for the common macros
PR Close #63383
2025-08-25 15:45:01 -07:00
Matthieu Riegler
47dc4ffd1a
docs(docs-infra): share markdown rendering and highlighting code between api-gen and guides ( #63357 )
...
This reduces code duplication and improves the maintability.
PR Close #63357
2025-08-25 15:33:55 -07:00
Matthieu Riegler
0cd75257de
refactor(docs-infra): ensure we're not creating nested anchor elements. ( #63352 )
...
With #63162 , we added automatic link creation on API symbols. The side effect was that we created HTML in some specific cases. For example with the docs-card we could have nested anchor elements which is invalid.
This commit prevent creating nested links inside docs-cards.
fixes #63351
PR Close #63352
2025-08-25 08:16:20 -07:00
Matthieu Riegler
05df189731
refactor(docs-infra): rename testing into test. ( #63352 )
...
We usually name `test` our test directories and `testing` for the testing helpers.
PR Close #63352
2025-08-25 08:16:20 -07:00
Joey Perrott
3df1dccebe
refactor: various build and import specificer fixes for strict deps ( #63323 )
...
Change direct deps in bazel targets and import specifiers within files to maintain strict deps requirements ahead of enabling strict deps tests in the repo
PR Close #63323
2025-08-22 14:45:00 -07:00
Matthieu Riegler
7d6ae95807
docs(docs-infra): fix mermaid rendering ( #63311 )
...
A recent update of mermaid change the html output. `rect` became `path`.
fixes #63308
PR Close #63311
2025-08-21 10:06:32 -07:00
Matthieu Riegler
da06239a41
docs(docs-infra): Add exemption list for linking symbols. ( #63309 )
...
PR Close #63309
2025-08-21 10:05:55 -07:00
Angular Robot
790143eb9b
build: update cross-repo angular dependencies ( #63284 )
...
See associated pull request for more information.
PR Close #63284
2025-08-20 15:58:42 +00:00
Matthieu Riegler
4dfa6f1942
docs(docs-infra): auto-links to API entries ( #63162 )
...
This is a first step to create links to API entries automatically.
It adds support for
- code spans (`` `symbol` ``)
- code blocks (`` ```some code here``` ``)
Links are generated from on a K/V map of API entries (symbol => package name).
The map is generated from the API manifest that we're already generating for the API docs.
For the moment, entries with identical names are skipped.
PR Close #63162
2025-08-20 13:05:48 +00:00
Matthieu Riegler
2aa9775078
docs(docs-infra): remove temporary shiki dts ( #63253 )
...
The tooling now supports reading `d.mts` typing files
PR Close #63253
2025-08-20 09:26:17 +00:00
Joey Perrott
718bfd2fb7
build: move from using WORKSPACE to MODULE.bazel ( #63246 )
...
Update to use MODULE.bazel
PR Close #63246
2025-08-20 08:26:17 +00:00
Matthieu Riegler
9b539a18ba
docs(docs-infra): lift circular imports ( #63186 )
...
This commit also adds adev on the cyclic import check.
PR Close #63186
2025-08-19 07:58:45 +00:00
Alan Agius
494385cac0
fix(docs-infra): allow wrapping of types-and-default CLI options ( #63211 )
...
This change fixes an issue where long lists of enum values would display on a single line, running off the screen, especially on mobile devices.
PR Close #63211
2025-08-18 12:52:03 +02:00
Alan Agius
2c34e37df9
fix(docs-infra): add spacing between Alias and Value ( #63211 )
...
Prior to this change there was noi spacing between the Alias and Value
PR Close #63211
2025-08-18 12:52:03 +02:00
Alan Agius
1714e9ea0e
fix(docs-infra): display value type in CLI pages ( #63211 )
...
The value type was not being displayed when a value had an enum, which was misleading. This change ensures the value type is always shown, so users know whether to expect a single value or an array of values.
PR Close #63211
2025-08-18 12:52:03 +02:00
Angular Robot
cdafe8b01e
build: update all non-major dependencies ( #63203 )
...
See associated pull request for more information.
PR Close #63203
2025-08-18 09:08:22 +02:00
Shuaib Hasan Akib
6f91972ae4
docs(docs-infra): replace Input by signal one ( #63169 )
...
PR Close #63169
2025-08-15 13:42:39 +02:00
Cheng-Hsuan Tsai
0f17623398
docs(docs-infra): add dark mode to example preview ( #63171 )
...
PR Close #63171
2025-08-15 13:41:08 +02:00
Cheng-Hsuan Tsai
b9a134b8eb
docs(docs-infra): fix codeblock styles ( #63153 )
...
PR Close #63153
2025-08-14 22:04:39 +02:00
Matthieu Riegler
93c735cae7
docs: fix edit links for block/element api entries ( #62766 )
...
PR Close #62766
2025-08-14 13:03:00 +02:00
Joey Perrott
c35c0c7f2f
build: update to bazel 7.6.0 ( #63096 )
...
Update to later version of bazel
PR Close #63096
2025-08-14 13:01:30 +02:00
Jeremy Elbourn
e64271df92
fix(docs-infra): put content in <main> element ( #63121 )
...
This fix updates the adev `DocViewer` component to support rendering with the `main[docsViewer` selector so that the primary content for the page is inside of a `<main>` element (without introducing an extra DOM element).
PR Close #63121
2025-08-12 11:05:13 -07:00
Joey Perrott
c4dcfdf644
build: update to the latest version of devinfra and rename npm2 workspace ( #63093 )
...
Rename the npm2 workspace to npm and use the latest version of devinfra which drops rules_nodejs
PR Close #63093
2025-08-11 10:35:32 -07:00
Cheng-Hsuan Tsai
621d077746
docs(docs-infra): fix inconsistent codeblock styles ( #63041 )
...
PR Close #63041
2025-08-07 09:09:21 -07:00
Ryan Bendel
d24d5742db
feat(platform-browser): Add IsolatedShadowDom encapsulation method ( #62723 )
...
IsolatedShadowDom encapsulation fixes style leakage in Shadowdom encapsulation by removing sharedstyleshost from dom-renderer IsolatedShadowdom class. Updates docs.
PR Close #62723
2025-08-06 16:48:37 +02:00
Joey Perrott
fa8d8b8396
build: migrate all npm packages to use new rules_js based npm_package rule ( #62954 )
...
Use a common rule for all npm_packages
PR Close #62954
2025-08-05 19:08:45 +00:00
Matthieu Riegler
9da26addfa
docs: disable stackblitz examples ( #62972 )
...
This isn't supported ATM.
PR Close #62972
2025-08-04 11:39:38 +02:00
Joey Perrott
cbc258eec8
build: remove ts_project_interop infrastructure ( #62908 )
...
Remove the interop macros and final usages
PR Close #62908
2025-07-31 09:12:58 +00:00
Joey Perrott
008ed216d3
build: remove usages of runtime_rnjs_interop ( #62908 )
...
Remove all usages of the runtime_rnjs_interop feature
PR Close #62908
2025-07-31 09:12:58 +00:00
Joey Perrott
49b7729e88
build: remove usages of rules_nodejs ( #62885 )
...
Remove rules_nodejs usages with direct migrations to rule_js alternatives
PR Close #62885
2025-07-30 08:51:27 +00:00
Joey Perrott
32c00ab416
build: standardize usage of js_binary ( #62860 )
...
Remove usages of nodejs_binary and use a commonly defined js_binary macro
PR Close #62860
2025-07-29 06:43:44 +02:00
Joey Perrott
caee6ff8e7
build: remove all usages of @bazel/runfiles ( #62804 )
...
Remove usages of @bazel/runfiles throughout the repository
PR Close #62804
2025-07-25 10:04:55 +02:00
Joey Perrott
8bf97d1370
build: remove all usages of the interop_deps attr for ts_project and ng_project ( #62732 )
...
Remove all of the usages of interop_deps as attributes in the repo
PR Close #62732
2025-07-21 13:03:09 -04:00
Angular Robot
8b5f814ed6
build: update all non-major dependencies ( #62701 )
...
See associated pull request for more information.
PR Close #62701
2025-07-21 10:47:49 -04:00
Angular Robot
891444d48b
build: update cross-repo angular dependencies ( #62557 )
...
See associated pull request for more information.
PR Close #62557
2025-07-18 09:47:19 -04:00
Joey Perrott
e8c5603126
build: move all rule/macro loading into adev/defaults.bzl and fix intellisense loading ( #62627 )
...
Move all of our loading into a local defaults.bzl file instead of mixed loading via tools/defaults and adev/defaults
PR Close #62627
2025-07-14 15:47:05 -07:00
Joey Perrott
eca2334df5
docs: correctly look for examples in the bin_dir instead of execPath ( #62632 )
...
Properly look for the example files for live previews in the bin_dir
PR Close #62632
2025-07-14 14:49:16 -07:00
Matthieu Riegler
7bcaf01ace
build: set paths for devtools & adev ( #62574 )
...
This allows the IDE to find the right imports
PR Close #62574
2025-07-14 14:11:09 -07:00
Matthieu Riegler
2d048d5520
test(docs-infra): Use the zoneless testing rule ( #62596 )
...
This will spare use the warning logs when the tests run.
```
NG0914: The application is using zoneless change detection, but is still loading Zone.js. Consider removing Zone.js to get the full benefits of zoneless. In applications using the Angular CLI, Zone.js is typically included in the "polyfills" section of the angular.json file.
```
PR Close #62596
2025-07-14 11:36:43 -07:00
Matthieu Riegler
00afc73f67
docs: fix CLI reference layout ( #62609 )
...
fixes #62602
PR Close #62609
2025-07-14 09:59:54 -07:00
Matthieu Riegler
57e06c5232
docs(docs-infra): Add status to some guide entries. ( #62614 )
...
Guide entries can now have "new" or "updated" tags.
PR Close #62614
2025-07-14 09:58:14 -07:00
Matthieu Riegler
2ddd9aa4c3
docs(docs-infra): update update guide when changing level ( #62526 )
...
This commit also fixes the colors of the material button toggle
fixes #62432
PR Close #62526
2025-07-09 12:40:01 -07:00
Matthieu Riegler
5c54cb87a5
docs: improve support for decorator APIs ( #60411 )
...
The commit introduce the distinction between
- class like decorators (like Component, Interface, NgModule. They are formatted like classes/interfaces, with each attribute being documents.
- function like decorators (Attribute, Host, Optional...)
PR Close #60411
2025-07-03 11:51:34 +00:00
Matthieu Riegler
08e6e7bf37
docs: display deprecation message for top most symbol ( #62427 )
...
For classes, types, functions, enums etc.
fixes #62365
PR Close #62427
2025-07-03 08:35:01 +00:00
Joey Perrott
50a69dee6c
build: only require workspace build packages for web tests when provided ( #62443 )
...
Only use the builds from the workspace as for the bootstrap scripts for web testing
PR Close #62443
2025-07-03 08:34:25 +00:00
Shuaib Hasan Akib
99069c2252
refactor(docs-infra): removed unused imports ( #62441 )
...
Cleans up instances of unused imports in a few shared docs components.
PR Close #62441
2025-07-03 08:11:45 +00:00
Shuaib Hasan Akib
9fc1383115
refactor(docs-infra): cleanup lines in scss ( #62438 )
...
Cleans up some of the scss code.
PR Close #62438
2025-07-03 08:11:09 +00:00
Joey Perrott
73434e366f
build: migrate all dependencies for adev into adev/package.json ( #62435 )
...
Migrate the dependencies into the adev/package.json instead of importing from the the root package.json
PR Close #62435
2025-07-03 08:09:34 +00:00
Joey Perrott
2050ffa691
build: migrate remaing esbuild and nodejs_binary usages to new toolchain ( #62435 )
...
Migrate the remaing usages of esbuild and nodejs_binary in adev to the new toolchain versions.
PR Close #62435
2025-07-03 08:09:33 +00:00
Shuaib Hasan Akib
cd87a71e19
docs(docs-infra): replace deprecated RouterTestingModule with RouterModule.forRoot([]) ( #62364 )
...
PR Close #62364
2025-07-02 16:52:31 +00:00
Joey Perrott
4fae4dbba8
build: migrate adev to use packaged version of @angular/* packages ( #62413 )
...
Use the packaged versions of the packages instead of the local ts_project dependencies to prevent multiple versions of the deps to enter test bundles
PR Close #62413
2025-07-02 16:10:25 +00:00
Joey Perrott
ad89f80969
build: migrate adev to use new sass ruleset ( #62297 )
...
Use the new sass ruleset for bazel sass building in adev
PR Close #62297
2025-06-27 09:25:43 +00:00
Angular Robot
5ccb81ec59
build: update dependency marked to v16 ( #62320 )
...
See associated pull request for more information.
PR Close #62320
2025-06-27 08:59:21 +00:00
Joey Perrott
b84859073b
build: migrate to use web test runner rules ( #62292 )
...
Migrate karma tests throughout the repo to use the new web test runner based rule instead
PR Close #62292
2025-06-26 17:19:10 +00:00
Saujan Ghimire
d4b96f8c20
docs: embeded best practices in page ( #62173 ) ( #62198 )
...
PR Close #62198
2025-06-24 08:52:24 +00:00
Joey Perrott
36d5048429
build: migrate final non-zone.js jasmine tests ( #62169 )
...
Migrate the final remaining non-zone.js package jasmine tests to the new toolchain
PR Close #62169
2025-06-24 08:46:39 +00:00