@genesislcap/foundation-ui 14.434.0 → 14.435.0

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