@genesislcap/foundation-ui 15.6.0 → 15.6.1

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