@djangocfg/layouts 2.1.352 → 2.1.353
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.353",
|
|
4
4
|
"description": "Simple, straightforward layout components for Next.js - import and use with props",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"layouts",
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
"check": "tsc --noEmit"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@djangocfg/api": "^2.1.
|
|
88
|
-
"@djangocfg/centrifugo": "^2.1.
|
|
89
|
-
"@djangocfg/debuger": "^2.1.
|
|
90
|
-
"@djangocfg/i18n": "^2.1.
|
|
91
|
-
"@djangocfg/monitor": "^2.1.
|
|
92
|
-
"@djangocfg/ui-core": "^2.1.
|
|
93
|
-
"@djangocfg/ui-nextjs": "^2.1.
|
|
87
|
+
"@djangocfg/api": "^2.1.353",
|
|
88
|
+
"@djangocfg/centrifugo": "^2.1.353",
|
|
89
|
+
"@djangocfg/debuger": "^2.1.353",
|
|
90
|
+
"@djangocfg/i18n": "^2.1.353",
|
|
91
|
+
"@djangocfg/monitor": "^2.1.353",
|
|
92
|
+
"@djangocfg/ui-core": "^2.1.353",
|
|
93
|
+
"@djangocfg/ui-nextjs": "^2.1.353",
|
|
94
94
|
"@hookform/resolvers": "^5.2.2",
|
|
95
95
|
"consola": "^3.4.2",
|
|
96
96
|
"lucide-react": "^0.545.0",
|
|
@@ -120,15 +120,15 @@
|
|
|
120
120
|
"uuid": "^11.1.0"
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
123
|
-
"@djangocfg/api": "^2.1.
|
|
124
|
-
"@djangocfg/centrifugo": "^2.1.
|
|
125
|
-
"@djangocfg/debuger": "^2.1.
|
|
126
|
-
"@djangocfg/i18n": "^2.1.
|
|
127
|
-
"@djangocfg/monitor": "^2.1.
|
|
128
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
129
|
-
"@djangocfg/ui-core": "^2.1.
|
|
130
|
-
"@djangocfg/ui-nextjs": "^2.1.
|
|
131
|
-
"@djangocfg/ui-tools": "^2.1.
|
|
123
|
+
"@djangocfg/api": "^2.1.353",
|
|
124
|
+
"@djangocfg/centrifugo": "^2.1.353",
|
|
125
|
+
"@djangocfg/debuger": "^2.1.353",
|
|
126
|
+
"@djangocfg/i18n": "^2.1.353",
|
|
127
|
+
"@djangocfg/monitor": "^2.1.353",
|
|
128
|
+
"@djangocfg/typescript-config": "^2.1.353",
|
|
129
|
+
"@djangocfg/ui-core": "^2.1.353",
|
|
130
|
+
"@djangocfg/ui-nextjs": "^2.1.353",
|
|
131
|
+
"@djangocfg/ui-tools": "^2.1.353",
|
|
132
132
|
"@types/node": "^24.7.2",
|
|
133
133
|
"@types/react": "^19.1.0",
|
|
134
134
|
"@types/react-dom": "^19.1.0",
|
|
@@ -46,8 +46,8 @@ import type {
|
|
|
46
46
|
import { SidebarFeatured } from '../../_components/SidebarFeatured';
|
|
47
47
|
|
|
48
48
|
/** Few items → roomier rows; many items → tighter. Same breakpoints for demo, CarAPIS, etc. */
|
|
49
|
-
const DENSITY_COMFORTABLE_MAX =
|
|
50
|
-
const DENSITY_DEFAULT_MAX =
|
|
49
|
+
const DENSITY_COMFORTABLE_MAX = 5;
|
|
50
|
+
const DENSITY_DEFAULT_MAX = 9;
|
|
51
51
|
|
|
52
52
|
type NavDensity = 'comfortable' | 'default' | 'compact';
|
|
53
53
|
|
|
@@ -354,7 +354,7 @@ export function PrivateSidebar({ sidebar, header, pathname: pathnameProp, varian
|
|
|
354
354
|
{menuEndSlot}
|
|
355
355
|
</SidebarContent>
|
|
356
356
|
|
|
357
|
-
<SidebarFooter className="p-
|
|
357
|
+
<SidebarFooter className="p-0">
|
|
358
358
|
{footerExtra}
|
|
359
359
|
<PrivateSidebarAccount header={header} />
|
|
360
360
|
</SidebarFooter>
|
|
@@ -128,9 +128,9 @@ export function PrivateSidebarAccount({ header }: PrivateSidebarAccountProps) {
|
|
|
128
128
|
const secondary = header?.footerSecondaryAction;
|
|
129
129
|
|
|
130
130
|
const triggerClassName = cn(
|
|
131
|
-
'group h-auto w-full gap-3 rounded-
|
|
131
|
+
'group h-auto w-full gap-3 rounded-none px-3 py-3 text-left',
|
|
132
132
|
'hover:bg-sidebar-accent/70 hover:text-sidebar-accent-foreground',
|
|
133
|
-
narrow ? 'justify-center px-0 py-
|
|
133
|
+
narrow ? 'justify-center px-0 py-2' : 'min-h-[52px]',
|
|
134
134
|
);
|
|
135
135
|
|
|
136
136
|
const secondaryButton = secondary && !narrow ? (
|
|
@@ -229,7 +229,7 @@ export function PrivateSidebarAccount({ header }: PrivateSidebarAccountProps) {
|
|
|
229
229
|
);
|
|
230
230
|
|
|
231
231
|
return (
|
|
232
|
-
<div className="w-full min-w-0 border-t border-sidebar-border/
|
|
232
|
+
<div className="w-full min-w-0 border-t border-sidebar-border/40">
|
|
233
233
|
<DropdownMenu>
|
|
234
234
|
<DropdownMenuTrigger asChild>
|
|
235
235
|
<Button
|