@arcblock/did-connect-service 4.1.54 → 4.1.55

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.
@@ -332,7 +332,9 @@ h1 {
332
332
  }
333
333
  @keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
334
334
 
335
- /* QR timeout overlay */
335
+ /* QR timeout overlay. It sits on the code, not across the card. Dark keeps a
336
+ dim scrim so the expired plate stays readable as "inactive". */
337
+ .qr-plate { position: relative; }
336
338
  .qr-timeout-overlay {
337
339
  position: absolute;
338
340
  inset: 0;
@@ -341,14 +343,28 @@ h1 {
341
343
  align-items: center;
342
344
  justify-content: center;
343
345
  gap: 12px;
346
+ padding: 16px;
347
+ text-align: center;
344
348
  background: rgba(0, 0, 0, 0.65);
345
- border-radius: var(--radius);
349
+ border-radius: inherit;
346
350
  backdrop-filter: blur(2px);
347
351
  }
348
352
  .qr-timeout-overlay .timeout-text {
349
353
  font-size: 13px;
354
+ line-height: 1.4;
350
355
  color: #fff;
351
356
  }
357
+ [data-theme="light"] .qr-timeout-overlay,
358
+ :host([data-theme="light"]) .qr-timeout-overlay {
359
+ background: rgba(255, 255, 255, 0.94);
360
+ border: 1px solid var(--border);
361
+ box-shadow: var(--shadow-sm);
362
+ backdrop-filter: blur(8px);
363
+ }
364
+ [data-theme="light"] .qr-timeout-overlay .timeout-text,
365
+ :host([data-theme="light"]) .qr-timeout-overlay .timeout-text {
366
+ color: var(--text-secondary);
367
+ }
352
368
  .qr-timeout-overlay .refresh-btn {
353
369
  display: inline-flex;
354
370
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/did-connect-service",
3
- "version": "4.1.54",
3
+ "version": "4.1.55",
4
4
  "description": "Multi-runtime authentication service framework — Passkey, DID Connect, OAuth, Email, Team, RBAC",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -61,8 +61,8 @@
61
61
  "sharp": "^0.35.5",
62
62
  "ufo": "^1.6.4",
63
63
  "valibot": "^1.4.2",
64
- "@arcblock/did-connect-core": "^4.1.54",
65
- "@arcblock/did-connect-js": "^4.1.54"
64
+ "@arcblock/did-connect-core": "^4.1.55",
65
+ "@arcblock/did-connect-js": "^4.1.55"
66
66
  },
67
67
  "optionalDependencies": {
68
68
  "@aigne/afs": "^1.11.0-beta.13"