-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(VSnackbar): add applicationable support (#11448)
fixes #4468 * fix(vsnackbar): make snackbar account for app-level padding * refactor(vsnackbar): put behavior behind app prop * refactor: remove unnecessary default * refactor: clean up Co-authored-by: Lee Marlow <lee@yuzu.systems>
- Loading branch information
1 parent
d4c311e
commit 6098e5f
Showing
4 changed files
with
86 additions
and
1 deletion.
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
28 changes: 28 additions & 0 deletions
28
packages/vuetify/src/components/VSnackbar/__tests__/__snapshots__/VSnackbar.spec.ts.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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`VSnackbar.ts should be the same with app prop 1`] = ` | ||
<div class="v-snack v-snack--active v-snack--bottom" | ||
style="padding: 88px 256px 136px 256px;" | ||
name="v-snack-transition" | ||
> | ||
<div role="alert" | ||
class="v-snack__wrapper" | ||
> | ||
<div class="v-snack__content"> | ||
</div> | ||
</div> | ||
</div> | ||
`; | ||
|
||
exports[`VSnackbar.ts should be the same without app prop 1`] = ` | ||
<div class="v-snack v-snack--active v-snack--bottom" | ||
name="v-snack-transition" | ||
> | ||
<div role="alert" | ||
class="v-snack__wrapper" | ||
> | ||
<div class="v-snack__content"> | ||
</div> | ||
</div> | ||
</div> | ||
`; |