@f-ewald/components 0.6.0 → 1.0.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/README.md +101 -44
- package/custom-elements.json +2570 -877
- package/dist/calendar-entry.d.ts +33 -0
- package/dist/calendar-entry.d.ts.map +1 -0
- package/dist/calendar-entry.js +64 -0
- package/dist/calendar-entry.js.map +1 -0
- package/dist/calendar-month.d.ts +67 -0
- package/dist/calendar-month.d.ts.map +1 -0
- package/dist/calendar-month.js +455 -0
- package/dist/calendar-month.js.map +1 -0
- package/dist/calendar-year.d.ts +43 -0
- package/dist/calendar-year.d.ts.map +1 -0
- package/dist/calendar-year.js +136 -0
- package/dist/calendar-year.js.map +1 -0
- package/dist/dropdown-button.d.ts +37 -0
- package/dist/dropdown-button.d.ts.map +1 -0
- package/dist/dropdown-button.js +219 -0
- package/dist/dropdown-button.js.map +1 -0
- package/dist/form-select.d.ts +27 -2
- package/dist/form-select.d.ts.map +1 -1
- package/dist/form-select.js +440 -27
- package/dist/form-select.js.map +1 -1
- package/dist/frame-box.d.ts +22 -0
- package/dist/frame-box.d.ts.map +1 -0
- package/dist/frame-box.js +68 -0
- package/dist/frame-box.js.map +1 -0
- package/dist/icon-button.d.ts +27 -0
- package/dist/icon-button.d.ts.map +1 -0
- package/dist/icon-button.js +83 -0
- package/dist/icon-button.js.map +1 -0
- package/dist/icons.d.ts +1 -0
- package/dist/icons.d.ts.map +1 -1
- package/dist/icons.js +1 -0
- package/dist/icons.js.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/map-circle.d.ts +3 -0
- package/dist/map-circle.d.ts.map +1 -1
- package/dist/map-circle.js +3 -0
- package/dist/map-circle.js.map +1 -1
- package/dist/mcp-server.d.ts +3 -0
- package/dist/mcp-server.d.ts.map +1 -0
- package/dist/mcp-server.js +82 -0
- package/dist/mcp-server.js.map +1 -0
- package/dist/popover-panel.d.ts +3 -0
- package/dist/popover-panel.d.ts.map +1 -1
- package/dist/popover-panel.js +11 -0
- package/dist/popover-panel.js.map +1 -1
- package/dist/tokens.css +4 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +3 -0
- package/dist/tokens.js.map +1 -1
- package/dist/utils/calendar.d.ts +77 -0
- package/dist/utils/calendar.d.ts.map +1 -0
- package/dist/utils/calendar.js +135 -0
- package/dist/utils/calendar.js.map +1 -0
- package/docs/calendar-entry.md +53 -0
- package/docs/calendar-month.md +77 -0
- package/docs/calendar-year.md +53 -0
- package/docs/dropdown-button.md +61 -0
- package/docs/form-select.md +21 -3
- package/docs/frame-box.md +43 -0
- package/docs/icon-button.md +52 -0
- package/docs/map-circle.md +4 -0
- package/docs/mcp-evaluation.md +18 -11
- package/docs/popover-panel.md +5 -1
- package/llms.txt +194 -28
- package/package.json +19 -4
- package/dist/map-point.d.ts +0 -31
- package/dist/map-point.d.ts.map +0 -1
- package/dist/map-point.js +0 -83
- package/dist/map-point.js.map +0 -1
- package/docs/map-point.md +0 -44
package/custom-elements.json
CHANGED
|
@@ -1166,856 +1166,1054 @@
|
|
|
1166
1166
|
},
|
|
1167
1167
|
{
|
|
1168
1168
|
"kind": "javascript-module",
|
|
1169
|
-
"path": "src/
|
|
1169
|
+
"path": "src/calendar-entry.ts",
|
|
1170
1170
|
"declarations": [
|
|
1171
1171
|
{
|
|
1172
1172
|
"kind": "class",
|
|
1173
|
-
"description": "
|
|
1174
|
-
"name": "
|
|
1173
|
+
"description": "Declarative metadata for one calendar event, consumed by a parent\n`calendar-month` or `calendar-year`. Read-only/non-interactive; renders\nnothing itself.",
|
|
1174
|
+
"name": "CalendarEntry",
|
|
1175
1175
|
"slots": [
|
|
1176
1176
|
{
|
|
1177
|
-
"description": "
|
|
1178
|
-
"name": ""
|
|
1177
|
+
"description": "Plain-text title shown instead of the `label` fallback.",
|
|
1178
|
+
"name": "title"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"description": "Repeatable plain-text details rendered inside the shared body spanning all remaining days.",
|
|
1182
|
+
"name": "detail"
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"description": "Plain-text ending note pinned to the bottom of the shared body.",
|
|
1186
|
+
"name": "footer"
|
|
1179
1187
|
}
|
|
1180
1188
|
],
|
|
1181
1189
|
"members": [
|
|
1182
1190
|
{
|
|
1183
1191
|
"kind": "field",
|
|
1184
|
-
"name": "
|
|
1185
|
-
"type": {
|
|
1186
|
-
"text": "ChatMessageRole"
|
|
1187
|
-
},
|
|
1188
|
-
"default": "\"agent\"",
|
|
1189
|
-
"description": "Whose message this is; drives the card background/border.",
|
|
1190
|
-
"attribute": "role",
|
|
1191
|
-
"reflects": true
|
|
1192
|
-
},
|
|
1193
|
-
{
|
|
1194
|
-
"kind": "field",
|
|
1195
|
-
"name": "variant",
|
|
1192
|
+
"name": "start",
|
|
1196
1193
|
"type": {
|
|
1197
|
-
"text": "
|
|
1194
|
+
"text": "string"
|
|
1198
1195
|
},
|
|
1199
|
-
"default": "\"
|
|
1200
|
-
"description": "
|
|
1201
|
-
"attribute": "
|
|
1196
|
+
"default": "\"\"",
|
|
1197
|
+
"description": "Inclusive start date, `\"YYYY-MM-DD\"`.",
|
|
1198
|
+
"attribute": "start",
|
|
1202
1199
|
"reflects": true
|
|
1203
1200
|
},
|
|
1204
1201
|
{
|
|
1205
1202
|
"kind": "field",
|
|
1206
|
-
"name": "
|
|
1203
|
+
"name": "end",
|
|
1207
1204
|
"type": {
|
|
1208
1205
|
"text": "string"
|
|
1209
1206
|
},
|
|
1210
1207
|
"default": "\"\"",
|
|
1211
|
-
"description": "
|
|
1212
|
-
"attribute": "
|
|
1213
|
-
|
|
1214
|
-
{
|
|
1215
|
-
"kind": "field",
|
|
1216
|
-
"name": "timestamp",
|
|
1217
|
-
"type": {
|
|
1218
|
-
"text": "string | null"
|
|
1219
|
-
},
|
|
1220
|
-
"default": "null",
|
|
1221
|
-
"description": "ISO-8601 timestamp, rendered via `relative-time` in the header.",
|
|
1222
|
-
"attribute": "timestamp"
|
|
1208
|
+
"description": "Inclusive end date, `\"YYYY-MM-DD\"`. Falls back to `start` when unset (single-day entry).",
|
|
1209
|
+
"attribute": "end",
|
|
1210
|
+
"reflects": true
|
|
1223
1211
|
},
|
|
1224
1212
|
{
|
|
1225
1213
|
"kind": "field",
|
|
1226
|
-
"name": "
|
|
1214
|
+
"name": "label",
|
|
1227
1215
|
"type": {
|
|
1228
1216
|
"text": "string"
|
|
1229
1217
|
},
|
|
1230
1218
|
"default": "\"\"",
|
|
1231
|
-
"description": "
|
|
1232
|
-
"attribute": "
|
|
1219
|
+
"description": "Fallback title used when no `title` slot is provided.",
|
|
1220
|
+
"attribute": "label",
|
|
1221
|
+
"reflects": true
|
|
1233
1222
|
},
|
|
1234
1223
|
{
|
|
1235
1224
|
"kind": "field",
|
|
1236
|
-
"name": "
|
|
1225
|
+
"name": "color",
|
|
1237
1226
|
"type": {
|
|
1238
|
-
"text": "
|
|
1227
|
+
"text": "StatusPillColor"
|
|
1239
1228
|
},
|
|
1240
|
-
"default": "
|
|
1241
|
-
"description": "
|
|
1242
|
-
"attribute": "
|
|
1229
|
+
"default": "\"neutral\"",
|
|
1230
|
+
"description": "Color variant, reusing `status-pill`'s palette.",
|
|
1231
|
+
"attribute": "color",
|
|
1232
|
+
"reflects": true
|
|
1243
1233
|
},
|
|
1244
1234
|
{
|
|
1245
1235
|
"kind": "field",
|
|
1246
|
-
"name": "
|
|
1236
|
+
"name": "href",
|
|
1247
1237
|
"type": {
|
|
1248
|
-
"text": "
|
|
1238
|
+
"text": "string | undefined"
|
|
1249
1239
|
},
|
|
1250
|
-
"
|
|
1251
|
-
"
|
|
1252
|
-
"attribute": "collapsed",
|
|
1240
|
+
"description": "Optional link target; the parent renders the entry as an `<a>` when set.",
|
|
1241
|
+
"attribute": "href",
|
|
1253
1242
|
"reflects": true
|
|
1254
|
-
},
|
|
1255
|
-
{
|
|
1256
|
-
"kind": "method",
|
|
1257
|
-
"name": "_toggle",
|
|
1258
|
-
"privacy": "private"
|
|
1259
|
-
}
|
|
1260
|
-
],
|
|
1261
|
-
"events": [
|
|
1262
|
-
{
|
|
1263
|
-
"name": "toggle",
|
|
1264
|
-
"type": {
|
|
1265
|
-
"text": "CustomEvent"
|
|
1266
|
-
},
|
|
1267
|
-
"description": "Fired with `{ collapsed: boolean }` when the header/summary is clicked in collapsible mode."
|
|
1268
1243
|
}
|
|
1269
1244
|
],
|
|
1270
1245
|
"attributes": [
|
|
1271
1246
|
{
|
|
1272
|
-
"name": "
|
|
1273
|
-
"type": {
|
|
1274
|
-
"text": "ChatMessageRole"
|
|
1275
|
-
},
|
|
1276
|
-
"default": "\"agent\"",
|
|
1277
|
-
"description": "Whose message this is; drives the card background/border.",
|
|
1278
|
-
"fieldName": "role"
|
|
1279
|
-
},
|
|
1280
|
-
{
|
|
1281
|
-
"name": "variant",
|
|
1282
|
-
"type": {
|
|
1283
|
-
"text": "ChatMessageVariant"
|
|
1284
|
-
},
|
|
1285
|
-
"default": "\"normal\"",
|
|
1286
|
-
"description": "`tool`/`thinking` render dimmed and smaller, with `tool` using monospace for its body.",
|
|
1287
|
-
"fieldName": "variant"
|
|
1288
|
-
},
|
|
1289
|
-
{
|
|
1290
|
-
"name": "author",
|
|
1247
|
+
"name": "start",
|
|
1291
1248
|
"type": {
|
|
1292
1249
|
"text": "string"
|
|
1293
1250
|
},
|
|
1294
1251
|
"default": "\"\"",
|
|
1295
|
-
"description": "
|
|
1296
|
-
"fieldName": "
|
|
1252
|
+
"description": "Inclusive start date, `\"YYYY-MM-DD\"`.",
|
|
1253
|
+
"fieldName": "start"
|
|
1297
1254
|
},
|
|
1298
1255
|
{
|
|
1299
|
-
"name": "
|
|
1256
|
+
"name": "end",
|
|
1300
1257
|
"type": {
|
|
1301
|
-
"text": "string
|
|
1258
|
+
"text": "string"
|
|
1302
1259
|
},
|
|
1303
|
-
"default": "
|
|
1304
|
-
"description": "
|
|
1305
|
-
"fieldName": "
|
|
1260
|
+
"default": "\"\"",
|
|
1261
|
+
"description": "Inclusive end date, `\"YYYY-MM-DD\"`. Falls back to `start` when unset (single-day entry).",
|
|
1262
|
+
"fieldName": "end"
|
|
1306
1263
|
},
|
|
1307
1264
|
{
|
|
1308
|
-
"name": "
|
|
1265
|
+
"name": "label",
|
|
1309
1266
|
"type": {
|
|
1310
1267
|
"text": "string"
|
|
1311
1268
|
},
|
|
1312
1269
|
"default": "\"\"",
|
|
1313
|
-
"description": "
|
|
1314
|
-
"fieldName": "
|
|
1270
|
+
"description": "Fallback title used when no `title` slot is provided.",
|
|
1271
|
+
"fieldName": "label"
|
|
1315
1272
|
},
|
|
1316
1273
|
{
|
|
1317
|
-
"name": "
|
|
1274
|
+
"name": "color",
|
|
1318
1275
|
"type": {
|
|
1319
|
-
"text": "
|
|
1276
|
+
"text": "StatusPillColor"
|
|
1320
1277
|
},
|
|
1321
|
-
"default": "
|
|
1322
|
-
"description": "
|
|
1323
|
-
"fieldName": "
|
|
1278
|
+
"default": "\"neutral\"",
|
|
1279
|
+
"description": "Color variant, reusing `status-pill`'s palette.",
|
|
1280
|
+
"fieldName": "color"
|
|
1324
1281
|
},
|
|
1325
1282
|
{
|
|
1326
|
-
"name": "
|
|
1283
|
+
"name": "href",
|
|
1327
1284
|
"type": {
|
|
1328
|
-
"text": "
|
|
1285
|
+
"text": "string | undefined"
|
|
1329
1286
|
},
|
|
1330
|
-
"
|
|
1331
|
-
"
|
|
1332
|
-
"fieldName": "collapsed"
|
|
1287
|
+
"description": "Optional link target; the parent renders the entry as an `<a>` when set.",
|
|
1288
|
+
"fieldName": "href"
|
|
1333
1289
|
}
|
|
1334
1290
|
],
|
|
1335
1291
|
"superclass": {
|
|
1336
1292
|
"name": "LitElement",
|
|
1337
1293
|
"package": "lit"
|
|
1338
1294
|
},
|
|
1339
|
-
"tagName": "
|
|
1295
|
+
"tagName": "calendar-entry",
|
|
1340
1296
|
"customElement": true
|
|
1341
1297
|
}
|
|
1342
1298
|
],
|
|
1343
1299
|
"exports": [
|
|
1344
1300
|
{
|
|
1345
1301
|
"kind": "js",
|
|
1346
|
-
"name": "
|
|
1302
|
+
"name": "CalendarEntry",
|
|
1347
1303
|
"declaration": {
|
|
1348
|
-
"name": "
|
|
1349
|
-
"module": "src/
|
|
1304
|
+
"name": "CalendarEntry",
|
|
1305
|
+
"module": "src/calendar-entry.ts"
|
|
1350
1306
|
}
|
|
1351
1307
|
},
|
|
1352
1308
|
{
|
|
1353
1309
|
"kind": "custom-element-definition",
|
|
1354
|
-
"name": "
|
|
1310
|
+
"name": "calendar-entry",
|
|
1355
1311
|
"declaration": {
|
|
1356
|
-
"name": "
|
|
1357
|
-
"module": "src/
|
|
1312
|
+
"name": "CalendarEntry",
|
|
1313
|
+
"module": "src/calendar-entry.ts"
|
|
1358
1314
|
}
|
|
1359
1315
|
}
|
|
1360
1316
|
]
|
|
1361
1317
|
},
|
|
1362
1318
|
{
|
|
1363
1319
|
"kind": "javascript-module",
|
|
1364
|
-
"path": "src/
|
|
1320
|
+
"path": "src/calendar-month.ts",
|
|
1365
1321
|
"declarations": [
|
|
1366
1322
|
{
|
|
1367
1323
|
"kind": "class",
|
|
1368
|
-
"description": "
|
|
1369
|
-
"name": "
|
|
1324
|
+
"description": "One month rendered as a top-to-bottom list of days — weekends and today\nhighlighted, with declarative `calendar-entry` children shown as colored\nbars spanning the days they cover. An entry's title uses its first visible\nday; every remaining visible day becomes one shared body for wrapped\ndetails and an optional ending footer. Overlapping entries stack into\nside-by-side lanes rather than being layered/hidden. Read-only.\n\nLanes are computed independently per instance, from only the entries\noverlapping this month — an entry spanning a month boundary may therefore\nland in a different lane index in the adjacent month's `calendar-month`.\nThis is an accepted v1 limitation: cross-month lane continuity would\nrequire a shared parent (`calendar-year`) to assign lanes globally.\n\nEntry attributes and slotted title/detail text are observed, so a\nstandalone month re-renders when consumers update declarative metadata.",
|
|
1325
|
+
"name": "CalendarMonth",
|
|
1326
|
+
"slots": [
|
|
1327
|
+
{
|
|
1328
|
+
"description": "Declarative `calendar-entry` elements to render for this month.",
|
|
1329
|
+
"name": ""
|
|
1330
|
+
}
|
|
1331
|
+
],
|
|
1370
1332
|
"members": [
|
|
1371
1333
|
{
|
|
1372
1334
|
"kind": "field",
|
|
1373
|
-
"name": "
|
|
1335
|
+
"name": "year",
|
|
1374
1336
|
"type": {
|
|
1375
|
-
"text": "
|
|
1337
|
+
"text": "number"
|
|
1376
1338
|
},
|
|
1377
|
-
"
|
|
1378
|
-
"
|
|
1379
|
-
"
|
|
1339
|
+
"description": "Calendar year, e.g. `2026`.",
|
|
1340
|
+
"attribute": "year",
|
|
1341
|
+
"reflects": true
|
|
1380
1342
|
},
|
|
1381
1343
|
{
|
|
1382
1344
|
"kind": "field",
|
|
1383
|
-
"name": "
|
|
1345
|
+
"name": "month",
|
|
1384
1346
|
"type": {
|
|
1385
|
-
"text": "
|
|
1347
|
+
"text": "number"
|
|
1386
1348
|
},
|
|
1387
|
-
"default": "
|
|
1388
|
-
"description": "
|
|
1389
|
-
"attribute": "
|
|
1349
|
+
"default": "1",
|
|
1350
|
+
"description": "Calendar month, 1-12 (January = 1).",
|
|
1351
|
+
"attribute": "month",
|
|
1352
|
+
"reflects": true
|
|
1390
1353
|
},
|
|
1391
1354
|
{
|
|
1392
1355
|
"kind": "field",
|
|
1393
|
-
"name": "
|
|
1356
|
+
"name": "_entryElements",
|
|
1394
1357
|
"type": {
|
|
1395
|
-
"text": "
|
|
1358
|
+
"text": "CalendarEntry[]"
|
|
1396
1359
|
},
|
|
1397
|
-
"
|
|
1398
|
-
"
|
|
1399
|
-
"attribute": "cancel-label"
|
|
1360
|
+
"privacy": "private",
|
|
1361
|
+
"readonly": true
|
|
1400
1362
|
},
|
|
1401
1363
|
{
|
|
1402
1364
|
"kind": "field",
|
|
1403
|
-
"name": "
|
|
1365
|
+
"name": "_entriesVersion",
|
|
1404
1366
|
"type": {
|
|
1405
|
-
"text": "
|
|
1367
|
+
"text": "number"
|
|
1406
1368
|
},
|
|
1407
|
-
"
|
|
1408
|
-
"
|
|
1409
|
-
"
|
|
1369
|
+
"privacy": "private",
|
|
1370
|
+
"default": "0",
|
|
1371
|
+
"description": "Bumped when entry elements, attributes, or slotted text change to force a re-render."
|
|
1410
1372
|
},
|
|
1411
1373
|
{
|
|
1412
1374
|
"kind": "field",
|
|
1413
|
-
"name": "
|
|
1375
|
+
"name": "_entriesObserver",
|
|
1414
1376
|
"type": {
|
|
1415
|
-
"text": "
|
|
1377
|
+
"text": "MutationObserver | undefined"
|
|
1416
1378
|
},
|
|
1417
|
-
"
|
|
1418
|
-
"description": "Shows a spinner and disables both buttons while a request is in flight.",
|
|
1419
|
-
"attribute": "busy"
|
|
1379
|
+
"privacy": "private"
|
|
1420
1380
|
},
|
|
1421
1381
|
{
|
|
1422
|
-
"kind": "
|
|
1423
|
-
"name": "
|
|
1424
|
-
"
|
|
1425
|
-
|
|
1382
|
+
"kind": "method",
|
|
1383
|
+
"name": "_handleSlotChange",
|
|
1384
|
+
"privacy": "private",
|
|
1385
|
+
"return": {
|
|
1386
|
+
"type": {
|
|
1387
|
+
"text": "void"
|
|
1388
|
+
}
|
|
1426
1389
|
},
|
|
1427
|
-
"
|
|
1428
|
-
"description": "Inline error line shown below the body, or null for none.",
|
|
1429
|
-
"attribute": "error"
|
|
1390
|
+
"description": "Re-renders when declarative `calendar-entry` children are added or removed."
|
|
1430
1391
|
},
|
|
1431
1392
|
{
|
|
1432
1393
|
"kind": "method",
|
|
1433
|
-
"name": "
|
|
1434
|
-
"privacy": "private"
|
|
1394
|
+
"name": "_entryFor",
|
|
1395
|
+
"privacy": "private",
|
|
1396
|
+
"return": {
|
|
1397
|
+
"type": {
|
|
1398
|
+
"text": "LanedEntry | undefined"
|
|
1399
|
+
}
|
|
1400
|
+
},
|
|
1401
|
+
"parameters": [
|
|
1402
|
+
{
|
|
1403
|
+
"name": "laned",
|
|
1404
|
+
"type": {
|
|
1405
|
+
"text": "LanedEntry[]"
|
|
1406
|
+
}
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"name": "lane",
|
|
1410
|
+
"type": {
|
|
1411
|
+
"text": "number"
|
|
1412
|
+
}
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"name": "date",
|
|
1416
|
+
"type": {
|
|
1417
|
+
"text": "Date"
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
],
|
|
1421
|
+
"description": "Finds the laned entry (if any) covering `date` in a given lane."
|
|
1435
1422
|
},
|
|
1436
1423
|
{
|
|
1437
1424
|
"kind": "method",
|
|
1438
|
-
"name": "
|
|
1439
|
-
"privacy": "private"
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
"name": "confirm",
|
|
1445
|
-
"type": {
|
|
1446
|
-
"text": "CustomEvent"
|
|
1425
|
+
"name": "_segmentClass",
|
|
1426
|
+
"privacy": "private",
|
|
1427
|
+
"return": {
|
|
1428
|
+
"type": {
|
|
1429
|
+
"text": "string"
|
|
1430
|
+
}
|
|
1447
1431
|
},
|
|
1448
|
-
"
|
|
1432
|
+
"parameters": [
|
|
1433
|
+
{
|
|
1434
|
+
"name": "entry",
|
|
1435
|
+
"type": {
|
|
1436
|
+
"text": "LanedEntry"
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"name": "date",
|
|
1441
|
+
"type": {
|
|
1442
|
+
"text": "Date"
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
],
|
|
1446
|
+
"description": "Classifies one day of an entry so only the outer endpoints are rounded."
|
|
1449
1447
|
},
|
|
1450
1448
|
{
|
|
1451
|
-
"
|
|
1452
|
-
"
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
"attributes": [
|
|
1459
|
-
{
|
|
1460
|
-
"name": "open",
|
|
1461
|
-
"type": {
|
|
1462
|
-
"text": "boolean"
|
|
1449
|
+
"kind": "method",
|
|
1450
|
+
"name": "_entryKey",
|
|
1451
|
+
"privacy": "private",
|
|
1452
|
+
"return": {
|
|
1453
|
+
"type": {
|
|
1454
|
+
"text": "string"
|
|
1455
|
+
}
|
|
1463
1456
|
},
|
|
1464
|
-
"
|
|
1465
|
-
|
|
1466
|
-
|
|
1457
|
+
"parameters": [
|
|
1458
|
+
{
|
|
1459
|
+
"name": "entry",
|
|
1460
|
+
"type": {
|
|
1461
|
+
"text": "LanedEntry"
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
],
|
|
1465
|
+
"description": "Current render key shared by an entry's title and body cells."
|
|
1467
1466
|
},
|
|
1468
1467
|
{
|
|
1469
|
-
"
|
|
1470
|
-
"
|
|
1471
|
-
|
|
1468
|
+
"kind": "method",
|
|
1469
|
+
"name": "_setEntryInteraction",
|
|
1470
|
+
"privacy": "private",
|
|
1471
|
+
"return": {
|
|
1472
|
+
"type": {
|
|
1473
|
+
"text": "void"
|
|
1474
|
+
}
|
|
1472
1475
|
},
|
|
1473
|
-
"
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
+
"parameters": [
|
|
1477
|
+
{
|
|
1478
|
+
"name": "entryKey",
|
|
1479
|
+
"type": {
|
|
1480
|
+
"text": "string"
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"name": "className",
|
|
1485
|
+
"type": {
|
|
1486
|
+
"text": "string"
|
|
1487
|
+
}
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
"name": "active",
|
|
1491
|
+
"type": {
|
|
1492
|
+
"text": "boolean"
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
],
|
|
1496
|
+
"description": "Toggles one interaction class on every rendered cell belonging to an entry."
|
|
1476
1497
|
},
|
|
1477
1498
|
{
|
|
1478
|
-
"
|
|
1479
|
-
"
|
|
1480
|
-
|
|
1499
|
+
"kind": "method",
|
|
1500
|
+
"name": "_syncEntryInteractions",
|
|
1501
|
+
"privacy": "private",
|
|
1502
|
+
"return": {
|
|
1503
|
+
"type": {
|
|
1504
|
+
"text": "void"
|
|
1505
|
+
}
|
|
1481
1506
|
},
|
|
1482
|
-
"
|
|
1483
|
-
"description": "Label for the cancel button.",
|
|
1484
|
-
"fieldName": "cancelLabel"
|
|
1507
|
+
"description": "Reconciles classes against the links actually hovered or focused after a render."
|
|
1485
1508
|
},
|
|
1486
1509
|
{
|
|
1487
|
-
"
|
|
1488
|
-
"
|
|
1489
|
-
|
|
1510
|
+
"kind": "method",
|
|
1511
|
+
"name": "_renderEntryLink",
|
|
1512
|
+
"privacy": "private",
|
|
1513
|
+
"parameters": [
|
|
1514
|
+
{
|
|
1515
|
+
"name": "entry",
|
|
1516
|
+
"type": {
|
|
1517
|
+
"text": "LanedEntry"
|
|
1518
|
+
}
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"name": "accessibleText",
|
|
1522
|
+
"type": {
|
|
1523
|
+
"text": "string"
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1526
|
+
],
|
|
1527
|
+
"description": "Renders a transparent full-cell link without wrapping the visible text."
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"kind": "method",
|
|
1531
|
+
"name": "_entryBodyText",
|
|
1532
|
+
"privacy": "private",
|
|
1533
|
+
"return": {
|
|
1534
|
+
"type": {
|
|
1535
|
+
"text": "string"
|
|
1536
|
+
}
|
|
1490
1537
|
},
|
|
1491
|
-
"
|
|
1492
|
-
|
|
1493
|
-
|
|
1538
|
+
"parameters": [
|
|
1539
|
+
{
|
|
1540
|
+
"name": "entry",
|
|
1541
|
+
"type": {
|
|
1542
|
+
"text": "LanedEntry"
|
|
1543
|
+
}
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"name": "showFooter",
|
|
1547
|
+
"type": {
|
|
1548
|
+
"text": "boolean"
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1551
|
+
],
|
|
1552
|
+
"description": "Joins the event title, details, and visible footer for tooltips and accessible link names."
|
|
1494
1553
|
},
|
|
1495
1554
|
{
|
|
1496
|
-
"
|
|
1555
|
+
"kind": "method",
|
|
1556
|
+
"name": "_renderEntryBody",
|
|
1557
|
+
"privacy": "private",
|
|
1558
|
+
"parameters": [
|
|
1559
|
+
{
|
|
1560
|
+
"name": "entry",
|
|
1561
|
+
"type": {
|
|
1562
|
+
"text": "LanedEntry"
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
"name": "showFooter",
|
|
1567
|
+
"type": {
|
|
1568
|
+
"text": "boolean"
|
|
1569
|
+
}
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"name": "detailLineClamp",
|
|
1573
|
+
"type": {
|
|
1574
|
+
"text": "number"
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"name": "showTitleFallback",
|
|
1579
|
+
"default": "false"
|
|
1580
|
+
}
|
|
1581
|
+
],
|
|
1582
|
+
"description": "Renders the shared details body, with the footer reserved at its bottom edge."
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"kind": "method",
|
|
1586
|
+
"name": "_renderEntryBodyCell",
|
|
1587
|
+
"privacy": "private",
|
|
1588
|
+
"parameters": [
|
|
1589
|
+
{
|
|
1590
|
+
"name": "entry",
|
|
1591
|
+
"type": {
|
|
1592
|
+
"text": "LanedEntry"
|
|
1593
|
+
}
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"name": "bodyRows",
|
|
1597
|
+
"type": {
|
|
1598
|
+
"text": "number"
|
|
1599
|
+
}
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
"name": "reachesEventEnd",
|
|
1603
|
+
"type": {
|
|
1604
|
+
"text": "boolean"
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"name": "showTitleFallback",
|
|
1609
|
+
"default": "false"
|
|
1610
|
+
}
|
|
1611
|
+
],
|
|
1612
|
+
"description": "Renders a row-spanning body cell with whole-line detail and footer budgets."
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"kind": "method",
|
|
1616
|
+
"name": "_renderLaneCell",
|
|
1617
|
+
"privacy": "private",
|
|
1618
|
+
"parameters": [
|
|
1619
|
+
{
|
|
1620
|
+
"name": "laned",
|
|
1621
|
+
"type": {
|
|
1622
|
+
"text": "LanedEntry[]"
|
|
1623
|
+
}
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"name": "lane",
|
|
1627
|
+
"type": {
|
|
1628
|
+
"text": "number"
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"name": "date",
|
|
1633
|
+
"type": {
|
|
1634
|
+
"text": "Date"
|
|
1635
|
+
}
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"name": "monthStart",
|
|
1639
|
+
"type": {
|
|
1640
|
+
"text": "Date"
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"name": "monthEnd",
|
|
1645
|
+
"type": {
|
|
1646
|
+
"text": "Date"
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
],
|
|
1650
|
+
"description": "Renders a lane's title/body cell, skips rows covered by a body rowspan, or emits an empty spacer."
|
|
1651
|
+
}
|
|
1652
|
+
],
|
|
1653
|
+
"attributes": [
|
|
1654
|
+
{
|
|
1655
|
+
"name": "year",
|
|
1497
1656
|
"type": {
|
|
1498
|
-
"text": "
|
|
1657
|
+
"text": "number"
|
|
1499
1658
|
},
|
|
1500
|
-
"
|
|
1501
|
-
"
|
|
1502
|
-
"fieldName": "busy"
|
|
1659
|
+
"description": "Calendar year, e.g. `2026`.",
|
|
1660
|
+
"fieldName": "year"
|
|
1503
1661
|
},
|
|
1504
1662
|
{
|
|
1505
|
-
"name": "
|
|
1663
|
+
"name": "month",
|
|
1506
1664
|
"type": {
|
|
1507
|
-
"text": "
|
|
1665
|
+
"text": "number"
|
|
1508
1666
|
},
|
|
1509
|
-
"default": "
|
|
1510
|
-
"description": "
|
|
1511
|
-
"fieldName": "
|
|
1667
|
+
"default": "1",
|
|
1668
|
+
"description": "Calendar month, 1-12 (January = 1).",
|
|
1669
|
+
"fieldName": "month"
|
|
1512
1670
|
}
|
|
1513
1671
|
],
|
|
1514
1672
|
"superclass": {
|
|
1515
1673
|
"name": "LitElement",
|
|
1516
1674
|
"package": "lit"
|
|
1517
1675
|
},
|
|
1518
|
-
"tagName": "
|
|
1676
|
+
"tagName": "calendar-month",
|
|
1519
1677
|
"customElement": true
|
|
1520
1678
|
}
|
|
1521
1679
|
],
|
|
1522
1680
|
"exports": [
|
|
1523
1681
|
{
|
|
1524
1682
|
"kind": "js",
|
|
1525
|
-
"name": "
|
|
1683
|
+
"name": "CalendarMonth",
|
|
1526
1684
|
"declaration": {
|
|
1527
|
-
"name": "
|
|
1528
|
-
"module": "src/
|
|
1685
|
+
"name": "CalendarMonth",
|
|
1686
|
+
"module": "src/calendar-month.ts"
|
|
1529
1687
|
}
|
|
1530
1688
|
},
|
|
1531
1689
|
{
|
|
1532
1690
|
"kind": "custom-element-definition",
|
|
1533
|
-
"name": "
|
|
1691
|
+
"name": "calendar-month",
|
|
1534
1692
|
"declaration": {
|
|
1535
|
-
"name": "
|
|
1536
|
-
"module": "src/
|
|
1693
|
+
"name": "CalendarMonth",
|
|
1694
|
+
"module": "src/calendar-month.ts"
|
|
1537
1695
|
}
|
|
1538
1696
|
}
|
|
1539
1697
|
]
|
|
1540
1698
|
},
|
|
1541
1699
|
{
|
|
1542
1700
|
"kind": "javascript-module",
|
|
1543
|
-
"path": "src/
|
|
1701
|
+
"path": "src/calendar-year.ts",
|
|
1544
1702
|
"declarations": [
|
|
1545
1703
|
{
|
|
1546
1704
|
"kind": "class",
|
|
1547
|
-
"description": "
|
|
1548
|
-
"name": "
|
|
1705
|
+
"description": "A full year of `calendar-month` blocks, generated from declarative\n`calendar-entry` children. Each entry is re-projected into the\n`calendar-month` blocks it overlaps as a freshly-created `calendar-entry`\nelement — the original elements stay slotted here and are never moved,\nsince a DOM node can only have one parent. Read-only.",
|
|
1706
|
+
"name": "CalendarYear",
|
|
1707
|
+
"slots": [
|
|
1708
|
+
{
|
|
1709
|
+
"description": "Declarative `calendar-entry` elements spanning the displayed year.",
|
|
1710
|
+
"name": ""
|
|
1711
|
+
}
|
|
1712
|
+
],
|
|
1549
1713
|
"members": [
|
|
1550
1714
|
{
|
|
1551
1715
|
"kind": "field",
|
|
1552
|
-
"name": "
|
|
1716
|
+
"name": "year",
|
|
1553
1717
|
"type": {
|
|
1554
|
-
"text": "
|
|
1718
|
+
"text": "number"
|
|
1555
1719
|
},
|
|
1556
|
-
"
|
|
1557
|
-
"
|
|
1558
|
-
"
|
|
1720
|
+
"description": "Calendar year to render all 12 months for, e.g. `2026`.",
|
|
1721
|
+
"attribute": "year",
|
|
1722
|
+
"reflects": true
|
|
1559
1723
|
},
|
|
1560
1724
|
{
|
|
1561
1725
|
"kind": "field",
|
|
1562
|
-
"name": "
|
|
1726
|
+
"name": "_entryElements",
|
|
1563
1727
|
"type": {
|
|
1564
|
-
"text": "
|
|
1728
|
+
"text": "CalendarEntry[]"
|
|
1565
1729
|
},
|
|
1566
|
-
"
|
|
1567
|
-
"
|
|
1568
|
-
"attribute": "label"
|
|
1730
|
+
"privacy": "private",
|
|
1731
|
+
"readonly": true
|
|
1569
1732
|
},
|
|
1570
1733
|
{
|
|
1571
|
-
"kind": "
|
|
1572
|
-
"name": "
|
|
1573
|
-
"privacy": "private"
|
|
1574
|
-
}
|
|
1575
|
-
],
|
|
1576
|
-
"events": [
|
|
1577
|
-
{
|
|
1578
|
-
"name": "copy-success",
|
|
1734
|
+
"kind": "field",
|
|
1735
|
+
"name": "_entriesVersion",
|
|
1579
1736
|
"type": {
|
|
1580
|
-
"text": "
|
|
1737
|
+
"text": "number"
|
|
1581
1738
|
},
|
|
1582
|
-
"
|
|
1739
|
+
"privacy": "private",
|
|
1740
|
+
"default": "0",
|
|
1741
|
+
"description": "Bumped whenever entry elements, attributes, or slotted text change to force a re-render."
|
|
1583
1742
|
},
|
|
1584
1743
|
{
|
|
1585
|
-
"
|
|
1744
|
+
"kind": "field",
|
|
1745
|
+
"name": "_entriesObserver",
|
|
1586
1746
|
"type": {
|
|
1587
|
-
"text": "
|
|
1747
|
+
"text": "MutationObserver | undefined"
|
|
1588
1748
|
},
|
|
1589
|
-
"
|
|
1590
|
-
}
|
|
1591
|
-
],
|
|
1592
|
-
"attributes": [
|
|
1749
|
+
"privacy": "private"
|
|
1750
|
+
},
|
|
1593
1751
|
{
|
|
1594
|
-
"
|
|
1752
|
+
"kind": "field",
|
|
1753
|
+
"name": "_entryKeys",
|
|
1754
|
+
"privacy": "private",
|
|
1755
|
+
"readonly": true,
|
|
1756
|
+
"default": "new WeakMap<CalendarEntry, string>()"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"kind": "field",
|
|
1760
|
+
"name": "_nextEntryKey",
|
|
1595
1761
|
"type": {
|
|
1596
|
-
"text": "
|
|
1762
|
+
"text": "number"
|
|
1597
1763
|
},
|
|
1598
|
-
"
|
|
1599
|
-
"
|
|
1600
|
-
"fieldName": "value"
|
|
1764
|
+
"privacy": "private",
|
|
1765
|
+
"default": "0"
|
|
1601
1766
|
},
|
|
1602
1767
|
{
|
|
1603
|
-
"
|
|
1604
|
-
"
|
|
1605
|
-
|
|
1768
|
+
"kind": "method",
|
|
1769
|
+
"name": "_handleSlotChange",
|
|
1770
|
+
"privacy": "private",
|
|
1771
|
+
"return": {
|
|
1772
|
+
"type": {
|
|
1773
|
+
"text": "void"
|
|
1774
|
+
}
|
|
1606
1775
|
},
|
|
1607
|
-
"
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1776
|
+
"description": "Re-renders when declarative `calendar-entry` children are added or removed."
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"kind": "method",
|
|
1780
|
+
"name": "_entryKey",
|
|
1781
|
+
"privacy": "private",
|
|
1782
|
+
"return": {
|
|
1783
|
+
"type": {
|
|
1784
|
+
"text": "string"
|
|
1785
|
+
}
|
|
1786
|
+
},
|
|
1787
|
+
"parameters": [
|
|
1788
|
+
{
|
|
1789
|
+
"name": "element",
|
|
1790
|
+
"type": {
|
|
1791
|
+
"text": "CalendarEntry"
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
],
|
|
1795
|
+
"description": "Returns an immutable identity for each original slotted entry."
|
|
1796
|
+
}
|
|
1797
|
+
],
|
|
1798
|
+
"attributes": [
|
|
1799
|
+
{
|
|
1800
|
+
"name": "year",
|
|
1801
|
+
"type": {
|
|
1802
|
+
"text": "number"
|
|
1803
|
+
},
|
|
1804
|
+
"description": "Calendar year to render all 12 months for, e.g. `2026`.",
|
|
1805
|
+
"fieldName": "year"
|
|
1806
|
+
}
|
|
1807
|
+
],
|
|
1808
|
+
"superclass": {
|
|
1809
|
+
"name": "LitElement",
|
|
1810
|
+
"package": "lit"
|
|
1811
|
+
},
|
|
1812
|
+
"tagName": "calendar-year",
|
|
1617
1813
|
"customElement": true
|
|
1618
1814
|
}
|
|
1619
1815
|
],
|
|
1620
1816
|
"exports": [
|
|
1621
1817
|
{
|
|
1622
1818
|
"kind": "js",
|
|
1623
|
-
"name": "
|
|
1819
|
+
"name": "CalendarYear",
|
|
1624
1820
|
"declaration": {
|
|
1625
|
-
"name": "
|
|
1626
|
-
"module": "src/
|
|
1821
|
+
"name": "CalendarYear",
|
|
1822
|
+
"module": "src/calendar-year.ts"
|
|
1627
1823
|
}
|
|
1628
1824
|
},
|
|
1629
1825
|
{
|
|
1630
1826
|
"kind": "custom-element-definition",
|
|
1631
|
-
"name": "
|
|
1827
|
+
"name": "calendar-year",
|
|
1632
1828
|
"declaration": {
|
|
1633
|
-
"name": "
|
|
1634
|
-
"module": "src/
|
|
1829
|
+
"name": "CalendarYear",
|
|
1830
|
+
"module": "src/calendar-year.ts"
|
|
1635
1831
|
}
|
|
1636
1832
|
}
|
|
1637
1833
|
]
|
|
1638
1834
|
},
|
|
1639
1835
|
{
|
|
1640
1836
|
"kind": "javascript-module",
|
|
1641
|
-
"path": "src/
|
|
1837
|
+
"path": "src/chat-message.ts",
|
|
1642
1838
|
"declarations": [
|
|
1643
1839
|
{
|
|
1644
1840
|
"kind": "class",
|
|
1645
|
-
"description": "
|
|
1646
|
-
"name": "
|
|
1841
|
+
"description": "One conversation entry in a chat-style activity feed. Tool calls and\n\"thinking\" traces are variants of this component rather than separate\nones — they share the same header, collapse behavior, and body card as a\nnormal message, just dimmed and collapsible with an always-visible summary.",
|
|
1842
|
+
"name": "ChatMessage",
|
|
1843
|
+
"slots": [
|
|
1844
|
+
{
|
|
1845
|
+
"description": "Message body (consumers slot in already-rendered content, e.g. sanitized markdown HTML).",
|
|
1846
|
+
"name": ""
|
|
1847
|
+
}
|
|
1848
|
+
],
|
|
1647
1849
|
"members": [
|
|
1648
1850
|
{
|
|
1649
1851
|
"kind": "field",
|
|
1650
|
-
"name": "
|
|
1852
|
+
"name": "role",
|
|
1651
1853
|
"type": {
|
|
1652
|
-
"text": "
|
|
1854
|
+
"text": "ChatMessageRole"
|
|
1653
1855
|
},
|
|
1654
|
-
"default": "
|
|
1655
|
-
"description": "
|
|
1856
|
+
"default": "\"agent\"",
|
|
1857
|
+
"description": "Whose message this is; drives the card background/border.",
|
|
1858
|
+
"attribute": "role",
|
|
1859
|
+
"reflects": true
|
|
1656
1860
|
},
|
|
1657
1861
|
{
|
|
1658
1862
|
"kind": "field",
|
|
1659
|
-
"name": "
|
|
1863
|
+
"name": "variant",
|
|
1660
1864
|
"type": {
|
|
1661
|
-
"text": "
|
|
1865
|
+
"text": "ChatMessageVariant"
|
|
1662
1866
|
},
|
|
1663
|
-
"default": "
|
|
1664
|
-
"description": "
|
|
1867
|
+
"default": "\"normal\"",
|
|
1868
|
+
"description": "`tool`/`thinking` render dimmed and smaller, with `tool` using monospace for its body.",
|
|
1869
|
+
"attribute": "variant",
|
|
1870
|
+
"reflects": true
|
|
1665
1871
|
},
|
|
1666
1872
|
{
|
|
1667
1873
|
"kind": "field",
|
|
1668
|
-
"name": "
|
|
1874
|
+
"name": "author",
|
|
1669
1875
|
"type": {
|
|
1670
|
-
"text": "
|
|
1876
|
+
"text": "string"
|
|
1671
1877
|
},
|
|
1672
|
-
"
|
|
1878
|
+
"default": "\"\"",
|
|
1879
|
+
"description": "Header label, e.g. \"Freddy\" or \"Architect\".",
|
|
1880
|
+
"attribute": "author"
|
|
1673
1881
|
},
|
|
1674
1882
|
{
|
|
1675
1883
|
"kind": "field",
|
|
1676
|
-
"name": "
|
|
1884
|
+
"name": "timestamp",
|
|
1677
1885
|
"type": {
|
|
1678
|
-
"text": "
|
|
1886
|
+
"text": "string | null"
|
|
1679
1887
|
},
|
|
1680
|
-
"
|
|
1888
|
+
"default": "null",
|
|
1889
|
+
"description": "ISO-8601 timestamp, rendered via `relative-time` in the header.",
|
|
1890
|
+
"attribute": "timestamp"
|
|
1681
1891
|
},
|
|
1682
1892
|
{
|
|
1683
1893
|
"kind": "field",
|
|
1684
|
-
"name": "
|
|
1894
|
+
"name": "summary",
|
|
1685
1895
|
"type": {
|
|
1686
|
-
"text": "
|
|
1896
|
+
"text": "string"
|
|
1687
1897
|
},
|
|
1688
|
-
"default": "
|
|
1689
|
-
"description": "
|
|
1898
|
+
"default": "\"\"",
|
|
1899
|
+
"description": "Always-visible one-liner for `tool`/`thinking` variants (e.g. a truncated args preview).",
|
|
1900
|
+
"attribute": "summary"
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
"kind": "field",
|
|
1904
|
+
"name": "collapsible",
|
|
1905
|
+
"type": {
|
|
1906
|
+
"text": "boolean"
|
|
1907
|
+
},
|
|
1908
|
+
"default": "false",
|
|
1909
|
+
"description": "Whether clicking the header/summary toggles the body slot.",
|
|
1910
|
+
"attribute": "collapsible"
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
"kind": "field",
|
|
1914
|
+
"name": "collapsed",
|
|
1915
|
+
"type": {
|
|
1916
|
+
"text": "boolean"
|
|
1917
|
+
},
|
|
1918
|
+
"default": "false",
|
|
1919
|
+
"description": "Current collapse state (reflected as an attribute).",
|
|
1920
|
+
"attribute": "collapsed",
|
|
1921
|
+
"reflects": true
|
|
1690
1922
|
},
|
|
1691
1923
|
{
|
|
1692
1924
|
"kind": "method",
|
|
1693
|
-
"name": "
|
|
1694
|
-
"privacy": "private"
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1925
|
+
"name": "_toggle",
|
|
1926
|
+
"privacy": "private"
|
|
1927
|
+
}
|
|
1928
|
+
],
|
|
1929
|
+
"events": [
|
|
1930
|
+
{
|
|
1931
|
+
"name": "toggle",
|
|
1932
|
+
"type": {
|
|
1933
|
+
"text": "CustomEvent"
|
|
1699
1934
|
},
|
|
1700
|
-
"
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1935
|
+
"description": "Fired with `{ collapsed: boolean }` when the header/summary is clicked in collapsible mode."
|
|
1936
|
+
}
|
|
1937
|
+
],
|
|
1938
|
+
"attributes": [
|
|
1939
|
+
{
|
|
1940
|
+
"name": "role",
|
|
1941
|
+
"type": {
|
|
1942
|
+
"text": "ChatMessageRole"
|
|
1943
|
+
},
|
|
1944
|
+
"default": "\"agent\"",
|
|
1945
|
+
"description": "Whose message this is; drives the card background/border.",
|
|
1946
|
+
"fieldName": "role"
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"name": "variant",
|
|
1950
|
+
"type": {
|
|
1951
|
+
"text": "ChatMessageVariant"
|
|
1952
|
+
},
|
|
1953
|
+
"default": "\"normal\"",
|
|
1954
|
+
"description": "`tool`/`thinking` render dimmed and smaller, with `tool` using monospace for its body.",
|
|
1955
|
+
"fieldName": "variant"
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"name": "author",
|
|
1959
|
+
"type": {
|
|
1960
|
+
"text": "string"
|
|
1961
|
+
},
|
|
1962
|
+
"default": "\"\"",
|
|
1963
|
+
"description": "Header label, e.g. \"Freddy\" or \"Architect\".",
|
|
1964
|
+
"fieldName": "author"
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"name": "timestamp",
|
|
1968
|
+
"type": {
|
|
1969
|
+
"text": "string | null"
|
|
1970
|
+
},
|
|
1971
|
+
"default": "null",
|
|
1972
|
+
"description": "ISO-8601 timestamp, rendered via `relative-time` in the header.",
|
|
1973
|
+
"fieldName": "timestamp"
|
|
1974
|
+
},
|
|
1975
|
+
{
|
|
1976
|
+
"name": "summary",
|
|
1977
|
+
"type": {
|
|
1978
|
+
"text": "string"
|
|
1979
|
+
},
|
|
1980
|
+
"default": "\"\"",
|
|
1981
|
+
"description": "Always-visible one-liner for `tool`/`thinking` variants (e.g. a truncated args preview).",
|
|
1982
|
+
"fieldName": "summary"
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"name": "collapsible",
|
|
1986
|
+
"type": {
|
|
1987
|
+
"text": "boolean"
|
|
1988
|
+
},
|
|
1989
|
+
"default": "false",
|
|
1990
|
+
"description": "Whether clicking the header/summary toggles the body slot.",
|
|
1991
|
+
"fieldName": "collapsible"
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
"name": "collapsed",
|
|
1995
|
+
"type": {
|
|
1996
|
+
"text": "boolean"
|
|
1997
|
+
},
|
|
1998
|
+
"default": "false",
|
|
1999
|
+
"description": "Current collapse state (reflected as an attribute).",
|
|
2000
|
+
"fieldName": "collapsed"
|
|
1714
2001
|
}
|
|
1715
2002
|
],
|
|
1716
2003
|
"superclass": {
|
|
1717
2004
|
"name": "LitElement",
|
|
1718
2005
|
"package": "lit"
|
|
1719
2006
|
},
|
|
1720
|
-
"tagName": "
|
|
2007
|
+
"tagName": "chat-message",
|
|
1721
2008
|
"customElement": true
|
|
1722
2009
|
}
|
|
1723
2010
|
],
|
|
1724
2011
|
"exports": [
|
|
1725
2012
|
{
|
|
1726
2013
|
"kind": "js",
|
|
1727
|
-
"name": "
|
|
2014
|
+
"name": "ChatMessage",
|
|
1728
2015
|
"declaration": {
|
|
1729
|
-
"name": "
|
|
1730
|
-
"module": "src/
|
|
2016
|
+
"name": "ChatMessage",
|
|
2017
|
+
"module": "src/chat-message.ts"
|
|
1731
2018
|
}
|
|
1732
2019
|
},
|
|
1733
2020
|
{
|
|
1734
2021
|
"kind": "custom-element-definition",
|
|
1735
|
-
"name": "
|
|
2022
|
+
"name": "chat-message",
|
|
1736
2023
|
"declaration": {
|
|
1737
|
-
"name": "
|
|
1738
|
-
"module": "src/
|
|
2024
|
+
"name": "ChatMessage",
|
|
2025
|
+
"module": "src/chat-message.ts"
|
|
1739
2026
|
}
|
|
1740
2027
|
}
|
|
1741
2028
|
]
|
|
1742
2029
|
},
|
|
1743
2030
|
{
|
|
1744
2031
|
"kind": "javascript-module",
|
|
1745
|
-
"path": "src/
|
|
2032
|
+
"path": "src/confirm-dialog.ts",
|
|
1746
2033
|
"declarations": [
|
|
1747
2034
|
{
|
|
1748
2035
|
"kind": "class",
|
|
1749
|
-
"description": "
|
|
1750
|
-
"name": "
|
|
2036
|
+
"description": "Reusable confirmation dialog: overlay + centered card with a slotted body,\nan optional error line, and Cancel/Confirm actions. Instant `display:none`\n→ `display:flex` toggle (no transitions). Fires `confirm`/`cancel`\n(bubbling, composed) instead of owning any deletion logic itself —\ncallers stay in charge of the request.",
|
|
2037
|
+
"name": "ConfirmDialog",
|
|
1751
2038
|
"members": [
|
|
1752
2039
|
{
|
|
1753
2040
|
"kind": "field",
|
|
1754
|
-
"name": "
|
|
2041
|
+
"name": "open",
|
|
1755
2042
|
"type": {
|
|
1756
|
-
"text": "
|
|
2043
|
+
"text": "boolean"
|
|
1757
2044
|
},
|
|
1758
|
-
"default": "
|
|
1759
|
-
"description": "
|
|
1760
|
-
"attribute": "
|
|
2045
|
+
"default": "false",
|
|
2046
|
+
"description": "Whether the dialog is visible.",
|
|
2047
|
+
"attribute": "open"
|
|
1761
2048
|
},
|
|
1762
2049
|
{
|
|
1763
2050
|
"kind": "field",
|
|
1764
|
-
"name": "
|
|
2051
|
+
"name": "confirmLabel",
|
|
1765
2052
|
"type": {
|
|
1766
|
-
"text": "
|
|
2053
|
+
"text": "string"
|
|
1767
2054
|
},
|
|
1768
|
-
"default": "
|
|
1769
|
-
"description": "
|
|
1770
|
-
"attribute": "
|
|
1771
|
-
}
|
|
1772
|
-
],
|
|
1773
|
-
"attributes": [
|
|
2055
|
+
"default": "\"Delete\"",
|
|
2056
|
+
"description": "Label for the confirm button.",
|
|
2057
|
+
"attribute": "confirm-label"
|
|
2058
|
+
},
|
|
1774
2059
|
{
|
|
1775
|
-
"
|
|
2060
|
+
"kind": "field",
|
|
2061
|
+
"name": "cancelLabel",
|
|
1776
2062
|
"type": {
|
|
1777
|
-
"text": "
|
|
2063
|
+
"text": "string"
|
|
1778
2064
|
},
|
|
1779
|
-
"default": "
|
|
1780
|
-
"description": "
|
|
1781
|
-
"
|
|
2065
|
+
"default": "\"Cancel\"",
|
|
2066
|
+
"description": "Label for the cancel button.",
|
|
2067
|
+
"attribute": "cancel-label"
|
|
1782
2068
|
},
|
|
1783
|
-
{
|
|
1784
|
-
"name": "km",
|
|
1785
|
-
"type": {
|
|
1786
|
-
"text": "number | null"
|
|
1787
|
-
},
|
|
1788
|
-
"default": "null",
|
|
1789
|
-
"description": "Distance in kilometers (metric, future). Switches to meters below 0.5 km.",
|
|
1790
|
-
"fieldName": "km"
|
|
1791
|
-
}
|
|
1792
|
-
],
|
|
1793
|
-
"superclass": {
|
|
1794
|
-
"name": "LitElement",
|
|
1795
|
-
"package": "lit"
|
|
1796
|
-
},
|
|
1797
|
-
"tagName": "distance-value",
|
|
1798
|
-
"customElement": true
|
|
1799
|
-
}
|
|
1800
|
-
],
|
|
1801
|
-
"exports": [
|
|
1802
|
-
{
|
|
1803
|
-
"kind": "js",
|
|
1804
|
-
"name": "DistanceValue",
|
|
1805
|
-
"declaration": {
|
|
1806
|
-
"name": "DistanceValue",
|
|
1807
|
-
"module": "src/distance-value.ts"
|
|
1808
|
-
}
|
|
1809
|
-
},
|
|
1810
|
-
{
|
|
1811
|
-
"kind": "custom-element-definition",
|
|
1812
|
-
"name": "distance-value",
|
|
1813
|
-
"declaration": {
|
|
1814
|
-
"name": "DistanceValue",
|
|
1815
|
-
"module": "src/distance-value.ts"
|
|
1816
|
-
}
|
|
1817
|
-
}
|
|
1818
|
-
]
|
|
1819
|
-
},
|
|
1820
|
-
{
|
|
1821
|
-
"kind": "javascript-module",
|
|
1822
|
-
"path": "src/distribution-chart.ts",
|
|
1823
|
-
"declarations": [
|
|
1824
|
-
{
|
|
1825
|
-
"kind": "class",
|
|
1826
|
-
"description": "Renders a KDE distribution curve for a named metric with one or more value\nmarkers. The SVG viewBox is kept in sync with the element's pixel width via\nResizeObserver so that font sizes and stroke widths are always in real pixels\nregardless of container width.\n\nPass `fontSize` to control all text size (default 11). Pass a single\n`{label:'', value}` for a single-value display or multiple\n`{label:'A'|'B'|...}` entries to compare several values.",
|
|
1827
|
-
"name": "DistributionChart",
|
|
1828
|
-
"members": [
|
|
1829
2069
|
{
|
|
1830
2070
|
"kind": "field",
|
|
1831
|
-
"name": "
|
|
2071
|
+
"name": "danger",
|
|
1832
2072
|
"type": {
|
|
1833
|
-
"text": "
|
|
2073
|
+
"text": "boolean"
|
|
1834
2074
|
},
|
|
1835
|
-
"default": "
|
|
1836
|
-
"description": "
|
|
1837
|
-
"attribute": "
|
|
2075
|
+
"default": "true",
|
|
2076
|
+
"description": "Danger (red) vs. primary (indigo) styling for the confirm button.",
|
|
2077
|
+
"attribute": "danger"
|
|
1838
2078
|
},
|
|
1839
2079
|
{
|
|
1840
2080
|
"kind": "field",
|
|
1841
|
-
"name": "
|
|
2081
|
+
"name": "busy",
|
|
1842
2082
|
"type": {
|
|
1843
|
-
"text": "
|
|
2083
|
+
"text": "boolean"
|
|
1844
2084
|
},
|
|
1845
|
-
"default": "
|
|
1846
|
-
"description": "
|
|
2085
|
+
"default": "false",
|
|
2086
|
+
"description": "Shows a spinner and disables both buttons while a request is in flight.",
|
|
2087
|
+
"attribute": "busy"
|
|
1847
2088
|
},
|
|
1848
2089
|
{
|
|
1849
2090
|
"kind": "field",
|
|
1850
|
-
"name": "
|
|
2091
|
+
"name": "error",
|
|
1851
2092
|
"type": {
|
|
1852
|
-
"text": "string
|
|
2093
|
+
"text": "string | null"
|
|
1853
2094
|
},
|
|
1854
|
-
"default": "
|
|
1855
|
-
"description": "
|
|
2095
|
+
"default": "null",
|
|
2096
|
+
"description": "Inline error line shown below the body, or null for none.",
|
|
2097
|
+
"attribute": "error"
|
|
1856
2098
|
},
|
|
1857
2099
|
{
|
|
1858
|
-
"kind": "
|
|
1859
|
-
"name": "
|
|
1860
|
-
"
|
|
1861
|
-
"text": "number"
|
|
1862
|
-
},
|
|
1863
|
-
"default": "11",
|
|
1864
|
-
"description": "Target font size in CSS pixels (default 11). Always renders at this size regardless of container width.",
|
|
1865
|
-
"attribute": "font-size"
|
|
2100
|
+
"kind": "method",
|
|
2101
|
+
"name": "_confirm",
|
|
2102
|
+
"privacy": "private"
|
|
1866
2103
|
},
|
|
1867
2104
|
{
|
|
1868
|
-
"kind": "
|
|
1869
|
-
"name": "
|
|
1870
|
-
"
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
"default": "null"
|
|
1875
|
-
},
|
|
2105
|
+
"kind": "method",
|
|
2106
|
+
"name": "_cancel",
|
|
2107
|
+
"privacy": "private"
|
|
2108
|
+
}
|
|
2109
|
+
],
|
|
2110
|
+
"events": [
|
|
1876
2111
|
{
|
|
1877
|
-
"
|
|
1878
|
-
"name": "_loading",
|
|
2112
|
+
"name": "confirm",
|
|
1879
2113
|
"type": {
|
|
1880
|
-
"text": "
|
|
2114
|
+
"text": "CustomEvent"
|
|
1881
2115
|
},
|
|
1882
|
-
"
|
|
1883
|
-
"default": "false"
|
|
2116
|
+
"description": "User clicked the confirm button."
|
|
1884
2117
|
},
|
|
1885
2118
|
{
|
|
1886
|
-
"
|
|
1887
|
-
"name": "_error",
|
|
2119
|
+
"name": "cancel",
|
|
1888
2120
|
"type": {
|
|
1889
|
-
"text": "
|
|
2121
|
+
"text": "CustomEvent"
|
|
1890
2122
|
},
|
|
1891
|
-
"
|
|
1892
|
-
|
|
1893
|
-
|
|
2123
|
+
"description": "User clicked the cancel button."
|
|
2124
|
+
}
|
|
2125
|
+
],
|
|
2126
|
+
"attributes": [
|
|
1894
2127
|
{
|
|
1895
|
-
"
|
|
1896
|
-
"name": "_width",
|
|
2128
|
+
"name": "open",
|
|
1897
2129
|
"type": {
|
|
1898
|
-
"text": "
|
|
2130
|
+
"text": "boolean"
|
|
1899
2131
|
},
|
|
1900
|
-
"
|
|
1901
|
-
"
|
|
1902
|
-
"
|
|
2132
|
+
"default": "false",
|
|
2133
|
+
"description": "Whether the dialog is visible.",
|
|
2134
|
+
"fieldName": "open"
|
|
1903
2135
|
},
|
|
1904
2136
|
{
|
|
1905
|
-
"
|
|
1906
|
-
"name": "_hoverX",
|
|
2137
|
+
"name": "confirm-label",
|
|
1907
2138
|
"type": {
|
|
1908
|
-
"text": "
|
|
2139
|
+
"text": "string"
|
|
1909
2140
|
},
|
|
1910
|
-
"
|
|
1911
|
-
"
|
|
1912
|
-
"
|
|
2141
|
+
"default": "\"Delete\"",
|
|
2142
|
+
"description": "Label for the confirm button.",
|
|
2143
|
+
"fieldName": "confirmLabel"
|
|
1913
2144
|
},
|
|
1914
2145
|
{
|
|
1915
|
-
"
|
|
1916
|
-
"name": "_fetchedFor",
|
|
2146
|
+
"name": "cancel-label",
|
|
1917
2147
|
"type": {
|
|
1918
2148
|
"text": "string"
|
|
1919
2149
|
},
|
|
1920
|
-
"
|
|
1921
|
-
"
|
|
2150
|
+
"default": "\"Cancel\"",
|
|
2151
|
+
"description": "Label for the cancel button.",
|
|
2152
|
+
"fieldName": "cancelLabel"
|
|
1922
2153
|
},
|
|
1923
2154
|
{
|
|
1924
|
-
"
|
|
1925
|
-
"name": "_ro",
|
|
2155
|
+
"name": "danger",
|
|
1926
2156
|
"type": {
|
|
1927
|
-
"text": "
|
|
2157
|
+
"text": "boolean"
|
|
1928
2158
|
},
|
|
1929
|
-
"
|
|
1930
|
-
"
|
|
1931
|
-
|
|
1932
|
-
{
|
|
1933
|
-
"kind": "method",
|
|
1934
|
-
"name": "_maybeFetch",
|
|
1935
|
-
"privacy": "private"
|
|
1936
|
-
},
|
|
1937
|
-
{
|
|
1938
|
-
"kind": "method",
|
|
1939
|
-
"name": "_renderSvg",
|
|
1940
|
-
"privacy": "private",
|
|
1941
|
-
"parameters": [
|
|
1942
|
-
{
|
|
1943
|
-
"name": "data",
|
|
1944
|
-
"type": {
|
|
1945
|
-
"text": "DistributionData"
|
|
1946
|
-
}
|
|
1947
|
-
}
|
|
1948
|
-
]
|
|
2159
|
+
"default": "true",
|
|
2160
|
+
"description": "Danger (red) vs. primary (indigo) styling for the confirm button.",
|
|
2161
|
+
"fieldName": "danger"
|
|
1949
2162
|
},
|
|
1950
2163
|
{
|
|
1951
|
-
"
|
|
1952
|
-
"name": "_renderLegend",
|
|
1953
|
-
"privacy": "private",
|
|
1954
|
-
"parameters": [
|
|
1955
|
-
{
|
|
1956
|
-
"name": "data",
|
|
1957
|
-
"type": {
|
|
1958
|
-
"text": "DistributionData"
|
|
1959
|
-
}
|
|
1960
|
-
}
|
|
1961
|
-
]
|
|
1962
|
-
}
|
|
1963
|
-
],
|
|
1964
|
-
"attributes": [
|
|
1965
|
-
{
|
|
1966
|
-
"name": "metric",
|
|
2164
|
+
"name": "busy",
|
|
1967
2165
|
"type": {
|
|
1968
|
-
"text": "
|
|
2166
|
+
"text": "boolean"
|
|
1969
2167
|
},
|
|
1970
|
-
"default": "
|
|
1971
|
-
"description": "
|
|
1972
|
-
"fieldName": "
|
|
2168
|
+
"default": "false",
|
|
2169
|
+
"description": "Shows a spinner and disables both buttons while a request is in flight.",
|
|
2170
|
+
"fieldName": "busy"
|
|
1973
2171
|
},
|
|
1974
2172
|
{
|
|
1975
|
-
"name": "
|
|
2173
|
+
"name": "error",
|
|
1976
2174
|
"type": {
|
|
1977
|
-
"text": "
|
|
2175
|
+
"text": "string | null"
|
|
1978
2176
|
},
|
|
1979
|
-
"default": "
|
|
1980
|
-
"description": "
|
|
1981
|
-
"fieldName": "
|
|
2177
|
+
"default": "null",
|
|
2178
|
+
"description": "Inline error line shown below the body, or null for none.",
|
|
2179
|
+
"fieldName": "error"
|
|
1982
2180
|
}
|
|
1983
2181
|
],
|
|
1984
2182
|
"superclass": {
|
|
1985
2183
|
"name": "LitElement",
|
|
1986
2184
|
"package": "lit"
|
|
1987
2185
|
},
|
|
1988
|
-
"tagName": "
|
|
2186
|
+
"tagName": "confirm-dialog",
|
|
1989
2187
|
"customElement": true
|
|
1990
2188
|
}
|
|
1991
2189
|
],
|
|
1992
2190
|
"exports": [
|
|
1993
2191
|
{
|
|
1994
2192
|
"kind": "js",
|
|
1995
|
-
"name": "
|
|
2193
|
+
"name": "ConfirmDialog",
|
|
1996
2194
|
"declaration": {
|
|
1997
|
-
"name": "
|
|
1998
|
-
"module": "src/
|
|
2195
|
+
"name": "ConfirmDialog",
|
|
2196
|
+
"module": "src/confirm-dialog.ts"
|
|
1999
2197
|
}
|
|
2000
2198
|
},
|
|
2001
2199
|
{
|
|
2002
2200
|
"kind": "custom-element-definition",
|
|
2003
|
-
"name": "
|
|
2201
|
+
"name": "confirm-dialog",
|
|
2004
2202
|
"declaration": {
|
|
2005
|
-
"name": "
|
|
2006
|
-
"module": "src/
|
|
2203
|
+
"name": "ConfirmDialog",
|
|
2204
|
+
"module": "src/confirm-dialog.ts"
|
|
2007
2205
|
}
|
|
2008
2206
|
}
|
|
2009
2207
|
]
|
|
2010
2208
|
},
|
|
2011
2209
|
{
|
|
2012
2210
|
"kind": "javascript-module",
|
|
2013
|
-
"path": "src/
|
|
2211
|
+
"path": "src/copy-link-button.ts",
|
|
2014
2212
|
"declarations": [
|
|
2015
2213
|
{
|
|
2016
2214
|
"kind": "class",
|
|
2017
|
-
"description": "
|
|
2018
|
-
"name": "
|
|
2215
|
+
"description": "Small icon button that copies `value` to the clipboard and shows a toast\non success/failure (if a `<toast-notification>` element is present), and\nalways dispatches a `copy-success`/`copy-error` CustomEvent so consumers\nwithout a toast element can react. Defaults to the current page URL if\n`value` is unset.",
|
|
2216
|
+
"name": "CopyLinkButton",
|
|
2019
2217
|
"members": [
|
|
2020
2218
|
{
|
|
2021
2219
|
"kind": "field",
|
|
@@ -2024,137 +2222,1424 @@
|
|
|
2024
2222
|
"text": "string"
|
|
2025
2223
|
},
|
|
2026
2224
|
"default": "\"\"",
|
|
2027
|
-
"description": "
|
|
2225
|
+
"description": "Text to copy. Defaults to `window.location.href` at click time.",
|
|
2028
2226
|
"attribute": "value"
|
|
2029
2227
|
},
|
|
2030
2228
|
{
|
|
2031
2229
|
"kind": "field",
|
|
2032
|
-
"name": "
|
|
2230
|
+
"name": "label",
|
|
2033
2231
|
"type": {
|
|
2034
|
-
"text": "
|
|
2232
|
+
"text": "string"
|
|
2035
2233
|
},
|
|
2036
|
-
"default": "
|
|
2037
|
-
"description": "
|
|
2038
|
-
"attribute": "
|
|
2234
|
+
"default": "\"Copy link\"",
|
|
2235
|
+
"description": "Accessible label / tooltip text.",
|
|
2236
|
+
"attribute": "label"
|
|
2039
2237
|
},
|
|
2040
2238
|
{
|
|
2041
|
-
"kind": "
|
|
2042
|
-
"name": "
|
|
2043
|
-
"
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
"
|
|
2239
|
+
"kind": "method",
|
|
2240
|
+
"name": "_onClick",
|
|
2241
|
+
"privacy": "private"
|
|
2242
|
+
}
|
|
2243
|
+
],
|
|
2244
|
+
"events": [
|
|
2245
|
+
{
|
|
2246
|
+
"name": "copy-success",
|
|
2247
|
+
"type": {
|
|
2248
|
+
"text": "CustomEvent"
|
|
2249
|
+
},
|
|
2250
|
+
"description": "The value was copied to the clipboard."
|
|
2049
2251
|
},
|
|
2050
2252
|
{
|
|
2051
|
-
"
|
|
2052
|
-
"name": "readonly",
|
|
2253
|
+
"name": "copy-error",
|
|
2053
2254
|
"type": {
|
|
2054
|
-
"text": "
|
|
2255
|
+
"text": "CustomEvent"
|
|
2055
2256
|
},
|
|
2056
|
-
"
|
|
2057
|
-
|
|
2058
|
-
|
|
2257
|
+
"description": "Copying to the clipboard failed."
|
|
2258
|
+
}
|
|
2259
|
+
],
|
|
2260
|
+
"attributes": [
|
|
2261
|
+
{
|
|
2262
|
+
"name": "value",
|
|
2263
|
+
"type": {
|
|
2264
|
+
"text": "string"
|
|
2265
|
+
},
|
|
2266
|
+
"default": "\"\"",
|
|
2267
|
+
"description": "Text to copy. Defaults to `window.location.href` at click time.",
|
|
2268
|
+
"fieldName": "value"
|
|
2059
2269
|
},
|
|
2060
2270
|
{
|
|
2061
|
-
"kind": "field",
|
|
2062
2271
|
"name": "label",
|
|
2063
2272
|
"type": {
|
|
2064
2273
|
"text": "string"
|
|
2065
2274
|
},
|
|
2066
|
-
"default": "\"\"",
|
|
2067
|
-
"description": "
|
|
2068
|
-
"
|
|
2275
|
+
"default": "\"Copy link\"",
|
|
2276
|
+
"description": "Accessible label / tooltip text.",
|
|
2277
|
+
"fieldName": "label"
|
|
2278
|
+
}
|
|
2279
|
+
],
|
|
2280
|
+
"superclass": {
|
|
2281
|
+
"name": "LitElement",
|
|
2282
|
+
"package": "lit"
|
|
2283
|
+
},
|
|
2284
|
+
"tagName": "copy-link-button",
|
|
2285
|
+
"customElement": true
|
|
2286
|
+
}
|
|
2287
|
+
],
|
|
2288
|
+
"exports": [
|
|
2289
|
+
{
|
|
2290
|
+
"kind": "js",
|
|
2291
|
+
"name": "CopyLinkButton",
|
|
2292
|
+
"declaration": {
|
|
2293
|
+
"name": "CopyLinkButton",
|
|
2294
|
+
"module": "src/copy-link-button.ts"
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
"kind": "custom-element-definition",
|
|
2299
|
+
"name": "copy-link-button",
|
|
2300
|
+
"declaration": {
|
|
2301
|
+
"name": "CopyLinkButton",
|
|
2302
|
+
"module": "src/copy-link-button.ts"
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
]
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
"kind": "javascript-module",
|
|
2309
|
+
"path": "src/data-table.ts",
|
|
2310
|
+
"declarations": [
|
|
2311
|
+
{
|
|
2312
|
+
"kind": "class",
|
|
2313
|
+
"description": "A generic, presentational table shell: renders a `<thead>` from `columns`\nand one `<tr>` per entry in `rows`, with each cell's content produced by\n`renderCell` (default: plain property lookup on the row object). Knows\nnothing about what a \"row\" means — callers own the data shape entirely.\n\nOptional `rowHref` makes whole rows clickable (navigating via `location.hash`),\nwithout hijacking clicks on nested interactive elements (links/buttons) a\ncell's rendered content might contain.",
|
|
2314
|
+
"name": "DataTable",
|
|
2315
|
+
"members": [
|
|
2316
|
+
{
|
|
2317
|
+
"kind": "field",
|
|
2318
|
+
"name": "columns",
|
|
2319
|
+
"type": {
|
|
2320
|
+
"text": "DataTableColumn[]"
|
|
2321
|
+
},
|
|
2322
|
+
"default": "[]",
|
|
2323
|
+
"description": "Column headers, in display order."
|
|
2069
2324
|
},
|
|
2070
2325
|
{
|
|
2071
2326
|
"kind": "field",
|
|
2072
|
-
"name": "
|
|
2327
|
+
"name": "rows",
|
|
2073
2328
|
"type": {
|
|
2074
|
-
"text": "
|
|
2329
|
+
"text": "unknown[]"
|
|
2075
2330
|
},
|
|
2076
|
-
"
|
|
2077
|
-
"
|
|
2331
|
+
"default": "[]",
|
|
2332
|
+
"description": "Row data; opaque to this component beyond what `renderCell` does with it."
|
|
2078
2333
|
},
|
|
2079
2334
|
{
|
|
2080
2335
|
"kind": "field",
|
|
2081
|
-
"name": "
|
|
2336
|
+
"name": "rowKey",
|
|
2082
2337
|
"type": {
|
|
2083
|
-
"text": "string"
|
|
2338
|
+
"text": "(row: unknown, index: number) => string | number"
|
|
2084
2339
|
},
|
|
2085
|
-
"
|
|
2086
|
-
"default": "\"\""
|
|
2340
|
+
"description": "Stable identity for `rows[i]`, used as the repeat-directive key. Defaults to the row's index."
|
|
2087
2341
|
},
|
|
2088
2342
|
{
|
|
2089
2343
|
"kind": "field",
|
|
2090
|
-
"name": "
|
|
2344
|
+
"name": "renderCell",
|
|
2091
2345
|
"type": {
|
|
2092
|
-
"text": "
|
|
2346
|
+
"text": "(row: unknown, key: string) => unknown"
|
|
2093
2347
|
},
|
|
2094
|
-
"
|
|
2348
|
+
"description": "Produces a cell's rendered content for `row`/`column.key`. Default: `row[key]`."
|
|
2095
2349
|
},
|
|
2096
2350
|
{
|
|
2097
|
-
"kind": "
|
|
2098
|
-
"name": "
|
|
2099
|
-
"
|
|
2100
|
-
|
|
2351
|
+
"kind": "field",
|
|
2352
|
+
"name": "rowHref",
|
|
2353
|
+
"type": {
|
|
2354
|
+
"text": "((row: unknown) => string | null) | null"
|
|
2355
|
+
},
|
|
2356
|
+
"default": "null",
|
|
2357
|
+
"description": "When set, clicking a row (outside any nested link/button) navigates to this hash."
|
|
2101
2358
|
},
|
|
2102
2359
|
{
|
|
2103
2360
|
"kind": "method",
|
|
2104
|
-
"name": "
|
|
2361
|
+
"name": "#onRowClick",
|
|
2105
2362
|
"privacy": "private",
|
|
2106
|
-
"
|
|
2363
|
+
"return": {
|
|
2364
|
+
"type": {
|
|
2365
|
+
"text": "void"
|
|
2366
|
+
}
|
|
2367
|
+
},
|
|
2368
|
+
"parameters": [
|
|
2369
|
+
{
|
|
2370
|
+
"name": "row",
|
|
2371
|
+
"type": {
|
|
2372
|
+
"text": "unknown"
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
"name": "e",
|
|
2377
|
+
"type": {
|
|
2378
|
+
"text": "MouseEvent"
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
]
|
|
2382
|
+
}
|
|
2383
|
+
],
|
|
2384
|
+
"superclass": {
|
|
2385
|
+
"name": "LitElement",
|
|
2386
|
+
"package": "lit"
|
|
2387
|
+
},
|
|
2388
|
+
"tagName": "data-table",
|
|
2389
|
+
"customElement": true
|
|
2390
|
+
}
|
|
2391
|
+
],
|
|
2392
|
+
"exports": [
|
|
2393
|
+
{
|
|
2394
|
+
"kind": "js",
|
|
2395
|
+
"name": "DataTable",
|
|
2396
|
+
"declaration": {
|
|
2397
|
+
"name": "DataTable",
|
|
2398
|
+
"module": "src/data-table.ts"
|
|
2399
|
+
}
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
"kind": "custom-element-definition",
|
|
2403
|
+
"name": "data-table",
|
|
2404
|
+
"declaration": {
|
|
2405
|
+
"name": "DataTable",
|
|
2406
|
+
"module": "src/data-table.ts"
|
|
2407
|
+
}
|
|
2408
|
+
}
|
|
2409
|
+
]
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"kind": "javascript-module",
|
|
2413
|
+
"path": "src/distance-value.ts",
|
|
2414
|
+
"declarations": [
|
|
2415
|
+
{
|
|
2416
|
+
"kind": "class",
|
|
2417
|
+
"description": "Inline distance display. Renders miles/feet or km/m, switching units at\nsensible thresholds (< 0.25 mi → ft; < 0.5 km → m).\n\nSupply exactly one of `miles` or `km`; the other stays null.\nkm support is present but reserved for future use.",
|
|
2418
|
+
"name": "DistanceValue",
|
|
2419
|
+
"members": [
|
|
2420
|
+
{
|
|
2421
|
+
"kind": "field",
|
|
2422
|
+
"name": "miles",
|
|
2423
|
+
"type": {
|
|
2424
|
+
"text": "number | null"
|
|
2425
|
+
},
|
|
2426
|
+
"default": "null",
|
|
2427
|
+
"description": "Distance in miles (imperial). Switches to feet below 0.25 mi.",
|
|
2428
|
+
"attribute": "miles"
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"kind": "field",
|
|
2432
|
+
"name": "km",
|
|
2433
|
+
"type": {
|
|
2434
|
+
"text": "number | null"
|
|
2435
|
+
},
|
|
2436
|
+
"default": "null",
|
|
2437
|
+
"description": "Distance in kilometers (metric, future). Switches to meters below 0.5 km.",
|
|
2438
|
+
"attribute": "km"
|
|
2439
|
+
}
|
|
2440
|
+
],
|
|
2441
|
+
"attributes": [
|
|
2442
|
+
{
|
|
2443
|
+
"name": "miles",
|
|
2444
|
+
"type": {
|
|
2445
|
+
"text": "number | null"
|
|
2446
|
+
},
|
|
2447
|
+
"default": "null",
|
|
2448
|
+
"description": "Distance in miles (imperial). Switches to feet below 0.25 mi.",
|
|
2449
|
+
"fieldName": "miles"
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
"name": "km",
|
|
2453
|
+
"type": {
|
|
2454
|
+
"text": "number | null"
|
|
2455
|
+
},
|
|
2456
|
+
"default": "null",
|
|
2457
|
+
"description": "Distance in kilometers (metric, future). Switches to meters below 0.5 km.",
|
|
2458
|
+
"fieldName": "km"
|
|
2459
|
+
}
|
|
2460
|
+
],
|
|
2461
|
+
"superclass": {
|
|
2462
|
+
"name": "LitElement",
|
|
2463
|
+
"package": "lit"
|
|
2464
|
+
},
|
|
2465
|
+
"tagName": "distance-value",
|
|
2466
|
+
"customElement": true
|
|
2467
|
+
}
|
|
2468
|
+
],
|
|
2469
|
+
"exports": [
|
|
2470
|
+
{
|
|
2471
|
+
"kind": "js",
|
|
2472
|
+
"name": "DistanceValue",
|
|
2473
|
+
"declaration": {
|
|
2474
|
+
"name": "DistanceValue",
|
|
2475
|
+
"module": "src/distance-value.ts"
|
|
2476
|
+
}
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
"kind": "custom-element-definition",
|
|
2480
|
+
"name": "distance-value",
|
|
2481
|
+
"declaration": {
|
|
2482
|
+
"name": "DistanceValue",
|
|
2483
|
+
"module": "src/distance-value.ts"
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2486
|
+
]
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
"kind": "javascript-module",
|
|
2490
|
+
"path": "src/distribution-chart.ts",
|
|
2491
|
+
"declarations": [
|
|
2492
|
+
{
|
|
2493
|
+
"kind": "class",
|
|
2494
|
+
"description": "Renders a KDE distribution curve for a named metric with one or more value\nmarkers. The SVG viewBox is kept in sync with the element's pixel width via\nResizeObserver so that font sizes and stroke widths are always in real pixels\nregardless of container width.\n\nPass `fontSize` to control all text size (default 11). Pass a single\n`{label:'', value}` for a single-value display or multiple\n`{label:'A'|'B'|...}` entries to compare several values.",
|
|
2495
|
+
"name": "DistributionChart",
|
|
2496
|
+
"members": [
|
|
2497
|
+
{
|
|
2498
|
+
"kind": "field",
|
|
2499
|
+
"name": "metric",
|
|
2500
|
+
"type": {
|
|
2501
|
+
"text": "string"
|
|
2502
|
+
},
|
|
2503
|
+
"default": "\"\"",
|
|
2504
|
+
"description": "Metric name, fetched from `/api/distribution/<metric>` on change.",
|
|
2505
|
+
"attribute": "metric"
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"kind": "field",
|
|
2509
|
+
"name": "values",
|
|
2510
|
+
"type": {
|
|
2511
|
+
"text": "DistributionValue[]"
|
|
2512
|
+
},
|
|
2513
|
+
"default": "[]",
|
|
2514
|
+
"description": "One or more values to mark on the distribution curve."
|
|
2515
|
+
},
|
|
2516
|
+
{
|
|
2517
|
+
"kind": "field",
|
|
2518
|
+
"name": "markerColors",
|
|
2519
|
+
"type": {
|
|
2520
|
+
"text": "string[]"
|
|
2521
|
+
},
|
|
2522
|
+
"default": "[\"#4f46e5\", \"#d97706\", \"#0d9488\", \"#e11d48\"]",
|
|
2523
|
+
"description": "Colors assigned to markers in order. Defaults to indigo/amber/teal/rose 600s."
|
|
2524
|
+
},
|
|
2525
|
+
{
|
|
2526
|
+
"kind": "field",
|
|
2527
|
+
"name": "fontSize",
|
|
2528
|
+
"type": {
|
|
2529
|
+
"text": "number"
|
|
2530
|
+
},
|
|
2531
|
+
"default": "11",
|
|
2532
|
+
"description": "Target font size in CSS pixels (default 11). Always renders at this size regardless of container width.",
|
|
2533
|
+
"attribute": "font-size"
|
|
2534
|
+
},
|
|
2535
|
+
{
|
|
2536
|
+
"kind": "field",
|
|
2537
|
+
"name": "_data",
|
|
2538
|
+
"type": {
|
|
2539
|
+
"text": "DistributionData | null"
|
|
2540
|
+
},
|
|
2541
|
+
"privacy": "private",
|
|
2542
|
+
"default": "null"
|
|
2543
|
+
},
|
|
2544
|
+
{
|
|
2545
|
+
"kind": "field",
|
|
2546
|
+
"name": "_loading",
|
|
2547
|
+
"type": {
|
|
2548
|
+
"text": "boolean"
|
|
2549
|
+
},
|
|
2550
|
+
"privacy": "private",
|
|
2551
|
+
"default": "false"
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
"kind": "field",
|
|
2555
|
+
"name": "_error",
|
|
2556
|
+
"type": {
|
|
2557
|
+
"text": "string | null"
|
|
2558
|
+
},
|
|
2559
|
+
"privacy": "private",
|
|
2560
|
+
"default": "null"
|
|
2561
|
+
},
|
|
2562
|
+
{
|
|
2563
|
+
"kind": "field",
|
|
2564
|
+
"name": "_width",
|
|
2565
|
+
"type": {
|
|
2566
|
+
"text": "number"
|
|
2567
|
+
},
|
|
2568
|
+
"privacy": "private",
|
|
2569
|
+
"default": "0",
|
|
2570
|
+
"description": "Measured element width in CSS pixels. 0 until ResizeObserver fires."
|
|
2571
|
+
},
|
|
2572
|
+
{
|
|
2573
|
+
"kind": "field",
|
|
2574
|
+
"name": "_hoverX",
|
|
2575
|
+
"type": {
|
|
2576
|
+
"text": "number | null"
|
|
2577
|
+
},
|
|
2578
|
+
"privacy": "private",
|
|
2579
|
+
"default": "null",
|
|
2580
|
+
"description": "Inner x coordinate (px) of the current hover position, or null when not hovering."
|
|
2581
|
+
},
|
|
2582
|
+
{
|
|
2583
|
+
"kind": "field",
|
|
2584
|
+
"name": "_fetchedFor",
|
|
2585
|
+
"type": {
|
|
2586
|
+
"text": "string"
|
|
2587
|
+
},
|
|
2588
|
+
"privacy": "private",
|
|
2589
|
+
"default": "\"\""
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
"kind": "field",
|
|
2593
|
+
"name": "_ro",
|
|
2594
|
+
"type": {
|
|
2595
|
+
"text": "ResizeObserver | null"
|
|
2596
|
+
},
|
|
2597
|
+
"privacy": "private",
|
|
2598
|
+
"default": "null"
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
"kind": "method",
|
|
2602
|
+
"name": "_maybeFetch",
|
|
2603
|
+
"privacy": "private"
|
|
2604
|
+
},
|
|
2605
|
+
{
|
|
2606
|
+
"kind": "method",
|
|
2607
|
+
"name": "_renderSvg",
|
|
2608
|
+
"privacy": "private",
|
|
2609
|
+
"parameters": [
|
|
2610
|
+
{
|
|
2611
|
+
"name": "data",
|
|
2612
|
+
"type": {
|
|
2613
|
+
"text": "DistributionData"
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
]
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
"kind": "method",
|
|
2620
|
+
"name": "_renderLegend",
|
|
2621
|
+
"privacy": "private",
|
|
2622
|
+
"parameters": [
|
|
2623
|
+
{
|
|
2624
|
+
"name": "data",
|
|
2625
|
+
"type": {
|
|
2626
|
+
"text": "DistributionData"
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
]
|
|
2630
|
+
}
|
|
2631
|
+
],
|
|
2632
|
+
"attributes": [
|
|
2633
|
+
{
|
|
2634
|
+
"name": "metric",
|
|
2635
|
+
"type": {
|
|
2636
|
+
"text": "string"
|
|
2637
|
+
},
|
|
2638
|
+
"default": "\"\"",
|
|
2639
|
+
"description": "Metric name, fetched from `/api/distribution/<metric>` on change.",
|
|
2640
|
+
"fieldName": "metric"
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
"name": "font-size",
|
|
2644
|
+
"type": {
|
|
2645
|
+
"text": "number"
|
|
2646
|
+
},
|
|
2647
|
+
"default": "11",
|
|
2648
|
+
"description": "Target font size in CSS pixels (default 11). Always renders at this size regardless of container width.",
|
|
2649
|
+
"fieldName": "fontSize"
|
|
2650
|
+
}
|
|
2651
|
+
],
|
|
2652
|
+
"superclass": {
|
|
2653
|
+
"name": "LitElement",
|
|
2654
|
+
"package": "lit"
|
|
2655
|
+
},
|
|
2656
|
+
"tagName": "distribution-chart",
|
|
2657
|
+
"customElement": true
|
|
2658
|
+
}
|
|
2659
|
+
],
|
|
2660
|
+
"exports": [
|
|
2661
|
+
{
|
|
2662
|
+
"kind": "js",
|
|
2663
|
+
"name": "DistributionChart",
|
|
2664
|
+
"declaration": {
|
|
2665
|
+
"name": "DistributionChart",
|
|
2666
|
+
"module": "src/distribution-chart.ts"
|
|
2667
|
+
}
|
|
2668
|
+
},
|
|
2669
|
+
{
|
|
2670
|
+
"kind": "custom-element-definition",
|
|
2671
|
+
"name": "distribution-chart",
|
|
2672
|
+
"declaration": {
|
|
2673
|
+
"name": "DistributionChart",
|
|
2674
|
+
"module": "src/distribution-chart.ts"
|
|
2675
|
+
}
|
|
2676
|
+
}
|
|
2677
|
+
]
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
"kind": "javascript-module",
|
|
2681
|
+
"path": "src/dropdown-button.ts",
|
|
2682
|
+
"declarations": [
|
|
2683
|
+
{
|
|
2684
|
+
"kind": "class",
|
|
2685
|
+
"description": "A primary-styled button with a label and chevron that opens an anchored\nmenu of actions — essentially `form-select` minus \"current value\"\nsemantics: a menu, not a select. Use for a set of mutually exclusive\nnext-step actions (e.g. a failed task's Retry / Close / Backlog).",
|
|
2686
|
+
"name": "DropdownButton",
|
|
2687
|
+
"members": [
|
|
2688
|
+
{
|
|
2689
|
+
"kind": "field",
|
|
2690
|
+
"name": "label",
|
|
2691
|
+
"type": {
|
|
2692
|
+
"text": "string"
|
|
2693
|
+
},
|
|
2694
|
+
"default": "\"\"",
|
|
2695
|
+
"description": "The trigger button's label.",
|
|
2696
|
+
"attribute": "label"
|
|
2697
|
+
},
|
|
2698
|
+
{
|
|
2699
|
+
"kind": "field",
|
|
2700
|
+
"name": "options",
|
|
2701
|
+
"type": {
|
|
2702
|
+
"text": "DropdownOption[]"
|
|
2703
|
+
},
|
|
2704
|
+
"default": "[]",
|
|
2705
|
+
"description": "The menu's actions."
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"kind": "field",
|
|
2709
|
+
"name": "disabled",
|
|
2710
|
+
"type": {
|
|
2711
|
+
"text": "boolean"
|
|
2712
|
+
},
|
|
2713
|
+
"default": "false",
|
|
2714
|
+
"description": "Disables the trigger, preventing the menu from opening.",
|
|
2715
|
+
"attribute": "disabled"
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"kind": "field",
|
|
2719
|
+
"name": "_open",
|
|
2720
|
+
"type": {
|
|
2721
|
+
"text": "boolean"
|
|
2722
|
+
},
|
|
2723
|
+
"privacy": "private",
|
|
2724
|
+
"default": "false"
|
|
2725
|
+
},
|
|
2726
|
+
{
|
|
2727
|
+
"kind": "field",
|
|
2728
|
+
"name": "_activeIndex",
|
|
2729
|
+
"type": {
|
|
2730
|
+
"text": "number"
|
|
2731
|
+
},
|
|
2732
|
+
"privacy": "private",
|
|
2733
|
+
"default": "-1"
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"kind": "field",
|
|
2737
|
+
"name": "#onWindowMousedown",
|
|
2738
|
+
"privacy": "private"
|
|
2739
|
+
},
|
|
2740
|
+
{
|
|
2741
|
+
"kind": "method",
|
|
2742
|
+
"name": "#toggle",
|
|
2743
|
+
"privacy": "private",
|
|
2744
|
+
"return": {
|
|
2745
|
+
"type": {
|
|
2746
|
+
"text": "void"
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
},
|
|
2750
|
+
{
|
|
2751
|
+
"kind": "method",
|
|
2752
|
+
"name": "#select",
|
|
2753
|
+
"privacy": "private",
|
|
2754
|
+
"return": {
|
|
2755
|
+
"type": {
|
|
2756
|
+
"text": "void"
|
|
2757
|
+
}
|
|
2758
|
+
},
|
|
2759
|
+
"parameters": [
|
|
2760
|
+
{
|
|
2761
|
+
"name": "option",
|
|
2762
|
+
"type": {
|
|
2763
|
+
"text": "DropdownOption"
|
|
2764
|
+
}
|
|
2765
|
+
}
|
|
2766
|
+
]
|
|
2767
|
+
},
|
|
2768
|
+
{
|
|
2769
|
+
"kind": "method",
|
|
2770
|
+
"name": "#onTriggerKeydown",
|
|
2771
|
+
"privacy": "private",
|
|
2772
|
+
"return": {
|
|
2773
|
+
"type": {
|
|
2774
|
+
"text": "void"
|
|
2775
|
+
}
|
|
2776
|
+
},
|
|
2777
|
+
"parameters": [
|
|
2778
|
+
{
|
|
2779
|
+
"name": "e",
|
|
2780
|
+
"type": {
|
|
2781
|
+
"text": "KeyboardEvent"
|
|
2782
|
+
}
|
|
2783
|
+
}
|
|
2784
|
+
]
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"kind": "method",
|
|
2788
|
+
"name": "#moveActive",
|
|
2789
|
+
"privacy": "private",
|
|
2790
|
+
"return": {
|
|
2791
|
+
"type": {
|
|
2792
|
+
"text": "void"
|
|
2793
|
+
}
|
|
2794
|
+
},
|
|
2795
|
+
"parameters": [
|
|
2796
|
+
{
|
|
2797
|
+
"name": "delta",
|
|
2798
|
+
"type": {
|
|
2799
|
+
"text": "number"
|
|
2800
|
+
}
|
|
2801
|
+
}
|
|
2802
|
+
]
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"kind": "method",
|
|
2806
|
+
"name": "#confirmActive",
|
|
2807
|
+
"privacy": "private",
|
|
2808
|
+
"return": {
|
|
2809
|
+
"type": {
|
|
2810
|
+
"text": "void"
|
|
2811
|
+
}
|
|
2812
|
+
}
|
|
2813
|
+
},
|
|
2814
|
+
{
|
|
2815
|
+
"kind": "method",
|
|
2816
|
+
"name": "renderMenu",
|
|
2817
|
+
"privacy": "private"
|
|
2818
|
+
}
|
|
2819
|
+
],
|
|
2820
|
+
"events": [
|
|
2821
|
+
{
|
|
2822
|
+
"name": "select",
|
|
2823
|
+
"type": {
|
|
2824
|
+
"text": "CustomEvent"
|
|
2825
|
+
},
|
|
2826
|
+
"description": "Fired with `{ value: string }` when a menu item is picked."
|
|
2827
|
+
}
|
|
2828
|
+
],
|
|
2829
|
+
"attributes": [
|
|
2830
|
+
{
|
|
2831
|
+
"name": "label",
|
|
2832
|
+
"type": {
|
|
2833
|
+
"text": "string"
|
|
2834
|
+
},
|
|
2835
|
+
"default": "\"\"",
|
|
2836
|
+
"description": "The trigger button's label.",
|
|
2837
|
+
"fieldName": "label"
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
"name": "disabled",
|
|
2841
|
+
"type": {
|
|
2842
|
+
"text": "boolean"
|
|
2843
|
+
},
|
|
2844
|
+
"default": "false",
|
|
2845
|
+
"description": "Disables the trigger, preventing the menu from opening.",
|
|
2846
|
+
"fieldName": "disabled"
|
|
2847
|
+
}
|
|
2848
|
+
],
|
|
2849
|
+
"superclass": {
|
|
2850
|
+
"name": "LitElement",
|
|
2851
|
+
"package": "lit"
|
|
2852
|
+
},
|
|
2853
|
+
"tagName": "dropdown-button",
|
|
2854
|
+
"customElement": true
|
|
2855
|
+
}
|
|
2856
|
+
],
|
|
2857
|
+
"exports": [
|
|
2858
|
+
{
|
|
2859
|
+
"kind": "js",
|
|
2860
|
+
"name": "DropdownButton",
|
|
2861
|
+
"declaration": {
|
|
2862
|
+
"name": "DropdownButton",
|
|
2863
|
+
"module": "src/dropdown-button.ts"
|
|
2864
|
+
}
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
"kind": "custom-element-definition",
|
|
2868
|
+
"name": "dropdown-button",
|
|
2869
|
+
"declaration": {
|
|
2870
|
+
"name": "DropdownButton",
|
|
2871
|
+
"module": "src/dropdown-button.ts"
|
|
2872
|
+
}
|
|
2873
|
+
}
|
|
2874
|
+
]
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
"kind": "javascript-module",
|
|
2878
|
+
"path": "src/editable-text.ts",
|
|
2879
|
+
"declarations": [
|
|
2880
|
+
{
|
|
2881
|
+
"kind": "class",
|
|
2882
|
+
"description": "Jira/GitHub-style click-to-edit text: a display span that turns into an\n`<input>` (or auto-growing `<textarea>` when `multiline`) on click. The\ninput/textarea inherits the host's font, so a title wrapped in an `<h1>`\nedits at title size.",
|
|
2883
|
+
"name": "EditableText",
|
|
2884
|
+
"members": [
|
|
2885
|
+
{
|
|
2886
|
+
"kind": "field",
|
|
2887
|
+
"name": "value",
|
|
2888
|
+
"type": {
|
|
2889
|
+
"text": "string"
|
|
2890
|
+
},
|
|
2891
|
+
"default": "\"\"",
|
|
2892
|
+
"description": "Current text.",
|
|
2893
|
+
"attribute": "value"
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"kind": "field",
|
|
2897
|
+
"name": "multiline",
|
|
2898
|
+
"type": {
|
|
2899
|
+
"text": "boolean"
|
|
2900
|
+
},
|
|
2901
|
+
"default": "false",
|
|
2902
|
+
"description": "`false` renders an `<input>`, `true` an auto-growing `<textarea>`.",
|
|
2903
|
+
"attribute": "multiline"
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
"kind": "field",
|
|
2907
|
+
"name": "placeholder",
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "string"
|
|
2910
|
+
},
|
|
2911
|
+
"default": "\"\"",
|
|
2912
|
+
"description": "Muted placeholder text shown when `value` is empty, and as the input's placeholder.",
|
|
2913
|
+
"attribute": "placeholder"
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"kind": "field",
|
|
2917
|
+
"name": "readonly",
|
|
2918
|
+
"type": {
|
|
2919
|
+
"text": "boolean"
|
|
2920
|
+
},
|
|
2921
|
+
"default": "false",
|
|
2922
|
+
"description": "Disables entering edit mode.",
|
|
2923
|
+
"attribute": "readonly"
|
|
2924
|
+
},
|
|
2925
|
+
{
|
|
2926
|
+
"kind": "field",
|
|
2927
|
+
"name": "label",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "string"
|
|
2930
|
+
},
|
|
2931
|
+
"default": "\"\"",
|
|
2932
|
+
"description": "`aria-label` applied to the input/textarea.",
|
|
2933
|
+
"attribute": "label"
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
"kind": "field",
|
|
2937
|
+
"name": "_editing",
|
|
2938
|
+
"type": {
|
|
2939
|
+
"text": "boolean"
|
|
2940
|
+
},
|
|
2941
|
+
"privacy": "private",
|
|
2942
|
+
"default": "false"
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
"kind": "field",
|
|
2946
|
+
"name": "_draft",
|
|
2947
|
+
"type": {
|
|
2948
|
+
"text": "string"
|
|
2949
|
+
},
|
|
2950
|
+
"privacy": "private",
|
|
2951
|
+
"default": "\"\""
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
"kind": "field",
|
|
2955
|
+
"name": "_field",
|
|
2956
|
+
"type": {
|
|
2957
|
+
"text": "HTMLInputElement | HTMLTextAreaElement | undefined"
|
|
2958
|
+
},
|
|
2959
|
+
"privacy": "private"
|
|
2960
|
+
},
|
|
2961
|
+
{
|
|
2962
|
+
"kind": "method",
|
|
2963
|
+
"name": "_startEdit",
|
|
2964
|
+
"privacy": "private",
|
|
2965
|
+
"description": "Enters edit mode, seeding the draft from the current value."
|
|
2966
|
+
},
|
|
2967
|
+
{
|
|
2968
|
+
"kind": "method",
|
|
2969
|
+
"name": "_commit",
|
|
2970
|
+
"privacy": "private",
|
|
2971
|
+
"description": "Commits the draft (reverting an empty single-line commit) and exits edit mode.\n\nGuarded on `_editing`: removing the focused input/textarea from the DOM\n(which happens as soon as `_editing` flips to false) makes the browser\nfire a native `blur` on it, re-invoking this handler a second time after\na cancel already ran — the guard makes that second call a no-op instead\nof re-committing the stale draft."
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
"kind": "method",
|
|
2975
|
+
"name": "_cancel",
|
|
2976
|
+
"privacy": "private",
|
|
2977
|
+
"description": "Discards the draft and exits edit mode without committing."
|
|
2978
|
+
},
|
|
2979
|
+
{
|
|
2980
|
+
"kind": "method",
|
|
2981
|
+
"name": "_onInput",
|
|
2982
|
+
"privacy": "private",
|
|
2983
|
+
"parameters": [
|
|
2984
|
+
{
|
|
2985
|
+
"name": "e",
|
|
2986
|
+
"type": {
|
|
2987
|
+
"text": "Event"
|
|
2988
|
+
}
|
|
2989
|
+
}
|
|
2990
|
+
]
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "method",
|
|
2994
|
+
"name": "_onSingleLineKeydown",
|
|
2995
|
+
"privacy": "private",
|
|
2996
|
+
"parameters": [
|
|
2997
|
+
{
|
|
2998
|
+
"name": "e",
|
|
2999
|
+
"type": {
|
|
3000
|
+
"text": "KeyboardEvent"
|
|
3001
|
+
}
|
|
3002
|
+
}
|
|
3003
|
+
]
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"kind": "method",
|
|
3007
|
+
"name": "_onMultilineKeydown",
|
|
3008
|
+
"privacy": "private",
|
|
3009
|
+
"parameters": [
|
|
3010
|
+
{
|
|
3011
|
+
"name": "e",
|
|
3012
|
+
"type": {
|
|
3013
|
+
"text": "KeyboardEvent"
|
|
3014
|
+
}
|
|
3015
|
+
}
|
|
3016
|
+
]
|
|
3017
|
+
},
|
|
3018
|
+
{
|
|
3019
|
+
"kind": "method",
|
|
3020
|
+
"name": "_resize",
|
|
3021
|
+
"privacy": "private",
|
|
3022
|
+
"description": "Grows the textarea's height to fit its content."
|
|
3023
|
+
}
|
|
3024
|
+
],
|
|
3025
|
+
"events": [
|
|
3026
|
+
{
|
|
3027
|
+
"name": "change",
|
|
3028
|
+
"type": {
|
|
3029
|
+
"text": "CustomEvent"
|
|
3030
|
+
},
|
|
3031
|
+
"description": "Fired with `{ value: string }` when the committed value differs from the previous one."
|
|
3032
|
+
}
|
|
3033
|
+
],
|
|
3034
|
+
"attributes": [
|
|
3035
|
+
{
|
|
3036
|
+
"name": "value",
|
|
3037
|
+
"type": {
|
|
3038
|
+
"text": "string"
|
|
3039
|
+
},
|
|
3040
|
+
"default": "\"\"",
|
|
3041
|
+
"description": "Current text.",
|
|
3042
|
+
"fieldName": "value"
|
|
3043
|
+
},
|
|
3044
|
+
{
|
|
3045
|
+
"name": "multiline",
|
|
3046
|
+
"type": {
|
|
3047
|
+
"text": "boolean"
|
|
3048
|
+
},
|
|
3049
|
+
"default": "false",
|
|
3050
|
+
"description": "`false` renders an `<input>`, `true` an auto-growing `<textarea>`.",
|
|
3051
|
+
"fieldName": "multiline"
|
|
3052
|
+
},
|
|
3053
|
+
{
|
|
3054
|
+
"name": "placeholder",
|
|
3055
|
+
"type": {
|
|
3056
|
+
"text": "string"
|
|
3057
|
+
},
|
|
3058
|
+
"default": "\"\"",
|
|
3059
|
+
"description": "Muted placeholder text shown when `value` is empty, and as the input's placeholder.",
|
|
3060
|
+
"fieldName": "placeholder"
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
"name": "readonly",
|
|
3064
|
+
"type": {
|
|
3065
|
+
"text": "boolean"
|
|
3066
|
+
},
|
|
3067
|
+
"default": "false",
|
|
3068
|
+
"description": "Disables entering edit mode.",
|
|
3069
|
+
"fieldName": "readonly"
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"name": "label",
|
|
3073
|
+
"type": {
|
|
3074
|
+
"text": "string"
|
|
3075
|
+
},
|
|
3076
|
+
"default": "\"\"",
|
|
3077
|
+
"description": "`aria-label` applied to the input/textarea.",
|
|
3078
|
+
"fieldName": "label"
|
|
3079
|
+
}
|
|
3080
|
+
],
|
|
3081
|
+
"superclass": {
|
|
3082
|
+
"name": "LitElement",
|
|
3083
|
+
"package": "lit"
|
|
3084
|
+
},
|
|
3085
|
+
"tagName": "editable-text",
|
|
3086
|
+
"customElement": true
|
|
3087
|
+
}
|
|
3088
|
+
],
|
|
3089
|
+
"exports": [
|
|
3090
|
+
{
|
|
3091
|
+
"kind": "js",
|
|
3092
|
+
"name": "EditableText",
|
|
3093
|
+
"declaration": {
|
|
3094
|
+
"name": "EditableText",
|
|
3095
|
+
"module": "src/editable-text.ts"
|
|
3096
|
+
}
|
|
3097
|
+
},
|
|
3098
|
+
{
|
|
3099
|
+
"kind": "custom-element-definition",
|
|
3100
|
+
"name": "editable-text",
|
|
3101
|
+
"declaration": {
|
|
3102
|
+
"name": "EditableText",
|
|
3103
|
+
"module": "src/editable-text.ts"
|
|
3104
|
+
}
|
|
3105
|
+
}
|
|
3106
|
+
]
|
|
3107
|
+
},
|
|
3108
|
+
{
|
|
3109
|
+
"kind": "javascript-module",
|
|
3110
|
+
"path": "src/form-select.ts",
|
|
3111
|
+
"declarations": [
|
|
3112
|
+
{
|
|
3113
|
+
"kind": "class",
|
|
3114
|
+
"description": "A styled dropdown select: a trigger button showing the current option's\nlabel, opening a listbox popover on click. Drop-in generic replacement for\na native `<select>` wherever consistent cross-browser styling and a\n`change` event carrying `{ value }` are wanted (e.g. a task's status\npicker).\n\nThe trigger fills its host's width (`justify-content: space-between`\npushes the chevron to the far edge), but the host itself stays\n`display: inline-block` — so usages that never size the host (a filter\nbar, a status picker) keep shrink-to-fit auto-width unchanged. To make an\ninstance full-width, size the host itself: `form-select { width: 100%; }`.\n\nSet `searchable` to replace the button trigger with an editable combobox\nthat filters the predefined options by case-insensitive label infix. Typed\ntext is only a query: `value` changes exclusively when an actual option is\nselected, and an uncommitted query is discarded when the list closes.\nEach option may also provide a pre-rendered `icon` and square `iconSize`;\niconless options reserve no leading space.",
|
|
3115
|
+
"name": "FormSelect",
|
|
3116
|
+
"members": [
|
|
3117
|
+
{
|
|
3118
|
+
"kind": "field",
|
|
3119
|
+
"name": "options",
|
|
3120
|
+
"type": {
|
|
3121
|
+
"text": "SelectOption[]"
|
|
3122
|
+
},
|
|
3123
|
+
"default": "[]",
|
|
3124
|
+
"description": "The full list of selectable options."
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
"kind": "field",
|
|
3128
|
+
"name": "value",
|
|
3129
|
+
"type": {
|
|
3130
|
+
"text": "string"
|
|
3131
|
+
},
|
|
3132
|
+
"default": "\"\"",
|
|
3133
|
+
"description": "Currently selected value; must match one of `options[].value`.",
|
|
3134
|
+
"attribute": "value"
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
"kind": "field",
|
|
3138
|
+
"name": "label",
|
|
3139
|
+
"type": {
|
|
3140
|
+
"text": "string"
|
|
3141
|
+
},
|
|
3142
|
+
"default": "\"\"",
|
|
3143
|
+
"description": "`aria-label` applied to the trigger button.",
|
|
3144
|
+
"attribute": "label"
|
|
3145
|
+
},
|
|
3146
|
+
{
|
|
3147
|
+
"kind": "field",
|
|
3148
|
+
"name": "disabled",
|
|
3149
|
+
"type": {
|
|
3150
|
+
"text": "boolean"
|
|
3151
|
+
},
|
|
3152
|
+
"default": "false",
|
|
3153
|
+
"description": "Disables the trigger, preventing the popover from opening.",
|
|
3154
|
+
"attribute": "disabled"
|
|
3155
|
+
},
|
|
3156
|
+
{
|
|
3157
|
+
"kind": "field",
|
|
3158
|
+
"name": "searchable",
|
|
3159
|
+
"type": {
|
|
3160
|
+
"text": "boolean"
|
|
3161
|
+
},
|
|
3162
|
+
"default": "false",
|
|
3163
|
+
"description": "Enables editable, case-insensitive infix filtering by option label.\nTyped text never becomes the selected `value`.",
|
|
3164
|
+
"attribute": "searchable",
|
|
3165
|
+
"reflects": true
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
"kind": "field",
|
|
3169
|
+
"name": "_open",
|
|
3170
|
+
"type": {
|
|
3171
|
+
"text": "boolean"
|
|
3172
|
+
},
|
|
3173
|
+
"privacy": "private",
|
|
3174
|
+
"default": "false"
|
|
3175
|
+
},
|
|
3176
|
+
{
|
|
3177
|
+
"kind": "field",
|
|
3178
|
+
"name": "_activeIndex",
|
|
3179
|
+
"type": {
|
|
3180
|
+
"text": "number"
|
|
3181
|
+
},
|
|
3182
|
+
"privacy": "private",
|
|
3183
|
+
"default": "-1"
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
"kind": "field",
|
|
3187
|
+
"name": "_query",
|
|
3188
|
+
"type": {
|
|
3189
|
+
"text": "string | null"
|
|
3190
|
+
},
|
|
3191
|
+
"privacy": "private",
|
|
3192
|
+
"default": "null"
|
|
3193
|
+
},
|
|
3194
|
+
{
|
|
3195
|
+
"kind": "field",
|
|
3196
|
+
"name": "#listboxPointerDown",
|
|
3197
|
+
"privacy": "private",
|
|
3198
|
+
"type": {
|
|
3199
|
+
"text": "boolean"
|
|
3200
|
+
},
|
|
3201
|
+
"default": "false"
|
|
3202
|
+
},
|
|
3203
|
+
{
|
|
3204
|
+
"kind": "field",
|
|
3205
|
+
"name": "#suppressNextBlur",
|
|
3206
|
+
"privacy": "private",
|
|
3207
|
+
"type": {
|
|
3208
|
+
"text": "boolean"
|
|
3209
|
+
},
|
|
3210
|
+
"default": "false"
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
"kind": "field",
|
|
3214
|
+
"name": "#restoringSearchFocus",
|
|
3215
|
+
"privacy": "private",
|
|
3216
|
+
"type": {
|
|
3217
|
+
"text": "boolean"
|
|
3218
|
+
},
|
|
3219
|
+
"default": "false"
|
|
3220
|
+
},
|
|
3221
|
+
{
|
|
3222
|
+
"kind": "field",
|
|
3223
|
+
"name": "#searchSelection",
|
|
3224
|
+
"privacy": "private",
|
|
3225
|
+
"type": {
|
|
3226
|
+
"text": "[number | null, number | null] | null"
|
|
3227
|
+
},
|
|
3228
|
+
"default": "null"
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
"kind": "field",
|
|
3232
|
+
"name": "#isComposing",
|
|
3233
|
+
"privacy": "private",
|
|
3234
|
+
"type": {
|
|
3235
|
+
"text": "boolean"
|
|
3236
|
+
},
|
|
3237
|
+
"default": "false"
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
"kind": "field",
|
|
3241
|
+
"name": "#compositionJustEnded",
|
|
3242
|
+
"privacy": "private",
|
|
3243
|
+
"type": {
|
|
3244
|
+
"text": "boolean"
|
|
3245
|
+
},
|
|
3246
|
+
"default": "false"
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
"kind": "field",
|
|
3250
|
+
"name": "#compositionEndTimer",
|
|
3251
|
+
"privacy": "private",
|
|
3252
|
+
"type": {
|
|
3253
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3254
|
+
},
|
|
3255
|
+
"default": "null"
|
|
3256
|
+
},
|
|
3257
|
+
{
|
|
3258
|
+
"kind": "field",
|
|
3259
|
+
"name": "#blurTimer",
|
|
3260
|
+
"privacy": "private",
|
|
3261
|
+
"type": {
|
|
3262
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3263
|
+
},
|
|
3264
|
+
"default": "null"
|
|
3265
|
+
},
|
|
3266
|
+
{
|
|
3267
|
+
"kind": "field",
|
|
3268
|
+
"name": "#onWindowMousedown",
|
|
3269
|
+
"privacy": "private"
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"kind": "method",
|
|
3273
|
+
"name": "#toggle",
|
|
3274
|
+
"privacy": "private",
|
|
3275
|
+
"return": {
|
|
3276
|
+
"type": {
|
|
3277
|
+
"text": "void"
|
|
3278
|
+
}
|
|
3279
|
+
}
|
|
3280
|
+
},
|
|
3281
|
+
{
|
|
3282
|
+
"kind": "method",
|
|
3283
|
+
"name": "#open",
|
|
3284
|
+
"privacy": "private",
|
|
3285
|
+
"return": {
|
|
3286
|
+
"type": {
|
|
3287
|
+
"text": "void"
|
|
3288
|
+
}
|
|
3289
|
+
}
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"kind": "method",
|
|
3293
|
+
"name": "#close",
|
|
3294
|
+
"privacy": "private",
|
|
3295
|
+
"return": {
|
|
3296
|
+
"type": {
|
|
3297
|
+
"text": "void"
|
|
3298
|
+
}
|
|
3299
|
+
}
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
"kind": "method",
|
|
3303
|
+
"name": "#initialActiveIndex",
|
|
3304
|
+
"privacy": "private",
|
|
3305
|
+
"return": {
|
|
3306
|
+
"type": {
|
|
3307
|
+
"text": "number"
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"kind": "method",
|
|
3313
|
+
"name": "#visibleOptions",
|
|
3314
|
+
"privacy": "private",
|
|
3315
|
+
"return": {
|
|
3316
|
+
"type": {
|
|
3317
|
+
"text": "SelectOption[]"
|
|
3318
|
+
}
|
|
3319
|
+
}
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
"kind": "method",
|
|
3323
|
+
"name": "#select",
|
|
3324
|
+
"privacy": "private",
|
|
3325
|
+
"return": {
|
|
3326
|
+
"type": {
|
|
3327
|
+
"text": "void"
|
|
3328
|
+
}
|
|
3329
|
+
},
|
|
3330
|
+
"parameters": [
|
|
3331
|
+
{
|
|
3332
|
+
"name": "option",
|
|
3333
|
+
"type": {
|
|
3334
|
+
"text": "SelectOption"
|
|
3335
|
+
}
|
|
3336
|
+
}
|
|
3337
|
+
]
|
|
3338
|
+
},
|
|
3339
|
+
{
|
|
3340
|
+
"kind": "method",
|
|
3341
|
+
"name": "#onTriggerKeydown",
|
|
3342
|
+
"privacy": "private",
|
|
3343
|
+
"return": {
|
|
3344
|
+
"type": {
|
|
3345
|
+
"text": "void"
|
|
3346
|
+
}
|
|
3347
|
+
},
|
|
3348
|
+
"parameters": [
|
|
3349
|
+
{
|
|
3350
|
+
"name": "e",
|
|
3351
|
+
"type": {
|
|
3352
|
+
"text": "KeyboardEvent"
|
|
3353
|
+
}
|
|
3354
|
+
}
|
|
3355
|
+
]
|
|
3356
|
+
},
|
|
3357
|
+
{
|
|
3358
|
+
"kind": "method",
|
|
3359
|
+
"name": "#moveActive",
|
|
3360
|
+
"privacy": "private",
|
|
3361
|
+
"return": {
|
|
3362
|
+
"type": {
|
|
3363
|
+
"text": "void"
|
|
3364
|
+
}
|
|
3365
|
+
},
|
|
3366
|
+
"parameters": [
|
|
3367
|
+
{
|
|
3368
|
+
"name": "delta",
|
|
3369
|
+
"type": {
|
|
3370
|
+
"text": "number"
|
|
3371
|
+
}
|
|
3372
|
+
}
|
|
3373
|
+
]
|
|
3374
|
+
},
|
|
3375
|
+
{
|
|
3376
|
+
"kind": "method",
|
|
3377
|
+
"name": "#confirmActive",
|
|
3378
|
+
"privacy": "private",
|
|
3379
|
+
"return": {
|
|
3380
|
+
"type": {
|
|
3381
|
+
"text": "void"
|
|
3382
|
+
}
|
|
3383
|
+
}
|
|
3384
|
+
},
|
|
3385
|
+
{
|
|
3386
|
+
"kind": "method",
|
|
3387
|
+
"name": "#onSearchFocus",
|
|
3388
|
+
"privacy": "private",
|
|
3389
|
+
"return": {
|
|
3390
|
+
"type": {
|
|
3391
|
+
"text": "void"
|
|
3392
|
+
}
|
|
3393
|
+
},
|
|
3394
|
+
"parameters": [
|
|
3395
|
+
{
|
|
3396
|
+
"name": "e",
|
|
3397
|
+
"type": {
|
|
3398
|
+
"text": "FocusEvent"
|
|
3399
|
+
}
|
|
3400
|
+
}
|
|
3401
|
+
]
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
"kind": "method",
|
|
3405
|
+
"name": "#onSearchClick",
|
|
3406
|
+
"privacy": "private",
|
|
3407
|
+
"return": {
|
|
3408
|
+
"type": {
|
|
3409
|
+
"text": "void"
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
"parameters": [
|
|
3413
|
+
{
|
|
3414
|
+
"name": "e",
|
|
3415
|
+
"type": {
|
|
3416
|
+
"text": "MouseEvent"
|
|
3417
|
+
}
|
|
3418
|
+
}
|
|
3419
|
+
]
|
|
3420
|
+
},
|
|
3421
|
+
{
|
|
3422
|
+
"kind": "method",
|
|
3423
|
+
"name": "#onSearchMousedown",
|
|
3424
|
+
"privacy": "private",
|
|
3425
|
+
"return": {
|
|
3426
|
+
"type": {
|
|
3427
|
+
"text": "void"
|
|
3428
|
+
}
|
|
3429
|
+
},
|
|
3430
|
+
"parameters": [
|
|
3431
|
+
{
|
|
3432
|
+
"name": "e",
|
|
3433
|
+
"type": {
|
|
3434
|
+
"text": "MouseEvent"
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
]
|
|
3438
|
+
},
|
|
3439
|
+
{
|
|
3440
|
+
"kind": "method",
|
|
3441
|
+
"name": "#onSearchInput",
|
|
3442
|
+
"privacy": "private",
|
|
3443
|
+
"return": {
|
|
3444
|
+
"type": {
|
|
3445
|
+
"text": "void"
|
|
3446
|
+
}
|
|
3447
|
+
},
|
|
3448
|
+
"parameters": [
|
|
3449
|
+
{
|
|
3450
|
+
"name": "e",
|
|
3451
|
+
"type": {
|
|
3452
|
+
"text": "InputEvent"
|
|
3453
|
+
}
|
|
3454
|
+
}
|
|
3455
|
+
]
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
"kind": "method",
|
|
3459
|
+
"name": "#onSearchKeydown",
|
|
3460
|
+
"privacy": "private",
|
|
3461
|
+
"return": {
|
|
3462
|
+
"type": {
|
|
3463
|
+
"text": "void"
|
|
3464
|
+
}
|
|
3465
|
+
},
|
|
3466
|
+
"parameters": [
|
|
3467
|
+
{
|
|
3468
|
+
"name": "e",
|
|
3469
|
+
"type": {
|
|
3470
|
+
"text": "KeyboardEvent"
|
|
3471
|
+
}
|
|
3472
|
+
}
|
|
3473
|
+
]
|
|
3474
|
+
},
|
|
3475
|
+
{
|
|
3476
|
+
"kind": "method",
|
|
3477
|
+
"name": "#onSearchBlur",
|
|
3478
|
+
"privacy": "private",
|
|
3479
|
+
"return": {
|
|
3480
|
+
"type": {
|
|
3481
|
+
"text": "void"
|
|
3482
|
+
}
|
|
3483
|
+
}
|
|
3484
|
+
},
|
|
3485
|
+
{
|
|
3486
|
+
"kind": "method",
|
|
3487
|
+
"name": "#focusSearchInput",
|
|
3488
|
+
"privacy": "private",
|
|
3489
|
+
"return": {
|
|
3490
|
+
"type": {
|
|
3491
|
+
"text": "void"
|
|
3492
|
+
}
|
|
3493
|
+
},
|
|
3494
|
+
"parameters": [
|
|
3495
|
+
{
|
|
3496
|
+
"name": "e",
|
|
3497
|
+
"type": {
|
|
3498
|
+
"text": "MouseEvent"
|
|
3499
|
+
}
|
|
3500
|
+
}
|
|
3501
|
+
]
|
|
3502
|
+
},
|
|
3503
|
+
{
|
|
3504
|
+
"kind": "method",
|
|
3505
|
+
"name": "#onCompositionStart",
|
|
3506
|
+
"privacy": "private",
|
|
3507
|
+
"return": {
|
|
3508
|
+
"type": {
|
|
3509
|
+
"text": "void"
|
|
3510
|
+
}
|
|
3511
|
+
}
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
"kind": "method",
|
|
3515
|
+
"name": "#onCompositionEnd",
|
|
3516
|
+
"privacy": "private",
|
|
3517
|
+
"return": {
|
|
3518
|
+
"type": {
|
|
3519
|
+
"text": "void"
|
|
3520
|
+
}
|
|
3521
|
+
}
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
"kind": "method",
|
|
3525
|
+
"name": "#onListboxMousedown",
|
|
3526
|
+
"privacy": "private",
|
|
3527
|
+
"return": {
|
|
3528
|
+
"type": {
|
|
3529
|
+
"text": "void"
|
|
3530
|
+
}
|
|
3531
|
+
},
|
|
3532
|
+
"parameters": [
|
|
3533
|
+
{
|
|
3534
|
+
"name": "e",
|
|
3535
|
+
"type": {
|
|
3536
|
+
"text": "MouseEvent"
|
|
3537
|
+
}
|
|
3538
|
+
}
|
|
3539
|
+
]
|
|
3540
|
+
},
|
|
3541
|
+
{
|
|
3542
|
+
"kind": "method",
|
|
3543
|
+
"name": "#onOptionMousedown",
|
|
3544
|
+
"privacy": "private",
|
|
3545
|
+
"return": {
|
|
3546
|
+
"type": {
|
|
3547
|
+
"text": "void"
|
|
3548
|
+
}
|
|
3549
|
+
},
|
|
3550
|
+
"parameters": [
|
|
3551
|
+
{
|
|
3552
|
+
"name": "e",
|
|
3553
|
+
"type": {
|
|
3554
|
+
"text": "MouseEvent"
|
|
3555
|
+
}
|
|
3556
|
+
},
|
|
3557
|
+
{
|
|
3558
|
+
"name": "option",
|
|
3559
|
+
"type": {
|
|
3560
|
+
"text": "SelectOption"
|
|
3561
|
+
}
|
|
3562
|
+
}
|
|
3563
|
+
]
|
|
2107
3564
|
},
|
|
2108
3565
|
{
|
|
2109
3566
|
"kind": "method",
|
|
2110
|
-
"name": "
|
|
3567
|
+
"name": "#optionIconSize",
|
|
2111
3568
|
"privacy": "private",
|
|
2112
|
-
"
|
|
3569
|
+
"return": {
|
|
3570
|
+
"type": {
|
|
3571
|
+
"text": "number"
|
|
3572
|
+
}
|
|
3573
|
+
},
|
|
3574
|
+
"parameters": [
|
|
3575
|
+
{
|
|
3576
|
+
"name": "option",
|
|
3577
|
+
"type": {
|
|
3578
|
+
"text": "SelectOption"
|
|
3579
|
+
}
|
|
3580
|
+
}
|
|
3581
|
+
]
|
|
2113
3582
|
},
|
|
2114
3583
|
{
|
|
2115
3584
|
"kind": "method",
|
|
2116
|
-
"name": "
|
|
3585
|
+
"name": "#renderOptionIcon",
|
|
2117
3586
|
"privacy": "private",
|
|
2118
3587
|
"parameters": [
|
|
2119
3588
|
{
|
|
2120
|
-
"name": "
|
|
3589
|
+
"name": "option",
|
|
2121
3590
|
"type": {
|
|
2122
|
-
"text": "
|
|
3591
|
+
"text": "SelectOption"
|
|
2123
3592
|
}
|
|
3593
|
+
},
|
|
3594
|
+
{
|
|
3595
|
+
"name": "className",
|
|
3596
|
+
"default": "\"option-icon\""
|
|
2124
3597
|
}
|
|
2125
3598
|
]
|
|
2126
3599
|
},
|
|
2127
3600
|
{
|
|
2128
3601
|
"kind": "method",
|
|
2129
|
-
"name": "
|
|
3602
|
+
"name": "#renderOptionContent",
|
|
2130
3603
|
"privacy": "private",
|
|
2131
3604
|
"parameters": [
|
|
2132
3605
|
{
|
|
2133
|
-
"name": "
|
|
3606
|
+
"name": "option",
|
|
2134
3607
|
"type": {
|
|
2135
|
-
"text": "
|
|
3608
|
+
"text": "SelectOption"
|
|
2136
3609
|
}
|
|
2137
3610
|
}
|
|
2138
3611
|
]
|
|
2139
3612
|
},
|
|
2140
3613
|
{
|
|
2141
3614
|
"kind": "method",
|
|
2142
|
-
"name": "
|
|
3615
|
+
"name": "renderListbox",
|
|
3616
|
+
"privacy": "private"
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
"kind": "method",
|
|
3620
|
+
"name": "renderSearchTrigger",
|
|
2143
3621
|
"privacy": "private",
|
|
2144
3622
|
"parameters": [
|
|
2145
3623
|
{
|
|
2146
|
-
"name": "
|
|
3624
|
+
"name": "current",
|
|
2147
3625
|
"type": {
|
|
2148
|
-
"text": "
|
|
3626
|
+
"text": "SelectOption | undefined"
|
|
2149
3627
|
}
|
|
2150
3628
|
}
|
|
2151
3629
|
]
|
|
2152
3630
|
},
|
|
2153
3631
|
{
|
|
2154
3632
|
"kind": "method",
|
|
2155
|
-
"name": "
|
|
3633
|
+
"name": "renderButtonTrigger",
|
|
2156
3634
|
"privacy": "private",
|
|
2157
|
-
"
|
|
3635
|
+
"parameters": [
|
|
3636
|
+
{
|
|
3637
|
+
"name": "current",
|
|
3638
|
+
"type": {
|
|
3639
|
+
"text": "SelectOption | undefined"
|
|
3640
|
+
}
|
|
3641
|
+
}
|
|
3642
|
+
]
|
|
2158
3643
|
}
|
|
2159
3644
|
],
|
|
2160
3645
|
"events": [
|
|
@@ -2163,7 +3648,7 @@
|
|
|
2163
3648
|
"type": {
|
|
2164
3649
|
"text": "CustomEvent"
|
|
2165
3650
|
},
|
|
2166
|
-
"description": "Fired with `{ value: string }` when
|
|
3651
|
+
"description": "Fired with `{ value: string }` when a different option is picked."
|
|
2167
3652
|
}
|
|
2168
3653
|
],
|
|
2169
3654
|
"attributes": [
|
|
@@ -2173,285 +3658,124 @@
|
|
|
2173
3658
|
"text": "string"
|
|
2174
3659
|
},
|
|
2175
3660
|
"default": "\"\"",
|
|
2176
|
-
"description": "
|
|
3661
|
+
"description": "Currently selected value; must match one of `options[].value`.",
|
|
2177
3662
|
"fieldName": "value"
|
|
2178
3663
|
},
|
|
2179
3664
|
{
|
|
2180
|
-
"name": "
|
|
2181
|
-
"type": {
|
|
2182
|
-
"text": "boolean"
|
|
2183
|
-
},
|
|
2184
|
-
"default": "false",
|
|
2185
|
-
"description": "`false` renders an `<input>`, `true` an auto-growing `<textarea>`.",
|
|
2186
|
-
"fieldName": "multiline"
|
|
2187
|
-
},
|
|
2188
|
-
{
|
|
2189
|
-
"name": "placeholder",
|
|
3665
|
+
"name": "label",
|
|
2190
3666
|
"type": {
|
|
2191
3667
|
"text": "string"
|
|
2192
3668
|
},
|
|
2193
3669
|
"default": "\"\"",
|
|
2194
|
-
"description": "
|
|
2195
|
-
"fieldName": "
|
|
3670
|
+
"description": "`aria-label` applied to the trigger button.",
|
|
3671
|
+
"fieldName": "label"
|
|
2196
3672
|
},
|
|
2197
3673
|
{
|
|
2198
|
-
"name": "
|
|
3674
|
+
"name": "disabled",
|
|
2199
3675
|
"type": {
|
|
2200
3676
|
"text": "boolean"
|
|
2201
3677
|
},
|
|
2202
3678
|
"default": "false",
|
|
2203
|
-
"description": "Disables
|
|
2204
|
-
"fieldName": "
|
|
3679
|
+
"description": "Disables the trigger, preventing the popover from opening.",
|
|
3680
|
+
"fieldName": "disabled"
|
|
2205
3681
|
},
|
|
2206
3682
|
{
|
|
2207
|
-
"name": "
|
|
3683
|
+
"name": "searchable",
|
|
2208
3684
|
"type": {
|
|
2209
|
-
"text": "
|
|
3685
|
+
"text": "boolean"
|
|
2210
3686
|
},
|
|
2211
|
-
"default": "
|
|
2212
|
-
"description": "
|
|
2213
|
-
"fieldName": "
|
|
3687
|
+
"default": "false",
|
|
3688
|
+
"description": "Enables editable, case-insensitive infix filtering by option label.\nTyped text never becomes the selected `value`.",
|
|
3689
|
+
"fieldName": "searchable"
|
|
2214
3690
|
}
|
|
2215
3691
|
],
|
|
2216
3692
|
"superclass": {
|
|
2217
3693
|
"name": "LitElement",
|
|
2218
3694
|
"package": "lit"
|
|
2219
3695
|
},
|
|
2220
|
-
"tagName": "
|
|
3696
|
+
"tagName": "form-select",
|
|
2221
3697
|
"customElement": true
|
|
2222
3698
|
}
|
|
2223
3699
|
],
|
|
2224
3700
|
"exports": [
|
|
2225
3701
|
{
|
|
2226
3702
|
"kind": "js",
|
|
2227
|
-
"name": "
|
|
3703
|
+
"name": "FormSelect",
|
|
2228
3704
|
"declaration": {
|
|
2229
|
-
"name": "
|
|
2230
|
-
"module": "src/
|
|
3705
|
+
"name": "FormSelect",
|
|
3706
|
+
"module": "src/form-select.ts"
|
|
2231
3707
|
}
|
|
2232
3708
|
},
|
|
2233
3709
|
{
|
|
2234
3710
|
"kind": "custom-element-definition",
|
|
2235
|
-
"name": "
|
|
3711
|
+
"name": "form-select",
|
|
2236
3712
|
"declaration": {
|
|
2237
|
-
"name": "
|
|
2238
|
-
"module": "src/
|
|
3713
|
+
"name": "FormSelect",
|
|
3714
|
+
"module": "src/form-select.ts"
|
|
2239
3715
|
}
|
|
2240
3716
|
}
|
|
2241
3717
|
]
|
|
2242
3718
|
},
|
|
2243
3719
|
{
|
|
2244
3720
|
"kind": "javascript-module",
|
|
2245
|
-
"path": "src/
|
|
3721
|
+
"path": "src/frame-box.ts",
|
|
2246
3722
|
"declarations": [
|
|
2247
3723
|
{
|
|
2248
3724
|
"kind": "class",
|
|
2249
|
-
"description": "A
|
|
2250
|
-
"name": "
|
|
2251
|
-
"
|
|
2252
|
-
{
|
|
2253
|
-
"kind": "field",
|
|
2254
|
-
"name": "options",
|
|
2255
|
-
"type": {
|
|
2256
|
-
"text": "SelectOption[]"
|
|
2257
|
-
},
|
|
2258
|
-
"default": "[]",
|
|
2259
|
-
"description": "The full list of selectable options."
|
|
2260
|
-
},
|
|
2261
|
-
{
|
|
2262
|
-
"kind": "field",
|
|
2263
|
-
"name": "value",
|
|
2264
|
-
"type": {
|
|
2265
|
-
"text": "string"
|
|
2266
|
-
},
|
|
2267
|
-
"default": "\"\"",
|
|
2268
|
-
"description": "Currently selected value; must match one of `options[].value`.",
|
|
2269
|
-
"attribute": "value"
|
|
2270
|
-
},
|
|
2271
|
-
{
|
|
2272
|
-
"kind": "field",
|
|
2273
|
-
"name": "label",
|
|
2274
|
-
"type": {
|
|
2275
|
-
"text": "string"
|
|
2276
|
-
},
|
|
2277
|
-
"default": "\"\"",
|
|
2278
|
-
"description": "`aria-label` applied to the trigger button.",
|
|
2279
|
-
"attribute": "label"
|
|
2280
|
-
},
|
|
2281
|
-
{
|
|
2282
|
-
"kind": "field",
|
|
2283
|
-
"name": "disabled",
|
|
2284
|
-
"type": {
|
|
2285
|
-
"text": "boolean"
|
|
2286
|
-
},
|
|
2287
|
-
"default": "false",
|
|
2288
|
-
"description": "Disables the trigger, preventing the popover from opening.",
|
|
2289
|
-
"attribute": "disabled"
|
|
2290
|
-
},
|
|
2291
|
-
{
|
|
2292
|
-
"kind": "field",
|
|
2293
|
-
"name": "_open",
|
|
2294
|
-
"type": {
|
|
2295
|
-
"text": "boolean"
|
|
2296
|
-
},
|
|
2297
|
-
"privacy": "private",
|
|
2298
|
-
"default": "false"
|
|
2299
|
-
},
|
|
2300
|
-
{
|
|
2301
|
-
"kind": "field",
|
|
2302
|
-
"name": "_activeIndex",
|
|
2303
|
-
"type": {
|
|
2304
|
-
"text": "number"
|
|
2305
|
-
},
|
|
2306
|
-
"privacy": "private",
|
|
2307
|
-
"default": "-1"
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
"kind": "field",
|
|
2311
|
-
"name": "#onWindowMousedown",
|
|
2312
|
-
"privacy": "private"
|
|
2313
|
-
},
|
|
2314
|
-
{
|
|
2315
|
-
"kind": "method",
|
|
2316
|
-
"name": "#toggle",
|
|
2317
|
-
"privacy": "private",
|
|
2318
|
-
"return": {
|
|
2319
|
-
"type": {
|
|
2320
|
-
"text": "void"
|
|
2321
|
-
}
|
|
2322
|
-
}
|
|
2323
|
-
},
|
|
2324
|
-
{
|
|
2325
|
-
"kind": "method",
|
|
2326
|
-
"name": "#select",
|
|
2327
|
-
"privacy": "private",
|
|
2328
|
-
"return": {
|
|
2329
|
-
"type": {
|
|
2330
|
-
"text": "void"
|
|
2331
|
-
}
|
|
2332
|
-
},
|
|
2333
|
-
"parameters": [
|
|
2334
|
-
{
|
|
2335
|
-
"name": "option",
|
|
2336
|
-
"type": {
|
|
2337
|
-
"text": "SelectOption"
|
|
2338
|
-
}
|
|
2339
|
-
}
|
|
2340
|
-
]
|
|
2341
|
-
},
|
|
2342
|
-
{
|
|
2343
|
-
"kind": "method",
|
|
2344
|
-
"name": "#onTriggerKeydown",
|
|
2345
|
-
"privacy": "private",
|
|
2346
|
-
"return": {
|
|
2347
|
-
"type": {
|
|
2348
|
-
"text": "void"
|
|
2349
|
-
}
|
|
2350
|
-
},
|
|
2351
|
-
"parameters": [
|
|
2352
|
-
{
|
|
2353
|
-
"name": "e",
|
|
2354
|
-
"type": {
|
|
2355
|
-
"text": "KeyboardEvent"
|
|
2356
|
-
}
|
|
2357
|
-
}
|
|
2358
|
-
]
|
|
2359
|
-
},
|
|
2360
|
-
{
|
|
2361
|
-
"kind": "method",
|
|
2362
|
-
"name": "#moveActive",
|
|
2363
|
-
"privacy": "private",
|
|
2364
|
-
"return": {
|
|
2365
|
-
"type": {
|
|
2366
|
-
"text": "void"
|
|
2367
|
-
}
|
|
2368
|
-
},
|
|
2369
|
-
"parameters": [
|
|
2370
|
-
{
|
|
2371
|
-
"name": "delta",
|
|
2372
|
-
"type": {
|
|
2373
|
-
"text": "number"
|
|
2374
|
-
}
|
|
2375
|
-
}
|
|
2376
|
-
]
|
|
2377
|
-
},
|
|
2378
|
-
{
|
|
2379
|
-
"kind": "method",
|
|
2380
|
-
"name": "#confirmActive",
|
|
2381
|
-
"privacy": "private",
|
|
2382
|
-
"return": {
|
|
2383
|
-
"type": {
|
|
2384
|
-
"text": "void"
|
|
2385
|
-
}
|
|
2386
|
-
}
|
|
2387
|
-
},
|
|
2388
|
-
{
|
|
2389
|
-
"kind": "method",
|
|
2390
|
-
"name": "renderListbox",
|
|
2391
|
-
"privacy": "private"
|
|
2392
|
-
}
|
|
2393
|
-
],
|
|
2394
|
-
"events": [
|
|
3725
|
+
"description": "A titled frame around a slot: a gray border with a small uppercase,\nmuted label overlapping the top edge (fieldset/legend-style). Generic —\nthe label text is entirely up to the consumer (e.g. \"Debug\" to visually\nfence off dev-only chrome from the product UI).",
|
|
3726
|
+
"name": "FrameBox",
|
|
3727
|
+
"slots": [
|
|
2395
3728
|
{
|
|
2396
|
-
"
|
|
2397
|
-
"
|
|
2398
|
-
"text": "CustomEvent"
|
|
2399
|
-
},
|
|
2400
|
-
"description": "Fired with `{ value: string }` when a different option is picked."
|
|
3729
|
+
"description": "Framed content.",
|
|
3730
|
+
"name": ""
|
|
2401
3731
|
}
|
|
2402
3732
|
],
|
|
2403
|
-
"
|
|
3733
|
+
"members": [
|
|
2404
3734
|
{
|
|
2405
|
-
"
|
|
3735
|
+
"kind": "field",
|
|
3736
|
+
"name": "label",
|
|
2406
3737
|
"type": {
|
|
2407
3738
|
"text": "string"
|
|
2408
3739
|
},
|
|
2409
3740
|
"default": "\"\"",
|
|
2410
|
-
"description": "
|
|
2411
|
-
"
|
|
2412
|
-
}
|
|
3741
|
+
"description": "The overlapping title label, e.g. \"Debug\".",
|
|
3742
|
+
"attribute": "label"
|
|
3743
|
+
}
|
|
3744
|
+
],
|
|
3745
|
+
"attributes": [
|
|
2413
3746
|
{
|
|
2414
3747
|
"name": "label",
|
|
2415
3748
|
"type": {
|
|
2416
3749
|
"text": "string"
|
|
2417
3750
|
},
|
|
2418
3751
|
"default": "\"\"",
|
|
2419
|
-
"description": "
|
|
3752
|
+
"description": "The overlapping title label, e.g. \"Debug\".",
|
|
2420
3753
|
"fieldName": "label"
|
|
2421
|
-
},
|
|
2422
|
-
{
|
|
2423
|
-
"name": "disabled",
|
|
2424
|
-
"type": {
|
|
2425
|
-
"text": "boolean"
|
|
2426
|
-
},
|
|
2427
|
-
"default": "false",
|
|
2428
|
-
"description": "Disables the trigger, preventing the popover from opening.",
|
|
2429
|
-
"fieldName": "disabled"
|
|
2430
3754
|
}
|
|
2431
3755
|
],
|
|
2432
3756
|
"superclass": {
|
|
2433
3757
|
"name": "LitElement",
|
|
2434
3758
|
"package": "lit"
|
|
2435
3759
|
},
|
|
2436
|
-
"tagName": "
|
|
3760
|
+
"tagName": "frame-box",
|
|
2437
3761
|
"customElement": true
|
|
2438
3762
|
}
|
|
2439
3763
|
],
|
|
2440
3764
|
"exports": [
|
|
2441
3765
|
{
|
|
2442
3766
|
"kind": "js",
|
|
2443
|
-
"name": "
|
|
3767
|
+
"name": "FrameBox",
|
|
2444
3768
|
"declaration": {
|
|
2445
|
-
"name": "
|
|
2446
|
-
"module": "src/
|
|
3769
|
+
"name": "FrameBox",
|
|
3770
|
+
"module": "src/frame-box.ts"
|
|
2447
3771
|
}
|
|
2448
3772
|
},
|
|
2449
3773
|
{
|
|
2450
3774
|
"kind": "custom-element-definition",
|
|
2451
|
-
"name": "
|
|
3775
|
+
"name": "frame-box",
|
|
2452
3776
|
"declaration": {
|
|
2453
|
-
"name": "
|
|
2454
|
-
"module": "src/
|
|
3777
|
+
"name": "FrameBox",
|
|
3778
|
+
"module": "src/frame-box.ts"
|
|
2455
3779
|
}
|
|
2456
3780
|
}
|
|
2457
3781
|
]
|
|
@@ -2645,6 +3969,98 @@
|
|
|
2645
3969
|
}
|
|
2646
3970
|
]
|
|
2647
3971
|
},
|
|
3972
|
+
{
|
|
3973
|
+
"kind": "javascript-module",
|
|
3974
|
+
"path": "src/icon-button.ts",
|
|
3975
|
+
"declarations": [
|
|
3976
|
+
{
|
|
3977
|
+
"kind": "class",
|
|
3978
|
+
"description": "A borderless button wrapping a passed-in icon, with a rounded\nhover-highlight background. Use for a low-emphasis affordance next to\ncontent it acts on (e.g. an \"Edit\" pencil at the end of a table row)\nwhere a bordered `ui-button` would be too heavy.",
|
|
3979
|
+
"name": "IconButton",
|
|
3980
|
+
"members": [
|
|
3981
|
+
{
|
|
3982
|
+
"kind": "field",
|
|
3983
|
+
"name": "icon",
|
|
3984
|
+
"type": {
|
|
3985
|
+
"text": "TemplateResult | null"
|
|
3986
|
+
},
|
|
3987
|
+
"default": "null",
|
|
3988
|
+
"description": "Pre-rendered icon template, e.g. `iconPencil(16)` from this package's icon set."
|
|
3989
|
+
},
|
|
3990
|
+
{
|
|
3991
|
+
"kind": "field",
|
|
3992
|
+
"name": "label",
|
|
3993
|
+
"type": {
|
|
3994
|
+
"text": "string"
|
|
3995
|
+
},
|
|
3996
|
+
"default": "\"\"",
|
|
3997
|
+
"description": "Required accessible label, applied as `aria-label`/`title`.",
|
|
3998
|
+
"attribute": "label"
|
|
3999
|
+
},
|
|
4000
|
+
{
|
|
4001
|
+
"kind": "field",
|
|
4002
|
+
"name": "disabled",
|
|
4003
|
+
"type": {
|
|
4004
|
+
"text": "boolean"
|
|
4005
|
+
},
|
|
4006
|
+
"default": "false",
|
|
4007
|
+
"description": "Disables the button and dims it.",
|
|
4008
|
+
"attribute": "disabled"
|
|
4009
|
+
}
|
|
4010
|
+
],
|
|
4011
|
+
"events": [
|
|
4012
|
+
{
|
|
4013
|
+
"description": "Native click, bubbling as usual — listen on the element itself.",
|
|
4014
|
+
"name": "click"
|
|
4015
|
+
}
|
|
4016
|
+
],
|
|
4017
|
+
"attributes": [
|
|
4018
|
+
{
|
|
4019
|
+
"name": "label",
|
|
4020
|
+
"type": {
|
|
4021
|
+
"text": "string"
|
|
4022
|
+
},
|
|
4023
|
+
"default": "\"\"",
|
|
4024
|
+
"description": "Required accessible label, applied as `aria-label`/`title`.",
|
|
4025
|
+
"fieldName": "label"
|
|
4026
|
+
},
|
|
4027
|
+
{
|
|
4028
|
+
"name": "disabled",
|
|
4029
|
+
"type": {
|
|
4030
|
+
"text": "boolean"
|
|
4031
|
+
},
|
|
4032
|
+
"default": "false",
|
|
4033
|
+
"description": "Disables the button and dims it.",
|
|
4034
|
+
"fieldName": "disabled"
|
|
4035
|
+
}
|
|
4036
|
+
],
|
|
4037
|
+
"superclass": {
|
|
4038
|
+
"name": "LitElement",
|
|
4039
|
+
"package": "lit"
|
|
4040
|
+
},
|
|
4041
|
+
"tagName": "icon-button",
|
|
4042
|
+
"customElement": true
|
|
4043
|
+
}
|
|
4044
|
+
],
|
|
4045
|
+
"exports": [
|
|
4046
|
+
{
|
|
4047
|
+
"kind": "js",
|
|
4048
|
+
"name": "IconButton",
|
|
4049
|
+
"declaration": {
|
|
4050
|
+
"name": "IconButton",
|
|
4051
|
+
"module": "src/icon-button.ts"
|
|
4052
|
+
}
|
|
4053
|
+
},
|
|
4054
|
+
{
|
|
4055
|
+
"kind": "custom-element-definition",
|
|
4056
|
+
"name": "icon-button",
|
|
4057
|
+
"declaration": {
|
|
4058
|
+
"name": "IconButton",
|
|
4059
|
+
"module": "src/icon-button.ts"
|
|
4060
|
+
}
|
|
4061
|
+
}
|
|
4062
|
+
]
|
|
4063
|
+
},
|
|
2648
4064
|
{
|
|
2649
4065
|
"kind": "javascript-module",
|
|
2650
4066
|
"path": "src/icons.ts",
|
|
@@ -3028,6 +4444,16 @@
|
|
|
3028
4444
|
"default": "18"
|
|
3029
4445
|
}
|
|
3030
4446
|
]
|
|
4447
|
+
},
|
|
4448
|
+
{
|
|
4449
|
+
"kind": "function",
|
|
4450
|
+
"name": "iconArrowTopRightOnSquare",
|
|
4451
|
+
"parameters": [
|
|
4452
|
+
{
|
|
4453
|
+
"name": "size",
|
|
4454
|
+
"default": "16"
|
|
4455
|
+
}
|
|
4456
|
+
]
|
|
3031
4457
|
}
|
|
3032
4458
|
],
|
|
3033
4459
|
"exports": [
|
|
@@ -3334,6 +4760,14 @@
|
|
|
3334
4760
|
"name": "iconChatBubbleLeftRight",
|
|
3335
4761
|
"module": "src/icons.ts"
|
|
3336
4762
|
}
|
|
4763
|
+
},
|
|
4764
|
+
{
|
|
4765
|
+
"kind": "js",
|
|
4766
|
+
"name": "iconArrowTopRightOnSquare",
|
|
4767
|
+
"declaration": {
|
|
4768
|
+
"name": "iconArrowTopRightOnSquare",
|
|
4769
|
+
"module": "src/icons.ts"
|
|
4770
|
+
}
|
|
3337
4771
|
}
|
|
3338
4772
|
]
|
|
3339
4773
|
},
|
|
@@ -3614,14 +5048,6 @@
|
|
|
3614
5048
|
"module": "./map-circle.js"
|
|
3615
5049
|
}
|
|
3616
5050
|
},
|
|
3617
|
-
{
|
|
3618
|
-
"kind": "js",
|
|
3619
|
-
"name": "MapPoint",
|
|
3620
|
-
"declaration": {
|
|
3621
|
-
"name": "MapPoint",
|
|
3622
|
-
"module": "./map-point.js"
|
|
3623
|
-
}
|
|
3624
|
-
},
|
|
3625
5051
|
{
|
|
3626
5052
|
"kind": "js",
|
|
3627
5053
|
"name": "RadioCards",
|
|
@@ -3782,6 +5208,62 @@
|
|
|
3782
5208
|
"module": "./popover-panel.js"
|
|
3783
5209
|
}
|
|
3784
5210
|
},
|
|
5211
|
+
{
|
|
5212
|
+
"kind": "js",
|
|
5213
|
+
"name": "DropdownButton",
|
|
5214
|
+
"declaration": {
|
|
5215
|
+
"name": "DropdownButton",
|
|
5216
|
+
"module": "./dropdown-button.js"
|
|
5217
|
+
}
|
|
5218
|
+
},
|
|
5219
|
+
{
|
|
5220
|
+
"kind": "js",
|
|
5221
|
+
"name": "DropdownOption",
|
|
5222
|
+
"declaration": {
|
|
5223
|
+
"name": "DropdownOption",
|
|
5224
|
+
"module": "./dropdown-button.js"
|
|
5225
|
+
}
|
|
5226
|
+
},
|
|
5227
|
+
{
|
|
5228
|
+
"kind": "js",
|
|
5229
|
+
"name": "IconButton",
|
|
5230
|
+
"declaration": {
|
|
5231
|
+
"name": "IconButton",
|
|
5232
|
+
"module": "./icon-button.js"
|
|
5233
|
+
}
|
|
5234
|
+
},
|
|
5235
|
+
{
|
|
5236
|
+
"kind": "js",
|
|
5237
|
+
"name": "FrameBox",
|
|
5238
|
+
"declaration": {
|
|
5239
|
+
"name": "FrameBox",
|
|
5240
|
+
"module": "./frame-box.js"
|
|
5241
|
+
}
|
|
5242
|
+
},
|
|
5243
|
+
{
|
|
5244
|
+
"kind": "js",
|
|
5245
|
+
"name": "CalendarEntry",
|
|
5246
|
+
"declaration": {
|
|
5247
|
+
"name": "CalendarEntry",
|
|
5248
|
+
"module": "./calendar-entry.js"
|
|
5249
|
+
}
|
|
5250
|
+
},
|
|
5251
|
+
{
|
|
5252
|
+
"kind": "js",
|
|
5253
|
+
"name": "CalendarMonth",
|
|
5254
|
+
"declaration": {
|
|
5255
|
+
"name": "CalendarMonth",
|
|
5256
|
+
"module": "./calendar-month.js"
|
|
5257
|
+
}
|
|
5258
|
+
},
|
|
5259
|
+
{
|
|
5260
|
+
"kind": "js",
|
|
5261
|
+
"name": "CalendarYear",
|
|
5262
|
+
"declaration": {
|
|
5263
|
+
"name": "CalendarYear",
|
|
5264
|
+
"module": "./calendar-year.js"
|
|
5265
|
+
}
|
|
5266
|
+
},
|
|
3785
5267
|
{
|
|
3786
5268
|
"kind": "js",
|
|
3787
5269
|
"name": "formatDuration",
|
|
@@ -3967,7 +5449,7 @@
|
|
|
3967
5449
|
"declarations": [
|
|
3968
5450
|
{
|
|
3969
5451
|
"kind": "class",
|
|
3970
|
-
"description": "A plain circular map marker: a light-to-dark gradient fill with a white\nouter ring, no point/tail (unlike `<map-pin>`) — for markers that don't\nneed to visually \"point\" at their exact coordinate. Purely a visual\nprimitive — it has no `mapbox-gl` (or any mapping library) dependency;\nthe consumer positions it, e.g. via `new mapboxgl.Marker({ element: el })`.",
|
|
5452
|
+
"description": "A plain circular map marker: a light-to-dark gradient fill with a white\nouter ring, no point/tail (unlike `<map-pin>`) — for markers that don't\nneed to visually \"point\" at their exact coordinate. Purely a visual\nprimitive — it has no `mapbox-gl` (or any mapping library) dependency;\nthe consumer positions it, e.g. via `new mapboxgl.Marker({ element: el })`.\nIt can also replace the former `<map-point>` dense-layer primitive: use\n`size=\"14\" ring-width=\"3\"`, leave the slot empty, and rasterize one marker\nper color for use as a map `icon-image`.",
|
|
3971
5453
|
"name": "MapCircle",
|
|
3972
5454
|
"slots": [
|
|
3973
5455
|
{
|
|
@@ -4129,122 +5611,19 @@
|
|
|
4129
5611
|
"kind": "field",
|
|
4130
5612
|
"name": "highlighted",
|
|
4131
5613
|
"type": {
|
|
4132
|
-
"text": "boolean"
|
|
4133
|
-
},
|
|
4134
|
-
"default": "false",
|
|
4135
|
-
"description": "Scales and glows the pin — a generic emphasis state (e.g. hover, selection).",
|
|
4136
|
-
"attribute": "highlighted",
|
|
4137
|
-
"reflects": true
|
|
4138
|
-
},
|
|
4139
|
-
{
|
|
4140
|
-
"kind": "field",
|
|
4141
|
-
"name": "_gradId",
|
|
4142
|
-
"privacy": "private",
|
|
4143
|
-
"readonly": true,
|
|
4144
|
-
"default": "`map-pin-grad-${gradientIdCounter++}`"
|
|
4145
|
-
}
|
|
4146
|
-
],
|
|
4147
|
-
"attributes": [
|
|
4148
|
-
{
|
|
4149
|
-
"name": "color",
|
|
4150
|
-
"type": {
|
|
4151
|
-
"text": "string"
|
|
4152
|
-
},
|
|
4153
|
-
"default": "\"#4f46e5\"",
|
|
4154
|
-
"description": "Fill color; the gradient's light (top) and dark (bottom) stops are derived from this.",
|
|
4155
|
-
"fieldName": "color"
|
|
4156
|
-
},
|
|
4157
|
-
{
|
|
4158
|
-
"name": "size",
|
|
4159
|
-
"type": {
|
|
4160
|
-
"text": "number"
|
|
4161
|
-
},
|
|
4162
|
-
"default": "32",
|
|
4163
|
-
"description": "Diameter of the circular head, in CSS pixels.",
|
|
4164
|
-
"fieldName": "size"
|
|
4165
|
-
},
|
|
4166
|
-
{
|
|
4167
|
-
"name": "highlighted",
|
|
4168
|
-
"type": {
|
|
4169
|
-
"text": "boolean"
|
|
4170
|
-
},
|
|
4171
|
-
"default": "false",
|
|
4172
|
-
"description": "Scales and glows the pin — a generic emphasis state (e.g. hover, selection).",
|
|
4173
|
-
"fieldName": "highlighted"
|
|
4174
|
-
}
|
|
4175
|
-
],
|
|
4176
|
-
"superclass": {
|
|
4177
|
-
"name": "LitElement",
|
|
4178
|
-
"package": "lit"
|
|
4179
|
-
},
|
|
4180
|
-
"tagName": "map-pin",
|
|
4181
|
-
"customElement": true
|
|
4182
|
-
}
|
|
4183
|
-
],
|
|
4184
|
-
"exports": [
|
|
4185
|
-
{
|
|
4186
|
-
"kind": "js",
|
|
4187
|
-
"name": "MapPin",
|
|
4188
|
-
"declaration": {
|
|
4189
|
-
"name": "MapPin",
|
|
4190
|
-
"module": "src/map-pin.ts"
|
|
4191
|
-
}
|
|
4192
|
-
},
|
|
4193
|
-
{
|
|
4194
|
-
"kind": "custom-element-definition",
|
|
4195
|
-
"name": "map-pin",
|
|
4196
|
-
"declaration": {
|
|
4197
|
-
"name": "MapPin",
|
|
4198
|
-
"module": "src/map-pin.ts"
|
|
4199
|
-
}
|
|
4200
|
-
}
|
|
4201
|
-
]
|
|
4202
|
-
},
|
|
4203
|
-
{
|
|
4204
|
-
"kind": "javascript-module",
|
|
4205
|
-
"path": "src/map-point.ts",
|
|
4206
|
-
"declarations": [
|
|
4207
|
-
{
|
|
4208
|
-
"kind": "class",
|
|
4209
|
-
"description": "A small plain-colored map marker for dense point layers (transit stops,\namenities, hazard points, etc.): a light-to-dark gradient fill with a thin\nwhite ring, no badge/content slot — every instance on a given layer shares\nthe same look, so there's nothing to render per-feature (unlike\n`<map-pin>`/`<map-circle>`, which carry per-marker slotted content).\nPurely a visual primitive — it has no `mapbox-gl` (or any mapping library)\ndependency; typically rasterized once per color and used as a Mapbox\n`icon-image` on a `symbol` layer rather than mounted as individual DOM\nmarkers, so a whole layer's worth of points shares one icon image.",
|
|
4210
|
-
"name": "MapPoint",
|
|
4211
|
-
"members": [
|
|
4212
|
-
{
|
|
4213
|
-
"kind": "field",
|
|
4214
|
-
"name": "color",
|
|
4215
|
-
"type": {
|
|
4216
|
-
"text": "string"
|
|
4217
|
-
},
|
|
4218
|
-
"default": "\"#4f46e5\"",
|
|
4219
|
-
"description": "Fill color; the gradient's light (top) and dark (bottom) stops are derived from this.",
|
|
4220
|
-
"attribute": "color"
|
|
4221
|
-
},
|
|
4222
|
-
{
|
|
4223
|
-
"kind": "field",
|
|
4224
|
-
"name": "size",
|
|
4225
|
-
"type": {
|
|
4226
|
-
"text": "number"
|
|
4227
|
-
},
|
|
4228
|
-
"default": "14",
|
|
4229
|
-
"description": "Diameter, in CSS pixels.",
|
|
4230
|
-
"attribute": "size"
|
|
4231
|
-
},
|
|
4232
|
-
{
|
|
4233
|
-
"kind": "field",
|
|
4234
|
-
"name": "ringWidth",
|
|
4235
|
-
"type": {
|
|
4236
|
-
"text": "number"
|
|
5614
|
+
"text": "boolean"
|
|
4237
5615
|
},
|
|
4238
|
-
"default": "
|
|
4239
|
-
"description": "
|
|
4240
|
-
"attribute": "
|
|
5616
|
+
"default": "false",
|
|
5617
|
+
"description": "Scales and glows the pin — a generic emphasis state (e.g. hover, selection).",
|
|
5618
|
+
"attribute": "highlighted",
|
|
5619
|
+
"reflects": true
|
|
4241
5620
|
},
|
|
4242
5621
|
{
|
|
4243
5622
|
"kind": "field",
|
|
4244
5623
|
"name": "_gradId",
|
|
4245
5624
|
"privacy": "private",
|
|
4246
5625
|
"readonly": true,
|
|
4247
|
-
"default": "`map-
|
|
5626
|
+
"default": "`map-pin-grad-${gradientIdCounter++}`"
|
|
4248
5627
|
}
|
|
4249
5628
|
],
|
|
4250
5629
|
"attributes": [
|
|
@@ -4262,47 +5641,53 @@
|
|
|
4262
5641
|
"type": {
|
|
4263
5642
|
"text": "number"
|
|
4264
5643
|
},
|
|
4265
|
-
"default": "
|
|
4266
|
-
"description": "Diameter, in CSS pixels.",
|
|
5644
|
+
"default": "32",
|
|
5645
|
+
"description": "Diameter of the circular head, in CSS pixels.",
|
|
4267
5646
|
"fieldName": "size"
|
|
4268
5647
|
},
|
|
4269
5648
|
{
|
|
4270
|
-
"name": "
|
|
5649
|
+
"name": "highlighted",
|
|
4271
5650
|
"type": {
|
|
4272
|
-
"text": "
|
|
5651
|
+
"text": "boolean"
|
|
4273
5652
|
},
|
|
4274
|
-
"default": "
|
|
4275
|
-
"description": "
|
|
4276
|
-
"fieldName": "
|
|
5653
|
+
"default": "false",
|
|
5654
|
+
"description": "Scales and glows the pin — a generic emphasis state (e.g. hover, selection).",
|
|
5655
|
+
"fieldName": "highlighted"
|
|
4277
5656
|
}
|
|
4278
5657
|
],
|
|
4279
5658
|
"superclass": {
|
|
4280
5659
|
"name": "LitElement",
|
|
4281
5660
|
"package": "lit"
|
|
4282
5661
|
},
|
|
4283
|
-
"tagName": "map-
|
|
5662
|
+
"tagName": "map-pin",
|
|
4284
5663
|
"customElement": true
|
|
4285
5664
|
}
|
|
4286
5665
|
],
|
|
4287
5666
|
"exports": [
|
|
4288
5667
|
{
|
|
4289
5668
|
"kind": "js",
|
|
4290
|
-
"name": "
|
|
5669
|
+
"name": "MapPin",
|
|
4291
5670
|
"declaration": {
|
|
4292
|
-
"name": "
|
|
4293
|
-
"module": "src/map-
|
|
5671
|
+
"name": "MapPin",
|
|
5672
|
+
"module": "src/map-pin.ts"
|
|
4294
5673
|
}
|
|
4295
5674
|
},
|
|
4296
5675
|
{
|
|
4297
5676
|
"kind": "custom-element-definition",
|
|
4298
|
-
"name": "map-
|
|
5677
|
+
"name": "map-pin",
|
|
4299
5678
|
"declaration": {
|
|
4300
|
-
"name": "
|
|
4301
|
-
"module": "src/map-
|
|
5679
|
+
"name": "MapPin",
|
|
5680
|
+
"module": "src/map-pin.ts"
|
|
4302
5681
|
}
|
|
4303
5682
|
}
|
|
4304
5683
|
]
|
|
4305
5684
|
},
|
|
5685
|
+
{
|
|
5686
|
+
"kind": "javascript-module",
|
|
5687
|
+
"path": "src/mcp-server.ts",
|
|
5688
|
+
"declarations": [],
|
|
5689
|
+
"exports": []
|
|
5690
|
+
},
|
|
4306
5691
|
{
|
|
4307
5692
|
"kind": "javascript-module",
|
|
4308
5693
|
"path": "src/percent-bar-chart.ts",
|
|
@@ -5066,6 +6451,20 @@
|
|
|
5066
6451
|
"kind": "class",
|
|
5067
6452
|
"description": "Generic anchored popover shell: a floating card positioned relative to its\nnearest `position: relative` ancestor (place it next to its trigger button\ninside such a wrapper), as opposed to `slide-panel`'s fixed screen-edge\ndrawer. Closes on outside click or Escape. Header chrome and close button\nmatch `slide-panel`'s API (`heading`, `panel-close`) so either can be\nswapped in for the other with no consumer-side changes beyond the wrapper.\n\nSet `centered` to render as a screen-centered modal with a translucent\nbackdrop instead of the default anchored placement.",
|
|
5068
6453
|
"name": "PopoverPanel",
|
|
6454
|
+
"slots": [
|
|
6455
|
+
{
|
|
6456
|
+
"description": "Overrides the plain `heading` text with custom markup.",
|
|
6457
|
+
"name": "title"
|
|
6458
|
+
},
|
|
6459
|
+
{
|
|
6460
|
+
"description": "Extra header controls (e.g. an icon+label link) rendered between the title and the close button.",
|
|
6461
|
+
"name": "actions"
|
|
6462
|
+
},
|
|
6463
|
+
{
|
|
6464
|
+
"description": "Popover body content.",
|
|
6465
|
+
"name": ""
|
|
6466
|
+
}
|
|
6467
|
+
],
|
|
5069
6468
|
"members": [
|
|
5070
6469
|
{
|
|
5071
6470
|
"kind": "field",
|
|
@@ -6286,7 +7685,7 @@
|
|
|
6286
7685
|
"type": {
|
|
6287
7686
|
"text": "Record<string, string>"
|
|
6288
7687
|
},
|
|
6289
|
-
"default": "{ // Colors \"--ui-primary\": \"#4f46e5\", // indigo-600 \"--ui-primary-hover\": \"#4338ca\", // indigo-700 \"--ui-danger\": \"#dc2626\", // red-600 \"--ui-danger-hover\": \"#b91c1c\", // red-700 \"--ui-success\": \"#16a34a\", // green-600 \"--ui-text\": \"#0f172a\", // slate-900 \"--ui-text-muted\": \"#64748b\", // slate-500 \"--ui-border\": \"#e2e8f0\", // slate-200 \"--ui-surface\": \"#ffffff\", // white \"--ui-surface-muted\": \"#f8fafc\", // slate-50 \"--ui-overlay\": \"rgb(15 23 42 / 0.45)\", // slate-900 / 45% // Shape / depth \"--ui-radius\": \"0.5rem\", // rounded-lg \"--ui-radius-sm\": \"0.25rem\", // rounded \"--ui-shadow\": \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\", // shadow-md \"--ui-shadow-lg\": \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\", // shadow-xl \"--ui-focus-ring\": \"0 0 0 3px rgb(79 70 229 / 0.35)\", // Type \"--ui-font\": 'ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"', \"--ui-font-size\": \"0.875rem\", \"--ui-font-size-sm\": \"0.75rem\", }",
|
|
7688
|
+
"default": "{ // Colors \"--ui-primary\": \"#4f46e5\", // indigo-600 \"--ui-primary-hover\": \"#4338ca\", // indigo-700 \"--ui-danger\": \"#dc2626\", // red-600 \"--ui-danger-hover\": \"#b91c1c\", // red-700 \"--ui-success\": \"#16a34a\", // green-600 \"--ui-text\": \"#0f172a\", // slate-900 \"--ui-text-muted\": \"#64748b\", // slate-500 \"--ui-border\": \"#e2e8f0\", // slate-200 \"--ui-surface\": \"#ffffff\", // white \"--ui-surface-muted\": \"#f8fafc\", // slate-50 \"--ui-hover-overlay\": \"rgb(255 255 255 / 0.32)\", \"--ui-overlay\": \"rgb(15 23 42 / 0.45)\", // slate-900 / 45% // Shape / depth \"--ui-radius\": \"0.5rem\", // rounded-lg \"--ui-radius-sm\": \"0.25rem\", // rounded \"--ui-shadow\": \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\", // shadow-md \"--ui-shadow-lg\": \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\", // shadow-xl \"--ui-focus-ring\": \"0 0 0 3px rgb(79 70 229 / 0.35)\", // Type \"--ui-font\": 'ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"', \"--ui-font-size\": \"0.875rem\", \"--ui-font-size-sm\": \"0.75rem\", \"--ui-font-size-xs\": \"0.6875rem\", }",
|
|
6290
7689
|
"description": "Design token values, sourced from Tailwind v4's default theme palette.\nEach entry maps a `--ui-*` custom property name to its default value.\nThese are the same values baked in as `var(--ui-*, <fallback>)` fallbacks\nthroughout component styles, so components render correctly with zero\nexternal CSS. Consumers may override any of these by setting the custom\nproperty on `:root` or an ancestor element (see `tokens.css`)."
|
|
6291
7690
|
},
|
|
6292
7691
|
{
|
|
@@ -6295,7 +7694,7 @@
|
|
|
6295
7694
|
"type": {
|
|
6296
7695
|
"text": "Record<string, string>"
|
|
6297
7696
|
},
|
|
6298
|
-
"default": "{ \"--ui-primary\": \"#6366f1\", // indigo-500 \"--ui-primary-hover\": \"#818cf8\", // indigo-400 \"--ui-danger\": \"#ef4444\", // red-500 \"--ui-danger-hover\": \"#f87171\", // red-400 \"--ui-success\": \"#22c55e\", // green-500 \"--ui-text\": \"#f1f5f9\", // slate-100 \"--ui-text-muted\": \"#94a3b8\", // slate-400 \"--ui-border\": \"#334155\", // slate-700 \"--ui-surface\": \"#0f172a\", // slate-900 \"--ui-surface-muted\": \"#1e293b\", // slate-800 \"--ui-overlay\": \"rgb(2 6 23 / 0.6)\", // slate-950 / 60% \"--ui-focus-ring\": \"0 0 0 3px rgb(99 102 241 / 0.45)\", }",
|
|
7697
|
+
"default": "{ \"--ui-primary\": \"#6366f1\", // indigo-500 \"--ui-primary-hover\": \"#818cf8\", // indigo-400 \"--ui-danger\": \"#ef4444\", // red-500 \"--ui-danger-hover\": \"#f87171\", // red-400 \"--ui-success\": \"#22c55e\", // green-500 \"--ui-text\": \"#f1f5f9\", // slate-100 \"--ui-text-muted\": \"#94a3b8\", // slate-400 \"--ui-border\": \"#334155\", // slate-700 \"--ui-surface\": \"#0f172a\", // slate-900 \"--ui-surface-muted\": \"#1e293b\", // slate-800 \"--ui-hover-overlay\": \"rgb(255 255 255 / 0.12)\", \"--ui-overlay\": \"rgb(2 6 23 / 0.6)\", // slate-950 / 60% \"--ui-focus-ring\": \"0 0 0 3px rgb(99 102 241 / 0.45)\", }",
|
|
6299
7698
|
"description": "Dark-mode overrides for the same `--ui-*` custom properties, applied by\n`tokens.css` via `@media (prefers-color-scheme: dark)` and `[data-theme]`\n(see generate-tokens-css.mjs). Same Tailwind slate scale as the light\npalette, inverted, with primary/danger/success lightened one step (500\ninstead of 600) for sufficient contrast against dark surfaces. Shape/type\ntokens are theme-independent and not repeated here."
|
|
6300
7699
|
},
|
|
6301
7700
|
{
|
|
@@ -6669,6 +8068,300 @@
|
|
|
6669
8068
|
}
|
|
6670
8069
|
]
|
|
6671
8070
|
},
|
|
8071
|
+
{
|
|
8072
|
+
"kind": "javascript-module",
|
|
8073
|
+
"path": "src/utils/calendar.ts",
|
|
8074
|
+
"declarations": [
|
|
8075
|
+
{
|
|
8076
|
+
"kind": "variable",
|
|
8077
|
+
"name": "CALENDAR_ENTRY_ATTRIBUTES",
|
|
8078
|
+
"type": {
|
|
8079
|
+
"text": "array"
|
|
8080
|
+
},
|
|
8081
|
+
"default": "[\"start\", \"end\", \"label\", \"color\", \"href\", \"slot\"]",
|
|
8082
|
+
"description": "Attributes whose mutations can change a rendered calendar entry."
|
|
8083
|
+
},
|
|
8084
|
+
{
|
|
8085
|
+
"kind": "function",
|
|
8086
|
+
"name": "daysInMonth",
|
|
8087
|
+
"return": {
|
|
8088
|
+
"type": {
|
|
8089
|
+
"text": "number"
|
|
8090
|
+
}
|
|
8091
|
+
},
|
|
8092
|
+
"parameters": [
|
|
8093
|
+
{
|
|
8094
|
+
"name": "year",
|
|
8095
|
+
"type": {
|
|
8096
|
+
"text": "number"
|
|
8097
|
+
}
|
|
8098
|
+
},
|
|
8099
|
+
{
|
|
8100
|
+
"name": "month",
|
|
8101
|
+
"type": {
|
|
8102
|
+
"text": "number"
|
|
8103
|
+
}
|
|
8104
|
+
}
|
|
8105
|
+
],
|
|
8106
|
+
"description": "Number of days in `month` (1-12) of `year`, leap years included."
|
|
8107
|
+
},
|
|
8108
|
+
{
|
|
8109
|
+
"kind": "function",
|
|
8110
|
+
"name": "parseIsoDate",
|
|
8111
|
+
"return": {
|
|
8112
|
+
"type": {
|
|
8113
|
+
"text": "Date | null"
|
|
8114
|
+
}
|
|
8115
|
+
},
|
|
8116
|
+
"parameters": [
|
|
8117
|
+
{
|
|
8118
|
+
"name": "iso",
|
|
8119
|
+
"type": {
|
|
8120
|
+
"text": "string"
|
|
8121
|
+
}
|
|
8122
|
+
}
|
|
8123
|
+
],
|
|
8124
|
+
"description": "Parses `\"YYYY-MM-DD\"` as a local-midnight `Date`. Returns `null` for\nanything that doesn't match or doesn't round-trip (e.g. \"2026-02-30\") —\ndeliberately never uses `new Date(iso)`/`.toISOString()`, both of which\nare UTC-based and would silently shift the date in negative-UTC-offset\ntimezones."
|
|
8125
|
+
},
|
|
8126
|
+
{
|
|
8127
|
+
"kind": "function",
|
|
8128
|
+
"name": "toIsoDate",
|
|
8129
|
+
"return": {
|
|
8130
|
+
"type": {
|
|
8131
|
+
"text": "string"
|
|
8132
|
+
}
|
|
8133
|
+
},
|
|
8134
|
+
"parameters": [
|
|
8135
|
+
{
|
|
8136
|
+
"name": "date",
|
|
8137
|
+
"type": {
|
|
8138
|
+
"text": "Date"
|
|
8139
|
+
}
|
|
8140
|
+
}
|
|
8141
|
+
],
|
|
8142
|
+
"description": "Formats a `Date`'s local year/month/day as `\"YYYY-MM-DD\"`."
|
|
8143
|
+
},
|
|
8144
|
+
{
|
|
8145
|
+
"kind": "function",
|
|
8146
|
+
"name": "monthName",
|
|
8147
|
+
"return": {
|
|
8148
|
+
"type": {
|
|
8149
|
+
"text": "string"
|
|
8150
|
+
}
|
|
8151
|
+
},
|
|
8152
|
+
"parameters": [
|
|
8153
|
+
{
|
|
8154
|
+
"name": "month",
|
|
8155
|
+
"type": {
|
|
8156
|
+
"text": "number"
|
|
8157
|
+
}
|
|
8158
|
+
}
|
|
8159
|
+
],
|
|
8160
|
+
"description": "Locale-aware full month name for `month` (1-12)."
|
|
8161
|
+
},
|
|
8162
|
+
{
|
|
8163
|
+
"kind": "variable",
|
|
8164
|
+
"name": "WEEKDAY_ABBR",
|
|
8165
|
+
"type": {
|
|
8166
|
+
"text": "readonly string[]"
|
|
8167
|
+
},
|
|
8168
|
+
"default": "[\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"]",
|
|
8169
|
+
"description": "Sunday-first weekday abbreviations, indexed by `Date.getDay()` (0 = Sunday)."
|
|
8170
|
+
},
|
|
8171
|
+
{
|
|
8172
|
+
"kind": "function",
|
|
8173
|
+
"name": "isWeekend",
|
|
8174
|
+
"return": {
|
|
8175
|
+
"type": {
|
|
8176
|
+
"text": "boolean"
|
|
8177
|
+
}
|
|
8178
|
+
},
|
|
8179
|
+
"parameters": [
|
|
8180
|
+
{
|
|
8181
|
+
"name": "date",
|
|
8182
|
+
"type": {
|
|
8183
|
+
"text": "Date"
|
|
8184
|
+
}
|
|
8185
|
+
}
|
|
8186
|
+
],
|
|
8187
|
+
"description": "Whether `date` falls on a Saturday or Sunday, per JS's `Date.getDay()`\nconvention (Sunday = 0 .. Saturday = 6) — note this differs from Python's\n`calendar` module (Monday = 0), which the original reference\nimplementation this component's layout is based on used."
|
|
8188
|
+
},
|
|
8189
|
+
{
|
|
8190
|
+
"kind": "function",
|
|
8191
|
+
"name": "readCalendarEntryElement",
|
|
8192
|
+
"return": {
|
|
8193
|
+
"type": {
|
|
8194
|
+
"text": "CalendarEntryData"
|
|
8195
|
+
}
|
|
8196
|
+
},
|
|
8197
|
+
"parameters": [
|
|
8198
|
+
{
|
|
8199
|
+
"name": "el",
|
|
8200
|
+
"type": {
|
|
8201
|
+
"text": "CalendarEntry"
|
|
8202
|
+
}
|
|
8203
|
+
}
|
|
8204
|
+
],
|
|
8205
|
+
"description": "Reads a `calendar-entry` element's properties and named text slots into plain data."
|
|
8206
|
+
},
|
|
8207
|
+
{
|
|
8208
|
+
"kind": "function",
|
|
8209
|
+
"name": "resolveEntry",
|
|
8210
|
+
"return": {
|
|
8211
|
+
"type": {
|
|
8212
|
+
"text": "ResolvedCalendarEntry | null"
|
|
8213
|
+
}
|
|
8214
|
+
},
|
|
8215
|
+
"parameters": [
|
|
8216
|
+
{
|
|
8217
|
+
"name": "data",
|
|
8218
|
+
"type": {
|
|
8219
|
+
"text": "CalendarEntryData"
|
|
8220
|
+
}
|
|
8221
|
+
}
|
|
8222
|
+
],
|
|
8223
|
+
"description": "Resolves a `CalendarEntryData`'s date strings to `Date`s. Returns `null`\nwhen `start` is missing or unparseable — such entries are dropped\nsilently rather than thrown, since this reads declarative markup a\nconsumer authored, not validated user input. A blank `end` defaults to\n`start` (single-day entry); an `end` before `start` is clamped up to\n`start` rather than treated as an error."
|
|
8224
|
+
},
|
|
8225
|
+
{
|
|
8226
|
+
"kind": "function",
|
|
8227
|
+
"name": "overlapsRange",
|
|
8228
|
+
"return": {
|
|
8229
|
+
"type": {
|
|
8230
|
+
"text": "boolean"
|
|
8231
|
+
}
|
|
8232
|
+
},
|
|
8233
|
+
"parameters": [
|
|
8234
|
+
{
|
|
8235
|
+
"name": "entry",
|
|
8236
|
+
"type": {
|
|
8237
|
+
"text": "ResolvedCalendarEntry"
|
|
8238
|
+
}
|
|
8239
|
+
},
|
|
8240
|
+
{
|
|
8241
|
+
"name": "rangeStart",
|
|
8242
|
+
"type": {
|
|
8243
|
+
"text": "Date"
|
|
8244
|
+
}
|
|
8245
|
+
},
|
|
8246
|
+
{
|
|
8247
|
+
"name": "rangeEnd",
|
|
8248
|
+
"type": {
|
|
8249
|
+
"text": "Date"
|
|
8250
|
+
}
|
|
8251
|
+
}
|
|
8252
|
+
],
|
|
8253
|
+
"description": "Whether `entry`'s inclusive date range intersects the inclusive `[rangeStart, rangeEnd]` range."
|
|
8254
|
+
},
|
|
8255
|
+
{
|
|
8256
|
+
"kind": "function",
|
|
8257
|
+
"name": "assignLanes",
|
|
8258
|
+
"return": {
|
|
8259
|
+
"type": {
|
|
8260
|
+
"text": "{\n entries: LanedEntry[];\n laneCount: number;\n}"
|
|
8261
|
+
}
|
|
8262
|
+
},
|
|
8263
|
+
"parameters": [
|
|
8264
|
+
{
|
|
8265
|
+
"name": "entries",
|
|
8266
|
+
"type": {
|
|
8267
|
+
"text": "ResolvedCalendarEntry[]"
|
|
8268
|
+
}
|
|
8269
|
+
}
|
|
8270
|
+
],
|
|
8271
|
+
"description": "Assigns each entry a 0-based stacking lane via greedy interval\npartitioning (\"meeting rooms II\"): entries are sorted by start date, then\neach is placed in the lowest-numbered lane whose current occupant ends\nstrictly before the entry starts. Because entry ranges are\ninclusive-inclusive, an entry ending on day X and one starting on day X\nboth occupy day X and must not share a lane — hence the strict `<`.\n\nLane assignment is meant to be computed independently per `calendar-month`\n(from only the entries overlapping that month); an entry spanning a month\nboundary may therefore land in a different lane in adjacent months. This\nis an accepted v1 limitation, not a bug."
|
|
8272
|
+
}
|
|
8273
|
+
],
|
|
8274
|
+
"exports": [
|
|
8275
|
+
{
|
|
8276
|
+
"kind": "js",
|
|
8277
|
+
"name": "CALENDAR_ENTRY_ATTRIBUTES",
|
|
8278
|
+
"declaration": {
|
|
8279
|
+
"name": "CALENDAR_ENTRY_ATTRIBUTES",
|
|
8280
|
+
"module": "src/utils/calendar.ts"
|
|
8281
|
+
}
|
|
8282
|
+
},
|
|
8283
|
+
{
|
|
8284
|
+
"kind": "js",
|
|
8285
|
+
"name": "daysInMonth",
|
|
8286
|
+
"declaration": {
|
|
8287
|
+
"name": "daysInMonth",
|
|
8288
|
+
"module": "src/utils/calendar.ts"
|
|
8289
|
+
}
|
|
8290
|
+
},
|
|
8291
|
+
{
|
|
8292
|
+
"kind": "js",
|
|
8293
|
+
"name": "parseIsoDate",
|
|
8294
|
+
"declaration": {
|
|
8295
|
+
"name": "parseIsoDate",
|
|
8296
|
+
"module": "src/utils/calendar.ts"
|
|
8297
|
+
}
|
|
8298
|
+
},
|
|
8299
|
+
{
|
|
8300
|
+
"kind": "js",
|
|
8301
|
+
"name": "toIsoDate",
|
|
8302
|
+
"declaration": {
|
|
8303
|
+
"name": "toIsoDate",
|
|
8304
|
+
"module": "src/utils/calendar.ts"
|
|
8305
|
+
}
|
|
8306
|
+
},
|
|
8307
|
+
{
|
|
8308
|
+
"kind": "js",
|
|
8309
|
+
"name": "monthName",
|
|
8310
|
+
"declaration": {
|
|
8311
|
+
"name": "monthName",
|
|
8312
|
+
"module": "src/utils/calendar.ts"
|
|
8313
|
+
}
|
|
8314
|
+
},
|
|
8315
|
+
{
|
|
8316
|
+
"kind": "js",
|
|
8317
|
+
"name": "WEEKDAY_ABBR",
|
|
8318
|
+
"declaration": {
|
|
8319
|
+
"name": "WEEKDAY_ABBR",
|
|
8320
|
+
"module": "src/utils/calendar.ts"
|
|
8321
|
+
}
|
|
8322
|
+
},
|
|
8323
|
+
{
|
|
8324
|
+
"kind": "js",
|
|
8325
|
+
"name": "isWeekend",
|
|
8326
|
+
"declaration": {
|
|
8327
|
+
"name": "isWeekend",
|
|
8328
|
+
"module": "src/utils/calendar.ts"
|
|
8329
|
+
}
|
|
8330
|
+
},
|
|
8331
|
+
{
|
|
8332
|
+
"kind": "js",
|
|
8333
|
+
"name": "readCalendarEntryElement",
|
|
8334
|
+
"declaration": {
|
|
8335
|
+
"name": "readCalendarEntryElement",
|
|
8336
|
+
"module": "src/utils/calendar.ts"
|
|
8337
|
+
}
|
|
8338
|
+
},
|
|
8339
|
+
{
|
|
8340
|
+
"kind": "js",
|
|
8341
|
+
"name": "resolveEntry",
|
|
8342
|
+
"declaration": {
|
|
8343
|
+
"name": "resolveEntry",
|
|
8344
|
+
"module": "src/utils/calendar.ts"
|
|
8345
|
+
}
|
|
8346
|
+
},
|
|
8347
|
+
{
|
|
8348
|
+
"kind": "js",
|
|
8349
|
+
"name": "overlapsRange",
|
|
8350
|
+
"declaration": {
|
|
8351
|
+
"name": "overlapsRange",
|
|
8352
|
+
"module": "src/utils/calendar.ts"
|
|
8353
|
+
}
|
|
8354
|
+
},
|
|
8355
|
+
{
|
|
8356
|
+
"kind": "js",
|
|
8357
|
+
"name": "assignLanes",
|
|
8358
|
+
"declaration": {
|
|
8359
|
+
"name": "assignLanes",
|
|
8360
|
+
"module": "src/utils/calendar.ts"
|
|
8361
|
+
}
|
|
8362
|
+
}
|
|
8363
|
+
]
|
|
8364
|
+
},
|
|
6672
8365
|
{
|
|
6673
8366
|
"kind": "javascript-module",
|
|
6674
8367
|
"path": "src/utils/color.ts",
|