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

fix(text-field): Update to match spec #3397

Merged
merged 10 commits into from
Aug 24, 2018
Merged

Conversation

williamernest
Copy link
Contributor

@williamernest williamernest commented Aug 22, 2018

Fixes #2826
Fixes #2784
Fixes #3280

@codecov-io
Copy link

codecov-io commented Aug 23, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@9882c7d). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #3397   +/-   ##
=========================================
  Coverage          ?   98.41%           
=========================================
  Files             ?      123           
  Lines             ?     5180           
  Branches          ?      639           
=========================================
  Hits              ?     5098           
  Misses            ?       82           
  Partials          ?        0
Impacted Files Coverage Δ
packages/mdc-notched-outline/foundation.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9882c7d...3ce7053. Read the comment docs.

left: 0;
width: calc(100% - 1px);
height: calc(100% - 2px);
@include mdc-notched-outline-base_;
Copy link
Contributor

@kfranqueiro kfranqueiro Aug 23, 2018

Choose a reason for hiding this comment

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

Rather than (or in addition to) put this in a mixin, should we separate these styles and put them under .mdc-notched-outline, .mdc-notched-outline__idle?

@mdc-web-bot
Copy link
Collaborator

🤖 Beep boop!

Screenshot test report 🚦

156 screenshots changed from master on commit 21ba2a4:

Details

156 Changed:

@mdc-web-bot
Copy link
Collaborator

🤖 Beep boop!

Screenshot test report 🚦

156 screenshots changed from master on commit 93c260c:

Details

156 Changed:

@mdc-web-bot
Copy link
Collaborator

🤖 Beep boop!

Screenshot test report 🚦

156 screenshots changed from master on commit 4d26f65:

Details

156 Changed:

@mdc-web-bot
Copy link
Collaborator

🤖 Beep boop!

Screenshot test report 🚦

156 screenshots changed from master on commit ccb41d9:

Details

156 Changed:

@include mdc-text-field-icon-horizontal-position_(right, $mdc-text-field-icon-position, $mdc-text-field-icon-padding);
@include mdc-text-field-icon-horizontal-position_(right, $mdc-text-field-trailing-icon-position, $mdc-text-field-icon-padding);

// Outlined uses 16px for text alignment when using a trailing icon.
Copy link
Contributor

Choose a reason for hiding this comment

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

Where did you get this from? The spec seems to show 8px between the trailing icon and the side for outlined text field. (The spec also doesn't seem to show leading icons at all though...)

@williamernest
Copy link
Contributor Author

williamernest commented Aug 24, 2018 via email

@kfranqueiro
Copy link
Contributor

I pushed a fix to the demo page since we never removed leading/trailing whitespace from the helper text elements after we had to revert to inline-block for the baseline typography mixins.

I added the bugs from the backlog that this seems to resolve, in the description.

I'm wondering if we want a BREAKING CHANGE: note here because of the removed margins?

@mdc-web-bot
Copy link
Collaborator

🤖 Beep boop!

Screenshot test report 🚦

156 screenshots changed from master on commit 7be735f:

Details

156 Changed:

@williamernest
Copy link
Contributor Author

I'll add BREAKING CHANGE: to the commit message since we are changing properties outside of the text field and that can break some UI's.

@mdc-web-bot
Copy link
Collaborator

🤖 Beep boop!

Screenshot test report 🚦

156 screenshots changed from master on commit 3eff892:

Details

156 Changed:

@mdc-web-bot
Copy link
Collaborator

🤖 Beep boop!

Screenshot test report 🚦

156 screenshots changed from master on commit b0d8a5e:

Details

156 Changed:

@mdc-web-bot
Copy link
Collaborator

🤖 Beep boop!

Screenshot test report 🚦

156 screenshots changed from master on commit 3ce7053:

Details

156 Changed:

@williamernest williamernest merged commit e34b251 into master Aug 24, 2018
@williamernest williamernest deleted the fix/text-field/match-spec branch August 24, 2018 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants