@genesislcap/foundation-ui 14.488.1 → 14.488.2-GENC-1351.2

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