@genesislcap/foundation-ui 14.493.0-GENC-1461.2 → 14.493.0

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