@genesislcap/foundation-ui 15.8.3-PTC-0.2 → 15.8.3-PTC-0.3

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