diff --git a/package.json b/package.json index 74c0c79488..44b06824a4 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "dependencies": { "@ai-sdk/svelte": "^1.1.24", "@appwrite.io/console": "https://pkg.vc/-/@appwrite/@appwrite.io/console@67539a6", - "@appwrite.io/pink-icons": "0.25.0", + "@appwrite.io/pink-icons": "^0.25.0", "@appwrite.io/pink-icons-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-icons-svelte@bfe7ce3", "@appwrite.io/pink-legacy": "^1.0.3", "@appwrite.io/pink-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-svelte@8dcaa17", @@ -46,7 +46,8 @@ "remarkable": "^2.0.1", "svelte-confetti": "^1.4.0", "three": "^0.181.2", - "tippy.js": "^6.3.7" + "tippy.js": "^6.3.7", + "zod": "^3.25.76" }, "devDependencies": { "@eslint/compat": "^1.4.1", diff --git a/src/global.d.ts b/src/global.d.ts index 104ada708c..364cc989d0 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -12,3 +12,6 @@ namespace App { type?: string; } } + +declare module '@appwrite.io/pink-legacy'; +declare module '@appwrite.io/pink-icons'; \ No newline at end of file diff --git a/src/lib/components/cardGrid.svelte b/src/lib/components/cardGrid.svelte index c45d112fe4..cbe5cab189 100644 --- a/src/lib/components/cardGrid.svelte +++ b/src/lib/components/cardGrid.svelte @@ -3,56 +3,79 @@ export let overflow = true; export let hideFooter = false; + export let interactive = false; export let gap: 'none' | 'xxxs' | 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl' = 'l'; - - -
- - - {#if $$slots.default} - - - - {/if} - -
- - - +
+ + +
+
+ + + {#if $$slots.default} + + + + {/if} + +
+
+ + + +
-
- {#if $$slots.actions && !hideFooter} - - - - - - - {/if} - - + {#if $$slots.actions && !hideFooter} + + + + + + + {/if} + + +
+} + \ No newline at end of file