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(text-field): Add disabled state color mixins #5208

Merged
merged 8 commits into from
Nov 8, 2019

Conversation

allan-chen
Copy link
Collaborator

BREAKING CHANGE: Redundant mixins mdc-text-field-textarea-fill-color, mdc-text-field-textarea-stroke-color, mdc-text-field-fullwidth-bottom-line-color removed. Instead, use mdc-text-field-fill-color, mdc-text-field-outline-color, and mdc-text-field-bottom-line-color respectively to achieve the same effect.

BREAKING CHANGE: Redundant mixins `mdc-text-field-textarea-fill-color`, `mdc-text-field-textarea-stroke-color`, `mdc-text-field-fullwidth-bottom-line-color` removed. Instead, use `mdc-text-field-fill-color`, `mdc-text-field-outline-color`, and `mdc-text-field-bottom-line-color` respectively to achieve the same effect.
@abhiomkar abhiomkar changed the base branch from develop to master November 2, 2019 18:16
Copy link
Collaborator

@abhiomkar abhiomkar left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning this up!

packages/mdc-textfield/_mixins.scss Outdated Show resolved Hide resolved
packages/mdc-textfield/_mixins.scss Outdated Show resolved Hide resolved
@allan-chen allan-chen requested a review from abhiomkar November 7, 2019 00:51
Copy link
Collaborator

@abhiomkar abhiomkar left a comment

Choose a reason for hiding this comment

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

LGTM, 2 minor comments.

packages/mdc-textfield/icon/_mixins.scss Outdated Show resolved Hide resolved
@@ -1399,6 +1399,14 @@
"desktop_windows_ie@11": "https://storage.googleapis.com/mdc-web-screenshot-tests/abhiomkar/2019/11/01/18_25_15_143/spec/mdc-textfield/classes/baseline.html.windows_ie_11.png"
}
},
"spec/mdc-textfield/classes/disabled-character-counter.html": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's delete this file too since this is already covered in below screenshot.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's a baseline test that was missing before and failed to catch that the character counter color was previously incorrect when disabled. It's not one of the mixin tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants