@genesislcap/foundation-ui 14.451.3-alpha-861508d.0 → 14.451.4

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