mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
Compare commits
4 Commits
c4196eec83
...
f4a400522a
Author | SHA1 | Date | |
---|---|---|---|
|
f4a400522a | ||
|
bbee98b19e | ||
|
361a0ecffd | ||
|
ac23b6a77e |
@ -90,7 +90,7 @@ export function DashCommand() {
|
|||||||
<>
|
<>
|
||||||
<CommandDialog open={open} onOpenChange={setOpen}>
|
<CommandDialog open={open} onOpenChange={setOpen}>
|
||||||
<CommandInput placeholder={t("TypeCommand")} value={search} onValueChange={setSearch} />
|
<CommandInput placeholder={t("TypeCommand")} value={search} onValueChange={setSearch} />
|
||||||
<CommandList>
|
<CommandList className="border-t">
|
||||||
<CommandEmpty>{t("NoResults")}</CommandEmpty>
|
<CommandEmpty>{t("NoResults")}</CommandEmpty>
|
||||||
<CommandGroup heading={t("Servers")}>
|
<CommandGroup heading={t("Servers")}>
|
||||||
{sortedServers.map((server) => (
|
{sortedServers.map((server) => (
|
||||||
|
@ -169,7 +169,7 @@ const ChartTooltipContent = React.forwardRef<
|
|||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{!nestLabel && (
|
{!nestLabel && (
|
||||||
<p className="px-2.5 pt-1 mx-auto -mb-1">{!nestLabel ? tooltipLabel : null}</p>
|
<div className="px-2.5 pt-1 mx-auto -mb-1">{!nestLabel ? tooltipLabel : null}</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
@ -40,10 +40,7 @@ const CommandInput = React.forwardRef<
|
|||||||
React.ElementRef<typeof CommandPrimitive.Input>,
|
React.ElementRef<typeof CommandPrimitive.Input>,
|
||||||
React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>
|
React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>
|
||||||
>(({ className, ...props }, ref) => (
|
>(({ className, ...props }, ref) => (
|
||||||
<div
|
<div className="flex items-center bg-stone-100 dark:bg-stone-900 px-3" cmdk-input-wrapper="">
|
||||||
className="flex items-center border-b bg-stone-100 dark:bg-stone-900 px-3"
|
|
||||||
cmdk-input-wrapper=""
|
|
||||||
>
|
|
||||||
<Search className="mr-2 h-4 w-4 shrink-0 opacity-50" />
|
<Search className="mr-2 h-4 w-4 shrink-0 opacity-50" />
|
||||||
<CommandPrimitive.Input
|
<CommandPrimitive.Input
|
||||||
ref={ref}
|
ref={ref}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nezha-dash",
|
"name": "nezha-dash",
|
||||||
"version": "2.5.0",
|
"version": "2.5.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev -p 3040",
|
"dev": "next dev -p 3040",
|
||||||
@ -50,7 +50,7 @@
|
|||||||
"react-dom": "^19.0.0",
|
"react-dom": "^19.0.0",
|
||||||
"react-intersection-observer": "^9.15.1",
|
"react-intersection-observer": "^9.15.1",
|
||||||
"react-wrap-balancer": "^1.1.1",
|
"react-wrap-balancer": "^1.1.1",
|
||||||
"recharts": "^2.15.0",
|
"recharts": "^2.15.1",
|
||||||
"sharp": "^0.33.5",
|
"sharp": "^0.33.5",
|
||||||
"swr": "^2.3.0",
|
"swr": "^2.3.0",
|
||||||
"tailwind-merge": "^2.6.0",
|
"tailwind-merge": "^2.6.0",
|
||||||
@ -60,7 +60,7 @@
|
|||||||
"@biomejs/biome": "1.9.4",
|
"@biomejs/biome": "1.9.4",
|
||||||
"@next/bundle-analyzer": "^15.1.6",
|
"@next/bundle-analyzer": "^15.1.6",
|
||||||
"@tailwindcss/postcss": "^4.0.0",
|
"@tailwindcss/postcss": "^4.0.0",
|
||||||
"@types/node": "^22.10.10",
|
"@types/node": "^22.12.0",
|
||||||
"@types/react": "^19.0.8",
|
"@types/react": "^19.0.8",
|
||||||
"@types/react-dom": "^19.0.3",
|
"@types/react-dom": "^19.0.3",
|
||||||
"postcss": "^8.5.1",
|
"postcss": "^8.5.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user