@genesislcap/foundation-ui 15.29.0 → 15.30.1

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