-
Notifications
You must be signed in to change notification settings - Fork 2.1k
refactor(top-app-bar): Remove [de]registerEventHandler methods from adapters #4701
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`.
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.
Codecov Report
@@ Coverage Diff @@
## develop #4701 +/- ##
===========================================
+ Coverage 98.95% 98.96% +0.01%
===========================================
Files 129 129
Lines 6302 6285 -17
Branches 821 820 -1
===========================================
- Hits 6236 6220 -16
+ Misses 65 64 -1
Partials 1 1
Continue to review full report at Codecov.
|
All 648 screenshot tests passed for commit cc44b25 vs. |
All 648 screenshot tests passed for commit 4c056e1 vs. |
All 648 screenshot tests passed for commit 20a6ce0 vs. |
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.
Re-opened unresolved comments.
All 693 screenshot tests passed for commit 1e08cb9 vs. |
All 693 screenshot tests passed for commit 7de95ed vs. |
@@ -21,7 +21,6 @@ | |||
* THE SOFTWARE. | |||
*/ | |||
|
|||
import {MDCTopAppBarAdapter} from '../adapter'; |
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.
All 693 screenshot tests passed for commit 12608df vs. |
All 693 screenshot tests passed for commit f16c067 vs. |
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.
…dapters (#4701) BREAKING CHANGE: Replaced adapter methods getParentElement, getSelectedElementIndex with getSelectedSiblingOfItemAtIndex, isSelectableItemAtIndex.
…dapters (#4701) BREAKING CHANGE: Replaced adapter methods getParentElement, getSelectedElementIndex with getSelectedSiblingOfItemAtIndex, isSelectableItemAtIndex.
…dapters (#4701) BREAKING CHANGE: Replaced adapter methods getParentElement, getSelectedElementIndex with getSelectedSiblingOfItemAtIndex, isSelectableItemAtIndex.
related #4527 & #2813
BREAKING CHANGE: remove adapter methods registerNavigationIconInteractionHandler, deregisterNavigationIconInteractionHandler, registerScrollHandler, deregisterScrollHandler, registerResizeHandler, deregisterResizeHandler.