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)
Replaced padding-block-start with margin-block-start on
.docs-reference-section-heading to prevent anchor hover and click areas from extending into empty space above the heading. This ensures hover behavior aligns with the visible text.
(cherry picked from commit f53f878e0f)
Block entries (@if, @defer, @for,@let, @switch) were falling back to the generic
DocsReference template, causing the description to appear twice - once in
the header section and once in the main content area.
This commit adds a dedicated rendering path for block entries:
- Creates BlockEntryRenderable type and associated transforms
- Adds BlockReference template that uses RawHtml directly
- Modifies HeaderApi to accept hideDescription prop
- Updates processing and rendering pipelines to handle blocks
The fix ensures block documentation displays only one description section
while preserving the existing behavior for all other API entry types.
Update adev/shared-docs/pipeline/api-gen/rendering/transforms/block-transforms.mts
Co-authored-by: Matthieu Riegler <kyro38@gmail.com>
(cherry picked from commit 8bdd98ef41)
Removes the unnecessary `Component` suffix from examples.
Also fixes button styling in the animations examples, which previously did not render correctly in dark mode.
(cherry picked from commit 511d9ca9d2)
Updates incorrect highlighted line numbers so they match the intended
code being referenced in the documentation.
(cherry picked from commit c63bc58e0f)
Improved documentation for the aria listbox component. Added an example comparing selectionMode input.
Fixes: #65682
(cherry picked from commit e7f24014cf)
This completes the rename started in #66136. `[field]` is too generic of
a selector for the forms system to own, and likely to cause naming
collisions with existing components. Therefore it is being renamed to
`[formField]`
(cherry picked from commit 5671f2cc07)
Cleans up the abort listener once the timeout resolves to prevent it from
remaining attached longer than necessary.
(cherry picked from commit 94b707957a)
Improves label fallback in search results by providing a fallback to the top-level category when a more specific label is missing.
(cherry picked from commit 3a65814f53)
The .docs-primary-btn hover state in dark mode had a contrast ratio of 2.18:1,
failing WCAG 2.1 SC 1.4.3. This change reuses the existing
--hot-pink-to-electric-violet-radial-gradient to achieve 4.5:1+ contrast.
(cherry picked from commit ad49d489ae)
Updates the release documentation link to point to the correct `#angular-versioning` anchor so readers are directed to the intended
(cherry picked from commit f727f8e655)
Fixes combobox dialog styles to ensure correct text color and contrast in dark theme.
This improves readability and visual consistency when using the docs in dark mode.
(cherry picked from commit 090484c853)
Updates `@Component({ ... })` to `@Component({/*...*/})` across
documentation examples for consistency and clearer formatting.
(cherry picked from commit d129d201c1)
Updates documentation examples to remove the `Component` suffix, aligning them with the current Angular Style Guide.
(cherry picked from commit 0d6ac92ccb)
Those rewrites focus on using Vitest instead of jasmine, drop usages of `fakeAsync`, present modern testing strategy that rely on `whenStable` more than explicit calls to `detectChanges`.
fixes#42748, #48510, #64962, #65987, #66029, #66150
(cherry picked from commit 71cde39ff0)
Aligns documentation heading colors across docs and API pages to ensure
visual consistency and a cohesive reading experience.
(cherry picked from commit e6631f0007)