chore: bump version to 2.18.1 and update AppBreadcrumbs component (#386)
- Incremented application version from 2.18.0 to 2.18.1 in package.json. - Refactored AppBreadcrumbs component to use Next.js Link for improved navigation.
This commit is contained in:
committed by
GitHub
parent
2e20d3e76f
commit
5539d38cc2
@@ -30,7 +30,7 @@
|
||||
"@types/react": "19.1.16",
|
||||
"date-fns": "^4.1.0",
|
||||
"lucide-react": "^0.544.0",
|
||||
"next": "15.5.4",
|
||||
"next": "15.5.5",
|
||||
"react": "19.1.1",
|
||||
"react-hook-form": "^7.63.0",
|
||||
"react-i18next": "^16.0.0",
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:*",
|
||||
"@types/react": "19.1.16",
|
||||
"next": "15.5.4",
|
||||
"next": "15.5.5",
|
||||
"react": "19.1.1",
|
||||
"zod": "^3.25.74"
|
||||
},
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"@kit/ui": "workspace:*",
|
||||
"@types/react": "19.1.16",
|
||||
"date-fns": "^4.1.0",
|
||||
"next": "15.5.4",
|
||||
"next": "15.5.5",
|
||||
"react": "19.1.1",
|
||||
"zod": "^3.25.74"
|
||||
},
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"@types/react": "19.1.16",
|
||||
"@types/react-dom": "19.1.9",
|
||||
"lucide-react": "^0.544.0",
|
||||
"next": "15.5.4",
|
||||
"next": "15.5.5",
|
||||
"next-themes": "0.4.6",
|
||||
"react": "19.1.1",
|
||||
"react-dom": "19.1.1",
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"@tanstack/react-table": "^8.21.3",
|
||||
"@types/react": "19.1.16",
|
||||
"lucide-react": "^0.544.0",
|
||||
"next": "15.5.4",
|
||||
"next": "15.5.5",
|
||||
"react": "19.1.1",
|
||||
"react-dom": "19.1.1",
|
||||
"react-hook-form": "^7.63.0",
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"@tanstack/react-query": "5.90.2",
|
||||
"@types/react": "19.1.16",
|
||||
"lucide-react": "^0.544.0",
|
||||
"next": "15.5.4",
|
||||
"next": "15.5.5",
|
||||
"react-hook-form": "^7.63.0",
|
||||
"react-i18next": "^16.0.0",
|
||||
"sonner": "^2.0.7",
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"date-fns": "^4.1.0",
|
||||
"lucide-react": "^0.544.0",
|
||||
"next": "15.5.4",
|
||||
"next": "15.5.5",
|
||||
"react": "19.1.1",
|
||||
"react-dom": "19.1.1",
|
||||
"react-hook-form": "^7.63.0",
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"@kit/shared": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@tanstack/react-query": "5.90.2",
|
||||
"next": "15.5.4",
|
||||
"next": "15.5.5",
|
||||
"react": "19.1.1",
|
||||
"react-dom": "19.1.1",
|
||||
"react-i18next": "^16.0.0"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"@kit/supabase": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@supabase/supabase-js": "2.58.0",
|
||||
"next": "15.5.4",
|
||||
"next": "15.5.5",
|
||||
"zod": "^3.25.74"
|
||||
},
|
||||
"typesVersions": {
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"@supabase/supabase-js": "2.58.0",
|
||||
"@tanstack/react-query": "5.90.2",
|
||||
"@types/react": "19.1.16",
|
||||
"next": "15.5.4",
|
||||
"next": "15.5.5",
|
||||
"react": "19.1.1",
|
||||
"zod": "^3.25.74"
|
||||
},
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"date-fns": "^4.1.0",
|
||||
"eslint": "^9.35.0",
|
||||
"next": "15.5.4",
|
||||
"next": "15.5.5",
|
||||
"next-themes": "0.4.6",
|
||||
"prettier": "^3.6.2",
|
||||
"react-day-picker": "^9.11.0",
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
import { Fragment } from 'react';
|
||||
|
||||
import Link from 'next/link';
|
||||
import { usePathname } from 'next/navigation';
|
||||
|
||||
import {
|
||||
@@ -59,13 +60,17 @@ export function AppBreadcrumbs(props: {
|
||||
condition={index < visiblePaths.length - 1}
|
||||
fallback={label}
|
||||
>
|
||||
<BreadcrumbLink
|
||||
href={
|
||||
'/' +
|
||||
splitPath.slice(0, splitPath.indexOf(path) + 1).join('/')
|
||||
}
|
||||
>
|
||||
{label}
|
||||
<BreadcrumbLink asChild>
|
||||
<Link
|
||||
href={
|
||||
'/' +
|
||||
splitPath
|
||||
.slice(0, splitPath.indexOf(path) + 1)
|
||||
.join('/')
|
||||
}
|
||||
>
|
||||
{label}
|
||||
</Link>
|
||||
</BreadcrumbLink>
|
||||
</If>
|
||||
</BreadcrumbItem>
|
||||
|
||||
Reference in New Issue
Block a user