@genesislcap/foundation-ui 14.458.3 → 14.459.0

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