From f722ba8dcabd4ba6ef2be51a071774a1c6dc44f8 Mon Sep 17 00:00:00 2001 From: allanice001 Date: Fri, 12 Dec 2025 11:36:25 +0000 Subject: [PATCH] chore: update dependencies Signed-off-by: allanice001 --- ui/package.json | 12 ++++++------ ui/src/pages/cluster-page.tsx | 15 +++++++++------ ui/yarn.lock | 24 ++++++++++++------------ 3 files changed, 27 insertions(+), 24 deletions(-) diff --git a/ui/package.json b/ui/package.json index 3239759..24deec5 100644 --- a/ui/package.json +++ b/ui/package.json @@ -38,7 +38,7 @@ "@radix-ui/react-toggle-group": "^1.1.11", "@radix-ui/react-tooltip": "^1.2.8", "@radix-ui/react-use-controllable-state": "^1.2.2", - "@tailwindcss/vite": "^4.1.17", + "@tailwindcss/vite": "^4.1.18", "@tanstack/react-query": "^5.90.12", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", @@ -46,13 +46,13 @@ "date-fns": "^4.1.0", "embla-carousel-react": "^8.6.0", "input-otp": "^1.4.2", - "lucide-react": "^0.557.0", + "lucide-react": "^0.561.0", "motion": "^12.23.26", "next-themes": "^0.4.6", "rapidoc": "^9.3.8", - "react": "^19.2.1", + "react": "^19.2.3", "react-day-picker": "^9.12.0", - "react-dom": "^19.2.1", + "react-dom": "^19.2.3", "react-hook-form": "^7.68.0", "react-icons": "^5.5.0", "react-resizable-panels": "^3.0.6", @@ -60,14 +60,14 @@ "recharts": "2.15.4", "sonner": "^2.0.7", "tailwind-merge": "^3.4.0", - "tailwindcss": "^4.1.17", + "tailwindcss": "^4.1.18", "vaul": "^1.1.2", "zod": "^4.1.13" }, "devDependencies": { "@eslint/js": "9.39.1", "@ianvs/prettier-plugin-sort-imports": "4.7.0", - "@types/node": "24.10.2", + "@types/node": "25.0.1", "@types/react": "19.2.7", "@types/react-dom": "19.2.3", "@vitejs/plugin-react": "5.1.2", diff --git a/ui/src/pages/cluster-page.tsx b/ui/src/pages/cluster-page.tsx index d724c38..a502030 100644 --- a/ui/src/pages/cluster-page.tsx +++ b/ui/src/pages/cluster-page.tsx @@ -1,3 +1,4 @@ +; // src/pages/ClustersPage.tsx import { useEffect, useMemo, useState } from "react" @@ -12,7 +13,7 @@ import type { DtoLoadBalancerResponse, DtoNodePoolResponse, DtoRecordSetResponse, - DtoServerResponse, + DtoServerResponse } from "@/sdk" import { zodResolver } from "@hookform/resolvers/zod" import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query" @@ -28,12 +29,13 @@ import { Plus, Search, Server, - Wrench, + Wrench } from "lucide-react" import { useForm } from "react-hook-form" import { toast } from "sonner" import { z } from "zod" + import { truncateMiddle } from "@/lib/utils" import { Badge } from "@/components/ui/badge.tsx" import { Button } from "@/components/ui/button.tsx" @@ -43,15 +45,16 @@ import { DialogFooter, DialogHeader, DialogTitle, - DialogTrigger, + DialogTrigger } from "@/components/ui/dialog.tsx" -import { Form, FormControl, FormField, FormItem, FormLabel, FormMessage, } from "@/components/ui/form.tsx" +import { Form, FormControl, FormField, FormItem, FormLabel, FormMessage } from "@/components/ui/form.tsx" import { Input } from "@/components/ui/input.tsx" import { Label } from "@/components/ui/label.tsx" -import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select.tsx" -import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@/components/ui/table.tsx" +import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select.tsx" +import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table.tsx" import { Textarea } from "@/components/ui/textarea.tsx" + // --- Schemas --- const createClusterSchema = z.object({ diff --git a/ui/yarn.lock b/ui/yarn.lock index 93cc7c9..a674ee6 100644 --- a/ui/yarn.lock +++ b/ui/yarn.lock @@ -2101,7 +2101,7 @@ "@tailwindcss/oxide-win32-arm64-msvc" "4.1.18" "@tailwindcss/oxide-win32-x64-msvc" "4.1.18" -"@tailwindcss/vite@^4.1.17": +"@tailwindcss/vite@^4.1.18": version "4.1.18" resolved "https://registry.yarnpkg.com/@tailwindcss/vite/-/vite-4.1.18.tgz#614b9d5483559518c72d31bca05d686f8df28e9a" integrity sha512-jVA+/UpKL1vRLg6Hkao5jldawNmRo7mQYrZtNHMIVpLfLhDml5nMRUo/8MwoX2vNXvnaXNNMedrMfMugAVX1nA== @@ -2240,10 +2240,10 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== -"@types/node@24.10.2": - version "24.10.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-24.10.2.tgz#82a57476a19647d8f2c7750d0924788245e39b26" - integrity sha512-WOhQTZ4G8xZ1tjJTvKOpyEVSGgOTvJAfDK3FNFgELyaTpzhdgHVHeqW8V+UJvzF5BT+/B54T/1S2K6gd9c7bbA== +"@types/node@25.0.1": + version "25.0.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-25.0.1.tgz#9c41c277a1b16491174497cd075f8de7c27a1ac4" + integrity sha512-czWPzKIAXucn9PtsttxmumiQ9N0ok9FrBwgRWrwmVLlp86BrMExzvXRLFYRJ+Ex3g6yqj+KuaxfX1JTgV2lpfg== dependencies: undici-types "~7.16.0" @@ -4019,10 +4019,10 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" -lucide-react@^0.557.0: - version "0.557.0" - resolved "https://registry.yarnpkg.com/lucide-react/-/lucide-react-0.557.0.tgz#372f6069b227fcca816962d5bbbd9c8dee5e97bd" - integrity sha512-x6LrJAuYGywdjH4rBgI8ygWnCsn8GTvS9/BhSORNWsuv3LNLV39ZOUg6UTJa9nFUl0fHY8bytDSThH12pNHyLQ== +lucide-react@^0.561.0: + version "0.561.0" + resolved "https://registry.yarnpkg.com/lucide-react/-/lucide-react-0.561.0.tgz#8eb440395cf01b27da9c65cb014eb2c71f77e656" + integrity sha512-Y59gMY38tl4/i0qewcqohPdEbieBy7SovpBL9IFebhc2mDd8x4PZSOsiFRkpPcOq6bj1r/mjH/Rk73gSlIJP2A== magic-string@^0.30.21: version "0.30.21" @@ -4608,7 +4608,7 @@ react-day-picker@^9.12.0: date-fns "^4.1.0" date-fns-jalali "^4.1.0-0" -react-dom@^19.2.1: +react-dom@^19.2.3: version "19.2.3" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-19.2.3.tgz#f0b61d7e5c4a86773889fcc1853af3ed5f215b17" integrity sha512-yELu4WmLPw5Mr/lmeEpox5rw3RETacE++JgHqQzd2dg+YbJuat3jH4ingc+WPZhxaoFzdv9y33G+F7Nl5O0GBg== @@ -4706,7 +4706,7 @@ react-transition-group@^4.4.5: loose-envify "^1.4.0" prop-types "^15.6.2" -react@^19.2.1: +react@^19.2.3: version "19.2.3" resolved "https://registry.yarnpkg.com/react/-/react-19.2.3.tgz#d83e5e8e7a258cf6b4fe28640515f99b87cd19b8" integrity sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA== @@ -5132,7 +5132,7 @@ tailwind-merge@^3.4.0: resolved "https://registry.yarnpkg.com/tailwind-merge/-/tailwind-merge-3.4.0.tgz#5a264e131a096879965f1175d11f8c36e6b64eca" integrity sha512-uSaO4gnW+b3Y2aWoWfFpX62vn2sR3skfhbjsEnaBI81WD1wBLlHZe5sWf0AqjksNdYTbGBEd0UasQMT3SNV15g== -tailwindcss@4.1.18, tailwindcss@^4.1.17: +tailwindcss@4.1.18, tailwindcss@^4.1.18: version "4.1.18" resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-4.1.18.tgz#f488ba47853abdb5354daf9679d3e7791fc4f4e3" integrity sha512-4+Z+0yiYyEtUVCScyfHCxOYP06L5Ne+JiHhY2IjR2KWMIWhJOYZKLSGZaP5HkZ8+bY0cxfzwDE5uOmzFXyIwxw==