@djangocfg/layouts 2.1.239 → 2.1.241

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.239",
3
+ "version": "2.1.241",
4
4
  "description": "Simple, straightforward layout components for Next.js - import and use with props",
5
5
  "keywords": [
6
6
  "layouts",
@@ -74,14 +74,14 @@
74
74
  "check": "tsc --noEmit"
75
75
  },
76
76
  "peerDependencies": {
77
- "@djangocfg/api": "^2.1.239",
78
- "@djangocfg/centrifugo": "^2.1.239",
79
- "@djangocfg/i18n": "^2.1.239",
80
- "@djangocfg/monitor": "^2.1.239",
81
- "@djangocfg/debuger": "^2.1.239",
82
- "@djangocfg/ui-core": "^2.1.239",
83
- "@djangocfg/ui-nextjs": "^2.1.239",
84
- "@djangocfg/ui-tools": "^2.1.239",
77
+ "@djangocfg/api": "^2.1.241",
78
+ "@djangocfg/centrifugo": "^2.1.241",
79
+ "@djangocfg/i18n": "^2.1.241",
80
+ "@djangocfg/monitor": "^2.1.241",
81
+ "@djangocfg/debuger": "^2.1.241",
82
+ "@djangocfg/ui-core": "^2.1.241",
83
+ "@djangocfg/ui-nextjs": "^2.1.241",
84
+ "@djangocfg/ui-tools": "^2.1.241",
85
85
  "@hookform/resolvers": "^5.2.2",
86
86
  "consola": "^3.4.2",
87
87
  "lucide-react": "^0.545.0",
@@ -109,15 +109,15 @@
109
109
  "uuid": "^11.1.0"
110
110
  },
111
111
  "devDependencies": {
112
- "@djangocfg/api": "^2.1.239",
113
- "@djangocfg/i18n": "^2.1.239",
114
- "@djangocfg/centrifugo": "^2.1.239",
115
- "@djangocfg/monitor": "^2.1.239",
116
- "@djangocfg/debuger": "^2.1.239",
117
- "@djangocfg/typescript-config": "^2.1.239",
118
- "@djangocfg/ui-core": "^2.1.239",
119
- "@djangocfg/ui-nextjs": "^2.1.239",
120
- "@djangocfg/ui-tools": "^2.1.239",
112
+ "@djangocfg/api": "^2.1.241",
113
+ "@djangocfg/i18n": "^2.1.241",
114
+ "@djangocfg/centrifugo": "^2.1.241",
115
+ "@djangocfg/monitor": "^2.1.241",
116
+ "@djangocfg/debuger": "^2.1.241",
117
+ "@djangocfg/typescript-config": "^2.1.241",
118
+ "@djangocfg/ui-core": "^2.1.241",
119
+ "@djangocfg/ui-nextjs": "^2.1.241",
120
+ "@djangocfg/ui-tools": "^2.1.241",
121
121
  "@types/node": "^24.7.2",
122
122
  "@types/react": "^19.1.0",
123
123
  "@types/react-dom": "^19.1.0",
@@ -92,7 +92,7 @@ export function BaseApp({
92
92
  const enableErrorBoundary = errorBoundary?.enabled !== false;
93
93
 
94
94
  // Check if PWA Install is enabled
95
- const pwaInstallEnabled = pwaInstall?.enabled !== false;
95
+ const pwaInstallEnabled = pwaInstall?.enabled === true;
96
96
  const showInstallHint = pwaInstallEnabled && pwaInstall?.showInstallHint !== false;
97
97
 
98
98
  // Centrifugo configuration
@@ -27,7 +27,9 @@
27
27
  flex-direction: column;
28
28
  align-items: center;
29
29
  justify-content: center;
30
- padding: 1.5rem;
30
+ /* Responsive padding: 24px on mobile → 40px on desktop */
31
+ padding: 1.5rem clamp(1.5rem, 5vw, 2.5rem);
32
+ padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 1rem));
31
33
  }
32
34
 
33
35
  /* Glow layer override — force z-index 0 behind auth content */
@@ -689,19 +691,10 @@
689
691
  /* ===== RESPONSIVE ===== */
690
692
 
691
693
  @media (max-width: 480px) {
692
- /* Apple HIG: auth content anchored to the bottom — action area in thumb reach zone.
693
- overflow-y: auto allows scrolling when keyboard pushes content up. */
694
694
  .auth-layout {
695
- padding: 1.25rem 1.25rem;
696
- padding-bottom: max(2rem, env(safe-area-inset-bottom, 1.5rem));
697
- justify-content: flex-end;
698
695
  overflow-y: auto;
699
696
  }
700
697
 
701
- .auth-container {
702
- gap: 1.5rem;
703
- }
704
-
705
698
  .auth-title {
706
699
  font-size: 1.375rem;
707
700
  }