shepherd-onboard 0.1.15 → 0.1.16
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/bin/shepherd-onboard.js +29 -36
- package/package.json +1 -1
package/bin/shepherd-onboard.js
CHANGED
|
@@ -1357,7 +1357,6 @@ function renderMessagesSelectorPage(chats, token, error = "") {
|
|
|
1357
1357
|
<style>
|
|
1358
1358
|
:root {
|
|
1359
1359
|
--bg: #fbfbfa;
|
|
1360
|
-
--panel: #ffffff;
|
|
1361
1360
|
--fg: #141614;
|
|
1362
1361
|
--muted: #767d78;
|
|
1363
1362
|
--faint: #9aa09b;
|
|
@@ -1365,7 +1364,7 @@ function renderMessagesSelectorPage(chats, token, error = "") {
|
|
|
1365
1364
|
--green: #1f5c2e;
|
|
1366
1365
|
--green-hover: #246836;
|
|
1367
1366
|
--radius: 8px;
|
|
1368
|
-
--grid: 20px minmax(0, 1fr)
|
|
1367
|
+
--grid: 20px minmax(0, 1fr) 78px 104px;
|
|
1369
1368
|
}
|
|
1370
1369
|
* { box-sizing: border-box; }
|
|
1371
1370
|
body {
|
|
@@ -1378,32 +1377,30 @@ function renderMessagesSelectorPage(chats, token, error = "") {
|
|
|
1378
1377
|
-webkit-font-smoothing: antialiased;
|
|
1379
1378
|
}
|
|
1380
1379
|
main {
|
|
1381
|
-
width: min(
|
|
1380
|
+
width: min(680px, calc(100vw - 32px));
|
|
1382
1381
|
margin: 0 auto;
|
|
1383
|
-
padding:
|
|
1382
|
+
padding: 48px 0 28px;
|
|
1384
1383
|
}
|
|
1385
1384
|
.header {
|
|
1386
|
-
display:
|
|
1387
|
-
justify-
|
|
1388
|
-
align
|
|
1389
|
-
|
|
1390
|
-
padding: 0 0 18px;
|
|
1385
|
+
display: grid;
|
|
1386
|
+
justify-items: center;
|
|
1387
|
+
text-align: center;
|
|
1388
|
+
padding: 0 0 28px;
|
|
1391
1389
|
}
|
|
1392
1390
|
.brand {
|
|
1393
|
-
display:
|
|
1394
|
-
|
|
1395
|
-
gap:
|
|
1391
|
+
display: grid;
|
|
1392
|
+
justify-items: center;
|
|
1393
|
+
gap: 14px;
|
|
1396
1394
|
min-width: 0;
|
|
1397
1395
|
}
|
|
1398
1396
|
.logo {
|
|
1399
|
-
width:
|
|
1400
|
-
height:
|
|
1397
|
+
width: 30px;
|
|
1398
|
+
height: 30px;
|
|
1401
1399
|
object-fit: contain;
|
|
1402
|
-
flex: none;
|
|
1403
1400
|
}
|
|
1404
1401
|
.logo-fallback {
|
|
1405
|
-
width:
|
|
1406
|
-
height:
|
|
1402
|
+
width: 30px;
|
|
1403
|
+
height: 30px;
|
|
1407
1404
|
border-radius: 6px;
|
|
1408
1405
|
display: grid;
|
|
1409
1406
|
place-items: center;
|
|
@@ -1415,36 +1412,32 @@ function renderMessagesSelectorPage(chats, token, error = "") {
|
|
|
1415
1412
|
}
|
|
1416
1413
|
h1 {
|
|
1417
1414
|
margin: 0;
|
|
1418
|
-
font-size:
|
|
1415
|
+
font-size: 28px;
|
|
1419
1416
|
line-height: 1.1;
|
|
1420
1417
|
font-weight: 700;
|
|
1421
1418
|
letter-spacing: 0;
|
|
1422
1419
|
}
|
|
1423
1420
|
.subtitle {
|
|
1424
|
-
margin:
|
|
1425
|
-
font-size:
|
|
1421
|
+
margin: 8px 0 0;
|
|
1422
|
+
font-size: 15px;
|
|
1426
1423
|
line-height: 1.4;
|
|
1427
1424
|
color: var(--muted);
|
|
1428
1425
|
}
|
|
1429
1426
|
.panel {
|
|
1430
|
-
background:
|
|
1431
|
-
border: 1px solid var(--line);
|
|
1432
|
-
border-radius: var(--radius);
|
|
1433
|
-
overflow: hidden;
|
|
1427
|
+
background: transparent;
|
|
1434
1428
|
}
|
|
1435
1429
|
.panel-head {
|
|
1436
|
-
padding:
|
|
1437
|
-
border-bottom: 1px solid var(--line);
|
|
1430
|
+
padding: 0 0 18px;
|
|
1438
1431
|
}
|
|
1439
1432
|
.search {
|
|
1440
1433
|
width: 100%;
|
|
1441
1434
|
border: 1px solid #d7d9d6;
|
|
1442
|
-
border-radius:
|
|
1435
|
+
border-radius: 8px;
|
|
1443
1436
|
background: #ffffff;
|
|
1444
1437
|
color: var(--fg);
|
|
1445
|
-
padding:
|
|
1438
|
+
padding: 11px 12px;
|
|
1446
1439
|
font: inherit;
|
|
1447
|
-
font-size:
|
|
1440
|
+
font-size: 15px;
|
|
1448
1441
|
outline: none;
|
|
1449
1442
|
}
|
|
1450
1443
|
.search:focus {
|
|
@@ -1454,7 +1447,7 @@ function renderMessagesSelectorPage(chats, token, error = "") {
|
|
|
1454
1447
|
}
|
|
1455
1448
|
.search::placeholder { color: var(--faint); }
|
|
1456
1449
|
.error {
|
|
1457
|
-
margin:
|
|
1450
|
+
margin: 0 0 12px;
|
|
1458
1451
|
color: #9B1C1C;
|
|
1459
1452
|
font-size: 13px;
|
|
1460
1453
|
}
|
|
@@ -1463,7 +1456,8 @@ function renderMessagesSelectorPage(chats, token, error = "") {
|
|
|
1463
1456
|
grid-template-columns: var(--grid);
|
|
1464
1457
|
gap: 12px;
|
|
1465
1458
|
align-items: center;
|
|
1466
|
-
padding: 9px
|
|
1459
|
+
padding: 9px 0;
|
|
1460
|
+
border-top: 1px solid var(--line);
|
|
1467
1461
|
border-bottom: 1px solid var(--line);
|
|
1468
1462
|
color: var(--faint);
|
|
1469
1463
|
font-size: 11px;
|
|
@@ -1477,12 +1471,11 @@ function renderMessagesSelectorPage(chats, token, error = "") {
|
|
|
1477
1471
|
grid-template-columns: var(--grid);
|
|
1478
1472
|
gap: 12px;
|
|
1479
1473
|
align-items: center;
|
|
1480
|
-
padding: 11px
|
|
1474
|
+
padding: 11px 0;
|
|
1481
1475
|
border-bottom: 1px solid var(--line);
|
|
1482
1476
|
cursor: pointer;
|
|
1483
1477
|
transition: background 120ms ease;
|
|
1484
1478
|
}
|
|
1485
|
-
.chat-row:last-child { border-bottom: 0; }
|
|
1486
1479
|
.chat-row:hover { background: #f6f7f5; }
|
|
1487
1480
|
input[type="checkbox"] {
|
|
1488
1481
|
position: absolute;
|
|
@@ -1558,8 +1551,8 @@ function renderMessagesSelectorPage(chats, token, error = "") {
|
|
|
1558
1551
|
gap: 12px;
|
|
1559
1552
|
position: sticky;
|
|
1560
1553
|
bottom: 0;
|
|
1561
|
-
margin-top:
|
|
1562
|
-
padding:
|
|
1554
|
+
margin-top: 16px;
|
|
1555
|
+
padding: 12px 0 0;
|
|
1563
1556
|
background: var(--bg);
|
|
1564
1557
|
}
|
|
1565
1558
|
.selection-count {
|
|
@@ -1595,7 +1588,7 @@ function renderMessagesSelectorPage(chats, token, error = "") {
|
|
|
1595
1588
|
${logo ? `<img class="logo" src="${htmlAttr(logo)}" alt="">` : `<span class="logo-fallback" aria-hidden="true">S</span>`}
|
|
1596
1589
|
<div>
|
|
1597
1590
|
<h1>Select chats</h1>
|
|
1598
|
-
<p class="subtitle">Choose
|
|
1591
|
+
<p class="subtitle">Choose which local Messages chats Shepherd should sync.</p>
|
|
1599
1592
|
</div>
|
|
1600
1593
|
</div>
|
|
1601
1594
|
</header>
|