Skip to content

refactor(material/core): clean up prefixes from internal Sass symbols #22378

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 1 commit into from
Apr 19, 2021

Conversation

crisbeto
Copy link
Member

The Sass migration script doesn't migrate private symbols (starting with _) so we were left with some prefixes. These changes clean up the prefixes, as well as some unnecessary !global declarations.

@crisbeto crisbeto added P2 The issue is important to a large percentage of users, with a workaround target: major This PR is targeted for the next major release labels Mar 31, 2021
@crisbeto crisbeto requested a review from jelbourn March 31, 2021 14:04
@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Mar 31, 2021
@andrewseguin
Copy link
Contributor

LGTM - feel free to add merge ready after CI tests are fixed

@crisbeto crisbeto force-pushed the sass-private-cleanup branch from 1c4f90f to e3729ed Compare March 31, 2021 19:35
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Mar 31, 2021
@crisbeto crisbeto force-pushed the sass-private-cleanup branch from e3729ed to 729d0fe Compare April 10, 2021 10:12
@crisbeto crisbeto added this to the 12.0.0 milestone Apr 10, 2021
@mmalerba
Copy link
Contributor

I'm seeing a bunch of screenshots that seem to show the form-field label not floating anymore, instead overlapping the value

The Sass migration script doesn't migrate private symbols (starting with `_`) so we were left with some prefixes. These changes clean up the prefixes, as well as some unnecessary `!global` declarations.
@crisbeto crisbeto force-pushed the sass-private-cleanup branch from 729d0fe to 448b8a2 Compare April 13, 2021 18:41
@crisbeto
Copy link
Member Author

Reverted the changes that could've broken the floating label. They were nice-to-haves anyway.

@crisbeto crisbeto added target: rc This PR is targeted for the next release-candidate and removed target: major This PR is targeted for the next major release labels Apr 14, 2021
@wagnermaciel wagnermaciel merged commit 278f2ab into angular:master Apr 19, 2021
wagnermaciel pushed a commit that referenced this pull request Apr 19, 2021
…#22378)

The Sass migration script doesn't migrate private symbols (starting with `_`) so we were left with some prefixes. These changes clean up the prefixes, as well as some unnecessary `!global` declarations.

(cherry picked from commit 278f2ab)
@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 May 20, 2021
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 cla: yes PR author has agreed to Google's Contributor License Agreement P2 The issue is important to a large percentage of users, with a workaround target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants