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> <span className="sr-only">Toggle theme</span>
</Button> </Button>
</DropdownMenuTrigger> </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"> <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) => ( {items.map((item) => (
<label key={`${id}-${item.value}`}> <label key={`${id}-${item.value}`}>
<RadioGroupItem <RadioGroupItem

View File

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