Skip to content

refactor(material/progress-bar): change mat-progress-bar to use MDC's… #26850

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

Merged
merged 2 commits into from
Mar 29, 2023

Conversation

wagnermaciel
Copy link
Contributor

… token API (#26643)

@wagnermaciel wagnermaciel marked this pull request as ready for review March 28, 2023 22:47
@andrewseguin andrewseguin added the action: merge The PR is ready for merge by the caretaker label Mar 28, 2023
Comment on lines +54 to +63
--mdc-linear-progress-primary-half: 83.67142%;
--mdc-linear-progress-primary-full: 200.611057%;
--mdc-linear-progress-secondary-quarter: 37.651913%;
--mdc-linear-progress-secondary-half: 84.386165%;
--mdc-linear-progress-secondary-full: 160.277782%;
--mdc-linear-progress-primary-half-neg: -83.67142%;
--mdc-linear-progress-primary-full-neg: -200.611057%;
--mdc-linear-progress-secondary-quarter-neg: -37.651913%;
--mdc-linear-progress-secondary-half-neg: -84.386165%;
--mdc-linear-progress-secondary-full-neg: -160.277782%;
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'm not sure what to do about these css variables that were previously getting set to some default values and otherwise can only be configured through an adapter. Should I file a bug with MDC or is it ok to just set these this way?

Copy link
Contributor

Choose a reason for hiding this comment

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

You should add a comment about where they are derived from, and how we can eventually get rid of them. Yes file a bug and ideally we can put it in the comment e.g. b/1234789

@wagnermaciel wagnermaciel requested a review from crisbeto March 28, 2023 22:52
@wagnermaciel wagnermaciel added the target: minor This PR is targeted for the next minor release label Mar 29, 2023
@angular-robot angular-robot bot merged commit 3aaabbd into angular:main Mar 29, 2023
@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 Jun 6, 2023
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: 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