chore: update package versions and adjust dialog width in FormModal component

This commit is contained in:
2026-02-20 04:43:51 +08:00
parent 7a738353cd
commit e026275624
3 changed files with 33 additions and 28 deletions

View File

@@ -13,10 +13,10 @@
"@ant-design/icons": "^6.1.0", "@ant-design/icons": "^6.1.0",
"@base-ui/react": "^1.2.0", "@base-ui/react": "^1.2.0",
"@codemirror/lang-json": "^6.0.2", "@codemirror/lang-json": "^6.0.2",
"@kevisual/api": "^0.0.51", "@kevisual/api": "^0.0.52",
"@kevisual/cache": "^0.0.5", "@kevisual/cache": "^0.0.5",
"@kevisual/query": "^0.0.47", "@kevisual/query": "^0.0.49",
"@kevisual/router": "^0.0.75", "@kevisual/router": "^0.0.80",
"@radix-ui/react-checkbox": "^1.3.3", "@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-dialog": "^1.1.15", "@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16", "@radix-ui/react-dropdown-menu": "^2.1.16",
@@ -49,14 +49,14 @@
"react-dom": "19.2.4", "react-dom": "19.2.4",
"react-hook-form": "^7.71.1", "react-hook-form": "^7.71.1",
"sonner": "^2.0.7", "sonner": "^2.0.7",
"tailwind-merge": "^3.4.1", "tailwind-merge": "^3.5.0",
"valtio": "^2.3.0", "valtio": "^2.3.0",
"vaul": "^1.1.2", "vaul": "^1.1.2",
"zod": "^4.3.6", "zod": "^4.3.6",
"zustand": "^5.0.11" "zustand": "^5.0.11"
}, },
"devDependencies": { "devDependencies": {
"@kevisual/context": "^0.0.6", "@kevisual/context": "^0.0.8",
"@kevisual/remote-app": "^0.0.4", "@kevisual/remote-app": "^0.0.4",
"@kevisual/types": "^0.0.12", "@kevisual/types": "^0.0.12",
"@kevisual/use-config": "^1.0.30", "@kevisual/use-config": "^1.0.30",

49
pnpm-lock.yaml generated
View File

@@ -18,17 +18,17 @@ importers:
specifier: ^6.0.2 specifier: ^6.0.2
version: 6.0.2 version: 6.0.2
'@kevisual/api': '@kevisual/api':
specifier: ^0.0.51 specifier: ^0.0.52
version: 0.0.51(@types/react@19.2.7)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(use-sync-external-store@1.6.0(react@19.2.4)) version: 0.0.52(@types/react@19.2.7)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(use-sync-external-store@1.6.0(react@19.2.4))
'@kevisual/cache': '@kevisual/cache':
specifier: ^0.0.5 specifier: ^0.0.5
version: 0.0.5 version: 0.0.5
'@kevisual/query': '@kevisual/query':
specifier: ^0.0.47 specifier: ^0.0.49
version: 0.0.47 version: 0.0.49
'@kevisual/router': '@kevisual/router':
specifier: ^0.0.75 specifier: ^0.0.80
version: 0.0.75 version: 0.0.80
'@radix-ui/react-checkbox': '@radix-ui/react-checkbox':
specifier: ^1.3.3 specifier: ^1.3.3
version: 1.3.3(@types/react-dom@19.2.3(@types/react@19.2.7))(@types/react@19.2.7)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) version: 1.3.3(@types/react-dom@19.2.3(@types/react@19.2.7))(@types/react@19.2.7)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
@@ -126,8 +126,8 @@ importers:
specifier: ^2.0.7 specifier: ^2.0.7
version: 2.0.7(react-dom@19.2.4(react@19.2.4))(react@19.2.4) version: 2.0.7(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
tailwind-merge: tailwind-merge:
specifier: ^3.4.1 specifier: ^3.5.0
version: 3.4.1 version: 3.5.0
valtio: valtio:
specifier: ^2.3.0 specifier: ^2.3.0
version: 2.3.0(@types/react@19.2.7)(react@19.2.4) version: 2.3.0(@types/react@19.2.7)(react@19.2.4)
@@ -142,8 +142,8 @@ importers:
version: 5.0.11(@types/react@19.2.7)(react@19.2.4)(use-sync-external-store@1.6.0(react@19.2.4)) version: 5.0.11(@types/react@19.2.7)(react@19.2.4)(use-sync-external-store@1.6.0(react@19.2.4))
devDependencies: devDependencies:
'@kevisual/context': '@kevisual/context':
specifier: ^0.0.6 specifier: ^0.0.8
version: 0.0.6 version: 0.0.8
'@kevisual/remote-app': '@kevisual/remote-app':
specifier: ^0.0.4 specifier: ^0.0.4
version: 0.0.4 version: 0.0.4
@@ -468,8 +468,8 @@ packages:
'@jridgewell/trace-mapping@0.3.31': '@jridgewell/trace-mapping@0.3.31':
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
'@kevisual/api@0.0.51': '@kevisual/api@0.0.52':
resolution: {integrity: sha512-uQzAhcJlJqIjBZ5wHBnDPsKf0/JYRKP7p3eS6TGn/Um4bvJ/AI0mP5QtJson/VcdJOFFwORiF3CJQ1ifm/Cadw==} resolution: {integrity: sha512-xWajr5lPqBpAwyWseXqE25tNiD/GUZcFdcQJB/oRtObjRa3rog1/U/otV098WZUZVYPGGeAMriKSd3MFdPFcjQ==}
'@kevisual/cache@0.0.5': '@kevisual/cache@0.0.5':
resolution: {integrity: sha512-fgtUYGUUq/DY0KFV4CkWszNqvQUaA8XvMTUjoR9ZXRpau5IIDolD/Wen2TFsZ7G3Rfy+lef5dnaiZVDkZwdVKg==} resolution: {integrity: sha512-fgtUYGUUq/DY0KFV4CkWszNqvQUaA8XvMTUjoR9ZXRpau5IIDolD/Wen2TFsZ7G3Rfy+lef5dnaiZVDkZwdVKg==}
@@ -477,20 +477,23 @@ packages:
'@kevisual/context@0.0.6': '@kevisual/context@0.0.6':
resolution: {integrity: sha512-w7HBOuO3JH37n6xT6W3FD7ykqHTwtyxOQzTzfEcKDCbsvGB1wVreSxFm2bvoFnnFLuxT/5QMpKlnPrwvmcTGnw==} resolution: {integrity: sha512-w7HBOuO3JH37n6xT6W3FD7ykqHTwtyxOQzTzfEcKDCbsvGB1wVreSxFm2bvoFnnFLuxT/5QMpKlnPrwvmcTGnw==}
'@kevisual/context@0.0.8':
resolution: {integrity: sha512-DTJpyHI34NE76B7g6f+QlIqiCCyqI2qkBMQE736dzeRDGxOjnbe2iQY9W+Rt2PE6kmymM3qyOmSfNovyWyWrkA==}
'@kevisual/js-filter@0.0.5': '@kevisual/js-filter@0.0.5':
resolution: {integrity: sha512-+S+Sf3K/aP6XtZI2s7TgKOr35UuvUvtpJ9YDW30a+mY0/N8gRuzyKhieBzQN7Ykayzz70uoMavBXut2rUlLgzw==} resolution: {integrity: sha512-+S+Sf3K/aP6XtZI2s7TgKOr35UuvUvtpJ9YDW30a+mY0/N8gRuzyKhieBzQN7Ykayzz70uoMavBXut2rUlLgzw==}
'@kevisual/load@0.0.6': '@kevisual/load@0.0.6':
resolution: {integrity: sha512-+3YTFehRcZ1haGel5DKYMUwmi5i6f2psyaPZlfkKU/cOXgkpwoG9/BEqPCnPjicKqqnksEpixVRkyHJ+5bjLVA==} resolution: {integrity: sha512-+3YTFehRcZ1haGel5DKYMUwmi5i6f2psyaPZlfkKU/cOXgkpwoG9/BEqPCnPjicKqqnksEpixVRkyHJ+5bjLVA==}
'@kevisual/query@0.0.47': '@kevisual/query@0.0.49':
resolution: {integrity: sha512-ZR7WXeDDGUSzBtcGVU3J173sA0hCqrGTw5ybGbdNGlM0VyJV/XQIovCcSoZh1YpnciLRRqJvzXUgTnCkam+M3g==} resolution: {integrity: sha512-GrWW+QlBO5lkiqvb7PjOstNtpTQVSR74EHHWjm7YoL9UdT1wuPQXGUApZHmMBSh3NIWCf0AL2G1hPWZMC7YeOQ==}
'@kevisual/remote-app@0.0.4': '@kevisual/remote-app@0.0.4':
resolution: {integrity: sha512-2yIlWY98pLCcxG+DJsqXXkd5YYEgymuOsyElH+31AoEPb7mlNREnYS81zN0KM9nvdSmU2G51vV4UVirJlYBZCQ==} resolution: {integrity: sha512-2yIlWY98pLCcxG+DJsqXXkd5YYEgymuOsyElH+31AoEPb7mlNREnYS81zN0KM9nvdSmU2G51vV4UVirJlYBZCQ==}
'@kevisual/router@0.0.75': '@kevisual/router@0.0.80':
resolution: {integrity: sha512-WBDRKMjNYTP7ymkUUtiQwWYIcqnc+TGo3rFuRze8ovYV2UN5cQxIkIfsDbgWOdV1/v9b57gtiJvJRqWjCBWKRg==} resolution: {integrity: sha512-rVwi6Yf411bnNm2x94lMm+s4Csw0Yb7u/aj+VJJ59iouAYhjLuL7Rs1EcARhnQf47cegBJi6zozfGHgLsLHN2w==}
'@kevisual/types@0.0.12': '@kevisual/types@0.0.12':
resolution: {integrity: sha512-zJXH2dosir3jVrQ6QG4i0+iLQeT9gJ3H+cKXs8ReWboxBSYzUZO78XssVeVrFPsJ33iaAqo4q3DWbSS1dWGn7Q==} resolution: {integrity: sha512-zJXH2dosir3jVrQ6QG4i0+iLQeT9gJ3H+cKXs8ReWboxBSYzUZO78XssVeVrFPsJ33iaAqo4q3DWbSS1dWGn7Q==}
@@ -2101,8 +2104,8 @@ packages:
tabbable@6.4.0: tabbable@6.4.0:
resolution: {integrity: sha512-05PUHKSNE8ou2dwIxTngl4EzcnsCDZGJ/iCLtDflR/SHB/ny14rXc+qU5P4mG9JkusiV7EivzY9Mhm55AzAvCg==} resolution: {integrity: sha512-05PUHKSNE8ou2dwIxTngl4EzcnsCDZGJ/iCLtDflR/SHB/ny14rXc+qU5P4mG9JkusiV7EivzY9Mhm55AzAvCg==}
tailwind-merge@3.4.1: tailwind-merge@3.5.0:
resolution: {integrity: sha512-2OA0rFqWOkITEAOFWSBSApYkDeH9t2B3XSJuI4YztKBzK3mX0737A2qtxDZ7xkw9Zfh0bWl+r34sF3HXV+Ig7Q==} resolution: {integrity: sha512-I8K9wewnVDkL1NTGoqWmVEIlUcB9gFriAEkXkfCjX5ib8ezGxtR3xD7iZIxrfArjEsH7F1CHD4RFUtxefdqV/A==}
tailwindcss@4.1.18: tailwindcss@4.1.18:
resolution: {integrity: sha512-4+Z+0yiYyEtUVCScyfHCxOYP06L5Ne+JiHhY2IjR2KWMIWhJOYZKLSGZaP5HkZ8+bY0cxfzwDE5uOmzFXyIwxw==} resolution: {integrity: sha512-4+Z+0yiYyEtUVCScyfHCxOYP06L5Ne+JiHhY2IjR2KWMIWhJOYZKLSGZaP5HkZ8+bY0cxfzwDE5uOmzFXyIwxw==}
@@ -2479,7 +2482,7 @@ snapshots:
'@jridgewell/resolve-uri': 3.1.2 '@jridgewell/resolve-uri': 3.1.2
'@jridgewell/sourcemap-codec': 1.5.5 '@jridgewell/sourcemap-codec': 1.5.5
'@kevisual/api@0.0.51(@types/react@19.2.7)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(use-sync-external-store@1.6.0(react@19.2.4))': '@kevisual/api@0.0.52(@types/react@19.2.7)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(use-sync-external-store@1.6.0(react@19.2.4))':
dependencies: dependencies:
'@kevisual/context': 0.0.6 '@kevisual/context': 0.0.6
'@kevisual/js-filter': 0.0.5 '@kevisual/js-filter': 0.0.5
@@ -2508,17 +2511,19 @@ snapshots:
'@kevisual/context@0.0.6': {} '@kevisual/context@0.0.6': {}
'@kevisual/context@0.0.8': {}
'@kevisual/js-filter@0.0.5': {} '@kevisual/js-filter@0.0.5': {}
'@kevisual/load@0.0.6': '@kevisual/load@0.0.6':
dependencies: dependencies:
eventemitter3: 5.0.4 eventemitter3: 5.0.4
'@kevisual/query@0.0.47': {} '@kevisual/query@0.0.49': {}
'@kevisual/remote-app@0.0.4': {} '@kevisual/remote-app@0.0.4': {}
'@kevisual/router@0.0.75': '@kevisual/router@0.0.80':
dependencies: dependencies:
es-toolkit: 1.44.0 es-toolkit: 1.44.0
@@ -4255,7 +4260,7 @@ snapshots:
tabbable@6.4.0: {} tabbable@6.4.0: {}
tailwind-merge@3.4.1: {} tailwind-merge@3.5.0: {}
tailwindcss@4.1.18: {} tailwindcss@4.1.18: {}

View File

@@ -59,7 +59,7 @@ const FormModal = () => {
return ( return (
<Dialog open={containerStore.showEdit} onOpenChange={(open) => containerStore.setShowEdit(open)}> <Dialog open={containerStore.showEdit} onOpenChange={(open) => containerStore.setShowEdit(open)}>
<DialogContent className='w-[800px]'> <DialogContent className='w-200'>
<DialogHeader> <DialogHeader>
<DialogTitle>{isEdit ? 'Edit' : 'Add'}</DialogTitle> <DialogTitle>{isEdit ? 'Edit' : 'Add'}</DialogTitle>
</DialogHeader> </DialogHeader>