Update package versions for improved stability
This commit updates the versions of "@types/node", "react-hook-form", and "@tanstack/react-query-next-experimental" packages throughout the application. These updates include minor version changes that improve the stability and compatibility of these libraries within the app.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
"lucide-react": "^0.376.0",
|
||||
"next": "14.2.3",
|
||||
"react": "18.3.1",
|
||||
"react-hook-form": "^7.51.3",
|
||||
"react-hook-form": "^7.51.4",
|
||||
"react-i18next": "^14.1.1",
|
||||
"zod": "^3.23.6"
|
||||
},
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"@kit/eslint-config": "workspace:*",
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@types/node": "^20.12.7"
|
||||
"@types/node": "^20.12.8"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:^",
|
||||
"@types/node": "^20.12.7",
|
||||
"@types/node": "^20.12.8",
|
||||
"zod": "^3.23.6"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:^",
|
||||
"@types/node": "^20.12.7",
|
||||
"@types/node": "^20.12.8",
|
||||
"wp-types": "^3.65.0"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
"next-themes": "0.3.0",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"react-hook-form": "^7.51.3",
|
||||
"react-hook-form": "^7.51.4",
|
||||
"react-i18next": "^14.1.1",
|
||||
"sonner": "^1.4.41",
|
||||
"zod": "^3.23.6"
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"next": "14.2.3",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"react-hook-form": "^7.51.3",
|
||||
"react-hook-form": "^7.51.4",
|
||||
"zod": "^3.23.6"
|
||||
},
|
||||
"exports": {
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"@types/react": "^18.3.1",
|
||||
"lucide-react": "^0.376.0",
|
||||
"next": "14.2.3",
|
||||
"react-hook-form": "^7.51.3",
|
||||
"react-hook-form": "^7.51.4",
|
||||
"react-i18next": "^14.1.1",
|
||||
"sonner": "^1.4.41",
|
||||
"zod": "^3.23.6"
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
"next": "14.2.3",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"react-hook-form": "^7.51.3",
|
||||
"react-hook-form": "^7.51.4",
|
||||
"react-i18next": "^14.1.1",
|
||||
"sonner": "^1.4.41",
|
||||
"zod": "^3.23.6"
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
"next-themes": "0.3.0",
|
||||
"prettier": "^3.2.5",
|
||||
"react-day-picker": "^8.10.1",
|
||||
"react-hook-form": "^7.51.3",
|
||||
"react-hook-form": "^7.51.4",
|
||||
"react-i18next": "^14.1.1",
|
||||
"sonner": "^1.4.41",
|
||||
"tailwindcss": "3.4.3",
|
||||
|
||||
@@ -10,6 +10,7 @@ import {
|
||||
DropdownMenu,
|
||||
DropdownMenuContent,
|
||||
DropdownMenuItem,
|
||||
DropdownMenuLabel,
|
||||
DropdownMenuSub,
|
||||
DropdownMenuSubContent,
|
||||
DropdownMenuSubTrigger,
|
||||
@@ -94,19 +95,33 @@ export function SubMenuModeToggle() {
|
||||
);
|
||||
|
||||
return (
|
||||
<DropdownMenuSub>
|
||||
<DropdownMenuSubTrigger>
|
||||
<span className={'flex w-full items-center space-x-2'}>
|
||||
<Icon theme={resolvedTheme} />
|
||||
<>
|
||||
<DropdownMenuSub>
|
||||
<DropdownMenuSubTrigger
|
||||
className={
|
||||
'hidden w-full items-center justify-between space-x-2 lg:flex'
|
||||
}
|
||||
>
|
||||
<span className={'flex space-x-2'}>
|
||||
<Icon theme={resolvedTheme} />
|
||||
|
||||
<span>
|
||||
<Trans i18nKey={'common:theme'} />
|
||||
<span>
|
||||
<Trans i18nKey={'common:theme'} />
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</DropdownMenuSubTrigger>
|
||||
</DropdownMenuSubTrigger>
|
||||
|
||||
<DropdownMenuSubContent>{MenuItems}</DropdownMenuSubContent>
|
||||
</DropdownMenuSub>
|
||||
<DropdownMenuSubContent>{MenuItems}</DropdownMenuSubContent>
|
||||
</DropdownMenuSub>
|
||||
|
||||
<div className={'lg:hidden'}>
|
||||
<DropdownMenuLabel>
|
||||
<Trans i18nKey={'common:theme'} />
|
||||
</DropdownMenuLabel>
|
||||
|
||||
{MenuItems}
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user