@djangocfg/layouts 2.1.351 → 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.351",
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.351",
88
- "@djangocfg/centrifugo": "^2.1.351",
89
- "@djangocfg/debuger": "^2.1.351",
90
- "@djangocfg/i18n": "^2.1.351",
91
- "@djangocfg/monitor": "^2.1.351",
92
- "@djangocfg/ui-core": "^2.1.351",
93
- "@djangocfg/ui-nextjs": "^2.1.351",
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.351",
124
- "@djangocfg/centrifugo": "^2.1.351",
125
- "@djangocfg/debuger": "^2.1.351",
126
- "@djangocfg/i18n": "^2.1.351",
127
- "@djangocfg/monitor": "^2.1.351",
128
- "@djangocfg/typescript-config": "^2.1.351",
129
- "@djangocfg/ui-core": "^2.1.351",
130
- "@djangocfg/ui-nextjs": "^2.1.351",
131
- "@djangocfg/ui-tools": "^2.1.351",
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",
@@ -63,7 +63,7 @@ export function PrivateContent({
63
63
  : undefined;
64
64
 
65
65
  const scrollAreaClass = cn(
66
- 'min-h-0 flex-1',
66
+ 'min-h-0 flex-1 bg-card',
67
67
  scroll === 'auto' ? 'overflow-y-auto' : 'overflow-hidden',
68
68
  padding === 'default' && scroll === 'auto' && [
69
69
  'px-4 sm:px-6 lg:px-8',
@@ -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 = 6;
50
- const DENSITY_DEFAULT_MAX = 14;
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-2">
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-lg px-2 py-2 text-left',
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-1.5' : 'min-h-14',
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/45 pt-2">
232
+ <div className="w-full min-w-0 border-t border-sidebar-border/40">
233
233
  <DropdownMenu>
234
234
  <DropdownMenuTrigger asChild>
235
235
  <Button