@djangocfg/layouts 2.1.267 → 2.1.268

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.267",
3
+ "version": "2.1.268",
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.267",
78
- "@djangocfg/centrifugo": "^2.1.267",
79
- "@djangocfg/debuger": "^2.1.267",
80
- "@djangocfg/i18n": "^2.1.267",
81
- "@djangocfg/monitor": "^2.1.267",
82
- "@djangocfg/ui-core": "^2.1.267",
83
- "@djangocfg/ui-nextjs": "^2.1.267",
84
- "@djangocfg/ui-tools": "^2.1.267",
77
+ "@djangocfg/api": "^2.1.268",
78
+ "@djangocfg/centrifugo": "^2.1.268",
79
+ "@djangocfg/debuger": "^2.1.268",
80
+ "@djangocfg/i18n": "^2.1.268",
81
+ "@djangocfg/monitor": "^2.1.268",
82
+ "@djangocfg/ui-core": "^2.1.268",
83
+ "@djangocfg/ui-nextjs": "^2.1.268",
84
+ "@djangocfg/ui-tools": "^2.1.268",
85
85
  "@hookform/resolvers": "^5.2.2",
86
86
  "consola": "^3.4.2",
87
87
  "lucide-react": "^0.545.0",
@@ -110,15 +110,15 @@
110
110
  "uuid": "^11.1.0"
111
111
  },
112
112
  "devDependencies": {
113
- "@djangocfg/api": "^2.1.267",
114
- "@djangocfg/centrifugo": "^2.1.267",
115
- "@djangocfg/debuger": "^2.1.267",
116
- "@djangocfg/i18n": "^2.1.267",
117
- "@djangocfg/monitor": "^2.1.267",
118
- "@djangocfg/typescript-config": "^2.1.267",
119
- "@djangocfg/ui-core": "^2.1.267",
120
- "@djangocfg/ui-nextjs": "^2.1.267",
121
- "@djangocfg/ui-tools": "^2.1.267",
113
+ "@djangocfg/api": "^2.1.268",
114
+ "@djangocfg/centrifugo": "^2.1.268",
115
+ "@djangocfg/debuger": "^2.1.268",
116
+ "@djangocfg/i18n": "^2.1.268",
117
+ "@djangocfg/monitor": "^2.1.268",
118
+ "@djangocfg/typescript-config": "^2.1.268",
119
+ "@djangocfg/ui-core": "^2.1.268",
120
+ "@djangocfg/ui-nextjs": "^2.1.268",
121
+ "@djangocfg/ui-tools": "^2.1.268",
122
122
  "@types/node": "^24.7.2",
123
123
  "@types/react": "^19.1.0",
124
124
  "@types/react-dom": "^19.1.0",
@@ -81,7 +81,7 @@ export const SetupQRCode: React.FC<SetupQRCodeProps> = ({
81
81
  </div>
82
82
  </div>
83
83
 
84
- <Collapsible>
84
+ <Collapsible className="auth-collapsible-centered">
85
85
  <CollapsibleTrigger asChild>
86
86
  <AuthLink>{content.manualEntry}</AuthLink>
87
87
  </CollapsibleTrigger>
@@ -509,6 +509,13 @@
509
509
  box-shadow: 0 2px 12px hsl(0 0% 0% / 0.1);
510
510
  }
511
511
 
512
+ /* Collapsible with centered trigger (e.g. "Can't scan? Enter manually") */
513
+ .auth-collapsible-centered {
514
+ display: flex;
515
+ flex-direction: column;
516
+ align-items: center;
517
+ }
518
+
512
519
  /* ===== SECRET CODE ===== */
513
520
 
514
521
  .auth-secret-container {
@@ -215,7 +215,7 @@ export const TwoFactorSection: React.FC = () => {
215
215
  Scan the QR code with your authenticator app (Google Authenticator, Authy, etc.)
216
216
  </CardDescription>
217
217
  </CardHeader>
218
- <CardContent>
218
+ <CardContent className="flex justify-center">
219
219
  <SetupStepStandalone
220
220
  onComplete={handleSetupDone}
221
221
  onSkip={() => setView('status')}