@djangocfg/layouts 2.1.234 → 2.1.235
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.235",
|
|
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.
|
|
78
|
-
"@djangocfg/centrifugo": "^2.1.
|
|
79
|
-
"@djangocfg/i18n": "^2.1.
|
|
80
|
-
"@djangocfg/monitor": "^2.1.
|
|
81
|
-
"@djangocfg/debuger": "^2.1.
|
|
82
|
-
"@djangocfg/ui-core": "^2.1.
|
|
83
|
-
"@djangocfg/ui-nextjs": "^2.1.
|
|
84
|
-
"@djangocfg/ui-tools": "^2.1.
|
|
77
|
+
"@djangocfg/api": "^2.1.235",
|
|
78
|
+
"@djangocfg/centrifugo": "^2.1.235",
|
|
79
|
+
"@djangocfg/i18n": "^2.1.235",
|
|
80
|
+
"@djangocfg/monitor": "^2.1.235",
|
|
81
|
+
"@djangocfg/debuger": "^2.1.235",
|
|
82
|
+
"@djangocfg/ui-core": "^2.1.235",
|
|
83
|
+
"@djangocfg/ui-nextjs": "^2.1.235",
|
|
84
|
+
"@djangocfg/ui-tools": "^2.1.235",
|
|
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.
|
|
113
|
-
"@djangocfg/i18n": "^2.1.
|
|
114
|
-
"@djangocfg/centrifugo": "^2.1.
|
|
115
|
-
"@djangocfg/monitor": "^2.1.
|
|
116
|
-
"@djangocfg/debuger": "^2.1.
|
|
117
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
118
|
-
"@djangocfg/ui-core": "^2.1.
|
|
119
|
-
"@djangocfg/ui-nextjs": "^2.1.
|
|
120
|
-
"@djangocfg/ui-tools": "^2.1.
|
|
112
|
+
"@djangocfg/api": "^2.1.235",
|
|
113
|
+
"@djangocfg/i18n": "^2.1.235",
|
|
114
|
+
"@djangocfg/centrifugo": "^2.1.235",
|
|
115
|
+
"@djangocfg/monitor": "^2.1.235",
|
|
116
|
+
"@djangocfg/debuger": "^2.1.235",
|
|
117
|
+
"@djangocfg/typescript-config": "^2.1.235",
|
|
118
|
+
"@djangocfg/ui-core": "^2.1.235",
|
|
119
|
+
"@djangocfg/ui-nextjs": "^2.1.235",
|
|
120
|
+
"@djangocfg/ui-tools": "^2.1.235",
|
|
121
121
|
"@types/node": "^24.7.2",
|
|
122
122
|
"@types/react": "^19.1.0",
|
|
123
123
|
"@types/react-dom": "^19.1.0",
|
|
@@ -99,8 +99,8 @@ export function BaseApp({
|
|
|
99
99
|
const centrifugoUrl = centrifugo?.url || process.env.NEXT_PUBLIC_CENTRIFUGO_URL;
|
|
100
100
|
const centrifugoEnabled = centrifugo?.enabled !== false;
|
|
101
101
|
|
|
102
|
-
// Debug panel —
|
|
103
|
-
const { enabled: debugEnabled
|
|
102
|
+
// Debug panel — always mounted, DebugButton handles visibility itself
|
|
103
|
+
const { enabled: debugEnabled, ...debugProps } = debug ?? {};
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
// Monitor — project prop as default, override with monitor config
|
|
@@ -170,8 +170,8 @@ export function BaseApp({
|
|
|
170
170
|
{/* Auth Dialog - global auth prompt */}
|
|
171
171
|
<AuthDialog authPath={auth?.routes?.auth} />
|
|
172
172
|
|
|
173
|
-
{/* Debug Panel —
|
|
174
|
-
|
|
173
|
+
{/* Debug Panel — auto in dev, ?debug=1 in prod, disable with debug={{ enabled: false }} */}
|
|
174
|
+
<DebugButton enabled={debugEnabled} {...debugProps} />
|
|
175
175
|
</ErrorTrackingProvider>
|
|
176
176
|
</PwaProvider>
|
|
177
177
|
</CentrifugoProvider>
|