Compare commits

...

3 Commits

Author SHA1 Message Date
hamster1963
484266666d chore: bump version to 2.9.3 in package.json 2025-04-10 10:39:03 +08:00
hamster1963
fb1a74ec09 style: adjust padding and spacing in ThemeSwitcher component 2025-04-10 10:37:02 +08:00
hamster1963
812397235c chore: update dependencies in package.json to latest versions 2025-04-10 10:35:10 +08:00
3 changed files with 28 additions and 28 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -40,9 +40,9 @@ export function ModeToggle() {
<span className="sr-only">Toggle theme</span>
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent className="px-3 pt-3 pb-2" align="end">
<DropdownMenuContent className="px-2 pt-2 pb-1.5" align="end">
<fieldset className="space-y-4">
<RadioGroup className="flex gap-3" defaultValue={theme} onValueChange={handleSelect}>
<RadioGroup className="flex gap-2" defaultValue={theme} onValueChange={handleSelect}>
{items.map((item) => (
<label key={`${id}-${item.value}`}>
<RadioGroupItem

View File

@ -1,6 +1,6 @@
{
"name": "nezha-dash",
"version": "2.9.2",
"version": "2.9.3",
"private": true,
"scripts": {
"dev": "next dev -p 3040",
@ -15,23 +15,23 @@
"dependencies": {
"@ducanh2912/next-pwa": "^10.2.9",
"@heroicons/react": "^2.2.0",
"@radix-ui/react-dialog": "^1.1.6",
"@radix-ui/react-dropdown-menu": "^2.1.6",
"@radix-ui/react-label": "^2.1.2",
"@radix-ui/react-navigation-menu": "^1.2.5",
"@radix-ui/react-popover": "^1.1.6",
"@radix-ui/react-progress": "^1.1.2",
"@radix-ui/react-radio-group": "^1.2.3",
"@radix-ui/react-separator": "^1.1.2",
"@radix-ui/react-slot": "^1.1.2",
"@radix-ui/react-switch": "^1.1.3",
"@radix-ui/react-tooltip": "^1.1.8",
"@radix-ui/react-dialog": "^1.1.7",
"@radix-ui/react-dropdown-menu": "^2.1.7",
"@radix-ui/react-label": "^2.1.3",
"@radix-ui/react-navigation-menu": "^1.2.6",
"@radix-ui/react-popover": "^1.1.7",
"@radix-ui/react-progress": "^1.1.3",
"@radix-ui/react-radio-group": "^1.2.4",
"@radix-ui/react-separator": "^1.1.3",
"@radix-ui/react-slot": "^1.2.0",
"@radix-ui/react-switch": "^1.1.4",
"@radix-ui/react-tooltip": "^1.2.0",
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@types/crypto-js": "^4.2.2",
"@types/d3-geo": "^3.1.0",
"@types/luxon": "^3.6.0",
"babel-plugin-react-compiler": "^19.0.0-beta-e993439-20250328",
"caniuse-lite": "^1.0.30001707",
"@types/luxon": "^3.6.2",
"babel-plugin-react-compiler": "^19.0.0-beta-e993439-20250405",
"caniuse-lite": "^1.0.30001712",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
@ -44,7 +44,7 @@
"lucide-react": "^0.474.0",
"luxon": "^3.6.1",
"maxmind": "^4.3.24",
"next": "^15.2.4",
"next": "^15.3.0",
"next-auth": "^5.0.0-beta.25",
"next-intl": "^4.0.2",
"next-runtime-env": "^3.3.0",
@ -54,23 +54,23 @@
"react-dom": "^19.1.0",
"react-intersection-observer": "^9.16.0",
"react-wrap-balancer": "^1.1.1",
"recharts": "^2.15.1",
"recharts": "^2.15.2",
"sharp": "^0.33.5",
"swr": "^2.3.3",
"tailwind-merge": "^3.1.0",
"tailwind-merge": "^3.2.0",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@next/bundle-analyzer": "^15.2.4",
"@tailwindcss/postcss": "^4.1.0",
"@types/node": "^22.13.17",
"@types/react": "^19.0.12",
"@types/react-dom": "^19.0.4",
"@next/bundle-analyzer": "^15.3.0",
"@tailwindcss/postcss": "^4.1.3",
"@types/node": "^22.14.0",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.2",
"postcss": "^8.5.3",
"tailwindcss": "^4.1.0",
"typescript": "^5.8.2",
"vercel": "^41.4.1"
"tailwindcss": "^4.1.3",
"typescript": "^5.8.3",
"vercel": "^41.5.0"
},
"overrides": {
"react-is": "^19.0.0-rc-69d4b800-20241021"