diff --git a/frontend/src/lib/shopping/AddCustomItem.svelte b/frontend/src/lib/shopping/AddCustomItem.svelte new file mode 100644 index 0000000..90b9735 --- /dev/null +++ b/frontend/src/lib/shopping/AddCustomItem.svelte @@ -0,0 +1,86 @@ + + +{#if !expanded} + +{:else} +
{ + return async ({ update }) => { + await update(); + customName = ''; + quantity = '1'; + unit = ''; + expanded = false; + }; + }} + class="flex flex-col gap-2 rounded-[var(--radius-md)] border border-[var(--color-border)] bg-[var(--color-surface)] p-3" + > + + + + +
+ + +
+ +
+ + +
+
+{/if}