Skip to content

Conversation

@thompsond
Copy link
Contributor

@thompsond thompsond commented Oct 27, 2025

Adds a prefix section to the header of the horizontal stepper header.

Screenshot 2025-10-27 at 12 16 25 PM Screenshot 2025-10-27 at 3 51 49 PM

@thompsond thompsond requested a review from a team as a code owner October 27, 2025 16:20
@thompsond thompsond requested review from crisbeto and ok7sai and removed request for a team October 27, 2025 16:20
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: docs Related to the documentation area: material/stepper labels Oct 27, 2025
}
}
</div>
@if (headerPrefix()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if we could solve this with content projection. E.g. have <ng-content select="matStepperPrefix"/> here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had tried that initially but it required adding a wrapper around the header content and it broke some projects internally whose styling depended on the exact underlying structure.

@thompsond thompsond force-pushed the add-stepper-header-prefix branch from 2dc8bc3 to baafc20 Compare October 27, 2025 22:09
…r header

Adds a prefix section to the header of the horizontal stepper header.
@thompsond thompsond force-pushed the add-stepper-header-prefix branch from baafc20 to 16fdaf2 Compare October 28, 2025 21:45
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Oct 29, 2025
@crisbeto crisbeto removed the request for review from ok7sai October 29, 2025 13:27
@crisbeto crisbeto added the target: minor This PR is targeted for the next minor release label Oct 29, 2025
@crisbeto crisbeto merged commit 6b9decb into angular:main Oct 29, 2025
22 of 24 checks passed
@thompsond thompsond deleted the add-stepper-header-prefix branch November 11, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: docs Related to the documentation area: material/stepper detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants