-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Conversation
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 Report
@@ 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.
|
blocked by #4735 |
All 693 screenshot tests passed for commit d921653 vs. |
no longer blocked |
There was a problem hiding this 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.
packages/mdc-top-app-bar/README.md
Outdated
<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> |
There was a problem hiding this comment.
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?
All 693 screenshot tests passed for commit b2e6491 vs. |
All 693 screenshot tests passed for commit 8382c2a vs. |
All 693 screenshot tests passed for commit 29e9aa4 vs. |
All 693 screenshot tests passed for commit 9cb3c27 vs. |
fixes #4527