@genesislcap/foundation-ui 15.0.0 → 15.1.0-GENC-1461.6

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