@genesislcap/foundation-ui 14.437.5 → 14.437.6

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