@websublime/line-components 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -0
- package/custom-elements.json +1009 -33
- package/dist/separator/index.d.ts +3 -0
- package/dist/separator/index.d.ts.map +1 -0
- package/dist/separator/index.js +62 -0
- package/dist/separator/index.js.map +1 -0
- package/dist/separator/separator.d.ts +32 -0
- package/dist/separator/separator.d.ts.map +1 -0
- package/dist/separator/separator.types.d.ts +3 -0
- package/dist/separator/separator.types.d.ts.map +1 -0
- package/dist/stack/index.d.ts +3 -0
- package/dist/stack/index.d.ts.map +1 -0
- package/dist/stack/index.js +155 -0
- package/dist/stack/index.js.map +1 -0
- package/dist/stack/stack.d.ts +37 -0
- package/dist/stack/stack.d.ts.map +1 -0
- package/dist/stack/stack.types.d.ts +9 -0
- package/dist/stack/stack.types.d.ts.map +1 -0
- package/package.json +9 -1
- package/src/separator/index.ts +3 -0
- package/src/separator/separator.ts +93 -0
- package/src/separator/separator.types.ts +2 -0
- package/src/stack/index.ts +3 -0
- package/src/stack/stack.ts +169 -0
- package/src/stack/stack.types.ts +11 -0
package/custom-elements.json
CHANGED
|
@@ -1177,6 +1177,451 @@
|
|
|
1177
1177
|
}
|
|
1178
1178
|
]
|
|
1179
1179
|
},
|
|
1180
|
+
{
|
|
1181
|
+
"kind": "javascript-module",
|
|
1182
|
+
"path": "src/separator/index.ts",
|
|
1183
|
+
"declarations": [],
|
|
1184
|
+
"exports": [
|
|
1185
|
+
{
|
|
1186
|
+
"kind": "js",
|
|
1187
|
+
"name": "LineSeparator",
|
|
1188
|
+
"declaration": {
|
|
1189
|
+
"name": "LineSeparator",
|
|
1190
|
+
"module": "./separator.js"
|
|
1191
|
+
}
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"kind": "js",
|
|
1195
|
+
"name": "SeparatorOrientation",
|
|
1196
|
+
"declaration": {
|
|
1197
|
+
"name": "SeparatorOrientation",
|
|
1198
|
+
"module": "./separator.types.js"
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
]
|
|
1202
|
+
},
|
|
1203
|
+
{
|
|
1204
|
+
"kind": "javascript-module",
|
|
1205
|
+
"path": "src/separator/separator.ts",
|
|
1206
|
+
"declarations": [
|
|
1207
|
+
{
|
|
1208
|
+
"kind": "class",
|
|
1209
|
+
"description": "`<line-separator>` draws a thin line between sections of content. The host\nis the line and the shadow root renders nothing. The host carries the\n`separator` role and its orientation as `ElementInternals` defaults, so an\nauthor `role` or `aria-*` attribute wins, and a host `aria-label` names it.\n`decorative` sets the role to `none`, so assistive technology skips the\nline; give a decorative separator no `aria-label`. It adds no spacing.",
|
|
1210
|
+
"name": "LineSeparator",
|
|
1211
|
+
"cssProperties": [
|
|
1212
|
+
{
|
|
1213
|
+
"description": "Colour of the line.",
|
|
1214
|
+
"name": "--line-separator-color",
|
|
1215
|
+
"default": "var(--line-gray-6, currentColor)"
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"description": "Thickness of the line.",
|
|
1219
|
+
"name": "--line-separator-thickness",
|
|
1220
|
+
"default": "var(--line-border-1, 1px)"
|
|
1221
|
+
}
|
|
1222
|
+
],
|
|
1223
|
+
"members": [
|
|
1224
|
+
{
|
|
1225
|
+
"kind": "field",
|
|
1226
|
+
"name": "orientation",
|
|
1227
|
+
"privacy": "public",
|
|
1228
|
+
"type": {
|
|
1229
|
+
"text": "SeparatorOrientation"
|
|
1230
|
+
},
|
|
1231
|
+
"description": "Direction of the line; an unknown value behaves as `horizontal`.",
|
|
1232
|
+
"default": "'horizontal'",
|
|
1233
|
+
"attribute": "orientation",
|
|
1234
|
+
"reflects": true
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"kind": "field",
|
|
1238
|
+
"name": "decorative",
|
|
1239
|
+
"privacy": "public",
|
|
1240
|
+
"type": {
|
|
1241
|
+
"text": "boolean"
|
|
1242
|
+
},
|
|
1243
|
+
"description": "Removes the separator from the accessibility tree (role `none`); the line still draws.",
|
|
1244
|
+
"default": "false",
|
|
1245
|
+
"attribute": "decorative",
|
|
1246
|
+
"reflects": true
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"kind": "field",
|
|
1250
|
+
"name": "properties",
|
|
1251
|
+
"type": {
|
|
1252
|
+
"text": "PropertyDeclarations"
|
|
1253
|
+
},
|
|
1254
|
+
"static": true,
|
|
1255
|
+
"default": "{ direction: { attribute: false, noAccessor: true }, }",
|
|
1256
|
+
"description": "`direction` is reactive but owns its accessor and has no attribute.",
|
|
1257
|
+
"inheritedFrom": {
|
|
1258
|
+
"name": "DirectionMixin",
|
|
1259
|
+
"module": "../line-core/src/mixins/direction.ts"
|
|
1260
|
+
}
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"kind": "field",
|
|
1264
|
+
"name": "#direction",
|
|
1265
|
+
"privacy": "private",
|
|
1266
|
+
"type": {
|
|
1267
|
+
"text": "Direction"
|
|
1268
|
+
},
|
|
1269
|
+
"default": "'ltr'",
|
|
1270
|
+
"inheritedFrom": {
|
|
1271
|
+
"name": "DirectionMixin",
|
|
1272
|
+
"module": "../line-core/src/mixins/direction.ts"
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"kind": "field",
|
|
1277
|
+
"name": "#recomputeDirection",
|
|
1278
|
+
"privacy": "private",
|
|
1279
|
+
"readonly": true,
|
|
1280
|
+
"inheritedFrom": {
|
|
1281
|
+
"name": "DirectionMixin",
|
|
1282
|
+
"module": "../line-core/src/mixins/direction.ts"
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"kind": "field",
|
|
1287
|
+
"name": "direction",
|
|
1288
|
+
"privacy": "public",
|
|
1289
|
+
"type": {
|
|
1290
|
+
"text": "Direction"
|
|
1291
|
+
},
|
|
1292
|
+
"description": "Resolved text direction of the host.",
|
|
1293
|
+
"readonly": true,
|
|
1294
|
+
"inheritedFrom": {
|
|
1295
|
+
"name": "DirectionMixin",
|
|
1296
|
+
"module": "../line-core/src/mixins/direction.ts"
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"kind": "field",
|
|
1301
|
+
"name": "version",
|
|
1302
|
+
"type": {
|
|
1303
|
+
"text": "string"
|
|
1304
|
+
},
|
|
1305
|
+
"static": true,
|
|
1306
|
+
"default": "'0.0.0'",
|
|
1307
|
+
"description": "Component semver string. Surfaced by the Inspector as `data-line-version`.",
|
|
1308
|
+
"inheritedFrom": {
|
|
1309
|
+
"name": "LineElement",
|
|
1310
|
+
"module": "../line-core/src/line-element.ts"
|
|
1311
|
+
}
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
"kind": "field",
|
|
1315
|
+
"name": "docs",
|
|
1316
|
+
"type": {
|
|
1317
|
+
"text": "string"
|
|
1318
|
+
},
|
|
1319
|
+
"static": true,
|
|
1320
|
+
"default": "''",
|
|
1321
|
+
"description": "Documentation URL. Surfaced by the Inspector as `data-line-docs` when set.",
|
|
1322
|
+
"inheritedFrom": {
|
|
1323
|
+
"name": "MetadataMixin",
|
|
1324
|
+
"module": "../line-core/src/mixins/metadata.ts"
|
|
1325
|
+
}
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
"kind": "field",
|
|
1329
|
+
"name": "qa",
|
|
1330
|
+
"type": {
|
|
1331
|
+
"text": "string[]"
|
|
1332
|
+
},
|
|
1333
|
+
"static": true,
|
|
1334
|
+
"default": "[]",
|
|
1335
|
+
"description": "QA tags for the component.",
|
|
1336
|
+
"inheritedFrom": {
|
|
1337
|
+
"name": "MetadataMixin",
|
|
1338
|
+
"module": "../line-core/src/mixins/metadata.ts"
|
|
1339
|
+
}
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
"kind": "field",
|
|
1343
|
+
"name": "scope",
|
|
1344
|
+
"type": {
|
|
1345
|
+
"text": "string"
|
|
1346
|
+
},
|
|
1347
|
+
"static": true,
|
|
1348
|
+
"default": "''",
|
|
1349
|
+
"description": "Component scope identifier.",
|
|
1350
|
+
"inheritedFrom": {
|
|
1351
|
+
"name": "MetadataMixin",
|
|
1352
|
+
"module": "../line-core/src/mixins/metadata.ts"
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"kind": "field",
|
|
1357
|
+
"name": "#inspectorDialog",
|
|
1358
|
+
"privacy": "private",
|
|
1359
|
+
"type": {
|
|
1360
|
+
"text": "HTMLDialogElement | null"
|
|
1361
|
+
},
|
|
1362
|
+
"default": "null",
|
|
1363
|
+
"description": "Active dialog panel while the inspector is enabled, else `null`.",
|
|
1364
|
+
"inheritedFrom": {
|
|
1365
|
+
"name": "InspectorMixin",
|
|
1366
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1367
|
+
}
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"kind": "field",
|
|
1371
|
+
"name": "#onInspectorKeydown",
|
|
1372
|
+
"privacy": "private",
|
|
1373
|
+
"readonly": true,
|
|
1374
|
+
"description": "Bound keydown handler, retained so it can be removed on disconnect.",
|
|
1375
|
+
"inheritedFrom": {
|
|
1376
|
+
"name": "InspectorMixin",
|
|
1377
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"kind": "method",
|
|
1382
|
+
"name": "#activateInspector",
|
|
1383
|
+
"privacy": "private",
|
|
1384
|
+
"return": {
|
|
1385
|
+
"type": {
|
|
1386
|
+
"text": "void"
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
"description": "Wire activation marker, host metadata attributes, the hotkey, and the\ndev-only hover-outline stylesheet.",
|
|
1390
|
+
"inheritedFrom": {
|
|
1391
|
+
"name": "InspectorMixin",
|
|
1392
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1393
|
+
}
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"kind": "method",
|
|
1397
|
+
"name": "#deactivateInspector",
|
|
1398
|
+
"privacy": "private",
|
|
1399
|
+
"return": {
|
|
1400
|
+
"type": {
|
|
1401
|
+
"text": "void"
|
|
1402
|
+
}
|
|
1403
|
+
},
|
|
1404
|
+
"description": "Remove the hotkey, tear down the dialog, drop host attributes, and remove\nthe dev-only hover-outline sheet so the active path leaks nothing.",
|
|
1405
|
+
"inheritedFrom": {
|
|
1406
|
+
"name": "InspectorMixin",
|
|
1407
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1408
|
+
}
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
"kind": "method",
|
|
1412
|
+
"name": "#inspectorRoot",
|
|
1413
|
+
"privacy": "private",
|
|
1414
|
+
"return": {
|
|
1415
|
+
"type": {
|
|
1416
|
+
"text": "ShadowRoot | null"
|
|
1417
|
+
}
|
|
1418
|
+
},
|
|
1419
|
+
"description": "The shadow root that carries `adoptedStyleSheets`, or `null`.",
|
|
1420
|
+
"inheritedFrom": {
|
|
1421
|
+
"name": "InspectorMixin",
|
|
1422
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1423
|
+
}
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"kind": "method",
|
|
1427
|
+
"name": "#adoptInspectorOutline",
|
|
1428
|
+
"privacy": "private",
|
|
1429
|
+
"return": {
|
|
1430
|
+
"type": {
|
|
1431
|
+
"text": "void"
|
|
1432
|
+
}
|
|
1433
|
+
},
|
|
1434
|
+
"description": "Append the singleton hover-outline sheet to the shadow root's\n`adoptedStyleSheets` (idempotent — never duplicated, never replaces the\narray). No-op when the sheet or root is unavailable.",
|
|
1435
|
+
"inheritedFrom": {
|
|
1436
|
+
"name": "InspectorMixin",
|
|
1437
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1438
|
+
}
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"kind": "method",
|
|
1442
|
+
"name": "#releaseInspectorOutline",
|
|
1443
|
+
"privacy": "private",
|
|
1444
|
+
"return": {
|
|
1445
|
+
"type": {
|
|
1446
|
+
"text": "void"
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
"description": "Remove the singleton hover-outline sheet from the shadow root's\n`adoptedStyleSheets`, preserving every other adopted sheet.",
|
|
1450
|
+
"inheritedFrom": {
|
|
1451
|
+
"name": "InspectorMixin",
|
|
1452
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"kind": "method",
|
|
1457
|
+
"name": "#inspectorVersion",
|
|
1458
|
+
"privacy": "private",
|
|
1459
|
+
"return": {
|
|
1460
|
+
"type": {
|
|
1461
|
+
"text": "string"
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
"description": "Read the host's static `version`, defaulting to `''` when absent.",
|
|
1465
|
+
"inheritedFrom": {
|
|
1466
|
+
"name": "InspectorMixin",
|
|
1467
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"kind": "method",
|
|
1472
|
+
"name": "#inspectorDocs",
|
|
1473
|
+
"privacy": "private",
|
|
1474
|
+
"return": {
|
|
1475
|
+
"type": {
|
|
1476
|
+
"text": "string"
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1479
|
+
"description": "Read the host's static `docs` URL defensively (D3 may not provide one).",
|
|
1480
|
+
"inheritedFrom": {
|
|
1481
|
+
"name": "InspectorMixin",
|
|
1482
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1483
|
+
}
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
"kind": "method",
|
|
1487
|
+
"name": "#toggleInspectorPanel",
|
|
1488
|
+
"privacy": "private",
|
|
1489
|
+
"return": {
|
|
1490
|
+
"type": {
|
|
1491
|
+
"text": "void"
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
"description": "Open the panel if closed, close it if already open.",
|
|
1495
|
+
"inheritedFrom": {
|
|
1496
|
+
"name": "InspectorMixin",
|
|
1497
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1498
|
+
}
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"kind": "method",
|
|
1502
|
+
"name": "#openInspectorPanel",
|
|
1503
|
+
"privacy": "private",
|
|
1504
|
+
"return": {
|
|
1505
|
+
"type": {
|
|
1506
|
+
"text": "void"
|
|
1507
|
+
}
|
|
1508
|
+
},
|
|
1509
|
+
"description": "Build (once) and open the `<dialog>` metadata panel in the shadow root.",
|
|
1510
|
+
"inheritedFrom": {
|
|
1511
|
+
"name": "InspectorMixin",
|
|
1512
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"kind": "field",
|
|
1517
|
+
"name": "#internals",
|
|
1518
|
+
"privacy": "private",
|
|
1519
|
+
"type": {
|
|
1520
|
+
"text": "ElementInternals"
|
|
1521
|
+
},
|
|
1522
|
+
"inheritedFrom": {
|
|
1523
|
+
"name": "LineElement",
|
|
1524
|
+
"module": "../line-core/src/line-element.ts"
|
|
1525
|
+
}
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"kind": "field",
|
|
1529
|
+
"name": "[INTERNALS]",
|
|
1530
|
+
"type": {
|
|
1531
|
+
"text": "ElementInternals"
|
|
1532
|
+
},
|
|
1533
|
+
"privacy": "protected",
|
|
1534
|
+
"description": "The element's `ElementInternals`, attached once in the constructor (spec §6.C.2, SD19).",
|
|
1535
|
+
"readonly": true,
|
|
1536
|
+
"inheritedFrom": {
|
|
1537
|
+
"name": "LineElement",
|
|
1538
|
+
"module": "../line-core/src/line-element.ts"
|
|
1539
|
+
}
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"kind": "method",
|
|
1543
|
+
"name": "reflectState",
|
|
1544
|
+
"privacy": "protected",
|
|
1545
|
+
"return": {
|
|
1546
|
+
"type": {
|
|
1547
|
+
"text": "void"
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
"parameters": [
|
|
1551
|
+
{
|
|
1552
|
+
"name": "name",
|
|
1553
|
+
"type": {
|
|
1554
|
+
"text": "string"
|
|
1555
|
+
}
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
"name": "active",
|
|
1559
|
+
"type": {
|
|
1560
|
+
"text": "boolean"
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
],
|
|
1564
|
+
"description": "Reflects machine state `name` on the host as the attribute `data-<name>`\nand the custom state `:state(<name>)`, both verbatim, so a kebab-case name\nsuch as `focus-visible` keeps its spelling. The custom state is skipped\nwhere the internals have no `states`.",
|
|
1565
|
+
"inheritedFrom": {
|
|
1566
|
+
"name": "LineElement",
|
|
1567
|
+
"module": "../line-core/src/line-element.ts"
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
],
|
|
1571
|
+
"attributes": [
|
|
1572
|
+
{
|
|
1573
|
+
"name": "orientation",
|
|
1574
|
+
"type": {
|
|
1575
|
+
"text": "SeparatorOrientation"
|
|
1576
|
+
},
|
|
1577
|
+
"description": "Direction of the line; an unknown value behaves as `horizontal`.",
|
|
1578
|
+
"default": "'horizontal'",
|
|
1579
|
+
"fieldName": "orientation"
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
"name": "decorative",
|
|
1583
|
+
"type": {
|
|
1584
|
+
"text": "boolean"
|
|
1585
|
+
},
|
|
1586
|
+
"description": "Removes the separator from the accessibility tree (role `none`); the line still draws.",
|
|
1587
|
+
"default": "false",
|
|
1588
|
+
"fieldName": "decorative"
|
|
1589
|
+
}
|
|
1590
|
+
],
|
|
1591
|
+
"superclass": {
|
|
1592
|
+
"name": "LineElement",
|
|
1593
|
+
"package": "@websublime/line-core"
|
|
1594
|
+
},
|
|
1595
|
+
"summary": "A thin horizontal or vertical line that separates sections of content.",
|
|
1596
|
+
"tagName": "line-separator",
|
|
1597
|
+
"customElement": true
|
|
1598
|
+
}
|
|
1599
|
+
],
|
|
1600
|
+
"exports": [
|
|
1601
|
+
{
|
|
1602
|
+
"kind": "js",
|
|
1603
|
+
"name": "LineSeparator",
|
|
1604
|
+
"declaration": {
|
|
1605
|
+
"name": "LineSeparator",
|
|
1606
|
+
"module": "src/separator/separator.ts"
|
|
1607
|
+
}
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
"kind": "custom-element-definition",
|
|
1611
|
+
"name": "line-separator",
|
|
1612
|
+
"declaration": {
|
|
1613
|
+
"name": "LineSeparator",
|
|
1614
|
+
"module": "src/separator/separator.ts"
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
]
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
"kind": "javascript-module",
|
|
1621
|
+
"path": "src/separator/separator.types.ts",
|
|
1622
|
+
"declarations": [],
|
|
1623
|
+
"exports": []
|
|
1624
|
+
},
|
|
1180
1625
|
{
|
|
1181
1626
|
"kind": "javascript-module",
|
|
1182
1627
|
"path": "src/shared/button-machine.ts",
|
|
@@ -1187,7 +1632,25 @@
|
|
|
1187
1632
|
},
|
|
1188
1633
|
{
|
|
1189
1634
|
"kind": "function",
|
|
1190
|
-
"name": "connect",
|
|
1635
|
+
"name": "connect",
|
|
1636
|
+
"return": {
|
|
1637
|
+
"type": {
|
|
1638
|
+
"text": "ButtonApi"
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
"parameters": [
|
|
1642
|
+
{
|
|
1643
|
+
"name": "service",
|
|
1644
|
+
"type": {
|
|
1645
|
+
"text": "ButtonService"
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
],
|
|
1649
|
+
"description": "Reads the running machine at call time."
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
"kind": "function",
|
|
1653
|
+
"name": "connectStatic",
|
|
1191
1654
|
"return": {
|
|
1192
1655
|
"type": {
|
|
1193
1656
|
"text": "ButtonApi"
|
|
@@ -1195,60 +1658,573 @@
|
|
|
1195
1658
|
},
|
|
1196
1659
|
"parameters": [
|
|
1197
1660
|
{
|
|
1198
|
-
"name": "
|
|
1661
|
+
"name": "props",
|
|
1662
|
+
"type": {
|
|
1663
|
+
"text": "ButtonMachineProps"
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
],
|
|
1667
|
+
"description": "The same view without a machine, for the controller's static fallback (MANIFESTO Law 9)."
|
|
1668
|
+
}
|
|
1669
|
+
],
|
|
1670
|
+
"exports": [
|
|
1671
|
+
{
|
|
1672
|
+
"kind": "js",
|
|
1673
|
+
"name": "buttonMachine",
|
|
1674
|
+
"declaration": {
|
|
1675
|
+
"name": "buttonMachine",
|
|
1676
|
+
"module": "src/shared/button-machine.ts"
|
|
1677
|
+
}
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"kind": "js",
|
|
1681
|
+
"name": "connect",
|
|
1682
|
+
"declaration": {
|
|
1683
|
+
"name": "connect",
|
|
1684
|
+
"module": "src/shared/button-machine.ts"
|
|
1685
|
+
}
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
"kind": "js",
|
|
1689
|
+
"name": "connectStatic",
|
|
1690
|
+
"declaration": {
|
|
1691
|
+
"name": "connectStatic",
|
|
1692
|
+
"module": "src/shared/button-machine.ts"
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
]
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
"kind": "javascript-module",
|
|
1699
|
+
"path": "src/stack/index.ts",
|
|
1700
|
+
"declarations": [],
|
|
1701
|
+
"exports": [
|
|
1702
|
+
{
|
|
1703
|
+
"kind": "js",
|
|
1704
|
+
"name": "LineStack",
|
|
1705
|
+
"declaration": {
|
|
1706
|
+
"name": "LineStack",
|
|
1707
|
+
"module": "./stack.js"
|
|
1708
|
+
}
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"kind": "js",
|
|
1712
|
+
"name": "StackAlign",
|
|
1713
|
+
"declaration": {
|
|
1714
|
+
"name": "StackAlign",
|
|
1715
|
+
"module": "./stack.types.js"
|
|
1716
|
+
}
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"kind": "js",
|
|
1720
|
+
"name": "StackGap",
|
|
1721
|
+
"declaration": {
|
|
1722
|
+
"name": "StackGap",
|
|
1723
|
+
"module": "./stack.types.js"
|
|
1724
|
+
}
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"kind": "js",
|
|
1728
|
+
"name": "StackJustify",
|
|
1729
|
+
"declaration": {
|
|
1730
|
+
"name": "StackJustify",
|
|
1731
|
+
"module": "./stack.types.js"
|
|
1732
|
+
}
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"kind": "js",
|
|
1736
|
+
"name": "StackOrientation",
|
|
1737
|
+
"declaration": {
|
|
1738
|
+
"name": "StackOrientation",
|
|
1739
|
+
"module": "./stack.types.js"
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
]
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"kind": "javascript-module",
|
|
1746
|
+
"path": "src/stack/stack.ts",
|
|
1747
|
+
"declarations": [
|
|
1748
|
+
{
|
|
1749
|
+
"kind": "class",
|
|
1750
|
+
"description": "`<line-stack>` lays out its children in one row or one column with a gap\nbetween them. The host is the flex container and the slotted children are\nits flex items. It adds no role, so it stays `generic`; put `role=\"list\"`\non the host and `role=\"listitem\"` on the children to build a list.",
|
|
1751
|
+
"name": "LineStack",
|
|
1752
|
+
"cssProperties": [
|
|
1753
|
+
{
|
|
1754
|
+
"description": "Space between items; `gap=\"0\"` uses `0` and `gap=\"N\"` uses `var(--line-layout-gap-N)`.",
|
|
1755
|
+
"name": "--line-stack-gap",
|
|
1756
|
+
"default": "var(--line-layout-gap-2)"
|
|
1757
|
+
}
|
|
1758
|
+
],
|
|
1759
|
+
"slots": [
|
|
1760
|
+
{
|
|
1761
|
+
"description": "The children; each element becomes a flex item.",
|
|
1762
|
+
"name": ""
|
|
1763
|
+
}
|
|
1764
|
+
],
|
|
1765
|
+
"members": [
|
|
1766
|
+
{
|
|
1767
|
+
"kind": "field",
|
|
1768
|
+
"name": "orientation",
|
|
1769
|
+
"privacy": "public",
|
|
1770
|
+
"type": {
|
|
1771
|
+
"text": "StackOrientation"
|
|
1772
|
+
},
|
|
1773
|
+
"description": "Main axis; an unknown value behaves as `vertical`. A horizontal stack follows the writing direction.",
|
|
1774
|
+
"default": "'vertical'",
|
|
1775
|
+
"attribute": "orientation",
|
|
1776
|
+
"reflects": true
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"kind": "field",
|
|
1780
|
+
"name": "justify",
|
|
1781
|
+
"privacy": "public",
|
|
1782
|
+
"type": {
|
|
1783
|
+
"text": "StackJustify"
|
|
1784
|
+
},
|
|
1785
|
+
"description": "Distribution on the main axis; `stretch` grows every item. An unknown value behaves as `start`.",
|
|
1786
|
+
"default": "'start'",
|
|
1787
|
+
"attribute": "justify",
|
|
1788
|
+
"reflects": true
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
"kind": "field",
|
|
1792
|
+
"name": "align",
|
|
1793
|
+
"privacy": "public",
|
|
1794
|
+
"type": {
|
|
1795
|
+
"text": "StackAlign"
|
|
1796
|
+
},
|
|
1797
|
+
"description": "Alignment on the cross axis; an unknown value behaves as `stretch`.",
|
|
1798
|
+
"default": "'stretch'",
|
|
1799
|
+
"attribute": "align",
|
|
1800
|
+
"reflects": true
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"kind": "field",
|
|
1804
|
+
"name": "gap",
|
|
1805
|
+
"privacy": "public",
|
|
1806
|
+
"type": {
|
|
1807
|
+
"text": "StackGap | undefined"
|
|
1808
|
+
},
|
|
1809
|
+
"description": "Gap step from `0` to `5`; `undefined` or an unknown value gives step `2`.",
|
|
1810
|
+
"attribute": "gap",
|
|
1811
|
+
"reflects": true
|
|
1812
|
+
},
|
|
1813
|
+
{
|
|
1814
|
+
"kind": "field",
|
|
1815
|
+
"name": "wrap",
|
|
1816
|
+
"privacy": "public",
|
|
1817
|
+
"type": {
|
|
1818
|
+
"text": "boolean"
|
|
1819
|
+
},
|
|
1820
|
+
"description": "Lets the items flow onto more lines when they run out of space.",
|
|
1821
|
+
"default": "false",
|
|
1822
|
+
"attribute": "wrap",
|
|
1823
|
+
"reflects": true
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"kind": "field",
|
|
1827
|
+
"name": "properties",
|
|
1828
|
+
"type": {
|
|
1829
|
+
"text": "PropertyDeclarations"
|
|
1830
|
+
},
|
|
1831
|
+
"static": true,
|
|
1832
|
+
"default": "{ direction: { attribute: false, noAccessor: true }, }",
|
|
1833
|
+
"description": "`direction` is reactive but owns its accessor and has no attribute.",
|
|
1834
|
+
"inheritedFrom": {
|
|
1835
|
+
"name": "DirectionMixin",
|
|
1836
|
+
"module": "../line-core/src/mixins/direction.ts"
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"kind": "field",
|
|
1841
|
+
"name": "#direction",
|
|
1842
|
+
"privacy": "private",
|
|
1843
|
+
"type": {
|
|
1844
|
+
"text": "Direction"
|
|
1845
|
+
},
|
|
1846
|
+
"default": "'ltr'",
|
|
1847
|
+
"inheritedFrom": {
|
|
1848
|
+
"name": "DirectionMixin",
|
|
1849
|
+
"module": "../line-core/src/mixins/direction.ts"
|
|
1850
|
+
}
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"kind": "field",
|
|
1854
|
+
"name": "#recomputeDirection",
|
|
1855
|
+
"privacy": "private",
|
|
1856
|
+
"readonly": true,
|
|
1857
|
+
"inheritedFrom": {
|
|
1858
|
+
"name": "DirectionMixin",
|
|
1859
|
+
"module": "../line-core/src/mixins/direction.ts"
|
|
1860
|
+
}
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"kind": "field",
|
|
1864
|
+
"name": "direction",
|
|
1865
|
+
"privacy": "public",
|
|
1866
|
+
"type": {
|
|
1867
|
+
"text": "Direction"
|
|
1868
|
+
},
|
|
1869
|
+
"description": "Resolved text direction of the host.",
|
|
1870
|
+
"readonly": true,
|
|
1871
|
+
"inheritedFrom": {
|
|
1872
|
+
"name": "DirectionMixin",
|
|
1873
|
+
"module": "../line-core/src/mixins/direction.ts"
|
|
1874
|
+
}
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
"kind": "field",
|
|
1878
|
+
"name": "version",
|
|
1879
|
+
"type": {
|
|
1880
|
+
"text": "string"
|
|
1881
|
+
},
|
|
1882
|
+
"static": true,
|
|
1883
|
+
"default": "'0.0.0'",
|
|
1884
|
+
"description": "Component semver string. Surfaced by the Inspector as `data-line-version`.",
|
|
1885
|
+
"inheritedFrom": {
|
|
1886
|
+
"name": "LineElement",
|
|
1887
|
+
"module": "../line-core/src/line-element.ts"
|
|
1888
|
+
}
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"kind": "field",
|
|
1892
|
+
"name": "docs",
|
|
1893
|
+
"type": {
|
|
1894
|
+
"text": "string"
|
|
1895
|
+
},
|
|
1896
|
+
"static": true,
|
|
1897
|
+
"default": "''",
|
|
1898
|
+
"description": "Documentation URL. Surfaced by the Inspector as `data-line-docs` when set.",
|
|
1899
|
+
"inheritedFrom": {
|
|
1900
|
+
"name": "MetadataMixin",
|
|
1901
|
+
"module": "../line-core/src/mixins/metadata.ts"
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
"kind": "field",
|
|
1906
|
+
"name": "qa",
|
|
1907
|
+
"type": {
|
|
1908
|
+
"text": "string[]"
|
|
1909
|
+
},
|
|
1910
|
+
"static": true,
|
|
1911
|
+
"default": "[]",
|
|
1912
|
+
"description": "QA tags for the component.",
|
|
1913
|
+
"inheritedFrom": {
|
|
1914
|
+
"name": "MetadataMixin",
|
|
1915
|
+
"module": "../line-core/src/mixins/metadata.ts"
|
|
1916
|
+
}
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"kind": "field",
|
|
1920
|
+
"name": "scope",
|
|
1921
|
+
"type": {
|
|
1922
|
+
"text": "string"
|
|
1923
|
+
},
|
|
1924
|
+
"static": true,
|
|
1925
|
+
"default": "''",
|
|
1926
|
+
"description": "Component scope identifier.",
|
|
1927
|
+
"inheritedFrom": {
|
|
1928
|
+
"name": "MetadataMixin",
|
|
1929
|
+
"module": "../line-core/src/mixins/metadata.ts"
|
|
1930
|
+
}
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
"kind": "field",
|
|
1934
|
+
"name": "#inspectorDialog",
|
|
1935
|
+
"privacy": "private",
|
|
1936
|
+
"type": {
|
|
1937
|
+
"text": "HTMLDialogElement | null"
|
|
1938
|
+
},
|
|
1939
|
+
"default": "null",
|
|
1940
|
+
"description": "Active dialog panel while the inspector is enabled, else `null`.",
|
|
1941
|
+
"inheritedFrom": {
|
|
1942
|
+
"name": "InspectorMixin",
|
|
1943
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1944
|
+
}
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"kind": "field",
|
|
1948
|
+
"name": "#onInspectorKeydown",
|
|
1949
|
+
"privacy": "private",
|
|
1950
|
+
"readonly": true,
|
|
1951
|
+
"description": "Bound keydown handler, retained so it can be removed on disconnect.",
|
|
1952
|
+
"inheritedFrom": {
|
|
1953
|
+
"name": "InspectorMixin",
|
|
1954
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1955
|
+
}
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"kind": "method",
|
|
1959
|
+
"name": "#activateInspector",
|
|
1960
|
+
"privacy": "private",
|
|
1961
|
+
"return": {
|
|
1962
|
+
"type": {
|
|
1963
|
+
"text": "void"
|
|
1964
|
+
}
|
|
1965
|
+
},
|
|
1966
|
+
"description": "Wire activation marker, host metadata attributes, the hotkey, and the\ndev-only hover-outline stylesheet.",
|
|
1967
|
+
"inheritedFrom": {
|
|
1968
|
+
"name": "InspectorMixin",
|
|
1969
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1970
|
+
}
|
|
1971
|
+
},
|
|
1972
|
+
{
|
|
1973
|
+
"kind": "method",
|
|
1974
|
+
"name": "#deactivateInspector",
|
|
1975
|
+
"privacy": "private",
|
|
1976
|
+
"return": {
|
|
1977
|
+
"type": {
|
|
1978
|
+
"text": "void"
|
|
1979
|
+
}
|
|
1980
|
+
},
|
|
1981
|
+
"description": "Remove the hotkey, tear down the dialog, drop host attributes, and remove\nthe dev-only hover-outline sheet so the active path leaks nothing.",
|
|
1982
|
+
"inheritedFrom": {
|
|
1983
|
+
"name": "InspectorMixin",
|
|
1984
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
1985
|
+
}
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
"kind": "method",
|
|
1989
|
+
"name": "#inspectorRoot",
|
|
1990
|
+
"privacy": "private",
|
|
1991
|
+
"return": {
|
|
1992
|
+
"type": {
|
|
1993
|
+
"text": "ShadowRoot | null"
|
|
1994
|
+
}
|
|
1995
|
+
},
|
|
1996
|
+
"description": "The shadow root that carries `adoptedStyleSheets`, or `null`.",
|
|
1997
|
+
"inheritedFrom": {
|
|
1998
|
+
"name": "InspectorMixin",
|
|
1999
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
2000
|
+
}
|
|
2001
|
+
},
|
|
2002
|
+
{
|
|
2003
|
+
"kind": "method",
|
|
2004
|
+
"name": "#adoptInspectorOutline",
|
|
2005
|
+
"privacy": "private",
|
|
2006
|
+
"return": {
|
|
2007
|
+
"type": {
|
|
2008
|
+
"text": "void"
|
|
2009
|
+
}
|
|
2010
|
+
},
|
|
2011
|
+
"description": "Append the singleton hover-outline sheet to the shadow root's\n`adoptedStyleSheets` (idempotent — never duplicated, never replaces the\narray). No-op when the sheet or root is unavailable.",
|
|
2012
|
+
"inheritedFrom": {
|
|
2013
|
+
"name": "InspectorMixin",
|
|
2014
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
2015
|
+
}
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"kind": "method",
|
|
2019
|
+
"name": "#releaseInspectorOutline",
|
|
2020
|
+
"privacy": "private",
|
|
2021
|
+
"return": {
|
|
2022
|
+
"type": {
|
|
2023
|
+
"text": "void"
|
|
2024
|
+
}
|
|
2025
|
+
},
|
|
2026
|
+
"description": "Remove the singleton hover-outline sheet from the shadow root's\n`adoptedStyleSheets`, preserving every other adopted sheet.",
|
|
2027
|
+
"inheritedFrom": {
|
|
2028
|
+
"name": "InspectorMixin",
|
|
2029
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
2030
|
+
}
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
"kind": "method",
|
|
2034
|
+
"name": "#inspectorVersion",
|
|
2035
|
+
"privacy": "private",
|
|
2036
|
+
"return": {
|
|
2037
|
+
"type": {
|
|
2038
|
+
"text": "string"
|
|
2039
|
+
}
|
|
2040
|
+
},
|
|
2041
|
+
"description": "Read the host's static `version`, defaulting to `''` when absent.",
|
|
2042
|
+
"inheritedFrom": {
|
|
2043
|
+
"name": "InspectorMixin",
|
|
2044
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
2045
|
+
}
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"kind": "method",
|
|
2049
|
+
"name": "#inspectorDocs",
|
|
2050
|
+
"privacy": "private",
|
|
2051
|
+
"return": {
|
|
2052
|
+
"type": {
|
|
2053
|
+
"text": "string"
|
|
2054
|
+
}
|
|
2055
|
+
},
|
|
2056
|
+
"description": "Read the host's static `docs` URL defensively (D3 may not provide one).",
|
|
2057
|
+
"inheritedFrom": {
|
|
2058
|
+
"name": "InspectorMixin",
|
|
2059
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
2060
|
+
}
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
"kind": "method",
|
|
2064
|
+
"name": "#toggleInspectorPanel",
|
|
2065
|
+
"privacy": "private",
|
|
2066
|
+
"return": {
|
|
2067
|
+
"type": {
|
|
2068
|
+
"text": "void"
|
|
2069
|
+
}
|
|
2070
|
+
},
|
|
2071
|
+
"description": "Open the panel if closed, close it if already open.",
|
|
2072
|
+
"inheritedFrom": {
|
|
2073
|
+
"name": "InspectorMixin",
|
|
2074
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
2075
|
+
}
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"kind": "method",
|
|
2079
|
+
"name": "#openInspectorPanel",
|
|
2080
|
+
"privacy": "private",
|
|
2081
|
+
"return": {
|
|
2082
|
+
"type": {
|
|
2083
|
+
"text": "void"
|
|
2084
|
+
}
|
|
2085
|
+
},
|
|
2086
|
+
"description": "Build (once) and open the `<dialog>` metadata panel in the shadow root.",
|
|
2087
|
+
"inheritedFrom": {
|
|
2088
|
+
"name": "InspectorMixin",
|
|
2089
|
+
"module": "../line-core/src/mixins/inspector.ts"
|
|
2090
|
+
}
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
"kind": "field",
|
|
2094
|
+
"name": "#internals",
|
|
2095
|
+
"privacy": "private",
|
|
1199
2096
|
"type": {
|
|
1200
|
-
"text": "
|
|
2097
|
+
"text": "ElementInternals"
|
|
2098
|
+
},
|
|
2099
|
+
"inheritedFrom": {
|
|
2100
|
+
"name": "LineElement",
|
|
2101
|
+
"module": "../line-core/src/line-element.ts"
|
|
2102
|
+
}
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
"kind": "field",
|
|
2106
|
+
"name": "[INTERNALS]",
|
|
2107
|
+
"type": {
|
|
2108
|
+
"text": "ElementInternals"
|
|
2109
|
+
},
|
|
2110
|
+
"privacy": "protected",
|
|
2111
|
+
"description": "The element's `ElementInternals`, attached once in the constructor (spec §6.C.2, SD19).",
|
|
2112
|
+
"readonly": true,
|
|
2113
|
+
"inheritedFrom": {
|
|
2114
|
+
"name": "LineElement",
|
|
2115
|
+
"module": "../line-core/src/line-element.ts"
|
|
2116
|
+
}
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
"kind": "method",
|
|
2120
|
+
"name": "reflectState",
|
|
2121
|
+
"privacy": "protected",
|
|
2122
|
+
"return": {
|
|
2123
|
+
"type": {
|
|
2124
|
+
"text": "void"
|
|
2125
|
+
}
|
|
2126
|
+
},
|
|
2127
|
+
"parameters": [
|
|
2128
|
+
{
|
|
2129
|
+
"name": "name",
|
|
2130
|
+
"type": {
|
|
2131
|
+
"text": "string"
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
"name": "active",
|
|
2136
|
+
"type": {
|
|
2137
|
+
"text": "boolean"
|
|
2138
|
+
}
|
|
2139
|
+
}
|
|
2140
|
+
],
|
|
2141
|
+
"description": "Reflects machine state `name` on the host as the attribute `data-<name>`\nand the custom state `:state(<name>)`, both verbatim, so a kebab-case name\nsuch as `focus-visible` keeps its spelling. The custom state is skipped\nwhere the internals have no `states`.",
|
|
2142
|
+
"inheritedFrom": {
|
|
2143
|
+
"name": "LineElement",
|
|
2144
|
+
"module": "../line-core/src/line-element.ts"
|
|
1201
2145
|
}
|
|
1202
2146
|
}
|
|
1203
2147
|
],
|
|
1204
|
-
"
|
|
1205
|
-
},
|
|
1206
|
-
{
|
|
1207
|
-
"kind": "function",
|
|
1208
|
-
"name": "connectStatic",
|
|
1209
|
-
"return": {
|
|
1210
|
-
"type": {
|
|
1211
|
-
"text": "ButtonApi"
|
|
1212
|
-
}
|
|
1213
|
-
},
|
|
1214
|
-
"parameters": [
|
|
2148
|
+
"attributes": [
|
|
1215
2149
|
{
|
|
1216
|
-
"name": "
|
|
2150
|
+
"name": "orientation",
|
|
1217
2151
|
"type": {
|
|
1218
|
-
"text": "
|
|
1219
|
-
}
|
|
2152
|
+
"text": "StackOrientation"
|
|
2153
|
+
},
|
|
2154
|
+
"description": "Main axis; an unknown value behaves as `vertical`. A horizontal stack follows the writing direction.",
|
|
2155
|
+
"default": "'vertical'",
|
|
2156
|
+
"fieldName": "orientation"
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
"name": "justify",
|
|
2160
|
+
"type": {
|
|
2161
|
+
"text": "StackJustify"
|
|
2162
|
+
},
|
|
2163
|
+
"description": "Distribution on the main axis; `stretch` grows every item. An unknown value behaves as `start`.",
|
|
2164
|
+
"default": "'start'",
|
|
2165
|
+
"fieldName": "justify"
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"name": "align",
|
|
2169
|
+
"type": {
|
|
2170
|
+
"text": "StackAlign"
|
|
2171
|
+
},
|
|
2172
|
+
"description": "Alignment on the cross axis; an unknown value behaves as `stretch`.",
|
|
2173
|
+
"default": "'stretch'",
|
|
2174
|
+
"fieldName": "align"
|
|
2175
|
+
},
|
|
2176
|
+
{
|
|
2177
|
+
"name": "gap",
|
|
2178
|
+
"type": {
|
|
2179
|
+
"text": "StackGap | undefined"
|
|
2180
|
+
},
|
|
2181
|
+
"description": "Gap step from `0` to `5`; `undefined` or an unknown value gives step `2`.",
|
|
2182
|
+
"fieldName": "gap"
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
"name": "wrap",
|
|
2186
|
+
"type": {
|
|
2187
|
+
"text": "boolean"
|
|
2188
|
+
},
|
|
2189
|
+
"description": "Lets the items flow onto more lines when they run out of space.",
|
|
2190
|
+
"default": "false",
|
|
2191
|
+
"fieldName": "wrap"
|
|
1220
2192
|
}
|
|
1221
2193
|
],
|
|
1222
|
-
"
|
|
2194
|
+
"superclass": {
|
|
2195
|
+
"name": "LineElement",
|
|
2196
|
+
"package": "@websublime/line-core"
|
|
2197
|
+
},
|
|
2198
|
+
"summary": "A layout container that places its children in one row or column with even spacing.",
|
|
2199
|
+
"tagName": "line-stack",
|
|
2200
|
+
"customElement": true
|
|
1223
2201
|
}
|
|
1224
2202
|
],
|
|
1225
2203
|
"exports": [
|
|
1226
2204
|
{
|
|
1227
2205
|
"kind": "js",
|
|
1228
|
-
"name": "
|
|
1229
|
-
"declaration": {
|
|
1230
|
-
"name": "buttonMachine",
|
|
1231
|
-
"module": "src/shared/button-machine.ts"
|
|
1232
|
-
}
|
|
1233
|
-
},
|
|
1234
|
-
{
|
|
1235
|
-
"kind": "js",
|
|
1236
|
-
"name": "connect",
|
|
2206
|
+
"name": "LineStack",
|
|
1237
2207
|
"declaration": {
|
|
1238
|
-
"name": "
|
|
1239
|
-
"module": "src/
|
|
2208
|
+
"name": "LineStack",
|
|
2209
|
+
"module": "src/stack/stack.ts"
|
|
1240
2210
|
}
|
|
1241
2211
|
},
|
|
1242
2212
|
{
|
|
1243
|
-
"kind": "
|
|
1244
|
-
"name": "
|
|
2213
|
+
"kind": "custom-element-definition",
|
|
2214
|
+
"name": "line-stack",
|
|
1245
2215
|
"declaration": {
|
|
1246
|
-
"name": "
|
|
1247
|
-
"module": "src/
|
|
2216
|
+
"name": "LineStack",
|
|
2217
|
+
"module": "src/stack/stack.ts"
|
|
1248
2218
|
}
|
|
1249
2219
|
}
|
|
1250
2220
|
]
|
|
1251
2221
|
},
|
|
2222
|
+
{
|
|
2223
|
+
"kind": "javascript-module",
|
|
2224
|
+
"path": "src/stack/stack.types.ts",
|
|
2225
|
+
"declarations": [],
|
|
2226
|
+
"exports": []
|
|
2227
|
+
},
|
|
1252
2228
|
{
|
|
1253
2229
|
"kind": "javascript-module",
|
|
1254
2230
|
"path": "../line-core/src/form-associated.ts",
|