@redvars/peacock 3.3.1 → 3.3.2

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.
Files changed (88) hide show
  1. package/dist/{IndividualComponent-tDnXrOLV.js → IndividualComponent-Dt5xirYG.js} +2 -2
  2. package/dist/{IndividualComponent-tDnXrOLV.js.map → IndividualComponent-Dt5xirYG.js.map} +1 -1
  3. package/dist/array-D5vjT2Xm.js +14 -0
  4. package/dist/array-D5vjT2Xm.js.map +1 -0
  5. package/dist/{button-trIfcqC7.js → button-ClzS8JLq.js} +3 -3
  6. package/dist/{button-trIfcqC7.js.map → button-ClzS8JLq.js.map} +1 -1
  7. package/dist/{button-group-DA7xoziD.js → button-group-BMS5WvaF.js} +4 -4
  8. package/dist/{button-group-DA7xoziD.js.map → button-group-BMS5WvaF.js.map} +1 -1
  9. package/dist/button-group.js +4 -4
  10. package/dist/button.js +3 -3
  11. package/dist/card.js +104 -0
  12. package/dist/card.js.map +1 -0
  13. package/dist/chart-bar-DbnXQgvS.js +1121 -0
  14. package/dist/chart-bar-DbnXQgvS.js.map +1 -0
  15. package/dist/chart-bar.js +259 -0
  16. package/dist/chart-bar.js.map +1 -0
  17. package/dist/chart-donut.js +4 -2
  18. package/dist/chart-donut.js.map +1 -1
  19. package/dist/chart-doughnut.js +4 -2
  20. package/dist/chart-doughnut.js.map +1 -1
  21. package/dist/chart-pie.js +4 -2
  22. package/dist/chart-pie.js.map +1 -1
  23. package/dist/chart-stacked-bar.js +401 -0
  24. package/dist/chart-stacked-bar.js.map +1 -0
  25. package/dist/{class-map-hJdvjl-W.js → class-map-59YGWLnx.js} +2 -2
  26. package/dist/{class-map-hJdvjl-W.js.map → class-map-59YGWLnx.js.map} +1 -1
  27. package/dist/clock.js +1 -1
  28. package/dist/code-editor.js +3 -3
  29. package/dist/code-highlighter.js +3 -3
  30. package/dist/custom-elements-jsdocs.json +2308 -766
  31. package/dist/custom-elements.json +909 -25
  32. package/dist/index.js +16 -9
  33. package/dist/index.js.map +1 -1
  34. package/dist/number-counter.js +2 -2
  35. package/dist/{observe-theme-change-BISF-Gl5.js → observe-theme-change-pALI5fmV.js} +2 -2
  36. package/dist/{observe-theme-change-BISF-Gl5.js.map → observe-theme-change-pALI5fmV.js.map} +1 -1
  37. package/dist/peacock-loader.js +22 -526
  38. package/dist/peacock-loader.js.map +1 -1
  39. package/dist/pie-Dz0IDiPt.js +537 -0
  40. package/dist/pie-Dz0IDiPt.js.map +1 -0
  41. package/dist/{tree-view-CLolVlU0.js → snackbar-74YCdMPL.js} +1005 -143
  42. package/dist/snackbar-74YCdMPL.js.map +1 -0
  43. package/dist/src/card/card.d.ts +27 -0
  44. package/dist/src/card/index.d.ts +1 -0
  45. package/dist/src/chart-bar/chart-bar.d.ts +53 -0
  46. package/dist/src/chart-bar/chart-stacked-bar.d.ts +78 -0
  47. package/dist/src/chart-bar/index.d.ts +2 -0
  48. package/dist/src/index.d.ts +5 -0
  49. package/dist/src/menu/menu-item/menu-item.d.ts +1 -1
  50. package/dist/src/snackbar/index.d.ts +1 -0
  51. package/dist/src/snackbar/snackbar.d.ts +40 -0
  52. package/dist/src/tabs/tab-group.d.ts +1 -1
  53. package/dist/src/tabs/tab-panel.d.ts +1 -0
  54. package/dist/src/tabs/tab.d.ts +2 -1
  55. package/dist/{style-map-CfNHEkQp.js → style-map-DcB52w-l.js} +2 -2
  56. package/dist/{style-map-CfNHEkQp.js.map → style-map-DcB52w-l.js.map} +1 -1
  57. package/dist/test/card.test.d.ts +1 -0
  58. package/dist/test/chart-bar.test.d.ts +1 -0
  59. package/dist/test/snackbar.test.d.ts +1 -0
  60. package/dist/{transform-DRuHEvar.js → transform-DSwFSqzD.js} +13 -558
  61. package/dist/transform-DSwFSqzD.js.map +1 -0
  62. package/dist/tsconfig.tsbuildinfo +1 -1
  63. package/dist/{unsafe-html-CV6Je6HL.js → unsafe-html-C2r3PyzF.js} +2 -2
  64. package/dist/{unsafe-html-CV6Je6HL.js.map → unsafe-html-C2r3PyzF.js.map} +1 -1
  65. package/package.json +1 -1
  66. package/readme.md +2 -2
  67. package/src/card/card.scss +61 -0
  68. package/src/card/card.ts +38 -0
  69. package/src/card/index.ts +1 -0
  70. package/src/chart-bar/chart-bar.scss +58 -0
  71. package/src/chart-bar/chart-bar.ts +306 -0
  72. package/src/chart-bar/chart-stacked-bar.ts +402 -0
  73. package/src/chart-bar/index.ts +2 -0
  74. package/src/index.ts +5 -0
  75. package/src/menu/menu-item/menu-item.ts +1 -1
  76. package/src/peacock-loader.ts +14 -0
  77. package/src/snackbar/demo/index.html +29 -0
  78. package/src/snackbar/index.ts +1 -0
  79. package/src/snackbar/snackbar.scss +73 -0
  80. package/src/snackbar/snackbar.ts +151 -0
  81. package/src/tabs/tab-group.ts +57 -28
  82. package/src/tabs/tab-panel.scss +3 -3
  83. package/src/tabs/tab-panel.ts +2 -0
  84. package/src/tabs/tab.scss +76 -2
  85. package/src/tabs/tab.ts +28 -6
  86. package/src/tabs/tabs.ts +15 -3
  87. package/dist/transform-DRuHEvar.js.map +0 -1
  88. package/dist/tree-view-CLolVlU0.js.map +0 -1
@@ -1381,31 +1381,143 @@
1381
1381
  }
1382
1382
  },
1383
1383
  {
1384
- "rawTag": "chart-doughnut",
1385
- "label": "Chart Doughnut",
1384
+ "rawTag": "card",
1385
+ "label": "Card",
1386
1386
  "jsdoc": {
1387
1387
  "@label": [
1388
1388
  {
1389
1389
  "kind": "text",
1390
- "text": "Chart Doughnut"
1390
+ "text": "Card"
1391
1391
  }
1392
1392
  ],
1393
1393
  "@tag": [
1394
1394
  {
1395
1395
  "kind": "text",
1396
- "text": "wc-chart-doughnut"
1396
+ "text": "wc-card"
1397
1397
  }
1398
1398
  ],
1399
1399
  "@rawTag": [
1400
1400
  {
1401
1401
  "kind": "text",
1402
- "text": "chart-doughnut"
1402
+ "text": "card"
1403
1403
  }
1404
1404
  ],
1405
1405
  "@summary": [
1406
1406
  {
1407
1407
  "kind": "text",
1408
- "text": "A doughnut chart is a circular chart with a blank center. The area in the center can be used to display information."
1408
+ "text": "A Material 3 inspired card surface for grouping related content."
1409
+ }
1410
+ ],
1411
+ "@cssprop": [
1412
+ {
1413
+ "kind": "text",
1414
+ "text": "--card-gap - Gap between slotted children."
1415
+ }
1416
+ ],
1417
+ "@example": [
1418
+ {
1419
+ "kind": "code",
1420
+ "text": "```html\n<wc-card variant=\"outlined\">\n <h3>Title</h3>\n <p>Supportive text</p>\n</wc-card>\n```"
1421
+ }
1422
+ ]
1423
+ },
1424
+ "customElement": {
1425
+ "kind": "class",
1426
+ "description": "",
1427
+ "name": "Card",
1428
+ "cssProperties": [
1429
+ {
1430
+ "description": "Inner padding for the card container. Defaults to 1rem.",
1431
+ "name": "--card-padding"
1432
+ },
1433
+ {
1434
+ "description": "Corner radius for the card container. Defaults to a large radius.",
1435
+ "name": "--card-shape"
1436
+ },
1437
+ {
1438
+ "description": "Gap between slotted children.",
1439
+ "name": "--card-gap"
1440
+ }
1441
+ ],
1442
+ "members": [
1443
+ {
1444
+ "kind": "field",
1445
+ "name": "variant",
1446
+ "type": {
1447
+ "text": "CardVariant"
1448
+ },
1449
+ "default": "'elevated'",
1450
+ "attribute": "variant",
1451
+ "reflects": true
1452
+ },
1453
+ {
1454
+ "kind": "field",
1455
+ "name": "elevation",
1456
+ "type": {
1457
+ "text": "CardElevation"
1458
+ },
1459
+ "default": "1",
1460
+ "attribute": "elevation",
1461
+ "reflects": true
1462
+ }
1463
+ ],
1464
+ "attributes": [
1465
+ {
1466
+ "name": "variant",
1467
+ "type": {
1468
+ "text": "CardVariant"
1469
+ },
1470
+ "default": "'elevated'",
1471
+ "fieldName": "variant"
1472
+ },
1473
+ {
1474
+ "name": "elevation",
1475
+ "type": {
1476
+ "text": "CardElevation"
1477
+ },
1478
+ "default": "1",
1479
+ "fieldName": "elevation"
1480
+ }
1481
+ ],
1482
+ "superclass": {
1483
+ "name": "LitElement",
1484
+ "package": "lit"
1485
+ },
1486
+ "tagName": "wc-card",
1487
+ "customElement": true,
1488
+ "summary": "A Material 3 inspired card surface for grouping related content.",
1489
+ "rawTag": {
1490
+ "name": "card",
1491
+ "description": ""
1492
+ }
1493
+ }
1494
+ },
1495
+ {
1496
+ "rawTag": "chart-bar",
1497
+ "label": "Chart Bar",
1498
+ "jsdoc": {
1499
+ "@label": [
1500
+ {
1501
+ "kind": "text",
1502
+ "text": "Chart Bar"
1503
+ }
1504
+ ],
1505
+ "@tag": [
1506
+ {
1507
+ "kind": "text",
1508
+ "text": "wc-chart-bar"
1509
+ }
1510
+ ],
1511
+ "@rawTag": [
1512
+ {
1513
+ "kind": "text",
1514
+ "text": "chart-bar"
1515
+ }
1516
+ ],
1517
+ "@summary": [
1518
+ {
1519
+ "kind": "text",
1520
+ "text": "A vertical bar chart that follows Material Design 3 color and spacing tokens."
1409
1521
  }
1410
1522
  ],
1411
1523
  "@tags": [
@@ -1417,14 +1529,14 @@
1417
1529
  "@example": [
1418
1530
  {
1419
1531
  "kind": "code",
1420
- "text": "```html\n<wc-chart-doughnut width=\"400\" label=\"Total\"></wc-chart-doughnut>\n<script>\n document.querySelector('wc-chart-doughnut').data = [\n { name: 'A', value: 30, label: 'Category A' },\n { name: 'B', value: 50, label: 'Category B' },\n { name: 'C', value: 20, label: 'Category C' },\n ];\n</script>\n```"
1532
+ "text": "```html\n<wc-chart-bar width=\"520\" height=\"320\"></wc-chart-bar>\n<script>\n document.querySelector('wc-chart-bar').data = [\n { name: 'apples', label: 'Apples', value: 20 },\n { name: 'bananas', label: 'Bananas', value: 35 },\n { name: 'cherries', label: 'Cherries', value: 15 },\n ];\n</script>\n```"
1421
1533
  }
1422
1534
  ]
1423
1535
  },
1424
1536
  "customElement": {
1425
1537
  "kind": "class",
1426
1538
  "description": "",
1427
- "name": "ChartDoughnut",
1539
+ "name": "ChartBar",
1428
1540
  "members": [
1429
1541
  {
1430
1542
  "kind": "field",
@@ -1441,37 +1553,36 @@
1441
1553
  "text": "number"
1442
1554
  },
1443
1555
  "default": "0",
1444
- "description": "Width (and height) of the chart in pixels.",
1556
+ "description": "Width of the chart in pixels.",
1445
1557
  "attribute": "width",
1446
1558
  "reflects": true
1447
1559
  },
1448
1560
  {
1449
1561
  "kind": "field",
1450
- "name": "margin",
1562
+ "name": "height",
1451
1563
  "type": {
1452
1564
  "text": "number"
1453
1565
  },
1454
- "default": "10",
1455
- "description": "Margin around the chart.",
1456
- "attribute": "margin",
1566
+ "default": "320",
1567
+ "description": "Height of the chart in pixels.",
1568
+ "attribute": "height",
1457
1569
  "reflects": true
1458
1570
  },
1459
1571
  {
1460
1572
  "kind": "field",
1461
- "name": "showLabels",
1573
+ "name": "margin",
1462
1574
  "type": {
1463
- "text": "boolean"
1575
+ "text": "number"
1464
1576
  },
1465
- "default": "true",
1466
- "description": "Whether to show labels outside the chart.",
1467
- "attribute": "show-labels",
1468
- "reflects": true
1577
+ "default": "24",
1578
+ "description": "Margin around the chart drawing area.",
1579
+ "attribute": "margin"
1469
1580
  },
1470
1581
  {
1471
1582
  "kind": "field",
1472
1583
  "name": "data",
1473
1584
  "type": {
1474
- "text": "ChartDoughnutItem[]"
1585
+ "text": "ChartBarItem[]"
1475
1586
  },
1476
1587
  "default": "[]",
1477
1588
  "description": "Chart data array. Each item should have name, value, and optional label and color.",
@@ -1479,12 +1590,13 @@
1479
1590
  },
1480
1591
  {
1481
1592
  "kind": "field",
1482
- "name": "label",
1593
+ "name": "showValues",
1483
1594
  "type": {
1484
- "text": "string | undefined"
1595
+ "text": "boolean"
1485
1596
  },
1486
- "description": "Label displayed in the center of the doughnut.",
1487
- "attribute": "label"
1597
+ "default": "true",
1598
+ "description": "Whether to render value labels above bars.",
1599
+ "attribute": "show-values"
1488
1600
  },
1489
1601
  {
1490
1602
  "kind": "field",
@@ -1502,33 +1614,33 @@
1502
1614
  },
1503
1615
  {
1504
1616
  "kind": "method",
1505
- "name": "_getRadius",
1506
- "privacy": "private",
1507
- "return": {
1508
- "type": {
1509
- "text": "number"
1510
- }
1511
- }
1617
+ "name": "_getPaletteScale",
1618
+ "privacy": "private"
1512
1619
  },
1513
1620
  {
1514
1621
  "kind": "method",
1515
- "name": "_getTotal",
1622
+ "name": "_resolveColor",
1516
1623
  "privacy": "private",
1517
- "return": {
1518
- "type": {
1519
- "text": "number"
1624
+ "parameters": [
1625
+ {
1626
+ "name": "name",
1627
+ "type": {
1628
+ "text": "string"
1629
+ }
1630
+ },
1631
+ {
1632
+ "name": "override",
1633
+ "type": {
1634
+ "text": "string | undefined"
1635
+ }
1636
+ },
1637
+ {
1638
+ "name": "scale",
1639
+ "type": {
1640
+ "text": "d3.ScaleOrdinal<string, string>"
1641
+ }
1520
1642
  }
1521
- }
1522
- },
1523
- {
1524
- "kind": "method",
1525
- "name": "_getPieData",
1526
- "privacy": "private"
1527
- },
1528
- {
1529
- "kind": "method",
1530
- "name": "_getColorScale",
1531
- "privacy": "private"
1643
+ ]
1532
1644
  },
1533
1645
  {
1534
1646
  "kind": "method",
@@ -1551,84 +1663,85 @@
1551
1663
  "text": "number"
1552
1664
  },
1553
1665
  "default": "0",
1554
- "description": "Width (and height) of the chart in pixels.",
1666
+ "description": "Width of the chart in pixels.",
1555
1667
  "fieldName": "width"
1556
1668
  },
1557
1669
  {
1558
- "name": "margin",
1670
+ "name": "height",
1559
1671
  "type": {
1560
1672
  "text": "number"
1561
1673
  },
1562
- "default": "10",
1563
- "description": "Margin around the chart.",
1564
- "fieldName": "margin"
1674
+ "default": "DEFAULT_HEIGHT",
1675
+ "description": "Height of the chart in pixels.",
1676
+ "fieldName": "height"
1565
1677
  },
1566
1678
  {
1567
- "name": "show-labels",
1679
+ "name": "margin",
1568
1680
  "type": {
1569
- "text": "boolean"
1681
+ "text": "number"
1570
1682
  },
1571
- "default": "true",
1572
- "description": "Whether to show labels outside the chart.",
1573
- "fieldName": "showLabels"
1683
+ "default": "24",
1684
+ "description": "Margin around the chart drawing area.",
1685
+ "fieldName": "margin"
1574
1686
  },
1575
1687
  {
1576
1688
  "name": "data",
1577
1689
  "type": {
1578
- "text": "ChartDoughnutItem[]"
1690
+ "text": "ChartBarItem[]"
1579
1691
  },
1580
1692
  "default": "[]",
1581
1693
  "description": "Chart data array. Each item should have name, value, and optional label and color.",
1582
1694
  "fieldName": "data"
1583
1695
  },
1584
1696
  {
1585
- "name": "label",
1697
+ "name": "show-values",
1586
1698
  "type": {
1587
- "text": "string | undefined"
1699
+ "text": "boolean"
1588
1700
  },
1589
- "description": "Label displayed in the center of the doughnut.",
1590
- "fieldName": "label"
1701
+ "default": "true",
1702
+ "description": "Whether to render value labels above bars.",
1703
+ "fieldName": "showValues"
1591
1704
  }
1592
1705
  ],
1593
1706
  "superclass": {
1594
1707
  "name": "LitElement",
1595
1708
  "package": "lit"
1596
1709
  },
1597
- "tagName": "wc-chart-doughnut",
1710
+ "tagName": "wc-chart-bar",
1598
1711
  "customElement": true,
1599
- "summary": "A doughnut chart is a circular chart with a blank center. The area in the center can be used to display information.",
1712
+ "summary": "A vertical bar chart that follows Material Design 3 color and spacing tokens.",
1600
1713
  "rawTag": {
1601
- "name": "chart-doughnut",
1714
+ "name": "chart-bar",
1602
1715
  "description": ""
1603
1716
  }
1604
1717
  }
1605
1718
  },
1606
1719
  {
1607
- "rawTag": "chart-pie",
1608
- "label": "Chart Pie",
1720
+ "rawTag": "chart-donut",
1721
+ "label": "Chart Donut",
1609
1722
  "jsdoc": {
1610
1723
  "@label": [
1611
1724
  {
1612
1725
  "kind": "text",
1613
- "text": "Chart Pie"
1726
+ "text": "Chart Donut"
1614
1727
  }
1615
1728
  ],
1616
1729
  "@tag": [
1617
1730
  {
1618
1731
  "kind": "text",
1619
- "text": "wc-chart-pie"
1732
+ "text": "wc-chart-donut"
1620
1733
  }
1621
1734
  ],
1622
1735
  "@rawTag": [
1623
1736
  {
1624
1737
  "kind": "text",
1625
- "text": "chart-pie"
1738
+ "text": "chart-donut"
1626
1739
  }
1627
1740
  ],
1628
1741
  "@summary": [
1629
1742
  {
1630
1743
  "kind": "text",
1631
- "text": "A pie chart is a circular statistical graphic that visually represents numerical proportions."
1744
+ "text": "A donut chart is a circular chart with a blank center. The area in the center can be used to display information."
1632
1745
  }
1633
1746
  ],
1634
1747
  "@tags": [
@@ -1640,14 +1753,14 @@
1640
1753
  "@example": [
1641
1754
  {
1642
1755
  "kind": "code",
1643
- "text": "```html\n<wc-chart-pie width=\"400\"></wc-chart-pie>\n<script>\n document.querySelector('wc-chart-pie').data = [\n { name: 'A', value: 30, label: 'Category A' },\n { name: 'B', value: 50, label: 'Category B' },\n { name: 'C', value: 20, label: 'Category C' },\n ];\n</script>\n```"
1756
+ "text": "```html\n<wc-chart-donut width=\"400\" label=\"Total\"></wc-chart-donut>\n<script>\n document.querySelector('wc-chart-donut').data = [\n { name: 'A', value: 30, label: 'Category A' },\n { name: 'B', value: 50, label: 'Category B' },\n { name: 'C', value: 20, label: 'Category C' },\n ];\n</script>\n```"
1644
1757
  }
1645
1758
  ]
1646
1759
  },
1647
1760
  "customElement": {
1648
1761
  "kind": "class",
1649
1762
  "description": "",
1650
- "name": "ChartPie",
1763
+ "name": "ChartDonut",
1651
1764
  "members": [
1652
1765
  {
1653
1766
  "kind": "field",
@@ -1694,12 +1807,21 @@
1694
1807
  "kind": "field",
1695
1808
  "name": "data",
1696
1809
  "type": {
1697
- "text": "ChartPieItem[]"
1810
+ "text": "ChartDonutItem[]"
1698
1811
  },
1699
1812
  "default": "[]",
1700
1813
  "description": "Chart data array. Each item should have name, value, and optional label and color.",
1701
1814
  "attribute": "data"
1702
1815
  },
1816
+ {
1817
+ "kind": "field",
1818
+ "name": "label",
1819
+ "type": {
1820
+ "text": "string | undefined"
1821
+ },
1822
+ "description": "Label displayed in the center of the donut.",
1823
+ "attribute": "label"
1824
+ },
1703
1825
  {
1704
1826
  "kind": "field",
1705
1827
  "name": "_initialized",
@@ -1724,6 +1846,16 @@
1724
1846
  }
1725
1847
  }
1726
1848
  },
1849
+ {
1850
+ "kind": "method",
1851
+ "name": "_getTotal",
1852
+ "privacy": "private",
1853
+ "return": {
1854
+ "type": {
1855
+ "text": "number"
1856
+ }
1857
+ }
1858
+ },
1727
1859
  {
1728
1860
  "kind": "method",
1729
1861
  "name": "_getPieData",
@@ -1779,641 +1911,572 @@
1779
1911
  {
1780
1912
  "name": "data",
1781
1913
  "type": {
1782
- "text": "ChartPieItem[]"
1914
+ "text": "ChartDonutItem[]"
1783
1915
  },
1784
1916
  "default": "[]",
1785
1917
  "description": "Chart data array. Each item should have name, value, and optional label and color.",
1786
1918
  "fieldName": "data"
1919
+ },
1920
+ {
1921
+ "name": "label",
1922
+ "type": {
1923
+ "text": "string | undefined"
1924
+ },
1925
+ "description": "Label displayed in the center of the donut.",
1926
+ "fieldName": "label"
1787
1927
  }
1788
1928
  ],
1789
1929
  "superclass": {
1790
1930
  "name": "LitElement",
1791
1931
  "package": "lit"
1792
1932
  },
1793
- "tagName": "wc-chart-pie",
1933
+ "tagName": "wc-chart-donut",
1794
1934
  "customElement": true,
1795
- "summary": "A pie chart is a circular statistical graphic that visually represents numerical proportions.",
1935
+ "summary": "A donut chart is a circular chart with a blank center. The area in the center can be used to display information.",
1796
1936
  "rawTag": {
1797
- "name": "chart-pie",
1937
+ "name": "chart-donut",
1798
1938
  "description": ""
1799
1939
  }
1800
1940
  }
1801
1941
  },
1802
1942
  {
1803
- "rawTag": "chip",
1804
- "label": "Chip",
1943
+ "rawTag": "chart-doughnut",
1944
+ "label": "Chart Doughnut",
1805
1945
  "jsdoc": {
1806
1946
  "@label": [
1807
1947
  {
1808
1948
  "kind": "text",
1809
- "text": "Chip"
1949
+ "text": "Chart Doughnut"
1810
1950
  }
1811
1951
  ],
1812
1952
  "@tag": [
1813
1953
  {
1814
1954
  "kind": "text",
1815
- "text": "wc-chip"
1955
+ "text": "wc-chart-doughnut"
1816
1956
  }
1817
1957
  ],
1818
1958
  "@rawTag": [
1819
1959
  {
1820
1960
  "kind": "text",
1821
- "text": "chip"
1961
+ "text": "chart-doughnut"
1822
1962
  }
1823
1963
  ],
1824
1964
  "@summary": [
1825
1965
  {
1826
1966
  "kind": "text",
1827
- "text": "Chip component for displaying compact information with optional actions."
1967
+ "text": "A doughnut chart is a circular chart with a blank center. The area in the center can be used to display information."
1828
1968
  }
1829
1969
  ],
1830
1970
  "@tags": [
1831
1971
  {
1832
1972
  "kind": "text",
1833
- "text": "display"
1973
+ "text": "charts"
1834
1974
  }
1835
1975
  ],
1836
1976
  "@example": [
1837
1977
  {
1838
1978
  "kind": "code",
1839
- "text": "```html\n<wc-chip>Chip content</wc-chip>\n```"
1979
+ "text": "```html\n<wc-chart-doughnut width=\"400\" label=\"Total\"></wc-chart-doughnut>\n<script>\n document.querySelector('wc-chart-doughnut').data = [\n { name: 'A', value: 30, label: 'Category A' },\n { name: 'B', value: 50, label: 'Category B' },\n { name: 'C', value: 20, label: 'Category C' },\n ];\n</script>\n```"
1840
1980
  }
1841
1981
  ]
1842
1982
  },
1843
1983
  "customElement": {
1844
1984
  "kind": "class",
1845
1985
  "description": "",
1846
- "name": "Chip",
1986
+ "name": "ChartDoughnut",
1847
1987
  "members": [
1848
1988
  {
1849
1989
  "kind": "field",
1850
- "name": "dismissible",
1990
+ "name": "svgElement",
1851
1991
  "type": {
1852
- "text": "boolean"
1992
+ "text": "SVGElement | undefined"
1853
1993
  },
1854
- "default": "false",
1855
- "description": "If true, the tag will have a close icon.",
1856
- "attribute": "dismissible"
1994
+ "privacy": "private"
1857
1995
  },
1858
1996
  {
1859
1997
  "kind": "field",
1860
- "name": "color",
1998
+ "name": "width",
1861
1999
  "type": {
1862
- "text": "| 'default'\n | 'blue'\n | 'green'\n | 'red'\n | 'yellow' | undefined"
2000
+ "text": "number"
1863
2001
  },
1864
- "default": "'default'",
1865
- "description": "Tag color.",
1866
- "attribute": "color",
2002
+ "default": "0",
2003
+ "description": "Width (and height) of the chart in pixels.",
2004
+ "attribute": "width",
1867
2005
  "reflects": true
1868
2006
  },
1869
2007
  {
1870
2008
  "kind": "field",
1871
- "name": "value",
2009
+ "name": "margin",
1872
2010
  "type": {
1873
- "text": "string"
2011
+ "text": "number"
1874
2012
  },
1875
- "default": "''",
1876
- "description": "Tag value.",
1877
- "attribute": "value",
2013
+ "default": "10",
2014
+ "description": "Margin around the chart.",
2015
+ "attribute": "margin",
1878
2016
  "reflects": true
1879
2017
  },
1880
2018
  {
1881
2019
  "kind": "field",
1882
- "name": "selected",
2020
+ "name": "showLabels",
1883
2021
  "type": {
1884
2022
  "text": "boolean"
1885
2023
  },
1886
- "default": "false",
1887
- "description": "If true, the tag will be selected.",
1888
- "attribute": "selected",
2024
+ "default": "true",
2025
+ "description": "Whether to show labels outside the chart.",
2026
+ "attribute": "show-labels",
1889
2027
  "reflects": true
1890
2028
  },
1891
2029
  {
1892
2030
  "kind": "field",
1893
- "name": "imageSrc",
2031
+ "name": "data",
2032
+ "type": {
2033
+ "text": "ChartDoughnutItem[]"
2034
+ },
2035
+ "default": "[]",
2036
+ "description": "Chart data array. Each item should have name, value, and optional label and color.",
2037
+ "attribute": "data"
2038
+ },
2039
+ {
2040
+ "kind": "field",
2041
+ "name": "label",
1894
2042
  "type": {
1895
2043
  "text": "string | undefined"
1896
2044
  },
1897
- "description": "Image source.",
1898
- "attribute": "imageSrc"
2045
+ "description": "Label displayed in the center of the doughnut.",
2046
+ "attribute": "label"
2047
+ },
2048
+ {
2049
+ "kind": "field",
2050
+ "name": "_initialized",
2051
+ "type": {
2052
+ "text": "boolean"
2053
+ },
2054
+ "privacy": "private",
2055
+ "default": "false"
2056
+ },
2057
+ {
2058
+ "kind": "field",
2059
+ "name": "_debouncedRenderChart",
2060
+ "privacy": "private"
1899
2061
  },
1900
2062
  {
1901
2063
  "kind": "method",
1902
- "name": "_dismissClickHandler",
2064
+ "name": "_getRadius",
1903
2065
  "privacy": "private",
1904
- "parameters": [
1905
- {
1906
- "name": "e",
1907
- "type": {
1908
- "text": "MouseEvent"
1909
- }
2066
+ "return": {
2067
+ "type": {
2068
+ "text": "number"
1910
2069
  }
1911
- ]
2070
+ }
1912
2071
  },
1913
2072
  {
1914
2073
  "kind": "method",
1915
- "name": "_renderCloseButton",
2074
+ "name": "_getTotal",
2075
+ "privacy": "private",
2076
+ "return": {
2077
+ "type": {
2078
+ "text": "number"
2079
+ }
2080
+ }
2081
+ },
2082
+ {
2083
+ "kind": "method",
2084
+ "name": "_getPieData",
1916
2085
  "privacy": "private"
1917
2086
  },
1918
2087
  {
1919
2088
  "kind": "method",
1920
- "name": "_renderImage",
2089
+ "name": "_getColorScale",
1921
2090
  "privacy": "private"
1922
- }
1923
- ],
1924
- "events": [
2091
+ },
1925
2092
  {
1926
- "name": "tag--dismiss",
1927
- "type": {
1928
- "text": "CustomEvent"
1929
- }
2093
+ "kind": "method",
2094
+ "name": "_renderChart",
2095
+ "privacy": "private",
2096
+ "parameters": [
2097
+ {
2098
+ "name": "animate",
2099
+ "type": {
2100
+ "text": "boolean"
2101
+ }
2102
+ }
2103
+ ]
1930
2104
  }
1931
2105
  ],
1932
2106
  "attributes": [
1933
2107
  {
1934
- "name": "dismissible",
2108
+ "name": "width",
1935
2109
  "type": {
1936
- "text": "boolean"
2110
+ "text": "number"
1937
2111
  },
1938
- "default": "false",
1939
- "description": "If true, the tag will have a close icon.",
1940
- "fieldName": "dismissible"
2112
+ "default": "0",
2113
+ "description": "Width (and height) of the chart in pixels.",
2114
+ "fieldName": "width"
1941
2115
  },
1942
2116
  {
1943
- "name": "color",
2117
+ "name": "margin",
1944
2118
  "type": {
1945
- "text": "| 'default'\n | 'blue'\n | 'green'\n | 'red'\n | 'yellow' | undefined"
2119
+ "text": "number"
1946
2120
  },
1947
- "default": "'default'",
1948
- "description": "Tag color.",
1949
- "fieldName": "color"
2121
+ "default": "10",
2122
+ "description": "Margin around the chart.",
2123
+ "fieldName": "margin"
1950
2124
  },
1951
2125
  {
1952
- "name": "value",
2126
+ "name": "show-labels",
1953
2127
  "type": {
1954
- "text": "string"
2128
+ "text": "boolean"
1955
2129
  },
1956
- "default": "''",
1957
- "description": "Tag value.",
1958
- "fieldName": "value"
2130
+ "default": "true",
2131
+ "description": "Whether to show labels outside the chart.",
2132
+ "fieldName": "showLabels"
1959
2133
  },
1960
2134
  {
1961
- "name": "selected",
2135
+ "name": "data",
1962
2136
  "type": {
1963
- "text": "boolean"
2137
+ "text": "ChartDoughnutItem[]"
1964
2138
  },
1965
- "default": "false",
1966
- "description": "If true, the tag will be selected.",
1967
- "fieldName": "selected"
2139
+ "default": "[]",
2140
+ "description": "Chart data array. Each item should have name, value, and optional label and color.",
2141
+ "fieldName": "data"
1968
2142
  },
1969
2143
  {
1970
- "name": "imageSrc",
2144
+ "name": "label",
1971
2145
  "type": {
1972
2146
  "text": "string | undefined"
1973
2147
  },
1974
- "description": "Image source.",
1975
- "fieldName": "imageSrc"
2148
+ "description": "Label displayed in the center of the doughnut.",
2149
+ "fieldName": "label"
1976
2150
  }
1977
2151
  ],
1978
2152
  "superclass": {
1979
2153
  "name": "LitElement",
1980
2154
  "package": "lit"
1981
2155
  },
1982
- "tagName": "wc-chip",
2156
+ "tagName": "wc-chart-doughnut",
1983
2157
  "customElement": true,
1984
- "summary": "Chip component for displaying compact information with optional actions.",
2158
+ "summary": "A doughnut chart is a circular chart with a blank center. The area in the center can be used to display information.",
1985
2159
  "rawTag": {
1986
- "name": "chip",
2160
+ "name": "chart-doughnut",
1987
2161
  "description": ""
1988
2162
  }
1989
2163
  }
1990
2164
  },
1991
2165
  {
1992
- "rawTag": "circular-progress",
1993
- "label": "Circular Progress",
2166
+ "rawTag": "chart-pie",
2167
+ "label": "Chart Pie",
1994
2168
  "jsdoc": {
1995
2169
  "@label": [
1996
2170
  {
1997
2171
  "kind": "text",
1998
- "text": "Circular Progress"
2172
+ "text": "Chart Pie"
1999
2173
  }
2000
2174
  ],
2001
2175
  "@tag": [
2002
2176
  {
2003
2177
  "kind": "text",
2004
- "text": "wc-circular-progress"
2178
+ "text": "wc-chart-pie"
2005
2179
  }
2006
2180
  ],
2007
2181
  "@rawTag": [
2008
2182
  {
2009
2183
  "kind": "text",
2010
- "text": "circular-progress"
2184
+ "text": "chart-pie"
2011
2185
  }
2012
2186
  ],
2013
2187
  "@summary": [
2014
2188
  {
2015
2189
  "kind": "text",
2016
- "text": "A circular progress indicator is a visual representation of progress toward a specific goal."
2190
+ "text": "A pie chart is a circular statistical graphic that visually represents numerical proportions."
2017
2191
  }
2018
2192
  ],
2019
2193
  "@tags": [
2020
2194
  {
2021
2195
  "kind": "text",
2022
- "text": "display"
2196
+ "text": "charts"
2023
2197
  }
2024
2198
  ],
2025
2199
  "@example": [
2026
2200
  {
2027
2201
  "kind": "code",
2028
- "text": "```html\n<wc-circular-progress value=\"30\"></wc-circular-progress>\n```"
2202
+ "text": "```html\n<wc-chart-pie width=\"400\"></wc-chart-pie>\n<script>\n document.querySelector('wc-chart-pie').data = [\n { name: 'A', value: 30, label: 'Category A' },\n { name: 'B', value: 50, label: 'Category B' },\n { name: 'C', value: 20, label: 'Category C' },\n ];\n</script>\n```"
2029
2203
  }
2030
2204
  ]
2031
2205
  },
2032
2206
  "customElement": {
2033
2207
  "kind": "class",
2034
2208
  "description": "",
2035
- "name": "CircularProgress",
2209
+ "name": "ChartPie",
2036
2210
  "members": [
2037
2211
  {
2038
2212
  "kind": "field",
2039
- "name": "value",
2213
+ "name": "svgElement",
2040
2214
  "type": {
2041
- "text": "number | undefined"
2215
+ "text": "SVGElement | undefined"
2042
2216
  },
2043
- "description": "The current value.",
2044
- "attribute": "value",
2045
- "inheritedFrom": {
2046
- "name": "BaseProgress",
2047
- "module": "src/progress/base-progress.ts"
2048
- }
2217
+ "privacy": "private"
2049
2218
  },
2050
2219
  {
2051
2220
  "kind": "field",
2052
- "name": "indeterminate",
2221
+ "name": "width",
2053
2222
  "type": {
2054
- "text": "boolean"
2223
+ "text": "number"
2055
2224
  },
2056
- "default": "false",
2057
- "attribute": "indeterminate",
2058
- "inheritedFrom": {
2059
- "name": "BaseProgress",
2060
- "module": "src/progress/base-progress.ts"
2061
- }
2225
+ "default": "0",
2226
+ "description": "Width (and height) of the chart in pixels.",
2227
+ "attribute": "width",
2228
+ "reflects": true
2062
2229
  },
2063
2230
  {
2064
2231
  "kind": "field",
2065
- "name": "label",
2232
+ "name": "margin",
2066
2233
  "type": {
2067
- "text": "string | undefined"
2234
+ "text": "number"
2068
2235
  },
2069
- "description": "A label describing the progress bar.",
2070
- "attribute": "label",
2071
- "inheritedFrom": {
2072
- "name": "BaseProgress",
2073
- "module": "src/progress/base-progress.ts"
2074
- }
2236
+ "default": "10",
2237
+ "description": "Margin around the chart.",
2238
+ "attribute": "margin",
2239
+ "reflects": true
2075
2240
  },
2076
2241
  {
2077
2242
  "kind": "field",
2078
- "name": "helperText",
2243
+ "name": "showLabels",
2079
2244
  "type": {
2080
- "text": "string | undefined"
2245
+ "text": "boolean"
2081
2246
  },
2082
- "attribute": "helper-text",
2083
- "inheritedFrom": {
2084
- "name": "BaseProgress",
2085
- "module": "src/progress/base-progress.ts"
2086
- }
2247
+ "default": "true",
2248
+ "description": "Whether to show labels outside the chart.",
2249
+ "attribute": "show-labels",
2250
+ "reflects": true
2087
2251
  },
2088
2252
  {
2089
2253
  "kind": "field",
2090
- "name": "inline",
2254
+ "name": "data",
2255
+ "type": {
2256
+ "text": "ChartPieItem[]"
2257
+ },
2258
+ "default": "[]",
2259
+ "description": "Chart data array. Each item should have name, value, and optional label and color.",
2260
+ "attribute": "data"
2261
+ },
2262
+ {
2263
+ "kind": "field",
2264
+ "name": "_initialized",
2091
2265
  "type": {
2092
2266
  "text": "boolean"
2093
2267
  },
2094
- "default": "false",
2095
- "attribute": "inline",
2096
- "inheritedFrom": {
2097
- "name": "BaseProgress",
2098
- "module": "src/progress/base-progress.ts"
2099
- }
2268
+ "privacy": "private",
2269
+ "default": "false"
2270
+ },
2271
+ {
2272
+ "kind": "field",
2273
+ "name": "_debouncedRenderChart",
2274
+ "privacy": "private"
2100
2275
  },
2101
2276
  {
2102
2277
  "kind": "method",
2103
- "name": "__getPercentageValue",
2278
+ "name": "_getRadius",
2279
+ "privacy": "private",
2104
2280
  "return": {
2105
2281
  "type": {
2106
2282
  "text": "number"
2107
2283
  }
2108
- },
2109
- "inheritedFrom": {
2110
- "name": "BaseProgress",
2111
- "module": "src/progress/base-progress.ts"
2112
2284
  }
2113
- }
2114
- ],
2115
- "superclass": {
2116
- "name": "BaseProgress",
2117
- "module": "/src/progress/base-progress.js"
2118
- },
2119
- "tagName": "wc-circular-progress",
2120
- "customElement": true,
2121
- "summary": "A circular progress indicator is a visual representation of progress toward a specific goal.",
2122
- "rawTag": {
2123
- "name": "circular-progress",
2124
- "description": ""
2125
- },
2126
- "attributes": [
2285
+ },
2127
2286
  {
2128
- "name": "value",
2129
- "type": {
2130
- "text": "number | undefined"
2131
- },
2132
- "description": "The current value.",
2133
- "fieldName": "value",
2134
- "inheritedFrom": {
2135
- "name": "BaseProgress",
2136
- "module": "src/progress/base-progress.ts"
2137
- }
2287
+ "kind": "method",
2288
+ "name": "_getPieData",
2289
+ "privacy": "private"
2138
2290
  },
2139
2291
  {
2140
- "name": "indeterminate",
2141
- "type": {
2142
- "text": "boolean"
2143
- },
2144
- "default": "false",
2145
- "fieldName": "indeterminate",
2146
- "inheritedFrom": {
2147
- "name": "BaseProgress",
2148
- "module": "src/progress/base-progress.ts"
2149
- }
2292
+ "kind": "method",
2293
+ "name": "_getColorScale",
2294
+ "privacy": "private"
2150
2295
  },
2151
2296
  {
2152
- "name": "label",
2153
- "type": {
2154
- "text": "string | undefined"
2155
- },
2156
- "description": "A label describing the progress bar.",
2157
- "fieldName": "label",
2158
- "inheritedFrom": {
2159
- "name": "BaseProgress",
2160
- "module": "src/progress/base-progress.ts"
2161
- }
2162
- },
2297
+ "kind": "method",
2298
+ "name": "_renderChart",
2299
+ "privacy": "private",
2300
+ "parameters": [
2301
+ {
2302
+ "name": "animate",
2303
+ "type": {
2304
+ "text": "boolean"
2305
+ }
2306
+ }
2307
+ ]
2308
+ }
2309
+ ],
2310
+ "attributes": [
2163
2311
  {
2164
- "name": "helper-text",
2312
+ "name": "width",
2165
2313
  "type": {
2166
- "text": "string | undefined"
2314
+ "text": "number"
2167
2315
  },
2168
- "fieldName": "helperText",
2169
- "inheritedFrom": {
2170
- "name": "BaseProgress",
2171
- "module": "src/progress/base-progress.ts"
2172
- }
2316
+ "default": "0",
2317
+ "description": "Width (and height) of the chart in pixels.",
2318
+ "fieldName": "width"
2173
2319
  },
2174
2320
  {
2175
- "name": "inline",
2321
+ "name": "margin",
2176
2322
  "type": {
2177
- "text": "boolean"
2323
+ "text": "number"
2178
2324
  },
2179
- "default": "false",
2180
- "fieldName": "inline",
2181
- "inheritedFrom": {
2182
- "name": "BaseProgress",
2183
- "module": "src/progress/base-progress.ts"
2184
- }
2185
- }
2186
- ]
2187
- }
2188
- },
2189
- {
2190
- "rawTag": "clock",
2191
- "label": "Clock",
2192
- "jsdoc": {
2193
- "@label": [
2194
- {
2195
- "kind": "text",
2196
- "text": "Clock"
2197
- }
2198
- ],
2199
- "@tag": [
2200
- {
2201
- "kind": "text",
2202
- "text": "wc-clock"
2203
- }
2204
- ],
2205
- "@rawTag": [
2206
- {
2207
- "kind": "text",
2208
- "text": "clock"
2209
- }
2210
- ],
2211
- "@summary": [
2212
- {
2213
- "kind": "text",
2214
- "text": "Displays the current time in a given timezone."
2215
- }
2216
- ],
2217
- "@overview": [
2218
- {
2219
- "kind": "text",
2220
- "text": "- Clocks are used to display the current time in a specified timezone.\n - They can be displayed in various formats, including 12-hour and 24-hour time."
2221
- }
2222
- ],
2223
- "@tags": [
2224
- {
2225
- "kind": "text",
2226
- "text": "display"
2227
- }
2228
- ],
2229
- "@example": [
2230
- {
2231
- "kind": "code",
2232
- "text": "```html\n<wc-clock></wc-clock>\n```"
2233
- }
2234
- ]
2235
- },
2236
- "customElement": {
2237
- "kind": "class",
2238
- "description": "",
2239
- "name": "Clock",
2240
- "members": [
2241
- {
2242
- "kind": "field",
2243
- "name": "clockController",
2244
- "default": "new ClockController(this, 100)"
2325
+ "default": "10",
2326
+ "description": "Margin around the chart.",
2327
+ "fieldName": "margin"
2245
2328
  },
2246
2329
  {
2247
- "kind": "field",
2248
- "name": "timezone",
2330
+ "name": "show-labels",
2249
2331
  "type": {
2250
- "text": "string | undefined"
2332
+ "text": "boolean"
2251
2333
  },
2252
- "attribute": "timezone"
2334
+ "default": "true",
2335
+ "description": "Whether to show labels outside the chart.",
2336
+ "fieldName": "showLabels"
2253
2337
  },
2254
2338
  {
2255
- "kind": "method",
2256
- "name": "__formatDate",
2257
- "parameters": [
2258
- {
2259
- "name": "date",
2260
- "type": {
2261
- "text": "Date"
2262
- }
2263
- }
2264
- ]
2265
- }
2266
- ],
2267
- "attributes": [
2268
- {
2269
- "name": "timezone",
2339
+ "name": "data",
2270
2340
  "type": {
2271
- "text": "string | undefined"
2341
+ "text": "ChartPieItem[]"
2272
2342
  },
2273
- "fieldName": "timezone"
2343
+ "default": "[]",
2344
+ "description": "Chart data array. Each item should have name, value, and optional label and color.",
2345
+ "fieldName": "data"
2274
2346
  }
2275
2347
  ],
2276
2348
  "superclass": {
2277
2349
  "name": "LitElement",
2278
2350
  "package": "lit"
2279
2351
  },
2280
- "tagName": "wc-clock",
2352
+ "tagName": "wc-chart-pie",
2281
2353
  "customElement": true,
2282
- "summary": "Displays the current time in a given timezone.",
2354
+ "summary": "A pie chart is a circular statistical graphic that visually represents numerical proportions.",
2283
2355
  "rawTag": {
2284
- "name": "clock",
2356
+ "name": "chart-pie",
2285
2357
  "description": ""
2286
2358
  }
2287
2359
  }
2288
2360
  },
2289
2361
  {
2290
- "rawTag": "code-editor",
2291
- "label": "Code Editor",
2362
+ "rawTag": "chart-stacked-bar",
2363
+ "label": "Chart Stacked Bar",
2292
2364
  "jsdoc": {
2293
2365
  "@label": [
2294
2366
  {
2295
2367
  "kind": "text",
2296
- "text": "Code Editor"
2368
+ "text": "Chart Stacked Bar"
2297
2369
  }
2298
2370
  ],
2299
2371
  "@tag": [
2300
2372
  {
2301
2373
  "kind": "text",
2302
- "text": "wc-code-editor"
2374
+ "text": "wc-chart-stacked-bar"
2303
2375
  }
2304
2376
  ],
2305
2377
  "@rawTag": [
2306
2378
  {
2307
2379
  "kind": "text",
2308
- "text": "code-editor"
2380
+ "text": "chart-stacked-bar"
2309
2381
  }
2310
2382
  ],
2311
2383
  "@summary": [
2312
2384
  {
2313
2385
  "kind": "text",
2314
- "text": "A Monaco-based code editing component with syntax highlighting and theming."
2386
+ "text": "A stacked bar chart that groups series by category using Material Design 3 tokens."
2315
2387
  }
2316
2388
  ],
2317
- "@overview": [
2318
- {
2319
- "kind": "text",
2320
- "text": "- CodeEditor wraps Monaco Editor as a web component.\n - Supports JS/JSON/HTML languages, read-only mode, line numbers, minimap, and dark/light theme.\n - Emits "
2321
- },
2322
- {
2323
- "kind": "code",
2324
- "text": "`change`"
2325
- },
2389
+ "@tags": [
2326
2390
  {
2327
2391
  "kind": "text",
2328
- "text": " when content is edited and updates value from property changes."
2392
+ "text": "charts"
2329
2393
  }
2330
2394
  ],
2331
2395
  "@example": [
2332
2396
  {
2333
2397
  "kind": "code",
2334
- "text": "```html\n<wc-code-editor\n language=\"javascript\"\n style=\"width: 100%; --code-editor-height: 10rem;\"\n value=\"function hello() { console.log('Hello'); }\"\n lineNumbers=\"on\"\n minimap=\"false\">\n</wc-code-editor>\n```"
2335
- }
2336
- ],
2337
- "@tags": [
2338
- {
2339
- "kind": "text",
2340
- "text": "input, editor"
2398
+ "text": "```html\n<wc-chart-stacked-bar width=\"560\" height=\"360\"></wc-chart-stacked-bar>\n<script>\n document.querySelector('wc-chart-stacked-bar').data = [\n {\n name: 'q1',\n label: 'Q1',\n segments: [\n { name: 'mobile', label: 'Mobile', value: 40 },\n { name: 'web', label: 'Web', value: 25 },\n { name: 'store', label: 'Store', value: 15 },\n ],\n },\n {\n name: 'q2',\n label: 'Q2',\n segments: [\n { name: 'mobile', label: 'Mobile', value: 32 },\n { name: 'web', label: 'Web', value: 30 },\n { name: 'store', label: 'Store', value: 18 },\n ],\n },\n ];\n</script>\n```"
2341
2399
  }
2342
2400
  ]
2343
2401
  },
2344
2402
  "customElement": {
2345
2403
  "kind": "class",
2346
2404
  "description": "",
2347
- "name": "CodeEditor",
2405
+ "name": "ChartStackedBar",
2348
2406
  "members": [
2349
2407
  {
2350
2408
  "kind": "field",
2351
- "name": "name",
2409
+ "name": "svgElement",
2352
2410
  "type": {
2353
- "text": "string"
2411
+ "text": "SVGElement | undefined"
2354
2412
  },
2355
- "default": "\"\"",
2356
- "attribute": "name"
2413
+ "privacy": "private"
2357
2414
  },
2358
2415
  {
2359
2416
  "kind": "field",
2360
- "name": "value",
2417
+ "name": "width",
2361
2418
  "type": {
2362
- "text": "any | undefined"
2419
+ "text": "number"
2363
2420
  },
2364
- "default": "''",
2365
- "attribute": "value",
2366
- "inheritedFrom": {
2367
- "name": "BaseInput",
2368
- "module": "src/input/BaseInput.ts"
2369
- }
2421
+ "default": "0",
2422
+ "description": "Width of the chart in pixels.",
2423
+ "attribute": "width",
2424
+ "reflects": true
2370
2425
  },
2371
2426
  {
2372
2427
  "kind": "field",
2373
- "name": "language",
2428
+ "name": "height",
2374
2429
  "type": {
2375
- "text": "'javascript' | 'json' | 'html'"
2430
+ "text": "number"
2376
2431
  },
2377
- "default": "'javascript'",
2378
- "attribute": "language"
2432
+ "default": "360",
2433
+ "description": "Height of the chart in pixels.",
2434
+ "attribute": "height",
2435
+ "reflects": true
2379
2436
  },
2380
2437
  {
2381
2438
  "kind": "field",
2382
- "name": "libSource",
2439
+ "name": "margin",
2383
2440
  "type": {
2384
- "text": "any"
2441
+ "text": "number"
2385
2442
  },
2386
- "attribute": "libSource"
2443
+ "default": "28",
2444
+ "description": "Margin around the chart drawing area.",
2445
+ "attribute": "margin"
2387
2446
  },
2388
2447
  {
2389
2448
  "kind": "field",
2390
- "name": "lineNumbers",
2449
+ "name": "data",
2391
2450
  "type": {
2392
- "text": "'off' | 'on'"
2451
+ "text": "ChartStackedBarItem[]"
2393
2452
  },
2394
- "default": "'on'",
2395
- "attribute": "lineNumbers"
2453
+ "default": "[]",
2454
+ "description": "Chart data array. Each item holds the stacked segments for a category.",
2455
+ "attribute": "data"
2396
2456
  },
2397
2457
  {
2398
2458
  "kind": "field",
2399
- "name": "minimap",
2459
+ "name": "showValues",
2400
2460
  "type": {
2401
2461
  "text": "boolean"
2402
2462
  },
2403
- "default": "false",
2404
- "attribute": "minimap"
2463
+ "default": "true",
2464
+ "description": "Whether to render total value labels above each stack.",
2465
+ "attribute": "show-values"
2405
2466
  },
2406
2467
  {
2407
2468
  "kind": "field",
2408
- "name": "_isDarkMode",
2469
+ "name": "showLegend",
2409
2470
  "type": {
2410
2471
  "text": "boolean"
2411
2472
  },
2412
- "privacy": "private"
2473
+ "default": "true",
2474
+ "description": "Whether to render the legend.",
2475
+ "attribute": "show-legend"
2413
2476
  },
2414
2477
  {
2415
2478
  "kind": "field",
2416
- "name": "hasFocus",
2479
+ "name": "_initialized",
2417
2480
  "type": {
2418
2481
  "text": "boolean"
2419
2482
  },
@@ -2422,290 +2485,1480 @@
2422
2485
  },
2423
2486
  {
2424
2487
  "kind": "field",
2425
- "name": "editorMonacoInstance",
2426
- "type": {
2427
- "text": "any | undefined"
2428
- },
2488
+ "name": "_debouncedRenderChart",
2429
2489
  "privacy": "private"
2430
2490
  },
2431
2491
  {
2432
- "kind": "field",
2433
- "name": "editorElement",
2434
- "type": {
2435
- "text": "HTMLElement"
2436
- },
2492
+ "kind": "method",
2493
+ "name": "_getSegmentKeys",
2437
2494
  "privacy": "private"
2438
2495
  },
2439
- {
2440
- "kind": "field",
2441
- "name": "monaco",
2442
- "type": {
2443
- "text": "any"
2444
- }
2445
- },
2446
2496
  {
2447
2497
  "kind": "method",
2448
- "name": "libSourceChanged",
2449
- "privacy": "private"
2498
+ "name": "_getColorScale",
2499
+ "privacy": "private",
2500
+ "parameters": [
2501
+ {
2502
+ "name": "keys",
2503
+ "type": {
2504
+ "text": "string[]"
2505
+ }
2506
+ }
2507
+ ]
2450
2508
  },
2451
2509
  {
2452
2510
  "kind": "method",
2453
- "name": "getTheme",
2454
- "privacy": "private"
2511
+ "name": "_getColorMap",
2512
+ "privacy": "private",
2513
+ "parameters": [
2514
+ {
2515
+ "name": "keys",
2516
+ "type": {
2517
+ "text": "string[]"
2518
+ }
2519
+ },
2520
+ {
2521
+ "name": "scale",
2522
+ "type": {
2523
+ "text": "d3.ScaleOrdinal<string, string>"
2524
+ }
2525
+ }
2526
+ ]
2455
2527
  },
2456
2528
  {
2457
2529
  "kind": "method",
2458
- "name": "initializeMonaco"
2530
+ "name": "_getSegmentLabel",
2531
+ "privacy": "private",
2532
+ "parameters": [
2533
+ {
2534
+ "name": "key",
2535
+ "type": {
2536
+ "text": "string"
2537
+ }
2538
+ }
2539
+ ]
2459
2540
  },
2460
2541
  {
2461
2542
  "kind": "method",
2462
- "name": "setFocus"
2543
+ "name": "_getTotals",
2544
+ "privacy": "private"
2463
2545
  },
2464
2546
  {
2465
2547
  "kind": "method",
2466
- "name": "setBlur"
2467
- },
2468
- {
2469
- "kind": "field",
2470
- "name": "disabled",
2471
- "type": {
2472
- "text": "boolean"
2473
- },
2474
- "default": "false",
2475
- "attribute": "disabled",
2476
- "reflects": true,
2477
- "inheritedFrom": {
2478
- "name": "BaseInput",
2479
- "module": "src/input/BaseInput.ts"
2480
- }
2481
- },
2482
- {
2483
- "kind": "field",
2484
- "name": "readonly",
2485
- "type": {
2486
- "text": "boolean"
2487
- },
2488
- "default": "false",
2489
- "attribute": "readonly",
2490
- "reflects": true,
2491
- "inheritedFrom": {
2492
- "name": "BaseInput",
2493
- "module": "src/input/BaseInput.ts"
2494
- }
2495
- },
2496
- {
2497
- "kind": "field",
2498
- "name": "required",
2499
- "type": {
2500
- "text": "boolean"
2501
- },
2502
- "default": "false",
2503
- "attribute": "required",
2504
- "reflects": true,
2505
- "inheritedFrom": {
2506
- "name": "BaseInput",
2507
- "module": "src/input/BaseInput.ts"
2508
- }
2509
- },
2510
- {
2511
- "kind": "field",
2512
- "name": "skeleton",
2513
- "type": {
2514
- "text": "boolean"
2515
- },
2516
- "default": "false",
2517
- "attribute": "skeleton",
2518
- "reflects": true,
2519
- "inheritedFrom": {
2520
- "name": "BaseInput",
2521
- "module": "src/input/BaseInput.ts"
2522
- }
2548
+ "name": "_renderChart",
2549
+ "privacy": "private",
2550
+ "parameters": [
2551
+ {
2552
+ "name": "animate",
2553
+ "type": {
2554
+ "text": "boolean"
2555
+ }
2556
+ }
2557
+ ]
2523
2558
  }
2524
2559
  ],
2525
2560
  "attributes": [
2526
2561
  {
2527
- "name": "name",
2528
- "type": {
2529
- "text": "string"
2530
- },
2531
- "default": "\"\"",
2532
- "fieldName": "name"
2533
- },
2534
- {
2535
- "name": "value",
2536
- "type": {
2537
- "text": "string"
2538
- },
2539
- "default": "''",
2540
- "fieldName": "value"
2541
- },
2542
- {
2543
- "name": "language",
2544
- "type": {
2545
- "text": "'javascript' | 'json' | 'html'"
2546
- },
2547
- "default": "'javascript'",
2548
- "fieldName": "language"
2549
- },
2550
- {
2551
- "name": "libSource",
2552
- "type": {
2553
- "text": "any"
2554
- },
2555
- "fieldName": "libSource"
2556
- },
2557
- {
2558
- "name": "lineNumbers",
2562
+ "name": "width",
2559
2563
  "type": {
2560
- "text": "'off' | 'on'"
2564
+ "text": "number"
2561
2565
  },
2562
- "default": "'on'",
2563
- "fieldName": "lineNumbers"
2566
+ "default": "0",
2567
+ "description": "Width of the chart in pixels.",
2568
+ "fieldName": "width"
2564
2569
  },
2565
2570
  {
2566
- "name": "minimap",
2571
+ "name": "height",
2567
2572
  "type": {
2568
- "text": "boolean"
2573
+ "text": "number"
2569
2574
  },
2570
- "default": "false",
2571
- "fieldName": "minimap"
2575
+ "default": "DEFAULT_HEIGHT",
2576
+ "description": "Height of the chart in pixels.",
2577
+ "fieldName": "height"
2572
2578
  },
2573
2579
  {
2574
- "name": "disabled",
2580
+ "name": "margin",
2575
2581
  "type": {
2576
- "text": "boolean"
2582
+ "text": "number"
2577
2583
  },
2578
- "default": "false",
2579
- "fieldName": "disabled",
2580
- "inheritedFrom": {
2581
- "name": "BaseInput",
2582
- "module": "src/input/BaseInput.ts"
2583
- }
2584
+ "default": "28",
2585
+ "description": "Margin around the chart drawing area.",
2586
+ "fieldName": "margin"
2584
2587
  },
2585
2588
  {
2586
- "name": "readonly",
2589
+ "name": "data",
2587
2590
  "type": {
2588
- "text": "boolean"
2591
+ "text": "ChartStackedBarItem[]"
2589
2592
  },
2590
- "default": "false",
2591
- "fieldName": "readonly",
2592
- "inheritedFrom": {
2593
- "name": "BaseInput",
2594
- "module": "src/input/BaseInput.ts"
2595
- }
2593
+ "default": "[]",
2594
+ "description": "Chart data array. Each item holds the stacked segments for a category.",
2595
+ "fieldName": "data"
2596
2596
  },
2597
2597
  {
2598
- "name": "required",
2598
+ "name": "show-values",
2599
2599
  "type": {
2600
2600
  "text": "boolean"
2601
2601
  },
2602
- "default": "false",
2603
- "fieldName": "required",
2604
- "inheritedFrom": {
2605
- "name": "BaseInput",
2606
- "module": "src/input/BaseInput.ts"
2607
- }
2602
+ "default": "true",
2603
+ "description": "Whether to render total value labels above each stack.",
2604
+ "fieldName": "showValues"
2608
2605
  },
2609
2606
  {
2610
- "name": "skeleton",
2607
+ "name": "show-legend",
2611
2608
  "type": {
2612
2609
  "text": "boolean"
2613
2610
  },
2614
- "default": "false",
2615
- "fieldName": "skeleton",
2616
- "inheritedFrom": {
2617
- "name": "BaseInput",
2618
- "module": "src/input/BaseInput.ts"
2619
- }
2611
+ "default": "true",
2612
+ "description": "Whether to render the legend.",
2613
+ "fieldName": "showLegend"
2620
2614
  }
2621
2615
  ],
2622
2616
  "superclass": {
2623
- "name": "BaseInput",
2624
- "module": "/src/input/BaseInput.js"
2617
+ "name": "LitElement",
2618
+ "package": "lit"
2625
2619
  },
2626
- "tagName": "wc-code-editor",
2620
+ "tagName": "wc-chart-stacked-bar",
2627
2621
  "customElement": true,
2628
- "summary": "A Monaco-based code editing component with syntax highlighting and theming.",
2622
+ "summary": "A stacked bar chart that groups series by category using Material Design 3 tokens.",
2629
2623
  "rawTag": {
2630
- "name": "code-editor",
2624
+ "name": "chart-stacked-bar",
2631
2625
  "description": ""
2632
2626
  }
2633
2627
  }
2634
2628
  },
2635
2629
  {
2636
- "rawTag": "code-highlighter",
2637
- "label": "Code Highlighter",
2630
+ "rawTag": "checkbox",
2631
+ "label": "Checkbox",
2638
2632
  "jsdoc": {
2639
2633
  "@label": [
2640
2634
  {
2641
2635
  "kind": "text",
2642
- "text": "Code Highlighter"
2636
+ "text": "Checkbox"
2643
2637
  }
2644
2638
  ],
2645
2639
  "@tag": [
2646
2640
  {
2647
2641
  "kind": "text",
2648
- "text": "wc-code-highlighter"
2642
+ "text": "wc-checkbox"
2649
2643
  }
2650
2644
  ],
2651
2645
  "@rawTag": [
2652
2646
  {
2653
2647
  "kind": "text",
2654
- "text": "code-highlighter"
2648
+ "text": "checkbox"
2655
2649
  }
2656
2650
  ],
2657
2651
  "@summary": [
2658
2652
  {
2659
2653
  "kind": "text",
2660
- "text": "A component that provides syntax highlighting for code snippets."
2654
+ "text": "Captures boolean input with an optional indeterminate mode."
2661
2655
  }
2662
2656
  ],
2663
- "@example": [
2657
+ "@overview": [
2664
2658
  {
2665
- "kind": "code",
2666
- "text": "```html\n<wc-code-highlighter language=\"javascript\" style=\"height: 9rem\"><pre><code>\n function helloWorld() {\n console.log('Hello, world!');\n }</code></pre>\n</wc-code-highlighter>\n```"
2659
+ "kind": "text",
2660
+ "text": "<p>Checkboxes allow users to select one or more items from a set. Checkboxes can turn an option on or off.</p>\n<p>Material Design 3 checkboxes feature a smooth animation and clear visual states for checked, unchecked, and indeterminate.</p>"
2661
+ }
2662
+ ],
2663
+ "@cssprop": [
2664
+ {
2665
+ "kind": "text",
2666
+ "text": "--checkbox-state-layer-size: Size of the state layer for touch target."
2667
+ }
2668
+ ],
2669
+ "@fires": [
2670
+ {
2671
+ "kind": "text",
2672
+ "text": "focus - Dispatched when the checkbox receives focus."
2667
2673
  }
2668
2674
  ],
2669
2675
  "@tags": [
2670
2676
  {
2671
2677
  "kind": "text",
2672
- "text": "display"
2678
+ "text": "input, form"
2679
+ }
2680
+ ],
2681
+ "@example": [
2682
+ {
2683
+ "kind": "code",
2684
+ "text": "```html\n<wc-checkbox label=\"Accept terms\"></wc-checkbox>\n```"
2673
2685
  }
2674
2686
  ]
2675
2687
  },
2676
2688
  "customElement": {
2677
2689
  "kind": "class",
2678
2690
  "description": "",
2679
- "name": "CodeHighlighter",
2680
- "members": [
2691
+ "name": "Checkbox",
2692
+ "cssProperties": [
2681
2693
  {
2682
- "kind": "field",
2683
- "name": "language",
2684
- "type": {
2685
- "text": "BundledLanguage"
2686
- },
2687
- "default": "'javascript'",
2688
- "attribute": "language",
2689
- "reflects": true
2694
+ "description": "Size of the checkbox container.",
2695
+ "name": "--checkbox-size:"
2690
2696
  },
2691
2697
  {
2692
- "kind": "field",
2693
- "name": "lineNumbers",
2694
- "type": {
2695
- "text": "boolean"
2696
- },
2697
- "default": "false",
2698
- "attribute": "line-numbers",
2699
- "reflects": true
2698
+ "description": "Color of the checkbox when selected.",
2699
+ "name": "--checkbox-selected-color:"
2700
+ },
2701
+ {
2702
+ "description": "Color of the checkbox border when unselected.",
2703
+ "name": "--checkbox-unselected-color:"
2704
+ },
2705
+ {
2706
+ "description": "Color of the checkmark icon.",
2707
+ "name": "--checkbox-checkmark-color:"
2700
2708
  },
2709
+ {
2710
+ "description": "Size of the state layer for touch target.",
2711
+ "name": "--checkbox-state-layer-size:"
2712
+ }
2713
+ ],
2714
+ "members": [
2701
2715
  {
2702
2716
  "kind": "field",
2703
- "name": "value",
2717
+ "name": "name",
2704
2718
  "type": {
2705
2719
  "text": "string"
2706
2720
  },
2707
2721
  "default": "''",
2708
- "attribute": "value"
2722
+ "description": "The input field name.",
2723
+ "attribute": "name"
2724
+ },
2725
+ {
2726
+ "kind": "field",
2727
+ "name": "label",
2728
+ "type": {
2729
+ "text": "string"
2730
+ },
2731
+ "default": "''",
2732
+ "description": "The checkbox label.",
2733
+ "attribute": "label"
2734
+ },
2735
+ {
2736
+ "kind": "field",
2737
+ "name": "value",
2738
+ "type": {
2739
+ "text": "boolean"
2740
+ },
2741
+ "default": "false",
2742
+ "description": "The input field value (checked state).",
2743
+ "attribute": "value",
2744
+ "reflects": true
2745
+ },
2746
+ {
2747
+ "kind": "field",
2748
+ "name": "indeterminate",
2749
+ "type": {
2750
+ "text": "boolean"
2751
+ },
2752
+ "default": "false",
2753
+ "description": "If true, displays the checkbox in an indeterminate state.",
2754
+ "attribute": "indeterminate",
2755
+ "reflects": true
2756
+ },
2757
+ {
2758
+ "kind": "field",
2759
+ "name": "rounded",
2760
+ "type": {
2761
+ "text": "boolean"
2762
+ },
2763
+ "default": "false",
2764
+ "description": "If true, the checkbox has rounded corners. Defaults to `false`.",
2765
+ "attribute": "rounded"
2766
+ },
2767
+ {
2768
+ "kind": "field",
2769
+ "name": "size",
2770
+ "type": {
2771
+ "text": "'sm' | 'md' | 'lg'"
2772
+ },
2773
+ "default": "'md'",
2774
+ "description": "The checkbox size.\nPossible values are: `\"sm\"`, `\"md\"`, `\"lg\"`. Defaults to `\"md\"`.",
2775
+ "attribute": "size"
2776
+ },
2777
+ {
2778
+ "kind": "field",
2779
+ "name": "required",
2780
+ "type": {
2781
+ "text": "boolean"
2782
+ },
2783
+ "default": "false",
2784
+ "description": "If true, required icon is shown. Defaults to `false`.",
2785
+ "attribute": "required",
2786
+ "reflects": true
2787
+ },
2788
+ {
2789
+ "kind": "field",
2790
+ "name": "readonly",
2791
+ "type": {
2792
+ "text": "boolean"
2793
+ },
2794
+ "default": "false",
2795
+ "description": "If true, the checkbox is readonly. Defaults to `false`.",
2796
+ "attribute": "readonly",
2797
+ "reflects": true
2798
+ },
2799
+ {
2800
+ "kind": "field",
2801
+ "name": "disabled",
2802
+ "type": {
2803
+ "text": "boolean"
2804
+ },
2805
+ "default": "false",
2806
+ "description": "If true, the user cannot interact with the checkbox. Defaults to `false`.",
2807
+ "attribute": "disabled",
2808
+ "reflects": true
2809
+ },
2810
+ {
2811
+ "kind": "field",
2812
+ "name": "configAria",
2813
+ "type": {
2814
+ "text": "Record<string, string>"
2815
+ },
2816
+ "default": "{}",
2817
+ "description": "Configuration object for aria attributes.",
2818
+ "attribute": "configAria"
2819
+ },
2820
+ {
2821
+ "kind": "field",
2822
+ "name": "hasFocus",
2823
+ "type": {
2824
+ "text": "boolean"
2825
+ },
2826
+ "privacy": "private",
2827
+ "default": "false"
2828
+ },
2829
+ {
2830
+ "kind": "field",
2831
+ "name": "isActive",
2832
+ "type": {
2833
+ "text": "boolean"
2834
+ },
2835
+ "privacy": "private",
2836
+ "default": "false"
2837
+ },
2838
+ {
2839
+ "kind": "field",
2840
+ "name": "slotHasContent",
2841
+ "type": {
2842
+ "text": "boolean"
2843
+ },
2844
+ "privacy": "private",
2845
+ "default": "false"
2846
+ },
2847
+ {
2848
+ "kind": "field",
2849
+ "name": "containerElement",
2850
+ "type": {
2851
+ "text": "HTMLElement | undefined"
2852
+ },
2853
+ "privacy": "private"
2854
+ },
2855
+ {
2856
+ "kind": "field",
2857
+ "name": "nativeElement",
2858
+ "type": {
2859
+ "text": "HTMLInputElement | undefined"
2860
+ },
2861
+ "privacy": "private"
2862
+ },
2863
+ {
2864
+ "kind": "field",
2865
+ "name": "tabindex",
2866
+ "type": {
2867
+ "text": "string | undefined"
2868
+ },
2869
+ "privacy": "private"
2870
+ },
2871
+ {
2872
+ "kind": "method",
2873
+ "name": "handleInitialAttributes",
2874
+ "privacy": "private"
2875
+ },
2876
+ {
2877
+ "kind": "field",
2878
+ "name": "windowMouseUp",
2879
+ "privacy": "private"
2880
+ },
2881
+ {
2882
+ "kind": "field",
2883
+ "name": "windowKeyUp",
2884
+ "privacy": "private"
2885
+ },
2886
+ {
2887
+ "kind": "field",
2888
+ "name": "mouseDownHandler",
2889
+ "privacy": "private"
2890
+ },
2891
+ {
2892
+ "kind": "field",
2893
+ "name": "keyDownHandler",
2894
+ "privacy": "private"
2895
+ },
2896
+ {
2897
+ "kind": "field",
2898
+ "name": "clickHandler",
2899
+ "privacy": "private"
2900
+ },
2901
+ {
2902
+ "kind": "field",
2903
+ "name": "blurHandler",
2904
+ "privacy": "private"
2905
+ },
2906
+ {
2907
+ "kind": "field",
2908
+ "name": "focusHandler",
2909
+ "privacy": "private"
2910
+ },
2911
+ {
2912
+ "kind": "field",
2913
+ "name": "handleKeyUp",
2914
+ "privacy": "private"
2915
+ },
2916
+ {
2917
+ "kind": "method",
2918
+ "name": "focus",
2919
+ "description": "Sets focus on the checkbox."
2920
+ },
2921
+ {
2922
+ "kind": "method",
2923
+ "name": "blur",
2924
+ "description": "Removes focus from the checkbox."
2925
+ }
2926
+ ],
2927
+ "events": [
2928
+ {
2929
+ "type": {
2930
+ "text": "CustomEvent"
2931
+ },
2932
+ "description": "Dispatched when the checkbox value changes.",
2933
+ "name": "change"
2934
+ },
2935
+ {
2936
+ "type": {
2937
+ "text": "CustomEvent"
2938
+ },
2939
+ "description": "Dispatched when the checkbox loses focus.",
2940
+ "name": "blur"
2941
+ },
2942
+ {
2943
+ "type": {
2944
+ "text": "CustomEvent"
2945
+ },
2946
+ "description": "Dispatched when the checkbox receives focus.",
2947
+ "name": "focus"
2948
+ }
2949
+ ],
2950
+ "attributes": [
2951
+ {
2952
+ "name": "name",
2953
+ "type": {
2954
+ "text": "string"
2955
+ },
2956
+ "default": "''",
2957
+ "description": "The input field name.",
2958
+ "fieldName": "name"
2959
+ },
2960
+ {
2961
+ "name": "label",
2962
+ "type": {
2963
+ "text": "string"
2964
+ },
2965
+ "default": "''",
2966
+ "description": "The checkbox label.",
2967
+ "fieldName": "label"
2968
+ },
2969
+ {
2970
+ "name": "value",
2971
+ "type": {
2972
+ "text": "boolean"
2973
+ },
2974
+ "default": "false",
2975
+ "description": "The input field value (checked state).",
2976
+ "fieldName": "value"
2977
+ },
2978
+ {
2979
+ "name": "indeterminate",
2980
+ "type": {
2981
+ "text": "boolean"
2982
+ },
2983
+ "default": "false",
2984
+ "description": "If true, displays the checkbox in an indeterminate state.",
2985
+ "fieldName": "indeterminate"
2986
+ },
2987
+ {
2988
+ "name": "rounded",
2989
+ "type": {
2990
+ "text": "boolean"
2991
+ },
2992
+ "default": "false",
2993
+ "description": "If true, the checkbox has rounded corners. Defaults to `false`.",
2994
+ "fieldName": "rounded"
2995
+ },
2996
+ {
2997
+ "name": "size",
2998
+ "type": {
2999
+ "text": "'sm' | 'md' | 'lg'"
3000
+ },
3001
+ "default": "'md'",
3002
+ "description": "The checkbox size.\nPossible values are: `\"sm\"`, `\"md\"`, `\"lg\"`. Defaults to `\"md\"`.",
3003
+ "fieldName": "size"
3004
+ },
3005
+ {
3006
+ "name": "required",
3007
+ "type": {
3008
+ "text": "boolean"
3009
+ },
3010
+ "default": "false",
3011
+ "description": "If true, required icon is shown. Defaults to `false`.",
3012
+ "fieldName": "required"
3013
+ },
3014
+ {
3015
+ "name": "readonly",
3016
+ "type": {
3017
+ "text": "boolean"
3018
+ },
3019
+ "default": "false",
3020
+ "description": "If true, the checkbox is readonly. Defaults to `false`.",
3021
+ "fieldName": "readonly"
3022
+ },
3023
+ {
3024
+ "name": "disabled",
3025
+ "type": {
3026
+ "text": "boolean"
3027
+ },
3028
+ "default": "false",
3029
+ "description": "If true, the user cannot interact with the checkbox. Defaults to `false`.",
3030
+ "fieldName": "disabled"
3031
+ },
3032
+ {
3033
+ "name": "configAria",
3034
+ "type": {
3035
+ "text": "Record<string, string>"
3036
+ },
3037
+ "default": "{}",
3038
+ "description": "Configuration object for aria attributes.",
3039
+ "fieldName": "configAria"
3040
+ }
3041
+ ],
3042
+ "superclass": {
3043
+ "name": "LitElement",
3044
+ "package": "lit"
3045
+ },
3046
+ "tagName": "wc-checkbox",
3047
+ "customElement": true,
3048
+ "summary": "Captures boolean input with an optional indeterminate mode.",
3049
+ "rawTag": {
3050
+ "name": "checkbox",
3051
+ "description": ""
3052
+ }
3053
+ }
3054
+ },
3055
+ {
3056
+ "rawTag": "chip",
3057
+ "label": "Chip",
3058
+ "jsdoc": {
3059
+ "@label": [
3060
+ {
3061
+ "kind": "text",
3062
+ "text": "Chip"
3063
+ }
3064
+ ],
3065
+ "@tag": [
3066
+ {
3067
+ "kind": "text",
3068
+ "text": "wc-chip"
3069
+ }
3070
+ ],
3071
+ "@rawTag": [
3072
+ {
3073
+ "kind": "text",
3074
+ "text": "chip"
3075
+ }
3076
+ ],
3077
+ "@summary": [
3078
+ {
3079
+ "kind": "text",
3080
+ "text": "Chip component for displaying compact information with optional actions."
3081
+ }
3082
+ ],
3083
+ "@tags": [
3084
+ {
3085
+ "kind": "text",
3086
+ "text": "display"
3087
+ }
3088
+ ],
3089
+ "@example": [
3090
+ {
3091
+ "kind": "code",
3092
+ "text": "```html\n<wc-chip>Chip content</wc-chip>\n```"
3093
+ }
3094
+ ]
3095
+ },
3096
+ "customElement": {
3097
+ "kind": "class",
3098
+ "description": "",
3099
+ "name": "Chip",
3100
+ "members": [
3101
+ {
3102
+ "kind": "field",
3103
+ "name": "dismissible",
3104
+ "type": {
3105
+ "text": "boolean"
3106
+ },
3107
+ "default": "false",
3108
+ "description": "If true, the tag will have a close icon.",
3109
+ "attribute": "dismissible"
3110
+ },
3111
+ {
3112
+ "kind": "field",
3113
+ "name": "color",
3114
+ "type": {
3115
+ "text": "| 'default'\n | 'blue'\n | 'green'\n | 'red'\n | 'yellow' | undefined"
3116
+ },
3117
+ "default": "'default'",
3118
+ "description": "Tag color.",
3119
+ "attribute": "color",
3120
+ "reflects": true
3121
+ },
3122
+ {
3123
+ "kind": "field",
3124
+ "name": "value",
3125
+ "type": {
3126
+ "text": "string"
3127
+ },
3128
+ "default": "''",
3129
+ "description": "Tag value.",
3130
+ "attribute": "value",
3131
+ "reflects": true
3132
+ },
3133
+ {
3134
+ "kind": "field",
3135
+ "name": "selected",
3136
+ "type": {
3137
+ "text": "boolean"
3138
+ },
3139
+ "default": "false",
3140
+ "description": "If true, the tag will be selected.",
3141
+ "attribute": "selected",
3142
+ "reflects": true
3143
+ },
3144
+ {
3145
+ "kind": "field",
3146
+ "name": "imageSrc",
3147
+ "type": {
3148
+ "text": "string | undefined"
3149
+ },
3150
+ "description": "Image source.",
3151
+ "attribute": "imageSrc"
3152
+ },
3153
+ {
3154
+ "kind": "method",
3155
+ "name": "_dismissClickHandler",
3156
+ "privacy": "private",
3157
+ "parameters": [
3158
+ {
3159
+ "name": "e",
3160
+ "type": {
3161
+ "text": "MouseEvent"
3162
+ }
3163
+ }
3164
+ ]
3165
+ },
3166
+ {
3167
+ "kind": "method",
3168
+ "name": "_renderCloseButton",
3169
+ "privacy": "private"
3170
+ },
3171
+ {
3172
+ "kind": "method",
3173
+ "name": "_renderImage",
3174
+ "privacy": "private"
3175
+ }
3176
+ ],
3177
+ "events": [
3178
+ {
3179
+ "name": "tag--dismiss",
3180
+ "type": {
3181
+ "text": "CustomEvent"
3182
+ }
3183
+ }
3184
+ ],
3185
+ "attributes": [
3186
+ {
3187
+ "name": "dismissible",
3188
+ "type": {
3189
+ "text": "boolean"
3190
+ },
3191
+ "default": "false",
3192
+ "description": "If true, the tag will have a close icon.",
3193
+ "fieldName": "dismissible"
3194
+ },
3195
+ {
3196
+ "name": "color",
3197
+ "type": {
3198
+ "text": "| 'default'\n | 'blue'\n | 'green'\n | 'red'\n | 'yellow' | undefined"
3199
+ },
3200
+ "default": "'default'",
3201
+ "description": "Tag color.",
3202
+ "fieldName": "color"
3203
+ },
3204
+ {
3205
+ "name": "value",
3206
+ "type": {
3207
+ "text": "string"
3208
+ },
3209
+ "default": "''",
3210
+ "description": "Tag value.",
3211
+ "fieldName": "value"
3212
+ },
3213
+ {
3214
+ "name": "selected",
3215
+ "type": {
3216
+ "text": "boolean"
3217
+ },
3218
+ "default": "false",
3219
+ "description": "If true, the tag will be selected.",
3220
+ "fieldName": "selected"
3221
+ },
3222
+ {
3223
+ "name": "imageSrc",
3224
+ "type": {
3225
+ "text": "string | undefined"
3226
+ },
3227
+ "description": "Image source.",
3228
+ "fieldName": "imageSrc"
3229
+ }
3230
+ ],
3231
+ "superclass": {
3232
+ "name": "LitElement",
3233
+ "package": "lit"
3234
+ },
3235
+ "tagName": "wc-chip",
3236
+ "customElement": true,
3237
+ "summary": "Chip component for displaying compact information with optional actions.",
3238
+ "rawTag": {
3239
+ "name": "chip",
3240
+ "description": ""
3241
+ }
3242
+ }
3243
+ },
3244
+ {
3245
+ "rawTag": "circular-progress",
3246
+ "label": "Circular Progress",
3247
+ "jsdoc": {
3248
+ "@label": [
3249
+ {
3250
+ "kind": "text",
3251
+ "text": "Circular Progress"
3252
+ }
3253
+ ],
3254
+ "@tag": [
3255
+ {
3256
+ "kind": "text",
3257
+ "text": "wc-circular-progress"
3258
+ }
3259
+ ],
3260
+ "@rawTag": [
3261
+ {
3262
+ "kind": "text",
3263
+ "text": "circular-progress"
3264
+ }
3265
+ ],
3266
+ "@summary": [
3267
+ {
3268
+ "kind": "text",
3269
+ "text": "A circular progress indicator is a visual representation of progress toward a specific goal."
3270
+ }
3271
+ ],
3272
+ "@tags": [
3273
+ {
3274
+ "kind": "text",
3275
+ "text": "display"
3276
+ }
3277
+ ],
3278
+ "@example": [
3279
+ {
3280
+ "kind": "code",
3281
+ "text": "```html\n<wc-circular-progress value=\"30\"></wc-circular-progress>\n```"
3282
+ }
3283
+ ]
3284
+ },
3285
+ "customElement": {
3286
+ "kind": "class",
3287
+ "description": "",
3288
+ "name": "CircularProgress",
3289
+ "members": [
3290
+ {
3291
+ "kind": "field",
3292
+ "name": "value",
3293
+ "type": {
3294
+ "text": "number | undefined"
3295
+ },
3296
+ "description": "The current value.",
3297
+ "attribute": "value",
3298
+ "inheritedFrom": {
3299
+ "name": "BaseProgress",
3300
+ "module": "src/progress/base-progress.ts"
3301
+ }
3302
+ },
3303
+ {
3304
+ "kind": "field",
3305
+ "name": "indeterminate",
3306
+ "type": {
3307
+ "text": "boolean"
3308
+ },
3309
+ "default": "false",
3310
+ "attribute": "indeterminate",
3311
+ "inheritedFrom": {
3312
+ "name": "BaseProgress",
3313
+ "module": "src/progress/base-progress.ts"
3314
+ }
3315
+ },
3316
+ {
3317
+ "kind": "field",
3318
+ "name": "label",
3319
+ "type": {
3320
+ "text": "string | undefined"
3321
+ },
3322
+ "description": "A label describing the progress bar.",
3323
+ "attribute": "label",
3324
+ "inheritedFrom": {
3325
+ "name": "BaseProgress",
3326
+ "module": "src/progress/base-progress.ts"
3327
+ }
3328
+ },
3329
+ {
3330
+ "kind": "field",
3331
+ "name": "helperText",
3332
+ "type": {
3333
+ "text": "string | undefined"
3334
+ },
3335
+ "attribute": "helper-text",
3336
+ "inheritedFrom": {
3337
+ "name": "BaseProgress",
3338
+ "module": "src/progress/base-progress.ts"
3339
+ }
3340
+ },
3341
+ {
3342
+ "kind": "field",
3343
+ "name": "inline",
3344
+ "type": {
3345
+ "text": "boolean"
3346
+ },
3347
+ "default": "false",
3348
+ "attribute": "inline",
3349
+ "inheritedFrom": {
3350
+ "name": "BaseProgress",
3351
+ "module": "src/progress/base-progress.ts"
3352
+ }
3353
+ },
3354
+ {
3355
+ "kind": "method",
3356
+ "name": "__getPercentageValue",
3357
+ "return": {
3358
+ "type": {
3359
+ "text": "number"
3360
+ }
3361
+ },
3362
+ "inheritedFrom": {
3363
+ "name": "BaseProgress",
3364
+ "module": "src/progress/base-progress.ts"
3365
+ }
3366
+ }
3367
+ ],
3368
+ "superclass": {
3369
+ "name": "BaseProgress",
3370
+ "module": "/src/progress/base-progress.js"
3371
+ },
3372
+ "tagName": "wc-circular-progress",
3373
+ "customElement": true,
3374
+ "summary": "A circular progress indicator is a visual representation of progress toward a specific goal.",
3375
+ "rawTag": {
3376
+ "name": "circular-progress",
3377
+ "description": ""
3378
+ },
3379
+ "attributes": [
3380
+ {
3381
+ "name": "value",
3382
+ "type": {
3383
+ "text": "number | undefined"
3384
+ },
3385
+ "description": "The current value.",
3386
+ "fieldName": "value",
3387
+ "inheritedFrom": {
3388
+ "name": "BaseProgress",
3389
+ "module": "src/progress/base-progress.ts"
3390
+ }
3391
+ },
3392
+ {
3393
+ "name": "indeterminate",
3394
+ "type": {
3395
+ "text": "boolean"
3396
+ },
3397
+ "default": "false",
3398
+ "fieldName": "indeterminate",
3399
+ "inheritedFrom": {
3400
+ "name": "BaseProgress",
3401
+ "module": "src/progress/base-progress.ts"
3402
+ }
3403
+ },
3404
+ {
3405
+ "name": "label",
3406
+ "type": {
3407
+ "text": "string | undefined"
3408
+ },
3409
+ "description": "A label describing the progress bar.",
3410
+ "fieldName": "label",
3411
+ "inheritedFrom": {
3412
+ "name": "BaseProgress",
3413
+ "module": "src/progress/base-progress.ts"
3414
+ }
3415
+ },
3416
+ {
3417
+ "name": "helper-text",
3418
+ "type": {
3419
+ "text": "string | undefined"
3420
+ },
3421
+ "fieldName": "helperText",
3422
+ "inheritedFrom": {
3423
+ "name": "BaseProgress",
3424
+ "module": "src/progress/base-progress.ts"
3425
+ }
3426
+ },
3427
+ {
3428
+ "name": "inline",
3429
+ "type": {
3430
+ "text": "boolean"
3431
+ },
3432
+ "default": "false",
3433
+ "fieldName": "inline",
3434
+ "inheritedFrom": {
3435
+ "name": "BaseProgress",
3436
+ "module": "src/progress/base-progress.ts"
3437
+ }
3438
+ }
3439
+ ]
3440
+ }
3441
+ },
3442
+ {
3443
+ "rawTag": "clock",
3444
+ "label": "Clock",
3445
+ "jsdoc": {
3446
+ "@label": [
3447
+ {
3448
+ "kind": "text",
3449
+ "text": "Clock"
3450
+ }
3451
+ ],
3452
+ "@tag": [
3453
+ {
3454
+ "kind": "text",
3455
+ "text": "wc-clock"
3456
+ }
3457
+ ],
3458
+ "@rawTag": [
3459
+ {
3460
+ "kind": "text",
3461
+ "text": "clock"
3462
+ }
3463
+ ],
3464
+ "@summary": [
3465
+ {
3466
+ "kind": "text",
3467
+ "text": "Displays the current time in a given timezone."
3468
+ }
3469
+ ],
3470
+ "@overview": [
3471
+ {
3472
+ "kind": "text",
3473
+ "text": "- Clocks are used to display the current time in a specified timezone.\n - They can be displayed in various formats, including 12-hour and 24-hour time."
3474
+ }
3475
+ ],
3476
+ "@tags": [
3477
+ {
3478
+ "kind": "text",
3479
+ "text": "display"
3480
+ }
3481
+ ],
3482
+ "@example": [
3483
+ {
3484
+ "kind": "code",
3485
+ "text": "```html\n<wc-clock></wc-clock>\n```"
3486
+ }
3487
+ ]
3488
+ },
3489
+ "customElement": {
3490
+ "kind": "class",
3491
+ "description": "",
3492
+ "name": "Clock",
3493
+ "members": [
3494
+ {
3495
+ "kind": "field",
3496
+ "name": "clockController",
3497
+ "default": "new ClockController(this, 100)"
3498
+ },
3499
+ {
3500
+ "kind": "field",
3501
+ "name": "timezone",
3502
+ "type": {
3503
+ "text": "string | undefined"
3504
+ },
3505
+ "attribute": "timezone"
3506
+ },
3507
+ {
3508
+ "kind": "method",
3509
+ "name": "__formatDate",
3510
+ "parameters": [
3511
+ {
3512
+ "name": "date",
3513
+ "type": {
3514
+ "text": "Date"
3515
+ }
3516
+ }
3517
+ ]
3518
+ }
3519
+ ],
3520
+ "attributes": [
3521
+ {
3522
+ "name": "timezone",
3523
+ "type": {
3524
+ "text": "string | undefined"
3525
+ },
3526
+ "fieldName": "timezone"
3527
+ }
3528
+ ],
3529
+ "superclass": {
3530
+ "name": "LitElement",
3531
+ "package": "lit"
3532
+ },
3533
+ "tagName": "wc-clock",
3534
+ "customElement": true,
3535
+ "summary": "Displays the current time in a given timezone.",
3536
+ "rawTag": {
3537
+ "name": "clock",
3538
+ "description": ""
3539
+ }
3540
+ }
3541
+ },
3542
+ {
3543
+ "rawTag": "code-editor",
3544
+ "label": "Code Editor",
3545
+ "jsdoc": {
3546
+ "@label": [
3547
+ {
3548
+ "kind": "text",
3549
+ "text": "Code Editor"
3550
+ }
3551
+ ],
3552
+ "@tag": [
3553
+ {
3554
+ "kind": "text",
3555
+ "text": "wc-code-editor"
3556
+ }
3557
+ ],
3558
+ "@rawTag": [
3559
+ {
3560
+ "kind": "text",
3561
+ "text": "code-editor"
3562
+ }
3563
+ ],
3564
+ "@summary": [
3565
+ {
3566
+ "kind": "text",
3567
+ "text": "A Monaco-based code editing component with syntax highlighting and theming."
3568
+ }
3569
+ ],
3570
+ "@overview": [
3571
+ {
3572
+ "kind": "text",
3573
+ "text": "- CodeEditor wraps Monaco Editor as a web component.\n - Supports JS/JSON/HTML languages, read-only mode, line numbers, minimap, and dark/light theme.\n - Emits "
3574
+ },
3575
+ {
3576
+ "kind": "code",
3577
+ "text": "`change`"
3578
+ },
3579
+ {
3580
+ "kind": "text",
3581
+ "text": " when content is edited and updates value from property changes."
3582
+ }
3583
+ ],
3584
+ "@example": [
3585
+ {
3586
+ "kind": "code",
3587
+ "text": "```html\n<wc-code-editor\n language=\"javascript\"\n style=\"width: 100%; --code-editor-height: 10rem;\"\n value=\"function hello() { console.log('Hello'); }\"\n lineNumbers=\"on\"\n minimap=\"false\">\n</wc-code-editor>\n```"
3588
+ }
3589
+ ],
3590
+ "@tags": [
3591
+ {
3592
+ "kind": "text",
3593
+ "text": "input, editor"
3594
+ }
3595
+ ]
3596
+ },
3597
+ "customElement": {
3598
+ "kind": "class",
3599
+ "description": "",
3600
+ "name": "CodeEditor",
3601
+ "members": [
3602
+ {
3603
+ "kind": "field",
3604
+ "name": "name",
3605
+ "type": {
3606
+ "text": "string"
3607
+ },
3608
+ "default": "\"\"",
3609
+ "attribute": "name"
3610
+ },
3611
+ {
3612
+ "kind": "field",
3613
+ "name": "value",
3614
+ "type": {
3615
+ "text": "any | undefined"
3616
+ },
3617
+ "default": "''",
3618
+ "attribute": "value",
3619
+ "inheritedFrom": {
3620
+ "name": "BaseInput",
3621
+ "module": "src/input/BaseInput.ts"
3622
+ }
3623
+ },
3624
+ {
3625
+ "kind": "field",
3626
+ "name": "language",
3627
+ "type": {
3628
+ "text": "'javascript' | 'json' | 'html'"
3629
+ },
3630
+ "default": "'javascript'",
3631
+ "attribute": "language"
3632
+ },
3633
+ {
3634
+ "kind": "field",
3635
+ "name": "libSource",
3636
+ "type": {
3637
+ "text": "any"
3638
+ },
3639
+ "attribute": "libSource"
3640
+ },
3641
+ {
3642
+ "kind": "field",
3643
+ "name": "lineNumbers",
3644
+ "type": {
3645
+ "text": "'off' | 'on'"
3646
+ },
3647
+ "default": "'on'",
3648
+ "attribute": "lineNumbers"
3649
+ },
3650
+ {
3651
+ "kind": "field",
3652
+ "name": "minimap",
3653
+ "type": {
3654
+ "text": "boolean"
3655
+ },
3656
+ "default": "false",
3657
+ "attribute": "minimap"
3658
+ },
3659
+ {
3660
+ "kind": "field",
3661
+ "name": "_isDarkMode",
3662
+ "type": {
3663
+ "text": "boolean"
3664
+ },
3665
+ "privacy": "private"
3666
+ },
3667
+ {
3668
+ "kind": "field",
3669
+ "name": "hasFocus",
3670
+ "type": {
3671
+ "text": "boolean"
3672
+ },
3673
+ "privacy": "private",
3674
+ "default": "false"
3675
+ },
3676
+ {
3677
+ "kind": "field",
3678
+ "name": "editorMonacoInstance",
3679
+ "type": {
3680
+ "text": "any | undefined"
3681
+ },
3682
+ "privacy": "private"
3683
+ },
3684
+ {
3685
+ "kind": "field",
3686
+ "name": "editorElement",
3687
+ "type": {
3688
+ "text": "HTMLElement"
3689
+ },
3690
+ "privacy": "private"
3691
+ },
3692
+ {
3693
+ "kind": "field",
3694
+ "name": "monaco",
3695
+ "type": {
3696
+ "text": "any"
3697
+ }
3698
+ },
3699
+ {
3700
+ "kind": "method",
3701
+ "name": "libSourceChanged",
3702
+ "privacy": "private"
3703
+ },
3704
+ {
3705
+ "kind": "method",
3706
+ "name": "getTheme",
3707
+ "privacy": "private"
3708
+ },
3709
+ {
3710
+ "kind": "method",
3711
+ "name": "initializeMonaco"
3712
+ },
3713
+ {
3714
+ "kind": "method",
3715
+ "name": "setFocus"
3716
+ },
3717
+ {
3718
+ "kind": "method",
3719
+ "name": "setBlur"
3720
+ },
3721
+ {
3722
+ "kind": "field",
3723
+ "name": "disabled",
3724
+ "type": {
3725
+ "text": "boolean"
3726
+ },
3727
+ "default": "false",
3728
+ "attribute": "disabled",
3729
+ "reflects": true,
3730
+ "inheritedFrom": {
3731
+ "name": "BaseInput",
3732
+ "module": "src/input/BaseInput.ts"
3733
+ }
3734
+ },
3735
+ {
3736
+ "kind": "field",
3737
+ "name": "readonly",
3738
+ "type": {
3739
+ "text": "boolean"
3740
+ },
3741
+ "default": "false",
3742
+ "attribute": "readonly",
3743
+ "reflects": true,
3744
+ "inheritedFrom": {
3745
+ "name": "BaseInput",
3746
+ "module": "src/input/BaseInput.ts"
3747
+ }
3748
+ },
3749
+ {
3750
+ "kind": "field",
3751
+ "name": "required",
3752
+ "type": {
3753
+ "text": "boolean"
3754
+ },
3755
+ "default": "false",
3756
+ "attribute": "required",
3757
+ "reflects": true,
3758
+ "inheritedFrom": {
3759
+ "name": "BaseInput",
3760
+ "module": "src/input/BaseInput.ts"
3761
+ }
3762
+ },
3763
+ {
3764
+ "kind": "field",
3765
+ "name": "skeleton",
3766
+ "type": {
3767
+ "text": "boolean"
3768
+ },
3769
+ "default": "false",
3770
+ "attribute": "skeleton",
3771
+ "reflects": true,
3772
+ "inheritedFrom": {
3773
+ "name": "BaseInput",
3774
+ "module": "src/input/BaseInput.ts"
3775
+ }
3776
+ }
3777
+ ],
3778
+ "attributes": [
3779
+ {
3780
+ "name": "name",
3781
+ "type": {
3782
+ "text": "string"
3783
+ },
3784
+ "default": "\"\"",
3785
+ "fieldName": "name"
3786
+ },
3787
+ {
3788
+ "name": "value",
3789
+ "type": {
3790
+ "text": "string"
3791
+ },
3792
+ "default": "''",
3793
+ "fieldName": "value"
3794
+ },
3795
+ {
3796
+ "name": "language",
3797
+ "type": {
3798
+ "text": "'javascript' | 'json' | 'html'"
3799
+ },
3800
+ "default": "'javascript'",
3801
+ "fieldName": "language"
3802
+ },
3803
+ {
3804
+ "name": "libSource",
3805
+ "type": {
3806
+ "text": "any"
3807
+ },
3808
+ "fieldName": "libSource"
3809
+ },
3810
+ {
3811
+ "name": "lineNumbers",
3812
+ "type": {
3813
+ "text": "'off' | 'on'"
3814
+ },
3815
+ "default": "'on'",
3816
+ "fieldName": "lineNumbers"
3817
+ },
3818
+ {
3819
+ "name": "minimap",
3820
+ "type": {
3821
+ "text": "boolean"
3822
+ },
3823
+ "default": "false",
3824
+ "fieldName": "minimap"
3825
+ },
3826
+ {
3827
+ "name": "disabled",
3828
+ "type": {
3829
+ "text": "boolean"
3830
+ },
3831
+ "default": "false",
3832
+ "fieldName": "disabled",
3833
+ "inheritedFrom": {
3834
+ "name": "BaseInput",
3835
+ "module": "src/input/BaseInput.ts"
3836
+ }
3837
+ },
3838
+ {
3839
+ "name": "readonly",
3840
+ "type": {
3841
+ "text": "boolean"
3842
+ },
3843
+ "default": "false",
3844
+ "fieldName": "readonly",
3845
+ "inheritedFrom": {
3846
+ "name": "BaseInput",
3847
+ "module": "src/input/BaseInput.ts"
3848
+ }
3849
+ },
3850
+ {
3851
+ "name": "required",
3852
+ "type": {
3853
+ "text": "boolean"
3854
+ },
3855
+ "default": "false",
3856
+ "fieldName": "required",
3857
+ "inheritedFrom": {
3858
+ "name": "BaseInput",
3859
+ "module": "src/input/BaseInput.ts"
3860
+ }
3861
+ },
3862
+ {
3863
+ "name": "skeleton",
3864
+ "type": {
3865
+ "text": "boolean"
3866
+ },
3867
+ "default": "false",
3868
+ "fieldName": "skeleton",
3869
+ "inheritedFrom": {
3870
+ "name": "BaseInput",
3871
+ "module": "src/input/BaseInput.ts"
3872
+ }
3873
+ }
3874
+ ],
3875
+ "superclass": {
3876
+ "name": "BaseInput",
3877
+ "module": "/src/input/BaseInput.js"
3878
+ },
3879
+ "tagName": "wc-code-editor",
3880
+ "customElement": true,
3881
+ "summary": "A Monaco-based code editing component with syntax highlighting and theming.",
3882
+ "rawTag": {
3883
+ "name": "code-editor",
3884
+ "description": ""
3885
+ }
3886
+ }
3887
+ },
3888
+ {
3889
+ "rawTag": "code-highlighter",
3890
+ "label": "Code Highlighter",
3891
+ "jsdoc": {
3892
+ "@label": [
3893
+ {
3894
+ "kind": "text",
3895
+ "text": "Code Highlighter"
3896
+ }
3897
+ ],
3898
+ "@tag": [
3899
+ {
3900
+ "kind": "text",
3901
+ "text": "wc-code-highlighter"
3902
+ }
3903
+ ],
3904
+ "@rawTag": [
3905
+ {
3906
+ "kind": "text",
3907
+ "text": "code-highlighter"
3908
+ }
3909
+ ],
3910
+ "@summary": [
3911
+ {
3912
+ "kind": "text",
3913
+ "text": "A component that provides syntax highlighting for code snippets."
3914
+ }
3915
+ ],
3916
+ "@example": [
3917
+ {
3918
+ "kind": "code",
3919
+ "text": "```html\n<wc-code-highlighter language=\"javascript\" style=\"height: 9rem\"><pre><code>\n function helloWorld() {\n console.log('Hello, world!');\n }</code></pre>\n</wc-code-highlighter>\n```"
3920
+ }
3921
+ ],
3922
+ "@tags": [
3923
+ {
3924
+ "kind": "text",
3925
+ "text": "display"
3926
+ }
3927
+ ]
3928
+ },
3929
+ "customElement": {
3930
+ "kind": "class",
3931
+ "description": "",
3932
+ "name": "CodeHighlighter",
3933
+ "members": [
3934
+ {
3935
+ "kind": "field",
3936
+ "name": "language",
3937
+ "type": {
3938
+ "text": "BundledLanguage"
3939
+ },
3940
+ "default": "'javascript'",
3941
+ "attribute": "language",
3942
+ "reflects": true
3943
+ },
3944
+ {
3945
+ "kind": "field",
3946
+ "name": "lineNumbers",
3947
+ "type": {
3948
+ "text": "boolean"
3949
+ },
3950
+ "default": "false",
3951
+ "attribute": "line-numbers",
3952
+ "reflects": true
3953
+ },
3954
+ {
3955
+ "kind": "field",
3956
+ "name": "value",
3957
+ "type": {
3958
+ "text": "string"
3959
+ },
3960
+ "default": "''",
3961
+ "attribute": "value"
2709
3962
  },
2710
3963
  {
2711
3964
  "kind": "field",
@@ -6642,7 +7895,7 @@
6642
7895
  "@parentRawTag": [
6643
7896
  {
6644
7897
  "kind": "text",
6645
- "text": "menu-list"
7898
+ "text": "menu"
6646
7899
  }
6647
7900
  ],
6648
7901
  "@summary": [
@@ -8091,392 +9344,655 @@
8091
9344
  ]
8092
9345
  },
8093
9346
  {
8094
- "kind": "method",
8095
- "name": "getNormalizedPointerEventCoords",
8096
- "privacy": "private",
8097
- "return": {
8098
- "type": {
8099
- "text": "{\n x: number;\n y: number;\n }"
8100
- }
9347
+ "kind": "method",
9348
+ "name": "getNormalizedPointerEventCoords",
9349
+ "privacy": "private",
9350
+ "return": {
9351
+ "type": {
9352
+ "text": "{\n x: number;\n y: number;\n }"
9353
+ }
9354
+ },
9355
+ "parameters": [
9356
+ {
9357
+ "name": "pointerEvent",
9358
+ "type": {
9359
+ "text": "PointerEvent"
9360
+ }
9361
+ }
9362
+ ]
9363
+ }
9364
+ ],
9365
+ "attributes": [
9366
+ {
9367
+ "name": "disabled",
9368
+ "type": {
9369
+ "text": "boolean"
9370
+ },
9371
+ "default": "false",
9372
+ "description": "Disables the ripple.",
9373
+ "fieldName": "disabled"
9374
+ }
9375
+ ],
9376
+ "superclass": {
9377
+ "name": "LitElement",
9378
+ "package": "lit"
9379
+ },
9380
+ "tagName": "wc-ripple",
9381
+ "customElement": true,
9382
+ "summary": "Provides ripple effect for interactive elements.",
9383
+ "rawTag": {
9384
+ "name": "ripple",
9385
+ "description": ""
9386
+ }
9387
+ }
9388
+ },
9389
+ {
9390
+ "rawTag": "skeleton",
9391
+ "label": "Skeleton",
9392
+ "jsdoc": {
9393
+ "@label": [
9394
+ {
9395
+ "kind": "text",
9396
+ "text": "Skeleton"
9397
+ }
9398
+ ],
9399
+ "@tag": [
9400
+ {
9401
+ "kind": "text",
9402
+ "text": "wc-skeleton"
9403
+ }
9404
+ ],
9405
+ "@rawTag": [
9406
+ {
9407
+ "kind": "text",
9408
+ "text": "skeleton"
9409
+ }
9410
+ ],
9411
+ "@summary": [
9412
+ {
9413
+ "kind": "text",
9414
+ "text": "Adds a skeleton effect to an element."
9415
+ }
9416
+ ],
9417
+ "@tags": [
9418
+ {
9419
+ "kind": "text",
9420
+ "text": "display"
9421
+ }
9422
+ ],
9423
+ "@example": [
9424
+ {
9425
+ "kind": "code",
9426
+ "text": "```html\n<wc-skeleton visible></wc-skeleton>\n```"
9427
+ }
9428
+ ]
9429
+ },
9430
+ "customElement": {
9431
+ "kind": "class",
9432
+ "description": "",
9433
+ "name": "Skeleton",
9434
+ "members": [
9435
+ {
9436
+ "kind": "field",
9437
+ "name": "visible",
9438
+ "type": {
9439
+ "text": "boolean"
8101
9440
  },
8102
- "parameters": [
8103
- {
8104
- "name": "pointerEvent",
8105
- "type": {
8106
- "text": "PointerEvent"
8107
- }
8108
- }
8109
- ]
9441
+ "default": "false",
9442
+ "attribute": "visible",
9443
+ "reflects": true
8110
9444
  }
8111
9445
  ],
8112
9446
  "attributes": [
8113
9447
  {
8114
- "name": "disabled",
9448
+ "name": "visible",
8115
9449
  "type": {
8116
9450
  "text": "boolean"
8117
9451
  },
8118
9452
  "default": "false",
8119
- "description": "Disables the ripple.",
8120
- "fieldName": "disabled"
9453
+ "fieldName": "visible"
8121
9454
  }
8122
9455
  ],
8123
9456
  "superclass": {
8124
9457
  "name": "LitElement",
8125
9458
  "package": "lit"
8126
9459
  },
8127
- "tagName": "wc-ripple",
9460
+ "tagName": "wc-skeleton",
8128
9461
  "customElement": true,
8129
- "summary": "Provides ripple effect for interactive elements.",
9462
+ "summary": "Adds a skeleton effect to an element.",
8130
9463
  "rawTag": {
8131
- "name": "ripple",
9464
+ "name": "skeleton",
8132
9465
  "description": ""
8133
9466
  }
8134
9467
  }
8135
9468
  },
8136
9469
  {
8137
- "rawTag": "skeleton",
8138
- "label": "Skeleton",
9470
+ "rawTag": "slider",
9471
+ "label": "Slider",
8139
9472
  "jsdoc": {
8140
9473
  "@label": [
8141
9474
  {
8142
9475
  "kind": "text",
8143
- "text": "Skeleton"
9476
+ "text": "Slider"
8144
9477
  }
8145
9478
  ],
8146
9479
  "@tag": [
8147
9480
  {
8148
9481
  "kind": "text",
8149
- "text": "wc-skeleton"
9482
+ "text": "wc-slider"
8150
9483
  }
8151
9484
  ],
8152
9485
  "@rawTag": [
8153
9486
  {
8154
9487
  "kind": "text",
8155
- "text": "skeleton"
9488
+ "text": "slider"
8156
9489
  }
8157
9490
  ],
8158
9491
  "@summary": [
8159
9492
  {
8160
9493
  "kind": "text",
8161
- "text": "Adds a skeleton effect to an element."
9494
+ "text": "Sliders allow users to make selections from a range of values."
8162
9495
  }
8163
9496
  ],
8164
- "@tags": [
9497
+ "@fires": [
8165
9498
  {
8166
9499
  "kind": "text",
8167
- "text": "display"
9500
+ "text": "change - Dispatched when the slider interaction ends."
8168
9501
  }
8169
9502
  ],
8170
9503
  "@example": [
8171
9504
  {
8172
9505
  "kind": "code",
8173
- "text": "```html\n<wc-skeleton visible></wc-skeleton>\n```"
9506
+ "text": "```html\n<wc-slider min=\"0\" max=\"100\" value=\"50\"></wc-slider>\n```"
8174
9507
  }
8175
9508
  ]
8176
9509
  },
8177
9510
  "customElement": {
8178
9511
  "kind": "class",
8179
9512
  "description": "",
8180
- "name": "Skeleton",
9513
+ "name": "Slider",
8181
9514
  "members": [
8182
9515
  {
8183
9516
  "kind": "field",
8184
- "name": "visible",
9517
+ "name": "min",
9518
+ "type": {
9519
+ "text": "number"
9520
+ },
9521
+ "default": "0",
9522
+ "description": "The minimum value of the slider.",
9523
+ "attribute": "min"
9524
+ },
9525
+ {
9526
+ "kind": "field",
9527
+ "name": "max",
9528
+ "type": {
9529
+ "text": "number"
9530
+ },
9531
+ "default": "100",
9532
+ "description": "The maximum value of the slider.",
9533
+ "attribute": "max"
9534
+ },
9535
+ {
9536
+ "kind": "field",
9537
+ "name": "value",
9538
+ "type": {
9539
+ "text": "number"
9540
+ },
9541
+ "default": "50",
9542
+ "description": "The current value of the slider.",
9543
+ "attribute": "value",
9544
+ "reflects": true
9545
+ },
9546
+ {
9547
+ "kind": "field",
9548
+ "name": "step",
9549
+ "type": {
9550
+ "text": "number"
9551
+ },
9552
+ "default": "1",
9553
+ "description": "The step increment for the slider.",
9554
+ "attribute": "step"
9555
+ },
9556
+ {
9557
+ "kind": "field",
9558
+ "name": "disabled",
8185
9559
  "type": {
8186
9560
  "text": "boolean"
8187
9561
  },
8188
9562
  "default": "false",
8189
- "attribute": "visible",
9563
+ "description": "Whether the slider is disabled.",
9564
+ "attribute": "disabled",
8190
9565
  "reflects": true
9566
+ },
9567
+ {
9568
+ "kind": "field",
9569
+ "name": "labeled",
9570
+ "type": {
9571
+ "text": "boolean"
9572
+ },
9573
+ "default": "true",
9574
+ "description": "Whether to show labels on the slider.",
9575
+ "attribute": "labeled"
9576
+ },
9577
+ {
9578
+ "kind": "field",
9579
+ "name": "isDragging",
9580
+ "type": {
9581
+ "text": "boolean"
9582
+ },
9583
+ "privacy": "private",
9584
+ "default": "false"
9585
+ },
9586
+ {
9587
+ "kind": "field",
9588
+ "name": "container",
9589
+ "type": {
9590
+ "text": "HTMLElement"
9591
+ },
9592
+ "privacy": "private"
9593
+ },
9594
+ {
9595
+ "kind": "field",
9596
+ "name": "thumbElement",
9597
+ "type": {
9598
+ "text": "HTMLElement"
9599
+ },
9600
+ "privacy": "private"
9601
+ },
9602
+ {
9603
+ "kind": "method",
9604
+ "name": "handleInput",
9605
+ "privacy": "private",
9606
+ "parameters": [
9607
+ {
9608
+ "name": "event",
9609
+ "type": {
9610
+ "text": "MouseEvent | TouchEvent"
9611
+ }
9612
+ }
9613
+ ]
9614
+ },
9615
+ {
9616
+ "kind": "method",
9617
+ "name": "onMouseDown",
9618
+ "privacy": "private",
9619
+ "parameters": [
9620
+ {
9621
+ "name": "e",
9622
+ "type": {
9623
+ "text": "MouseEvent | TouchEvent"
9624
+ }
9625
+ }
9626
+ ]
9627
+ },
9628
+ {
9629
+ "kind": "field",
9630
+ "name": "onMouseMove",
9631
+ "privacy": "private"
9632
+ },
9633
+ {
9634
+ "kind": "field",
9635
+ "name": "onMouseUp",
9636
+ "privacy": "private"
9637
+ },
9638
+ {
9639
+ "kind": "method",
9640
+ "name": "handleKeyDown",
9641
+ "privacy": "private",
9642
+ "parameters": [
9643
+ {
9644
+ "name": "e",
9645
+ "type": {
9646
+ "text": "KeyboardEvent"
9647
+ }
9648
+ }
9649
+ ]
9650
+ }
9651
+ ],
9652
+ "events": [
9653
+ {
9654
+ "name": "input",
9655
+ "type": {
9656
+ "text": "CustomEvent"
9657
+ },
9658
+ "description": "Dispatched when the slider value changes during interaction."
9659
+ },
9660
+ {
9661
+ "name": "change",
9662
+ "type": {
9663
+ "text": "CustomEvent"
9664
+ },
9665
+ "description": "Dispatched when the slider interaction ends."
8191
9666
  }
8192
9667
  ],
8193
9668
  "attributes": [
8194
9669
  {
8195
- "name": "visible",
9670
+ "name": "min",
9671
+ "type": {
9672
+ "text": "number"
9673
+ },
9674
+ "default": "0",
9675
+ "description": "The minimum value of the slider.",
9676
+ "fieldName": "min"
9677
+ },
9678
+ {
9679
+ "name": "max",
9680
+ "type": {
9681
+ "text": "number"
9682
+ },
9683
+ "default": "100",
9684
+ "description": "The maximum value of the slider.",
9685
+ "fieldName": "max"
9686
+ },
9687
+ {
9688
+ "name": "value",
9689
+ "type": {
9690
+ "text": "number"
9691
+ },
9692
+ "default": "50",
9693
+ "description": "The current value of the slider.",
9694
+ "fieldName": "value"
9695
+ },
9696
+ {
9697
+ "name": "step",
9698
+ "type": {
9699
+ "text": "number"
9700
+ },
9701
+ "default": "1",
9702
+ "description": "The step increment for the slider.",
9703
+ "fieldName": "step"
9704
+ },
9705
+ {
9706
+ "name": "disabled",
9707
+ "type": {
9708
+ "text": "boolean"
9709
+ },
9710
+ "default": "false",
9711
+ "description": "Whether the slider is disabled.",
9712
+ "fieldName": "disabled"
9713
+ },
9714
+ {
9715
+ "name": "labeled",
8196
9716
  "type": {
8197
9717
  "text": "boolean"
8198
9718
  },
8199
- "default": "false",
8200
- "fieldName": "visible"
9719
+ "default": "true",
9720
+ "description": "Whether to show labels on the slider.",
9721
+ "fieldName": "labeled"
8201
9722
  }
8202
9723
  ],
8203
9724
  "superclass": {
8204
9725
  "name": "LitElement",
8205
9726
  "package": "lit"
8206
9727
  },
8207
- "tagName": "wc-skeleton",
9728
+ "tagName": "wc-slider",
8208
9729
  "customElement": true,
8209
- "summary": "Adds a skeleton effect to an element.",
9730
+ "summary": "Sliders allow users to make selections from a range of values.",
8210
9731
  "rawTag": {
8211
- "name": "skeleton",
9732
+ "name": "slider",
8212
9733
  "description": ""
8213
9734
  }
8214
9735
  }
8215
9736
  },
8216
9737
  {
8217
- "rawTag": "slider",
8218
- "label": "Slider",
9738
+ "rawTag": "snackbar",
9739
+ "label": "Snackbar",
8219
9740
  "jsdoc": {
8220
9741
  "@label": [
8221
9742
  {
8222
9743
  "kind": "text",
8223
- "text": "Slider"
9744
+ "text": "Snackbar"
8224
9745
  }
8225
9746
  ],
8226
9747
  "@tag": [
8227
9748
  {
8228
9749
  "kind": "text",
8229
- "text": "wc-slider"
9750
+ "text": "wc-snackbar"
8230
9751
  }
8231
9752
  ],
8232
9753
  "@rawTag": [
8233
9754
  {
8234
9755
  "kind": "text",
8235
- "text": "slider"
9756
+ "text": "snackbar"
8236
9757
  }
8237
9758
  ],
8238
9759
  "@summary": [
8239
9760
  {
8240
9761
  "kind": "text",
8241
- "text": "Sliders allow users to make selections from a range of values."
9762
+ "text": "Snackbars provide brief messages about app processes at the bottom of the screen."
8242
9763
  }
8243
9764
  ],
8244
- "@fires": [
9765
+ "@cssprop": [
8245
9766
  {
8246
9767
  "kind": "text",
8247
- "text": "change - Dispatched when the slider interaction ends."
9768
+ "text": "--snackbar-border-radius - Border radius of the snackbar surface."
8248
9769
  }
8249
9770
  ],
8250
9771
  "@example": [
8251
9772
  {
8252
9773
  "kind": "code",
8253
- "text": "```html\n<wc-slider min=\"0\" max=\"100\" value=\"50\"></wc-slider>\n```"
9774
+ "text": "```html\n<wc-snackbar open message=\"Message archived\" action-label=\"Undo\"></wc-snackbar>\n```"
9775
+ }
9776
+ ],
9777
+ "@tags": [
9778
+ {
9779
+ "kind": "text",
9780
+ "text": "display, feedback"
8254
9781
  }
8255
9782
  ]
8256
9783
  },
8257
9784
  "customElement": {
8258
9785
  "kind": "class",
8259
9786
  "description": "",
8260
- "name": "Slider",
8261
- "members": [
9787
+ "name": "Snackbar",
9788
+ "cssProperties": [
8262
9789
  {
8263
- "kind": "field",
8264
- "name": "min",
8265
- "type": {
8266
- "text": "number"
8267
- },
8268
- "default": "0",
8269
- "description": "The minimum value of the slider.",
8270
- "attribute": "min"
9790
+ "description": "Container color for the snackbar.",
9791
+ "name": "--snackbar-container-color"
8271
9792
  },
9793
+ {
9794
+ "description": "Label text color for the snackbar.",
9795
+ "name": "--snackbar-label-text-color"
9796
+ },
9797
+ {
9798
+ "description": "Action text color.",
9799
+ "name": "--snackbar-action-text-color"
9800
+ },
9801
+ {
9802
+ "description": "Close icon color.",
9803
+ "name": "--snackbar-close-icon-color"
9804
+ },
9805
+ {
9806
+ "description": "Border radius of the snackbar surface.",
9807
+ "name": "--snackbar-border-radius"
9808
+ }
9809
+ ],
9810
+ "members": [
8272
9811
  {
8273
9812
  "kind": "field",
8274
- "name": "max",
9813
+ "name": "open",
8275
9814
  "type": {
8276
- "text": "number"
9815
+ "text": "boolean"
8277
9816
  },
8278
- "default": "100",
8279
- "description": "The maximum value of the slider.",
8280
- "attribute": "max"
9817
+ "default": "false",
9818
+ "attribute": "open",
9819
+ "reflects": true
8281
9820
  },
8282
9821
  {
8283
9822
  "kind": "field",
8284
- "name": "value",
9823
+ "name": "message",
8285
9824
  "type": {
8286
- "text": "number"
9825
+ "text": "string"
8287
9826
  },
8288
- "default": "50",
8289
- "description": "The current value of the slider.",
8290
- "attribute": "value",
8291
- "reflects": true
9827
+ "default": "''",
9828
+ "attribute": "message"
8292
9829
  },
8293
9830
  {
8294
9831
  "kind": "field",
8295
- "name": "step",
9832
+ "name": "actionLabel",
8296
9833
  "type": {
8297
- "text": "number"
9834
+ "text": "string"
8298
9835
  },
8299
- "default": "1",
8300
- "description": "The step increment for the slider.",
8301
- "attribute": "step"
9836
+ "default": "''",
9837
+ "attribute": "action-label"
8302
9838
  },
8303
9839
  {
8304
9840
  "kind": "field",
8305
- "name": "disabled",
9841
+ "name": "showCloseIcon",
8306
9842
  "type": {
8307
9843
  "text": "boolean"
8308
9844
  },
8309
9845
  "default": "false",
8310
- "description": "Whether the slider is disabled.",
8311
- "attribute": "disabled",
8312
- "reflects": true
9846
+ "attribute": "show-close-icon"
8313
9847
  },
8314
9848
  {
8315
9849
  "kind": "field",
8316
- "name": "labeled",
9850
+ "name": "duration",
8317
9851
  "type": {
8318
- "text": "boolean"
9852
+ "text": "number"
8319
9853
  },
8320
- "default": "true",
8321
- "description": "Whether to show labels on the slider.",
8322
- "attribute": "labeled"
9854
+ "default": "4000",
9855
+ "attribute": "duration"
8323
9856
  },
8324
9857
  {
8325
9858
  "kind": "field",
8326
- "name": "isDragging",
9859
+ "name": "multiline",
8327
9860
  "type": {
8328
9861
  "text": "boolean"
8329
9862
  },
8330
- "privacy": "private",
8331
- "default": "false"
9863
+ "default": "false",
9864
+ "attribute": "multiline",
9865
+ "reflects": true
8332
9866
  },
8333
9867
  {
8334
9868
  "kind": "field",
8335
- "name": "container",
9869
+ "name": "hideTimer",
8336
9870
  "type": {
8337
- "text": "HTMLElement"
9871
+ "text": "ReturnType<typeof setTimeout> | null"
8338
9872
  },
8339
- "privacy": "private"
9873
+ "privacy": "private",
9874
+ "default": "null"
8340
9875
  },
8341
9876
  {
8342
- "kind": "field",
8343
- "name": "thumbElement",
8344
- "type": {
8345
- "text": "HTMLElement"
8346
- },
8347
- "privacy": "private"
9877
+ "kind": "method",
9878
+ "name": "show"
8348
9879
  },
8349
9880
  {
8350
9881
  "kind": "method",
8351
- "name": "handleInput",
8352
- "privacy": "private",
8353
- "parameters": [
8354
- {
8355
- "name": "event",
8356
- "type": {
8357
- "text": "MouseEvent | TouchEvent"
8358
- }
8359
- }
8360
- ]
9882
+ "name": "hide"
8361
9883
  },
8362
9884
  {
8363
9885
  "kind": "method",
8364
- "name": "onMouseDown",
9886
+ "name": "close",
8365
9887
  "privacy": "private",
8366
9888
  "parameters": [
8367
9889
  {
8368
- "name": "e",
9890
+ "name": "reason",
8369
9891
  "type": {
8370
- "text": "MouseEvent | TouchEvent"
9892
+ "text": "SnackbarCloseReason"
8371
9893
  }
8372
9894
  }
8373
9895
  ]
8374
9896
  },
8375
9897
  {
8376
- "kind": "field",
8377
- "name": "onMouseMove",
9898
+ "kind": "method",
9899
+ "name": "dispatchActionEvent",
8378
9900
  "privacy": "private"
8379
9901
  },
8380
9902
  {
8381
- "kind": "field",
8382
- "name": "onMouseUp",
9903
+ "kind": "method",
9904
+ "name": "handleActionClick",
8383
9905
  "privacy": "private"
8384
9906
  },
8385
9907
  {
8386
9908
  "kind": "method",
8387
- "name": "handleKeyDown",
8388
- "privacy": "private",
8389
- "parameters": [
8390
- {
8391
- "name": "e",
8392
- "type": {
8393
- "text": "KeyboardEvent"
8394
- }
8395
- }
8396
- ]
9909
+ "name": "handleCloseClick",
9910
+ "privacy": "private"
9911
+ },
9912
+ {
9913
+ "kind": "method",
9914
+ "name": "clearTimer",
9915
+ "privacy": "private"
9916
+ },
9917
+ {
9918
+ "kind": "method",
9919
+ "name": "scheduleAutoHide",
9920
+ "privacy": "private"
8397
9921
  }
8398
9922
  ],
8399
9923
  "events": [
8400
9924
  {
8401
- "name": "input",
9925
+ "name": "snackbar-close",
8402
9926
  "type": {
8403
9927
  "text": "CustomEvent"
8404
- },
8405
- "description": "Dispatched when the slider value changes during interaction."
9928
+ }
8406
9929
  },
8407
9930
  {
8408
- "name": "change",
9931
+ "name": "snackbar-action",
8409
9932
  "type": {
8410
9933
  "text": "CustomEvent"
8411
- },
8412
- "description": "Dispatched when the slider interaction ends."
9934
+ }
8413
9935
  }
8414
9936
  ],
8415
9937
  "attributes": [
8416
9938
  {
8417
- "name": "min",
9939
+ "name": "open",
8418
9940
  "type": {
8419
- "text": "number"
9941
+ "text": "boolean"
8420
9942
  },
8421
- "default": "0",
8422
- "description": "The minimum value of the slider.",
8423
- "fieldName": "min"
9943
+ "default": "false",
9944
+ "fieldName": "open"
8424
9945
  },
8425
9946
  {
8426
- "name": "max",
9947
+ "name": "message",
8427
9948
  "type": {
8428
- "text": "number"
9949
+ "text": "string"
8429
9950
  },
8430
- "default": "100",
8431
- "description": "The maximum value of the slider.",
8432
- "fieldName": "max"
9951
+ "default": "''",
9952
+ "fieldName": "message"
8433
9953
  },
8434
9954
  {
8435
- "name": "value",
9955
+ "name": "action-label",
8436
9956
  "type": {
8437
- "text": "number"
9957
+ "text": "string"
8438
9958
  },
8439
- "default": "50",
8440
- "description": "The current value of the slider.",
8441
- "fieldName": "value"
9959
+ "default": "''",
9960
+ "fieldName": "actionLabel"
8442
9961
  },
8443
9962
  {
8444
- "name": "step",
9963
+ "name": "show-close-icon",
8445
9964
  "type": {
8446
- "text": "number"
9965
+ "text": "boolean"
8447
9966
  },
8448
- "default": "1",
8449
- "description": "The step increment for the slider.",
8450
- "fieldName": "step"
9967
+ "default": "false",
9968
+ "fieldName": "showCloseIcon"
8451
9969
  },
8452
9970
  {
8453
- "name": "disabled",
9971
+ "name": "duration",
8454
9972
  "type": {
8455
- "text": "boolean"
9973
+ "text": "number"
8456
9974
  },
8457
- "default": "false",
8458
- "description": "Whether the slider is disabled.",
8459
- "fieldName": "disabled"
9975
+ "default": "4000",
9976
+ "fieldName": "duration"
8460
9977
  },
8461
9978
  {
8462
- "name": "labeled",
9979
+ "name": "multiline",
8463
9980
  "type": {
8464
9981
  "text": "boolean"
8465
9982
  },
8466
- "default": "true",
8467
- "description": "Whether to show labels on the slider.",
8468
- "fieldName": "labeled"
9983
+ "default": "false",
9984
+ "fieldName": "multiline"
8469
9985
  }
8470
9986
  ],
8471
9987
  "superclass": {
8472
9988
  "name": "LitElement",
8473
9989
  "package": "lit"
8474
9990
  },
8475
- "tagName": "wc-slider",
9991
+ "tagName": "wc-snackbar",
8476
9992
  "customElement": true,
8477
- "summary": "Sliders allow users to make selections from a range of values.",
9993
+ "summary": "Snackbars provide brief messages about app processes at the bottom of the screen.",
8478
9994
  "rawTag": {
8479
- "name": "slider",
9995
+ "name": "snackbar",
8480
9996
  "description": ""
8481
9997
  }
8482
9998
  }
@@ -9335,14 +10851,6 @@
9335
10851
  "default": "''",
9336
10852
  "attribute": "disabledReason"
9337
10853
  },
9338
- {
9339
- "kind": "field",
9340
- "name": "icon",
9341
- "type": {
9342
- "text": "string | undefined"
9343
- },
9344
- "attribute": "icon"
9345
- },
9346
10854
  {
9347
10855
  "kind": "field",
9348
10856
  "name": "label",
@@ -9413,6 +10921,22 @@
9413
10921
  },
9414
10922
  "default": "false"
9415
10923
  },
10924
+ {
10925
+ "kind": "field",
10926
+ "name": "slotHasIcon",
10927
+ "type": {
10928
+ "text": "boolean"
10929
+ },
10930
+ "default": "false"
10931
+ },
10932
+ {
10933
+ "kind": "field",
10934
+ "name": "slotHasBadge",
10935
+ "type": {
10936
+ "text": "boolean"
10937
+ },
10938
+ "default": "false"
10939
+ },
9416
10940
  {
9417
10941
  "kind": "field",
9418
10942
  "name": "isPressed",
@@ -9504,13 +11028,6 @@
9504
11028
  "default": "''",
9505
11029
  "fieldName": "disabledReason"
9506
11030
  },
9507
- {
9508
- "name": "icon",
9509
- "type": {
9510
- "text": "string | undefined"
9511
- },
9512
- "fieldName": "icon"
9513
- },
9514
11031
  {
9515
11032
  "name": "label",
9516
11033
  "type": {
@@ -9645,11 +11162,6 @@
9645
11162
  "attribute": "variant",
9646
11163
  "reflects": true
9647
11164
  },
9648
- {
9649
- "kind": "field",
9650
- "name": "uid",
9651
- "privacy": "private"
9652
- },
9653
11165
  {
9654
11166
  "kind": "field",
9655
11167
  "name": "onTabClick",
@@ -9667,13 +11179,25 @@
9667
11179
  }
9668
11180
  ]
9669
11181
  },
11182
+ {
11183
+ "kind": "method",
11184
+ "name": "selectTabByIndex",
11185
+ "parameters": [
11186
+ {
11187
+ "name": "index",
11188
+ "type": {
11189
+ "text": "number"
11190
+ }
11191
+ }
11192
+ ]
11193
+ },
9670
11194
  {
9671
11195
  "kind": "method",
9672
11196
  "name": "getTabs",
9673
11197
  "privacy": "private",
9674
11198
  "return": {
9675
11199
  "type": {
9676
- "text": "NodeListOf<HTMLElement>"
11200
+ "text": "HTMLElement[]"
9677
11201
  }
9678
11202
  }
9679
11203
  },
@@ -9683,7 +11207,7 @@
9683
11207
  "privacy": "private",
9684
11208
  "return": {
9685
11209
  "type": {
9686
- "text": "NodeListOf<HTMLElement>"
11210
+ "text": "HTMLElement[]"
9687
11211
  }
9688
11212
  }
9689
11213
  },
@@ -10351,6 +11875,16 @@
10351
11875
  },
10352
11876
  "attribute": "value",
10353
11877
  "reflects": true
11878
+ },
11879
+ {
11880
+ "kind": "field",
11881
+ "name": "active",
11882
+ "type": {
11883
+ "text": "boolean"
11884
+ },
11885
+ "default": "false",
11886
+ "attribute": "active",
11887
+ "reflects": true
10354
11888
  }
10355
11889
  ],
10356
11890
  "attributes": [
@@ -10360,6 +11894,14 @@
10360
11894
  "text": "string | undefined"
10361
11895
  },
10362
11896
  "fieldName": "value"
11897
+ },
11898
+ {
11899
+ "name": "active",
11900
+ "type": {
11901
+ "text": "boolean"
11902
+ },
11903
+ "default": "false",
11904
+ "fieldName": "active"
10363
11905
  }
10364
11906
  ],
10365
11907
  "superclass": {