This repository has been archived by the owner on Nov 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update button to mdc-web v3.1.0 (#365)
- Loading branch information
1 parent
71c715f
commit 851f5c4
Showing
6 changed files
with
63 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 7 additions & 5 deletions
12
components/button/__tests__/__snapshots__/Button.spec.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Button should render as dense 1`] = `<button class="mdc-button mdc-button--dense"> </button>`; | ||
exports[`Button should render as dense 1`] = `<button class="mdc-button mdc-button--dense"> <span class="mdc-button__label"></span> </button>`; | ||
|
||
exports[`Button should render as outlined 1`] = `<button class="mdc-button mdc-button--outlined"> </button>`; | ||
exports[`Button should render as outlined 1`] = `<button class="mdc-button mdc-button--outlined"> <span class="mdc-button__label"></span> </button>`; | ||
|
||
exports[`Button should render as raised 1`] = `<button class="mdc-button mdc-button--raised"> </button>`; | ||
exports[`Button should render as raised 1`] = `<button class="mdc-button mdc-button--raised"> <span class="mdc-button__label"></span> </button>`; | ||
|
||
exports[`Button should render as unelevated 1`] = `<button class="mdc-button mdc-button--unelevated"> </button>`; | ||
exports[`Button should render as unelevated 1`] = `<button class="mdc-button mdc-button--unelevated"> <span class="mdc-button__label"></span> </button>`; | ||
|
||
exports[`Button should render with no prop 1`] = `<button class="mdc-button"> </button>`; | ||
exports[`Button should render with no prop 1`] = `<button class="mdc-button"> <span class="mdc-button__label"></span> </button>`; | ||
|
||
exports[`Button should render without ripple 1`] = `<button class="mdc-button"> <span class="mdc-button__label"></span> </button>`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters