Skip to content

refactor(material-experimental/mdc-core): remove underscores from imported mixins #21060

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
Nov 20, 2020

Conversation

crisbeto
Copy link
Member

  • Removes the underscores from the names of mixins that are used in other files. This will become an error when we switch to the Sass module system.
  • Renames some mixins that were starting with mdc- since they can be confused with mixins actually coming from MDC.

@crisbeto crisbeto added P2 The issue is important to a large percentage of users, with a workaround target: patch This PR is targeted for the next patch release labels Nov 16, 2020
@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Nov 16, 2020
@crisbeto crisbeto force-pushed the mdc-underscored-styles branch from a21e5ef to 591d96b Compare November 16, 2020 22:20
@crisbeto crisbeto requested a review from a team as a code owner November 16, 2020 22:20
…orted mixins

* Removes the underscores from the names of mixins that are used in other files.
This will become an error when we switch to the Sass module system.
* Renames some mixins that were starting with `mdc-` since they can be confused with
mixins actually coming from MDC.
@crisbeto crisbeto force-pushed the mdc-underscored-styles branch from 591d96b to b507779 Compare November 17, 2020 20:46
@crisbeto crisbeto requested a review from jelbourn as a code owner November 17, 2020 20:46
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.

LGTM

@mmalerba mmalerba added the action: merge The PR is ready for merge by the caretaker label Nov 18, 2020
@wagnermaciel
Copy link
Contributor

@crisbeto This causes our sync script to fail / not update some imports correctly. It's a little outside my expertise so I'm going to need to discuss with the team tomorrow. It'll try to get in an extra sync for this before the end of my caretaker rotation

@wagnermaciel wagnermaciel added target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release labels Nov 20, 2020
@wagnermaciel wagnermaciel merged commit bb2bb9c into angular:master Nov 20, 2020
@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 Dec 21, 2020
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: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants