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(top-app-bar): use mdc-icon-button styles instead of top app bar #4745

Merged
merged 20 commits into from
Jun 3, 2019

Conversation

moog16
Copy link
Contributor

@moog16 moog16 commented May 21, 2019

fixes #4527

Matt Goo and others added 11 commits May 14, 2019 14:34
Remove the top and bottom padding from the components. Remove the top and bottom margins from the button content. Button content should be center aligned. Use a <button> tag for the chip.

BREAKING CHANGE: Update mdc-chip-leading-icon-margin and mdc-chip-trailing-icon-margin mixins signatures to take only left and right margin values.
…dleClick/#handleKeydown. (#4655)

BREAKING CHANGE: Dialog `Foundation#handleInteraction` has been split into two methods: `#handleClick` and `#handleKeydown`.
…on group (#4620)

BREAKING CHANGE: Replaced adapter methods getParentElement, getSelectedElementIndex with getSelectedSiblingOfItemAtIndex, isSelectableItemAtIndex.
…4697)

BREAKING CHANGE: Removed `$mdc-checkbox-ui-pct` sass variable from `MDCCheckbox`
Add Adapter#getInitialFocusEl API. initialFocusEl will be the element passed in to Adapter#trapFocus. This formalizes the a11y-aligned idea of adding focus to an initial element (in #trapFocus) into the API.

BREAKING CHANGE: Dialog Adapter#getInitialFocusEl has been added and Adapter#trapFocus first argument is now the initialFocusEl.
…dapters (#4701)

BREAKING CHANGE: Replaced adapter methods getParentElement, getSelectedElementIndex with getSelectedSiblingOfItemAtIndex, isSelectableItemAtIndex.
Add MDCChipAdapter#setAttr method. Update screenshot tests with appropriate roles.

BREAKING CHANGE: Add the setAttr method to the chip adapter.
@codecov-io
Copy link

codecov-io commented May 21, 2019

Codecov Report

❗ No coverage uploaded for pull request base (develop@d190372). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop    #4745   +/-   ##
==========================================
  Coverage           ?   98.95%           
==========================================
  Files              ?      129           
  Lines              ?     6332           
  Branches           ?      820           
==========================================
  Hits               ?     6266           
  Misses             ?       65           
  Partials           ?        1

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 d190372...9cb3c27. Read the comment docs.

@moog16
Copy link
Contributor Author

moog16 commented May 21, 2019

blocked by #4735

@mdc-web-bot
Copy link
Collaborator

All 693 screenshot tests passed for commit d921653 vs. develop! 💯🎉

@moog16
Copy link
Contributor Author

moog16 commented May 24, 2019

no longer blocked

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, left 1 comment.

<a href="#" class="material-icons mdc-top-app-bar__action-item" aria-label="Download">file_download</a>
<a href="#" class="material-icons mdc-top-app-bar__action-item" aria-label="Print this page">print</a>
<a href="#" class="material-icons mdc-top-app-bar__action-item" aria-label="Bookmark this page">bookmark</a>
<a href="#" class="material-icons mdc-top-app-bar__action-item mdc-icon-button" aria-label="Download">file_download</a>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should these be <button> instead?

@mdc-web-bot
Copy link
Collaborator

All 693 screenshot tests passed for commit b2e6491 vs. develop! 💯🎉

@mdc-web-bot
Copy link
Collaborator

All 693 screenshot tests passed for commit 8382c2a vs. develop! 💯🎉

@mdc-web-bot
Copy link
Collaborator

All 693 screenshot tests passed for commit 29e9aa4 vs. develop! 💯🎉

@mdc-web-bot
Copy link
Collaborator

All 693 screenshot tests passed for commit 9cb3c27 vs. develop! 💯🎉

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.

7 participants