@tatchi-xyz/sdk 0.32.2 → 0.32.3
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/dist/cjs/react/components/PasskeyAuthMenu/{PasskeyAuthMenu-CvW8VMJJ.css → PasskeyAuthMenu-mMygL3xX.css} +136 -46
- package/dist/cjs/react/components/PasskeyAuthMenu/PasskeyAuthMenu-mMygL3xX.css.map +1 -0
- package/dist/cjs/react/components/PasskeyAuthMenu/client.js +2 -3
- package/dist/cjs/react/components/PasskeyAuthMenu/client.js.map +1 -1
- package/dist/cjs/react/components/PasskeyAuthMenu/controller/mode.js +7 -2
- package/dist/cjs/react/components/PasskeyAuthMenu/controller/mode.js.map +1 -1
- package/dist/cjs/react/components/PasskeyAuthMenu/controller/usePasskeyAuthMenuController.js +4 -1
- package/dist/cjs/react/components/PasskeyAuthMenu/controller/usePasskeyAuthMenuController.js.map +1 -1
- package/dist/cjs/react/components/PasskeyAuthMenu/hydrationContext.js +20 -0
- package/dist/cjs/react/components/PasskeyAuthMenu/hydrationContext.js.map +1 -0
- package/dist/cjs/react/components/PasskeyAuthMenu/passkeyAuthMenuCompat.js +1 -1
- package/dist/cjs/react/components/PasskeyAuthMenu/shell.js +48 -27
- package/dist/cjs/react/components/PasskeyAuthMenu/shell.js.map +1 -1
- package/dist/cjs/react/components/PasskeyAuthMenu/skeleton.js +155 -101
- package/dist/cjs/react/components/PasskeyAuthMenu/skeleton.js.map +1 -1
- package/dist/cjs/react/components/PasskeyAuthMenu/ui/ContentSwitcher.js +5 -1
- package/dist/cjs/react/components/PasskeyAuthMenu/ui/ContentSwitcher.js.map +1 -1
- package/dist/cjs/react/index.js +2 -2
- package/dist/esm/react/components/PasskeyAuthMenu/{PasskeyAuthMenu-C-muDjkN.css → PasskeyAuthMenu-BihXvuII.css} +136 -46
- package/dist/esm/react/components/PasskeyAuthMenu/PasskeyAuthMenu-BihXvuII.css.map +1 -0
- package/dist/esm/react/components/PasskeyAuthMenu/client.js +2 -3
- package/dist/esm/react/components/PasskeyAuthMenu/client.js.map +1 -1
- package/dist/esm/react/components/PasskeyAuthMenu/controller/mode.js +7 -3
- package/dist/esm/react/components/PasskeyAuthMenu/controller/mode.js.map +1 -1
- package/dist/esm/react/components/PasskeyAuthMenu/controller/usePasskeyAuthMenuController.js +4 -1
- package/dist/esm/react/components/PasskeyAuthMenu/controller/usePasskeyAuthMenuController.js.map +1 -1
- package/dist/esm/react/components/PasskeyAuthMenu/hydrationContext.js +17 -0
- package/dist/esm/react/components/PasskeyAuthMenu/hydrationContext.js.map +1 -0
- package/dist/esm/react/components/PasskeyAuthMenu/passkeyAuthMenuCompat.js +1 -1
- package/dist/esm/react/components/PasskeyAuthMenu/shell.js +48 -27
- package/dist/esm/react/components/PasskeyAuthMenu/shell.js.map +1 -1
- package/dist/esm/react/components/PasskeyAuthMenu/skeleton.js +155 -101
- package/dist/esm/react/components/PasskeyAuthMenu/skeleton.js.map +1 -1
- package/dist/esm/react/components/PasskeyAuthMenu/ui/ContentSwitcher.js +5 -1
- package/dist/esm/react/components/PasskeyAuthMenu/ui/ContentSwitcher.js.map +1 -1
- package/dist/esm/react/index.js +2 -2
- package/dist/esm/react/styles/styles.css +135 -45
- package/dist/esm/wasm_vrf_worker/pkg/wasm_vrf_worker_bg.wasm +0 -0
- package/dist/types/src/react/components/PasskeyAuthMenu/client.d.ts +0 -1
- package/dist/types/src/react/components/PasskeyAuthMenu/client.d.ts.map +1 -1
- package/dist/types/src/react/components/PasskeyAuthMenu/controller/mode.d.ts +6 -1
- package/dist/types/src/react/components/PasskeyAuthMenu/controller/mode.d.ts.map +1 -1
- package/dist/types/src/react/components/PasskeyAuthMenu/controller/usePasskeyAuthMenuController.d.ts.map +1 -1
- package/dist/types/src/react/components/PasskeyAuthMenu/hydrationContext.d.ts +10 -0
- package/dist/types/src/react/components/PasskeyAuthMenu/hydrationContext.d.ts.map +1 -0
- package/dist/types/src/react/components/PasskeyAuthMenu/shell.d.ts +2 -1
- package/dist/types/src/react/components/PasskeyAuthMenu/shell.d.ts.map +1 -1
- package/dist/types/src/react/components/PasskeyAuthMenu/skeleton.d.ts +5 -1
- package/dist/types/src/react/components/PasskeyAuthMenu/skeleton.d.ts.map +1 -1
- package/dist/types/src/react/components/PasskeyAuthMenu/ui/ContentSwitcher.d.ts.map +1 -1
- package/dist/workers/offline-export-sw.js +156 -1
- package/dist/workers/wasm_vrf_worker_bg.wasm +0 -0
- package/dist/workers/web3authn-signer.worker.js +1360 -2
- package/dist/workers/web3authn-vrf.worker.js +2857 -2
- package/package.json +1 -1
- package/dist/cjs/react/components/PasskeyAuthMenu/PasskeyAuthMenu-CvW8VMJJ.css.map +0 -1
- package/dist/esm/react/components/PasskeyAuthMenu/PasskeyAuthMenu-C-muDjkN.css.map +0 -1
|
@@ -1103,10 +1103,16 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
1105
|
/* Root container */
|
|
1106
|
+
.w3a-no-animation {
|
|
1107
|
+
animation: none !important;
|
|
1108
|
+
transition: none !important;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1106
1111
|
.w3a-signup-menu-root {
|
|
1107
1112
|
/* CSS sentinel (used by tests/diagnostics to confirm stylesheet is applied) */
|
|
1108
1113
|
--w3a-pam2-css-ready: 1;
|
|
1109
|
-
position: relative;
|
|
1114
|
+
position: relative;
|
|
1115
|
+
/* relative position to anchor back button */
|
|
1110
1116
|
width: min(100dvw, 420px);
|
|
1111
1117
|
max-width: 100dvw;
|
|
1112
1118
|
min-width: 330px;
|
|
@@ -1148,15 +1154,18 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1148
1154
|
pointer-events: none;
|
|
1149
1155
|
filter: blur(0.2px);
|
|
1150
1156
|
}
|
|
1157
|
+
|
|
1151
1158
|
.w3a-back-button.is-visible {
|
|
1152
1159
|
opacity: 1;
|
|
1153
1160
|
pointer-events: auto;
|
|
1154
1161
|
filter: none;
|
|
1155
1162
|
}
|
|
1163
|
+
|
|
1156
1164
|
.w3a-back-button:hover {
|
|
1157
1165
|
transform: scale(1.02);
|
|
1158
1166
|
background: var(--w3a-colors-surface);
|
|
1159
1167
|
}
|
|
1168
|
+
|
|
1160
1169
|
.w3a-back-button:active {
|
|
1161
1170
|
transform: scale(0.96);
|
|
1162
1171
|
}
|
|
@@ -1244,7 +1253,8 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1244
1253
|
.w3a-content-switcher {
|
|
1245
1254
|
display: flex;
|
|
1246
1255
|
flex-direction: column;
|
|
1247
|
-
overflow: hidden;
|
|
1256
|
+
overflow: hidden;
|
|
1257
|
+
/* ensure smooth height animations without spillover */
|
|
1248
1258
|
transition: height 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
1249
1259
|
will-change: height;
|
|
1250
1260
|
}
|
|
@@ -1256,7 +1266,6 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1256
1266
|
flex: 0 1 auto;
|
|
1257
1267
|
display: flex;
|
|
1258
1268
|
flex-direction: column;
|
|
1259
|
-
animation: fade-in 240ms ease-out;
|
|
1260
1269
|
transition: height 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
1261
1270
|
}
|
|
1262
1271
|
|
|
@@ -1274,7 +1283,6 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1274
1283
|
gap: 0px;
|
|
1275
1284
|
min-height: 250px;
|
|
1276
1285
|
width: 100%;
|
|
1277
|
-
animation: content-enter 240ms ease-in-out;
|
|
1278
1286
|
}
|
|
1279
1287
|
|
|
1280
1288
|
@keyframes content-enter {
|
|
@@ -1282,6 +1290,7 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1282
1290
|
opacity: 0;
|
|
1283
1291
|
transform: scale(0.98) translateY(6px);
|
|
1284
1292
|
}
|
|
1293
|
+
|
|
1285
1294
|
to {
|
|
1286
1295
|
opacity: 1;
|
|
1287
1296
|
transform: scale(1) translateY(0);
|
|
@@ -1292,6 +1301,7 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1292
1301
|
from {
|
|
1293
1302
|
opacity: 0;
|
|
1294
1303
|
}
|
|
1304
|
+
|
|
1295
1305
|
to {
|
|
1296
1306
|
opacity: 1;
|
|
1297
1307
|
}
|
|
@@ -1303,6 +1313,7 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1303
1313
|
gap: 8px;
|
|
1304
1314
|
margin-bottom: var(--w3a-spacing-sm);
|
|
1305
1315
|
}
|
|
1316
|
+
|
|
1306
1317
|
.w3a-social-btn {
|
|
1307
1318
|
height: 48px;
|
|
1308
1319
|
flex: 1 1 0;
|
|
@@ -1318,13 +1329,16 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1318
1329
|
/* no shadow requested */
|
|
1319
1330
|
box-shadow: none;
|
|
1320
1331
|
}
|
|
1332
|
+
|
|
1321
1333
|
.w3a-social-btn svg {
|
|
1322
1334
|
color: var(--w3a-colors-textSecondary, #64748b);
|
|
1323
1335
|
}
|
|
1336
|
+
|
|
1324
1337
|
.w3a-social-btn:hover {
|
|
1325
1338
|
background: var(--w3a-colors-surface2);
|
|
1326
1339
|
box-shadow: var(--w3a-shadows-sm);
|
|
1327
1340
|
}
|
|
1341
|
+
|
|
1328
1342
|
.w3a-social-btn:hover svg {
|
|
1329
1343
|
color: var(--w3a-colors-textPrimary, #1e293b);
|
|
1330
1344
|
}
|
|
@@ -1352,6 +1366,7 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1352
1366
|
overflow-x: hidden;
|
|
1353
1367
|
transition: border-radius 150ms ease-in-out;
|
|
1354
1368
|
}
|
|
1369
|
+
|
|
1355
1370
|
.w3a-input-pill.is-enabled {
|
|
1356
1371
|
border-radius: 2rem 0.25rem 0.25rem 2rem;
|
|
1357
1372
|
transition: border-radius 150ms ease-in-out;
|
|
@@ -1363,8 +1378,10 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1363
1378
|
height: 32px;
|
|
1364
1379
|
display: flex;
|
|
1365
1380
|
align-items: center;
|
|
1366
|
-
min-width: 0;
|
|
1381
|
+
min-width: 0;
|
|
1382
|
+
/* allow input to shrink inside flex container without clipping */
|
|
1367
1383
|
}
|
|
1384
|
+
|
|
1368
1385
|
.w3a-input {
|
|
1369
1386
|
width: 100%;
|
|
1370
1387
|
height: 32px;
|
|
@@ -1374,7 +1391,8 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1374
1391
|
color: var(--w3a-colors-textPrimary);
|
|
1375
1392
|
font-size: 16px;
|
|
1376
1393
|
padding: 0;
|
|
1377
|
-
min-width: 0;
|
|
1394
|
+
min-width: 0;
|
|
1395
|
+
/* prevent overflow clipping in flex layouts */
|
|
1378
1396
|
}
|
|
1379
1397
|
|
|
1380
1398
|
/* Absolute status message anchored to bottom-right of the input area */
|
|
@@ -1393,15 +1411,18 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1393
1411
|
font-size: 16px;
|
|
1394
1412
|
white-space: nowrap;
|
|
1395
1413
|
pointer-events: none;
|
|
1396
|
-
visibility: hidden;
|
|
1414
|
+
visibility: hidden;
|
|
1415
|
+
/* React enables once measured */
|
|
1397
1416
|
will-change: left;
|
|
1398
1417
|
transition: left 32ms ease;
|
|
1399
1418
|
}
|
|
1419
|
+
|
|
1400
1420
|
.w3a-postfix.is-existing {
|
|
1401
1421
|
color: var(--w3a-colors-success);
|
|
1402
1422
|
}
|
|
1423
|
+
|
|
1403
1424
|
/* On focus, keep postfix subtle for readability */
|
|
1404
|
-
.w3a-input:focus
|
|
1425
|
+
.w3a-input:focus~.w3a-postfix {
|
|
1405
1426
|
color: var(--w3a-colors-textMuted);
|
|
1406
1427
|
}
|
|
1407
1428
|
|
|
@@ -1409,7 +1430,8 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1409
1430
|
display: flex;
|
|
1410
1431
|
align-items: center;
|
|
1411
1432
|
justify-content: center;
|
|
1412
|
-
width: 0;
|
|
1433
|
+
width: 0;
|
|
1434
|
+
/* hidden footprint by default */
|
|
1413
1435
|
padding: 0;
|
|
1414
1436
|
background: transparent;
|
|
1415
1437
|
border: 0;
|
|
@@ -1425,13 +1447,15 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1425
1447
|
border: 6px solid var(--w3a-colors-colorBackground, #fff);
|
|
1426
1448
|
height: 64px;
|
|
1427
1449
|
transition: transform 150ms ease,
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1450
|
+
background-color 150ms ease,
|
|
1451
|
+
border-radius 150ms ease,
|
|
1452
|
+
opacity 150ms ease,
|
|
1453
|
+
width 150ms ease-in-out;
|
|
1432
1454
|
}
|
|
1455
|
+
|
|
1433
1456
|
.w3a-arrow-btn.is-enabled {
|
|
1434
|
-
width: 100px;
|
|
1457
|
+
width: 100px;
|
|
1458
|
+
/* expand when enabled */
|
|
1435
1459
|
/* Prefer themed primary; fall back to legacy then a sane default */
|
|
1436
1460
|
background: var(--w3a-colors-primary, #2563eb);
|
|
1437
1461
|
border-radius: 2rem;
|
|
@@ -1440,36 +1464,42 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1440
1464
|
visibility: visible;
|
|
1441
1465
|
pointer-events: auto;
|
|
1442
1466
|
transition: transform 150ms ease,
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1467
|
+
background-color 150ms ease,
|
|
1468
|
+
border-radius 150ms ease,
|
|
1469
|
+
opacity 150ms ease,
|
|
1470
|
+
width 150ms ease-in-out;
|
|
1447
1471
|
}
|
|
1472
|
+
|
|
1448
1473
|
.w3a-arrow-btn.no-transition,
|
|
1449
1474
|
.w3a-arrow-btn.no-transition.is-enabled {
|
|
1450
1475
|
transition: none;
|
|
1451
1476
|
}
|
|
1477
|
+
|
|
1452
1478
|
.w3a-arrow-btn .w3a-arrow-icon {
|
|
1453
1479
|
color: #fff;
|
|
1454
1480
|
}
|
|
1481
|
+
|
|
1455
1482
|
.w3a-arrow-btn.is-enabled:hover {
|
|
1456
1483
|
/* transform: scale(1.02); */
|
|
1457
1484
|
background: var(--w3a-colors-primaryHover, #1d4ed8);
|
|
1458
1485
|
}
|
|
1486
|
+
|
|
1459
1487
|
.w3a-arrow-btn.is-enabled:active {
|
|
1460
1488
|
transform: scale(0.96);
|
|
1461
1489
|
}
|
|
1490
|
+
|
|
1462
1491
|
.w3a-arrow-btn:disabled {
|
|
1463
1492
|
width: 0;
|
|
1464
1493
|
cursor: not-allowed;
|
|
1465
1494
|
opacity: 0.5;
|
|
1466
1495
|
background: var(--w3a-colors-borderSecondary);
|
|
1467
1496
|
transition: transform 150ms ease,
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1497
|
+
background-color 150ms ease,
|
|
1498
|
+
border-radius 150ms ease,
|
|
1499
|
+
opacity 150ms ease,
|
|
1500
|
+
width 150ms ease-in-out;
|
|
1472
1501
|
}
|
|
1502
|
+
|
|
1473
1503
|
.w3a-arrow-btn .w3a-arrow-label {
|
|
1474
1504
|
margin-left: 8px;
|
|
1475
1505
|
font-weight: 600;
|
|
@@ -1483,7 +1513,7 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1483
1513
|
justify-content: center;
|
|
1484
1514
|
}
|
|
1485
1515
|
|
|
1486
|
-
.w3a-arrow-btn .stripe-arrow
|
|
1516
|
+
.w3a-arrow-btn .stripe-arrow>.HoverArrow {
|
|
1487
1517
|
position: relative;
|
|
1488
1518
|
margin-top: 0.1rem;
|
|
1489
1519
|
margin-left: 8px;
|
|
@@ -1493,23 +1523,23 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1493
1523
|
}
|
|
1494
1524
|
|
|
1495
1525
|
/* Horizontal line: fades in on hover of the button */
|
|
1496
|
-
.w3a-arrow-btn .stripe-arrow
|
|
1526
|
+
.w3a-arrow-btn .stripe-arrow>.HoverArrow .HoverArrow__linePath {
|
|
1497
1527
|
opacity: 0;
|
|
1498
1528
|
transition: opacity 120ms cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
1499
1529
|
}
|
|
1500
1530
|
|
|
1501
1531
|
/* Chevron: nudges right and slightly scales on hover */
|
|
1502
|
-
.w3a-arrow-btn .stripe-arrow
|
|
1532
|
+
.w3a-arrow-btn .stripe-arrow>.HoverArrow .HoverArrow__tipPath {
|
|
1503
1533
|
transition: transform 120ms cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
1504
1534
|
}
|
|
1505
1535
|
|
|
1506
|
-
.w3a-arrow-btn.is-enabled:hover .stripe-arrow
|
|
1507
|
-
.w3a-arrow-btn.is-enabled:focus-visible .stripe-arrow
|
|
1536
|
+
.w3a-arrow-btn.is-enabled:hover .stripe-arrow>.HoverArrow .HoverArrow__linePath,
|
|
1537
|
+
.w3a-arrow-btn.is-enabled:focus-visible .stripe-arrow>.HoverArrow .HoverArrow__linePath {
|
|
1508
1538
|
opacity: 1;
|
|
1509
1539
|
}
|
|
1510
1540
|
|
|
1511
|
-
.w3a-arrow-btn.is-enabled:hover .stripe-arrow
|
|
1512
|
-
.w3a-arrow-btn.is-enabled:focus-visible .stripe-arrow
|
|
1541
|
+
.w3a-arrow-btn.is-enabled:hover .stripe-arrow>.HoverArrow .HoverArrow__tipPath,
|
|
1542
|
+
.w3a-arrow-btn.is-enabled:focus-visible .stripe-arrow>.HoverArrow .HoverArrow__tipPath {
|
|
1513
1543
|
transform: translateX(3px);
|
|
1514
1544
|
}
|
|
1515
1545
|
|
|
@@ -1523,6 +1553,7 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1523
1553
|
background: var(--w3a-colors-surface2);
|
|
1524
1554
|
border-radius: var(--w3a-border-radius-xl);
|
|
1525
1555
|
}
|
|
1556
|
+
|
|
1526
1557
|
.w3a-seg-active {
|
|
1527
1558
|
position: absolute;
|
|
1528
1559
|
top: 5px;
|
|
@@ -1536,6 +1567,7 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1536
1567
|
will-change: transform, width;
|
|
1537
1568
|
pointer-events: none;
|
|
1538
1569
|
}
|
|
1570
|
+
|
|
1539
1571
|
.w3a-seg-grid {
|
|
1540
1572
|
display: flex;
|
|
1541
1573
|
gap: 4px;
|
|
@@ -1543,6 +1575,7 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1543
1575
|
position: relative;
|
|
1544
1576
|
z-index: 1;
|
|
1545
1577
|
}
|
|
1578
|
+
|
|
1546
1579
|
.w3a-seg-btn {
|
|
1547
1580
|
flex: 1 1 0;
|
|
1548
1581
|
min-width: 0;
|
|
@@ -1566,15 +1599,19 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1566
1599
|
padding: 0 14px;
|
|
1567
1600
|
font-size: clamp(13px, 3.6vw, 15px);
|
|
1568
1601
|
}
|
|
1602
|
+
|
|
1569
1603
|
.w3a-seg-btn:hover {
|
|
1570
1604
|
transform: scale(1.02);
|
|
1571
1605
|
}
|
|
1606
|
+
|
|
1572
1607
|
.w3a-seg-btn:active {
|
|
1573
1608
|
transform: scale(0.98);
|
|
1574
1609
|
}
|
|
1610
|
+
|
|
1575
1611
|
.w3a-seg-btn.is-active {
|
|
1576
1612
|
color: var(--w3a-colors-textPrimary);
|
|
1577
1613
|
}
|
|
1614
|
+
|
|
1578
1615
|
.w3a-seg-btn:focus-visible {
|
|
1579
1616
|
box-shadow: 0 0 0 2px color-mix(in srgb, var(--w3a-colors-focus), transparent 60%);
|
|
1580
1617
|
}
|
|
@@ -1588,7 +1625,9 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1588
1625
|
}
|
|
1589
1626
|
|
|
1590
1627
|
@supports (width: 1dvw) {
|
|
1591
|
-
.w3a-signup-menu-root {
|
|
1628
|
+
.w3a-signup-menu-root {
|
|
1629
|
+
max-width: calc(100dvw - 0.25rem);
|
|
1630
|
+
}
|
|
1592
1631
|
}
|
|
1593
1632
|
|
|
1594
1633
|
.w3a-title {
|
|
@@ -1654,19 +1693,26 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1654
1693
|
animation-delay: var(--w3a-waiting-delay, 0ms);
|
|
1655
1694
|
animation-fill-mode: both;
|
|
1656
1695
|
}
|
|
1696
|
+
|
|
1657
1697
|
.w3a-waiting-message {
|
|
1658
1698
|
display: flex;
|
|
1659
1699
|
flex-direction: column;
|
|
1660
1700
|
align-items: center;
|
|
1661
1701
|
gap: 6px;
|
|
1662
1702
|
}
|
|
1663
|
-
|
|
1703
|
+
|
|
1704
|
+
.w3a-waiting-text {
|
|
1705
|
+
font-size: 18px;
|
|
1706
|
+
font-weight: 600;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1664
1709
|
.w3a-waiting-subtext {
|
|
1665
1710
|
font-size: 12px;
|
|
1666
1711
|
font-weight: 500;
|
|
1667
1712
|
line-height: 1.35;
|
|
1668
1713
|
color: color-mix(in srgb, var(--w3a-colors-textSecondary), var(--w3a-colors-textPrimary) 25%);
|
|
1669
1714
|
}
|
|
1715
|
+
|
|
1670
1716
|
.w3a-waiting-sdk-events {
|
|
1671
1717
|
font-size: 11px;
|
|
1672
1718
|
font-weight: 500;
|
|
@@ -1674,11 +1720,12 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1674
1720
|
white-space: pre-wrap;
|
|
1675
1721
|
color: color-mix(in srgb, var(--w3a-colors-textSecondary), var(--w3a-colors-textPrimary) 15%);
|
|
1676
1722
|
}
|
|
1723
|
+
|
|
1677
1724
|
.w3a-spinner {
|
|
1678
1725
|
width: 36px;
|
|
1679
1726
|
height: 36px;
|
|
1680
1727
|
border-radius: 999px;
|
|
1681
|
-
border: 3px solid rgba(255,255,255,0.15);
|
|
1728
|
+
border: 3px solid rgba(255, 255, 255, 0.15);
|
|
1682
1729
|
border-top-color: var(--w3a-colors-primary);
|
|
1683
1730
|
animation: w3a-spin 0.9s linear infinite;
|
|
1684
1731
|
}
|
|
@@ -1697,6 +1744,7 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1697
1744
|
width: 100%;
|
|
1698
1745
|
overflow: hidden;
|
|
1699
1746
|
animation: content-enter 240ms ease-out;
|
|
1747
|
+
animation-fill-mode: both;
|
|
1700
1748
|
}
|
|
1701
1749
|
|
|
1702
1750
|
/* Ensure QR code content stays within bounds */
|
|
@@ -1723,6 +1771,7 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1723
1771
|
align-items: center;
|
|
1724
1772
|
justify-content: flex-end;
|
|
1725
1773
|
}
|
|
1774
|
+
|
|
1726
1775
|
.w3a-status-message {
|
|
1727
1776
|
font-size: 11px;
|
|
1728
1777
|
font-weight: 500;
|
|
@@ -1759,12 +1808,14 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1759
1808
|
margin: 6px 2px 6px;
|
|
1760
1809
|
font-weight: 600;
|
|
1761
1810
|
}
|
|
1811
|
+
|
|
1762
1812
|
.w3a-seg-help {
|
|
1763
1813
|
font-size: 12px;
|
|
1764
1814
|
color: color-mix(in srgb, var(--w3a-colors-textSecondary), var(--w3a-colors-textPrimary) 25%);
|
|
1765
1815
|
margin: 0;
|
|
1766
1816
|
margin-left: 0.75rem;
|
|
1767
1817
|
}
|
|
1818
|
+
|
|
1768
1819
|
.w3a-seg-help-row {
|
|
1769
1820
|
display: flex;
|
|
1770
1821
|
align-items: center;
|
|
@@ -1772,6 +1823,7 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1772
1823
|
gap: 12px;
|
|
1773
1824
|
margin-top: 8px;
|
|
1774
1825
|
}
|
|
1826
|
+
|
|
1775
1827
|
/* Tooltip for account existence status */
|
|
1776
1828
|
.w3a-input-wrap .w3a-tooltip {
|
|
1777
1829
|
position: absolute;
|
|
@@ -1787,15 +1839,18 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1787
1839
|
transition: opacity 180ms ease, transform 200ms ease;
|
|
1788
1840
|
z-index: 2;
|
|
1789
1841
|
}
|
|
1842
|
+
|
|
1790
1843
|
.w3a-input-wrap .w3a-tooltip.is-visible {
|
|
1791
1844
|
opacity: 0.8;
|
|
1792
1845
|
transform: translateX(0px) scale(1);
|
|
1793
1846
|
}
|
|
1847
|
+
|
|
1794
1848
|
.w3a-input-wrap .w3a-tooltip.is-error {
|
|
1795
1849
|
color: var(--w3a-colors-error);
|
|
1796
1850
|
background: var(--w3a-colors-colorBackground);
|
|
1797
1851
|
/* background: color-mix(in srgb, var(--w3a-colors-error), transparent 90%); */
|
|
1798
1852
|
}
|
|
1853
|
+
|
|
1799
1854
|
.w3a-input-wrap .w3a-tooltip.is-success {
|
|
1800
1855
|
color: var(--w3a-colors-blue400);
|
|
1801
1856
|
background: var(--w3a-colors-colorBackground);
|
|
@@ -1803,13 +1858,26 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1803
1858
|
}
|
|
1804
1859
|
|
|
1805
1860
|
@keyframes w3a-spin {
|
|
1806
|
-
from {
|
|
1807
|
-
|
|
1861
|
+
from {
|
|
1862
|
+
transform: rotate(0deg);
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
to {
|
|
1866
|
+
transform: rotate(360deg);
|
|
1867
|
+
}
|
|
1808
1868
|
}
|
|
1809
1869
|
|
|
1810
1870
|
@keyframes w3a-ellipsis-dot {
|
|
1811
|
-
|
|
1812
|
-
|
|
1871
|
+
|
|
1872
|
+
0%,
|
|
1873
|
+
80%,
|
|
1874
|
+
100% {
|
|
1875
|
+
opacity: 0;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
40% {
|
|
1879
|
+
opacity: 1;
|
|
1880
|
+
}
|
|
1813
1881
|
}
|
|
1814
1882
|
|
|
1815
1883
|
.w3a-ellipsis {
|
|
@@ -1822,24 +1890,45 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1822
1890
|
animation: w3a-ellipsis-dot 1.2s infinite;
|
|
1823
1891
|
}
|
|
1824
1892
|
|
|
1825
|
-
.w3a-ellipsis-dot:nth-child(2) {
|
|
1826
|
-
|
|
1893
|
+
.w3a-ellipsis-dot:nth-child(2) {
|
|
1894
|
+
animation-delay: 0.15s;
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
.w3a-ellipsis-dot:nth-child(3) {
|
|
1898
|
+
animation-delay: 0.3s;
|
|
1899
|
+
}
|
|
1827
1900
|
|
|
1828
1901
|
/* Pop/bounce-in animation (kept for legacy classes) */
|
|
1829
1902
|
@keyframes w3a-input-msg-pop {
|
|
1830
|
-
0% {
|
|
1831
|
-
|
|
1832
|
-
|
|
1903
|
+
0% {
|
|
1904
|
+
opacity: 0;
|
|
1905
|
+
transform: translateY(8px) scale(0.98);
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
60% {
|
|
1909
|
+
opacity: 1;
|
|
1910
|
+
transform: translateY(-2px) scale(1.02);
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
100% {
|
|
1914
|
+
opacity: 1;
|
|
1915
|
+
transform: translateY(0) scale(1);
|
|
1916
|
+
}
|
|
1833
1917
|
}
|
|
1834
1918
|
|
|
1835
1919
|
@media (prefers-reduced-motion: reduce) {
|
|
1836
|
-
.w3a-input-msg.is-error {
|
|
1837
|
-
|
|
1920
|
+
.w3a-input-msg.is-error {
|
|
1921
|
+
animation: none;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
.w3a-ellipsis-dot {
|
|
1925
|
+
animation: none;
|
|
1926
|
+
opacity: 1;
|
|
1927
|
+
}
|
|
1838
1928
|
}
|
|
1839
1929
|
|
|
1840
1930
|
/* Button System */
|
|
1841
|
-
.w3a-scan-device-row {
|
|
1842
|
-
}
|
|
1931
|
+
.w3a-scan-device-row {}
|
|
1843
1932
|
|
|
1844
1933
|
.w3a-secondary-actions {
|
|
1845
1934
|
display: flex;
|
|
@@ -1918,6 +2007,7 @@ body[data-w3a-theme-pulse="1"] .w3a-profile-dropdown-menu {
|
|
|
1918
2007
|
gap: 12px;
|
|
1919
2008
|
min-height: 260px;
|
|
1920
2009
|
animation: content-enter 240ms ease-out;
|
|
2010
|
+
animation-fill-mode: both;
|
|
1921
2011
|
}
|
|
1922
2012
|
|
|
1923
2013
|
.w3a-email-recovery-title {
|
|
Binary file
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type PasskeyAuthMenuProps } from './types';
|
|
3
|
-
import './PasskeyAuthMenu.css';
|
|
4
3
|
export declare const PasskeyAuthMenuClient: React.FC<PasskeyAuthMenuProps>;
|
|
5
4
|
export default PasskeyAuthMenuClient;
|
|
6
5
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/react/components/PasskeyAuthMenu/client.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAgB,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/react/components/PasskeyAuthMenu/client.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAgB,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAelE,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA2MhE,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -13,6 +13,11 @@ export interface UseAuthMenuModeArgs {
|
|
|
13
13
|
currentValue: string;
|
|
14
14
|
setCurrentValue: (v: string) => void;
|
|
15
15
|
headings?: AuthMenuHeadings | null;
|
|
16
|
+
/**
|
|
17
|
+
* When true, forces the initial client render to start in Register mode, even if
|
|
18
|
+
* `accountExists` suggests Login. This is used to align hydration with the shell skeleton.
|
|
19
|
+
*/
|
|
20
|
+
forceInitialRegister?: boolean;
|
|
16
21
|
}
|
|
17
22
|
export interface UseAuthMenuModeResult {
|
|
18
23
|
mode: AuthMenuMode;
|
|
@@ -29,6 +34,6 @@ export interface UseAuthMenuModeResult {
|
|
|
29
34
|
* - No IndexedDB/wallet-prefill logic yet (intentionally).
|
|
30
35
|
* - Pure state transitions to keep the baseline bundle small and predictable.
|
|
31
36
|
*/
|
|
32
|
-
export declare function useAuthMenuMode({ defaultMode, accountExists, currentValue, setCurrentValue, headings, }: UseAuthMenuModeArgs): UseAuthMenuModeResult;
|
|
37
|
+
export declare function useAuthMenuMode({ defaultMode, accountExists, currentValue, setCurrentValue, headings, forceInitialRegister, }: UseAuthMenuModeArgs): UseAuthMenuModeResult;
|
|
33
38
|
export default useAuthMenuMode;
|
|
34
39
|
//# sourceMappingURL=mode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mode.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/components/PasskeyAuthMenu/controller/mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,OAAO,EACtB,SAAS,CAAC,EAAE,YAAY,GAAG,IAAI,GAC9B,YAAY,CAGd;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,YAAY,EAAE,QAAQ,CAAC,EAAE,gBAAgB,GAAG,IAAI,GAAG,aAAa,CAclG;AAED,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"mode.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/components/PasskeyAuthMenu/controller/mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,OAAO,EACtB,SAAS,CAAC,EAAE,YAAY,GAAG,IAAI,GAC9B,YAAY,CAGd;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,YAAY,EAAE,QAAQ,CAAC,EAAE,gBAAgB,GAAG,IAAI,GAAG,aAAa,CAclG;AAED,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACnC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;IAC5D,KAAK,EAAE,aAAa,CAAC;IACrB,eAAe,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC9C,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,EAC9B,WAAW,EACX,aAAa,EACb,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,oBAA4B,GAC7B,EAAE,mBAAmB,GAAG,qBAAqB,CAwB7C;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePasskeyAuthMenuController.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/components/PasskeyAuthMenu/controller/usePasskeyAuthMenuController.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"usePasskeyAuthMenuController.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/components/PasskeyAuthMenu/controller/usePasskeyAuthMenuController.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAKnE,MAAM,WAAW,mCAAmC;IAClD,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAChD,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACjC;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC9C,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,mBAAmB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IACvD,UAAU,EAAE,mCAAmC,CAAC;CACjD;AAED,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,IAAI,CACT,oBAAoB,EACpB,SAAS,GAAG,YAAY,GAAG,eAAe,GAAG,aAAa,GAAG,UAAU,GAAG,mBAAmB,CAC9F,EACD,OAAO,EAAE,sBAAsB,GAC9B,yBAAyB,CA4O3B;AAED,eAAe,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Internal context used by the SSR-safe shell to hint the client controller about
|
|
4
|
+
* initial hydration strategy (e.g., align first render with the skeleton).
|
|
5
|
+
*
|
|
6
|
+
* Default: false (normal behavior).
|
|
7
|
+
*/
|
|
8
|
+
export declare const PasskeyAuthMenuHydrationContext: React.Context<boolean>;
|
|
9
|
+
export declare function usePasskeyAuthMenuForceInitialRegister(): boolean;
|
|
10
|
+
//# sourceMappingURL=hydrationContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hydrationContext.d.ts","sourceRoot":"","sources":["../../../../../../src/react/components/PasskeyAuthMenu/hydrationContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B,wBAAsC,CAAC;AAEnF,wBAAgB,sCAAsC,IAAI,OAAO,CAEhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../../../src/react/components/PasskeyAuthMenu/shell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../../../src/react/components/PasskeyAuthMenu/shell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,uBAAuB,CAAC;AAG/B,OAAO,EAAgB,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA0ElE;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA4D1D,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import './
|
|
2
|
+
import { AuthMenuMode, type AuthMenuHeadings } from './types';
|
|
3
3
|
export interface PasskeyAuthMenuSkeletonProps {
|
|
4
4
|
className?: string;
|
|
5
5
|
style?: React.CSSProperties;
|
|
6
|
+
/** Best-effort to match the hydrated UI default tab. */
|
|
7
|
+
defaultMode?: AuthMenuMode;
|
|
8
|
+
/** Best-effort to match the hydrated UI headings. */
|
|
9
|
+
headings?: AuthMenuHeadings;
|
|
6
10
|
}
|
|
7
11
|
export declare const PasskeyAuthMenuSkeletonInner: React.ForwardRefExoticComponent<PasskeyAuthMenuSkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
12
|
export declare const PasskeyAuthMenuSkeleton: React.FC<PasskeyAuthMenuSkeletonProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/react/components/PasskeyAuthMenu/skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../../../src/react/components/PasskeyAuthMenu/skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE9D,MAAM,WAAW,4BAA4B;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,wDAAwD;IACxD,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,qDAAqD;IACrD,QAAQ,CAAC,EAAE,gBAAgB,CAAC;CAC7B;AAED,eAAO,MAAM,4BAA4B,qGA2IvC,CAAC;AAGH,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAO1E,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentSwitcher.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/components/PasskeyAuthMenu/ui/ContentSwitcher.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"ContentSwitcher.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/components/PasskeyAuthMenu/ui/ContentSwitcher.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAqH1D,CAAC;AAEF,eAAe,eAAe,CAAC"}
|