@genesislcap/foundation-ui 14.458.3-alpha-cdd1303e9.0 → 14.458.3

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