@f-ewald/components 1.23.0 → 1.24.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 +7 -1
- package/custom-elements.json +1966 -643
- package/dist/address-autocomplete.d.ts.map +1 -1
- package/dist/address-autocomplete.js +7 -3
- package/dist/address-autocomplete.js.map +1 -1
- package/dist/audio-player.d.ts +53 -0
- package/dist/audio-player.d.ts.map +1 -0
- package/dist/audio-player.js +267 -0
- package/dist/audio-player.js.map +1 -0
- package/dist/autocomplete-input.d.ts.map +1 -1
- package/dist/autocomplete-input.js +7 -3
- package/dist/autocomplete-input.js.map +1 -1
- package/dist/button-group.d.ts +12 -1
- package/dist/button-group.d.ts.map +1 -1
- package/dist/button-group.js +35 -3
- package/dist/button-group.js.map +1 -1
- package/dist/comment-composer.d.ts +54 -0
- package/dist/comment-composer.d.ts.map +1 -0
- package/dist/comment-composer.js +244 -0
- package/dist/comment-composer.js.map +1 -0
- package/dist/confirm-dialog.d.ts +4 -1
- package/dist/confirm-dialog.d.ts.map +1 -1
- package/dist/confirm-dialog.js +47 -9
- package/dist/confirm-dialog.js.map +1 -1
- package/dist/dropdown-button.d.ts +4 -1
- package/dist/dropdown-button.d.ts.map +1 -1
- package/dist/dropdown-button.js +29 -3
- package/dist/dropdown-button.js.map +1 -1
- package/dist/icons.d.ts +65 -0
- package/dist/icons.d.ts.map +1 -1
- package/dist/icons.js +65 -0
- package/dist/icons.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp-server.js +39 -0
- package/dist/mcp-server.js.map +1 -1
- package/dist/page-header.d.ts +8 -3
- package/dist/page-header.d.ts.map +1 -1
- package/dist/page-header.js +33 -12
- package/dist/page-header.js.map +1 -1
- package/dist/pagination-nav.d.ts +7 -0
- package/dist/pagination-nav.d.ts.map +1 -1
- package/dist/pagination-nav.js +19 -4
- package/dist/pagination-nav.js.map +1 -1
- package/dist/radio-cards.d.ts +6 -0
- package/dist/radio-cards.d.ts.map +1 -1
- package/dist/radio-cards.js +13 -3
- package/dist/radio-cards.js.map +1 -1
- package/dist/radio-pills.d.ts +6 -0
- package/dist/radio-pills.d.ts.map +1 -1
- package/dist/radio-pills.js +13 -3
- package/dist/radio-pills.js.map +1 -1
- package/dist/range-slider.d.ts.map +1 -1
- package/dist/range-slider.js +11 -7
- package/dist/range-slider.js.map +1 -1
- package/dist/reveal-button.d.ts +5 -1
- package/dist/reveal-button.d.ts.map +1 -1
- package/dist/reveal-button.js +26 -4
- package/dist/reveal-button.js.map +1 -1
- package/dist/tokens.css +17 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +56 -0
- package/dist/tokens.js.map +1 -1
- package/dist/ui-button.d.ts +16 -0
- package/dist/ui-button.d.ts.map +1 -1
- package/dist/ui-button.js +48 -7
- package/dist/ui-button.js.map +1 -1
- package/dist/utils/duration.d.ts +8 -0
- package/dist/utils/duration.d.ts.map +1 -1
- package/dist/utils/duration.js +18 -0
- package/dist/utils/duration.js.map +1 -1
- package/dist/utils/transport-controls.d.ts +11 -0
- package/dist/utils/transport-controls.d.ts.map +1 -0
- package/dist/utils/transport-controls.js +113 -0
- package/dist/utils/transport-controls.js.map +1 -0
- package/dist/video-player.d.ts +60 -0
- package/dist/video-player.d.ts.map +1 -0
- package/dist/video-player.js +324 -0
- package/dist/video-player.js.map +1 -0
- package/docs/audio-player.md +60 -0
- package/docs/button-group.md +18 -1
- package/docs/comment-composer.md +68 -0
- package/docs/confirm-dialog.md +19 -1
- package/docs/dropdown-button.md +10 -1
- package/docs/icons.md +75 -0
- package/docs/page-header.md +11 -4
- package/docs/pagination-nav.md +14 -0
- package/docs/radio-cards.md +9 -0
- package/docs/radio-pills.md +9 -0
- package/docs/range-slider.md +3 -0
- package/docs/reveal-button.md +11 -1
- package/docs/ui-button.md +32 -0
- package/docs/video-player.md +59 -0
- package/llms.txt +224 -23
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -1398,83 +1398,153 @@
|
|
|
1398
1398
|
},
|
|
1399
1399
|
{
|
|
1400
1400
|
"kind": "javascript-module",
|
|
1401
|
-
"path": "src/
|
|
1401
|
+
"path": "src/audio-player.ts",
|
|
1402
1402
|
"declarations": [
|
|
1403
1403
|
{
|
|
1404
1404
|
"kind": "class",
|
|
1405
|
-
"description": "
|
|
1406
|
-
"name": "
|
|
1407
|
-
"slots": [
|
|
1408
|
-
{
|
|
1409
|
-
"description": "Content to auto-scroll.",
|
|
1410
|
-
"name": ""
|
|
1411
|
-
}
|
|
1412
|
-
],
|
|
1405
|
+
"description": "Compact audio player wrapping a native `<audio>` element (kept off-screen\nfor its decoding/playback engine and free `timeupdate`/`loadedmetadata`\nevents) behind a tokenized transport bar: a play/pause `icon-button`,\nelapsed/total time, a seekable progress bar, and a mute toggle + volume\nslider. The seek/volume sliders are native `<input type=\"range\">`\nelements (see `utils/transport-controls.ts`) for free keyboard and\npointer support, per this package's \"native semantics before custom ARIA\"\nrule.",
|
|
1406
|
+
"name": "AudioPlayer",
|
|
1413
1407
|
"members": [
|
|
1414
1408
|
{
|
|
1415
1409
|
"kind": "field",
|
|
1416
|
-
"name": "
|
|
1410
|
+
"name": "src",
|
|
1417
1411
|
"type": {
|
|
1418
|
-
"text": "
|
|
1412
|
+
"text": "string"
|
|
1419
1413
|
},
|
|
1420
|
-
"default": "
|
|
1421
|
-
"description": "
|
|
1422
|
-
"attribute": "
|
|
1414
|
+
"default": "\"\"",
|
|
1415
|
+
"description": "URL of the audio file to play.",
|
|
1416
|
+
"attribute": "src"
|
|
1423
1417
|
},
|
|
1424
1418
|
{
|
|
1425
1419
|
"kind": "field",
|
|
1426
|
-
"name": "
|
|
1420
|
+
"name": "label",
|
|
1421
|
+
"type": {
|
|
1422
|
+
"text": "string"
|
|
1423
|
+
},
|
|
1424
|
+
"default": "\"Audio player\"",
|
|
1425
|
+
"description": "Accessible name for the player, e.g. a track/episode title.",
|
|
1426
|
+
"attribute": "label"
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"kind": "field",
|
|
1430
|
+
"name": "loop",
|
|
1431
|
+
"type": {
|
|
1432
|
+
"text": "boolean"
|
|
1433
|
+
},
|
|
1434
|
+
"default": "false",
|
|
1435
|
+
"description": "Loops playback once it reaches the end.",
|
|
1436
|
+
"attribute": "loop"
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"kind": "field",
|
|
1440
|
+
"name": "preload",
|
|
1441
|
+
"type": {
|
|
1442
|
+
"text": "\"none\" | \"metadata\" | \"auto\""
|
|
1443
|
+
},
|
|
1444
|
+
"default": "\"metadata\"",
|
|
1445
|
+
"description": "Native `<audio preload>` hint.",
|
|
1446
|
+
"attribute": "preload"
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"kind": "field",
|
|
1450
|
+
"name": "_playing",
|
|
1427
1451
|
"type": {
|
|
1428
1452
|
"text": "boolean"
|
|
1429
1453
|
},
|
|
1430
1454
|
"privacy": "private",
|
|
1431
|
-
"default": "
|
|
1455
|
+
"default": "false"
|
|
1432
1456
|
},
|
|
1433
1457
|
{
|
|
1434
1458
|
"kind": "field",
|
|
1435
|
-
"name": "
|
|
1459
|
+
"name": "_currentTime",
|
|
1460
|
+
"type": {
|
|
1461
|
+
"text": "number"
|
|
1462
|
+
},
|
|
1463
|
+
"privacy": "private",
|
|
1464
|
+
"default": "0"
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"kind": "field",
|
|
1468
|
+
"name": "_duration",
|
|
1436
1469
|
"privacy": "private",
|
|
1470
|
+
"default": "NaN"
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"kind": "field",
|
|
1474
|
+
"name": "_volume",
|
|
1437
1475
|
"type": {
|
|
1438
|
-
"text": "
|
|
1439
|
-
}
|
|
1476
|
+
"text": "number"
|
|
1477
|
+
},
|
|
1478
|
+
"privacy": "private",
|
|
1479
|
+
"default": "1"
|
|
1440
1480
|
},
|
|
1441
1481
|
{
|
|
1442
1482
|
"kind": "field",
|
|
1443
|
-
"name": "
|
|
1483
|
+
"name": "_muted",
|
|
1444
1484
|
"type": {
|
|
1445
1485
|
"text": "boolean"
|
|
1446
1486
|
},
|
|
1447
|
-
"
|
|
1448
|
-
"
|
|
1487
|
+
"privacy": "private",
|
|
1488
|
+
"default": "false"
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"kind": "field",
|
|
1492
|
+
"name": "_errored",
|
|
1493
|
+
"type": {
|
|
1494
|
+
"text": "boolean"
|
|
1495
|
+
},
|
|
1496
|
+
"privacy": "private",
|
|
1497
|
+
"default": "false"
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"kind": "field",
|
|
1501
|
+
"name": "_audio",
|
|
1502
|
+
"type": {
|
|
1503
|
+
"text": "HTMLAudioElement | undefined"
|
|
1504
|
+
},
|
|
1505
|
+
"privacy": "private"
|
|
1449
1506
|
},
|
|
1450
1507
|
{
|
|
1451
1508
|
"kind": "method",
|
|
1452
|
-
"name": "
|
|
1509
|
+
"name": "_togglePlay",
|
|
1510
|
+
"privacy": "private",
|
|
1453
1511
|
"return": {
|
|
1454
1512
|
"type": {
|
|
1455
1513
|
"text": "void"
|
|
1456
1514
|
}
|
|
1457
|
-
}
|
|
1458
|
-
"description": "Scrolls to the bottom immediately, regardless of the current `pinned` state."
|
|
1515
|
+
}
|
|
1459
1516
|
},
|
|
1460
1517
|
{
|
|
1461
|
-
"kind": "
|
|
1462
|
-
"name": "
|
|
1463
|
-
"privacy": "private"
|
|
1518
|
+
"kind": "method",
|
|
1519
|
+
"name": "_toggleMute",
|
|
1520
|
+
"privacy": "private",
|
|
1521
|
+
"return": {
|
|
1522
|
+
"type": {
|
|
1523
|
+
"text": "void"
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1464
1526
|
},
|
|
1465
1527
|
{
|
|
1466
1528
|
"kind": "method",
|
|
1467
|
-
"name": "
|
|
1529
|
+
"name": "_onSeekInput",
|
|
1468
1530
|
"privacy": "private",
|
|
1469
1531
|
"return": {
|
|
1470
1532
|
"type": {
|
|
1471
1533
|
"text": "void"
|
|
1472
1534
|
}
|
|
1473
|
-
}
|
|
1535
|
+
},
|
|
1536
|
+
"parameters": [
|
|
1537
|
+
{
|
|
1538
|
+
"name": "e",
|
|
1539
|
+
"type": {
|
|
1540
|
+
"text": "Event"
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
]
|
|
1474
1544
|
},
|
|
1475
1545
|
{
|
|
1476
1546
|
"kind": "method",
|
|
1477
|
-
"name": "
|
|
1547
|
+
"name": "_onVolumeInput",
|
|
1478
1548
|
"privacy": "private",
|
|
1479
1549
|
"return": {
|
|
1480
1550
|
"type": {
|
|
@@ -1483,98 +1553,351 @@
|
|
|
1483
1553
|
},
|
|
1484
1554
|
"parameters": [
|
|
1485
1555
|
{
|
|
1486
|
-
"name": "
|
|
1556
|
+
"name": "e",
|
|
1487
1557
|
"type": {
|
|
1488
|
-
"text": "
|
|
1558
|
+
"text": "Event"
|
|
1489
1559
|
}
|
|
1490
1560
|
}
|
|
1491
1561
|
]
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
"kind": "method",
|
|
1565
|
+
"name": "_onLoadedMetadata",
|
|
1566
|
+
"privacy": "private",
|
|
1567
|
+
"return": {
|
|
1568
|
+
"type": {
|
|
1569
|
+
"text": "void"
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
"kind": "method",
|
|
1575
|
+
"name": "_onTimeUpdate",
|
|
1576
|
+
"privacy": "private",
|
|
1577
|
+
"return": {
|
|
1578
|
+
"type": {
|
|
1579
|
+
"text": "void"
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"kind": "method",
|
|
1585
|
+
"name": "_onPlay",
|
|
1586
|
+
"privacy": "private",
|
|
1587
|
+
"return": {
|
|
1588
|
+
"type": {
|
|
1589
|
+
"text": "void"
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"kind": "method",
|
|
1595
|
+
"name": "_onPause",
|
|
1596
|
+
"privacy": "private",
|
|
1597
|
+
"return": {
|
|
1598
|
+
"type": {
|
|
1599
|
+
"text": "void"
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"kind": "method",
|
|
1605
|
+
"name": "_onEnded",
|
|
1606
|
+
"privacy": "private",
|
|
1607
|
+
"return": {
|
|
1608
|
+
"type": {
|
|
1609
|
+
"text": "void"
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"kind": "method",
|
|
1615
|
+
"name": "_onVolumeChange",
|
|
1616
|
+
"privacy": "private",
|
|
1617
|
+
"return": {
|
|
1618
|
+
"type": {
|
|
1619
|
+
"text": "void"
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"kind": "method",
|
|
1625
|
+
"name": "_onError",
|
|
1626
|
+
"privacy": "private",
|
|
1627
|
+
"return": {
|
|
1628
|
+
"type": {
|
|
1629
|
+
"text": "void"
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1492
1632
|
}
|
|
1493
1633
|
],
|
|
1494
1634
|
"events": [
|
|
1495
1635
|
{
|
|
1496
|
-
"name": "
|
|
1636
|
+
"name": "play",
|
|
1497
1637
|
"type": {
|
|
1498
1638
|
"text": "CustomEvent"
|
|
1499
1639
|
},
|
|
1500
|
-
"description": "The
|
|
1640
|
+
"description": "The audio started playing."
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"name": "pause",
|
|
1644
|
+
"type": {
|
|
1645
|
+
"text": "CustomEvent"
|
|
1646
|
+
},
|
|
1647
|
+
"description": "The audio was paused."
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"name": "ended",
|
|
1651
|
+
"type": {
|
|
1652
|
+
"text": "CustomEvent"
|
|
1653
|
+
},
|
|
1654
|
+
"description": "Playback reached the end."
|
|
1501
1655
|
}
|
|
1502
1656
|
],
|
|
1503
1657
|
"attributes": [
|
|
1504
1658
|
{
|
|
1505
|
-
"name": "
|
|
1659
|
+
"name": "src",
|
|
1506
1660
|
"type": {
|
|
1507
|
-
"text": "
|
|
1661
|
+
"text": "string"
|
|
1508
1662
|
},
|
|
1509
|
-
"default": "
|
|
1510
|
-
"description": "
|
|
1511
|
-
"fieldName": "
|
|
1663
|
+
"default": "\"\"",
|
|
1664
|
+
"description": "URL of the audio file to play.",
|
|
1665
|
+
"fieldName": "src"
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"name": "label",
|
|
1669
|
+
"type": {
|
|
1670
|
+
"text": "string"
|
|
1671
|
+
},
|
|
1672
|
+
"default": "\"Audio player\"",
|
|
1673
|
+
"description": "Accessible name for the player, e.g. a track/episode title.",
|
|
1674
|
+
"fieldName": "label"
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
"name": "loop",
|
|
1678
|
+
"type": {
|
|
1679
|
+
"text": "boolean"
|
|
1680
|
+
},
|
|
1681
|
+
"default": "false",
|
|
1682
|
+
"description": "Loops playback once it reaches the end.",
|
|
1683
|
+
"fieldName": "loop"
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"name": "preload",
|
|
1687
|
+
"type": {
|
|
1688
|
+
"text": "\"none\" | \"metadata\" | \"auto\""
|
|
1689
|
+
},
|
|
1690
|
+
"default": "\"metadata\"",
|
|
1691
|
+
"description": "Native `<audio preload>` hint.",
|
|
1692
|
+
"fieldName": "preload"
|
|
1512
1693
|
}
|
|
1513
1694
|
],
|
|
1514
1695
|
"superclass": {
|
|
1515
1696
|
"name": "LitElement",
|
|
1516
1697
|
"package": "lit"
|
|
1517
1698
|
},
|
|
1518
|
-
"tagName": "
|
|
1699
|
+
"tagName": "audio-player",
|
|
1519
1700
|
"customElement": true
|
|
1520
1701
|
}
|
|
1521
1702
|
],
|
|
1522
1703
|
"exports": [
|
|
1523
1704
|
{
|
|
1524
1705
|
"kind": "js",
|
|
1525
|
-
"name": "
|
|
1706
|
+
"name": "AudioPlayer",
|
|
1526
1707
|
"declaration": {
|
|
1527
|
-
"name": "
|
|
1528
|
-
"module": "src/
|
|
1708
|
+
"name": "AudioPlayer",
|
|
1709
|
+
"module": "src/audio-player.ts"
|
|
1529
1710
|
}
|
|
1530
1711
|
},
|
|
1531
1712
|
{
|
|
1532
1713
|
"kind": "custom-element-definition",
|
|
1533
|
-
"name": "
|
|
1714
|
+
"name": "audio-player",
|
|
1534
1715
|
"declaration": {
|
|
1535
|
-
"name": "
|
|
1536
|
-
"module": "src/
|
|
1716
|
+
"name": "AudioPlayer",
|
|
1717
|
+
"module": "src/audio-player.ts"
|
|
1537
1718
|
}
|
|
1538
1719
|
}
|
|
1539
1720
|
]
|
|
1540
1721
|
},
|
|
1541
1722
|
{
|
|
1542
1723
|
"kind": "javascript-module",
|
|
1543
|
-
"path": "src/
|
|
1724
|
+
"path": "src/auto-scroll.ts",
|
|
1544
1725
|
"declarations": [
|
|
1545
1726
|
{
|
|
1546
1727
|
"kind": "class",
|
|
1547
|
-
"description": "
|
|
1548
|
-
"name": "
|
|
1728
|
+
"description": "Wraps arbitrary slotted content (e.g. `timeline-container`) and keeps it\nscrolled to the bottom as new children are appended — but only while the\nuser is already scrolled near the bottom (\"stick to bottom\", a chat/log-\nviewer convention). If the user has scrolled up to read earlier content,\nnew content does not yank the scroll position back down.\n\nNew content is detected via a `MutationObserver`, so no cooperation from\nwhatever is slotted in is required. The host itself is the scrollable\nregion (`overflow-y: auto`) and needs a consumer-supplied bounded height to\nhave anything to scroll, e.g. `auto-scroll { height: 24rem; }`.",
|
|
1729
|
+
"name": "AutoScroll",
|
|
1730
|
+
"slots": [
|
|
1731
|
+
{
|
|
1732
|
+
"description": "Content to auto-scroll.",
|
|
1733
|
+
"name": ""
|
|
1734
|
+
}
|
|
1735
|
+
],
|
|
1549
1736
|
"members": [
|
|
1550
1737
|
{
|
|
1551
1738
|
"kind": "field",
|
|
1552
|
-
"name": "
|
|
1739
|
+
"name": "threshold",
|
|
1553
1740
|
"type": {
|
|
1554
|
-
"text": "
|
|
1741
|
+
"text": "number"
|
|
1555
1742
|
},
|
|
1556
|
-
"
|
|
1557
|
-
"
|
|
1743
|
+
"default": "24",
|
|
1744
|
+
"description": "Pixels of tolerance from the bottom edge counted as \"still at the bottom\".",
|
|
1745
|
+
"attribute": "threshold"
|
|
1558
1746
|
},
|
|
1559
1747
|
{
|
|
1560
1748
|
"kind": "field",
|
|
1561
|
-
"name": "
|
|
1749
|
+
"name": "_pinned",
|
|
1562
1750
|
"type": {
|
|
1563
|
-
"text": "
|
|
1751
|
+
"text": "boolean"
|
|
1564
1752
|
},
|
|
1565
|
-
"
|
|
1566
|
-
"
|
|
1567
|
-
"attribute": "value"
|
|
1753
|
+
"privacy": "private",
|
|
1754
|
+
"default": "true"
|
|
1568
1755
|
},
|
|
1569
1756
|
{
|
|
1570
1757
|
"kind": "field",
|
|
1571
|
-
"name": "
|
|
1758
|
+
"name": "#observer",
|
|
1759
|
+
"privacy": "private",
|
|
1572
1760
|
"type": {
|
|
1573
|
-
"text": "
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
"
|
|
1761
|
+
"text": "MutationObserver | undefined"
|
|
1762
|
+
}
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
"kind": "field",
|
|
1766
|
+
"name": "pinned",
|
|
1767
|
+
"type": {
|
|
1768
|
+
"text": "boolean"
|
|
1769
|
+
},
|
|
1770
|
+
"description": "Whether the view is currently stuck to the bottom. Read-only; see `scrollToBottom()`.",
|
|
1771
|
+
"readonly": true
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"kind": "method",
|
|
1775
|
+
"name": "scrollToBottom",
|
|
1776
|
+
"return": {
|
|
1777
|
+
"type": {
|
|
1778
|
+
"text": "void"
|
|
1779
|
+
}
|
|
1780
|
+
},
|
|
1781
|
+
"description": "Scrolls to the bottom immediately, regardless of the current `pinned` state."
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"kind": "field",
|
|
1785
|
+
"name": "#onScroll",
|
|
1786
|
+
"privacy": "private"
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"kind": "method",
|
|
1790
|
+
"name": "#onMutation",
|
|
1791
|
+
"privacy": "private",
|
|
1792
|
+
"return": {
|
|
1793
|
+
"type": {
|
|
1794
|
+
"text": "void"
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
"kind": "method",
|
|
1800
|
+
"name": "#setPinned",
|
|
1801
|
+
"privacy": "private",
|
|
1802
|
+
"return": {
|
|
1803
|
+
"type": {
|
|
1804
|
+
"text": "void"
|
|
1805
|
+
}
|
|
1806
|
+
},
|
|
1807
|
+
"parameters": [
|
|
1808
|
+
{
|
|
1809
|
+
"name": "pinned",
|
|
1810
|
+
"type": {
|
|
1811
|
+
"text": "boolean"
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
]
|
|
1815
|
+
}
|
|
1816
|
+
],
|
|
1817
|
+
"events": [
|
|
1818
|
+
{
|
|
1819
|
+
"name": "pinned-change",
|
|
1820
|
+
"type": {
|
|
1821
|
+
"text": "CustomEvent"
|
|
1822
|
+
},
|
|
1823
|
+
"description": "The stick-to-bottom state toggled; detail: `{ pinned }`."
|
|
1824
|
+
}
|
|
1825
|
+
],
|
|
1826
|
+
"attributes": [
|
|
1827
|
+
{
|
|
1828
|
+
"name": "threshold",
|
|
1829
|
+
"type": {
|
|
1830
|
+
"text": "number"
|
|
1831
|
+
},
|
|
1832
|
+
"default": "24",
|
|
1833
|
+
"description": "Pixels of tolerance from the bottom edge counted as \"still at the bottom\".",
|
|
1834
|
+
"fieldName": "threshold"
|
|
1835
|
+
}
|
|
1836
|
+
],
|
|
1837
|
+
"superclass": {
|
|
1838
|
+
"name": "LitElement",
|
|
1839
|
+
"package": "lit"
|
|
1840
|
+
},
|
|
1841
|
+
"tagName": "auto-scroll",
|
|
1842
|
+
"customElement": true
|
|
1843
|
+
}
|
|
1844
|
+
],
|
|
1845
|
+
"exports": [
|
|
1846
|
+
{
|
|
1847
|
+
"kind": "js",
|
|
1848
|
+
"name": "AutoScroll",
|
|
1849
|
+
"declaration": {
|
|
1850
|
+
"name": "AutoScroll",
|
|
1851
|
+
"module": "src/auto-scroll.ts"
|
|
1852
|
+
}
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
"kind": "custom-element-definition",
|
|
1856
|
+
"name": "auto-scroll",
|
|
1857
|
+
"declaration": {
|
|
1858
|
+
"name": "AutoScroll",
|
|
1859
|
+
"module": "src/auto-scroll.ts"
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1862
|
+
]
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"kind": "javascript-module",
|
|
1866
|
+
"path": "src/autocomplete-input.ts",
|
|
1867
|
+
"declarations": [
|
|
1868
|
+
{
|
|
1869
|
+
"kind": "class",
|
|
1870
|
+
"description": "Generic form-associated text input with a suggestion dropdown, for any\n\"type to filter a list of `{key, value}` options\" use case. Works as a\ndrop-in replacement for a plain `<input>` inside a `<form>`: set `name` on\nthe element itself and consumers keep reading\n`new FormData(form).get(name)` and calling `form.reset()` unchanged — the\nsubmitted value is the picked option's `value`, while `key` is available\nvia the `option-select` event and the `selectedOption` getter for cases\nthat need the underlying id rather than the display text.\n\nSupports two suggestion sources:\n- **API**: set `endpoint` to a URL that, given a `?<query-param>=<text>`\n query string, responds with a JSON array of `{key, value}` objects.\n Requests are debounced as the user types.\n- **Local array**: set `options` to a fixed `AutocompleteOption[]` and the\n component filters it client-side instead of making any network\n request. Useful for small/fixed lists, offline use, or tests. Takes\n priority over `endpoint` whenever it's non-null.\n\nSet `clearable` to show an in-field clear action whenever a value is\npresent.",
|
|
1871
|
+
"name": "AutocompleteInput",
|
|
1872
|
+
"members": [
|
|
1873
|
+
{
|
|
1874
|
+
"kind": "field",
|
|
1875
|
+
"name": "formAssociated",
|
|
1876
|
+
"type": {
|
|
1877
|
+
"text": "boolean"
|
|
1878
|
+
},
|
|
1879
|
+
"static": true,
|
|
1880
|
+
"default": "true"
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
"kind": "field",
|
|
1884
|
+
"name": "value",
|
|
1885
|
+
"type": {
|
|
1886
|
+
"text": "string"
|
|
1887
|
+
},
|
|
1888
|
+
"default": "\"\"",
|
|
1889
|
+
"description": "Current input value; also the form-associated value submitted with the form.",
|
|
1890
|
+
"attribute": "value"
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
"kind": "field",
|
|
1894
|
+
"name": "placeholder",
|
|
1895
|
+
"type": {
|
|
1896
|
+
"text": "string"
|
|
1897
|
+
},
|
|
1898
|
+
"default": "\"\"",
|
|
1899
|
+
"description": "Placeholder text shown when the input is empty.",
|
|
1900
|
+
"attribute": "placeholder"
|
|
1578
1901
|
},
|
|
1579
1902
|
{
|
|
1580
1903
|
"kind": "field",
|
|
@@ -2187,7 +2510,7 @@
|
|
|
2187
2510
|
"declarations": [
|
|
2188
2511
|
{
|
|
2189
2512
|
"kind": "class",
|
|
2190
|
-
"description": "Single-select segmented control — a strip of buttons joined into one\nshared-border shape, for a small, persistent set of mutually exclusive\nchoices (a view switcher, a theme picker) where the *currently selected*\noption should read as visually \"pressed,\" not just checked. For many\nshort, individually pill-shaped choices, use `radio-pills` instead. Wraps\nnative radio inputs for keyboard/a11y and fires `change` rather than\nrelying on form submission.",
|
|
2513
|
+
"description": "Single-select segmented control — a strip of buttons joined into one\nshared-border shape, for a small, persistent set of mutually exclusive\nchoices (a view switcher, a theme picker) where the *currently selected*\noption should read as visually \"pressed,\" not just checked. For many\nshort, individually pill-shaped choices, use `radio-pills` instead. Wraps\nnative radio inputs for keyboard/a11y and fires `change` rather than\nrelying on form submission. Set `size=\"sm\"` for a compact strip one step\nbelow the default, matching `ui-button`'s `sm` size.\n\nThe checked segment reads `--ui-button-background`/`-hover`/`-active`,\nsame as `ui-button`'s `primary` variant. Unchecked segments are treated as\n`ui-button`'s `secondary` variant: they read the shared\n`--ui-button-secondary-background`/`-active` (rest/pressed) so a gradient\ntheme applies consistently, but use the shared `--ui-button-secondary-surface-muted`\n(also used by `pagination-nav`) for hover, since — unlike `secondary` — an\nunchecked segment already paints `--ui-surface-muted` on hover by default.",
|
|
2191
2514
|
"name": "ButtonGroup",
|
|
2192
2515
|
"members": [
|
|
2193
2516
|
{
|
|
@@ -2230,6 +2553,17 @@
|
|
|
2230
2553
|
"attribute": "icon-only",
|
|
2231
2554
|
"reflects": true
|
|
2232
2555
|
},
|
|
2556
|
+
{
|
|
2557
|
+
"kind": "field",
|
|
2558
|
+
"name": "size",
|
|
2559
|
+
"type": {
|
|
2560
|
+
"text": "\"sm\" | \"md\""
|
|
2561
|
+
},
|
|
2562
|
+
"default": "\"md\"",
|
|
2563
|
+
"description": "Size — `sm` reduces segment height/padding/font-size one step below the default.",
|
|
2564
|
+
"attribute": "size",
|
|
2565
|
+
"reflects": true
|
|
2566
|
+
},
|
|
2233
2567
|
{
|
|
2234
2568
|
"kind": "field",
|
|
2235
2569
|
"name": "#name",
|
|
@@ -2287,6 +2621,15 @@
|
|
|
2287
2621
|
"default": "false",
|
|
2288
2622
|
"description": "Hides labels visually (icons only) while keeping them as the accessible name.",
|
|
2289
2623
|
"fieldName": "iconOnly"
|
|
2624
|
+
},
|
|
2625
|
+
{
|
|
2626
|
+
"name": "size",
|
|
2627
|
+
"type": {
|
|
2628
|
+
"text": "\"sm\" | \"md\""
|
|
2629
|
+
},
|
|
2630
|
+
"default": "\"md\"",
|
|
2631
|
+
"description": "Size — `sm` reduces segment height/padding/font-size one step below the default.",
|
|
2632
|
+
"fieldName": "size"
|
|
2290
2633
|
}
|
|
2291
2634
|
],
|
|
2292
2635
|
"superclass": {
|
|
@@ -3223,32 +3566,62 @@
|
|
|
3223
3566
|
},
|
|
3224
3567
|
{
|
|
3225
3568
|
"kind": "javascript-module",
|
|
3226
|
-
"path": "src/
|
|
3569
|
+
"path": "src/comment-composer.ts",
|
|
3227
3570
|
"declarations": [
|
|
3228
3571
|
{
|
|
3229
3572
|
"kind": "class",
|
|
3230
|
-
"description": "
|
|
3231
|
-
"name": "
|
|
3573
|
+
"description": "GitHub/Slack-style comment composer: a one-line text field that expands\ninto a multi-line textarea with a bottom-right Cancel/Submit footer\n(`form-actions`) as soon as it's focused or clicked. Submitting fires\n`submit` with the trimmed value, then clears the field and collapses back\nto one line — it's meant for posting one comment at a time, not editing a\npersistent value in place (see `editable-text` for that). Canceling (the\nCancel button or `Escape`) discards the draft and collapses without\nfiring `submit`. Clicking away (blur) does neither — the composer stays\nexpanded until the user explicitly submits or cancels. `Cmd`/`Ctrl`+`Enter`\nsubmits from the textarea, matching `editable-text`'s multiline shortcut.\nPurely token-styled (no bespoke colors), so it's themeable via the same\n`--ui-*` custom properties as every other value-entry field.",
|
|
3574
|
+
"name": "CommentComposer",
|
|
3232
3575
|
"members": [
|
|
3233
3576
|
{
|
|
3234
3577
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3578
|
+
"name": "value",
|
|
3236
3579
|
"type": {
|
|
3237
|
-
"text": "
|
|
3580
|
+
"text": "string"
|
|
3238
3581
|
},
|
|
3239
|
-
"default": "
|
|
3240
|
-
"description": "
|
|
3241
|
-
"attribute": "
|
|
3582
|
+
"default": "\"\"",
|
|
3583
|
+
"description": "Committed value shown in the collapsed one-line field.",
|
|
3584
|
+
"attribute": "value"
|
|
3242
3585
|
},
|
|
3243
3586
|
{
|
|
3244
3587
|
"kind": "field",
|
|
3245
|
-
"name": "
|
|
3588
|
+
"name": "placeholder",
|
|
3246
3589
|
"type": {
|
|
3247
3590
|
"text": "string"
|
|
3248
3591
|
},
|
|
3249
|
-
"default": "\"
|
|
3250
|
-
"description": "
|
|
3251
|
-
"attribute": "
|
|
3592
|
+
"default": "\"Add a comment…\"",
|
|
3593
|
+
"description": "Placeholder text shown when empty.",
|
|
3594
|
+
"attribute": "placeholder"
|
|
3595
|
+
},
|
|
3596
|
+
{
|
|
3597
|
+
"kind": "field",
|
|
3598
|
+
"name": "label",
|
|
3599
|
+
"type": {
|
|
3600
|
+
"text": "string"
|
|
3601
|
+
},
|
|
3602
|
+
"default": "\"Comment\"",
|
|
3603
|
+
"description": "Accessible name applied to the input/textarea.",
|
|
3604
|
+
"attribute": "label"
|
|
3605
|
+
},
|
|
3606
|
+
{
|
|
3607
|
+
"kind": "field",
|
|
3608
|
+
"name": "rows",
|
|
3609
|
+
"type": {
|
|
3610
|
+
"text": "number"
|
|
3611
|
+
},
|
|
3612
|
+
"default": "4",
|
|
3613
|
+
"description": "Visible row count once expanded.",
|
|
3614
|
+
"attribute": "rows"
|
|
3615
|
+
},
|
|
3616
|
+
{
|
|
3617
|
+
"kind": "field",
|
|
3618
|
+
"name": "submitLabel",
|
|
3619
|
+
"type": {
|
|
3620
|
+
"text": "string"
|
|
3621
|
+
},
|
|
3622
|
+
"default": "\"Submit\"",
|
|
3623
|
+
"description": "Label for the primary submit button.",
|
|
3624
|
+
"attribute": "submit-label"
|
|
3252
3625
|
},
|
|
3253
3626
|
{
|
|
3254
3627
|
"kind": "field",
|
|
@@ -3257,71 +3630,86 @@
|
|
|
3257
3630
|
"text": "string"
|
|
3258
3631
|
},
|
|
3259
3632
|
"default": "\"Cancel\"",
|
|
3260
|
-
"description": "Label for the cancel button.",
|
|
3633
|
+
"description": "Label for the secondary cancel button.",
|
|
3261
3634
|
"attribute": "cancel-label"
|
|
3262
3635
|
},
|
|
3263
3636
|
{
|
|
3264
3637
|
"kind": "field",
|
|
3265
|
-
"name": "
|
|
3638
|
+
"name": "disabled",
|
|
3266
3639
|
"type": {
|
|
3267
3640
|
"text": "boolean"
|
|
3268
3641
|
},
|
|
3269
|
-
"default": "
|
|
3270
|
-
"description": "
|
|
3271
|
-
"attribute": "
|
|
3642
|
+
"default": "false",
|
|
3643
|
+
"description": "Disables the field entirely.",
|
|
3644
|
+
"attribute": "disabled"
|
|
3272
3645
|
},
|
|
3273
3646
|
{
|
|
3274
3647
|
"kind": "field",
|
|
3275
|
-
"name": "
|
|
3648
|
+
"name": "_expanded",
|
|
3276
3649
|
"type": {
|
|
3277
3650
|
"text": "boolean"
|
|
3278
3651
|
},
|
|
3279
|
-
"
|
|
3280
|
-
"
|
|
3281
|
-
"attribute": "busy"
|
|
3652
|
+
"privacy": "private",
|
|
3653
|
+
"default": "false"
|
|
3282
3654
|
},
|
|
3283
3655
|
{
|
|
3284
3656
|
"kind": "field",
|
|
3285
|
-
"name": "
|
|
3657
|
+
"name": "_draft",
|
|
3286
3658
|
"type": {
|
|
3287
|
-
"text": "string
|
|
3659
|
+
"text": "string"
|
|
3288
3660
|
},
|
|
3289
|
-
"
|
|
3290
|
-
"
|
|
3291
|
-
"attribute": "error"
|
|
3661
|
+
"privacy": "private",
|
|
3662
|
+
"default": "\"\""
|
|
3292
3663
|
},
|
|
3293
3664
|
{
|
|
3294
3665
|
"kind": "field",
|
|
3295
|
-
"name": "
|
|
3666
|
+
"name": "_textarea",
|
|
3296
3667
|
"type": {
|
|
3297
|
-
"text": "
|
|
3668
|
+
"text": "HTMLTextAreaElement | undefined"
|
|
3298
3669
|
},
|
|
3299
|
-
"privacy": "private"
|
|
3300
|
-
"default": "null"
|
|
3670
|
+
"privacy": "private"
|
|
3301
3671
|
},
|
|
3302
3672
|
{
|
|
3303
3673
|
"kind": "method",
|
|
3304
|
-
"name": "
|
|
3305
|
-
"privacy": "private"
|
|
3674
|
+
"name": "_expand",
|
|
3675
|
+
"privacy": "private",
|
|
3676
|
+
"return": {
|
|
3677
|
+
"type": {
|
|
3678
|
+
"text": "void"
|
|
3679
|
+
}
|
|
3680
|
+
}
|
|
3306
3681
|
},
|
|
3307
3682
|
{
|
|
3308
3683
|
"kind": "method",
|
|
3309
|
-
"name": "
|
|
3310
|
-
"privacy": "private"
|
|
3684
|
+
"name": "_onInput",
|
|
3685
|
+
"privacy": "private",
|
|
3686
|
+
"return": {
|
|
3687
|
+
"type": {
|
|
3688
|
+
"text": "void"
|
|
3689
|
+
}
|
|
3690
|
+
},
|
|
3691
|
+
"parameters": [
|
|
3692
|
+
{
|
|
3693
|
+
"name": "e",
|
|
3694
|
+
"type": {
|
|
3695
|
+
"text": "Event"
|
|
3696
|
+
}
|
|
3697
|
+
}
|
|
3698
|
+
]
|
|
3311
3699
|
},
|
|
3312
3700
|
{
|
|
3313
3701
|
"kind": "method",
|
|
3314
|
-
"name": "
|
|
3702
|
+
"name": "_cancel",
|
|
3315
3703
|
"privacy": "private",
|
|
3316
3704
|
"return": {
|
|
3317
3705
|
"type": {
|
|
3318
|
-
"text": "
|
|
3706
|
+
"text": "void"
|
|
3319
3707
|
}
|
|
3320
3708
|
}
|
|
3321
3709
|
},
|
|
3322
3710
|
{
|
|
3323
3711
|
"kind": "method",
|
|
3324
|
-
"name": "
|
|
3712
|
+
"name": "_submit",
|
|
3325
3713
|
"privacy": "private",
|
|
3326
3714
|
"return": {
|
|
3327
3715
|
"type": {
|
|
@@ -3330,8 +3718,254 @@
|
|
|
3330
3718
|
}
|
|
3331
3719
|
},
|
|
3332
3720
|
{
|
|
3333
|
-
"kind": "
|
|
3334
|
-
"name": "
|
|
3721
|
+
"kind": "method",
|
|
3722
|
+
"name": "_onKeydown",
|
|
3723
|
+
"privacy": "private",
|
|
3724
|
+
"return": {
|
|
3725
|
+
"type": {
|
|
3726
|
+
"text": "void"
|
|
3727
|
+
}
|
|
3728
|
+
},
|
|
3729
|
+
"parameters": [
|
|
3730
|
+
{
|
|
3731
|
+
"name": "e",
|
|
3732
|
+
"type": {
|
|
3733
|
+
"text": "KeyboardEvent"
|
|
3734
|
+
}
|
|
3735
|
+
}
|
|
3736
|
+
]
|
|
3737
|
+
}
|
|
3738
|
+
],
|
|
3739
|
+
"events": [
|
|
3740
|
+
{
|
|
3741
|
+
"name": "cancel",
|
|
3742
|
+
"type": {
|
|
3743
|
+
"text": "CustomEvent"
|
|
3744
|
+
},
|
|
3745
|
+
"description": "User discarded the draft via the Cancel button or `Escape`."
|
|
3746
|
+
},
|
|
3747
|
+
{
|
|
3748
|
+
"name": "submit",
|
|
3749
|
+
"type": {
|
|
3750
|
+
"text": "CustomEvent"
|
|
3751
|
+
},
|
|
3752
|
+
"description": "User submitted a non-empty comment; detail: `{ value: string }`."
|
|
3753
|
+
}
|
|
3754
|
+
],
|
|
3755
|
+
"attributes": [
|
|
3756
|
+
{
|
|
3757
|
+
"name": "value",
|
|
3758
|
+
"type": {
|
|
3759
|
+
"text": "string"
|
|
3760
|
+
},
|
|
3761
|
+
"default": "\"\"",
|
|
3762
|
+
"description": "Committed value shown in the collapsed one-line field.",
|
|
3763
|
+
"fieldName": "value"
|
|
3764
|
+
},
|
|
3765
|
+
{
|
|
3766
|
+
"name": "placeholder",
|
|
3767
|
+
"type": {
|
|
3768
|
+
"text": "string"
|
|
3769
|
+
},
|
|
3770
|
+
"default": "\"Add a comment…\"",
|
|
3771
|
+
"description": "Placeholder text shown when empty.",
|
|
3772
|
+
"fieldName": "placeholder"
|
|
3773
|
+
},
|
|
3774
|
+
{
|
|
3775
|
+
"name": "label",
|
|
3776
|
+
"type": {
|
|
3777
|
+
"text": "string"
|
|
3778
|
+
},
|
|
3779
|
+
"default": "\"Comment\"",
|
|
3780
|
+
"description": "Accessible name applied to the input/textarea.",
|
|
3781
|
+
"fieldName": "label"
|
|
3782
|
+
},
|
|
3783
|
+
{
|
|
3784
|
+
"name": "rows",
|
|
3785
|
+
"type": {
|
|
3786
|
+
"text": "number"
|
|
3787
|
+
},
|
|
3788
|
+
"default": "4",
|
|
3789
|
+
"description": "Visible row count once expanded.",
|
|
3790
|
+
"fieldName": "rows"
|
|
3791
|
+
},
|
|
3792
|
+
{
|
|
3793
|
+
"name": "submit-label",
|
|
3794
|
+
"type": {
|
|
3795
|
+
"text": "string"
|
|
3796
|
+
},
|
|
3797
|
+
"default": "\"Submit\"",
|
|
3798
|
+
"description": "Label for the primary submit button.",
|
|
3799
|
+
"fieldName": "submitLabel"
|
|
3800
|
+
},
|
|
3801
|
+
{
|
|
3802
|
+
"name": "cancel-label",
|
|
3803
|
+
"type": {
|
|
3804
|
+
"text": "string"
|
|
3805
|
+
},
|
|
3806
|
+
"default": "\"Cancel\"",
|
|
3807
|
+
"description": "Label for the secondary cancel button.",
|
|
3808
|
+
"fieldName": "cancelLabel"
|
|
3809
|
+
},
|
|
3810
|
+
{
|
|
3811
|
+
"name": "disabled",
|
|
3812
|
+
"type": {
|
|
3813
|
+
"text": "boolean"
|
|
3814
|
+
},
|
|
3815
|
+
"default": "false",
|
|
3816
|
+
"description": "Disables the field entirely.",
|
|
3817
|
+
"fieldName": "disabled"
|
|
3818
|
+
}
|
|
3819
|
+
],
|
|
3820
|
+
"superclass": {
|
|
3821
|
+
"name": "LitElement",
|
|
3822
|
+
"package": "lit"
|
|
3823
|
+
},
|
|
3824
|
+
"tagName": "comment-composer",
|
|
3825
|
+
"customElement": true
|
|
3826
|
+
}
|
|
3827
|
+
],
|
|
3828
|
+
"exports": [
|
|
3829
|
+
{
|
|
3830
|
+
"kind": "js",
|
|
3831
|
+
"name": "CommentComposer",
|
|
3832
|
+
"declaration": {
|
|
3833
|
+
"name": "CommentComposer",
|
|
3834
|
+
"module": "src/comment-composer.ts"
|
|
3835
|
+
}
|
|
3836
|
+
},
|
|
3837
|
+
{
|
|
3838
|
+
"kind": "custom-element-definition",
|
|
3839
|
+
"name": "comment-composer",
|
|
3840
|
+
"declaration": {
|
|
3841
|
+
"name": "CommentComposer",
|
|
3842
|
+
"module": "src/comment-composer.ts"
|
|
3843
|
+
}
|
|
3844
|
+
}
|
|
3845
|
+
]
|
|
3846
|
+
},
|
|
3847
|
+
{
|
|
3848
|
+
"kind": "javascript-module",
|
|
3849
|
+
"path": "src/confirm-dialog.ts",
|
|
3850
|
+
"declarations": [
|
|
3851
|
+
{
|
|
3852
|
+
"kind": "class",
|
|
3853
|
+
"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. Set `size=\"sm\"` for compact\nactions one step below the default, matching `ui-button`'s `sm` size.",
|
|
3854
|
+
"name": "ConfirmDialog",
|
|
3855
|
+
"members": [
|
|
3856
|
+
{
|
|
3857
|
+
"kind": "field",
|
|
3858
|
+
"name": "open",
|
|
3859
|
+
"type": {
|
|
3860
|
+
"text": "boolean"
|
|
3861
|
+
},
|
|
3862
|
+
"default": "false",
|
|
3863
|
+
"description": "Whether the dialog is visible.",
|
|
3864
|
+
"attribute": "open"
|
|
3865
|
+
},
|
|
3866
|
+
{
|
|
3867
|
+
"kind": "field",
|
|
3868
|
+
"name": "confirmLabel",
|
|
3869
|
+
"type": {
|
|
3870
|
+
"text": "string"
|
|
3871
|
+
},
|
|
3872
|
+
"default": "\"Delete\"",
|
|
3873
|
+
"description": "Label for the confirm button.",
|
|
3874
|
+
"attribute": "confirm-label"
|
|
3875
|
+
},
|
|
3876
|
+
{
|
|
3877
|
+
"kind": "field",
|
|
3878
|
+
"name": "cancelLabel",
|
|
3879
|
+
"type": {
|
|
3880
|
+
"text": "string"
|
|
3881
|
+
},
|
|
3882
|
+
"default": "\"Cancel\"",
|
|
3883
|
+
"description": "Label for the cancel button.",
|
|
3884
|
+
"attribute": "cancel-label"
|
|
3885
|
+
},
|
|
3886
|
+
{
|
|
3887
|
+
"kind": "field",
|
|
3888
|
+
"name": "danger",
|
|
3889
|
+
"type": {
|
|
3890
|
+
"text": "boolean"
|
|
3891
|
+
},
|
|
3892
|
+
"default": "true",
|
|
3893
|
+
"description": "Danger (red) vs. primary (indigo) styling for the confirm button.",
|
|
3894
|
+
"attribute": "danger"
|
|
3895
|
+
},
|
|
3896
|
+
{
|
|
3897
|
+
"kind": "field",
|
|
3898
|
+
"name": "busy",
|
|
3899
|
+
"type": {
|
|
3900
|
+
"text": "boolean"
|
|
3901
|
+
},
|
|
3902
|
+
"default": "false",
|
|
3903
|
+
"description": "Shows a spinner and disables both buttons while a request is in flight.",
|
|
3904
|
+
"attribute": "busy"
|
|
3905
|
+
},
|
|
3906
|
+
{
|
|
3907
|
+
"kind": "field",
|
|
3908
|
+
"name": "error",
|
|
3909
|
+
"type": {
|
|
3910
|
+
"text": "string | null"
|
|
3911
|
+
},
|
|
3912
|
+
"default": "null",
|
|
3913
|
+
"description": "Inline error line shown below the body, or null for none.",
|
|
3914
|
+
"attribute": "error"
|
|
3915
|
+
},
|
|
3916
|
+
{
|
|
3917
|
+
"kind": "field",
|
|
3918
|
+
"name": "size",
|
|
3919
|
+
"type": {
|
|
3920
|
+
"text": "\"sm\" | \"md\""
|
|
3921
|
+
},
|
|
3922
|
+
"default": "\"md\"",
|
|
3923
|
+
"description": "Size — `sm` reduces both action buttons' height/padding/font-size one step below the default.",
|
|
3924
|
+
"attribute": "size",
|
|
3925
|
+
"reflects": true
|
|
3926
|
+
},
|
|
3927
|
+
{
|
|
3928
|
+
"kind": "field",
|
|
3929
|
+
"name": "_previousFocus",
|
|
3930
|
+
"type": {
|
|
3931
|
+
"text": "HTMLElement | null"
|
|
3932
|
+
},
|
|
3933
|
+
"privacy": "private",
|
|
3934
|
+
"default": "null"
|
|
3935
|
+
},
|
|
3936
|
+
{
|
|
3937
|
+
"kind": "method",
|
|
3938
|
+
"name": "_confirm",
|
|
3939
|
+
"privacy": "private"
|
|
3940
|
+
},
|
|
3941
|
+
{
|
|
3942
|
+
"kind": "method",
|
|
3943
|
+
"name": "_cancel",
|
|
3944
|
+
"privacy": "private"
|
|
3945
|
+
},
|
|
3946
|
+
{
|
|
3947
|
+
"kind": "method",
|
|
3948
|
+
"name": "_getFocusableElements",
|
|
3949
|
+
"privacy": "private",
|
|
3950
|
+
"return": {
|
|
3951
|
+
"type": {
|
|
3952
|
+
"text": "HTMLElement[]"
|
|
3953
|
+
}
|
|
3954
|
+
}
|
|
3955
|
+
},
|
|
3956
|
+
{
|
|
3957
|
+
"kind": "method",
|
|
3958
|
+
"name": "_focusInitial",
|
|
3959
|
+
"privacy": "private",
|
|
3960
|
+
"return": {
|
|
3961
|
+
"type": {
|
|
3962
|
+
"text": "void"
|
|
3963
|
+
}
|
|
3964
|
+
}
|
|
3965
|
+
},
|
|
3966
|
+
{
|
|
3967
|
+
"kind": "field",
|
|
3968
|
+
"name": "_onDocumentFocusIn",
|
|
3335
3969
|
"privacy": "private"
|
|
3336
3970
|
},
|
|
3337
3971
|
{
|
|
@@ -3410,6 +4044,15 @@
|
|
|
3410
4044
|
"default": "null",
|
|
3411
4045
|
"description": "Inline error line shown below the body, or null for none.",
|
|
3412
4046
|
"fieldName": "error"
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
"name": "size",
|
|
4050
|
+
"type": {
|
|
4051
|
+
"text": "\"sm\" | \"md\""
|
|
4052
|
+
},
|
|
4053
|
+
"default": "\"md\"",
|
|
4054
|
+
"description": "Size — `sm` reduces both action buttons' height/padding/font-size one step below the default.",
|
|
4055
|
+
"fieldName": "size"
|
|
3413
4056
|
}
|
|
3414
4057
|
],
|
|
3415
4058
|
"superclass": {
|
|
@@ -4043,7 +4686,7 @@
|
|
|
4043
4686
|
"declarations": [
|
|
4044
4687
|
{
|
|
4045
4688
|
"kind": "class",
|
|
4046
|
-
"description": "A button that opens an anchored menu of actions — essentially `form-select`\nminus \"current value\" semantics: a menu, not a select. Use for a set of\nmutually exclusive next-step actions (e.g. a failed task's Retry / Close /\nBacklog, or a table row's overflow actions).\n\nThree trigger presentations share one base: `text` (the default — a\nprimary-filled button with a label and a rotating chevron), `text-icon`\n(the same, with `icon` ahead of the label), and `icon` (a borderless,\nsquare, low-emphasis icon target in the style of `icon-button` — the\nclassic \"three-dot\"/overflow menu, where `label` becomes the accessible\nname rather than visible text).",
|
|
4689
|
+
"description": "A button that opens an anchored menu of actions — essentially `form-select`\nminus \"current value\" semantics: a menu, not a select. Use for a set of\nmutually exclusive next-step actions (e.g. a failed task's Retry / Close /\nBacklog, or a table row's overflow actions).\n\nThree trigger presentations share one base: `text` (the default — a\nprimary-filled button with a label and a rotating chevron), `text-icon`\n(the same, with `icon` ahead of the label), and `icon` (a borderless,\nsquare, low-emphasis icon target in the style of `icon-button` — the\nclassic \"three-dot\"/overflow menu, where `label` becomes the accessible\nname rather than visible text). Set `size=\"sm\"` for a compact trigger one\nstep below the default, matching `ui-button`'s `sm` size.",
|
|
4047
4690
|
"name": "DropdownButton",
|
|
4048
4691
|
"members": [
|
|
4049
4692
|
{
|
|
@@ -4095,6 +4738,17 @@
|
|
|
4095
4738
|
"default": "null",
|
|
4096
4739
|
"description": "Icon template rendered by the `icon` and `text-icon` variants."
|
|
4097
4740
|
},
|
|
4741
|
+
{
|
|
4742
|
+
"kind": "field",
|
|
4743
|
+
"name": "size",
|
|
4744
|
+
"type": {
|
|
4745
|
+
"text": "\"sm\" | \"md\""
|
|
4746
|
+
},
|
|
4747
|
+
"default": "\"md\"",
|
|
4748
|
+
"description": "Size — `sm` reduces the trigger's height/padding/font-size one step below the default.",
|
|
4749
|
+
"attribute": "size",
|
|
4750
|
+
"reflects": true
|
|
4751
|
+
},
|
|
4098
4752
|
{
|
|
4099
4753
|
"kind": "field",
|
|
4100
4754
|
"name": "_open",
|
|
@@ -4241,6 +4895,15 @@
|
|
|
4241
4895
|
"default": "\"text\"",
|
|
4242
4896
|
"description": "Trigger presentation: label only, icon only, or icon + label.",
|
|
4243
4897
|
"fieldName": "variant"
|
|
4898
|
+
},
|
|
4899
|
+
{
|
|
4900
|
+
"name": "size",
|
|
4901
|
+
"type": {
|
|
4902
|
+
"text": "\"sm\" | \"md\""
|
|
4903
|
+
},
|
|
4904
|
+
"default": "\"md\"",
|
|
4905
|
+
"description": "Size — `sm` reduces the trigger's height/padding/font-size one step below the default.",
|
|
4906
|
+
"fieldName": "size"
|
|
4244
4907
|
}
|
|
4245
4908
|
],
|
|
4246
4909
|
"superclass": {
|
|
@@ -6003,7 +6666,8 @@
|
|
|
6003
6666
|
"name": "size",
|
|
6004
6667
|
"default": "18"
|
|
6005
6668
|
}
|
|
6006
|
-
]
|
|
6669
|
+
],
|
|
6670
|
+
"description": "Close, dismiss, or clear (e.g. a modal, toast, or clearable input)."
|
|
6007
6671
|
},
|
|
6008
6672
|
{
|
|
6009
6673
|
"kind": "function",
|
|
@@ -6013,7 +6677,8 @@
|
|
|
6013
6677
|
"name": "size",
|
|
6014
6678
|
"default": "18"
|
|
6015
6679
|
}
|
|
6016
|
-
]
|
|
6680
|
+
],
|
|
6681
|
+
"description": "A hamburger menu toggle, e.g. collapsing or opening a sidebar/nav drawer."
|
|
6017
6682
|
},
|
|
6018
6683
|
{
|
|
6019
6684
|
"kind": "function",
|
|
@@ -6023,7 +6688,8 @@
|
|
|
6023
6688
|
"name": "size",
|
|
6024
6689
|
"default": "16"
|
|
6025
6690
|
}
|
|
6026
|
-
]
|
|
6691
|
+
],
|
|
6692
|
+
"description": "\"Previous\" navigation, e.g. pagination or carousel back controls."
|
|
6027
6693
|
},
|
|
6028
6694
|
{
|
|
6029
6695
|
"kind": "function",
|
|
@@ -6033,7 +6699,8 @@
|
|
|
6033
6699
|
"name": "size",
|
|
6034
6700
|
"default": "16"
|
|
6035
6701
|
}
|
|
6036
|
-
]
|
|
6702
|
+
],
|
|
6703
|
+
"description": "\"Next\" navigation, or a collapsed disclosure/submenu indicator."
|
|
6037
6704
|
},
|
|
6038
6705
|
{
|
|
6039
6706
|
"kind": "function",
|
|
@@ -6043,7 +6710,8 @@
|
|
|
6043
6710
|
"name": "size",
|
|
6044
6711
|
"default": "16"
|
|
6045
6712
|
}
|
|
6046
|
-
]
|
|
6713
|
+
],
|
|
6714
|
+
"description": "\"Scroll to top\", or an expanded/upward disclosure control."
|
|
6047
6715
|
},
|
|
6048
6716
|
{
|
|
6049
6717
|
"kind": "function",
|
|
@@ -6053,7 +6721,8 @@
|
|
|
6053
6721
|
"name": "size",
|
|
6054
6722
|
"default": "20"
|
|
6055
6723
|
}
|
|
6056
|
-
]
|
|
6724
|
+
],
|
|
6725
|
+
"description": "Settings, preferences, or configuration entry points."
|
|
6057
6726
|
},
|
|
6058
6727
|
{
|
|
6059
6728
|
"kind": "function",
|
|
@@ -6063,7 +6732,8 @@
|
|
|
6063
6732
|
"name": "size",
|
|
6064
6733
|
"default": "20"
|
|
6065
6734
|
}
|
|
6066
|
-
]
|
|
6735
|
+
],
|
|
6736
|
+
"description": "Neutral informational messages, e.g. an info toast or status banner."
|
|
6067
6737
|
},
|
|
6068
6738
|
{
|
|
6069
6739
|
"kind": "function",
|
|
@@ -6073,7 +6743,8 @@
|
|
|
6073
6743
|
"name": "size",
|
|
6074
6744
|
"default": "20"
|
|
6075
6745
|
}
|
|
6076
|
-
]
|
|
6746
|
+
],
|
|
6747
|
+
"description": "Help, tooltips, or \"learn more\" affordances."
|
|
6077
6748
|
},
|
|
6078
6749
|
{
|
|
6079
6750
|
"kind": "function",
|
|
@@ -6083,7 +6754,8 @@
|
|
|
6083
6754
|
"name": "size",
|
|
6084
6755
|
"default": "16"
|
|
6085
6756
|
}
|
|
6086
|
-
]
|
|
6757
|
+
],
|
|
6758
|
+
"description": "Edit actions, e.g. an edit icon-button or inline edit toggle."
|
|
6087
6759
|
},
|
|
6088
6760
|
{
|
|
6089
6761
|
"kind": "function",
|
|
@@ -6093,7 +6765,8 @@
|
|
|
6093
6765
|
"name": "size",
|
|
6094
6766
|
"default": "16"
|
|
6095
6767
|
}
|
|
6096
|
-
]
|
|
6768
|
+
],
|
|
6769
|
+
"description": "Delete/remove actions, typically paired with a destructive/danger style."
|
|
6097
6770
|
},
|
|
6098
6771
|
{
|
|
6099
6772
|
"kind": "function",
|
|
@@ -6103,7 +6776,8 @@
|
|
|
6103
6776
|
"name": "size",
|
|
6104
6777
|
"default": "16"
|
|
6105
6778
|
}
|
|
6106
|
-
]
|
|
6779
|
+
],
|
|
6780
|
+
"description": "An overflow (\"kebab\") menu trigger, e.g. dropdown-button's icon variant."
|
|
6107
6781
|
},
|
|
6108
6782
|
{
|
|
6109
6783
|
"kind": "function",
|
|
@@ -6113,7 +6787,8 @@
|
|
|
6113
6787
|
"name": "size",
|
|
6114
6788
|
"default": "16"
|
|
6115
6789
|
}
|
|
6116
|
-
]
|
|
6790
|
+
],
|
|
6791
|
+
"description": "\"Add new\" actions, e.g. creating a new item or row."
|
|
6117
6792
|
},
|
|
6118
6793
|
{
|
|
6119
6794
|
"kind": "function",
|
|
@@ -6123,7 +6798,8 @@
|
|
|
6123
6798
|
"name": "size",
|
|
6124
6799
|
"default": "18"
|
|
6125
6800
|
}
|
|
6126
|
-
]
|
|
6801
|
+
],
|
|
6802
|
+
"description": "A list-view toggle, or to represent list-type content."
|
|
6127
6803
|
},
|
|
6128
6804
|
{
|
|
6129
6805
|
"kind": "function",
|
|
@@ -6133,7 +6809,8 @@
|
|
|
6133
6809
|
"name": "size",
|
|
6134
6810
|
"default": "16"
|
|
6135
6811
|
}
|
|
6136
|
-
]
|
|
6812
|
+
],
|
|
6813
|
+
"description": "Monetary values, pricing, or billing-related content."
|
|
6137
6814
|
},
|
|
6138
6815
|
{
|
|
6139
6816
|
"kind": "function",
|
|
@@ -6143,7 +6820,8 @@
|
|
|
6143
6820
|
"name": "size",
|
|
6144
6821
|
"default": "16"
|
|
6145
6822
|
}
|
|
6146
|
-
]
|
|
6823
|
+
],
|
|
6824
|
+
"description": "A primary navigation link to the app's home or dashboard."
|
|
6147
6825
|
},
|
|
6148
6826
|
{
|
|
6149
6827
|
"kind": "function",
|
|
@@ -6153,7 +6831,8 @@
|
|
|
6153
6831
|
"name": "size",
|
|
6154
6832
|
"default": "16"
|
|
6155
6833
|
}
|
|
6156
|
-
]
|
|
6834
|
+
],
|
|
6835
|
+
"description": "A location, address, or map marker."
|
|
6157
6836
|
},
|
|
6158
6837
|
{
|
|
6159
6838
|
"kind": "function",
|
|
@@ -6163,7 +6842,8 @@
|
|
|
6163
6842
|
"name": "size",
|
|
6164
6843
|
"default": "16"
|
|
6165
6844
|
}
|
|
6166
|
-
]
|
|
6845
|
+
],
|
|
6846
|
+
"description": "Timestamps, durations, or time-related metadata."
|
|
6167
6847
|
},
|
|
6168
6848
|
{
|
|
6169
6849
|
"kind": "function",
|
|
@@ -6173,7 +6853,8 @@
|
|
|
6173
6853
|
"name": "size",
|
|
6174
6854
|
"default": "16"
|
|
6175
6855
|
}
|
|
6176
|
-
]
|
|
6856
|
+
],
|
|
6857
|
+
"description": "Tags, labels, or categorical metadata."
|
|
6177
6858
|
},
|
|
6178
6859
|
{
|
|
6179
6860
|
"kind": "function",
|
|
@@ -6183,7 +6864,8 @@
|
|
|
6183
6864
|
"name": "size",
|
|
6184
6865
|
"default": "16"
|
|
6185
6866
|
}
|
|
6186
|
-
]
|
|
6867
|
+
],
|
|
6868
|
+
"description": "Dates, due dates, or calendar-related metadata."
|
|
6187
6869
|
},
|
|
6188
6870
|
{
|
|
6189
6871
|
"kind": "function",
|
|
@@ -6193,7 +6875,8 @@
|
|
|
6193
6875
|
"name": "size",
|
|
6194
6876
|
"default": "16"
|
|
6195
6877
|
}
|
|
6196
|
-
]
|
|
6878
|
+
],
|
|
6879
|
+
"description": "\"Expand\" or \"view fullscreen\" actions."
|
|
6197
6880
|
},
|
|
6198
6881
|
{
|
|
6199
6882
|
"kind": "function",
|
|
@@ -6203,7 +6886,8 @@
|
|
|
6203
6886
|
"name": "size",
|
|
6204
6887
|
"default": "16"
|
|
6205
6888
|
}
|
|
6206
|
-
]
|
|
6889
|
+
],
|
|
6890
|
+
"description": "A map-view toggle, or to represent map/geographic content."
|
|
6207
6891
|
},
|
|
6208
6892
|
{
|
|
6209
6893
|
"kind": "function",
|
|
@@ -6213,7 +6897,8 @@
|
|
|
6213
6897
|
"name": "size",
|
|
6214
6898
|
"default": "16"
|
|
6215
6899
|
}
|
|
6216
|
-
]
|
|
6900
|
+
],
|
|
6901
|
+
"description": "Success states, confirmations, or a selected-item checkmark."
|
|
6217
6902
|
},
|
|
6218
6903
|
{
|
|
6219
6904
|
"kind": "function",
|
|
@@ -6223,7 +6908,8 @@
|
|
|
6223
6908
|
"name": "size",
|
|
6224
6909
|
"default": "16"
|
|
6225
6910
|
}
|
|
6226
|
-
]
|
|
6911
|
+
],
|
|
6912
|
+
"description": "A light-theme toggle, or to represent daytime/light mode."
|
|
6227
6913
|
},
|
|
6228
6914
|
{
|
|
6229
6915
|
"kind": "function",
|
|
@@ -6233,7 +6919,8 @@
|
|
|
6233
6919
|
"name": "size",
|
|
6234
6920
|
"default": "16"
|
|
6235
6921
|
}
|
|
6236
|
-
]
|
|
6922
|
+
],
|
|
6923
|
+
"description": "Security warnings, or at-risk/compromised states."
|
|
6237
6924
|
},
|
|
6238
6925
|
{
|
|
6239
6926
|
"kind": "function",
|
|
@@ -6243,7 +6930,8 @@
|
|
|
6243
6930
|
"name": "size",
|
|
6244
6931
|
"default": "12"
|
|
6245
6932
|
}
|
|
6246
|
-
]
|
|
6933
|
+
],
|
|
6934
|
+
"description": "Refresh actions, or an animated busy/loading spinner."
|
|
6247
6935
|
},
|
|
6248
6936
|
{
|
|
6249
6937
|
"kind": "function",
|
|
@@ -6253,7 +6941,8 @@
|
|
|
6253
6941
|
"name": "size",
|
|
6254
6942
|
"default": "12"
|
|
6255
6943
|
}
|
|
6256
|
-
]
|
|
6944
|
+
],
|
|
6945
|
+
"description": "\"Continue\" or forward-progressing actions, e.g. a compact next-step arrow."
|
|
6257
6946
|
},
|
|
6258
6947
|
{
|
|
6259
6948
|
"kind": "function",
|
|
@@ -6263,7 +6952,8 @@
|
|
|
6263
6952
|
"name": "size",
|
|
6264
6953
|
"default": "16"
|
|
6265
6954
|
}
|
|
6266
|
-
]
|
|
6955
|
+
],
|
|
6956
|
+
"description": "Download or export actions."
|
|
6267
6957
|
},
|
|
6268
6958
|
{
|
|
6269
6959
|
"kind": "function",
|
|
@@ -6273,7 +6963,8 @@
|
|
|
6273
6963
|
"name": "size",
|
|
6274
6964
|
"default": "16"
|
|
6275
6965
|
}
|
|
6276
|
-
]
|
|
6966
|
+
],
|
|
6967
|
+
"description": "Swap, exchange, or compare actions between two items."
|
|
6277
6968
|
},
|
|
6278
6969
|
{
|
|
6279
6970
|
"kind": "function",
|
|
@@ -6283,7 +6974,8 @@
|
|
|
6283
6974
|
"name": "size",
|
|
6284
6975
|
"default": "16"
|
|
6285
6976
|
}
|
|
6286
|
-
]
|
|
6977
|
+
],
|
|
6978
|
+
"description": "Copy-link or hyperlink-related actions, e.g. copy-link-button."
|
|
6287
6979
|
},
|
|
6288
6980
|
{
|
|
6289
6981
|
"kind": "function",
|
|
@@ -6293,7 +6985,8 @@
|
|
|
6293
6985
|
"name": "size",
|
|
6294
6986
|
"default": "16"
|
|
6295
6987
|
}
|
|
6296
|
-
]
|
|
6988
|
+
],
|
|
6989
|
+
"description": "\"Like\"/\"favorite\" actions in their unselected state."
|
|
6297
6990
|
},
|
|
6298
6991
|
{
|
|
6299
6992
|
"kind": "function",
|
|
@@ -6303,7 +6996,8 @@
|
|
|
6303
6996
|
"name": "size",
|
|
6304
6997
|
"default": "16"
|
|
6305
6998
|
}
|
|
6306
|
-
]
|
|
6999
|
+
],
|
|
7000
|
+
"description": "\"Like\"/\"favorite\" actions in their selected/active state; pair with iconHeart for the unselected state."
|
|
6307
7001
|
},
|
|
6308
7002
|
{
|
|
6309
7003
|
"kind": "function",
|
|
@@ -6313,7 +7007,8 @@
|
|
|
6313
7007
|
"name": "size",
|
|
6314
7008
|
"default": "16"
|
|
6315
7009
|
}
|
|
6316
|
-
]
|
|
7010
|
+
],
|
|
7011
|
+
"description": "\"Show\"/\"preview\" actions or a visible/reviewed state, e.g. password visibility or a review status."
|
|
6317
7012
|
},
|
|
6318
7013
|
{
|
|
6319
7014
|
"kind": "function",
|
|
@@ -6323,7 +7018,8 @@
|
|
|
6323
7018
|
"name": "size",
|
|
6324
7019
|
"default": "16"
|
|
6325
7020
|
}
|
|
6326
|
-
]
|
|
7021
|
+
],
|
|
7022
|
+
"description": "\"Hide\" actions or a hidden/masked state; pair with iconEye for the visible state."
|
|
6327
7023
|
},
|
|
6328
7024
|
{
|
|
6329
7025
|
"kind": "function",
|
|
@@ -6333,7 +7029,8 @@
|
|
|
6333
7029
|
"name": "size",
|
|
6334
7030
|
"default": "16"
|
|
6335
7031
|
}
|
|
6336
|
-
]
|
|
7032
|
+
],
|
|
7033
|
+
"description": "Verified, secure, or trusted states."
|
|
6337
7034
|
},
|
|
6338
7035
|
{
|
|
6339
7036
|
"kind": "function",
|
|
@@ -6343,7 +7040,8 @@
|
|
|
6343
7040
|
"name": "size",
|
|
6344
7041
|
"default": "20"
|
|
6345
7042
|
}
|
|
6346
|
-
]
|
|
7043
|
+
],
|
|
7044
|
+
"description": "A generic user/person fallback, e.g. user-avatar's icon fallback."
|
|
6347
7045
|
},
|
|
6348
7046
|
{
|
|
6349
7047
|
"kind": "function",
|
|
@@ -6353,7 +7051,8 @@
|
|
|
6353
7051
|
"name": "size",
|
|
6354
7052
|
"default": "18"
|
|
6355
7053
|
}
|
|
6356
|
-
]
|
|
7054
|
+
],
|
|
7055
|
+
"description": "Task lists, checklists, or clipboard/notes content."
|
|
6357
7056
|
},
|
|
6358
7057
|
{
|
|
6359
7058
|
"kind": "function",
|
|
@@ -6363,7 +7062,8 @@
|
|
|
6363
7062
|
"name": "size",
|
|
6364
7063
|
"default": "18"
|
|
6365
7064
|
}
|
|
6366
|
-
]
|
|
7065
|
+
],
|
|
7066
|
+
"description": "System, hardware, or technical/processing content."
|
|
6367
7067
|
},
|
|
6368
7068
|
{
|
|
6369
7069
|
"kind": "function",
|
|
@@ -6373,7 +7073,8 @@
|
|
|
6373
7073
|
"name": "size",
|
|
6374
7074
|
"default": "18"
|
|
6375
7075
|
}
|
|
6376
|
-
]
|
|
7076
|
+
],
|
|
7077
|
+
"description": "Folders, directories, or grouped file content."
|
|
6377
7078
|
},
|
|
6378
7079
|
{
|
|
6379
7080
|
"kind": "function",
|
|
@@ -6383,7 +7084,8 @@
|
|
|
6383
7084
|
"name": "size",
|
|
6384
7085
|
"default": "16"
|
|
6385
7086
|
}
|
|
6386
|
-
]
|
|
7087
|
+
],
|
|
7088
|
+
"description": "\"Scroll to bottom\", a downward disclosure, or an expanded tree/accordion indicator."
|
|
6387
7089
|
},
|
|
6388
7090
|
{
|
|
6389
7091
|
"kind": "function",
|
|
@@ -6393,7 +7095,8 @@
|
|
|
6393
7095
|
"name": "size",
|
|
6394
7096
|
"default": "18"
|
|
6395
7097
|
}
|
|
6396
|
-
]
|
|
7098
|
+
],
|
|
7099
|
+
"description": "A generic file/document icon, e.g. tile-grid's default file icon."
|
|
6397
7100
|
},
|
|
6398
7101
|
{
|
|
6399
7102
|
"kind": "function",
|
|
@@ -6403,7 +7106,8 @@
|
|
|
6403
7106
|
"name": "size",
|
|
6404
7107
|
"default": "18"
|
|
6405
7108
|
}
|
|
6406
|
-
]
|
|
7109
|
+
],
|
|
7110
|
+
"description": "A grid or kanban-view toggle, or to represent card/tile layouts."
|
|
6407
7111
|
},
|
|
6408
7112
|
{
|
|
6409
7113
|
"kind": "function",
|
|
@@ -6413,7 +7117,8 @@
|
|
|
6413
7117
|
"name": "size",
|
|
6414
7118
|
"default": "18"
|
|
6415
7119
|
}
|
|
6416
|
-
]
|
|
7120
|
+
],
|
|
7121
|
+
"description": "Messaging, comments, or conversation-related content."
|
|
6417
7122
|
},
|
|
6418
7123
|
{
|
|
6419
7124
|
"kind": "function",
|
|
@@ -6423,7 +7128,8 @@
|
|
|
6423
7128
|
"name": "size",
|
|
6424
7129
|
"default": "16"
|
|
6425
7130
|
}
|
|
6426
|
-
]
|
|
7131
|
+
],
|
|
7132
|
+
"description": "Links that open in a new tab/window, or navigate to an external site."
|
|
6427
7133
|
},
|
|
6428
7134
|
{
|
|
6429
7135
|
"kind": "function",
|
|
@@ -6433,7 +7139,8 @@
|
|
|
6433
7139
|
"name": "size",
|
|
6434
7140
|
"default": "18"
|
|
6435
7141
|
}
|
|
6436
|
-
]
|
|
7142
|
+
],
|
|
7143
|
+
"description": "Education, learning, or certification-related content."
|
|
6437
7144
|
},
|
|
6438
7145
|
{
|
|
6439
7146
|
"kind": "function",
|
|
@@ -6443,7 +7150,8 @@
|
|
|
6443
7150
|
"name": "size",
|
|
6444
7151
|
"default": "16"
|
|
6445
7152
|
}
|
|
6446
|
-
]
|
|
7153
|
+
],
|
|
7154
|
+
"description": "Queues, backlogs, or ordered work-item lists."
|
|
6447
7155
|
},
|
|
6448
7156
|
{
|
|
6449
7157
|
"kind": "function",
|
|
@@ -6453,7 +7161,8 @@
|
|
|
6453
7161
|
"name": "size",
|
|
6454
7162
|
"default": "16"
|
|
6455
7163
|
}
|
|
6456
|
-
]
|
|
7164
|
+
],
|
|
7165
|
+
"description": "Warning states, e.g. the warning variant of toast-notification."
|
|
6457
7166
|
},
|
|
6458
7167
|
{
|
|
6459
7168
|
"kind": "function",
|
|
@@ -6463,7 +7172,8 @@
|
|
|
6463
7172
|
"name": "size",
|
|
6464
7173
|
"default": "16"
|
|
6465
7174
|
}
|
|
6466
|
-
]
|
|
7175
|
+
],
|
|
7176
|
+
"description": "Error states, e.g. the error variant of toast-notification."
|
|
6467
7177
|
},
|
|
6468
7178
|
{
|
|
6469
7179
|
"kind": "function",
|
|
@@ -6473,7 +7183,8 @@
|
|
|
6473
7183
|
"name": "size",
|
|
6474
7184
|
"default": "16"
|
|
6475
7185
|
}
|
|
6476
|
-
]
|
|
7186
|
+
],
|
|
7187
|
+
"description": "A dark-theme toggle, or to represent night/dark mode."
|
|
6477
7188
|
},
|
|
6478
7189
|
{
|
|
6479
7190
|
"kind": "function",
|
|
@@ -6483,7 +7194,8 @@
|
|
|
6483
7194
|
"name": "size",
|
|
6484
7195
|
"default": "16"
|
|
6485
7196
|
}
|
|
6486
|
-
]
|
|
7197
|
+
],
|
|
7198
|
+
"description": "A \"system/auto\" theme option, or to represent a desktop device."
|
|
6487
7199
|
},
|
|
6488
7200
|
{
|
|
6489
7201
|
"kind": "function",
|
|
@@ -6493,7 +7205,8 @@
|
|
|
6493
7205
|
"name": "size",
|
|
6494
7206
|
"default": "16"
|
|
6495
7207
|
}
|
|
6496
|
-
]
|
|
7208
|
+
],
|
|
7209
|
+
"description": "Code snippets, developer tools, or technical/API content."
|
|
6497
7210
|
},
|
|
6498
7211
|
{
|
|
6499
7212
|
"kind": "function",
|
|
@@ -6503,7 +7216,8 @@
|
|
|
6503
7216
|
"name": "size",
|
|
6504
7217
|
"default": "18"
|
|
6505
7218
|
}
|
|
6506
|
-
]
|
|
7219
|
+
],
|
|
7220
|
+
"description": "Plugins, integrations, or extensible/add-on features."
|
|
6507
7221
|
},
|
|
6508
7222
|
{
|
|
6509
7223
|
"kind": "function",
|
|
@@ -6513,7 +7227,8 @@
|
|
|
6513
7227
|
"name": "size",
|
|
6514
7228
|
"default": "18"
|
|
6515
7229
|
}
|
|
6516
|
-
]
|
|
7230
|
+
],
|
|
7231
|
+
"description": "Teams, groups, or multi-user/collaboration content."
|
|
6517
7232
|
},
|
|
6518
7233
|
{
|
|
6519
7234
|
"kind": "function",
|
|
@@ -6523,7 +7238,74 @@
|
|
|
6523
7238
|
"name": "size",
|
|
6524
7239
|
"default": "16"
|
|
6525
7240
|
}
|
|
6526
|
-
]
|
|
7241
|
+
],
|
|
7242
|
+
"description": "Logout/sign-out actions."
|
|
7243
|
+
},
|
|
7244
|
+
{
|
|
7245
|
+
"kind": "function",
|
|
7246
|
+
"name": "iconWrenchScrewdriver",
|
|
7247
|
+
"parameters": [
|
|
7248
|
+
{
|
|
7249
|
+
"name": "size",
|
|
7250
|
+
"default": "18"
|
|
7251
|
+
}
|
|
7252
|
+
],
|
|
7253
|
+
"description": "Tools, maintenance, or build/configuration actions."
|
|
7254
|
+
},
|
|
7255
|
+
{
|
|
7256
|
+
"kind": "function",
|
|
7257
|
+
"name": "iconPlay",
|
|
7258
|
+
"parameters": [
|
|
7259
|
+
{
|
|
7260
|
+
"name": "size",
|
|
7261
|
+
"default": "18"
|
|
7262
|
+
}
|
|
7263
|
+
],
|
|
7264
|
+
"description": "\"Play\" transport actions, e.g. audio-player/video-player's paused state."
|
|
7265
|
+
},
|
|
7266
|
+
{
|
|
7267
|
+
"kind": "function",
|
|
7268
|
+
"name": "iconPause",
|
|
7269
|
+
"parameters": [
|
|
7270
|
+
{
|
|
7271
|
+
"name": "size",
|
|
7272
|
+
"default": "18"
|
|
7273
|
+
}
|
|
7274
|
+
],
|
|
7275
|
+
"description": "\"Pause\" transport actions, e.g. audio-player/video-player's playing state."
|
|
7276
|
+
},
|
|
7277
|
+
{
|
|
7278
|
+
"kind": "function",
|
|
7279
|
+
"name": "iconSpeakerWave",
|
|
7280
|
+
"parameters": [
|
|
7281
|
+
{
|
|
7282
|
+
"name": "size",
|
|
7283
|
+
"default": "18"
|
|
7284
|
+
}
|
|
7285
|
+
],
|
|
7286
|
+
"description": "An unmuted volume control, e.g. audio-player/video-player's mute toggle."
|
|
7287
|
+
},
|
|
7288
|
+
{
|
|
7289
|
+
"kind": "function",
|
|
7290
|
+
"name": "iconSpeakerXMark",
|
|
7291
|
+
"parameters": [
|
|
7292
|
+
{
|
|
7293
|
+
"name": "size",
|
|
7294
|
+
"default": "18"
|
|
7295
|
+
}
|
|
7296
|
+
],
|
|
7297
|
+
"description": "A muted volume state; pair with iconSpeakerWave for the unmuted state."
|
|
7298
|
+
},
|
|
7299
|
+
{
|
|
7300
|
+
"kind": "function",
|
|
7301
|
+
"name": "iconArrowsPointingIn",
|
|
7302
|
+
"parameters": [
|
|
7303
|
+
{
|
|
7304
|
+
"name": "size",
|
|
7305
|
+
"default": "16"
|
|
7306
|
+
}
|
|
7307
|
+
],
|
|
7308
|
+
"description": "\"Exit fullscreen\" actions; pair with iconArrowsPointingOut for entering fullscreen."
|
|
6527
7309
|
}
|
|
6528
7310
|
],
|
|
6529
7311
|
"exports": [
|
|
@@ -6950,6 +7732,54 @@
|
|
|
6950
7732
|
"name": "iconArrowRightOnRectangle",
|
|
6951
7733
|
"module": "src/icons.ts"
|
|
6952
7734
|
}
|
|
7735
|
+
},
|
|
7736
|
+
{
|
|
7737
|
+
"kind": "js",
|
|
7738
|
+
"name": "iconWrenchScrewdriver",
|
|
7739
|
+
"declaration": {
|
|
7740
|
+
"name": "iconWrenchScrewdriver",
|
|
7741
|
+
"module": "src/icons.ts"
|
|
7742
|
+
}
|
|
7743
|
+
},
|
|
7744
|
+
{
|
|
7745
|
+
"kind": "js",
|
|
7746
|
+
"name": "iconPlay",
|
|
7747
|
+
"declaration": {
|
|
7748
|
+
"name": "iconPlay",
|
|
7749
|
+
"module": "src/icons.ts"
|
|
7750
|
+
}
|
|
7751
|
+
},
|
|
7752
|
+
{
|
|
7753
|
+
"kind": "js",
|
|
7754
|
+
"name": "iconPause",
|
|
7755
|
+
"declaration": {
|
|
7756
|
+
"name": "iconPause",
|
|
7757
|
+
"module": "src/icons.ts"
|
|
7758
|
+
}
|
|
7759
|
+
},
|
|
7760
|
+
{
|
|
7761
|
+
"kind": "js",
|
|
7762
|
+
"name": "iconSpeakerWave",
|
|
7763
|
+
"declaration": {
|
|
7764
|
+
"name": "iconSpeakerWave",
|
|
7765
|
+
"module": "src/icons.ts"
|
|
7766
|
+
}
|
|
7767
|
+
},
|
|
7768
|
+
{
|
|
7769
|
+
"kind": "js",
|
|
7770
|
+
"name": "iconSpeakerXMark",
|
|
7771
|
+
"declaration": {
|
|
7772
|
+
"name": "iconSpeakerXMark",
|
|
7773
|
+
"module": "src/icons.ts"
|
|
7774
|
+
}
|
|
7775
|
+
},
|
|
7776
|
+
{
|
|
7777
|
+
"kind": "js",
|
|
7778
|
+
"name": "iconArrowsPointingIn",
|
|
7779
|
+
"declaration": {
|
|
7780
|
+
"name": "iconArrowsPointingIn",
|
|
7781
|
+
"module": "src/icons.ts"
|
|
7782
|
+
}
|
|
6953
7783
|
}
|
|
6954
7784
|
]
|
|
6955
7785
|
},
|
|
@@ -7886,6 +8716,14 @@
|
|
|
7886
8716
|
"module": "./utils/duration.js"
|
|
7887
8717
|
}
|
|
7888
8718
|
},
|
|
8719
|
+
{
|
|
8720
|
+
"kind": "js",
|
|
8721
|
+
"name": "formatClockDuration",
|
|
8722
|
+
"declaration": {
|
|
8723
|
+
"name": "formatClockDuration",
|
|
8724
|
+
"module": "./utils/duration.js"
|
|
8725
|
+
}
|
|
8726
|
+
},
|
|
7889
8727
|
{
|
|
7890
8728
|
"kind": "js",
|
|
7891
8729
|
"name": "DurationFormat",
|
|
@@ -7894,6 +8732,30 @@
|
|
|
7894
8732
|
"module": "./utils/duration.js"
|
|
7895
8733
|
}
|
|
7896
8734
|
},
|
|
8735
|
+
{
|
|
8736
|
+
"kind": "js",
|
|
8737
|
+
"name": "AudioPlayer",
|
|
8738
|
+
"declaration": {
|
|
8739
|
+
"name": "AudioPlayer",
|
|
8740
|
+
"module": "./audio-player.js"
|
|
8741
|
+
}
|
|
8742
|
+
},
|
|
8743
|
+
{
|
|
8744
|
+
"kind": "js",
|
|
8745
|
+
"name": "VideoPlayer",
|
|
8746
|
+
"declaration": {
|
|
8747
|
+
"name": "VideoPlayer",
|
|
8748
|
+
"module": "./video-player.js"
|
|
8749
|
+
}
|
|
8750
|
+
},
|
|
8751
|
+
{
|
|
8752
|
+
"kind": "js",
|
|
8753
|
+
"name": "CommentComposer",
|
|
8754
|
+
"declaration": {
|
|
8755
|
+
"name": "CommentComposer",
|
|
8756
|
+
"module": "./comment-composer.js"
|
|
8757
|
+
}
|
|
8758
|
+
},
|
|
7897
8759
|
{
|
|
7898
8760
|
"kind": "js",
|
|
7899
8761
|
"name": "tokens",
|
|
@@ -11239,7 +12101,7 @@
|
|
|
11239
12101
|
"declarations": [
|
|
11240
12102
|
{
|
|
11241
12103
|
"kind": "class",
|
|
11242
|
-
"description": "Page title block for the top of a dashboard view: an optional breadcrumb\ntrail, the page heading
|
|
12104
|
+
"description": "Page title block for the top of a dashboard view: an optional breadcrumb\ntrail, the page heading with a right-aligned cluster of page-level actions\nbeside it, and an optional description of what the page is for underneath.\nThe actions sit in the title row rather than beside the whole block, so a\nlonger or wrapping description never moves them. It only lays these out —\nthe breadcrumb links and action buttons are entirely the consumer's, so it\nstays framework- and router-agnostic.",
|
|
11243
12105
|
"name": "PageHeader",
|
|
11244
12106
|
"slots": [
|
|
11245
12107
|
{
|
|
@@ -11262,6 +12124,16 @@
|
|
|
11262
12124
|
"description": "The page heading text.",
|
|
11263
12125
|
"attribute": "heading"
|
|
11264
12126
|
},
|
|
12127
|
+
{
|
|
12128
|
+
"kind": "field",
|
|
12129
|
+
"name": "description",
|
|
12130
|
+
"type": {
|
|
12131
|
+
"text": "string"
|
|
12132
|
+
},
|
|
12133
|
+
"default": "\"\"",
|
|
12134
|
+
"description": "Optional supporting line under the heading, explaining what the page does.",
|
|
12135
|
+
"attribute": "description"
|
|
12136
|
+
},
|
|
11265
12137
|
{
|
|
11266
12138
|
"kind": "field",
|
|
11267
12139
|
"name": "_hasBreadcrumb",
|
|
@@ -11301,6 +12173,15 @@
|
|
|
11301
12173
|
"default": "\"\"",
|
|
11302
12174
|
"description": "The page heading text.",
|
|
11303
12175
|
"fieldName": "heading"
|
|
12176
|
+
},
|
|
12177
|
+
{
|
|
12178
|
+
"name": "description",
|
|
12179
|
+
"type": {
|
|
12180
|
+
"text": "string"
|
|
12181
|
+
},
|
|
12182
|
+
"default": "\"\"",
|
|
12183
|
+
"description": "Optional supporting line under the heading, explaining what the page does.",
|
|
12184
|
+
"fieldName": "description"
|
|
11304
12185
|
}
|
|
11305
12186
|
],
|
|
11306
12187
|
"superclass": {
|
|
@@ -11336,7 +12217,7 @@
|
|
|
11336
12217
|
"declarations": [
|
|
11337
12218
|
{
|
|
11338
12219
|
"kind": "class",
|
|
11339
|
-
"description": "Minimal, controlled pager for list/table views: a previous/next control pair\naround a \"Page N of M\" status. It owns no data — the consumer sets\n`current-page` / `total-pages` and moves the page in response to the\n`page-change` event (typically alongside its own data fetch), exactly like\n`data-table` leaves the row data to the caller.\n\nPrevious is disabled on the first page and next on the last; neither fires an\nevent when there is nowhere to go.",
|
|
12220
|
+
"description": "Minimal, controlled pager for list/table views: a previous/next control pair\naround a \"Page N of M\" status. It owns no data — the consumer sets\n`current-page` / `total-pages` and moves the page in response to the\n`page-change` event (typically alongside its own data fetch), exactly like\n`data-table` leaves the row data to the caller.\n\nPrevious is disabled on the first page and next on the last; neither fires an\nevent when there is nowhere to go.\n\nThe prev/next buttons are treated as `ui-button`'s `secondary` variant:\nthey read the same shared `--ui-button-secondary-*`/`--ui-button-highlight`\ntokens (and `--ui-button-secondary-surface-muted` for hover, since — like\n`button-group`'s unchecked segments — they already paint\n`--ui-surface-muted` on hover by default), so a gradient theme applies\nconsistently here too.",
|
|
11340
12221
|
"name": "PaginationNav",
|
|
11341
12222
|
"members": [
|
|
11342
12223
|
{
|
|
@@ -12662,7 +13543,7 @@
|
|
|
12662
13543
|
"declarations": [
|
|
12663
13544
|
{
|
|
12664
13545
|
"kind": "class",
|
|
12665
|
-
"description": "Single-select group of full-width cards, each with a label and optional\ndescription — for a handful of meaningfully different choices where the\ndescription matters. For many short, same-shaped options (a color swatch,\na basemap style), use `radio-pills` instead. Wraps native radio inputs for\nkeyboard/a11y and fires `change` rather than relying on form submission.",
|
|
13546
|
+
"description": "Single-select group of full-width cards, each with a label and optional\ndescription — for a handful of meaningfully different choices where the\ndescription matters. For many short, same-shaped options (a color swatch,\na basemap style), use `radio-pills` instead. Wraps native radio inputs for\nkeyboard/a11y and fires `change` rather than relying on form submission.\n\nThe selected card's border/radio dot read `--ui-button-accent` (a solid\nstand-in, since `border-color`/`accent-color` can't render a gradient),\nand its background reads the shared `--ui-button-secondary-surface-muted`\nplus `--ui-button-highlight`, so a gradient theme tints it consistently\nwith `button-group`/`pagination-nav`'s equivalents.",
|
|
12666
13547
|
"name": "RadioCards",
|
|
12667
13548
|
"members": [
|
|
12668
13549
|
{
|
|
@@ -12777,7 +13658,7 @@
|
|
|
12777
13658
|
"declarations": [
|
|
12778
13659
|
{
|
|
12779
13660
|
"kind": "class",
|
|
12780
|
-
"description": "Single-select group of compact pill-shaped options — for many short,\nsame-shaped choices (a basemap style, a unit toggle). For a handful of\nchoices where a description matters, use `radio-cards` instead. Wraps\nnative radio inputs for keyboard/a11y and fires `change` rather than\nrelying on form submission.",
|
|
13661
|
+
"description": "Single-select group of compact pill-shaped options — for many short,\nsame-shaped choices (a basemap style, a unit toggle). For a handful of\nchoices where a description matters, use `radio-cards` instead. Wraps\nnative radio inputs for keyboard/a11y and fires `change` rather than\nrelying on form submission.\n\nThe selected pill's border/radio dot read `--ui-button-accent` (a solid\nstand-in, since `border-color`/`accent-color` can't render a gradient),\nand its background reads the shared `--ui-button-secondary-surface-muted`\nplus `--ui-button-highlight`, so a gradient theme tints it consistently\nwith `button-group`/`pagination-nav`'s equivalents.",
|
|
12781
13662
|
"name": "RadioPills",
|
|
12782
13663
|
"members": [
|
|
12783
13664
|
{
|
|
@@ -13266,7 +14147,7 @@
|
|
|
13266
14147
|
"declarations": [
|
|
13267
14148
|
{
|
|
13268
14149
|
"kind": "class",
|
|
13269
|
-
"description": "Button that reveals hidden slotted content when clicked.",
|
|
14150
|
+
"description": "Button that reveals hidden slotted content when clicked. Set `size=\"sm\"`\nfor a compact button one step below the default, matching `ui-button`'s\n`sm` size.",
|
|
13270
14151
|
"name": "RevealButton",
|
|
13271
14152
|
"members": [
|
|
13272
14153
|
{
|
|
@@ -13289,6 +14170,17 @@
|
|
|
13289
14170
|
"description": "Disables revealing the slotted content.",
|
|
13290
14171
|
"attribute": "disabled"
|
|
13291
14172
|
},
|
|
14173
|
+
{
|
|
14174
|
+
"kind": "field",
|
|
14175
|
+
"name": "size",
|
|
14176
|
+
"type": {
|
|
14177
|
+
"text": "\"sm\" | \"md\""
|
|
14178
|
+
},
|
|
14179
|
+
"default": "\"md\"",
|
|
14180
|
+
"description": "Size — `sm` reduces the button's height/padding/font-size one step below the default.",
|
|
14181
|
+
"attribute": "size",
|
|
14182
|
+
"reflects": true
|
|
14183
|
+
},
|
|
13292
14184
|
{
|
|
13293
14185
|
"kind": "method",
|
|
13294
14186
|
"name": "_reveal",
|
|
@@ -13313,6 +14205,15 @@
|
|
|
13313
14205
|
"default": "false",
|
|
13314
14206
|
"description": "Disables revealing the slotted content.",
|
|
13315
14207
|
"fieldName": "disabled"
|
|
14208
|
+
},
|
|
14209
|
+
{
|
|
14210
|
+
"name": "size",
|
|
14211
|
+
"type": {
|
|
14212
|
+
"text": "\"sm\" | \"md\""
|
|
14213
|
+
},
|
|
14214
|
+
"default": "\"md\"",
|
|
14215
|
+
"description": "Size — `sm` reduces the button's height/padding/font-size one step below the default.",
|
|
14216
|
+
"fieldName": "size"
|
|
13316
14217
|
}
|
|
13317
14218
|
],
|
|
13318
14219
|
"superclass": {
|
|
@@ -15332,7 +16233,7 @@
|
|
|
15332
16233
|
"type": {
|
|
15333
16234
|
"text": "Record<string, string>"
|
|
15334
16235
|
},
|
|
15335
|
-
"default": "{ // Colors \"--ui-primary\": \"#4f46e5\", // indigo-600 \"--ui-primary-hover\": \"#4338ca\", // indigo-700 \"--ui-info\": \"#0ea5e9\", // sky-500 \"--ui-info-hover\": \"#0284c7\", // sky-600 \"--ui-danger\": \"#dc2626\", // red-600 \"--ui-danger-hover\": \"#b91c1c\", // red-700 \"--ui-success\": \"#16a34a\", // green-600 \"--ui-warning\": \"#d97706\", // amber-600 \"--ui-warning-hover\": \"#b45309\", // amber-700 \"--ui-on-accent\": \"#ffffff\", \"--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-highlight\": \"#fde68a\", // amber-200 — transient \"just changed\" flash \"--ui-tooltip\": \"#0f172a\", // slate-900 \"--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-mono\": \"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace\", \"--ui-font-size-lg\": \"1rem\", // text-base \"--ui-font-size\": \"0.875rem\", // text-sm \"--ui-font-size-sm\": \"0.75rem\", // text-xs \"--ui-font-size-xs\": \"0.6875rem\", // Font weights — the only four weights the system uses. \"--ui-font-weight-regular\": \"400\", \"--ui-font-weight-medium\": \"500\", \"--ui-font-weight-semibold\": \"600\", \"--ui-font-weight-bold\": \"700\", // Line heights — glyph (icon/marker box), tight (headings), normal (body). \"--ui-line-height-glyph\": \"1\", \"--ui-line-height-tight\": \"1.25\", \"--ui-line-height-normal\": \"1.5\", // Letter spacing / tracking — default and the single widened step. \"--ui-tracking-normal\": \"0\", \"--ui-tracking-wide\": \"0.04em\", }",
|
|
16236
|
+
"default": "{ // Colors \"--ui-primary\": \"#4f46e5\", // indigo-600 \"--ui-primary-hover\": \"#4338ca\", // indigo-700 // Button-specific background/border hooks: default to the flat --ui-primary // / --ui-danger tokens above unchanged, so those stay the single source of // truth for every other component. Overriding just these lets a theme opt // ui-button into a gradient (or any other) background without touching // component markup; --ui-button-border/--ui-button-danger-border default // to transparent (today's look) and are meant to be paired with a shade // darker than the gradient's dark stop when one is set. The `-active` // variants default to whatever `-background` already resolved to (so a // solid override still applies while pressed) — a gradient theme should // set them to the same stops in reverse, for a pressed/\"indented\" look. \"--ui-button-background\": \"var(--ui-primary, #4f46e5)\", \"--ui-button-background-hover\": \"var(--ui-primary-hover, #4338ca)\", \"--ui-button-background-active\": \"var(--ui-button-background, var(--ui-primary, #4f46e5))\", \"--ui-button-border\": \"transparent\", // The bordered, transparent-background secondary variant's equivalents — // shared with confirm-dialog's Cancel button, which is the same visual // pattern. Defaults reproduce today's literal secondary styling exactly // (no background at any state, border colors matching --ui-border / // --ui-text-muted), so a theme only needs to override these to make // secondary/Cancel buttons match a primary/danger gradient theme. \"--ui-button-secondary-background\": \"none\", \"--ui-button-secondary-background-hover\": \"none\", \"--ui-button-secondary-background-active\": \"var(--ui-button-secondary-background, none)\", \"--ui-button-secondary-border\": \"var(--ui-border, #e2e8f0)\", \"--ui-button-secondary-border-hover\": \"var(--ui-text-muted, #64748b)\", // A muted-gray surface used wherever something already paints // --ui-surface-muted as a state indicator in flat mode — button-group's // unchecked-segment hover, pagination-nav's button hover, and // radio-cards/radio-pills' checked background — which is a genuinely // different default than secondary's borderless flat hover, so it can't // reuse --ui-button-secondary-background-hover's \"none\" default. \"--ui-button-secondary-surface-muted\": \"var(--ui-surface-muted, #f8fafc)\", // Shared by both primary/danger — a purely cosmetic gloss/legibility pair, // not color-specific, so one token covers both variants. `-highlight` is a // full box-shadow value (e.g. `inset 0 1px 0 rgb(255 255 255 / 0.35)`) for // a glossy top edge, defaulting to a fully transparent (so invisible) // shadow rather than the keyword `none` — some usages combine it with // another literal shadow in a comma-separated list, where a bare `none` // item is invalid CSS and would zero out the *whole* declaration. // `-text-shadow` is a full text-shadow value for label legibility against // a gradient's lighter stop, always used standalone, so it keeps `none`. \"--ui-button-highlight\": \"0 0 0 0 transparent\", \"--ui-button-text-shadow\": \"none\", // A solid stand-in for the same accent, for spots that can't render a // background gradient at all — a native <input>'s accent-color only // accepts a plain color, and a hard-stop background gradient (e.g. // range-slider's filled track) can't nest another gradient inside its own // color-stop list. Consumers that theme the buttons into a gradient should // set this to the gradient's dark stop, so these non-button accents (radio // selection indicators, the range-slider track/thumb) stay visually // coordinated with it even though they can't literally paint a gradient. \"--ui-button-accent\": \"var(--ui-primary, #4f46e5)\", \"--ui-info\": \"#0ea5e9\", // sky-500 \"--ui-info-hover\": \"#0284c7\", // sky-600 \"--ui-danger\": \"#dc2626\", // red-600 \"--ui-danger-hover\": \"#b91c1c\", // red-700 \"--ui-button-danger-background\": \"var(--ui-danger, #dc2626)\", \"--ui-button-danger-background-hover\": \"var(--ui-danger-hover, #b91c1c)\", \"--ui-button-danger-background-active\": \"var(--ui-button-danger-background, var(--ui-danger, #dc2626))\", \"--ui-button-danger-border\": \"transparent\", \"--ui-success\": \"#16a34a\", // green-600 \"--ui-warning\": \"#d97706\", // amber-600 \"--ui-warning-hover\": \"#b45309\", // amber-700 \"--ui-on-accent\": \"#ffffff\", \"--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-highlight\": \"#fde68a\", // amber-200 — transient \"just changed\" flash \"--ui-tooltip\": \"#0f172a\", // slate-900 \"--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-mono\": \"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace\", \"--ui-font-size-lg\": \"1rem\", // text-base \"--ui-font-size\": \"0.875rem\", // text-sm \"--ui-font-size-sm\": \"0.75rem\", // text-xs \"--ui-font-size-xs\": \"0.6875rem\", // Font weights — the only four weights the system uses. \"--ui-font-weight-regular\": \"400\", \"--ui-font-weight-medium\": \"500\", \"--ui-font-weight-semibold\": \"600\", \"--ui-font-weight-bold\": \"700\", // Line heights — glyph (icon/marker box), tight (headings), normal (body). \"--ui-line-height-glyph\": \"1\", \"--ui-line-height-tight\": \"1.25\", \"--ui-line-height-normal\": \"1.5\", // Letter spacing / tracking — default and the single widened step. \"--ui-tracking-normal\": \"0\", \"--ui-tracking-wide\": \"0.04em\", }",
|
|
15336
16237
|
"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`)."
|
|
15337
16238
|
},
|
|
15338
16239
|
{
|
|
@@ -15456,12 +16357,540 @@
|
|
|
15456
16357
|
"text": "string"
|
|
15457
16358
|
}
|
|
15458
16359
|
}
|
|
15459
|
-
]
|
|
16360
|
+
]
|
|
16361
|
+
},
|
|
16362
|
+
{
|
|
16363
|
+
"kind": "method",
|
|
16364
|
+
"name": "#activate",
|
|
16365
|
+
"privacy": "private",
|
|
16366
|
+
"return": {
|
|
16367
|
+
"type": {
|
|
16368
|
+
"text": "void"
|
|
16369
|
+
}
|
|
16370
|
+
},
|
|
16371
|
+
"parameters": [
|
|
16372
|
+
{
|
|
16373
|
+
"name": "node",
|
|
16374
|
+
"type": {
|
|
16375
|
+
"text": "TreeNode"
|
|
16376
|
+
}
|
|
16377
|
+
}
|
|
16378
|
+
]
|
|
16379
|
+
},
|
|
16380
|
+
{
|
|
16381
|
+
"kind": "method",
|
|
16382
|
+
"name": "#onKeydown",
|
|
16383
|
+
"privacy": "private",
|
|
16384
|
+
"return": {
|
|
16385
|
+
"type": {
|
|
16386
|
+
"text": "void"
|
|
16387
|
+
}
|
|
16388
|
+
},
|
|
16389
|
+
"parameters": [
|
|
16390
|
+
{
|
|
16391
|
+
"name": "node",
|
|
16392
|
+
"type": {
|
|
16393
|
+
"text": "TreeNode"
|
|
16394
|
+
}
|
|
16395
|
+
},
|
|
16396
|
+
{
|
|
16397
|
+
"name": "e",
|
|
16398
|
+
"type": {
|
|
16399
|
+
"text": "KeyboardEvent"
|
|
16400
|
+
}
|
|
16401
|
+
}
|
|
16402
|
+
]
|
|
16403
|
+
},
|
|
16404
|
+
{
|
|
16405
|
+
"kind": "method",
|
|
16406
|
+
"name": "#onRowClick",
|
|
16407
|
+
"privacy": "private",
|
|
16408
|
+
"return": {
|
|
16409
|
+
"type": {
|
|
16410
|
+
"text": "void"
|
|
16411
|
+
}
|
|
16412
|
+
},
|
|
16413
|
+
"parameters": [
|
|
16414
|
+
{
|
|
16415
|
+
"name": "node",
|
|
16416
|
+
"type": {
|
|
16417
|
+
"text": "TreeNode"
|
|
16418
|
+
}
|
|
16419
|
+
},
|
|
16420
|
+
{
|
|
16421
|
+
"name": "e",
|
|
16422
|
+
"type": {
|
|
16423
|
+
"text": "MouseEvent"
|
|
16424
|
+
}
|
|
16425
|
+
}
|
|
16426
|
+
]
|
|
16427
|
+
},
|
|
16428
|
+
{
|
|
16429
|
+
"kind": "method",
|
|
16430
|
+
"name": "#isNestedInteractive",
|
|
16431
|
+
"privacy": "private",
|
|
16432
|
+
"return": {
|
|
16433
|
+
"type": {
|
|
16434
|
+
"text": "boolean"
|
|
16435
|
+
}
|
|
16436
|
+
},
|
|
16437
|
+
"parameters": [
|
|
16438
|
+
{
|
|
16439
|
+
"name": "path",
|
|
16440
|
+
"type": {
|
|
16441
|
+
"text": "EventTarget[]"
|
|
16442
|
+
}
|
|
16443
|
+
},
|
|
16444
|
+
{
|
|
16445
|
+
"name": "row",
|
|
16446
|
+
"type": {
|
|
16447
|
+
"text": "EventTarget | null"
|
|
16448
|
+
}
|
|
16449
|
+
}
|
|
16450
|
+
]
|
|
16451
|
+
},
|
|
16452
|
+
{
|
|
16453
|
+
"kind": "method",
|
|
16454
|
+
"name": "#renderNode",
|
|
16455
|
+
"privacy": "private",
|
|
16456
|
+
"return": {
|
|
16457
|
+
"type": {
|
|
16458
|
+
"text": "TemplateResult"
|
|
16459
|
+
}
|
|
16460
|
+
},
|
|
16461
|
+
"parameters": [
|
|
16462
|
+
{
|
|
16463
|
+
"name": "node",
|
|
16464
|
+
"type": {
|
|
16465
|
+
"text": "TreeNode"
|
|
16466
|
+
}
|
|
16467
|
+
},
|
|
16468
|
+
{
|
|
16469
|
+
"name": "depth",
|
|
16470
|
+
"type": {
|
|
16471
|
+
"text": "number"
|
|
16472
|
+
}
|
|
16473
|
+
},
|
|
16474
|
+
{
|
|
16475
|
+
"name": "isLast",
|
|
16476
|
+
"type": {
|
|
16477
|
+
"text": "boolean"
|
|
16478
|
+
}
|
|
16479
|
+
},
|
|
16480
|
+
{
|
|
16481
|
+
"name": "ancestorHasNext",
|
|
16482
|
+
"type": {
|
|
16483
|
+
"text": "boolean[]"
|
|
16484
|
+
}
|
|
16485
|
+
}
|
|
16486
|
+
]
|
|
16487
|
+
}
|
|
16488
|
+
],
|
|
16489
|
+
"events": [
|
|
16490
|
+
{
|
|
16491
|
+
"name": "node-click",
|
|
16492
|
+
"type": {
|
|
16493
|
+
"text": "CustomEvent"
|
|
16494
|
+
},
|
|
16495
|
+
"description": "A leaf row was activated; detail is `{ id, data }`."
|
|
16496
|
+
}
|
|
16497
|
+
],
|
|
16498
|
+
"attributes": [
|
|
16499
|
+
{
|
|
16500
|
+
"name": "default-expanded",
|
|
16501
|
+
"type": {
|
|
16502
|
+
"text": "boolean"
|
|
16503
|
+
},
|
|
16504
|
+
"default": "false",
|
|
16505
|
+
"description": "Start every folder expanded instead of the default all-collapsed.",
|
|
16506
|
+
"fieldName": "defaultExpanded"
|
|
16507
|
+
},
|
|
16508
|
+
{
|
|
16509
|
+
"name": "lines",
|
|
16510
|
+
"type": {
|
|
16511
|
+
"text": "boolean"
|
|
16512
|
+
},
|
|
16513
|
+
"default": "false",
|
|
16514
|
+
"description": "Draw classic file-tree connector guides (vertical ancestor lines plus a\nbranch elbow/tee per row) instead of indentation alone. Off by default.",
|
|
16515
|
+
"fieldName": "lines"
|
|
16516
|
+
}
|
|
16517
|
+
],
|
|
16518
|
+
"superclass": {
|
|
16519
|
+
"name": "LitElement",
|
|
16520
|
+
"package": "lit"
|
|
16521
|
+
},
|
|
16522
|
+
"tagName": "tree-view",
|
|
16523
|
+
"customElement": true
|
|
16524
|
+
}
|
|
16525
|
+
],
|
|
16526
|
+
"exports": [
|
|
16527
|
+
{
|
|
16528
|
+
"kind": "js",
|
|
16529
|
+
"name": "TreeView",
|
|
16530
|
+
"declaration": {
|
|
16531
|
+
"name": "TreeView",
|
|
16532
|
+
"module": "src/tree-view.ts"
|
|
16533
|
+
}
|
|
16534
|
+
},
|
|
16535
|
+
{
|
|
16536
|
+
"kind": "custom-element-definition",
|
|
16537
|
+
"name": "tree-view",
|
|
16538
|
+
"declaration": {
|
|
16539
|
+
"name": "TreeView",
|
|
16540
|
+
"module": "src/tree-view.ts"
|
|
16541
|
+
}
|
|
16542
|
+
}
|
|
16543
|
+
]
|
|
16544
|
+
},
|
|
16545
|
+
{
|
|
16546
|
+
"kind": "javascript-module",
|
|
16547
|
+
"path": "src/ui-button.ts",
|
|
16548
|
+
"declarations": [
|
|
16549
|
+
{
|
|
16550
|
+
"kind": "class",
|
|
16551
|
+
"description": "Button (or link styled as one) with an optional leading icon, in three\nvisual weights. Set `href` to render an `<a>` instead of a `<button>` —\nsame styling either way — for cross-page navigation that should look like\nan action button; a disabled/busy link stays a real `<a>` with\n`aria-disabled` + `pointer-events: none` rather than losing its href.\nPut the icon in the `icon` slot and the label in the default slot.\n\nForm-associated (`type=\"submit\"`/`\"reset\"`): the actual `<button>` lives in\nthis element's shadow root, which native HTML form association does not\ncross into from an ancestor light-DOM `<form>`. `type=\"submit\"`/`\"reset\"`\nis instead wired through `ElementInternals.form` — the same mechanism\n`address-autocomplete` uses to associate with an ancestor form.\n\n`primary`/`danger` backgrounds read `--ui-button-background`/\n`--ui-button-danger-background` (and their `-hover`/`-active`\ncounterparts), which default to the flat `--ui-primary`/`--ui-danger`\ntokens unchanged — so `--ui-primary`/`--ui-danger` stay the single source\nof truth for every other component. A consumer can override just these\nbutton-specific tokens with a `linear-gradient(...)` to opt every\n`ui-button` into a gradient look without touching component markup,\npairing it with `--ui-button-border`/`--ui-button-danger-border` (default\n`transparent`) for a defining edge a shade darker than the gradient's dark\nstop, and setting the `-active` variant's stops in reverse for a\npressed/\"indented\" look while the button is held down. `secondary`'s\nbackground/border read the equivalent `--ui-button-secondary-*` tokens\n(shared with `confirm-dialog`'s Cancel button), defaulting to today's\ntransparent/bordered look, so it can be themed into a matching (e.g.\nwhite-to-gray) gradient too.",
|
|
16552
|
+
"name": "UiButton",
|
|
16553
|
+
"slots": [
|
|
16554
|
+
{
|
|
16555
|
+
"description": "Optional leading icon (e.g. an inline SVG).",
|
|
16556
|
+
"name": "icon"
|
|
16557
|
+
},
|
|
16558
|
+
{
|
|
16559
|
+
"description": "Button label.",
|
|
16560
|
+
"name": ""
|
|
16561
|
+
}
|
|
16562
|
+
],
|
|
16563
|
+
"members": [
|
|
16564
|
+
{
|
|
16565
|
+
"kind": "field",
|
|
16566
|
+
"name": "formAssociated",
|
|
16567
|
+
"type": {
|
|
16568
|
+
"text": "boolean"
|
|
16569
|
+
},
|
|
16570
|
+
"static": true,
|
|
16571
|
+
"default": "true"
|
|
16572
|
+
},
|
|
16573
|
+
{
|
|
16574
|
+
"kind": "field",
|
|
16575
|
+
"name": "#internals",
|
|
16576
|
+
"privacy": "private"
|
|
16577
|
+
},
|
|
16578
|
+
{
|
|
16579
|
+
"kind": "field",
|
|
16580
|
+
"name": "variant",
|
|
16581
|
+
"type": {
|
|
16582
|
+
"text": "ButtonVariant"
|
|
16583
|
+
},
|
|
16584
|
+
"default": "\"primary\"",
|
|
16585
|
+
"description": "Visual weight.",
|
|
16586
|
+
"attribute": "variant"
|
|
16587
|
+
},
|
|
16588
|
+
{
|
|
16589
|
+
"kind": "field",
|
|
16590
|
+
"name": "size",
|
|
16591
|
+
"type": {
|
|
16592
|
+
"text": "\"sm\" | \"md\""
|
|
16593
|
+
},
|
|
16594
|
+
"default": "\"md\"",
|
|
16595
|
+
"description": "Size — `sm` reduces height/padding/font-size one step below the default.",
|
|
16596
|
+
"attribute": "size"
|
|
16597
|
+
},
|
|
16598
|
+
{
|
|
16599
|
+
"kind": "field",
|
|
16600
|
+
"name": "href",
|
|
16601
|
+
"type": {
|
|
16602
|
+
"text": "string | null"
|
|
16603
|
+
},
|
|
16604
|
+
"default": "null",
|
|
16605
|
+
"description": "Renders an `<a href=\"...\">` instead of a `<button>` when set.",
|
|
16606
|
+
"attribute": "href"
|
|
16607
|
+
},
|
|
16608
|
+
{
|
|
16609
|
+
"kind": "field",
|
|
16610
|
+
"name": "type",
|
|
16611
|
+
"type": {
|
|
16612
|
+
"text": "\"button\" | \"submit\" | \"reset\""
|
|
16613
|
+
},
|
|
16614
|
+
"default": "\"button\"",
|
|
16615
|
+
"description": "Native button `type`. Ignored when `href` is set.",
|
|
16616
|
+
"attribute": "type"
|
|
16617
|
+
},
|
|
16618
|
+
{
|
|
16619
|
+
"kind": "field",
|
|
16620
|
+
"name": "disabled",
|
|
16621
|
+
"type": {
|
|
16622
|
+
"text": "boolean"
|
|
16623
|
+
},
|
|
16624
|
+
"default": "false",
|
|
16625
|
+
"description": "Disables the control and dims it.",
|
|
16626
|
+
"attribute": "disabled"
|
|
16627
|
+
},
|
|
16628
|
+
{
|
|
16629
|
+
"kind": "field",
|
|
16630
|
+
"name": "busy",
|
|
16631
|
+
"type": {
|
|
16632
|
+
"text": "boolean"
|
|
16633
|
+
},
|
|
16634
|
+
"default": "false",
|
|
16635
|
+
"description": "Shows a spinner in place of the icon slot and disables the control.",
|
|
16636
|
+
"attribute": "busy"
|
|
16637
|
+
},
|
|
16638
|
+
{
|
|
16639
|
+
"kind": "method",
|
|
16640
|
+
"name": "_onClick",
|
|
16641
|
+
"privacy": "private",
|
|
16642
|
+
"description": "Drives submit/reset on the ancestor form via ElementInternals, since a shadow-DOM button can't do it natively."
|
|
16643
|
+
},
|
|
16644
|
+
{
|
|
16645
|
+
"kind": "method",
|
|
16646
|
+
"name": "_onLinkClick",
|
|
16647
|
+
"privacy": "private",
|
|
16648
|
+
"parameters": [
|
|
16649
|
+
{
|
|
16650
|
+
"name": "e",
|
|
16651
|
+
"type": {
|
|
16652
|
+
"text": "MouseEvent"
|
|
16653
|
+
}
|
|
16654
|
+
}
|
|
16655
|
+
],
|
|
16656
|
+
"description": "Suppresses navigation while a link-styled button is disabled or busy."
|
|
16657
|
+
}
|
|
16658
|
+
],
|
|
16659
|
+
"attributes": [
|
|
16660
|
+
{
|
|
16661
|
+
"name": "variant",
|
|
16662
|
+
"type": {
|
|
16663
|
+
"text": "ButtonVariant"
|
|
16664
|
+
},
|
|
16665
|
+
"default": "\"primary\"",
|
|
16666
|
+
"description": "Visual weight.",
|
|
16667
|
+
"fieldName": "variant"
|
|
16668
|
+
},
|
|
16669
|
+
{
|
|
16670
|
+
"name": "size",
|
|
16671
|
+
"type": {
|
|
16672
|
+
"text": "\"sm\" | \"md\""
|
|
16673
|
+
},
|
|
16674
|
+
"default": "\"md\"",
|
|
16675
|
+
"description": "Size — `sm` reduces height/padding/font-size one step below the default.",
|
|
16676
|
+
"fieldName": "size"
|
|
16677
|
+
},
|
|
16678
|
+
{
|
|
16679
|
+
"name": "href",
|
|
16680
|
+
"type": {
|
|
16681
|
+
"text": "string | null"
|
|
16682
|
+
},
|
|
16683
|
+
"default": "null",
|
|
16684
|
+
"description": "Renders an `<a href=\"...\">` instead of a `<button>` when set.",
|
|
16685
|
+
"fieldName": "href"
|
|
16686
|
+
},
|
|
16687
|
+
{
|
|
16688
|
+
"name": "type",
|
|
16689
|
+
"type": {
|
|
16690
|
+
"text": "\"button\" | \"submit\" | \"reset\""
|
|
16691
|
+
},
|
|
16692
|
+
"default": "\"button\"",
|
|
16693
|
+
"description": "Native button `type`. Ignored when `href` is set.",
|
|
16694
|
+
"fieldName": "type"
|
|
16695
|
+
},
|
|
16696
|
+
{
|
|
16697
|
+
"name": "disabled",
|
|
16698
|
+
"type": {
|
|
16699
|
+
"text": "boolean"
|
|
16700
|
+
},
|
|
16701
|
+
"default": "false",
|
|
16702
|
+
"description": "Disables the control and dims it.",
|
|
16703
|
+
"fieldName": "disabled"
|
|
16704
|
+
},
|
|
16705
|
+
{
|
|
16706
|
+
"name": "busy",
|
|
16707
|
+
"type": {
|
|
16708
|
+
"text": "boolean"
|
|
16709
|
+
},
|
|
16710
|
+
"default": "false",
|
|
16711
|
+
"description": "Shows a spinner in place of the icon slot and disables the control.",
|
|
16712
|
+
"fieldName": "busy"
|
|
16713
|
+
}
|
|
16714
|
+
],
|
|
16715
|
+
"superclass": {
|
|
16716
|
+
"name": "LitElement",
|
|
16717
|
+
"package": "lit"
|
|
16718
|
+
},
|
|
16719
|
+
"tagName": "ui-button",
|
|
16720
|
+
"customElement": true
|
|
16721
|
+
}
|
|
16722
|
+
],
|
|
16723
|
+
"exports": [
|
|
16724
|
+
{
|
|
16725
|
+
"kind": "js",
|
|
16726
|
+
"name": "UiButton",
|
|
16727
|
+
"declaration": {
|
|
16728
|
+
"name": "UiButton",
|
|
16729
|
+
"module": "src/ui-button.ts"
|
|
16730
|
+
}
|
|
16731
|
+
},
|
|
16732
|
+
{
|
|
16733
|
+
"kind": "custom-element-definition",
|
|
16734
|
+
"name": "ui-button",
|
|
16735
|
+
"declaration": {
|
|
16736
|
+
"name": "UiButton",
|
|
16737
|
+
"module": "src/ui-button.ts"
|
|
16738
|
+
}
|
|
16739
|
+
}
|
|
16740
|
+
]
|
|
16741
|
+
},
|
|
16742
|
+
{
|
|
16743
|
+
"kind": "javascript-module",
|
|
16744
|
+
"path": "src/ui-checkbox.ts",
|
|
16745
|
+
"declarations": [
|
|
16746
|
+
{
|
|
16747
|
+
"kind": "class",
|
|
16748
|
+
"description": "A form-associated boolean checkbox, usable standalone or inside a native\n`<form>`. Submits `name=on` when checked (matching native\n`<input type=\"checkbox\">` semantics) and participates fully in form\n`reset()`, ancestor `<fieldset disabled>`, and `required` validity.\n\nRenders a native `<input type=\"checkbox\">` wrapped in a `<label>`, styled\nvia `:has()` on the wrapping label (matching `radio-pills`/`radio-cards`)\nrather than styling the native input directly; the checkbox itself renders\nat `1rem`, matching the existing radio-input convention. An optional\npre-rendered `icon` (matching `form-select`'s per-option icon convention)\nrenders between the box and the label, inside the same clickable `<label>`\n— for a row that pairs a checkbox with an icon/swatch and needs the whole\nrow, icon included, to stay one click target.",
|
|
16749
|
+
"name": "UiCheckbox",
|
|
16750
|
+
"members": [
|
|
16751
|
+
{
|
|
16752
|
+
"kind": "field",
|
|
16753
|
+
"name": "formAssociated",
|
|
16754
|
+
"type": {
|
|
16755
|
+
"text": "boolean"
|
|
16756
|
+
},
|
|
16757
|
+
"static": true,
|
|
16758
|
+
"default": "true"
|
|
16759
|
+
},
|
|
16760
|
+
{
|
|
16761
|
+
"kind": "field",
|
|
16762
|
+
"name": "checked",
|
|
16763
|
+
"type": {
|
|
16764
|
+
"text": "boolean"
|
|
16765
|
+
},
|
|
16766
|
+
"default": "false",
|
|
16767
|
+
"description": "Whether the box is checked.",
|
|
16768
|
+
"attribute": "checked"
|
|
16769
|
+
},
|
|
16770
|
+
{
|
|
16771
|
+
"kind": "field",
|
|
16772
|
+
"name": "indeterminate",
|
|
16773
|
+
"type": {
|
|
16774
|
+
"text": "boolean"
|
|
16775
|
+
},
|
|
16776
|
+
"default": "false",
|
|
16777
|
+
"description": "Visual \"partial selection\" state; cleared on the next user interaction.",
|
|
16778
|
+
"attribute": "indeterminate"
|
|
16779
|
+
},
|
|
16780
|
+
{
|
|
16781
|
+
"kind": "field",
|
|
16782
|
+
"name": "disabled",
|
|
16783
|
+
"type": {
|
|
16784
|
+
"text": "boolean"
|
|
16785
|
+
},
|
|
16786
|
+
"default": "false",
|
|
16787
|
+
"description": "Disables interaction; merged with an ancestor `<fieldset disabled>`.",
|
|
16788
|
+
"attribute": "disabled"
|
|
16789
|
+
},
|
|
16790
|
+
{
|
|
16791
|
+
"kind": "field",
|
|
16792
|
+
"name": "required",
|
|
16793
|
+
"type": {
|
|
16794
|
+
"text": "boolean"
|
|
16795
|
+
},
|
|
16796
|
+
"default": "false",
|
|
16797
|
+
"description": "Marks the control invalid via `ElementInternals` while unchecked.",
|
|
16798
|
+
"attribute": "required"
|
|
16799
|
+
},
|
|
16800
|
+
{
|
|
16801
|
+
"kind": "field",
|
|
16802
|
+
"name": "name",
|
|
16803
|
+
"type": {
|
|
16804
|
+
"text": "string"
|
|
16805
|
+
},
|
|
16806
|
+
"default": "\"\"",
|
|
16807
|
+
"description": "Form field name; submitted as `name=on` only while checked.",
|
|
16808
|
+
"attribute": "name"
|
|
16809
|
+
},
|
|
16810
|
+
{
|
|
16811
|
+
"kind": "field",
|
|
16812
|
+
"name": "label",
|
|
16813
|
+
"type": {
|
|
16814
|
+
"text": "string"
|
|
16815
|
+
},
|
|
16816
|
+
"default": "\"\"",
|
|
16817
|
+
"description": "Visible label text rendered next to the box.",
|
|
16818
|
+
"attribute": "label"
|
|
16819
|
+
},
|
|
16820
|
+
{
|
|
16821
|
+
"kind": "field",
|
|
16822
|
+
"name": "icon",
|
|
16823
|
+
"type": {
|
|
16824
|
+
"text": "TemplateResult | null"
|
|
16825
|
+
},
|
|
16826
|
+
"default": "null",
|
|
16827
|
+
"description": "Pre-rendered icon template displayed between the box and the label, e.g. `iconPencil(14)` from this package's icon set."
|
|
16828
|
+
},
|
|
16829
|
+
{
|
|
16830
|
+
"kind": "field",
|
|
16831
|
+
"name": "iconSize",
|
|
16832
|
+
"type": {
|
|
16833
|
+
"text": "number"
|
|
16834
|
+
},
|
|
16835
|
+
"default": "14",
|
|
16836
|
+
"description": "Square icon size in pixels — 14 (inline icon size) by default.",
|
|
16837
|
+
"attribute": "iconSize"
|
|
16838
|
+
},
|
|
16839
|
+
{
|
|
16840
|
+
"kind": "field",
|
|
16841
|
+
"name": "_formDisabled",
|
|
16842
|
+
"type": {
|
|
16843
|
+
"text": "boolean"
|
|
16844
|
+
},
|
|
16845
|
+
"privacy": "private",
|
|
16846
|
+
"default": "false"
|
|
16847
|
+
},
|
|
16848
|
+
{
|
|
16849
|
+
"kind": "field",
|
|
16850
|
+
"name": "#internals",
|
|
16851
|
+
"privacy": "private"
|
|
16852
|
+
},
|
|
16853
|
+
{
|
|
16854
|
+
"kind": "field",
|
|
16855
|
+
"name": "#defaultChecked",
|
|
16856
|
+
"privacy": "private",
|
|
16857
|
+
"type": {
|
|
16858
|
+
"text": "boolean"
|
|
16859
|
+
},
|
|
16860
|
+
"default": "false"
|
|
16861
|
+
},
|
|
16862
|
+
{
|
|
16863
|
+
"kind": "field",
|
|
16864
|
+
"name": "#inputEl",
|
|
16865
|
+
"privacy": "private",
|
|
16866
|
+
"type": {
|
|
16867
|
+
"text": "HTMLInputElement | null"
|
|
16868
|
+
},
|
|
16869
|
+
"default": "null"
|
|
16870
|
+
},
|
|
16871
|
+
{
|
|
16872
|
+
"kind": "field",
|
|
16873
|
+
"name": "#isDisabled",
|
|
16874
|
+
"privacy": "private",
|
|
16875
|
+
"type": {
|
|
16876
|
+
"text": "boolean"
|
|
16877
|
+
},
|
|
16878
|
+
"description": "Whether the host or an ancestor fieldset currently disables the control.",
|
|
16879
|
+
"readonly": true
|
|
16880
|
+
},
|
|
16881
|
+
{
|
|
16882
|
+
"kind": "method",
|
|
16883
|
+
"name": "formResetCallback",
|
|
16884
|
+
"return": {
|
|
16885
|
+
"type": {
|
|
16886
|
+
"text": "void"
|
|
16887
|
+
}
|
|
16888
|
+
},
|
|
16889
|
+
"description": "Restores the checked state captured at first render, per the form contract."
|
|
15460
16890
|
},
|
|
15461
16891
|
{
|
|
15462
16892
|
"kind": "method",
|
|
15463
|
-
"name": "
|
|
15464
|
-
"privacy": "private",
|
|
16893
|
+
"name": "formDisabledCallback",
|
|
15465
16894
|
"return": {
|
|
15466
16895
|
"type": {
|
|
15467
16896
|
"text": "void"
|
|
@@ -15469,17 +16898,17 @@
|
|
|
15469
16898
|
},
|
|
15470
16899
|
"parameters": [
|
|
15471
16900
|
{
|
|
15472
|
-
"name": "
|
|
16901
|
+
"name": "disabled",
|
|
15473
16902
|
"type": {
|
|
15474
|
-
"text": "
|
|
16903
|
+
"text": "boolean"
|
|
15475
16904
|
}
|
|
15476
16905
|
}
|
|
15477
|
-
]
|
|
16906
|
+
],
|
|
16907
|
+
"description": "Mirrors an ancestor fieldset's disabled state."
|
|
15478
16908
|
},
|
|
15479
16909
|
{
|
|
15480
16910
|
"kind": "method",
|
|
15481
|
-
"name": "
|
|
15482
|
-
"privacy": "private",
|
|
16911
|
+
"name": "formStateRestoreCallback",
|
|
15483
16912
|
"return": {
|
|
15484
16913
|
"type": {
|
|
15485
16914
|
"text": "void"
|
|
@@ -15487,457 +16916,381 @@
|
|
|
15487
16916
|
},
|
|
15488
16917
|
"parameters": [
|
|
15489
16918
|
{
|
|
15490
|
-
"name": "
|
|
15491
|
-
"type": {
|
|
15492
|
-
"text": "TreeNode"
|
|
15493
|
-
}
|
|
15494
|
-
},
|
|
15495
|
-
{
|
|
15496
|
-
"name": "e",
|
|
16919
|
+
"name": "state",
|
|
15497
16920
|
"type": {
|
|
15498
|
-
"text": "
|
|
16921
|
+
"text": "string | File | FormData | null"
|
|
15499
16922
|
}
|
|
15500
16923
|
}
|
|
15501
|
-
]
|
|
16924
|
+
],
|
|
16925
|
+
"description": "Restores the checked state from saved form state (bfcache/autofill)."
|
|
15502
16926
|
},
|
|
15503
16927
|
{
|
|
15504
16928
|
"kind": "method",
|
|
15505
|
-
"name": "#
|
|
16929
|
+
"name": "#syncFormValue",
|
|
15506
16930
|
"privacy": "private",
|
|
15507
16931
|
"return": {
|
|
15508
16932
|
"type": {
|
|
15509
16933
|
"text": "void"
|
|
15510
16934
|
}
|
|
15511
|
-
}
|
|
15512
|
-
"parameters": [
|
|
15513
|
-
{
|
|
15514
|
-
"name": "node",
|
|
15515
|
-
"type": {
|
|
15516
|
-
"text": "TreeNode"
|
|
15517
|
-
}
|
|
15518
|
-
},
|
|
15519
|
-
{
|
|
15520
|
-
"name": "e",
|
|
15521
|
-
"type": {
|
|
15522
|
-
"text": "MouseEvent"
|
|
15523
|
-
}
|
|
15524
|
-
}
|
|
15525
|
-
]
|
|
16935
|
+
}
|
|
15526
16936
|
},
|
|
15527
16937
|
{
|
|
15528
16938
|
"kind": "method",
|
|
15529
|
-
"name": "#
|
|
16939
|
+
"name": "#syncValidity",
|
|
15530
16940
|
"privacy": "private",
|
|
15531
16941
|
"return": {
|
|
15532
16942
|
"type": {
|
|
15533
|
-
"text": "
|
|
15534
|
-
}
|
|
15535
|
-
},
|
|
15536
|
-
"parameters": [
|
|
15537
|
-
{
|
|
15538
|
-
"name": "path",
|
|
15539
|
-
"type": {
|
|
15540
|
-
"text": "EventTarget[]"
|
|
15541
|
-
}
|
|
15542
|
-
},
|
|
15543
|
-
{
|
|
15544
|
-
"name": "row",
|
|
15545
|
-
"type": {
|
|
15546
|
-
"text": "EventTarget | null"
|
|
15547
|
-
}
|
|
16943
|
+
"text": "void"
|
|
15548
16944
|
}
|
|
15549
|
-
|
|
16945
|
+
}
|
|
15550
16946
|
},
|
|
15551
16947
|
{
|
|
15552
16948
|
"kind": "method",
|
|
15553
|
-
"name": "#
|
|
16949
|
+
"name": "#onChange",
|
|
15554
16950
|
"privacy": "private",
|
|
15555
16951
|
"return": {
|
|
15556
16952
|
"type": {
|
|
15557
|
-
"text": "
|
|
16953
|
+
"text": "void"
|
|
15558
16954
|
}
|
|
15559
16955
|
},
|
|
15560
16956
|
"parameters": [
|
|
15561
16957
|
{
|
|
15562
|
-
"name": "
|
|
15563
|
-
"type": {
|
|
15564
|
-
"text": "TreeNode"
|
|
15565
|
-
}
|
|
15566
|
-
},
|
|
15567
|
-
{
|
|
15568
|
-
"name": "depth",
|
|
15569
|
-
"type": {
|
|
15570
|
-
"text": "number"
|
|
15571
|
-
}
|
|
15572
|
-
},
|
|
15573
|
-
{
|
|
15574
|
-
"name": "isLast",
|
|
15575
|
-
"type": {
|
|
15576
|
-
"text": "boolean"
|
|
15577
|
-
}
|
|
15578
|
-
},
|
|
15579
|
-
{
|
|
15580
|
-
"name": "ancestorHasNext",
|
|
16958
|
+
"name": "e",
|
|
15581
16959
|
"type": {
|
|
15582
|
-
"text": "
|
|
16960
|
+
"text": "Event"
|
|
15583
16961
|
}
|
|
15584
16962
|
}
|
|
15585
16963
|
]
|
|
16964
|
+
},
|
|
16965
|
+
{
|
|
16966
|
+
"kind": "field",
|
|
16967
|
+
"name": "#onInputRef",
|
|
16968
|
+
"privacy": "private"
|
|
15586
16969
|
}
|
|
15587
16970
|
],
|
|
15588
16971
|
"events": [
|
|
15589
16972
|
{
|
|
15590
|
-
"name": "
|
|
16973
|
+
"name": "change",
|
|
15591
16974
|
"type": {
|
|
15592
16975
|
"text": "CustomEvent"
|
|
15593
16976
|
},
|
|
15594
|
-
"description": "
|
|
16977
|
+
"description": "The checkbox was toggled by the user, in either direction; detail: `{ checked }`. Programmatic `checked` assignments do not fire it."
|
|
15595
16978
|
}
|
|
15596
16979
|
],
|
|
15597
16980
|
"attributes": [
|
|
15598
16981
|
{
|
|
15599
|
-
"name": "
|
|
16982
|
+
"name": "checked",
|
|
15600
16983
|
"type": {
|
|
15601
16984
|
"text": "boolean"
|
|
15602
16985
|
},
|
|
15603
16986
|
"default": "false",
|
|
15604
|
-
"description": "
|
|
15605
|
-
"fieldName": "
|
|
16987
|
+
"description": "Whether the box is checked.",
|
|
16988
|
+
"fieldName": "checked"
|
|
15606
16989
|
},
|
|
15607
16990
|
{
|
|
15608
|
-
"name": "
|
|
16991
|
+
"name": "indeterminate",
|
|
15609
16992
|
"type": {
|
|
15610
16993
|
"text": "boolean"
|
|
15611
16994
|
},
|
|
15612
16995
|
"default": "false",
|
|
15613
|
-
"description": "
|
|
15614
|
-
"fieldName": "
|
|
16996
|
+
"description": "Visual \"partial selection\" state; cleared on the next user interaction.",
|
|
16997
|
+
"fieldName": "indeterminate"
|
|
16998
|
+
},
|
|
16999
|
+
{
|
|
17000
|
+
"name": "disabled",
|
|
17001
|
+
"type": {
|
|
17002
|
+
"text": "boolean"
|
|
17003
|
+
},
|
|
17004
|
+
"default": "false",
|
|
17005
|
+
"description": "Disables interaction; merged with an ancestor `<fieldset disabled>`.",
|
|
17006
|
+
"fieldName": "disabled"
|
|
17007
|
+
},
|
|
17008
|
+
{
|
|
17009
|
+
"name": "required",
|
|
17010
|
+
"type": {
|
|
17011
|
+
"text": "boolean"
|
|
17012
|
+
},
|
|
17013
|
+
"default": "false",
|
|
17014
|
+
"description": "Marks the control invalid via `ElementInternals` while unchecked.",
|
|
17015
|
+
"fieldName": "required"
|
|
17016
|
+
},
|
|
17017
|
+
{
|
|
17018
|
+
"name": "name",
|
|
17019
|
+
"type": {
|
|
17020
|
+
"text": "string"
|
|
17021
|
+
},
|
|
17022
|
+
"default": "\"\"",
|
|
17023
|
+
"description": "Form field name; submitted as `name=on` only while checked.",
|
|
17024
|
+
"fieldName": "name"
|
|
17025
|
+
},
|
|
17026
|
+
{
|
|
17027
|
+
"name": "label",
|
|
17028
|
+
"type": {
|
|
17029
|
+
"text": "string"
|
|
17030
|
+
},
|
|
17031
|
+
"default": "\"\"",
|
|
17032
|
+
"description": "Visible label text rendered next to the box.",
|
|
17033
|
+
"fieldName": "label"
|
|
17034
|
+
},
|
|
17035
|
+
{
|
|
17036
|
+
"name": "iconSize",
|
|
17037
|
+
"type": {
|
|
17038
|
+
"text": "number"
|
|
17039
|
+
},
|
|
17040
|
+
"default": "14",
|
|
17041
|
+
"description": "Square icon size in pixels — 14 (inline icon size) by default.",
|
|
17042
|
+
"fieldName": "iconSize"
|
|
15615
17043
|
}
|
|
15616
17044
|
],
|
|
15617
17045
|
"superclass": {
|
|
15618
17046
|
"name": "LitElement",
|
|
15619
17047
|
"package": "lit"
|
|
15620
17048
|
},
|
|
15621
|
-
"tagName": "
|
|
17049
|
+
"tagName": "ui-checkbox",
|
|
15622
17050
|
"customElement": true
|
|
15623
17051
|
}
|
|
15624
17052
|
],
|
|
15625
17053
|
"exports": [
|
|
15626
17054
|
{
|
|
15627
17055
|
"kind": "js",
|
|
15628
|
-
"name": "
|
|
17056
|
+
"name": "UiCheckbox",
|
|
15629
17057
|
"declaration": {
|
|
15630
|
-
"name": "
|
|
15631
|
-
"module": "src/
|
|
17058
|
+
"name": "UiCheckbox",
|
|
17059
|
+
"module": "src/ui-checkbox.ts"
|
|
15632
17060
|
}
|
|
15633
17061
|
},
|
|
15634
17062
|
{
|
|
15635
17063
|
"kind": "custom-element-definition",
|
|
15636
|
-
"name": "
|
|
17064
|
+
"name": "ui-checkbox",
|
|
15637
17065
|
"declaration": {
|
|
15638
|
-
"name": "
|
|
15639
|
-
"module": "src/
|
|
17066
|
+
"name": "UiCheckbox",
|
|
17067
|
+
"module": "src/ui-checkbox.ts"
|
|
15640
17068
|
}
|
|
15641
17069
|
}
|
|
15642
17070
|
]
|
|
15643
17071
|
},
|
|
15644
17072
|
{
|
|
15645
17073
|
"kind": "javascript-module",
|
|
15646
|
-
"path": "src/
|
|
17074
|
+
"path": "src/user-avatar.ts",
|
|
15647
17075
|
"declarations": [
|
|
15648
17076
|
{
|
|
15649
17077
|
"kind": "class",
|
|
15650
|
-
"description": "
|
|
15651
|
-
"name": "
|
|
15652
|
-
"slots": [
|
|
15653
|
-
{
|
|
15654
|
-
"description": "Optional leading icon (e.g. an inline SVG).",
|
|
15655
|
-
"name": "icon"
|
|
15656
|
-
},
|
|
15657
|
-
{
|
|
15658
|
-
"description": "Button label.",
|
|
15659
|
-
"name": ""
|
|
15660
|
-
}
|
|
15661
|
-
],
|
|
17078
|
+
"description": "Circular avatar. Shows `src` when it loads successfully; falls back to the\nfirst letter of `name` (uppercased) if `src` is unset or fails to load\n(e.g. an expired OAuth profile-photo URL); falls back further to a generic\nperson icon if `name` is also unset. A broken image never leaves a blank\ncircle.",
|
|
17079
|
+
"name": "UserAvatar",
|
|
15662
17080
|
"members": [
|
|
15663
17081
|
{
|
|
15664
17082
|
"kind": "field",
|
|
15665
|
-
"name": "
|
|
15666
|
-
"type": {
|
|
15667
|
-
"text": "boolean"
|
|
15668
|
-
},
|
|
15669
|
-
"static": true,
|
|
15670
|
-
"default": "true"
|
|
15671
|
-
},
|
|
15672
|
-
{
|
|
15673
|
-
"kind": "field",
|
|
15674
|
-
"name": "#internals",
|
|
15675
|
-
"privacy": "private"
|
|
15676
|
-
},
|
|
15677
|
-
{
|
|
15678
|
-
"kind": "field",
|
|
15679
|
-
"name": "variant",
|
|
15680
|
-
"type": {
|
|
15681
|
-
"text": "ButtonVariant"
|
|
15682
|
-
},
|
|
15683
|
-
"default": "\"primary\"",
|
|
15684
|
-
"description": "Visual weight.",
|
|
15685
|
-
"attribute": "variant"
|
|
15686
|
-
},
|
|
15687
|
-
{
|
|
15688
|
-
"kind": "field",
|
|
15689
|
-
"name": "size",
|
|
15690
|
-
"type": {
|
|
15691
|
-
"text": "\"sm\" | \"md\""
|
|
15692
|
-
},
|
|
15693
|
-
"default": "\"md\"",
|
|
15694
|
-
"description": "Size — `sm` reduces height/padding/font-size one step below the default.",
|
|
15695
|
-
"attribute": "size"
|
|
15696
|
-
},
|
|
15697
|
-
{
|
|
15698
|
-
"kind": "field",
|
|
15699
|
-
"name": "href",
|
|
17083
|
+
"name": "src",
|
|
15700
17084
|
"type": {
|
|
15701
17085
|
"text": "string | null"
|
|
15702
17086
|
},
|
|
15703
17087
|
"default": "null",
|
|
15704
|
-
"description": "
|
|
15705
|
-
"attribute": "
|
|
17088
|
+
"description": "Image URL to show. Falls back to initials/icon if unset or it fails to load.",
|
|
17089
|
+
"attribute": "src"
|
|
15706
17090
|
},
|
|
15707
17091
|
{
|
|
15708
17092
|
"kind": "field",
|
|
15709
|
-
"name": "
|
|
17093
|
+
"name": "name",
|
|
15710
17094
|
"type": {
|
|
15711
|
-
"text": "
|
|
17095
|
+
"text": "string | null"
|
|
15712
17096
|
},
|
|
15713
|
-
"default": "
|
|
15714
|
-
"description": "
|
|
15715
|
-
"attribute": "
|
|
17097
|
+
"default": "null",
|
|
17098
|
+
"description": "Source string for the fallback initial (e.g. a display name or email) — first character, uppercased.",
|
|
17099
|
+
"attribute": "name"
|
|
15716
17100
|
},
|
|
15717
17101
|
{
|
|
15718
17102
|
"kind": "field",
|
|
15719
|
-
"name": "
|
|
17103
|
+
"name": "size",
|
|
15720
17104
|
"type": {
|
|
15721
|
-
"text": "
|
|
17105
|
+
"text": "string | number"
|
|
15722
17106
|
},
|
|
15723
|
-
"default": "
|
|
15724
|
-
"description": "
|
|
15725
|
-
"attribute": "
|
|
17107
|
+
"default": "32",
|
|
17108
|
+
"description": "Diameter in CSS pixels, or a preset name (`xs`=18, `sm`=24, `md`=32, `lg`=48).",
|
|
17109
|
+
"attribute": "size"
|
|
15726
17110
|
},
|
|
15727
17111
|
{
|
|
15728
17112
|
"kind": "field",
|
|
15729
|
-
"name": "
|
|
17113
|
+
"name": "_imgError",
|
|
15730
17114
|
"type": {
|
|
15731
17115
|
"text": "boolean"
|
|
15732
17116
|
},
|
|
15733
|
-
"
|
|
15734
|
-
"
|
|
15735
|
-
"attribute": "busy"
|
|
17117
|
+
"privacy": "private",
|
|
17118
|
+
"default": "false"
|
|
15736
17119
|
},
|
|
15737
17120
|
{
|
|
15738
|
-
"kind": "
|
|
15739
|
-
"name": "
|
|
17121
|
+
"kind": "field",
|
|
17122
|
+
"name": "SIZE_PRESETS",
|
|
17123
|
+
"type": {
|
|
17124
|
+
"text": "Record<string, number>"
|
|
17125
|
+
},
|
|
15740
17126
|
"privacy": "private",
|
|
15741
|
-
"
|
|
17127
|
+
"static": true,
|
|
17128
|
+
"readonly": true,
|
|
17129
|
+
"default": "{ xs: 18, sm: 24, md: 32, lg: 48, }"
|
|
15742
17130
|
},
|
|
15743
17131
|
{
|
|
15744
17132
|
"kind": "method",
|
|
15745
|
-
"name": "
|
|
17133
|
+
"name": "resolveSize",
|
|
15746
17134
|
"privacy": "private",
|
|
15747
|
-
"
|
|
15748
|
-
{
|
|
15749
|
-
"
|
|
15750
|
-
"type": {
|
|
15751
|
-
"text": "MouseEvent"
|
|
15752
|
-
}
|
|
17135
|
+
"return": {
|
|
17136
|
+
"type": {
|
|
17137
|
+
"text": "number"
|
|
15753
17138
|
}
|
|
15754
|
-
|
|
15755
|
-
"description": "
|
|
17139
|
+
},
|
|
17140
|
+
"description": "Resolves the `size` property (number or preset name) to a pixel diameter."
|
|
15756
17141
|
}
|
|
15757
17142
|
],
|
|
15758
17143
|
"attributes": [
|
|
15759
17144
|
{
|
|
15760
|
-
"name": "
|
|
15761
|
-
"type": {
|
|
15762
|
-
"text": "ButtonVariant"
|
|
15763
|
-
},
|
|
15764
|
-
"default": "\"primary\"",
|
|
15765
|
-
"description": "Visual weight.",
|
|
15766
|
-
"fieldName": "variant"
|
|
15767
|
-
},
|
|
15768
|
-
{
|
|
15769
|
-
"name": "size",
|
|
15770
|
-
"type": {
|
|
15771
|
-
"text": "\"sm\" | \"md\""
|
|
15772
|
-
},
|
|
15773
|
-
"default": "\"md\"",
|
|
15774
|
-
"description": "Size — `sm` reduces height/padding/font-size one step below the default.",
|
|
15775
|
-
"fieldName": "size"
|
|
15776
|
-
},
|
|
15777
|
-
{
|
|
15778
|
-
"name": "href",
|
|
17145
|
+
"name": "src",
|
|
15779
17146
|
"type": {
|
|
15780
17147
|
"text": "string | null"
|
|
15781
17148
|
},
|
|
15782
17149
|
"default": "null",
|
|
15783
|
-
"description": "
|
|
15784
|
-
"fieldName": "
|
|
15785
|
-
},
|
|
15786
|
-
{
|
|
15787
|
-
"name": "type",
|
|
15788
|
-
"type": {
|
|
15789
|
-
"text": "\"button\" | \"submit\" | \"reset\""
|
|
15790
|
-
},
|
|
15791
|
-
"default": "\"button\"",
|
|
15792
|
-
"description": "Native button `type`. Ignored when `href` is set.",
|
|
15793
|
-
"fieldName": "type"
|
|
17150
|
+
"description": "Image URL to show. Falls back to initials/icon if unset or it fails to load.",
|
|
17151
|
+
"fieldName": "src"
|
|
15794
17152
|
},
|
|
15795
17153
|
{
|
|
15796
|
-
"name": "
|
|
17154
|
+
"name": "name",
|
|
15797
17155
|
"type": {
|
|
15798
|
-
"text": "
|
|
17156
|
+
"text": "string | null"
|
|
15799
17157
|
},
|
|
15800
|
-
"default": "
|
|
15801
|
-
"description": "
|
|
15802
|
-
"fieldName": "
|
|
17158
|
+
"default": "null",
|
|
17159
|
+
"description": "Source string for the fallback initial (e.g. a display name or email) — first character, uppercased.",
|
|
17160
|
+
"fieldName": "name"
|
|
15803
17161
|
},
|
|
15804
17162
|
{
|
|
15805
|
-
"name": "
|
|
17163
|
+
"name": "size",
|
|
15806
17164
|
"type": {
|
|
15807
|
-
"text": "
|
|
17165
|
+
"text": "string | number"
|
|
15808
17166
|
},
|
|
15809
|
-
"default": "
|
|
15810
|
-
"description": "
|
|
15811
|
-
"fieldName": "
|
|
17167
|
+
"default": "32",
|
|
17168
|
+
"description": "Diameter in CSS pixels, or a preset name (`xs`=18, `sm`=24, `md`=32, `lg`=48).",
|
|
17169
|
+
"fieldName": "size"
|
|
15812
17170
|
}
|
|
15813
17171
|
],
|
|
15814
17172
|
"superclass": {
|
|
15815
17173
|
"name": "LitElement",
|
|
15816
17174
|
"package": "lit"
|
|
15817
17175
|
},
|
|
15818
|
-
"tagName": "
|
|
17176
|
+
"tagName": "user-avatar",
|
|
15819
17177
|
"customElement": true
|
|
15820
17178
|
}
|
|
15821
17179
|
],
|
|
15822
17180
|
"exports": [
|
|
15823
17181
|
{
|
|
15824
17182
|
"kind": "js",
|
|
15825
|
-
"name": "
|
|
17183
|
+
"name": "UserAvatar",
|
|
15826
17184
|
"declaration": {
|
|
15827
|
-
"name": "
|
|
15828
|
-
"module": "src/
|
|
17185
|
+
"name": "UserAvatar",
|
|
17186
|
+
"module": "src/user-avatar.ts"
|
|
15829
17187
|
}
|
|
15830
17188
|
},
|
|
15831
17189
|
{
|
|
15832
17190
|
"kind": "custom-element-definition",
|
|
15833
|
-
"name": "
|
|
17191
|
+
"name": "user-avatar",
|
|
15834
17192
|
"declaration": {
|
|
15835
|
-
"name": "
|
|
15836
|
-
"module": "src/
|
|
17193
|
+
"name": "UserAvatar",
|
|
17194
|
+
"module": "src/user-avatar.ts"
|
|
15837
17195
|
}
|
|
15838
17196
|
}
|
|
15839
17197
|
]
|
|
15840
17198
|
},
|
|
15841
17199
|
{
|
|
15842
17200
|
"kind": "javascript-module",
|
|
15843
|
-
"path": "src/
|
|
17201
|
+
"path": "src/video-player.ts",
|
|
15844
17202
|
"declarations": [
|
|
15845
17203
|
{
|
|
15846
17204
|
"kind": "class",
|
|
15847
|
-
"description": "
|
|
15848
|
-
"name": "
|
|
17205
|
+
"description": "Video player wrapping a native `<video>` element (native `controls`\ndisabled) with the same tokenized transport bar as `audio-player` — a\nplay/pause `icon-button`, elapsed/total time, a seekable progress bar, a\nmute toggle + volume slider — plus a fullscreen toggle. The control bar\nsits in a persistent strip under the video frame rather than a\nhover-reveal overlay, so it stays usable for keyboard/touch input without\na pointer hover state.",
|
|
17206
|
+
"name": "VideoPlayer",
|
|
15849
17207
|
"members": [
|
|
15850
17208
|
{
|
|
15851
17209
|
"kind": "field",
|
|
15852
|
-
"name": "
|
|
17210
|
+
"name": "src",
|
|
15853
17211
|
"type": {
|
|
15854
|
-
"text": "
|
|
17212
|
+
"text": "string"
|
|
15855
17213
|
},
|
|
15856
|
-
"
|
|
15857
|
-
"
|
|
17214
|
+
"default": "\"\"",
|
|
17215
|
+
"description": "URL of the video file to play.",
|
|
17216
|
+
"attribute": "src"
|
|
15858
17217
|
},
|
|
15859
17218
|
{
|
|
15860
17219
|
"kind": "field",
|
|
15861
|
-
"name": "
|
|
17220
|
+
"name": "poster",
|
|
15862
17221
|
"type": {
|
|
15863
|
-
"text": "
|
|
17222
|
+
"text": "string"
|
|
15864
17223
|
},
|
|
15865
|
-
"default": "
|
|
15866
|
-
"description": "
|
|
15867
|
-
"attribute": "
|
|
17224
|
+
"default": "\"\"",
|
|
17225
|
+
"description": "Poster image shown before playback starts.",
|
|
17226
|
+
"attribute": "poster"
|
|
15868
17227
|
},
|
|
15869
17228
|
{
|
|
15870
17229
|
"kind": "field",
|
|
15871
|
-
"name": "
|
|
17230
|
+
"name": "label",
|
|
15872
17231
|
"type": {
|
|
15873
|
-
"text": "
|
|
17232
|
+
"text": "string"
|
|
15874
17233
|
},
|
|
15875
|
-
"default": "
|
|
15876
|
-
"description": "
|
|
15877
|
-
"attribute": "
|
|
17234
|
+
"default": "\"Video player\"",
|
|
17235
|
+
"description": "Accessible name for the player, e.g. a video title.",
|
|
17236
|
+
"attribute": "label"
|
|
15878
17237
|
},
|
|
15879
17238
|
{
|
|
15880
17239
|
"kind": "field",
|
|
15881
|
-
"name": "
|
|
17240
|
+
"name": "loop",
|
|
15882
17241
|
"type": {
|
|
15883
17242
|
"text": "boolean"
|
|
15884
17243
|
},
|
|
15885
17244
|
"default": "false",
|
|
15886
|
-
"description": "
|
|
15887
|
-
"attribute": "
|
|
17245
|
+
"description": "Loops playback once it reaches the end.",
|
|
17246
|
+
"attribute": "loop"
|
|
15888
17247
|
},
|
|
15889
17248
|
{
|
|
15890
17249
|
"kind": "field",
|
|
15891
|
-
"name": "
|
|
17250
|
+
"name": "preload",
|
|
15892
17251
|
"type": {
|
|
15893
|
-
"text": "
|
|
17252
|
+
"text": "\"none\" | \"metadata\" | \"auto\""
|
|
15894
17253
|
},
|
|
15895
|
-
"default": "
|
|
15896
|
-
"description": "
|
|
15897
|
-
"attribute": "
|
|
17254
|
+
"default": "\"metadata\"",
|
|
17255
|
+
"description": "Native `<video preload>` hint.",
|
|
17256
|
+
"attribute": "preload"
|
|
15898
17257
|
},
|
|
15899
17258
|
{
|
|
15900
17259
|
"kind": "field",
|
|
15901
|
-
"name": "
|
|
17260
|
+
"name": "_playing",
|
|
15902
17261
|
"type": {
|
|
15903
|
-
"text": "
|
|
17262
|
+
"text": "boolean"
|
|
15904
17263
|
},
|
|
15905
|
-
"
|
|
15906
|
-
"
|
|
15907
|
-
"attribute": "name"
|
|
17264
|
+
"privacy": "private",
|
|
17265
|
+
"default": "false"
|
|
15908
17266
|
},
|
|
15909
17267
|
{
|
|
15910
17268
|
"kind": "field",
|
|
15911
|
-
"name": "
|
|
17269
|
+
"name": "_currentTime",
|
|
15912
17270
|
"type": {
|
|
15913
|
-
"text": "
|
|
17271
|
+
"text": "number"
|
|
15914
17272
|
},
|
|
15915
|
-
"
|
|
15916
|
-
"
|
|
15917
|
-
"attribute": "label"
|
|
17273
|
+
"privacy": "private",
|
|
17274
|
+
"default": "0"
|
|
15918
17275
|
},
|
|
15919
17276
|
{
|
|
15920
17277
|
"kind": "field",
|
|
15921
|
-
"name": "
|
|
15922
|
-
"
|
|
15923
|
-
|
|
15924
|
-
},
|
|
15925
|
-
"default": "null",
|
|
15926
|
-
"description": "Pre-rendered icon template displayed between the box and the label, e.g. `iconPencil(14)` from this package's icon set."
|
|
17278
|
+
"name": "_duration",
|
|
17279
|
+
"privacy": "private",
|
|
17280
|
+
"default": "NaN"
|
|
15927
17281
|
},
|
|
15928
17282
|
{
|
|
15929
17283
|
"kind": "field",
|
|
15930
|
-
"name": "
|
|
17284
|
+
"name": "_volume",
|
|
15931
17285
|
"type": {
|
|
15932
17286
|
"text": "number"
|
|
15933
17287
|
},
|
|
15934
|
-
"
|
|
15935
|
-
"
|
|
15936
|
-
"attribute": "iconSize"
|
|
17288
|
+
"privacy": "private",
|
|
17289
|
+
"default": "1"
|
|
15937
17290
|
},
|
|
15938
17291
|
{
|
|
15939
17292
|
"kind": "field",
|
|
15940
|
-
"name": "
|
|
17293
|
+
"name": "_muted",
|
|
15941
17294
|
"type": {
|
|
15942
17295
|
"text": "boolean"
|
|
15943
17296
|
},
|
|
@@ -15946,86 +17299,152 @@
|
|
|
15946
17299
|
},
|
|
15947
17300
|
{
|
|
15948
17301
|
"kind": "field",
|
|
15949
|
-
"name": "
|
|
15950
|
-
"
|
|
17302
|
+
"name": "_errored",
|
|
17303
|
+
"type": {
|
|
17304
|
+
"text": "boolean"
|
|
17305
|
+
},
|
|
17306
|
+
"privacy": "private",
|
|
17307
|
+
"default": "false"
|
|
15951
17308
|
},
|
|
15952
17309
|
{
|
|
15953
17310
|
"kind": "field",
|
|
15954
|
-
"name": "
|
|
15955
|
-
"privacy": "private",
|
|
17311
|
+
"name": "_fullscreen",
|
|
15956
17312
|
"type": {
|
|
15957
17313
|
"text": "boolean"
|
|
15958
17314
|
},
|
|
17315
|
+
"privacy": "private",
|
|
15959
17316
|
"default": "false"
|
|
15960
17317
|
},
|
|
15961
17318
|
{
|
|
15962
17319
|
"kind": "field",
|
|
15963
|
-
"name": "
|
|
15964
|
-
"privacy": "private",
|
|
17320
|
+
"name": "_video",
|
|
15965
17321
|
"type": {
|
|
15966
|
-
"text": "
|
|
17322
|
+
"text": "HTMLVideoElement | undefined"
|
|
15967
17323
|
},
|
|
15968
|
-
"
|
|
17324
|
+
"privacy": "private"
|
|
15969
17325
|
},
|
|
15970
17326
|
{
|
|
15971
17327
|
"kind": "field",
|
|
15972
|
-
"name": "
|
|
15973
|
-
"privacy": "private",
|
|
17328
|
+
"name": "_frame",
|
|
15974
17329
|
"type": {
|
|
15975
|
-
"text": "
|
|
17330
|
+
"text": "HTMLDivElement | undefined"
|
|
15976
17331
|
},
|
|
15977
|
-
"
|
|
15978
|
-
|
|
17332
|
+
"privacy": "private"
|
|
17333
|
+
},
|
|
17334
|
+
{
|
|
17335
|
+
"kind": "field",
|
|
17336
|
+
"name": "#onFullscreenChange",
|
|
17337
|
+
"privacy": "private"
|
|
15979
17338
|
},
|
|
15980
17339
|
{
|
|
15981
17340
|
"kind": "method",
|
|
15982
|
-
"name": "
|
|
17341
|
+
"name": "_togglePlay",
|
|
17342
|
+
"privacy": "private",
|
|
17343
|
+
"return": {
|
|
17344
|
+
"type": {
|
|
17345
|
+
"text": "void"
|
|
17346
|
+
}
|
|
17347
|
+
}
|
|
17348
|
+
},
|
|
17349
|
+
{
|
|
17350
|
+
"kind": "method",
|
|
17351
|
+
"name": "_toggleMute",
|
|
17352
|
+
"privacy": "private",
|
|
17353
|
+
"return": {
|
|
17354
|
+
"type": {
|
|
17355
|
+
"text": "void"
|
|
17356
|
+
}
|
|
17357
|
+
}
|
|
17358
|
+
},
|
|
17359
|
+
{
|
|
17360
|
+
"kind": "method",
|
|
17361
|
+
"name": "_toggleFullscreen",
|
|
17362
|
+
"privacy": "private",
|
|
17363
|
+
"return": {
|
|
17364
|
+
"type": {
|
|
17365
|
+
"text": "void"
|
|
17366
|
+
}
|
|
17367
|
+
}
|
|
17368
|
+
},
|
|
17369
|
+
{
|
|
17370
|
+
"kind": "method",
|
|
17371
|
+
"name": "_onSeekInput",
|
|
17372
|
+
"privacy": "private",
|
|
15983
17373
|
"return": {
|
|
15984
17374
|
"type": {
|
|
15985
17375
|
"text": "void"
|
|
15986
17376
|
}
|
|
15987
17377
|
},
|
|
15988
|
-
"
|
|
17378
|
+
"parameters": [
|
|
17379
|
+
{
|
|
17380
|
+
"name": "e",
|
|
17381
|
+
"type": {
|
|
17382
|
+
"text": "Event"
|
|
17383
|
+
}
|
|
17384
|
+
}
|
|
17385
|
+
]
|
|
15989
17386
|
},
|
|
15990
17387
|
{
|
|
15991
17388
|
"kind": "method",
|
|
15992
|
-
"name": "
|
|
17389
|
+
"name": "_onVolumeInput",
|
|
17390
|
+
"privacy": "private",
|
|
17391
|
+
"return": {
|
|
17392
|
+
"type": {
|
|
17393
|
+
"text": "void"
|
|
17394
|
+
}
|
|
17395
|
+
},
|
|
17396
|
+
"parameters": [
|
|
17397
|
+
{
|
|
17398
|
+
"name": "e",
|
|
17399
|
+
"type": {
|
|
17400
|
+
"text": "Event"
|
|
17401
|
+
}
|
|
17402
|
+
}
|
|
17403
|
+
]
|
|
17404
|
+
},
|
|
17405
|
+
{
|
|
17406
|
+
"kind": "method",
|
|
17407
|
+
"name": "_onLoadedMetadata",
|
|
17408
|
+
"privacy": "private",
|
|
17409
|
+
"return": {
|
|
17410
|
+
"type": {
|
|
17411
|
+
"text": "void"
|
|
17412
|
+
}
|
|
17413
|
+
}
|
|
17414
|
+
},
|
|
17415
|
+
{
|
|
17416
|
+
"kind": "method",
|
|
17417
|
+
"name": "_onTimeUpdate",
|
|
17418
|
+
"privacy": "private",
|
|
17419
|
+
"return": {
|
|
17420
|
+
"type": {
|
|
17421
|
+
"text": "void"
|
|
17422
|
+
}
|
|
17423
|
+
}
|
|
17424
|
+
},
|
|
17425
|
+
{
|
|
17426
|
+
"kind": "method",
|
|
17427
|
+
"name": "_onPlay",
|
|
17428
|
+
"privacy": "private",
|
|
15993
17429
|
"return": {
|
|
15994
17430
|
"type": {
|
|
15995
17431
|
"text": "void"
|
|
15996
17432
|
}
|
|
15997
|
-
}
|
|
15998
|
-
"parameters": [
|
|
15999
|
-
{
|
|
16000
|
-
"name": "disabled",
|
|
16001
|
-
"type": {
|
|
16002
|
-
"text": "boolean"
|
|
16003
|
-
}
|
|
16004
|
-
}
|
|
16005
|
-
],
|
|
16006
|
-
"description": "Mirrors an ancestor fieldset's disabled state."
|
|
17433
|
+
}
|
|
16007
17434
|
},
|
|
16008
17435
|
{
|
|
16009
17436
|
"kind": "method",
|
|
16010
|
-
"name": "
|
|
17437
|
+
"name": "_onPause",
|
|
17438
|
+
"privacy": "private",
|
|
16011
17439
|
"return": {
|
|
16012
17440
|
"type": {
|
|
16013
17441
|
"text": "void"
|
|
16014
17442
|
}
|
|
16015
|
-
}
|
|
16016
|
-
"parameters": [
|
|
16017
|
-
{
|
|
16018
|
-
"name": "state",
|
|
16019
|
-
"type": {
|
|
16020
|
-
"text": "string | File | FormData | null"
|
|
16021
|
-
}
|
|
16022
|
-
}
|
|
16023
|
-
],
|
|
16024
|
-
"description": "Restores the checked state from saved form state (bfcache/autofill)."
|
|
17443
|
+
}
|
|
16025
17444
|
},
|
|
16026
17445
|
{
|
|
16027
17446
|
"kind": "method",
|
|
16028
|
-
"name": "
|
|
17447
|
+
"name": "_onEnded",
|
|
16029
17448
|
"privacy": "private",
|
|
16030
17449
|
"return": {
|
|
16031
17450
|
"type": {
|
|
@@ -16035,7 +17454,7 @@
|
|
|
16035
17454
|
},
|
|
16036
17455
|
{
|
|
16037
17456
|
"kind": "method",
|
|
16038
|
-
"name": "
|
|
17457
|
+
"name": "_onVolumeChange",
|
|
16039
17458
|
"privacy": "private",
|
|
16040
17459
|
"return": {
|
|
16041
17460
|
"type": {
|
|
@@ -16045,252 +17464,108 @@
|
|
|
16045
17464
|
},
|
|
16046
17465
|
{
|
|
16047
17466
|
"kind": "method",
|
|
16048
|
-
"name": "
|
|
17467
|
+
"name": "_onError",
|
|
16049
17468
|
"privacy": "private",
|
|
16050
17469
|
"return": {
|
|
16051
17470
|
"type": {
|
|
16052
17471
|
"text": "void"
|
|
16053
17472
|
}
|
|
16054
|
-
}
|
|
16055
|
-
"parameters": [
|
|
16056
|
-
{
|
|
16057
|
-
"name": "e",
|
|
16058
|
-
"type": {
|
|
16059
|
-
"text": "Event"
|
|
16060
|
-
}
|
|
16061
|
-
}
|
|
16062
|
-
]
|
|
16063
|
-
},
|
|
16064
|
-
{
|
|
16065
|
-
"kind": "field",
|
|
16066
|
-
"name": "#onInputRef",
|
|
16067
|
-
"privacy": "private"
|
|
17473
|
+
}
|
|
16068
17474
|
}
|
|
16069
17475
|
],
|
|
16070
17476
|
"events": [
|
|
16071
17477
|
{
|
|
16072
|
-
"name": "
|
|
17478
|
+
"name": "play",
|
|
16073
17479
|
"type": {
|
|
16074
17480
|
"text": "CustomEvent"
|
|
16075
17481
|
},
|
|
16076
|
-
"description": "The
|
|
16077
|
-
}
|
|
16078
|
-
],
|
|
16079
|
-
"attributes": [
|
|
16080
|
-
{
|
|
16081
|
-
"name": "checked",
|
|
16082
|
-
"type": {
|
|
16083
|
-
"text": "boolean"
|
|
16084
|
-
},
|
|
16085
|
-
"default": "false",
|
|
16086
|
-
"description": "Whether the box is checked.",
|
|
16087
|
-
"fieldName": "checked"
|
|
17482
|
+
"description": "The video started playing."
|
|
16088
17483
|
},
|
|
16089
17484
|
{
|
|
16090
|
-
"name": "
|
|
17485
|
+
"name": "pause",
|
|
16091
17486
|
"type": {
|
|
16092
|
-
"text": "
|
|
17487
|
+
"text": "CustomEvent"
|
|
16093
17488
|
},
|
|
16094
|
-
"
|
|
16095
|
-
"description": "Visual \"partial selection\" state; cleared on the next user interaction.",
|
|
16096
|
-
"fieldName": "indeterminate"
|
|
17489
|
+
"description": "The video was paused."
|
|
16097
17490
|
},
|
|
16098
17491
|
{
|
|
16099
|
-
"name": "
|
|
17492
|
+
"name": "ended",
|
|
16100
17493
|
"type": {
|
|
16101
|
-
"text": "
|
|
17494
|
+
"text": "CustomEvent"
|
|
16102
17495
|
},
|
|
16103
|
-
"
|
|
16104
|
-
|
|
16105
|
-
|
|
16106
|
-
|
|
17496
|
+
"description": "Playback reached the end."
|
|
17497
|
+
}
|
|
17498
|
+
],
|
|
17499
|
+
"attributes": [
|
|
16107
17500
|
{
|
|
16108
|
-
"name": "
|
|
17501
|
+
"name": "src",
|
|
16109
17502
|
"type": {
|
|
16110
|
-
"text": "
|
|
17503
|
+
"text": "string"
|
|
16111
17504
|
},
|
|
16112
|
-
"default": "
|
|
16113
|
-
"description": "
|
|
16114
|
-
"fieldName": "
|
|
17505
|
+
"default": "\"\"",
|
|
17506
|
+
"description": "URL of the video file to play.",
|
|
17507
|
+
"fieldName": "src"
|
|
16115
17508
|
},
|
|
16116
17509
|
{
|
|
16117
|
-
"name": "
|
|
17510
|
+
"name": "poster",
|
|
16118
17511
|
"type": {
|
|
16119
17512
|
"text": "string"
|
|
16120
17513
|
},
|
|
16121
17514
|
"default": "\"\"",
|
|
16122
|
-
"description": "
|
|
16123
|
-
"fieldName": "
|
|
17515
|
+
"description": "Poster image shown before playback starts.",
|
|
17516
|
+
"fieldName": "poster"
|
|
16124
17517
|
},
|
|
16125
17518
|
{
|
|
16126
17519
|
"name": "label",
|
|
16127
17520
|
"type": {
|
|
16128
17521
|
"text": "string"
|
|
16129
17522
|
},
|
|
16130
|
-
"default": "\"\"",
|
|
16131
|
-
"description": "
|
|
17523
|
+
"default": "\"Video player\"",
|
|
17524
|
+
"description": "Accessible name for the player, e.g. a video title.",
|
|
16132
17525
|
"fieldName": "label"
|
|
16133
17526
|
},
|
|
16134
17527
|
{
|
|
16135
|
-
"name": "
|
|
16136
|
-
"type": {
|
|
16137
|
-
"text": "number"
|
|
16138
|
-
},
|
|
16139
|
-
"default": "14",
|
|
16140
|
-
"description": "Square icon size in pixels — 14 (inline icon size) by default.",
|
|
16141
|
-
"fieldName": "iconSize"
|
|
16142
|
-
}
|
|
16143
|
-
],
|
|
16144
|
-
"superclass": {
|
|
16145
|
-
"name": "LitElement",
|
|
16146
|
-
"package": "lit"
|
|
16147
|
-
},
|
|
16148
|
-
"tagName": "ui-checkbox",
|
|
16149
|
-
"customElement": true
|
|
16150
|
-
}
|
|
16151
|
-
],
|
|
16152
|
-
"exports": [
|
|
16153
|
-
{
|
|
16154
|
-
"kind": "js",
|
|
16155
|
-
"name": "UiCheckbox",
|
|
16156
|
-
"declaration": {
|
|
16157
|
-
"name": "UiCheckbox",
|
|
16158
|
-
"module": "src/ui-checkbox.ts"
|
|
16159
|
-
}
|
|
16160
|
-
},
|
|
16161
|
-
{
|
|
16162
|
-
"kind": "custom-element-definition",
|
|
16163
|
-
"name": "ui-checkbox",
|
|
16164
|
-
"declaration": {
|
|
16165
|
-
"name": "UiCheckbox",
|
|
16166
|
-
"module": "src/ui-checkbox.ts"
|
|
16167
|
-
}
|
|
16168
|
-
}
|
|
16169
|
-
]
|
|
16170
|
-
},
|
|
16171
|
-
{
|
|
16172
|
-
"kind": "javascript-module",
|
|
16173
|
-
"path": "src/user-avatar.ts",
|
|
16174
|
-
"declarations": [
|
|
16175
|
-
{
|
|
16176
|
-
"kind": "class",
|
|
16177
|
-
"description": "Circular avatar. Shows `src` when it loads successfully; falls back to the\nfirst letter of `name` (uppercased) if `src` is unset or fails to load\n(e.g. an expired OAuth profile-photo URL); falls back further to a generic\nperson icon if `name` is also unset. A broken image never leaves a blank\ncircle.",
|
|
16178
|
-
"name": "UserAvatar",
|
|
16179
|
-
"members": [
|
|
16180
|
-
{
|
|
16181
|
-
"kind": "field",
|
|
16182
|
-
"name": "src",
|
|
16183
|
-
"type": {
|
|
16184
|
-
"text": "string | null"
|
|
16185
|
-
},
|
|
16186
|
-
"default": "null",
|
|
16187
|
-
"description": "Image URL to show. Falls back to initials/icon if unset or it fails to load.",
|
|
16188
|
-
"attribute": "src"
|
|
16189
|
-
},
|
|
16190
|
-
{
|
|
16191
|
-
"kind": "field",
|
|
16192
|
-
"name": "name",
|
|
16193
|
-
"type": {
|
|
16194
|
-
"text": "string | null"
|
|
16195
|
-
},
|
|
16196
|
-
"default": "null",
|
|
16197
|
-
"description": "Source string for the fallback initial (e.g. a display name or email) — first character, uppercased.",
|
|
16198
|
-
"attribute": "name"
|
|
16199
|
-
},
|
|
16200
|
-
{
|
|
16201
|
-
"kind": "field",
|
|
16202
|
-
"name": "size",
|
|
16203
|
-
"type": {
|
|
16204
|
-
"text": "string | number"
|
|
16205
|
-
},
|
|
16206
|
-
"default": "32",
|
|
16207
|
-
"description": "Diameter in CSS pixels, or a preset name (`xs`=18, `sm`=24, `md`=32, `lg`=48).",
|
|
16208
|
-
"attribute": "size"
|
|
16209
|
-
},
|
|
16210
|
-
{
|
|
16211
|
-
"kind": "field",
|
|
16212
|
-
"name": "_imgError",
|
|
17528
|
+
"name": "loop",
|
|
16213
17529
|
"type": {
|
|
16214
17530
|
"text": "boolean"
|
|
16215
17531
|
},
|
|
16216
|
-
"
|
|
16217
|
-
"
|
|
16218
|
-
|
|
16219
|
-
{
|
|
16220
|
-
"kind": "field",
|
|
16221
|
-
"name": "SIZE_PRESETS",
|
|
16222
|
-
"type": {
|
|
16223
|
-
"text": "Record<string, number>"
|
|
16224
|
-
},
|
|
16225
|
-
"privacy": "private",
|
|
16226
|
-
"static": true,
|
|
16227
|
-
"readonly": true,
|
|
16228
|
-
"default": "{ xs: 18, sm: 24, md: 32, lg: 48, }"
|
|
16229
|
-
},
|
|
16230
|
-
{
|
|
16231
|
-
"kind": "method",
|
|
16232
|
-
"name": "resolveSize",
|
|
16233
|
-
"privacy": "private",
|
|
16234
|
-
"return": {
|
|
16235
|
-
"type": {
|
|
16236
|
-
"text": "number"
|
|
16237
|
-
}
|
|
16238
|
-
},
|
|
16239
|
-
"description": "Resolves the `size` property (number or preset name) to a pixel diameter."
|
|
16240
|
-
}
|
|
16241
|
-
],
|
|
16242
|
-
"attributes": [
|
|
16243
|
-
{
|
|
16244
|
-
"name": "src",
|
|
16245
|
-
"type": {
|
|
16246
|
-
"text": "string | null"
|
|
16247
|
-
},
|
|
16248
|
-
"default": "null",
|
|
16249
|
-
"description": "Image URL to show. Falls back to initials/icon if unset or it fails to load.",
|
|
16250
|
-
"fieldName": "src"
|
|
16251
|
-
},
|
|
16252
|
-
{
|
|
16253
|
-
"name": "name",
|
|
16254
|
-
"type": {
|
|
16255
|
-
"text": "string | null"
|
|
16256
|
-
},
|
|
16257
|
-
"default": "null",
|
|
16258
|
-
"description": "Source string for the fallback initial (e.g. a display name or email) — first character, uppercased.",
|
|
16259
|
-
"fieldName": "name"
|
|
17532
|
+
"default": "false",
|
|
17533
|
+
"description": "Loops playback once it reaches the end.",
|
|
17534
|
+
"fieldName": "loop"
|
|
16260
17535
|
},
|
|
16261
17536
|
{
|
|
16262
|
-
"name": "
|
|
17537
|
+
"name": "preload",
|
|
16263
17538
|
"type": {
|
|
16264
|
-
"text": "
|
|
17539
|
+
"text": "\"none\" | \"metadata\" | \"auto\""
|
|
16265
17540
|
},
|
|
16266
|
-
"default": "
|
|
16267
|
-
"description": "
|
|
16268
|
-
"fieldName": "
|
|
17541
|
+
"default": "\"metadata\"",
|
|
17542
|
+
"description": "Native `<video preload>` hint.",
|
|
17543
|
+
"fieldName": "preload"
|
|
16269
17544
|
}
|
|
16270
17545
|
],
|
|
16271
17546
|
"superclass": {
|
|
16272
17547
|
"name": "LitElement",
|
|
16273
17548
|
"package": "lit"
|
|
16274
17549
|
},
|
|
16275
|
-
"tagName": "
|
|
17550
|
+
"tagName": "video-player",
|
|
16276
17551
|
"customElement": true
|
|
16277
17552
|
}
|
|
16278
17553
|
],
|
|
16279
17554
|
"exports": [
|
|
16280
17555
|
{
|
|
16281
17556
|
"kind": "js",
|
|
16282
|
-
"name": "
|
|
17557
|
+
"name": "VideoPlayer",
|
|
16283
17558
|
"declaration": {
|
|
16284
|
-
"name": "
|
|
16285
|
-
"module": "src/
|
|
17559
|
+
"name": "VideoPlayer",
|
|
17560
|
+
"module": "src/video-player.ts"
|
|
16286
17561
|
}
|
|
16287
17562
|
},
|
|
16288
17563
|
{
|
|
16289
17564
|
"kind": "custom-element-definition",
|
|
16290
|
-
"name": "
|
|
17565
|
+
"name": "video-player",
|
|
16291
17566
|
"declaration": {
|
|
16292
|
-
"name": "
|
|
16293
|
-
"module": "src/
|
|
17567
|
+
"name": "VideoPlayer",
|
|
17568
|
+
"module": "src/video-player.ts"
|
|
16294
17569
|
}
|
|
16295
17570
|
}
|
|
16296
17571
|
]
|
|
@@ -16768,6 +18043,24 @@
|
|
|
16768
18043
|
}
|
|
16769
18044
|
],
|
|
16770
18045
|
"description": "Formats a millisecond duration for display.\n\n`\"seconds\"` renders a whole-second count with a pluralized unit word (e.g.\n\"1 second\", \"12 seconds\"). `\"compact\"` renders the shortest sensible\n`Xh Ym Zs` form, dropping leading-zero units (`\"12s\"`, `\"3m 12s\"`,\n`\"1h 03m 12s\"`) — minutes/seconds are zero-padded only once a larger unit\nis present."
|
|
18046
|
+
},
|
|
18047
|
+
{
|
|
18048
|
+
"kind": "function",
|
|
18049
|
+
"name": "formatClockDuration",
|
|
18050
|
+
"return": {
|
|
18051
|
+
"type": {
|
|
18052
|
+
"text": "string"
|
|
18053
|
+
}
|
|
18054
|
+
},
|
|
18055
|
+
"parameters": [
|
|
18056
|
+
{
|
|
18057
|
+
"name": "totalSeconds",
|
|
18058
|
+
"type": {
|
|
18059
|
+
"text": "number"
|
|
18060
|
+
}
|
|
18061
|
+
}
|
|
18062
|
+
],
|
|
18063
|
+
"description": "Formats a duration in seconds as a transport-bar clock label:\n`M:SS` (e.g. `\"3:45\"`), or `H:MM:SS` once an hour is reached (e.g.\n`\"1:02:03\"`). `NaN`/negative/non-finite input (e.g. a not-yet-loaded\nmedia duration) renders as `\"-:--\"` rather than `\"0:00\"`, so a player can\ndistinguish \"no reading yet\" from an actual zero-length duration."
|
|
16771
18064
|
}
|
|
16772
18065
|
],
|
|
16773
18066
|
"exports": [
|
|
@@ -16778,6 +18071,14 @@
|
|
|
16778
18071
|
"name": "formatDuration",
|
|
16779
18072
|
"module": "src/utils/duration.ts"
|
|
16780
18073
|
}
|
|
18074
|
+
},
|
|
18075
|
+
{
|
|
18076
|
+
"kind": "js",
|
|
18077
|
+
"name": "formatClockDuration",
|
|
18078
|
+
"declaration": {
|
|
18079
|
+
"name": "formatClockDuration",
|
|
18080
|
+
"module": "src/utils/duration.ts"
|
|
18081
|
+
}
|
|
16781
18082
|
}
|
|
16782
18083
|
]
|
|
16783
18084
|
},
|
|
@@ -17198,6 +18499,28 @@
|
|
|
17198
18499
|
}
|
|
17199
18500
|
}
|
|
17200
18501
|
]
|
|
18502
|
+
},
|
|
18503
|
+
{
|
|
18504
|
+
"kind": "javascript-module",
|
|
18505
|
+
"path": "src/utils/transport-controls.ts",
|
|
18506
|
+
"declarations": [
|
|
18507
|
+
{
|
|
18508
|
+
"kind": "variable",
|
|
18509
|
+
"name": "transportRangeStyles",
|
|
18510
|
+
"default": "css` input[type=\"range\"] { -webkit-appearance: none; appearance: none; /* Width is intentionally left to the consumer (e.g. .seek/.volume in audio-player/video-player) — this element+attribute selector has higher specificity than a single class rule, so setting a width here would win over a component's own narrower class and silently stretch every range input (including a fixed-width volume slider) to 100%. */ height: 1rem; margin: 0; background: transparent; cursor: pointer; } input[type=\"range\"]:disabled { cursor: not-allowed; opacity: 0.6; } input[type=\"range\"]::-webkit-slider-runnable-track { height: 0.25rem; border-radius: 9999px; /* A hard-stop gradient two-tone fill trick — see range-slider.ts for why this reads --ui-button-accent rather than --ui-button-background. */ background: linear-gradient( to right, var(--ui-button-accent, var(--ui-primary, #4f46e5)) 0%, var(--ui-button-accent, var(--ui-primary, #4f46e5)) var(--range-percent, 0%), var(--ui-surface-muted, #f8fafc) var(--range-percent, 0%), var(--ui-surface-muted, #f8fafc) 100% ); } input[type=\"range\"]::-moz-range-track { height: 0.25rem; border-radius: 9999px; background: var(--ui-surface-muted, #f8fafc); } input[type=\"range\"]::-moz-range-progress { height: 0.25rem; border-radius: 9999px; background: var(--ui-button-accent, var(--ui-primary, #4f46e5)); } input[type=\"range\"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 0.75rem; height: 0.75rem; /* WebKit centers the thumb on the input's full 1rem box, not the thinner custom track — nudge it up to align, as in range-slider.ts. */ transform: translateY(-0.25rem); border-radius: 50%; background: var(--ui-button-background, var(--ui-primary, #4f46e5)); border: 2px solid var(--ui-surface, #ffffff); box-shadow: 0 1px 2px rgb(0 0 0 / 0.2), var(--ui-button-highlight, 0 0 0 0 transparent); } input[type=\"range\"]::-moz-range-thumb { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--ui-button-background, var(--ui-primary, #4f46e5)); border: 2px solid var(--ui-surface, #ffffff); box-shadow: 0 1px 2px rgb(0 0 0 / 0.2), var(--ui-button-highlight, 0 0 0 0 transparent); } input[type=\"range\"]:disabled::-webkit-slider-thumb { background: var(--ui-text-muted, #64748b); } input[type=\"range\"]:disabled::-moz-range-thumb { background: var(--ui-text-muted, #64748b); } input[type=\"range\"]:focus-visible { outline: none; } input[type=\"range\"]:focus-visible::-webkit-slider-thumb { box-shadow: var(--ui-focus-ring, 0 0 0 3px rgb(79 70 229 / 0.35)); } input[type=\"range\"]:focus-visible::-moz-range-thumb { box-shadow: var(--ui-focus-ring, 0 0 0 3px rgb(79 70 229 / 0.35)); } @media (prefers-reduced-motion: no-preference) { input[type=\"range\"]::-webkit-slider-thumb { transition: box-shadow 120ms ease; } input[type=\"range\"]::-moz-range-thumb { transition: box-shadow 120ms ease; } } @media (forced-colors: active) { input[type=\"range\"]::-webkit-slider-runnable-track { background: Canvas; border: 1px solid CanvasText; } input[type=\"range\"]::-webkit-slider-thumb { background: Highlight; border-color: Canvas; } input[type=\"range\"]:focus-visible::-webkit-slider-thumb { outline: 2px solid CanvasText; outline-offset: 2px; box-shadow: none; } } `",
|
|
18511
|
+
"description": "Shared `<input type=\"range\">` track/thumb styling for media transport\ncontrols (the seek bar and volume slider in `audio-player`/`video-player`).\nReuses `range-slider.ts`'s track/fill visual language (a filled portion up\nto `--range-percent`) so both players get free native keyboard/pointer\nseeking instead of a custom-built draggable control, matching the \"native\nsemantics before custom ARIA\" rule. Extracted here rather than duplicated\nbecause both components need the identical rule set."
|
|
18512
|
+
}
|
|
18513
|
+
],
|
|
18514
|
+
"exports": [
|
|
18515
|
+
{
|
|
18516
|
+
"kind": "js",
|
|
18517
|
+
"name": "transportRangeStyles",
|
|
18518
|
+
"declaration": {
|
|
18519
|
+
"name": "transportRangeStyles",
|
|
18520
|
+
"module": "src/utils/transport-controls.ts"
|
|
18521
|
+
}
|
|
18522
|
+
}
|
|
18523
|
+
]
|
|
17201
18524
|
}
|
|
17202
18525
|
]
|
|
17203
18526
|
}
|