Matthieu Riegler
be5dbf45ba
docs: update guidelines.md to match best-practices.md
...
fixes #65953
2025-12-12 10:10:33 -08:00
Angular Robot
480c4dc263
docs: update cross-repo adev docs
...
Updated Angular adev cross repo docs files.
2025-12-12 10:05:23 -08:00
Angular Robot
16ab98fcf4
build: update dependency @actions/core to v2
...
See associated pull request for more information.
2025-12-12 09:52:01 -08:00
Miles Malerba
348f149e8b
feat(forms): pass field directive to class config
...
Updates signal forms to pass the full `Field` directive to the class
configuration functions, rather than just the state. This allows
developers to take the element as well as the state into consideration
when deciding classes to apply.
Closes #65762
BREAKING CHANGE: The shape of `SignalFormsConfig.classes` has changed
Previously each function in the `classes` map took a `FieldState`. Now
it takes a `Field` directive.
For example if you previously had:
```
provideSignalFormsConfig({
classes: {
'my-valid': (state) => state.valid()
}
})
```
You would need to update to:
```
provideSignalFormsConfig({
classes: {
'my-valid': ({state}) => state().valid()
}
})
```
2025-12-12 08:07:53 -08:00
Kristiyan Kostadinov
7be4ddef1c
fix(core): throw better errors for potential circular references
...
Currently circular references in user code manifest themselves with an error like `Cannot read properties of undefined (reading 'ɵcmp')`. This is a bit cryptic so these changes add an assertion mentioning circular references.
Relates to #65917 .
2025-12-12 08:06:26 -08:00
Alan Agius
128aef0ede
refactor(compiler): remove unnecessary sanitization for safe attributes
...
Remove sanitization for attributes that cannot execute code (e.g. `javascript: URIs`).
2025-12-12 08:05:58 -08:00
SkyZeroZx
8485579649
refactor(common): remove redundant providedIn: 'root' from injection tokens
...
Removes unnecessary declarations from injection tokens
2025-12-12 08:05:30 -08:00
hawkgs
1a9bfa8542
fix(devtools): last supported version
...
Bump to 12, as the message suggests.
2025-12-12 08:04:50 -08:00
hawkgs
aee536c8ca
refactor(devtools): improve the look of app state screens
...
Improve the look of "app not detected", "unsupported version" and "prod app not supported" screens.
2025-12-12 08:04:50 -08:00
Angular Robot
06fb97abf9
build: update dependency firebase-tools to v15
...
See associated pull request for more information.
2025-12-12 08:03:11 -08:00
Angular Robot
c8a46650a3
build: update bazel dependencies
...
See associated pull request for more information.
2025-12-12 08:02:24 -08:00
Angular Robot
ae6bbe9c43
build: update all non-major dependencies
...
See associated pull request for more information.
2025-12-12 08:01:56 -08:00
Angular Robot
8ef0009ffe
docs: update cross-repo adev docs
...
Updated Angular adev cross repo docs files.
2025-12-12 08:00:41 -08:00
Angular Robot
23547f04e9
build: update cross-repo angular dependencies
...
See associated pull request for more information.
2025-12-11 17:18:17 -08:00
Shuaib Hasan Akib
63538524bc
docs: simplify example headers by showing only the file name
...
Removed redundant `src/app/` prefixes from <docs-code> headers to make
examples cleaner and easier to read. The full path remains available via
the `path` attribute, so the shortened headers improve clarity without
losing context.
2025-12-11 17:17:05 -08:00
Andrew Xue
ff68806c67
docs(docs-infra): add primary color vars for tutorial button
2025-12-11 17:11:27 -08:00
Leon Senft
f0ad30cce6
docs(forms): fix broken example
...
As written, the example rewrote the input value as the user edited it,
causing all kinds of confusing behavior which rendered the input nearly
unusable. While such implementations are possible, they require great
care to manage the cursor position while editing. For the sake of
brevity, this example now only updates the model on `blur` events; once
the user is done editing.
2025-12-11 17:10:51 -08:00
SkyZeroZx
c4e7ac1b81
docs: fixed tutorial steps with identation formatting
2025-12-11 17:10:14 -08:00
SkyZeroZx
a8fac4ce3b
docs(docs-infra): Fix prefer/avoid rule matching with word boundaries
...
Improve code block rule detection by adding word-boundary anchors.
Also update indentation for consistency.
2025-12-11 17:08:50 -08:00
Angular Robot
567172b5bc
build: update peter-evans/create-pull-request action to v8
...
See associated pull request for more information.
2025-12-11 17:07:42 -08:00
SkyZeroZx
ef45637ca8
docs(language-service): add link to hydration guide in built-in names documentation
...
Adds link to hydration guide for `hydrate` keyword
2025-12-11 17:06:35 -08:00
Charles
97c7025d7d
docs: overhaul unit testing overview guide
...
This commit introduces a series of improvements to the unit testing overview guide to enhance clarity, organization, and accuracy.
2025-12-11 17:06:00 -08:00
Miles Malerba
fba0c88c9e
docs(forms): add guide on designing form models
...
Adds a new guide on designing form model for signal forms
2025-12-11 17:04:11 -08:00
Alex Rickabaugh
7c234486e6
release: cut the v21.1.0-next.3 release
v21.1.0-next.3
2025-12-11 15:48:59 -08:00
Alex Rickabaugh
bf86f5364f
docs: release notes for the v21.0.5 release
2025-12-11 15:43:22 -08:00
Miles Malerba
d0097f7d0c
fix(forms): fix signal forms type error
...
Removes the `implements` clause on the `Field` directive since it is
causing type errors for people.
2025-12-11 15:33:12 -08:00
SkyZeroZx
4f6014a756
fix(core): avoid false-positive deprecation when using InjectionToken with factory only
...
Prevents the deprecation warning that was incorrectly triggered when
defining an InjectionToken with only a `factory`, which correctly
defaults to the `root` scope.
2025-12-11 11:20:11 -08:00
Alex Rickabaugh
16364514e3
release: cut the v21.1.0-next.2 release
v21.1.0-next.2
2025-12-10 16:59:48 -08:00
Alex Rickabaugh
d343ff34a3
docs: release notes for the v21.0.4 release
2025-12-10 16:50:42 -08:00
Joey Perrott
a52c834536
build: update ng-dev to latest version
...
Update to the latest version of ng-dev
2025-12-10 16:44:10 -08:00
Angular Robot
d0c3806915
build: update cross-repo angular dependencies
...
See associated pull request for more information.
2025-12-10 13:20:56 -08:00
jnizet
c63ef9cb6a
docs: fix typos and clarify root effect
2025-12-10 12:40:59 -08:00
Chathulanka Gamage
7674ada620
docs: update control-flow.md to replace else-if with else if
...
fix incorrect hyphenated form "else-if" and update documentation to match correct syntax "else if"
2025-12-10 12:39:21 -08:00
Angular Robot
af6c01f9fb
build: update pnpm to v10.25.0
...
See associated pull request for more information.
2025-12-10 12:33:25 -08:00
Angular Robot
0ef185d015
build: update all non-major dependencies
...
See associated pull request for more information.
2025-12-10 12:28:42 -08:00
Angular Robot
25c569cf99
build: update all github actions
...
See associated pull request for more information.
2025-12-10 12:28:01 -08:00
Michael Small
3ab17876ba
docs: add 'new' to page 'Side effects for non-reactive APIs'
2025-12-10 12:27:25 -08:00
Matthieu Riegler
c429e701fc
refactor: spread rules with glob syntax
...
prettierignore does not support the glob syntax for multiple extensions.
2025-12-10 12:26:53 -08:00
SkyZeroZx
bff2dcb93c
docs: update forwardRef usage with signals and add HostListener note
2025-12-10 12:23:29 -08:00
Angular Robot
28338c44b3
build: lock file maintenance
...
See associated pull request for more information.
2025-12-10 12:21:26 -08:00
Jan Martin
954c546273
release: bump Angular DevTools version to 1.6.3
2025-12-10 11:37:13 -08:00
Andrew Scott
5988bdedae
refactor(core): Add transition.to property to FakeNavigation
...
This matches the upstream changes in https://github.com/whatwg/html/commit/f19930f98afeb7565cfc1cbc6a1d4a2086535bca
2025-12-10 10:18:08 -08:00
diegoinost02
9dd08c571a
docs(forms): document array item validation in Signal Forms
2025-12-10 10:17:27 -08:00
diegoinost02
e6865af8f1
docs(forms): add signal forms documentation for validating array items
2025-12-10 10:17:27 -08:00
SkyZeroZx
15e3407dab
docs(docs-infra): Fixes the visibility of the copy link button in API documentation headings
...
Fixes the visibility of the copy link button in API documentation headings.
The button now appears on hover, improving the user experience.
2025-12-10 10:15:59 -08:00
Shuaib Hasan Akib
1c6049584e
docs: hide menu icons from screen readers in aria example
...
Add aria-hidden="true" to decorative icon elements in the ARIA menu documentation
example to prevent screen readers from announcing both icon names and labels.
This improves the accessibility experience by ensuring only meaningful text
is announced to screen reader users.
Fixes : #65768
2025-12-10 10:09:35 -08:00
Matthieu Riegler
14713d0992
fix(forms): allow resetting with empty string
...
Both empty string and null values should be accepted when resetting
fixes #65949
2025-12-10 10:04:54 -08:00
Shuaib Hasan Akib
d0a34a6ca5
docs: use fenced code blocks and format examples
...
Replaces custom docs-code blocks with fenced Markdown code blocks and reformats examples to improve readability, consistency, and copy-paste behavior.
2025-12-10 09:35:50 -08:00
Shuaib Hasan Akib
1f29577077
fix(docs-infra): parse linenums attribute from triple backtick metadata
...
The triple backtick code block parser now extracts the linenums attribute
from metadata and applies it to enable line number display in code examples
2025-12-10 09:31:44 -08:00
Andrew Scott
d355205198
refactor(core): match spec updates for FakeNavigation
...
Updates FakeNavigation based on updates in https://github.com/whatwg/html/pull/11952
2025-12-10 08:19:23 -08:00