diff --git a/frontend/components.json b/frontend/components.json index 673e83d..ef0f03f 100644 --- a/frontend/components.json +++ b/frontend/components.json @@ -11,4 +11,4 @@ "utils": "$lib/utils/style" }, "typescript": true -} \ No newline at end of file +} diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js index 9475480..6a41679 100644 --- a/frontend/eslint.config.js +++ b/frontend/eslint.config.js @@ -32,7 +32,7 @@ export default [ }, { rules: { - "@typescript-eslint/no-explicit-any": "off" + '@typescript-eslint/no-explicit-any': 'off' } } ]; diff --git a/frontend/package.json b/frontend/package.json index 69a1b21..e9293f4 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,58 +1,58 @@ { - "name": "pocket-id-frontend", - "version": "0.24.1", - "private": true, - "scripts": { - "dev": "vite dev --port 3000", - "build": "vite build", - "preview": "vite preview --port 3000", - "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "lint": "prettier --check . && eslint .", - "format": "prettier --write ." - }, - "devDependencies": { - "@playwright/test": "^1.48.1", - "@sveltejs/adapter-auto": "^3.3.0", - "@sveltejs/adapter-node": "^5.2.8", - "@sveltejs/kit": "^2.7.2", - "@sveltejs/vite-plugin-svelte": "^4.0.0", - "@types/eslint": "^9.6.1", - "@types/jsonwebtoken": "^9.0.7", - "@types/node": "^22.7.9", - "autoprefixer": "^10.4.20", - "cbor-js": "^0.1.0", - "eslint": "^9.13.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-svelte": "^2.46.0", - "globals": "^15.11.0", - "postcss": "^8.4.47", - "prettier": "^3.3.3", - "prettier-plugin-svelte": "^3.2.7", - "prettier-plugin-tailwindcss": "^0.6.8", - "svelte": "^5.0.5", - "svelte-check": "^4.0.5", - "tailwindcss": "^3.4.14", - "tslib": "^2.8.0", - "typescript": "^5.6.3", - "typescript-eslint": "^8.11.0", - "vite": "^5.4.10" - }, - "type": "module", - "dependencies": { - "@simplewebauthn/browser": "^10.0.0", - "axios": "^1.7.7", - "bits-ui": "^0.21.16", - "clsx": "^2.1.1", - "crypto": "^1.0.1", - "formsnap": "^1.0.1", - "jsonwebtoken": "^9.0.2", - "lucide-svelte": "^0.453.0", - "mode-watcher": "^0.4.1", - "svelte-sonner": "^0.3.28", - "sveltekit-superforms": "^2.20.0", - "tailwind-merge": "^2.5.4", - "tailwind-variants": "^0.2.1", - "zod": "^3.23.8" - } + "name": "pocket-id-frontend", + "version": "0.24.1", + "private": true, + "scripts": { + "dev": "vite dev --port 3000", + "build": "vite build", + "preview": "vite preview --port 3000", + "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", + "lint": "prettier --check . && eslint .", + "format": "prettier --write ." + }, + "devDependencies": { + "@playwright/test": "^1.48.1", + "@sveltejs/adapter-auto": "^3.3.0", + "@sveltejs/adapter-node": "^5.2.8", + "@sveltejs/kit": "^2.7.2", + "@sveltejs/vite-plugin-svelte": "^4.0.0", + "@types/eslint": "^9.6.1", + "@types/jsonwebtoken": "^9.0.7", + "@types/node": "^22.7.9", + "autoprefixer": "^10.4.20", + "cbor-js": "^0.1.0", + "eslint": "^9.13.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-svelte": "^2.46.0", + "globals": "^15.11.0", + "postcss": "^8.4.47", + "prettier": "^3.3.3", + "prettier-plugin-svelte": "^3.2.7", + "prettier-plugin-tailwindcss": "^0.6.8", + "svelte": "^5.0.5", + "svelte-check": "^4.0.5", + "tailwindcss": "^3.4.14", + "tslib": "^2.8.0", + "typescript": "^5.6.3", + "typescript-eslint": "^8.11.0", + "vite": "^5.4.10" + }, + "type": "module", + "dependencies": { + "@simplewebauthn/browser": "^10.0.0", + "axios": "^1.7.7", + "bits-ui": "^0.21.16", + "clsx": "^2.1.1", + "crypto": "^1.0.1", + "formsnap": "^1.0.1", + "jsonwebtoken": "^9.0.2", + "lucide-svelte": "^0.453.0", + "mode-watcher": "^0.4.1", + "svelte-sonner": "^0.3.28", + "sveltekit-superforms": "^2.20.0", + "tailwind-merge": "^2.5.4", + "tailwind-variants": "^0.2.1", + "zod": "^3.23.8" + } } diff --git a/frontend/src/app.css b/frontend/src/app.css index f782a68..15c8eb1 100644 --- a/frontend/src/app.css +++ b/frontend/src/app.css @@ -97,4 +97,4 @@ font-weight: 700; src: url('/fonts/PlayfairDisplay-Bold.woff') format('woff'); } -} \ No newline at end of file +} diff --git a/frontend/src/lib/components/advanced-table.svelte b/frontend/src/lib/components/advanced-table.svelte index d8a0a6e..3ae3591 100644 --- a/frontend/src/lib/components/advanced-table.svelte +++ b/frontend/src/lib/components/advanced-table.svelte @@ -115,8 +115,8 @@ {#if items.data.length === 0 && searchValue === ''}
No items found
+No items found
+
{description}
{/if} diff --git a/frontend/src/lib/components/error.svelte b/frontend/src/lib/components/error.svelte index c4581b0..21bc4fa 100644 --- a/frontend/src/lib/components/error.svelte +++ b/frontend/src/lib/components/error.svelte @@ -6,7 +6,7 @@{message}
{#if showButton} diff --git a/frontend/src/lib/components/form-input.svelte b/frontend/src/lib/components/form-input.svelte index 69413cc..5a096bc 100644 --- a/frontend/src/lib/components/form-input.svelte +++ b/frontend/src/lib/components/form-input.svelte @@ -34,13 +34,20 @@ {/if} {#if description} -{description}
+{description}
{/if}{input.error}
diff --git a/frontend/src/lib/components/header/header-avatar.svelte b/frontend/src/lib/components/header/header-avatar.svelte index 456d07a..d3e47c5 100644 --- a/frontend/src/lib/components/header/header-avatar.svelte +++ b/frontend/src/lib/components/header/header-avatar.svelte @@ -39,7 +39,7 @@ {$userStore?.firstName} {$userStore?.lastName} -{$userStore?.email}
+{$userStore?.email}
+