mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-30 17:53:31 -04:00 
			
		
		
		
	feat: additional cookbook features (tags, tools, and public) (#1116)
* migration: add public, tags, and tools * generate frontend types * add help icon * start replacement for tool-tag-category selector * add help icon utility * use generator types * add support for cookbook features * add UI elements for cookbook features * fix tests * fix type error
This commit is contained in:
		
							
								
								
									
										28
									
								
								frontend/components/global/HelpIcon.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								frontend/components/global/HelpIcon.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| <template> | ||||
|   <div class="text-center"> | ||||
|     <v-menu top offset-y left open-on-hover> | ||||
|       <template #activator="{ on, attrs }"> | ||||
|         <v-btn icon v-bind="attrs" v-on="on" @click.stop> | ||||
|           <v-icon> {{ $globals.icons.help }} </v-icon> | ||||
|         </v-btn> | ||||
|       </template> | ||||
|       <v-card max-width="300px"> | ||||
|         <v-card-text> | ||||
|           <slot></slot> | ||||
|         </v-card-text> | ||||
|       </v-card> | ||||
|     </v-menu> | ||||
|   </div> | ||||
| </template> | ||||
|  | ||||
| <script lang="ts"> | ||||
| import { defineComponent } from "@nuxtjs/composition-api"; | ||||
|  | ||||
| export default defineComponent({ | ||||
|   setup() { | ||||
|     return {}; | ||||
|   }, | ||||
| }); | ||||
| </script> | ||||
|  | ||||
| <style scoped></style> | ||||
		Reference in New Issue
	
	Block a user