@twentyfirstmedia/elements 0.6.0 → 0.8.0

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.
@@ -1025,6 +1025,1310 @@
1025
1025
  }
1026
1026
  ]
1027
1027
  },
1028
+ {
1029
+ "name": "tf-habit-tracker",
1030
+ "description": "Habits with their last days as a row of marks: done, missed or no entry, today's mark a toggle.",
1031
+ "attributes": [
1032
+ {
1033
+ "name": "habits",
1034
+ "description": "(Habit[])"
1035
+ },
1036
+ {
1037
+ "name": "day-labels",
1038
+ "description": "Labels of the day columns, oldest first (default: weekday initials ending today). (string[])"
1039
+ },
1040
+ {
1041
+ "name": "label",
1042
+ "description": "Accessible name of the list (default \"Habits\"). (string)"
1043
+ }
1044
+ ],
1045
+ "references": [
1046
+ {
1047
+ "name": "Docs",
1048
+ "url": "https://ui.twentyfirst.media/halo/components/HabitTracker/"
1049
+ }
1050
+ ]
1051
+ },
1052
+ {
1053
+ "name": "tf-mood-picker",
1054
+ "description": "A five-step mood scale with faces and words, as a radio group.",
1055
+ "attributes": [
1056
+ {
1057
+ "name": "value",
1058
+ "description": "(MoodLevel | null)"
1059
+ },
1060
+ {
1061
+ "name": "default-value",
1062
+ "description": "(MoodLevel | null)"
1063
+ },
1064
+ {
1065
+ "name": "label",
1066
+ "description": "The question (default \"How are you feeling?\"). (ReactNode)"
1067
+ },
1068
+ {
1069
+ "name": "levels",
1070
+ "description": "Words for the five levels, lowest first (default Awful, Low, Okay, Good, Great). ([string, string, string, string, string])"
1071
+ },
1072
+ {
1073
+ "name": "compact",
1074
+ "description": "Only the faces; the words stay as accessible names. (boolean)",
1075
+ "valueSet": "v"
1076
+ }
1077
+ ],
1078
+ "references": [
1079
+ {
1080
+ "name": "Docs",
1081
+ "url": "https://ui.twentyfirst.media/halo/components/MoodPicker/"
1082
+ }
1083
+ ]
1084
+ },
1085
+ {
1086
+ "name": "tf-vital-tile",
1087
+ "description": "One health value with its healthy range: the value, a band with the normal zone and a marker, a status in words (in range, below, above) and an optional trend.",
1088
+ "attributes": [
1089
+ {
1090
+ "name": "surface",
1091
+ "description": "`\"glass\"`: translucent glass over a backdrop (`Ambient`, a photo, a map); `\"solid\"` opts out inside a glass `UIProvider`. (Surface)"
1092
+ },
1093
+ {
1094
+ "name": "label",
1095
+ "description": "(string)"
1096
+ },
1097
+ {
1098
+ "name": "value",
1099
+ "description": "(number)"
1100
+ },
1101
+ {
1102
+ "name": "unit",
1103
+ "description": "(string)"
1104
+ },
1105
+ {
1106
+ "name": "icon",
1107
+ "description": "(IconName)"
1108
+ },
1109
+ {
1110
+ "name": "normal",
1111
+ "description": "The healthy range [low, high]; the tile says whether the value is below, in or above it. ([number, number])"
1112
+ },
1113
+ {
1114
+ "name": "scale",
1115
+ "description": "The whole scale of the band [min, max] (default: the normal range with room on both sides). ([number, number])"
1116
+ },
1117
+ {
1118
+ "name": "trend",
1119
+ "description": "Recent values, oldest first, drawn as a sparkline. (number[])"
1120
+ },
1121
+ {
1122
+ "name": "caption",
1123
+ "description": "Under the value: when it was measured, the source … (ReactNode)"
1124
+ },
1125
+ {
1126
+ "name": "digits",
1127
+ "description": "Digits after the decimal point (default 0). (number)"
1128
+ }
1129
+ ],
1130
+ "references": [
1131
+ {
1132
+ "name": "Docs",
1133
+ "url": "https://ui.twentyfirst.media/halo/components/VitalTile/"
1134
+ }
1135
+ ]
1136
+ },
1137
+ {
1138
+ "name": "tf-activity-rings",
1139
+ "description": "Concentric progress rings for daily goals (move, exercise, stand, steps, water) with a legend.",
1140
+ "attributes": [
1141
+ {
1142
+ "name": "rings",
1143
+ "description": "Outer ring first. (ActivityRing[])"
1144
+ },
1145
+ {
1146
+ "name": "size",
1147
+ "description": "Diameter of the rings (default 132). (number)"
1148
+ },
1149
+ {
1150
+ "name": "legend",
1151
+ "description": "Hide the legend beside the rings. (boolean)",
1152
+ "valueSet": "v"
1153
+ },
1154
+ {
1155
+ "name": "label",
1156
+ "description": "Accessible name (default \"Activity\"). (string)"
1157
+ }
1158
+ ],
1159
+ "references": [
1160
+ {
1161
+ "name": "Docs",
1162
+ "url": "https://ui.twentyfirst.media/halo/components/ActivityRings/"
1163
+ }
1164
+ ]
1165
+ },
1166
+ {
1167
+ "name": "tf-sleep-chart",
1168
+ "description": "A night as sleep stages over time, one lane per stage (awake, REM, light, deep), with the time asleep and the time per stage.",
1169
+ "attributes": [
1170
+ {
1171
+ "name": "segments",
1172
+ "description": "The night in order, from falling asleep to getting up. (SleepSegment[])"
1173
+ },
1174
+ {
1175
+ "name": "label",
1176
+ "description": "Accessible name (default \"Sleep stages\"). (string)"
1177
+ },
1178
+ {
1179
+ "name": "summary",
1180
+ "description": "Hide the totals per stage under the chart. (boolean)",
1181
+ "valueSet": "v"
1182
+ }
1183
+ ],
1184
+ "references": [
1185
+ {
1186
+ "name": "Docs",
1187
+ "url": "https://ui.twentyfirst.media/halo/components/SleepChart/"
1188
+ }
1189
+ ]
1190
+ },
1191
+ {
1192
+ "name": "tf-medication-list",
1193
+ "description": "Today's doses in order, each with its time, name, dose, a status in words and a \"taken\" button.",
1194
+ "attributes": [
1195
+ {
1196
+ "name": "items",
1197
+ "description": "(MedicationItem[])"
1198
+ },
1199
+ {
1200
+ "name": "label",
1201
+ "description": "Accessible name (default \"Medication\"). (string)"
1202
+ }
1203
+ ],
1204
+ "references": [
1205
+ {
1206
+ "name": "Docs",
1207
+ "url": "https://ui.twentyfirst.media/halo/components/MedicationList/"
1208
+ }
1209
+ ]
1210
+ },
1211
+ {
1212
+ "name": "tf-journal-entry",
1213
+ "description": "A journal or diary entry: the date, the mood of the day, a title, the text and tags, with room for actions such as edit or share.",
1214
+ "attributes": [
1215
+ {
1216
+ "name": "surface",
1217
+ "description": "`\"glass\"`: translucent glass over a backdrop (`Ambient`, a photo, a map); `\"solid\"` opts out inside a glass `UIProvider`. (Surface)"
1218
+ },
1219
+ {
1220
+ "name": "date",
1221
+ "description": "(Date | string | number)"
1222
+ },
1223
+ {
1224
+ "name": "title",
1225
+ "description": "(string)"
1226
+ },
1227
+ {
1228
+ "name": "mood",
1229
+ "description": "(MoodLevel)"
1230
+ },
1231
+ {
1232
+ "name": "tags",
1233
+ "description": "(string[])"
1234
+ },
1235
+ {
1236
+ "name": "actions",
1237
+ "description": "Buttons at the end (edit, share …). (ReactNode)"
1238
+ }
1239
+ ],
1240
+ "references": [
1241
+ {
1242
+ "name": "Docs",
1243
+ "url": "https://ui.twentyfirst.media/halo/components/JournalEntry/"
1244
+ }
1245
+ ]
1246
+ },
1247
+ {
1248
+ "name": "tf-goal-card",
1249
+ "description": "A goal with its progress toward a target, a due date, milestones and a note.",
1250
+ "attributes": [
1251
+ {
1252
+ "name": "surface",
1253
+ "description": "`\"glass\"`: translucent glass over a backdrop (`Ambient`, a photo, a map); `\"solid\"` opts out inside a glass `UIProvider`. (Surface)"
1254
+ },
1255
+ {
1256
+ "name": "title",
1257
+ "description": "(string)"
1258
+ },
1259
+ {
1260
+ "name": "value",
1261
+ "description": "(number)"
1262
+ },
1263
+ {
1264
+ "name": "target",
1265
+ "description": "(number)"
1266
+ },
1267
+ {
1268
+ "name": "format",
1269
+ "description": "How to show value and target (default number). (\"number\" | \"money\" | \"percent\")",
1270
+ "values": [
1271
+ {
1272
+ "name": "number"
1273
+ },
1274
+ {
1275
+ "name": "money"
1276
+ },
1277
+ {
1278
+ "name": "percent"
1279
+ }
1280
+ ]
1281
+ },
1282
+ {
1283
+ "name": "unit",
1284
+ "description": "Unit after numbers (\"km\", \"books\"). (string)"
1285
+ },
1286
+ {
1287
+ "name": "currency",
1288
+ "description": "(string)"
1289
+ },
1290
+ {
1291
+ "name": "due",
1292
+ "description": "(Date | string | number)"
1293
+ },
1294
+ {
1295
+ "name": "icon",
1296
+ "description": "(IconName)"
1297
+ },
1298
+ {
1299
+ "name": "tint",
1300
+ "description": "(Tint)"
1301
+ },
1302
+ {
1303
+ "name": "milestones",
1304
+ "description": "({ label: string; done?: boolean }[])"
1305
+ },
1306
+ {
1307
+ "name": "note",
1308
+ "description": "A note under the progress (\"€250 a month keeps you on track\"). (ReactNode)"
1309
+ }
1310
+ ],
1311
+ "references": [
1312
+ {
1313
+ "name": "Docs",
1314
+ "url": "https://ui.twentyfirst.media/halo/components/GoalCard/"
1315
+ }
1316
+ ]
1317
+ },
1318
+ {
1319
+ "name": "tf-insight-card",
1320
+ "description": "Something the assistant noticed: what, where it comes from, why it is shown and what to do.",
1321
+ "attributes": [
1322
+ {
1323
+ "name": "surface",
1324
+ "description": "`\"glass\"`: translucent glass over a backdrop (`Ambient`, a photo, a map); `\"solid\"` opts out inside a glass `UIProvider`. (Surface)"
1325
+ },
1326
+ {
1327
+ "name": "title",
1328
+ "description": "(string)"
1329
+ },
1330
+ {
1331
+ "name": "icon",
1332
+ "description": "(IconName)"
1333
+ },
1334
+ {
1335
+ "name": "tone",
1336
+ "description": "(\"info\" | \"success\" | \"warning\" | \"highlight\")",
1337
+ "values": [
1338
+ {
1339
+ "name": "info"
1340
+ },
1341
+ {
1342
+ "name": "success"
1343
+ },
1344
+ {
1345
+ "name": "warning"
1346
+ },
1347
+ {
1348
+ "name": "highlight"
1349
+ }
1350
+ ]
1351
+ },
1352
+ {
1353
+ "name": "meta",
1354
+ "description": "Above the title: area and time (\"Money · 2 h ago\"). (ReactNode)"
1355
+ },
1356
+ {
1357
+ "name": "sources",
1358
+ "description": "Where the insight comes from, as chips (like chat sources). (Source[])"
1359
+ },
1360
+ {
1361
+ "name": "why",
1362
+ "description": "Why the assistant shows it; folded away behind \"Why am I seeing this?\". (ReactNode)"
1363
+ },
1364
+ {
1365
+ "name": "accept-label",
1366
+ "description": "(string)"
1367
+ }
1368
+ ],
1369
+ "references": [
1370
+ {
1371
+ "name": "Docs",
1372
+ "url": "https://ui.twentyfirst.media/halo/components/InsightCard/"
1373
+ }
1374
+ ]
1375
+ },
1376
+ {
1377
+ "name": "tf-consent-list",
1378
+ "description": "What each connected source lets the assistant read or do: one card per source with its purpose, last use and a switch per scope, plus \"Revoke access\".",
1379
+ "attributes": [
1380
+ {
1381
+ "name": "surface",
1382
+ "description": "`\"glass\"`: translucent glass over a backdrop (`Ambient`, a photo, a map); `\"solid\"` opts out inside a glass `UIProvider`. (Surface)"
1383
+ },
1384
+ {
1385
+ "name": "connectors",
1386
+ "description": "(ConsentConnector[])"
1387
+ },
1388
+ {
1389
+ "name": "label",
1390
+ "description": "Accessible name (default \"Data access\"). (string)"
1391
+ }
1392
+ ],
1393
+ "references": [
1394
+ {
1395
+ "name": "Docs",
1396
+ "url": "https://ui.twentyfirst.media/halo/components/ConsentList/"
1397
+ }
1398
+ ]
1399
+ },
1400
+ {
1401
+ "name": "tf-budget-list",
1402
+ "description": "Spending per category against its limit: spent and limit, a bar, and what is left or over in words.",
1403
+ "attributes": [
1404
+ {
1405
+ "name": "categories",
1406
+ "description": "(BudgetCategory[])"
1407
+ },
1408
+ {
1409
+ "name": "currency",
1410
+ "description": "(string)"
1411
+ },
1412
+ {
1413
+ "name": "label",
1414
+ "description": "Accessible name (default \"Budgets\"). (string)"
1415
+ }
1416
+ ],
1417
+ "references": [
1418
+ {
1419
+ "name": "Docs",
1420
+ "url": "https://ui.twentyfirst.media/halo/components/BudgetList/"
1421
+ }
1422
+ ]
1423
+ },
1424
+ {
1425
+ "name": "tf-subscription-list",
1426
+ "description": "Recurring payments with their next charge, trial and cancelled states, and what they cost together a month and a year.",
1427
+ "attributes": [
1428
+ {
1429
+ "name": "items",
1430
+ "description": "(Subscription[])"
1431
+ },
1432
+ {
1433
+ "name": "currency",
1434
+ "description": "(string)"
1435
+ },
1436
+ {
1437
+ "name": "totals",
1438
+ "description": "Hide the monthly and yearly totals. (boolean)",
1439
+ "valueSet": "v"
1440
+ },
1441
+ {
1442
+ "name": "label",
1443
+ "description": "Accessible name (default \"Subscriptions\"). (string)"
1444
+ }
1445
+ ],
1446
+ "references": [
1447
+ {
1448
+ "name": "Docs",
1449
+ "url": "https://ui.twentyfirst.media/halo/components/SubscriptionList/"
1450
+ }
1451
+ ]
1452
+ },
1453
+ {
1454
+ "name": "tf-net-worth-card",
1455
+ "description": "What you own minus what you owe: the total, its change and trend, and the assets and liabilities behind it.",
1456
+ "attributes": [
1457
+ {
1458
+ "name": "surface",
1459
+ "description": "`\"glass\"`: translucent glass over a backdrop (`Ambient`, a photo, a map); `\"solid\"` opts out inside a glass `UIProvider`. (Surface)"
1460
+ },
1461
+ {
1462
+ "name": "assets",
1463
+ "description": "({ label: string; value: number; icon?: IconName }[])"
1464
+ },
1465
+ {
1466
+ "name": "liabilities",
1467
+ "description": "({ label: string; value: number; icon?: IconName }[])"
1468
+ },
1469
+ {
1470
+ "name": "history",
1471
+ "description": "Net worth over time, oldest first. (number[])"
1472
+ },
1473
+ {
1474
+ "name": "change",
1475
+ "description": "Change over `changeLabel` (e.g. +1,240 \"since October\"). (number)"
1476
+ },
1477
+ {
1478
+ "name": "change-label",
1479
+ "description": "(string)"
1480
+ },
1481
+ {
1482
+ "name": "currency",
1483
+ "description": "(string)"
1484
+ },
1485
+ {
1486
+ "name": "title",
1487
+ "description": "(string)"
1488
+ }
1489
+ ],
1490
+ "references": [
1491
+ {
1492
+ "name": "Docs",
1493
+ "url": "https://ui.twentyfirst.media/halo/components/NetWorthCard/"
1494
+ }
1495
+ ]
1496
+ },
1497
+ {
1498
+ "name": "tf-deadline-list",
1499
+ "description": "Bills, renewals, notice periods and expiring documents in date order, each with \"Today\", \"In 12 days\" or \"Overdue by 3 days\" in words.",
1500
+ "attributes": [
1501
+ {
1502
+ "name": "items",
1503
+ "description": "(DeadlineItem[])"
1504
+ },
1505
+ {
1506
+ "name": "today",
1507
+ "description": "The day to count from (default: now). Set it for server rendering and stable output. (Date | string | number)"
1508
+ },
1509
+ {
1510
+ "name": "soon",
1511
+ "description": "Days ahead that count as soon (default 14). (number)"
1512
+ },
1513
+ {
1514
+ "name": "currency",
1515
+ "description": "(string)"
1516
+ },
1517
+ {
1518
+ "name": "label",
1519
+ "description": "Accessible name (default \"Deadlines\"). (string)"
1520
+ }
1521
+ ],
1522
+ "references": [
1523
+ {
1524
+ "name": "Docs",
1525
+ "url": "https://ui.twentyfirst.media/halo/components/DeadlineList/"
1526
+ }
1527
+ ]
1528
+ },
1529
+ {
1530
+ "name": "tf-policy-card",
1531
+ "description": "One insurance policy: type and insurer, sum insured, premium, deductible, policy number, renewal date and status (active, pending, expiring, lapsed), with room for actions.",
1532
+ "attributes": [
1533
+ {
1534
+ "name": "surface",
1535
+ "description": "`\"glass\"`: translucent glass over a backdrop (`Ambient`, a photo, a map); `\"solid\"` opts out inside a glass `UIProvider`. (Surface)"
1536
+ },
1537
+ {
1538
+ "name": "type",
1539
+ "description": "The kind of insurance: \"Household contents\", \"Liability\" … (string)"
1540
+ },
1541
+ {
1542
+ "name": "insurer",
1543
+ "description": "(string)"
1544
+ },
1545
+ {
1546
+ "name": "icon",
1547
+ "description": "(IconName)"
1548
+ },
1549
+ {
1550
+ "name": "tint",
1551
+ "description": "(Tint)"
1552
+ },
1553
+ {
1554
+ "name": "policy-number",
1555
+ "description": "(string)"
1556
+ },
1557
+ {
1558
+ "name": "mask-number",
1559
+ "description": "Show only the last four characters of the policy number. (boolean)",
1560
+ "valueSet": "v"
1561
+ },
1562
+ {
1563
+ "name": "coverage",
1564
+ "description": "Sum insured: a number (money) or text (\"unlimited\"). (number | ReactNode)"
1565
+ },
1566
+ {
1567
+ "name": "premium",
1568
+ "description": "({ amount: number; period: \"month\" | \"quarter\" | \"year\" })"
1569
+ },
1570
+ {
1571
+ "name": "deductible",
1572
+ "description": "(number)"
1573
+ },
1574
+ {
1575
+ "name": "renews",
1576
+ "description": "(Date | string | number)"
1577
+ },
1578
+ {
1579
+ "name": "status",
1580
+ "description": "(\"active\" | \"pending\" | \"expiring\" | \"lapsed\")",
1581
+ "values": [
1582
+ {
1583
+ "name": "active"
1584
+ },
1585
+ {
1586
+ "name": "pending"
1587
+ },
1588
+ {
1589
+ "name": "expiring"
1590
+ },
1591
+ {
1592
+ "name": "lapsed"
1593
+ }
1594
+ ]
1595
+ },
1596
+ {
1597
+ "name": "currency",
1598
+ "description": "(string)"
1599
+ },
1600
+ {
1601
+ "name": "actions",
1602
+ "description": "Buttons at the foot (documents, report a claim …). (ReactNode)"
1603
+ }
1604
+ ],
1605
+ "references": [
1606
+ {
1607
+ "name": "Docs",
1608
+ "url": "https://ui.twentyfirst.media/halo/components/PolicyCard/"
1609
+ }
1610
+ ]
1611
+ },
1612
+ {
1613
+ "name": "tf-coverage-matrix",
1614
+ "description": "Life risks and whether a policy covers them: covered, partly or not covered, with the policy and a note, and a count of each above the table.",
1615
+ "attributes": [
1616
+ {
1617
+ "name": "rows",
1618
+ "description": "(CoverageRow[])"
1619
+ },
1620
+ {
1621
+ "name": "label",
1622
+ "description": "Accessible name and caption (default \"Coverage\"). (string)"
1623
+ }
1624
+ ],
1625
+ "references": [
1626
+ {
1627
+ "name": "Docs",
1628
+ "url": "https://ui.twentyfirst.media/halo/components/CoverageMatrix/"
1629
+ }
1630
+ ]
1631
+ },
1632
+ {
1633
+ "name": "tf-claim-timeline",
1634
+ "description": "An insurance claim from report to payout: steps that are done, current, still to come or failed, with dates and notes, and the amount claimed.",
1635
+ "attributes": [
1636
+ {
1637
+ "name": "title",
1638
+ "description": "(string)"
1639
+ },
1640
+ {
1641
+ "name": "meta",
1642
+ "description": "Reference and insurer under the title. (ReactNode)"
1643
+ },
1644
+ {
1645
+ "name": "amount",
1646
+ "description": "(number)"
1647
+ },
1648
+ {
1649
+ "name": "currency",
1650
+ "description": "(string)"
1651
+ },
1652
+ {
1653
+ "name": "steps",
1654
+ "description": "(ClaimStep[])"
1655
+ }
1656
+ ],
1657
+ "references": [
1658
+ {
1659
+ "name": "Docs",
1660
+ "url": "https://ui.twentyfirst.media/halo/components/ClaimTimeline/"
1661
+ }
1662
+ ]
1663
+ },
1664
+ {
1665
+ "name": "tf-document-list",
1666
+ "description": "Important papers (IDs, contracts, policies, certificates) with category, holder and expiry: \"Expired\", \"Expires in 19 days\" or \"Valid until May 2031\".",
1667
+ "attributes": [
1668
+ {
1669
+ "name": "documents",
1670
+ "description": "(LifeDocument[])"
1671
+ },
1672
+ {
1673
+ "name": "today",
1674
+ "description": "The day to count expiry from (default: now). (Date | string | number)"
1675
+ },
1676
+ {
1677
+ "name": "soon",
1678
+ "description": "Days ahead that count as expiring soon (default 60). (number)"
1679
+ },
1680
+ {
1681
+ "name": "label",
1682
+ "description": "Accessible name (default \"Documents\"). (string)"
1683
+ }
1684
+ ],
1685
+ "references": [
1686
+ {
1687
+ "name": "Docs",
1688
+ "url": "https://ui.twentyfirst.media/halo/components/DocumentList/"
1689
+ }
1690
+ ]
1691
+ },
1692
+ {
1693
+ "name": "tf-service-mark",
1694
+ "description": "A connected service's mark: its brand logo from the icon library (brandGmail, brandTesla …), your own logo, or a monogram for a service without a logo (\"KS\" for a local nursery).",
1695
+ "attributes": [
1696
+ {
1697
+ "name": "name",
1698
+ "description": "The service's name: the accessible name, and the monogram when there is no icon or logo. (string)"
1699
+ },
1700
+ {
1701
+ "name": "icon",
1702
+ "description": "A brand logo (`brandGmail` …) or a line icon. (IconName)"
1703
+ },
1704
+ {
1705
+ "name": "logo",
1706
+ "description": "Your own logo (an `<img>` or `<svg>`) instead of the icon. (ReactNode)"
1707
+ },
1708
+ {
1709
+ "name": "monogram",
1710
+ "description": "Letters for the monogram (default: the initials of `name`). (string)"
1711
+ },
1712
+ {
1713
+ "name": "size",
1714
+ "description": "24, 36 (default) or 48 px. (\"sm\" | \"md\" | \"lg\")",
1715
+ "values": [
1716
+ {
1717
+ "name": "sm"
1718
+ },
1719
+ {
1720
+ "name": "md"
1721
+ },
1722
+ {
1723
+ "name": "lg"
1724
+ }
1725
+ ]
1726
+ },
1727
+ {
1728
+ "name": "tint",
1729
+ "description": "(Tint | \"plain\")"
1730
+ },
1731
+ {
1732
+ "name": "status",
1733
+ "description": "A dot in the corner with the state in words for screen readers. (ServiceState)"
1734
+ },
1735
+ {
1736
+ "name": "decorative",
1737
+ "description": "Hidden from screen readers when the name is written next to it. (boolean)",
1738
+ "valueSet": "v"
1739
+ }
1740
+ ],
1741
+ "references": [
1742
+ {
1743
+ "name": "Docs",
1744
+ "url": "https://ui.twentyfirst.media/halo/components/ServiceMark/"
1745
+ }
1746
+ ]
1747
+ },
1748
+ {
1749
+ "name": "tf-connector-gallery",
1750
+ "description": "Every service an assistant can connect to, grouped by category, with a search field and category chips.",
1751
+ "attributes": [
1752
+ {
1753
+ "name": "connectors",
1754
+ "description": "(Connector[])"
1755
+ },
1756
+ {
1757
+ "name": "categories",
1758
+ "description": "Order of the groups; categories not listed follow in the order they appear. (string[])"
1759
+ },
1760
+ {
1761
+ "name": "filters",
1762
+ "description": "A search field and category chips above the grid (default true). (boolean)",
1763
+ "valueSet": "v"
1764
+ },
1765
+ {
1766
+ "name": "label",
1767
+ "description": "Accessible name (default \"Connectors\"). (string)"
1768
+ }
1769
+ ],
1770
+ "references": [
1771
+ {
1772
+ "name": "Docs",
1773
+ "url": "https://ui.twentyfirst.media/halo/components/ConnectorGallery/"
1774
+ }
1775
+ ]
1776
+ },
1777
+ {
1778
+ "name": "tf-connection-list",
1779
+ "description": "The services you are connected to: mark with state dot, the connected account, how fresh the data is (a compact SyncStatus) and Manage, or Reconnect for a connection that needs attention.",
1780
+ "attributes": [
1781
+ {
1782
+ "name": "items",
1783
+ "description": "(ConnectionItem[])"
1784
+ },
1785
+ {
1786
+ "name": "now",
1787
+ "description": "\"Now\" for the relative times; pass it so server and client render the same. (Date | string | number)"
1788
+ },
1789
+ {
1790
+ "name": "label",
1791
+ "description": "Accessible name (default \"Connections\"). (string)"
1792
+ }
1793
+ ],
1794
+ "references": [
1795
+ {
1796
+ "name": "Docs",
1797
+ "url": "https://ui.twentyfirst.media/halo/components/ConnectionList/"
1798
+ }
1799
+ ]
1800
+ },
1801
+ {
1802
+ "name": "tf-sync-status",
1803
+ "description": "When a connected service last synced, in words (\"Synced 6 minutes ago\"), when it syncs next, what the last sync brought (\"1,204 emails\") and why a sync failed, with \"Sync now\".",
1804
+ "attributes": [
1805
+ {
1806
+ "name": "state",
1807
+ "description": "(\"synced\" | \"syncing\" | \"error\" | \"paused\" | \"never\")",
1808
+ "values": [
1809
+ {
1810
+ "name": "synced"
1811
+ },
1812
+ {
1813
+ "name": "syncing"
1814
+ },
1815
+ {
1816
+ "name": "error"
1817
+ },
1818
+ {
1819
+ "name": "paused"
1820
+ },
1821
+ {
1822
+ "name": "never"
1823
+ }
1824
+ ]
1825
+ },
1826
+ {
1827
+ "name": "last",
1828
+ "description": "The last successful sync. (Date | string | number)"
1829
+ },
1830
+ {
1831
+ "name": "next",
1832
+ "description": "The next planned sync. (Date | string | number)"
1833
+ },
1834
+ {
1835
+ "name": "now",
1836
+ "description": "\"Now\" for the relative times; pass it so server and client render the same. (Date | string | number)"
1837
+ },
1838
+ {
1839
+ "name": "counts",
1840
+ "description": "What the last sync brought: `{ label: \"emails\", value: 1204 }`. ({ label: string; value: number }[])"
1841
+ },
1842
+ {
1843
+ "name": "error",
1844
+ "description": "Why the sync failed. (ReactNode)"
1845
+ },
1846
+ {
1847
+ "name": "compact",
1848
+ "description": "One line: state and time only. (boolean)",
1849
+ "valueSet": "v"
1850
+ }
1851
+ ],
1852
+ "references": [
1853
+ {
1854
+ "name": "Docs",
1855
+ "url": "https://ui.twentyfirst.media/halo/components/SyncStatus/"
1856
+ }
1857
+ ]
1858
+ },
1859
+ {
1860
+ "name": "tf-agent-activity",
1861
+ "description": "What agents did with your connected services, newest first and grouped by day: each action with its service, agent and time, whether it read something, changed something or touched money, and its state (waiting for you, declined, undone, fa",
1862
+ "attributes": [
1863
+ {
1864
+ "name": "items",
1865
+ "description": "(AgentAction[])"
1866
+ },
1867
+ {
1868
+ "name": "now",
1869
+ "description": "\"Now\" for the day headings; pass it so server and client render the same. (Date | string | number)"
1870
+ },
1871
+ {
1872
+ "name": "label",
1873
+ "description": "Accessible name (default \"Agent activity\"). (string)"
1874
+ }
1875
+ ],
1876
+ "references": [
1877
+ {
1878
+ "name": "Docs",
1879
+ "url": "https://ui.twentyfirst.media/halo/components/AgentActivity/"
1880
+ }
1881
+ ]
1882
+ },
1883
+ {
1884
+ "name": "tf-device-tile",
1885
+ "description": "A smart-home device (from Google Home, Apple Home, SmartThings, tado°, Dyson, eufy, Dreame …): its reading, its state and the controls its kind needs.",
1886
+ "attributes": [
1887
+ {
1888
+ "name": "name",
1889
+ "description": "(string)"
1890
+ },
1891
+ {
1892
+ "name": "room",
1893
+ "description": "(string)"
1894
+ },
1895
+ {
1896
+ "name": "icon",
1897
+ "description": "(IconName)"
1898
+ },
1899
+ {
1900
+ "name": "kind",
1901
+ "description": "The kind sets the default icon and which controls appear. (\"switch\" | \"light\" | \"thermostat\" | \"vacuum\" | \"purifier\" | \"camera\" | \"lock\" | \"sensor\")",
1902
+ "values": [
1903
+ {
1904
+ "name": "switch"
1905
+ },
1906
+ {
1907
+ "name": "light"
1908
+ },
1909
+ {
1910
+ "name": "thermostat"
1911
+ },
1912
+ {
1913
+ "name": "vacuum"
1914
+ },
1915
+ {
1916
+ "name": "purifier"
1917
+ },
1918
+ {
1919
+ "name": "camera"
1920
+ },
1921
+ {
1922
+ "name": "lock"
1923
+ },
1924
+ {
1925
+ "name": "sensor"
1926
+ }
1927
+ ]
1928
+ },
1929
+ {
1930
+ "name": "on",
1931
+ "description": "On or off; with `onToggle` a switch. (boolean)",
1932
+ "valueSet": "v"
1933
+ },
1934
+ {
1935
+ "name": "value",
1936
+ "description": "The main reading: \"21.5 °C\", \"Cleaning\", \"AQI 12\". (ReactNode)"
1937
+ },
1938
+ {
1939
+ "name": "status",
1940
+ "description": "A line under the value: \"Heating to 22 °C\", \"Kitchen · 18 m² left\". (ReactNode)"
1941
+ },
1942
+ {
1943
+ "name": "target",
1944
+ "description": "Thermostat target in °C; with `onTarget` a − / + stepper (steps of `step`, default 0.5). (number)"
1945
+ },
1946
+ {
1947
+ "name": "step",
1948
+ "description": "(number)"
1949
+ },
1950
+ {
1951
+ "name": "battery",
1952
+ "description": "Battery in percent (vacuums, sensors, locks). (number)"
1953
+ },
1954
+ {
1955
+ "name": "actions",
1956
+ "description": "Quick actions: \"Start\", \"Dock\", \"Boost\". ({ label: string; icon?: IconName; onClick?: () => void }[])"
1957
+ },
1958
+ {
1959
+ "name": "offline",
1960
+ "description": "The device does not answer. (boolean)",
1961
+ "valueSet": "v"
1962
+ },
1963
+ {
1964
+ "name": "service",
1965
+ "description": "(ServiceRef)"
1966
+ }
1967
+ ],
1968
+ "references": [
1969
+ {
1970
+ "name": "Docs",
1971
+ "url": "https://ui.twentyfirst.media/halo/components/DeviceTile/"
1972
+ }
1973
+ ]
1974
+ },
1975
+ {
1976
+ "name": "tf-vehicle-card",
1977
+ "description": "An electric car: charge in percent with the limit marked on the bar, range, charging state with power and when it is done, lock and climate as buttons, the inside temperature and where it is.",
1978
+ "attributes": [
1979
+ {
1980
+ "name": "name",
1981
+ "description": "(string)"
1982
+ },
1983
+ {
1984
+ "name": "model",
1985
+ "description": "(string)"
1986
+ },
1987
+ {
1988
+ "name": "battery",
1989
+ "description": "Battery (or tank) in percent. (number)"
1990
+ },
1991
+ {
1992
+ "name": "range",
1993
+ "description": "Range in km. (number)"
1994
+ },
1995
+ {
1996
+ "name": "limit",
1997
+ "description": "The charge limit in percent, marked on the bar. (number)"
1998
+ },
1999
+ {
2000
+ "name": "charging",
2001
+ "description": "(\"charging\" | \"complete\" | \"plugged\" | \"unplugged\")",
2002
+ "values": [
2003
+ {
2004
+ "name": "charging"
2005
+ },
2006
+ {
2007
+ "name": "complete"
2008
+ },
2009
+ {
2010
+ "name": "plugged"
2011
+ },
2012
+ {
2013
+ "name": "unplugged"
2014
+ }
2015
+ ]
2016
+ },
2017
+ {
2018
+ "name": "power",
2019
+ "description": "Charging power in kW while charging. (number)"
2020
+ },
2021
+ {
2022
+ "name": "until",
2023
+ "description": "When charging reaches the limit. (Date | string | number)"
2024
+ },
2025
+ {
2026
+ "name": "locked",
2027
+ "description": "(boolean)",
2028
+ "valueSet": "v"
2029
+ },
2030
+ {
2031
+ "name": "inside",
2032
+ "description": "Inside temperature in °C. (number)"
2033
+ },
2034
+ {
2035
+ "name": "climate-on",
2036
+ "description": "(boolean)",
2037
+ "valueSet": "v"
2038
+ },
2039
+ {
2040
+ "name": "location",
2041
+ "description": "(ReactNode)"
2042
+ },
2043
+ {
2044
+ "name": "service",
2045
+ "description": "(ServiceRef)"
2046
+ }
2047
+ ],
2048
+ "references": [
2049
+ {
2050
+ "name": "Docs",
2051
+ "url": "https://ui.twentyfirst.media/halo/components/VehicleCard/"
2052
+ }
2053
+ ]
2054
+ },
2055
+ {
2056
+ "name": "tf-now-playing",
2057
+ "description": "What is playing (Spotify, a speaker, a podcast app): cover, title and artist, the device, progress with times and previous / play-pause / next.",
2058
+ "attributes": [
2059
+ {
2060
+ "name": "title",
2061
+ "description": "(string)"
2062
+ },
2063
+ {
2064
+ "name": "artist",
2065
+ "description": "(string)"
2066
+ },
2067
+ {
2068
+ "name": "album",
2069
+ "description": "(string)"
2070
+ },
2071
+ {
2072
+ "name": "art",
2073
+ "description": "Cover art: an `<img>`. (ReactNode)"
2074
+ },
2075
+ {
2076
+ "name": "position",
2077
+ "description": "Position and length in seconds. (number)"
2078
+ },
2079
+ {
2080
+ "name": "duration",
2081
+ "description": "(number)"
2082
+ },
2083
+ {
2084
+ "name": "playing",
2085
+ "description": "(boolean)",
2086
+ "valueSet": "v"
2087
+ },
2088
+ {
2089
+ "name": "device",
2090
+ "description": "Where it plays: \"Living room speaker\". (string)"
2091
+ },
2092
+ {
2093
+ "name": "service",
2094
+ "description": "(ServiceRef)"
2095
+ }
2096
+ ],
2097
+ "references": [
2098
+ {
2099
+ "name": "Docs",
2100
+ "url": "https://ui.twentyfirst.media/halo/components/NowPlaying/"
2101
+ }
2102
+ ]
2103
+ },
2104
+ {
2105
+ "name": "tf-workout-card",
2106
+ "description": "One workout from Apple Fitness, Strava, Garmin or a golf app: type, time, duration, distance, calories, average heart rate and minutes in each heart-rate zone as a bar with a legend in words.",
2107
+ "attributes": [
2108
+ {
2109
+ "name": "type",
2110
+ "description": "\"Run\", \"Ride\", \"Strength\", \"Golf\" … (string)"
2111
+ },
2112
+ {
2113
+ "name": "icon",
2114
+ "description": "(IconName)"
2115
+ },
2116
+ {
2117
+ "name": "date",
2118
+ "description": "(Date | string | number)"
2119
+ },
2120
+ {
2121
+ "name": "duration",
2122
+ "description": "Minutes. (number)"
2123
+ },
2124
+ {
2125
+ "name": "distance",
2126
+ "description": "Kilometres. (number)"
2127
+ },
2128
+ {
2129
+ "name": "calories",
2130
+ "description": "(number)"
2131
+ },
2132
+ {
2133
+ "name": "heart-rate",
2134
+ "description": "Average heart rate in bpm. (number)"
2135
+ },
2136
+ {
2137
+ "name": "zones",
2138
+ "description": "Minutes in heart-rate zones 1–5. (number[])"
2139
+ },
2140
+ {
2141
+ "name": "service",
2142
+ "description": "(ServiceRef)"
2143
+ }
2144
+ ],
2145
+ "references": [
2146
+ {
2147
+ "name": "Docs",
2148
+ "url": "https://ui.twentyfirst.media/halo/components/WorkoutCard/"
2149
+ }
2150
+ ]
2151
+ },
2152
+ {
2153
+ "name": "tf-call-log",
2154
+ "description": "Your calls grouped by day: incoming, outgoing and missed with time and length, and what the call was about when an assistant summarised it.",
2155
+ "attributes": [
2156
+ {
2157
+ "name": "calls",
2158
+ "description": "(CallItem[])"
2159
+ },
2160
+ {
2161
+ "name": "now",
2162
+ "description": "\"Now\" for the day headings. (Date | string | number)"
2163
+ },
2164
+ {
2165
+ "name": "label",
2166
+ "description": "Accessible name (default \"Calls\"). (string)"
2167
+ }
2168
+ ],
2169
+ "references": [
2170
+ {
2171
+ "name": "Docs",
2172
+ "url": "https://ui.twentyfirst.media/halo/components/CallLog/"
2173
+ }
2174
+ ]
2175
+ },
2176
+ {
2177
+ "name": "tf-reservation-card",
2178
+ "description": "A booking or order: a stay, flight, train, ride, delivery or ticket with its dates, place, booking number and status (confirmed, pending, delayed, on the way, delivered, cancelled) plus a note like \"+25 min\".",
2179
+ "attributes": [
2180
+ {
2181
+ "name": "kind",
2182
+ "description": "(\"stay\" | \"flight\" | \"train\" | \"ride\" | \"order\" | \"event\")",
2183
+ "values": [
2184
+ {
2185
+ "name": "stay"
2186
+ },
2187
+ {
2188
+ "name": "flight"
2189
+ },
2190
+ {
2191
+ "name": "train"
2192
+ },
2193
+ {
2194
+ "name": "ride"
2195
+ },
2196
+ {
2197
+ "name": "order"
2198
+ },
2199
+ {
2200
+ "name": "event"
2201
+ }
2202
+ ]
2203
+ },
2204
+ {
2205
+ "name": "title",
2206
+ "description": "(string)"
2207
+ },
2208
+ {
2209
+ "name": "subtitle",
2210
+ "description": "\"Hotel Atlantic · 2 nights\", \"LH 2024 · Seat 14A\". (ReactNode)"
2211
+ },
2212
+ {
2213
+ "name": "start",
2214
+ "description": "(Date | string | number)"
2215
+ },
2216
+ {
2217
+ "name": "end",
2218
+ "description": "(Date | string | number)"
2219
+ },
2220
+ {
2221
+ "name": "place",
2222
+ "description": "Where: an address, airport codes, a restaurant. (ReactNode)"
2223
+ },
2224
+ {
2225
+ "name": "code",
2226
+ "description": "Booking or order number. (string)"
2227
+ },
2228
+ {
2229
+ "name": "status",
2230
+ "description": "(\"confirmed\" | \"pending\" | \"cancelled\" | \"delayed\" | \"onTheWay\" | \"delivered\")",
2231
+ "values": [
2232
+ {
2233
+ "name": "confirmed"
2234
+ },
2235
+ {
2236
+ "name": "pending"
2237
+ },
2238
+ {
2239
+ "name": "cancelled"
2240
+ },
2241
+ {
2242
+ "name": "delayed"
2243
+ },
2244
+ {
2245
+ "name": "onTheWay"
2246
+ },
2247
+ {
2248
+ "name": "delivered"
2249
+ }
2250
+ ]
2251
+ },
2252
+ {
2253
+ "name": "status-text",
2254
+ "description": "Extra words for the status: \"+25 min\", \"Arrives 19:40\". (string)"
2255
+ },
2256
+ {
2257
+ "name": "service",
2258
+ "description": "(ServiceRef)"
2259
+ },
2260
+ {
2261
+ "name": "actions",
2262
+ "description": "(ReactNode)"
2263
+ }
2264
+ ],
2265
+ "references": [
2266
+ {
2267
+ "name": "Docs",
2268
+ "url": "https://ui.twentyfirst.media/halo/components/ReservationCard/"
2269
+ }
2270
+ ]
2271
+ },
2272
+ {
2273
+ "name": "tf-scorecard",
2274
+ "description": "A round of golf: par and strokes for each hole in the usual marks (circle for a birdie, double circle for an eagle, square for a bogey, double square for worse), putts, Out, In and the total against par.",
2275
+ "attributes": [
2276
+ {
2277
+ "name": "course",
2278
+ "description": "(string)"
2279
+ },
2280
+ {
2281
+ "name": "date",
2282
+ "description": "(Date | string | number)"
2283
+ },
2284
+ {
2285
+ "name": "holes",
2286
+ "description": "9 or 18 holes. (GolfHole[])"
2287
+ },
2288
+ {
2289
+ "name": "tee",
2290
+ "description": "Tee and course rating: \"Yellow · CR 71.2 / SR 128\". (string)"
2291
+ },
2292
+ {
2293
+ "name": "service",
2294
+ "description": "(ServiceRef)"
2295
+ }
2296
+ ],
2297
+ "references": [
2298
+ {
2299
+ "name": "Docs",
2300
+ "url": "https://ui.twentyfirst.media/halo/components/Scorecard/"
2301
+ }
2302
+ ]
2303
+ },
2304
+ {
2305
+ "name": "tf-holdings-list",
2306
+ "description": "Positions in a portfolio: name and ISIN or ticker, value, change over a period (arrow, sign and colour) and the share of the portfolio as a bar.",
2307
+ "attributes": [
2308
+ {
2309
+ "name": "holdings",
2310
+ "description": "(Holding[])"
2311
+ },
2312
+ {
2313
+ "name": "currency",
2314
+ "description": "(string)"
2315
+ },
2316
+ {
2317
+ "name": "period",
2318
+ "description": "The period of `change` (\"today\", \"1 year\"). (string)"
2319
+ },
2320
+ {
2321
+ "name": "label",
2322
+ "description": "Accessible name (default \"Holdings\"). (string)"
2323
+ }
2324
+ ],
2325
+ "references": [
2326
+ {
2327
+ "name": "Docs",
2328
+ "url": "https://ui.twentyfirst.media/halo/components/HoldingsList/"
2329
+ }
2330
+ ]
2331
+ },
1028
2332
  {
1029
2333
  "name": "tf-agent-card",
1030
2334
  "description": "One agent at a glance (AgentCard) and everything about it beside a chat (AgentDetails).",