@twentyfirstmedia/elements 0.6.0 → 0.7.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.
- package/dist/custom-elements.json +2191 -0
- package/dist/elements.d.ts +376 -0
- package/dist/elements.global.js +22 -22
- package/dist/elements.js +22 -22
- package/dist/vscode.html-custom-data.json +664 -0
- package/package.json +2 -2
|
@@ -1025,6 +1025,670 @@
|
|
|
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
|
+
},
|
|
1028
1692
|
{
|
|
1029
1693
|
"name": "tf-agent-card",
|
|
1030
1694
|
"description": "One agent at a glance (AgentCard) and everything about it beside a chat (AgentDetails).",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twentyfirstmedia/elements",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Every Twentyfirst UI component as a custom element: <tf-button>, <tf-data-table> … for plain HTML, Vue, Svelte, Angular, Astro and server templates.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Twentyfirst Media (https://twentyfirst.media)",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"dist"
|
|
55
55
|
],
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@twentyfirstmedia/ui-core": "0.
|
|
57
|
+
"@twentyfirstmedia/ui-core": "0.7.0",
|
|
58
58
|
"@types/node": "26.6.6",
|
|
59
59
|
"@types/react": "19.3.0",
|
|
60
60
|
"@types/react-dom": "19.3.0",
|