@genesislcap/foundation-ui 15.10.1-alpha-77bc339.0 → 15.10.1

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.
@@ -1455,34 +1455,11 @@
1455
1455
  },
1456
1456
  {
1457
1457
  "kind": "javascript-module",
1458
- "path": "src/actions-menu/actions-menu.styles.ts",
1458
+ "path": "src/accordion-item/accordion-item.styles.ts",
1459
1459
  "declarations": [
1460
1460
  {
1461
1461
  "kind": "function",
1462
- "name": "actionsMenuBaseStyles",
1463
- "return": {
1464
- "type": {
1465
- "text": "ElementStyles"
1466
- }
1467
- },
1468
- "parameters": [
1469
- {
1470
- "name": "context",
1471
- "type": {
1472
- "text": "ElementDefinitionContext"
1473
- }
1474
- },
1475
- {
1476
- "name": "definition",
1477
- "type": {
1478
- "text": "FoundationElementDefinition"
1479
- }
1480
- }
1481
- ]
1482
- },
1483
- {
1484
- "kind": "function",
1485
- "name": "foundationActionsMenuStyles",
1462
+ "name": "foundationAccordionItemStyles",
1486
1463
  "return": {
1487
1464
  "type": {
1488
1465
  "text": "ElementStyles"
@@ -1507,346 +1484,221 @@
1507
1484
  "exports": [
1508
1485
  {
1509
1486
  "kind": "js",
1510
- "name": "actionsMenuBaseStyles",
1511
- "declaration": {
1512
- "name": "actionsMenuBaseStyles",
1513
- "module": "src/actions-menu/actions-menu.styles.ts"
1514
- }
1515
- },
1516
- {
1517
- "kind": "js",
1518
- "name": "foundationActionsMenuStyles",
1487
+ "name": "foundationAccordionItemStyles",
1519
1488
  "declaration": {
1520
- "name": "foundationActionsMenuStyles",
1521
- "module": "src/actions-menu/actions-menu.styles.ts"
1489
+ "name": "foundationAccordionItemStyles",
1490
+ "module": "src/accordion-item/accordion-item.styles.ts"
1522
1491
  }
1523
1492
  }
1524
1493
  ]
1525
1494
  },
1526
1495
  {
1527
1496
  "kind": "javascript-module",
1528
- "path": "src/actions-menu/actions-menu.template.ts",
1497
+ "path": "src/accordion-item/accordion-item.template.ts",
1529
1498
  "declarations": [
1530
1499
  {
1531
1500
  "kind": "function",
1532
- "name": "menuTemplate",
1501
+ "name": "foundationAccordionItemTemplate",
1502
+ "return": {
1503
+ "type": {
1504
+ "text": "ViewTemplate<AccordionItem>"
1505
+ }
1506
+ },
1533
1507
  "parameters": [
1534
1508
  {
1535
- "name": "prefix",
1509
+ "name": "context",
1536
1510
  "type": {
1537
- "text": "string"
1511
+ "text": "ElementDefinitionContext"
1538
1512
  }
1539
- }
1540
- ]
1541
- },
1542
- {
1543
- "kind": "function",
1544
- "name": "singleOptionTemplate",
1545
- "parameters": [
1513
+ },
1546
1514
  {
1547
- "name": "prefix",
1515
+ "name": "definition",
1548
1516
  "type": {
1549
- "text": "string"
1517
+ "text": "FoundationElementDefinition"
1550
1518
  }
1551
1519
  }
1552
1520
  ]
1553
- },
1554
- {
1555
- "kind": "variable",
1556
- "name": "foundationActionsMenuTemplate",
1557
- "type": {
1558
- "text": "ViewTemplate<ActionsMenu>"
1559
- },
1560
- "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`"
1561
1521
  }
1562
1522
  ],
1563
1523
  "exports": [
1564
1524
  {
1565
1525
  "kind": "js",
1566
- "name": "menuTemplate",
1567
- "declaration": {
1568
- "name": "menuTemplate",
1569
- "module": "src/actions-menu/actions-menu.template.ts"
1570
- }
1571
- },
1572
- {
1573
- "kind": "js",
1574
- "name": "singleOptionTemplate",
1575
- "declaration": {
1576
- "name": "singleOptionTemplate",
1577
- "module": "src/actions-menu/actions-menu.template.ts"
1578
- }
1579
- },
1580
- {
1581
- "kind": "js",
1582
- "name": "foundationActionsMenuTemplate",
1526
+ "name": "foundationAccordionItemTemplate",
1583
1527
  "declaration": {
1584
- "name": "foundationActionsMenuTemplate",
1585
- "module": "src/actions-menu/actions-menu.template.ts"
1528
+ "name": "foundationAccordionItemTemplate",
1529
+ "module": "src/accordion-item/accordion-item.template.ts"
1586
1530
  }
1587
1531
  }
1588
1532
  ]
1589
1533
  },
1590
1534
  {
1591
1535
  "kind": "javascript-module",
1592
- "path": "src/actions-menu/actions-menu.ts",
1536
+ "path": "src/accordion-item/accordion-item.ts",
1593
1537
  "declarations": [
1594
1538
  {
1595
1539
  "kind": "class",
1596
1540
  "description": "",
1597
- "name": "ActionsMenu",
1598
- "members": [
1541
+ "name": "AccordionItem",
1542
+ "superclass": {
1543
+ "name": "FASTAccordionItem",
1544
+ "package": "@microsoft/fast-components"
1545
+ },
1546
+ "tagName": "%%prefix%%-accordion-item",
1547
+ "customElement": true,
1548
+ "attributes": [
1599
1549
  {
1600
- "kind": "field",
1601
- "name": "actions",
1550
+ "name": "heading-level",
1602
1551
  "type": {
1603
- "text": "ActionMenuItem[]"
1552
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1553
+ },
1554
+ "default": "2",
1555
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1556
+ "fieldName": "headinglevel",
1557
+ "inheritedFrom": {
1558
+ "name": "AccordionItem",
1559
+ "module": "src/accordion-item/accordion-item.ts"
1604
1560
  }
1605
1561
  },
1606
1562
  {
1607
- "kind": "field",
1608
- "name": "isVertical",
1609
1563
  "type": {
1610
1564
  "text": "boolean"
1611
1565
  },
1612
- "default": "false"
1566
+ "default": "false",
1567
+ "description": "Expands or collapses the item.",
1568
+ "fieldName": "expanded",
1569
+ "inheritedFrom": {
1570
+ "name": "AccordionItem",
1571
+ "module": "src/accordion-item/accordion-item.ts"
1572
+ }
1613
1573
  },
1614
1574
  {
1615
- "kind": "field",
1616
- "name": "addDefaultActions",
1575
+ "name": "id",
1617
1576
  "type": {
1618
- "text": "boolean"
1577
+ "text": "string"
1619
1578
  },
1620
- "default": "true"
1621
- },
1579
+ "description": "The item ID",
1580
+ "fieldName": "id",
1581
+ "inheritedFrom": {
1582
+ "name": "AccordionItem",
1583
+ "module": "src/accordion-item/accordion-item.ts"
1584
+ }
1585
+ }
1586
+ ],
1587
+ "members": [
1622
1588
  {
1623
1589
  "kind": "field",
1624
- "name": "autoCloseOnAction",
1590
+ "name": "headinglevel",
1625
1591
  "type": {
1626
- "text": "boolean"
1592
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1627
1593
  },
1628
- "default": "true"
1629
- },
1630
- {
1631
- "kind": "field",
1632
- "name": "classNames",
1633
- "type": {
1634
- "text": "string"
1594
+ "privacy": "public",
1595
+ "default": "2",
1596
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1597
+ "inheritedFrom": {
1598
+ "name": "AccordionItem",
1599
+ "module": "src/accordion-item/accordion-item.ts"
1635
1600
  }
1636
1601
  },
1637
1602
  {
1638
1603
  "kind": "field",
1639
- "name": "definition",
1604
+ "name": "expanded",
1640
1605
  "type": {
1641
- "text": "any"
1606
+ "text": "boolean"
1607
+ },
1608
+ "privacy": "public",
1609
+ "default": "false",
1610
+ "description": "Expands or collapses the item.",
1611
+ "inheritedFrom": {
1612
+ "name": "AccordionItem",
1613
+ "module": "src/accordion-item/accordion-item.ts"
1642
1614
  }
1643
1615
  },
1644
1616
  {
1645
1617
  "kind": "field",
1646
- "name": "name",
1618
+ "name": "id",
1647
1619
  "type": {
1648
1620
  "text": "string"
1649
1621
  },
1650
- "default": "'Actions'"
1651
- },
1652
- {
1653
- "kind": "field",
1654
- "name": "open",
1655
- "type": {
1656
- "text": "boolean"
1657
- },
1658
- "default": "false"
1622
+ "privacy": "public",
1623
+ "description": "The item ID",
1624
+ "inheritedFrom": {
1625
+ "name": "AccordionItem",
1626
+ "module": "src/accordion-item/accordion-item.ts"
1627
+ }
1659
1628
  },
1660
1629
  {
1661
1630
  "kind": "field",
1662
- "name": "buttonAppearance",
1663
- "type": {
1664
- "text": "string"
1631
+ "name": "change",
1632
+ "privacy": "private",
1633
+ "inheritedFrom": {
1634
+ "name": "AccordionItem",
1635
+ "module": "src/accordion-item/accordion-item.ts"
1665
1636
  }
1666
1637
  },
1667
1638
  {
1668
1639
  "kind": "field",
1669
- "name": "hideDisabled",
1640
+ "name": "_presentation",
1670
1641
  "type": {
1671
- "text": "boolean"
1642
+ "text": "ComponentPresentation | null | undefined"
1672
1643
  },
1673
- "default": "false"
1644
+ "privacy": "private",
1645
+ "default": "void 0",
1646
+ "inheritedFrom": {
1647
+ "name": "FoundationElement",
1648
+ "module": "src/foundation-element/foundation-element.ts"
1649
+ }
1674
1650
  },
1675
1651
  {
1676
1652
  "kind": "field",
1677
- "name": "hideMenuSingleOption",
1653
+ "name": "$presentation",
1678
1654
  "type": {
1679
- "text": "boolean"
1655
+ "text": "ComponentPresentation | null"
1680
1656
  },
1681
- "default": "false"
1657
+ "privacy": "public",
1658
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1659
+ "inheritedFrom": {
1660
+ "name": "FoundationElement",
1661
+ "module": "src/foundation-element/foundation-element.ts"
1662
+ }
1682
1663
  },
1683
1664
  {
1684
1665
  "kind": "field",
1685
- "name": "singleOption",
1666
+ "name": "template",
1686
1667
  "type": {
1687
- "text": "ActionMenuItem"
1668
+ "text": "ElementViewTemplate | void | null"
1669
+ },
1670
+ "privacy": "public",
1671
+ "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.",
1672
+ "inheritedFrom": {
1673
+ "name": "FoundationElement",
1674
+ "module": "src/foundation-element/foundation-element.ts"
1688
1675
  }
1689
1676
  },
1690
1677
  {
1691
- "kind": "field",
1692
- "name": "actionsMenu",
1693
- "type": {
1694
- "text": "HTMLElement"
1678
+ "kind": "method",
1679
+ "name": "templateChanged",
1680
+ "privacy": "protected",
1681
+ "return": {
1682
+ "type": {
1683
+ "text": "void"
1684
+ }
1685
+ },
1686
+ "inheritedFrom": {
1687
+ "name": "FoundationElement",
1688
+ "module": "src/foundation-element/foundation-element.ts"
1695
1689
  }
1696
1690
  },
1697
1691
  {
1698
1692
  "kind": "field",
1699
- "name": "actionsOpener",
1693
+ "name": "styles",
1700
1694
  "type": {
1701
- "text": "HTMLElement"
1702
- }
1703
- },
1704
- {
1705
- "kind": "method",
1706
- "name": "updateMenuPosition",
1707
- "privacy": "private"
1708
- },
1709
- {
1710
- "kind": "method",
1711
- "name": "definitionChanged",
1712
- "privacy": "protected",
1713
- "parameters": [
1714
- {
1715
- "name": "oldValue",
1716
- "type": {
1717
- "text": "any"
1718
- }
1719
- },
1720
- {
1721
- "name": "newValue",
1722
- "type": {
1723
- "text": "any"
1724
- }
1725
- }
1726
- ]
1727
- },
1728
- {
1729
- "kind": "method",
1730
- "name": "openChanged",
1731
- "privacy": "protected"
1732
- },
1733
- {
1734
- "kind": "method",
1735
- "name": "toggleActionsMenuVisibility"
1736
- },
1737
- {
1738
- "kind": "method",
1739
- "name": "onActionMenuItemClick",
1740
- "parameters": [
1741
- {
1742
- "name": "callback",
1743
- "type": {
1744
- "text": "(rowData) => void | any"
1745
- }
1746
- }
1747
- ]
1748
- },
1749
- {
1750
- "kind": "field",
1751
- "name": "allActions",
1752
- "type": {
1753
- "text": "ActionMenuItem[]"
1754
- },
1755
- "readonly": true
1756
- },
1757
- {
1758
- "kind": "field",
1759
- "name": "rowData",
1760
- "readonly": true
1761
- },
1762
- {
1763
- "kind": "method",
1764
- "name": "getLabel",
1765
- "parameters": [
1766
- {
1767
- "name": "name",
1768
- "type": {
1769
- "text": "string | ((rowData: any) => string)"
1770
- }
1771
- }
1772
- ]
1773
- },
1774
- {
1775
- "kind": "method",
1776
- "name": "getTemplate",
1777
- "parameters": [
1778
- {
1779
- "name": "prefix",
1780
- "type": {
1781
- "text": "string"
1782
- }
1783
- }
1784
- ]
1785
- },
1786
- {
1787
- "kind": "field",
1788
- "name": "_presentation",
1789
- "type": {
1790
- "text": "ComponentPresentation | null | undefined"
1791
- },
1792
- "privacy": "private",
1793
- "default": "void 0",
1794
- "inheritedFrom": {
1795
- "name": "FoundationElement",
1796
- "module": "src/foundation-element/foundation-element.ts"
1797
- }
1798
- },
1799
- {
1800
- "kind": "field",
1801
- "name": "$presentation",
1802
- "type": {
1803
- "text": "ComponentPresentation | null"
1804
- },
1805
- "privacy": "public",
1806
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1807
- "inheritedFrom": {
1808
- "name": "FoundationElement",
1809
- "module": "src/foundation-element/foundation-element.ts"
1810
- }
1811
- },
1812
- {
1813
- "kind": "field",
1814
- "name": "template",
1815
- "type": {
1816
- "text": "ElementViewTemplate | void | null"
1817
- },
1818
- "privacy": "public",
1819
- "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.",
1820
- "inheritedFrom": {
1821
- "name": "FoundationElement",
1822
- "module": "src/foundation-element/foundation-element.ts"
1823
- }
1824
- },
1825
- {
1826
- "kind": "method",
1827
- "name": "templateChanged",
1828
- "privacy": "protected",
1829
- "return": {
1830
- "type": {
1831
- "text": "void"
1832
- }
1833
- },
1834
- "inheritedFrom": {
1835
- "name": "FoundationElement",
1836
- "module": "src/foundation-element/foundation-element.ts"
1837
- }
1838
- },
1839
- {
1840
- "kind": "field",
1841
- "name": "styles",
1842
- "type": {
1843
- "text": "ElementStyles | void | null"
1844
- },
1845
- "privacy": "public",
1846
- "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.",
1847
- "inheritedFrom": {
1848
- "name": "FoundationElement",
1849
- "module": "src/foundation-element/foundation-element.ts"
1695
+ "text": "ElementStyles | void | null"
1696
+ },
1697
+ "privacy": "public",
1698
+ "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.",
1699
+ "inheritedFrom": {
1700
+ "name": "FoundationElement",
1701
+ "module": "src/foundation-element/foundation-element.ts"
1850
1702
  }
1851
1703
  },
1852
1704
  {
@@ -1895,107 +1747,78 @@
1895
1747
  }
1896
1748
  }
1897
1749
  ],
1898
- "attributes": [
1899
- {
1900
- "name": "is-vertical",
1901
- "type": {
1902
- "text": "boolean"
1903
- },
1904
- "default": "false",
1905
- "fieldName": "isVertical"
1906
- },
1907
- {
1908
- "name": "add-default-actions",
1909
- "type": {
1910
- "text": "boolean"
1911
- },
1912
- "default": "true",
1913
- "fieldName": "addDefaultActions"
1914
- },
1915
- {
1916
- "name": "auto-close-on-action",
1917
- "type": {
1918
- "text": "boolean"
1919
- },
1920
- "default": "true",
1921
- "fieldName": "autoCloseOnAction"
1922
- },
1923
- {
1924
- "name": "name",
1925
- "type": {
1926
- "text": "string"
1927
- },
1928
- "default": "'Actions'",
1929
- "fieldName": "name"
1930
- },
1931
- {
1932
- "name": "open",
1933
- "type": {
1934
- "text": "boolean"
1935
- },
1936
- "default": "false",
1937
- "fieldName": "open"
1938
- },
1939
- {
1940
- "name": "buttonAppearance",
1941
- "type": {
1942
- "text": "string"
1943
- },
1944
- "fieldName": "buttonAppearance"
1945
- },
1946
- {
1947
- "name": "hide-disabled",
1948
- "type": {
1949
- "text": "boolean"
1950
- },
1951
- "default": "false",
1952
- "fieldName": "hideDisabled"
1953
- },
1750
+ "events": [
1954
1751
  {
1955
- "name": "hide-menu-single-option",
1956
- "type": {
1957
- "text": "boolean"
1958
- },
1959
- "default": "false",
1960
- "fieldName": "hideMenuSingleOption"
1752
+ "description": "Fires a custom 'change' event when the button is invoked",
1753
+ "name": "change",
1754
+ "inheritedFrom": {
1755
+ "name": "AccordionItem",
1756
+ "module": "src/accordion-item/accordion-item.ts"
1757
+ }
1961
1758
  }
1962
- ],
1963
- "superclass": {
1964
- "name": "FoundationElement",
1965
- "package": "@microsoft/fast-foundation"
1759
+ ]
1760
+ },
1761
+ {
1762
+ "kind": "variable",
1763
+ "name": "foundationAccordionItemShadowOptions",
1764
+ "type": {
1765
+ "text": "ShadowRootInit"
1966
1766
  },
1967
- "tagName": "%%prefix%%-actions-menu",
1968
- "customElement": true
1767
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1969
1768
  },
1970
1769
  {
1971
1770
  "kind": "variable",
1972
- "name": "foundationActionsMenu",
1973
- "description": "The Foundation Actions Menu",
1771
+ "name": "defaultAccordionItemConfig",
1772
+ "type": {
1773
+ "text": "object"
1774
+ },
1775
+ "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}"
1776
+ },
1777
+ {
1778
+ "kind": "variable",
1779
+ "name": "foundationAccordionItem",
1780
+ "description": "The Foundation Accordion Item",
1974
1781
  "privacy": "public"
1975
1782
  }
1976
1783
  ],
1977
1784
  "exports": [
1978
1785
  {
1979
1786
  "kind": "js",
1980
- "name": "ActionsMenu",
1787
+ "name": "AccordionItem",
1981
1788
  "declaration": {
1982
- "name": "ActionsMenu",
1983
- "module": "src/actions-menu/actions-menu.ts"
1789
+ "name": "AccordionItem",
1790
+ "module": "src/accordion-item/accordion-item.ts"
1984
1791
  }
1985
1792
  },
1986
1793
  {
1987
1794
  "kind": "js",
1988
- "name": "foundationActionsMenu",
1795
+ "name": "foundationAccordionItemShadowOptions",
1989
1796
  "declaration": {
1990
- "name": "foundationActionsMenu",
1991
- "module": "src/actions-menu/actions-menu.ts"
1797
+ "name": "foundationAccordionItemShadowOptions",
1798
+ "module": "src/accordion-item/accordion-item.ts"
1992
1799
  }
1993
- }
1800
+ },
1801
+ {
1802
+ "kind": "js",
1803
+ "name": "defaultAccordionItemConfig",
1804
+ "declaration": {
1805
+ "name": "defaultAccordionItemConfig",
1806
+ "module": "src/accordion-item/accordion-item.ts"
1807
+ }
1808
+ },
1809
+ {
1810
+ "kind": "js",
1811
+ "name": "foundationAccordionItem",
1812
+ "declaration": {
1813
+ "name": "foundationAccordionItem",
1814
+ "module": "src/accordion-item/accordion-item.ts"
1815
+ }
1816
+ }
1994
1817
  ]
1995
1818
  },
1996
1819
  {
1997
1820
  "kind": "javascript-module",
1998
- "path": "src/actions-menu/index.ts",
1821
+ "path": "src/accordion-item/index.ts",
1999
1822
  "declarations": [],
2000
1823
  "exports": [
2001
1824
  {
@@ -2003,7 +1826,7 @@
2003
1826
  "name": "*",
2004
1827
  "declaration": {
2005
1828
  "name": "*",
2006
- "package": "./actions-menu.styles"
1829
+ "package": "./accordion-item.template"
2007
1830
  }
2008
1831
  },
2009
1832
  {
@@ -2011,7 +1834,7 @@
2011
1834
  "name": "*",
2012
1835
  "declaration": {
2013
1836
  "name": "*",
2014
- "package": "./actions-menu.template"
1837
+ "package": "./accordion-item.styles"
2015
1838
  }
2016
1839
  },
2017
1840
  {
@@ -2019,261 +1842,333 @@
2019
1842
  "name": "*",
2020
1843
  "declaration": {
2021
1844
  "name": "*",
2022
- "package": "./actions-menu"
1845
+ "package": "./accordion-item"
2023
1846
  }
2024
1847
  }
2025
1848
  ]
2026
1849
  },
2027
1850
  {
2028
1851
  "kind": "javascript-module",
2029
- "path": "src/accordion-item/accordion-item.styles.ts",
1852
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2030
1853
  "declarations": [
2031
1854
  {
2032
- "kind": "function",
2033
- "name": "foundationAccordionItemStyles",
2034
- "return": {
2035
- "type": {
2036
- "text": "ElementStyles"
2037
- }
2038
- },
2039
- "parameters": [
2040
- {
2041
- "name": "context",
2042
- "type": {
2043
- "text": "ElementDefinitionContext"
2044
- }
2045
- },
2046
- {
2047
- "name": "definition",
2048
- "type": {
2049
- "text": "FoundationElementDefinition"
2050
- }
2051
- }
2052
- ]
1855
+ "kind": "variable",
1856
+ "name": "foundationAiCriteriaSearchStyles",
1857
+ "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`"
2053
1858
  }
2054
1859
  ],
2055
1860
  "exports": [
2056
1861
  {
2057
1862
  "kind": "js",
2058
- "name": "foundationAccordionItemStyles",
1863
+ "name": "foundationAiCriteriaSearchStyles",
2059
1864
  "declaration": {
2060
- "name": "foundationAccordionItemStyles",
2061
- "module": "src/accordion-item/accordion-item.styles.ts"
1865
+ "name": "foundationAiCriteriaSearchStyles",
1866
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2062
1867
  }
2063
1868
  }
2064
1869
  ]
2065
1870
  },
2066
1871
  {
2067
1872
  "kind": "javascript-module",
2068
- "path": "src/accordion-item/accordion-item.template.ts",
1873
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2069
1874
  "declarations": [
2070
1875
  {
2071
- "kind": "function",
2072
- "name": "foundationAccordionItemTemplate",
2073
- "return": {
2074
- "type": {
2075
- "text": "ViewTemplate<AccordionItem>"
2076
- }
1876
+ "kind": "variable",
1877
+ "name": "foundationAiCriteriaSearchTemplate",
1878
+ "type": {
1879
+ "text": "ViewTemplate<AiCriteriaSearch>"
2077
1880
  },
2078
- "parameters": [
2079
- {
2080
- "name": "context",
2081
- "type": {
2082
- "text": "ElementDefinitionContext"
2083
- }
2084
- },
2085
- {
2086
- "name": "definition",
2087
- "type": {
2088
- "text": "FoundationElementDefinition"
2089
- }
2090
- }
2091
- ]
1881
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2092
1882
  }
2093
1883
  ],
2094
1884
  "exports": [
2095
1885
  {
2096
1886
  "kind": "js",
2097
- "name": "foundationAccordionItemTemplate",
1887
+ "name": "foundationAiCriteriaSearchTemplate",
2098
1888
  "declaration": {
2099
- "name": "foundationAccordionItemTemplate",
2100
- "module": "src/accordion-item/accordion-item.template.ts"
1889
+ "name": "foundationAiCriteriaSearchTemplate",
1890
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2101
1891
  }
2102
1892
  }
2103
1893
  ]
2104
1894
  },
2105
1895
  {
2106
1896
  "kind": "javascript-module",
2107
- "path": "src/accordion-item/accordion-item.ts",
1897
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2108
1898
  "declarations": [
2109
1899
  {
2110
1900
  "kind": "class",
2111
- "description": "",
2112
- "name": "AccordionItem",
2113
- "superclass": {
2114
- "name": "FASTAccordionItem",
2115
- "package": "@microsoft/fast-components"
2116
- },
2117
- "tagName": "%%prefix%%-accordion-item",
2118
- "customElement": true,
2119
- "attributes": [
1901
+ "description": "Natural-language criteria search input with AI interpretation.",
1902
+ "name": "AiCriteriaSearch",
1903
+ "members": [
2120
1904
  {
2121
- "name": "heading-level",
1905
+ "kind": "field",
1906
+ "name": "providerRegistry",
2122
1907
  "type": {
2123
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2124
- },
2125
- "default": "2",
2126
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2127
- "fieldName": "headinglevel",
2128
- "inheritedFrom": {
2129
- "name": "AccordionItem",
2130
- "module": "src/accordion-item/accordion-item.ts"
1908
+ "text": "AIProviderRegistry"
2131
1909
  }
2132
1910
  },
2133
1911
  {
1912
+ "kind": "field",
1913
+ "name": "placeholder",
2134
1914
  "type": {
2135
- "text": "boolean"
1915
+ "text": "string"
2136
1916
  },
2137
- "default": "false",
2138
- "description": "Expands or collapses the item.",
2139
- "fieldName": "expanded",
2140
- "inheritedFrom": {
2141
- "name": "AccordionItem",
2142
- "module": "src/accordion-item/accordion-item.ts"
1917
+ "default": "'Describe your search criteria in natural language...'"
1918
+ },
1919
+ {
1920
+ "kind": "field",
1921
+ "name": "disabled",
1922
+ "type": {
1923
+ "text": "boolean"
2143
1924
  }
2144
1925
  },
2145
1926
  {
2146
- "name": "id",
1927
+ "kind": "field",
1928
+ "name": "inputValue",
2147
1929
  "type": {
2148
1930
  "text": "string"
2149
1931
  },
2150
- "description": "The item ID",
2151
- "fieldName": "id",
2152
- "inheritedFrom": {
2153
- "name": "AccordionItem",
2154
- "module": "src/accordion-item/accordion-item.ts"
2155
- }
2156
- }
2157
- ],
2158
- "members": [
1932
+ "default": "''"
1933
+ },
2159
1934
  {
2160
1935
  "kind": "field",
2161
- "name": "headinglevel",
1936
+ "name": "isInterpreting",
2162
1937
  "type": {
2163
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1938
+ "text": "boolean"
2164
1939
  },
2165
- "privacy": "public",
2166
- "default": "2",
2167
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2168
- "inheritedFrom": {
2169
- "name": "AccordionItem",
2170
- "module": "src/accordion-item/accordion-item.ts"
2171
- }
1940
+ "default": "false"
2172
1941
  },
2173
1942
  {
2174
1943
  "kind": "field",
2175
- "name": "expanded",
1944
+ "name": "lastValidCriteria",
2176
1945
  "type": {
2177
- "text": "boolean"
1946
+ "text": "string | null"
2178
1947
  },
2179
- "privacy": "public",
2180
- "default": "false",
2181
- "description": "Expands or collapses the item.",
2182
- "inheritedFrom": {
2183
- "name": "AccordionItem",
2184
- "module": "src/accordion-item/accordion-item.ts"
2185
- }
1948
+ "default": "null"
2186
1949
  },
2187
1950
  {
2188
1951
  "kind": "field",
2189
- "name": "id",
1952
+ "name": "activeGroups",
2190
1953
  "type": {
2191
- "text": "string"
1954
+ "text": "CriteriaGroup[]"
2192
1955
  },
2193
- "privacy": "public",
2194
- "description": "The item ID",
2195
- "inheritedFrom": {
2196
- "name": "AccordionItem",
2197
- "module": "src/accordion-item/accordion-item.ts"
2198
- }
1956
+ "default": "[]"
2199
1957
  },
2200
1958
  {
2201
1959
  "kind": "field",
2202
- "name": "change",
2203
- "privacy": "private",
2204
- "inheritedFrom": {
2205
- "name": "AccordionItem",
2206
- "module": "src/accordion-item/accordion-item.ts"
2207
- }
1960
+ "name": "showingChips",
1961
+ "type": {
1962
+ "text": "boolean"
1963
+ },
1964
+ "default": "false"
2208
1965
  },
2209
1966
  {
2210
1967
  "kind": "field",
2211
- "name": "_presentation",
1968
+ "name": "fieldMetadata",
2212
1969
  "type": {
2213
- "text": "ComponentPresentation | null | undefined"
1970
+ "text": "MetadataDetail[] | string[]"
2214
1971
  },
2215
- "privacy": "private",
2216
- "default": "void 0",
2217
- "inheritedFrom": {
2218
- "name": "FoundationElement",
2219
- "module": "src/foundation-element/foundation-element.ts"
2220
- }
1972
+ "default": "[]"
2221
1973
  },
2222
1974
  {
2223
1975
  "kind": "field",
2224
- "name": "$presentation",
1976
+ "name": "isRecording",
2225
1977
  "type": {
2226
- "text": "ComponentPresentation | null"
1978
+ "text": "boolean"
2227
1979
  },
2228
- "privacy": "public",
2229
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2230
- "inheritedFrom": {
2231
- "name": "FoundationElement",
2232
- "module": "src/foundation-element/foundation-element.ts"
2233
- }
1980
+ "default": "false"
2234
1981
  },
2235
1982
  {
2236
1983
  "kind": "field",
2237
- "name": "template",
1984
+ "name": "textAreaRef",
2238
1985
  "type": {
2239
- "text": "ElementViewTemplate | void | null"
1986
+ "text": "HTMLTextAreaElement"
2240
1987
  },
2241
- "privacy": "public",
2242
- "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.",
2243
- "inheritedFrom": {
2244
- "name": "FoundationElement",
2245
- "module": "src/foundation-element/foundation-element.ts"
2246
- }
1988
+ "privacy": "public"
2247
1989
  },
2248
1990
  {
2249
- "kind": "method",
2250
- "name": "templateChanged",
2251
- "privacy": "protected",
2252
- "return": {
2253
- "type": {
2254
- "text": "void"
2255
- }
1991
+ "kind": "field",
1992
+ "name": "stopRecording",
1993
+ "type": {
1994
+ "text": "(() => void) | null"
2256
1995
  },
2257
- "inheritedFrom": {
2258
- "name": "FoundationElement",
2259
- "module": "src/foundation-element/foundation-element.ts"
2260
- }
1996
+ "privacy": "private",
1997
+ "default": "null"
2261
1998
  },
2262
1999
  {
2263
2000
  "kind": "field",
2264
- "name": "styles",
2001
+ "name": "speechApplyDebounceTimer",
2265
2002
  "type": {
2266
- "text": "ElementStyles | void | null"
2003
+ "text": "ReturnType<typeof setTimeout> | null"
2267
2004
  },
2268
- "privacy": "public",
2269
- "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.",
2270
- "inheritedFrom": {
2271
- "name": "FoundationElement",
2272
- "module": "src/foundation-element/foundation-element.ts"
2273
- }
2005
+ "privacy": "private",
2006
+ "default": "null"
2274
2007
  },
2275
2008
  {
2276
- "kind": "method",
2009
+ "kind": "field",
2010
+ "name": "speechAvailable",
2011
+ "type": {
2012
+ "text": "boolean"
2013
+ },
2014
+ "readonly": true
2015
+ },
2016
+ {
2017
+ "kind": "field",
2018
+ "name": "criteriaChips",
2019
+ "type": {
2020
+ "text": "CriteriaChip[]"
2021
+ },
2022
+ "readonly": true
2023
+ },
2024
+ {
2025
+ "kind": "method",
2026
+ "name": "getFieldLabel",
2027
+ "privacy": "private",
2028
+ "return": {
2029
+ "type": {
2030
+ "text": "string"
2031
+ }
2032
+ },
2033
+ "parameters": [
2034
+ {
2035
+ "name": "fieldName",
2036
+ "type": {
2037
+ "text": "string"
2038
+ }
2039
+ }
2040
+ ]
2041
+ },
2042
+ {
2043
+ "kind": "method",
2044
+ "name": "toggleCriteriaView",
2045
+ "return": {
2046
+ "type": {
2047
+ "text": "void"
2048
+ }
2049
+ }
2050
+ },
2051
+ {
2052
+ "kind": "method",
2053
+ "name": "removeChip",
2054
+ "return": {
2055
+ "type": {
2056
+ "text": "void"
2057
+ }
2058
+ },
2059
+ "parameters": [
2060
+ {
2061
+ "name": "groupIndex",
2062
+ "type": {
2063
+ "text": "number"
2064
+ }
2065
+ },
2066
+ {
2067
+ "name": "clauseIndex",
2068
+ "type": {
2069
+ "text": "number"
2070
+ }
2071
+ }
2072
+ ]
2073
+ },
2074
+ {
2075
+ "kind": "method",
2076
+ "name": "clearChips",
2077
+ "return": {
2078
+ "type": {
2079
+ "text": "void"
2080
+ }
2081
+ }
2082
+ },
2083
+ {
2084
+ "kind": "method",
2085
+ "name": "handleSubmit"
2086
+ },
2087
+ {
2088
+ "kind": "method",
2089
+ "name": "handleBlur"
2090
+ },
2091
+ {
2092
+ "kind": "method",
2093
+ "name": "clear"
2094
+ },
2095
+ {
2096
+ "kind": "method",
2097
+ "name": "toggleSpeechInput"
2098
+ },
2099
+ {
2100
+ "kind": "method",
2101
+ "name": "clearSpeechApplyDebounce",
2102
+ "privacy": "private"
2103
+ },
2104
+ {
2105
+ "kind": "field",
2106
+ "name": "_presentation",
2107
+ "type": {
2108
+ "text": "ComponentPresentation | null | undefined"
2109
+ },
2110
+ "privacy": "private",
2111
+ "default": "void 0",
2112
+ "inheritedFrom": {
2113
+ "name": "FoundationElement",
2114
+ "module": "src/foundation-element/foundation-element.ts"
2115
+ }
2116
+ },
2117
+ {
2118
+ "kind": "field",
2119
+ "name": "$presentation",
2120
+ "type": {
2121
+ "text": "ComponentPresentation | null"
2122
+ },
2123
+ "privacy": "public",
2124
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2125
+ "inheritedFrom": {
2126
+ "name": "FoundationElement",
2127
+ "module": "src/foundation-element/foundation-element.ts"
2128
+ }
2129
+ },
2130
+ {
2131
+ "kind": "field",
2132
+ "name": "template",
2133
+ "type": {
2134
+ "text": "ElementViewTemplate | void | null"
2135
+ },
2136
+ "privacy": "public",
2137
+ "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.",
2138
+ "inheritedFrom": {
2139
+ "name": "FoundationElement",
2140
+ "module": "src/foundation-element/foundation-element.ts"
2141
+ }
2142
+ },
2143
+ {
2144
+ "kind": "method",
2145
+ "name": "templateChanged",
2146
+ "privacy": "protected",
2147
+ "return": {
2148
+ "type": {
2149
+ "text": "void"
2150
+ }
2151
+ },
2152
+ "inheritedFrom": {
2153
+ "name": "FoundationElement",
2154
+ "module": "src/foundation-element/foundation-element.ts"
2155
+ }
2156
+ },
2157
+ {
2158
+ "kind": "field",
2159
+ "name": "styles",
2160
+ "type": {
2161
+ "text": "ElementStyles | void | null"
2162
+ },
2163
+ "privacy": "public",
2164
+ "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.",
2165
+ "inheritedFrom": {
2166
+ "name": "FoundationElement",
2167
+ "module": "src/foundation-element/foundation-element.ts"
2168
+ }
2169
+ },
2170
+ {
2171
+ "kind": "method",
2277
2172
  "name": "stylesChanged",
2278
2173
  "privacy": "protected",
2279
2174
  "return": {
@@ -2320,84 +2215,152 @@
2320
2215
  ],
2321
2216
  "events": [
2322
2217
  {
2323
- "description": "Fires a custom 'change' event when the button is invoked",
2324
- "name": "change",
2325
- "inheritedFrom": {
2326
- "name": "AccordionItem",
2327
- "module": "src/accordion-item/accordion-item.ts"
2328
- }
2218
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2219
+ "name": "criteria-changed"
2220
+ },
2221
+ {
2222
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2223
+ "name": "validation-errors"
2329
2224
  }
2330
- ]
2225
+ ],
2226
+ "attributes": [
2227
+ {
2228
+ "name": "placeholder",
2229
+ "type": {
2230
+ "text": "string"
2231
+ },
2232
+ "default": "'Describe your search criteria in natural language...'",
2233
+ "fieldName": "placeholder"
2234
+ },
2235
+ {
2236
+ "type": {
2237
+ "text": "boolean"
2238
+ },
2239
+ "fieldName": "disabled"
2240
+ }
2241
+ ],
2242
+ "superclass": {
2243
+ "name": "FoundationElement",
2244
+ "package": "@microsoft/fast-foundation"
2245
+ },
2246
+ "tagName": "%%prefix%%-ai-criteria-search",
2247
+ "customElement": true
2331
2248
  },
2332
2249
  {
2333
2250
  "kind": "variable",
2334
- "name": "foundationAccordionItemShadowOptions",
2251
+ "name": "foundationAiCriteriaSearchShadowOptions",
2335
2252
  "type": {
2336
2253
  "text": "ShadowRootInit"
2337
2254
  },
2338
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2255
+ "default": "undefined"
2339
2256
  },
2340
2257
  {
2341
2258
  "kind": "variable",
2342
- "name": "defaultAccordionItemConfig",
2259
+ "name": "defaultAiCriteriaSearchConfig",
2343
2260
  "type": {
2344
2261
  "text": "object"
2345
2262
  },
2346
- "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}"
2263
+ "default": "{}"
2347
2264
  },
2348
2265
  {
2349
2266
  "kind": "variable",
2350
- "name": "foundationAccordionItem",
2351
- "description": "The Foundation Accordion Item",
2352
- "privacy": "public"
2267
+ "name": "foundationAiCriteriaSearch"
2353
2268
  }
2354
2269
  ],
2355
2270
  "exports": [
2356
2271
  {
2357
2272
  "kind": "js",
2358
- "name": "AccordionItem",
2273
+ "name": "AiCriteriaSearch",
2359
2274
  "declaration": {
2360
- "name": "AccordionItem",
2361
- "module": "src/accordion-item/accordion-item.ts"
2275
+ "name": "AiCriteriaSearch",
2276
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2362
2277
  }
2363
2278
  },
2364
2279
  {
2365
2280
  "kind": "js",
2366
- "name": "foundationAccordionItemShadowOptions",
2281
+ "name": "foundationAiCriteriaSearchShadowOptions",
2367
2282
  "declaration": {
2368
- "name": "foundationAccordionItemShadowOptions",
2369
- "module": "src/accordion-item/accordion-item.ts"
2283
+ "name": "foundationAiCriteriaSearchShadowOptions",
2284
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2370
2285
  }
2371
2286
  },
2372
2287
  {
2373
2288
  "kind": "js",
2374
- "name": "defaultAccordionItemConfig",
2289
+ "name": "defaultAiCriteriaSearchConfig",
2375
2290
  "declaration": {
2376
- "name": "defaultAccordionItemConfig",
2377
- "module": "src/accordion-item/accordion-item.ts"
2291
+ "name": "defaultAiCriteriaSearchConfig",
2292
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2378
2293
  }
2379
2294
  },
2380
2295
  {
2381
2296
  "kind": "js",
2382
- "name": "foundationAccordionItem",
2297
+ "name": "foundationAiCriteriaSearch",
2383
2298
  "declaration": {
2384
- "name": "foundationAccordionItem",
2385
- "module": "src/accordion-item/accordion-item.ts"
2299
+ "name": "foundationAiCriteriaSearch",
2300
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2386
2301
  }
2387
2302
  }
2388
2303
  ]
2389
2304
  },
2390
2305
  {
2391
2306
  "kind": "javascript-module",
2392
- "path": "src/accordion-item/index.ts",
2307
+ "path": "src/ai-criteria-search/index.ts",
2393
2308
  "declarations": [],
2394
2309
  "exports": [
2310
+ {
2311
+ "kind": "js",
2312
+ "name": "AiCriteriaSearch",
2313
+ "declaration": {
2314
+ "name": "AiCriteriaSearch",
2315
+ "module": "./ai-criteria-search"
2316
+ }
2317
+ },
2318
+ {
2319
+ "kind": "js",
2320
+ "name": "defaultAiCriteriaSearchConfig",
2321
+ "declaration": {
2322
+ "name": "defaultAiCriteriaSearchConfig",
2323
+ "module": "./ai-criteria-search"
2324
+ }
2325
+ },
2326
+ {
2327
+ "kind": "js",
2328
+ "name": "foundationAiCriteriaSearch",
2329
+ "declaration": {
2330
+ "name": "foundationAiCriteriaSearch",
2331
+ "module": "./ai-criteria-search"
2332
+ }
2333
+ },
2334
+ {
2335
+ "kind": "js",
2336
+ "name": "foundationAiCriteriaSearchShadowOptions",
2337
+ "declaration": {
2338
+ "name": "foundationAiCriteriaSearchShadowOptions",
2339
+ "module": "./ai-criteria-search"
2340
+ }
2341
+ },
2342
+ {
2343
+ "kind": "js",
2344
+ "name": "foundationAiCriteriaSearchStyles",
2345
+ "declaration": {
2346
+ "name": "foundationAiCriteriaSearchStyles",
2347
+ "module": "./ai-criteria-search.styles"
2348
+ }
2349
+ },
2350
+ {
2351
+ "kind": "js",
2352
+ "name": "foundationAiCriteriaSearchTemplate",
2353
+ "declaration": {
2354
+ "name": "foundationAiCriteriaSearchTemplate",
2355
+ "module": "./ai-criteria-search.template"
2356
+ }
2357
+ },
2395
2358
  {
2396
2359
  "kind": "js",
2397
2360
  "name": "*",
2398
2361
  "declaration": {
2399
2362
  "name": "*",
2400
- "package": "./accordion-item.template"
2363
+ "package": "./validation/criteria-ir"
2401
2364
  }
2402
2365
  },
2403
2366
  {
@@ -2405,130 +2368,293 @@
2405
2368
  "name": "*",
2406
2369
  "declaration": {
2407
2370
  "name": "*",
2408
- "package": "./accordion-item.styles"
2371
+ "package": "./validation/operator-map"
2372
+ }
2373
+ },
2374
+ {
2375
+ "kind": "js",
2376
+ "name": "*",
2377
+ "declaration": {
2378
+ "name": "*",
2379
+ "package": "./validation/schema-validator"
2380
+ }
2381
+ }
2382
+ ]
2383
+ },
2384
+ {
2385
+ "kind": "javascript-module",
2386
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2387
+ "declarations": [
2388
+ {
2389
+ "kind": "function",
2390
+ "name": "formatValidationErrors",
2391
+ "return": {
2392
+ "type": {
2393
+ "text": "string"
2394
+ }
2395
+ },
2396
+ "parameters": [
2397
+ {
2398
+ "name": "errors",
2399
+ "type": {
2400
+ "text": "ValidationError[]"
2401
+ }
2402
+ }
2403
+ ],
2404
+ "description": "Formats validation errors into a user-friendly message."
2405
+ },
2406
+ {
2407
+ "kind": "function",
2408
+ "name": "showCriteriaError",
2409
+ "return": {
2410
+ "type": {
2411
+ "text": "void"
2412
+ }
2413
+ },
2414
+ "parameters": [
2415
+ {
2416
+ "name": "title",
2417
+ "type": {
2418
+ "text": "string"
2419
+ },
2420
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2421
+ },
2422
+ {
2423
+ "name": "body",
2424
+ "type": {
2425
+ "text": "string"
2426
+ },
2427
+ "description": "Error message to display"
2428
+ },
2429
+ {
2430
+ "name": "tagName",
2431
+ "type": {
2432
+ "text": "string"
2433
+ },
2434
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2435
+ }
2436
+ ],
2437
+ "description": "Shows a criteria error as a toast notification."
2438
+ }
2439
+ ],
2440
+ "exports": [
2441
+ {
2442
+ "kind": "js",
2443
+ "name": "formatValidationErrors",
2444
+ "declaration": {
2445
+ "name": "formatValidationErrors",
2446
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2447
+ }
2448
+ },
2449
+ {
2450
+ "kind": "js",
2451
+ "name": "showCriteriaError",
2452
+ "declaration": {
2453
+ "name": "showCriteriaError",
2454
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2455
+ }
2456
+ }
2457
+ ]
2458
+ },
2459
+ {
2460
+ "kind": "javascript-module",
2461
+ "path": "src/actions-menu/actions-menu.styles.ts",
2462
+ "declarations": [
2463
+ {
2464
+ "kind": "function",
2465
+ "name": "actionsMenuBaseStyles",
2466
+ "return": {
2467
+ "type": {
2468
+ "text": "ElementStyles"
2469
+ }
2470
+ },
2471
+ "parameters": [
2472
+ {
2473
+ "name": "context",
2474
+ "type": {
2475
+ "text": "ElementDefinitionContext"
2476
+ }
2477
+ },
2478
+ {
2479
+ "name": "definition",
2480
+ "type": {
2481
+ "text": "FoundationElementDefinition"
2482
+ }
2483
+ }
2484
+ ]
2485
+ },
2486
+ {
2487
+ "kind": "function",
2488
+ "name": "foundationActionsMenuStyles",
2489
+ "return": {
2490
+ "type": {
2491
+ "text": "ElementStyles"
2492
+ }
2493
+ },
2494
+ "parameters": [
2495
+ {
2496
+ "name": "context",
2497
+ "type": {
2498
+ "text": "ElementDefinitionContext"
2499
+ }
2500
+ },
2501
+ {
2502
+ "name": "definition",
2503
+ "type": {
2504
+ "text": "FoundationElementDefinition"
2505
+ }
2506
+ }
2507
+ ]
2508
+ }
2509
+ ],
2510
+ "exports": [
2511
+ {
2512
+ "kind": "js",
2513
+ "name": "actionsMenuBaseStyles",
2514
+ "declaration": {
2515
+ "name": "actionsMenuBaseStyles",
2516
+ "module": "src/actions-menu/actions-menu.styles.ts"
2409
2517
  }
2410
2518
  },
2411
2519
  {
2412
2520
  "kind": "js",
2413
- "name": "*",
2521
+ "name": "foundationActionsMenuStyles",
2414
2522
  "declaration": {
2415
- "name": "*",
2416
- "package": "./accordion-item"
2523
+ "name": "foundationActionsMenuStyles",
2524
+ "module": "src/actions-menu/actions-menu.styles.ts"
2417
2525
  }
2418
2526
  }
2419
2527
  ]
2420
2528
  },
2421
2529
  {
2422
2530
  "kind": "javascript-module",
2423
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2531
+ "path": "src/actions-menu/actions-menu.template.ts",
2424
2532
  "declarations": [
2533
+ {
2534
+ "kind": "function",
2535
+ "name": "menuTemplate",
2536
+ "parameters": [
2537
+ {
2538
+ "name": "prefix",
2539
+ "type": {
2540
+ "text": "string"
2541
+ }
2542
+ }
2543
+ ]
2544
+ },
2545
+ {
2546
+ "kind": "function",
2547
+ "name": "singleOptionTemplate",
2548
+ "parameters": [
2549
+ {
2550
+ "name": "prefix",
2551
+ "type": {
2552
+ "text": "string"
2553
+ }
2554
+ }
2555
+ ]
2556
+ },
2425
2557
  {
2426
2558
  "kind": "variable",
2427
- "name": "foundationAiCriteriaSearchStyles",
2428
- "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`"
2559
+ "name": "foundationActionsMenuTemplate",
2560
+ "type": {
2561
+ "text": "ViewTemplate<ActionsMenu>"
2562
+ },
2563
+ "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`"
2429
2564
  }
2430
2565
  ],
2431
2566
  "exports": [
2432
2567
  {
2433
2568
  "kind": "js",
2434
- "name": "foundationAiCriteriaSearchStyles",
2569
+ "name": "menuTemplate",
2435
2570
  "declaration": {
2436
- "name": "foundationAiCriteriaSearchStyles",
2437
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2571
+ "name": "menuTemplate",
2572
+ "module": "src/actions-menu/actions-menu.template.ts"
2438
2573
  }
2439
- }
2440
- ]
2441
- },
2442
- {
2443
- "kind": "javascript-module",
2444
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2445
- "declarations": [
2574
+ },
2446
2575
  {
2447
- "kind": "variable",
2448
- "name": "foundationAiCriteriaSearchTemplate",
2449
- "type": {
2450
- "text": "ViewTemplate<AiCriteriaSearch>"
2451
- },
2452
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2453
- }
2454
- ],
2455
- "exports": [
2576
+ "kind": "js",
2577
+ "name": "singleOptionTemplate",
2578
+ "declaration": {
2579
+ "name": "singleOptionTemplate",
2580
+ "module": "src/actions-menu/actions-menu.template.ts"
2581
+ }
2582
+ },
2456
2583
  {
2457
2584
  "kind": "js",
2458
- "name": "foundationAiCriteriaSearchTemplate",
2585
+ "name": "foundationActionsMenuTemplate",
2459
2586
  "declaration": {
2460
- "name": "foundationAiCriteriaSearchTemplate",
2461
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2587
+ "name": "foundationActionsMenuTemplate",
2588
+ "module": "src/actions-menu/actions-menu.template.ts"
2462
2589
  }
2463
2590
  }
2464
2591
  ]
2465
2592
  },
2466
2593
  {
2467
2594
  "kind": "javascript-module",
2468
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2595
+ "path": "src/actions-menu/actions-menu.ts",
2469
2596
  "declarations": [
2470
2597
  {
2471
2598
  "kind": "class",
2472
- "description": "Natural-language criteria search input with AI interpretation.",
2473
- "name": "AiCriteriaSearch",
2599
+ "description": "",
2600
+ "name": "ActionsMenu",
2474
2601
  "members": [
2475
2602
  {
2476
2603
  "kind": "field",
2477
- "name": "providerRegistry",
2604
+ "name": "actions",
2478
2605
  "type": {
2479
- "text": "AIProviderRegistry"
2606
+ "text": "ActionMenuItem[]"
2480
2607
  }
2481
2608
  },
2482
2609
  {
2483
2610
  "kind": "field",
2484
- "name": "placeholder",
2611
+ "name": "isVertical",
2485
2612
  "type": {
2486
- "text": "string"
2613
+ "text": "boolean"
2487
2614
  },
2488
- "default": "'Describe your search criteria in natural language...'"
2615
+ "default": "false"
2489
2616
  },
2490
2617
  {
2491
2618
  "kind": "field",
2492
- "name": "disabled",
2619
+ "name": "addDefaultActions",
2493
2620
  "type": {
2494
2621
  "text": "boolean"
2495
- }
2622
+ },
2623
+ "default": "true"
2496
2624
  },
2497
2625
  {
2498
2626
  "kind": "field",
2499
- "name": "inputValue",
2627
+ "name": "autoCloseOnAction",
2500
2628
  "type": {
2501
- "text": "string"
2629
+ "text": "boolean"
2502
2630
  },
2503
- "default": "''"
2631
+ "default": "true"
2504
2632
  },
2505
2633
  {
2506
2634
  "kind": "field",
2507
- "name": "isInterpreting",
2635
+ "name": "classNames",
2508
2636
  "type": {
2509
- "text": "boolean"
2510
- },
2511
- "default": "false"
2637
+ "text": "string"
2638
+ }
2512
2639
  },
2513
2640
  {
2514
2641
  "kind": "field",
2515
- "name": "lastValidCriteria",
2642
+ "name": "definition",
2516
2643
  "type": {
2517
- "text": "string | null"
2518
- },
2519
- "default": "null"
2644
+ "text": "any"
2645
+ }
2520
2646
  },
2521
2647
  {
2522
2648
  "kind": "field",
2523
- "name": "activeGroups",
2649
+ "name": "name",
2524
2650
  "type": {
2525
- "text": "CriteriaGroup[]"
2651
+ "text": "string"
2526
2652
  },
2527
- "default": "[]"
2653
+ "default": "'Actions'"
2528
2654
  },
2529
2655
  {
2530
2656
  "kind": "field",
2531
- "name": "showingChips",
2657
+ "name": "open",
2532
2658
  "type": {
2533
2659
  "text": "boolean"
2534
2660
  },
@@ -2536,15 +2662,14 @@
2536
2662
  },
2537
2663
  {
2538
2664
  "kind": "field",
2539
- "name": "fieldMetadata",
2665
+ "name": "buttonAppearance",
2540
2666
  "type": {
2541
- "text": "MetadataDetail[] | string[]"
2542
- },
2543
- "default": "[]"
2667
+ "text": "string"
2668
+ }
2544
2669
  },
2545
2670
  {
2546
2671
  "kind": "field",
2547
- "name": "isRecording",
2672
+ "name": "hideDisabled",
2548
2673
  "type": {
2549
2674
  "text": "boolean"
2550
2675
  },
@@ -2552,125 +2677,114 @@
2552
2677
  },
2553
2678
  {
2554
2679
  "kind": "field",
2555
- "name": "textAreaRef",
2556
- "type": {
2557
- "text": "HTMLTextAreaElement"
2558
- },
2559
- "privacy": "public"
2560
- },
2561
- {
2562
- "kind": "field",
2563
- "name": "stopRecording",
2680
+ "name": "hideMenuSingleOption",
2564
2681
  "type": {
2565
- "text": "(() => void) | null"
2682
+ "text": "boolean"
2566
2683
  },
2567
- "privacy": "private",
2568
- "default": "null"
2684
+ "default": "false"
2569
2685
  },
2570
2686
  {
2571
2687
  "kind": "field",
2572
- "name": "speechApplyDebounceTimer",
2688
+ "name": "singleOption",
2573
2689
  "type": {
2574
- "text": "ReturnType<typeof setTimeout> | null"
2575
- },
2576
- "privacy": "private",
2577
- "default": "null"
2690
+ "text": "ActionMenuItem"
2691
+ }
2578
2692
  },
2579
2693
  {
2580
2694
  "kind": "field",
2581
- "name": "speechAvailable",
2695
+ "name": "actionsMenu",
2582
2696
  "type": {
2583
- "text": "boolean"
2584
- },
2585
- "readonly": true
2697
+ "text": "HTMLElement"
2698
+ }
2586
2699
  },
2587
2700
  {
2588
2701
  "kind": "field",
2589
- "name": "criteriaChips",
2702
+ "name": "actionsOpener",
2590
2703
  "type": {
2591
- "text": "CriteriaChip[]"
2592
- },
2593
- "readonly": true
2594
- },
2595
- {
2596
- "kind": "method",
2597
- "name": "getFieldLabel",
2598
- "privacy": "private",
2599
- "return": {
2600
- "type": {
2601
- "text": "string"
2602
- }
2603
- },
2604
- "parameters": [
2605
- {
2606
- "name": "fieldName",
2607
- "type": {
2608
- "text": "string"
2609
- }
2610
- }
2611
- ]
2704
+ "text": "HTMLElement"
2705
+ }
2612
2706
  },
2613
2707
  {
2614
2708
  "kind": "method",
2615
- "name": "toggleCriteriaView",
2616
- "return": {
2617
- "type": {
2618
- "text": "void"
2619
- }
2620
- }
2709
+ "name": "updateMenuPosition",
2710
+ "privacy": "private"
2621
2711
  },
2622
2712
  {
2623
2713
  "kind": "method",
2624
- "name": "removeChip",
2625
- "return": {
2626
- "type": {
2627
- "text": "void"
2628
- }
2629
- },
2714
+ "name": "definitionChanged",
2715
+ "privacy": "protected",
2630
2716
  "parameters": [
2631
2717
  {
2632
- "name": "groupIndex",
2718
+ "name": "oldValue",
2633
2719
  "type": {
2634
- "text": "number"
2720
+ "text": "any"
2635
2721
  }
2636
2722
  },
2637
2723
  {
2638
- "name": "clauseIndex",
2724
+ "name": "newValue",
2639
2725
  "type": {
2640
- "text": "number"
2726
+ "text": "any"
2641
2727
  }
2642
2728
  }
2643
2729
  ]
2644
2730
  },
2645
2731
  {
2646
2732
  "kind": "method",
2647
- "name": "clearChips",
2648
- "return": {
2649
- "type": {
2650
- "text": "void"
2651
- }
2652
- }
2733
+ "name": "openChanged",
2734
+ "privacy": "protected"
2653
2735
  },
2654
2736
  {
2655
2737
  "kind": "method",
2656
- "name": "handleSubmit"
2738
+ "name": "toggleActionsMenuVisibility"
2657
2739
  },
2658
2740
  {
2659
2741
  "kind": "method",
2660
- "name": "handleBlur"
2742
+ "name": "onActionMenuItemClick",
2743
+ "parameters": [
2744
+ {
2745
+ "name": "callback",
2746
+ "type": {
2747
+ "text": "(rowData) => void | any"
2748
+ }
2749
+ }
2750
+ ]
2661
2751
  },
2662
2752
  {
2663
- "kind": "method",
2664
- "name": "clear"
2753
+ "kind": "field",
2754
+ "name": "allActions",
2755
+ "type": {
2756
+ "text": "ActionMenuItem[]"
2757
+ },
2758
+ "readonly": true
2759
+ },
2760
+ {
2761
+ "kind": "field",
2762
+ "name": "rowData",
2763
+ "readonly": true
2665
2764
  },
2666
2765
  {
2667
2766
  "kind": "method",
2668
- "name": "toggleSpeechInput"
2767
+ "name": "getLabel",
2768
+ "parameters": [
2769
+ {
2770
+ "name": "name",
2771
+ "type": {
2772
+ "text": "string | ((rowData: any) => string)"
2773
+ }
2774
+ }
2775
+ ]
2669
2776
  },
2670
2777
  {
2671
2778
  "kind": "method",
2672
- "name": "clearSpeechApplyDebounce",
2673
- "privacy": "private"
2779
+ "name": "getTemplate",
2780
+ "parameters": [
2781
+ {
2782
+ "name": "prefix",
2783
+ "type": {
2784
+ "text": "string"
2785
+ }
2786
+ }
2787
+ ]
2674
2788
  },
2675
2789
  {
2676
2790
  "kind": "field",
@@ -2784,154 +2898,115 @@
2784
2898
  }
2785
2899
  }
2786
2900
  ],
2787
- "events": [
2901
+ "attributes": [
2788
2902
  {
2789
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2790
- "name": "criteria-changed"
2903
+ "name": "is-vertical",
2904
+ "type": {
2905
+ "text": "boolean"
2906
+ },
2907
+ "default": "false",
2908
+ "fieldName": "isVertical"
2791
2909
  },
2792
2910
  {
2793
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2794
- "name": "validation-errors"
2795
- }
2796
- ],
2797
- "attributes": [
2911
+ "name": "add-default-actions",
2912
+ "type": {
2913
+ "text": "boolean"
2914
+ },
2915
+ "default": "true",
2916
+ "fieldName": "addDefaultActions"
2917
+ },
2798
2918
  {
2799
- "name": "placeholder",
2919
+ "name": "auto-close-on-action",
2920
+ "type": {
2921
+ "text": "boolean"
2922
+ },
2923
+ "default": "true",
2924
+ "fieldName": "autoCloseOnAction"
2925
+ },
2926
+ {
2927
+ "name": "name",
2800
2928
  "type": {
2801
2929
  "text": "string"
2802
2930
  },
2803
- "default": "'Describe your search criteria in natural language...'",
2804
- "fieldName": "placeholder"
2931
+ "default": "'Actions'",
2932
+ "fieldName": "name"
2805
2933
  },
2806
2934
  {
2935
+ "name": "open",
2807
2936
  "type": {
2808
2937
  "text": "boolean"
2809
2938
  },
2810
- "fieldName": "disabled"
2939
+ "default": "false",
2940
+ "fieldName": "open"
2941
+ },
2942
+ {
2943
+ "name": "buttonAppearance",
2944
+ "type": {
2945
+ "text": "string"
2946
+ },
2947
+ "fieldName": "buttonAppearance"
2948
+ },
2949
+ {
2950
+ "name": "hide-disabled",
2951
+ "type": {
2952
+ "text": "boolean"
2953
+ },
2954
+ "default": "false",
2955
+ "fieldName": "hideDisabled"
2956
+ },
2957
+ {
2958
+ "name": "hide-menu-single-option",
2959
+ "type": {
2960
+ "text": "boolean"
2961
+ },
2962
+ "default": "false",
2963
+ "fieldName": "hideMenuSingleOption"
2811
2964
  }
2812
2965
  ],
2813
2966
  "superclass": {
2814
2967
  "name": "FoundationElement",
2815
2968
  "package": "@microsoft/fast-foundation"
2816
2969
  },
2817
- "tagName": "%%prefix%%-ai-criteria-search",
2970
+ "tagName": "%%prefix%%-actions-menu",
2818
2971
  "customElement": true
2819
2972
  },
2820
2973
  {
2821
2974
  "kind": "variable",
2822
- "name": "foundationAiCriteriaSearchShadowOptions",
2823
- "type": {
2824
- "text": "ShadowRootInit"
2825
- },
2826
- "default": "undefined"
2827
- },
2828
- {
2829
- "kind": "variable",
2830
- "name": "defaultAiCriteriaSearchConfig",
2831
- "type": {
2832
- "text": "object"
2833
- },
2834
- "default": "{}"
2835
- },
2836
- {
2837
- "kind": "variable",
2838
- "name": "foundationAiCriteriaSearch"
2975
+ "name": "foundationActionsMenu",
2976
+ "description": "The Foundation Actions Menu",
2977
+ "privacy": "public"
2839
2978
  }
2840
2979
  ],
2841
2980
  "exports": [
2842
2981
  {
2843
2982
  "kind": "js",
2844
- "name": "AiCriteriaSearch",
2845
- "declaration": {
2846
- "name": "AiCriteriaSearch",
2847
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2848
- }
2849
- },
2850
- {
2851
- "kind": "js",
2852
- "name": "foundationAiCriteriaSearchShadowOptions",
2853
- "declaration": {
2854
- "name": "foundationAiCriteriaSearchShadowOptions",
2855
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2856
- }
2857
- },
2858
- {
2859
- "kind": "js",
2860
- "name": "defaultAiCriteriaSearchConfig",
2983
+ "name": "ActionsMenu",
2861
2984
  "declaration": {
2862
- "name": "defaultAiCriteriaSearchConfig",
2863
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2985
+ "name": "ActionsMenu",
2986
+ "module": "src/actions-menu/actions-menu.ts"
2864
2987
  }
2865
2988
  },
2866
2989
  {
2867
2990
  "kind": "js",
2868
- "name": "foundationAiCriteriaSearch",
2991
+ "name": "foundationActionsMenu",
2869
2992
  "declaration": {
2870
- "name": "foundationAiCriteriaSearch",
2871
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2993
+ "name": "foundationActionsMenu",
2994
+ "module": "src/actions-menu/actions-menu.ts"
2872
2995
  }
2873
2996
  }
2874
2997
  ]
2875
2998
  },
2876
2999
  {
2877
3000
  "kind": "javascript-module",
2878
- "path": "src/ai-criteria-search/index.ts",
3001
+ "path": "src/actions-menu/index.ts",
2879
3002
  "declarations": [],
2880
3003
  "exports": [
2881
- {
2882
- "kind": "js",
2883
- "name": "AiCriteriaSearch",
2884
- "declaration": {
2885
- "name": "AiCriteriaSearch",
2886
- "module": "./ai-criteria-search"
2887
- }
2888
- },
2889
- {
2890
- "kind": "js",
2891
- "name": "defaultAiCriteriaSearchConfig",
2892
- "declaration": {
2893
- "name": "defaultAiCriteriaSearchConfig",
2894
- "module": "./ai-criteria-search"
2895
- }
2896
- },
2897
- {
2898
- "kind": "js",
2899
- "name": "foundationAiCriteriaSearch",
2900
- "declaration": {
2901
- "name": "foundationAiCriteriaSearch",
2902
- "module": "./ai-criteria-search"
2903
- }
2904
- },
2905
- {
2906
- "kind": "js",
2907
- "name": "foundationAiCriteriaSearchShadowOptions",
2908
- "declaration": {
2909
- "name": "foundationAiCriteriaSearchShadowOptions",
2910
- "module": "./ai-criteria-search"
2911
- }
2912
- },
2913
- {
2914
- "kind": "js",
2915
- "name": "foundationAiCriteriaSearchStyles",
2916
- "declaration": {
2917
- "name": "foundationAiCriteriaSearchStyles",
2918
- "module": "./ai-criteria-search.styles"
2919
- }
2920
- },
2921
- {
2922
- "kind": "js",
2923
- "name": "foundationAiCriteriaSearchTemplate",
2924
- "declaration": {
2925
- "name": "foundationAiCriteriaSearchTemplate",
2926
- "module": "./ai-criteria-search.template"
2927
- }
2928
- },
2929
3004
  {
2930
3005
  "kind": "js",
2931
3006
  "name": "*",
2932
3007
  "declaration": {
2933
3008
  "name": "*",
2934
- "package": "./validation/criteria-ir"
3009
+ "package": "./actions-menu.styles"
2935
3010
  }
2936
3011
  },
2937
3012
  {
@@ -2939,7 +3014,7 @@
2939
3014
  "name": "*",
2940
3015
  "declaration": {
2941
3016
  "name": "*",
2942
- "package": "./validation/operator-map"
3017
+ "package": "./actions-menu.template"
2943
3018
  }
2944
3019
  },
2945
3020
  {
@@ -2947,82 +3022,7 @@
2947
3022
  "name": "*",
2948
3023
  "declaration": {
2949
3024
  "name": "*",
2950
- "package": "./validation/schema-validator"
2951
- }
2952
- }
2953
- ]
2954
- },
2955
- {
2956
- "kind": "javascript-module",
2957
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2958
- "declarations": [
2959
- {
2960
- "kind": "function",
2961
- "name": "formatValidationErrors",
2962
- "return": {
2963
- "type": {
2964
- "text": "string"
2965
- }
2966
- },
2967
- "parameters": [
2968
- {
2969
- "name": "errors",
2970
- "type": {
2971
- "text": "ValidationError[]"
2972
- }
2973
- }
2974
- ],
2975
- "description": "Formats validation errors into a user-friendly message."
2976
- },
2977
- {
2978
- "kind": "function",
2979
- "name": "showCriteriaError",
2980
- "return": {
2981
- "type": {
2982
- "text": "void"
2983
- }
2984
- },
2985
- "parameters": [
2986
- {
2987
- "name": "title",
2988
- "type": {
2989
- "text": "string"
2990
- },
2991
- "description": "Notification title (e.g. \"Criteria validation error\")"
2992
- },
2993
- {
2994
- "name": "body",
2995
- "type": {
2996
- "text": "string"
2997
- },
2998
- "description": "Error message to display"
2999
- },
3000
- {
3001
- "name": "tagName",
3002
- "type": {
3003
- "text": "string"
3004
- },
3005
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3006
- }
3007
- ],
3008
- "description": "Shows a criteria error as a toast notification."
3009
- }
3010
- ],
3011
- "exports": [
3012
- {
3013
- "kind": "js",
3014
- "name": "formatValidationErrors",
3015
- "declaration": {
3016
- "name": "formatValidationErrors",
3017
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3018
- }
3019
- },
3020
- {
3021
- "kind": "js",
3022
- "name": "showCriteriaError",
3023
- "declaration": {
3024
- "name": "showCriteriaError",
3025
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3025
+ "package": "./actions-menu"
3026
3026
  }
3027
3027
  }
3028
3028
  ]