@genesislcap/foundation-ui 15.57.0 → 15.58.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1495,42 +1495,34 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
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
- },
1498
+ "path": "src/actions-menu/actions-menu.styles.ts",
1499
+ "declarations": [
1509
1500
  {
1510
- "kind": "js",
1511
- "name": "*",
1512
- "declaration": {
1513
- "name": "*",
1514
- "package": "./tokens"
1515
- }
1501
+ "kind": "function",
1502
+ "name": "actionsMenuBaseStyles",
1503
+ "return": {
1504
+ "type": {
1505
+ "text": "ElementStyles"
1506
+ }
1507
+ },
1508
+ "parameters": [
1509
+ {
1510
+ "name": "context",
1511
+ "type": {
1512
+ "text": "ElementDefinitionContext"
1513
+ }
1514
+ },
1515
+ {
1516
+ "name": "definition",
1517
+ "type": {
1518
+ "text": "FoundationElementDefinition"
1519
+ }
1520
+ }
1521
+ ]
1516
1522
  },
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/accordion/accordion.styles.ts",
1530
- "declarations": [
1531
1523
  {
1532
1524
  "kind": "function",
1533
- "name": "foundationAccordionStyles",
1525
+ "name": "foundationActionsMenuStyles",
1534
1526
  "return": {
1535
1527
  "type": {
1536
1528
  "text": "ElementStyles"
@@ -1555,277 +1547,281 @@
1555
1547
  "exports": [
1556
1548
  {
1557
1549
  "kind": "js",
1558
- "name": "foundationAccordionStyles",
1550
+ "name": "actionsMenuBaseStyles",
1559
1551
  "declaration": {
1560
- "name": "foundationAccordionStyles",
1561
- "module": "src/accordion/accordion.styles.ts"
1552
+ "name": "actionsMenuBaseStyles",
1553
+ "module": "src/actions-menu/actions-menu.styles.ts"
1554
+ }
1555
+ },
1556
+ {
1557
+ "kind": "js",
1558
+ "name": "foundationActionsMenuStyles",
1559
+ "declaration": {
1560
+ "name": "foundationActionsMenuStyles",
1561
+ "module": "src/actions-menu/actions-menu.styles.ts"
1562
1562
  }
1563
1563
  }
1564
1564
  ]
1565
1565
  },
1566
1566
  {
1567
1567
  "kind": "javascript-module",
1568
- "path": "src/accordion/accordion.template.ts",
1568
+ "path": "src/actions-menu/actions-menu.template.ts",
1569
1569
  "declarations": [
1570
1570
  {
1571
1571
  "kind": "function",
1572
- "name": "foundationAccordionTemplate",
1573
- "return": {
1574
- "type": {
1575
- "text": "ViewTemplate<Accordion>"
1576
- }
1577
- },
1572
+ "name": "menuTemplate",
1578
1573
  "parameters": [
1579
1574
  {
1580
- "name": "context",
1575
+ "name": "prefix",
1581
1576
  "type": {
1582
- "text": "ElementDefinitionContext"
1577
+ "text": "string"
1583
1578
  }
1584
- },
1579
+ }
1580
+ ]
1581
+ },
1582
+ {
1583
+ "kind": "function",
1584
+ "name": "singleOptionTemplate",
1585
+ "parameters": [
1585
1586
  {
1586
- "name": "definition",
1587
+ "name": "prefix",
1587
1588
  "type": {
1588
- "text": "FoundationElementDefinition"
1589
+ "text": "string"
1589
1590
  }
1590
1591
  }
1591
1592
  ]
1593
+ },
1594
+ {
1595
+ "kind": "variable",
1596
+ "name": "foundationActionsMenuTemplate",
1597
+ "type": {
1598
+ "text": "ViewTemplate<ActionsMenu>"
1599
+ },
1600
+ "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`"
1592
1601
  }
1593
1602
  ],
1594
1603
  "exports": [
1595
1604
  {
1596
1605
  "kind": "js",
1597
- "name": "foundationAccordionTemplate",
1606
+ "name": "menuTemplate",
1598
1607
  "declaration": {
1599
- "name": "foundationAccordionTemplate",
1600
- "module": "src/accordion/accordion.template.ts"
1608
+ "name": "menuTemplate",
1609
+ "module": "src/actions-menu/actions-menu.template.ts"
1610
+ }
1611
+ },
1612
+ {
1613
+ "kind": "js",
1614
+ "name": "singleOptionTemplate",
1615
+ "declaration": {
1616
+ "name": "singleOptionTemplate",
1617
+ "module": "src/actions-menu/actions-menu.template.ts"
1618
+ }
1619
+ },
1620
+ {
1621
+ "kind": "js",
1622
+ "name": "foundationActionsMenuTemplate",
1623
+ "declaration": {
1624
+ "name": "foundationActionsMenuTemplate",
1625
+ "module": "src/actions-menu/actions-menu.template.ts"
1601
1626
  }
1602
1627
  }
1603
1628
  ]
1604
1629
  },
1605
1630
  {
1606
1631
  "kind": "javascript-module",
1607
- "path": "src/accordion/accordion.ts",
1632
+ "path": "src/actions-menu/actions-menu.ts",
1608
1633
  "declarations": [
1609
1634
  {
1610
1635
  "kind": "class",
1611
1636
  "description": "",
1612
- "name": "Accordion",
1613
- "superclass": {
1614
- "name": "FASTAccordion",
1615
- "package": "@microsoft/fast-foundation"
1616
- },
1617
- "tagName": "%%prefix%%-accordion",
1618
- "customElement": true,
1619
- "attributes": [
1637
+ "name": "ActionsMenu",
1638
+ "members": [
1620
1639
  {
1621
- "name": "expand-mode",
1640
+ "kind": "field",
1641
+ "name": "actions",
1622
1642
  "type": {
1623
- "text": "AccordionExpandMode"
1624
- },
1625
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1626
- "fieldName": "expandmode",
1627
- "inheritedFrom": {
1628
- "name": "Accordion",
1629
- "module": "src/accordion/accordion.ts"
1643
+ "text": "ActionMenuItem[]"
1630
1644
  }
1631
- }
1632
- ],
1633
- "members": [
1645
+ },
1634
1646
  {
1635
1647
  "kind": "field",
1636
- "name": "expandmode",
1648
+ "name": "isVertical",
1637
1649
  "type": {
1638
- "text": "AccordionExpandMode"
1650
+ "text": "boolean"
1639
1651
  },
1640
- "privacy": "public",
1641
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1642
- "inheritedFrom": {
1643
- "name": "Accordion",
1644
- "module": "src/accordion/accordion.ts"
1645
- }
1652
+ "default": "false"
1646
1653
  },
1647
1654
  {
1648
1655
  "kind": "field",
1649
- "name": "activeid",
1656
+ "name": "addDefaultActions",
1650
1657
  "type": {
1651
- "text": "string | null"
1658
+ "text": "boolean"
1652
1659
  },
1653
- "privacy": "private",
1654
- "inheritedFrom": {
1655
- "name": "Accordion",
1656
- "module": "src/accordion/accordion.ts"
1657
- }
1660
+ "default": "true"
1658
1661
  },
1659
1662
  {
1660
1663
  "kind": "field",
1661
- "name": "activeItemIndex",
1664
+ "name": "autoCloseOnAction",
1662
1665
  "type": {
1663
- "text": "number"
1666
+ "text": "boolean"
1664
1667
  },
1665
- "privacy": "private",
1666
- "default": "0",
1667
- "inheritedFrom": {
1668
- "name": "Accordion",
1669
- "module": "src/accordion/accordion.ts"
1670
- }
1668
+ "default": "true"
1671
1669
  },
1672
1670
  {
1673
1671
  "kind": "field",
1674
- "name": "accordionIds",
1672
+ "name": "classNames",
1675
1673
  "type": {
1676
- "text": "Array<string | null>"
1677
- },
1678
- "privacy": "private",
1679
- "inheritedFrom": {
1680
- "name": "Accordion",
1681
- "module": "src/accordion/accordion.ts"
1674
+ "text": "string"
1682
1675
  }
1683
1676
  },
1684
1677
  {
1685
1678
  "kind": "field",
1686
- "name": "change",
1687
- "privacy": "private",
1688
- "inheritedFrom": {
1689
- "name": "Accordion",
1690
- "module": "src/accordion/accordion.ts"
1679
+ "name": "definition",
1680
+ "type": {
1681
+ "text": "any"
1691
1682
  }
1692
1683
  },
1693
1684
  {
1694
- "kind": "method",
1695
- "name": "findExpandedItem",
1696
- "privacy": "private",
1697
- "return": {
1698
- "type": {
1699
- "text": "AccordionItem | null"
1700
- }
1685
+ "kind": "field",
1686
+ "name": "name",
1687
+ "type": {
1688
+ "text": "string"
1701
1689
  },
1702
- "inheritedFrom": {
1703
- "name": "Accordion",
1704
- "module": "src/accordion/accordion.ts"
1705
- }
1690
+ "default": "'Actions'"
1706
1691
  },
1707
1692
  {
1708
1693
  "kind": "field",
1709
- "name": "setItems",
1710
- "privacy": "private",
1711
- "inheritedFrom": {
1712
- "name": "Accordion",
1713
- "module": "src/accordion/accordion.ts"
1694
+ "name": "open",
1695
+ "type": {
1696
+ "text": "boolean"
1697
+ },
1698
+ "default": "false"
1699
+ },
1700
+ {
1701
+ "kind": "field",
1702
+ "name": "buttonAppearance",
1703
+ "type": {
1704
+ "text": "string"
1714
1705
  }
1715
1706
  },
1716
1707
  {
1717
- "kind": "method",
1718
- "name": "resetItems",
1719
- "privacy": "private",
1720
- "return": {
1721
- "type": {
1722
- "text": "void"
1723
- }
1708
+ "kind": "field",
1709
+ "name": "hideDisabled",
1710
+ "type": {
1711
+ "text": "boolean"
1724
1712
  },
1725
- "inheritedFrom": {
1726
- "name": "Accordion",
1727
- "module": "src/accordion/accordion.ts"
1713
+ "default": "false"
1714
+ },
1715
+ {
1716
+ "kind": "field",
1717
+ "name": "hideMenuSingleOption",
1718
+ "type": {
1719
+ "text": "boolean"
1720
+ },
1721
+ "default": "false"
1722
+ },
1723
+ {
1724
+ "kind": "field",
1725
+ "name": "singleOption",
1726
+ "type": {
1727
+ "text": "ActionMenuItem"
1728
1728
  }
1729
1729
  },
1730
1730
  {
1731
1731
  "kind": "field",
1732
- "name": "removeItemListeners",
1733
- "privacy": "private",
1734
- "inheritedFrom": {
1735
- "name": "Accordion",
1736
- "module": "src/accordion/accordion.ts"
1732
+ "name": "actionsMenu",
1733
+ "type": {
1734
+ "text": "HTMLElement"
1737
1735
  }
1738
1736
  },
1739
1737
  {
1740
1738
  "kind": "field",
1741
- "name": "activeItemChange",
1742
- "privacy": "private",
1743
- "inheritedFrom": {
1744
- "name": "Accordion",
1745
- "module": "src/accordion/accordion.ts"
1739
+ "name": "actionsOpener",
1740
+ "type": {
1741
+ "text": "HTMLElement"
1746
1742
  }
1747
1743
  },
1748
1744
  {
1749
1745
  "kind": "method",
1750
- "name": "getItemIds",
1751
- "privacy": "private",
1752
- "return": {
1753
- "type": {
1754
- "text": "Array<string | null>"
1746
+ "name": "updateMenuPosition",
1747
+ "privacy": "private"
1748
+ },
1749
+ {
1750
+ "kind": "method",
1751
+ "name": "definitionChanged",
1752
+ "privacy": "protected",
1753
+ "parameters": [
1754
+ {
1755
+ "name": "oldValue",
1756
+ "type": {
1757
+ "text": "any"
1758
+ }
1759
+ },
1760
+ {
1761
+ "name": "newValue",
1762
+ "type": {
1763
+ "text": "any"
1764
+ }
1755
1765
  }
1756
- },
1757
- "inheritedFrom": {
1758
- "name": "Accordion",
1759
- "module": "src/accordion/accordion.ts"
1760
- }
1766
+ ]
1761
1767
  },
1762
1768
  {
1763
1769
  "kind": "method",
1764
- "name": "isSingleExpandMode",
1765
- "privacy": "private",
1766
- "return": {
1767
- "type": {
1768
- "text": "boolean"
1770
+ "name": "openChanged",
1771
+ "privacy": "protected"
1772
+ },
1773
+ {
1774
+ "kind": "method",
1775
+ "name": "toggleActionsMenuVisibility"
1776
+ },
1777
+ {
1778
+ "kind": "method",
1779
+ "name": "onActionMenuItemClick",
1780
+ "parameters": [
1781
+ {
1782
+ "name": "callback",
1783
+ "type": {
1784
+ "text": "(rowData) => void | any"
1785
+ }
1769
1786
  }
1770
- },
1771
- "inheritedFrom": {
1772
- "name": "Accordion",
1773
- "module": "src/accordion/accordion.ts"
1774
- }
1787
+ ]
1775
1788
  },
1776
1789
  {
1777
1790
  "kind": "field",
1778
- "name": "handleItemKeyDown",
1779
- "privacy": "private",
1780
- "inheritedFrom": {
1781
- "name": "Accordion",
1782
- "module": "src/accordion/accordion.ts"
1783
- }
1791
+ "name": "allActions",
1792
+ "type": {
1793
+ "text": "ActionMenuItem[]"
1794
+ },
1795
+ "readonly": true
1784
1796
  },
1785
1797
  {
1786
1798
  "kind": "field",
1787
- "name": "handleItemFocus",
1788
- "privacy": "private",
1789
- "inheritedFrom": {
1790
- "name": "Accordion",
1791
- "module": "src/accordion/accordion.ts"
1792
- }
1799
+ "name": "rowData",
1800
+ "readonly": true
1793
1801
  },
1794
1802
  {
1795
1803
  "kind": "method",
1796
- "name": "adjust",
1797
- "privacy": "private",
1798
- "return": {
1799
- "type": {
1800
- "text": "void"
1801
- }
1802
- },
1804
+ "name": "getLabel",
1803
1805
  "parameters": [
1804
1806
  {
1805
- "name": "adjustment",
1807
+ "name": "name",
1806
1808
  "type": {
1807
- "text": "number"
1809
+ "text": "string | ((rowData: any) => string)"
1808
1810
  }
1809
1811
  }
1810
- ],
1811
- "inheritedFrom": {
1812
- "name": "Accordion",
1813
- "module": "src/accordion/accordion.ts"
1814
- }
1812
+ ]
1815
1813
  },
1816
1814
  {
1817
1815
  "kind": "method",
1818
- "name": "focusItem",
1819
- "privacy": "private",
1820
- "return": {
1821
- "type": {
1822
- "text": "void"
1816
+ "name": "getTemplate",
1817
+ "parameters": [
1818
+ {
1819
+ "name": "prefix",
1820
+ "type": {
1821
+ "text": "string"
1822
+ }
1823
1823
  }
1824
- },
1825
- "inheritedFrom": {
1826
- "name": "Accordion",
1827
- "module": "src/accordion/accordion.ts"
1828
- }
1824
+ ]
1829
1825
  },
1830
1826
  {
1831
1827
  "kind": "field",
@@ -1917,100 +1913,160 @@
1917
1913
  "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1918
1914
  }
1919
1915
  },
1920
- "parameters": [
1921
- {
1922
- "name": "this",
1923
- "type": {
1924
- "text": "K"
1925
- }
1926
- },
1927
- {
1928
- "name": "elementDefinition",
1929
- "type": {
1930
- "text": "T"
1931
- },
1932
- "description": "The definition of the element to create the registry\nfunction for."
1933
- }
1934
- ],
1935
- "description": "Defines an element registry function with a set of element definition defaults.",
1936
- "inheritedFrom": {
1937
- "name": "FoundationElement",
1938
- "module": "src/foundation-element/foundation-element.ts"
1939
- }
1916
+ "parameters": [
1917
+ {
1918
+ "name": "this",
1919
+ "type": {
1920
+ "text": "K"
1921
+ }
1922
+ },
1923
+ {
1924
+ "name": "elementDefinition",
1925
+ "type": {
1926
+ "text": "T"
1927
+ },
1928
+ "description": "The definition of the element to create the registry\nfunction for."
1929
+ }
1930
+ ],
1931
+ "description": "Defines an element registry function with a set of element definition defaults.",
1932
+ "inheritedFrom": {
1933
+ "name": "FoundationElement",
1934
+ "module": "src/foundation-element/foundation-element.ts"
1935
+ }
1936
+ }
1937
+ ],
1938
+ "attributes": [
1939
+ {
1940
+ "name": "is-vertical",
1941
+ "type": {
1942
+ "text": "boolean"
1943
+ },
1944
+ "default": "false",
1945
+ "fieldName": "isVertical"
1946
+ },
1947
+ {
1948
+ "name": "add-default-actions",
1949
+ "type": {
1950
+ "text": "boolean"
1951
+ },
1952
+ "default": "true",
1953
+ "fieldName": "addDefaultActions"
1954
+ },
1955
+ {
1956
+ "name": "auto-close-on-action",
1957
+ "type": {
1958
+ "text": "boolean"
1959
+ },
1960
+ "default": "true",
1961
+ "fieldName": "autoCloseOnAction"
1962
+ },
1963
+ {
1964
+ "name": "name",
1965
+ "type": {
1966
+ "text": "string"
1967
+ },
1968
+ "default": "'Actions'",
1969
+ "fieldName": "name"
1970
+ },
1971
+ {
1972
+ "name": "open",
1973
+ "type": {
1974
+ "text": "boolean"
1975
+ },
1976
+ "default": "false",
1977
+ "fieldName": "open"
1978
+ },
1979
+ {
1980
+ "name": "buttonAppearance",
1981
+ "type": {
1982
+ "text": "string"
1983
+ },
1984
+ "fieldName": "buttonAppearance"
1985
+ },
1986
+ {
1987
+ "name": "hide-disabled",
1988
+ "type": {
1989
+ "text": "boolean"
1990
+ },
1991
+ "default": "false",
1992
+ "fieldName": "hideDisabled"
1993
+ },
1994
+ {
1995
+ "name": "hide-menu-single-option",
1996
+ "type": {
1997
+ "text": "boolean"
1998
+ },
1999
+ "default": "false",
2000
+ "fieldName": "hideMenuSingleOption"
1940
2001
  }
1941
2002
  ],
1942
- "events": [
1943
- {
1944
- "description": "Fires a custom 'change' event when the active item changes",
1945
- "name": "change",
1946
- "inheritedFrom": {
1947
- "name": "Accordion",
1948
- "module": "src/accordion/accordion.ts"
1949
- }
1950
- }
1951
- ]
1952
- },
1953
- {
1954
- "kind": "variable",
1955
- "name": "foundationAccordionShadowOptions",
1956
- "type": {
1957
- "text": "ShadowRootInit"
1958
- },
1959
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1960
- },
1961
- {
1962
- "kind": "variable",
1963
- "name": "defaultAccordionConfig",
1964
- "type": {
1965
- "text": "object"
2003
+ "superclass": {
2004
+ "name": "FoundationElement",
2005
+ "package": "@microsoft/fast-foundation"
1966
2006
  },
1967
- "default": "{}"
2007
+ "tagName": "%%prefix%%-actions-menu",
2008
+ "customElement": true
1968
2009
  },
1969
2010
  {
1970
2011
  "kind": "variable",
1971
- "name": "foundationAccordion",
1972
- "description": "The Foundation Accordion",
2012
+ "name": "foundationActionsMenu",
2013
+ "description": "The Foundation Actions Menu",
1973
2014
  "privacy": "public"
1974
2015
  }
1975
2016
  ],
1976
2017
  "exports": [
1977
2018
  {
1978
2019
  "kind": "js",
1979
- "name": "Accordion",
2020
+ "name": "ActionsMenu",
1980
2021
  "declaration": {
1981
- "name": "Accordion",
1982
- "module": "src/accordion/accordion.ts"
2022
+ "name": "ActionsMenu",
2023
+ "module": "src/actions-menu/actions-menu.ts"
1983
2024
  }
1984
2025
  },
1985
2026
  {
1986
2027
  "kind": "js",
1987
- "name": "foundationAccordionShadowOptions",
2028
+ "name": "foundationActionsMenu",
1988
2029
  "declaration": {
1989
- "name": "foundationAccordionShadowOptions",
1990
- "module": "src/accordion/accordion.ts"
2030
+ "name": "foundationActionsMenu",
2031
+ "module": "src/actions-menu/actions-menu.ts"
2032
+ }
2033
+ }
2034
+ ]
2035
+ },
2036
+ {
2037
+ "kind": "javascript-module",
2038
+ "path": "src/actions-menu/index.ts",
2039
+ "declarations": [],
2040
+ "exports": [
2041
+ {
2042
+ "kind": "js",
2043
+ "name": "*",
2044
+ "declaration": {
2045
+ "name": "*",
2046
+ "package": "./actions-menu.styles"
1991
2047
  }
1992
2048
  },
1993
2049
  {
1994
2050
  "kind": "js",
1995
- "name": "defaultAccordionConfig",
2051
+ "name": "*",
1996
2052
  "declaration": {
1997
- "name": "defaultAccordionConfig",
1998
- "module": "src/accordion/accordion.ts"
2053
+ "name": "*",
2054
+ "package": "./actions-menu.template"
1999
2055
  }
2000
2056
  },
2001
2057
  {
2002
2058
  "kind": "js",
2003
- "name": "foundationAccordion",
2059
+ "name": "*",
2004
2060
  "declaration": {
2005
- "name": "foundationAccordion",
2006
- "module": "src/accordion/accordion.ts"
2061
+ "name": "*",
2062
+ "package": "./actions-menu"
2007
2063
  }
2008
2064
  }
2009
2065
  ]
2010
2066
  },
2011
2067
  {
2012
2068
  "kind": "javascript-module",
2013
- "path": "src/accordion/index.ts",
2069
+ "path": "src/_config/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": "./accordion.template"
2077
+ "package": "./styles"
2022
2078
  }
2023
2079
  },
2024
2080
  {
@@ -2026,7 +2082,7 @@
2026
2082
  "name": "*",
2027
2083
  "declaration": {
2028
2084
  "name": "*",
2029
- "package": "./accordion.styles"
2085
+ "package": "./tokens"
2030
2086
  }
2031
2087
  },
2032
2088
  {
@@ -2034,41 +2090,18 @@
2034
2090
  "name": "*",
2035
2091
  "declaration": {
2036
2092
  "name": "*",
2037
- "package": "./accordion"
2093
+ "package": "./values"
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,282 +2126,157 @@
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": [
2185
- {
2186
- "kind": "field",
2187
- "name": "actions",
2188
- "type": {
2189
- "text": "ActionMenuItem[]"
2190
- }
2191
- },
2192
- {
2193
- "kind": "field",
2194
- "name": "isVertical",
2195
- "type": {
2196
- "text": "boolean"
2197
- },
2198
- "default": "false"
2199
- },
2200
- {
2201
- "kind": "field",
2202
- "name": "addDefaultActions",
2203
- "type": {
2204
- "text": "boolean"
2205
- },
2206
- "default": "true"
2207
- },
2208
- {
2209
- "kind": "field",
2210
- "name": "autoCloseOnAction",
2211
- "type": {
2212
- "text": "boolean"
2213
- },
2214
- "default": "true"
2215
- },
2216
- {
2217
- "kind": "field",
2218
- "name": "classNames",
2219
- "type": {
2220
- "text": "string"
2221
- }
2222
- },
2223
- {
2224
- "kind": "field",
2225
- "name": "definition",
2226
- "type": {
2227
- "text": "any"
2228
- }
2229
- },
2183
+ "name": "AccordionItem",
2184
+ "superclass": {
2185
+ "name": "FASTAccordionItem",
2186
+ "package": "@microsoft/fast-components"
2187
+ },
2188
+ "tagName": "%%prefix%%-accordion-item",
2189
+ "customElement": true,
2190
+ "attributes": [
2230
2191
  {
2231
- "kind": "field",
2232
- "name": "name",
2192
+ "name": "heading-level",
2233
2193
  "type": {
2234
- "text": "string"
2194
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2235
2195
  },
2236
- "default": "'Actions'"
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"
2202
+ }
2237
2203
  },
2238
2204
  {
2239
- "kind": "field",
2240
- "name": "open",
2241
2205
  "type": {
2242
2206
  "text": "boolean"
2243
2207
  },
2244
- "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
+ }
2245
2215
  },
2246
2216
  {
2247
- "kind": "field",
2248
- "name": "buttonAppearance",
2217
+ "name": "id",
2249
2218
  "type": {
2250
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"
2251
2226
  }
2252
- },
2227
+ }
2228
+ ],
2229
+ "members": [
2253
2230
  {
2254
2231
  "kind": "field",
2255
- "name": "hideDisabled",
2232
+ "name": "headinglevel",
2256
2233
  "type": {
2257
- "text": "boolean"
2234
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2258
2235
  },
2259
- "default": "false"
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
+ }
2260
2243
  },
2261
2244
  {
2262
2245
  "kind": "field",
2263
- "name": "hideMenuSingleOption",
2246
+ "name": "expanded",
2264
2247
  "type": {
2265
2248
  "text": "boolean"
2266
2249
  },
2267
- "default": "false"
2268
- },
2269
- {
2270
- "kind": "field",
2271
- "name": "singleOption",
2272
- "type": {
2273
- "text": "ActionMenuItem"
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"
2274
2256
  }
2275
2257
  },
2276
2258
  {
2277
2259
  "kind": "field",
2278
- "name": "actionsMenu",
2260
+ "name": "id",
2279
2261
  "type": {
2280
- "text": "HTMLElement"
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"
2281
2269
  }
2282
2270
  },
2283
2271
  {
2284
2272
  "kind": "field",
2285
- "name": "actionsOpener",
2286
- "type": {
2287
- "text": "HTMLElement"
2273
+ "name": "change",
2274
+ "privacy": "private",
2275
+ "inheritedFrom": {
2276
+ "name": "AccordionItem",
2277
+ "module": "src/accordion-item/accordion-item.ts"
2288
2278
  }
2289
2279
  },
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
2280
  {
2373
2281
  "kind": "field",
2374
2282
  "name": "_presentation",
@@ -2455,133 +2363,104 @@
2455
2363
  "privacy": "public",
2456
2364
  "static": true,
2457
2365
  "return": {
2458
- "type": {
2459
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2460
- }
2461
- },
2462
- "parameters": [
2463
- {
2464
- "name": "this",
2465
- "type": {
2466
- "text": "K"
2467
- }
2468
- },
2469
- {
2470
- "name": "elementDefinition",
2471
- "type": {
2472
- "text": "T"
2473
- },
2474
- "description": "The definition of the element to create the registry\nfunction for."
2475
- }
2476
- ],
2477
- "description": "Defines an element registry function with a set of element definition defaults.",
2478
- "inheritedFrom": {
2479
- "name": "FoundationElement",
2480
- "module": "src/foundation-element/foundation-element.ts"
2481
- }
2482
- }
2483
- ],
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
- },
2540
- {
2541
- "name": "hide-menu-single-option",
2542
- "type": {
2543
- "text": "boolean"
2366
+ "type": {
2367
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2368
+ }
2544
2369
  },
2545
- "default": "false",
2546
- "fieldName": "hideMenuSingleOption"
2370
+ "parameters": [
2371
+ {
2372
+ "name": "this",
2373
+ "type": {
2374
+ "text": "K"
2375
+ }
2376
+ },
2377
+ {
2378
+ "name": "elementDefinition",
2379
+ "type": {
2380
+ "text": "T"
2381
+ },
2382
+ "description": "The definition of the element to create the registry\nfunction for."
2383
+ }
2384
+ ],
2385
+ "description": "Defines an element registry function with a set of element definition defaults.",
2386
+ "inheritedFrom": {
2387
+ "name": "FoundationElement",
2388
+ "module": "src/foundation-element/foundation-element.ts"
2389
+ }
2547
2390
  }
2548
2391
  ],
2549
- "superclass": {
2550
- "name": "FoundationElement",
2551
- "package": "@microsoft/fast-foundation"
2392
+ "events": [
2393
+ {
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
+ }
2400
+ }
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"
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"
2578
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,320 +2852,145 @@
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",
3053
- "declaration": {
3054
- "name": "defaultAiCriteriaSearchConfig",
3055
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3056
- }
3057
- },
3058
- {
3059
- "kind": "js",
3060
- "name": "foundationAiCriteriaSearch",
3061
- "declaration": {
3062
- "name": "foundationAiCriteriaSearch",
3063
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3064
- }
3065
- }
3066
- ]
3067
- },
3068
- {
3069
- "kind": "javascript-module",
3070
- "path": "src/ai-criteria-search/index.ts",
3071
- "declarations": [],
3072
- "exports": [
3073
- {
3074
- "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",
3100
- "declaration": {
3101
- "name": "foundationAiCriteriaSearchShadowOptions",
3102
- "module": "./ai-criteria-search"
3103
- }
3104
- },
3105
- {
3106
- "kind": "js",
3107
- "name": "foundationAiCriteriaSearchStyles",
3108
- "declaration": {
3109
- "name": "foundationAiCriteriaSearchStyles",
3110
- "module": "./ai-criteria-search.styles"
3111
- }
3112
- },
3113
- {
3114
- "kind": "js",
3115
- "name": "foundationAiCriteriaSearchTemplate",
3116
- "declaration": {
3117
- "name": "foundationAiCriteriaSearchTemplate",
3118
- "module": "./ai-criteria-search.template"
3119
- }
3120
- },
3121
- {
3122
- "kind": "js",
3123
- "name": "*",
3124
- "declaration": {
3125
- "name": "*",
3126
- "package": "./validation/criteria-ir"
3127
- }
3128
- },
3129
- {
3130
- "kind": "js",
3131
- "name": "*",
2870
+ "name": "AiIndicator",
3132
2871
  "declaration": {
3133
- "name": "*",
3134
- "package": "./validation/operator-map"
2872
+ "name": "AiIndicator",
2873
+ "module": "src/ai-indicator/ai-indicator.ts"
3135
2874
  }
3136
2875
  },
3137
2876
  {
3138
2877
  "kind": "js",
3139
- "name": "*",
3140
- "declaration": {
3141
- "name": "*",
3142
- "package": "./validation/schema-validator"
3143
- }
3144
- }
3145
- ]
3146
- },
3147
- {
3148
- "kind": "javascript-module",
3149
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3150
- "declarations": [
3151
- {
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."
2878
+ "name": "foundationAiIndicator",
2879
+ "declaration": {
2880
+ "name": "foundationAiIndicator",
2881
+ "module": "src/ai-indicator/ai-indicator.ts"
2882
+ }
3201
2883
  }
3202
- ],
2884
+ ]
2885
+ },
2886
+ {
2887
+ "kind": "javascript-module",
2888
+ "path": "src/ai-indicator/index.ts",
2889
+ "declarations": [],
3203
2890
  "exports": [
3204
2891
  {
3205
2892
  "kind": "js",
3206
- "name": "formatValidationErrors",
2893
+ "name": "AiIndicator",
3207
2894
  "declaration": {
3208
- "name": "formatValidationErrors",
3209
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2895
+ "name": "AiIndicator",
2896
+ "module": "./ai-indicator"
3210
2897
  }
3211
2898
  },
3212
2899
  {
3213
2900
  "kind": "js",
3214
- "name": "showCriteriaError",
2901
+ "name": "foundationAiIndicator",
3215
2902
  "declaration": {
3216
- "name": "showCriteriaError",
3217
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2903
+ "name": "foundationAiIndicator",
2904
+ "module": "./ai-indicator"
2905
+ }
2906
+ },
2907
+ {
2908
+ "kind": "js",
2909
+ "name": "type",
2910
+ "declaration": {
2911
+ "name": "type",
2912
+ "module": "./ai-indicator"
2913
+ }
2914
+ },
2915
+ {
2916
+ "kind": "js",
2917
+ "name": "AIIndicatorState",
2918
+ "declaration": {
2919
+ "name": "AIIndicatorState",
2920
+ "module": "./ai-indicator"
2921
+ }
2922
+ },
2923
+ {
2924
+ "kind": "js",
2925
+ "name": "foundationAiIndicatorTemplate",
2926
+ "declaration": {
2927
+ "name": "foundationAiIndicatorTemplate",
2928
+ "module": "./ai-indicator.template"
2929
+ }
2930
+ },
2931
+ {
2932
+ "kind": "js",
2933
+ "name": "foundationAiIndicatorStyles",
2934
+ "declaration": {
2935
+ "name": "foundationAiIndicatorStyles",
2936
+ "module": "./ai-indicator.styles"
3218
2937
  }
3219
2938
  }
3220
2939
  ]
3221
2940
  },
3222
2941
  {
3223
2942
  "kind": "javascript-module",
3224
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2943
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3225
2944
  "declarations": [
3226
2945
  {
3227
- "kind": "function",
3228
- "name": "foundationAiIndicatorStyles",
3229
- "return": {
3230
- "type": {
3231
- "text": "ElementStyles"
3232
- }
3233
- },
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
- ]
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`"
3248
2949
  }
3249
2950
  ],
3250
2951
  "exports": [
3251
2952
  {
3252
2953
  "kind": "js",
3253
- "name": "foundationAiIndicatorStyles",
2954
+ "name": "foundationAiCriteriaSearchStyles",
3254
2955
  "declaration": {
3255
- "name": "foundationAiIndicatorStyles",
3256
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2956
+ "name": "foundationAiCriteriaSearchStyles",
2957
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3257
2958
  }
3258
2959
  }
3259
2960
  ]
3260
2961
  },
3261
2962
  {
3262
2963
  "kind": "javascript-module",
3263
- "path": "src/ai-indicator/ai-indicator.template.ts",
2964
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3264
2965
  "declarations": [
3265
2966
  {
3266
2967
  "kind": "variable",
3267
- "name": "foundationAiIndicatorTemplate",
2968
+ "name": "foundationAiCriteriaSearchTemplate",
3268
2969
  "type": {
3269
- "text": "ViewTemplate<AiIndicator>"
2970
+ "text": "ViewTemplate<AiCriteriaSearch>"
3270
2971
  },
3271
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2972
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3272
2973
  }
3273
2974
  ],
3274
2975
  "exports": [
3275
2976
  {
3276
2977
  "kind": "js",
3277
- "name": "foundationAiIndicatorTemplate",
2978
+ "name": "foundationAiCriteriaSearchTemplate",
3278
2979
  "declaration": {
3279
- "name": "foundationAiIndicatorTemplate",
3280
- "module": "src/ai-indicator/ai-indicator.template.ts"
2980
+ "name": "foundationAiCriteriaSearchTemplate",
2981
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3281
2982
  }
3282
2983
  }
3283
2984
  ]
3284
2985
  },
3285
2986
  {
3286
2987
  "kind": "javascript-module",
3287
- "path": "src/ai-indicator/ai-indicator.ts",
2988
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3288
2989
  "declarations": [
3289
2990
  {
3290
2991
  "kind": "class",
3291
- "description": "",
3292
- "name": "AiIndicator",
2992
+ "description": "Natural-language criteria search input with AI interpretation.",
2993
+ "name": "AiCriteriaSearch",
3293
2994
  "members": [
3294
2995
  {
3295
2996
  "kind": "field",
@@ -3300,25 +3001,54 @@
3300
3001
  },
3301
3002
  {
3302
3003
  "kind": "field",
3303
- "name": "aiProvider",
3004
+ "name": "placeholder",
3304
3005
  "type": {
3305
- "text": "AIProvider | undefined"
3006
+ "text": "string"
3306
3007
  },
3307
- "privacy": "private",
3308
- "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.",
3309
- "readonly": true
3008
+ "default": "'Describe your search criteria in natural language...'"
3310
3009
  },
3311
3010
  {
3312
3011
  "kind": "field",
3313
- "name": "status",
3012
+ "name": "disabled",
3314
3013
  "type": {
3315
- "text": "AIStatus | null"
3014
+ "text": "boolean"
3015
+ }
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"
3316
3038
  },
3317
3039
  "default": "null"
3318
3040
  },
3319
3041
  {
3320
3042
  "kind": "field",
3321
- "name": "open",
3043
+ "name": "activeGroups",
3044
+ "type": {
3045
+ "text": "CriteriaGroup[]"
3046
+ },
3047
+ "default": "[]"
3048
+ },
3049
+ {
3050
+ "kind": "field",
3051
+ "name": "showingChips",
3322
3052
  "type": {
3323
3053
  "text": "boolean"
3324
3054
  },
@@ -3326,15 +3056,15 @@
3326
3056
  },
3327
3057
  {
3328
3058
  "kind": "field",
3329
- "name": "state",
3059
+ "name": "fieldMetadata",
3330
3060
  "type": {
3331
- "text": "AIIndicatorState"
3061
+ "text": "MetadataDetail[] | string[]"
3332
3062
  },
3333
- "default": "'none'"
3063
+ "default": "[]"
3334
3064
  },
3335
3065
  {
3336
3066
  "kind": "field",
3337
- "name": "isInstalling",
3067
+ "name": "isRecording",
3338
3068
  "type": {
3339
3069
  "text": "boolean"
3340
3070
  },
@@ -3342,29 +3072,33 @@
3342
3072
  },
3343
3073
  {
3344
3074
  "kind": "field",
3345
- "name": "pollTimer",
3075
+ "name": "textAreaRef",
3346
3076
  "type": {
3347
- "text": "ReturnType<typeof setInterval> | null"
3077
+ "text": "HTMLTextAreaElement"
3348
3078
  },
3349
- "privacy": "private",
3350
- "default": "null"
3079
+ "privacy": "public"
3351
3080
  },
3352
3081
  {
3353
3082
  "kind": "field",
3354
- "name": "clickOutside",
3355
- "privacy": "private"
3083
+ "name": "stopRecording",
3084
+ "type": {
3085
+ "text": "(() => void) | null"
3086
+ },
3087
+ "privacy": "private",
3088
+ "default": "null"
3356
3089
  },
3357
3090
  {
3358
3091
  "kind": "field",
3359
- "name": "chromeStatusLabel",
3092
+ "name": "speechApplyDebounceTimer",
3360
3093
  "type": {
3361
- "text": "string | null"
3094
+ "text": "ReturnType<typeof setTimeout> | null"
3362
3095
  },
3363
- "readonly": true
3096
+ "privacy": "private",
3097
+ "default": "null"
3364
3098
  },
3365
3099
  {
3366
3100
  "kind": "field",
3367
- "name": "canInstall",
3101
+ "name": "speechAvailable",
3368
3102
  "type": {
3369
3103
  "text": "boolean"
3370
3104
  },
@@ -3372,69 +3106,65 @@
3372
3106
  },
3373
3107
  {
3374
3108
  "kind": "field",
3375
- "name": "isDownloading",
3109
+ "name": "criteriaChips",
3376
3110
  "type": {
3377
- "text": "boolean"
3111
+ "text": "CriteriaChip[]"
3378
3112
  },
3379
3113
  "readonly": true
3380
3114
  },
3381
3115
  {
3382
3116
  "kind": "method",
3383
- "name": "openChanged",
3117
+ "name": "getFieldLabel",
3118
+ "privacy": "private",
3384
3119
  "return": {
3385
3120
  "type": {
3386
- "text": "void"
3121
+ "text": "string"
3387
3122
  }
3388
- }
3389
- },
3390
- {
3391
- "kind": "method",
3392
- "name": "handleClickOutside",
3393
- "privacy": "private",
3123
+ },
3394
3124
  "parameters": [
3395
3125
  {
3396
- "name": "event",
3126
+ "name": "fieldName",
3397
3127
  "type": {
3398
- "text": "MouseEvent"
3128
+ "text": "string"
3399
3129
  }
3400
3130
  }
3401
3131
  ]
3402
3132
  },
3403
3133
  {
3404
3134
  "kind": "method",
3405
- "name": "toggleDropdown"
3406
- },
3407
- {
3408
- "kind": "method",
3409
- "name": "refreshStatus",
3135
+ "name": "toggleCriteriaView",
3410
3136
  "return": {
3411
3137
  "type": {
3412
- "text": "Promise<void>"
3138
+ "text": "void"
3413
3139
  }
3414
3140
  }
3415
3141
  },
3416
3142
  {
3417
3143
  "kind": "method",
3418
- "name": "deriveState",
3419
- "privacy": "private",
3144
+ "name": "removeChip",
3420
3145
  "return": {
3421
3146
  "type": {
3422
- "text": "AIIndicatorState"
3147
+ "text": "void"
3423
3148
  }
3424
3149
  },
3425
3150
  "parameters": [
3426
3151
  {
3427
- "name": "s",
3152
+ "name": "groupIndex",
3428
3153
  "type": {
3429
- "text": "AIStatus | null"
3154
+ "text": "number"
3155
+ }
3156
+ },
3157
+ {
3158
+ "name": "clauseIndex",
3159
+ "type": {
3160
+ "text": "number"
3430
3161
  }
3431
3162
  }
3432
3163
  ]
3433
3164
  },
3434
3165
  {
3435
3166
  "kind": "method",
3436
- "name": "maybeStartPolling",
3437
- "privacy": "private",
3167
+ "name": "clearChips",
3438
3168
  "return": {
3439
3169
  "type": {
3440
3170
  "text": "void"
@@ -3443,32 +3173,24 @@
3443
3173
  },
3444
3174
  {
3445
3175
  "kind": "method",
3446
- "name": "startPolling",
3447
- "privacy": "private",
3448
- "return": {
3449
- "type": {
3450
- "text": "void"
3451
- }
3452
- }
3176
+ "name": "handleSubmit"
3453
3177
  },
3454
3178
  {
3455
3179
  "kind": "method",
3456
- "name": "stopPolling",
3457
- "privacy": "private",
3458
- "return": {
3459
- "type": {
3460
- "text": "void"
3461
- }
3462
- }
3180
+ "name": "handleBlur"
3463
3181
  },
3464
3182
  {
3465
3183
  "kind": "method",
3466
- "name": "onInstall",
3467
- "return": {
3468
- "type": {
3469
- "text": "Promise<void>"
3470
- }
3471
- }
3184
+ "name": "clear"
3185
+ },
3186
+ {
3187
+ "kind": "method",
3188
+ "name": "toggleSpeechInput"
3189
+ },
3190
+ {
3191
+ "kind": "method",
3192
+ "name": "clearSpeechApplyDebounce",
3193
+ "privacy": "private"
3472
3194
  },
3473
3195
  {
3474
3196
  "kind": "field",
@@ -3582,99 +3304,256 @@
3582
3304
  }
3583
3305
  }
3584
3306
  ],
3307
+ "events": [
3308
+ {
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"
3315
+ }
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
+ ],
3585
3333
  "superclass": {
3586
3334
  "name": "FoundationElement",
3587
3335
  "package": "@microsoft/fast-foundation"
3588
3336
  },
3589
- "tagName": "%%prefix%%-ai-indicator",
3337
+ "tagName": "%%prefix%%-ai-criteria-search",
3590
3338
  "customElement": true
3591
3339
  },
3592
3340
  {
3593
3341
  "kind": "variable",
3594
- "name": "foundationAiIndicator"
3342
+ "name": "foundationAiCriteriaSearchShadowOptions",
3343
+ "type": {
3344
+ "text": "ShadowRootInit"
3345
+ },
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"
3595
3359
  }
3596
3360
  ],
3597
3361
  "exports": [
3598
3362
  {
3599
3363
  "kind": "js",
3600
- "name": "AiIndicator",
3364
+ "name": "AiCriteriaSearch",
3601
3365
  "declaration": {
3602
- "name": "AiIndicator",
3603
- "module": "src/ai-indicator/ai-indicator.ts"
3366
+ "name": "AiCriteriaSearch",
3367
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3604
3368
  }
3605
3369
  },
3606
3370
  {
3607
3371
  "kind": "js",
3608
- "name": "foundationAiIndicator",
3372
+ "name": "foundationAiCriteriaSearchShadowOptions",
3609
3373
  "declaration": {
3610
- "name": "foundationAiIndicator",
3611
- "module": "src/ai-indicator/ai-indicator.ts"
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"
3612
3392
  }
3613
3393
  }
3614
3394
  ]
3615
3395
  },
3616
3396
  {
3617
3397
  "kind": "javascript-module",
3618
- "path": "src/ai-indicator/index.ts",
3398
+ "path": "src/ai-criteria-search/index.ts",
3619
3399
  "declarations": [],
3620
3400
  "exports": [
3621
3401
  {
3622
3402
  "kind": "js",
3623
- "name": "AiIndicator",
3403
+ "name": "AiCriteriaSearch",
3624
3404
  "declaration": {
3625
- "name": "AiIndicator",
3626
- "module": "./ai-indicator"
3405
+ "name": "AiCriteriaSearch",
3406
+ "module": "./ai-criteria-search"
3627
3407
  }
3628
3408
  },
3629
3409
  {
3630
3410
  "kind": "js",
3631
- "name": "foundationAiIndicator",
3411
+ "name": "defaultAiCriteriaSearchConfig",
3632
3412
  "declaration": {
3633
- "name": "foundationAiIndicator",
3634
- "module": "./ai-indicator"
3413
+ "name": "defaultAiCriteriaSearchConfig",
3414
+ "module": "./ai-criteria-search"
3635
3415
  }
3636
3416
  },
3637
3417
  {
3638
3418
  "kind": "js",
3639
- "name": "type",
3419
+ "name": "foundationAiCriteriaSearch",
3640
3420
  "declaration": {
3641
- "name": "type",
3642
- "module": "./ai-indicator"
3421
+ "name": "foundationAiCriteriaSearch",
3422
+ "module": "./ai-criteria-search"
3643
3423
  }
3644
3424
  },
3645
3425
  {
3646
3426
  "kind": "js",
3647
- "name": "AIIndicatorState",
3427
+ "name": "foundationAiCriteriaSearchShadowOptions",
3648
3428
  "declaration": {
3649
- "name": "AIIndicatorState",
3650
- "module": "./ai-indicator"
3429
+ "name": "foundationAiCriteriaSearchShadowOptions",
3430
+ "module": "./ai-criteria-search"
3651
3431
  }
3652
3432
  },
3653
3433
  {
3654
3434
  "kind": "js",
3655
- "name": "foundationAiIndicatorTemplate",
3435
+ "name": "foundationAiCriteriaSearchStyles",
3656
3436
  "declaration": {
3657
- "name": "foundationAiIndicatorTemplate",
3658
- "module": "./ai-indicator.template"
3437
+ "name": "foundationAiCriteriaSearchStyles",
3438
+ "module": "./ai-criteria-search.styles"
3659
3439
  }
3660
3440
  },
3661
3441
  {
3662
3442
  "kind": "js",
3663
- "name": "foundationAiIndicatorStyles",
3443
+ "name": "foundationAiCriteriaSearchTemplate",
3664
3444
  "declaration": {
3665
- "name": "foundationAiIndicatorStyles",
3666
- "module": "./ai-indicator.styles"
3445
+ "name": "foundationAiCriteriaSearchTemplate",
3446
+ "module": "./ai-criteria-search.template"
3447
+ }
3448
+ },
3449
+ {
3450
+ "kind": "js",
3451
+ "name": "*",
3452
+ "declaration": {
3453
+ "name": "*",
3454
+ "package": "./validation/criteria-ir"
3455
+ }
3456
+ },
3457
+ {
3458
+ "kind": "js",
3459
+ "name": "*",
3460
+ "declaration": {
3461
+ "name": "*",
3462
+ "package": "./validation/operator-map"
3463
+ }
3464
+ },
3465
+ {
3466
+ "kind": "js",
3467
+ "name": "*",
3468
+ "declaration": {
3469
+ "name": "*",
3470
+ "package": "./validation/schema-validator"
3667
3471
  }
3668
3472
  }
3669
3473
  ]
3670
3474
  },
3671
3475
  {
3672
3476
  "kind": "javascript-module",
3673
- "path": "src/accordion-item/accordion-item.styles.ts",
3477
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3674
3478
  "declarations": [
3675
3479
  {
3676
3480
  "kind": "function",
3677
- "name": "foundationAccordionItemStyles",
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",
3678
3557
  "return": {
3679
3558
  "type": {
3680
3559
  "text": "ElementStyles"
@@ -3699,24 +3578,24 @@
3699
3578
  "exports": [
3700
3579
  {
3701
3580
  "kind": "js",
3702
- "name": "foundationAccordionItemStyles",
3581
+ "name": "foundationAccordionStyles",
3703
3582
  "declaration": {
3704
- "name": "foundationAccordionItemStyles",
3705
- "module": "src/accordion-item/accordion-item.styles.ts"
3583
+ "name": "foundationAccordionStyles",
3584
+ "module": "src/accordion/accordion.styles.ts"
3706
3585
  }
3707
3586
  }
3708
3587
  ]
3709
3588
  },
3710
3589
  {
3711
3590
  "kind": "javascript-module",
3712
- "path": "src/accordion-item/accordion-item.template.ts",
3591
+ "path": "src/accordion/accordion.template.ts",
3713
3592
  "declarations": [
3714
3593
  {
3715
3594
  "kind": "function",
3716
- "name": "foundationAccordionItemTemplate",
3595
+ "name": "foundationAccordionTemplate",
3717
3596
  "return": {
3718
3597
  "type": {
3719
- "text": "ViewTemplate<AccordionItem>"
3598
+ "text": "ViewTemplate<Accordion>"
3720
3599
  }
3721
3600
  },
3722
3601
  "parameters": [
@@ -3738,116 +3617,237 @@
3738
3617
  "exports": [
3739
3618
  {
3740
3619
  "kind": "js",
3741
- "name": "foundationAccordionItemTemplate",
3620
+ "name": "foundationAccordionTemplate",
3742
3621
  "declaration": {
3743
- "name": "foundationAccordionItemTemplate",
3744
- "module": "src/accordion-item/accordion-item.template.ts"
3622
+ "name": "foundationAccordionTemplate",
3623
+ "module": "src/accordion/accordion.template.ts"
3745
3624
  }
3746
3625
  }
3747
3626
  ]
3748
3627
  },
3749
3628
  {
3750
3629
  "kind": "javascript-module",
3751
- "path": "src/accordion-item/accordion-item.ts",
3630
+ "path": "src/accordion/accordion.ts",
3752
3631
  "declarations": [
3753
3632
  {
3754
3633
  "kind": "class",
3755
3634
  "description": "",
3756
- "name": "AccordionItem",
3635
+ "name": "Accordion",
3757
3636
  "superclass": {
3758
- "name": "FASTAccordionItem",
3759
- "package": "@microsoft/fast-components"
3637
+ "name": "FASTAccordion",
3638
+ "package": "@microsoft/fast-foundation"
3760
3639
  },
3761
- "tagName": "%%prefix%%-accordion-item",
3640
+ "tagName": "%%prefix%%-accordion",
3762
3641
  "customElement": true,
3763
3642
  "attributes": [
3764
3643
  {
3765
- "name": "heading-level",
3644
+ "name": "expand-mode",
3645
+ "type": {
3646
+ "text": "AccordionExpandMode"
3647
+ },
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": [
3657
+ {
3658
+ "kind": "field",
3659
+ "name": "expandmode",
3766
3660
  "type": {
3767
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3661
+ "text": "AccordionExpandMode"
3768
3662
  },
3769
- "default": "2",
3770
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3771
- "fieldName": "headinglevel",
3663
+ "privacy": "public",
3664
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3772
3665
  "inheritedFrom": {
3773
- "name": "AccordionItem",
3774
- "module": "src/accordion-item/accordion-item.ts"
3666
+ "name": "Accordion",
3667
+ "module": "src/accordion/accordion.ts"
3775
3668
  }
3776
3669
  },
3777
3670
  {
3671
+ "kind": "field",
3672
+ "name": "activeid",
3778
3673
  "type": {
3779
- "text": "boolean"
3674
+ "text": "string | null"
3780
3675
  },
3781
- "default": "false",
3782
- "description": "Expands or collapses the item.",
3783
- "fieldName": "expanded",
3676
+ "privacy": "private",
3784
3677
  "inheritedFrom": {
3785
- "name": "AccordionItem",
3786
- "module": "src/accordion-item/accordion-item.ts"
3678
+ "name": "Accordion",
3679
+ "module": "src/accordion/accordion.ts"
3787
3680
  }
3788
3681
  },
3789
3682
  {
3790
- "name": "id",
3683
+ "kind": "field",
3684
+ "name": "activeItemIndex",
3791
3685
  "type": {
3792
- "text": "string"
3686
+ "text": "number"
3793
3687
  },
3794
- "description": "The item ID",
3795
- "fieldName": "id",
3688
+ "privacy": "private",
3689
+ "default": "0",
3796
3690
  "inheritedFrom": {
3797
- "name": "AccordionItem",
3798
- "module": "src/accordion-item/accordion-item.ts"
3691
+ "name": "Accordion",
3692
+ "module": "src/accordion/accordion.ts"
3799
3693
  }
3800
- }
3801
- ],
3802
- "members": [
3694
+ },
3803
3695
  {
3804
3696
  "kind": "field",
3805
- "name": "headinglevel",
3697
+ "name": "accordionIds",
3806
3698
  "type": {
3807
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3699
+ "text": "Array<string | null>"
3808
3700
  },
3809
- "privacy": "public",
3810
- "default": "2",
3811
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3701
+ "privacy": "private",
3812
3702
  "inheritedFrom": {
3813
- "name": "AccordionItem",
3814
- "module": "src/accordion-item/accordion-item.ts"
3703
+ "name": "Accordion",
3704
+ "module": "src/accordion/accordion.ts"
3815
3705
  }
3816
3706
  },
3817
3707
  {
3818
3708
  "kind": "field",
3819
- "name": "expanded",
3820
- "type": {
3821
- "text": "boolean"
3709
+ "name": "change",
3710
+ "privacy": "private",
3711
+ "inheritedFrom": {
3712
+ "name": "Accordion",
3713
+ "module": "src/accordion/accordion.ts"
3714
+ }
3715
+ },
3716
+ {
3717
+ "kind": "method",
3718
+ "name": "findExpandedItem",
3719
+ "privacy": "private",
3720
+ "return": {
3721
+ "type": {
3722
+ "text": "AccordionItem | null"
3723
+ }
3822
3724
  },
3823
- "privacy": "public",
3824
- "default": "false",
3825
- "description": "Expands or collapses the item.",
3826
3725
  "inheritedFrom": {
3827
- "name": "AccordionItem",
3828
- "module": "src/accordion-item/accordion-item.ts"
3726
+ "name": "Accordion",
3727
+ "module": "src/accordion/accordion.ts"
3829
3728
  }
3830
3729
  },
3831
3730
  {
3832
3731
  "kind": "field",
3833
- "name": "id",
3834
- "type": {
3835
- "text": "string"
3732
+ "name": "setItems",
3733
+ "privacy": "private",
3734
+ "inheritedFrom": {
3735
+ "name": "Accordion",
3736
+ "module": "src/accordion/accordion.ts"
3737
+ }
3738
+ },
3739
+ {
3740
+ "kind": "method",
3741
+ "name": "resetItems",
3742
+ "privacy": "private",
3743
+ "return": {
3744
+ "type": {
3745
+ "text": "void"
3746
+ }
3836
3747
  },
3837
- "privacy": "public",
3838
- "description": "The item ID",
3839
3748
  "inheritedFrom": {
3840
- "name": "AccordionItem",
3841
- "module": "src/accordion-item/accordion-item.ts"
3749
+ "name": "Accordion",
3750
+ "module": "src/accordion/accordion.ts"
3842
3751
  }
3843
3752
  },
3844
3753
  {
3845
3754
  "kind": "field",
3846
- "name": "change",
3755
+ "name": "removeItemListeners",
3847
3756
  "privacy": "private",
3848
3757
  "inheritedFrom": {
3849
- "name": "AccordionItem",
3850
- "module": "src/accordion-item/accordion-item.ts"
3758
+ "name": "Accordion",
3759
+ "module": "src/accordion/accordion.ts"
3760
+ }
3761
+ },
3762
+ {
3763
+ "kind": "field",
3764
+ "name": "activeItemChange",
3765
+ "privacy": "private",
3766
+ "inheritedFrom": {
3767
+ "name": "Accordion",
3768
+ "module": "src/accordion/accordion.ts"
3769
+ }
3770
+ },
3771
+ {
3772
+ "kind": "method",
3773
+ "name": "getItemIds",
3774
+ "privacy": "private",
3775
+ "return": {
3776
+ "type": {
3777
+ "text": "Array<string | null>"
3778
+ }
3779
+ },
3780
+ "inheritedFrom": {
3781
+ "name": "Accordion",
3782
+ "module": "src/accordion/accordion.ts"
3783
+ }
3784
+ },
3785
+ {
3786
+ "kind": "method",
3787
+ "name": "isSingleExpandMode",
3788
+ "privacy": "private",
3789
+ "return": {
3790
+ "type": {
3791
+ "text": "boolean"
3792
+ }
3793
+ },
3794
+ "inheritedFrom": {
3795
+ "name": "Accordion",
3796
+ "module": "src/accordion/accordion.ts"
3797
+ }
3798
+ },
3799
+ {
3800
+ "kind": "field",
3801
+ "name": "handleItemKeyDown",
3802
+ "privacy": "private",
3803
+ "inheritedFrom": {
3804
+ "name": "Accordion",
3805
+ "module": "src/accordion/accordion.ts"
3806
+ }
3807
+ },
3808
+ {
3809
+ "kind": "field",
3810
+ "name": "handleItemFocus",
3811
+ "privacy": "private",
3812
+ "inheritedFrom": {
3813
+ "name": "Accordion",
3814
+ "module": "src/accordion/accordion.ts"
3815
+ }
3816
+ },
3817
+ {
3818
+ "kind": "method",
3819
+ "name": "adjust",
3820
+ "privacy": "private",
3821
+ "return": {
3822
+ "type": {
3823
+ "text": "void"
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"
3837
+ }
3838
+ },
3839
+ {
3840
+ "kind": "method",
3841
+ "name": "focusItem",
3842
+ "privacy": "private",
3843
+ "return": {
3844
+ "type": {
3845
+ "text": "void"
3846
+ }
3847
+ },
3848
+ "inheritedFrom": {
3849
+ "name": "Accordion",
3850
+ "module": "src/accordion/accordion.ts"
3851
3851
  }
3852
3852
  },
3853
3853
  {
@@ -3964,18 +3964,18 @@
3964
3964
  ],
3965
3965
  "events": [
3966
3966
  {
3967
- "description": "Fires a custom 'change' event when the button is invoked",
3967
+ "description": "Fires a custom 'change' event when the active item changes",
3968
3968
  "name": "change",
3969
3969
  "inheritedFrom": {
3970
- "name": "AccordionItem",
3971
- "module": "src/accordion-item/accordion-item.ts"
3970
+ "name": "Accordion",
3971
+ "module": "src/accordion/accordion.ts"
3972
3972
  }
3973
3973
  }
3974
3974
  ]
3975
3975
  },
3976
3976
  {
3977
3977
  "kind": "variable",
3978
- "name": "foundationAccordionItemShadowOptions",
3978
+ "name": "foundationAccordionShadowOptions",
3979
3979
  "type": {
3980
3980
  "text": "ShadowRootInit"
3981
3981
  },
@@ -3983,57 +3983,57 @@
3983
3983
  },
3984
3984
  {
3985
3985
  "kind": "variable",
3986
- "name": "defaultAccordionItemConfig",
3986
+ "name": "defaultAccordionConfig",
3987
3987
  "type": {
3988
3988
  "text": "object"
3989
3989
  },
3990
- "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}"
3990
+ "default": "{}"
3991
3991
  },
3992
3992
  {
3993
3993
  "kind": "variable",
3994
- "name": "foundationAccordionItem",
3995
- "description": "The Foundation Accordion Item",
3994
+ "name": "foundationAccordion",
3995
+ "description": "The Foundation Accordion",
3996
3996
  "privacy": "public"
3997
3997
  }
3998
3998
  ],
3999
3999
  "exports": [
4000
4000
  {
4001
4001
  "kind": "js",
4002
- "name": "AccordionItem",
4002
+ "name": "Accordion",
4003
4003
  "declaration": {
4004
- "name": "AccordionItem",
4005
- "module": "src/accordion-item/accordion-item.ts"
4004
+ "name": "Accordion",
4005
+ "module": "src/accordion/accordion.ts"
4006
4006
  }
4007
4007
  },
4008
4008
  {
4009
4009
  "kind": "js",
4010
- "name": "foundationAccordionItemShadowOptions",
4010
+ "name": "foundationAccordionShadowOptions",
4011
4011
  "declaration": {
4012
- "name": "foundationAccordionItemShadowOptions",
4013
- "module": "src/accordion-item/accordion-item.ts"
4012
+ "name": "foundationAccordionShadowOptions",
4013
+ "module": "src/accordion/accordion.ts"
4014
4014
  }
4015
4015
  },
4016
4016
  {
4017
4017
  "kind": "js",
4018
- "name": "defaultAccordionItemConfig",
4018
+ "name": "defaultAccordionConfig",
4019
4019
  "declaration": {
4020
- "name": "defaultAccordionItemConfig",
4021
- "module": "src/accordion-item/accordion-item.ts"
4020
+ "name": "defaultAccordionConfig",
4021
+ "module": "src/accordion/accordion.ts"
4022
4022
  }
4023
4023
  },
4024
4024
  {
4025
4025
  "kind": "js",
4026
- "name": "foundationAccordionItem",
4026
+ "name": "foundationAccordion",
4027
4027
  "declaration": {
4028
- "name": "foundationAccordionItem",
4029
- "module": "src/accordion-item/accordion-item.ts"
4028
+ "name": "foundationAccordion",
4029
+ "module": "src/accordion/accordion.ts"
4030
4030
  }
4031
4031
  }
4032
4032
  ]
4033
4033
  },
4034
4034
  {
4035
4035
  "kind": "javascript-module",
4036
- "path": "src/accordion-item/index.ts",
4036
+ "path": "src/accordion/index.ts",
4037
4037
  "declarations": [],
4038
4038
  "exports": [
4039
4039
  {
@@ -4041,7 +4041,7 @@
4041
4041
  "name": "*",
4042
4042
  "declaration": {
4043
4043
  "name": "*",
4044
- "package": "./accordion-item.template"
4044
+ "package": "./accordion.template"
4045
4045
  }
4046
4046
  },
4047
4047
  {
@@ -4049,7 +4049,7 @@
4049
4049
  "name": "*",
4050
4050
  "declaration": {
4051
4051
  "name": "*",
4052
- "package": "./accordion-item.styles"
4052
+ "package": "./accordion.styles"
4053
4053
  }
4054
4054
  },
4055
4055
  {
@@ -4057,7 +4057,7 @@
4057
4057
  "name": "*",
4058
4058
  "declaration": {
4059
4059
  "name": "*",
4060
- "package": "./accordion-item"
4060
+ "package": "./accordion"
4061
4061
  }
4062
4062
  }
4063
4063
  ]