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