@genesislcap/foundation-ui 14.421.1 → 14.422.1-alpha-6f2ae99.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.
@@ -1392,11 +1392,42 @@
1392
1392
  },
1393
1393
  {
1394
1394
  "kind": "javascript-module",
1395
- "path": "src/accordion/accordion.styles.ts",
1395
+ "path": "src/_config/index.ts",
1396
+ "declarations": [],
1397
+ "exports": [
1398
+ {
1399
+ "kind": "js",
1400
+ "name": "*",
1401
+ "declaration": {
1402
+ "name": "*",
1403
+ "package": "./styles"
1404
+ }
1405
+ },
1406
+ {
1407
+ "kind": "js",
1408
+ "name": "*",
1409
+ "declaration": {
1410
+ "name": "*",
1411
+ "package": "./tokens"
1412
+ }
1413
+ },
1414
+ {
1415
+ "kind": "js",
1416
+ "name": "*",
1417
+ "declaration": {
1418
+ "name": "*",
1419
+ "package": "./values"
1420
+ }
1421
+ }
1422
+ ]
1423
+ },
1424
+ {
1425
+ "kind": "javascript-module",
1426
+ "path": "src/accordion-item/accordion-item.styles.ts",
1396
1427
  "declarations": [
1397
1428
  {
1398
1429
  "kind": "function",
1399
- "name": "foundationAccordionStyles",
1430
+ "name": "foundationAccordionItemStyles",
1400
1431
  "return": {
1401
1432
  "type": {
1402
1433
  "text": "ElementStyles"
@@ -1421,24 +1452,24 @@
1421
1452
  "exports": [
1422
1453
  {
1423
1454
  "kind": "js",
1424
- "name": "foundationAccordionStyles",
1455
+ "name": "foundationAccordionItemStyles",
1425
1456
  "declaration": {
1426
- "name": "foundationAccordionStyles",
1427
- "module": "src/accordion/accordion.styles.ts"
1457
+ "name": "foundationAccordionItemStyles",
1458
+ "module": "src/accordion-item/accordion-item.styles.ts"
1428
1459
  }
1429
1460
  }
1430
1461
  ]
1431
1462
  },
1432
1463
  {
1433
1464
  "kind": "javascript-module",
1434
- "path": "src/accordion/accordion.template.ts",
1465
+ "path": "src/accordion-item/accordion-item.template.ts",
1435
1466
  "declarations": [
1436
1467
  {
1437
1468
  "kind": "function",
1438
- "name": "foundationAccordionTemplate",
1469
+ "name": "foundationAccordionItemTemplate",
1439
1470
  "return": {
1440
1471
  "type": {
1441
- "text": "ViewTemplate<Accordion>"
1472
+ "text": "ViewTemplate<AccordionItem>"
1442
1473
  }
1443
1474
  },
1444
1475
  "parameters": [
@@ -1460,365 +1491,244 @@
1460
1491
  "exports": [
1461
1492
  {
1462
1493
  "kind": "js",
1463
- "name": "foundationAccordionTemplate",
1494
+ "name": "foundationAccordionItemTemplate",
1464
1495
  "declaration": {
1465
- "name": "foundationAccordionTemplate",
1466
- "module": "src/accordion/accordion.template.ts"
1496
+ "name": "foundationAccordionItemTemplate",
1497
+ "module": "src/accordion-item/accordion-item.template.ts"
1467
1498
  }
1468
1499
  }
1469
1500
  ]
1470
1501
  },
1471
1502
  {
1472
1503
  "kind": "javascript-module",
1473
- "path": "src/accordion/accordion.ts",
1504
+ "path": "src/accordion-item/accordion-item.ts",
1474
1505
  "declarations": [
1475
1506
  {
1476
1507
  "kind": "class",
1477
1508
  "description": "",
1478
- "name": "Accordion",
1509
+ "name": "AccordionItem",
1479
1510
  "superclass": {
1480
- "name": "FASTAccordion",
1481
- "package": "@microsoft/fast-foundation"
1511
+ "name": "FASTAccordionItem",
1512
+ "package": "@microsoft/fast-components"
1482
1513
  },
1483
- "tagName": "%%prefix%%-accordion",
1514
+ "tagName": "%%prefix%%-accordion-item",
1484
1515
  "customElement": true,
1485
1516
  "attributes": [
1486
1517
  {
1487
- "name": "expand-mode",
1518
+ "name": "heading-level",
1488
1519
  "type": {
1489
- "text": "AccordionExpandMode"
1520
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1490
1521
  },
1491
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1492
- "fieldName": "expandmode",
1522
+ "default": "2",
1523
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1524
+ "fieldName": "headinglevel",
1493
1525
  "inheritedFrom": {
1494
- "name": "Accordion",
1495
- "module": "src/accordion/accordion.ts"
1526
+ "name": "AccordionItem",
1527
+ "module": "src/accordion-item/accordion-item.ts"
1528
+ }
1529
+ },
1530
+ {
1531
+ "type": {
1532
+ "text": "boolean"
1533
+ },
1534
+ "default": "false",
1535
+ "description": "Expands or collapses the item.",
1536
+ "fieldName": "expanded",
1537
+ "inheritedFrom": {
1538
+ "name": "AccordionItem",
1539
+ "module": "src/accordion-item/accordion-item.ts"
1540
+ }
1541
+ },
1542
+ {
1543
+ "name": "id",
1544
+ "type": {
1545
+ "text": "string"
1546
+ },
1547
+ "description": "The item ID",
1548
+ "fieldName": "id",
1549
+ "inheritedFrom": {
1550
+ "name": "AccordionItem",
1551
+ "module": "src/accordion-item/accordion-item.ts"
1496
1552
  }
1497
1553
  }
1498
1554
  ],
1499
1555
  "members": [
1500
1556
  {
1501
1557
  "kind": "field",
1502
- "name": "expandmode",
1558
+ "name": "headinglevel",
1503
1559
  "type": {
1504
- "text": "AccordionExpandMode"
1560
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1505
1561
  },
1506
1562
  "privacy": "public",
1507
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1563
+ "default": "2",
1564
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1508
1565
  "inheritedFrom": {
1509
- "name": "Accordion",
1510
- "module": "src/accordion/accordion.ts"
1566
+ "name": "AccordionItem",
1567
+ "module": "src/accordion-item/accordion-item.ts"
1511
1568
  }
1512
1569
  },
1513
1570
  {
1514
1571
  "kind": "field",
1515
- "name": "activeid",
1572
+ "name": "expanded",
1516
1573
  "type": {
1517
- "text": "string | null"
1574
+ "text": "boolean"
1518
1575
  },
1519
- "privacy": "private",
1576
+ "privacy": "public",
1577
+ "default": "false",
1578
+ "description": "Expands or collapses the item.",
1520
1579
  "inheritedFrom": {
1521
- "name": "Accordion",
1522
- "module": "src/accordion/accordion.ts"
1580
+ "name": "AccordionItem",
1581
+ "module": "src/accordion-item/accordion-item.ts"
1523
1582
  }
1524
1583
  },
1525
1584
  {
1526
1585
  "kind": "field",
1527
- "name": "activeItemIndex",
1586
+ "name": "id",
1528
1587
  "type": {
1529
- "text": "number"
1588
+ "text": "string"
1530
1589
  },
1531
- "privacy": "private",
1532
- "default": "0",
1590
+ "privacy": "public",
1591
+ "description": "The item ID",
1533
1592
  "inheritedFrom": {
1534
- "name": "Accordion",
1535
- "module": "src/accordion/accordion.ts"
1593
+ "name": "AccordionItem",
1594
+ "module": "src/accordion-item/accordion-item.ts"
1536
1595
  }
1537
1596
  },
1538
1597
  {
1539
1598
  "kind": "field",
1540
- "name": "accordionIds",
1541
- "type": {
1542
- "text": "Array<string | null>"
1543
- },
1599
+ "name": "change",
1544
1600
  "privacy": "private",
1545
1601
  "inheritedFrom": {
1546
- "name": "Accordion",
1547
- "module": "src/accordion/accordion.ts"
1602
+ "name": "AccordionItem",
1603
+ "module": "src/accordion-item/accordion-item.ts"
1548
1604
  }
1549
1605
  },
1550
1606
  {
1551
1607
  "kind": "field",
1552
- "name": "change",
1608
+ "name": "_presentation",
1609
+ "type": {
1610
+ "text": "ComponentPresentation | null | undefined"
1611
+ },
1553
1612
  "privacy": "private",
1613
+ "default": "void 0",
1554
1614
  "inheritedFrom": {
1555
- "name": "Accordion",
1556
- "module": "src/accordion/accordion.ts"
1615
+ "name": "FoundationElement",
1616
+ "module": "src/foundation-element/foundation-element.ts"
1557
1617
  }
1558
1618
  },
1559
1619
  {
1560
- "kind": "method",
1561
- "name": "findExpandedItem",
1562
- "privacy": "private",
1563
- "return": {
1564
- "type": {
1565
- "text": "AccordionItem | null"
1566
- }
1620
+ "kind": "field",
1621
+ "name": "$presentation",
1622
+ "type": {
1623
+ "text": "ComponentPresentation | null"
1567
1624
  },
1625
+ "privacy": "public",
1626
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1568
1627
  "inheritedFrom": {
1569
- "name": "Accordion",
1570
- "module": "src/accordion/accordion.ts"
1628
+ "name": "FoundationElement",
1629
+ "module": "src/foundation-element/foundation-element.ts"
1571
1630
  }
1572
1631
  },
1573
1632
  {
1574
1633
  "kind": "field",
1575
- "name": "setItems",
1576
- "privacy": "private",
1634
+ "name": "template",
1635
+ "type": {
1636
+ "text": "ElementViewTemplate | void | null"
1637
+ },
1638
+ "privacy": "public",
1639
+ "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.",
1577
1640
  "inheritedFrom": {
1578
- "name": "Accordion",
1579
- "module": "src/accordion/accordion.ts"
1641
+ "name": "FoundationElement",
1642
+ "module": "src/foundation-element/foundation-element.ts"
1580
1643
  }
1581
1644
  },
1582
1645
  {
1583
1646
  "kind": "method",
1584
- "name": "resetItems",
1585
- "privacy": "private",
1647
+ "name": "templateChanged",
1648
+ "privacy": "protected",
1586
1649
  "return": {
1587
1650
  "type": {
1588
1651
  "text": "void"
1589
1652
  }
1590
1653
  },
1591
1654
  "inheritedFrom": {
1592
- "name": "Accordion",
1593
- "module": "src/accordion/accordion.ts"
1594
- }
1595
- },
1596
- {
1597
- "kind": "field",
1598
- "name": "removeItemListeners",
1599
- "privacy": "private",
1600
- "inheritedFrom": {
1601
- "name": "Accordion",
1602
- "module": "src/accordion/accordion.ts"
1655
+ "name": "FoundationElement",
1656
+ "module": "src/foundation-element/foundation-element.ts"
1603
1657
  }
1604
1658
  },
1605
1659
  {
1606
1660
  "kind": "field",
1607
- "name": "activeItemChange",
1608
- "privacy": "private",
1661
+ "name": "styles",
1662
+ "type": {
1663
+ "text": "ElementStyles | void | null"
1664
+ },
1665
+ "privacy": "public",
1666
+ "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.",
1609
1667
  "inheritedFrom": {
1610
- "name": "Accordion",
1611
- "module": "src/accordion/accordion.ts"
1668
+ "name": "FoundationElement",
1669
+ "module": "src/foundation-element/foundation-element.ts"
1612
1670
  }
1613
1671
  },
1614
1672
  {
1615
1673
  "kind": "method",
1616
- "name": "getItemIds",
1617
- "privacy": "private",
1674
+ "name": "stylesChanged",
1675
+ "privacy": "protected",
1618
1676
  "return": {
1619
1677
  "type": {
1620
- "text": "Array<string | null>"
1678
+ "text": "void"
1621
1679
  }
1622
1680
  },
1623
1681
  "inheritedFrom": {
1624
- "name": "Accordion",
1625
- "module": "src/accordion/accordion.ts"
1682
+ "name": "FoundationElement",
1683
+ "module": "src/foundation-element/foundation-element.ts"
1626
1684
  }
1627
1685
  },
1628
1686
  {
1629
1687
  "kind": "method",
1630
- "name": "isSingleExpandMode",
1631
- "privacy": "private",
1688
+ "name": "compose",
1689
+ "privacy": "public",
1690
+ "static": true,
1632
1691
  "return": {
1633
1692
  "type": {
1634
- "text": "boolean"
1693
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1635
1694
  }
1636
1695
  },
1696
+ "parameters": [
1697
+ {
1698
+ "name": "this",
1699
+ "type": {
1700
+ "text": "K"
1701
+ }
1702
+ },
1703
+ {
1704
+ "name": "elementDefinition",
1705
+ "type": {
1706
+ "text": "T"
1707
+ },
1708
+ "description": "The definition of the element to create the registry\nfunction for."
1709
+ }
1710
+ ],
1711
+ "description": "Defines an element registry function with a set of element definition defaults.",
1637
1712
  "inheritedFrom": {
1638
- "name": "Accordion",
1639
- "module": "src/accordion/accordion.ts"
1713
+ "name": "FoundationElement",
1714
+ "module": "src/foundation-element/foundation-element.ts"
1640
1715
  }
1641
- },
1716
+ }
1717
+ ],
1718
+ "events": [
1642
1719
  {
1643
- "kind": "field",
1644
- "name": "handleItemKeyDown",
1645
- "privacy": "private",
1646
- "inheritedFrom": {
1647
- "name": "Accordion",
1648
- "module": "src/accordion/accordion.ts"
1649
- }
1650
- },
1651
- {
1652
- "kind": "field",
1653
- "name": "handleItemFocus",
1654
- "privacy": "private",
1655
- "inheritedFrom": {
1656
- "name": "Accordion",
1657
- "module": "src/accordion/accordion.ts"
1658
- }
1659
- },
1660
- {
1661
- "kind": "method",
1662
- "name": "adjust",
1663
- "privacy": "private",
1664
- "return": {
1665
- "type": {
1666
- "text": "void"
1667
- }
1668
- },
1669
- "parameters": [
1670
- {
1671
- "name": "adjustment",
1672
- "type": {
1673
- "text": "number"
1674
- }
1675
- }
1676
- ],
1677
- "inheritedFrom": {
1678
- "name": "Accordion",
1679
- "module": "src/accordion/accordion.ts"
1680
- }
1681
- },
1682
- {
1683
- "kind": "method",
1684
- "name": "focusItem",
1685
- "privacy": "private",
1686
- "return": {
1687
- "type": {
1688
- "text": "void"
1689
- }
1690
- },
1691
- "inheritedFrom": {
1692
- "name": "Accordion",
1693
- "module": "src/accordion/accordion.ts"
1694
- }
1695
- },
1696
- {
1697
- "kind": "field",
1698
- "name": "_presentation",
1699
- "type": {
1700
- "text": "ComponentPresentation | null | undefined"
1701
- },
1702
- "privacy": "private",
1703
- "default": "void 0",
1704
- "inheritedFrom": {
1705
- "name": "FoundationElement",
1706
- "module": "src/foundation-element/foundation-element.ts"
1707
- }
1708
- },
1709
- {
1710
- "kind": "field",
1711
- "name": "$presentation",
1712
- "type": {
1713
- "text": "ComponentPresentation | null"
1714
- },
1715
- "privacy": "public",
1716
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1717
- "inheritedFrom": {
1718
- "name": "FoundationElement",
1719
- "module": "src/foundation-element/foundation-element.ts"
1720
- }
1721
- },
1722
- {
1723
- "kind": "field",
1724
- "name": "template",
1725
- "type": {
1726
- "text": "ElementViewTemplate | void | null"
1727
- },
1728
- "privacy": "public",
1729
- "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.",
1730
- "inheritedFrom": {
1731
- "name": "FoundationElement",
1732
- "module": "src/foundation-element/foundation-element.ts"
1733
- }
1734
- },
1735
- {
1736
- "kind": "method",
1737
- "name": "templateChanged",
1738
- "privacy": "protected",
1739
- "return": {
1740
- "type": {
1741
- "text": "void"
1742
- }
1743
- },
1744
- "inheritedFrom": {
1745
- "name": "FoundationElement",
1746
- "module": "src/foundation-element/foundation-element.ts"
1747
- }
1748
- },
1749
- {
1750
- "kind": "field",
1751
- "name": "styles",
1752
- "type": {
1753
- "text": "ElementStyles | void | null"
1754
- },
1755
- "privacy": "public",
1756
- "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.",
1757
- "inheritedFrom": {
1758
- "name": "FoundationElement",
1759
- "module": "src/foundation-element/foundation-element.ts"
1760
- }
1761
- },
1762
- {
1763
- "kind": "method",
1764
- "name": "stylesChanged",
1765
- "privacy": "protected",
1766
- "return": {
1767
- "type": {
1768
- "text": "void"
1769
- }
1770
- },
1771
- "inheritedFrom": {
1772
- "name": "FoundationElement",
1773
- "module": "src/foundation-element/foundation-element.ts"
1774
- }
1775
- },
1776
- {
1777
- "kind": "method",
1778
- "name": "compose",
1779
- "privacy": "public",
1780
- "static": true,
1781
- "return": {
1782
- "type": {
1783
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1784
- }
1785
- },
1786
- "parameters": [
1787
- {
1788
- "name": "this",
1789
- "type": {
1790
- "text": "K"
1791
- }
1792
- },
1793
- {
1794
- "name": "elementDefinition",
1795
- "type": {
1796
- "text": "T"
1797
- },
1798
- "description": "The definition of the element to create the registry\nfunction for."
1799
- }
1800
- ],
1801
- "description": "Defines an element registry function with a set of element definition defaults.",
1802
- "inheritedFrom": {
1803
- "name": "FoundationElement",
1804
- "module": "src/foundation-element/foundation-element.ts"
1805
- }
1806
- }
1807
- ],
1808
- "events": [
1809
- {
1810
- "description": "Fires a custom 'change' event when the active item changes",
1720
+ "description": "Fires a custom 'change' event when the button is invoked",
1811
1721
  "name": "change",
1812
1722
  "inheritedFrom": {
1813
- "name": "Accordion",
1814
- "module": "src/accordion/accordion.ts"
1723
+ "name": "AccordionItem",
1724
+ "module": "src/accordion-item/accordion-item.ts"
1815
1725
  }
1816
1726
  }
1817
1727
  ]
1818
1728
  },
1819
1729
  {
1820
1730
  "kind": "variable",
1821
- "name": "foundationAccordionShadowOptions",
1731
+ "name": "foundationAccordionItemShadowOptions",
1822
1732
  "type": {
1823
1733
  "text": "ShadowRootInit"
1824
1734
  },
@@ -1826,57 +1736,57 @@
1826
1736
  },
1827
1737
  {
1828
1738
  "kind": "variable",
1829
- "name": "defaultAccordionConfig",
1739
+ "name": "defaultAccordionItemConfig",
1830
1740
  "type": {
1831
1741
  "text": "object"
1832
1742
  },
1833
- "default": "{}"
1743
+ "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}"
1834
1744
  },
1835
1745
  {
1836
1746
  "kind": "variable",
1837
- "name": "foundationAccordion",
1838
- "description": "The Foundation Accordion",
1747
+ "name": "foundationAccordionItem",
1748
+ "description": "The Foundation Accordion Item",
1839
1749
  "privacy": "public"
1840
1750
  }
1841
1751
  ],
1842
1752
  "exports": [
1843
1753
  {
1844
1754
  "kind": "js",
1845
- "name": "Accordion",
1755
+ "name": "AccordionItem",
1846
1756
  "declaration": {
1847
- "name": "Accordion",
1848
- "module": "src/accordion/accordion.ts"
1757
+ "name": "AccordionItem",
1758
+ "module": "src/accordion-item/accordion-item.ts"
1849
1759
  }
1850
1760
  },
1851
1761
  {
1852
1762
  "kind": "js",
1853
- "name": "foundationAccordionShadowOptions",
1763
+ "name": "foundationAccordionItemShadowOptions",
1854
1764
  "declaration": {
1855
- "name": "foundationAccordionShadowOptions",
1856
- "module": "src/accordion/accordion.ts"
1765
+ "name": "foundationAccordionItemShadowOptions",
1766
+ "module": "src/accordion-item/accordion-item.ts"
1857
1767
  }
1858
1768
  },
1859
1769
  {
1860
1770
  "kind": "js",
1861
- "name": "defaultAccordionConfig",
1771
+ "name": "defaultAccordionItemConfig",
1862
1772
  "declaration": {
1863
- "name": "defaultAccordionConfig",
1864
- "module": "src/accordion/accordion.ts"
1773
+ "name": "defaultAccordionItemConfig",
1774
+ "module": "src/accordion-item/accordion-item.ts"
1865
1775
  }
1866
1776
  },
1867
1777
  {
1868
1778
  "kind": "js",
1869
- "name": "foundationAccordion",
1779
+ "name": "foundationAccordionItem",
1870
1780
  "declaration": {
1871
- "name": "foundationAccordion",
1872
- "module": "src/accordion/accordion.ts"
1781
+ "name": "foundationAccordionItem",
1782
+ "module": "src/accordion-item/accordion-item.ts"
1873
1783
  }
1874
1784
  }
1875
1785
  ]
1876
1786
  },
1877
1787
  {
1878
1788
  "kind": "javascript-module",
1879
- "path": "src/accordion/index.ts",
1789
+ "path": "src/accordion-item/index.ts",
1880
1790
  "declarations": [],
1881
1791
  "exports": [
1882
1792
  {
@@ -1884,7 +1794,7 @@
1884
1794
  "name": "*",
1885
1795
  "declaration": {
1886
1796
  "name": "*",
1887
- "package": "./accordion.template"
1797
+ "package": "./accordion-item.template"
1888
1798
  }
1889
1799
  },
1890
1800
  {
@@ -1892,7 +1802,7 @@
1892
1802
  "name": "*",
1893
1803
  "declaration": {
1894
1804
  "name": "*",
1895
- "package": "./accordion.styles"
1805
+ "package": "./accordion-item.styles"
1896
1806
  }
1897
1807
  },
1898
1808
  {
@@ -1900,49 +1810,41 @@
1900
1810
  "name": "*",
1901
1811
  "declaration": {
1902
1812
  "name": "*",
1903
- "package": "./accordion"
1813
+ "package": "./accordion-item"
1904
1814
  }
1905
1815
  }
1906
1816
  ]
1907
1817
  },
1908
1818
  {
1909
1819
  "kind": "javascript-module",
1910
- "path": "src/_config/index.ts",
1911
- "declarations": [],
1912
- "exports": [
1913
- {
1914
- "kind": "js",
1915
- "name": "*",
1916
- "declaration": {
1917
- "name": "*",
1918
- "package": "./styles"
1919
- }
1920
- },
1820
+ "path": "src/actions-menu/actions-menu.styles.ts",
1821
+ "declarations": [
1921
1822
  {
1922
- "kind": "js",
1923
- "name": "*",
1924
- "declaration": {
1925
- "name": "*",
1926
- "package": "./tokens"
1927
- }
1823
+ "kind": "function",
1824
+ "name": "actionsMenuBaseStyles",
1825
+ "return": {
1826
+ "type": {
1827
+ "text": "ElementStyles"
1828
+ }
1829
+ },
1830
+ "parameters": [
1831
+ {
1832
+ "name": "context",
1833
+ "type": {
1834
+ "text": "ElementDefinitionContext"
1835
+ }
1836
+ },
1837
+ {
1838
+ "name": "definition",
1839
+ "type": {
1840
+ "text": "FoundationElementDefinition"
1841
+ }
1842
+ }
1843
+ ]
1928
1844
  },
1929
- {
1930
- "kind": "js",
1931
- "name": "*",
1932
- "declaration": {
1933
- "name": "*",
1934
- "package": "./values"
1935
- }
1936
- }
1937
- ]
1938
- },
1939
- {
1940
- "kind": "javascript-module",
1941
- "path": "src/accordion-item/accordion-item.styles.ts",
1942
- "declarations": [
1943
1845
  {
1944
1846
  "kind": "function",
1945
- "name": "foundationAccordionItemStyles",
1847
+ "name": "foundationActionsMenuStyles",
1946
1848
  "return": {
1947
1849
  "type": {
1948
1850
  "text": "ElementStyles"
@@ -1967,156 +1869,269 @@
1967
1869
  "exports": [
1968
1870
  {
1969
1871
  "kind": "js",
1970
- "name": "foundationAccordionItemStyles",
1872
+ "name": "actionsMenuBaseStyles",
1971
1873
  "declaration": {
1972
- "name": "foundationAccordionItemStyles",
1973
- "module": "src/accordion-item/accordion-item.styles.ts"
1874
+ "name": "actionsMenuBaseStyles",
1875
+ "module": "src/actions-menu/actions-menu.styles.ts"
1876
+ }
1877
+ },
1878
+ {
1879
+ "kind": "js",
1880
+ "name": "foundationActionsMenuStyles",
1881
+ "declaration": {
1882
+ "name": "foundationActionsMenuStyles",
1883
+ "module": "src/actions-menu/actions-menu.styles.ts"
1974
1884
  }
1975
1885
  }
1976
1886
  ]
1977
1887
  },
1978
1888
  {
1979
1889
  "kind": "javascript-module",
1980
- "path": "src/accordion-item/accordion-item.template.ts",
1890
+ "path": "src/actions-menu/actions-menu.template.ts",
1981
1891
  "declarations": [
1982
1892
  {
1983
1893
  "kind": "function",
1984
- "name": "foundationAccordionItemTemplate",
1985
- "return": {
1986
- "type": {
1987
- "text": "ViewTemplate<AccordionItem>"
1988
- }
1989
- },
1894
+ "name": "menuTemplate",
1990
1895
  "parameters": [
1991
1896
  {
1992
- "name": "context",
1897
+ "name": "prefix",
1993
1898
  "type": {
1994
- "text": "ElementDefinitionContext"
1899
+ "text": "string"
1995
1900
  }
1996
- },
1901
+ }
1902
+ ]
1903
+ },
1904
+ {
1905
+ "kind": "function",
1906
+ "name": "singleOptionTemplate",
1907
+ "parameters": [
1997
1908
  {
1998
- "name": "definition",
1909
+ "name": "prefix",
1999
1910
  "type": {
2000
- "text": "FoundationElementDefinition"
1911
+ "text": "string"
2001
1912
  }
2002
1913
  }
2003
1914
  ]
1915
+ },
1916
+ {
1917
+ "kind": "variable",
1918
+ "name": "foundationActionsMenuTemplate",
1919
+ "type": {
1920
+ "text": "ViewTemplate<ActionsMenu>"
1921
+ },
1922
+ "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`"
2004
1923
  }
2005
1924
  ],
2006
1925
  "exports": [
2007
1926
  {
2008
1927
  "kind": "js",
2009
- "name": "foundationAccordionItemTemplate",
1928
+ "name": "menuTemplate",
2010
1929
  "declaration": {
2011
- "name": "foundationAccordionItemTemplate",
2012
- "module": "src/accordion-item/accordion-item.template.ts"
1930
+ "name": "menuTemplate",
1931
+ "module": "src/actions-menu/actions-menu.template.ts"
1932
+ }
1933
+ },
1934
+ {
1935
+ "kind": "js",
1936
+ "name": "singleOptionTemplate",
1937
+ "declaration": {
1938
+ "name": "singleOptionTemplate",
1939
+ "module": "src/actions-menu/actions-menu.template.ts"
1940
+ }
1941
+ },
1942
+ {
1943
+ "kind": "js",
1944
+ "name": "foundationActionsMenuTemplate",
1945
+ "declaration": {
1946
+ "name": "foundationActionsMenuTemplate",
1947
+ "module": "src/actions-menu/actions-menu.template.ts"
2013
1948
  }
2014
1949
  }
2015
1950
  ]
2016
1951
  },
2017
1952
  {
2018
1953
  "kind": "javascript-module",
2019
- "path": "src/accordion-item/accordion-item.ts",
1954
+ "path": "src/actions-menu/actions-menu.ts",
2020
1955
  "declarations": [
2021
1956
  {
2022
1957
  "kind": "class",
2023
1958
  "description": "",
2024
- "name": "AccordionItem",
2025
- "superclass": {
2026
- "name": "FASTAccordionItem",
2027
- "package": "@microsoft/fast-components"
2028
- },
2029
- "tagName": "%%prefix%%-accordion-item",
2030
- "customElement": true,
2031
- "attributes": [
1959
+ "name": "ActionsMenu",
1960
+ "members": [
2032
1961
  {
2033
- "name": "heading-level",
1962
+ "kind": "field",
1963
+ "name": "actions",
2034
1964
  "type": {
2035
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2036
- },
2037
- "default": "2",
2038
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2039
- "fieldName": "headinglevel",
2040
- "inheritedFrom": {
2041
- "name": "AccordionItem",
2042
- "module": "src/accordion-item/accordion-item.ts"
1965
+ "text": "ActionMenuItem[]"
2043
1966
  }
2044
1967
  },
2045
1968
  {
1969
+ "kind": "field",
1970
+ "name": "isVertical",
2046
1971
  "type": {
2047
1972
  "text": "boolean"
2048
1973
  },
2049
- "default": "false",
2050
- "description": "Expands or collapses the item.",
2051
- "fieldName": "expanded",
2052
- "inheritedFrom": {
2053
- "name": "AccordionItem",
2054
- "module": "src/accordion-item/accordion-item.ts"
1974
+ "default": "false"
1975
+ },
1976
+ {
1977
+ "kind": "field",
1978
+ "name": "addDefaultActions",
1979
+ "type": {
1980
+ "text": "boolean"
1981
+ },
1982
+ "default": "true"
1983
+ },
1984
+ {
1985
+ "kind": "field",
1986
+ "name": "autoCloseOnAction",
1987
+ "type": {
1988
+ "text": "boolean"
1989
+ },
1990
+ "default": "true"
1991
+ },
1992
+ {
1993
+ "kind": "field",
1994
+ "name": "classNames",
1995
+ "type": {
1996
+ "text": "string"
2055
1997
  }
2056
1998
  },
2057
1999
  {
2058
- "name": "id",
2000
+ "kind": "field",
2001
+ "name": "definition",
2002
+ "type": {
2003
+ "text": "any"
2004
+ }
2005
+ },
2006
+ {
2007
+ "kind": "field",
2008
+ "name": "name",
2059
2009
  "type": {
2060
2010
  "text": "string"
2061
2011
  },
2062
- "description": "The item ID",
2063
- "fieldName": "id",
2064
- "inheritedFrom": {
2065
- "name": "AccordionItem",
2066
- "module": "src/accordion-item/accordion-item.ts"
2012
+ "default": "'Actions'"
2013
+ },
2014
+ {
2015
+ "kind": "field",
2016
+ "name": "open",
2017
+ "type": {
2018
+ "text": "boolean"
2019
+ },
2020
+ "default": "false"
2021
+ },
2022
+ {
2023
+ "kind": "field",
2024
+ "name": "buttonAppearance",
2025
+ "type": {
2026
+ "text": "string"
2067
2027
  }
2068
- }
2069
- ],
2070
- "members": [
2028
+ },
2071
2029
  {
2072
2030
  "kind": "field",
2073
- "name": "headinglevel",
2031
+ "name": "hideDisabled",
2074
2032
  "type": {
2075
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2033
+ "text": "boolean"
2076
2034
  },
2077
- "privacy": "public",
2078
- "default": "2",
2079
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2080
- "inheritedFrom": {
2081
- "name": "AccordionItem",
2082
- "module": "src/accordion-item/accordion-item.ts"
2035
+ "default": "false"
2036
+ },
2037
+ {
2038
+ "kind": "field",
2039
+ "name": "hideMenuSingleOption",
2040
+ "type": {
2041
+ "text": "boolean"
2042
+ },
2043
+ "default": "false"
2044
+ },
2045
+ {
2046
+ "kind": "field",
2047
+ "name": "singleOption",
2048
+ "type": {
2049
+ "text": "ActionMenuItem"
2050
+ }
2051
+ },
2052
+ {
2053
+ "kind": "field",
2054
+ "name": "actionsMenu",
2055
+ "type": {
2056
+ "text": "HTMLElement"
2083
2057
  }
2084
2058
  },
2059
+ {
2060
+ "kind": "method",
2061
+ "name": "definitionChanged",
2062
+ "privacy": "protected",
2063
+ "parameters": [
2064
+ {
2065
+ "name": "oldValue",
2066
+ "type": {
2067
+ "text": "any"
2068
+ }
2069
+ },
2070
+ {
2071
+ "name": "newValue",
2072
+ "type": {
2073
+ "text": "any"
2074
+ }
2075
+ }
2076
+ ]
2077
+ },
2078
+ {
2079
+ "kind": "method",
2080
+ "name": "openChanged",
2081
+ "privacy": "protected"
2082
+ },
2083
+ {
2084
+ "kind": "method",
2085
+ "name": "toggleActionsMenuVisibility"
2086
+ },
2087
+ {
2088
+ "kind": "method",
2089
+ "name": "onActionMenuItemClick",
2090
+ "parameters": [
2091
+ {
2092
+ "name": "callback",
2093
+ "type": {
2094
+ "text": "(rowData) => void | any"
2095
+ }
2096
+ }
2097
+ ]
2098
+ },
2085
2099
  {
2086
2100
  "kind": "field",
2087
- "name": "expanded",
2101
+ "name": "allActions",
2088
2102
  "type": {
2089
- "text": "boolean"
2103
+ "text": "ActionMenuItem[]"
2090
2104
  },
2091
- "privacy": "public",
2092
- "default": "false",
2093
- "description": "Expands or collapses the item.",
2094
- "inheritedFrom": {
2095
- "name": "AccordionItem",
2096
- "module": "src/accordion-item/accordion-item.ts"
2097
- }
2105
+ "readonly": true
2098
2106
  },
2099
2107
  {
2100
2108
  "kind": "field",
2101
- "name": "id",
2102
- "type": {
2103
- "text": "string"
2104
- },
2105
- "privacy": "public",
2106
- "description": "The item ID",
2107
- "inheritedFrom": {
2108
- "name": "AccordionItem",
2109
- "module": "src/accordion-item/accordion-item.ts"
2110
- }
2109
+ "name": "rowData",
2110
+ "readonly": true
2111
2111
  },
2112
2112
  {
2113
- "kind": "field",
2114
- "name": "change",
2115
- "privacy": "private",
2116
- "inheritedFrom": {
2117
- "name": "AccordionItem",
2118
- "module": "src/accordion-item/accordion-item.ts"
2119
- }
2113
+ "kind": "method",
2114
+ "name": "getLabel",
2115
+ "parameters": [
2116
+ {
2117
+ "name": "name",
2118
+ "type": {
2119
+ "text": "string | ((rowData: any) => string)"
2120
+ }
2121
+ }
2122
+ ]
2123
+ },
2124
+ {
2125
+ "kind": "method",
2126
+ "name": "getTemplate",
2127
+ "parameters": [
2128
+ {
2129
+ "name": "prefix",
2130
+ "type": {
2131
+ "text": "string"
2132
+ }
2133
+ }
2134
+ ]
2120
2135
  },
2121
2136
  {
2122
2137
  "kind": "field",
@@ -2230,423 +2245,322 @@
2230
2245
  }
2231
2246
  }
2232
2247
  ],
2233
- "events": [
2248
+ "attributes": [
2234
2249
  {
2235
- "description": "Fires a custom 'change' event when the button is invoked",
2236
- "name": "change",
2237
- "inheritedFrom": {
2238
- "name": "AccordionItem",
2239
- "module": "src/accordion-item/accordion-item.ts"
2240
- }
2241
- }
2242
- ]
2243
- },
2244
- {
2245
- "kind": "variable",
2246
- "name": "foundationAccordionItemShadowOptions",
2247
- "type": {
2248
- "text": "ShadowRootInit"
2249
- },
2250
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2251
- },
2252
- {
2253
- "kind": "variable",
2254
- "name": "defaultAccordionItemConfig",
2255
- "type": {
2256
- "text": "object"
2257
- },
2258
- "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}"
2259
- },
2260
- {
2261
- "kind": "variable",
2262
- "name": "foundationAccordionItem",
2263
- "description": "The Foundation Accordion Item",
2264
- "privacy": "public"
2265
- }
2266
- ],
2267
- "exports": [
2268
- {
2269
- "kind": "js",
2270
- "name": "AccordionItem",
2271
- "declaration": {
2272
- "name": "AccordionItem",
2273
- "module": "src/accordion-item/accordion-item.ts"
2274
- }
2275
- },
2276
- {
2277
- "kind": "js",
2278
- "name": "foundationAccordionItemShadowOptions",
2279
- "declaration": {
2280
- "name": "foundationAccordionItemShadowOptions",
2281
- "module": "src/accordion-item/accordion-item.ts"
2282
- }
2283
- },
2284
- {
2285
- "kind": "js",
2286
- "name": "defaultAccordionItemConfig",
2287
- "declaration": {
2288
- "name": "defaultAccordionItemConfig",
2289
- "module": "src/accordion-item/accordion-item.ts"
2290
- }
2291
- },
2292
- {
2293
- "kind": "js",
2294
- "name": "foundationAccordionItem",
2295
- "declaration": {
2296
- "name": "foundationAccordionItem",
2297
- "module": "src/accordion-item/accordion-item.ts"
2298
- }
2299
- }
2300
- ]
2301
- },
2302
- {
2303
- "kind": "javascript-module",
2304
- "path": "src/accordion-item/index.ts",
2305
- "declarations": [],
2306
- "exports": [
2307
- {
2308
- "kind": "js",
2309
- "name": "*",
2310
- "declaration": {
2311
- "name": "*",
2312
- "package": "./accordion-item.template"
2313
- }
2314
- },
2315
- {
2316
- "kind": "js",
2317
- "name": "*",
2318
- "declaration": {
2319
- "name": "*",
2320
- "package": "./accordion-item.styles"
2321
- }
2322
- },
2323
- {
2324
- "kind": "js",
2325
- "name": "*",
2326
- "declaration": {
2327
- "name": "*",
2328
- "package": "./accordion-item"
2329
- }
2330
- }
2331
- ]
2332
- },
2333
- {
2334
- "kind": "javascript-module",
2335
- "path": "src/actions-menu/actions-menu.styles.ts",
2336
- "declarations": [
2337
- {
2338
- "kind": "function",
2339
- "name": "actionsMenuBaseStyles",
2340
- "return": {
2341
- "type": {
2342
- "text": "ElementStyles"
2343
- }
2344
- },
2345
- "parameters": [
2250
+ "name": "is-vertical",
2251
+ "type": {
2252
+ "text": "boolean"
2253
+ },
2254
+ "default": "false",
2255
+ "fieldName": "isVertical"
2256
+ },
2346
2257
  {
2347
- "name": "context",
2258
+ "name": "add-default-actions",
2348
2259
  "type": {
2349
- "text": "ElementDefinitionContext"
2350
- }
2260
+ "text": "boolean"
2261
+ },
2262
+ "default": "true",
2263
+ "fieldName": "addDefaultActions"
2351
2264
  },
2352
2265
  {
2353
- "name": "definition",
2266
+ "name": "auto-close-on-action",
2354
2267
  "type": {
2355
- "text": "FoundationElementDefinition"
2356
- }
2357
- }
2358
- ]
2359
- },
2360
- {
2361
- "kind": "function",
2362
- "name": "foundationActionsMenuStyles",
2363
- "return": {
2364
- "type": {
2365
- "text": "ElementStyles"
2366
- }
2367
- },
2368
- "parameters": [
2268
+ "text": "boolean"
2269
+ },
2270
+ "default": "true",
2271
+ "fieldName": "autoCloseOnAction"
2272
+ },
2369
2273
  {
2370
- "name": "context",
2274
+ "name": "name",
2371
2275
  "type": {
2372
- "text": "ElementDefinitionContext"
2373
- }
2276
+ "text": "string"
2277
+ },
2278
+ "default": "'Actions'",
2279
+ "fieldName": "name"
2374
2280
  },
2375
2281
  {
2376
- "name": "definition",
2282
+ "name": "open",
2377
2283
  "type": {
2378
- "text": "FoundationElementDefinition"
2379
- }
2284
+ "text": "boolean"
2285
+ },
2286
+ "default": "false",
2287
+ "fieldName": "open"
2288
+ },
2289
+ {
2290
+ "name": "buttonAppearance",
2291
+ "type": {
2292
+ "text": "string"
2293
+ },
2294
+ "fieldName": "buttonAppearance"
2295
+ },
2296
+ {
2297
+ "name": "hide-disabled",
2298
+ "type": {
2299
+ "text": "boolean"
2300
+ },
2301
+ "default": "false",
2302
+ "fieldName": "hideDisabled"
2303
+ },
2304
+ {
2305
+ "name": "hide-menu-single-option",
2306
+ "type": {
2307
+ "text": "boolean"
2308
+ },
2309
+ "default": "false",
2310
+ "fieldName": "hideMenuSingleOption"
2380
2311
  }
2381
- ]
2312
+ ],
2313
+ "superclass": {
2314
+ "name": "FoundationElement",
2315
+ "package": "@microsoft/fast-foundation"
2316
+ },
2317
+ "tagName": "%%prefix%%-actions-menu",
2318
+ "customElement": true
2319
+ },
2320
+ {
2321
+ "kind": "variable",
2322
+ "name": "foundationActionsMenu",
2323
+ "description": "The Foundation Actions Menu",
2324
+ "privacy": "public"
2382
2325
  }
2383
2326
  ],
2384
2327
  "exports": [
2385
2328
  {
2386
2329
  "kind": "js",
2387
- "name": "actionsMenuBaseStyles",
2330
+ "name": "ActionsMenu",
2388
2331
  "declaration": {
2389
- "name": "actionsMenuBaseStyles",
2390
- "module": "src/actions-menu/actions-menu.styles.ts"
2332
+ "name": "ActionsMenu",
2333
+ "module": "src/actions-menu/actions-menu.ts"
2391
2334
  }
2392
2335
  },
2393
2336
  {
2394
2337
  "kind": "js",
2395
- "name": "foundationActionsMenuStyles",
2338
+ "name": "foundationActionsMenu",
2396
2339
  "declaration": {
2397
- "name": "foundationActionsMenuStyles",
2398
- "module": "src/actions-menu/actions-menu.styles.ts"
2340
+ "name": "foundationActionsMenu",
2341
+ "module": "src/actions-menu/actions-menu.ts"
2399
2342
  }
2400
2343
  }
2401
2344
  ]
2402
2345
  },
2403
2346
  {
2404
2347
  "kind": "javascript-module",
2405
- "path": "src/actions-menu/actions-menu.template.ts",
2406
- "declarations": [
2348
+ "path": "src/actions-menu/index.ts",
2349
+ "declarations": [],
2350
+ "exports": [
2407
2351
  {
2408
- "kind": "function",
2409
- "name": "menuTemplate",
2410
- "parameters": [
2411
- {
2412
- "name": "prefix",
2413
- "type": {
2414
- "text": "string"
2415
- }
2416
- }
2417
- ]
2352
+ "kind": "js",
2353
+ "name": "*",
2354
+ "declaration": {
2355
+ "name": "*",
2356
+ "package": "./actions-menu.styles"
2357
+ }
2418
2358
  },
2419
2359
  {
2420
- "kind": "function",
2421
- "name": "singleOptionTemplate",
2422
- "parameters": [
2423
- {
2424
- "name": "prefix",
2425
- "type": {
2426
- "text": "string"
2427
- }
2428
- }
2429
- ]
2360
+ "kind": "js",
2361
+ "name": "*",
2362
+ "declaration": {
2363
+ "name": "*",
2364
+ "package": "./actions-menu.template"
2365
+ }
2430
2366
  },
2367
+ {
2368
+ "kind": "js",
2369
+ "name": "*",
2370
+ "declaration": {
2371
+ "name": "*",
2372
+ "package": "./actions-menu"
2373
+ }
2374
+ }
2375
+ ]
2376
+ },
2377
+ {
2378
+ "kind": "javascript-module",
2379
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2380
+ "declarations": [
2431
2381
  {
2432
2382
  "kind": "variable",
2433
- "name": "foundationActionsMenuTemplate",
2434
- "type": {
2435
- "text": "ViewTemplate<ActionsMenu>"
2436
- },
2437
- "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`"
2383
+ "name": "foundationAiCriteriaSearchStyles",
2384
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2438
2385
  }
2439
2386
  ],
2440
2387
  "exports": [
2441
2388
  {
2442
2389
  "kind": "js",
2443
- "name": "menuTemplate",
2390
+ "name": "foundationAiCriteriaSearchStyles",
2444
2391
  "declaration": {
2445
- "name": "menuTemplate",
2446
- "module": "src/actions-menu/actions-menu.template.ts"
2392
+ "name": "foundationAiCriteriaSearchStyles",
2393
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2447
2394
  }
2448
- },
2395
+ }
2396
+ ]
2397
+ },
2398
+ {
2399
+ "kind": "javascript-module",
2400
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2401
+ "declarations": [
2449
2402
  {
2450
- "kind": "js",
2451
- "name": "singleOptionTemplate",
2452
- "declaration": {
2453
- "name": "singleOptionTemplate",
2454
- "module": "src/actions-menu/actions-menu.template.ts"
2455
- }
2456
- },
2403
+ "kind": "variable",
2404
+ "name": "foundationAiCriteriaSearchTemplate",
2405
+ "type": {
2406
+ "text": "ViewTemplate<AiCriteriaSearch>"
2407
+ },
2408
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2409
+ }
2410
+ ],
2411
+ "exports": [
2457
2412
  {
2458
2413
  "kind": "js",
2459
- "name": "foundationActionsMenuTemplate",
2414
+ "name": "foundationAiCriteriaSearchTemplate",
2460
2415
  "declaration": {
2461
- "name": "foundationActionsMenuTemplate",
2462
- "module": "src/actions-menu/actions-menu.template.ts"
2416
+ "name": "foundationAiCriteriaSearchTemplate",
2417
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2463
2418
  }
2464
2419
  }
2465
2420
  ]
2466
2421
  },
2467
2422
  {
2468
2423
  "kind": "javascript-module",
2469
- "path": "src/actions-menu/actions-menu.ts",
2424
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2470
2425
  "declarations": [
2471
2426
  {
2472
2427
  "kind": "class",
2473
- "description": "",
2474
- "name": "ActionsMenu",
2428
+ "description": "Natural-language criteria search input with AI interpretation.",
2429
+ "name": "AiCriteriaSearch",
2475
2430
  "members": [
2476
2431
  {
2477
2432
  "kind": "field",
2478
- "name": "actions",
2433
+ "name": "aiProvider",
2479
2434
  "type": {
2480
- "text": "ActionMenuItem[]"
2435
+ "text": "AIProvider"
2481
2436
  }
2482
2437
  },
2483
2438
  {
2484
2439
  "kind": "field",
2485
- "name": "isVertical",
2440
+ "name": "placeholder",
2486
2441
  "type": {
2487
- "text": "boolean"
2442
+ "text": "string"
2488
2443
  },
2489
- "default": "false"
2444
+ "default": "'Describe your search criteria in natural language...'"
2490
2445
  },
2491
2446
  {
2492
2447
  "kind": "field",
2493
- "name": "addDefaultActions",
2448
+ "name": "disabled",
2494
2449
  "type": {
2495
2450
  "text": "boolean"
2496
- },
2497
- "default": "true"
2451
+ }
2498
2452
  },
2499
2453
  {
2500
2454
  "kind": "field",
2501
- "name": "autoCloseOnAction",
2455
+ "name": "mode",
2502
2456
  "type": {
2503
- "text": "boolean"
2457
+ "text": "'append' | 'replace'"
2504
2458
  },
2505
- "default": "true"
2459
+ "default": "'replace'"
2506
2460
  },
2507
2461
  {
2508
2462
  "kind": "field",
2509
- "name": "classNames",
2463
+ "name": "inputValue",
2510
2464
  "type": {
2511
2465
  "text": "string"
2512
- }
2466
+ },
2467
+ "default": "''"
2513
2468
  },
2514
2469
  {
2515
2470
  "kind": "field",
2516
- "name": "definition",
2471
+ "name": "isInterpreting",
2517
2472
  "type": {
2518
- "text": "any"
2519
- }
2473
+ "text": "boolean"
2474
+ },
2475
+ "default": "false"
2520
2476
  },
2521
2477
  {
2522
2478
  "kind": "field",
2523
- "name": "name",
2479
+ "name": "lastValidCriteria",
2524
2480
  "type": {
2525
- "text": "string"
2481
+ "text": "string | null"
2526
2482
  },
2527
- "default": "'Actions'"
2483
+ "default": "null"
2528
2484
  },
2529
2485
  {
2530
2486
  "kind": "field",
2531
- "name": "open",
2487
+ "name": "fieldMetadata",
2532
2488
  "type": {
2533
- "text": "boolean"
2489
+ "text": "MetadataDetail[] | string[]"
2534
2490
  },
2535
- "default": "false"
2491
+ "default": "[]"
2536
2492
  },
2537
2493
  {
2538
2494
  "kind": "field",
2539
- "name": "buttonAppearance",
2495
+ "name": "isRecording",
2540
2496
  "type": {
2541
- "text": "string"
2542
- }
2497
+ "text": "boolean"
2498
+ },
2499
+ "default": "false"
2543
2500
  },
2544
2501
  {
2545
2502
  "kind": "field",
2546
- "name": "hideDisabled",
2503
+ "name": "textAreaRef",
2547
2504
  "type": {
2548
- "text": "boolean"
2505
+ "text": "HTMLTextAreaElement"
2549
2506
  },
2550
- "default": "false"
2507
+ "privacy": "public"
2551
2508
  },
2552
2509
  {
2553
2510
  "kind": "field",
2554
- "name": "hideMenuSingleOption",
2511
+ "name": "stopRecording",
2555
2512
  "type": {
2556
- "text": "boolean"
2513
+ "text": "(() => void) | null"
2557
2514
  },
2558
- "default": "false"
2515
+ "privacy": "private",
2516
+ "default": "null"
2559
2517
  },
2560
2518
  {
2561
2519
  "kind": "field",
2562
- "name": "singleOption",
2520
+ "name": "speechApplyDebounceTimer",
2563
2521
  "type": {
2564
- "text": "ActionMenuItem"
2565
- }
2522
+ "text": "ReturnType<typeof setTimeout> | null"
2523
+ },
2524
+ "privacy": "private",
2525
+ "default": "null"
2566
2526
  },
2567
2527
  {
2568
2528
  "kind": "field",
2569
- "name": "actionsMenu",
2529
+ "name": "baseInputForAppend",
2570
2530
  "type": {
2571
- "text": "HTMLElement"
2572
- }
2531
+ "text": "string"
2532
+ },
2533
+ "privacy": "private",
2534
+ "default": "''"
2573
2535
  },
2574
2536
  {
2575
- "kind": "method",
2576
- "name": "definitionChanged",
2577
- "privacy": "protected",
2578
- "parameters": [
2579
- {
2580
- "name": "oldValue",
2581
- "type": {
2582
- "text": "any"
2583
- }
2584
- },
2585
- {
2586
- "name": "newValue",
2587
- "type": {
2588
- "text": "any"
2589
- }
2590
- }
2591
- ]
2537
+ "kind": "field",
2538
+ "name": "speechAvailable",
2539
+ "type": {
2540
+ "text": "boolean"
2541
+ },
2542
+ "readonly": true
2592
2543
  },
2593
2544
  {
2594
2545
  "kind": "method",
2595
- "name": "openChanged",
2596
- "privacy": "protected"
2546
+ "name": "handleSubmit"
2597
2547
  },
2598
2548
  {
2599
2549
  "kind": "method",
2600
- "name": "toggleActionsMenuVisibility"
2550
+ "name": "handleBlur"
2601
2551
  },
2602
2552
  {
2603
2553
  "kind": "method",
2604
- "name": "onActionMenuItemClick",
2605
- "parameters": [
2606
- {
2607
- "name": "callback",
2608
- "type": {
2609
- "text": "(rowData) => void | any"
2610
- }
2611
- }
2612
- ]
2613
- },
2614
- {
2615
- "kind": "field",
2616
- "name": "allActions",
2617
- "type": {
2618
- "text": "ActionMenuItem[]"
2619
- },
2620
- "readonly": true
2621
- },
2622
- {
2623
- "kind": "field",
2624
- "name": "rowData",
2625
- "readonly": true
2554
+ "name": "clear"
2626
2555
  },
2627
- {
2628
- "kind": "method",
2629
- "name": "getLabel",
2630
- "parameters": [
2631
- {
2632
- "name": "name",
2633
- "type": {
2634
- "text": "string | ((rowData: any) => string)"
2635
- }
2636
- }
2637
- ]
2556
+ {
2557
+ "kind": "method",
2558
+ "name": "toggleSpeechInput"
2638
2559
  },
2639
2560
  {
2640
2561
  "kind": "method",
2641
- "name": "getTemplate",
2642
- "parameters": [
2643
- {
2644
- "name": "prefix",
2645
- "type": {
2646
- "text": "string"
2647
- }
2648
- }
2649
- ]
2562
+ "name": "clearSpeechApplyDebounce",
2563
+ "privacy": "private"
2650
2564
  },
2651
2565
  {
2652
2566
  "kind": "field",
@@ -2760,115 +2674,162 @@
2760
2674
  }
2761
2675
  }
2762
2676
  ],
2763
- "attributes": [
2764
- {
2765
- "name": "is-vertical",
2766
- "type": {
2767
- "text": "boolean"
2768
- },
2769
- "default": "false",
2770
- "fieldName": "isVertical"
2771
- },
2772
- {
2773
- "name": "add-default-actions",
2774
- "type": {
2775
- "text": "boolean"
2776
- },
2777
- "default": "true",
2778
- "fieldName": "addDefaultActions"
2779
- },
2780
- {
2781
- "name": "auto-close-on-action",
2782
- "type": {
2783
- "text": "boolean"
2784
- },
2785
- "default": "true",
2786
- "fieldName": "autoCloseOnAction"
2787
- },
2677
+ "events": [
2788
2678
  {
2789
- "name": "name",
2790
- "type": {
2791
- "text": "string"
2792
- },
2793
- "default": "'Actions'",
2794
- "fieldName": "name"
2679
+ "description": "Fired when interpreted criteria is applied or cleared",
2680
+ "name": "criteria-changed"
2795
2681
  },
2796
2682
  {
2797
- "name": "open",
2798
- "type": {
2799
- "text": "boolean"
2800
- },
2801
- "default": "false",
2802
- "fieldName": "open"
2803
- },
2683
+ "description": "Fired when interpreted criteria contains invalid clauses",
2684
+ "name": "validation-errors"
2685
+ }
2686
+ ],
2687
+ "attributes": [
2804
2688
  {
2805
- "name": "buttonAppearance",
2689
+ "name": "placeholder",
2806
2690
  "type": {
2807
2691
  "text": "string"
2808
2692
  },
2809
- "fieldName": "buttonAppearance"
2693
+ "default": "'Describe your search criteria in natural language...'",
2694
+ "fieldName": "placeholder"
2810
2695
  },
2811
2696
  {
2812
- "name": "hide-disabled",
2813
2697
  "type": {
2814
2698
  "text": "boolean"
2815
2699
  },
2816
- "default": "false",
2817
- "fieldName": "hideDisabled"
2700
+ "fieldName": "disabled"
2818
2701
  },
2819
2702
  {
2820
- "name": "hide-menu-single-option",
2703
+ "name": "mode",
2821
2704
  "type": {
2822
- "text": "boolean"
2705
+ "text": "'append' | 'replace'"
2823
2706
  },
2824
- "default": "false",
2825
- "fieldName": "hideMenuSingleOption"
2707
+ "default": "'replace'",
2708
+ "fieldName": "mode"
2826
2709
  }
2827
2710
  ],
2828
2711
  "superclass": {
2829
2712
  "name": "FoundationElement",
2830
2713
  "package": "@microsoft/fast-foundation"
2831
2714
  },
2832
- "tagName": "%%prefix%%-actions-menu",
2715
+ "tagName": "%%prefix%%-ai-criteria-search",
2833
2716
  "customElement": true
2834
2717
  },
2835
2718
  {
2836
2719
  "kind": "variable",
2837
- "name": "foundationActionsMenu",
2838
- "description": "The Foundation Actions Menu",
2839
- "privacy": "public"
2720
+ "name": "foundationAiCriteriaSearchShadowOptions",
2721
+ "type": {
2722
+ "text": "ShadowRootInit"
2723
+ },
2724
+ "default": "undefined"
2725
+ },
2726
+ {
2727
+ "kind": "variable",
2728
+ "name": "defaultAiCriteriaSearchConfig",
2729
+ "type": {
2730
+ "text": "object"
2731
+ },
2732
+ "default": "{}"
2733
+ },
2734
+ {
2735
+ "kind": "variable",
2736
+ "name": "foundationAiCriteriaSearch"
2840
2737
  }
2841
2738
  ],
2842
2739
  "exports": [
2843
2740
  {
2844
2741
  "kind": "js",
2845
- "name": "ActionsMenu",
2742
+ "name": "AiCriteriaSearch",
2846
2743
  "declaration": {
2847
- "name": "ActionsMenu",
2848
- "module": "src/actions-menu/actions-menu.ts"
2744
+ "name": "AiCriteriaSearch",
2745
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2849
2746
  }
2850
2747
  },
2851
2748
  {
2852
2749
  "kind": "js",
2853
- "name": "foundationActionsMenu",
2750
+ "name": "foundationAiCriteriaSearchShadowOptions",
2854
2751
  "declaration": {
2855
- "name": "foundationActionsMenu",
2856
- "module": "src/actions-menu/actions-menu.ts"
2752
+ "name": "foundationAiCriteriaSearchShadowOptions",
2753
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2754
+ }
2755
+ },
2756
+ {
2757
+ "kind": "js",
2758
+ "name": "defaultAiCriteriaSearchConfig",
2759
+ "declaration": {
2760
+ "name": "defaultAiCriteriaSearchConfig",
2761
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2762
+ }
2763
+ },
2764
+ {
2765
+ "kind": "js",
2766
+ "name": "foundationAiCriteriaSearch",
2767
+ "declaration": {
2768
+ "name": "foundationAiCriteriaSearch",
2769
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2857
2770
  }
2858
2771
  }
2859
2772
  ]
2860
2773
  },
2861
2774
  {
2862
2775
  "kind": "javascript-module",
2863
- "path": "src/actions-menu/index.ts",
2776
+ "path": "src/ai-criteria-search/index.ts",
2864
2777
  "declarations": [],
2865
2778
  "exports": [
2779
+ {
2780
+ "kind": "js",
2781
+ "name": "AiCriteriaSearch",
2782
+ "declaration": {
2783
+ "name": "AiCriteriaSearch",
2784
+ "module": "./ai-criteria-search"
2785
+ }
2786
+ },
2787
+ {
2788
+ "kind": "js",
2789
+ "name": "defaultAiCriteriaSearchConfig",
2790
+ "declaration": {
2791
+ "name": "defaultAiCriteriaSearchConfig",
2792
+ "module": "./ai-criteria-search"
2793
+ }
2794
+ },
2795
+ {
2796
+ "kind": "js",
2797
+ "name": "foundationAiCriteriaSearch",
2798
+ "declaration": {
2799
+ "name": "foundationAiCriteriaSearch",
2800
+ "module": "./ai-criteria-search"
2801
+ }
2802
+ },
2803
+ {
2804
+ "kind": "js",
2805
+ "name": "foundationAiCriteriaSearchShadowOptions",
2806
+ "declaration": {
2807
+ "name": "foundationAiCriteriaSearchShadowOptions",
2808
+ "module": "./ai-criteria-search"
2809
+ }
2810
+ },
2811
+ {
2812
+ "kind": "js",
2813
+ "name": "foundationAiCriteriaSearchStyles",
2814
+ "declaration": {
2815
+ "name": "foundationAiCriteriaSearchStyles",
2816
+ "module": "./ai-criteria-search.styles"
2817
+ }
2818
+ },
2819
+ {
2820
+ "kind": "js",
2821
+ "name": "foundationAiCriteriaSearchTemplate",
2822
+ "declaration": {
2823
+ "name": "foundationAiCriteriaSearchTemplate",
2824
+ "module": "./ai-criteria-search.template"
2825
+ }
2826
+ },
2866
2827
  {
2867
2828
  "kind": "js",
2868
2829
  "name": "*",
2869
2830
  "declaration": {
2870
2831
  "name": "*",
2871
- "package": "./actions-menu.styles"
2832
+ "package": "./validation/criteria-ir"
2872
2833
  }
2873
2834
  },
2874
2835
  {
@@ -2876,7 +2837,7 @@
2876
2837
  "name": "*",
2877
2838
  "declaration": {
2878
2839
  "name": "*",
2879
- "package": "./actions-menu.template"
2840
+ "package": "./validation/operator-map"
2880
2841
  }
2881
2842
  },
2882
2843
  {
@@ -2884,64 +2845,157 @@
2884
2845
  "name": "*",
2885
2846
  "declaration": {
2886
2847
  "name": "*",
2887
- "package": "./actions-menu"
2848
+ "package": "./validation/schema-validator"
2849
+ }
2850
+ }
2851
+ ]
2852
+ },
2853
+ {
2854
+ "kind": "javascript-module",
2855
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2856
+ "declarations": [
2857
+ {
2858
+ "kind": "function",
2859
+ "name": "formatValidationErrors",
2860
+ "return": {
2861
+ "type": {
2862
+ "text": "string"
2863
+ }
2864
+ },
2865
+ "parameters": [
2866
+ {
2867
+ "name": "errors",
2868
+ "type": {
2869
+ "text": "ValidationError[]"
2870
+ }
2871
+ }
2872
+ ],
2873
+ "description": "Formats validation errors into a user-friendly message."
2874
+ },
2875
+ {
2876
+ "kind": "function",
2877
+ "name": "showCriteriaError",
2878
+ "return": {
2879
+ "type": {
2880
+ "text": "void"
2881
+ }
2882
+ },
2883
+ "parameters": [
2884
+ {
2885
+ "name": "title",
2886
+ "type": {
2887
+ "text": "string"
2888
+ },
2889
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2890
+ },
2891
+ {
2892
+ "name": "body",
2893
+ "type": {
2894
+ "text": "string"
2895
+ },
2896
+ "description": "Error message to display"
2897
+ },
2898
+ {
2899
+ "name": "tagName",
2900
+ "type": {
2901
+ "text": "string"
2902
+ },
2903
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2904
+ }
2905
+ ],
2906
+ "description": "Shows a criteria error as a toast notification."
2907
+ }
2908
+ ],
2909
+ "exports": [
2910
+ {
2911
+ "kind": "js",
2912
+ "name": "formatValidationErrors",
2913
+ "declaration": {
2914
+ "name": "formatValidationErrors",
2915
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2916
+ }
2917
+ },
2918
+ {
2919
+ "kind": "js",
2920
+ "name": "showCriteriaError",
2921
+ "declaration": {
2922
+ "name": "showCriteriaError",
2923
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2888
2924
  }
2889
2925
  }
2890
2926
  ]
2891
2927
  },
2892
2928
  {
2893
2929
  "kind": "javascript-module",
2894
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2930
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2895
2931
  "declarations": [
2896
2932
  {
2897
- "kind": "variable",
2898
- "name": "foundationAiCriteriaSearchStyles",
2899
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2933
+ "kind": "function",
2934
+ "name": "foundationAiIndicatorStyles",
2935
+ "return": {
2936
+ "type": {
2937
+ "text": "ElementStyles"
2938
+ }
2939
+ },
2940
+ "parameters": [
2941
+ {
2942
+ "name": "context",
2943
+ "type": {
2944
+ "text": "ElementDefinitionContext"
2945
+ }
2946
+ },
2947
+ {
2948
+ "name": "definition",
2949
+ "type": {
2950
+ "text": "FoundationElementDefinition"
2951
+ }
2952
+ }
2953
+ ]
2900
2954
  }
2901
2955
  ],
2902
2956
  "exports": [
2903
2957
  {
2904
2958
  "kind": "js",
2905
- "name": "foundationAiCriteriaSearchStyles",
2959
+ "name": "foundationAiIndicatorStyles",
2906
2960
  "declaration": {
2907
- "name": "foundationAiCriteriaSearchStyles",
2908
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2961
+ "name": "foundationAiIndicatorStyles",
2962
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2909
2963
  }
2910
2964
  }
2911
2965
  ]
2912
2966
  },
2913
2967
  {
2914
2968
  "kind": "javascript-module",
2915
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2969
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2916
2970
  "declarations": [
2917
2971
  {
2918
2972
  "kind": "variable",
2919
- "name": "foundationAiCriteriaSearchTemplate",
2973
+ "name": "foundationAiIndicatorTemplate",
2920
2974
  "type": {
2921
- "text": "ViewTemplate<AiCriteriaSearch>"
2975
+ "text": "ViewTemplate<AiIndicator>"
2922
2976
  },
2923
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2977
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2924
2978
  }
2925
2979
  ],
2926
2980
  "exports": [
2927
2981
  {
2928
2982
  "kind": "js",
2929
- "name": "foundationAiCriteriaSearchTemplate",
2983
+ "name": "foundationAiIndicatorTemplate",
2930
2984
  "declaration": {
2931
- "name": "foundationAiCriteriaSearchTemplate",
2932
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2985
+ "name": "foundationAiIndicatorTemplate",
2986
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2933
2987
  }
2934
2988
  }
2935
2989
  ]
2936
2990
  },
2937
2991
  {
2938
2992
  "kind": "javascript-module",
2939
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2993
+ "path": "src/ai-indicator/ai-indicator.ts",
2940
2994
  "declarations": [
2941
2995
  {
2942
2996
  "kind": "class",
2943
- "description": "Natural-language criteria search input with AI interpretation.",
2944
- "name": "AiCriteriaSearch",
2997
+ "description": "",
2998
+ "name": "AiIndicator",
2945
2999
  "members": [
2946
3000
  {
2947
3001
  "kind": "field",
@@ -2952,38 +3006,31 @@
2952
3006
  },
2953
3007
  {
2954
3008
  "kind": "field",
2955
- "name": "placeholder",
3009
+ "name": "status",
2956
3010
  "type": {
2957
- "text": "string"
3011
+ "text": "AIStatus | null"
2958
3012
  },
2959
- "default": "'Describe your search criteria in natural language...'"
3013
+ "default": "null"
2960
3014
  },
2961
3015
  {
2962
3016
  "kind": "field",
2963
- "name": "disabled",
3017
+ "name": "open",
2964
3018
  "type": {
2965
3019
  "text": "boolean"
2966
- }
2967
- },
2968
- {
2969
- "kind": "field",
2970
- "name": "mode",
2971
- "type": {
2972
- "text": "'append' | 'replace'"
2973
3020
  },
2974
- "default": "'replace'"
3021
+ "default": "false"
2975
3022
  },
2976
3023
  {
2977
3024
  "kind": "field",
2978
- "name": "inputValue",
3025
+ "name": "state",
2979
3026
  "type": {
2980
- "text": "string"
3027
+ "text": "AIIndicatorState"
2981
3028
  },
2982
- "default": "''"
3029
+ "default": "'none'"
2983
3030
  },
2984
3031
  {
2985
3032
  "kind": "field",
2986
- "name": "isInterpreting",
3033
+ "name": "isInstalling",
2987
3034
  "type": {
2988
3035
  "text": "boolean"
2989
3036
  },
@@ -2991,91 +3038,133 @@
2991
3038
  },
2992
3039
  {
2993
3040
  "kind": "field",
2994
- "name": "lastValidCriteria",
3041
+ "name": "pollTimer",
2995
3042
  "type": {
2996
- "text": "string | null"
3043
+ "text": "ReturnType<typeof setInterval> | null"
2997
3044
  },
3045
+ "privacy": "private",
2998
3046
  "default": "null"
2999
3047
  },
3000
3048
  {
3001
3049
  "kind": "field",
3002
- "name": "fieldMetadata",
3003
- "type": {
3004
- "text": "MetadataDetail[] | string[]"
3005
- },
3006
- "default": "[]"
3050
+ "name": "clickOutside",
3051
+ "privacy": "private"
3007
3052
  },
3008
3053
  {
3009
3054
  "kind": "field",
3010
- "name": "isRecording",
3055
+ "name": "chromeStatusLabel",
3011
3056
  "type": {
3012
- "text": "boolean"
3057
+ "text": "string | null"
3013
3058
  },
3014
- "default": "false"
3059
+ "readonly": true
3015
3060
  },
3016
3061
  {
3017
3062
  "kind": "field",
3018
- "name": "textAreaRef",
3063
+ "name": "canInstall",
3019
3064
  "type": {
3020
- "text": "HTMLTextAreaElement"
3065
+ "text": "boolean"
3021
3066
  },
3022
- "privacy": "public"
3067
+ "readonly": true
3023
3068
  },
3024
3069
  {
3025
3070
  "kind": "field",
3026
- "name": "stopRecording",
3071
+ "name": "isDownloading",
3027
3072
  "type": {
3028
- "text": "(() => void) | null"
3073
+ "text": "boolean"
3029
3074
  },
3030
- "privacy": "private",
3031
- "default": "null"
3075
+ "readonly": true
3032
3076
  },
3033
3077
  {
3034
- "kind": "field",
3035
- "name": "speechApplyDebounceTimer",
3036
- "type": {
3037
- "text": "ReturnType<typeof setTimeout> | null"
3038
- },
3039
- "privacy": "private",
3040
- "default": "null"
3078
+ "kind": "method",
3079
+ "name": "openChanged",
3080
+ "return": {
3081
+ "type": {
3082
+ "text": "void"
3083
+ }
3084
+ }
3041
3085
  },
3042
3086
  {
3043
- "kind": "field",
3044
- "name": "baseInputForAppend",
3045
- "type": {
3046
- "text": "string"
3047
- },
3087
+ "kind": "method",
3088
+ "name": "handleClickOutside",
3048
3089
  "privacy": "private",
3049
- "default": "''"
3090
+ "parameters": [
3091
+ {
3092
+ "name": "event",
3093
+ "type": {
3094
+ "text": "MouseEvent"
3095
+ }
3096
+ }
3097
+ ]
3050
3098
  },
3051
3099
  {
3052
- "kind": "field",
3053
- "name": "speechAvailable",
3054
- "type": {
3055
- "text": "boolean"
3056
- },
3057
- "readonly": true
3100
+ "kind": "method",
3101
+ "name": "toggleDropdown"
3058
3102
  },
3059
3103
  {
3060
3104
  "kind": "method",
3061
- "name": "handleSubmit"
3105
+ "name": "refreshStatus",
3106
+ "return": {
3107
+ "type": {
3108
+ "text": "Promise<void>"
3109
+ }
3110
+ }
3062
3111
  },
3063
3112
  {
3064
3113
  "kind": "method",
3065
- "name": "handleBlur"
3114
+ "name": "deriveState",
3115
+ "privacy": "private",
3116
+ "return": {
3117
+ "type": {
3118
+ "text": "AIIndicatorState"
3119
+ }
3120
+ },
3121
+ "parameters": [
3122
+ {
3123
+ "name": "s",
3124
+ "type": {
3125
+ "text": "AIStatus | null"
3126
+ }
3127
+ }
3128
+ ]
3066
3129
  },
3067
3130
  {
3068
3131
  "kind": "method",
3069
- "name": "clear"
3132
+ "name": "maybeStartPolling",
3133
+ "privacy": "private",
3134
+ "return": {
3135
+ "type": {
3136
+ "text": "void"
3137
+ }
3138
+ }
3070
3139
  },
3071
3140
  {
3072
3141
  "kind": "method",
3073
- "name": "toggleSpeechInput"
3142
+ "name": "startPolling",
3143
+ "privacy": "private",
3144
+ "return": {
3145
+ "type": {
3146
+ "text": "void"
3147
+ }
3148
+ }
3074
3149
  },
3075
3150
  {
3076
3151
  "kind": "method",
3077
- "name": "clearSpeechApplyDebounce",
3078
- "privacy": "private"
3152
+ "name": "stopPolling",
3153
+ "privacy": "private",
3154
+ "return": {
3155
+ "type": {
3156
+ "text": "void"
3157
+ }
3158
+ }
3159
+ },
3160
+ {
3161
+ "kind": "method",
3162
+ "name": "onInstall",
3163
+ "return": {
3164
+ "type": {
3165
+ "text": "Promise<void>"
3166
+ }
3167
+ }
3079
3168
  },
3080
3169
  {
3081
3170
  "kind": "field",
@@ -3189,267 +3278,141 @@
3189
3278
  }
3190
3279
  }
3191
3280
  ],
3192
- "events": [
3193
- {
3194
- "description": "Fired when interpreted criteria is applied or cleared",
3195
- "name": "criteria-changed"
3196
- },
3197
- {
3198
- "description": "Fired when interpreted criteria contains invalid clauses",
3199
- "name": "validation-errors"
3200
- }
3201
- ],
3202
- "attributes": [
3203
- {
3204
- "name": "placeholder",
3205
- "type": {
3206
- "text": "string"
3207
- },
3208
- "default": "'Describe your search criteria in natural language...'",
3209
- "fieldName": "placeholder"
3210
- },
3211
- {
3212
- "type": {
3213
- "text": "boolean"
3214
- },
3215
- "fieldName": "disabled"
3216
- },
3217
- {
3218
- "name": "mode",
3219
- "type": {
3220
- "text": "'append' | 'replace'"
3221
- },
3222
- "default": "'replace'",
3223
- "fieldName": "mode"
3224
- }
3225
- ],
3226
3281
  "superclass": {
3227
3282
  "name": "FoundationElement",
3228
3283
  "package": "@microsoft/fast-foundation"
3229
3284
  },
3230
- "tagName": "%%prefix%%-ai-criteria-search",
3231
- "customElement": true
3232
- },
3233
- {
3234
- "kind": "variable",
3235
- "name": "foundationAiCriteriaSearchShadowOptions",
3236
- "type": {
3237
- "text": "ShadowRootInit"
3238
- },
3239
- "default": "undefined"
3240
- },
3241
- {
3242
- "kind": "variable",
3243
- "name": "defaultAiCriteriaSearchConfig",
3244
- "type": {
3245
- "text": "object"
3246
- },
3247
- "default": "{}"
3285
+ "tagName": "%%prefix%%-ai-indicator",
3286
+ "customElement": true
3248
3287
  },
3249
3288
  {
3250
3289
  "kind": "variable",
3251
- "name": "foundationAiCriteriaSearch"
3290
+ "name": "foundationAiIndicator"
3252
3291
  }
3253
3292
  ],
3254
3293
  "exports": [
3255
3294
  {
3256
3295
  "kind": "js",
3257
- "name": "AiCriteriaSearch",
3258
- "declaration": {
3259
- "name": "AiCriteriaSearch",
3260
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3261
- }
3262
- },
3263
- {
3264
- "kind": "js",
3265
- "name": "foundationAiCriteriaSearchShadowOptions",
3266
- "declaration": {
3267
- "name": "foundationAiCriteriaSearchShadowOptions",
3268
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3269
- }
3270
- },
3271
- {
3272
- "kind": "js",
3273
- "name": "defaultAiCriteriaSearchConfig",
3296
+ "name": "AiIndicator",
3274
3297
  "declaration": {
3275
- "name": "defaultAiCriteriaSearchConfig",
3276
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3298
+ "name": "AiIndicator",
3299
+ "module": "src/ai-indicator/ai-indicator.ts"
3277
3300
  }
3278
3301
  },
3279
3302
  {
3280
3303
  "kind": "js",
3281
- "name": "foundationAiCriteriaSearch",
3304
+ "name": "foundationAiIndicator",
3282
3305
  "declaration": {
3283
- "name": "foundationAiCriteriaSearch",
3284
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3306
+ "name": "foundationAiIndicator",
3307
+ "module": "src/ai-indicator/ai-indicator.ts"
3285
3308
  }
3286
3309
  }
3287
3310
  ]
3288
3311
  },
3289
3312
  {
3290
3313
  "kind": "javascript-module",
3291
- "path": "src/ai-criteria-search/index.ts",
3314
+ "path": "src/ai-indicator/index.ts",
3292
3315
  "declarations": [],
3293
3316
  "exports": [
3294
3317
  {
3295
3318
  "kind": "js",
3296
- "name": "AiCriteriaSearch",
3297
- "declaration": {
3298
- "name": "AiCriteriaSearch",
3299
- "module": "./ai-criteria-search"
3300
- }
3301
- },
3302
- {
3303
- "kind": "js",
3304
- "name": "defaultAiCriteriaSearchConfig",
3305
- "declaration": {
3306
- "name": "defaultAiCriteriaSearchConfig",
3307
- "module": "./ai-criteria-search"
3308
- }
3309
- },
3310
- {
3311
- "kind": "js",
3312
- "name": "foundationAiCriteriaSearch",
3313
- "declaration": {
3314
- "name": "foundationAiCriteriaSearch",
3315
- "module": "./ai-criteria-search"
3316
- }
3317
- },
3318
- {
3319
- "kind": "js",
3320
- "name": "foundationAiCriteriaSearchShadowOptions",
3319
+ "name": "AiIndicator",
3321
3320
  "declaration": {
3322
- "name": "foundationAiCriteriaSearchShadowOptions",
3323
- "module": "./ai-criteria-search"
3321
+ "name": "AiIndicator",
3322
+ "module": "./ai-indicator"
3324
3323
  }
3325
3324
  },
3326
3325
  {
3327
3326
  "kind": "js",
3328
- "name": "foundationAiCriteriaSearchStyles",
3327
+ "name": "foundationAiIndicator",
3329
3328
  "declaration": {
3330
- "name": "foundationAiCriteriaSearchStyles",
3331
- "module": "./ai-criteria-search.styles"
3329
+ "name": "foundationAiIndicator",
3330
+ "module": "./ai-indicator"
3332
3331
  }
3333
3332
  },
3334
3333
  {
3335
3334
  "kind": "js",
3336
- "name": "foundationAiCriteriaSearchTemplate",
3335
+ "name": "type",
3337
3336
  "declaration": {
3338
- "name": "foundationAiCriteriaSearchTemplate",
3339
- "module": "./ai-criteria-search.template"
3337
+ "name": "type",
3338
+ "module": "./ai-indicator"
3340
3339
  }
3341
3340
  },
3342
3341
  {
3343
3342
  "kind": "js",
3344
- "name": "*",
3343
+ "name": "AIIndicatorState",
3345
3344
  "declaration": {
3346
- "name": "*",
3347
- "package": "./validation/criteria-ir"
3345
+ "name": "AIIndicatorState",
3346
+ "module": "./ai-indicator"
3348
3347
  }
3349
3348
  },
3350
3349
  {
3351
3350
  "kind": "js",
3352
- "name": "*",
3351
+ "name": "foundationAiIndicatorTemplate",
3353
3352
  "declaration": {
3354
- "name": "*",
3355
- "package": "./validation/operator-map"
3353
+ "name": "foundationAiIndicatorTemplate",
3354
+ "module": "./ai-indicator.template"
3356
3355
  }
3357
3356
  },
3358
3357
  {
3359
3358
  "kind": "js",
3360
- "name": "*",
3359
+ "name": "foundationAiIndicatorStyles",
3361
3360
  "declaration": {
3362
- "name": "*",
3363
- "package": "./validation/schema-validator"
3361
+ "name": "foundationAiIndicatorStyles",
3362
+ "module": "./ai-indicator.styles"
3364
3363
  }
3365
3364
  }
3366
3365
  ]
3367
3366
  },
3368
3367
  {
3369
3368
  "kind": "javascript-module",
3370
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3369
+ "path": "src/accordion/accordion.styles.ts",
3371
3370
  "declarations": [
3372
3371
  {
3373
3372
  "kind": "function",
3374
- "name": "formatValidationErrors",
3373
+ "name": "foundationAccordionStyles",
3375
3374
  "return": {
3376
3375
  "type": {
3377
- "text": "string"
3376
+ "text": "ElementStyles"
3378
3377
  }
3379
3378
  },
3380
3379
  "parameters": [
3381
3380
  {
3382
- "name": "errors",
3381
+ "name": "context",
3383
3382
  "type": {
3384
- "text": "ValidationError[]"
3383
+ "text": "ElementDefinitionContext"
3385
3384
  }
3386
- }
3387
- ],
3388
- "description": "Formats validation errors into a user-friendly message."
3389
- },
3390
- {
3391
- "kind": "function",
3392
- "name": "showCriteriaError",
3393
- "return": {
3394
- "type": {
3395
- "text": "void"
3396
- }
3397
- },
3398
- "parameters": [
3399
- {
3400
- "name": "title",
3401
- "type": {
3402
- "text": "string"
3403
- },
3404
- "description": "Notification title (e.g. \"Criteria validation error\")"
3405
- },
3406
- {
3407
- "name": "body",
3408
- "type": {
3409
- "text": "string"
3410
- },
3411
- "description": "Error message to display"
3412
3385
  },
3413
3386
  {
3414
- "name": "tagName",
3387
+ "name": "definition",
3415
3388
  "type": {
3416
- "text": "string"
3417
- },
3418
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3389
+ "text": "FoundationElementDefinition"
3390
+ }
3419
3391
  }
3420
- ],
3421
- "description": "Shows a criteria error as a toast notification."
3392
+ ]
3422
3393
  }
3423
3394
  ],
3424
3395
  "exports": [
3425
3396
  {
3426
3397
  "kind": "js",
3427
- "name": "formatValidationErrors",
3428
- "declaration": {
3429
- "name": "formatValidationErrors",
3430
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3431
- }
3432
- },
3433
- {
3434
- "kind": "js",
3435
- "name": "showCriteriaError",
3398
+ "name": "foundationAccordionStyles",
3436
3399
  "declaration": {
3437
- "name": "showCriteriaError",
3438
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3400
+ "name": "foundationAccordionStyles",
3401
+ "module": "src/accordion/accordion.styles.ts"
3439
3402
  }
3440
3403
  }
3441
3404
  ]
3442
3405
  },
3443
3406
  {
3444
3407
  "kind": "javascript-module",
3445
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3408
+ "path": "src/accordion/accordion.template.ts",
3446
3409
  "declarations": [
3447
3410
  {
3448
3411
  "kind": "function",
3449
- "name": "foundationAiIndicatorStyles",
3412
+ "name": "foundationAccordionTemplate",
3450
3413
  "return": {
3451
3414
  "type": {
3452
- "text": "ElementStyles"
3415
+ "text": "ViewTemplate<Accordion>"
3453
3416
  }
3454
3417
  },
3455
3418
  "parameters": [
@@ -3471,214 +3434,237 @@
3471
3434
  "exports": [
3472
3435
  {
3473
3436
  "kind": "js",
3474
- "name": "foundationAiIndicatorStyles",
3475
- "declaration": {
3476
- "name": "foundationAiIndicatorStyles",
3477
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3478
- }
3479
- }
3480
- ]
3481
- },
3482
- {
3483
- "kind": "javascript-module",
3484
- "path": "src/ai-indicator/ai-indicator.template.ts",
3485
- "declarations": [
3486
- {
3487
- "kind": "variable",
3488
- "name": "foundationAiIndicatorTemplate",
3489
- "type": {
3490
- "text": "ViewTemplate<AiIndicator>"
3491
- },
3492
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3493
- }
3494
- ],
3495
- "exports": [
3496
- {
3497
- "kind": "js",
3498
- "name": "foundationAiIndicatorTemplate",
3437
+ "name": "foundationAccordionTemplate",
3499
3438
  "declaration": {
3500
- "name": "foundationAiIndicatorTemplate",
3501
- "module": "src/ai-indicator/ai-indicator.template.ts"
3439
+ "name": "foundationAccordionTemplate",
3440
+ "module": "src/accordion/accordion.template.ts"
3502
3441
  }
3503
3442
  }
3504
3443
  ]
3505
3444
  },
3506
3445
  {
3507
3446
  "kind": "javascript-module",
3508
- "path": "src/ai-indicator/ai-indicator.ts",
3447
+ "path": "src/accordion/accordion.ts",
3509
3448
  "declarations": [
3510
3449
  {
3511
3450
  "kind": "class",
3512
3451
  "description": "",
3513
- "name": "AiIndicator",
3514
- "members": [
3515
- {
3516
- "kind": "field",
3517
- "name": "aiProvider",
3518
- "type": {
3519
- "text": "AIProvider"
3520
- }
3521
- },
3452
+ "name": "Accordion",
3453
+ "superclass": {
3454
+ "name": "FASTAccordion",
3455
+ "package": "@microsoft/fast-foundation"
3456
+ },
3457
+ "tagName": "%%prefix%%-accordion",
3458
+ "customElement": true,
3459
+ "attributes": [
3522
3460
  {
3523
- "kind": "field",
3524
- "name": "status",
3461
+ "name": "expand-mode",
3525
3462
  "type": {
3526
- "text": "AIStatus | null"
3463
+ "text": "AccordionExpandMode"
3527
3464
  },
3528
- "default": "null"
3529
- },
3465
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3466
+ "fieldName": "expandmode",
3467
+ "inheritedFrom": {
3468
+ "name": "Accordion",
3469
+ "module": "src/accordion/accordion.ts"
3470
+ }
3471
+ }
3472
+ ],
3473
+ "members": [
3530
3474
  {
3531
3475
  "kind": "field",
3532
- "name": "open",
3476
+ "name": "expandmode",
3533
3477
  "type": {
3534
- "text": "boolean"
3478
+ "text": "AccordionExpandMode"
3535
3479
  },
3536
- "default": "false"
3480
+ "privacy": "public",
3481
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3482
+ "inheritedFrom": {
3483
+ "name": "Accordion",
3484
+ "module": "src/accordion/accordion.ts"
3485
+ }
3537
3486
  },
3538
3487
  {
3539
3488
  "kind": "field",
3540
- "name": "state",
3489
+ "name": "activeid",
3541
3490
  "type": {
3542
- "text": "AIIndicatorState"
3491
+ "text": "string | null"
3543
3492
  },
3544
- "default": "'none'"
3493
+ "privacy": "private",
3494
+ "inheritedFrom": {
3495
+ "name": "Accordion",
3496
+ "module": "src/accordion/accordion.ts"
3497
+ }
3545
3498
  },
3546
3499
  {
3547
3500
  "kind": "field",
3548
- "name": "isInstalling",
3501
+ "name": "activeItemIndex",
3549
3502
  "type": {
3550
- "text": "boolean"
3503
+ "text": "number"
3551
3504
  },
3552
- "default": "false"
3505
+ "privacy": "private",
3506
+ "default": "0",
3507
+ "inheritedFrom": {
3508
+ "name": "Accordion",
3509
+ "module": "src/accordion/accordion.ts"
3510
+ }
3553
3511
  },
3554
3512
  {
3555
3513
  "kind": "field",
3556
- "name": "pollTimer",
3514
+ "name": "accordionIds",
3557
3515
  "type": {
3558
- "text": "ReturnType<typeof setInterval> | null"
3516
+ "text": "Array<string | null>"
3559
3517
  },
3560
3518
  "privacy": "private",
3561
- "default": "null"
3562
- },
3563
- {
3564
- "kind": "field",
3565
- "name": "clickOutside",
3566
- "privacy": "private"
3519
+ "inheritedFrom": {
3520
+ "name": "Accordion",
3521
+ "module": "src/accordion/accordion.ts"
3522
+ }
3567
3523
  },
3568
3524
  {
3569
3525
  "kind": "field",
3570
- "name": "chromeStatusLabel",
3571
- "type": {
3572
- "text": "string | null"
3573
- },
3574
- "readonly": true
3526
+ "name": "change",
3527
+ "privacy": "private",
3528
+ "inheritedFrom": {
3529
+ "name": "Accordion",
3530
+ "module": "src/accordion/accordion.ts"
3531
+ }
3575
3532
  },
3576
3533
  {
3577
- "kind": "field",
3578
- "name": "canInstall",
3579
- "type": {
3580
- "text": "boolean"
3534
+ "kind": "method",
3535
+ "name": "findExpandedItem",
3536
+ "privacy": "private",
3537
+ "return": {
3538
+ "type": {
3539
+ "text": "AccordionItem | null"
3540
+ }
3581
3541
  },
3582
- "readonly": true
3542
+ "inheritedFrom": {
3543
+ "name": "Accordion",
3544
+ "module": "src/accordion/accordion.ts"
3545
+ }
3583
3546
  },
3584
3547
  {
3585
3548
  "kind": "field",
3586
- "name": "isDownloading",
3587
- "type": {
3588
- "text": "boolean"
3589
- },
3590
- "readonly": true
3549
+ "name": "setItems",
3550
+ "privacy": "private",
3551
+ "inheritedFrom": {
3552
+ "name": "Accordion",
3553
+ "module": "src/accordion/accordion.ts"
3554
+ }
3591
3555
  },
3592
3556
  {
3593
3557
  "kind": "method",
3594
- "name": "openChanged",
3558
+ "name": "resetItems",
3559
+ "privacy": "private",
3595
3560
  "return": {
3596
3561
  "type": {
3597
3562
  "text": "void"
3598
3563
  }
3564
+ },
3565
+ "inheritedFrom": {
3566
+ "name": "Accordion",
3567
+ "module": "src/accordion/accordion.ts"
3599
3568
  }
3600
3569
  },
3601
3570
  {
3602
- "kind": "method",
3603
- "name": "handleClickOutside",
3571
+ "kind": "field",
3572
+ "name": "removeItemListeners",
3604
3573
  "privacy": "private",
3605
- "parameters": [
3606
- {
3607
- "name": "event",
3608
- "type": {
3609
- "text": "MouseEvent"
3610
- }
3611
- }
3612
- ]
3574
+ "inheritedFrom": {
3575
+ "name": "Accordion",
3576
+ "module": "src/accordion/accordion.ts"
3577
+ }
3613
3578
  },
3614
3579
  {
3615
- "kind": "method",
3616
- "name": "toggleDropdown"
3580
+ "kind": "field",
3581
+ "name": "activeItemChange",
3582
+ "privacy": "private",
3583
+ "inheritedFrom": {
3584
+ "name": "Accordion",
3585
+ "module": "src/accordion/accordion.ts"
3586
+ }
3617
3587
  },
3618
3588
  {
3619
3589
  "kind": "method",
3620
- "name": "refreshStatus",
3590
+ "name": "getItemIds",
3591
+ "privacy": "private",
3621
3592
  "return": {
3622
3593
  "type": {
3623
- "text": "Promise<void>"
3594
+ "text": "Array<string | null>"
3624
3595
  }
3596
+ },
3597
+ "inheritedFrom": {
3598
+ "name": "Accordion",
3599
+ "module": "src/accordion/accordion.ts"
3625
3600
  }
3626
3601
  },
3627
3602
  {
3628
3603
  "kind": "method",
3629
- "name": "deriveState",
3604
+ "name": "isSingleExpandMode",
3630
3605
  "privacy": "private",
3631
3606
  "return": {
3632
3607
  "type": {
3633
- "text": "AIIndicatorState"
3608
+ "text": "boolean"
3634
3609
  }
3635
3610
  },
3636
- "parameters": [
3637
- {
3638
- "name": "s",
3639
- "type": {
3640
- "text": "AIStatus | null"
3641
- }
3642
- }
3643
- ]
3611
+ "inheritedFrom": {
3612
+ "name": "Accordion",
3613
+ "module": "src/accordion/accordion.ts"
3614
+ }
3644
3615
  },
3645
3616
  {
3646
- "kind": "method",
3647
- "name": "maybeStartPolling",
3617
+ "kind": "field",
3618
+ "name": "handleItemKeyDown",
3648
3619
  "privacy": "private",
3649
- "return": {
3650
- "type": {
3651
- "text": "void"
3652
- }
3620
+ "inheritedFrom": {
3621
+ "name": "Accordion",
3622
+ "module": "src/accordion/accordion.ts"
3653
3623
  }
3654
3624
  },
3655
3625
  {
3656
- "kind": "method",
3657
- "name": "startPolling",
3626
+ "kind": "field",
3627
+ "name": "handleItemFocus",
3658
3628
  "privacy": "private",
3659
- "return": {
3660
- "type": {
3661
- "text": "void"
3662
- }
3629
+ "inheritedFrom": {
3630
+ "name": "Accordion",
3631
+ "module": "src/accordion/accordion.ts"
3663
3632
  }
3664
3633
  },
3665
3634
  {
3666
3635
  "kind": "method",
3667
- "name": "stopPolling",
3636
+ "name": "adjust",
3668
3637
  "privacy": "private",
3669
3638
  "return": {
3670
3639
  "type": {
3671
3640
  "text": "void"
3672
3641
  }
3642
+ },
3643
+ "parameters": [
3644
+ {
3645
+ "name": "adjustment",
3646
+ "type": {
3647
+ "text": "number"
3648
+ }
3649
+ }
3650
+ ],
3651
+ "inheritedFrom": {
3652
+ "name": "Accordion",
3653
+ "module": "src/accordion/accordion.ts"
3673
3654
  }
3674
3655
  },
3675
3656
  {
3676
3657
  "kind": "method",
3677
- "name": "onInstall",
3658
+ "name": "focusItem",
3659
+ "privacy": "private",
3678
3660
  "return": {
3679
3661
  "type": {
3680
- "text": "Promise<void>"
3662
+ "text": "void"
3681
3663
  }
3664
+ },
3665
+ "inheritedFrom": {
3666
+ "name": "Accordion",
3667
+ "module": "src/accordion/accordion.ts"
3682
3668
  }
3683
3669
  },
3684
3670
  {
@@ -3793,88 +3779,102 @@
3793
3779
  }
3794
3780
  }
3795
3781
  ],
3796
- "superclass": {
3797
- "name": "FoundationElement",
3798
- "package": "@microsoft/fast-foundation"
3782
+ "events": [
3783
+ {
3784
+ "description": "Fires a custom 'change' event when the active item changes",
3785
+ "name": "change",
3786
+ "inheritedFrom": {
3787
+ "name": "Accordion",
3788
+ "module": "src/accordion/accordion.ts"
3789
+ }
3790
+ }
3791
+ ]
3792
+ },
3793
+ {
3794
+ "kind": "variable",
3795
+ "name": "foundationAccordionShadowOptions",
3796
+ "type": {
3797
+ "text": "ShadowRootInit"
3799
3798
  },
3800
- "tagName": "%%prefix%%-ai-indicator",
3801
- "customElement": true
3799
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3802
3800
  },
3803
3801
  {
3804
3802
  "kind": "variable",
3805
- "name": "foundationAiIndicator"
3803
+ "name": "defaultAccordionConfig",
3804
+ "type": {
3805
+ "text": "object"
3806
+ },
3807
+ "default": "{}"
3808
+ },
3809
+ {
3810
+ "kind": "variable",
3811
+ "name": "foundationAccordion",
3812
+ "description": "The Foundation Accordion",
3813
+ "privacy": "public"
3806
3814
  }
3807
3815
  ],
3808
3816
  "exports": [
3809
3817
  {
3810
3818
  "kind": "js",
3811
- "name": "AiIndicator",
3819
+ "name": "Accordion",
3812
3820
  "declaration": {
3813
- "name": "AiIndicator",
3814
- "module": "src/ai-indicator/ai-indicator.ts"
3821
+ "name": "Accordion",
3822
+ "module": "src/accordion/accordion.ts"
3815
3823
  }
3816
3824
  },
3817
3825
  {
3818
3826
  "kind": "js",
3819
- "name": "foundationAiIndicator",
3820
- "declaration": {
3821
- "name": "foundationAiIndicator",
3822
- "module": "src/ai-indicator/ai-indicator.ts"
3823
- }
3824
- }
3825
- ]
3826
- },
3827
- {
3828
- "kind": "javascript-module",
3829
- "path": "src/ai-indicator/index.ts",
3830
- "declarations": [],
3831
- "exports": [
3832
- {
3833
- "kind": "js",
3834
- "name": "AiIndicator",
3827
+ "name": "foundationAccordionShadowOptions",
3835
3828
  "declaration": {
3836
- "name": "AiIndicator",
3837
- "module": "./ai-indicator"
3829
+ "name": "foundationAccordionShadowOptions",
3830
+ "module": "src/accordion/accordion.ts"
3838
3831
  }
3839
3832
  },
3840
3833
  {
3841
3834
  "kind": "js",
3842
- "name": "foundationAiIndicator",
3835
+ "name": "defaultAccordionConfig",
3843
3836
  "declaration": {
3844
- "name": "foundationAiIndicator",
3845
- "module": "./ai-indicator"
3837
+ "name": "defaultAccordionConfig",
3838
+ "module": "src/accordion/accordion.ts"
3846
3839
  }
3847
3840
  },
3848
3841
  {
3849
3842
  "kind": "js",
3850
- "name": "type",
3843
+ "name": "foundationAccordion",
3851
3844
  "declaration": {
3852
- "name": "type",
3853
- "module": "./ai-indicator"
3845
+ "name": "foundationAccordion",
3846
+ "module": "src/accordion/accordion.ts"
3854
3847
  }
3855
- },
3848
+ }
3849
+ ]
3850
+ },
3851
+ {
3852
+ "kind": "javascript-module",
3853
+ "path": "src/accordion/index.ts",
3854
+ "declarations": [],
3855
+ "exports": [
3856
3856
  {
3857
3857
  "kind": "js",
3858
- "name": "AIIndicatorState",
3858
+ "name": "*",
3859
3859
  "declaration": {
3860
- "name": "AIIndicatorState",
3861
- "module": "./ai-indicator"
3860
+ "name": "*",
3861
+ "package": "./accordion.template"
3862
3862
  }
3863
3863
  },
3864
3864
  {
3865
3865
  "kind": "js",
3866
- "name": "foundationAiIndicatorTemplate",
3866
+ "name": "*",
3867
3867
  "declaration": {
3868
- "name": "foundationAiIndicatorTemplate",
3869
- "module": "./ai-indicator.template"
3868
+ "name": "*",
3869
+ "package": "./accordion.styles"
3870
3870
  }
3871
3871
  },
3872
3872
  {
3873
3873
  "kind": "js",
3874
- "name": "foundationAiIndicatorStyles",
3874
+ "name": "*",
3875
3875
  "declaration": {
3876
- "name": "foundationAiIndicatorStyles",
3877
- "module": "./ai-indicator.styles"
3876
+ "name": "*",
3877
+ "package": "./accordion"
3878
3878
  }
3879
3879
  }
3880
3880
  ]