feat: refactor UI components and integrate new features

- Remove unused app.ts file.
- Enhance Home component with CNB integration for user authentication.
- Update root route to include Toaster component for notifications.
- Add Avatar, Badge, Card, Dialog, Dropdown Menu, Input, Label, Select, Separator, Sonner, Table, and Tabs components for improved UI.
- Create config page structure.
This commit is contained in:
2026-02-06 02:46:32 +08:00
parent 234dabcfb4
commit abd9860a90
17 changed files with 2336 additions and 430 deletions

View File

@@ -17,19 +17,29 @@
"author": "abearxiong <xiongxiao@xiongxiao.me>",
"license": "MIT",
"dependencies": {
"@kevisual/cnb": "^0.0.13",
"@kevisual/cnb": "^0.0.19",
"@kevisual/context": "^0.0.4",
"@kevisual/router": "0.0.70",
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@tanstack/react-router": "^1.158.0",
"@radix-ui/react-tabs": "^1.1.13",
"@tanstack/react-router": "^1.158.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dayjs": "^1.11.19",
"es-toolkit": "^1.44.0",
"lucide-react": "^0.563.0",
"nanoid": "^5.1.6",
"next-themes": "^0.4.6",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-hook-form": "^7.71.1",
"sonner": "^2.0.7",
"zustand": "^5.0.11"
},
"publishConfig": {
@@ -39,10 +49,10 @@
"@kevisual/query": "0.0.39",
"@kevisual/types": "^0.0.12",
"@tailwindcss/vite": "^4.1.18",
"@tanstack/react-router-devtools": "^1.158.0",
"@tanstack/router-plugin": "^1.158.0",
"@types/node": "^25.2.0",
"@types/react": "^19.2.10",
"@tanstack/react-router-devtools": "^1.158.1",
"@tanstack/router-plugin": "^1.158.1",
"@types/node": "^25.2.1",
"@types/react": "^19.2.13",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.3",
"dotenv": "^17.2.3",
@@ -50,7 +60,7 @@
"tailwindcss": "^4.1.18",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
"vite": "^7.3.1"
"vite": "^8.0.0-beta.13"
},
"packageManager": "pnpm@10.28.2"
}