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(shape): Integrate Shape API with more components #3552

Merged
merged 92 commits into from
Sep 24, 2018

Conversation

abhiomkar
Copy link
Collaborator

@abhiomkar abhiomkar commented Sep 13, 2018

This branch integrates shape API to following components:

  • Menu surface
  • Notched outline
  • Select
  • Text field
  • FAB
  • Snackbar
  • Top App Bar (Short)
  • Dialog

Refs #3176

Copy link
Contributor

@kfranqueiro kfranqueiro left a comment

Choose a reason for hiding this comment

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

Sorry, I had some more comments on this that I apparently never sent.

packages/mdc-menu-surface/README.md Outdated Show resolved Hide resolved
packages/mdc-snackbar/_mixins.scss Outdated Show resolved Hide resolved
@@ -31,6 +31,7 @@
.mdc-top-app-bar {
@include mdc-top-app-bar-fill-color-accessible(primary);
@include mdc-top-app-bar-icon-ink-color(on-primary);
@include mdc-top-app-bar-short-shape-radius(24px);
Copy link
Contributor

Choose a reason for hiding this comment

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

This style now has an extra class of specificity, which it doesn't really need. (I think changing the mixin's selector is the right call though, based on our intended pattern of applying mixins to a class on the root element.)

It should be possible to embed this within an @at-root block instead, if we also handle the absence of & within the mixin.

See https://github.com/material-components/material-components-web/pull/2238/files for an example.

packages/mdc-textfield/_mixins.scss Outdated Show resolved Hide resolved
@kfranqueiro
Copy link
Contributor

Also, we should add dialog to this PR after syncing up from master.

@abhiomkar abhiomkar changed the base branch from feat/shape_integrate to feat/shape September 21, 2018 21:58
@codecov-io
Copy link

codecov-io commented Sep 21, 2018

Codecov Report

Merging #3552 into feat/shape will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           feat/shape    #3552   +/-   ##
===========================================
  Coverage       98.43%   98.43%           
===========================================
  Files             120      120           
  Lines            5192     5192           
  Branches          649      649           
===========================================
  Hits             5111     5111           
  Misses             81       81

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 a4725fa...30e5c7d. Read the comment docs.

@mdc-web-bot
Copy link
Collaborator

@mdc-web-bot
Copy link
Collaborator

@kfranqueiro kfranqueiro merged commit c3063eb into feat/shape Sep 24, 2018
@kfranqueiro kfranqueiro deleted the feat/shape_integrate_2 branch September 24, 2018 15:24
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.

5 participants