Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(material/button): Switch button implementation to use MDC #25381

Merged
merged 1 commit into from Aug 12, 2022

Conversation

amysorto
Copy link
Contributor

@amysorto amysorto commented Aug 2, 2022

Switches the implementation of mat-button, mat-fab, and mat-icon-button to use MDC by default.

BREAKING CHANGE:

DOM and CSS classes for mat-button, mat-fab, and mat-icon-button have changed.
Typescript API is largely the same but may have minor differences.

@amysorto amysorto force-pushed the move-button-to-mdc branch 7 times, most recently from c93bc68 to 09ecac4 Compare August 5, 2022 22:45
@amysorto amysorto force-pushed the move-button-to-mdc branch 3 times, most recently from 0893bef to 87541a2 Compare August 11, 2022 21:52
@amysorto amysorto added the target: major This PR is targeted for the next major release label Aug 11, 2022
@amysorto amysorto marked this pull request as ready for review August 11, 2022 22:44
Copy link
Contributor

@mmalerba mmalerba left a comment

Choose a reason for hiding this comment

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

Can you do another pass over the exported symbols in src/material/legacy-button? I still see some that weren't renamed to legacy - e.g. MatAnchor

Switches the implementation of mat-button, mat-fab, and mat-icon-button to use MDC by default.

BREAKING CHANGE:

DOM and CSS classes for mat-button, mat-fab, and mat-icon-button have changed.
Typescript API is largely the same but may have minor differences.
@amysorto
Copy link
Contributor Author

I changed MatAnchor to MatLegacyAnchor. I didn't see anything else when I took another look.

@amysorto amysorto added the action: merge The PR is ready for merge by the caretaker label Aug 12, 2022
@amysorto amysorto merged commit 00f4abe into angular:main Aug 12, 2022
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants