Switches the Material and CDK components to be used directly, instead of using the modules. This allows better diagnostics for unused directives.
(cherry picked from commit 508d9c34d5)
Updates the Reactive Forms documentation link to the new `guide/forms/reactive-forms` path after the recent docs restructure.
(cherry picked from commit 4adbc4fa19)
Previously our system only found the first matching symboling to link to within a code block on each line, now we set up a link for all of the discovered symbols on each line
Fixes#65403
(cherry picked from commit a88f353a45)
Update the skip-to-main-content behavior to focus the <main> element when present, with a fallback to the first heading for legacy layouts without a main landmark.
(cherry picked from commit 30b78bdc71)
There has been a bunch of confusion as to how `animate.leave` works on child nodes when the non-animated parent is removed. This section addition should clarify that.
(cherry picked from commit 5d46554e3f)
The Zone.js build was depending on the `--outFile` flag from TypeScript which is deprecated. These changes switch to using `--outDir` and copying the files out of the directory instead.
(cherry picked from commit 52bc0208f9)
Previously we were unconditionally setting the control value back into
the value, regardless of if it had actually been changed. This PR
changes the logic to flush the pending sync on touch if there is one, or
just skip it if there isn't.
(cherry picked from commit e7b2dde6d1)
Currently migrating from `[ngClass]` to `[class]` isn't entirely supported, because `[ngClass]` supports `Set` values while `[class]` ignores them.
These changes add a bit of logic to bring them closer together and make the migration easier.
(cherry picked from commit 4831a9f676)
This PR adds the ability to manually register a binding with the
`FormField` directive. This is useful for a lower-level implementation
that takes the field tree as an `input()` rather than relying on the
automatic binding from `FormUiControl`.
(cherry picked from commit 5974cd0afc)
Use public folder rather than assets folder after the change in angular-cli's defaults for angular.json
Fixes#58981
(cherry picked from commit f2cf96b519)
Adds an IMPORTANT label to emphasize the guidance about avoiding impure
pipes due to potential performance impact.
(cherry picked from commit c9f584b918)
Removes direct `ViewChild` access from `TextField` components and relies on
Signals Forms via the `focusBoundControl` to manage focus.
(cherry picked from commit 074666b2e8)
Fixes an issue where a trailing slash was sometimes added to the end of URLs in the sitemap, causing unnecessary redirects.
Example of problematic URL:
```xml
<loc>https://angular.dev/</loc>
```
(cherry picked from commit 710a4bf02b)
- Ensure there is a GITHUB_TOKEN environment variable at the start so we can push the release
- More robust handling for finding releaser's fork if it's not 'origin'
(cherry picked from commit 227acddd3a)
Updates the syntax definition to handle arrow functions. The definition is largely based on TypeScript's own syntax highlighting since it's quite complex.
(cherry picked from commit b95753eb7d)