@djangocfg/layouts 2.1.125 → 2.1.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@djangocfg/layouts",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.127",
|
|
4
4
|
"description": "Simple, straightforward layout components for Next.js - import and use with props",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"layouts",
|
|
@@ -74,12 +74,12 @@
|
|
|
74
74
|
"check": "tsc --noEmit"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@djangocfg/api": "^2.1.
|
|
78
|
-
"@djangocfg/centrifugo": "^2.1.
|
|
79
|
-
"@djangocfg/i18n": "^2.1.
|
|
80
|
-
"@djangocfg/ui-core": "^2.1.
|
|
81
|
-
"@djangocfg/ui-nextjs": "^2.1.
|
|
82
|
-
"@djangocfg/ui-tools": "^2.1.
|
|
77
|
+
"@djangocfg/api": "^2.1.127",
|
|
78
|
+
"@djangocfg/centrifugo": "^2.1.127",
|
|
79
|
+
"@djangocfg/i18n": "^2.1.127",
|
|
80
|
+
"@djangocfg/ui-core": "^2.1.127",
|
|
81
|
+
"@djangocfg/ui-nextjs": "^2.1.127",
|
|
82
|
+
"@djangocfg/ui-tools": "^2.1.127",
|
|
83
83
|
"@hookform/resolvers": "^5.2.2",
|
|
84
84
|
"consola": "^3.4.2",
|
|
85
85
|
"lucide-react": "^0.545.0",
|
|
@@ -102,13 +102,13 @@
|
|
|
102
102
|
"uuid": "^11.1.0"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
105
|
-
"@djangocfg/api": "^2.1.
|
|
106
|
-
"@djangocfg/i18n": "^2.1.
|
|
107
|
-
"@djangocfg/centrifugo": "^2.1.
|
|
108
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
109
|
-
"@djangocfg/ui-core": "^2.1.
|
|
110
|
-
"@djangocfg/ui-nextjs": "^2.1.
|
|
111
|
-
"@djangocfg/ui-tools": "^2.1.
|
|
105
|
+
"@djangocfg/api": "^2.1.127",
|
|
106
|
+
"@djangocfg/i18n": "^2.1.127",
|
|
107
|
+
"@djangocfg/centrifugo": "^2.1.127",
|
|
108
|
+
"@djangocfg/typescript-config": "^2.1.127",
|
|
109
|
+
"@djangocfg/ui-core": "^2.1.127",
|
|
110
|
+
"@djangocfg/ui-nextjs": "^2.1.127",
|
|
111
|
+
"@djangocfg/ui-tools": "^2.1.127",
|
|
112
112
|
"@types/node": "^24.7.2",
|
|
113
113
|
"@types/react": "^19.1.0",
|
|
114
114
|
"@types/react-dom": "^19.1.0",
|
|
@@ -11,7 +11,7 @@ import { usePathname } from 'next/navigation';
|
|
|
11
11
|
import React from 'react';
|
|
12
12
|
|
|
13
13
|
import {
|
|
14
|
-
Sidebar, SidebarContent, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader,
|
|
14
|
+
Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader,
|
|
15
15
|
SidebarMenu, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, useSidebar
|
|
16
16
|
} from '@djangocfg/ui-nextjs/components';
|
|
17
17
|
import { cn } from '@djangocfg/ui-core/lib';
|
|
@@ -142,6 +142,13 @@ export function PrivateSidebar({ sidebar }: PrivateSidebarProps) {
|
|
|
142
142
|
</SidebarHeader>
|
|
143
143
|
|
|
144
144
|
<SidebarContent>{renderContent()}</SidebarContent>
|
|
145
|
+
|
|
146
|
+
{/* Footer */}
|
|
147
|
+
{sidebar.footer && (
|
|
148
|
+
<SidebarFooter>
|
|
149
|
+
{sidebar.footer}
|
|
150
|
+
</SidebarFooter>
|
|
151
|
+
)}
|
|
145
152
|
</Sidebar>
|
|
146
153
|
);
|
|
147
154
|
}
|