@genesislcap/foundation-ui 15.9.0 → 15.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1455,11 +1455,11 @@
1455
1455
  },
1456
1456
  {
1457
1457
  "kind": "javascript-module",
1458
- "path": "src/accordion-item/accordion-item.styles.ts",
1458
+ "path": "src/accordion/accordion.styles.ts",
1459
1459
  "declarations": [
1460
1460
  {
1461
1461
  "kind": "function",
1462
- "name": "foundationAccordionItemStyles",
1462
+ "name": "foundationAccordionStyles",
1463
1463
  "return": {
1464
1464
  "type": {
1465
1465
  "text": "ElementStyles"
@@ -1484,24 +1484,24 @@
1484
1484
  "exports": [
1485
1485
  {
1486
1486
  "kind": "js",
1487
- "name": "foundationAccordionItemStyles",
1487
+ "name": "foundationAccordionStyles",
1488
1488
  "declaration": {
1489
- "name": "foundationAccordionItemStyles",
1490
- "module": "src/accordion-item/accordion-item.styles.ts"
1489
+ "name": "foundationAccordionStyles",
1490
+ "module": "src/accordion/accordion.styles.ts"
1491
1491
  }
1492
1492
  }
1493
1493
  ]
1494
1494
  },
1495
1495
  {
1496
1496
  "kind": "javascript-module",
1497
- "path": "src/accordion-item/accordion-item.template.ts",
1497
+ "path": "src/accordion/accordion.template.ts",
1498
1498
  "declarations": [
1499
1499
  {
1500
1500
  "kind": "function",
1501
- "name": "foundationAccordionItemTemplate",
1501
+ "name": "foundationAccordionTemplate",
1502
1502
  "return": {
1503
1503
  "type": {
1504
- "text": "ViewTemplate<AccordionItem>"
1504
+ "text": "ViewTemplate<Accordion>"
1505
1505
  }
1506
1506
  },
1507
1507
  "parameters": [
@@ -1523,116 +1523,237 @@
1523
1523
  "exports": [
1524
1524
  {
1525
1525
  "kind": "js",
1526
- "name": "foundationAccordionItemTemplate",
1526
+ "name": "foundationAccordionTemplate",
1527
1527
  "declaration": {
1528
- "name": "foundationAccordionItemTemplate",
1529
- "module": "src/accordion-item/accordion-item.template.ts"
1528
+ "name": "foundationAccordionTemplate",
1529
+ "module": "src/accordion/accordion.template.ts"
1530
1530
  }
1531
1531
  }
1532
1532
  ]
1533
1533
  },
1534
1534
  {
1535
1535
  "kind": "javascript-module",
1536
- "path": "src/accordion-item/accordion-item.ts",
1536
+ "path": "src/accordion/accordion.ts",
1537
1537
  "declarations": [
1538
1538
  {
1539
1539
  "kind": "class",
1540
1540
  "description": "",
1541
- "name": "AccordionItem",
1541
+ "name": "Accordion",
1542
1542
  "superclass": {
1543
- "name": "FASTAccordionItem",
1544
- "package": "@microsoft/fast-components"
1543
+ "name": "FASTAccordion",
1544
+ "package": "@microsoft/fast-foundation"
1545
1545
  },
1546
- "tagName": "%%prefix%%-accordion-item",
1546
+ "tagName": "%%prefix%%-accordion",
1547
1547
  "customElement": true,
1548
1548
  "attributes": [
1549
1549
  {
1550
- "name": "heading-level",
1550
+ "name": "expand-mode",
1551
1551
  "type": {
1552
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1552
+ "text": "AccordionExpandMode"
1553
1553
  },
1554
- "default": "2",
1555
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1556
- "fieldName": "headinglevel",
1554
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1555
+ "fieldName": "expandmode",
1557
1556
  "inheritedFrom": {
1558
- "name": "AccordionItem",
1559
- "module": "src/accordion-item/accordion-item.ts"
1557
+ "name": "Accordion",
1558
+ "module": "src/accordion/accordion.ts"
1560
1559
  }
1561
- },
1560
+ }
1561
+ ],
1562
+ "members": [
1562
1563
  {
1564
+ "kind": "field",
1565
+ "name": "expandmode",
1563
1566
  "type": {
1564
- "text": "boolean"
1567
+ "text": "AccordionExpandMode"
1565
1568
  },
1566
- "default": "false",
1567
- "description": "Expands or collapses the item.",
1568
- "fieldName": "expanded",
1569
+ "privacy": "public",
1570
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1569
1571
  "inheritedFrom": {
1570
- "name": "AccordionItem",
1571
- "module": "src/accordion-item/accordion-item.ts"
1572
+ "name": "Accordion",
1573
+ "module": "src/accordion/accordion.ts"
1572
1574
  }
1573
1575
  },
1574
1576
  {
1575
- "name": "id",
1577
+ "kind": "field",
1578
+ "name": "activeid",
1576
1579
  "type": {
1577
- "text": "string"
1580
+ "text": "string | null"
1578
1581
  },
1579
- "description": "The item ID",
1580
- "fieldName": "id",
1582
+ "privacy": "private",
1581
1583
  "inheritedFrom": {
1582
- "name": "AccordionItem",
1583
- "module": "src/accordion-item/accordion-item.ts"
1584
+ "name": "Accordion",
1585
+ "module": "src/accordion/accordion.ts"
1584
1586
  }
1585
- }
1586
- ],
1587
- "members": [
1587
+ },
1588
1588
  {
1589
1589
  "kind": "field",
1590
- "name": "headinglevel",
1590
+ "name": "activeItemIndex",
1591
1591
  "type": {
1592
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1592
+ "text": "number"
1593
1593
  },
1594
- "privacy": "public",
1595
- "default": "2",
1596
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1594
+ "privacy": "private",
1595
+ "default": "0",
1597
1596
  "inheritedFrom": {
1598
- "name": "AccordionItem",
1599
- "module": "src/accordion-item/accordion-item.ts"
1597
+ "name": "Accordion",
1598
+ "module": "src/accordion/accordion.ts"
1600
1599
  }
1601
1600
  },
1602
1601
  {
1603
1602
  "kind": "field",
1604
- "name": "expanded",
1603
+ "name": "accordionIds",
1605
1604
  "type": {
1606
- "text": "boolean"
1605
+ "text": "Array<string | null>"
1607
1606
  },
1608
- "privacy": "public",
1609
- "default": "false",
1610
- "description": "Expands or collapses the item.",
1607
+ "privacy": "private",
1611
1608
  "inheritedFrom": {
1612
- "name": "AccordionItem",
1613
- "module": "src/accordion-item/accordion-item.ts"
1609
+ "name": "Accordion",
1610
+ "module": "src/accordion/accordion.ts"
1614
1611
  }
1615
1612
  },
1616
1613
  {
1617
1614
  "kind": "field",
1618
- "name": "id",
1619
- "type": {
1620
- "text": "string"
1615
+ "name": "change",
1616
+ "privacy": "private",
1617
+ "inheritedFrom": {
1618
+ "name": "Accordion",
1619
+ "module": "src/accordion/accordion.ts"
1620
+ }
1621
+ },
1622
+ {
1623
+ "kind": "method",
1624
+ "name": "findExpandedItem",
1625
+ "privacy": "private",
1626
+ "return": {
1627
+ "type": {
1628
+ "text": "AccordionItem | null"
1629
+ }
1621
1630
  },
1622
- "privacy": "public",
1623
- "description": "The item ID",
1624
1631
  "inheritedFrom": {
1625
- "name": "AccordionItem",
1626
- "module": "src/accordion-item/accordion-item.ts"
1632
+ "name": "Accordion",
1633
+ "module": "src/accordion/accordion.ts"
1627
1634
  }
1628
1635
  },
1629
1636
  {
1630
1637
  "kind": "field",
1631
- "name": "change",
1638
+ "name": "setItems",
1632
1639
  "privacy": "private",
1633
1640
  "inheritedFrom": {
1634
- "name": "AccordionItem",
1635
- "module": "src/accordion-item/accordion-item.ts"
1641
+ "name": "Accordion",
1642
+ "module": "src/accordion/accordion.ts"
1643
+ }
1644
+ },
1645
+ {
1646
+ "kind": "method",
1647
+ "name": "resetItems",
1648
+ "privacy": "private",
1649
+ "return": {
1650
+ "type": {
1651
+ "text": "void"
1652
+ }
1653
+ },
1654
+ "inheritedFrom": {
1655
+ "name": "Accordion",
1656
+ "module": "src/accordion/accordion.ts"
1657
+ }
1658
+ },
1659
+ {
1660
+ "kind": "field",
1661
+ "name": "removeItemListeners",
1662
+ "privacy": "private",
1663
+ "inheritedFrom": {
1664
+ "name": "Accordion",
1665
+ "module": "src/accordion/accordion.ts"
1666
+ }
1667
+ },
1668
+ {
1669
+ "kind": "field",
1670
+ "name": "activeItemChange",
1671
+ "privacy": "private",
1672
+ "inheritedFrom": {
1673
+ "name": "Accordion",
1674
+ "module": "src/accordion/accordion.ts"
1675
+ }
1676
+ },
1677
+ {
1678
+ "kind": "method",
1679
+ "name": "getItemIds",
1680
+ "privacy": "private",
1681
+ "return": {
1682
+ "type": {
1683
+ "text": "Array<string | null>"
1684
+ }
1685
+ },
1686
+ "inheritedFrom": {
1687
+ "name": "Accordion",
1688
+ "module": "src/accordion/accordion.ts"
1689
+ }
1690
+ },
1691
+ {
1692
+ "kind": "method",
1693
+ "name": "isSingleExpandMode",
1694
+ "privacy": "private",
1695
+ "return": {
1696
+ "type": {
1697
+ "text": "boolean"
1698
+ }
1699
+ },
1700
+ "inheritedFrom": {
1701
+ "name": "Accordion",
1702
+ "module": "src/accordion/accordion.ts"
1703
+ }
1704
+ },
1705
+ {
1706
+ "kind": "field",
1707
+ "name": "handleItemKeyDown",
1708
+ "privacy": "private",
1709
+ "inheritedFrom": {
1710
+ "name": "Accordion",
1711
+ "module": "src/accordion/accordion.ts"
1712
+ }
1713
+ },
1714
+ {
1715
+ "kind": "field",
1716
+ "name": "handleItemFocus",
1717
+ "privacy": "private",
1718
+ "inheritedFrom": {
1719
+ "name": "Accordion",
1720
+ "module": "src/accordion/accordion.ts"
1721
+ }
1722
+ },
1723
+ {
1724
+ "kind": "method",
1725
+ "name": "adjust",
1726
+ "privacy": "private",
1727
+ "return": {
1728
+ "type": {
1729
+ "text": "void"
1730
+ }
1731
+ },
1732
+ "parameters": [
1733
+ {
1734
+ "name": "adjustment",
1735
+ "type": {
1736
+ "text": "number"
1737
+ }
1738
+ }
1739
+ ],
1740
+ "inheritedFrom": {
1741
+ "name": "Accordion",
1742
+ "module": "src/accordion/accordion.ts"
1743
+ }
1744
+ },
1745
+ {
1746
+ "kind": "method",
1747
+ "name": "focusItem",
1748
+ "privacy": "private",
1749
+ "return": {
1750
+ "type": {
1751
+ "text": "void"
1752
+ }
1753
+ },
1754
+ "inheritedFrom": {
1755
+ "name": "Accordion",
1756
+ "module": "src/accordion/accordion.ts"
1636
1757
  }
1637
1758
  },
1638
1759
  {
@@ -1749,18 +1870,18 @@
1749
1870
  ],
1750
1871
  "events": [
1751
1872
  {
1752
- "description": "Fires a custom 'change' event when the button is invoked",
1873
+ "description": "Fires a custom 'change' event when the active item changes",
1753
1874
  "name": "change",
1754
1875
  "inheritedFrom": {
1755
- "name": "AccordionItem",
1756
- "module": "src/accordion-item/accordion-item.ts"
1876
+ "name": "Accordion",
1877
+ "module": "src/accordion/accordion.ts"
1757
1878
  }
1758
1879
  }
1759
1880
  ]
1760
1881
  },
1761
1882
  {
1762
1883
  "kind": "variable",
1763
- "name": "foundationAccordionItemShadowOptions",
1884
+ "name": "foundationAccordionShadowOptions",
1764
1885
  "type": {
1765
1886
  "text": "ShadowRootInit"
1766
1887
  },
@@ -1768,57 +1889,57 @@
1768
1889
  },
1769
1890
  {
1770
1891
  "kind": "variable",
1771
- "name": "defaultAccordionItemConfig",
1892
+ "name": "defaultAccordionConfig",
1772
1893
  "type": {
1773
1894
  "text": "object"
1774
1895
  },
1775
- "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}"
1896
+ "default": "{}"
1776
1897
  },
1777
1898
  {
1778
1899
  "kind": "variable",
1779
- "name": "foundationAccordionItem",
1780
- "description": "The Foundation Accordion Item",
1900
+ "name": "foundationAccordion",
1901
+ "description": "The Foundation Accordion",
1781
1902
  "privacy": "public"
1782
1903
  }
1783
1904
  ],
1784
1905
  "exports": [
1785
1906
  {
1786
1907
  "kind": "js",
1787
- "name": "AccordionItem",
1908
+ "name": "Accordion",
1788
1909
  "declaration": {
1789
- "name": "AccordionItem",
1790
- "module": "src/accordion-item/accordion-item.ts"
1910
+ "name": "Accordion",
1911
+ "module": "src/accordion/accordion.ts"
1791
1912
  }
1792
1913
  },
1793
1914
  {
1794
1915
  "kind": "js",
1795
- "name": "foundationAccordionItemShadowOptions",
1916
+ "name": "foundationAccordionShadowOptions",
1796
1917
  "declaration": {
1797
- "name": "foundationAccordionItemShadowOptions",
1798
- "module": "src/accordion-item/accordion-item.ts"
1918
+ "name": "foundationAccordionShadowOptions",
1919
+ "module": "src/accordion/accordion.ts"
1799
1920
  }
1800
1921
  },
1801
1922
  {
1802
1923
  "kind": "js",
1803
- "name": "defaultAccordionItemConfig",
1924
+ "name": "defaultAccordionConfig",
1804
1925
  "declaration": {
1805
- "name": "defaultAccordionItemConfig",
1806
- "module": "src/accordion-item/accordion-item.ts"
1926
+ "name": "defaultAccordionConfig",
1927
+ "module": "src/accordion/accordion.ts"
1807
1928
  }
1808
1929
  },
1809
1930
  {
1810
1931
  "kind": "js",
1811
- "name": "foundationAccordionItem",
1932
+ "name": "foundationAccordion",
1812
1933
  "declaration": {
1813
- "name": "foundationAccordionItem",
1814
- "module": "src/accordion-item/accordion-item.ts"
1934
+ "name": "foundationAccordion",
1935
+ "module": "src/accordion/accordion.ts"
1815
1936
  }
1816
1937
  }
1817
1938
  ]
1818
1939
  },
1819
1940
  {
1820
1941
  "kind": "javascript-module",
1821
- "path": "src/accordion-item/index.ts",
1942
+ "path": "src/accordion/index.ts",
1822
1943
  "declarations": [],
1823
1944
  "exports": [
1824
1945
  {
@@ -1826,7 +1947,7 @@
1826
1947
  "name": "*",
1827
1948
  "declaration": {
1828
1949
  "name": "*",
1829
- "package": "./accordion-item.template"
1950
+ "package": "./accordion.template"
1830
1951
  }
1831
1952
  },
1832
1953
  {
@@ -1834,7 +1955,7 @@
1834
1955
  "name": "*",
1835
1956
  "declaration": {
1836
1957
  "name": "*",
1837
- "package": "./accordion-item.styles"
1958
+ "package": "./accordion.styles"
1838
1959
  }
1839
1960
  },
1840
1961
  {
@@ -1842,18 +1963,18 @@
1842
1963
  "name": "*",
1843
1964
  "declaration": {
1844
1965
  "name": "*",
1845
- "package": "./accordion-item"
1966
+ "package": "./accordion"
1846
1967
  }
1847
1968
  }
1848
1969
  ]
1849
1970
  },
1850
1971
  {
1851
1972
  "kind": "javascript-module",
1852
- "path": "src/accordion/accordion.styles.ts",
1973
+ "path": "src/accordion-item/accordion-item.styles.ts",
1853
1974
  "declarations": [
1854
1975
  {
1855
1976
  "kind": "function",
1856
- "name": "foundationAccordionStyles",
1977
+ "name": "foundationAccordionItemStyles",
1857
1978
  "return": {
1858
1979
  "type": {
1859
1980
  "text": "ElementStyles"
@@ -1878,24 +1999,24 @@
1878
1999
  "exports": [
1879
2000
  {
1880
2001
  "kind": "js",
1881
- "name": "foundationAccordionStyles",
2002
+ "name": "foundationAccordionItemStyles",
1882
2003
  "declaration": {
1883
- "name": "foundationAccordionStyles",
1884
- "module": "src/accordion/accordion.styles.ts"
2004
+ "name": "foundationAccordionItemStyles",
2005
+ "module": "src/accordion-item/accordion-item.styles.ts"
1885
2006
  }
1886
2007
  }
1887
2008
  ]
1888
2009
  },
1889
2010
  {
1890
2011
  "kind": "javascript-module",
1891
- "path": "src/accordion/accordion.template.ts",
2012
+ "path": "src/accordion-item/accordion-item.template.ts",
1892
2013
  "declarations": [
1893
2014
  {
1894
2015
  "kind": "function",
1895
- "name": "foundationAccordionTemplate",
2016
+ "name": "foundationAccordionItemTemplate",
1896
2017
  "return": {
1897
2018
  "type": {
1898
- "text": "ViewTemplate<Accordion>"
2019
+ "text": "ViewTemplate<AccordionItem>"
1899
2020
  }
1900
2021
  },
1901
2022
  "parameters": [
@@ -1917,345 +2038,224 @@
1917
2038
  "exports": [
1918
2039
  {
1919
2040
  "kind": "js",
1920
- "name": "foundationAccordionTemplate",
2041
+ "name": "foundationAccordionItemTemplate",
1921
2042
  "declaration": {
1922
- "name": "foundationAccordionTemplate",
1923
- "module": "src/accordion/accordion.template.ts"
2043
+ "name": "foundationAccordionItemTemplate",
2044
+ "module": "src/accordion-item/accordion-item.template.ts"
1924
2045
  }
1925
2046
  }
1926
2047
  ]
1927
2048
  },
1928
2049
  {
1929
2050
  "kind": "javascript-module",
1930
- "path": "src/accordion/accordion.ts",
2051
+ "path": "src/accordion-item/accordion-item.ts",
1931
2052
  "declarations": [
1932
2053
  {
1933
2054
  "kind": "class",
1934
2055
  "description": "",
1935
- "name": "Accordion",
2056
+ "name": "AccordionItem",
1936
2057
  "superclass": {
1937
- "name": "FASTAccordion",
1938
- "package": "@microsoft/fast-foundation"
2058
+ "name": "FASTAccordionItem",
2059
+ "package": "@microsoft/fast-components"
1939
2060
  },
1940
- "tagName": "%%prefix%%-accordion",
2061
+ "tagName": "%%prefix%%-accordion-item",
1941
2062
  "customElement": true,
1942
2063
  "attributes": [
1943
2064
  {
1944
- "name": "expand-mode",
2065
+ "name": "heading-level",
1945
2066
  "type": {
1946
- "text": "AccordionExpandMode"
2067
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1947
2068
  },
1948
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1949
- "fieldName": "expandmode",
2069
+ "default": "2",
2070
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2071
+ "fieldName": "headinglevel",
1950
2072
  "inheritedFrom": {
1951
- "name": "Accordion",
1952
- "module": "src/accordion/accordion.ts"
2073
+ "name": "AccordionItem",
2074
+ "module": "src/accordion-item/accordion-item.ts"
2075
+ }
2076
+ },
2077
+ {
2078
+ "type": {
2079
+ "text": "boolean"
2080
+ },
2081
+ "default": "false",
2082
+ "description": "Expands or collapses the item.",
2083
+ "fieldName": "expanded",
2084
+ "inheritedFrom": {
2085
+ "name": "AccordionItem",
2086
+ "module": "src/accordion-item/accordion-item.ts"
2087
+ }
2088
+ },
2089
+ {
2090
+ "name": "id",
2091
+ "type": {
2092
+ "text": "string"
2093
+ },
2094
+ "description": "The item ID",
2095
+ "fieldName": "id",
2096
+ "inheritedFrom": {
2097
+ "name": "AccordionItem",
2098
+ "module": "src/accordion-item/accordion-item.ts"
1953
2099
  }
1954
2100
  }
1955
2101
  ],
1956
2102
  "members": [
1957
2103
  {
1958
2104
  "kind": "field",
1959
- "name": "expandmode",
2105
+ "name": "headinglevel",
1960
2106
  "type": {
1961
- "text": "AccordionExpandMode"
2107
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1962
2108
  },
1963
2109
  "privacy": "public",
1964
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2110
+ "default": "2",
2111
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1965
2112
  "inheritedFrom": {
1966
- "name": "Accordion",
1967
- "module": "src/accordion/accordion.ts"
2113
+ "name": "AccordionItem",
2114
+ "module": "src/accordion-item/accordion-item.ts"
1968
2115
  }
1969
2116
  },
1970
2117
  {
1971
2118
  "kind": "field",
1972
- "name": "activeid",
2119
+ "name": "expanded",
1973
2120
  "type": {
1974
- "text": "string | null"
2121
+ "text": "boolean"
1975
2122
  },
1976
- "privacy": "private",
2123
+ "privacy": "public",
2124
+ "default": "false",
2125
+ "description": "Expands or collapses the item.",
1977
2126
  "inheritedFrom": {
1978
- "name": "Accordion",
1979
- "module": "src/accordion/accordion.ts"
2127
+ "name": "AccordionItem",
2128
+ "module": "src/accordion-item/accordion-item.ts"
1980
2129
  }
1981
2130
  },
1982
2131
  {
1983
2132
  "kind": "field",
1984
- "name": "activeItemIndex",
2133
+ "name": "id",
1985
2134
  "type": {
1986
- "text": "number"
2135
+ "text": "string"
1987
2136
  },
1988
- "privacy": "private",
1989
- "default": "0",
2137
+ "privacy": "public",
2138
+ "description": "The item ID",
1990
2139
  "inheritedFrom": {
1991
- "name": "Accordion",
1992
- "module": "src/accordion/accordion.ts"
2140
+ "name": "AccordionItem",
2141
+ "module": "src/accordion-item/accordion-item.ts"
1993
2142
  }
1994
2143
  },
1995
2144
  {
1996
2145
  "kind": "field",
1997
- "name": "accordionIds",
1998
- "type": {
1999
- "text": "Array<string | null>"
2000
- },
2146
+ "name": "change",
2001
2147
  "privacy": "private",
2002
2148
  "inheritedFrom": {
2003
- "name": "Accordion",
2004
- "module": "src/accordion/accordion.ts"
2149
+ "name": "AccordionItem",
2150
+ "module": "src/accordion-item/accordion-item.ts"
2005
2151
  }
2006
2152
  },
2007
2153
  {
2008
2154
  "kind": "field",
2009
- "name": "change",
2155
+ "name": "_presentation",
2156
+ "type": {
2157
+ "text": "ComponentPresentation | null | undefined"
2158
+ },
2010
2159
  "privacy": "private",
2160
+ "default": "void 0",
2011
2161
  "inheritedFrom": {
2012
- "name": "Accordion",
2013
- "module": "src/accordion/accordion.ts"
2162
+ "name": "FoundationElement",
2163
+ "module": "src/foundation-element/foundation-element.ts"
2014
2164
  }
2015
2165
  },
2016
2166
  {
2017
- "kind": "method",
2018
- "name": "findExpandedItem",
2019
- "privacy": "private",
2020
- "return": {
2021
- "type": {
2022
- "text": "AccordionItem | null"
2023
- }
2167
+ "kind": "field",
2168
+ "name": "$presentation",
2169
+ "type": {
2170
+ "text": "ComponentPresentation | null"
2024
2171
  },
2172
+ "privacy": "public",
2173
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2025
2174
  "inheritedFrom": {
2026
- "name": "Accordion",
2027
- "module": "src/accordion/accordion.ts"
2175
+ "name": "FoundationElement",
2176
+ "module": "src/foundation-element/foundation-element.ts"
2028
2177
  }
2029
2178
  },
2030
2179
  {
2031
2180
  "kind": "field",
2032
- "name": "setItems",
2033
- "privacy": "private",
2181
+ "name": "template",
2182
+ "type": {
2183
+ "text": "ElementViewTemplate | void | null"
2184
+ },
2185
+ "privacy": "public",
2186
+ "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.",
2034
2187
  "inheritedFrom": {
2035
- "name": "Accordion",
2036
- "module": "src/accordion/accordion.ts"
2188
+ "name": "FoundationElement",
2189
+ "module": "src/foundation-element/foundation-element.ts"
2037
2190
  }
2038
2191
  },
2039
2192
  {
2040
2193
  "kind": "method",
2041
- "name": "resetItems",
2042
- "privacy": "private",
2194
+ "name": "templateChanged",
2195
+ "privacy": "protected",
2043
2196
  "return": {
2044
2197
  "type": {
2045
2198
  "text": "void"
2046
2199
  }
2047
2200
  },
2048
2201
  "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2051
- }
2052
- },
2053
- {
2054
- "kind": "field",
2055
- "name": "removeItemListeners",
2056
- "privacy": "private",
2057
- "inheritedFrom": {
2058
- "name": "Accordion",
2059
- "module": "src/accordion/accordion.ts"
2202
+ "name": "FoundationElement",
2203
+ "module": "src/foundation-element/foundation-element.ts"
2060
2204
  }
2061
2205
  },
2062
2206
  {
2063
2207
  "kind": "field",
2064
- "name": "activeItemChange",
2065
- "privacy": "private",
2208
+ "name": "styles",
2209
+ "type": {
2210
+ "text": "ElementStyles | void | null"
2211
+ },
2212
+ "privacy": "public",
2213
+ "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.",
2066
2214
  "inheritedFrom": {
2067
- "name": "Accordion",
2068
- "module": "src/accordion/accordion.ts"
2215
+ "name": "FoundationElement",
2216
+ "module": "src/foundation-element/foundation-element.ts"
2069
2217
  }
2070
2218
  },
2071
2219
  {
2072
2220
  "kind": "method",
2073
- "name": "getItemIds",
2074
- "privacy": "private",
2221
+ "name": "stylesChanged",
2222
+ "privacy": "protected",
2075
2223
  "return": {
2076
2224
  "type": {
2077
- "text": "Array<string | null>"
2225
+ "text": "void"
2078
2226
  }
2079
2227
  },
2080
2228
  "inheritedFrom": {
2081
- "name": "Accordion",
2082
- "module": "src/accordion/accordion.ts"
2229
+ "name": "FoundationElement",
2230
+ "module": "src/foundation-element/foundation-element.ts"
2083
2231
  }
2084
2232
  },
2085
2233
  {
2086
2234
  "kind": "method",
2087
- "name": "isSingleExpandMode",
2088
- "privacy": "private",
2235
+ "name": "compose",
2236
+ "privacy": "public",
2237
+ "static": true,
2089
2238
  "return": {
2090
2239
  "type": {
2091
- "text": "boolean"
2240
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2092
2241
  }
2093
2242
  },
2094
- "inheritedFrom": {
2095
- "name": "Accordion",
2096
- "module": "src/accordion/accordion.ts"
2097
- }
2098
- },
2099
- {
2100
- "kind": "field",
2101
- "name": "handleItemKeyDown",
2102
- "privacy": "private",
2103
- "inheritedFrom": {
2104
- "name": "Accordion",
2105
- "module": "src/accordion/accordion.ts"
2106
- }
2107
- },
2108
- {
2109
- "kind": "field",
2110
- "name": "handleItemFocus",
2111
- "privacy": "private",
2112
- "inheritedFrom": {
2113
- "name": "Accordion",
2114
- "module": "src/accordion/accordion.ts"
2115
- }
2116
- },
2117
- {
2118
- "kind": "method",
2119
- "name": "adjust",
2120
- "privacy": "private",
2121
- "return": {
2122
- "type": {
2123
- "text": "void"
2124
- }
2125
- },
2126
- "parameters": [
2127
- {
2128
- "name": "adjustment",
2129
- "type": {
2130
- "text": "number"
2131
- }
2132
- }
2133
- ],
2134
- "inheritedFrom": {
2135
- "name": "Accordion",
2136
- "module": "src/accordion/accordion.ts"
2137
- }
2138
- },
2139
- {
2140
- "kind": "method",
2141
- "name": "focusItem",
2142
- "privacy": "private",
2143
- "return": {
2144
- "type": {
2145
- "text": "void"
2146
- }
2147
- },
2148
- "inheritedFrom": {
2149
- "name": "Accordion",
2150
- "module": "src/accordion/accordion.ts"
2151
- }
2152
- },
2153
- {
2154
- "kind": "field",
2155
- "name": "_presentation",
2156
- "type": {
2157
- "text": "ComponentPresentation | null | undefined"
2158
- },
2159
- "privacy": "private",
2160
- "default": "void 0",
2161
- "inheritedFrom": {
2162
- "name": "FoundationElement",
2163
- "module": "src/foundation-element/foundation-element.ts"
2164
- }
2165
- },
2166
- {
2167
- "kind": "field",
2168
- "name": "$presentation",
2169
- "type": {
2170
- "text": "ComponentPresentation | null"
2171
- },
2172
- "privacy": "public",
2173
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2174
- "inheritedFrom": {
2175
- "name": "FoundationElement",
2176
- "module": "src/foundation-element/foundation-element.ts"
2177
- }
2178
- },
2179
- {
2180
- "kind": "field",
2181
- "name": "template",
2182
- "type": {
2183
- "text": "ElementViewTemplate | void | null"
2184
- },
2185
- "privacy": "public",
2186
- "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.",
2187
- "inheritedFrom": {
2188
- "name": "FoundationElement",
2189
- "module": "src/foundation-element/foundation-element.ts"
2190
- }
2191
- },
2192
- {
2193
- "kind": "method",
2194
- "name": "templateChanged",
2195
- "privacy": "protected",
2196
- "return": {
2197
- "type": {
2198
- "text": "void"
2199
- }
2200
- },
2201
- "inheritedFrom": {
2202
- "name": "FoundationElement",
2203
- "module": "src/foundation-element/foundation-element.ts"
2204
- }
2205
- },
2206
- {
2207
- "kind": "field",
2208
- "name": "styles",
2209
- "type": {
2210
- "text": "ElementStyles | void | null"
2211
- },
2212
- "privacy": "public",
2213
- "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.",
2214
- "inheritedFrom": {
2215
- "name": "FoundationElement",
2216
- "module": "src/foundation-element/foundation-element.ts"
2217
- }
2218
- },
2219
- {
2220
- "kind": "method",
2221
- "name": "stylesChanged",
2222
- "privacy": "protected",
2223
- "return": {
2224
- "type": {
2225
- "text": "void"
2226
- }
2227
- },
2228
- "inheritedFrom": {
2229
- "name": "FoundationElement",
2230
- "module": "src/foundation-element/foundation-element.ts"
2231
- }
2232
- },
2233
- {
2234
- "kind": "method",
2235
- "name": "compose",
2236
- "privacy": "public",
2237
- "static": true,
2238
- "return": {
2239
- "type": {
2240
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2241
- }
2242
- },
2243
- "parameters": [
2244
- {
2245
- "name": "this",
2246
- "type": {
2247
- "text": "K"
2248
- }
2249
- },
2250
- {
2251
- "name": "elementDefinition",
2252
- "type": {
2253
- "text": "T"
2254
- },
2255
- "description": "The definition of the element to create the registry\nfunction for."
2256
- }
2257
- ],
2258
- "description": "Defines an element registry function with a set of element definition defaults.",
2243
+ "parameters": [
2244
+ {
2245
+ "name": "this",
2246
+ "type": {
2247
+ "text": "K"
2248
+ }
2249
+ },
2250
+ {
2251
+ "name": "elementDefinition",
2252
+ "type": {
2253
+ "text": "T"
2254
+ },
2255
+ "description": "The definition of the element to create the registry\nfunction for."
2256
+ }
2257
+ ],
2258
+ "description": "Defines an element registry function with a set of element definition defaults.",
2259
2259
  "inheritedFrom": {
2260
2260
  "name": "FoundationElement",
2261
2261
  "module": "src/foundation-element/foundation-element.ts"
@@ -2264,18 +2264,18 @@
2264
2264
  ],
2265
2265
  "events": [
2266
2266
  {
2267
- "description": "Fires a custom 'change' event when the active item changes",
2267
+ "description": "Fires a custom 'change' event when the button is invoked",
2268
2268
  "name": "change",
2269
2269
  "inheritedFrom": {
2270
- "name": "Accordion",
2271
- "module": "src/accordion/accordion.ts"
2270
+ "name": "AccordionItem",
2271
+ "module": "src/accordion-item/accordion-item.ts"
2272
2272
  }
2273
2273
  }
2274
2274
  ]
2275
2275
  },
2276
2276
  {
2277
2277
  "kind": "variable",
2278
- "name": "foundationAccordionShadowOptions",
2278
+ "name": "foundationAccordionItemShadowOptions",
2279
2279
  "type": {
2280
2280
  "text": "ShadowRootInit"
2281
2281
  },
@@ -2283,57 +2283,57 @@
2283
2283
  },
2284
2284
  {
2285
2285
  "kind": "variable",
2286
- "name": "defaultAccordionConfig",
2286
+ "name": "defaultAccordionItemConfig",
2287
2287
  "type": {
2288
2288
  "text": "object"
2289
2289
  },
2290
- "default": "{}"
2290
+ "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}"
2291
2291
  },
2292
2292
  {
2293
2293
  "kind": "variable",
2294
- "name": "foundationAccordion",
2295
- "description": "The Foundation Accordion",
2294
+ "name": "foundationAccordionItem",
2295
+ "description": "The Foundation Accordion Item",
2296
2296
  "privacy": "public"
2297
2297
  }
2298
2298
  ],
2299
2299
  "exports": [
2300
2300
  {
2301
2301
  "kind": "js",
2302
- "name": "Accordion",
2302
+ "name": "AccordionItem",
2303
2303
  "declaration": {
2304
- "name": "Accordion",
2305
- "module": "src/accordion/accordion.ts"
2304
+ "name": "AccordionItem",
2305
+ "module": "src/accordion-item/accordion-item.ts"
2306
2306
  }
2307
2307
  },
2308
2308
  {
2309
2309
  "kind": "js",
2310
- "name": "foundationAccordionShadowOptions",
2310
+ "name": "foundationAccordionItemShadowOptions",
2311
2311
  "declaration": {
2312
- "name": "foundationAccordionShadowOptions",
2313
- "module": "src/accordion/accordion.ts"
2312
+ "name": "foundationAccordionItemShadowOptions",
2313
+ "module": "src/accordion-item/accordion-item.ts"
2314
2314
  }
2315
2315
  },
2316
2316
  {
2317
2317
  "kind": "js",
2318
- "name": "defaultAccordionConfig",
2318
+ "name": "defaultAccordionItemConfig",
2319
2319
  "declaration": {
2320
- "name": "defaultAccordionConfig",
2321
- "module": "src/accordion/accordion.ts"
2320
+ "name": "defaultAccordionItemConfig",
2321
+ "module": "src/accordion-item/accordion-item.ts"
2322
2322
  }
2323
2323
  },
2324
2324
  {
2325
2325
  "kind": "js",
2326
- "name": "foundationAccordion",
2326
+ "name": "foundationAccordionItem",
2327
2327
  "declaration": {
2328
- "name": "foundationAccordion",
2329
- "module": "src/accordion/accordion.ts"
2328
+ "name": "foundationAccordionItem",
2329
+ "module": "src/accordion-item/accordion-item.ts"
2330
2330
  }
2331
2331
  }
2332
2332
  ]
2333
2333
  },
2334
2334
  {
2335
2335
  "kind": "javascript-module",
2336
- "path": "src/accordion/index.ts",
2336
+ "path": "src/accordion-item/index.ts",
2337
2337
  "declarations": [],
2338
2338
  "exports": [
2339
2339
  {
@@ -2341,7 +2341,7 @@
2341
2341
  "name": "*",
2342
2342
  "declaration": {
2343
2343
  "name": "*",
2344
- "package": "./accordion.template"
2344
+ "package": "./accordion-item.template"
2345
2345
  }
2346
2346
  },
2347
2347
  {
@@ -2349,7 +2349,7 @@
2349
2349
  "name": "*",
2350
2350
  "declaration": {
2351
2351
  "name": "*",
2352
- "package": "./accordion.styles"
2352
+ "package": "./accordion-item.styles"
2353
2353
  }
2354
2354
  },
2355
2355
  {
@@ -2357,210 +2357,122 @@
2357
2357
  "name": "*",
2358
2358
  "declaration": {
2359
2359
  "name": "*",
2360
- "package": "./accordion"
2360
+ "package": "./accordion-item"
2361
2361
  }
2362
2362
  }
2363
2363
  ]
2364
2364
  },
2365
2365
  {
2366
2366
  "kind": "javascript-module",
2367
- "path": "src/actions-menu/actions-menu.styles.ts",
2367
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2368
2368
  "declarations": [
2369
2369
  {
2370
- "kind": "function",
2371
- "name": "actionsMenuBaseStyles",
2372
- "return": {
2373
- "type": {
2374
- "text": "ElementStyles"
2375
- }
2376
- },
2377
- "parameters": [
2378
- {
2379
- "name": "context",
2380
- "type": {
2381
- "text": "ElementDefinitionContext"
2382
- }
2383
- },
2384
- {
2385
- "name": "definition",
2386
- "type": {
2387
- "text": "FoundationElementDefinition"
2388
- }
2389
- }
2390
- ]
2391
- },
2392
- {
2393
- "kind": "function",
2394
- "name": "foundationActionsMenuStyles",
2395
- "return": {
2396
- "type": {
2397
- "text": "ElementStyles"
2398
- }
2399
- },
2400
- "parameters": [
2401
- {
2402
- "name": "context",
2403
- "type": {
2404
- "text": "ElementDefinitionContext"
2405
- }
2406
- },
2407
- {
2408
- "name": "definition",
2409
- "type": {
2410
- "text": "FoundationElementDefinition"
2411
- }
2412
- }
2413
- ]
2370
+ "kind": "variable",
2371
+ "name": "foundationAiCriteriaSearchStyles",
2372
+ "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`"
2414
2373
  }
2415
2374
  ],
2416
2375
  "exports": [
2417
2376
  {
2418
2377
  "kind": "js",
2419
- "name": "actionsMenuBaseStyles",
2420
- "declaration": {
2421
- "name": "actionsMenuBaseStyles",
2422
- "module": "src/actions-menu/actions-menu.styles.ts"
2423
- }
2424
- },
2425
- {
2426
- "kind": "js",
2427
- "name": "foundationActionsMenuStyles",
2378
+ "name": "foundationAiCriteriaSearchStyles",
2428
2379
  "declaration": {
2429
- "name": "foundationActionsMenuStyles",
2430
- "module": "src/actions-menu/actions-menu.styles.ts"
2380
+ "name": "foundationAiCriteriaSearchStyles",
2381
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2431
2382
  }
2432
2383
  }
2433
2384
  ]
2434
2385
  },
2435
2386
  {
2436
2387
  "kind": "javascript-module",
2437
- "path": "src/actions-menu/actions-menu.template.ts",
2388
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2438
2389
  "declarations": [
2439
- {
2440
- "kind": "function",
2441
- "name": "menuTemplate",
2442
- "parameters": [
2443
- {
2444
- "name": "prefix",
2445
- "type": {
2446
- "text": "string"
2447
- }
2448
- }
2449
- ]
2450
- },
2451
- {
2452
- "kind": "function",
2453
- "name": "singleOptionTemplate",
2454
- "parameters": [
2455
- {
2456
- "name": "prefix",
2457
- "type": {
2458
- "text": "string"
2459
- }
2460
- }
2461
- ]
2462
- },
2463
2390
  {
2464
2391
  "kind": "variable",
2465
- "name": "foundationActionsMenuTemplate",
2392
+ "name": "foundationAiCriteriaSearchTemplate",
2466
2393
  "type": {
2467
- "text": "ViewTemplate<ActionsMenu>"
2394
+ "text": "ViewTemplate<AiCriteriaSearch>"
2468
2395
  },
2469
- "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`"
2396
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2470
2397
  }
2471
2398
  ],
2472
2399
  "exports": [
2473
2400
  {
2474
2401
  "kind": "js",
2475
- "name": "menuTemplate",
2476
- "declaration": {
2477
- "name": "menuTemplate",
2478
- "module": "src/actions-menu/actions-menu.template.ts"
2479
- }
2480
- },
2481
- {
2482
- "kind": "js",
2483
- "name": "singleOptionTemplate",
2484
- "declaration": {
2485
- "name": "singleOptionTemplate",
2486
- "module": "src/actions-menu/actions-menu.template.ts"
2487
- }
2488
- },
2489
- {
2490
- "kind": "js",
2491
- "name": "foundationActionsMenuTemplate",
2402
+ "name": "foundationAiCriteriaSearchTemplate",
2492
2403
  "declaration": {
2493
- "name": "foundationActionsMenuTemplate",
2494
- "module": "src/actions-menu/actions-menu.template.ts"
2404
+ "name": "foundationAiCriteriaSearchTemplate",
2405
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2495
2406
  }
2496
2407
  }
2497
2408
  ]
2498
2409
  },
2499
2410
  {
2500
2411
  "kind": "javascript-module",
2501
- "path": "src/actions-menu/actions-menu.ts",
2412
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2502
2413
  "declarations": [
2503
2414
  {
2504
2415
  "kind": "class",
2505
- "description": "",
2506
- "name": "ActionsMenu",
2416
+ "description": "Natural-language criteria search input with AI interpretation.",
2417
+ "name": "AiCriteriaSearch",
2507
2418
  "members": [
2508
2419
  {
2509
2420
  "kind": "field",
2510
- "name": "actions",
2421
+ "name": "providerRegistry",
2511
2422
  "type": {
2512
- "text": "ActionMenuItem[]"
2423
+ "text": "AIProviderRegistry"
2513
2424
  }
2514
2425
  },
2515
2426
  {
2516
2427
  "kind": "field",
2517
- "name": "isVertical",
2428
+ "name": "placeholder",
2518
2429
  "type": {
2519
- "text": "boolean"
2430
+ "text": "string"
2520
2431
  },
2521
- "default": "false"
2432
+ "default": "'Describe your search criteria in natural language...'"
2522
2433
  },
2523
2434
  {
2524
2435
  "kind": "field",
2525
- "name": "addDefaultActions",
2436
+ "name": "disabled",
2526
2437
  "type": {
2527
2438
  "text": "boolean"
2528
- },
2529
- "default": "true"
2439
+ }
2530
2440
  },
2531
2441
  {
2532
2442
  "kind": "field",
2533
- "name": "autoCloseOnAction",
2443
+ "name": "inputValue",
2534
2444
  "type": {
2535
- "text": "boolean"
2445
+ "text": "string"
2536
2446
  },
2537
- "default": "true"
2447
+ "default": "''"
2538
2448
  },
2539
2449
  {
2540
2450
  "kind": "field",
2541
- "name": "classNames",
2451
+ "name": "isInterpreting",
2542
2452
  "type": {
2543
- "text": "string"
2544
- }
2453
+ "text": "boolean"
2454
+ },
2455
+ "default": "false"
2545
2456
  },
2546
2457
  {
2547
2458
  "kind": "field",
2548
- "name": "definition",
2459
+ "name": "lastValidCriteria",
2549
2460
  "type": {
2550
- "text": "any"
2551
- }
2461
+ "text": "string | null"
2462
+ },
2463
+ "default": "null"
2552
2464
  },
2553
2465
  {
2554
2466
  "kind": "field",
2555
- "name": "name",
2467
+ "name": "activeGroups",
2556
2468
  "type": {
2557
- "text": "string"
2469
+ "text": "CriteriaGroup[]"
2558
2470
  },
2559
- "default": "'Actions'"
2471
+ "default": "[]"
2560
2472
  },
2561
2473
  {
2562
2474
  "kind": "field",
2563
- "name": "open",
2475
+ "name": "showingChips",
2564
2476
  "type": {
2565
2477
  "text": "boolean"
2566
2478
  },
@@ -2568,14 +2480,15 @@
2568
2480
  },
2569
2481
  {
2570
2482
  "kind": "field",
2571
- "name": "buttonAppearance",
2483
+ "name": "fieldMetadata",
2572
2484
  "type": {
2573
- "text": "string"
2574
- }
2485
+ "text": "MetadataDetail[] | string[]"
2486
+ },
2487
+ "default": "[]"
2575
2488
  },
2576
2489
  {
2577
2490
  "kind": "field",
2578
- "name": "hideDisabled",
2491
+ "name": "isRecording",
2579
2492
  "type": {
2580
2493
  "text": "boolean"
2581
2494
  },
@@ -2583,114 +2496,125 @@
2583
2496
  },
2584
2497
  {
2585
2498
  "kind": "field",
2586
- "name": "hideMenuSingleOption",
2499
+ "name": "textAreaRef",
2587
2500
  "type": {
2588
- "text": "boolean"
2501
+ "text": "HTMLTextAreaElement"
2589
2502
  },
2590
- "default": "false"
2503
+ "privacy": "public"
2591
2504
  },
2592
2505
  {
2593
2506
  "kind": "field",
2594
- "name": "singleOption",
2507
+ "name": "stopRecording",
2595
2508
  "type": {
2596
- "text": "ActionMenuItem"
2597
- }
2509
+ "text": "(() => void) | null"
2510
+ },
2511
+ "privacy": "private",
2512
+ "default": "null"
2598
2513
  },
2599
2514
  {
2600
2515
  "kind": "field",
2601
- "name": "actionsMenu",
2516
+ "name": "speechApplyDebounceTimer",
2602
2517
  "type": {
2603
- "text": "HTMLElement"
2604
- }
2518
+ "text": "ReturnType<typeof setTimeout> | null"
2519
+ },
2520
+ "privacy": "private",
2521
+ "default": "null"
2605
2522
  },
2606
2523
  {
2607
2524
  "kind": "field",
2608
- "name": "actionsOpener",
2525
+ "name": "speechAvailable",
2609
2526
  "type": {
2610
- "text": "HTMLElement"
2611
- }
2527
+ "text": "boolean"
2528
+ },
2529
+ "readonly": true
2612
2530
  },
2613
2531
  {
2614
- "kind": "method",
2615
- "name": "updateMenuPosition",
2616
- "privacy": "private"
2532
+ "kind": "field",
2533
+ "name": "criteriaChips",
2534
+ "type": {
2535
+ "text": "CriteriaChip[]"
2536
+ },
2537
+ "readonly": true
2617
2538
  },
2618
2539
  {
2619
2540
  "kind": "method",
2620
- "name": "definitionChanged",
2621
- "privacy": "protected",
2541
+ "name": "getFieldLabel",
2542
+ "privacy": "private",
2543
+ "return": {
2544
+ "type": {
2545
+ "text": "string"
2546
+ }
2547
+ },
2622
2548
  "parameters": [
2623
2549
  {
2624
- "name": "oldValue",
2625
- "type": {
2626
- "text": "any"
2627
- }
2628
- },
2629
- {
2630
- "name": "newValue",
2550
+ "name": "fieldName",
2631
2551
  "type": {
2632
- "text": "any"
2552
+ "text": "string"
2633
2553
  }
2634
2554
  }
2635
2555
  ]
2636
2556
  },
2637
2557
  {
2638
2558
  "kind": "method",
2639
- "name": "openChanged",
2640
- "privacy": "protected"
2641
- },
2642
- {
2643
- "kind": "method",
2644
- "name": "toggleActionsMenuVisibility"
2559
+ "name": "toggleCriteriaView",
2560
+ "return": {
2561
+ "type": {
2562
+ "text": "void"
2563
+ }
2564
+ }
2645
2565
  },
2646
2566
  {
2647
2567
  "kind": "method",
2648
- "name": "onActionMenuItemClick",
2568
+ "name": "removeChip",
2569
+ "return": {
2570
+ "type": {
2571
+ "text": "void"
2572
+ }
2573
+ },
2649
2574
  "parameters": [
2650
2575
  {
2651
- "name": "callback",
2576
+ "name": "groupIndex",
2652
2577
  "type": {
2653
- "text": "(rowData) => void | any"
2578
+ "text": "number"
2579
+ }
2580
+ },
2581
+ {
2582
+ "name": "clauseIndex",
2583
+ "type": {
2584
+ "text": "number"
2654
2585
  }
2655
2586
  }
2656
2587
  ]
2657
2588
  },
2658
2589
  {
2659
- "kind": "field",
2660
- "name": "allActions",
2661
- "type": {
2662
- "text": "ActionMenuItem[]"
2663
- },
2664
- "readonly": true
2590
+ "kind": "method",
2591
+ "name": "clearChips",
2592
+ "return": {
2593
+ "type": {
2594
+ "text": "void"
2595
+ }
2596
+ }
2665
2597
  },
2666
2598
  {
2667
- "kind": "field",
2668
- "name": "rowData",
2669
- "readonly": true
2599
+ "kind": "method",
2600
+ "name": "handleSubmit"
2670
2601
  },
2671
2602
  {
2672
2603
  "kind": "method",
2673
- "name": "getLabel",
2674
- "parameters": [
2675
- {
2676
- "name": "name",
2677
- "type": {
2678
- "text": "string | ((rowData: any) => string)"
2679
- }
2680
- }
2681
- ]
2604
+ "name": "handleBlur"
2682
2605
  },
2683
2606
  {
2684
2607
  "kind": "method",
2685
- "name": "getTemplate",
2686
- "parameters": [
2687
- {
2688
- "name": "prefix",
2689
- "type": {
2690
- "text": "string"
2691
- }
2692
- }
2693
- ]
2608
+ "name": "clear"
2609
+ },
2610
+ {
2611
+ "kind": "method",
2612
+ "name": "toggleSpeechInput"
2613
+ },
2614
+ {
2615
+ "kind": "method",
2616
+ "name": "clearSpeechApplyDebounce",
2617
+ "privacy": "private"
2694
2618
  },
2695
2619
  {
2696
2620
  "kind": "field",
@@ -2804,115 +2728,154 @@
2804
2728
  }
2805
2729
  }
2806
2730
  ],
2807
- "attributes": [
2808
- {
2809
- "name": "is-vertical",
2810
- "type": {
2811
- "text": "boolean"
2812
- },
2813
- "default": "false",
2814
- "fieldName": "isVertical"
2815
- },
2816
- {
2817
- "name": "add-default-actions",
2818
- "type": {
2819
- "text": "boolean"
2820
- },
2821
- "default": "true",
2822
- "fieldName": "addDefaultActions"
2823
- },
2824
- {
2825
- "name": "auto-close-on-action",
2826
- "type": {
2827
- "text": "boolean"
2828
- },
2829
- "default": "true",
2830
- "fieldName": "autoCloseOnAction"
2831
- },
2832
- {
2833
- "name": "name",
2834
- "type": {
2835
- "text": "string"
2836
- },
2837
- "default": "'Actions'",
2838
- "fieldName": "name"
2839
- },
2731
+ "events": [
2840
2732
  {
2841
- "name": "open",
2842
- "type": {
2843
- "text": "boolean"
2844
- },
2845
- "default": "false",
2846
- "fieldName": "open"
2733
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2734
+ "name": "criteria-changed"
2847
2735
  },
2848
2736
  {
2849
- "name": "buttonAppearance",
2850
- "type": {
2851
- "text": "string"
2852
- },
2853
- "fieldName": "buttonAppearance"
2854
- },
2737
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2738
+ "name": "validation-errors"
2739
+ }
2740
+ ],
2741
+ "attributes": [
2855
2742
  {
2856
- "name": "hide-disabled",
2743
+ "name": "placeholder",
2857
2744
  "type": {
2858
- "text": "boolean"
2745
+ "text": "string"
2859
2746
  },
2860
- "default": "false",
2861
- "fieldName": "hideDisabled"
2747
+ "default": "'Describe your search criteria in natural language...'",
2748
+ "fieldName": "placeholder"
2862
2749
  },
2863
2750
  {
2864
- "name": "hide-menu-single-option",
2865
2751
  "type": {
2866
2752
  "text": "boolean"
2867
2753
  },
2868
- "default": "false",
2869
- "fieldName": "hideMenuSingleOption"
2754
+ "fieldName": "disabled"
2870
2755
  }
2871
2756
  ],
2872
2757
  "superclass": {
2873
2758
  "name": "FoundationElement",
2874
2759
  "package": "@microsoft/fast-foundation"
2875
2760
  },
2876
- "tagName": "%%prefix%%-actions-menu",
2761
+ "tagName": "%%prefix%%-ai-criteria-search",
2877
2762
  "customElement": true
2878
2763
  },
2879
2764
  {
2880
2765
  "kind": "variable",
2881
- "name": "foundationActionsMenu",
2882
- "description": "The Foundation Actions Menu",
2883
- "privacy": "public"
2766
+ "name": "foundationAiCriteriaSearchShadowOptions",
2767
+ "type": {
2768
+ "text": "ShadowRootInit"
2769
+ },
2770
+ "default": "undefined"
2771
+ },
2772
+ {
2773
+ "kind": "variable",
2774
+ "name": "defaultAiCriteriaSearchConfig",
2775
+ "type": {
2776
+ "text": "object"
2777
+ },
2778
+ "default": "{}"
2779
+ },
2780
+ {
2781
+ "kind": "variable",
2782
+ "name": "foundationAiCriteriaSearch"
2884
2783
  }
2885
2784
  ],
2886
2785
  "exports": [
2887
2786
  {
2888
2787
  "kind": "js",
2889
- "name": "ActionsMenu",
2788
+ "name": "AiCriteriaSearch",
2890
2789
  "declaration": {
2891
- "name": "ActionsMenu",
2892
- "module": "src/actions-menu/actions-menu.ts"
2790
+ "name": "AiCriteriaSearch",
2791
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2893
2792
  }
2894
2793
  },
2895
2794
  {
2896
2795
  "kind": "js",
2897
- "name": "foundationActionsMenu",
2796
+ "name": "foundationAiCriteriaSearchShadowOptions",
2898
2797
  "declaration": {
2899
- "name": "foundationActionsMenu",
2900
- "module": "src/actions-menu/actions-menu.ts"
2798
+ "name": "foundationAiCriteriaSearchShadowOptions",
2799
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2800
+ }
2801
+ },
2802
+ {
2803
+ "kind": "js",
2804
+ "name": "defaultAiCriteriaSearchConfig",
2805
+ "declaration": {
2806
+ "name": "defaultAiCriteriaSearchConfig",
2807
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2808
+ }
2809
+ },
2810
+ {
2811
+ "kind": "js",
2812
+ "name": "foundationAiCriteriaSearch",
2813
+ "declaration": {
2814
+ "name": "foundationAiCriteriaSearch",
2815
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2901
2816
  }
2902
2817
  }
2903
2818
  ]
2904
2819
  },
2905
2820
  {
2906
2821
  "kind": "javascript-module",
2907
- "path": "src/actions-menu/index.ts",
2822
+ "path": "src/ai-criteria-search/index.ts",
2908
2823
  "declarations": [],
2909
2824
  "exports": [
2825
+ {
2826
+ "kind": "js",
2827
+ "name": "AiCriteriaSearch",
2828
+ "declaration": {
2829
+ "name": "AiCriteriaSearch",
2830
+ "module": "./ai-criteria-search"
2831
+ }
2832
+ },
2833
+ {
2834
+ "kind": "js",
2835
+ "name": "defaultAiCriteriaSearchConfig",
2836
+ "declaration": {
2837
+ "name": "defaultAiCriteriaSearchConfig",
2838
+ "module": "./ai-criteria-search"
2839
+ }
2840
+ },
2841
+ {
2842
+ "kind": "js",
2843
+ "name": "foundationAiCriteriaSearch",
2844
+ "declaration": {
2845
+ "name": "foundationAiCriteriaSearch",
2846
+ "module": "./ai-criteria-search"
2847
+ }
2848
+ },
2849
+ {
2850
+ "kind": "js",
2851
+ "name": "foundationAiCriteriaSearchShadowOptions",
2852
+ "declaration": {
2853
+ "name": "foundationAiCriteriaSearchShadowOptions",
2854
+ "module": "./ai-criteria-search"
2855
+ }
2856
+ },
2857
+ {
2858
+ "kind": "js",
2859
+ "name": "foundationAiCriteriaSearchStyles",
2860
+ "declaration": {
2861
+ "name": "foundationAiCriteriaSearchStyles",
2862
+ "module": "./ai-criteria-search.styles"
2863
+ }
2864
+ },
2865
+ {
2866
+ "kind": "js",
2867
+ "name": "foundationAiCriteriaSearchTemplate",
2868
+ "declaration": {
2869
+ "name": "foundationAiCriteriaSearchTemplate",
2870
+ "module": "./ai-criteria-search.template"
2871
+ }
2872
+ },
2910
2873
  {
2911
2874
  "kind": "js",
2912
2875
  "name": "*",
2913
2876
  "declaration": {
2914
2877
  "name": "*",
2915
- "package": "./actions-menu.styles"
2878
+ "package": "./validation/criteria-ir"
2916
2879
  }
2917
2880
  },
2918
2881
  {
@@ -2920,7 +2883,7 @@
2920
2883
  "name": "*",
2921
2884
  "declaration": {
2922
2885
  "name": "*",
2923
- "package": "./actions-menu.template"
2886
+ "package": "./validation/operator-map"
2924
2887
  }
2925
2888
  },
2926
2889
  {
@@ -2928,64 +2891,157 @@
2928
2891
  "name": "*",
2929
2892
  "declaration": {
2930
2893
  "name": "*",
2931
- "package": "./actions-menu"
2894
+ "package": "./validation/schema-validator"
2932
2895
  }
2933
2896
  }
2934
2897
  ]
2935
2898
  },
2936
2899
  {
2937
2900
  "kind": "javascript-module",
2938
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2901
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2939
2902
  "declarations": [
2940
2903
  {
2941
- "kind": "variable",
2942
- "name": "foundationAiCriteriaSearchStyles",
2943
- "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`"
2904
+ "kind": "function",
2905
+ "name": "formatValidationErrors",
2906
+ "return": {
2907
+ "type": {
2908
+ "text": "string"
2909
+ }
2910
+ },
2911
+ "parameters": [
2912
+ {
2913
+ "name": "errors",
2914
+ "type": {
2915
+ "text": "ValidationError[]"
2916
+ }
2917
+ }
2918
+ ],
2919
+ "description": "Formats validation errors into a user-friendly message."
2920
+ },
2921
+ {
2922
+ "kind": "function",
2923
+ "name": "showCriteriaError",
2924
+ "return": {
2925
+ "type": {
2926
+ "text": "void"
2927
+ }
2928
+ },
2929
+ "parameters": [
2930
+ {
2931
+ "name": "title",
2932
+ "type": {
2933
+ "text": "string"
2934
+ },
2935
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2936
+ },
2937
+ {
2938
+ "name": "body",
2939
+ "type": {
2940
+ "text": "string"
2941
+ },
2942
+ "description": "Error message to display"
2943
+ },
2944
+ {
2945
+ "name": "tagName",
2946
+ "type": {
2947
+ "text": "string"
2948
+ },
2949
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2950
+ }
2951
+ ],
2952
+ "description": "Shows a criteria error as a toast notification."
2944
2953
  }
2945
2954
  ],
2946
2955
  "exports": [
2947
2956
  {
2948
2957
  "kind": "js",
2949
- "name": "foundationAiCriteriaSearchStyles",
2958
+ "name": "formatValidationErrors",
2950
2959
  "declaration": {
2951
- "name": "foundationAiCriteriaSearchStyles",
2952
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2960
+ "name": "formatValidationErrors",
2961
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2962
+ }
2963
+ },
2964
+ {
2965
+ "kind": "js",
2966
+ "name": "showCriteriaError",
2967
+ "declaration": {
2968
+ "name": "showCriteriaError",
2969
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2953
2970
  }
2954
2971
  }
2955
2972
  ]
2956
2973
  },
2957
2974
  {
2958
2975
  "kind": "javascript-module",
2959
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2976
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2977
+ "declarations": [
2978
+ {
2979
+ "kind": "function",
2980
+ "name": "foundationAiIndicatorStyles",
2981
+ "return": {
2982
+ "type": {
2983
+ "text": "ElementStyles"
2984
+ }
2985
+ },
2986
+ "parameters": [
2987
+ {
2988
+ "name": "context",
2989
+ "type": {
2990
+ "text": "ElementDefinitionContext"
2991
+ }
2992
+ },
2993
+ {
2994
+ "name": "definition",
2995
+ "type": {
2996
+ "text": "FoundationElementDefinition"
2997
+ }
2998
+ }
2999
+ ]
3000
+ }
3001
+ ],
3002
+ "exports": [
3003
+ {
3004
+ "kind": "js",
3005
+ "name": "foundationAiIndicatorStyles",
3006
+ "declaration": {
3007
+ "name": "foundationAiIndicatorStyles",
3008
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3009
+ }
3010
+ }
3011
+ ]
3012
+ },
3013
+ {
3014
+ "kind": "javascript-module",
3015
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2960
3016
  "declarations": [
2961
3017
  {
2962
3018
  "kind": "variable",
2963
- "name": "foundationAiCriteriaSearchTemplate",
3019
+ "name": "foundationAiIndicatorTemplate",
2964
3020
  "type": {
2965
- "text": "ViewTemplate<AiCriteriaSearch>"
3021
+ "text": "ViewTemplate<AiIndicator>"
2966
3022
  },
2967
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3023
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2968
3024
  }
2969
3025
  ],
2970
3026
  "exports": [
2971
3027
  {
2972
3028
  "kind": "js",
2973
- "name": "foundationAiCriteriaSearchTemplate",
3029
+ "name": "foundationAiIndicatorTemplate",
2974
3030
  "declaration": {
2975
- "name": "foundationAiCriteriaSearchTemplate",
2976
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3031
+ "name": "foundationAiIndicatorTemplate",
3032
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2977
3033
  }
2978
3034
  }
2979
3035
  ]
2980
3036
  },
2981
3037
  {
2982
3038
  "kind": "javascript-module",
2983
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3039
+ "path": "src/ai-indicator/ai-indicator.ts",
2984
3040
  "declarations": [
2985
3041
  {
2986
3042
  "kind": "class",
2987
- "description": "Natural-language criteria search input with AI interpretation.",
2988
- "name": "AiCriteriaSearch",
3043
+ "description": "",
3044
+ "name": "AiIndicator",
2989
3045
  "members": [
2990
3046
  {
2991
3047
  "kind": "field",
@@ -2996,54 +3052,25 @@
2996
3052
  },
2997
3053
  {
2998
3054
  "kind": "field",
2999
- "name": "placeholder",
3000
- "type": {
3001
- "text": "string"
3002
- },
3003
- "default": "'Describe your search criteria in natural language...'"
3004
- },
3005
- {
3006
- "kind": "field",
3007
- "name": "disabled",
3008
- "type": {
3009
- "text": "boolean"
3010
- }
3011
- },
3012
- {
3013
- "kind": "field",
3014
- "name": "inputValue",
3015
- "type": {
3016
- "text": "string"
3017
- },
3018
- "default": "''"
3019
- },
3020
- {
3021
- "kind": "field",
3022
- "name": "isInterpreting",
3055
+ "name": "aiProvider",
3023
3056
  "type": {
3024
- "text": "boolean"
3057
+ "text": "AIProvider | undefined"
3025
3058
  },
3026
- "default": "false"
3059
+ "privacy": "private",
3060
+ "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.",
3061
+ "readonly": true
3027
3062
  },
3028
3063
  {
3029
3064
  "kind": "field",
3030
- "name": "lastValidCriteria",
3065
+ "name": "status",
3031
3066
  "type": {
3032
- "text": "string | null"
3067
+ "text": "AIStatus | null"
3033
3068
  },
3034
3069
  "default": "null"
3035
3070
  },
3036
3071
  {
3037
3072
  "kind": "field",
3038
- "name": "activeGroups",
3039
- "type": {
3040
- "text": "CriteriaGroup[]"
3041
- },
3042
- "default": "[]"
3043
- },
3044
- {
3045
- "kind": "field",
3046
- "name": "showingChips",
3073
+ "name": "open",
3047
3074
  "type": {
3048
3075
  "text": "boolean"
3049
3076
  },
@@ -3051,15 +3078,15 @@
3051
3078
  },
3052
3079
  {
3053
3080
  "kind": "field",
3054
- "name": "fieldMetadata",
3081
+ "name": "state",
3055
3082
  "type": {
3056
- "text": "MetadataDetail[] | string[]"
3083
+ "text": "AIIndicatorState"
3057
3084
  },
3058
- "default": "[]"
3085
+ "default": "'none'"
3059
3086
  },
3060
3087
  {
3061
3088
  "kind": "field",
3062
- "name": "isRecording",
3089
+ "name": "isInstalling",
3063
3090
  "type": {
3064
3091
  "text": "boolean"
3065
3092
  },
@@ -3067,33 +3094,29 @@
3067
3094
  },
3068
3095
  {
3069
3096
  "kind": "field",
3070
- "name": "textAreaRef",
3097
+ "name": "pollTimer",
3071
3098
  "type": {
3072
- "text": "HTMLTextAreaElement"
3099
+ "text": "ReturnType<typeof setInterval> | null"
3073
3100
  },
3074
- "privacy": "public"
3101
+ "privacy": "private",
3102
+ "default": "null"
3075
3103
  },
3076
3104
  {
3077
3105
  "kind": "field",
3078
- "name": "stopRecording",
3079
- "type": {
3080
- "text": "(() => void) | null"
3081
- },
3082
- "privacy": "private",
3083
- "default": "null"
3106
+ "name": "clickOutside",
3107
+ "privacy": "private"
3084
3108
  },
3085
3109
  {
3086
3110
  "kind": "field",
3087
- "name": "speechApplyDebounceTimer",
3111
+ "name": "chromeStatusLabel",
3088
3112
  "type": {
3089
- "text": "ReturnType<typeof setTimeout> | null"
3113
+ "text": "string | null"
3090
3114
  },
3091
- "privacy": "private",
3092
- "default": "null"
3115
+ "readonly": true
3093
3116
  },
3094
3117
  {
3095
3118
  "kind": "field",
3096
- "name": "speechAvailable",
3119
+ "name": "canInstall",
3097
3120
  "type": {
3098
3121
  "text": "boolean"
3099
3122
  },
@@ -3101,65 +3124,69 @@
3101
3124
  },
3102
3125
  {
3103
3126
  "kind": "field",
3104
- "name": "criteriaChips",
3127
+ "name": "isDownloading",
3105
3128
  "type": {
3106
- "text": "CriteriaChip[]"
3129
+ "text": "boolean"
3107
3130
  },
3108
3131
  "readonly": true
3109
3132
  },
3110
3133
  {
3111
3134
  "kind": "method",
3112
- "name": "getFieldLabel",
3113
- "privacy": "private",
3135
+ "name": "openChanged",
3114
3136
  "return": {
3115
3137
  "type": {
3116
- "text": "string"
3138
+ "text": "void"
3117
3139
  }
3118
- },
3140
+ }
3141
+ },
3142
+ {
3143
+ "kind": "method",
3144
+ "name": "handleClickOutside",
3145
+ "privacy": "private",
3119
3146
  "parameters": [
3120
3147
  {
3121
- "name": "fieldName",
3148
+ "name": "event",
3122
3149
  "type": {
3123
- "text": "string"
3150
+ "text": "MouseEvent"
3124
3151
  }
3125
3152
  }
3126
3153
  ]
3127
3154
  },
3128
3155
  {
3129
3156
  "kind": "method",
3130
- "name": "toggleCriteriaView",
3157
+ "name": "toggleDropdown"
3158
+ },
3159
+ {
3160
+ "kind": "method",
3161
+ "name": "refreshStatus",
3131
3162
  "return": {
3132
3163
  "type": {
3133
- "text": "void"
3164
+ "text": "Promise<void>"
3134
3165
  }
3135
3166
  }
3136
3167
  },
3137
3168
  {
3138
3169
  "kind": "method",
3139
- "name": "removeChip",
3170
+ "name": "deriveState",
3171
+ "privacy": "private",
3140
3172
  "return": {
3141
3173
  "type": {
3142
- "text": "void"
3174
+ "text": "AIIndicatorState"
3143
3175
  }
3144
3176
  },
3145
3177
  "parameters": [
3146
3178
  {
3147
- "name": "groupIndex",
3148
- "type": {
3149
- "text": "number"
3150
- }
3151
- },
3152
- {
3153
- "name": "clauseIndex",
3179
+ "name": "s",
3154
3180
  "type": {
3155
- "text": "number"
3181
+ "text": "AIStatus | null"
3156
3182
  }
3157
3183
  }
3158
3184
  ]
3159
3185
  },
3160
3186
  {
3161
3187
  "kind": "method",
3162
- "name": "clearChips",
3188
+ "name": "maybeStartPolling",
3189
+ "privacy": "private",
3163
3190
  "return": {
3164
3191
  "type": {
3165
3192
  "text": "void"
@@ -3168,24 +3195,32 @@
3168
3195
  },
3169
3196
  {
3170
3197
  "kind": "method",
3171
- "name": "handleSubmit"
3172
- },
3173
- {
3174
- "kind": "method",
3175
- "name": "handleBlur"
3176
- },
3177
- {
3178
- "kind": "method",
3179
- "name": "clear"
3198
+ "name": "startPolling",
3199
+ "privacy": "private",
3200
+ "return": {
3201
+ "type": {
3202
+ "text": "void"
3203
+ }
3204
+ }
3180
3205
  },
3181
3206
  {
3182
3207
  "kind": "method",
3183
- "name": "toggleSpeechInput"
3208
+ "name": "stopPolling",
3209
+ "privacy": "private",
3210
+ "return": {
3211
+ "type": {
3212
+ "text": "void"
3213
+ }
3214
+ }
3184
3215
  },
3185
3216
  {
3186
3217
  "kind": "method",
3187
- "name": "clearSpeechApplyDebounce",
3188
- "privacy": "private"
3218
+ "name": "onInstall",
3219
+ "return": {
3220
+ "type": {
3221
+ "text": "Promise<void>"
3222
+ }
3223
+ }
3189
3224
  },
3190
3225
  {
3191
3226
  "kind": "field",
@@ -3299,499 +3334,421 @@
3299
3334
  }
3300
3335
  }
3301
3336
  ],
3302
- "events": [
3303
- {
3304
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3305
- "name": "criteria-changed"
3306
- },
3307
- {
3308
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3309
- "name": "validation-errors"
3310
- }
3311
- ],
3312
- "attributes": [
3313
- {
3314
- "name": "placeholder",
3315
- "type": {
3316
- "text": "string"
3317
- },
3318
- "default": "'Describe your search criteria in natural language...'",
3319
- "fieldName": "placeholder"
3320
- },
3321
- {
3322
- "type": {
3323
- "text": "boolean"
3324
- },
3325
- "fieldName": "disabled"
3326
- }
3327
- ],
3328
3337
  "superclass": {
3329
3338
  "name": "FoundationElement",
3330
3339
  "package": "@microsoft/fast-foundation"
3331
3340
  },
3332
- "tagName": "%%prefix%%-ai-criteria-search",
3341
+ "tagName": "%%prefix%%-ai-indicator",
3333
3342
  "customElement": true
3334
3343
  },
3335
3344
  {
3336
3345
  "kind": "variable",
3337
- "name": "foundationAiCriteriaSearchShadowOptions",
3338
- "type": {
3339
- "text": "ShadowRootInit"
3340
- },
3341
- "default": "undefined"
3342
- },
3343
- {
3344
- "kind": "variable",
3345
- "name": "defaultAiCriteriaSearchConfig",
3346
- "type": {
3347
- "text": "object"
3348
- },
3349
- "default": "{}"
3350
- },
3351
- {
3352
- "kind": "variable",
3353
- "name": "foundationAiCriteriaSearch"
3346
+ "name": "foundationAiIndicator"
3354
3347
  }
3355
3348
  ],
3356
3349
  "exports": [
3357
3350
  {
3358
3351
  "kind": "js",
3359
- "name": "AiCriteriaSearch",
3360
- "declaration": {
3361
- "name": "AiCriteriaSearch",
3362
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3363
- }
3364
- },
3365
- {
3366
- "kind": "js",
3367
- "name": "foundationAiCriteriaSearchShadowOptions",
3368
- "declaration": {
3369
- "name": "foundationAiCriteriaSearchShadowOptions",
3370
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3371
- }
3372
- },
3373
- {
3374
- "kind": "js",
3375
- "name": "defaultAiCriteriaSearchConfig",
3352
+ "name": "AiIndicator",
3376
3353
  "declaration": {
3377
- "name": "defaultAiCriteriaSearchConfig",
3378
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3354
+ "name": "AiIndicator",
3355
+ "module": "src/ai-indicator/ai-indicator.ts"
3379
3356
  }
3380
3357
  },
3381
3358
  {
3382
3359
  "kind": "js",
3383
- "name": "foundationAiCriteriaSearch",
3360
+ "name": "foundationAiIndicator",
3384
3361
  "declaration": {
3385
- "name": "foundationAiCriteriaSearch",
3386
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3362
+ "name": "foundationAiIndicator",
3363
+ "module": "src/ai-indicator/ai-indicator.ts"
3387
3364
  }
3388
3365
  }
3389
3366
  ]
3390
3367
  },
3391
3368
  {
3392
3369
  "kind": "javascript-module",
3393
- "path": "src/ai-criteria-search/index.ts",
3370
+ "path": "src/ai-indicator/index.ts",
3394
3371
  "declarations": [],
3395
3372
  "exports": [
3396
3373
  {
3397
3374
  "kind": "js",
3398
- "name": "AiCriteriaSearch",
3399
- "declaration": {
3400
- "name": "AiCriteriaSearch",
3401
- "module": "./ai-criteria-search"
3402
- }
3403
- },
3404
- {
3405
- "kind": "js",
3406
- "name": "defaultAiCriteriaSearchConfig",
3407
- "declaration": {
3408
- "name": "defaultAiCriteriaSearchConfig",
3409
- "module": "./ai-criteria-search"
3410
- }
3411
- },
3412
- {
3413
- "kind": "js",
3414
- "name": "foundationAiCriteriaSearch",
3415
- "declaration": {
3416
- "name": "foundationAiCriteriaSearch",
3417
- "module": "./ai-criteria-search"
3418
- }
3419
- },
3420
- {
3421
- "kind": "js",
3422
- "name": "foundationAiCriteriaSearchShadowOptions",
3375
+ "name": "AiIndicator",
3423
3376
  "declaration": {
3424
- "name": "foundationAiCriteriaSearchShadowOptions",
3425
- "module": "./ai-criteria-search"
3377
+ "name": "AiIndicator",
3378
+ "module": "./ai-indicator"
3426
3379
  }
3427
3380
  },
3428
3381
  {
3429
3382
  "kind": "js",
3430
- "name": "foundationAiCriteriaSearchStyles",
3383
+ "name": "foundationAiIndicator",
3431
3384
  "declaration": {
3432
- "name": "foundationAiCriteriaSearchStyles",
3433
- "module": "./ai-criteria-search.styles"
3385
+ "name": "foundationAiIndicator",
3386
+ "module": "./ai-indicator"
3434
3387
  }
3435
3388
  },
3436
3389
  {
3437
3390
  "kind": "js",
3438
- "name": "foundationAiCriteriaSearchTemplate",
3391
+ "name": "type",
3439
3392
  "declaration": {
3440
- "name": "foundationAiCriteriaSearchTemplate",
3441
- "module": "./ai-criteria-search.template"
3393
+ "name": "type",
3394
+ "module": "./ai-indicator"
3442
3395
  }
3443
3396
  },
3444
3397
  {
3445
3398
  "kind": "js",
3446
- "name": "*",
3399
+ "name": "AIIndicatorState",
3447
3400
  "declaration": {
3448
- "name": "*",
3449
- "package": "./validation/criteria-ir"
3401
+ "name": "AIIndicatorState",
3402
+ "module": "./ai-indicator"
3450
3403
  }
3451
3404
  },
3452
3405
  {
3453
3406
  "kind": "js",
3454
- "name": "*",
3407
+ "name": "foundationAiIndicatorTemplate",
3455
3408
  "declaration": {
3456
- "name": "*",
3457
- "package": "./validation/operator-map"
3409
+ "name": "foundationAiIndicatorTemplate",
3410
+ "module": "./ai-indicator.template"
3458
3411
  }
3459
3412
  },
3460
3413
  {
3461
3414
  "kind": "js",
3462
- "name": "*",
3415
+ "name": "foundationAiIndicatorStyles",
3463
3416
  "declaration": {
3464
- "name": "*",
3465
- "package": "./validation/schema-validator"
3417
+ "name": "foundationAiIndicatorStyles",
3418
+ "module": "./ai-indicator.styles"
3466
3419
  }
3467
3420
  }
3468
3421
  ]
3469
3422
  },
3470
3423
  {
3471
3424
  "kind": "javascript-module",
3472
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3425
+ "path": "src/actions-menu/actions-menu.styles.ts",
3473
3426
  "declarations": [
3474
3427
  {
3475
3428
  "kind": "function",
3476
- "name": "formatValidationErrors",
3429
+ "name": "actionsMenuBaseStyles",
3477
3430
  "return": {
3478
3431
  "type": {
3479
- "text": "string"
3432
+ "text": "ElementStyles"
3480
3433
  }
3481
3434
  },
3482
3435
  "parameters": [
3483
3436
  {
3484
- "name": "errors",
3437
+ "name": "context",
3485
3438
  "type": {
3486
- "text": "ValidationError[]"
3439
+ "text": "ElementDefinitionContext"
3440
+ }
3441
+ },
3442
+ {
3443
+ "name": "definition",
3444
+ "type": {
3445
+ "text": "FoundationElementDefinition"
3487
3446
  }
3488
3447
  }
3489
- ],
3490
- "description": "Formats validation errors into a user-friendly message."
3448
+ ]
3491
3449
  },
3492
3450
  {
3493
3451
  "kind": "function",
3494
- "name": "showCriteriaError",
3452
+ "name": "foundationActionsMenuStyles",
3495
3453
  "return": {
3496
3454
  "type": {
3497
- "text": "void"
3455
+ "text": "ElementStyles"
3498
3456
  }
3499
3457
  },
3500
3458
  "parameters": [
3501
3459
  {
3502
- "name": "title",
3503
- "type": {
3504
- "text": "string"
3505
- },
3506
- "description": "Notification title (e.g. \"Criteria validation error\")"
3507
- },
3508
- {
3509
- "name": "body",
3460
+ "name": "context",
3510
3461
  "type": {
3511
- "text": "string"
3512
- },
3513
- "description": "Error message to display"
3462
+ "text": "ElementDefinitionContext"
3463
+ }
3514
3464
  },
3515
3465
  {
3516
- "name": "tagName",
3466
+ "name": "definition",
3517
3467
  "type": {
3518
- "text": "string"
3519
- },
3520
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3468
+ "text": "FoundationElementDefinition"
3469
+ }
3521
3470
  }
3522
- ],
3523
- "description": "Shows a criteria error as a toast notification."
3471
+ ]
3524
3472
  }
3525
3473
  ],
3526
3474
  "exports": [
3527
3475
  {
3528
3476
  "kind": "js",
3529
- "name": "formatValidationErrors",
3477
+ "name": "actionsMenuBaseStyles",
3530
3478
  "declaration": {
3531
- "name": "formatValidationErrors",
3532
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3479
+ "name": "actionsMenuBaseStyles",
3480
+ "module": "src/actions-menu/actions-menu.styles.ts"
3533
3481
  }
3534
3482
  },
3535
3483
  {
3536
3484
  "kind": "js",
3537
- "name": "showCriteriaError",
3485
+ "name": "foundationActionsMenuStyles",
3538
3486
  "declaration": {
3539
- "name": "showCriteriaError",
3540
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3487
+ "name": "foundationActionsMenuStyles",
3488
+ "module": "src/actions-menu/actions-menu.styles.ts"
3541
3489
  }
3542
3490
  }
3543
3491
  ]
3544
3492
  },
3545
3493
  {
3546
3494
  "kind": "javascript-module",
3547
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3495
+ "path": "src/actions-menu/actions-menu.template.ts",
3548
3496
  "declarations": [
3549
3497
  {
3550
3498
  "kind": "function",
3551
- "name": "foundationAiIndicatorStyles",
3552
- "return": {
3553
- "type": {
3554
- "text": "ElementStyles"
3555
- }
3556
- },
3499
+ "name": "menuTemplate",
3557
3500
  "parameters": [
3558
3501
  {
3559
- "name": "context",
3502
+ "name": "prefix",
3560
3503
  "type": {
3561
- "text": "ElementDefinitionContext"
3504
+ "text": "string"
3562
3505
  }
3563
- },
3506
+ }
3507
+ ]
3508
+ },
3509
+ {
3510
+ "kind": "function",
3511
+ "name": "singleOptionTemplate",
3512
+ "parameters": [
3564
3513
  {
3565
- "name": "definition",
3514
+ "name": "prefix",
3566
3515
  "type": {
3567
- "text": "FoundationElementDefinition"
3516
+ "text": "string"
3568
3517
  }
3569
3518
  }
3570
3519
  ]
3520
+ },
3521
+ {
3522
+ "kind": "variable",
3523
+ "name": "foundationActionsMenuTemplate",
3524
+ "type": {
3525
+ "text": "ViewTemplate<ActionsMenu>"
3526
+ },
3527
+ "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`"
3571
3528
  }
3572
3529
  ],
3573
3530
  "exports": [
3574
3531
  {
3575
3532
  "kind": "js",
3576
- "name": "foundationAiIndicatorStyles",
3533
+ "name": "menuTemplate",
3577
3534
  "declaration": {
3578
- "name": "foundationAiIndicatorStyles",
3579
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3535
+ "name": "menuTemplate",
3536
+ "module": "src/actions-menu/actions-menu.template.ts"
3580
3537
  }
3581
- }
3582
- ]
3583
- },
3584
- {
3585
- "kind": "javascript-module",
3586
- "path": "src/ai-indicator/ai-indicator.template.ts",
3587
- "declarations": [
3538
+ },
3588
3539
  {
3589
- "kind": "variable",
3590
- "name": "foundationAiIndicatorTemplate",
3591
- "type": {
3592
- "text": "ViewTemplate<AiIndicator>"
3593
- },
3594
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3595
- }
3596
- ],
3597
- "exports": [
3540
+ "kind": "js",
3541
+ "name": "singleOptionTemplate",
3542
+ "declaration": {
3543
+ "name": "singleOptionTemplate",
3544
+ "module": "src/actions-menu/actions-menu.template.ts"
3545
+ }
3546
+ },
3598
3547
  {
3599
3548
  "kind": "js",
3600
- "name": "foundationAiIndicatorTemplate",
3549
+ "name": "foundationActionsMenuTemplate",
3601
3550
  "declaration": {
3602
- "name": "foundationAiIndicatorTemplate",
3603
- "module": "src/ai-indicator/ai-indicator.template.ts"
3551
+ "name": "foundationActionsMenuTemplate",
3552
+ "module": "src/actions-menu/actions-menu.template.ts"
3604
3553
  }
3605
3554
  }
3606
3555
  ]
3607
3556
  },
3608
3557
  {
3609
3558
  "kind": "javascript-module",
3610
- "path": "src/ai-indicator/ai-indicator.ts",
3559
+ "path": "src/actions-menu/actions-menu.ts",
3611
3560
  "declarations": [
3612
3561
  {
3613
3562
  "kind": "class",
3614
3563
  "description": "",
3615
- "name": "AiIndicator",
3564
+ "name": "ActionsMenu",
3616
3565
  "members": [
3617
3566
  {
3618
3567
  "kind": "field",
3619
- "name": "providerRegistry",
3568
+ "name": "actions",
3620
3569
  "type": {
3621
- "text": "AIProviderRegistry"
3570
+ "text": "ActionMenuItem[]"
3622
3571
  }
3623
3572
  },
3624
3573
  {
3625
3574
  "kind": "field",
3626
- "name": "aiProvider",
3575
+ "name": "isVertical",
3627
3576
  "type": {
3628
- "text": "AIProvider | undefined"
3577
+ "text": "boolean"
3629
3578
  },
3630
- "privacy": "private",
3631
- "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.",
3632
- "readonly": true
3579
+ "default": "false"
3633
3580
  },
3634
3581
  {
3635
3582
  "kind": "field",
3636
- "name": "status",
3583
+ "name": "addDefaultActions",
3637
3584
  "type": {
3638
- "text": "AIStatus | null"
3585
+ "text": "boolean"
3639
3586
  },
3640
- "default": "null"
3587
+ "default": "true"
3641
3588
  },
3642
3589
  {
3643
3590
  "kind": "field",
3644
- "name": "open",
3591
+ "name": "autoCloseOnAction",
3645
3592
  "type": {
3646
3593
  "text": "boolean"
3647
3594
  },
3648
- "default": "false"
3595
+ "default": "true"
3649
3596
  },
3650
3597
  {
3651
3598
  "kind": "field",
3652
- "name": "state",
3599
+ "name": "classNames",
3653
3600
  "type": {
3654
- "text": "AIIndicatorState"
3655
- },
3656
- "default": "'none'"
3601
+ "text": "string"
3602
+ }
3657
3603
  },
3658
3604
  {
3659
3605
  "kind": "field",
3660
- "name": "isInstalling",
3606
+ "name": "definition",
3661
3607
  "type": {
3662
- "text": "boolean"
3663
- },
3664
- "default": "false"
3608
+ "text": "any"
3609
+ }
3665
3610
  },
3666
3611
  {
3667
3612
  "kind": "field",
3668
- "name": "pollTimer",
3613
+ "name": "name",
3669
3614
  "type": {
3670
- "text": "ReturnType<typeof setInterval> | null"
3615
+ "text": "string"
3671
3616
  },
3672
- "privacy": "private",
3673
- "default": "null"
3617
+ "default": "'Actions'"
3674
3618
  },
3675
3619
  {
3676
3620
  "kind": "field",
3677
- "name": "clickOutside",
3678
- "privacy": "private"
3621
+ "name": "open",
3622
+ "type": {
3623
+ "text": "boolean"
3624
+ },
3625
+ "default": "false"
3679
3626
  },
3680
3627
  {
3681
3628
  "kind": "field",
3682
- "name": "chromeStatusLabel",
3629
+ "name": "buttonAppearance",
3683
3630
  "type": {
3684
- "text": "string | null"
3685
- },
3686
- "readonly": true
3631
+ "text": "string"
3632
+ }
3687
3633
  },
3688
3634
  {
3689
3635
  "kind": "field",
3690
- "name": "canInstall",
3636
+ "name": "hideDisabled",
3691
3637
  "type": {
3692
3638
  "text": "boolean"
3693
3639
  },
3694
- "readonly": true
3640
+ "default": "false"
3695
3641
  },
3696
3642
  {
3697
3643
  "kind": "field",
3698
- "name": "isDownloading",
3644
+ "name": "hideMenuSingleOption",
3699
3645
  "type": {
3700
3646
  "text": "boolean"
3701
3647
  },
3702
- "readonly": true
3648
+ "default": "false"
3703
3649
  },
3704
3650
  {
3705
- "kind": "method",
3706
- "name": "openChanged",
3707
- "return": {
3708
- "type": {
3709
- "text": "void"
3710
- }
3651
+ "kind": "field",
3652
+ "name": "singleOption",
3653
+ "type": {
3654
+ "text": "ActionMenuItem"
3655
+ }
3656
+ },
3657
+ {
3658
+ "kind": "field",
3659
+ "name": "actionsMenu",
3660
+ "type": {
3661
+ "text": "HTMLElement"
3662
+ }
3663
+ },
3664
+ {
3665
+ "kind": "field",
3666
+ "name": "actionsOpener",
3667
+ "type": {
3668
+ "text": "HTMLElement"
3711
3669
  }
3712
3670
  },
3713
3671
  {
3714
3672
  "kind": "method",
3715
- "name": "handleClickOutside",
3716
- "privacy": "private",
3673
+ "name": "updateMenuPosition",
3674
+ "privacy": "private"
3675
+ },
3676
+ {
3677
+ "kind": "method",
3678
+ "name": "definitionChanged",
3679
+ "privacy": "protected",
3717
3680
  "parameters": [
3718
3681
  {
3719
- "name": "event",
3682
+ "name": "oldValue",
3720
3683
  "type": {
3721
- "text": "MouseEvent"
3684
+ "text": "any"
3685
+ }
3686
+ },
3687
+ {
3688
+ "name": "newValue",
3689
+ "type": {
3690
+ "text": "any"
3722
3691
  }
3723
3692
  }
3724
3693
  ]
3725
3694
  },
3726
3695
  {
3727
3696
  "kind": "method",
3728
- "name": "toggleDropdown"
3697
+ "name": "openChanged",
3698
+ "privacy": "protected"
3729
3699
  },
3730
3700
  {
3731
3701
  "kind": "method",
3732
- "name": "refreshStatus",
3733
- "return": {
3734
- "type": {
3735
- "text": "Promise<void>"
3736
- }
3737
- }
3702
+ "name": "toggleActionsMenuVisibility"
3738
3703
  },
3739
3704
  {
3740
3705
  "kind": "method",
3741
- "name": "deriveState",
3742
- "privacy": "private",
3743
- "return": {
3744
- "type": {
3745
- "text": "AIIndicatorState"
3746
- }
3747
- },
3706
+ "name": "onActionMenuItemClick",
3748
3707
  "parameters": [
3749
3708
  {
3750
- "name": "s",
3709
+ "name": "callback",
3751
3710
  "type": {
3752
- "text": "AIStatus | null"
3711
+ "text": "(rowData) => void | any"
3753
3712
  }
3754
3713
  }
3755
3714
  ]
3756
3715
  },
3757
3716
  {
3758
- "kind": "method",
3759
- "name": "maybeStartPolling",
3760
- "privacy": "private",
3761
- "return": {
3762
- "type": {
3763
- "text": "void"
3764
- }
3765
- }
3717
+ "kind": "field",
3718
+ "name": "allActions",
3719
+ "type": {
3720
+ "text": "ActionMenuItem[]"
3721
+ },
3722
+ "readonly": true
3766
3723
  },
3767
3724
  {
3768
- "kind": "method",
3769
- "name": "startPolling",
3770
- "privacy": "private",
3771
- "return": {
3772
- "type": {
3773
- "text": "void"
3774
- }
3775
- }
3725
+ "kind": "field",
3726
+ "name": "rowData",
3727
+ "readonly": true
3776
3728
  },
3777
3729
  {
3778
3730
  "kind": "method",
3779
- "name": "stopPolling",
3780
- "privacy": "private",
3781
- "return": {
3782
- "type": {
3783
- "text": "void"
3731
+ "name": "getLabel",
3732
+ "parameters": [
3733
+ {
3734
+ "name": "name",
3735
+ "type": {
3736
+ "text": "string | ((rowData: any) => string)"
3737
+ }
3784
3738
  }
3785
- }
3739
+ ]
3786
3740
  },
3787
3741
  {
3788
3742
  "kind": "method",
3789
- "name": "onInstall",
3790
- "return": {
3791
- "type": {
3792
- "text": "Promise<void>"
3743
+ "name": "getTemplate",
3744
+ "parameters": [
3745
+ {
3746
+ "name": "prefix",
3747
+ "type": {
3748
+ "text": "string"
3749
+ }
3793
3750
  }
3794
- }
3751
+ ]
3795
3752
  },
3796
3753
  {
3797
3754
  "kind": "field",
@@ -3905,88 +3862,131 @@
3905
3862
  }
3906
3863
  }
3907
3864
  ],
3865
+ "attributes": [
3866
+ {
3867
+ "name": "is-vertical",
3868
+ "type": {
3869
+ "text": "boolean"
3870
+ },
3871
+ "default": "false",
3872
+ "fieldName": "isVertical"
3873
+ },
3874
+ {
3875
+ "name": "add-default-actions",
3876
+ "type": {
3877
+ "text": "boolean"
3878
+ },
3879
+ "default": "true",
3880
+ "fieldName": "addDefaultActions"
3881
+ },
3882
+ {
3883
+ "name": "auto-close-on-action",
3884
+ "type": {
3885
+ "text": "boolean"
3886
+ },
3887
+ "default": "true",
3888
+ "fieldName": "autoCloseOnAction"
3889
+ },
3890
+ {
3891
+ "name": "name",
3892
+ "type": {
3893
+ "text": "string"
3894
+ },
3895
+ "default": "'Actions'",
3896
+ "fieldName": "name"
3897
+ },
3898
+ {
3899
+ "name": "open",
3900
+ "type": {
3901
+ "text": "boolean"
3902
+ },
3903
+ "default": "false",
3904
+ "fieldName": "open"
3905
+ },
3906
+ {
3907
+ "name": "buttonAppearance",
3908
+ "type": {
3909
+ "text": "string"
3910
+ },
3911
+ "fieldName": "buttonAppearance"
3912
+ },
3913
+ {
3914
+ "name": "hide-disabled",
3915
+ "type": {
3916
+ "text": "boolean"
3917
+ },
3918
+ "default": "false",
3919
+ "fieldName": "hideDisabled"
3920
+ },
3921
+ {
3922
+ "name": "hide-menu-single-option",
3923
+ "type": {
3924
+ "text": "boolean"
3925
+ },
3926
+ "default": "false",
3927
+ "fieldName": "hideMenuSingleOption"
3928
+ }
3929
+ ],
3908
3930
  "superclass": {
3909
3931
  "name": "FoundationElement",
3910
3932
  "package": "@microsoft/fast-foundation"
3911
3933
  },
3912
- "tagName": "%%prefix%%-ai-indicator",
3934
+ "tagName": "%%prefix%%-actions-menu",
3913
3935
  "customElement": true
3914
3936
  },
3915
3937
  {
3916
3938
  "kind": "variable",
3917
- "name": "foundationAiIndicator"
3939
+ "name": "foundationActionsMenu",
3940
+ "description": "The Foundation Actions Menu",
3941
+ "privacy": "public"
3918
3942
  }
3919
3943
  ],
3920
3944
  "exports": [
3921
3945
  {
3922
3946
  "kind": "js",
3923
- "name": "AiIndicator",
3947
+ "name": "ActionsMenu",
3924
3948
  "declaration": {
3925
- "name": "AiIndicator",
3926
- "module": "src/ai-indicator/ai-indicator.ts"
3949
+ "name": "ActionsMenu",
3950
+ "module": "src/actions-menu/actions-menu.ts"
3927
3951
  }
3928
3952
  },
3929
3953
  {
3930
3954
  "kind": "js",
3931
- "name": "foundationAiIndicator",
3955
+ "name": "foundationActionsMenu",
3932
3956
  "declaration": {
3933
- "name": "foundationAiIndicator",
3934
- "module": "src/ai-indicator/ai-indicator.ts"
3957
+ "name": "foundationActionsMenu",
3958
+ "module": "src/actions-menu/actions-menu.ts"
3935
3959
  }
3936
3960
  }
3937
3961
  ]
3938
3962
  },
3939
3963
  {
3940
3964
  "kind": "javascript-module",
3941
- "path": "src/ai-indicator/index.ts",
3965
+ "path": "src/actions-menu/index.ts",
3942
3966
  "declarations": [],
3943
3967
  "exports": [
3944
3968
  {
3945
3969
  "kind": "js",
3946
- "name": "AiIndicator",
3947
- "declaration": {
3948
- "name": "AiIndicator",
3949
- "module": "./ai-indicator"
3950
- }
3951
- },
3952
- {
3953
- "kind": "js",
3954
- "name": "foundationAiIndicator",
3955
- "declaration": {
3956
- "name": "foundationAiIndicator",
3957
- "module": "./ai-indicator"
3958
- }
3959
- },
3960
- {
3961
- "kind": "js",
3962
- "name": "type",
3963
- "declaration": {
3964
- "name": "type",
3965
- "module": "./ai-indicator"
3966
- }
3967
- },
3968
- {
3969
- "kind": "js",
3970
- "name": "AIIndicatorState",
3970
+ "name": "*",
3971
3971
  "declaration": {
3972
- "name": "AIIndicatorState",
3973
- "module": "./ai-indicator"
3972
+ "name": "*",
3973
+ "package": "./actions-menu.styles"
3974
3974
  }
3975
3975
  },
3976
3976
  {
3977
3977
  "kind": "js",
3978
- "name": "foundationAiIndicatorTemplate",
3978
+ "name": "*",
3979
3979
  "declaration": {
3980
- "name": "foundationAiIndicatorTemplate",
3981
- "module": "./ai-indicator.template"
3980
+ "name": "*",
3981
+ "package": "./actions-menu.template"
3982
3982
  }
3983
3983
  },
3984
3984
  {
3985
3985
  "kind": "js",
3986
- "name": "foundationAiIndicatorStyles",
3986
+ "name": "*",
3987
3987
  "declaration": {
3988
- "name": "foundationAiIndicatorStyles",
3989
- "module": "./ai-indicator.styles"
3988
+ "name": "*",
3989
+ "package": "./actions-menu"
3990
3990
  }
3991
3991
  }
3992
3992
  ]
@@ -28847,6 +28847,23 @@
28847
28847
  },
28848
28848
  "default": "false"
28849
28849
  },
28850
+ {
28851
+ "kind": "field",
28852
+ "name": "tooltipElement",
28853
+ "type": {
28854
+ "text": "HTMLElement | undefined"
28855
+ },
28856
+ "description": "The `<%%prefix%%-tooltip>` bubble stays in this component's template and shadow root,\nbut is promoted to the browser top layer via the Popover API when shown — the top layer\nescapes ancestor stacking contexts, transforms and overflow clipping, which is what\nlets virtualized grid rows (absolutely-positioned, later-DOM-order siblings) paint over\nan in-place bubble. Content rendering stays FASTTooltip's own anchor-hover logic\n(`delay=\"0\"` so it is rendered by the time the popover opens and is measured); only\nhost visibility and placement are managed here, because FASTTooltip's anchored-region\nplacement does not resolve for the subclassed genesis components\n(`tagFor(AnchoredRegion)` misses — compose() without `baseClass`)."
28857
+ },
28858
+ {
28859
+ "kind": "field",
28860
+ "name": "tooltipShowTimer",
28861
+ "type": {
28862
+ "text": "number | null"
28863
+ },
28864
+ "privacy": "private",
28865
+ "default": "null"
28866
+ },
28850
28867
  {
28851
28868
  "kind": "field",
28852
28869
  "name": "name",
@@ -28924,6 +28941,30 @@
28924
28941
  }
28925
28942
  ]
28926
28943
  },
28944
+ {
28945
+ "kind": "field",
28946
+ "name": "showTooltip",
28947
+ "privacy": "private"
28948
+ },
28949
+ {
28950
+ "kind": "method",
28951
+ "name": "positionTooltip",
28952
+ "privacy": "private",
28953
+ "parameters": [
28954
+ {
28955
+ "name": "tooltip",
28956
+ "type": {
28957
+ "text": "HTMLElement"
28958
+ }
28959
+ }
28960
+ ],
28961
+ "description": "Places the bubble from the anchor's current viewport position (scrolled grid, resized\nlayout) just before it is shown; top-layer coordinates are viewport-relative. Prefers\nthe anchor's right edge, flips to its left when the right side would clip at the\nviewport, and clamps vertically so bottom rows keep the whole bubble on screen. The\nbubble's width is fixed in CSS, so measuring before final placement is safe; height\ncomes from scroll size because FASTTooltip's host is a zero-height box whose part div\noverflows it."
28962
+ },
28963
+ {
28964
+ "kind": "field",
28965
+ "name": "hideTooltip",
28966
+ "privacy": "private"
28967
+ },
28927
28968
  {
28928
28969
  "kind": "method",
28929
28970
  "name": "getDefaultTooltipConfig"