@genesislcap/foundation-ui 14.448.0-canary.wealth → 14.449.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1400,11 +1400,42 @@
1400
1400
  },
1401
1401
  {
1402
1402
  "kind": "javascript-module",
1403
- "path": "src/accordion/accordion.styles.ts",
1403
+ "path": "src/_config/index.ts",
1404
+ "declarations": [],
1405
+ "exports": [
1406
+ {
1407
+ "kind": "js",
1408
+ "name": "*",
1409
+ "declaration": {
1410
+ "name": "*",
1411
+ "package": "./styles"
1412
+ }
1413
+ },
1414
+ {
1415
+ "kind": "js",
1416
+ "name": "*",
1417
+ "declaration": {
1418
+ "name": "*",
1419
+ "package": "./tokens"
1420
+ }
1421
+ },
1422
+ {
1423
+ "kind": "js",
1424
+ "name": "*",
1425
+ "declaration": {
1426
+ "name": "*",
1427
+ "package": "./values"
1428
+ }
1429
+ }
1430
+ ]
1431
+ },
1432
+ {
1433
+ "kind": "javascript-module",
1434
+ "path": "src/accordion-item/accordion-item.styles.ts",
1404
1435
  "declarations": [
1405
1436
  {
1406
1437
  "kind": "function",
1407
- "name": "foundationAccordionStyles",
1438
+ "name": "foundationAccordionItemStyles",
1408
1439
  "return": {
1409
1440
  "type": {
1410
1441
  "text": "ElementStyles"
@@ -1429,24 +1460,24 @@
1429
1460
  "exports": [
1430
1461
  {
1431
1462
  "kind": "js",
1432
- "name": "foundationAccordionStyles",
1463
+ "name": "foundationAccordionItemStyles",
1433
1464
  "declaration": {
1434
- "name": "foundationAccordionStyles",
1435
- "module": "src/accordion/accordion.styles.ts"
1465
+ "name": "foundationAccordionItemStyles",
1466
+ "module": "src/accordion-item/accordion-item.styles.ts"
1436
1467
  }
1437
1468
  }
1438
1469
  ]
1439
1470
  },
1440
1471
  {
1441
1472
  "kind": "javascript-module",
1442
- "path": "src/accordion/accordion.template.ts",
1473
+ "path": "src/accordion-item/accordion-item.template.ts",
1443
1474
  "declarations": [
1444
1475
  {
1445
1476
  "kind": "function",
1446
- "name": "foundationAccordionTemplate",
1477
+ "name": "foundationAccordionItemTemplate",
1447
1478
  "return": {
1448
1479
  "type": {
1449
- "text": "ViewTemplate<Accordion>"
1480
+ "text": "ViewTemplate<AccordionItem>"
1450
1481
  }
1451
1482
  },
1452
1483
  "parameters": [
@@ -1468,365 +1499,244 @@
1468
1499
  "exports": [
1469
1500
  {
1470
1501
  "kind": "js",
1471
- "name": "foundationAccordionTemplate",
1502
+ "name": "foundationAccordionItemTemplate",
1472
1503
  "declaration": {
1473
- "name": "foundationAccordionTemplate",
1474
- "module": "src/accordion/accordion.template.ts"
1504
+ "name": "foundationAccordionItemTemplate",
1505
+ "module": "src/accordion-item/accordion-item.template.ts"
1475
1506
  }
1476
1507
  }
1477
1508
  ]
1478
1509
  },
1479
1510
  {
1480
1511
  "kind": "javascript-module",
1481
- "path": "src/accordion/accordion.ts",
1512
+ "path": "src/accordion-item/accordion-item.ts",
1482
1513
  "declarations": [
1483
1514
  {
1484
1515
  "kind": "class",
1485
1516
  "description": "",
1486
- "name": "Accordion",
1517
+ "name": "AccordionItem",
1487
1518
  "superclass": {
1488
- "name": "FASTAccordion",
1489
- "package": "@microsoft/fast-foundation"
1519
+ "name": "FASTAccordionItem",
1520
+ "package": "@microsoft/fast-components"
1490
1521
  },
1491
- "tagName": "%%prefix%%-accordion",
1522
+ "tagName": "%%prefix%%-accordion-item",
1492
1523
  "customElement": true,
1493
1524
  "attributes": [
1494
1525
  {
1495
- "name": "expand-mode",
1526
+ "name": "heading-level",
1496
1527
  "type": {
1497
- "text": "AccordionExpandMode"
1528
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1498
1529
  },
1499
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1500
- "fieldName": "expandmode",
1530
+ "default": "2",
1531
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1532
+ "fieldName": "headinglevel",
1501
1533
  "inheritedFrom": {
1502
- "name": "Accordion",
1503
- "module": "src/accordion/accordion.ts"
1534
+ "name": "AccordionItem",
1535
+ "module": "src/accordion-item/accordion-item.ts"
1536
+ }
1537
+ },
1538
+ {
1539
+ "type": {
1540
+ "text": "boolean"
1541
+ },
1542
+ "default": "false",
1543
+ "description": "Expands or collapses the item.",
1544
+ "fieldName": "expanded",
1545
+ "inheritedFrom": {
1546
+ "name": "AccordionItem",
1547
+ "module": "src/accordion-item/accordion-item.ts"
1548
+ }
1549
+ },
1550
+ {
1551
+ "name": "id",
1552
+ "type": {
1553
+ "text": "string"
1554
+ },
1555
+ "description": "The item ID",
1556
+ "fieldName": "id",
1557
+ "inheritedFrom": {
1558
+ "name": "AccordionItem",
1559
+ "module": "src/accordion-item/accordion-item.ts"
1504
1560
  }
1505
1561
  }
1506
1562
  ],
1507
1563
  "members": [
1508
1564
  {
1509
1565
  "kind": "field",
1510
- "name": "expandmode",
1566
+ "name": "headinglevel",
1511
1567
  "type": {
1512
- "text": "AccordionExpandMode"
1568
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1513
1569
  },
1514
1570
  "privacy": "public",
1515
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1571
+ "default": "2",
1572
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1516
1573
  "inheritedFrom": {
1517
- "name": "Accordion",
1518
- "module": "src/accordion/accordion.ts"
1574
+ "name": "AccordionItem",
1575
+ "module": "src/accordion-item/accordion-item.ts"
1519
1576
  }
1520
1577
  },
1521
1578
  {
1522
1579
  "kind": "field",
1523
- "name": "activeid",
1580
+ "name": "expanded",
1524
1581
  "type": {
1525
- "text": "string | null"
1582
+ "text": "boolean"
1526
1583
  },
1527
- "privacy": "private",
1584
+ "privacy": "public",
1585
+ "default": "false",
1586
+ "description": "Expands or collapses the item.",
1528
1587
  "inheritedFrom": {
1529
- "name": "Accordion",
1530
- "module": "src/accordion/accordion.ts"
1588
+ "name": "AccordionItem",
1589
+ "module": "src/accordion-item/accordion-item.ts"
1531
1590
  }
1532
1591
  },
1533
1592
  {
1534
1593
  "kind": "field",
1535
- "name": "activeItemIndex",
1594
+ "name": "id",
1536
1595
  "type": {
1537
- "text": "number"
1596
+ "text": "string"
1538
1597
  },
1539
- "privacy": "private",
1540
- "default": "0",
1598
+ "privacy": "public",
1599
+ "description": "The item ID",
1541
1600
  "inheritedFrom": {
1542
- "name": "Accordion",
1543
- "module": "src/accordion/accordion.ts"
1601
+ "name": "AccordionItem",
1602
+ "module": "src/accordion-item/accordion-item.ts"
1544
1603
  }
1545
1604
  },
1546
1605
  {
1547
1606
  "kind": "field",
1548
- "name": "accordionIds",
1549
- "type": {
1550
- "text": "Array<string | null>"
1551
- },
1607
+ "name": "change",
1552
1608
  "privacy": "private",
1553
1609
  "inheritedFrom": {
1554
- "name": "Accordion",
1555
- "module": "src/accordion/accordion.ts"
1610
+ "name": "AccordionItem",
1611
+ "module": "src/accordion-item/accordion-item.ts"
1556
1612
  }
1557
1613
  },
1558
1614
  {
1559
1615
  "kind": "field",
1560
- "name": "change",
1616
+ "name": "_presentation",
1617
+ "type": {
1618
+ "text": "ComponentPresentation | null | undefined"
1619
+ },
1561
1620
  "privacy": "private",
1621
+ "default": "void 0",
1562
1622
  "inheritedFrom": {
1563
- "name": "Accordion",
1564
- "module": "src/accordion/accordion.ts"
1623
+ "name": "FoundationElement",
1624
+ "module": "src/foundation-element/foundation-element.ts"
1565
1625
  }
1566
1626
  },
1567
1627
  {
1568
- "kind": "method",
1569
- "name": "findExpandedItem",
1570
- "privacy": "private",
1571
- "return": {
1572
- "type": {
1573
- "text": "AccordionItem | null"
1574
- }
1628
+ "kind": "field",
1629
+ "name": "$presentation",
1630
+ "type": {
1631
+ "text": "ComponentPresentation | null"
1575
1632
  },
1633
+ "privacy": "public",
1634
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1576
1635
  "inheritedFrom": {
1577
- "name": "Accordion",
1578
- "module": "src/accordion/accordion.ts"
1636
+ "name": "FoundationElement",
1637
+ "module": "src/foundation-element/foundation-element.ts"
1579
1638
  }
1580
1639
  },
1581
1640
  {
1582
1641
  "kind": "field",
1583
- "name": "setItems",
1584
- "privacy": "private",
1642
+ "name": "template",
1643
+ "type": {
1644
+ "text": "ElementViewTemplate | void | null"
1645
+ },
1646
+ "privacy": "public",
1647
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1585
1648
  "inheritedFrom": {
1586
- "name": "Accordion",
1587
- "module": "src/accordion/accordion.ts"
1649
+ "name": "FoundationElement",
1650
+ "module": "src/foundation-element/foundation-element.ts"
1588
1651
  }
1589
1652
  },
1590
1653
  {
1591
1654
  "kind": "method",
1592
- "name": "resetItems",
1593
- "privacy": "private",
1655
+ "name": "templateChanged",
1656
+ "privacy": "protected",
1594
1657
  "return": {
1595
1658
  "type": {
1596
1659
  "text": "void"
1597
1660
  }
1598
1661
  },
1599
1662
  "inheritedFrom": {
1600
- "name": "Accordion",
1601
- "module": "src/accordion/accordion.ts"
1602
- }
1603
- },
1604
- {
1605
- "kind": "field",
1606
- "name": "removeItemListeners",
1607
- "privacy": "private",
1608
- "inheritedFrom": {
1609
- "name": "Accordion",
1610
- "module": "src/accordion/accordion.ts"
1663
+ "name": "FoundationElement",
1664
+ "module": "src/foundation-element/foundation-element.ts"
1611
1665
  }
1612
1666
  },
1613
1667
  {
1614
1668
  "kind": "field",
1615
- "name": "activeItemChange",
1616
- "privacy": "private",
1669
+ "name": "styles",
1670
+ "type": {
1671
+ "text": "ElementStyles | void | null"
1672
+ },
1673
+ "privacy": "public",
1674
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1617
1675
  "inheritedFrom": {
1618
- "name": "Accordion",
1619
- "module": "src/accordion/accordion.ts"
1676
+ "name": "FoundationElement",
1677
+ "module": "src/foundation-element/foundation-element.ts"
1620
1678
  }
1621
1679
  },
1622
1680
  {
1623
1681
  "kind": "method",
1624
- "name": "getItemIds",
1625
- "privacy": "private",
1682
+ "name": "stylesChanged",
1683
+ "privacy": "protected",
1626
1684
  "return": {
1627
1685
  "type": {
1628
- "text": "Array<string | null>"
1686
+ "text": "void"
1629
1687
  }
1630
1688
  },
1631
1689
  "inheritedFrom": {
1632
- "name": "Accordion",
1633
- "module": "src/accordion/accordion.ts"
1690
+ "name": "FoundationElement",
1691
+ "module": "src/foundation-element/foundation-element.ts"
1634
1692
  }
1635
1693
  },
1636
1694
  {
1637
1695
  "kind": "method",
1638
- "name": "isSingleExpandMode",
1639
- "privacy": "private",
1696
+ "name": "compose",
1697
+ "privacy": "public",
1698
+ "static": true,
1640
1699
  "return": {
1641
1700
  "type": {
1642
- "text": "boolean"
1701
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1643
1702
  }
1644
1703
  },
1704
+ "parameters": [
1705
+ {
1706
+ "name": "this",
1707
+ "type": {
1708
+ "text": "K"
1709
+ }
1710
+ },
1711
+ {
1712
+ "name": "elementDefinition",
1713
+ "type": {
1714
+ "text": "T"
1715
+ },
1716
+ "description": "The definition of the element to create the registry\nfunction for."
1717
+ }
1718
+ ],
1719
+ "description": "Defines an element registry function with a set of element definition defaults.",
1645
1720
  "inheritedFrom": {
1646
- "name": "Accordion",
1647
- "module": "src/accordion/accordion.ts"
1721
+ "name": "FoundationElement",
1722
+ "module": "src/foundation-element/foundation-element.ts"
1648
1723
  }
1649
- },
1724
+ }
1725
+ ],
1726
+ "events": [
1650
1727
  {
1651
- "kind": "field",
1652
- "name": "handleItemKeyDown",
1653
- "privacy": "private",
1654
- "inheritedFrom": {
1655
- "name": "Accordion",
1656
- "module": "src/accordion/accordion.ts"
1657
- }
1658
- },
1659
- {
1660
- "kind": "field",
1661
- "name": "handleItemFocus",
1662
- "privacy": "private",
1663
- "inheritedFrom": {
1664
- "name": "Accordion",
1665
- "module": "src/accordion/accordion.ts"
1666
- }
1667
- },
1668
- {
1669
- "kind": "method",
1670
- "name": "adjust",
1671
- "privacy": "private",
1672
- "return": {
1673
- "type": {
1674
- "text": "void"
1675
- }
1676
- },
1677
- "parameters": [
1678
- {
1679
- "name": "adjustment",
1680
- "type": {
1681
- "text": "number"
1682
- }
1683
- }
1684
- ],
1685
- "inheritedFrom": {
1686
- "name": "Accordion",
1687
- "module": "src/accordion/accordion.ts"
1688
- }
1689
- },
1690
- {
1691
- "kind": "method",
1692
- "name": "focusItem",
1693
- "privacy": "private",
1694
- "return": {
1695
- "type": {
1696
- "text": "void"
1697
- }
1698
- },
1699
- "inheritedFrom": {
1700
- "name": "Accordion",
1701
- "module": "src/accordion/accordion.ts"
1702
- }
1703
- },
1704
- {
1705
- "kind": "field",
1706
- "name": "_presentation",
1707
- "type": {
1708
- "text": "ComponentPresentation | null | undefined"
1709
- },
1710
- "privacy": "private",
1711
- "default": "void 0",
1712
- "inheritedFrom": {
1713
- "name": "FoundationElement",
1714
- "module": "src/foundation-element/foundation-element.ts"
1715
- }
1716
- },
1717
- {
1718
- "kind": "field",
1719
- "name": "$presentation",
1720
- "type": {
1721
- "text": "ComponentPresentation | null"
1722
- },
1723
- "privacy": "public",
1724
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1725
- "inheritedFrom": {
1726
- "name": "FoundationElement",
1727
- "module": "src/foundation-element/foundation-element.ts"
1728
- }
1729
- },
1730
- {
1731
- "kind": "field",
1732
- "name": "template",
1733
- "type": {
1734
- "text": "ElementViewTemplate | void | null"
1735
- },
1736
- "privacy": "public",
1737
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1738
- "inheritedFrom": {
1739
- "name": "FoundationElement",
1740
- "module": "src/foundation-element/foundation-element.ts"
1741
- }
1742
- },
1743
- {
1744
- "kind": "method",
1745
- "name": "templateChanged",
1746
- "privacy": "protected",
1747
- "return": {
1748
- "type": {
1749
- "text": "void"
1750
- }
1751
- },
1752
- "inheritedFrom": {
1753
- "name": "FoundationElement",
1754
- "module": "src/foundation-element/foundation-element.ts"
1755
- }
1756
- },
1757
- {
1758
- "kind": "field",
1759
- "name": "styles",
1760
- "type": {
1761
- "text": "ElementStyles | void | null"
1762
- },
1763
- "privacy": "public",
1764
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1765
- "inheritedFrom": {
1766
- "name": "FoundationElement",
1767
- "module": "src/foundation-element/foundation-element.ts"
1768
- }
1769
- },
1770
- {
1771
- "kind": "method",
1772
- "name": "stylesChanged",
1773
- "privacy": "protected",
1774
- "return": {
1775
- "type": {
1776
- "text": "void"
1777
- }
1778
- },
1779
- "inheritedFrom": {
1780
- "name": "FoundationElement",
1781
- "module": "src/foundation-element/foundation-element.ts"
1782
- }
1783
- },
1784
- {
1785
- "kind": "method",
1786
- "name": "compose",
1787
- "privacy": "public",
1788
- "static": true,
1789
- "return": {
1790
- "type": {
1791
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1792
- }
1793
- },
1794
- "parameters": [
1795
- {
1796
- "name": "this",
1797
- "type": {
1798
- "text": "K"
1799
- }
1800
- },
1801
- {
1802
- "name": "elementDefinition",
1803
- "type": {
1804
- "text": "T"
1805
- },
1806
- "description": "The definition of the element to create the registry\nfunction for."
1807
- }
1808
- ],
1809
- "description": "Defines an element registry function with a set of element definition defaults.",
1810
- "inheritedFrom": {
1811
- "name": "FoundationElement",
1812
- "module": "src/foundation-element/foundation-element.ts"
1813
- }
1814
- }
1815
- ],
1816
- "events": [
1817
- {
1818
- "description": "Fires a custom 'change' event when the active item changes",
1728
+ "description": "Fires a custom 'change' event when the button is invoked",
1819
1729
  "name": "change",
1820
1730
  "inheritedFrom": {
1821
- "name": "Accordion",
1822
- "module": "src/accordion/accordion.ts"
1731
+ "name": "AccordionItem",
1732
+ "module": "src/accordion-item/accordion-item.ts"
1823
1733
  }
1824
1734
  }
1825
1735
  ]
1826
1736
  },
1827
1737
  {
1828
1738
  "kind": "variable",
1829
- "name": "foundationAccordionShadowOptions",
1739
+ "name": "foundationAccordionItemShadowOptions",
1830
1740
  "type": {
1831
1741
  "text": "ShadowRootInit"
1832
1742
  },
@@ -1834,57 +1744,57 @@
1834
1744
  },
1835
1745
  {
1836
1746
  "kind": "variable",
1837
- "name": "defaultAccordionConfig",
1747
+ "name": "defaultAccordionItemConfig",
1838
1748
  "type": {
1839
1749
  "text": "object"
1840
1750
  },
1841
- "default": "{}"
1751
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1842
1752
  },
1843
1753
  {
1844
1754
  "kind": "variable",
1845
- "name": "foundationAccordion",
1846
- "description": "The Foundation Accordion",
1755
+ "name": "foundationAccordionItem",
1756
+ "description": "The Foundation Accordion Item",
1847
1757
  "privacy": "public"
1848
1758
  }
1849
1759
  ],
1850
1760
  "exports": [
1851
1761
  {
1852
1762
  "kind": "js",
1853
- "name": "Accordion",
1763
+ "name": "AccordionItem",
1854
1764
  "declaration": {
1855
- "name": "Accordion",
1856
- "module": "src/accordion/accordion.ts"
1765
+ "name": "AccordionItem",
1766
+ "module": "src/accordion-item/accordion-item.ts"
1857
1767
  }
1858
1768
  },
1859
1769
  {
1860
1770
  "kind": "js",
1861
- "name": "foundationAccordionShadowOptions",
1771
+ "name": "foundationAccordionItemShadowOptions",
1862
1772
  "declaration": {
1863
- "name": "foundationAccordionShadowOptions",
1864
- "module": "src/accordion/accordion.ts"
1773
+ "name": "foundationAccordionItemShadowOptions",
1774
+ "module": "src/accordion-item/accordion-item.ts"
1865
1775
  }
1866
1776
  },
1867
1777
  {
1868
1778
  "kind": "js",
1869
- "name": "defaultAccordionConfig",
1779
+ "name": "defaultAccordionItemConfig",
1870
1780
  "declaration": {
1871
- "name": "defaultAccordionConfig",
1872
- "module": "src/accordion/accordion.ts"
1781
+ "name": "defaultAccordionItemConfig",
1782
+ "module": "src/accordion-item/accordion-item.ts"
1873
1783
  }
1874
1784
  },
1875
1785
  {
1876
1786
  "kind": "js",
1877
- "name": "foundationAccordion",
1787
+ "name": "foundationAccordionItem",
1878
1788
  "declaration": {
1879
- "name": "foundationAccordion",
1880
- "module": "src/accordion/accordion.ts"
1789
+ "name": "foundationAccordionItem",
1790
+ "module": "src/accordion-item/accordion-item.ts"
1881
1791
  }
1882
1792
  }
1883
1793
  ]
1884
1794
  },
1885
1795
  {
1886
1796
  "kind": "javascript-module",
1887
- "path": "src/accordion/index.ts",
1797
+ "path": "src/accordion-item/index.ts",
1888
1798
  "declarations": [],
1889
1799
  "exports": [
1890
1800
  {
@@ -1892,7 +1802,7 @@
1892
1802
  "name": "*",
1893
1803
  "declaration": {
1894
1804
  "name": "*",
1895
- "package": "./accordion.template"
1805
+ "package": "./accordion-item.template"
1896
1806
  }
1897
1807
  },
1898
1808
  {
@@ -1900,7 +1810,7 @@
1900
1810
  "name": "*",
1901
1811
  "declaration": {
1902
1812
  "name": "*",
1903
- "package": "./accordion.styles"
1813
+ "package": "./accordion-item.styles"
1904
1814
  }
1905
1815
  },
1906
1816
  {
@@ -1908,49 +1818,41 @@
1908
1818
  "name": "*",
1909
1819
  "declaration": {
1910
1820
  "name": "*",
1911
- "package": "./accordion"
1821
+ "package": "./accordion-item"
1912
1822
  }
1913
1823
  }
1914
1824
  ]
1915
1825
  },
1916
1826
  {
1917
1827
  "kind": "javascript-module",
1918
- "path": "src/_config/index.ts",
1919
- "declarations": [],
1920
- "exports": [
1921
- {
1922
- "kind": "js",
1923
- "name": "*",
1924
- "declaration": {
1925
- "name": "*",
1926
- "package": "./styles"
1927
- }
1928
- },
1828
+ "path": "src/actions-menu/actions-menu.styles.ts",
1829
+ "declarations": [
1929
1830
  {
1930
- "kind": "js",
1931
- "name": "*",
1932
- "declaration": {
1933
- "name": "*",
1934
- "package": "./tokens"
1935
- }
1831
+ "kind": "function",
1832
+ "name": "actionsMenuBaseStyles",
1833
+ "return": {
1834
+ "type": {
1835
+ "text": "ElementStyles"
1836
+ }
1837
+ },
1838
+ "parameters": [
1839
+ {
1840
+ "name": "context",
1841
+ "type": {
1842
+ "text": "ElementDefinitionContext"
1843
+ }
1844
+ },
1845
+ {
1846
+ "name": "definition",
1847
+ "type": {
1848
+ "text": "FoundationElementDefinition"
1849
+ }
1850
+ }
1851
+ ]
1936
1852
  },
1937
- {
1938
- "kind": "js",
1939
- "name": "*",
1940
- "declaration": {
1941
- "name": "*",
1942
- "package": "./values"
1943
- }
1944
- }
1945
- ]
1946
- },
1947
- {
1948
- "kind": "javascript-module",
1949
- "path": "src/accordion-item/accordion-item.styles.ts",
1950
- "declarations": [
1951
1853
  {
1952
1854
  "kind": "function",
1953
- "name": "foundationAccordionItemStyles",
1855
+ "name": "foundationActionsMenuStyles",
1954
1856
  "return": {
1955
1857
  "type": {
1956
1858
  "text": "ElementStyles"
@@ -1975,156 +1877,269 @@
1975
1877
  "exports": [
1976
1878
  {
1977
1879
  "kind": "js",
1978
- "name": "foundationAccordionItemStyles",
1880
+ "name": "actionsMenuBaseStyles",
1979
1881
  "declaration": {
1980
- "name": "foundationAccordionItemStyles",
1981
- "module": "src/accordion-item/accordion-item.styles.ts"
1882
+ "name": "actionsMenuBaseStyles",
1883
+ "module": "src/actions-menu/actions-menu.styles.ts"
1884
+ }
1885
+ },
1886
+ {
1887
+ "kind": "js",
1888
+ "name": "foundationActionsMenuStyles",
1889
+ "declaration": {
1890
+ "name": "foundationActionsMenuStyles",
1891
+ "module": "src/actions-menu/actions-menu.styles.ts"
1982
1892
  }
1983
1893
  }
1984
1894
  ]
1985
1895
  },
1986
1896
  {
1987
1897
  "kind": "javascript-module",
1988
- "path": "src/accordion-item/accordion-item.template.ts",
1898
+ "path": "src/actions-menu/actions-menu.template.ts",
1989
1899
  "declarations": [
1990
1900
  {
1991
1901
  "kind": "function",
1992
- "name": "foundationAccordionItemTemplate",
1993
- "return": {
1994
- "type": {
1995
- "text": "ViewTemplate<AccordionItem>"
1996
- }
1997
- },
1902
+ "name": "menuTemplate",
1998
1903
  "parameters": [
1999
1904
  {
2000
- "name": "context",
1905
+ "name": "prefix",
2001
1906
  "type": {
2002
- "text": "ElementDefinitionContext"
1907
+ "text": "string"
2003
1908
  }
2004
- },
1909
+ }
1910
+ ]
1911
+ },
1912
+ {
1913
+ "kind": "function",
1914
+ "name": "singleOptionTemplate",
1915
+ "parameters": [
2005
1916
  {
2006
- "name": "definition",
1917
+ "name": "prefix",
2007
1918
  "type": {
2008
- "text": "FoundationElementDefinition"
1919
+ "text": "string"
2009
1920
  }
2010
1921
  }
2011
1922
  ]
1923
+ },
1924
+ {
1925
+ "kind": "variable",
1926
+ "name": "foundationActionsMenuTemplate",
1927
+ "type": {
1928
+ "text": "ViewTemplate<ActionsMenu>"
1929
+ },
1930
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2012
1931
  }
2013
1932
  ],
2014
1933
  "exports": [
2015
1934
  {
2016
1935
  "kind": "js",
2017
- "name": "foundationAccordionItemTemplate",
1936
+ "name": "menuTemplate",
2018
1937
  "declaration": {
2019
- "name": "foundationAccordionItemTemplate",
2020
- "module": "src/accordion-item/accordion-item.template.ts"
1938
+ "name": "menuTemplate",
1939
+ "module": "src/actions-menu/actions-menu.template.ts"
1940
+ }
1941
+ },
1942
+ {
1943
+ "kind": "js",
1944
+ "name": "singleOptionTemplate",
1945
+ "declaration": {
1946
+ "name": "singleOptionTemplate",
1947
+ "module": "src/actions-menu/actions-menu.template.ts"
1948
+ }
1949
+ },
1950
+ {
1951
+ "kind": "js",
1952
+ "name": "foundationActionsMenuTemplate",
1953
+ "declaration": {
1954
+ "name": "foundationActionsMenuTemplate",
1955
+ "module": "src/actions-menu/actions-menu.template.ts"
2021
1956
  }
2022
1957
  }
2023
1958
  ]
2024
1959
  },
2025
1960
  {
2026
1961
  "kind": "javascript-module",
2027
- "path": "src/accordion-item/accordion-item.ts",
1962
+ "path": "src/actions-menu/actions-menu.ts",
2028
1963
  "declarations": [
2029
1964
  {
2030
1965
  "kind": "class",
2031
1966
  "description": "",
2032
- "name": "AccordionItem",
2033
- "superclass": {
2034
- "name": "FASTAccordionItem",
2035
- "package": "@microsoft/fast-components"
2036
- },
2037
- "tagName": "%%prefix%%-accordion-item",
2038
- "customElement": true,
2039
- "attributes": [
1967
+ "name": "ActionsMenu",
1968
+ "members": [
2040
1969
  {
2041
- "name": "heading-level",
1970
+ "kind": "field",
1971
+ "name": "actions",
2042
1972
  "type": {
2043
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1973
+ "text": "ActionMenuItem[]"
1974
+ }
1975
+ },
1976
+ {
1977
+ "kind": "field",
1978
+ "name": "isVertical",
1979
+ "type": {
1980
+ "text": "boolean"
2044
1981
  },
2045
- "default": "2",
2046
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2047
- "fieldName": "headinglevel",
2048
- "inheritedFrom": {
2049
- "name": "AccordionItem",
2050
- "module": "src/accordion-item/accordion-item.ts"
1982
+ "default": "false"
1983
+ },
1984
+ {
1985
+ "kind": "field",
1986
+ "name": "addDefaultActions",
1987
+ "type": {
1988
+ "text": "boolean"
1989
+ },
1990
+ "default": "true"
1991
+ },
1992
+ {
1993
+ "kind": "field",
1994
+ "name": "autoCloseOnAction",
1995
+ "type": {
1996
+ "text": "boolean"
1997
+ },
1998
+ "default": "true"
1999
+ },
2000
+ {
2001
+ "kind": "field",
2002
+ "name": "classNames",
2003
+ "type": {
2004
+ "text": "string"
2005
+ }
2006
+ },
2007
+ {
2008
+ "kind": "field",
2009
+ "name": "definition",
2010
+ "type": {
2011
+ "text": "any"
2051
2012
  }
2052
2013
  },
2053
2014
  {
2015
+ "kind": "field",
2016
+ "name": "name",
2017
+ "type": {
2018
+ "text": "string"
2019
+ },
2020
+ "default": "'Actions'"
2021
+ },
2022
+ {
2023
+ "kind": "field",
2024
+ "name": "open",
2054
2025
  "type": {
2055
2026
  "text": "boolean"
2056
2027
  },
2057
- "default": "false",
2058
- "description": "Expands or collapses the item.",
2059
- "fieldName": "expanded",
2060
- "inheritedFrom": {
2061
- "name": "AccordionItem",
2062
- "module": "src/accordion-item/accordion-item.ts"
2028
+ "default": "false"
2029
+ },
2030
+ {
2031
+ "kind": "field",
2032
+ "name": "buttonAppearance",
2033
+ "type": {
2034
+ "text": "string"
2035
+ }
2036
+ },
2037
+ {
2038
+ "kind": "field",
2039
+ "name": "hideDisabled",
2040
+ "type": {
2041
+ "text": "boolean"
2042
+ },
2043
+ "default": "false"
2044
+ },
2045
+ {
2046
+ "kind": "field",
2047
+ "name": "hideMenuSingleOption",
2048
+ "type": {
2049
+ "text": "boolean"
2050
+ },
2051
+ "default": "false"
2052
+ },
2053
+ {
2054
+ "kind": "field",
2055
+ "name": "singleOption",
2056
+ "type": {
2057
+ "text": "ActionMenuItem"
2063
2058
  }
2064
2059
  },
2065
2060
  {
2066
- "name": "id",
2067
- "type": {
2068
- "text": "string"
2069
- },
2070
- "description": "The item ID",
2071
- "fieldName": "id",
2072
- "inheritedFrom": {
2073
- "name": "AccordionItem",
2074
- "module": "src/accordion-item/accordion-item.ts"
2075
- }
2076
- }
2077
- ],
2078
- "members": [
2061
+ "kind": "field",
2062
+ "name": "actionsMenu",
2063
+ "type": {
2064
+ "text": "HTMLElement"
2065
+ }
2066
+ },
2067
+ {
2068
+ "kind": "method",
2069
+ "name": "definitionChanged",
2070
+ "privacy": "protected",
2071
+ "parameters": [
2072
+ {
2073
+ "name": "oldValue",
2074
+ "type": {
2075
+ "text": "any"
2076
+ }
2077
+ },
2078
+ {
2079
+ "name": "newValue",
2080
+ "type": {
2081
+ "text": "any"
2082
+ }
2083
+ }
2084
+ ]
2085
+ },
2086
+ {
2087
+ "kind": "method",
2088
+ "name": "openChanged",
2089
+ "privacy": "protected"
2090
+ },
2091
+ {
2092
+ "kind": "method",
2093
+ "name": "toggleActionsMenuVisibility"
2094
+ },
2095
+ {
2096
+ "kind": "method",
2097
+ "name": "onActionMenuItemClick",
2098
+ "parameters": [
2099
+ {
2100
+ "name": "callback",
2101
+ "type": {
2102
+ "text": "(rowData) => void | any"
2103
+ }
2104
+ }
2105
+ ]
2106
+ },
2079
2107
  {
2080
2108
  "kind": "field",
2081
- "name": "headinglevel",
2109
+ "name": "allActions",
2082
2110
  "type": {
2083
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2111
+ "text": "ActionMenuItem[]"
2084
2112
  },
2085
- "privacy": "public",
2086
- "default": "2",
2087
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2088
- "inheritedFrom": {
2089
- "name": "AccordionItem",
2090
- "module": "src/accordion-item/accordion-item.ts"
2091
- }
2113
+ "readonly": true
2092
2114
  },
2093
2115
  {
2094
2116
  "kind": "field",
2095
- "name": "expanded",
2096
- "type": {
2097
- "text": "boolean"
2098
- },
2099
- "privacy": "public",
2100
- "default": "false",
2101
- "description": "Expands or collapses the item.",
2102
- "inheritedFrom": {
2103
- "name": "AccordionItem",
2104
- "module": "src/accordion-item/accordion-item.ts"
2105
- }
2117
+ "name": "rowData",
2118
+ "readonly": true
2106
2119
  },
2107
2120
  {
2108
- "kind": "field",
2109
- "name": "id",
2110
- "type": {
2111
- "text": "string"
2112
- },
2113
- "privacy": "public",
2114
- "description": "The item ID",
2115
- "inheritedFrom": {
2116
- "name": "AccordionItem",
2117
- "module": "src/accordion-item/accordion-item.ts"
2118
- }
2121
+ "kind": "method",
2122
+ "name": "getLabel",
2123
+ "parameters": [
2124
+ {
2125
+ "name": "name",
2126
+ "type": {
2127
+ "text": "string | ((rowData: any) => string)"
2128
+ }
2129
+ }
2130
+ ]
2119
2131
  },
2120
2132
  {
2121
- "kind": "field",
2122
- "name": "change",
2123
- "privacy": "private",
2124
- "inheritedFrom": {
2125
- "name": "AccordionItem",
2126
- "module": "src/accordion-item/accordion-item.ts"
2127
- }
2133
+ "kind": "method",
2134
+ "name": "getTemplate",
2135
+ "parameters": [
2136
+ {
2137
+ "name": "prefix",
2138
+ "type": {
2139
+ "text": "string"
2140
+ }
2141
+ }
2142
+ ]
2128
2143
  },
2129
2144
  {
2130
2145
  "kind": "field",
@@ -2238,78 +2253,107 @@
2238
2253
  }
2239
2254
  }
2240
2255
  ],
2241
- "events": [
2256
+ "attributes": [
2242
2257
  {
2243
- "description": "Fires a custom 'change' event when the button is invoked",
2244
- "name": "change",
2245
- "inheritedFrom": {
2246
- "name": "AccordionItem",
2247
- "module": "src/accordion-item/accordion-item.ts"
2248
- }
2258
+ "name": "is-vertical",
2259
+ "type": {
2260
+ "text": "boolean"
2261
+ },
2262
+ "default": "false",
2263
+ "fieldName": "isVertical"
2264
+ },
2265
+ {
2266
+ "name": "add-default-actions",
2267
+ "type": {
2268
+ "text": "boolean"
2269
+ },
2270
+ "default": "true",
2271
+ "fieldName": "addDefaultActions"
2272
+ },
2273
+ {
2274
+ "name": "auto-close-on-action",
2275
+ "type": {
2276
+ "text": "boolean"
2277
+ },
2278
+ "default": "true",
2279
+ "fieldName": "autoCloseOnAction"
2280
+ },
2281
+ {
2282
+ "name": "name",
2283
+ "type": {
2284
+ "text": "string"
2285
+ },
2286
+ "default": "'Actions'",
2287
+ "fieldName": "name"
2288
+ },
2289
+ {
2290
+ "name": "open",
2291
+ "type": {
2292
+ "text": "boolean"
2293
+ },
2294
+ "default": "false",
2295
+ "fieldName": "open"
2296
+ },
2297
+ {
2298
+ "name": "buttonAppearance",
2299
+ "type": {
2300
+ "text": "string"
2301
+ },
2302
+ "fieldName": "buttonAppearance"
2303
+ },
2304
+ {
2305
+ "name": "hide-disabled",
2306
+ "type": {
2307
+ "text": "boolean"
2308
+ },
2309
+ "default": "false",
2310
+ "fieldName": "hideDisabled"
2311
+ },
2312
+ {
2313
+ "name": "hide-menu-single-option",
2314
+ "type": {
2315
+ "text": "boolean"
2316
+ },
2317
+ "default": "false",
2318
+ "fieldName": "hideMenuSingleOption"
2249
2319
  }
2250
- ]
2251
- },
2252
- {
2253
- "kind": "variable",
2254
- "name": "foundationAccordionItemShadowOptions",
2255
- "type": {
2256
- "text": "ShadowRootInit"
2257
- },
2258
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2259
- },
2260
- {
2261
- "kind": "variable",
2262
- "name": "defaultAccordionItemConfig",
2263
- "type": {
2264
- "text": "object"
2320
+ ],
2321
+ "superclass": {
2322
+ "name": "FoundationElement",
2323
+ "package": "@microsoft/fast-foundation"
2265
2324
  },
2266
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
2325
+ "tagName": "%%prefix%%-actions-menu",
2326
+ "customElement": true
2267
2327
  },
2268
2328
  {
2269
2329
  "kind": "variable",
2270
- "name": "foundationAccordionItem",
2271
- "description": "The Foundation Accordion Item",
2330
+ "name": "foundationActionsMenu",
2331
+ "description": "The Foundation Actions Menu",
2272
2332
  "privacy": "public"
2273
2333
  }
2274
2334
  ],
2275
2335
  "exports": [
2276
2336
  {
2277
2337
  "kind": "js",
2278
- "name": "AccordionItem",
2279
- "declaration": {
2280
- "name": "AccordionItem",
2281
- "module": "src/accordion-item/accordion-item.ts"
2282
- }
2283
- },
2284
- {
2285
- "kind": "js",
2286
- "name": "foundationAccordionItemShadowOptions",
2287
- "declaration": {
2288
- "name": "foundationAccordionItemShadowOptions",
2289
- "module": "src/accordion-item/accordion-item.ts"
2290
- }
2291
- },
2292
- {
2293
- "kind": "js",
2294
- "name": "defaultAccordionItemConfig",
2338
+ "name": "ActionsMenu",
2295
2339
  "declaration": {
2296
- "name": "defaultAccordionItemConfig",
2297
- "module": "src/accordion-item/accordion-item.ts"
2340
+ "name": "ActionsMenu",
2341
+ "module": "src/actions-menu/actions-menu.ts"
2298
2342
  }
2299
2343
  },
2300
2344
  {
2301
2345
  "kind": "js",
2302
- "name": "foundationAccordionItem",
2346
+ "name": "foundationActionsMenu",
2303
2347
  "declaration": {
2304
- "name": "foundationAccordionItem",
2305
- "module": "src/accordion-item/accordion-item.ts"
2348
+ "name": "foundationActionsMenu",
2349
+ "module": "src/actions-menu/actions-menu.ts"
2306
2350
  }
2307
2351
  }
2308
2352
  ]
2309
2353
  },
2310
2354
  {
2311
2355
  "kind": "javascript-module",
2312
- "path": "src/accordion-item/index.ts",
2356
+ "path": "src/actions-menu/index.ts",
2313
2357
  "declarations": [],
2314
2358
  "exports": [
2315
2359
  {
@@ -2317,57 +2361,34 @@
2317
2361
  "name": "*",
2318
2362
  "declaration": {
2319
2363
  "name": "*",
2320
- "package": "./accordion-item.template"
2321
- }
2322
- },
2323
- {
2324
- "kind": "js",
2325
- "name": "*",
2326
- "declaration": {
2327
- "name": "*",
2328
- "package": "./accordion-item.styles"
2364
+ "package": "./actions-menu.styles"
2329
2365
  }
2330
2366
  },
2331
2367
  {
2332
2368
  "kind": "js",
2333
- "name": "*",
2334
- "declaration": {
2335
- "name": "*",
2336
- "package": "./accordion-item"
2337
- }
2338
- }
2339
- ]
2340
- },
2341
- {
2342
- "kind": "javascript-module",
2343
- "path": "src/actions-menu/actions-menu.styles.ts",
2344
- "declarations": [
2345
- {
2346
- "kind": "function",
2347
- "name": "actionsMenuBaseStyles",
2348
- "return": {
2349
- "type": {
2350
- "text": "ElementStyles"
2351
- }
2352
- },
2353
- "parameters": [
2354
- {
2355
- "name": "context",
2356
- "type": {
2357
- "text": "ElementDefinitionContext"
2358
- }
2359
- },
2360
- {
2361
- "name": "definition",
2362
- "type": {
2363
- "text": "FoundationElementDefinition"
2364
- }
2365
- }
2366
- ]
2369
+ "name": "*",
2370
+ "declaration": {
2371
+ "name": "*",
2372
+ "package": "./actions-menu.template"
2373
+ }
2367
2374
  },
2375
+ {
2376
+ "kind": "js",
2377
+ "name": "*",
2378
+ "declaration": {
2379
+ "name": "*",
2380
+ "package": "./actions-menu"
2381
+ }
2382
+ }
2383
+ ]
2384
+ },
2385
+ {
2386
+ "kind": "javascript-module",
2387
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2388
+ "declarations": [
2368
2389
  {
2369
2390
  "kind": "function",
2370
- "name": "foundationActionsMenuStyles",
2391
+ "name": "foundationAiIndicatorStyles",
2371
2392
  "return": {
2372
2393
  "type": {
2373
2394
  "text": "ElementStyles"
@@ -2392,269 +2413,225 @@
2392
2413
  "exports": [
2393
2414
  {
2394
2415
  "kind": "js",
2395
- "name": "actionsMenuBaseStyles",
2396
- "declaration": {
2397
- "name": "actionsMenuBaseStyles",
2398
- "module": "src/actions-menu/actions-menu.styles.ts"
2399
- }
2400
- },
2401
- {
2402
- "kind": "js",
2403
- "name": "foundationActionsMenuStyles",
2416
+ "name": "foundationAiIndicatorStyles",
2404
2417
  "declaration": {
2405
- "name": "foundationActionsMenuStyles",
2406
- "module": "src/actions-menu/actions-menu.styles.ts"
2418
+ "name": "foundationAiIndicatorStyles",
2419
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2407
2420
  }
2408
2421
  }
2409
2422
  ]
2410
2423
  },
2411
2424
  {
2412
2425
  "kind": "javascript-module",
2413
- "path": "src/actions-menu/actions-menu.template.ts",
2426
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2414
2427
  "declarations": [
2415
- {
2416
- "kind": "function",
2417
- "name": "menuTemplate",
2418
- "parameters": [
2419
- {
2420
- "name": "prefix",
2421
- "type": {
2422
- "text": "string"
2423
- }
2424
- }
2425
- ]
2426
- },
2427
- {
2428
- "kind": "function",
2429
- "name": "singleOptionTemplate",
2430
- "parameters": [
2431
- {
2432
- "name": "prefix",
2433
- "type": {
2434
- "text": "string"
2435
- }
2436
- }
2437
- ]
2438
- },
2439
2428
  {
2440
2429
  "kind": "variable",
2441
- "name": "foundationActionsMenuTemplate",
2430
+ "name": "foundationAiIndicatorTemplate",
2442
2431
  "type": {
2443
- "text": "ViewTemplate<ActionsMenu>"
2432
+ "text": "ViewTemplate<AiIndicator>"
2444
2433
  },
2445
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2434
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2446
2435
  }
2447
2436
  ],
2448
2437
  "exports": [
2449
2438
  {
2450
2439
  "kind": "js",
2451
- "name": "menuTemplate",
2452
- "declaration": {
2453
- "name": "menuTemplate",
2454
- "module": "src/actions-menu/actions-menu.template.ts"
2455
- }
2456
- },
2457
- {
2458
- "kind": "js",
2459
- "name": "singleOptionTemplate",
2460
- "declaration": {
2461
- "name": "singleOptionTemplate",
2462
- "module": "src/actions-menu/actions-menu.template.ts"
2463
- }
2464
- },
2465
- {
2466
- "kind": "js",
2467
- "name": "foundationActionsMenuTemplate",
2440
+ "name": "foundationAiIndicatorTemplate",
2468
2441
  "declaration": {
2469
- "name": "foundationActionsMenuTemplate",
2470
- "module": "src/actions-menu/actions-menu.template.ts"
2442
+ "name": "foundationAiIndicatorTemplate",
2443
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2471
2444
  }
2472
2445
  }
2473
2446
  ]
2474
2447
  },
2475
2448
  {
2476
2449
  "kind": "javascript-module",
2477
- "path": "src/actions-menu/actions-menu.ts",
2450
+ "path": "src/ai-indicator/ai-indicator.ts",
2478
2451
  "declarations": [
2479
2452
  {
2480
2453
  "kind": "class",
2481
2454
  "description": "",
2482
- "name": "ActionsMenu",
2455
+ "name": "AiIndicator",
2483
2456
  "members": [
2484
2457
  {
2485
2458
  "kind": "field",
2486
- "name": "actions",
2459
+ "name": "providerRegistry",
2487
2460
  "type": {
2488
- "text": "ActionMenuItem[]"
2461
+ "text": "AIProviderRegistry"
2489
2462
  }
2490
2463
  },
2491
2464
  {
2492
2465
  "kind": "field",
2493
- "name": "isVertical",
2466
+ "name": "aiProvider",
2494
2467
  "type": {
2495
- "text": "boolean"
2468
+ "text": "AIProvider | undefined"
2496
2469
  },
2497
- "default": "false"
2470
+ "privacy": "private",
2471
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
2472
+ "readonly": true
2498
2473
  },
2499
2474
  {
2500
2475
  "kind": "field",
2501
- "name": "addDefaultActions",
2476
+ "name": "status",
2502
2477
  "type": {
2503
- "text": "boolean"
2478
+ "text": "AIStatus | null"
2504
2479
  },
2505
- "default": "true"
2480
+ "default": "null"
2506
2481
  },
2507
2482
  {
2508
2483
  "kind": "field",
2509
- "name": "autoCloseOnAction",
2484
+ "name": "open",
2510
2485
  "type": {
2511
2486
  "text": "boolean"
2512
2487
  },
2513
- "default": "true"
2514
- },
2515
- {
2516
- "kind": "field",
2517
- "name": "classNames",
2518
- "type": {
2519
- "text": "string"
2520
- }
2488
+ "default": "false"
2521
2489
  },
2522
2490
  {
2523
2491
  "kind": "field",
2524
- "name": "definition",
2492
+ "name": "state",
2525
2493
  "type": {
2526
- "text": "any"
2527
- }
2494
+ "text": "AIIndicatorState"
2495
+ },
2496
+ "default": "'none'"
2528
2497
  },
2529
2498
  {
2530
2499
  "kind": "field",
2531
- "name": "name",
2500
+ "name": "isInstalling",
2532
2501
  "type": {
2533
- "text": "string"
2502
+ "text": "boolean"
2534
2503
  },
2535
- "default": "'Actions'"
2504
+ "default": "false"
2536
2505
  },
2537
2506
  {
2538
2507
  "kind": "field",
2539
- "name": "open",
2508
+ "name": "pollTimer",
2540
2509
  "type": {
2541
- "text": "boolean"
2510
+ "text": "ReturnType<typeof setInterval> | null"
2542
2511
  },
2543
- "default": "false"
2512
+ "privacy": "private",
2513
+ "default": "null"
2544
2514
  },
2545
2515
  {
2546
2516
  "kind": "field",
2547
- "name": "buttonAppearance",
2548
- "type": {
2549
- "text": "string"
2550
- }
2517
+ "name": "clickOutside",
2518
+ "privacy": "private"
2551
2519
  },
2552
2520
  {
2553
2521
  "kind": "field",
2554
- "name": "hideDisabled",
2522
+ "name": "chromeStatusLabel",
2555
2523
  "type": {
2556
- "text": "boolean"
2524
+ "text": "string | null"
2557
2525
  },
2558
- "default": "false"
2526
+ "readonly": true
2559
2527
  },
2560
2528
  {
2561
2529
  "kind": "field",
2562
- "name": "hideMenuSingleOption",
2530
+ "name": "canInstall",
2563
2531
  "type": {
2564
2532
  "text": "boolean"
2565
2533
  },
2566
- "default": "false"
2534
+ "readonly": true
2567
2535
  },
2568
2536
  {
2569
2537
  "kind": "field",
2570
- "name": "singleOption",
2538
+ "name": "isDownloading",
2571
2539
  "type": {
2572
- "text": "ActionMenuItem"
2573
- }
2540
+ "text": "boolean"
2541
+ },
2542
+ "readonly": true
2574
2543
  },
2575
2544
  {
2576
- "kind": "field",
2577
- "name": "actionsMenu",
2578
- "type": {
2579
- "text": "HTMLElement"
2545
+ "kind": "method",
2546
+ "name": "openChanged",
2547
+ "return": {
2548
+ "type": {
2549
+ "text": "void"
2550
+ }
2580
2551
  }
2581
2552
  },
2582
2553
  {
2583
2554
  "kind": "method",
2584
- "name": "definitionChanged",
2585
- "privacy": "protected",
2555
+ "name": "handleClickOutside",
2556
+ "privacy": "private",
2586
2557
  "parameters": [
2587
2558
  {
2588
- "name": "oldValue",
2589
- "type": {
2590
- "text": "any"
2591
- }
2592
- },
2593
- {
2594
- "name": "newValue",
2559
+ "name": "event",
2595
2560
  "type": {
2596
- "text": "any"
2561
+ "text": "MouseEvent"
2597
2562
  }
2598
2563
  }
2599
2564
  ]
2600
2565
  },
2601
2566
  {
2602
2567
  "kind": "method",
2603
- "name": "openChanged",
2604
- "privacy": "protected"
2568
+ "name": "toggleDropdown"
2605
2569
  },
2606
2570
  {
2607
2571
  "kind": "method",
2608
- "name": "toggleActionsMenuVisibility"
2572
+ "name": "refreshStatus",
2573
+ "return": {
2574
+ "type": {
2575
+ "text": "Promise<void>"
2576
+ }
2577
+ }
2609
2578
  },
2610
2579
  {
2611
2580
  "kind": "method",
2612
- "name": "onActionMenuItemClick",
2581
+ "name": "deriveState",
2582
+ "privacy": "private",
2583
+ "return": {
2584
+ "type": {
2585
+ "text": "AIIndicatorState"
2586
+ }
2587
+ },
2613
2588
  "parameters": [
2614
2589
  {
2615
- "name": "callback",
2590
+ "name": "s",
2616
2591
  "type": {
2617
- "text": "(rowData) => void | any"
2592
+ "text": "AIStatus | null"
2618
2593
  }
2619
2594
  }
2620
2595
  ]
2621
2596
  },
2622
2597
  {
2623
- "kind": "field",
2624
- "name": "allActions",
2625
- "type": {
2626
- "text": "ActionMenuItem[]"
2627
- },
2628
- "readonly": true
2629
- },
2630
- {
2631
- "kind": "field",
2632
- "name": "rowData",
2633
- "readonly": true
2598
+ "kind": "method",
2599
+ "name": "maybeStartPolling",
2600
+ "privacy": "private",
2601
+ "return": {
2602
+ "type": {
2603
+ "text": "void"
2604
+ }
2605
+ }
2634
2606
  },
2635
2607
  {
2636
2608
  "kind": "method",
2637
- "name": "getLabel",
2638
- "parameters": [
2639
- {
2640
- "name": "name",
2641
- "type": {
2642
- "text": "string | ((rowData: any) => string)"
2643
- }
2609
+ "name": "startPolling",
2610
+ "privacy": "private",
2611
+ "return": {
2612
+ "type": {
2613
+ "text": "void"
2644
2614
  }
2645
- ]
2615
+ }
2646
2616
  },
2647
2617
  {
2648
2618
  "kind": "method",
2649
- "name": "getTemplate",
2650
- "parameters": [
2651
- {
2652
- "name": "prefix",
2653
- "type": {
2654
- "text": "string"
2655
- }
2619
+ "name": "stopPolling",
2620
+ "privacy": "private",
2621
+ "return": {
2622
+ "type": {
2623
+ "text": "void"
2656
2624
  }
2657
- ]
2625
+ }
2626
+ },
2627
+ {
2628
+ "kind": "method",
2629
+ "name": "onInstall",
2630
+ "return": {
2631
+ "type": {
2632
+ "text": "Promise<void>"
2633
+ }
2634
+ }
2658
2635
  },
2659
2636
  {
2660
2637
  "kind": "field",
@@ -2768,131 +2745,88 @@
2768
2745
  }
2769
2746
  }
2770
2747
  ],
2771
- "attributes": [
2772
- {
2773
- "name": "is-vertical",
2774
- "type": {
2775
- "text": "boolean"
2776
- },
2777
- "default": "false",
2778
- "fieldName": "isVertical"
2779
- },
2780
- {
2781
- "name": "add-default-actions",
2782
- "type": {
2783
- "text": "boolean"
2784
- },
2785
- "default": "true",
2786
- "fieldName": "addDefaultActions"
2787
- },
2788
- {
2789
- "name": "auto-close-on-action",
2790
- "type": {
2791
- "text": "boolean"
2792
- },
2793
- "default": "true",
2794
- "fieldName": "autoCloseOnAction"
2795
- },
2796
- {
2797
- "name": "name",
2798
- "type": {
2799
- "text": "string"
2800
- },
2801
- "default": "'Actions'",
2802
- "fieldName": "name"
2803
- },
2804
- {
2805
- "name": "open",
2806
- "type": {
2807
- "text": "boolean"
2808
- },
2809
- "default": "false",
2810
- "fieldName": "open"
2811
- },
2812
- {
2813
- "name": "buttonAppearance",
2814
- "type": {
2815
- "text": "string"
2816
- },
2817
- "fieldName": "buttonAppearance"
2818
- },
2819
- {
2820
- "name": "hide-disabled",
2821
- "type": {
2822
- "text": "boolean"
2823
- },
2824
- "default": "false",
2825
- "fieldName": "hideDisabled"
2826
- },
2827
- {
2828
- "name": "hide-menu-single-option",
2829
- "type": {
2830
- "text": "boolean"
2831
- },
2832
- "default": "false",
2833
- "fieldName": "hideMenuSingleOption"
2834
- }
2835
- ],
2836
2748
  "superclass": {
2837
2749
  "name": "FoundationElement",
2838
2750
  "package": "@microsoft/fast-foundation"
2839
2751
  },
2840
- "tagName": "%%prefix%%-actions-menu",
2752
+ "tagName": "%%prefix%%-ai-indicator",
2841
2753
  "customElement": true
2842
2754
  },
2843
2755
  {
2844
2756
  "kind": "variable",
2845
- "name": "foundationActionsMenu",
2846
- "description": "The Foundation Actions Menu",
2847
- "privacy": "public"
2757
+ "name": "foundationAiIndicator"
2848
2758
  }
2849
2759
  ],
2850
2760
  "exports": [
2851
2761
  {
2852
2762
  "kind": "js",
2853
- "name": "ActionsMenu",
2763
+ "name": "AiIndicator",
2854
2764
  "declaration": {
2855
- "name": "ActionsMenu",
2856
- "module": "src/actions-menu/actions-menu.ts"
2765
+ "name": "AiIndicator",
2766
+ "module": "src/ai-indicator/ai-indicator.ts"
2857
2767
  }
2858
2768
  },
2859
2769
  {
2860
2770
  "kind": "js",
2861
- "name": "foundationActionsMenu",
2771
+ "name": "foundationAiIndicator",
2862
2772
  "declaration": {
2863
- "name": "foundationActionsMenu",
2864
- "module": "src/actions-menu/actions-menu.ts"
2773
+ "name": "foundationAiIndicator",
2774
+ "module": "src/ai-indicator/ai-indicator.ts"
2865
2775
  }
2866
2776
  }
2867
2777
  ]
2868
2778
  },
2869
2779
  {
2870
2780
  "kind": "javascript-module",
2871
- "path": "src/actions-menu/index.ts",
2781
+ "path": "src/ai-indicator/index.ts",
2872
2782
  "declarations": [],
2873
2783
  "exports": [
2874
2784
  {
2875
2785
  "kind": "js",
2876
- "name": "*",
2786
+ "name": "AiIndicator",
2877
2787
  "declaration": {
2878
- "name": "*",
2879
- "package": "./actions-menu.styles"
2788
+ "name": "AiIndicator",
2789
+ "module": "./ai-indicator"
2880
2790
  }
2881
2791
  },
2882
2792
  {
2883
2793
  "kind": "js",
2884
- "name": "*",
2794
+ "name": "foundationAiIndicator",
2885
2795
  "declaration": {
2886
- "name": "*",
2887
- "package": "./actions-menu.template"
2796
+ "name": "foundationAiIndicator",
2797
+ "module": "./ai-indicator"
2888
2798
  }
2889
2799
  },
2890
2800
  {
2891
2801
  "kind": "js",
2892
- "name": "*",
2802
+ "name": "type",
2893
2803
  "declaration": {
2894
- "name": "*",
2895
- "package": "./actions-menu"
2804
+ "name": "type",
2805
+ "module": "./ai-indicator"
2806
+ }
2807
+ },
2808
+ {
2809
+ "kind": "js",
2810
+ "name": "AIIndicatorState",
2811
+ "declaration": {
2812
+ "name": "AIIndicatorState",
2813
+ "module": "./ai-indicator"
2814
+ }
2815
+ },
2816
+ {
2817
+ "kind": "js",
2818
+ "name": "foundationAiIndicatorTemplate",
2819
+ "declaration": {
2820
+ "name": "foundationAiIndicatorTemplate",
2821
+ "module": "./ai-indicator.template"
2822
+ }
2823
+ },
2824
+ {
2825
+ "kind": "js",
2826
+ "name": "foundationAiIndicatorStyles",
2827
+ "declaration": {
2828
+ "name": "foundationAiIndicatorStyles",
2829
+ "module": "./ai-indicator.styles"
2896
2830
  }
2897
2831
  }
2898
2832
  ]
@@ -3508,11 +3442,11 @@
3508
3442
  },
3509
3443
  {
3510
3444
  "kind": "javascript-module",
3511
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3445
+ "path": "src/accordion/accordion.styles.ts",
3512
3446
  "declarations": [
3513
3447
  {
3514
3448
  "kind": "function",
3515
- "name": "foundationAiIndicatorStyles",
3449
+ "name": "foundationAccordionStyles",
3516
3450
  "return": {
3517
3451
  "type": {
3518
3452
  "text": "ElementStyles"
@@ -3537,224 +3471,276 @@
3537
3471
  "exports": [
3538
3472
  {
3539
3473
  "kind": "js",
3540
- "name": "foundationAiIndicatorStyles",
3474
+ "name": "foundationAccordionStyles",
3541
3475
  "declaration": {
3542
- "name": "foundationAiIndicatorStyles",
3543
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3476
+ "name": "foundationAccordionStyles",
3477
+ "module": "src/accordion/accordion.styles.ts"
3544
3478
  }
3545
3479
  }
3546
3480
  ]
3547
3481
  },
3548
3482
  {
3549
3483
  "kind": "javascript-module",
3550
- "path": "src/ai-indicator/ai-indicator.template.ts",
3484
+ "path": "src/accordion/accordion.template.ts",
3551
3485
  "declarations": [
3552
3486
  {
3553
- "kind": "variable",
3554
- "name": "foundationAiIndicatorTemplate",
3555
- "type": {
3556
- "text": "ViewTemplate<AiIndicator>"
3487
+ "kind": "function",
3488
+ "name": "foundationAccordionTemplate",
3489
+ "return": {
3490
+ "type": {
3491
+ "text": "ViewTemplate<Accordion>"
3492
+ }
3557
3493
  },
3558
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3494
+ "parameters": [
3495
+ {
3496
+ "name": "context",
3497
+ "type": {
3498
+ "text": "ElementDefinitionContext"
3499
+ }
3500
+ },
3501
+ {
3502
+ "name": "definition",
3503
+ "type": {
3504
+ "text": "FoundationElementDefinition"
3505
+ }
3506
+ }
3507
+ ]
3559
3508
  }
3560
3509
  ],
3561
3510
  "exports": [
3562
3511
  {
3563
3512
  "kind": "js",
3564
- "name": "foundationAiIndicatorTemplate",
3513
+ "name": "foundationAccordionTemplate",
3565
3514
  "declaration": {
3566
- "name": "foundationAiIndicatorTemplate",
3567
- "module": "src/ai-indicator/ai-indicator.template.ts"
3515
+ "name": "foundationAccordionTemplate",
3516
+ "module": "src/accordion/accordion.template.ts"
3568
3517
  }
3569
3518
  }
3570
3519
  ]
3571
3520
  },
3572
3521
  {
3573
3522
  "kind": "javascript-module",
3574
- "path": "src/ai-indicator/ai-indicator.ts",
3523
+ "path": "src/accordion/accordion.ts",
3575
3524
  "declarations": [
3576
3525
  {
3577
3526
  "kind": "class",
3578
3527
  "description": "",
3579
- "name": "AiIndicator",
3580
- "members": [
3581
- {
3582
- "kind": "field",
3583
- "name": "providerRegistry",
3584
- "type": {
3585
- "text": "AIProviderRegistry"
3586
- }
3587
- },
3588
- {
3589
- "kind": "field",
3590
- "name": "aiProvider",
3591
- "type": {
3592
- "text": "AIProvider | undefined"
3593
- },
3594
- "privacy": "private",
3595
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3596
- "readonly": true
3597
- },
3528
+ "name": "Accordion",
3529
+ "superclass": {
3530
+ "name": "FASTAccordion",
3531
+ "package": "@microsoft/fast-foundation"
3532
+ },
3533
+ "tagName": "%%prefix%%-accordion",
3534
+ "customElement": true,
3535
+ "attributes": [
3598
3536
  {
3599
- "kind": "field",
3600
- "name": "status",
3537
+ "name": "expand-mode",
3601
3538
  "type": {
3602
- "text": "AIStatus | null"
3539
+ "text": "AccordionExpandMode"
3603
3540
  },
3604
- "default": "null"
3605
- },
3541
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3542
+ "fieldName": "expandmode",
3543
+ "inheritedFrom": {
3544
+ "name": "Accordion",
3545
+ "module": "src/accordion/accordion.ts"
3546
+ }
3547
+ }
3548
+ ],
3549
+ "members": [
3606
3550
  {
3607
3551
  "kind": "field",
3608
- "name": "open",
3552
+ "name": "expandmode",
3609
3553
  "type": {
3610
- "text": "boolean"
3554
+ "text": "AccordionExpandMode"
3611
3555
  },
3612
- "default": "false"
3556
+ "privacy": "public",
3557
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3558
+ "inheritedFrom": {
3559
+ "name": "Accordion",
3560
+ "module": "src/accordion/accordion.ts"
3561
+ }
3613
3562
  },
3614
3563
  {
3615
3564
  "kind": "field",
3616
- "name": "state",
3565
+ "name": "activeid",
3617
3566
  "type": {
3618
- "text": "AIIndicatorState"
3567
+ "text": "string | null"
3619
3568
  },
3620
- "default": "'none'"
3569
+ "privacy": "private",
3570
+ "inheritedFrom": {
3571
+ "name": "Accordion",
3572
+ "module": "src/accordion/accordion.ts"
3573
+ }
3621
3574
  },
3622
3575
  {
3623
3576
  "kind": "field",
3624
- "name": "isInstalling",
3577
+ "name": "activeItemIndex",
3625
3578
  "type": {
3626
- "text": "boolean"
3579
+ "text": "number"
3627
3580
  },
3628
- "default": "false"
3581
+ "privacy": "private",
3582
+ "default": "0",
3583
+ "inheritedFrom": {
3584
+ "name": "Accordion",
3585
+ "module": "src/accordion/accordion.ts"
3586
+ }
3629
3587
  },
3630
3588
  {
3631
3589
  "kind": "field",
3632
- "name": "pollTimer",
3590
+ "name": "accordionIds",
3633
3591
  "type": {
3634
- "text": "ReturnType<typeof setInterval> | null"
3592
+ "text": "Array<string | null>"
3635
3593
  },
3636
3594
  "privacy": "private",
3637
- "default": "null"
3638
- },
3639
- {
3640
- "kind": "field",
3641
- "name": "clickOutside",
3642
- "privacy": "private"
3595
+ "inheritedFrom": {
3596
+ "name": "Accordion",
3597
+ "module": "src/accordion/accordion.ts"
3598
+ }
3643
3599
  },
3644
3600
  {
3645
3601
  "kind": "field",
3646
- "name": "chromeStatusLabel",
3647
- "type": {
3648
- "text": "string | null"
3649
- },
3650
- "readonly": true
3602
+ "name": "change",
3603
+ "privacy": "private",
3604
+ "inheritedFrom": {
3605
+ "name": "Accordion",
3606
+ "module": "src/accordion/accordion.ts"
3607
+ }
3651
3608
  },
3652
3609
  {
3653
- "kind": "field",
3654
- "name": "canInstall",
3655
- "type": {
3656
- "text": "boolean"
3610
+ "kind": "method",
3611
+ "name": "findExpandedItem",
3612
+ "privacy": "private",
3613
+ "return": {
3614
+ "type": {
3615
+ "text": "AccordionItem | null"
3616
+ }
3657
3617
  },
3658
- "readonly": true
3618
+ "inheritedFrom": {
3619
+ "name": "Accordion",
3620
+ "module": "src/accordion/accordion.ts"
3621
+ }
3659
3622
  },
3660
3623
  {
3661
3624
  "kind": "field",
3662
- "name": "isDownloading",
3663
- "type": {
3664
- "text": "boolean"
3665
- },
3666
- "readonly": true
3625
+ "name": "setItems",
3626
+ "privacy": "private",
3627
+ "inheritedFrom": {
3628
+ "name": "Accordion",
3629
+ "module": "src/accordion/accordion.ts"
3630
+ }
3667
3631
  },
3668
3632
  {
3669
3633
  "kind": "method",
3670
- "name": "openChanged",
3634
+ "name": "resetItems",
3635
+ "privacy": "private",
3671
3636
  "return": {
3672
3637
  "type": {
3673
3638
  "text": "void"
3674
3639
  }
3640
+ },
3641
+ "inheritedFrom": {
3642
+ "name": "Accordion",
3643
+ "module": "src/accordion/accordion.ts"
3675
3644
  }
3676
3645
  },
3677
3646
  {
3678
- "kind": "method",
3679
- "name": "handleClickOutside",
3647
+ "kind": "field",
3648
+ "name": "removeItemListeners",
3680
3649
  "privacy": "private",
3681
- "parameters": [
3682
- {
3683
- "name": "event",
3684
- "type": {
3685
- "text": "MouseEvent"
3686
- }
3687
- }
3688
- ]
3650
+ "inheritedFrom": {
3651
+ "name": "Accordion",
3652
+ "module": "src/accordion/accordion.ts"
3653
+ }
3689
3654
  },
3690
3655
  {
3691
- "kind": "method",
3692
- "name": "toggleDropdown"
3656
+ "kind": "field",
3657
+ "name": "activeItemChange",
3658
+ "privacy": "private",
3659
+ "inheritedFrom": {
3660
+ "name": "Accordion",
3661
+ "module": "src/accordion/accordion.ts"
3662
+ }
3693
3663
  },
3694
3664
  {
3695
3665
  "kind": "method",
3696
- "name": "refreshStatus",
3666
+ "name": "getItemIds",
3667
+ "privacy": "private",
3697
3668
  "return": {
3698
3669
  "type": {
3699
- "text": "Promise<void>"
3670
+ "text": "Array<string | null>"
3700
3671
  }
3672
+ },
3673
+ "inheritedFrom": {
3674
+ "name": "Accordion",
3675
+ "module": "src/accordion/accordion.ts"
3701
3676
  }
3702
3677
  },
3703
3678
  {
3704
3679
  "kind": "method",
3705
- "name": "deriveState",
3680
+ "name": "isSingleExpandMode",
3706
3681
  "privacy": "private",
3707
3682
  "return": {
3708
3683
  "type": {
3709
- "text": "AIIndicatorState"
3684
+ "text": "boolean"
3710
3685
  }
3711
3686
  },
3712
- "parameters": [
3713
- {
3714
- "name": "s",
3715
- "type": {
3716
- "text": "AIStatus | null"
3717
- }
3718
- }
3719
- ]
3687
+ "inheritedFrom": {
3688
+ "name": "Accordion",
3689
+ "module": "src/accordion/accordion.ts"
3690
+ }
3720
3691
  },
3721
3692
  {
3722
- "kind": "method",
3723
- "name": "maybeStartPolling",
3693
+ "kind": "field",
3694
+ "name": "handleItemKeyDown",
3724
3695
  "privacy": "private",
3725
- "return": {
3726
- "type": {
3727
- "text": "void"
3728
- }
3696
+ "inheritedFrom": {
3697
+ "name": "Accordion",
3698
+ "module": "src/accordion/accordion.ts"
3729
3699
  }
3730
3700
  },
3731
3701
  {
3732
- "kind": "method",
3733
- "name": "startPolling",
3702
+ "kind": "field",
3703
+ "name": "handleItemFocus",
3734
3704
  "privacy": "private",
3735
- "return": {
3736
- "type": {
3737
- "text": "void"
3738
- }
3705
+ "inheritedFrom": {
3706
+ "name": "Accordion",
3707
+ "module": "src/accordion/accordion.ts"
3739
3708
  }
3740
3709
  },
3741
3710
  {
3742
3711
  "kind": "method",
3743
- "name": "stopPolling",
3712
+ "name": "adjust",
3744
3713
  "privacy": "private",
3745
3714
  "return": {
3746
3715
  "type": {
3747
3716
  "text": "void"
3748
3717
  }
3718
+ },
3719
+ "parameters": [
3720
+ {
3721
+ "name": "adjustment",
3722
+ "type": {
3723
+ "text": "number"
3724
+ }
3725
+ }
3726
+ ],
3727
+ "inheritedFrom": {
3728
+ "name": "Accordion",
3729
+ "module": "src/accordion/accordion.ts"
3749
3730
  }
3750
3731
  },
3751
3732
  {
3752
3733
  "kind": "method",
3753
- "name": "onInstall",
3734
+ "name": "focusItem",
3735
+ "privacy": "private",
3754
3736
  "return": {
3755
3737
  "type": {
3756
- "text": "Promise<void>"
3738
+ "text": "void"
3757
3739
  }
3740
+ },
3741
+ "inheritedFrom": {
3742
+ "name": "Accordion",
3743
+ "module": "src/accordion/accordion.ts"
3758
3744
  }
3759
3745
  },
3760
3746
  {
@@ -3869,88 +3855,102 @@
3869
3855
  }
3870
3856
  }
3871
3857
  ],
3872
- "superclass": {
3873
- "name": "FoundationElement",
3874
- "package": "@microsoft/fast-foundation"
3858
+ "events": [
3859
+ {
3860
+ "description": "Fires a custom 'change' event when the active item changes",
3861
+ "name": "change",
3862
+ "inheritedFrom": {
3863
+ "name": "Accordion",
3864
+ "module": "src/accordion/accordion.ts"
3865
+ }
3866
+ }
3867
+ ]
3868
+ },
3869
+ {
3870
+ "kind": "variable",
3871
+ "name": "foundationAccordionShadowOptions",
3872
+ "type": {
3873
+ "text": "ShadowRootInit"
3875
3874
  },
3876
- "tagName": "%%prefix%%-ai-indicator",
3877
- "customElement": true
3875
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3878
3876
  },
3879
3877
  {
3880
3878
  "kind": "variable",
3881
- "name": "foundationAiIndicator"
3879
+ "name": "defaultAccordionConfig",
3880
+ "type": {
3881
+ "text": "object"
3882
+ },
3883
+ "default": "{}"
3884
+ },
3885
+ {
3886
+ "kind": "variable",
3887
+ "name": "foundationAccordion",
3888
+ "description": "The Foundation Accordion",
3889
+ "privacy": "public"
3882
3890
  }
3883
3891
  ],
3884
3892
  "exports": [
3885
3893
  {
3886
3894
  "kind": "js",
3887
- "name": "AiIndicator",
3895
+ "name": "Accordion",
3888
3896
  "declaration": {
3889
- "name": "AiIndicator",
3890
- "module": "src/ai-indicator/ai-indicator.ts"
3897
+ "name": "Accordion",
3898
+ "module": "src/accordion/accordion.ts"
3891
3899
  }
3892
3900
  },
3893
3901
  {
3894
3902
  "kind": "js",
3895
- "name": "foundationAiIndicator",
3896
- "declaration": {
3897
- "name": "foundationAiIndicator",
3898
- "module": "src/ai-indicator/ai-indicator.ts"
3899
- }
3900
- }
3901
- ]
3902
- },
3903
- {
3904
- "kind": "javascript-module",
3905
- "path": "src/ai-indicator/index.ts",
3906
- "declarations": [],
3907
- "exports": [
3908
- {
3909
- "kind": "js",
3910
- "name": "AiIndicator",
3903
+ "name": "foundationAccordionShadowOptions",
3911
3904
  "declaration": {
3912
- "name": "AiIndicator",
3913
- "module": "./ai-indicator"
3905
+ "name": "foundationAccordionShadowOptions",
3906
+ "module": "src/accordion/accordion.ts"
3914
3907
  }
3915
3908
  },
3916
3909
  {
3917
3910
  "kind": "js",
3918
- "name": "foundationAiIndicator",
3911
+ "name": "defaultAccordionConfig",
3919
3912
  "declaration": {
3920
- "name": "foundationAiIndicator",
3921
- "module": "./ai-indicator"
3913
+ "name": "defaultAccordionConfig",
3914
+ "module": "src/accordion/accordion.ts"
3922
3915
  }
3923
3916
  },
3924
3917
  {
3925
3918
  "kind": "js",
3926
- "name": "type",
3919
+ "name": "foundationAccordion",
3927
3920
  "declaration": {
3928
- "name": "type",
3929
- "module": "./ai-indicator"
3921
+ "name": "foundationAccordion",
3922
+ "module": "src/accordion/accordion.ts"
3930
3923
  }
3931
- },
3924
+ }
3925
+ ]
3926
+ },
3927
+ {
3928
+ "kind": "javascript-module",
3929
+ "path": "src/accordion/index.ts",
3930
+ "declarations": [],
3931
+ "exports": [
3932
3932
  {
3933
3933
  "kind": "js",
3934
- "name": "AIIndicatorState",
3934
+ "name": "*",
3935
3935
  "declaration": {
3936
- "name": "AIIndicatorState",
3937
- "module": "./ai-indicator"
3936
+ "name": "*",
3937
+ "package": "./accordion.template"
3938
3938
  }
3939
3939
  },
3940
3940
  {
3941
3941
  "kind": "js",
3942
- "name": "foundationAiIndicatorTemplate",
3942
+ "name": "*",
3943
3943
  "declaration": {
3944
- "name": "foundationAiIndicatorTemplate",
3945
- "module": "./ai-indicator.template"
3944
+ "name": "*",
3945
+ "package": "./accordion.styles"
3946
3946
  }
3947
3947
  },
3948
3948
  {
3949
3949
  "kind": "js",
3950
- "name": "foundationAiIndicatorStyles",
3950
+ "name": "*",
3951
3951
  "declaration": {
3952
- "name": "foundationAiIndicatorStyles",
3953
- "module": "./ai-indicator.styles"
3952
+ "name": "*",
3953
+ "package": "./accordion"
3954
3954
  }
3955
3955
  }
3956
3956
  ]