@genesislcap/foundation-ui 14.419.0 → 14.419.1

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.
@@ -1423,11 +1423,34 @@
1423
1423
  },
1424
1424
  {
1425
1425
  "kind": "javascript-module",
1426
- "path": "src/accordion-item/accordion-item.styles.ts",
1426
+ "path": "src/actions-menu/actions-menu.styles.ts",
1427
1427
  "declarations": [
1428
1428
  {
1429
1429
  "kind": "function",
1430
- "name": "foundationAccordionItemStyles",
1430
+ "name": "actionsMenuBaseStyles",
1431
+ "return": {
1432
+ "type": {
1433
+ "text": "ElementStyles"
1434
+ }
1435
+ },
1436
+ "parameters": [
1437
+ {
1438
+ "name": "context",
1439
+ "type": {
1440
+ "text": "ElementDefinitionContext"
1441
+ }
1442
+ },
1443
+ {
1444
+ "name": "definition",
1445
+ "type": {
1446
+ "text": "FoundationElementDefinition"
1447
+ }
1448
+ }
1449
+ ]
1450
+ },
1451
+ {
1452
+ "kind": "function",
1453
+ "name": "foundationActionsMenuStyles",
1431
1454
  "return": {
1432
1455
  "type": {
1433
1456
  "text": "ElementStyles"
@@ -1452,230 +1475,343 @@
1452
1475
  "exports": [
1453
1476
  {
1454
1477
  "kind": "js",
1455
- "name": "foundationAccordionItemStyles",
1478
+ "name": "actionsMenuBaseStyles",
1456
1479
  "declaration": {
1457
- "name": "foundationAccordionItemStyles",
1458
- "module": "src/accordion-item/accordion-item.styles.ts"
1480
+ "name": "actionsMenuBaseStyles",
1481
+ "module": "src/actions-menu/actions-menu.styles.ts"
1482
+ }
1483
+ },
1484
+ {
1485
+ "kind": "js",
1486
+ "name": "foundationActionsMenuStyles",
1487
+ "declaration": {
1488
+ "name": "foundationActionsMenuStyles",
1489
+ "module": "src/actions-menu/actions-menu.styles.ts"
1459
1490
  }
1460
1491
  }
1461
1492
  ]
1462
1493
  },
1463
1494
  {
1464
1495
  "kind": "javascript-module",
1465
- "path": "src/accordion-item/accordion-item.template.ts",
1496
+ "path": "src/actions-menu/actions-menu.template.ts",
1466
1497
  "declarations": [
1467
1498
  {
1468
1499
  "kind": "function",
1469
- "name": "foundationAccordionItemTemplate",
1470
- "return": {
1471
- "type": {
1472
- "text": "ViewTemplate<AccordionItem>"
1473
- }
1474
- },
1500
+ "name": "menuTemplate",
1475
1501
  "parameters": [
1476
1502
  {
1477
- "name": "context",
1503
+ "name": "prefix",
1478
1504
  "type": {
1479
- "text": "ElementDefinitionContext"
1505
+ "text": "string"
1480
1506
  }
1481
- },
1507
+ }
1508
+ ]
1509
+ },
1510
+ {
1511
+ "kind": "function",
1512
+ "name": "singleOptionTemplate",
1513
+ "parameters": [
1482
1514
  {
1483
- "name": "definition",
1515
+ "name": "prefix",
1484
1516
  "type": {
1485
- "text": "FoundationElementDefinition"
1517
+ "text": "string"
1486
1518
  }
1487
1519
  }
1488
1520
  ]
1521
+ },
1522
+ {
1523
+ "kind": "variable",
1524
+ "name": "foundationActionsMenuTemplate",
1525
+ "type": {
1526
+ "text": "ViewTemplate<ActionsMenu>"
1527
+ },
1528
+ "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`"
1489
1529
  }
1490
1530
  ],
1491
1531
  "exports": [
1492
1532
  {
1493
1533
  "kind": "js",
1494
- "name": "foundationAccordionItemTemplate",
1534
+ "name": "menuTemplate",
1495
1535
  "declaration": {
1496
- "name": "foundationAccordionItemTemplate",
1497
- "module": "src/accordion-item/accordion-item.template.ts"
1536
+ "name": "menuTemplate",
1537
+ "module": "src/actions-menu/actions-menu.template.ts"
1538
+ }
1539
+ },
1540
+ {
1541
+ "kind": "js",
1542
+ "name": "singleOptionTemplate",
1543
+ "declaration": {
1544
+ "name": "singleOptionTemplate",
1545
+ "module": "src/actions-menu/actions-menu.template.ts"
1546
+ }
1547
+ },
1548
+ {
1549
+ "kind": "js",
1550
+ "name": "foundationActionsMenuTemplate",
1551
+ "declaration": {
1552
+ "name": "foundationActionsMenuTemplate",
1553
+ "module": "src/actions-menu/actions-menu.template.ts"
1498
1554
  }
1499
1555
  }
1500
1556
  ]
1501
1557
  },
1502
1558
  {
1503
1559
  "kind": "javascript-module",
1504
- "path": "src/accordion-item/accordion-item.ts",
1560
+ "path": "src/actions-menu/actions-menu.ts",
1505
1561
  "declarations": [
1506
1562
  {
1507
1563
  "kind": "class",
1508
1564
  "description": "",
1509
- "name": "AccordionItem",
1510
- "superclass": {
1511
- "name": "FASTAccordionItem",
1512
- "package": "@microsoft/fast-components"
1513
- },
1514
- "tagName": "%%prefix%%-accordion-item",
1515
- "customElement": true,
1516
- "attributes": [
1565
+ "name": "ActionsMenu",
1566
+ "members": [
1517
1567
  {
1518
- "name": "heading-level",
1568
+ "kind": "field",
1569
+ "name": "actions",
1519
1570
  "type": {
1520
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1521
- },
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",
1525
- "inheritedFrom": {
1526
- "name": "AccordionItem",
1527
- "module": "src/accordion-item/accordion-item.ts"
1571
+ "text": "ActionMenuItem[]"
1528
1572
  }
1529
1573
  },
1530
1574
  {
1575
+ "kind": "field",
1576
+ "name": "isVertical",
1531
1577
  "type": {
1532
1578
  "text": "boolean"
1533
1579
  },
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
- }
1580
+ "default": "false"
1541
1581
  },
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"
1552
- }
1553
- }
1554
- ],
1555
- "members": [
1556
1582
  {
1557
1583
  "kind": "field",
1558
- "name": "headinglevel",
1584
+ "name": "addDefaultActions",
1559
1585
  "type": {
1560
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1586
+ "text": "boolean"
1561
1587
  },
1562
- "privacy": "public",
1563
- "default": "2",
1564
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1565
- "inheritedFrom": {
1566
- "name": "AccordionItem",
1567
- "module": "src/accordion-item/accordion-item.ts"
1568
- }
1588
+ "default": "true"
1569
1589
  },
1570
1590
  {
1571
1591
  "kind": "field",
1572
- "name": "expanded",
1592
+ "name": "autoCloseOnAction",
1573
1593
  "type": {
1574
1594
  "text": "boolean"
1575
1595
  },
1576
- "privacy": "public",
1577
- "default": "false",
1578
- "description": "Expands or collapses the item.",
1579
- "inheritedFrom": {
1580
- "name": "AccordionItem",
1581
- "module": "src/accordion-item/accordion-item.ts"
1582
- }
1596
+ "default": "true"
1583
1597
  },
1584
1598
  {
1585
1599
  "kind": "field",
1586
- "name": "id",
1600
+ "name": "classNames",
1587
1601
  "type": {
1588
1602
  "text": "string"
1589
- },
1590
- "privacy": "public",
1591
- "description": "The item ID",
1592
- "inheritedFrom": {
1593
- "name": "AccordionItem",
1594
- "module": "src/accordion-item/accordion-item.ts"
1595
1603
  }
1596
1604
  },
1597
1605
  {
1598
1606
  "kind": "field",
1599
- "name": "change",
1600
- "privacy": "private",
1601
- "inheritedFrom": {
1602
- "name": "AccordionItem",
1603
- "module": "src/accordion-item/accordion-item.ts"
1607
+ "name": "definition",
1608
+ "type": {
1609
+ "text": "any"
1604
1610
  }
1605
1611
  },
1606
1612
  {
1607
1613
  "kind": "field",
1608
- "name": "_presentation",
1614
+ "name": "name",
1609
1615
  "type": {
1610
- "text": "ComponentPresentation | null | undefined"
1616
+ "text": "string"
1611
1617
  },
1612
- "privacy": "private",
1613
- "default": "void 0",
1614
- "inheritedFrom": {
1615
- "name": "FoundationElement",
1616
- "module": "src/foundation-element/foundation-element.ts"
1617
- }
1618
+ "default": "'Actions'"
1618
1619
  },
1619
1620
  {
1620
1621
  "kind": "field",
1621
- "name": "$presentation",
1622
+ "name": "open",
1622
1623
  "type": {
1623
- "text": "ComponentPresentation | null"
1624
+ "text": "boolean"
1624
1625
  },
1625
- "privacy": "public",
1626
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1627
- "inheritedFrom": {
1628
- "name": "FoundationElement",
1629
- "module": "src/foundation-element/foundation-element.ts"
1626
+ "default": "false"
1627
+ },
1628
+ {
1629
+ "kind": "field",
1630
+ "name": "buttonAppearance",
1631
+ "type": {
1632
+ "text": "string"
1630
1633
  }
1631
1634
  },
1632
1635
  {
1633
1636
  "kind": "field",
1634
- "name": "template",
1637
+ "name": "hideDisabled",
1635
1638
  "type": {
1636
- "text": "ElementViewTemplate | void | null"
1639
+ "text": "boolean"
1637
1640
  },
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.",
1640
- "inheritedFrom": {
1641
- "name": "FoundationElement",
1642
- "module": "src/foundation-element/foundation-element.ts"
1643
- }
1641
+ "default": "false"
1644
1642
  },
1645
1643
  {
1646
- "kind": "method",
1647
- "name": "templateChanged",
1648
- "privacy": "protected",
1649
- "return": {
1650
- "type": {
1651
- "text": "void"
1652
- }
1644
+ "kind": "field",
1645
+ "name": "hideMenuSingleOption",
1646
+ "type": {
1647
+ "text": "boolean"
1653
1648
  },
1654
- "inheritedFrom": {
1655
- "name": "FoundationElement",
1656
- "module": "src/foundation-element/foundation-element.ts"
1649
+ "default": "false"
1650
+ },
1651
+ {
1652
+ "kind": "field",
1653
+ "name": "singleOption",
1654
+ "type": {
1655
+ "text": "ActionMenuItem"
1657
1656
  }
1658
1657
  },
1659
1658
  {
1660
1659
  "kind": "field",
1661
- "name": "styles",
1660
+ "name": "actionsMenu",
1662
1661
  "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.",
1667
- "inheritedFrom": {
1668
- "name": "FoundationElement",
1669
- "module": "src/foundation-element/foundation-element.ts"
1662
+ "text": "HTMLElement"
1670
1663
  }
1671
1664
  },
1672
1665
  {
1673
1666
  "kind": "method",
1674
- "name": "stylesChanged",
1667
+ "name": "definitionChanged",
1675
1668
  "privacy": "protected",
1676
- "return": {
1677
- "type": {
1678
- "text": "void"
1669
+ "parameters": [
1670
+ {
1671
+ "name": "oldValue",
1672
+ "type": {
1673
+ "text": "any"
1674
+ }
1675
+ },
1676
+ {
1677
+ "name": "newValue",
1678
+ "type": {
1679
+ "text": "any"
1680
+ }
1681
+ }
1682
+ ]
1683
+ },
1684
+ {
1685
+ "kind": "method",
1686
+ "name": "openChanged",
1687
+ "privacy": "protected"
1688
+ },
1689
+ {
1690
+ "kind": "method",
1691
+ "name": "toggleActionsMenuVisibility"
1692
+ },
1693
+ {
1694
+ "kind": "method",
1695
+ "name": "onActionMenuItemClick",
1696
+ "parameters": [
1697
+ {
1698
+ "name": "callback",
1699
+ "type": {
1700
+ "text": "(rowData) => void | any"
1701
+ }
1702
+ }
1703
+ ]
1704
+ },
1705
+ {
1706
+ "kind": "field",
1707
+ "name": "allActions",
1708
+ "type": {
1709
+ "text": "ActionMenuItem[]"
1710
+ },
1711
+ "readonly": true
1712
+ },
1713
+ {
1714
+ "kind": "field",
1715
+ "name": "rowData",
1716
+ "readonly": true
1717
+ },
1718
+ {
1719
+ "kind": "method",
1720
+ "name": "getLabel",
1721
+ "parameters": [
1722
+ {
1723
+ "name": "name",
1724
+ "type": {
1725
+ "text": "string | ((rowData: any) => string)"
1726
+ }
1727
+ }
1728
+ ]
1729
+ },
1730
+ {
1731
+ "kind": "method",
1732
+ "name": "getTemplate",
1733
+ "parameters": [
1734
+ {
1735
+ "name": "prefix",
1736
+ "type": {
1737
+ "text": "string"
1738
+ }
1739
+ }
1740
+ ]
1741
+ },
1742
+ {
1743
+ "kind": "field",
1744
+ "name": "_presentation",
1745
+ "type": {
1746
+ "text": "ComponentPresentation | null | undefined"
1747
+ },
1748
+ "privacy": "private",
1749
+ "default": "void 0",
1750
+ "inheritedFrom": {
1751
+ "name": "FoundationElement",
1752
+ "module": "src/foundation-element/foundation-element.ts"
1753
+ }
1754
+ },
1755
+ {
1756
+ "kind": "field",
1757
+ "name": "$presentation",
1758
+ "type": {
1759
+ "text": "ComponentPresentation | null"
1760
+ },
1761
+ "privacy": "public",
1762
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1763
+ "inheritedFrom": {
1764
+ "name": "FoundationElement",
1765
+ "module": "src/foundation-element/foundation-element.ts"
1766
+ }
1767
+ },
1768
+ {
1769
+ "kind": "field",
1770
+ "name": "template",
1771
+ "type": {
1772
+ "text": "ElementViewTemplate | void | null"
1773
+ },
1774
+ "privacy": "public",
1775
+ "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.",
1776
+ "inheritedFrom": {
1777
+ "name": "FoundationElement",
1778
+ "module": "src/foundation-element/foundation-element.ts"
1779
+ }
1780
+ },
1781
+ {
1782
+ "kind": "method",
1783
+ "name": "templateChanged",
1784
+ "privacy": "protected",
1785
+ "return": {
1786
+ "type": {
1787
+ "text": "void"
1788
+ }
1789
+ },
1790
+ "inheritedFrom": {
1791
+ "name": "FoundationElement",
1792
+ "module": "src/foundation-element/foundation-element.ts"
1793
+ }
1794
+ },
1795
+ {
1796
+ "kind": "field",
1797
+ "name": "styles",
1798
+ "type": {
1799
+ "text": "ElementStyles | void | null"
1800
+ },
1801
+ "privacy": "public",
1802
+ "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.",
1803
+ "inheritedFrom": {
1804
+ "name": "FoundationElement",
1805
+ "module": "src/foundation-element/foundation-element.ts"
1806
+ }
1807
+ },
1808
+ {
1809
+ "kind": "method",
1810
+ "name": "stylesChanged",
1811
+ "privacy": "protected",
1812
+ "return": {
1813
+ "type": {
1814
+ "text": "void"
1679
1815
  }
1680
1816
  },
1681
1817
  "inheritedFrom": {
@@ -1715,78 +1851,107 @@
1715
1851
  }
1716
1852
  }
1717
1853
  ],
1718
- "events": [
1854
+ "attributes": [
1719
1855
  {
1720
- "description": "Fires a custom 'change' event when the button is invoked",
1721
- "name": "change",
1722
- "inheritedFrom": {
1723
- "name": "AccordionItem",
1724
- "module": "src/accordion-item/accordion-item.ts"
1725
- }
1856
+ "name": "is-vertical",
1857
+ "type": {
1858
+ "text": "boolean"
1859
+ },
1860
+ "default": "false",
1861
+ "fieldName": "isVertical"
1862
+ },
1863
+ {
1864
+ "name": "add-default-actions",
1865
+ "type": {
1866
+ "text": "boolean"
1867
+ },
1868
+ "default": "true",
1869
+ "fieldName": "addDefaultActions"
1870
+ },
1871
+ {
1872
+ "name": "auto-close-on-action",
1873
+ "type": {
1874
+ "text": "boolean"
1875
+ },
1876
+ "default": "true",
1877
+ "fieldName": "autoCloseOnAction"
1878
+ },
1879
+ {
1880
+ "name": "name",
1881
+ "type": {
1882
+ "text": "string"
1883
+ },
1884
+ "default": "'Actions'",
1885
+ "fieldName": "name"
1886
+ },
1887
+ {
1888
+ "name": "open",
1889
+ "type": {
1890
+ "text": "boolean"
1891
+ },
1892
+ "default": "false",
1893
+ "fieldName": "open"
1894
+ },
1895
+ {
1896
+ "name": "buttonAppearance",
1897
+ "type": {
1898
+ "text": "string"
1899
+ },
1900
+ "fieldName": "buttonAppearance"
1901
+ },
1902
+ {
1903
+ "name": "hide-disabled",
1904
+ "type": {
1905
+ "text": "boolean"
1906
+ },
1907
+ "default": "false",
1908
+ "fieldName": "hideDisabled"
1909
+ },
1910
+ {
1911
+ "name": "hide-menu-single-option",
1912
+ "type": {
1913
+ "text": "boolean"
1914
+ },
1915
+ "default": "false",
1916
+ "fieldName": "hideMenuSingleOption"
1726
1917
  }
1727
- ]
1728
- },
1729
- {
1730
- "kind": "variable",
1731
- "name": "foundationAccordionItemShadowOptions",
1732
- "type": {
1733
- "text": "ShadowRootInit"
1734
- },
1735
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1736
- },
1737
- {
1738
- "kind": "variable",
1739
- "name": "defaultAccordionItemConfig",
1740
- "type": {
1741
- "text": "object"
1918
+ ],
1919
+ "superclass": {
1920
+ "name": "FoundationElement",
1921
+ "package": "@microsoft/fast-foundation"
1742
1922
  },
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}"
1923
+ "tagName": "%%prefix%%-actions-menu",
1924
+ "customElement": true
1744
1925
  },
1745
1926
  {
1746
1927
  "kind": "variable",
1747
- "name": "foundationAccordionItem",
1748
- "description": "The Foundation Accordion Item",
1928
+ "name": "foundationActionsMenu",
1929
+ "description": "The Foundation Actions Menu",
1749
1930
  "privacy": "public"
1750
1931
  }
1751
1932
  ],
1752
1933
  "exports": [
1753
1934
  {
1754
1935
  "kind": "js",
1755
- "name": "AccordionItem",
1756
- "declaration": {
1757
- "name": "AccordionItem",
1758
- "module": "src/accordion-item/accordion-item.ts"
1759
- }
1760
- },
1761
- {
1762
- "kind": "js",
1763
- "name": "foundationAccordionItemShadowOptions",
1764
- "declaration": {
1765
- "name": "foundationAccordionItemShadowOptions",
1766
- "module": "src/accordion-item/accordion-item.ts"
1767
- }
1768
- },
1769
- {
1770
- "kind": "js",
1771
- "name": "defaultAccordionItemConfig",
1936
+ "name": "ActionsMenu",
1772
1937
  "declaration": {
1773
- "name": "defaultAccordionItemConfig",
1774
- "module": "src/accordion-item/accordion-item.ts"
1938
+ "name": "ActionsMenu",
1939
+ "module": "src/actions-menu/actions-menu.ts"
1775
1940
  }
1776
1941
  },
1777
1942
  {
1778
1943
  "kind": "js",
1779
- "name": "foundationAccordionItem",
1944
+ "name": "foundationActionsMenu",
1780
1945
  "declaration": {
1781
- "name": "foundationAccordionItem",
1782
- "module": "src/accordion-item/accordion-item.ts"
1946
+ "name": "foundationActionsMenu",
1947
+ "module": "src/actions-menu/actions-menu.ts"
1783
1948
  }
1784
1949
  }
1785
1950
  ]
1786
1951
  },
1787
1952
  {
1788
1953
  "kind": "javascript-module",
1789
- "path": "src/accordion-item/index.ts",
1954
+ "path": "src/actions-menu/index.ts",
1790
1955
  "declarations": [],
1791
1956
  "exports": [
1792
1957
  {
@@ -1794,7 +1959,7 @@
1794
1959
  "name": "*",
1795
1960
  "declaration": {
1796
1961
  "name": "*",
1797
- "package": "./accordion-item.template"
1962
+ "package": "./actions-menu.styles"
1798
1963
  }
1799
1964
  },
1800
1965
  {
@@ -1802,7 +1967,7 @@
1802
1967
  "name": "*",
1803
1968
  "declaration": {
1804
1969
  "name": "*",
1805
- "package": "./accordion-item.styles"
1970
+ "package": "./actions-menu.template"
1806
1971
  }
1807
1972
  },
1808
1973
  {
@@ -1810,41 +1975,18 @@
1810
1975
  "name": "*",
1811
1976
  "declaration": {
1812
1977
  "name": "*",
1813
- "package": "./accordion-item"
1978
+ "package": "./actions-menu"
1814
1979
  }
1815
1980
  }
1816
1981
  ]
1817
1982
  },
1818
1983
  {
1819
1984
  "kind": "javascript-module",
1820
- "path": "src/actions-menu/actions-menu.styles.ts",
1985
+ "path": "src/accordion-item/accordion-item.styles.ts",
1821
1986
  "declarations": [
1822
1987
  {
1823
1988
  "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
- ]
1844
- },
1845
- {
1846
- "kind": "function",
1847
- "name": "foundationActionsMenuStyles",
1989
+ "name": "foundationAccordionItemStyles",
1848
1990
  "return": {
1849
1991
  "type": {
1850
1992
  "text": "ElementStyles"
@@ -1869,269 +2011,156 @@
1869
2011
  "exports": [
1870
2012
  {
1871
2013
  "kind": "js",
1872
- "name": "actionsMenuBaseStyles",
1873
- "declaration": {
1874
- "name": "actionsMenuBaseStyles",
1875
- "module": "src/actions-menu/actions-menu.styles.ts"
1876
- }
1877
- },
1878
- {
1879
- "kind": "js",
1880
- "name": "foundationActionsMenuStyles",
2014
+ "name": "foundationAccordionItemStyles",
1881
2015
  "declaration": {
1882
- "name": "foundationActionsMenuStyles",
1883
- "module": "src/actions-menu/actions-menu.styles.ts"
2016
+ "name": "foundationAccordionItemStyles",
2017
+ "module": "src/accordion-item/accordion-item.styles.ts"
1884
2018
  }
1885
2019
  }
1886
2020
  ]
1887
2021
  },
1888
2022
  {
1889
2023
  "kind": "javascript-module",
1890
- "path": "src/actions-menu/actions-menu.template.ts",
2024
+ "path": "src/accordion-item/accordion-item.template.ts",
1891
2025
  "declarations": [
1892
2026
  {
1893
2027
  "kind": "function",
1894
- "name": "menuTemplate",
2028
+ "name": "foundationAccordionItemTemplate",
2029
+ "return": {
2030
+ "type": {
2031
+ "text": "ViewTemplate<AccordionItem>"
2032
+ }
2033
+ },
1895
2034
  "parameters": [
1896
2035
  {
1897
- "name": "prefix",
2036
+ "name": "context",
1898
2037
  "type": {
1899
- "text": "string"
2038
+ "text": "ElementDefinitionContext"
1900
2039
  }
1901
- }
1902
- ]
1903
- },
1904
- {
1905
- "kind": "function",
1906
- "name": "singleOptionTemplate",
1907
- "parameters": [
2040
+ },
1908
2041
  {
1909
- "name": "prefix",
2042
+ "name": "definition",
1910
2043
  "type": {
1911
- "text": "string"
2044
+ "text": "FoundationElementDefinition"
1912
2045
  }
1913
2046
  }
1914
2047
  ]
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`"
1923
2048
  }
1924
2049
  ],
1925
2050
  "exports": [
1926
2051
  {
1927
2052
  "kind": "js",
1928
- "name": "menuTemplate",
1929
- "declaration": {
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",
2053
+ "name": "foundationAccordionItemTemplate",
1945
2054
  "declaration": {
1946
- "name": "foundationActionsMenuTemplate",
1947
- "module": "src/actions-menu/actions-menu.template.ts"
2055
+ "name": "foundationAccordionItemTemplate",
2056
+ "module": "src/accordion-item/accordion-item.template.ts"
1948
2057
  }
1949
2058
  }
1950
2059
  ]
1951
2060
  },
1952
2061
  {
1953
2062
  "kind": "javascript-module",
1954
- "path": "src/actions-menu/actions-menu.ts",
2063
+ "path": "src/accordion-item/accordion-item.ts",
1955
2064
  "declarations": [
1956
2065
  {
1957
2066
  "kind": "class",
1958
2067
  "description": "",
1959
- "name": "ActionsMenu",
1960
- "members": [
1961
- {
1962
- "kind": "field",
1963
- "name": "actions",
1964
- "type": {
1965
- "text": "ActionMenuItem[]"
1966
- }
1967
- },
1968
- {
1969
- "kind": "field",
1970
- "name": "isVertical",
1971
- "type": {
1972
- "text": "boolean"
1973
- },
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"
1997
- }
1998
- },
1999
- {
2000
- "kind": "field",
2001
- "name": "definition",
2002
- "type": {
2003
- "text": "any"
2004
- }
2005
- },
2006
- {
2007
- "kind": "field",
2008
- "name": "name",
2009
- "type": {
2010
- "text": "string"
2011
- },
2012
- "default": "'Actions'"
2013
- },
2068
+ "name": "AccordionItem",
2069
+ "superclass": {
2070
+ "name": "FASTAccordionItem",
2071
+ "package": "@microsoft/fast-components"
2072
+ },
2073
+ "tagName": "%%prefix%%-accordion-item",
2074
+ "customElement": true,
2075
+ "attributes": [
2014
2076
  {
2015
- "kind": "field",
2016
- "name": "open",
2077
+ "name": "heading-level",
2017
2078
  "type": {
2018
- "text": "boolean"
2079
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2019
2080
  },
2020
- "default": "false"
2021
- },
2022
- {
2023
- "kind": "field",
2024
- "name": "buttonAppearance",
2025
- "type": {
2026
- "text": "string"
2081
+ "default": "2",
2082
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2083
+ "fieldName": "headinglevel",
2084
+ "inheritedFrom": {
2085
+ "name": "AccordionItem",
2086
+ "module": "src/accordion-item/accordion-item.ts"
2027
2087
  }
2028
2088
  },
2029
2089
  {
2030
- "kind": "field",
2031
- "name": "hideDisabled",
2032
2090
  "type": {
2033
2091
  "text": "boolean"
2034
2092
  },
2035
- "default": "false"
2093
+ "default": "false",
2094
+ "description": "Expands or collapses the item.",
2095
+ "fieldName": "expanded",
2096
+ "inheritedFrom": {
2097
+ "name": "AccordionItem",
2098
+ "module": "src/accordion-item/accordion-item.ts"
2099
+ }
2036
2100
  },
2037
2101
  {
2038
- "kind": "field",
2039
- "name": "hideMenuSingleOption",
2102
+ "name": "id",
2040
2103
  "type": {
2041
- "text": "boolean"
2104
+ "text": "string"
2042
2105
  },
2043
- "default": "false"
2044
- },
2106
+ "description": "The item ID",
2107
+ "fieldName": "id",
2108
+ "inheritedFrom": {
2109
+ "name": "AccordionItem",
2110
+ "module": "src/accordion-item/accordion-item.ts"
2111
+ }
2112
+ }
2113
+ ],
2114
+ "members": [
2045
2115
  {
2046
2116
  "kind": "field",
2047
- "name": "singleOption",
2117
+ "name": "headinglevel",
2048
2118
  "type": {
2049
- "text": "ActionMenuItem"
2119
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2120
+ },
2121
+ "privacy": "public",
2122
+ "default": "2",
2123
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2124
+ "inheritedFrom": {
2125
+ "name": "AccordionItem",
2126
+ "module": "src/accordion-item/accordion-item.ts"
2050
2127
  }
2051
2128
  },
2052
2129
  {
2053
2130
  "kind": "field",
2054
- "name": "actionsMenu",
2131
+ "name": "expanded",
2055
2132
  "type": {
2056
- "text": "HTMLElement"
2133
+ "text": "boolean"
2134
+ },
2135
+ "privacy": "public",
2136
+ "default": "false",
2137
+ "description": "Expands or collapses the item.",
2138
+ "inheritedFrom": {
2139
+ "name": "AccordionItem",
2140
+ "module": "src/accordion-item/accordion-item.ts"
2057
2141
  }
2058
2142
  },
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
- },
2099
2143
  {
2100
2144
  "kind": "field",
2101
- "name": "allActions",
2145
+ "name": "id",
2102
2146
  "type": {
2103
- "text": "ActionMenuItem[]"
2147
+ "text": "string"
2104
2148
  },
2105
- "readonly": true
2149
+ "privacy": "public",
2150
+ "description": "The item ID",
2151
+ "inheritedFrom": {
2152
+ "name": "AccordionItem",
2153
+ "module": "src/accordion-item/accordion-item.ts"
2154
+ }
2106
2155
  },
2107
2156
  {
2108
2157
  "kind": "field",
2109
- "name": "rowData",
2110
- "readonly": true
2111
- },
2112
- {
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
- ]
2158
+ "name": "change",
2159
+ "privacy": "private",
2160
+ "inheritedFrom": {
2161
+ "name": "AccordionItem",
2162
+ "module": "src/accordion-item/accordion-item.ts"
2163
+ }
2135
2164
  },
2136
2165
  {
2137
2166
  "kind": "field",
@@ -2245,107 +2274,78 @@
2245
2274
  }
2246
2275
  }
2247
2276
  ],
2248
- "attributes": [
2249
- {
2250
- "name": "is-vertical",
2251
- "type": {
2252
- "text": "boolean"
2253
- },
2254
- "default": "false",
2255
- "fieldName": "isVertical"
2256
- },
2257
- {
2258
- "name": "add-default-actions",
2259
- "type": {
2260
- "text": "boolean"
2261
- },
2262
- "default": "true",
2263
- "fieldName": "addDefaultActions"
2264
- },
2265
- {
2266
- "name": "auto-close-on-action",
2267
- "type": {
2268
- "text": "boolean"
2269
- },
2270
- "default": "true",
2271
- "fieldName": "autoCloseOnAction"
2272
- },
2273
- {
2274
- "name": "name",
2275
- "type": {
2276
- "text": "string"
2277
- },
2278
- "default": "'Actions'",
2279
- "fieldName": "name"
2280
- },
2281
- {
2282
- "name": "open",
2283
- "type": {
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
- },
2277
+ "events": [
2304
2278
  {
2305
- "name": "hide-menu-single-option",
2306
- "type": {
2307
- "text": "boolean"
2308
- },
2309
- "default": "false",
2310
- "fieldName": "hideMenuSingleOption"
2279
+ "description": "Fires a custom 'change' event when the button is invoked",
2280
+ "name": "change",
2281
+ "inheritedFrom": {
2282
+ "name": "AccordionItem",
2283
+ "module": "src/accordion-item/accordion-item.ts"
2284
+ }
2311
2285
  }
2312
- ],
2313
- "superclass": {
2314
- "name": "FoundationElement",
2315
- "package": "@microsoft/fast-foundation"
2286
+ ]
2287
+ },
2288
+ {
2289
+ "kind": "variable",
2290
+ "name": "foundationAccordionItemShadowOptions",
2291
+ "type": {
2292
+ "text": "ShadowRootInit"
2316
2293
  },
2317
- "tagName": "%%prefix%%-actions-menu",
2318
- "customElement": true
2294
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2319
2295
  },
2320
2296
  {
2321
2297
  "kind": "variable",
2322
- "name": "foundationActionsMenu",
2323
- "description": "The Foundation Actions Menu",
2298
+ "name": "defaultAccordionItemConfig",
2299
+ "type": {
2300
+ "text": "object"
2301
+ },
2302
+ "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}"
2303
+ },
2304
+ {
2305
+ "kind": "variable",
2306
+ "name": "foundationAccordionItem",
2307
+ "description": "The Foundation Accordion Item",
2324
2308
  "privacy": "public"
2325
2309
  }
2326
2310
  ],
2327
2311
  "exports": [
2328
2312
  {
2329
2313
  "kind": "js",
2330
- "name": "ActionsMenu",
2314
+ "name": "AccordionItem",
2331
2315
  "declaration": {
2332
- "name": "ActionsMenu",
2333
- "module": "src/actions-menu/actions-menu.ts"
2316
+ "name": "AccordionItem",
2317
+ "module": "src/accordion-item/accordion-item.ts"
2334
2318
  }
2335
2319
  },
2336
2320
  {
2337
2321
  "kind": "js",
2338
- "name": "foundationActionsMenu",
2322
+ "name": "foundationAccordionItemShadowOptions",
2339
2323
  "declaration": {
2340
- "name": "foundationActionsMenu",
2341
- "module": "src/actions-menu/actions-menu.ts"
2324
+ "name": "foundationAccordionItemShadowOptions",
2325
+ "module": "src/accordion-item/accordion-item.ts"
2326
+ }
2327
+ },
2328
+ {
2329
+ "kind": "js",
2330
+ "name": "defaultAccordionItemConfig",
2331
+ "declaration": {
2332
+ "name": "defaultAccordionItemConfig",
2333
+ "module": "src/accordion-item/accordion-item.ts"
2334
+ }
2335
+ },
2336
+ {
2337
+ "kind": "js",
2338
+ "name": "foundationAccordionItem",
2339
+ "declaration": {
2340
+ "name": "foundationAccordionItem",
2341
+ "module": "src/accordion-item/accordion-item.ts"
2342
2342
  }
2343
2343
  }
2344
2344
  ]
2345
2345
  },
2346
2346
  {
2347
2347
  "kind": "javascript-module",
2348
- "path": "src/actions-menu/index.ts",
2348
+ "path": "src/accordion-item/index.ts",
2349
2349
  "declarations": [],
2350
2350
  "exports": [
2351
2351
  {
@@ -2353,7 +2353,7 @@
2353
2353
  "name": "*",
2354
2354
  "declaration": {
2355
2355
  "name": "*",
2356
- "package": "./actions-menu.styles"
2356
+ "package": "./accordion-item.template"
2357
2357
  }
2358
2358
  },
2359
2359
  {
@@ -2361,7 +2361,7 @@
2361
2361
  "name": "*",
2362
2362
  "declaration": {
2363
2363
  "name": "*",
2364
- "package": "./actions-menu.template"
2364
+ "package": "./accordion-item.styles"
2365
2365
  }
2366
2366
  },
2367
2367
  {
@@ -2369,313 +2369,198 @@
2369
2369
  "name": "*",
2370
2370
  "declaration": {
2371
2371
  "name": "*",
2372
- "package": "./actions-menu"
2372
+ "package": "./accordion-item"
2373
2373
  }
2374
2374
  }
2375
2375
  ]
2376
2376
  },
2377
2377
  {
2378
2378
  "kind": "javascript-module",
2379
- "path": "src/accordion/accordion.styles.ts",
2379
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2380
2380
  "declarations": [
2381
2381
  {
2382
- "kind": "function",
2383
- "name": "foundationAccordionStyles",
2384
- "return": {
2385
- "type": {
2386
- "text": "ElementStyles"
2387
- }
2388
- },
2389
- "parameters": [
2390
- {
2391
- "name": "context",
2392
- "type": {
2393
- "text": "ElementDefinitionContext"
2394
- }
2395
- },
2396
- {
2397
- "name": "definition",
2398
- "type": {
2399
- "text": "FoundationElementDefinition"
2400
- }
2401
- }
2402
- ]
2382
+ "kind": "variable",
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`"
2403
2385
  }
2404
2386
  ],
2405
2387
  "exports": [
2406
2388
  {
2407
2389
  "kind": "js",
2408
- "name": "foundationAccordionStyles",
2390
+ "name": "foundationAiCriteriaSearchStyles",
2409
2391
  "declaration": {
2410
- "name": "foundationAccordionStyles",
2411
- "module": "src/accordion/accordion.styles.ts"
2392
+ "name": "foundationAiCriteriaSearchStyles",
2393
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2412
2394
  }
2413
2395
  }
2414
2396
  ]
2415
2397
  },
2416
2398
  {
2417
2399
  "kind": "javascript-module",
2418
- "path": "src/accordion/accordion.template.ts",
2400
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2419
2401
  "declarations": [
2420
2402
  {
2421
- "kind": "function",
2422
- "name": "foundationAccordionTemplate",
2423
- "return": {
2424
- "type": {
2425
- "text": "ViewTemplate<Accordion>"
2426
- }
2403
+ "kind": "variable",
2404
+ "name": "foundationAiCriteriaSearchTemplate",
2405
+ "type": {
2406
+ "text": "ViewTemplate<AiCriteriaSearch>"
2427
2407
  },
2428
- "parameters": [
2429
- {
2430
- "name": "context",
2431
- "type": {
2432
- "text": "ElementDefinitionContext"
2433
- }
2434
- },
2435
- {
2436
- "name": "definition",
2437
- "type": {
2438
- "text": "FoundationElementDefinition"
2439
- }
2440
- }
2441
- ]
2408
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2442
2409
  }
2443
2410
  ],
2444
2411
  "exports": [
2445
2412
  {
2446
2413
  "kind": "js",
2447
- "name": "foundationAccordionTemplate",
2414
+ "name": "foundationAiCriteriaSearchTemplate",
2448
2415
  "declaration": {
2449
- "name": "foundationAccordionTemplate",
2450
- "module": "src/accordion/accordion.template.ts"
2416
+ "name": "foundationAiCriteriaSearchTemplate",
2417
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2451
2418
  }
2452
2419
  }
2453
2420
  ]
2454
2421
  },
2455
2422
  {
2456
2423
  "kind": "javascript-module",
2457
- "path": "src/accordion/accordion.ts",
2424
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2458
2425
  "declarations": [
2459
2426
  {
2460
2427
  "kind": "class",
2461
- "description": "",
2462
- "name": "Accordion",
2463
- "superclass": {
2464
- "name": "FASTAccordion",
2465
- "package": "@microsoft/fast-foundation"
2466
- },
2467
- "tagName": "%%prefix%%-accordion",
2468
- "customElement": true,
2469
- "attributes": [
2428
+ "description": "Natural-language criteria search input with AI interpretation.",
2429
+ "name": "AiCriteriaSearch",
2430
+ "members": [
2470
2431
  {
2471
- "name": "expand-mode",
2432
+ "kind": "field",
2433
+ "name": "aiProvider",
2472
2434
  "type": {
2473
- "text": "AccordionExpandMode"
2474
- },
2475
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2476
- "fieldName": "expandmode",
2477
- "inheritedFrom": {
2478
- "name": "Accordion",
2479
- "module": "src/accordion/accordion.ts"
2435
+ "text": "AIProvider"
2480
2436
  }
2481
- }
2482
- ],
2483
- "members": [
2437
+ },
2484
2438
  {
2485
2439
  "kind": "field",
2486
- "name": "expandmode",
2440
+ "name": "placeholder",
2487
2441
  "type": {
2488
- "text": "AccordionExpandMode"
2442
+ "text": "string"
2489
2443
  },
2490
- "privacy": "public",
2491
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2492
- "inheritedFrom": {
2493
- "name": "Accordion",
2494
- "module": "src/accordion/accordion.ts"
2495
- }
2444
+ "default": "'Describe your search criteria in natural language...'"
2496
2445
  },
2497
2446
  {
2498
2447
  "kind": "field",
2499
- "name": "activeid",
2448
+ "name": "disabled",
2500
2449
  "type": {
2501
- "text": "string | null"
2502
- },
2503
- "privacy": "private",
2504
- "inheritedFrom": {
2505
- "name": "Accordion",
2506
- "module": "src/accordion/accordion.ts"
2450
+ "text": "boolean"
2507
2451
  }
2508
2452
  },
2509
2453
  {
2510
2454
  "kind": "field",
2511
- "name": "activeItemIndex",
2455
+ "name": "mode",
2512
2456
  "type": {
2513
- "text": "number"
2457
+ "text": "'append' | 'replace'"
2514
2458
  },
2515
- "privacy": "private",
2516
- "default": "0",
2517
- "inheritedFrom": {
2518
- "name": "Accordion",
2519
- "module": "src/accordion/accordion.ts"
2520
- }
2459
+ "default": "'replace'"
2521
2460
  },
2522
2461
  {
2523
2462
  "kind": "field",
2524
- "name": "accordionIds",
2463
+ "name": "inputValue",
2525
2464
  "type": {
2526
- "text": "Array<string | null>"
2465
+ "text": "string"
2527
2466
  },
2528
- "privacy": "private",
2529
- "inheritedFrom": {
2530
- "name": "Accordion",
2531
- "module": "src/accordion/accordion.ts"
2532
- }
2467
+ "default": "''"
2533
2468
  },
2534
2469
  {
2535
2470
  "kind": "field",
2536
- "name": "change",
2537
- "privacy": "private",
2538
- "inheritedFrom": {
2539
- "name": "Accordion",
2540
- "module": "src/accordion/accordion.ts"
2541
- }
2471
+ "name": "isInterpreting",
2472
+ "type": {
2473
+ "text": "boolean"
2474
+ },
2475
+ "default": "false"
2542
2476
  },
2543
2477
  {
2544
- "kind": "method",
2545
- "name": "findExpandedItem",
2546
- "privacy": "private",
2547
- "return": {
2548
- "type": {
2549
- "text": "AccordionItem | null"
2550
- }
2478
+ "kind": "field",
2479
+ "name": "lastValidCriteria",
2480
+ "type": {
2481
+ "text": "string | null"
2551
2482
  },
2552
- "inheritedFrom": {
2553
- "name": "Accordion",
2554
- "module": "src/accordion/accordion.ts"
2555
- }
2483
+ "default": "null"
2556
2484
  },
2557
2485
  {
2558
2486
  "kind": "field",
2559
- "name": "setItems",
2560
- "privacy": "private",
2561
- "inheritedFrom": {
2562
- "name": "Accordion",
2563
- "module": "src/accordion/accordion.ts"
2564
- }
2487
+ "name": "fieldMetadata",
2488
+ "type": {
2489
+ "text": "MetadataDetail[] | string[]"
2490
+ },
2491
+ "default": "[]"
2565
2492
  },
2566
2493
  {
2567
- "kind": "method",
2568
- "name": "resetItems",
2569
- "privacy": "private",
2570
- "return": {
2571
- "type": {
2572
- "text": "void"
2573
- }
2494
+ "kind": "field",
2495
+ "name": "isRecording",
2496
+ "type": {
2497
+ "text": "boolean"
2574
2498
  },
2575
- "inheritedFrom": {
2576
- "name": "Accordion",
2577
- "module": "src/accordion/accordion.ts"
2578
- }
2499
+ "default": "false"
2579
2500
  },
2580
2501
  {
2581
2502
  "kind": "field",
2582
- "name": "removeItemListeners",
2583
- "privacy": "private",
2584
- "inheritedFrom": {
2585
- "name": "Accordion",
2586
- "module": "src/accordion/accordion.ts"
2587
- }
2503
+ "name": "textAreaRef",
2504
+ "type": {
2505
+ "text": "HTMLTextAreaElement"
2506
+ },
2507
+ "privacy": "public"
2588
2508
  },
2589
2509
  {
2590
2510
  "kind": "field",
2591
- "name": "activeItemChange",
2511
+ "name": "stopRecording",
2512
+ "type": {
2513
+ "text": "(() => void) | null"
2514
+ },
2592
2515
  "privacy": "private",
2593
- "inheritedFrom": {
2594
- "name": "Accordion",
2595
- "module": "src/accordion/accordion.ts"
2596
- }
2516
+ "default": "null"
2597
2517
  },
2598
2518
  {
2599
- "kind": "method",
2600
- "name": "getItemIds",
2601
- "privacy": "private",
2602
- "return": {
2603
- "type": {
2604
- "text": "Array<string | null>"
2605
- }
2519
+ "kind": "field",
2520
+ "name": "speechApplyDebounceTimer",
2521
+ "type": {
2522
+ "text": "ReturnType<typeof setTimeout> | null"
2606
2523
  },
2607
- "inheritedFrom": {
2608
- "name": "Accordion",
2609
- "module": "src/accordion/accordion.ts"
2610
- }
2524
+ "privacy": "private",
2525
+ "default": "null"
2611
2526
  },
2612
2527
  {
2613
- "kind": "method",
2614
- "name": "isSingleExpandMode",
2615
- "privacy": "private",
2616
- "return": {
2617
- "type": {
2618
- "text": "boolean"
2619
- }
2528
+ "kind": "field",
2529
+ "name": "baseInputForAppend",
2530
+ "type": {
2531
+ "text": "string"
2620
2532
  },
2621
- "inheritedFrom": {
2622
- "name": "Accordion",
2623
- "module": "src/accordion/accordion.ts"
2624
- }
2533
+ "privacy": "private",
2534
+ "default": "''"
2625
2535
  },
2626
2536
  {
2627
2537
  "kind": "field",
2628
- "name": "handleItemKeyDown",
2629
- "privacy": "private",
2630
- "inheritedFrom": {
2631
- "name": "Accordion",
2632
- "module": "src/accordion/accordion.ts"
2633
- }
2538
+ "name": "speechAvailable",
2539
+ "type": {
2540
+ "text": "boolean"
2541
+ },
2542
+ "readonly": true
2543
+ },
2544
+ {
2545
+ "kind": "method",
2546
+ "name": "handleSubmit"
2634
2547
  },
2635
2548
  {
2636
- "kind": "field",
2637
- "name": "handleItemFocus",
2638
- "privacy": "private",
2639
- "inheritedFrom": {
2640
- "name": "Accordion",
2641
- "module": "src/accordion/accordion.ts"
2642
- }
2549
+ "kind": "method",
2550
+ "name": "handleBlur"
2643
2551
  },
2644
2552
  {
2645
2553
  "kind": "method",
2646
- "name": "adjust",
2647
- "privacy": "private",
2648
- "return": {
2649
- "type": {
2650
- "text": "void"
2651
- }
2652
- },
2653
- "parameters": [
2654
- {
2655
- "name": "adjustment",
2656
- "type": {
2657
- "text": "number"
2658
- }
2659
- }
2660
- ],
2661
- "inheritedFrom": {
2662
- "name": "Accordion",
2663
- "module": "src/accordion/accordion.ts"
2664
- }
2554
+ "name": "clear"
2665
2555
  },
2666
2556
  {
2667
2557
  "kind": "method",
2668
- "name": "focusItem",
2669
- "privacy": "private",
2670
- "return": {
2671
- "type": {
2672
- "text": "void"
2673
- }
2674
- },
2675
- "inheritedFrom": {
2676
- "name": "Accordion",
2677
- "module": "src/accordion/accordion.ts"
2678
- }
2558
+ "name": "toggleSpeechInput"
2559
+ },
2560
+ {
2561
+ "kind": "method",
2562
+ "name": "clearSpeechApplyDebounce",
2563
+ "privacy": "private"
2679
2564
  },
2680
2565
  {
2681
2566
  "kind": "field",
@@ -2791,26 +2676,56 @@
2791
2676
  ],
2792
2677
  "events": [
2793
2678
  {
2794
- "description": "Fires a custom 'change' event when the active item changes",
2795
- "name": "change",
2796
- "inheritedFrom": {
2797
- "name": "Accordion",
2798
- "module": "src/accordion/accordion.ts"
2799
- }
2679
+ "description": "Fired when interpreted criteria is applied or cleared",
2680
+ "name": "criteria-changed"
2681
+ },
2682
+ {
2683
+ "description": "Fired when interpreted criteria contains invalid clauses",
2684
+ "name": "validation-errors"
2800
2685
  }
2801
- ]
2686
+ ],
2687
+ "attributes": [
2688
+ {
2689
+ "name": "placeholder",
2690
+ "type": {
2691
+ "text": "string"
2692
+ },
2693
+ "default": "'Describe your search criteria in natural language...'",
2694
+ "fieldName": "placeholder"
2695
+ },
2696
+ {
2697
+ "type": {
2698
+ "text": "boolean"
2699
+ },
2700
+ "fieldName": "disabled"
2701
+ },
2702
+ {
2703
+ "name": "mode",
2704
+ "type": {
2705
+ "text": "'append' | 'replace'"
2706
+ },
2707
+ "default": "'replace'",
2708
+ "fieldName": "mode"
2709
+ }
2710
+ ],
2711
+ "superclass": {
2712
+ "name": "FoundationElement",
2713
+ "package": "@microsoft/fast-foundation"
2714
+ },
2715
+ "tagName": "%%prefix%%-ai-criteria-search",
2716
+ "customElement": true
2802
2717
  },
2803
2718
  {
2804
2719
  "kind": "variable",
2805
- "name": "foundationAccordionShadowOptions",
2720
+ "name": "foundationAiCriteriaSearchShadowOptions",
2806
2721
  "type": {
2807
2722
  "text": "ShadowRootInit"
2808
2723
  },
2809
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2724
+ "default": "undefined"
2810
2725
  },
2811
2726
  {
2812
2727
  "kind": "variable",
2813
- "name": "defaultAccordionConfig",
2728
+ "name": "defaultAiCriteriaSearchConfig",
2814
2729
  "type": {
2815
2730
  "text": "object"
2816
2731
  },
@@ -2818,57 +2733,103 @@
2818
2733
  },
2819
2734
  {
2820
2735
  "kind": "variable",
2821
- "name": "foundationAccordion",
2822
- "description": "The Foundation Accordion",
2823
- "privacy": "public"
2736
+ "name": "foundationAiCriteriaSearch"
2824
2737
  }
2825
2738
  ],
2826
2739
  "exports": [
2827
2740
  {
2828
2741
  "kind": "js",
2829
- "name": "Accordion",
2742
+ "name": "AiCriteriaSearch",
2830
2743
  "declaration": {
2831
- "name": "Accordion",
2832
- "module": "src/accordion/accordion.ts"
2744
+ "name": "AiCriteriaSearch",
2745
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2833
2746
  }
2834
2747
  },
2835
2748
  {
2836
2749
  "kind": "js",
2837
- "name": "foundationAccordionShadowOptions",
2750
+ "name": "foundationAiCriteriaSearchShadowOptions",
2838
2751
  "declaration": {
2839
- "name": "foundationAccordionShadowOptions",
2840
- "module": "src/accordion/accordion.ts"
2752
+ "name": "foundationAiCriteriaSearchShadowOptions",
2753
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2841
2754
  }
2842
2755
  },
2843
2756
  {
2844
2757
  "kind": "js",
2845
- "name": "defaultAccordionConfig",
2758
+ "name": "defaultAiCriteriaSearchConfig",
2846
2759
  "declaration": {
2847
- "name": "defaultAccordionConfig",
2848
- "module": "src/accordion/accordion.ts"
2760
+ "name": "defaultAiCriteriaSearchConfig",
2761
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2849
2762
  }
2850
2763
  },
2851
2764
  {
2852
2765
  "kind": "js",
2853
- "name": "foundationAccordion",
2766
+ "name": "foundationAiCriteriaSearch",
2854
2767
  "declaration": {
2855
- "name": "foundationAccordion",
2856
- "module": "src/accordion/accordion.ts"
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/accordion/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": "./accordion.template"
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": "./accordion.styles"
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": "./accordion"
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
  ]