diff --git a/bun.lockb b/bun.lockb index 6a66b02..e9b437c 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components.json b/components.json index cbd2be4..79b6f65 100644 --- a/components.json +++ b/components.json @@ -1,5 +1,5 @@ { - "$schema": "https://shadcn-svelte.com/schema.json", + "$schema": "https://next.shadcn-svelte.com/schema.json", "style": "default", "tailwind": { "config": "tailwind.config.js", @@ -8,7 +8,10 @@ }, "aliases": { "components": "$lib/components", - "utils": "$lib/utils" + "utils": "$lib/utils", + "ui": "$lib/components/ui", + "hooks": "$lib/hooks" }, - "typescript": true + "typescript": true, + "registry": "https://next.shadcn-svelte.com/registry" } diff --git a/package.json b/package.json index 3974f83..d5b555a 100644 --- a/package.json +++ b/package.json @@ -12,32 +12,30 @@ "format": "prettier --write ." }, "devDependencies": { - "@sveltejs/adapter-auto": "^3.2.4", - "@sveltejs/kit": "^2.5.25", - "@sveltejs/vite-plugin-svelte": "^3.1.2", + "@sveltejs/adapter-auto": "^3.3.1", + "@sveltejs/adapter-static": "^3.0.6", + "@sveltejs/kit": "^2.8.1", + "@sveltejs/vite-plugin-svelte": "^4.0.1", "autoprefixer": "^10.4.20", - "postcss": "^8.4.41", - "postcss-load-config": "^5.1.0", - "prettier": "^3.3.3", - "prettier-plugin-svelte": "^3.2.6", - "prettier-plugin-tailwindcss": "^0.5.14", - "svelte": "^4.2.19", - "svelte-check": "^3.8.6", - "tailwindcss": "^3.4.10", - "tslib": "^2.7.0", - "typescript": "^5.5.4", - "vite": "^5.4.2" - }, - "type": "module", - "dependencies": { - "@sveltejs/adapter-static": "^3.0.4", - "bits-ui": "^0.21.13", + "bits-ui": "^1.0.0-next.59", "clsx": "^2.1.1", "install": "^0.13.0", "lucide-svelte": "^0.436.0", "mode-watcher": "^0.3.1", - "tailwind-merge": "^2.5.2", - "tailwind-variants": "^0.2.1", - "vaul-svelte": "^0.3.2" - } + "prettier": "^3.3.3", + "prettier-plugin-svelte": "^3.2.8", + "prettier-plugin-tailwindcss": "^0.5.14", + "svelte": "^5.2.2", + "svelte-check": "^4.0.9", + "tailwind-merge": "^2.5.4", + "tailwind-variants": "^0.3.0", + "tailwindcss": "^3.4.15", + "tailwindcss-animate": "^1.0.7", + "tslib": "^2.8.1", + "typescript": "^5.6.3", + "vaul-svelte": "^0.3.2", + "vite": "^5.4.11" + }, + "type": "module", + "dependencies": {} } diff --git a/src/app.pcss b/src/app.css similarity index 100% rename from src/app.pcss rename to src/app.css diff --git a/src/lib/components/ui/alert/alert-description.svelte b/src/lib/components/ui/alert/alert-description.svelte index 06d344c..ef74aa4 100644 --- a/src/lib/components/ui/alert/alert-description.svelte +++ b/src/lib/components/ui/alert/alert-description.svelte @@ -1,13 +1,16 @@ -
- +
+ {@render children?.()}
diff --git a/src/lib/components/ui/alert/alert-title.svelte b/src/lib/components/ui/alert/alert-title.svelte index c63089b..12ec9fc 100644 --- a/src/lib/components/ui/alert/alert-title.svelte +++ b/src/lib/components/ui/alert/alert-title.svelte @@ -1,21 +1,25 @@ - - - + {@render children?.()} +
diff --git a/src/lib/components/ui/alert/alert.svelte b/src/lib/components/ui/alert/alert.svelte index 0bf6eec..8b4528f 100644 --- a/src/lib/components/ui/alert/alert.svelte +++ b/src/lib/components/ui/alert/alert.svelte @@ -1,17 +1,39 @@ - + + -