ahmadhakeem18
40e210858a
docs(docs-infra): remove the usage of the deprecated core mixin as it's no-op ( #58812 )
...
PR Close #58812
2024-11-22 14:44:10 +00:00
ahmadhakeem18
292147b42d
docs(docs-infra): fix visually-hidden elements style ( #58812 )
...
import visually-hidden styles from CDK as the new version of Angular material no more do that inside the deprecated core mixin
PR Close #58812
2024-11-22 14:44:10 +00:00
ahmadhakeem18
b46ac88a56
docs(docs-infra): fix the hovering animation of banner text and make the action on the parent ( #58775 )
...
PR Close #58775
2024-11-21 20:55:46 +00:00
ahmadhakeem18
66ef77fb5c
docs(docs-infra): show the top-level banner on top of all the elements ( #58775 )
...
Starting from Tablet-landscape siz display the banner on top of all the
elements, and for smaller sizes display it under the nav to make it
accessible to users
PR Close #58775
2024-11-21 20:55:46 +00:00
ahmadhakeem18
845e0c18c7
docs(docs-infra): fix top-level banner styles and make it responsive ( #58775 )
...
PR Close #58775
2024-11-21 20:55:45 +00:00
Paul Gschwendtner
0ce15c6b5e
docs: update tutorials and playground to v19.0.0 ( #58742 )
...
Updates boilerplate for tutorial and playground to use v19
PR Close #58742
2024-11-19 17:26:47 +00:00
ahmadhakeem18
61b39ddaa6
docs(docs-infra): Fix overflow styles in cards code examples ( #58704 )
...
PR Close #58704
2024-11-18 13:35:15 -08:00
Angular Robot
dc3a68bf67
build: update dependency marked to v15 ( #58573 )
...
See associated pull request for more information.
PR Close #58573
2024-11-11 17:11:27 +00:00
Matthieu Riegler
750432337b
ci: re-enable adev tests ( #58574 )
...
Previously we disabled the tests to land some breaking changes.
We can now update the dependencies and re-enable the tests.
PR Close #58574
2024-11-11 16:52:09 +00:00
Sheik Althaf
53341a3b8f
refactor(docs-infra): use reactive APIs in shared components ( #58425 )
...
Migrated the input, output and queries to reactive APIs for better support of zoneless.
PR Close #58425
2024-11-11 14:36:05 +00:00
Alan Agius
c2a9b75045
fix(docs-infra): retain function keyword in API definitions ( #58561 )
...
**Before:**
```ts
animate(
timings: string | number,
styles?: AnimationStyleMetadata | AnimationKeyframesSequenceMetadata | null
): AnimationAnimateMetadata;
```
**Now:**
```ts
function animate(
timings: string | number,
styles?: AnimationStyleMetadata | AnimationKeyframesSequenceMetadata | null
): AnimationAnimateMetadata;
```
PR Close #58561
2024-11-08 17:16:04 +00:00
Alan Agius
d271c4422a
fix(compiler-cli): correct extraction of generics from type aliases ( #58548 )
...
**Before:**
```ts
type HttpEvent = | HttpSentEvent
| HttpHeaderResponse
| HttpResponse<T>
| HttpProgressEvent
| HttpUserEvent<T>
```
**After:**
```ts
type HttpEvent<T> = | HttpSentEvent
| HttpHeaderResponse
| HttpResponse<T>
| HttpProgressEvent
| HttpUserEvent<T>
```
PR Close #58548
2024-11-08 17:15:06 +00:00
Alan Agius
c95aca1f17
docs(docs-infra): update default generic values and add constraints for type parameters in functions ( #58548 )
...
Before
```typescript
createNodeRequestHandler(
handler: T
): T;
```
```typescript
class NgIf<T> {
@Input() set ngIf(value: T);
@Input() set ngIfThen(value: TemplateRef<NgIfContext<T>> | null);
@Input() set ngIfElse(value: TemplateRef<NgIfContext<T>> | null);
static ngTemplateGuard_ngIf: "binding";
static ngTemplateContextGuard<T>(dir: NgIf<T>, ctx: any): boolean;
}
```
Now
```typescript
createNodeRequestHandler<T extends NodeRequestHandlerFunction>(
handler: T
): T;
```
```typescript
class NgIf<T = unknown> {
@Input() set ngIf(value: T);
@Input() set ngIfThen(value: TemplateRef<NgIfContext<T>> | null);
@Input() set ngIfElse(value: TemplateRef<NgIfContext<T>> | null);
static ngTemplateGuard_ngIf: "binding";
static ngTemplateContextGuard<T>(dir: NgIf<T>, ctx: any): boolean;
}
```
PR Close #58548
2024-11-08 17:15:06 +00:00
Alan Agius
3ecf0f6701
docs: add hybrid rendering API guide ( #58445 )
...
This commit introduces a new guide for hybrid rendering APIs, which are currently in developer preview. This documentation provides insights into the usage and features of the APIs, helping developers understand their capabilities and limitations during the preview phase.
PR Close #58445
2024-11-07 21:28:54 +00:00
Alan Agius
c5ce302e0b
docs(docs-infra): add support for @remarks ( #58523 )
...
In TSDoc, we currently handle the `@usageNotes` annotation, but this is not a standard TSDoc tag. Instead, the `@remarks` annotation is the correct standard, which is used in the Angular CLI repo and on the SSR package.
This change ensures that `@remarks` is treated the same as `@usageNotes` during the transform process.
PR Close #58523
2024-11-07 15:49:13 +00:00
Joey Perrott
637126cf6f
fix(docs-infra): update search provider link ( #58542 )
...
Update the link used to reference algolia as the search provider on our documentation site. Adds a few URL parameters
for algolia to map back to our usage.
PR Close #58542
2024-11-07 14:27:12 +00:00
Pawel Kozlowski
87344e49c0
refactor(docs-infra): migrate to output ( #58447 )
...
This change contains result of the automated migration
of the decorator based @Output to the function equivalent.
PR Close #58447
2024-10-31 19:58:37 +01:00
Alan Agius
01fcbafa2b
build: update cross-repo angular dependencies ( #58446 )
...
See associated pull request for more information.
Closes #57880 as a pr takeover
PR Close #58446
2024-10-31 19:05:01 +01:00
Alan Agius
f04e6063ae
fix(docs-infra): reduce margin-block-start from doc anchor headers ( #58431 )
...
This change reduces the spacing between headers, which is currently excessive.
PR Close #58431
2024-10-31 09:15:34 +01:00
Matthieu Riegler
c1aa9c6041
docs(docs-infra): fix CLI commands ( #58294 )
...
With this commit the CLI doc will display the correct arguments for the subcommands
fixes #58279
PR Close #58294
2024-10-22 07:42:21 -07:00
wlotherington
d3f8153917
docs(docs-infra): change mermaid diagram colors ( #58223 )
...
Change diagram colors to:
- Better match the overall site theme.
- Improve dark theme.
- Make the diagram easier to understand. "Unchecked" nodes have no color and "Checked" nodes match the color of the "Event" node that triggered the change detection.
Fixes #56314
PR Close #58223
2024-10-16 16:46:16 +00:00
arturovt
da6970d2cb
refactor(docs-infra): allow table of contents to be GCed ( #58034 )
...
This commit updates the table of contents functionality to clean up correctly whenever the user
navigates to other pages and nodes are removed from the DOM.
Currently, calling `renderComponent` with the `TableOfContents` keeps creating a new table of contents
component without removing the previous one, as they are created manually.
This leads to memory leaks because the components cannot be collected properly, even if the user
navigates to the home page where there is no TOC component.
PR Close #58034
2024-10-10 12:33:51 +00:00
ColinJolivet
5e0029237c
refactor(docs-infra): add tooltip to the download button in playground ( #58065 )
...
Add a material tooltip to the download button in the playground in order to clarify what this button does
PR Close #58065
2024-10-08 09:28:37 -07:00
Matthieu Riegler
bb0edaded0
docs(docs-infra): Add NgModule exports for directives. ( #58071 )
...
This information is extracted from the @NgModule Jsdoc tag.
fixes #57906
PR Close #58071
2024-10-04 14:46:16 -07:00
mgechev
bb747f144a
docs: add expiry to the top banner ( #57981 )
...
Adding an expiry date to the banner similarly to
aio so we can automatically hide it when we reach
a certain date.
PR Close #57981
2024-09-30 12:51:27 -07:00
Alan Agius
8f73199e9f
fix(docs-infra): update getAnswerFiles to ensure compatibility with non-POSIX file systems ( #57970 )
...
This update modifies the `getAnswerFiles` function to support file systems that do not adhere to POSIX standards.
Prior to this change this method will always fail with the below:
```
Error: Invalid state: could not find start of answers path
```
PR Close #57970
2024-09-26 14:29:44 -07:00
Joey Perrott
af66e2475d
fix(docs-infra): extend the timeout for jasmine tests of mermaid ( #57948 )
...
Extend the timeout because mermaid takes too long for the default.
PR Close #57948
2024-09-24 13:02:52 -07:00
Joey Perrott
9dbe6fc18b
refactor: update license text to point to angular.dev ( #57901 )
...
Update license text to point to angular.dev instead of angular.io
PR Close #57901
2024-09-24 15:33:00 +02:00
Alan Agius
eb5651fe98
fix(docs-infra): resolve Mermaid from Bazel root path ( #57924 )
...
This update addresses a build failure on Windows caused by the previous method, which was incompatible with the Windows environment.
Closes #57920
PR Close #57924
2024-09-23 17:20:53 +02:00
Andrew Scott
a1f229850a
feat(core): migrate ExperimentalPendingTasks to PendingTasks ( #57533 )
...
This commit promotes the `ExperimentalPendingTasks` service from
experimental to developer preview and includes a migration schematic for
the rename.
BREAKING CHANGE: `ExperimentalPendingTasks` has been renamed to
`PendingTasks`.
PR Close #57533
2024-09-20 18:26:48 +02:00
Matthieu Riegler
49f7179ded
docs(docs-infra): Add dedicated support for decorators. ( #57595 )
...
PR Close #57595
2024-09-19 14:16:31 -07:00
Angular Robot
8a5f3197c0
build: update cross-repo angular dependencies ( #57776 )
...
See associated pull request for more information.
Closes #56387 as a pr takeover
PR Close #57776
2024-09-13 16:09:02 +02:00
Michael Small
01ae0556e2
docs(docs-infra): remove more unused standalone imports ( #57703 )
...
PR Close #57703
2024-09-09 13:58:21 +00:00
Angular Robot
8d209ce0d6
build: update dependency diff to v7 ( #57705 )
...
See associated pull request for more information.
PR Close #57705
2024-09-09 13:57:41 +00:00
Matthieu Riegler
dbdd7875dd
docs: Enable direct links to class/interface methods for @link ( #57615 )
...
PR Close #57615
2024-09-06 16:03:36 +00:00
Matthieu Riegler
9624ab03c9
docs(docs-infra): fix extraction tests ( #57694 )
...
PR Close #57694
2024-09-06 15:07:47 +00:00
Matthieu Riegler
1698bd3ed8
refactor(compiler-cli): Do extract symbols from private modules. ( #57611 )
...
Modules like `core/primitives` are considered private and their symbols shouldn't be exposed nor linked in the docs.
PR Close #57611
2024-09-06 14:15:18 +00:00
Matthieu Riegler
e3919e7b9d
docs: display property details ( #57622 )
...
In case there are no signatures (like in an bare interface method), we display the implementation information.
PR Close #57622
2024-09-05 17:22:32 +00:00
Matthieu Riegler
1b7571f404
docs(docs-infra): enable tests for api-gen ( #57618 )
...
PR Close #57618
2024-09-05 14:05:04 +00:00
twerske
89d7351f81
docs: update top level banner styles ( #57503 )
...
PR Close #57503
2024-09-04 17:05:26 +00:00
Angular Robot
fc1734441b
build: update dependency diff to v6 ( #57631 )
...
See associated pull request for more information.
PR Close #57631
2024-09-03 07:49:04 -07:00
Matthieu Riegler
a84cecfc99
docs(docs-infra): add support for extends/implements on API entries ( #57588 )
...
PR Close #57588
2024-09-03 07:47:25 -07:00
Matthieu Riegler
b031b640b9
docs(docs-infra): Add set of unit tests to the API markdown parsing ( #57492 )
...
PR Close #57492
2024-08-30 11:12:25 -07:00
Matthieu Riegler
b96e75b89a
docs(docs-infra): Improve styling around API pages ( #57492 )
...
PR Close #57492
2024-08-30 11:12:25 -07:00
Matthieu Riegler
55387c5b56
docs(docs-infra): Improve support for deprecated methods ( #57492 )
...
PR Close #57492
2024-08-30 11:12:25 -07:00
Matthieu Riegler
01030d58a7
docs(docs-infra): Add support for cross-links on API pages ( #57346 )
...
PR Close #57346
2024-08-29 13:39:58 -07:00
Matthieu Riegler
6c2beba63d
docs(docs-infra): Add dev-mode only mention for core/global ( #57365 )
...
PR Close #57365
2024-08-29 10:17:35 -07:00
Angular Robot
48beea1073
build: update all non-major dependencies ( #57541 )
...
See associated pull request for more information.
PR Close #57541
2024-08-29 07:45:53 -07:00
Matthieu Riegler
e404f88092
docs(docs-infra): show usageNotes only for methods. ( #57343 )
...
Prior to this change, function and methods showed their usage notes which resulted in duplicate displays for functions.
Fixes #57339
PR Close #57343
2024-08-29 07:39:50 -07:00
Angular Robot
5fed53a57a
build: update dependency jsdom to v25 ( #57514 )
...
See associated pull request for more information.
PR Close #57514
2024-08-27 13:17:38 -07:00