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