-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added recipe language switcher * Added tests * Fixed issue where existing recipes won't edit * Fixes data restored from backups * Fixed tests * include nutrition in backups * Fixed failing tests
- Loading branch information
1 parent
a696fbd
commit 17a5737
Showing
14 changed files
with
202 additions
and
41 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
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,25 @@ | ||
<script setup lang="ts"> | ||
const props = defineProps<{ | ||
title: string; | ||
testId: string; | ||
}>(); | ||
</script> | ||
|
||
<template> | ||
<button class=" | ||
w-12 | ||
h-12 | ||
m-1 | ||
rounded-full | ||
bg-theme-primary | ||
hover:bg-theme-secondary | ||
focus:bg-theme-secondary | ||
focus:shadow-lg | ||
shadow-md | ||
hover:shadow-lg | ||
transition duration-150 ease-in-out | ||
" :title="props.title" :data-testid="testId" @click="$emit('click')"> | ||
<slot /> | ||
</button> | ||
</template> |
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
Oops, something went wrong.