@genesislcap/foundation-ui 15.93.0 → 15.94.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.
@@ -1495,11 +1495,42 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/accordion-item/accordion-item.styles.ts",
1498
+ "path": "src/_config/index.ts",
1499
+ "declarations": [],
1500
+ "exports": [
1501
+ {
1502
+ "kind": "js",
1503
+ "name": "*",
1504
+ "declaration": {
1505
+ "name": "*",
1506
+ "package": "./styles"
1507
+ }
1508
+ },
1509
+ {
1510
+ "kind": "js",
1511
+ "name": "*",
1512
+ "declaration": {
1513
+ "name": "*",
1514
+ "package": "./tokens"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "*",
1520
+ "declaration": {
1521
+ "name": "*",
1522
+ "package": "./values"
1523
+ }
1524
+ }
1525
+ ]
1526
+ },
1527
+ {
1528
+ "kind": "javascript-module",
1529
+ "path": "src/actions-menu/actions-menu.styles.ts",
1499
1530
  "declarations": [
1500
1531
  {
1501
1532
  "kind": "function",
1502
- "name": "foundationAccordionItemStyles",
1533
+ "name": "actionsMenuBaseStyles",
1503
1534
  "return": {
1504
1535
  "type": {
1505
1536
  "text": "ElementStyles"
@@ -1519,29 +1550,13 @@
1519
1550
  }
1520
1551
  }
1521
1552
  ]
1522
- }
1523
- ],
1524
- "exports": [
1525
- {
1526
- "kind": "js",
1527
- "name": "foundationAccordionItemStyles",
1528
- "declaration": {
1529
- "name": "foundationAccordionItemStyles",
1530
- "module": "src/accordion-item/accordion-item.styles.ts"
1531
- }
1532
- }
1533
- ]
1534
- },
1535
- {
1536
- "kind": "javascript-module",
1537
- "path": "src/accordion-item/accordion-item.template.ts",
1538
- "declarations": [
1553
+ },
1539
1554
  {
1540
1555
  "kind": "function",
1541
- "name": "foundationAccordionItemTemplate",
1556
+ "name": "foundationActionsMenuStyles",
1542
1557
  "return": {
1543
1558
  "type": {
1544
- "text": "ViewTemplate<AccordionItem>"
1559
+ "text": "ElementStyles"
1545
1560
  }
1546
1561
  },
1547
1562
  "parameters": [
@@ -1563,302 +1578,641 @@
1563
1578
  "exports": [
1564
1579
  {
1565
1580
  "kind": "js",
1566
- "name": "foundationAccordionItemTemplate",
1581
+ "name": "actionsMenuBaseStyles",
1567
1582
  "declaration": {
1568
- "name": "foundationAccordionItemTemplate",
1569
- "module": "src/accordion-item/accordion-item.template.ts"
1583
+ "name": "actionsMenuBaseStyles",
1584
+ "module": "src/actions-menu/actions-menu.styles.ts"
1585
+ }
1586
+ },
1587
+ {
1588
+ "kind": "js",
1589
+ "name": "foundationActionsMenuStyles",
1590
+ "declaration": {
1591
+ "name": "foundationActionsMenuStyles",
1592
+ "module": "src/actions-menu/actions-menu.styles.ts"
1570
1593
  }
1571
1594
  }
1572
1595
  ]
1573
1596
  },
1574
1597
  {
1575
1598
  "kind": "javascript-module",
1576
- "path": "src/accordion-item/accordion-item.ts",
1599
+ "path": "src/actions-menu/actions-menu.template.ts",
1600
+ "declarations": [
1601
+ {
1602
+ "kind": "variable",
1603
+ "name": "menuTemplate"
1604
+ },
1605
+ {
1606
+ "kind": "variable",
1607
+ "name": "singleOptionTemplate"
1608
+ },
1609
+ {
1610
+ "kind": "variable",
1611
+ "name": "foundationActionsMenuTemplate",
1612
+ "type": {
1613
+ "text": "ViewTemplate<ActionsMenu>"
1614
+ },
1615
+ "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`"
1616
+ }
1617
+ ],
1618
+ "exports": [
1619
+ {
1620
+ "kind": "js",
1621
+ "name": "menuTemplate",
1622
+ "declaration": {
1623
+ "name": "menuTemplate",
1624
+ "module": "src/actions-menu/actions-menu.template.ts"
1625
+ }
1626
+ },
1627
+ {
1628
+ "kind": "js",
1629
+ "name": "singleOptionTemplate",
1630
+ "declaration": {
1631
+ "name": "singleOptionTemplate",
1632
+ "module": "src/actions-menu/actions-menu.template.ts"
1633
+ }
1634
+ },
1635
+ {
1636
+ "kind": "js",
1637
+ "name": "foundationActionsMenuTemplate",
1638
+ "declaration": {
1639
+ "name": "foundationActionsMenuTemplate",
1640
+ "module": "src/actions-menu/actions-menu.template.ts"
1641
+ }
1642
+ }
1643
+ ]
1644
+ },
1645
+ {
1646
+ "kind": "javascript-module",
1647
+ "path": "src/actions-menu/actions-menu.ts",
1577
1648
  "declarations": [
1578
1649
  {
1579
1650
  "kind": "class",
1580
1651
  "description": "",
1581
- "name": "AccordionItem",
1582
- "superclass": {
1583
- "name": "FASTAccordionItem",
1584
- "package": "@microsoft/fast-components"
1585
- },
1586
- "tagName": "%%prefix%%-accordion-item",
1587
- "customElement": true,
1588
- "attributes": [
1652
+ "name": "ActionsMenu",
1653
+ "members": [
1589
1654
  {
1590
- "name": "heading-level",
1655
+ "kind": "field",
1656
+ "name": "actions",
1591
1657
  "type": {
1592
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1593
- },
1594
- "default": "2",
1595
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1596
- "fieldName": "headinglevel",
1597
- "inheritedFrom": {
1598
- "name": "AccordionItem",
1599
- "module": "src/accordion-item/accordion-item.ts"
1658
+ "text": "ActionMenuItem[]"
1600
1659
  }
1601
1660
  },
1602
1661
  {
1662
+ "kind": "field",
1663
+ "name": "actionsResolver",
1603
1664
  "type": {
1604
- "text": "boolean"
1665
+ "text": "ActionMenuItemsResolver | undefined"
1605
1666
  },
1606
- "default": "false",
1607
- "description": "Expands or collapses the item.",
1608
- "fieldName": "expanded",
1609
- "inheritedFrom": {
1610
- "name": "AccordionItem",
1611
- "module": "src/accordion-item/accordion-item.ts"
1612
- }
1667
+ "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
1613
1668
  },
1614
1669
  {
1615
- "name": "id",
1670
+ "kind": "field",
1671
+ "name": "isVertical",
1616
1672
  "type": {
1617
- "text": "string"
1673
+ "text": "boolean"
1618
1674
  },
1619
- "description": "The item ID",
1620
- "fieldName": "id",
1621
- "inheritedFrom": {
1622
- "name": "AccordionItem",
1623
- "module": "src/accordion-item/accordion-item.ts"
1624
- }
1625
- }
1626
- ],
1627
- "members": [
1675
+ "default": "false"
1676
+ },
1628
1677
  {
1629
1678
  "kind": "field",
1630
- "name": "headinglevel",
1679
+ "name": "addDefaultActions",
1631
1680
  "type": {
1632
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1681
+ "text": "boolean"
1633
1682
  },
1634
- "privacy": "public",
1635
- "default": "2",
1636
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1637
- "inheritedFrom": {
1638
- "name": "AccordionItem",
1639
- "module": "src/accordion-item/accordion-item.ts"
1640
- }
1683
+ "default": "true"
1641
1684
  },
1642
1685
  {
1643
1686
  "kind": "field",
1644
- "name": "expanded",
1687
+ "name": "autoCloseOnAction",
1645
1688
  "type": {
1646
1689
  "text": "boolean"
1647
1690
  },
1648
- "privacy": "public",
1649
- "default": "false",
1650
- "description": "Expands or collapses the item.",
1651
- "inheritedFrom": {
1652
- "name": "AccordionItem",
1653
- "module": "src/accordion-item/accordion-item.ts"
1654
- }
1691
+ "default": "true"
1655
1692
  },
1656
1693
  {
1657
1694
  "kind": "field",
1658
- "name": "id",
1695
+ "name": "classNames",
1659
1696
  "type": {
1660
1697
  "text": "string"
1661
- },
1662
- "privacy": "public",
1663
- "description": "The item ID",
1664
- "inheritedFrom": {
1665
- "name": "AccordionItem",
1666
- "module": "src/accordion-item/accordion-item.ts"
1667
1698
  }
1668
1699
  },
1669
1700
  {
1670
1701
  "kind": "field",
1671
- "name": "change",
1672
- "privacy": "private",
1673
- "inheritedFrom": {
1674
- "name": "AccordionItem",
1675
- "module": "src/accordion-item/accordion-item.ts"
1702
+ "name": "definition",
1703
+ "type": {
1704
+ "text": "any"
1676
1705
  }
1677
1706
  },
1678
1707
  {
1679
1708
  "kind": "field",
1680
- "name": "_presentation",
1709
+ "name": "name",
1681
1710
  "type": {
1682
- "text": "ComponentPresentation | null | undefined"
1711
+ "text": "string"
1683
1712
  },
1684
- "privacy": "private",
1685
- "default": "void 0",
1686
- "inheritedFrom": {
1687
- "name": "FoundationElement",
1688
- "module": "src/foundation-element/foundation-element.ts"
1689
- }
1713
+ "default": "'Actions'"
1690
1714
  },
1691
1715
  {
1692
1716
  "kind": "field",
1693
- "name": "$presentation",
1717
+ "name": "iconName",
1694
1718
  "type": {
1695
- "text": "ComponentPresentation | null"
1719
+ "text": "string"
1696
1720
  },
1697
- "privacy": "public",
1698
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1699
- "inheritedFrom": {
1700
- "name": "FoundationElement",
1701
- "module": "src/foundation-element/foundation-element.ts"
1702
- }
1721
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
1703
1722
  },
1704
1723
  {
1705
1724
  "kind": "field",
1706
- "name": "template",
1725
+ "name": "open",
1707
1726
  "type": {
1708
- "text": "ElementViewTemplate | void | null"
1709
- },
1710
- "privacy": "public",
1711
- "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.",
1712
- "inheritedFrom": {
1713
- "name": "FoundationElement",
1714
- "module": "src/foundation-element/foundation-element.ts"
1715
- }
1716
- },
1717
- {
1718
- "kind": "method",
1719
- "name": "templateChanged",
1720
- "privacy": "protected",
1721
- "return": {
1722
- "type": {
1723
- "text": "void"
1724
- }
1727
+ "text": "boolean"
1725
1728
  },
1726
- "inheritedFrom": {
1727
- "name": "FoundationElement",
1728
- "module": "src/foundation-element/foundation-element.ts"
1729
- }
1729
+ "default": "false"
1730
1730
  },
1731
1731
  {
1732
1732
  "kind": "field",
1733
- "name": "styles",
1733
+ "name": "buttonAppearance",
1734
1734
  "type": {
1735
- "text": "ElementStyles | void | null"
1735
+ "text": "string"
1736
+ }
1737
+ },
1738
+ {
1739
+ "kind": "field",
1740
+ "name": "hideDisabled",
1741
+ "type": {
1742
+ "text": "boolean"
1736
1743
  },
1737
- "privacy": "public",
1738
- "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.",
1739
- "inheritedFrom": {
1740
- "name": "FoundationElement",
1741
- "module": "src/foundation-element/foundation-element.ts"
1744
+ "default": "false"
1745
+ },
1746
+ {
1747
+ "kind": "field",
1748
+ "name": "hideMenuSingleOption",
1749
+ "type": {
1750
+ "text": "boolean"
1751
+ },
1752
+ "default": "false"
1753
+ },
1754
+ {
1755
+ "kind": "field",
1756
+ "name": "singleOption",
1757
+ "type": {
1758
+ "text": "ActionMenuItem"
1759
+ }
1760
+ },
1761
+ {
1762
+ "kind": "field",
1763
+ "name": "actionsMenu",
1764
+ "type": {
1765
+ "text": "HTMLElement"
1766
+ }
1767
+ },
1768
+ {
1769
+ "kind": "field",
1770
+ "name": "actionsOpener",
1771
+ "type": {
1772
+ "text": "HTMLElement"
1742
1773
  }
1743
1774
  },
1775
+ {
1776
+ "kind": "field",
1777
+ "name": "positionTracker",
1778
+ "type": {
1779
+ "text": "AnchoredPopoverPositionTracker | undefined"
1780
+ },
1781
+ "privacy": "private"
1782
+ },
1783
+ {
1784
+ "kind": "field",
1785
+ "name": "focusMenuOnOpen",
1786
+ "type": {
1787
+ "text": "boolean"
1788
+ },
1789
+ "privacy": "private",
1790
+ "default": "false",
1791
+ "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
1792
+ },
1744
1793
  {
1745
1794
  "kind": "method",
1746
- "name": "stylesChanged",
1795
+ "name": "updateMenuPosition",
1796
+ "privacy": "private"
1797
+ },
1798
+ {
1799
+ "kind": "method",
1800
+ "name": "startTrackingPosition",
1801
+ "privacy": "private"
1802
+ },
1803
+ {
1804
+ "kind": "method",
1805
+ "name": "stopTrackingPosition",
1806
+ "privacy": "private"
1807
+ },
1808
+ {
1809
+ "kind": "method",
1810
+ "name": "definitionChanged",
1747
1811
  "privacy": "protected",
1812
+ "parameters": [
1813
+ {
1814
+ "name": "oldValue",
1815
+ "type": {
1816
+ "text": "any"
1817
+ }
1818
+ },
1819
+ {
1820
+ "name": "newValue",
1821
+ "type": {
1822
+ "text": "any"
1823
+ }
1824
+ }
1825
+ ]
1826
+ },
1827
+ {
1828
+ "kind": "method",
1829
+ "name": "openChanged",
1830
+ "privacy": "protected"
1831
+ },
1832
+ {
1833
+ "kind": "method",
1834
+ "name": "toggleActionsMenuVisibility"
1835
+ },
1836
+ {
1837
+ "kind": "method",
1838
+ "name": "onPopoverToggle",
1839
+ "parameters": [
1840
+ {
1841
+ "name": "event",
1842
+ "type": {
1843
+ "text": "Event"
1844
+ }
1845
+ }
1846
+ ],
1847
+ "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
1848
+ },
1849
+ {
1850
+ "kind": "method",
1851
+ "name": "onIconOpenerKeydown",
1748
1852
  "return": {
1749
1853
  "type": {
1750
- "text": "void"
1854
+ "text": "boolean"
1751
1855
  }
1752
1856
  },
1753
- "inheritedFrom": {
1754
- "name": "FoundationElement",
1755
- "module": "src/foundation-element/foundation-element.ts"
1756
- }
1857
+ "parameters": [
1858
+ {
1859
+ "name": "event",
1860
+ "type": {
1861
+ "text": "KeyboardEvent"
1862
+ }
1863
+ }
1864
+ ],
1865
+ "description": "Opens the icon-only opener from the keyboard, as a native button would."
1757
1866
  },
1758
1867
  {
1759
1868
  "kind": "method",
1760
- "name": "compose",
1761
- "privacy": "public",
1762
- "static": true,
1869
+ "name": "onActionMenuItemClick",
1870
+ "parameters": [
1871
+ {
1872
+ "name": "callback",
1873
+ "type": {
1874
+ "text": "(rowData) => void | any"
1875
+ }
1876
+ }
1877
+ ]
1878
+ },
1879
+ {
1880
+ "kind": "method",
1881
+ "name": "isActionDisabled",
1763
1882
  "return": {
1764
1883
  "type": {
1765
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1884
+ "text": "boolean"
1766
1885
  }
1767
1886
  },
1768
1887
  "parameters": [
1769
1888
  {
1770
- "name": "this",
1889
+ "name": "action",
1771
1890
  "type": {
1772
- "text": "K"
1891
+ "text": "ActionMenuItem"
1773
1892
  }
1774
- },
1893
+ }
1894
+ ],
1895
+ "description": "Resolves an action's `isDisabled` for the current row."
1896
+ },
1897
+ {
1898
+ "kind": "field",
1899
+ "name": "resolvedActions",
1900
+ "type": {
1901
+ "text": "ActionMenuItem[]"
1902
+ },
1903
+ "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
1904
+ "readonly": true
1905
+ },
1906
+ {
1907
+ "kind": "field",
1908
+ "name": "hasVisibleActions",
1909
+ "type": {
1910
+ "text": "boolean"
1911
+ },
1912
+ "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
1913
+ "readonly": true
1914
+ },
1915
+ {
1916
+ "kind": "field",
1917
+ "name": "allActions",
1918
+ "type": {
1919
+ "text": "ActionMenuItem[]"
1920
+ },
1921
+ "readonly": true
1922
+ },
1923
+ {
1924
+ "kind": "field",
1925
+ "name": "rowData",
1926
+ "readonly": true
1927
+ },
1928
+ {
1929
+ "kind": "method",
1930
+ "name": "getLabel",
1931
+ "parameters": [
1775
1932
  {
1776
- "name": "elementDefinition",
1933
+ "name": "name",
1777
1934
  "type": {
1778
- "text": "T"
1779
- },
1780
- "description": "The definition of the element to create the registry\nfunction for."
1935
+ "text": "string | ((rowData: any) => string)"
1936
+ }
1781
1937
  }
1782
- ],
1783
- "description": "Defines an element registry function with a set of element definition defaults.",
1938
+ ]
1939
+ },
1940
+ {
1941
+ "kind": "method",
1942
+ "name": "getTemplate",
1943
+ "parameters": [
1944
+ {
1945
+ "name": "prefix",
1946
+ "type": {
1947
+ "text": "string"
1948
+ }
1949
+ }
1950
+ ]
1951
+ },
1952
+ {
1953
+ "kind": "field",
1954
+ "name": "_presentation",
1955
+ "type": {
1956
+ "text": "ComponentPresentation | null | undefined"
1957
+ },
1958
+ "privacy": "private",
1959
+ "default": "void 0",
1784
1960
  "inheritedFrom": {
1785
1961
  "name": "FoundationElement",
1786
1962
  "module": "src/foundation-element/foundation-element.ts"
1787
1963
  }
1788
- }
1789
- ],
1790
- "events": [
1964
+ },
1791
1965
  {
1792
- "description": "Fires a custom 'change' event when the button is invoked",
1793
- "name": "change",
1966
+ "kind": "field",
1967
+ "name": "$presentation",
1968
+ "type": {
1969
+ "text": "ComponentPresentation | null"
1970
+ },
1971
+ "privacy": "public",
1972
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1794
1973
  "inheritedFrom": {
1795
- "name": "AccordionItem",
1796
- "module": "src/accordion-item/accordion-item.ts"
1974
+ "name": "FoundationElement",
1975
+ "module": "src/foundation-element/foundation-element.ts"
1797
1976
  }
1798
- }
1799
- ]
1800
- },
1801
- {
1802
- "kind": "variable",
1803
- "name": "foundationAccordionItemShadowOptions",
1804
- "type": {
1805
- "text": "ShadowRootInit"
1806
- },
1807
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1808
- },
1809
- {
1810
- "kind": "variable",
1811
- "name": "defaultAccordionItemConfig",
1812
- "type": {
1813
- "text": "object"
1977
+ },
1978
+ {
1979
+ "kind": "field",
1980
+ "name": "template",
1981
+ "type": {
1982
+ "text": "ElementViewTemplate | void | null"
1983
+ },
1984
+ "privacy": "public",
1985
+ "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.",
1986
+ "inheritedFrom": {
1987
+ "name": "FoundationElement",
1988
+ "module": "src/foundation-element/foundation-element.ts"
1989
+ }
1990
+ },
1991
+ {
1992
+ "kind": "method",
1993
+ "name": "templateChanged",
1994
+ "privacy": "protected",
1995
+ "return": {
1996
+ "type": {
1997
+ "text": "void"
1998
+ }
1999
+ },
2000
+ "inheritedFrom": {
2001
+ "name": "FoundationElement",
2002
+ "module": "src/foundation-element/foundation-element.ts"
2003
+ }
2004
+ },
2005
+ {
2006
+ "kind": "field",
2007
+ "name": "styles",
2008
+ "type": {
2009
+ "text": "ElementStyles | void | null"
2010
+ },
2011
+ "privacy": "public",
2012
+ "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.",
2013
+ "inheritedFrom": {
2014
+ "name": "FoundationElement",
2015
+ "module": "src/foundation-element/foundation-element.ts"
2016
+ }
2017
+ },
2018
+ {
2019
+ "kind": "method",
2020
+ "name": "stylesChanged",
2021
+ "privacy": "protected",
2022
+ "return": {
2023
+ "type": {
2024
+ "text": "void"
2025
+ }
2026
+ },
2027
+ "inheritedFrom": {
2028
+ "name": "FoundationElement",
2029
+ "module": "src/foundation-element/foundation-element.ts"
2030
+ }
2031
+ },
2032
+ {
2033
+ "kind": "method",
2034
+ "name": "compose",
2035
+ "privacy": "public",
2036
+ "static": true,
2037
+ "return": {
2038
+ "type": {
2039
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2040
+ }
2041
+ },
2042
+ "parameters": [
2043
+ {
2044
+ "name": "this",
2045
+ "type": {
2046
+ "text": "K"
2047
+ }
2048
+ },
2049
+ {
2050
+ "name": "elementDefinition",
2051
+ "type": {
2052
+ "text": "T"
2053
+ },
2054
+ "description": "The definition of the element to create the registry\nfunction for."
2055
+ }
2056
+ ],
2057
+ "description": "Defines an element registry function with a set of element definition defaults.",
2058
+ "inheritedFrom": {
2059
+ "name": "FoundationElement",
2060
+ "module": "src/foundation-element/foundation-element.ts"
2061
+ }
2062
+ }
2063
+ ],
2064
+ "attributes": [
2065
+ {
2066
+ "name": "is-vertical",
2067
+ "type": {
2068
+ "text": "boolean"
2069
+ },
2070
+ "default": "false",
2071
+ "fieldName": "isVertical"
2072
+ },
2073
+ {
2074
+ "name": "add-default-actions",
2075
+ "type": {
2076
+ "text": "boolean"
2077
+ },
2078
+ "default": "true",
2079
+ "fieldName": "addDefaultActions"
2080
+ },
2081
+ {
2082
+ "name": "auto-close-on-action",
2083
+ "type": {
2084
+ "text": "boolean"
2085
+ },
2086
+ "default": "true",
2087
+ "fieldName": "autoCloseOnAction"
2088
+ },
2089
+ {
2090
+ "name": "name",
2091
+ "type": {
2092
+ "text": "string"
2093
+ },
2094
+ "default": "'Actions'",
2095
+ "fieldName": "name"
2096
+ },
2097
+ {
2098
+ "name": "icon-name",
2099
+ "type": {
2100
+ "text": "string"
2101
+ },
2102
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
2103
+ "fieldName": "iconName"
2104
+ },
2105
+ {
2106
+ "name": "open",
2107
+ "type": {
2108
+ "text": "boolean"
2109
+ },
2110
+ "default": "false",
2111
+ "fieldName": "open"
2112
+ },
2113
+ {
2114
+ "name": "buttonAppearance",
2115
+ "type": {
2116
+ "text": "string"
2117
+ },
2118
+ "fieldName": "buttonAppearance"
2119
+ },
2120
+ {
2121
+ "name": "hide-disabled",
2122
+ "type": {
2123
+ "text": "boolean"
2124
+ },
2125
+ "default": "false",
2126
+ "fieldName": "hideDisabled"
2127
+ },
2128
+ {
2129
+ "name": "hide-menu-single-option",
2130
+ "type": {
2131
+ "text": "boolean"
2132
+ },
2133
+ "default": "false",
2134
+ "fieldName": "hideMenuSingleOption"
2135
+ }
2136
+ ],
2137
+ "superclass": {
2138
+ "name": "FoundationElement",
2139
+ "package": "@microsoft/fast-foundation"
1814
2140
  },
1815
- "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}"
2141
+ "tagName": "%%prefix%%-actions-menu",
2142
+ "customElement": true
1816
2143
  },
1817
2144
  {
1818
2145
  "kind": "variable",
1819
- "name": "foundationAccordionItem",
1820
- "description": "The Foundation Accordion Item",
2146
+ "name": "foundationActionsMenu",
2147
+ "description": "The Foundation Actions Menu",
1821
2148
  "privacy": "public"
1822
2149
  }
1823
2150
  ],
1824
2151
  "exports": [
1825
2152
  {
1826
2153
  "kind": "js",
1827
- "name": "AccordionItem",
2154
+ "name": "ActionsMenu",
1828
2155
  "declaration": {
1829
- "name": "AccordionItem",
1830
- "module": "src/accordion-item/accordion-item.ts"
2156
+ "name": "ActionsMenu",
2157
+ "module": "src/actions-menu/actions-menu.ts"
1831
2158
  }
1832
2159
  },
1833
2160
  {
1834
2161
  "kind": "js",
1835
- "name": "foundationAccordionItemShadowOptions",
2162
+ "name": "foundationActionsMenu",
1836
2163
  "declaration": {
1837
- "name": "foundationAccordionItemShadowOptions",
1838
- "module": "src/accordion-item/accordion-item.ts"
2164
+ "name": "foundationActionsMenu",
2165
+ "module": "src/actions-menu/actions-menu.ts"
1839
2166
  }
1840
- },
2167
+ }
2168
+ ]
2169
+ },
2170
+ {
2171
+ "kind": "javascript-module",
2172
+ "path": "src/actions-menu/ag-menu.styles.ts",
2173
+ "declarations": [
1841
2174
  {
1842
- "kind": "js",
1843
- "name": "defaultAccordionItemConfig",
1844
- "declaration": {
1845
- "name": "defaultAccordionItemConfig",
1846
- "module": "src/accordion-item/accordion-item.ts"
1847
- }
1848
- },
2175
+ "kind": "function",
2176
+ "name": "agMenuStyles",
2177
+ "return": {
2178
+ "type": {
2179
+ "text": ""
2180
+ }
2181
+ },
2182
+ "parameters": [
2183
+ {
2184
+ "name": "menuSelector",
2185
+ "type": {
2186
+ "text": "string"
2187
+ },
2188
+ "description": "Selects the menu surface. May be a selector list."
2189
+ },
2190
+ {
2191
+ "name": "itemSelector",
2192
+ "type": {
2193
+ "text": "string"
2194
+ },
2195
+ "description": "Selects a menu item. Must be a single selector, as states are appended to it."
2196
+ }
2197
+ ],
2198
+ "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
2199
+ "privacy": "public"
2200
+ }
2201
+ ],
2202
+ "exports": [
1849
2203
  {
1850
2204
  "kind": "js",
1851
- "name": "foundationAccordionItem",
2205
+ "name": "agMenuStyles",
1852
2206
  "declaration": {
1853
- "name": "foundationAccordionItem",
1854
- "module": "src/accordion-item/accordion-item.ts"
2207
+ "name": "agMenuStyles",
2208
+ "module": "src/actions-menu/ag-menu.styles.ts"
1855
2209
  }
1856
2210
  }
1857
2211
  ]
1858
2212
  },
1859
2213
  {
1860
2214
  "kind": "javascript-module",
1861
- "path": "src/accordion-item/index.ts",
2215
+ "path": "src/actions-menu/index.ts",
1862
2216
  "declarations": [],
1863
2217
  "exports": [
1864
2218
  {
@@ -1866,7 +2220,7 @@
1866
2220
  "name": "*",
1867
2221
  "declaration": {
1868
2222
  "name": "*",
1869
- "package": "./accordion-item.template"
2223
+ "package": "./actions-menu.styles"
1870
2224
  }
1871
2225
  },
1872
2226
  {
@@ -1874,7 +2228,7 @@
1874
2228
  "name": "*",
1875
2229
  "declaration": {
1876
2230
  "name": "*",
1877
- "package": "./accordion-item.styles"
2231
+ "package": "./actions-menu.template"
1878
2232
  }
1879
2233
  },
1880
2234
  {
@@ -1882,49 +2236,26 @@
1882
2236
  "name": "*",
1883
2237
  "declaration": {
1884
2238
  "name": "*",
1885
- "package": "./accordion-item"
2239
+ "package": "./actions-menu"
1886
2240
  }
1887
- }
1888
- ]
1889
- },
1890
- {
1891
- "kind": "javascript-module",
1892
- "path": "src/_config/index.ts",
1893
- "declarations": [],
1894
- "exports": [
2241
+ },
1895
2242
  {
1896
2243
  "kind": "js",
1897
2244
  "name": "*",
1898
2245
  "declaration": {
1899
2246
  "name": "*",
1900
- "package": "./styles"
1901
- }
1902
- },
1903
- {
1904
- "kind": "js",
1905
- "name": "*",
1906
- "declaration": {
1907
- "name": "*",
1908
- "package": "./tokens"
1909
- }
1910
- },
1911
- {
1912
- "kind": "js",
1913
- "name": "*",
1914
- "declaration": {
1915
- "name": "*",
1916
- "package": "./values"
2247
+ "package": "./ag-menu.styles"
1917
2248
  }
1918
2249
  }
1919
2250
  ]
1920
2251
  },
1921
2252
  {
1922
2253
  "kind": "javascript-module",
1923
- "path": "src/actions-menu/actions-menu.styles.ts",
2254
+ "path": "src/accordion-item/accordion-item.styles.ts",
1924
2255
  "declarations": [
1925
2256
  {
1926
2257
  "kind": "function",
1927
- "name": "actionsMenuBaseStyles",
2258
+ "name": "foundationAccordionItemStyles",
1928
2259
  "return": {
1929
2260
  "type": {
1930
2261
  "text": "ElementStyles"
@@ -1944,13 +2275,29 @@
1944
2275
  }
1945
2276
  }
1946
2277
  ]
1947
- },
2278
+ }
2279
+ ],
2280
+ "exports": [
2281
+ {
2282
+ "kind": "js",
2283
+ "name": "foundationAccordionItemStyles",
2284
+ "declaration": {
2285
+ "name": "foundationAccordionItemStyles",
2286
+ "module": "src/accordion-item/accordion-item.styles.ts"
2287
+ }
2288
+ }
2289
+ ]
2290
+ },
2291
+ {
2292
+ "kind": "javascript-module",
2293
+ "path": "src/accordion-item/accordion-item.template.ts",
2294
+ "declarations": [
1948
2295
  {
1949
2296
  "kind": "function",
1950
- "name": "foundationActionsMenuStyles",
2297
+ "name": "foundationAccordionItemTemplate",
1951
2298
  "return": {
1952
2299
  "type": {
1953
- "text": "ElementStyles"
2300
+ "text": "ViewTemplate<AccordionItem>"
1954
2301
  }
1955
2302
  },
1956
2303
  "parameters": [
@@ -1972,376 +2319,117 @@
1972
2319
  "exports": [
1973
2320
  {
1974
2321
  "kind": "js",
1975
- "name": "actionsMenuBaseStyles",
1976
- "declaration": {
1977
- "name": "actionsMenuBaseStyles",
1978
- "module": "src/actions-menu/actions-menu.styles.ts"
1979
- }
1980
- },
1981
- {
1982
- "kind": "js",
1983
- "name": "foundationActionsMenuStyles",
1984
- "declaration": {
1985
- "name": "foundationActionsMenuStyles",
1986
- "module": "src/actions-menu/actions-menu.styles.ts"
1987
- }
1988
- }
1989
- ]
1990
- },
1991
- {
1992
- "kind": "javascript-module",
1993
- "path": "src/actions-menu/actions-menu.template.ts",
1994
- "declarations": [
1995
- {
1996
- "kind": "variable",
1997
- "name": "menuTemplate"
1998
- },
1999
- {
2000
- "kind": "variable",
2001
- "name": "singleOptionTemplate"
2002
- },
2003
- {
2004
- "kind": "variable",
2005
- "name": "foundationActionsMenuTemplate",
2006
- "type": {
2007
- "text": "ViewTemplate<ActionsMenu>"
2008
- },
2009
- "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`"
2010
- }
2011
- ],
2012
- "exports": [
2013
- {
2014
- "kind": "js",
2015
- "name": "menuTemplate",
2016
- "declaration": {
2017
- "name": "menuTemplate",
2018
- "module": "src/actions-menu/actions-menu.template.ts"
2019
- }
2020
- },
2021
- {
2022
- "kind": "js",
2023
- "name": "singleOptionTemplate",
2024
- "declaration": {
2025
- "name": "singleOptionTemplate",
2026
- "module": "src/actions-menu/actions-menu.template.ts"
2027
- }
2028
- },
2029
- {
2030
- "kind": "js",
2031
- "name": "foundationActionsMenuTemplate",
2322
+ "name": "foundationAccordionItemTemplate",
2032
2323
  "declaration": {
2033
- "name": "foundationActionsMenuTemplate",
2034
- "module": "src/actions-menu/actions-menu.template.ts"
2324
+ "name": "foundationAccordionItemTemplate",
2325
+ "module": "src/accordion-item/accordion-item.template.ts"
2035
2326
  }
2036
2327
  }
2037
2328
  ]
2038
2329
  },
2039
2330
  {
2040
2331
  "kind": "javascript-module",
2041
- "path": "src/actions-menu/actions-menu.ts",
2332
+ "path": "src/accordion-item/accordion-item.ts",
2042
2333
  "declarations": [
2043
2334
  {
2044
2335
  "kind": "class",
2045
2336
  "description": "",
2046
- "name": "ActionsMenu",
2047
- "members": [
2048
- {
2049
- "kind": "field",
2050
- "name": "actions",
2051
- "type": {
2052
- "text": "ActionMenuItem[]"
2053
- }
2054
- },
2055
- {
2056
- "kind": "field",
2057
- "name": "actionsResolver",
2058
- "type": {
2059
- "text": "ActionMenuItemsResolver | undefined"
2060
- },
2061
- "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
2062
- },
2063
- {
2064
- "kind": "field",
2065
- "name": "isVertical",
2066
- "type": {
2067
- "text": "boolean"
2068
- },
2069
- "default": "false"
2070
- },
2071
- {
2072
- "kind": "field",
2073
- "name": "addDefaultActions",
2074
- "type": {
2075
- "text": "boolean"
2076
- },
2077
- "default": "true"
2078
- },
2079
- {
2080
- "kind": "field",
2081
- "name": "autoCloseOnAction",
2082
- "type": {
2083
- "text": "boolean"
2084
- },
2085
- "default": "true"
2086
- },
2087
- {
2088
- "kind": "field",
2089
- "name": "classNames",
2090
- "type": {
2091
- "text": "string"
2092
- }
2093
- },
2094
- {
2095
- "kind": "field",
2096
- "name": "definition",
2097
- "type": {
2098
- "text": "any"
2099
- }
2100
- },
2101
- {
2102
- "kind": "field",
2103
- "name": "name",
2104
- "type": {
2105
- "text": "string"
2106
- },
2107
- "default": "'Actions'"
2108
- },
2109
- {
2110
- "kind": "field",
2111
- "name": "iconName",
2112
- "type": {
2113
- "text": "string"
2114
- },
2115
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
2116
- },
2117
- {
2118
- "kind": "field",
2119
- "name": "open",
2120
- "type": {
2121
- "text": "boolean"
2122
- },
2123
- "default": "false"
2124
- },
2125
- {
2126
- "kind": "field",
2127
- "name": "buttonAppearance",
2128
- "type": {
2129
- "text": "string"
2130
- }
2131
- },
2132
- {
2133
- "kind": "field",
2134
- "name": "hideDisabled",
2135
- "type": {
2136
- "text": "boolean"
2137
- },
2138
- "default": "false"
2139
- },
2140
- {
2141
- "kind": "field",
2142
- "name": "hideMenuSingleOption",
2143
- "type": {
2144
- "text": "boolean"
2145
- },
2146
- "default": "false"
2147
- },
2148
- {
2149
- "kind": "field",
2150
- "name": "singleOption",
2151
- "type": {
2152
- "text": "ActionMenuItem"
2153
- }
2154
- },
2155
- {
2156
- "kind": "field",
2157
- "name": "actionsMenu",
2158
- "type": {
2159
- "text": "HTMLElement"
2160
- }
2161
- },
2162
- {
2163
- "kind": "field",
2164
- "name": "actionsOpener",
2165
- "type": {
2166
- "text": "HTMLElement"
2167
- }
2168
- },
2169
- {
2170
- "kind": "field",
2171
- "name": "positionTracker",
2172
- "type": {
2173
- "text": "AnchoredPopoverPositionTracker | undefined"
2174
- },
2175
- "privacy": "private"
2176
- },
2177
- {
2178
- "kind": "field",
2179
- "name": "focusMenuOnOpen",
2180
- "type": {
2181
- "text": "boolean"
2182
- },
2183
- "privacy": "private",
2184
- "default": "false",
2185
- "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
2186
- },
2187
- {
2188
- "kind": "method",
2189
- "name": "updateMenuPosition",
2190
- "privacy": "private"
2191
- },
2192
- {
2193
- "kind": "method",
2194
- "name": "startTrackingPosition",
2195
- "privacy": "private"
2196
- },
2197
- {
2198
- "kind": "method",
2199
- "name": "stopTrackingPosition",
2200
- "privacy": "private"
2201
- },
2202
- {
2203
- "kind": "method",
2204
- "name": "definitionChanged",
2205
- "privacy": "protected",
2206
- "parameters": [
2207
- {
2208
- "name": "oldValue",
2209
- "type": {
2210
- "text": "any"
2211
- }
2212
- },
2213
- {
2214
- "name": "newValue",
2215
- "type": {
2216
- "text": "any"
2217
- }
2218
- }
2219
- ]
2220
- },
2221
- {
2222
- "kind": "method",
2223
- "name": "openChanged",
2224
- "privacy": "protected"
2225
- },
2226
- {
2227
- "kind": "method",
2228
- "name": "toggleActionsMenuVisibility"
2229
- },
2230
- {
2231
- "kind": "method",
2232
- "name": "onPopoverToggle",
2233
- "parameters": [
2234
- {
2235
- "name": "event",
2236
- "type": {
2237
- "text": "Event"
2238
- }
2239
- }
2240
- ],
2241
- "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
2242
- },
2337
+ "name": "AccordionItem",
2338
+ "superclass": {
2339
+ "name": "FASTAccordionItem",
2340
+ "package": "@microsoft/fast-components"
2341
+ },
2342
+ "tagName": "%%prefix%%-accordion-item",
2343
+ "customElement": true,
2344
+ "attributes": [
2243
2345
  {
2244
- "kind": "method",
2245
- "name": "onIconOpenerKeydown",
2246
- "return": {
2247
- "type": {
2248
- "text": "boolean"
2249
- }
2346
+ "name": "heading-level",
2347
+ "type": {
2348
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2250
2349
  },
2251
- "parameters": [
2252
- {
2253
- "name": "event",
2254
- "type": {
2255
- "text": "KeyboardEvent"
2256
- }
2257
- }
2258
- ],
2259
- "description": "Opens the icon-only opener from the keyboard, as a native button would."
2350
+ "default": "2",
2351
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2352
+ "fieldName": "headinglevel",
2353
+ "inheritedFrom": {
2354
+ "name": "AccordionItem",
2355
+ "module": "src/accordion-item/accordion-item.ts"
2356
+ }
2260
2357
  },
2261
2358
  {
2262
- "kind": "method",
2263
- "name": "onActionMenuItemClick",
2264
- "parameters": [
2265
- {
2266
- "name": "callback",
2267
- "type": {
2268
- "text": "(rowData) => void | any"
2269
- }
2270
- }
2271
- ]
2359
+ "type": {
2360
+ "text": "boolean"
2361
+ },
2362
+ "default": "false",
2363
+ "description": "Expands or collapses the item.",
2364
+ "fieldName": "expanded",
2365
+ "inheritedFrom": {
2366
+ "name": "AccordionItem",
2367
+ "module": "src/accordion-item/accordion-item.ts"
2368
+ }
2272
2369
  },
2273
2370
  {
2274
- "kind": "method",
2275
- "name": "isActionDisabled",
2276
- "return": {
2277
- "type": {
2278
- "text": "boolean"
2279
- }
2371
+ "name": "id",
2372
+ "type": {
2373
+ "text": "string"
2280
2374
  },
2281
- "parameters": [
2282
- {
2283
- "name": "action",
2284
- "type": {
2285
- "text": "ActionMenuItem"
2286
- }
2287
- }
2288
- ],
2289
- "description": "Resolves an action's `isDisabled` for the current row."
2290
- },
2375
+ "description": "The item ID",
2376
+ "fieldName": "id",
2377
+ "inheritedFrom": {
2378
+ "name": "AccordionItem",
2379
+ "module": "src/accordion-item/accordion-item.ts"
2380
+ }
2381
+ }
2382
+ ],
2383
+ "members": [
2291
2384
  {
2292
2385
  "kind": "field",
2293
- "name": "resolvedActions",
2386
+ "name": "headinglevel",
2294
2387
  "type": {
2295
- "text": "ActionMenuItem[]"
2388
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2296
2389
  },
2297
- "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
2298
- "readonly": true
2390
+ "privacy": "public",
2391
+ "default": "2",
2392
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2393
+ "inheritedFrom": {
2394
+ "name": "AccordionItem",
2395
+ "module": "src/accordion-item/accordion-item.ts"
2396
+ }
2299
2397
  },
2300
2398
  {
2301
2399
  "kind": "field",
2302
- "name": "hasVisibleActions",
2400
+ "name": "expanded",
2303
2401
  "type": {
2304
2402
  "text": "boolean"
2305
2403
  },
2306
- "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
2307
- "readonly": true
2404
+ "privacy": "public",
2405
+ "default": "false",
2406
+ "description": "Expands or collapses the item.",
2407
+ "inheritedFrom": {
2408
+ "name": "AccordionItem",
2409
+ "module": "src/accordion-item/accordion-item.ts"
2410
+ }
2308
2411
  },
2309
2412
  {
2310
2413
  "kind": "field",
2311
- "name": "allActions",
2414
+ "name": "id",
2312
2415
  "type": {
2313
- "text": "ActionMenuItem[]"
2416
+ "text": "string"
2314
2417
  },
2315
- "readonly": true
2418
+ "privacy": "public",
2419
+ "description": "The item ID",
2420
+ "inheritedFrom": {
2421
+ "name": "AccordionItem",
2422
+ "module": "src/accordion-item/accordion-item.ts"
2423
+ }
2316
2424
  },
2317
2425
  {
2318
2426
  "kind": "field",
2319
- "name": "rowData",
2320
- "readonly": true
2321
- },
2322
- {
2323
- "kind": "method",
2324
- "name": "getLabel",
2325
- "parameters": [
2326
- {
2327
- "name": "name",
2328
- "type": {
2329
- "text": "string | ((rowData: any) => string)"
2330
- }
2331
- }
2332
- ]
2333
- },
2334
- {
2335
- "kind": "method",
2336
- "name": "getTemplate",
2337
- "parameters": [
2338
- {
2339
- "name": "prefix",
2340
- "type": {
2341
- "text": "string"
2342
- }
2343
- }
2344
- ]
2427
+ "name": "change",
2428
+ "privacy": "private",
2429
+ "inheritedFrom": {
2430
+ "name": "AccordionItem",
2431
+ "module": "src/accordion-item/accordion-item.ts"
2432
+ }
2345
2433
  },
2346
2434
  {
2347
2435
  "kind": "field",
@@ -2393,220 +2481,140 @@
2393
2481
  },
2394
2482
  "inheritedFrom": {
2395
2483
  "name": "FoundationElement",
2396
- "module": "src/foundation-element/foundation-element.ts"
2397
- }
2398
- },
2399
- {
2400
- "kind": "field",
2401
- "name": "styles",
2402
- "type": {
2403
- "text": "ElementStyles | void | null"
2404
- },
2405
- "privacy": "public",
2406
- "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.",
2407
- "inheritedFrom": {
2408
- "name": "FoundationElement",
2409
- "module": "src/foundation-element/foundation-element.ts"
2410
- }
2411
- },
2412
- {
2413
- "kind": "method",
2414
- "name": "stylesChanged",
2415
- "privacy": "protected",
2416
- "return": {
2417
- "type": {
2418
- "text": "void"
2419
- }
2420
- },
2421
- "inheritedFrom": {
2422
- "name": "FoundationElement",
2423
- "module": "src/foundation-element/foundation-element.ts"
2424
- }
2425
- },
2426
- {
2427
- "kind": "method",
2428
- "name": "compose",
2429
- "privacy": "public",
2430
- "static": true,
2431
- "return": {
2432
- "type": {
2433
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2434
- }
2435
- },
2436
- "parameters": [
2437
- {
2438
- "name": "this",
2439
- "type": {
2440
- "text": "K"
2441
- }
2442
- },
2443
- {
2444
- "name": "elementDefinition",
2445
- "type": {
2446
- "text": "T"
2447
- },
2448
- "description": "The definition of the element to create the registry\nfunction for."
2449
- }
2450
- ],
2451
- "description": "Defines an element registry function with a set of element definition defaults.",
2452
- "inheritedFrom": {
2453
- "name": "FoundationElement",
2454
- "module": "src/foundation-element/foundation-element.ts"
2455
- }
2456
- }
2457
- ],
2458
- "attributes": [
2459
- {
2460
- "name": "is-vertical",
2461
- "type": {
2462
- "text": "boolean"
2463
- },
2464
- "default": "false",
2465
- "fieldName": "isVertical"
2466
- },
2467
- {
2468
- "name": "add-default-actions",
2469
- "type": {
2470
- "text": "boolean"
2471
- },
2472
- "default": "true",
2473
- "fieldName": "addDefaultActions"
2474
- },
2475
- {
2476
- "name": "auto-close-on-action",
2477
- "type": {
2478
- "text": "boolean"
2479
- },
2480
- "default": "true",
2481
- "fieldName": "autoCloseOnAction"
2482
- },
2483
- {
2484
- "name": "name",
2485
- "type": {
2486
- "text": "string"
2487
- },
2488
- "default": "'Actions'",
2489
- "fieldName": "name"
2490
- },
2491
- {
2492
- "name": "icon-name",
2493
- "type": {
2494
- "text": "string"
2495
- },
2496
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
2497
- "fieldName": "iconName"
2498
- },
2499
- {
2500
- "name": "open",
2501
- "type": {
2502
- "text": "boolean"
2503
- },
2504
- "default": "false",
2505
- "fieldName": "open"
2484
+ "module": "src/foundation-element/foundation-element.ts"
2485
+ }
2506
2486
  },
2507
2487
  {
2508
- "name": "buttonAppearance",
2488
+ "kind": "field",
2489
+ "name": "styles",
2509
2490
  "type": {
2510
- "text": "string"
2491
+ "text": "ElementStyles | void | null"
2511
2492
  },
2512
- "fieldName": "buttonAppearance"
2493
+ "privacy": "public",
2494
+ "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.",
2495
+ "inheritedFrom": {
2496
+ "name": "FoundationElement",
2497
+ "module": "src/foundation-element/foundation-element.ts"
2498
+ }
2513
2499
  },
2514
2500
  {
2515
- "name": "hide-disabled",
2516
- "type": {
2517
- "text": "boolean"
2501
+ "kind": "method",
2502
+ "name": "stylesChanged",
2503
+ "privacy": "protected",
2504
+ "return": {
2505
+ "type": {
2506
+ "text": "void"
2507
+ }
2518
2508
  },
2519
- "default": "false",
2520
- "fieldName": "hideDisabled"
2509
+ "inheritedFrom": {
2510
+ "name": "FoundationElement",
2511
+ "module": "src/foundation-element/foundation-element.ts"
2512
+ }
2521
2513
  },
2522
2514
  {
2523
- "name": "hide-menu-single-option",
2524
- "type": {
2525
- "text": "boolean"
2515
+ "kind": "method",
2516
+ "name": "compose",
2517
+ "privacy": "public",
2518
+ "static": true,
2519
+ "return": {
2520
+ "type": {
2521
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2522
+ }
2526
2523
  },
2527
- "default": "false",
2528
- "fieldName": "hideMenuSingleOption"
2524
+ "parameters": [
2525
+ {
2526
+ "name": "this",
2527
+ "type": {
2528
+ "text": "K"
2529
+ }
2530
+ },
2531
+ {
2532
+ "name": "elementDefinition",
2533
+ "type": {
2534
+ "text": "T"
2535
+ },
2536
+ "description": "The definition of the element to create the registry\nfunction for."
2537
+ }
2538
+ ],
2539
+ "description": "Defines an element registry function with a set of element definition defaults.",
2540
+ "inheritedFrom": {
2541
+ "name": "FoundationElement",
2542
+ "module": "src/foundation-element/foundation-element.ts"
2543
+ }
2529
2544
  }
2530
2545
  ],
2531
- "superclass": {
2532
- "name": "FoundationElement",
2533
- "package": "@microsoft/fast-foundation"
2546
+ "events": [
2547
+ {
2548
+ "description": "Fires a custom 'change' event when the button is invoked",
2549
+ "name": "change",
2550
+ "inheritedFrom": {
2551
+ "name": "AccordionItem",
2552
+ "module": "src/accordion-item/accordion-item.ts"
2553
+ }
2554
+ }
2555
+ ]
2556
+ },
2557
+ {
2558
+ "kind": "variable",
2559
+ "name": "foundationAccordionItemShadowOptions",
2560
+ "type": {
2561
+ "text": "ShadowRootInit"
2534
2562
  },
2535
- "tagName": "%%prefix%%-actions-menu",
2536
- "customElement": true
2563
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2537
2564
  },
2538
2565
  {
2539
2566
  "kind": "variable",
2540
- "name": "foundationActionsMenu",
2541
- "description": "The Foundation Actions Menu",
2567
+ "name": "defaultAccordionItemConfig",
2568
+ "type": {
2569
+ "text": "object"
2570
+ },
2571
+ "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}"
2572
+ },
2573
+ {
2574
+ "kind": "variable",
2575
+ "name": "foundationAccordionItem",
2576
+ "description": "The Foundation Accordion Item",
2542
2577
  "privacy": "public"
2543
2578
  }
2544
2579
  ],
2545
2580
  "exports": [
2546
2581
  {
2547
2582
  "kind": "js",
2548
- "name": "ActionsMenu",
2583
+ "name": "AccordionItem",
2549
2584
  "declaration": {
2550
- "name": "ActionsMenu",
2551
- "module": "src/actions-menu/actions-menu.ts"
2585
+ "name": "AccordionItem",
2586
+ "module": "src/accordion-item/accordion-item.ts"
2552
2587
  }
2553
2588
  },
2554
2589
  {
2555
2590
  "kind": "js",
2556
- "name": "foundationActionsMenu",
2591
+ "name": "foundationAccordionItemShadowOptions",
2557
2592
  "declaration": {
2558
- "name": "foundationActionsMenu",
2559
- "module": "src/actions-menu/actions-menu.ts"
2593
+ "name": "foundationAccordionItemShadowOptions",
2594
+ "module": "src/accordion-item/accordion-item.ts"
2560
2595
  }
2561
- }
2562
- ]
2563
- },
2564
- {
2565
- "kind": "javascript-module",
2566
- "path": "src/actions-menu/ag-menu.styles.ts",
2567
- "declarations": [
2596
+ },
2568
2597
  {
2569
- "kind": "function",
2570
- "name": "agMenuStyles",
2571
- "return": {
2572
- "type": {
2573
- "text": ""
2574
- }
2575
- },
2576
- "parameters": [
2577
- {
2578
- "name": "menuSelector",
2579
- "type": {
2580
- "text": "string"
2581
- },
2582
- "description": "Selects the menu surface. May be a selector list."
2583
- },
2584
- {
2585
- "name": "itemSelector",
2586
- "type": {
2587
- "text": "string"
2588
- },
2589
- "description": "Selects a menu item. Must be a single selector, as states are appended to it."
2590
- }
2591
- ],
2592
- "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
2593
- "privacy": "public"
2594
- }
2595
- ],
2596
- "exports": [
2598
+ "kind": "js",
2599
+ "name": "defaultAccordionItemConfig",
2600
+ "declaration": {
2601
+ "name": "defaultAccordionItemConfig",
2602
+ "module": "src/accordion-item/accordion-item.ts"
2603
+ }
2604
+ },
2597
2605
  {
2598
2606
  "kind": "js",
2599
- "name": "agMenuStyles",
2607
+ "name": "foundationAccordionItem",
2600
2608
  "declaration": {
2601
- "name": "agMenuStyles",
2602
- "module": "src/actions-menu/ag-menu.styles.ts"
2609
+ "name": "foundationAccordionItem",
2610
+ "module": "src/accordion-item/accordion-item.ts"
2603
2611
  }
2604
2612
  }
2605
2613
  ]
2606
2614
  },
2607
2615
  {
2608
2616
  "kind": "javascript-module",
2609
- "path": "src/actions-menu/index.ts",
2617
+ "path": "src/accordion-item/index.ts",
2610
2618
  "declarations": [],
2611
2619
  "exports": [
2612
2620
  {
@@ -2614,15 +2622,7 @@
2614
2622
  "name": "*",
2615
2623
  "declaration": {
2616
2624
  "name": "*",
2617
- "package": "./actions-menu.styles"
2618
- }
2619
- },
2620
- {
2621
- "kind": "js",
2622
- "name": "*",
2623
- "declaration": {
2624
- "name": "*",
2625
- "package": "./actions-menu.template"
2625
+ "package": "./accordion-item.template"
2626
2626
  }
2627
2627
  },
2628
2628
  {
@@ -2630,7 +2630,7 @@
2630
2630
  "name": "*",
2631
2631
  "declaration": {
2632
2632
  "name": "*",
2633
- "package": "./actions-menu"
2633
+ "package": "./accordion-item.styles"
2634
2634
  }
2635
2635
  },
2636
2636
  {
@@ -2638,122 +2638,111 @@
2638
2638
  "name": "*",
2639
2639
  "declaration": {
2640
2640
  "name": "*",
2641
- "package": "./ag-menu.styles"
2641
+ "package": "./accordion-item"
2642
2642
  }
2643
2643
  }
2644
2644
  ]
2645
2645
  },
2646
2646
  {
2647
2647
  "kind": "javascript-module",
2648
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2648
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2649
2649
  "declarations": [
2650
2650
  {
2651
- "kind": "variable",
2652
- "name": "foundationAiCriteriaSearchStyles",
2653
- "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 .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2651
+ "kind": "function",
2652
+ "name": "foundationAiIndicatorStyles",
2653
+ "return": {
2654
+ "type": {
2655
+ "text": "ElementStyles"
2656
+ }
2657
+ },
2658
+ "parameters": [
2659
+ {
2660
+ "name": "context",
2661
+ "type": {
2662
+ "text": "ElementDefinitionContext"
2663
+ }
2664
+ },
2665
+ {
2666
+ "name": "definition",
2667
+ "type": {
2668
+ "text": "FoundationElementDefinition"
2669
+ }
2670
+ }
2671
+ ]
2654
2672
  }
2655
2673
  ],
2656
2674
  "exports": [
2657
2675
  {
2658
2676
  "kind": "js",
2659
- "name": "foundationAiCriteriaSearchStyles",
2677
+ "name": "foundationAiIndicatorStyles",
2660
2678
  "declaration": {
2661
- "name": "foundationAiCriteriaSearchStyles",
2662
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2679
+ "name": "foundationAiIndicatorStyles",
2680
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2663
2681
  }
2664
2682
  }
2665
2683
  ]
2666
2684
  },
2667
2685
  {
2668
2686
  "kind": "javascript-module",
2669
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2687
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2670
2688
  "declarations": [
2671
2689
  {
2672
2690
  "kind": "variable",
2673
- "name": "foundationAiCriteriaSearchTemplate",
2691
+ "name": "foundationAiIndicatorTemplate",
2674
2692
  "type": {
2675
- "text": "ViewTemplate<AiCriteriaSearch>"
2693
+ "text": "ViewTemplate<AiIndicator>"
2676
2694
  },
2677
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2695
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2678
2696
  }
2679
2697
  ],
2680
2698
  "exports": [
2681
2699
  {
2682
2700
  "kind": "js",
2683
- "name": "foundationAiCriteriaSearchTemplate",
2701
+ "name": "foundationAiIndicatorTemplate",
2684
2702
  "declaration": {
2685
- "name": "foundationAiCriteriaSearchTemplate",
2686
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2703
+ "name": "foundationAiIndicatorTemplate",
2704
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2687
2705
  }
2688
2706
  }
2689
2707
  ]
2690
2708
  },
2691
2709
  {
2692
2710
  "kind": "javascript-module",
2693
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2711
+ "path": "src/ai-indicator/ai-indicator.ts",
2694
2712
  "declarations": [
2695
2713
  {
2696
2714
  "kind": "class",
2697
- "description": "Natural-language criteria search input with AI interpretation.",
2698
- "name": "AiCriteriaSearch",
2715
+ "description": "",
2716
+ "name": "AiIndicator",
2699
2717
  "members": [
2700
2718
  {
2701
2719
  "kind": "field",
2702
- "name": "providerRegistry",
2703
- "type": {
2704
- "text": "AIProviderRegistry"
2705
- }
2706
- },
2707
- {
2708
- "kind": "field",
2709
- "name": "placeholder",
2710
- "type": {
2711
- "text": "string"
2712
- },
2713
- "default": "'Describe your search criteria in natural language...'"
2714
- },
2715
- {
2716
- "kind": "field",
2717
- "name": "disabled",
2718
- "type": {
2719
- "text": "boolean"
2720
- }
2721
- },
2722
- {
2723
- "kind": "field",
2724
- "name": "inputValue",
2725
- "type": {
2726
- "text": "string"
2727
- },
2728
- "default": "''"
2729
- },
2730
- {
2731
- "kind": "field",
2732
- "name": "isInterpreting",
2720
+ "name": "providerRegistry",
2733
2721
  "type": {
2734
- "text": "boolean"
2735
- },
2736
- "default": "false"
2722
+ "text": "AIProviderRegistry"
2723
+ }
2737
2724
  },
2738
2725
  {
2739
2726
  "kind": "field",
2740
- "name": "lastValidCriteria",
2727
+ "name": "aiProvider",
2741
2728
  "type": {
2742
- "text": "string | null"
2729
+ "text": "AIProvider | undefined"
2743
2730
  },
2744
- "default": "null"
2731
+ "privacy": "private",
2732
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
2733
+ "readonly": true
2745
2734
  },
2746
2735
  {
2747
2736
  "kind": "field",
2748
- "name": "activeGroups",
2737
+ "name": "status",
2749
2738
  "type": {
2750
- "text": "CriteriaGroup[]"
2739
+ "text": "AIStatus | null"
2751
2740
  },
2752
- "default": "[]"
2741
+ "default": "null"
2753
2742
  },
2754
2743
  {
2755
2744
  "kind": "field",
2756
- "name": "showingChips",
2745
+ "name": "open",
2757
2746
  "type": {
2758
2747
  "text": "boolean"
2759
2748
  },
@@ -2761,15 +2750,15 @@
2761
2750
  },
2762
2751
  {
2763
2752
  "kind": "field",
2764
- "name": "fieldMetadata",
2753
+ "name": "state",
2765
2754
  "type": {
2766
- "text": "MetadataDetail[] | string[]"
2755
+ "text": "AIIndicatorState"
2767
2756
  },
2768
- "default": "[]"
2757
+ "default": "'none'"
2769
2758
  },
2770
2759
  {
2771
2760
  "kind": "field",
2772
- "name": "isRecording",
2761
+ "name": "isInstalling",
2773
2762
  "type": {
2774
2763
  "text": "boolean"
2775
2764
  },
@@ -2777,33 +2766,29 @@
2777
2766
  },
2778
2767
  {
2779
2768
  "kind": "field",
2780
- "name": "textAreaRef",
2769
+ "name": "pollTimer",
2781
2770
  "type": {
2782
- "text": "HTMLTextAreaElement"
2771
+ "text": "ReturnType<typeof setInterval> | null"
2783
2772
  },
2784
- "privacy": "public"
2773
+ "privacy": "private",
2774
+ "default": "null"
2785
2775
  },
2786
2776
  {
2787
2777
  "kind": "field",
2788
- "name": "stopRecording",
2789
- "type": {
2790
- "text": "(() => void) | null"
2791
- },
2792
- "privacy": "private",
2793
- "default": "null"
2778
+ "name": "clickOutside",
2779
+ "privacy": "private"
2794
2780
  },
2795
2781
  {
2796
2782
  "kind": "field",
2797
- "name": "speechApplyDebounceTimer",
2783
+ "name": "chromeStatusLabel",
2798
2784
  "type": {
2799
- "text": "ReturnType<typeof setTimeout> | null"
2785
+ "text": "string | null"
2800
2786
  },
2801
- "privacy": "private",
2802
- "default": "null"
2787
+ "readonly": true
2803
2788
  },
2804
2789
  {
2805
2790
  "kind": "field",
2806
- "name": "speechAvailable",
2791
+ "name": "canInstall",
2807
2792
  "type": {
2808
2793
  "text": "boolean"
2809
2794
  },
@@ -2811,65 +2796,69 @@
2811
2796
  },
2812
2797
  {
2813
2798
  "kind": "field",
2814
- "name": "criteriaChips",
2799
+ "name": "isDownloading",
2815
2800
  "type": {
2816
- "text": "CriteriaChip[]"
2801
+ "text": "boolean"
2817
2802
  },
2818
2803
  "readonly": true
2819
2804
  },
2820
2805
  {
2821
2806
  "kind": "method",
2822
- "name": "getFieldLabel",
2823
- "privacy": "private",
2807
+ "name": "openChanged",
2824
2808
  "return": {
2825
2809
  "type": {
2826
- "text": "string"
2810
+ "text": "void"
2827
2811
  }
2828
- },
2812
+ }
2813
+ },
2814
+ {
2815
+ "kind": "method",
2816
+ "name": "handleClickOutside",
2817
+ "privacy": "private",
2829
2818
  "parameters": [
2830
2819
  {
2831
- "name": "fieldName",
2820
+ "name": "event",
2832
2821
  "type": {
2833
- "text": "string"
2822
+ "text": "MouseEvent"
2834
2823
  }
2835
2824
  }
2836
2825
  ]
2837
2826
  },
2838
2827
  {
2839
2828
  "kind": "method",
2840
- "name": "toggleCriteriaView",
2829
+ "name": "toggleDropdown"
2830
+ },
2831
+ {
2832
+ "kind": "method",
2833
+ "name": "refreshStatus",
2841
2834
  "return": {
2842
2835
  "type": {
2843
- "text": "void"
2836
+ "text": "Promise<void>"
2844
2837
  }
2845
2838
  }
2846
2839
  },
2847
2840
  {
2848
2841
  "kind": "method",
2849
- "name": "removeChip",
2842
+ "name": "deriveState",
2843
+ "privacy": "private",
2850
2844
  "return": {
2851
2845
  "type": {
2852
- "text": "void"
2846
+ "text": "AIIndicatorState"
2853
2847
  }
2854
2848
  },
2855
2849
  "parameters": [
2856
2850
  {
2857
- "name": "groupIndex",
2858
- "type": {
2859
- "text": "number"
2860
- }
2861
- },
2862
- {
2863
- "name": "clauseIndex",
2851
+ "name": "s",
2864
2852
  "type": {
2865
- "text": "number"
2853
+ "text": "AIStatus | null"
2866
2854
  }
2867
2855
  }
2868
2856
  ]
2869
2857
  },
2870
2858
  {
2871
2859
  "kind": "method",
2872
- "name": "clearChips",
2860
+ "name": "maybeStartPolling",
2861
+ "privacy": "private",
2873
2862
  "return": {
2874
2863
  "type": {
2875
2864
  "text": "void"
@@ -2878,24 +2867,32 @@
2878
2867
  },
2879
2868
  {
2880
2869
  "kind": "method",
2881
- "name": "handleSubmit"
2882
- },
2883
- {
2884
- "kind": "method",
2885
- "name": "handleBlur"
2886
- },
2887
- {
2888
- "kind": "method",
2889
- "name": "clear"
2870
+ "name": "startPolling",
2871
+ "privacy": "private",
2872
+ "return": {
2873
+ "type": {
2874
+ "text": "void"
2875
+ }
2876
+ }
2890
2877
  },
2891
2878
  {
2892
2879
  "kind": "method",
2893
- "name": "toggleSpeechInput"
2880
+ "name": "stopPolling",
2881
+ "privacy": "private",
2882
+ "return": {
2883
+ "type": {
2884
+ "text": "void"
2885
+ }
2886
+ }
2894
2887
  },
2895
2888
  {
2896
2889
  "kind": "method",
2897
- "name": "clearSpeechApplyDebounce",
2898
- "privacy": "private"
2890
+ "name": "onInstall",
2891
+ "return": {
2892
+ "type": {
2893
+ "text": "Promise<void>"
2894
+ }
2895
+ }
2899
2896
  },
2900
2897
  {
2901
2898
  "kind": "field",
@@ -3009,520 +3006,296 @@
3009
3006
  }
3010
3007
  }
3011
3008
  ],
3012
- "events": [
3013
- {
3014
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3015
- "name": "criteria-changed"
3016
- },
3017
- {
3018
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3019
- "name": "validation-errors"
3020
- }
3021
- ],
3022
- "attributes": [
3023
- {
3024
- "name": "placeholder",
3025
- "type": {
3026
- "text": "string"
3027
- },
3028
- "default": "'Describe your search criteria in natural language...'",
3029
- "fieldName": "placeholder"
3030
- },
3031
- {
3032
- "type": {
3033
- "text": "boolean"
3034
- },
3035
- "fieldName": "disabled"
3036
- }
3037
- ],
3038
3009
  "superclass": {
3039
3010
  "name": "FoundationElement",
3040
3011
  "package": "@microsoft/fast-foundation"
3041
3012
  },
3042
- "tagName": "%%prefix%%-ai-criteria-search",
3013
+ "tagName": "%%prefix%%-ai-indicator",
3043
3014
  "customElement": true
3044
3015
  },
3045
3016
  {
3046
3017
  "kind": "variable",
3047
- "name": "foundationAiCriteriaSearchShadowOptions",
3048
- "type": {
3049
- "text": "ShadowRootInit"
3050
- },
3051
- "default": "undefined"
3052
- },
3053
- {
3054
- "kind": "variable",
3055
- "name": "defaultAiCriteriaSearchConfig",
3056
- "type": {
3057
- "text": "object"
3058
- },
3059
- "default": "{}"
3060
- },
3061
- {
3062
- "kind": "variable",
3063
- "name": "foundationAiCriteriaSearch"
3018
+ "name": "foundationAiIndicator"
3064
3019
  }
3065
3020
  ],
3066
3021
  "exports": [
3067
3022
  {
3068
3023
  "kind": "js",
3069
- "name": "AiCriteriaSearch",
3070
- "declaration": {
3071
- "name": "AiCriteriaSearch",
3072
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3073
- }
3074
- },
3075
- {
3076
- "kind": "js",
3077
- "name": "foundationAiCriteriaSearchShadowOptions",
3078
- "declaration": {
3079
- "name": "foundationAiCriteriaSearchShadowOptions",
3080
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3081
- }
3082
- },
3083
- {
3084
- "kind": "js",
3085
- "name": "defaultAiCriteriaSearchConfig",
3024
+ "name": "AiIndicator",
3086
3025
  "declaration": {
3087
- "name": "defaultAiCriteriaSearchConfig",
3088
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3026
+ "name": "AiIndicator",
3027
+ "module": "src/ai-indicator/ai-indicator.ts"
3089
3028
  }
3090
3029
  },
3091
3030
  {
3092
3031
  "kind": "js",
3093
- "name": "foundationAiCriteriaSearch",
3032
+ "name": "foundationAiIndicator",
3094
3033
  "declaration": {
3095
- "name": "foundationAiCriteriaSearch",
3096
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3034
+ "name": "foundationAiIndicator",
3035
+ "module": "src/ai-indicator/ai-indicator.ts"
3097
3036
  }
3098
3037
  }
3099
3038
  ]
3100
3039
  },
3101
3040
  {
3102
3041
  "kind": "javascript-module",
3103
- "path": "src/ai-criteria-search/index.ts",
3042
+ "path": "src/ai-indicator/index.ts",
3104
3043
  "declarations": [],
3105
3044
  "exports": [
3106
3045
  {
3107
3046
  "kind": "js",
3108
- "name": "AiCriteriaSearch",
3109
- "declaration": {
3110
- "name": "AiCriteriaSearch",
3111
- "module": "./ai-criteria-search"
3112
- }
3113
- },
3114
- {
3115
- "kind": "js",
3116
- "name": "defaultAiCriteriaSearchConfig",
3117
- "declaration": {
3118
- "name": "defaultAiCriteriaSearchConfig",
3119
- "module": "./ai-criteria-search"
3120
- }
3121
- },
3122
- {
3123
- "kind": "js",
3124
- "name": "foundationAiCriteriaSearch",
3125
- "declaration": {
3126
- "name": "foundationAiCriteriaSearch",
3127
- "module": "./ai-criteria-search"
3128
- }
3129
- },
3130
- {
3131
- "kind": "js",
3132
- "name": "foundationAiCriteriaSearchShadowOptions",
3133
- "declaration": {
3134
- "name": "foundationAiCriteriaSearchShadowOptions",
3135
- "module": "./ai-criteria-search"
3136
- }
3137
- },
3138
- {
3139
- "kind": "js",
3140
- "name": "foundationAiCriteriaSearchStyles",
3141
- "declaration": {
3142
- "name": "foundationAiCriteriaSearchStyles",
3143
- "module": "./ai-criteria-search.styles"
3144
- }
3145
- },
3146
- {
3147
- "kind": "js",
3148
- "name": "foundationAiCriteriaSearchTemplate",
3047
+ "name": "AiIndicator",
3149
3048
  "declaration": {
3150
- "name": "foundationAiCriteriaSearchTemplate",
3151
- "module": "./ai-criteria-search.template"
3049
+ "name": "AiIndicator",
3050
+ "module": "./ai-indicator"
3152
3051
  }
3153
3052
  },
3154
3053
  {
3155
3054
  "kind": "js",
3156
- "name": "*",
3055
+ "name": "foundationAiIndicator",
3157
3056
  "declaration": {
3158
- "name": "*",
3159
- "package": "./validation/criteria-ir"
3057
+ "name": "foundationAiIndicator",
3058
+ "module": "./ai-indicator"
3160
3059
  }
3161
3060
  },
3162
3061
  {
3163
3062
  "kind": "js",
3164
- "name": "*",
3063
+ "name": "type",
3165
3064
  "declaration": {
3166
- "name": "*",
3167
- "package": "./validation/operator-map"
3065
+ "name": "type",
3066
+ "module": "./ai-indicator"
3168
3067
  }
3169
3068
  },
3170
3069
  {
3171
3070
  "kind": "js",
3172
- "name": "*",
3071
+ "name": "AIIndicatorState",
3173
3072
  "declaration": {
3174
- "name": "*",
3175
- "package": "./validation/schema-validator"
3073
+ "name": "AIIndicatorState",
3074
+ "module": "./ai-indicator"
3176
3075
  }
3177
- }
3178
- ]
3179
- },
3180
- {
3181
- "kind": "javascript-module",
3182
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3183
- "declarations": [
3184
- {
3185
- "kind": "function",
3186
- "name": "formatValidationErrors",
3187
- "return": {
3188
- "type": {
3189
- "text": "string"
3190
- }
3191
- },
3192
- "parameters": [
3193
- {
3194
- "name": "errors",
3195
- "type": {
3196
- "text": "ValidationError[]"
3197
- }
3198
- }
3199
- ],
3200
- "description": "Formats validation errors into a user-friendly message."
3201
3076
  },
3202
- {
3203
- "kind": "function",
3204
- "name": "showCriteriaError",
3205
- "return": {
3206
- "type": {
3207
- "text": "void"
3208
- }
3209
- },
3210
- "parameters": [
3211
- {
3212
- "name": "title",
3213
- "type": {
3214
- "text": "string"
3215
- },
3216
- "description": "Notification title (e.g. \"Criteria validation error\")"
3217
- },
3218
- {
3219
- "name": "body",
3220
- "type": {
3221
- "text": "string"
3222
- },
3223
- "description": "Error message to display"
3224
- },
3225
- {
3226
- "name": "tagName",
3227
- "type": {
3228
- "text": "string"
3229
- },
3230
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3231
- }
3232
- ],
3233
- "description": "Shows a criteria error as a toast notification."
3234
- }
3235
- ],
3236
- "exports": [
3237
3077
  {
3238
3078
  "kind": "js",
3239
- "name": "formatValidationErrors",
3079
+ "name": "foundationAiIndicatorTemplate",
3240
3080
  "declaration": {
3241
- "name": "formatValidationErrors",
3242
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3081
+ "name": "foundationAiIndicatorTemplate",
3082
+ "module": "./ai-indicator.template"
3243
3083
  }
3244
3084
  },
3245
3085
  {
3246
3086
  "kind": "js",
3247
- "name": "showCriteriaError",
3087
+ "name": "foundationAiIndicatorStyles",
3248
3088
  "declaration": {
3249
- "name": "showCriteriaError",
3250
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3089
+ "name": "foundationAiIndicatorStyles",
3090
+ "module": "./ai-indicator.styles"
3251
3091
  }
3252
3092
  }
3253
3093
  ]
3254
3094
  },
3255
3095
  {
3256
3096
  "kind": "javascript-module",
3257
- "path": "src/accordion/accordion.styles.ts",
3097
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3258
3098
  "declarations": [
3259
3099
  {
3260
- "kind": "function",
3261
- "name": "foundationAccordionStyles",
3262
- "return": {
3263
- "type": {
3264
- "text": "ElementStyles"
3265
- }
3266
- },
3267
- "parameters": [
3268
- {
3269
- "name": "context",
3270
- "type": {
3271
- "text": "ElementDefinitionContext"
3272
- }
3273
- },
3274
- {
3275
- "name": "definition",
3276
- "type": {
3277
- "text": "FoundationElementDefinition"
3278
- }
3279
- }
3280
- ]
3100
+ "kind": "variable",
3101
+ "name": "foundationAiCriteriaSearchStyles",
3102
+ "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 .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
3281
3103
  }
3282
3104
  ],
3283
3105
  "exports": [
3284
3106
  {
3285
3107
  "kind": "js",
3286
- "name": "foundationAccordionStyles",
3108
+ "name": "foundationAiCriteriaSearchStyles",
3287
3109
  "declaration": {
3288
- "name": "foundationAccordionStyles",
3289
- "module": "src/accordion/accordion.styles.ts"
3110
+ "name": "foundationAiCriteriaSearchStyles",
3111
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3290
3112
  }
3291
3113
  }
3292
3114
  ]
3293
3115
  },
3294
3116
  {
3295
3117
  "kind": "javascript-module",
3296
- "path": "src/accordion/accordion.template.ts",
3118
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3297
3119
  "declarations": [
3298
3120
  {
3299
- "kind": "function",
3300
- "name": "foundationAccordionTemplate",
3301
- "return": {
3302
- "type": {
3303
- "text": "ViewTemplate<Accordion>"
3304
- }
3121
+ "kind": "variable",
3122
+ "name": "foundationAiCriteriaSearchTemplate",
3123
+ "type": {
3124
+ "text": "ViewTemplate<AiCriteriaSearch>"
3305
3125
  },
3306
- "parameters": [
3307
- {
3308
- "name": "context",
3309
- "type": {
3310
- "text": "ElementDefinitionContext"
3311
- }
3312
- },
3313
- {
3314
- "name": "definition",
3315
- "type": {
3316
- "text": "FoundationElementDefinition"
3317
- }
3318
- }
3319
- ]
3126
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3320
3127
  }
3321
3128
  ],
3322
3129
  "exports": [
3323
3130
  {
3324
3131
  "kind": "js",
3325
- "name": "foundationAccordionTemplate",
3132
+ "name": "foundationAiCriteriaSearchTemplate",
3326
3133
  "declaration": {
3327
- "name": "foundationAccordionTemplate",
3328
- "module": "src/accordion/accordion.template.ts"
3134
+ "name": "foundationAiCriteriaSearchTemplate",
3135
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3329
3136
  }
3330
3137
  }
3331
3138
  ]
3332
3139
  },
3333
3140
  {
3334
3141
  "kind": "javascript-module",
3335
- "path": "src/accordion/accordion.ts",
3142
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3336
3143
  "declarations": [
3337
3144
  {
3338
3145
  "kind": "class",
3339
- "description": "",
3340
- "name": "Accordion",
3341
- "superclass": {
3342
- "name": "FASTAccordion",
3343
- "package": "@microsoft/fast-foundation"
3344
- },
3345
- "tagName": "%%prefix%%-accordion",
3346
- "customElement": true,
3347
- "attributes": [
3146
+ "description": "Natural-language criteria search input with AI interpretation.",
3147
+ "name": "AiCriteriaSearch",
3148
+ "members": [
3348
3149
  {
3349
- "name": "expand-mode",
3150
+ "kind": "field",
3151
+ "name": "providerRegistry",
3350
3152
  "type": {
3351
- "text": "AccordionExpandMode"
3352
- },
3353
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3354
- "fieldName": "expandmode",
3355
- "inheritedFrom": {
3356
- "name": "Accordion",
3357
- "module": "src/accordion/accordion.ts"
3153
+ "text": "AIProviderRegistry"
3358
3154
  }
3359
- }
3360
- ],
3361
- "members": [
3155
+ },
3362
3156
  {
3363
3157
  "kind": "field",
3364
- "name": "expandmode",
3158
+ "name": "placeholder",
3365
3159
  "type": {
3366
- "text": "AccordionExpandMode"
3160
+ "text": "string"
3367
3161
  },
3368
- "privacy": "public",
3369
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3370
- "inheritedFrom": {
3371
- "name": "Accordion",
3372
- "module": "src/accordion/accordion.ts"
3162
+ "default": "'Describe your search criteria in natural language...'"
3163
+ },
3164
+ {
3165
+ "kind": "field",
3166
+ "name": "disabled",
3167
+ "type": {
3168
+ "text": "boolean"
3373
3169
  }
3374
3170
  },
3375
3171
  {
3376
3172
  "kind": "field",
3377
- "name": "activeid",
3173
+ "name": "inputValue",
3174
+ "type": {
3175
+ "text": "string"
3176
+ },
3177
+ "default": "''"
3178
+ },
3179
+ {
3180
+ "kind": "field",
3181
+ "name": "isInterpreting",
3182
+ "type": {
3183
+ "text": "boolean"
3184
+ },
3185
+ "default": "false"
3186
+ },
3187
+ {
3188
+ "kind": "field",
3189
+ "name": "lastValidCriteria",
3378
3190
  "type": {
3379
3191
  "text": "string | null"
3380
3192
  },
3381
- "privacy": "private",
3382
- "inheritedFrom": {
3383
- "name": "Accordion",
3384
- "module": "src/accordion/accordion.ts"
3385
- }
3193
+ "default": "null"
3386
3194
  },
3387
3195
  {
3388
3196
  "kind": "field",
3389
- "name": "activeItemIndex",
3197
+ "name": "activeGroups",
3390
3198
  "type": {
3391
- "text": "number"
3199
+ "text": "CriteriaGroup[]"
3392
3200
  },
3393
- "privacy": "private",
3394
- "default": "0",
3395
- "inheritedFrom": {
3396
- "name": "Accordion",
3397
- "module": "src/accordion/accordion.ts"
3398
- }
3201
+ "default": "[]"
3399
3202
  },
3400
3203
  {
3401
3204
  "kind": "field",
3402
- "name": "accordionIds",
3205
+ "name": "showingChips",
3403
3206
  "type": {
3404
- "text": "Array<string | null>"
3207
+ "text": "boolean"
3405
3208
  },
3406
- "privacy": "private",
3407
- "inheritedFrom": {
3408
- "name": "Accordion",
3409
- "module": "src/accordion/accordion.ts"
3410
- }
3209
+ "default": "false"
3411
3210
  },
3412
3211
  {
3413
3212
  "kind": "field",
3414
- "name": "change",
3415
- "privacy": "private",
3416
- "inheritedFrom": {
3417
- "name": "Accordion",
3418
- "module": "src/accordion/accordion.ts"
3419
- }
3213
+ "name": "fieldMetadata",
3214
+ "type": {
3215
+ "text": "MetadataDetail[] | string[]"
3216
+ },
3217
+ "default": "[]"
3218
+ },
3219
+ {
3220
+ "kind": "field",
3221
+ "name": "isRecording",
3222
+ "type": {
3223
+ "text": "boolean"
3224
+ },
3225
+ "default": "false"
3420
3226
  },
3421
3227
  {
3422
- "kind": "method",
3423
- "name": "findExpandedItem",
3424
- "privacy": "private",
3425
- "return": {
3426
- "type": {
3427
- "text": "AccordionItem | null"
3428
- }
3228
+ "kind": "field",
3229
+ "name": "textAreaRef",
3230
+ "type": {
3231
+ "text": "HTMLTextAreaElement"
3429
3232
  },
3430
- "inheritedFrom": {
3431
- "name": "Accordion",
3432
- "module": "src/accordion/accordion.ts"
3433
- }
3233
+ "privacy": "public"
3434
3234
  },
3435
3235
  {
3436
3236
  "kind": "field",
3437
- "name": "setItems",
3237
+ "name": "stopRecording",
3238
+ "type": {
3239
+ "text": "(() => void) | null"
3240
+ },
3438
3241
  "privacy": "private",
3439
- "inheritedFrom": {
3440
- "name": "Accordion",
3441
- "module": "src/accordion/accordion.ts"
3442
- }
3242
+ "default": "null"
3443
3243
  },
3444
3244
  {
3445
- "kind": "method",
3446
- "name": "resetItems",
3447
- "privacy": "private",
3448
- "return": {
3449
- "type": {
3450
- "text": "void"
3451
- }
3245
+ "kind": "field",
3246
+ "name": "speechApplyDebounceTimer",
3247
+ "type": {
3248
+ "text": "ReturnType<typeof setTimeout> | null"
3452
3249
  },
3453
- "inheritedFrom": {
3454
- "name": "Accordion",
3455
- "module": "src/accordion/accordion.ts"
3456
- }
3250
+ "privacy": "private",
3251
+ "default": "null"
3457
3252
  },
3458
3253
  {
3459
3254
  "kind": "field",
3460
- "name": "removeItemListeners",
3461
- "privacy": "private",
3462
- "inheritedFrom": {
3463
- "name": "Accordion",
3464
- "module": "src/accordion/accordion.ts"
3465
- }
3255
+ "name": "speechAvailable",
3256
+ "type": {
3257
+ "text": "boolean"
3258
+ },
3259
+ "readonly": true
3466
3260
  },
3467
3261
  {
3468
3262
  "kind": "field",
3469
- "name": "activeItemChange",
3470
- "privacy": "private",
3471
- "inheritedFrom": {
3472
- "name": "Accordion",
3473
- "module": "src/accordion/accordion.ts"
3474
- }
3263
+ "name": "criteriaChips",
3264
+ "type": {
3265
+ "text": "CriteriaChip[]"
3266
+ },
3267
+ "readonly": true
3475
3268
  },
3476
3269
  {
3477
3270
  "kind": "method",
3478
- "name": "getItemIds",
3271
+ "name": "getFieldLabel",
3479
3272
  "privacy": "private",
3480
3273
  "return": {
3481
3274
  "type": {
3482
- "text": "Array<string | null>"
3275
+ "text": "string"
3483
3276
  }
3484
3277
  },
3485
- "inheritedFrom": {
3486
- "name": "Accordion",
3487
- "module": "src/accordion/accordion.ts"
3488
- }
3278
+ "parameters": [
3279
+ {
3280
+ "name": "fieldName",
3281
+ "type": {
3282
+ "text": "string"
3283
+ }
3284
+ }
3285
+ ]
3489
3286
  },
3490
3287
  {
3491
3288
  "kind": "method",
3492
- "name": "isSingleExpandMode",
3493
- "privacy": "private",
3289
+ "name": "toggleCriteriaView",
3494
3290
  "return": {
3495
3291
  "type": {
3496
- "text": "boolean"
3292
+ "text": "void"
3497
3293
  }
3498
- },
3499
- "inheritedFrom": {
3500
- "name": "Accordion",
3501
- "module": "src/accordion/accordion.ts"
3502
- }
3503
- },
3504
- {
3505
- "kind": "field",
3506
- "name": "handleItemKeyDown",
3507
- "privacy": "private",
3508
- "inheritedFrom": {
3509
- "name": "Accordion",
3510
- "module": "src/accordion/accordion.ts"
3511
- }
3512
- },
3513
- {
3514
- "kind": "field",
3515
- "name": "handleItemFocus",
3516
- "privacy": "private",
3517
- "inheritedFrom": {
3518
- "name": "Accordion",
3519
- "module": "src/accordion/accordion.ts"
3520
3294
  }
3521
3295
  },
3522
3296
  {
3523
3297
  "kind": "method",
3524
- "name": "adjust",
3525
- "privacy": "private",
3298
+ "name": "removeChip",
3526
3299
  "return": {
3527
3300
  "type": {
3528
3301
  "text": "void"
@@ -3530,31 +3303,49 @@
3530
3303
  },
3531
3304
  "parameters": [
3532
3305
  {
3533
- "name": "adjustment",
3306
+ "name": "groupIndex",
3307
+ "type": {
3308
+ "text": "number"
3309
+ }
3310
+ },
3311
+ {
3312
+ "name": "clauseIndex",
3534
3313
  "type": {
3535
3314
  "text": "number"
3536
3315
  }
3537
3316
  }
3538
- ],
3539
- "inheritedFrom": {
3540
- "name": "Accordion",
3541
- "module": "src/accordion/accordion.ts"
3542
- }
3317
+ ]
3543
3318
  },
3544
3319
  {
3545
3320
  "kind": "method",
3546
- "name": "focusItem",
3547
- "privacy": "private",
3321
+ "name": "clearChips",
3548
3322
  "return": {
3549
3323
  "type": {
3550
3324
  "text": "void"
3551
3325
  }
3552
- },
3553
- "inheritedFrom": {
3554
- "name": "Accordion",
3555
- "module": "src/accordion/accordion.ts"
3556
3326
  }
3557
3327
  },
3328
+ {
3329
+ "kind": "method",
3330
+ "name": "handleSubmit"
3331
+ },
3332
+ {
3333
+ "kind": "method",
3334
+ "name": "handleBlur"
3335
+ },
3336
+ {
3337
+ "kind": "method",
3338
+ "name": "clear"
3339
+ },
3340
+ {
3341
+ "kind": "method",
3342
+ "name": "toggleSpeechInput"
3343
+ },
3344
+ {
3345
+ "kind": "method",
3346
+ "name": "clearSpeechApplyDebounce",
3347
+ "privacy": "private"
3348
+ },
3558
3349
  {
3559
3350
  "kind": "field",
3560
3351
  "name": "_presentation",
@@ -3669,84 +3460,152 @@
3669
3460
  ],
3670
3461
  "events": [
3671
3462
  {
3672
- "description": "Fires a custom 'change' event when the active item changes",
3673
- "name": "change",
3674
- "inheritedFrom": {
3675
- "name": "Accordion",
3676
- "module": "src/accordion/accordion.ts"
3677
- }
3463
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3464
+ "name": "criteria-changed"
3465
+ },
3466
+ {
3467
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3468
+ "name": "validation-errors"
3678
3469
  }
3679
- ]
3470
+ ],
3471
+ "attributes": [
3472
+ {
3473
+ "name": "placeholder",
3474
+ "type": {
3475
+ "text": "string"
3476
+ },
3477
+ "default": "'Describe your search criteria in natural language...'",
3478
+ "fieldName": "placeholder"
3479
+ },
3480
+ {
3481
+ "type": {
3482
+ "text": "boolean"
3483
+ },
3484
+ "fieldName": "disabled"
3485
+ }
3486
+ ],
3487
+ "superclass": {
3488
+ "name": "FoundationElement",
3489
+ "package": "@microsoft/fast-foundation"
3490
+ },
3491
+ "tagName": "%%prefix%%-ai-criteria-search",
3492
+ "customElement": true
3680
3493
  },
3681
3494
  {
3682
3495
  "kind": "variable",
3683
- "name": "foundationAccordionShadowOptions",
3496
+ "name": "foundationAiCriteriaSearchShadowOptions",
3684
3497
  "type": {
3685
3498
  "text": "ShadowRootInit"
3686
3499
  },
3687
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3500
+ "default": "undefined"
3501
+ },
3502
+ {
3503
+ "kind": "variable",
3504
+ "name": "defaultAiCriteriaSearchConfig",
3505
+ "type": {
3506
+ "text": "object"
3507
+ },
3508
+ "default": "{}"
3509
+ },
3510
+ {
3511
+ "kind": "variable",
3512
+ "name": "foundationAiCriteriaSearch"
3513
+ }
3514
+ ],
3515
+ "exports": [
3516
+ {
3517
+ "kind": "js",
3518
+ "name": "AiCriteriaSearch",
3519
+ "declaration": {
3520
+ "name": "AiCriteriaSearch",
3521
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3522
+ }
3523
+ },
3524
+ {
3525
+ "kind": "js",
3526
+ "name": "foundationAiCriteriaSearchShadowOptions",
3527
+ "declaration": {
3528
+ "name": "foundationAiCriteriaSearchShadowOptions",
3529
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3530
+ }
3531
+ },
3532
+ {
3533
+ "kind": "js",
3534
+ "name": "defaultAiCriteriaSearchConfig",
3535
+ "declaration": {
3536
+ "name": "defaultAiCriteriaSearchConfig",
3537
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3538
+ }
3539
+ },
3540
+ {
3541
+ "kind": "js",
3542
+ "name": "foundationAiCriteriaSearch",
3543
+ "declaration": {
3544
+ "name": "foundationAiCriteriaSearch",
3545
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3546
+ }
3547
+ }
3548
+ ]
3549
+ },
3550
+ {
3551
+ "kind": "javascript-module",
3552
+ "path": "src/ai-criteria-search/index.ts",
3553
+ "declarations": [],
3554
+ "exports": [
3555
+ {
3556
+ "kind": "js",
3557
+ "name": "AiCriteriaSearch",
3558
+ "declaration": {
3559
+ "name": "AiCriteriaSearch",
3560
+ "module": "./ai-criteria-search"
3561
+ }
3688
3562
  },
3689
3563
  {
3690
- "kind": "variable",
3691
- "name": "defaultAccordionConfig",
3692
- "type": {
3693
- "text": "object"
3694
- },
3695
- "default": "{}"
3564
+ "kind": "js",
3565
+ "name": "defaultAiCriteriaSearchConfig",
3566
+ "declaration": {
3567
+ "name": "defaultAiCriteriaSearchConfig",
3568
+ "module": "./ai-criteria-search"
3569
+ }
3696
3570
  },
3697
- {
3698
- "kind": "variable",
3699
- "name": "foundationAccordion",
3700
- "description": "The Foundation Accordion",
3701
- "privacy": "public"
3702
- }
3703
- ],
3704
- "exports": [
3705
3571
  {
3706
3572
  "kind": "js",
3707
- "name": "Accordion",
3573
+ "name": "foundationAiCriteriaSearch",
3708
3574
  "declaration": {
3709
- "name": "Accordion",
3710
- "module": "src/accordion/accordion.ts"
3575
+ "name": "foundationAiCriteriaSearch",
3576
+ "module": "./ai-criteria-search"
3711
3577
  }
3712
3578
  },
3713
3579
  {
3714
3580
  "kind": "js",
3715
- "name": "foundationAccordionShadowOptions",
3581
+ "name": "foundationAiCriteriaSearchShadowOptions",
3716
3582
  "declaration": {
3717
- "name": "foundationAccordionShadowOptions",
3718
- "module": "src/accordion/accordion.ts"
3583
+ "name": "foundationAiCriteriaSearchShadowOptions",
3584
+ "module": "./ai-criteria-search"
3719
3585
  }
3720
3586
  },
3721
3587
  {
3722
3588
  "kind": "js",
3723
- "name": "defaultAccordionConfig",
3589
+ "name": "foundationAiCriteriaSearchStyles",
3724
3590
  "declaration": {
3725
- "name": "defaultAccordionConfig",
3726
- "module": "src/accordion/accordion.ts"
3591
+ "name": "foundationAiCriteriaSearchStyles",
3592
+ "module": "./ai-criteria-search.styles"
3727
3593
  }
3728
3594
  },
3729
3595
  {
3730
3596
  "kind": "js",
3731
- "name": "foundationAccordion",
3597
+ "name": "foundationAiCriteriaSearchTemplate",
3732
3598
  "declaration": {
3733
- "name": "foundationAccordion",
3734
- "module": "src/accordion/accordion.ts"
3599
+ "name": "foundationAiCriteriaSearchTemplate",
3600
+ "module": "./ai-criteria-search.template"
3735
3601
  }
3736
- }
3737
- ]
3738
- },
3739
- {
3740
- "kind": "javascript-module",
3741
- "path": "src/accordion/index.ts",
3742
- "declarations": [],
3743
- "exports": [
3602
+ },
3744
3603
  {
3745
3604
  "kind": "js",
3746
3605
  "name": "*",
3747
3606
  "declaration": {
3748
3607
  "name": "*",
3749
- "package": "./accordion.template"
3608
+ "package": "./validation/criteria-ir"
3750
3609
  }
3751
3610
  },
3752
3611
  {
@@ -3754,7 +3613,7 @@
3754
3613
  "name": "*",
3755
3614
  "declaration": {
3756
3615
  "name": "*",
3757
- "package": "./accordion.styles"
3616
+ "package": "./validation/operator-map"
3758
3617
  }
3759
3618
  },
3760
3619
  {
@@ -3762,18 +3621,93 @@
3762
3621
  "name": "*",
3763
3622
  "declaration": {
3764
3623
  "name": "*",
3765
- "package": "./accordion"
3624
+ "package": "./validation/schema-validator"
3766
3625
  }
3767
3626
  }
3768
3627
  ]
3769
3628
  },
3770
3629
  {
3771
3630
  "kind": "javascript-module",
3772
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3631
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3773
3632
  "declarations": [
3774
3633
  {
3775
3634
  "kind": "function",
3776
- "name": "foundationAiIndicatorStyles",
3635
+ "name": "formatValidationErrors",
3636
+ "return": {
3637
+ "type": {
3638
+ "text": "string"
3639
+ }
3640
+ },
3641
+ "parameters": [
3642
+ {
3643
+ "name": "errors",
3644
+ "type": {
3645
+ "text": "ValidationError[]"
3646
+ }
3647
+ }
3648
+ ],
3649
+ "description": "Formats validation errors into a user-friendly message."
3650
+ },
3651
+ {
3652
+ "kind": "function",
3653
+ "name": "showCriteriaError",
3654
+ "return": {
3655
+ "type": {
3656
+ "text": "void"
3657
+ }
3658
+ },
3659
+ "parameters": [
3660
+ {
3661
+ "name": "title",
3662
+ "type": {
3663
+ "text": "string"
3664
+ },
3665
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3666
+ },
3667
+ {
3668
+ "name": "body",
3669
+ "type": {
3670
+ "text": "string"
3671
+ },
3672
+ "description": "Error message to display"
3673
+ },
3674
+ {
3675
+ "name": "tagName",
3676
+ "type": {
3677
+ "text": "string"
3678
+ },
3679
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3680
+ }
3681
+ ],
3682
+ "description": "Shows a criteria error as a toast notification."
3683
+ }
3684
+ ],
3685
+ "exports": [
3686
+ {
3687
+ "kind": "js",
3688
+ "name": "formatValidationErrors",
3689
+ "declaration": {
3690
+ "name": "formatValidationErrors",
3691
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3692
+ }
3693
+ },
3694
+ {
3695
+ "kind": "js",
3696
+ "name": "showCriteriaError",
3697
+ "declaration": {
3698
+ "name": "showCriteriaError",
3699
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3700
+ }
3701
+ }
3702
+ ]
3703
+ },
3704
+ {
3705
+ "kind": "javascript-module",
3706
+ "path": "src/accordion/accordion.styles.ts",
3707
+ "declarations": [
3708
+ {
3709
+ "kind": "function",
3710
+ "name": "foundationAccordionStyles",
3777
3711
  "return": {
3778
3712
  "type": {
3779
3713
  "text": "ElementStyles"
@@ -3798,224 +3732,276 @@
3798
3732
  "exports": [
3799
3733
  {
3800
3734
  "kind": "js",
3801
- "name": "foundationAiIndicatorStyles",
3735
+ "name": "foundationAccordionStyles",
3802
3736
  "declaration": {
3803
- "name": "foundationAiIndicatorStyles",
3804
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3737
+ "name": "foundationAccordionStyles",
3738
+ "module": "src/accordion/accordion.styles.ts"
3805
3739
  }
3806
3740
  }
3807
3741
  ]
3808
3742
  },
3809
3743
  {
3810
3744
  "kind": "javascript-module",
3811
- "path": "src/ai-indicator/ai-indicator.template.ts",
3745
+ "path": "src/accordion/accordion.template.ts",
3812
3746
  "declarations": [
3813
3747
  {
3814
- "kind": "variable",
3815
- "name": "foundationAiIndicatorTemplate",
3816
- "type": {
3817
- "text": "ViewTemplate<AiIndicator>"
3748
+ "kind": "function",
3749
+ "name": "foundationAccordionTemplate",
3750
+ "return": {
3751
+ "type": {
3752
+ "text": "ViewTemplate<Accordion>"
3753
+ }
3818
3754
  },
3819
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3755
+ "parameters": [
3756
+ {
3757
+ "name": "context",
3758
+ "type": {
3759
+ "text": "ElementDefinitionContext"
3760
+ }
3761
+ },
3762
+ {
3763
+ "name": "definition",
3764
+ "type": {
3765
+ "text": "FoundationElementDefinition"
3766
+ }
3767
+ }
3768
+ ]
3820
3769
  }
3821
3770
  ],
3822
3771
  "exports": [
3823
3772
  {
3824
3773
  "kind": "js",
3825
- "name": "foundationAiIndicatorTemplate",
3774
+ "name": "foundationAccordionTemplate",
3826
3775
  "declaration": {
3827
- "name": "foundationAiIndicatorTemplate",
3828
- "module": "src/ai-indicator/ai-indicator.template.ts"
3776
+ "name": "foundationAccordionTemplate",
3777
+ "module": "src/accordion/accordion.template.ts"
3829
3778
  }
3830
3779
  }
3831
3780
  ]
3832
3781
  },
3833
3782
  {
3834
3783
  "kind": "javascript-module",
3835
- "path": "src/ai-indicator/ai-indicator.ts",
3784
+ "path": "src/accordion/accordion.ts",
3836
3785
  "declarations": [
3837
3786
  {
3838
3787
  "kind": "class",
3839
3788
  "description": "",
3840
- "name": "AiIndicator",
3841
- "members": [
3842
- {
3843
- "kind": "field",
3844
- "name": "providerRegistry",
3845
- "type": {
3846
- "text": "AIProviderRegistry"
3847
- }
3848
- },
3849
- {
3850
- "kind": "field",
3851
- "name": "aiProvider",
3852
- "type": {
3853
- "text": "AIProvider | undefined"
3854
- },
3855
- "privacy": "private",
3856
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3857
- "readonly": true
3858
- },
3789
+ "name": "Accordion",
3790
+ "superclass": {
3791
+ "name": "FASTAccordion",
3792
+ "package": "@microsoft/fast-foundation"
3793
+ },
3794
+ "tagName": "%%prefix%%-accordion",
3795
+ "customElement": true,
3796
+ "attributes": [
3859
3797
  {
3860
- "kind": "field",
3861
- "name": "status",
3798
+ "name": "expand-mode",
3862
3799
  "type": {
3863
- "text": "AIStatus | null"
3800
+ "text": "AccordionExpandMode"
3864
3801
  },
3865
- "default": "null"
3866
- },
3802
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3803
+ "fieldName": "expandmode",
3804
+ "inheritedFrom": {
3805
+ "name": "Accordion",
3806
+ "module": "src/accordion/accordion.ts"
3807
+ }
3808
+ }
3809
+ ],
3810
+ "members": [
3867
3811
  {
3868
3812
  "kind": "field",
3869
- "name": "open",
3813
+ "name": "expandmode",
3870
3814
  "type": {
3871
- "text": "boolean"
3815
+ "text": "AccordionExpandMode"
3872
3816
  },
3873
- "default": "false"
3817
+ "privacy": "public",
3818
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3819
+ "inheritedFrom": {
3820
+ "name": "Accordion",
3821
+ "module": "src/accordion/accordion.ts"
3822
+ }
3874
3823
  },
3875
3824
  {
3876
3825
  "kind": "field",
3877
- "name": "state",
3826
+ "name": "activeid",
3878
3827
  "type": {
3879
- "text": "AIIndicatorState"
3828
+ "text": "string | null"
3880
3829
  },
3881
- "default": "'none'"
3830
+ "privacy": "private",
3831
+ "inheritedFrom": {
3832
+ "name": "Accordion",
3833
+ "module": "src/accordion/accordion.ts"
3834
+ }
3882
3835
  },
3883
3836
  {
3884
3837
  "kind": "field",
3885
- "name": "isInstalling",
3838
+ "name": "activeItemIndex",
3886
3839
  "type": {
3887
- "text": "boolean"
3840
+ "text": "number"
3888
3841
  },
3889
- "default": "false"
3842
+ "privacy": "private",
3843
+ "default": "0",
3844
+ "inheritedFrom": {
3845
+ "name": "Accordion",
3846
+ "module": "src/accordion/accordion.ts"
3847
+ }
3890
3848
  },
3891
3849
  {
3892
3850
  "kind": "field",
3893
- "name": "pollTimer",
3851
+ "name": "accordionIds",
3894
3852
  "type": {
3895
- "text": "ReturnType<typeof setInterval> | null"
3853
+ "text": "Array<string | null>"
3896
3854
  },
3897
3855
  "privacy": "private",
3898
- "default": "null"
3899
- },
3900
- {
3901
- "kind": "field",
3902
- "name": "clickOutside",
3903
- "privacy": "private"
3856
+ "inheritedFrom": {
3857
+ "name": "Accordion",
3858
+ "module": "src/accordion/accordion.ts"
3859
+ }
3904
3860
  },
3905
3861
  {
3906
3862
  "kind": "field",
3907
- "name": "chromeStatusLabel",
3908
- "type": {
3909
- "text": "string | null"
3910
- },
3911
- "readonly": true
3863
+ "name": "change",
3864
+ "privacy": "private",
3865
+ "inheritedFrom": {
3866
+ "name": "Accordion",
3867
+ "module": "src/accordion/accordion.ts"
3868
+ }
3912
3869
  },
3913
3870
  {
3914
- "kind": "field",
3915
- "name": "canInstall",
3916
- "type": {
3917
- "text": "boolean"
3871
+ "kind": "method",
3872
+ "name": "findExpandedItem",
3873
+ "privacy": "private",
3874
+ "return": {
3875
+ "type": {
3876
+ "text": "AccordionItem | null"
3877
+ }
3918
3878
  },
3919
- "readonly": true
3879
+ "inheritedFrom": {
3880
+ "name": "Accordion",
3881
+ "module": "src/accordion/accordion.ts"
3882
+ }
3920
3883
  },
3921
3884
  {
3922
3885
  "kind": "field",
3923
- "name": "isDownloading",
3924
- "type": {
3925
- "text": "boolean"
3926
- },
3927
- "readonly": true
3886
+ "name": "setItems",
3887
+ "privacy": "private",
3888
+ "inheritedFrom": {
3889
+ "name": "Accordion",
3890
+ "module": "src/accordion/accordion.ts"
3891
+ }
3928
3892
  },
3929
3893
  {
3930
3894
  "kind": "method",
3931
- "name": "openChanged",
3895
+ "name": "resetItems",
3896
+ "privacy": "private",
3932
3897
  "return": {
3933
3898
  "type": {
3934
3899
  "text": "void"
3935
3900
  }
3901
+ },
3902
+ "inheritedFrom": {
3903
+ "name": "Accordion",
3904
+ "module": "src/accordion/accordion.ts"
3936
3905
  }
3937
3906
  },
3938
3907
  {
3939
- "kind": "method",
3940
- "name": "handleClickOutside",
3908
+ "kind": "field",
3909
+ "name": "removeItemListeners",
3941
3910
  "privacy": "private",
3942
- "parameters": [
3943
- {
3944
- "name": "event",
3945
- "type": {
3946
- "text": "MouseEvent"
3947
- }
3948
- }
3949
- ]
3911
+ "inheritedFrom": {
3912
+ "name": "Accordion",
3913
+ "module": "src/accordion/accordion.ts"
3914
+ }
3950
3915
  },
3951
3916
  {
3952
- "kind": "method",
3953
- "name": "toggleDropdown"
3917
+ "kind": "field",
3918
+ "name": "activeItemChange",
3919
+ "privacy": "private",
3920
+ "inheritedFrom": {
3921
+ "name": "Accordion",
3922
+ "module": "src/accordion/accordion.ts"
3923
+ }
3954
3924
  },
3955
3925
  {
3956
3926
  "kind": "method",
3957
- "name": "refreshStatus",
3927
+ "name": "getItemIds",
3928
+ "privacy": "private",
3958
3929
  "return": {
3959
3930
  "type": {
3960
- "text": "Promise<void>"
3931
+ "text": "Array<string | null>"
3961
3932
  }
3933
+ },
3934
+ "inheritedFrom": {
3935
+ "name": "Accordion",
3936
+ "module": "src/accordion/accordion.ts"
3962
3937
  }
3963
3938
  },
3964
3939
  {
3965
3940
  "kind": "method",
3966
- "name": "deriveState",
3941
+ "name": "isSingleExpandMode",
3967
3942
  "privacy": "private",
3968
3943
  "return": {
3969
3944
  "type": {
3970
- "text": "AIIndicatorState"
3945
+ "text": "boolean"
3971
3946
  }
3972
3947
  },
3973
- "parameters": [
3974
- {
3975
- "name": "s",
3976
- "type": {
3977
- "text": "AIStatus | null"
3978
- }
3979
- }
3980
- ]
3948
+ "inheritedFrom": {
3949
+ "name": "Accordion",
3950
+ "module": "src/accordion/accordion.ts"
3951
+ }
3981
3952
  },
3982
3953
  {
3983
- "kind": "method",
3984
- "name": "maybeStartPolling",
3954
+ "kind": "field",
3955
+ "name": "handleItemKeyDown",
3985
3956
  "privacy": "private",
3986
- "return": {
3987
- "type": {
3988
- "text": "void"
3989
- }
3957
+ "inheritedFrom": {
3958
+ "name": "Accordion",
3959
+ "module": "src/accordion/accordion.ts"
3990
3960
  }
3991
3961
  },
3992
3962
  {
3993
- "kind": "method",
3994
- "name": "startPolling",
3963
+ "kind": "field",
3964
+ "name": "handleItemFocus",
3995
3965
  "privacy": "private",
3996
- "return": {
3997
- "type": {
3998
- "text": "void"
3999
- }
3966
+ "inheritedFrom": {
3967
+ "name": "Accordion",
3968
+ "module": "src/accordion/accordion.ts"
4000
3969
  }
4001
3970
  },
4002
3971
  {
4003
3972
  "kind": "method",
4004
- "name": "stopPolling",
3973
+ "name": "adjust",
4005
3974
  "privacy": "private",
4006
3975
  "return": {
4007
3976
  "type": {
4008
3977
  "text": "void"
4009
3978
  }
3979
+ },
3980
+ "parameters": [
3981
+ {
3982
+ "name": "adjustment",
3983
+ "type": {
3984
+ "text": "number"
3985
+ }
3986
+ }
3987
+ ],
3988
+ "inheritedFrom": {
3989
+ "name": "Accordion",
3990
+ "module": "src/accordion/accordion.ts"
4010
3991
  }
4011
3992
  },
4012
3993
  {
4013
3994
  "kind": "method",
4014
- "name": "onInstall",
3995
+ "name": "focusItem",
3996
+ "privacy": "private",
4015
3997
  "return": {
4016
3998
  "type": {
4017
- "text": "Promise<void>"
3999
+ "text": "void"
4018
4000
  }
4001
+ },
4002
+ "inheritedFrom": {
4003
+ "name": "Accordion",
4004
+ "module": "src/accordion/accordion.ts"
4019
4005
  }
4020
4006
  },
4021
4007
  {
@@ -4130,88 +4116,102 @@
4130
4116
  }
4131
4117
  }
4132
4118
  ],
4133
- "superclass": {
4134
- "name": "FoundationElement",
4135
- "package": "@microsoft/fast-foundation"
4119
+ "events": [
4120
+ {
4121
+ "description": "Fires a custom 'change' event when the active item changes",
4122
+ "name": "change",
4123
+ "inheritedFrom": {
4124
+ "name": "Accordion",
4125
+ "module": "src/accordion/accordion.ts"
4126
+ }
4127
+ }
4128
+ ]
4129
+ },
4130
+ {
4131
+ "kind": "variable",
4132
+ "name": "foundationAccordionShadowOptions",
4133
+ "type": {
4134
+ "text": "ShadowRootInit"
4136
4135
  },
4137
- "tagName": "%%prefix%%-ai-indicator",
4138
- "customElement": true
4136
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4139
4137
  },
4140
4138
  {
4141
4139
  "kind": "variable",
4142
- "name": "foundationAiIndicator"
4140
+ "name": "defaultAccordionConfig",
4141
+ "type": {
4142
+ "text": "object"
4143
+ },
4144
+ "default": "{}"
4145
+ },
4146
+ {
4147
+ "kind": "variable",
4148
+ "name": "foundationAccordion",
4149
+ "description": "The Foundation Accordion",
4150
+ "privacy": "public"
4143
4151
  }
4144
4152
  ],
4145
4153
  "exports": [
4146
4154
  {
4147
4155
  "kind": "js",
4148
- "name": "AiIndicator",
4156
+ "name": "Accordion",
4149
4157
  "declaration": {
4150
- "name": "AiIndicator",
4151
- "module": "src/ai-indicator/ai-indicator.ts"
4158
+ "name": "Accordion",
4159
+ "module": "src/accordion/accordion.ts"
4152
4160
  }
4153
4161
  },
4154
4162
  {
4155
4163
  "kind": "js",
4156
- "name": "foundationAiIndicator",
4157
- "declaration": {
4158
- "name": "foundationAiIndicator",
4159
- "module": "src/ai-indicator/ai-indicator.ts"
4160
- }
4161
- }
4162
- ]
4163
- },
4164
- {
4165
- "kind": "javascript-module",
4166
- "path": "src/ai-indicator/index.ts",
4167
- "declarations": [],
4168
- "exports": [
4169
- {
4170
- "kind": "js",
4171
- "name": "AiIndicator",
4164
+ "name": "foundationAccordionShadowOptions",
4172
4165
  "declaration": {
4173
- "name": "AiIndicator",
4174
- "module": "./ai-indicator"
4166
+ "name": "foundationAccordionShadowOptions",
4167
+ "module": "src/accordion/accordion.ts"
4175
4168
  }
4176
4169
  },
4177
4170
  {
4178
4171
  "kind": "js",
4179
- "name": "foundationAiIndicator",
4172
+ "name": "defaultAccordionConfig",
4180
4173
  "declaration": {
4181
- "name": "foundationAiIndicator",
4182
- "module": "./ai-indicator"
4174
+ "name": "defaultAccordionConfig",
4175
+ "module": "src/accordion/accordion.ts"
4183
4176
  }
4184
4177
  },
4185
4178
  {
4186
4179
  "kind": "js",
4187
- "name": "type",
4180
+ "name": "foundationAccordion",
4188
4181
  "declaration": {
4189
- "name": "type",
4190
- "module": "./ai-indicator"
4182
+ "name": "foundationAccordion",
4183
+ "module": "src/accordion/accordion.ts"
4191
4184
  }
4192
- },
4185
+ }
4186
+ ]
4187
+ },
4188
+ {
4189
+ "kind": "javascript-module",
4190
+ "path": "src/accordion/index.ts",
4191
+ "declarations": [],
4192
+ "exports": [
4193
4193
  {
4194
4194
  "kind": "js",
4195
- "name": "AIIndicatorState",
4195
+ "name": "*",
4196
4196
  "declaration": {
4197
- "name": "AIIndicatorState",
4198
- "module": "./ai-indicator"
4197
+ "name": "*",
4198
+ "package": "./accordion.template"
4199
4199
  }
4200
4200
  },
4201
4201
  {
4202
4202
  "kind": "js",
4203
- "name": "foundationAiIndicatorTemplate",
4203
+ "name": "*",
4204
4204
  "declaration": {
4205
- "name": "foundationAiIndicatorTemplate",
4206
- "module": "./ai-indicator.template"
4205
+ "name": "*",
4206
+ "package": "./accordion.styles"
4207
4207
  }
4208
4208
  },
4209
4209
  {
4210
4210
  "kind": "js",
4211
- "name": "foundationAiIndicatorStyles",
4211
+ "name": "*",
4212
4212
  "declaration": {
4213
- "name": "foundationAiIndicatorStyles",
4214
- "module": "./ai-indicator.styles"
4213
+ "name": "*",
4214
+ "package": "./accordion"
4215
4215
  }
4216
4216
  }
4217
4217
  ]