@genesislcap/foundation-ui 15.89.0 → 15.90.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.
@@ -1495,11 +1495,42 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/accordion-item/accordion-item.styles.ts",
1498
+ "path": "src/_config/index.ts",
1499
+ "declarations": [],
1500
+ "exports": [
1501
+ {
1502
+ "kind": "js",
1503
+ "name": "*",
1504
+ "declaration": {
1505
+ "name": "*",
1506
+ "package": "./styles"
1507
+ }
1508
+ },
1509
+ {
1510
+ "kind": "js",
1511
+ "name": "*",
1512
+ "declaration": {
1513
+ "name": "*",
1514
+ "package": "./tokens"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "*",
1520
+ "declaration": {
1521
+ "name": "*",
1522
+ "package": "./values"
1523
+ }
1524
+ }
1525
+ ]
1526
+ },
1527
+ {
1528
+ "kind": "javascript-module",
1529
+ "path": "src/accordion/accordion.styles.ts",
1499
1530
  "declarations": [
1500
1531
  {
1501
1532
  "kind": "function",
1502
- "name": "foundationAccordionItemStyles",
1533
+ "name": "foundationAccordionStyles",
1503
1534
  "return": {
1504
1535
  "type": {
1505
1536
  "text": "ElementStyles"
@@ -1524,24 +1555,24 @@
1524
1555
  "exports": [
1525
1556
  {
1526
1557
  "kind": "js",
1527
- "name": "foundationAccordionItemStyles",
1558
+ "name": "foundationAccordionStyles",
1528
1559
  "declaration": {
1529
- "name": "foundationAccordionItemStyles",
1530
- "module": "src/accordion-item/accordion-item.styles.ts"
1560
+ "name": "foundationAccordionStyles",
1561
+ "module": "src/accordion/accordion.styles.ts"
1531
1562
  }
1532
1563
  }
1533
1564
  ]
1534
1565
  },
1535
1566
  {
1536
1567
  "kind": "javascript-module",
1537
- "path": "src/accordion-item/accordion-item.template.ts",
1568
+ "path": "src/accordion/accordion.template.ts",
1538
1569
  "declarations": [
1539
1570
  {
1540
1571
  "kind": "function",
1541
- "name": "foundationAccordionItemTemplate",
1572
+ "name": "foundationAccordionTemplate",
1542
1573
  "return": {
1543
1574
  "type": {
1544
- "text": "ViewTemplate<AccordionItem>"
1575
+ "text": "ViewTemplate<Accordion>"
1545
1576
  }
1546
1577
  },
1547
1578
  "parameters": [
@@ -1563,244 +1594,365 @@
1563
1594
  "exports": [
1564
1595
  {
1565
1596
  "kind": "js",
1566
- "name": "foundationAccordionItemTemplate",
1597
+ "name": "foundationAccordionTemplate",
1567
1598
  "declaration": {
1568
- "name": "foundationAccordionItemTemplate",
1569
- "module": "src/accordion-item/accordion-item.template.ts"
1599
+ "name": "foundationAccordionTemplate",
1600
+ "module": "src/accordion/accordion.template.ts"
1570
1601
  }
1571
1602
  }
1572
1603
  ]
1573
1604
  },
1574
1605
  {
1575
1606
  "kind": "javascript-module",
1576
- "path": "src/accordion-item/accordion-item.ts",
1607
+ "path": "src/accordion/accordion.ts",
1577
1608
  "declarations": [
1578
1609
  {
1579
1610
  "kind": "class",
1580
1611
  "description": "",
1581
- "name": "AccordionItem",
1612
+ "name": "Accordion",
1582
1613
  "superclass": {
1583
- "name": "FASTAccordionItem",
1584
- "package": "@microsoft/fast-components"
1614
+ "name": "FASTAccordion",
1615
+ "package": "@microsoft/fast-foundation"
1585
1616
  },
1586
- "tagName": "%%prefix%%-accordion-item",
1617
+ "tagName": "%%prefix%%-accordion",
1587
1618
  "customElement": true,
1588
1619
  "attributes": [
1589
1620
  {
1590
- "name": "heading-level",
1591
- "type": {
1592
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1593
- },
1594
- "default": "2",
1595
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1596
- "fieldName": "headinglevel",
1597
- "inheritedFrom": {
1598
- "name": "AccordionItem",
1599
- "module": "src/accordion-item/accordion-item.ts"
1600
- }
1601
- },
1602
- {
1603
- "type": {
1604
- "text": "boolean"
1605
- },
1606
- "default": "false",
1607
- "description": "Expands or collapses the item.",
1608
- "fieldName": "expanded",
1609
- "inheritedFrom": {
1610
- "name": "AccordionItem",
1611
- "module": "src/accordion-item/accordion-item.ts"
1612
- }
1613
- },
1614
- {
1615
- "name": "id",
1621
+ "name": "expand-mode",
1616
1622
  "type": {
1617
- "text": "string"
1623
+ "text": "AccordionExpandMode"
1618
1624
  },
1619
- "description": "The item ID",
1620
- "fieldName": "id",
1625
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1626
+ "fieldName": "expandmode",
1621
1627
  "inheritedFrom": {
1622
- "name": "AccordionItem",
1623
- "module": "src/accordion-item/accordion-item.ts"
1628
+ "name": "Accordion",
1629
+ "module": "src/accordion/accordion.ts"
1624
1630
  }
1625
1631
  }
1626
1632
  ],
1627
1633
  "members": [
1628
1634
  {
1629
1635
  "kind": "field",
1630
- "name": "headinglevel",
1636
+ "name": "expandmode",
1631
1637
  "type": {
1632
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1638
+ "text": "AccordionExpandMode"
1633
1639
  },
1634
1640
  "privacy": "public",
1635
- "default": "2",
1636
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1641
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1637
1642
  "inheritedFrom": {
1638
- "name": "AccordionItem",
1639
- "module": "src/accordion-item/accordion-item.ts"
1643
+ "name": "Accordion",
1644
+ "module": "src/accordion/accordion.ts"
1640
1645
  }
1641
1646
  },
1642
1647
  {
1643
1648
  "kind": "field",
1644
- "name": "expanded",
1649
+ "name": "activeid",
1645
1650
  "type": {
1646
- "text": "boolean"
1651
+ "text": "string | null"
1647
1652
  },
1648
- "privacy": "public",
1649
- "default": "false",
1650
- "description": "Expands or collapses the item.",
1653
+ "privacy": "private",
1651
1654
  "inheritedFrom": {
1652
- "name": "AccordionItem",
1653
- "module": "src/accordion-item/accordion-item.ts"
1655
+ "name": "Accordion",
1656
+ "module": "src/accordion/accordion.ts"
1654
1657
  }
1655
1658
  },
1656
1659
  {
1657
1660
  "kind": "field",
1658
- "name": "id",
1661
+ "name": "activeItemIndex",
1659
1662
  "type": {
1660
- "text": "string"
1663
+ "text": "number"
1661
1664
  },
1662
- "privacy": "public",
1663
- "description": "The item ID",
1665
+ "privacy": "private",
1666
+ "default": "0",
1664
1667
  "inheritedFrom": {
1665
- "name": "AccordionItem",
1666
- "module": "src/accordion-item/accordion-item.ts"
1668
+ "name": "Accordion",
1669
+ "module": "src/accordion/accordion.ts"
1667
1670
  }
1668
1671
  },
1669
1672
  {
1670
1673
  "kind": "field",
1671
- "name": "change",
1674
+ "name": "accordionIds",
1675
+ "type": {
1676
+ "text": "Array<string | null>"
1677
+ },
1672
1678
  "privacy": "private",
1673
1679
  "inheritedFrom": {
1674
- "name": "AccordionItem",
1675
- "module": "src/accordion-item/accordion-item.ts"
1680
+ "name": "Accordion",
1681
+ "module": "src/accordion/accordion.ts"
1676
1682
  }
1677
1683
  },
1678
1684
  {
1679
1685
  "kind": "field",
1680
- "name": "_presentation",
1681
- "type": {
1682
- "text": "ComponentPresentation | null | undefined"
1683
- },
1686
+ "name": "change",
1684
1687
  "privacy": "private",
1685
- "default": "void 0",
1686
1688
  "inheritedFrom": {
1687
- "name": "FoundationElement",
1688
- "module": "src/foundation-element/foundation-element.ts"
1689
+ "name": "Accordion",
1690
+ "module": "src/accordion/accordion.ts"
1689
1691
  }
1690
1692
  },
1691
1693
  {
1692
- "kind": "field",
1693
- "name": "$presentation",
1694
- "type": {
1695
- "text": "ComponentPresentation | null"
1694
+ "kind": "method",
1695
+ "name": "findExpandedItem",
1696
+ "privacy": "private",
1697
+ "return": {
1698
+ "type": {
1699
+ "text": "AccordionItem | null"
1700
+ }
1696
1701
  },
1697
- "privacy": "public",
1698
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1699
1702
  "inheritedFrom": {
1700
- "name": "FoundationElement",
1701
- "module": "src/foundation-element/foundation-element.ts"
1703
+ "name": "Accordion",
1704
+ "module": "src/accordion/accordion.ts"
1702
1705
  }
1703
1706
  },
1704
1707
  {
1705
1708
  "kind": "field",
1706
- "name": "template",
1707
- "type": {
1708
- "text": "ElementViewTemplate | void | null"
1709
- },
1710
- "privacy": "public",
1711
- "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.",
1709
+ "name": "setItems",
1710
+ "privacy": "private",
1712
1711
  "inheritedFrom": {
1713
- "name": "FoundationElement",
1714
- "module": "src/foundation-element/foundation-element.ts"
1712
+ "name": "Accordion",
1713
+ "module": "src/accordion/accordion.ts"
1715
1714
  }
1716
1715
  },
1717
1716
  {
1718
1717
  "kind": "method",
1719
- "name": "templateChanged",
1720
- "privacy": "protected",
1718
+ "name": "resetItems",
1719
+ "privacy": "private",
1721
1720
  "return": {
1722
1721
  "type": {
1723
1722
  "text": "void"
1724
1723
  }
1725
1724
  },
1726
1725
  "inheritedFrom": {
1727
- "name": "FoundationElement",
1728
- "module": "src/foundation-element/foundation-element.ts"
1726
+ "name": "Accordion",
1727
+ "module": "src/accordion/accordion.ts"
1729
1728
  }
1730
1729
  },
1731
1730
  {
1732
1731
  "kind": "field",
1733
- "name": "styles",
1734
- "type": {
1735
- "text": "ElementStyles | void | null"
1736
- },
1737
- "privacy": "public",
1738
- "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.",
1732
+ "name": "removeItemListeners",
1733
+ "privacy": "private",
1739
1734
  "inheritedFrom": {
1740
- "name": "FoundationElement",
1741
- "module": "src/foundation-element/foundation-element.ts"
1735
+ "name": "Accordion",
1736
+ "module": "src/accordion/accordion.ts"
1737
+ }
1738
+ },
1739
+ {
1740
+ "kind": "field",
1741
+ "name": "activeItemChange",
1742
+ "privacy": "private",
1743
+ "inheritedFrom": {
1744
+ "name": "Accordion",
1745
+ "module": "src/accordion/accordion.ts"
1742
1746
  }
1743
1747
  },
1744
1748
  {
1745
1749
  "kind": "method",
1746
- "name": "stylesChanged",
1747
- "privacy": "protected",
1750
+ "name": "getItemIds",
1751
+ "privacy": "private",
1748
1752
  "return": {
1749
1753
  "type": {
1750
- "text": "void"
1754
+ "text": "Array<string | null>"
1751
1755
  }
1752
1756
  },
1753
1757
  "inheritedFrom": {
1754
- "name": "FoundationElement",
1755
- "module": "src/foundation-element/foundation-element.ts"
1758
+ "name": "Accordion",
1759
+ "module": "src/accordion/accordion.ts"
1756
1760
  }
1757
1761
  },
1758
1762
  {
1759
1763
  "kind": "method",
1760
- "name": "compose",
1761
- "privacy": "public",
1762
- "static": true,
1764
+ "name": "isSingleExpandMode",
1765
+ "privacy": "private",
1763
1766
  "return": {
1764
1767
  "type": {
1765
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1768
+ "text": "boolean"
1766
1769
  }
1767
1770
  },
1768
- "parameters": [
1769
- {
1770
- "name": "this",
1771
- "type": {
1772
- "text": "K"
1773
- }
1774
- },
1775
- {
1776
- "name": "elementDefinition",
1777
- "type": {
1778
- "text": "T"
1779
- },
1780
- "description": "The definition of the element to create the registry\nfunction for."
1781
- }
1782
- ],
1783
- "description": "Defines an element registry function with a set of element definition defaults.",
1784
1771
  "inheritedFrom": {
1785
- "name": "FoundationElement",
1786
- "module": "src/foundation-element/foundation-element.ts"
1772
+ "name": "Accordion",
1773
+ "module": "src/accordion/accordion.ts"
1787
1774
  }
1788
- }
1789
- ],
1790
- "events": [
1775
+ },
1791
1776
  {
1792
- "description": "Fires a custom 'change' event when the button is invoked",
1793
- "name": "change",
1794
- "inheritedFrom": {
1795
- "name": "AccordionItem",
1796
- "module": "src/accordion-item/accordion-item.ts"
1777
+ "kind": "field",
1778
+ "name": "handleItemKeyDown",
1779
+ "privacy": "private",
1780
+ "inheritedFrom": {
1781
+ "name": "Accordion",
1782
+ "module": "src/accordion/accordion.ts"
1783
+ }
1784
+ },
1785
+ {
1786
+ "kind": "field",
1787
+ "name": "handleItemFocus",
1788
+ "privacy": "private",
1789
+ "inheritedFrom": {
1790
+ "name": "Accordion",
1791
+ "module": "src/accordion/accordion.ts"
1792
+ }
1793
+ },
1794
+ {
1795
+ "kind": "method",
1796
+ "name": "adjust",
1797
+ "privacy": "private",
1798
+ "return": {
1799
+ "type": {
1800
+ "text": "void"
1801
+ }
1802
+ },
1803
+ "parameters": [
1804
+ {
1805
+ "name": "adjustment",
1806
+ "type": {
1807
+ "text": "number"
1808
+ }
1809
+ }
1810
+ ],
1811
+ "inheritedFrom": {
1812
+ "name": "Accordion",
1813
+ "module": "src/accordion/accordion.ts"
1814
+ }
1815
+ },
1816
+ {
1817
+ "kind": "method",
1818
+ "name": "focusItem",
1819
+ "privacy": "private",
1820
+ "return": {
1821
+ "type": {
1822
+ "text": "void"
1823
+ }
1824
+ },
1825
+ "inheritedFrom": {
1826
+ "name": "Accordion",
1827
+ "module": "src/accordion/accordion.ts"
1828
+ }
1829
+ },
1830
+ {
1831
+ "kind": "field",
1832
+ "name": "_presentation",
1833
+ "type": {
1834
+ "text": "ComponentPresentation | null | undefined"
1835
+ },
1836
+ "privacy": "private",
1837
+ "default": "void 0",
1838
+ "inheritedFrom": {
1839
+ "name": "FoundationElement",
1840
+ "module": "src/foundation-element/foundation-element.ts"
1841
+ }
1842
+ },
1843
+ {
1844
+ "kind": "field",
1845
+ "name": "$presentation",
1846
+ "type": {
1847
+ "text": "ComponentPresentation | null"
1848
+ },
1849
+ "privacy": "public",
1850
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1851
+ "inheritedFrom": {
1852
+ "name": "FoundationElement",
1853
+ "module": "src/foundation-element/foundation-element.ts"
1854
+ }
1855
+ },
1856
+ {
1857
+ "kind": "field",
1858
+ "name": "template",
1859
+ "type": {
1860
+ "text": "ElementViewTemplate | void | null"
1861
+ },
1862
+ "privacy": "public",
1863
+ "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.",
1864
+ "inheritedFrom": {
1865
+ "name": "FoundationElement",
1866
+ "module": "src/foundation-element/foundation-element.ts"
1867
+ }
1868
+ },
1869
+ {
1870
+ "kind": "method",
1871
+ "name": "templateChanged",
1872
+ "privacy": "protected",
1873
+ "return": {
1874
+ "type": {
1875
+ "text": "void"
1876
+ }
1877
+ },
1878
+ "inheritedFrom": {
1879
+ "name": "FoundationElement",
1880
+ "module": "src/foundation-element/foundation-element.ts"
1881
+ }
1882
+ },
1883
+ {
1884
+ "kind": "field",
1885
+ "name": "styles",
1886
+ "type": {
1887
+ "text": "ElementStyles | void | null"
1888
+ },
1889
+ "privacy": "public",
1890
+ "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.",
1891
+ "inheritedFrom": {
1892
+ "name": "FoundationElement",
1893
+ "module": "src/foundation-element/foundation-element.ts"
1894
+ }
1895
+ },
1896
+ {
1897
+ "kind": "method",
1898
+ "name": "stylesChanged",
1899
+ "privacy": "protected",
1900
+ "return": {
1901
+ "type": {
1902
+ "text": "void"
1903
+ }
1904
+ },
1905
+ "inheritedFrom": {
1906
+ "name": "FoundationElement",
1907
+ "module": "src/foundation-element/foundation-element.ts"
1908
+ }
1909
+ },
1910
+ {
1911
+ "kind": "method",
1912
+ "name": "compose",
1913
+ "privacy": "public",
1914
+ "static": true,
1915
+ "return": {
1916
+ "type": {
1917
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1918
+ }
1919
+ },
1920
+ "parameters": [
1921
+ {
1922
+ "name": "this",
1923
+ "type": {
1924
+ "text": "K"
1925
+ }
1926
+ },
1927
+ {
1928
+ "name": "elementDefinition",
1929
+ "type": {
1930
+ "text": "T"
1931
+ },
1932
+ "description": "The definition of the element to create the registry\nfunction for."
1933
+ }
1934
+ ],
1935
+ "description": "Defines an element registry function with a set of element definition defaults.",
1936
+ "inheritedFrom": {
1937
+ "name": "FoundationElement",
1938
+ "module": "src/foundation-element/foundation-element.ts"
1939
+ }
1940
+ }
1941
+ ],
1942
+ "events": [
1943
+ {
1944
+ "description": "Fires a custom 'change' event when the active item changes",
1945
+ "name": "change",
1946
+ "inheritedFrom": {
1947
+ "name": "Accordion",
1948
+ "module": "src/accordion/accordion.ts"
1797
1949
  }
1798
1950
  }
1799
1951
  ]
1800
1952
  },
1801
1953
  {
1802
1954
  "kind": "variable",
1803
- "name": "foundationAccordionItemShadowOptions",
1955
+ "name": "foundationAccordionShadowOptions",
1804
1956
  "type": {
1805
1957
  "text": "ShadowRootInit"
1806
1958
  },
@@ -1808,57 +1960,57 @@
1808
1960
  },
1809
1961
  {
1810
1962
  "kind": "variable",
1811
- "name": "defaultAccordionItemConfig",
1963
+ "name": "defaultAccordionConfig",
1812
1964
  "type": {
1813
1965
  "text": "object"
1814
1966
  },
1815
- "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}"
1967
+ "default": "{}"
1816
1968
  },
1817
1969
  {
1818
1970
  "kind": "variable",
1819
- "name": "foundationAccordionItem",
1820
- "description": "The Foundation Accordion Item",
1971
+ "name": "foundationAccordion",
1972
+ "description": "The Foundation Accordion",
1821
1973
  "privacy": "public"
1822
1974
  }
1823
1975
  ],
1824
1976
  "exports": [
1825
1977
  {
1826
1978
  "kind": "js",
1827
- "name": "AccordionItem",
1979
+ "name": "Accordion",
1828
1980
  "declaration": {
1829
- "name": "AccordionItem",
1830
- "module": "src/accordion-item/accordion-item.ts"
1981
+ "name": "Accordion",
1982
+ "module": "src/accordion/accordion.ts"
1831
1983
  }
1832
1984
  },
1833
1985
  {
1834
1986
  "kind": "js",
1835
- "name": "foundationAccordionItemShadowOptions",
1987
+ "name": "foundationAccordionShadowOptions",
1836
1988
  "declaration": {
1837
- "name": "foundationAccordionItemShadowOptions",
1838
- "module": "src/accordion-item/accordion-item.ts"
1989
+ "name": "foundationAccordionShadowOptions",
1990
+ "module": "src/accordion/accordion.ts"
1839
1991
  }
1840
1992
  },
1841
1993
  {
1842
1994
  "kind": "js",
1843
- "name": "defaultAccordionItemConfig",
1995
+ "name": "defaultAccordionConfig",
1844
1996
  "declaration": {
1845
- "name": "defaultAccordionItemConfig",
1846
- "module": "src/accordion-item/accordion-item.ts"
1997
+ "name": "defaultAccordionConfig",
1998
+ "module": "src/accordion/accordion.ts"
1847
1999
  }
1848
2000
  },
1849
2001
  {
1850
2002
  "kind": "js",
1851
- "name": "foundationAccordionItem",
2003
+ "name": "foundationAccordion",
1852
2004
  "declaration": {
1853
- "name": "foundationAccordionItem",
1854
- "module": "src/accordion-item/accordion-item.ts"
2005
+ "name": "foundationAccordion",
2006
+ "module": "src/accordion/accordion.ts"
1855
2007
  }
1856
2008
  }
1857
2009
  ]
1858
2010
  },
1859
2011
  {
1860
2012
  "kind": "javascript-module",
1861
- "path": "src/accordion-item/index.ts",
2013
+ "path": "src/accordion/index.ts",
1862
2014
  "declarations": [],
1863
2015
  "exports": [
1864
2016
  {
@@ -1866,7 +2018,7 @@
1866
2018
  "name": "*",
1867
2019
  "declaration": {
1868
2020
  "name": "*",
1869
- "package": "./accordion-item.template"
2021
+ "package": "./accordion.template"
1870
2022
  }
1871
2023
  },
1872
2024
  {
@@ -1874,7 +2026,7 @@
1874
2026
  "name": "*",
1875
2027
  "declaration": {
1876
2028
  "name": "*",
1877
- "package": "./accordion-item.styles"
2029
+ "package": "./accordion.styles"
1878
2030
  }
1879
2031
  },
1880
2032
  {
@@ -1882,153 +2034,210 @@
1882
2034
  "name": "*",
1883
2035
  "declaration": {
1884
2036
  "name": "*",
1885
- "package": "./accordion-item"
2037
+ "package": "./accordion"
1886
2038
  }
1887
2039
  }
1888
2040
  ]
1889
2041
  },
1890
2042
  {
1891
2043
  "kind": "javascript-module",
1892
- "path": "src/_config/index.ts",
1893
- "declarations": [],
1894
- "exports": [
1895
- {
1896
- "kind": "js",
1897
- "name": "*",
1898
- "declaration": {
1899
- "name": "*",
1900
- "package": "./styles"
1901
- }
1902
- },
2044
+ "path": "src/actions-menu/actions-menu.styles.ts",
2045
+ "declarations": [
1903
2046
  {
1904
- "kind": "js",
1905
- "name": "*",
1906
- "declaration": {
1907
- "name": "*",
1908
- "package": "./tokens"
1909
- }
2047
+ "kind": "function",
2048
+ "name": "actionsMenuBaseStyles",
2049
+ "return": {
2050
+ "type": {
2051
+ "text": "ElementStyles"
2052
+ }
2053
+ },
2054
+ "parameters": [
2055
+ {
2056
+ "name": "context",
2057
+ "type": {
2058
+ "text": "ElementDefinitionContext"
2059
+ }
2060
+ },
2061
+ {
2062
+ "name": "definition",
2063
+ "type": {
2064
+ "text": "FoundationElementDefinition"
2065
+ }
2066
+ }
2067
+ ]
1910
2068
  },
1911
2069
  {
1912
- "kind": "js",
1913
- "name": "*",
1914
- "declaration": {
1915
- "name": "*",
1916
- "package": "./values"
1917
- }
1918
- }
1919
- ]
1920
- },
1921
- {
1922
- "kind": "javascript-module",
1923
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1924
- "declarations": [
1925
- {
1926
- "kind": "variable",
1927
- "name": "foundationAiCriteriaSearchStyles",
1928
- "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`"
2070
+ "kind": "function",
2071
+ "name": "foundationActionsMenuStyles",
2072
+ "return": {
2073
+ "type": {
2074
+ "text": "ElementStyles"
2075
+ }
2076
+ },
2077
+ "parameters": [
2078
+ {
2079
+ "name": "context",
2080
+ "type": {
2081
+ "text": "ElementDefinitionContext"
2082
+ }
2083
+ },
2084
+ {
2085
+ "name": "definition",
2086
+ "type": {
2087
+ "text": "FoundationElementDefinition"
2088
+ }
2089
+ }
2090
+ ]
1929
2091
  }
1930
2092
  ],
1931
2093
  "exports": [
1932
2094
  {
1933
2095
  "kind": "js",
1934
- "name": "foundationAiCriteriaSearchStyles",
2096
+ "name": "actionsMenuBaseStyles",
1935
2097
  "declaration": {
1936
- "name": "foundationAiCriteriaSearchStyles",
1937
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2098
+ "name": "actionsMenuBaseStyles",
2099
+ "module": "src/actions-menu/actions-menu.styles.ts"
2100
+ }
2101
+ },
2102
+ {
2103
+ "kind": "js",
2104
+ "name": "foundationActionsMenuStyles",
2105
+ "declaration": {
2106
+ "name": "foundationActionsMenuStyles",
2107
+ "module": "src/actions-menu/actions-menu.styles.ts"
1938
2108
  }
1939
2109
  }
1940
2110
  ]
1941
2111
  },
1942
2112
  {
1943
2113
  "kind": "javascript-module",
1944
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2114
+ "path": "src/actions-menu/actions-menu.template.ts",
1945
2115
  "declarations": [
1946
2116
  {
1947
2117
  "kind": "variable",
1948
- "name": "foundationAiCriteriaSearchTemplate",
2118
+ "name": "menuTemplate"
2119
+ },
2120
+ {
2121
+ "kind": "variable",
2122
+ "name": "singleOptionTemplate"
2123
+ },
2124
+ {
2125
+ "kind": "variable",
2126
+ "name": "foundationActionsMenuTemplate",
1949
2127
  "type": {
1950
- "text": "ViewTemplate<AiCriteriaSearch>"
2128
+ "text": "ViewTemplate<ActionsMenu>"
1951
2129
  },
1952
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2130
+ "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`"
1953
2131
  }
1954
2132
  ],
1955
2133
  "exports": [
1956
2134
  {
1957
2135
  "kind": "js",
1958
- "name": "foundationAiCriteriaSearchTemplate",
2136
+ "name": "menuTemplate",
1959
2137
  "declaration": {
1960
- "name": "foundationAiCriteriaSearchTemplate",
1961
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2138
+ "name": "menuTemplate",
2139
+ "module": "src/actions-menu/actions-menu.template.ts"
2140
+ }
2141
+ },
2142
+ {
2143
+ "kind": "js",
2144
+ "name": "singleOptionTemplate",
2145
+ "declaration": {
2146
+ "name": "singleOptionTemplate",
2147
+ "module": "src/actions-menu/actions-menu.template.ts"
2148
+ }
2149
+ },
2150
+ {
2151
+ "kind": "js",
2152
+ "name": "foundationActionsMenuTemplate",
2153
+ "declaration": {
2154
+ "name": "foundationActionsMenuTemplate",
2155
+ "module": "src/actions-menu/actions-menu.template.ts"
1962
2156
  }
1963
2157
  }
1964
2158
  ]
1965
2159
  },
1966
2160
  {
1967
2161
  "kind": "javascript-module",
1968
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2162
+ "path": "src/actions-menu/actions-menu.ts",
1969
2163
  "declarations": [
1970
2164
  {
1971
2165
  "kind": "class",
1972
- "description": "Natural-language criteria search input with AI interpretation.",
1973
- "name": "AiCriteriaSearch",
2166
+ "description": "",
2167
+ "name": "ActionsMenu",
1974
2168
  "members": [
1975
2169
  {
1976
2170
  "kind": "field",
1977
- "name": "providerRegistry",
2171
+ "name": "actions",
1978
2172
  "type": {
1979
- "text": "AIProviderRegistry"
2173
+ "text": "ActionMenuItem[]"
1980
2174
  }
1981
2175
  },
1982
2176
  {
1983
2177
  "kind": "field",
1984
- "name": "placeholder",
2178
+ "name": "actionsResolver",
1985
2179
  "type": {
1986
- "text": "string"
2180
+ "text": "ActionMenuItemsResolver | undefined"
1987
2181
  },
1988
- "default": "'Describe your search criteria in natural language...'"
2182
+ "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
1989
2183
  },
1990
2184
  {
1991
2185
  "kind": "field",
1992
- "name": "disabled",
2186
+ "name": "isVertical",
1993
2187
  "type": {
1994
2188
  "text": "boolean"
1995
- }
2189
+ },
2190
+ "default": "false"
1996
2191
  },
1997
2192
  {
1998
2193
  "kind": "field",
1999
- "name": "inputValue",
2194
+ "name": "addDefaultActions",
2000
2195
  "type": {
2001
- "text": "string"
2196
+ "text": "boolean"
2002
2197
  },
2003
- "default": "''"
2198
+ "default": "true"
2004
2199
  },
2005
2200
  {
2006
2201
  "kind": "field",
2007
- "name": "isInterpreting",
2202
+ "name": "autoCloseOnAction",
2008
2203
  "type": {
2009
2204
  "text": "boolean"
2010
2205
  },
2011
- "default": "false"
2206
+ "default": "true"
2012
2207
  },
2013
2208
  {
2014
2209
  "kind": "field",
2015
- "name": "lastValidCriteria",
2210
+ "name": "classNames",
2016
2211
  "type": {
2017
- "text": "string | null"
2212
+ "text": "string"
2213
+ }
2214
+ },
2215
+ {
2216
+ "kind": "field",
2217
+ "name": "definition",
2218
+ "type": {
2219
+ "text": "any"
2220
+ }
2221
+ },
2222
+ {
2223
+ "kind": "field",
2224
+ "name": "name",
2225
+ "type": {
2226
+ "text": "string"
2018
2227
  },
2019
- "default": "null"
2228
+ "default": "'Actions'"
2020
2229
  },
2021
2230
  {
2022
2231
  "kind": "field",
2023
- "name": "activeGroups",
2232
+ "name": "iconName",
2024
2233
  "type": {
2025
- "text": "CriteriaGroup[]"
2234
+ "text": "string"
2026
2235
  },
2027
- "default": "[]"
2236
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
2028
2237
  },
2029
2238
  {
2030
2239
  "kind": "field",
2031
- "name": "showingChips",
2240
+ "name": "open",
2032
2241
  "type": {
2033
2242
  "text": "boolean"
2034
2243
  },
@@ -2036,15 +2245,14 @@
2036
2245
  },
2037
2246
  {
2038
2247
  "kind": "field",
2039
- "name": "fieldMetadata",
2248
+ "name": "buttonAppearance",
2040
2249
  "type": {
2041
- "text": "MetadataDetail[] | string[]"
2042
- },
2043
- "default": "[]"
2250
+ "text": "string"
2251
+ }
2044
2252
  },
2045
2253
  {
2046
2254
  "kind": "field",
2047
- "name": "isRecording",
2255
+ "name": "hideDisabled",
2048
2256
  "type": {
2049
2257
  "text": "boolean"
2050
2258
  },
@@ -2052,125 +2260,209 @@
2052
2260
  },
2053
2261
  {
2054
2262
  "kind": "field",
2055
- "name": "textAreaRef",
2263
+ "name": "hideMenuSingleOption",
2056
2264
  "type": {
2057
- "text": "HTMLTextAreaElement"
2265
+ "text": "boolean"
2058
2266
  },
2059
- "privacy": "public"
2267
+ "default": "false"
2060
2268
  },
2061
2269
  {
2062
2270
  "kind": "field",
2063
- "name": "stopRecording",
2271
+ "name": "singleOption",
2064
2272
  "type": {
2065
- "text": "(() => void) | null"
2066
- },
2067
- "privacy": "private",
2068
- "default": "null"
2273
+ "text": "ActionMenuItem"
2274
+ }
2069
2275
  },
2070
2276
  {
2071
2277
  "kind": "field",
2072
- "name": "speechApplyDebounceTimer",
2278
+ "name": "actionsMenu",
2073
2279
  "type": {
2074
- "text": "ReturnType<typeof setTimeout> | null"
2075
- },
2076
- "privacy": "private",
2077
- "default": "null"
2280
+ "text": "HTMLElement"
2281
+ }
2078
2282
  },
2079
2283
  {
2080
2284
  "kind": "field",
2081
- "name": "speechAvailable",
2285
+ "name": "actionsOpener",
2082
2286
  "type": {
2083
- "text": "boolean"
2287
+ "text": "HTMLElement"
2288
+ }
2289
+ },
2290
+ {
2291
+ "kind": "field",
2292
+ "name": "positionTracker",
2293
+ "type": {
2294
+ "text": "AnchoredPopoverPositionTracker | undefined"
2084
2295
  },
2085
- "readonly": true
2296
+ "privacy": "private"
2086
2297
  },
2087
2298
  {
2088
2299
  "kind": "field",
2089
- "name": "criteriaChips",
2300
+ "name": "focusMenuOnOpen",
2090
2301
  "type": {
2091
- "text": "CriteriaChip[]"
2302
+ "text": "boolean"
2092
2303
  },
2093
- "readonly": true
2304
+ "privacy": "private",
2305
+ "default": "false",
2306
+ "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
2094
2307
  },
2095
2308
  {
2096
2309
  "kind": "method",
2097
- "name": "getFieldLabel",
2098
- "privacy": "private",
2099
- "return": {
2100
- "type": {
2101
- "text": "string"
2102
- }
2103
- },
2104
- "parameters": [
2105
- {
2106
- "name": "fieldName",
2107
- "type": {
2108
- "text": "string"
2109
- }
2110
- }
2111
- ]
2310
+ "name": "updateMenuPosition",
2311
+ "privacy": "private"
2112
2312
  },
2113
2313
  {
2114
2314
  "kind": "method",
2115
- "name": "toggleCriteriaView",
2116
- "return": {
2117
- "type": {
2118
- "text": "void"
2119
- }
2120
- }
2315
+ "name": "startTrackingPosition",
2316
+ "privacy": "private"
2121
2317
  },
2122
2318
  {
2123
2319
  "kind": "method",
2124
- "name": "removeChip",
2125
- "return": {
2126
- "type": {
2127
- "text": "void"
2128
- }
2129
- },
2320
+ "name": "stopTrackingPosition",
2321
+ "privacy": "private"
2322
+ },
2323
+ {
2324
+ "kind": "method",
2325
+ "name": "definitionChanged",
2326
+ "privacy": "protected",
2130
2327
  "parameters": [
2131
2328
  {
2132
- "name": "groupIndex",
2329
+ "name": "oldValue",
2133
2330
  "type": {
2134
- "text": "number"
2331
+ "text": "any"
2135
2332
  }
2136
2333
  },
2137
2334
  {
2138
- "name": "clauseIndex",
2335
+ "name": "newValue",
2139
2336
  "type": {
2140
- "text": "number"
2337
+ "text": "any"
2141
2338
  }
2142
2339
  }
2143
2340
  ]
2144
2341
  },
2145
2342
  {
2146
2343
  "kind": "method",
2147
- "name": "clearChips",
2148
- "return": {
2149
- "type": {
2150
- "text": "void"
2151
- }
2152
- }
2344
+ "name": "openChanged",
2345
+ "privacy": "protected"
2153
2346
  },
2154
2347
  {
2155
2348
  "kind": "method",
2156
- "name": "handleSubmit"
2349
+ "name": "toggleActionsMenuVisibility"
2157
2350
  },
2158
2351
  {
2159
2352
  "kind": "method",
2160
- "name": "handleBlur"
2353
+ "name": "onPopoverToggle",
2354
+ "parameters": [
2355
+ {
2356
+ "name": "event",
2357
+ "type": {
2358
+ "text": "Event"
2359
+ }
2360
+ }
2361
+ ],
2362
+ "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
2161
2363
  },
2162
2364
  {
2163
2365
  "kind": "method",
2164
- "name": "clear"
2366
+ "name": "onIconOpenerKeydown",
2367
+ "return": {
2368
+ "type": {
2369
+ "text": "boolean"
2370
+ }
2371
+ },
2372
+ "parameters": [
2373
+ {
2374
+ "name": "event",
2375
+ "type": {
2376
+ "text": "KeyboardEvent"
2377
+ }
2378
+ }
2379
+ ],
2380
+ "description": "Opens the icon-only opener from the keyboard, as a native button would."
2165
2381
  },
2166
2382
  {
2167
2383
  "kind": "method",
2168
- "name": "toggleSpeechInput"
2384
+ "name": "onActionMenuItemClick",
2385
+ "parameters": [
2386
+ {
2387
+ "name": "callback",
2388
+ "type": {
2389
+ "text": "(rowData) => void | any"
2390
+ }
2391
+ }
2392
+ ]
2169
2393
  },
2170
2394
  {
2171
2395
  "kind": "method",
2172
- "name": "clearSpeechApplyDebounce",
2173
- "privacy": "private"
2396
+ "name": "isActionDisabled",
2397
+ "return": {
2398
+ "type": {
2399
+ "text": "boolean"
2400
+ }
2401
+ },
2402
+ "parameters": [
2403
+ {
2404
+ "name": "action",
2405
+ "type": {
2406
+ "text": "ActionMenuItem"
2407
+ }
2408
+ }
2409
+ ],
2410
+ "description": "Resolves an action's `isDisabled` for the current row."
2411
+ },
2412
+ {
2413
+ "kind": "field",
2414
+ "name": "resolvedActions",
2415
+ "type": {
2416
+ "text": "ActionMenuItem[]"
2417
+ },
2418
+ "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
2419
+ "readonly": true
2420
+ },
2421
+ {
2422
+ "kind": "field",
2423
+ "name": "hasVisibleActions",
2424
+ "type": {
2425
+ "text": "boolean"
2426
+ },
2427
+ "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
2428
+ "readonly": true
2429
+ },
2430
+ {
2431
+ "kind": "field",
2432
+ "name": "allActions",
2433
+ "type": {
2434
+ "text": "ActionMenuItem[]"
2435
+ },
2436
+ "readonly": true
2437
+ },
2438
+ {
2439
+ "kind": "field",
2440
+ "name": "rowData",
2441
+ "readonly": true
2442
+ },
2443
+ {
2444
+ "kind": "method",
2445
+ "name": "getLabel",
2446
+ "parameters": [
2447
+ {
2448
+ "name": "name",
2449
+ "type": {
2450
+ "text": "string | ((rowData: any) => string)"
2451
+ }
2452
+ }
2453
+ ]
2454
+ },
2455
+ {
2456
+ "kind": "method",
2457
+ "name": "getTemplate",
2458
+ "parameters": [
2459
+ {
2460
+ "name": "prefix",
2461
+ "type": {
2462
+ "text": "string"
2463
+ }
2464
+ }
2465
+ ]
2174
2466
  },
2175
2467
  {
2176
2468
  "kind": "field",
@@ -2284,448 +2576,305 @@
2284
2576
  }
2285
2577
  }
2286
2578
  ],
2287
- "events": [
2288
- {
2289
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2290
- "name": "criteria-changed"
2291
- },
2292
- {
2293
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2294
- "name": "validation-errors"
2295
- }
2296
- ],
2297
2579
  "attributes": [
2298
2580
  {
2299
- "name": "placeholder",
2581
+ "name": "is-vertical",
2300
2582
  "type": {
2301
- "text": "string"
2583
+ "text": "boolean"
2302
2584
  },
2303
- "default": "'Describe your search criteria in natural language...'",
2304
- "fieldName": "placeholder"
2585
+ "default": "false",
2586
+ "fieldName": "isVertical"
2305
2587
  },
2306
2588
  {
2589
+ "name": "add-default-actions",
2307
2590
  "type": {
2308
2591
  "text": "boolean"
2309
2592
  },
2310
- "fieldName": "disabled"
2311
- }
2312
- ],
2313
- "superclass": {
2314
- "name": "FoundationElement",
2315
- "package": "@microsoft/fast-foundation"
2316
- },
2317
- "tagName": "%%prefix%%-ai-criteria-search",
2318
- "customElement": true
2319
- },
2320
- {
2321
- "kind": "variable",
2322
- "name": "foundationAiCriteriaSearchShadowOptions",
2323
- "type": {
2324
- "text": "ShadowRootInit"
2325
- },
2326
- "default": "undefined"
2327
- },
2328
- {
2329
- "kind": "variable",
2330
- "name": "defaultAiCriteriaSearchConfig",
2331
- "type": {
2332
- "text": "object"
2333
- },
2334
- "default": "{}"
2335
- },
2336
- {
2337
- "kind": "variable",
2338
- "name": "foundationAiCriteriaSearch"
2339
- }
2340
- ],
2341
- "exports": [
2342
- {
2343
- "kind": "js",
2344
- "name": "AiCriteriaSearch",
2345
- "declaration": {
2346
- "name": "AiCriteriaSearch",
2347
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2348
- }
2349
- },
2350
- {
2351
- "kind": "js",
2352
- "name": "foundationAiCriteriaSearchShadowOptions",
2353
- "declaration": {
2354
- "name": "foundationAiCriteriaSearchShadowOptions",
2355
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2356
- }
2357
- },
2358
- {
2359
- "kind": "js",
2360
- "name": "defaultAiCriteriaSearchConfig",
2361
- "declaration": {
2362
- "name": "defaultAiCriteriaSearchConfig",
2363
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2364
- }
2365
- },
2366
- {
2367
- "kind": "js",
2368
- "name": "foundationAiCriteriaSearch",
2369
- "declaration": {
2370
- "name": "foundationAiCriteriaSearch",
2371
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2372
- }
2373
- }
2374
- ]
2375
- },
2376
- {
2377
- "kind": "javascript-module",
2378
- "path": "src/ai-criteria-search/index.ts",
2379
- "declarations": [],
2380
- "exports": [
2381
- {
2382
- "kind": "js",
2383
- "name": "AiCriteriaSearch",
2384
- "declaration": {
2385
- "name": "AiCriteriaSearch",
2386
- "module": "./ai-criteria-search"
2387
- }
2388
- },
2389
- {
2390
- "kind": "js",
2391
- "name": "defaultAiCriteriaSearchConfig",
2392
- "declaration": {
2393
- "name": "defaultAiCriteriaSearchConfig",
2394
- "module": "./ai-criteria-search"
2395
- }
2396
- },
2397
- {
2398
- "kind": "js",
2399
- "name": "foundationAiCriteriaSearch",
2400
- "declaration": {
2401
- "name": "foundationAiCriteriaSearch",
2402
- "module": "./ai-criteria-search"
2403
- }
2404
- },
2405
- {
2406
- "kind": "js",
2407
- "name": "foundationAiCriteriaSearchShadowOptions",
2408
- "declaration": {
2409
- "name": "foundationAiCriteriaSearchShadowOptions",
2410
- "module": "./ai-criteria-search"
2411
- }
2412
- },
2413
- {
2414
- "kind": "js",
2415
- "name": "foundationAiCriteriaSearchStyles",
2416
- "declaration": {
2417
- "name": "foundationAiCriteriaSearchStyles",
2418
- "module": "./ai-criteria-search.styles"
2419
- }
2420
- },
2421
- {
2422
- "kind": "js",
2423
- "name": "foundationAiCriteriaSearchTemplate",
2424
- "declaration": {
2425
- "name": "foundationAiCriteriaSearchTemplate",
2426
- "module": "./ai-criteria-search.template"
2427
- }
2428
- },
2429
- {
2430
- "kind": "js",
2431
- "name": "*",
2432
- "declaration": {
2433
- "name": "*",
2434
- "package": "./validation/criteria-ir"
2435
- }
2436
- },
2437
- {
2438
- "kind": "js",
2439
- "name": "*",
2440
- "declaration": {
2441
- "name": "*",
2442
- "package": "./validation/operator-map"
2443
- }
2444
- },
2445
- {
2446
- "kind": "js",
2447
- "name": "*",
2448
- "declaration": {
2449
- "name": "*",
2450
- "package": "./validation/schema-validator"
2451
- }
2452
- }
2453
- ]
2454
- },
2455
- {
2456
- "kind": "javascript-module",
2457
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2458
- "declarations": [
2459
- {
2460
- "kind": "function",
2461
- "name": "formatValidationErrors",
2462
- "return": {
2463
- "type": {
2464
- "text": "string"
2465
- }
2466
- },
2467
- "parameters": [
2593
+ "default": "true",
2594
+ "fieldName": "addDefaultActions"
2595
+ },
2468
2596
  {
2469
- "name": "errors",
2597
+ "name": "auto-close-on-action",
2470
2598
  "type": {
2471
- "text": "ValidationError[]"
2472
- }
2473
- }
2474
- ],
2475
- "description": "Formats validation errors into a user-friendly message."
2476
- },
2477
- {
2478
- "kind": "function",
2479
- "name": "showCriteriaError",
2480
- "return": {
2481
- "type": {
2482
- "text": "void"
2483
- }
2484
- },
2485
- "parameters": [
2599
+ "text": "boolean"
2600
+ },
2601
+ "default": "true",
2602
+ "fieldName": "autoCloseOnAction"
2603
+ },
2486
2604
  {
2487
- "name": "title",
2605
+ "name": "name",
2488
2606
  "type": {
2489
2607
  "text": "string"
2490
2608
  },
2491
- "description": "Notification title (e.g. \"Criteria validation error\")"
2609
+ "default": "'Actions'",
2610
+ "fieldName": "name"
2492
2611
  },
2493
2612
  {
2494
- "name": "body",
2613
+ "name": "icon-name",
2495
2614
  "type": {
2496
2615
  "text": "string"
2497
2616
  },
2498
- "description": "Error message to display"
2617
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
2618
+ "fieldName": "iconName"
2499
2619
  },
2500
2620
  {
2501
- "name": "tagName",
2621
+ "name": "open",
2622
+ "type": {
2623
+ "text": "boolean"
2624
+ },
2625
+ "default": "false",
2626
+ "fieldName": "open"
2627
+ },
2628
+ {
2629
+ "name": "buttonAppearance",
2502
2630
  "type": {
2503
2631
  "text": "string"
2504
2632
  },
2505
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2633
+ "fieldName": "buttonAppearance"
2634
+ },
2635
+ {
2636
+ "name": "hide-disabled",
2637
+ "type": {
2638
+ "text": "boolean"
2639
+ },
2640
+ "default": "false",
2641
+ "fieldName": "hideDisabled"
2642
+ },
2643
+ {
2644
+ "name": "hide-menu-single-option",
2645
+ "type": {
2646
+ "text": "boolean"
2647
+ },
2648
+ "default": "false",
2649
+ "fieldName": "hideMenuSingleOption"
2506
2650
  }
2507
2651
  ],
2508
- "description": "Shows a criteria error as a toast notification."
2652
+ "superclass": {
2653
+ "name": "FoundationElement",
2654
+ "package": "@microsoft/fast-foundation"
2655
+ },
2656
+ "tagName": "%%prefix%%-actions-menu",
2657
+ "customElement": true
2658
+ },
2659
+ {
2660
+ "kind": "variable",
2661
+ "name": "foundationActionsMenu",
2662
+ "description": "The Foundation Actions Menu",
2663
+ "privacy": "public"
2509
2664
  }
2510
2665
  ],
2511
2666
  "exports": [
2512
2667
  {
2513
2668
  "kind": "js",
2514
- "name": "formatValidationErrors",
2669
+ "name": "ActionsMenu",
2515
2670
  "declaration": {
2516
- "name": "formatValidationErrors",
2517
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2671
+ "name": "ActionsMenu",
2672
+ "module": "src/actions-menu/actions-menu.ts"
2518
2673
  }
2519
2674
  },
2520
2675
  {
2521
2676
  "kind": "js",
2522
- "name": "showCriteriaError",
2677
+ "name": "foundationActionsMenu",
2523
2678
  "declaration": {
2524
- "name": "showCriteriaError",
2525
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2679
+ "name": "foundationActionsMenu",
2680
+ "module": "src/actions-menu/actions-menu.ts"
2526
2681
  }
2527
2682
  }
2528
2683
  ]
2529
2684
  },
2530
2685
  {
2531
2686
  "kind": "javascript-module",
2532
- "path": "src/actions-menu/actions-menu.styles.ts",
2687
+ "path": "src/actions-menu/ag-menu.styles.ts",
2533
2688
  "declarations": [
2534
2689
  {
2535
2690
  "kind": "function",
2536
- "name": "actionsMenuBaseStyles",
2537
- "return": {
2538
- "type": {
2539
- "text": "ElementStyles"
2540
- }
2541
- },
2542
- "parameters": [
2543
- {
2544
- "name": "context",
2545
- "type": {
2546
- "text": "ElementDefinitionContext"
2547
- }
2548
- },
2549
- {
2550
- "name": "definition",
2551
- "type": {
2552
- "text": "FoundationElementDefinition"
2553
- }
2554
- }
2555
- ]
2556
- },
2557
- {
2558
- "kind": "function",
2559
- "name": "foundationActionsMenuStyles",
2691
+ "name": "agMenuStyles",
2560
2692
  "return": {
2561
2693
  "type": {
2562
- "text": "ElementStyles"
2694
+ "text": ""
2563
2695
  }
2564
2696
  },
2565
2697
  "parameters": [
2566
2698
  {
2567
- "name": "context",
2699
+ "name": "menuSelector",
2568
2700
  "type": {
2569
- "text": "ElementDefinitionContext"
2570
- }
2701
+ "text": "string"
2702
+ },
2703
+ "description": "Selects the menu surface. May be a selector list."
2571
2704
  },
2572
2705
  {
2573
- "name": "definition",
2574
- "type": {
2575
- "text": "FoundationElementDefinition"
2576
- }
2706
+ "name": "itemSelector",
2707
+ "type": {
2708
+ "text": "string"
2709
+ },
2710
+ "description": "Selects a menu item. Must be a single selector, as states are appended to it."
2577
2711
  }
2578
- ]
2712
+ ],
2713
+ "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
2714
+ "privacy": "public"
2579
2715
  }
2580
2716
  ],
2581
2717
  "exports": [
2582
2718
  {
2583
2719
  "kind": "js",
2584
- "name": "actionsMenuBaseStyles",
2720
+ "name": "agMenuStyles",
2585
2721
  "declaration": {
2586
- "name": "actionsMenuBaseStyles",
2587
- "module": "src/actions-menu/actions-menu.styles.ts"
2722
+ "name": "agMenuStyles",
2723
+ "module": "src/actions-menu/ag-menu.styles.ts"
2724
+ }
2725
+ }
2726
+ ]
2727
+ },
2728
+ {
2729
+ "kind": "javascript-module",
2730
+ "path": "src/actions-menu/index.ts",
2731
+ "declarations": [],
2732
+ "exports": [
2733
+ {
2734
+ "kind": "js",
2735
+ "name": "*",
2736
+ "declaration": {
2737
+ "name": "*",
2738
+ "package": "./actions-menu.styles"
2588
2739
  }
2589
2740
  },
2590
2741
  {
2591
2742
  "kind": "js",
2592
- "name": "foundationActionsMenuStyles",
2743
+ "name": "*",
2593
2744
  "declaration": {
2594
- "name": "foundationActionsMenuStyles",
2595
- "module": "src/actions-menu/actions-menu.styles.ts"
2745
+ "name": "*",
2746
+ "package": "./actions-menu.template"
2747
+ }
2748
+ },
2749
+ {
2750
+ "kind": "js",
2751
+ "name": "*",
2752
+ "declaration": {
2753
+ "name": "*",
2754
+ "package": "./actions-menu"
2755
+ }
2756
+ },
2757
+ {
2758
+ "kind": "js",
2759
+ "name": "*",
2760
+ "declaration": {
2761
+ "name": "*",
2762
+ "package": "./ag-menu.styles"
2596
2763
  }
2597
2764
  }
2598
2765
  ]
2599
2766
  },
2600
2767
  {
2601
2768
  "kind": "javascript-module",
2602
- "path": "src/actions-menu/actions-menu.template.ts",
2769
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2603
2770
  "declarations": [
2604
2771
  {
2605
2772
  "kind": "variable",
2606
- "name": "menuTemplate"
2607
- },
2608
- {
2609
- "kind": "variable",
2610
- "name": "singleOptionTemplate"
2611
- },
2612
- {
2613
- "kind": "variable",
2614
- "name": "foundationActionsMenuTemplate",
2615
- "type": {
2616
- "text": "ViewTemplate<ActionsMenu>"
2617
- },
2618
- "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`"
2773
+ "name": "foundationAiCriteriaSearchStyles",
2774
+ "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`"
2619
2775
  }
2620
2776
  ],
2621
2777
  "exports": [
2622
2778
  {
2623
2779
  "kind": "js",
2624
- "name": "menuTemplate",
2780
+ "name": "foundationAiCriteriaSearchStyles",
2625
2781
  "declaration": {
2626
- "name": "menuTemplate",
2627
- "module": "src/actions-menu/actions-menu.template.ts"
2782
+ "name": "foundationAiCriteriaSearchStyles",
2783
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2628
2784
  }
2629
- },
2785
+ }
2786
+ ]
2787
+ },
2788
+ {
2789
+ "kind": "javascript-module",
2790
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2791
+ "declarations": [
2630
2792
  {
2631
- "kind": "js",
2632
- "name": "singleOptionTemplate",
2633
- "declaration": {
2634
- "name": "singleOptionTemplate",
2635
- "module": "src/actions-menu/actions-menu.template.ts"
2636
- }
2637
- },
2793
+ "kind": "variable",
2794
+ "name": "foundationAiCriteriaSearchTemplate",
2795
+ "type": {
2796
+ "text": "ViewTemplate<AiCriteriaSearch>"
2797
+ },
2798
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2799
+ }
2800
+ ],
2801
+ "exports": [
2638
2802
  {
2639
2803
  "kind": "js",
2640
- "name": "foundationActionsMenuTemplate",
2804
+ "name": "foundationAiCriteriaSearchTemplate",
2641
2805
  "declaration": {
2642
- "name": "foundationActionsMenuTemplate",
2643
- "module": "src/actions-menu/actions-menu.template.ts"
2806
+ "name": "foundationAiCriteriaSearchTemplate",
2807
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2644
2808
  }
2645
2809
  }
2646
2810
  ]
2647
2811
  },
2648
2812
  {
2649
2813
  "kind": "javascript-module",
2650
- "path": "src/actions-menu/actions-menu.ts",
2814
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2651
2815
  "declarations": [
2652
2816
  {
2653
2817
  "kind": "class",
2654
- "description": "",
2655
- "name": "ActionsMenu",
2818
+ "description": "Natural-language criteria search input with AI interpretation.",
2819
+ "name": "AiCriteriaSearch",
2656
2820
  "members": [
2657
2821
  {
2658
2822
  "kind": "field",
2659
- "name": "actions",
2823
+ "name": "providerRegistry",
2660
2824
  "type": {
2661
- "text": "ActionMenuItem[]"
2825
+ "text": "AIProviderRegistry"
2662
2826
  }
2663
2827
  },
2664
2828
  {
2665
2829
  "kind": "field",
2666
- "name": "actionsResolver",
2830
+ "name": "placeholder",
2667
2831
  "type": {
2668
- "text": "ActionMenuItemsResolver | undefined"
2832
+ "text": "string"
2669
2833
  },
2670
- "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
2834
+ "default": "'Describe your search criteria in natural language...'"
2671
2835
  },
2672
2836
  {
2673
2837
  "kind": "field",
2674
- "name": "isVertical",
2838
+ "name": "disabled",
2675
2839
  "type": {
2676
2840
  "text": "boolean"
2677
- },
2678
- "default": "false"
2841
+ }
2679
2842
  },
2680
2843
  {
2681
2844
  "kind": "field",
2682
- "name": "addDefaultActions",
2845
+ "name": "inputValue",
2683
2846
  "type": {
2684
- "text": "boolean"
2847
+ "text": "string"
2685
2848
  },
2686
- "default": "true"
2849
+ "default": "''"
2687
2850
  },
2688
2851
  {
2689
2852
  "kind": "field",
2690
- "name": "autoCloseOnAction",
2853
+ "name": "isInterpreting",
2691
2854
  "type": {
2692
2855
  "text": "boolean"
2693
2856
  },
2694
- "default": "true"
2695
- },
2696
- {
2697
- "kind": "field",
2698
- "name": "classNames",
2699
- "type": {
2700
- "text": "string"
2701
- }
2702
- },
2703
- {
2704
- "kind": "field",
2705
- "name": "definition",
2706
- "type": {
2707
- "text": "any"
2708
- }
2857
+ "default": "false"
2709
2858
  },
2710
2859
  {
2711
2860
  "kind": "field",
2712
- "name": "name",
2861
+ "name": "lastValidCriteria",
2713
2862
  "type": {
2714
- "text": "string"
2863
+ "text": "string | null"
2715
2864
  },
2716
- "default": "'Actions'"
2865
+ "default": "null"
2717
2866
  },
2718
2867
  {
2719
2868
  "kind": "field",
2720
- "name": "iconName",
2869
+ "name": "activeGroups",
2721
2870
  "type": {
2722
- "text": "string"
2871
+ "text": "CriteriaGroup[]"
2723
2872
  },
2724
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
2873
+ "default": "[]"
2725
2874
  },
2726
2875
  {
2727
2876
  "kind": "field",
2728
- "name": "open",
2877
+ "name": "showingChips",
2729
2878
  "type": {
2730
2879
  "text": "boolean"
2731
2880
  },
@@ -2733,22 +2882,15 @@
2733
2882
  },
2734
2883
  {
2735
2884
  "kind": "field",
2736
- "name": "buttonAppearance",
2737
- "type": {
2738
- "text": "string"
2739
- }
2740
- },
2741
- {
2742
- "kind": "field",
2743
- "name": "hideDisabled",
2885
+ "name": "fieldMetadata",
2744
2886
  "type": {
2745
- "text": "boolean"
2887
+ "text": "MetadataDetail[] | string[]"
2746
2888
  },
2747
- "default": "false"
2889
+ "default": "[]"
2748
2890
  },
2749
2891
  {
2750
2892
  "kind": "field",
2751
- "name": "hideMenuSingleOption",
2893
+ "name": "isRecording",
2752
2894
  "type": {
2753
2895
  "text": "boolean"
2754
2896
  },
@@ -2756,201 +2898,125 @@
2756
2898
  },
2757
2899
  {
2758
2900
  "kind": "field",
2759
- "name": "singleOption",
2760
- "type": {
2761
- "text": "ActionMenuItem"
2762
- }
2763
- },
2764
- {
2765
- "kind": "field",
2766
- "name": "actionsMenu",
2901
+ "name": "textAreaRef",
2767
2902
  "type": {
2768
- "text": "HTMLElement"
2769
- }
2903
+ "text": "HTMLTextAreaElement"
2904
+ },
2905
+ "privacy": "public"
2770
2906
  },
2771
2907
  {
2772
2908
  "kind": "field",
2773
- "name": "actionsOpener",
2909
+ "name": "stopRecording",
2774
2910
  "type": {
2775
- "text": "HTMLElement"
2776
- }
2911
+ "text": "(() => void) | null"
2912
+ },
2913
+ "privacy": "private",
2914
+ "default": "null"
2777
2915
  },
2778
2916
  {
2779
2917
  "kind": "field",
2780
- "name": "positionTracker",
2918
+ "name": "speechApplyDebounceTimer",
2781
2919
  "type": {
2782
- "text": "AnchoredPopoverPositionTracker | undefined"
2920
+ "text": "ReturnType<typeof setTimeout> | null"
2783
2921
  },
2784
- "privacy": "private"
2922
+ "privacy": "private",
2923
+ "default": "null"
2785
2924
  },
2786
2925
  {
2787
2926
  "kind": "field",
2788
- "name": "focusMenuOnOpen",
2927
+ "name": "speechAvailable",
2789
2928
  "type": {
2790
2929
  "text": "boolean"
2791
2930
  },
2792
- "privacy": "private",
2793
- "default": "false",
2794
- "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
2795
- },
2796
- {
2797
- "kind": "method",
2798
- "name": "updateMenuPosition",
2799
- "privacy": "private"
2800
- },
2801
- {
2802
- "kind": "method",
2803
- "name": "startTrackingPosition",
2804
- "privacy": "private"
2805
- },
2806
- {
2807
- "kind": "method",
2808
- "name": "stopTrackingPosition",
2809
- "privacy": "private"
2810
- },
2811
- {
2812
- "kind": "method",
2813
- "name": "definitionChanged",
2814
- "privacy": "protected",
2815
- "parameters": [
2816
- {
2817
- "name": "oldValue",
2818
- "type": {
2819
- "text": "any"
2820
- }
2821
- },
2822
- {
2823
- "name": "newValue",
2824
- "type": {
2825
- "text": "any"
2826
- }
2827
- }
2828
- ]
2829
- },
2830
- {
2831
- "kind": "method",
2832
- "name": "openChanged",
2833
- "privacy": "protected"
2834
- },
2835
- {
2836
- "kind": "method",
2837
- "name": "toggleActionsMenuVisibility"
2931
+ "readonly": true
2838
2932
  },
2839
2933
  {
2840
- "kind": "method",
2841
- "name": "onPopoverToggle",
2842
- "parameters": [
2843
- {
2844
- "name": "event",
2845
- "type": {
2846
- "text": "Event"
2847
- }
2848
- }
2849
- ],
2850
- "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
2934
+ "kind": "field",
2935
+ "name": "criteriaChips",
2936
+ "type": {
2937
+ "text": "CriteriaChip[]"
2938
+ },
2939
+ "readonly": true
2851
2940
  },
2852
2941
  {
2853
2942
  "kind": "method",
2854
- "name": "onIconOpenerKeydown",
2943
+ "name": "getFieldLabel",
2944
+ "privacy": "private",
2855
2945
  "return": {
2856
2946
  "type": {
2857
- "text": "boolean"
2947
+ "text": "string"
2858
2948
  }
2859
2949
  },
2860
2950
  "parameters": [
2861
2951
  {
2862
- "name": "event",
2952
+ "name": "fieldName",
2863
2953
  "type": {
2864
- "text": "KeyboardEvent"
2954
+ "text": "string"
2865
2955
  }
2866
2956
  }
2867
- ],
2868
- "description": "Opens the icon-only opener from the keyboard, as a native button would."
2957
+ ]
2869
2958
  },
2870
2959
  {
2871
2960
  "kind": "method",
2872
- "name": "onActionMenuItemClick",
2873
- "parameters": [
2874
- {
2875
- "name": "callback",
2876
- "type": {
2877
- "text": "(rowData) => void | any"
2878
- }
2961
+ "name": "toggleCriteriaView",
2962
+ "return": {
2963
+ "type": {
2964
+ "text": "void"
2879
2965
  }
2880
- ]
2966
+ }
2881
2967
  },
2882
2968
  {
2883
2969
  "kind": "method",
2884
- "name": "isActionDisabled",
2970
+ "name": "removeChip",
2885
2971
  "return": {
2886
2972
  "type": {
2887
- "text": "boolean"
2973
+ "text": "void"
2888
2974
  }
2889
2975
  },
2890
2976
  "parameters": [
2891
2977
  {
2892
- "name": "action",
2978
+ "name": "groupIndex",
2893
2979
  "type": {
2894
- "text": "ActionMenuItem"
2980
+ "text": "number"
2981
+ }
2982
+ },
2983
+ {
2984
+ "name": "clauseIndex",
2985
+ "type": {
2986
+ "text": "number"
2895
2987
  }
2896
2988
  }
2897
- ],
2898
- "description": "Resolves an action's `isDisabled` for the current row."
2989
+ ]
2899
2990
  },
2900
2991
  {
2901
- "kind": "field",
2902
- "name": "resolvedActions",
2903
- "type": {
2904
- "text": "ActionMenuItem[]"
2905
- },
2906
- "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
2907
- "readonly": true
2992
+ "kind": "method",
2993
+ "name": "clearChips",
2994
+ "return": {
2995
+ "type": {
2996
+ "text": "void"
2997
+ }
2998
+ }
2908
2999
  },
2909
3000
  {
2910
- "kind": "field",
2911
- "name": "hasVisibleActions",
2912
- "type": {
2913
- "text": "boolean"
2914
- },
2915
- "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
2916
- "readonly": true
3001
+ "kind": "method",
3002
+ "name": "handleSubmit"
2917
3003
  },
2918
3004
  {
2919
- "kind": "field",
2920
- "name": "allActions",
2921
- "type": {
2922
- "text": "ActionMenuItem[]"
2923
- },
2924
- "readonly": true
3005
+ "kind": "method",
3006
+ "name": "handleBlur"
2925
3007
  },
2926
3008
  {
2927
- "kind": "field",
2928
- "name": "rowData",
2929
- "readonly": true
3009
+ "kind": "method",
3010
+ "name": "clear"
2930
3011
  },
2931
3012
  {
2932
3013
  "kind": "method",
2933
- "name": "getLabel",
2934
- "parameters": [
2935
- {
2936
- "name": "name",
2937
- "type": {
2938
- "text": "string | ((rowData: any) => string)"
2939
- }
2940
- }
2941
- ]
3014
+ "name": "toggleSpeechInput"
2942
3015
  },
2943
3016
  {
2944
3017
  "kind": "method",
2945
- "name": "getTemplate",
2946
- "parameters": [
2947
- {
2948
- "name": "prefix",
2949
- "type": {
2950
- "text": "string"
2951
- }
2952
- }
2953
- ]
3018
+ "name": "clearSpeechApplyDebounce",
3019
+ "privacy": "private"
2954
3020
  },
2955
3021
  {
2956
3022
  "kind": "field",
@@ -3064,166 +3130,146 @@
3064
3130
  }
3065
3131
  }
3066
3132
  ],
3067
- "attributes": [
3068
- {
3069
- "name": "is-vertical",
3070
- "type": {
3071
- "text": "boolean"
3072
- },
3073
- "default": "false",
3074
- "fieldName": "isVertical"
3075
- },
3076
- {
3077
- "name": "add-default-actions",
3078
- "type": {
3079
- "text": "boolean"
3080
- },
3081
- "default": "true",
3082
- "fieldName": "addDefaultActions"
3083
- },
3084
- {
3085
- "name": "auto-close-on-action",
3086
- "type": {
3087
- "text": "boolean"
3088
- },
3089
- "default": "true",
3090
- "fieldName": "autoCloseOnAction"
3091
- },
3092
- {
3093
- "name": "name",
3094
- "type": {
3095
- "text": "string"
3096
- },
3097
- "default": "'Actions'",
3098
- "fieldName": "name"
3099
- },
3133
+ "events": [
3100
3134
  {
3101
- "name": "icon-name",
3102
- "type": {
3103
- "text": "string"
3104
- },
3105
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
3106
- "fieldName": "iconName"
3135
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3136
+ "name": "criteria-changed"
3107
3137
  },
3108
3138
  {
3109
- "name": "open",
3110
- "type": {
3111
- "text": "boolean"
3112
- },
3113
- "default": "false",
3114
- "fieldName": "open"
3115
- },
3139
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3140
+ "name": "validation-errors"
3141
+ }
3142
+ ],
3143
+ "attributes": [
3116
3144
  {
3117
- "name": "buttonAppearance",
3145
+ "name": "placeholder",
3118
3146
  "type": {
3119
3147
  "text": "string"
3120
3148
  },
3121
- "fieldName": "buttonAppearance"
3122
- },
3123
- {
3124
- "name": "hide-disabled",
3125
- "type": {
3126
- "text": "boolean"
3127
- },
3128
- "default": "false",
3129
- "fieldName": "hideDisabled"
3149
+ "default": "'Describe your search criteria in natural language...'",
3150
+ "fieldName": "placeholder"
3130
3151
  },
3131
3152
  {
3132
- "name": "hide-menu-single-option",
3133
3153
  "type": {
3134
3154
  "text": "boolean"
3135
3155
  },
3136
- "default": "false",
3137
- "fieldName": "hideMenuSingleOption"
3156
+ "fieldName": "disabled"
3138
3157
  }
3139
3158
  ],
3140
3159
  "superclass": {
3141
3160
  "name": "FoundationElement",
3142
3161
  "package": "@microsoft/fast-foundation"
3143
3162
  },
3144
- "tagName": "%%prefix%%-actions-menu",
3163
+ "tagName": "%%prefix%%-ai-criteria-search",
3145
3164
  "customElement": true
3146
3165
  },
3147
3166
  {
3148
3167
  "kind": "variable",
3149
- "name": "foundationActionsMenu",
3150
- "description": "The Foundation Actions Menu",
3151
- "privacy": "public"
3168
+ "name": "foundationAiCriteriaSearchShadowOptions",
3169
+ "type": {
3170
+ "text": "ShadowRootInit"
3171
+ },
3172
+ "default": "undefined"
3173
+ },
3174
+ {
3175
+ "kind": "variable",
3176
+ "name": "defaultAiCriteriaSearchConfig",
3177
+ "type": {
3178
+ "text": "object"
3179
+ },
3180
+ "default": "{}"
3181
+ },
3182
+ {
3183
+ "kind": "variable",
3184
+ "name": "foundationAiCriteriaSearch"
3152
3185
  }
3153
3186
  ],
3154
3187
  "exports": [
3155
3188
  {
3156
3189
  "kind": "js",
3157
- "name": "ActionsMenu",
3190
+ "name": "AiCriteriaSearch",
3158
3191
  "declaration": {
3159
- "name": "ActionsMenu",
3160
- "module": "src/actions-menu/actions-menu.ts"
3192
+ "name": "AiCriteriaSearch",
3193
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3161
3194
  }
3162
3195
  },
3163
3196
  {
3164
3197
  "kind": "js",
3165
- "name": "foundationActionsMenu",
3166
- "declaration": {
3167
- "name": "foundationActionsMenu",
3168
- "module": "src/actions-menu/actions-menu.ts"
3169
- }
3170
- }
3171
- ]
3172
- },
3173
- {
3174
- "kind": "javascript-module",
3175
- "path": "src/actions-menu/ag-menu.styles.ts",
3176
- "declarations": [
3177
- {
3178
- "kind": "function",
3179
- "name": "agMenuStyles",
3180
- "return": {
3181
- "type": {
3182
- "text": ""
3183
- }
3184
- },
3185
- "parameters": [
3186
- {
3187
- "name": "menuSelector",
3188
- "type": {
3189
- "text": "string"
3190
- },
3191
- "description": "Selects the menu surface. May be a selector list."
3192
- },
3193
- {
3194
- "name": "itemSelector",
3195
- "type": {
3196
- "text": "string"
3197
- },
3198
- "description": "Selects a menu item. Must be a single selector, as states are appended to it."
3199
- }
3200
- ],
3201
- "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
3202
- "privacy": "public"
3203
- }
3204
- ],
3205
- "exports": [
3198
+ "name": "foundationAiCriteriaSearchShadowOptions",
3199
+ "declaration": {
3200
+ "name": "foundationAiCriteriaSearchShadowOptions",
3201
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3202
+ }
3203
+ },
3206
3204
  {
3207
3205
  "kind": "js",
3208
- "name": "agMenuStyles",
3206
+ "name": "defaultAiCriteriaSearchConfig",
3209
3207
  "declaration": {
3210
- "name": "agMenuStyles",
3211
- "module": "src/actions-menu/ag-menu.styles.ts"
3208
+ "name": "defaultAiCriteriaSearchConfig",
3209
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3210
+ }
3211
+ },
3212
+ {
3213
+ "kind": "js",
3214
+ "name": "foundationAiCriteriaSearch",
3215
+ "declaration": {
3216
+ "name": "foundationAiCriteriaSearch",
3217
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3212
3218
  }
3213
3219
  }
3214
3220
  ]
3215
3221
  },
3216
3222
  {
3217
3223
  "kind": "javascript-module",
3218
- "path": "src/actions-menu/index.ts",
3224
+ "path": "src/ai-criteria-search/index.ts",
3219
3225
  "declarations": [],
3220
3226
  "exports": [
3221
3227
  {
3222
3228
  "kind": "js",
3223
- "name": "*",
3229
+ "name": "AiCriteriaSearch",
3224
3230
  "declaration": {
3225
- "name": "*",
3226
- "package": "./actions-menu.styles"
3231
+ "name": "AiCriteriaSearch",
3232
+ "module": "./ai-criteria-search"
3233
+ }
3234
+ },
3235
+ {
3236
+ "kind": "js",
3237
+ "name": "defaultAiCriteriaSearchConfig",
3238
+ "declaration": {
3239
+ "name": "defaultAiCriteriaSearchConfig",
3240
+ "module": "./ai-criteria-search"
3241
+ }
3242
+ },
3243
+ {
3244
+ "kind": "js",
3245
+ "name": "foundationAiCriteriaSearch",
3246
+ "declaration": {
3247
+ "name": "foundationAiCriteriaSearch",
3248
+ "module": "./ai-criteria-search"
3249
+ }
3250
+ },
3251
+ {
3252
+ "kind": "js",
3253
+ "name": "foundationAiCriteriaSearchShadowOptions",
3254
+ "declaration": {
3255
+ "name": "foundationAiCriteriaSearchShadowOptions",
3256
+ "module": "./ai-criteria-search"
3257
+ }
3258
+ },
3259
+ {
3260
+ "kind": "js",
3261
+ "name": "foundationAiCriteriaSearchStyles",
3262
+ "declaration": {
3263
+ "name": "foundationAiCriteriaSearchStyles",
3264
+ "module": "./ai-criteria-search.styles"
3265
+ }
3266
+ },
3267
+ {
3268
+ "kind": "js",
3269
+ "name": "foundationAiCriteriaSearchTemplate",
3270
+ "declaration": {
3271
+ "name": "foundationAiCriteriaSearchTemplate",
3272
+ "module": "./ai-criteria-search.template"
3227
3273
  }
3228
3274
  },
3229
3275
  {
@@ -3231,7 +3277,7 @@
3231
3277
  "name": "*",
3232
3278
  "declaration": {
3233
3279
  "name": "*",
3234
- "package": "./actions-menu.template"
3280
+ "package": "./validation/criteria-ir"
3235
3281
  }
3236
3282
  },
3237
3283
  {
@@ -3239,7 +3285,7 @@
3239
3285
  "name": "*",
3240
3286
  "declaration": {
3241
3287
  "name": "*",
3242
- "package": "./actions-menu"
3288
+ "package": "./validation/operator-map"
3243
3289
  }
3244
3290
  },
3245
3291
  {
@@ -3247,312 +3293,266 @@
3247
3293
  "name": "*",
3248
3294
  "declaration": {
3249
3295
  "name": "*",
3250
- "package": "./ag-menu.styles"
3296
+ "package": "./validation/schema-validator"
3251
3297
  }
3252
3298
  }
3253
3299
  ]
3254
3300
  },
3255
3301
  {
3256
3302
  "kind": "javascript-module",
3257
- "path": "src/accordion/accordion.styles.ts",
3303
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3258
3304
  "declarations": [
3259
3305
  {
3260
3306
  "kind": "function",
3261
- "name": "foundationAccordionStyles",
3307
+ "name": "formatValidationErrors",
3262
3308
  "return": {
3263
3309
  "type": {
3264
- "text": "ElementStyles"
3310
+ "text": "string"
3265
3311
  }
3266
3312
  },
3267
3313
  "parameters": [
3268
3314
  {
3269
- "name": "context",
3270
- "type": {
3271
- "text": "ElementDefinitionContext"
3272
- }
3273
- },
3274
- {
3275
- "name": "definition",
3315
+ "name": "errors",
3276
3316
  "type": {
3277
- "text": "FoundationElementDefinition"
3317
+ "text": "ValidationError[]"
3278
3318
  }
3279
3319
  }
3280
- ]
3281
- }
3282
- ],
3283
- "exports": [
3284
- {
3285
- "kind": "js",
3286
- "name": "foundationAccordionStyles",
3287
- "declaration": {
3288
- "name": "foundationAccordionStyles",
3289
- "module": "src/accordion/accordion.styles.ts"
3290
- }
3291
- }
3292
- ]
3293
- },
3294
- {
3295
- "kind": "javascript-module",
3296
- "path": "src/accordion/accordion.template.ts",
3297
- "declarations": [
3320
+ ],
3321
+ "description": "Formats validation errors into a user-friendly message."
3322
+ },
3298
3323
  {
3299
3324
  "kind": "function",
3300
- "name": "foundationAccordionTemplate",
3325
+ "name": "showCriteriaError",
3301
3326
  "return": {
3302
3327
  "type": {
3303
- "text": "ViewTemplate<Accordion>"
3328
+ "text": "void"
3304
3329
  }
3305
3330
  },
3306
3331
  "parameters": [
3307
3332
  {
3308
- "name": "context",
3333
+ "name": "title",
3309
3334
  "type": {
3310
- "text": "ElementDefinitionContext"
3311
- }
3335
+ "text": "string"
3336
+ },
3337
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3312
3338
  },
3313
3339
  {
3314
- "name": "definition",
3340
+ "name": "body",
3315
3341
  "type": {
3316
- "text": "FoundationElementDefinition"
3317
- }
3342
+ "text": "string"
3343
+ },
3344
+ "description": "Error message to display"
3345
+ },
3346
+ {
3347
+ "name": "tagName",
3348
+ "type": {
3349
+ "text": "string"
3350
+ },
3351
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3318
3352
  }
3319
- ]
3353
+ ],
3354
+ "description": "Shows a criteria error as a toast notification."
3320
3355
  }
3321
3356
  ],
3322
3357
  "exports": [
3323
3358
  {
3324
3359
  "kind": "js",
3325
- "name": "foundationAccordionTemplate",
3360
+ "name": "formatValidationErrors",
3326
3361
  "declaration": {
3327
- "name": "foundationAccordionTemplate",
3328
- "module": "src/accordion/accordion.template.ts"
3362
+ "name": "formatValidationErrors",
3363
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3364
+ }
3365
+ },
3366
+ {
3367
+ "kind": "js",
3368
+ "name": "showCriteriaError",
3369
+ "declaration": {
3370
+ "name": "showCriteriaError",
3371
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3329
3372
  }
3330
3373
  }
3331
3374
  ]
3332
3375
  },
3333
3376
  {
3334
3377
  "kind": "javascript-module",
3335
- "path": "src/accordion/accordion.ts",
3378
+ "path": "src/accordion-item/accordion-item.styles.ts",
3336
3379
  "declarations": [
3337
3380
  {
3338
- "kind": "class",
3339
- "description": "",
3340
- "name": "Accordion",
3341
- "superclass": {
3342
- "name": "FASTAccordion",
3343
- "package": "@microsoft/fast-foundation"
3344
- },
3345
- "tagName": "%%prefix%%-accordion",
3346
- "customElement": true,
3347
- "attributes": [
3348
- {
3349
- "name": "expand-mode",
3350
- "type": {
3351
- "text": "AccordionExpandMode"
3352
- },
3353
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3354
- "fieldName": "expandmode",
3355
- "inheritedFrom": {
3356
- "name": "Accordion",
3357
- "module": "src/accordion/accordion.ts"
3358
- }
3381
+ "kind": "function",
3382
+ "name": "foundationAccordionItemStyles",
3383
+ "return": {
3384
+ "type": {
3385
+ "text": "ElementStyles"
3359
3386
  }
3360
- ],
3361
- "members": [
3362
- {
3363
- "kind": "field",
3364
- "name": "expandmode",
3365
- "type": {
3366
- "text": "AccordionExpandMode"
3367
- },
3368
- "privacy": "public",
3369
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3370
- "inheritedFrom": {
3371
- "name": "Accordion",
3372
- "module": "src/accordion/accordion.ts"
3373
- }
3374
- },
3375
- {
3376
- "kind": "field",
3377
- "name": "activeid",
3378
- "type": {
3379
- "text": "string | null"
3380
- },
3381
- "privacy": "private",
3382
- "inheritedFrom": {
3383
- "name": "Accordion",
3384
- "module": "src/accordion/accordion.ts"
3385
- }
3386
- },
3387
- {
3388
- "kind": "field",
3389
- "name": "activeItemIndex",
3390
- "type": {
3391
- "text": "number"
3392
- },
3393
- "privacy": "private",
3394
- "default": "0",
3395
- "inheritedFrom": {
3396
- "name": "Accordion",
3397
- "module": "src/accordion/accordion.ts"
3398
- }
3399
- },
3400
- {
3401
- "kind": "field",
3402
- "name": "accordionIds",
3403
- "type": {
3404
- "text": "Array<string | null>"
3405
- },
3406
- "privacy": "private",
3407
- "inheritedFrom": {
3408
- "name": "Accordion",
3409
- "module": "src/accordion/accordion.ts"
3410
- }
3411
- },
3412
- {
3413
- "kind": "field",
3414
- "name": "change",
3415
- "privacy": "private",
3416
- "inheritedFrom": {
3417
- "name": "Accordion",
3418
- "module": "src/accordion/accordion.ts"
3419
- }
3420
- },
3387
+ },
3388
+ "parameters": [
3421
3389
  {
3422
- "kind": "method",
3423
- "name": "findExpandedItem",
3424
- "privacy": "private",
3425
- "return": {
3426
- "type": {
3427
- "text": "AccordionItem | null"
3428
- }
3429
- },
3430
- "inheritedFrom": {
3431
- "name": "Accordion",
3432
- "module": "src/accordion/accordion.ts"
3390
+ "name": "context",
3391
+ "type": {
3392
+ "text": "ElementDefinitionContext"
3433
3393
  }
3434
3394
  },
3435
3395
  {
3436
- "kind": "field",
3437
- "name": "setItems",
3438
- "privacy": "private",
3439
- "inheritedFrom": {
3440
- "name": "Accordion",
3441
- "module": "src/accordion/accordion.ts"
3396
+ "name": "definition",
3397
+ "type": {
3398
+ "text": "FoundationElementDefinition"
3442
3399
  }
3443
- },
3400
+ }
3401
+ ]
3402
+ }
3403
+ ],
3404
+ "exports": [
3405
+ {
3406
+ "kind": "js",
3407
+ "name": "foundationAccordionItemStyles",
3408
+ "declaration": {
3409
+ "name": "foundationAccordionItemStyles",
3410
+ "module": "src/accordion-item/accordion-item.styles.ts"
3411
+ }
3412
+ }
3413
+ ]
3414
+ },
3415
+ {
3416
+ "kind": "javascript-module",
3417
+ "path": "src/accordion-item/accordion-item.template.ts",
3418
+ "declarations": [
3419
+ {
3420
+ "kind": "function",
3421
+ "name": "foundationAccordionItemTemplate",
3422
+ "return": {
3423
+ "type": {
3424
+ "text": "ViewTemplate<AccordionItem>"
3425
+ }
3426
+ },
3427
+ "parameters": [
3444
3428
  {
3445
- "kind": "method",
3446
- "name": "resetItems",
3447
- "privacy": "private",
3448
- "return": {
3449
- "type": {
3450
- "text": "void"
3451
- }
3452
- },
3453
- "inheritedFrom": {
3454
- "name": "Accordion",
3455
- "module": "src/accordion/accordion.ts"
3429
+ "name": "context",
3430
+ "type": {
3431
+ "text": "ElementDefinitionContext"
3456
3432
  }
3457
3433
  },
3458
3434
  {
3459
- "kind": "field",
3460
- "name": "removeItemListeners",
3461
- "privacy": "private",
3462
- "inheritedFrom": {
3463
- "name": "Accordion",
3464
- "module": "src/accordion/accordion.ts"
3435
+ "name": "definition",
3436
+ "type": {
3437
+ "text": "FoundationElementDefinition"
3465
3438
  }
3466
- },
3439
+ }
3440
+ ]
3441
+ }
3442
+ ],
3443
+ "exports": [
3444
+ {
3445
+ "kind": "js",
3446
+ "name": "foundationAccordionItemTemplate",
3447
+ "declaration": {
3448
+ "name": "foundationAccordionItemTemplate",
3449
+ "module": "src/accordion-item/accordion-item.template.ts"
3450
+ }
3451
+ }
3452
+ ]
3453
+ },
3454
+ {
3455
+ "kind": "javascript-module",
3456
+ "path": "src/accordion-item/accordion-item.ts",
3457
+ "declarations": [
3458
+ {
3459
+ "kind": "class",
3460
+ "description": "",
3461
+ "name": "AccordionItem",
3462
+ "superclass": {
3463
+ "name": "FASTAccordionItem",
3464
+ "package": "@microsoft/fast-components"
3465
+ },
3466
+ "tagName": "%%prefix%%-accordion-item",
3467
+ "customElement": true,
3468
+ "attributes": [
3467
3469
  {
3468
- "kind": "field",
3469
- "name": "activeItemChange",
3470
- "privacy": "private",
3470
+ "name": "heading-level",
3471
+ "type": {
3472
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3473
+ },
3474
+ "default": "2",
3475
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3476
+ "fieldName": "headinglevel",
3471
3477
  "inheritedFrom": {
3472
- "name": "Accordion",
3473
- "module": "src/accordion/accordion.ts"
3478
+ "name": "AccordionItem",
3479
+ "module": "src/accordion-item/accordion-item.ts"
3474
3480
  }
3475
3481
  },
3476
3482
  {
3477
- "kind": "method",
3478
- "name": "getItemIds",
3479
- "privacy": "private",
3480
- "return": {
3481
- "type": {
3482
- "text": "Array<string | null>"
3483
- }
3483
+ "type": {
3484
+ "text": "boolean"
3484
3485
  },
3486
+ "default": "false",
3487
+ "description": "Expands or collapses the item.",
3488
+ "fieldName": "expanded",
3485
3489
  "inheritedFrom": {
3486
- "name": "Accordion",
3487
- "module": "src/accordion/accordion.ts"
3490
+ "name": "AccordionItem",
3491
+ "module": "src/accordion-item/accordion-item.ts"
3488
3492
  }
3489
3493
  },
3490
3494
  {
3491
- "kind": "method",
3492
- "name": "isSingleExpandMode",
3493
- "privacy": "private",
3494
- "return": {
3495
- "type": {
3496
- "text": "boolean"
3497
- }
3495
+ "name": "id",
3496
+ "type": {
3497
+ "text": "string"
3498
3498
  },
3499
+ "description": "The item ID",
3500
+ "fieldName": "id",
3499
3501
  "inheritedFrom": {
3500
- "name": "Accordion",
3501
- "module": "src/accordion/accordion.ts"
3502
+ "name": "AccordionItem",
3503
+ "module": "src/accordion-item/accordion-item.ts"
3502
3504
  }
3503
- },
3505
+ }
3506
+ ],
3507
+ "members": [
3504
3508
  {
3505
3509
  "kind": "field",
3506
- "name": "handleItemKeyDown",
3507
- "privacy": "private",
3510
+ "name": "headinglevel",
3511
+ "type": {
3512
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3513
+ },
3514
+ "privacy": "public",
3515
+ "default": "2",
3516
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3508
3517
  "inheritedFrom": {
3509
- "name": "Accordion",
3510
- "module": "src/accordion/accordion.ts"
3518
+ "name": "AccordionItem",
3519
+ "module": "src/accordion-item/accordion-item.ts"
3511
3520
  }
3512
3521
  },
3513
3522
  {
3514
3523
  "kind": "field",
3515
- "name": "handleItemFocus",
3516
- "privacy": "private",
3524
+ "name": "expanded",
3525
+ "type": {
3526
+ "text": "boolean"
3527
+ },
3528
+ "privacy": "public",
3529
+ "default": "false",
3530
+ "description": "Expands or collapses the item.",
3517
3531
  "inheritedFrom": {
3518
- "name": "Accordion",
3519
- "module": "src/accordion/accordion.ts"
3532
+ "name": "AccordionItem",
3533
+ "module": "src/accordion-item/accordion-item.ts"
3520
3534
  }
3521
3535
  },
3522
3536
  {
3523
- "kind": "method",
3524
- "name": "adjust",
3525
- "privacy": "private",
3526
- "return": {
3527
- "type": {
3528
- "text": "void"
3529
- }
3537
+ "kind": "field",
3538
+ "name": "id",
3539
+ "type": {
3540
+ "text": "string"
3530
3541
  },
3531
- "parameters": [
3532
- {
3533
- "name": "adjustment",
3534
- "type": {
3535
- "text": "number"
3536
- }
3537
- }
3538
- ],
3542
+ "privacy": "public",
3543
+ "description": "The item ID",
3539
3544
  "inheritedFrom": {
3540
- "name": "Accordion",
3541
- "module": "src/accordion/accordion.ts"
3545
+ "name": "AccordionItem",
3546
+ "module": "src/accordion-item/accordion-item.ts"
3542
3547
  }
3543
3548
  },
3544
3549
  {
3545
- "kind": "method",
3546
- "name": "focusItem",
3550
+ "kind": "field",
3551
+ "name": "change",
3547
3552
  "privacy": "private",
3548
- "return": {
3549
- "type": {
3550
- "text": "void"
3551
- }
3552
- },
3553
3553
  "inheritedFrom": {
3554
- "name": "Accordion",
3555
- "module": "src/accordion/accordion.ts"
3554
+ "name": "AccordionItem",
3555
+ "module": "src/accordion-item/accordion-item.ts"
3556
3556
  }
3557
3557
  },
3558
3558
  {
@@ -3669,18 +3669,18 @@
3669
3669
  ],
3670
3670
  "events": [
3671
3671
  {
3672
- "description": "Fires a custom 'change' event when the active item changes",
3672
+ "description": "Fires a custom 'change' event when the button is invoked",
3673
3673
  "name": "change",
3674
3674
  "inheritedFrom": {
3675
- "name": "Accordion",
3676
- "module": "src/accordion/accordion.ts"
3675
+ "name": "AccordionItem",
3676
+ "module": "src/accordion-item/accordion-item.ts"
3677
3677
  }
3678
3678
  }
3679
3679
  ]
3680
3680
  },
3681
3681
  {
3682
3682
  "kind": "variable",
3683
- "name": "foundationAccordionShadowOptions",
3683
+ "name": "foundationAccordionItemShadowOptions",
3684
3684
  "type": {
3685
3685
  "text": "ShadowRootInit"
3686
3686
  },
@@ -3688,57 +3688,57 @@
3688
3688
  },
3689
3689
  {
3690
3690
  "kind": "variable",
3691
- "name": "defaultAccordionConfig",
3691
+ "name": "defaultAccordionItemConfig",
3692
3692
  "type": {
3693
3693
  "text": "object"
3694
3694
  },
3695
- "default": "{}"
3695
+ "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}"
3696
3696
  },
3697
3697
  {
3698
3698
  "kind": "variable",
3699
- "name": "foundationAccordion",
3700
- "description": "The Foundation Accordion",
3699
+ "name": "foundationAccordionItem",
3700
+ "description": "The Foundation Accordion Item",
3701
3701
  "privacy": "public"
3702
3702
  }
3703
3703
  ],
3704
3704
  "exports": [
3705
3705
  {
3706
3706
  "kind": "js",
3707
- "name": "Accordion",
3707
+ "name": "AccordionItem",
3708
3708
  "declaration": {
3709
- "name": "Accordion",
3710
- "module": "src/accordion/accordion.ts"
3709
+ "name": "AccordionItem",
3710
+ "module": "src/accordion-item/accordion-item.ts"
3711
3711
  }
3712
3712
  },
3713
3713
  {
3714
3714
  "kind": "js",
3715
- "name": "foundationAccordionShadowOptions",
3715
+ "name": "foundationAccordionItemShadowOptions",
3716
3716
  "declaration": {
3717
- "name": "foundationAccordionShadowOptions",
3718
- "module": "src/accordion/accordion.ts"
3717
+ "name": "foundationAccordionItemShadowOptions",
3718
+ "module": "src/accordion-item/accordion-item.ts"
3719
3719
  }
3720
3720
  },
3721
3721
  {
3722
3722
  "kind": "js",
3723
- "name": "defaultAccordionConfig",
3723
+ "name": "defaultAccordionItemConfig",
3724
3724
  "declaration": {
3725
- "name": "defaultAccordionConfig",
3726
- "module": "src/accordion/accordion.ts"
3725
+ "name": "defaultAccordionItemConfig",
3726
+ "module": "src/accordion-item/accordion-item.ts"
3727
3727
  }
3728
3728
  },
3729
3729
  {
3730
3730
  "kind": "js",
3731
- "name": "foundationAccordion",
3731
+ "name": "foundationAccordionItem",
3732
3732
  "declaration": {
3733
- "name": "foundationAccordion",
3734
- "module": "src/accordion/accordion.ts"
3733
+ "name": "foundationAccordionItem",
3734
+ "module": "src/accordion-item/accordion-item.ts"
3735
3735
  }
3736
3736
  }
3737
3737
  ]
3738
3738
  },
3739
3739
  {
3740
3740
  "kind": "javascript-module",
3741
- "path": "src/accordion/index.ts",
3741
+ "path": "src/accordion-item/index.ts",
3742
3742
  "declarations": [],
3743
3743
  "exports": [
3744
3744
  {
@@ -3746,7 +3746,7 @@
3746
3746
  "name": "*",
3747
3747
  "declaration": {
3748
3748
  "name": "*",
3749
- "package": "./accordion.template"
3749
+ "package": "./accordion-item.template"
3750
3750
  }
3751
3751
  },
3752
3752
  {
@@ -3754,7 +3754,7 @@
3754
3754
  "name": "*",
3755
3755
  "declaration": {
3756
3756
  "name": "*",
3757
- "package": "./accordion.styles"
3757
+ "package": "./accordion-item.styles"
3758
3758
  }
3759
3759
  },
3760
3760
  {
@@ -3762,7 +3762,7 @@
3762
3762
  "name": "*",
3763
3763
  "declaration": {
3764
3764
  "name": "*",
3765
- "package": "./accordion"
3765
+ "package": "./accordion-item"
3766
3766
  }
3767
3767
  }
3768
3768
  ]