Update dependencies and import dynamic method

This commit updates multiple dependencies in the pnpm-lock.yaml file and imports the dynamic method from 'next/dynamic' in the site-header-account-section.tsx file. These updates are part of routine maintenance and improvement of the codebase. The import allows for dynamic imports, which can enhance performance.
This commit is contained in:
giancarlo
2024-04-16 20:56:18 +08:00
parent f2be1b80f4
commit cad729670f
26 changed files with 918 additions and 1788 deletions

View File

@@ -32,10 +32,10 @@
"@kit/ui": "workspace:^",
"@radix-ui/react-icons": "^1.3.0",
"@supabase/supabase-js": "^2.42.4",
"@tanstack/react-query": "5.29.0",
"@tanstack/react-query": "5.29.2",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"lucide-react": "^0.367.0",
"lucide-react": "^0.368.0",
"next": "14.2.1",
"next-themes": "0.3.0",
"react": "18.2.0",

View File

@@ -98,7 +98,7 @@ export function AccountSelector({
variant="ghost"
role="combobox"
aria-expanded={open}
className={cn('group w-full shadow', {
className={cn('dark:shadow-primary/10 group w-full border px-4', {
'justify-between': !collapsed,
'justify-center': collapsed,
})}

View File

@@ -34,12 +34,12 @@
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:^",
"@makerkit/data-loader-supabase-core": "^0.0.7",
"@makerkit/data-loader-supabase-nextjs": "^1.0.0",
"@makerkit/data-loader-supabase-nextjs": "^1.1.0",
"@supabase/supabase-js": "^2.42.4",
"@tanstack/react-query": "5.29.0",
"@tanstack/react-query": "5.29.2",
"@tanstack/react-table": "^8.16.0",
"@types/react": "^18.2.79",
"lucide-react": "^0.367.0",
"lucide-react": "^0.368.0",
"next": "14.2.1",
"react": "18.2.0",
"react-hook-form": "^7.51.3",

View File

@@ -29,9 +29,9 @@
"@marsidev/react-turnstile": "^0.5.4",
"@radix-ui/react-icons": "^1.3.0",
"@supabase/supabase-js": "^2.42.4",
"@tanstack/react-query": "5.29.0",
"@tanstack/react-query": "5.29.2",
"@types/react": "^18.2.79",
"lucide-react": "^0.367.0",
"lucide-react": "^0.368.0",
"next": "14.2.1",
"react-hook-form": "^7.51.3",
"react-i18next": "^14.1.0",

View File

@@ -30,13 +30,13 @@
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:^",
"@supabase/supabase-js": "^2.42.4",
"@tanstack/react-query": "5.29.0",
"@tanstack/react-query": "5.29.2",
"@tanstack/react-table": "^8.16.0",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"class-variance-authority": "^0.7.0",
"date-fns": "^3.6.0",
"lucide-react": "^0.367.0",
"lucide-react": "^0.368.0",
"next": "14.2.1",
"react": "18.2.0",
"react-dom": "18.2.0",