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