@genesislcap/foundation-ui 15.28.0 → 15.28.1-FUI-0.7

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.
@@ -1526,11 +1526,11 @@
1526
1526
  },
1527
1527
  {
1528
1528
  "kind": "javascript-module",
1529
- "path": "src/accordion-item/accordion-item.styles.ts",
1529
+ "path": "src/accordion/accordion.styles.ts",
1530
1530
  "declarations": [
1531
1531
  {
1532
1532
  "kind": "function",
1533
- "name": "foundationAccordionItemStyles",
1533
+ "name": "foundationAccordionStyles",
1534
1534
  "return": {
1535
1535
  "type": {
1536
1536
  "text": "ElementStyles"
@@ -1555,24 +1555,24 @@
1555
1555
  "exports": [
1556
1556
  {
1557
1557
  "kind": "js",
1558
- "name": "foundationAccordionItemStyles",
1558
+ "name": "foundationAccordionStyles",
1559
1559
  "declaration": {
1560
- "name": "foundationAccordionItemStyles",
1561
- "module": "src/accordion-item/accordion-item.styles.ts"
1560
+ "name": "foundationAccordionStyles",
1561
+ "module": "src/accordion/accordion.styles.ts"
1562
1562
  }
1563
1563
  }
1564
1564
  ]
1565
1565
  },
1566
1566
  {
1567
1567
  "kind": "javascript-module",
1568
- "path": "src/accordion-item/accordion-item.template.ts",
1568
+ "path": "src/accordion/accordion.template.ts",
1569
1569
  "declarations": [
1570
1570
  {
1571
1571
  "kind": "function",
1572
- "name": "foundationAccordionItemTemplate",
1572
+ "name": "foundationAccordionTemplate",
1573
1573
  "return": {
1574
1574
  "type": {
1575
- "text": "ViewTemplate<AccordionItem>"
1575
+ "text": "ViewTemplate<Accordion>"
1576
1576
  }
1577
1577
  },
1578
1578
  "parameters": [
@@ -1594,116 +1594,237 @@
1594
1594
  "exports": [
1595
1595
  {
1596
1596
  "kind": "js",
1597
- "name": "foundationAccordionItemTemplate",
1597
+ "name": "foundationAccordionTemplate",
1598
1598
  "declaration": {
1599
- "name": "foundationAccordionItemTemplate",
1600
- "module": "src/accordion-item/accordion-item.template.ts"
1599
+ "name": "foundationAccordionTemplate",
1600
+ "module": "src/accordion/accordion.template.ts"
1601
1601
  }
1602
1602
  }
1603
1603
  ]
1604
1604
  },
1605
1605
  {
1606
1606
  "kind": "javascript-module",
1607
- "path": "src/accordion-item/accordion-item.ts",
1607
+ "path": "src/accordion/accordion.ts",
1608
1608
  "declarations": [
1609
1609
  {
1610
1610
  "kind": "class",
1611
1611
  "description": "",
1612
- "name": "AccordionItem",
1612
+ "name": "Accordion",
1613
1613
  "superclass": {
1614
- "name": "FASTAccordionItem",
1615
- "package": "@microsoft/fast-components"
1614
+ "name": "FASTAccordion",
1615
+ "package": "@microsoft/fast-foundation"
1616
1616
  },
1617
- "tagName": "%%prefix%%-accordion-item",
1617
+ "tagName": "%%prefix%%-accordion",
1618
1618
  "customElement": true,
1619
1619
  "attributes": [
1620
1620
  {
1621
- "name": "heading-level",
1621
+ "name": "expand-mode",
1622
1622
  "type": {
1623
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1623
+ "text": "AccordionExpandMode"
1624
1624
  },
1625
- "default": "2",
1626
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1627
- "fieldName": "headinglevel",
1625
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1626
+ "fieldName": "expandmode",
1628
1627
  "inheritedFrom": {
1629
- "name": "AccordionItem",
1630
- "module": "src/accordion-item/accordion-item.ts"
1628
+ "name": "Accordion",
1629
+ "module": "src/accordion/accordion.ts"
1631
1630
  }
1632
- },
1631
+ }
1632
+ ],
1633
+ "members": [
1633
1634
  {
1635
+ "kind": "field",
1636
+ "name": "expandmode",
1634
1637
  "type": {
1635
- "text": "boolean"
1638
+ "text": "AccordionExpandMode"
1636
1639
  },
1637
- "default": "false",
1638
- "description": "Expands or collapses the item.",
1639
- "fieldName": "expanded",
1640
+ "privacy": "public",
1641
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1640
1642
  "inheritedFrom": {
1641
- "name": "AccordionItem",
1642
- "module": "src/accordion-item/accordion-item.ts"
1643
+ "name": "Accordion",
1644
+ "module": "src/accordion/accordion.ts"
1643
1645
  }
1644
1646
  },
1645
1647
  {
1646
- "name": "id",
1648
+ "kind": "field",
1649
+ "name": "activeid",
1647
1650
  "type": {
1648
- "text": "string"
1651
+ "text": "string | null"
1649
1652
  },
1650
- "description": "The item ID",
1651
- "fieldName": "id",
1653
+ "privacy": "private",
1652
1654
  "inheritedFrom": {
1653
- "name": "AccordionItem",
1654
- "module": "src/accordion-item/accordion-item.ts"
1655
+ "name": "Accordion",
1656
+ "module": "src/accordion/accordion.ts"
1655
1657
  }
1656
- }
1657
- ],
1658
- "members": [
1658
+ },
1659
1659
  {
1660
1660
  "kind": "field",
1661
- "name": "headinglevel",
1661
+ "name": "activeItemIndex",
1662
1662
  "type": {
1663
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1663
+ "text": "number"
1664
1664
  },
1665
- "privacy": "public",
1666
- "default": "2",
1667
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1665
+ "privacy": "private",
1666
+ "default": "0",
1668
1667
  "inheritedFrom": {
1669
- "name": "AccordionItem",
1670
- "module": "src/accordion-item/accordion-item.ts"
1668
+ "name": "Accordion",
1669
+ "module": "src/accordion/accordion.ts"
1671
1670
  }
1672
1671
  },
1673
1672
  {
1674
1673
  "kind": "field",
1675
- "name": "expanded",
1674
+ "name": "accordionIds",
1676
1675
  "type": {
1677
- "text": "boolean"
1676
+ "text": "Array<string | null>"
1678
1677
  },
1679
- "privacy": "public",
1680
- "default": "false",
1681
- "description": "Expands or collapses the item.",
1678
+ "privacy": "private",
1682
1679
  "inheritedFrom": {
1683
- "name": "AccordionItem",
1684
- "module": "src/accordion-item/accordion-item.ts"
1680
+ "name": "Accordion",
1681
+ "module": "src/accordion/accordion.ts"
1685
1682
  }
1686
1683
  },
1687
1684
  {
1688
1685
  "kind": "field",
1689
- "name": "id",
1690
- "type": {
1691
- "text": "string"
1686
+ "name": "change",
1687
+ "privacy": "private",
1688
+ "inheritedFrom": {
1689
+ "name": "Accordion",
1690
+ "module": "src/accordion/accordion.ts"
1691
+ }
1692
+ },
1693
+ {
1694
+ "kind": "method",
1695
+ "name": "findExpandedItem",
1696
+ "privacy": "private",
1697
+ "return": {
1698
+ "type": {
1699
+ "text": "AccordionItem | null"
1700
+ }
1692
1701
  },
1693
- "privacy": "public",
1694
- "description": "The item ID",
1695
1702
  "inheritedFrom": {
1696
- "name": "AccordionItem",
1697
- "module": "src/accordion-item/accordion-item.ts"
1703
+ "name": "Accordion",
1704
+ "module": "src/accordion/accordion.ts"
1698
1705
  }
1699
1706
  },
1700
1707
  {
1701
1708
  "kind": "field",
1702
- "name": "change",
1709
+ "name": "setItems",
1703
1710
  "privacy": "private",
1704
1711
  "inheritedFrom": {
1705
- "name": "AccordionItem",
1706
- "module": "src/accordion-item/accordion-item.ts"
1712
+ "name": "Accordion",
1713
+ "module": "src/accordion/accordion.ts"
1714
+ }
1715
+ },
1716
+ {
1717
+ "kind": "method",
1718
+ "name": "resetItems",
1719
+ "privacy": "private",
1720
+ "return": {
1721
+ "type": {
1722
+ "text": "void"
1723
+ }
1724
+ },
1725
+ "inheritedFrom": {
1726
+ "name": "Accordion",
1727
+ "module": "src/accordion/accordion.ts"
1728
+ }
1729
+ },
1730
+ {
1731
+ "kind": "field",
1732
+ "name": "removeItemListeners",
1733
+ "privacy": "private",
1734
+ "inheritedFrom": {
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"
1746
+ }
1747
+ },
1748
+ {
1749
+ "kind": "method",
1750
+ "name": "getItemIds",
1751
+ "privacy": "private",
1752
+ "return": {
1753
+ "type": {
1754
+ "text": "Array<string | null>"
1755
+ }
1756
+ },
1757
+ "inheritedFrom": {
1758
+ "name": "Accordion",
1759
+ "module": "src/accordion/accordion.ts"
1760
+ }
1761
+ },
1762
+ {
1763
+ "kind": "method",
1764
+ "name": "isSingleExpandMode",
1765
+ "privacy": "private",
1766
+ "return": {
1767
+ "type": {
1768
+ "text": "boolean"
1769
+ }
1770
+ },
1771
+ "inheritedFrom": {
1772
+ "name": "Accordion",
1773
+ "module": "src/accordion/accordion.ts"
1774
+ }
1775
+ },
1776
+ {
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"
1707
1828
  }
1708
1829
  },
1709
1830
  {
@@ -1820,18 +1941,18 @@
1820
1941
  ],
1821
1942
  "events": [
1822
1943
  {
1823
- "description": "Fires a custom 'change' event when the button is invoked",
1944
+ "description": "Fires a custom 'change' event when the active item changes",
1824
1945
  "name": "change",
1825
1946
  "inheritedFrom": {
1826
- "name": "AccordionItem",
1827
- "module": "src/accordion-item/accordion-item.ts"
1947
+ "name": "Accordion",
1948
+ "module": "src/accordion/accordion.ts"
1828
1949
  }
1829
1950
  }
1830
1951
  ]
1831
1952
  },
1832
1953
  {
1833
1954
  "kind": "variable",
1834
- "name": "foundationAccordionItemShadowOptions",
1955
+ "name": "foundationAccordionShadowOptions",
1835
1956
  "type": {
1836
1957
  "text": "ShadowRootInit"
1837
1958
  },
@@ -1839,57 +1960,57 @@
1839
1960
  },
1840
1961
  {
1841
1962
  "kind": "variable",
1842
- "name": "defaultAccordionItemConfig",
1963
+ "name": "defaultAccordionConfig",
1843
1964
  "type": {
1844
1965
  "text": "object"
1845
1966
  },
1846
- "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": "{}"
1847
1968
  },
1848
1969
  {
1849
1970
  "kind": "variable",
1850
- "name": "foundationAccordionItem",
1851
- "description": "The Foundation Accordion Item",
1971
+ "name": "foundationAccordion",
1972
+ "description": "The Foundation Accordion",
1852
1973
  "privacy": "public"
1853
1974
  }
1854
1975
  ],
1855
1976
  "exports": [
1856
1977
  {
1857
1978
  "kind": "js",
1858
- "name": "AccordionItem",
1979
+ "name": "Accordion",
1859
1980
  "declaration": {
1860
- "name": "AccordionItem",
1861
- "module": "src/accordion-item/accordion-item.ts"
1981
+ "name": "Accordion",
1982
+ "module": "src/accordion/accordion.ts"
1862
1983
  }
1863
1984
  },
1864
1985
  {
1865
1986
  "kind": "js",
1866
- "name": "foundationAccordionItemShadowOptions",
1987
+ "name": "foundationAccordionShadowOptions",
1867
1988
  "declaration": {
1868
- "name": "foundationAccordionItemShadowOptions",
1869
- "module": "src/accordion-item/accordion-item.ts"
1989
+ "name": "foundationAccordionShadowOptions",
1990
+ "module": "src/accordion/accordion.ts"
1870
1991
  }
1871
1992
  },
1872
1993
  {
1873
1994
  "kind": "js",
1874
- "name": "defaultAccordionItemConfig",
1995
+ "name": "defaultAccordionConfig",
1875
1996
  "declaration": {
1876
- "name": "defaultAccordionItemConfig",
1877
- "module": "src/accordion-item/accordion-item.ts"
1997
+ "name": "defaultAccordionConfig",
1998
+ "module": "src/accordion/accordion.ts"
1878
1999
  }
1879
2000
  },
1880
2001
  {
1881
2002
  "kind": "js",
1882
- "name": "foundationAccordionItem",
2003
+ "name": "foundationAccordion",
1883
2004
  "declaration": {
1884
- "name": "foundationAccordionItem",
1885
- "module": "src/accordion-item/accordion-item.ts"
2005
+ "name": "foundationAccordion",
2006
+ "module": "src/accordion/accordion.ts"
1886
2007
  }
1887
2008
  }
1888
2009
  ]
1889
2010
  },
1890
2011
  {
1891
2012
  "kind": "javascript-module",
1892
- "path": "src/accordion-item/index.ts",
2013
+ "path": "src/accordion/index.ts",
1893
2014
  "declarations": [],
1894
2015
  "exports": [
1895
2016
  {
@@ -1897,7 +2018,7 @@
1897
2018
  "name": "*",
1898
2019
  "declaration": {
1899
2020
  "name": "*",
1900
- "package": "./accordion-item.template"
2021
+ "package": "./accordion.template"
1901
2022
  }
1902
2023
  },
1903
2024
  {
@@ -1905,7 +2026,7 @@
1905
2026
  "name": "*",
1906
2027
  "declaration": {
1907
2028
  "name": "*",
1908
- "package": "./accordion-item.styles"
2029
+ "package": "./accordion.styles"
1909
2030
  }
1910
2031
  },
1911
2032
  {
@@ -1913,18 +2034,18 @@
1913
2034
  "name": "*",
1914
2035
  "declaration": {
1915
2036
  "name": "*",
1916
- "package": "./accordion-item"
2037
+ "package": "./accordion"
1917
2038
  }
1918
2039
  }
1919
2040
  ]
1920
2041
  },
1921
2042
  {
1922
2043
  "kind": "javascript-module",
1923
- "path": "src/accordion/accordion.styles.ts",
2044
+ "path": "src/accordion-item/accordion-item.styles.ts",
1924
2045
  "declarations": [
1925
2046
  {
1926
2047
  "kind": "function",
1927
- "name": "foundationAccordionStyles",
2048
+ "name": "foundationAccordionItemStyles",
1928
2049
  "return": {
1929
2050
  "type": {
1930
2051
  "text": "ElementStyles"
@@ -1949,24 +2070,24 @@
1949
2070
  "exports": [
1950
2071
  {
1951
2072
  "kind": "js",
1952
- "name": "foundationAccordionStyles",
2073
+ "name": "foundationAccordionItemStyles",
1953
2074
  "declaration": {
1954
- "name": "foundationAccordionStyles",
1955
- "module": "src/accordion/accordion.styles.ts"
2075
+ "name": "foundationAccordionItemStyles",
2076
+ "module": "src/accordion-item/accordion-item.styles.ts"
1956
2077
  }
1957
2078
  }
1958
2079
  ]
1959
2080
  },
1960
2081
  {
1961
2082
  "kind": "javascript-module",
1962
- "path": "src/accordion/accordion.template.ts",
2083
+ "path": "src/accordion-item/accordion-item.template.ts",
1963
2084
  "declarations": [
1964
2085
  {
1965
2086
  "kind": "function",
1966
- "name": "foundationAccordionTemplate",
2087
+ "name": "foundationAccordionItemTemplate",
1967
2088
  "return": {
1968
2089
  "type": {
1969
- "text": "ViewTemplate<Accordion>"
2090
+ "text": "ViewTemplate<AccordionItem>"
1970
2091
  }
1971
2092
  },
1972
2093
  "parameters": [
@@ -1988,345 +2109,224 @@
1988
2109
  "exports": [
1989
2110
  {
1990
2111
  "kind": "js",
1991
- "name": "foundationAccordionTemplate",
2112
+ "name": "foundationAccordionItemTemplate",
1992
2113
  "declaration": {
1993
- "name": "foundationAccordionTemplate",
1994
- "module": "src/accordion/accordion.template.ts"
2114
+ "name": "foundationAccordionItemTemplate",
2115
+ "module": "src/accordion-item/accordion-item.template.ts"
1995
2116
  }
1996
2117
  }
1997
2118
  ]
1998
2119
  },
1999
2120
  {
2000
2121
  "kind": "javascript-module",
2001
- "path": "src/accordion/accordion.ts",
2122
+ "path": "src/accordion-item/accordion-item.ts",
2002
2123
  "declarations": [
2003
2124
  {
2004
2125
  "kind": "class",
2005
2126
  "description": "",
2006
- "name": "Accordion",
2127
+ "name": "AccordionItem",
2007
2128
  "superclass": {
2008
- "name": "FASTAccordion",
2009
- "package": "@microsoft/fast-foundation"
2129
+ "name": "FASTAccordionItem",
2130
+ "package": "@microsoft/fast-components"
2010
2131
  },
2011
- "tagName": "%%prefix%%-accordion",
2132
+ "tagName": "%%prefix%%-accordion-item",
2012
2133
  "customElement": true,
2013
2134
  "attributes": [
2014
2135
  {
2015
- "name": "expand-mode",
2136
+ "name": "heading-level",
2016
2137
  "type": {
2017
- "text": "AccordionExpandMode"
2138
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2018
2139
  },
2019
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2020
- "fieldName": "expandmode",
2140
+ "default": "2",
2141
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2142
+ "fieldName": "headinglevel",
2021
2143
  "inheritedFrom": {
2022
- "name": "Accordion",
2023
- "module": "src/accordion/accordion.ts"
2144
+ "name": "AccordionItem",
2145
+ "module": "src/accordion-item/accordion-item.ts"
2146
+ }
2147
+ },
2148
+ {
2149
+ "type": {
2150
+ "text": "boolean"
2151
+ },
2152
+ "default": "false",
2153
+ "description": "Expands or collapses the item.",
2154
+ "fieldName": "expanded",
2155
+ "inheritedFrom": {
2156
+ "name": "AccordionItem",
2157
+ "module": "src/accordion-item/accordion-item.ts"
2158
+ }
2159
+ },
2160
+ {
2161
+ "name": "id",
2162
+ "type": {
2163
+ "text": "string"
2164
+ },
2165
+ "description": "The item ID",
2166
+ "fieldName": "id",
2167
+ "inheritedFrom": {
2168
+ "name": "AccordionItem",
2169
+ "module": "src/accordion-item/accordion-item.ts"
2024
2170
  }
2025
2171
  }
2026
2172
  ],
2027
2173
  "members": [
2028
2174
  {
2029
2175
  "kind": "field",
2030
- "name": "expandmode",
2176
+ "name": "headinglevel",
2031
2177
  "type": {
2032
- "text": "AccordionExpandMode"
2178
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2033
2179
  },
2034
2180
  "privacy": "public",
2035
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2181
+ "default": "2",
2182
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2036
2183
  "inheritedFrom": {
2037
- "name": "Accordion",
2038
- "module": "src/accordion/accordion.ts"
2184
+ "name": "AccordionItem",
2185
+ "module": "src/accordion-item/accordion-item.ts"
2039
2186
  }
2040
2187
  },
2041
2188
  {
2042
2189
  "kind": "field",
2043
- "name": "activeid",
2190
+ "name": "expanded",
2044
2191
  "type": {
2045
- "text": "string | null"
2192
+ "text": "boolean"
2046
2193
  },
2047
- "privacy": "private",
2194
+ "privacy": "public",
2195
+ "default": "false",
2196
+ "description": "Expands or collapses the item.",
2048
2197
  "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2198
+ "name": "AccordionItem",
2199
+ "module": "src/accordion-item/accordion-item.ts"
2051
2200
  }
2052
2201
  },
2053
2202
  {
2054
2203
  "kind": "field",
2055
- "name": "activeItemIndex",
2204
+ "name": "id",
2056
2205
  "type": {
2057
- "text": "number"
2206
+ "text": "string"
2058
2207
  },
2059
- "privacy": "private",
2060
- "default": "0",
2208
+ "privacy": "public",
2209
+ "description": "The item ID",
2061
2210
  "inheritedFrom": {
2062
- "name": "Accordion",
2063
- "module": "src/accordion/accordion.ts"
2211
+ "name": "AccordionItem",
2212
+ "module": "src/accordion-item/accordion-item.ts"
2064
2213
  }
2065
2214
  },
2066
2215
  {
2067
2216
  "kind": "field",
2068
- "name": "accordionIds",
2069
- "type": {
2070
- "text": "Array<string | null>"
2071
- },
2217
+ "name": "change",
2072
2218
  "privacy": "private",
2073
2219
  "inheritedFrom": {
2074
- "name": "Accordion",
2075
- "module": "src/accordion/accordion.ts"
2220
+ "name": "AccordionItem",
2221
+ "module": "src/accordion-item/accordion-item.ts"
2076
2222
  }
2077
2223
  },
2078
2224
  {
2079
2225
  "kind": "field",
2080
- "name": "change",
2226
+ "name": "_presentation",
2227
+ "type": {
2228
+ "text": "ComponentPresentation | null | undefined"
2229
+ },
2081
2230
  "privacy": "private",
2231
+ "default": "void 0",
2082
2232
  "inheritedFrom": {
2083
- "name": "Accordion",
2084
- "module": "src/accordion/accordion.ts"
2233
+ "name": "FoundationElement",
2234
+ "module": "src/foundation-element/foundation-element.ts"
2085
2235
  }
2086
2236
  },
2087
2237
  {
2088
- "kind": "method",
2089
- "name": "findExpandedItem",
2090
- "privacy": "private",
2091
- "return": {
2092
- "type": {
2093
- "text": "AccordionItem | null"
2094
- }
2238
+ "kind": "field",
2239
+ "name": "$presentation",
2240
+ "type": {
2241
+ "text": "ComponentPresentation | null"
2095
2242
  },
2243
+ "privacy": "public",
2244
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2096
2245
  "inheritedFrom": {
2097
- "name": "Accordion",
2098
- "module": "src/accordion/accordion.ts"
2246
+ "name": "FoundationElement",
2247
+ "module": "src/foundation-element/foundation-element.ts"
2099
2248
  }
2100
2249
  },
2101
2250
  {
2102
2251
  "kind": "field",
2103
- "name": "setItems",
2104
- "privacy": "private",
2252
+ "name": "template",
2253
+ "type": {
2254
+ "text": "ElementViewTemplate | void | null"
2255
+ },
2256
+ "privacy": "public",
2257
+ "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.",
2105
2258
  "inheritedFrom": {
2106
- "name": "Accordion",
2107
- "module": "src/accordion/accordion.ts"
2259
+ "name": "FoundationElement",
2260
+ "module": "src/foundation-element/foundation-element.ts"
2108
2261
  }
2109
2262
  },
2110
2263
  {
2111
2264
  "kind": "method",
2112
- "name": "resetItems",
2113
- "privacy": "private",
2265
+ "name": "templateChanged",
2266
+ "privacy": "protected",
2114
2267
  "return": {
2115
2268
  "type": {
2116
2269
  "text": "void"
2117
2270
  }
2118
2271
  },
2119
2272
  "inheritedFrom": {
2120
- "name": "Accordion",
2121
- "module": "src/accordion/accordion.ts"
2122
- }
2123
- },
2124
- {
2125
- "kind": "field",
2126
- "name": "removeItemListeners",
2127
- "privacy": "private",
2128
- "inheritedFrom": {
2129
- "name": "Accordion",
2130
- "module": "src/accordion/accordion.ts"
2273
+ "name": "FoundationElement",
2274
+ "module": "src/foundation-element/foundation-element.ts"
2131
2275
  }
2132
2276
  },
2133
2277
  {
2134
2278
  "kind": "field",
2135
- "name": "activeItemChange",
2136
- "privacy": "private",
2279
+ "name": "styles",
2280
+ "type": {
2281
+ "text": "ElementStyles | void | null"
2282
+ },
2283
+ "privacy": "public",
2284
+ "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.",
2137
2285
  "inheritedFrom": {
2138
- "name": "Accordion",
2139
- "module": "src/accordion/accordion.ts"
2286
+ "name": "FoundationElement",
2287
+ "module": "src/foundation-element/foundation-element.ts"
2140
2288
  }
2141
2289
  },
2142
2290
  {
2143
2291
  "kind": "method",
2144
- "name": "getItemIds",
2145
- "privacy": "private",
2292
+ "name": "stylesChanged",
2293
+ "privacy": "protected",
2146
2294
  "return": {
2147
2295
  "type": {
2148
- "text": "Array<string | null>"
2296
+ "text": "void"
2149
2297
  }
2150
2298
  },
2151
2299
  "inheritedFrom": {
2152
- "name": "Accordion",
2153
- "module": "src/accordion/accordion.ts"
2300
+ "name": "FoundationElement",
2301
+ "module": "src/foundation-element/foundation-element.ts"
2154
2302
  }
2155
2303
  },
2156
2304
  {
2157
2305
  "kind": "method",
2158
- "name": "isSingleExpandMode",
2159
- "privacy": "private",
2306
+ "name": "compose",
2307
+ "privacy": "public",
2308
+ "static": true,
2160
2309
  "return": {
2161
2310
  "type": {
2162
- "text": "boolean"
2311
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2163
2312
  }
2164
2313
  },
2165
- "inheritedFrom": {
2166
- "name": "Accordion",
2167
- "module": "src/accordion/accordion.ts"
2168
- }
2169
- },
2170
- {
2171
- "kind": "field",
2172
- "name": "handleItemKeyDown",
2173
- "privacy": "private",
2174
- "inheritedFrom": {
2175
- "name": "Accordion",
2176
- "module": "src/accordion/accordion.ts"
2177
- }
2178
- },
2179
- {
2180
- "kind": "field",
2181
- "name": "handleItemFocus",
2182
- "privacy": "private",
2183
- "inheritedFrom": {
2184
- "name": "Accordion",
2185
- "module": "src/accordion/accordion.ts"
2186
- }
2187
- },
2188
- {
2189
- "kind": "method",
2190
- "name": "adjust",
2191
- "privacy": "private",
2192
- "return": {
2193
- "type": {
2194
- "text": "void"
2195
- }
2196
- },
2197
- "parameters": [
2198
- {
2199
- "name": "adjustment",
2200
- "type": {
2201
- "text": "number"
2202
- }
2203
- }
2204
- ],
2205
- "inheritedFrom": {
2206
- "name": "Accordion",
2207
- "module": "src/accordion/accordion.ts"
2208
- }
2209
- },
2210
- {
2211
- "kind": "method",
2212
- "name": "focusItem",
2213
- "privacy": "private",
2214
- "return": {
2215
- "type": {
2216
- "text": "void"
2217
- }
2218
- },
2219
- "inheritedFrom": {
2220
- "name": "Accordion",
2221
- "module": "src/accordion/accordion.ts"
2222
- }
2223
- },
2224
- {
2225
- "kind": "field",
2226
- "name": "_presentation",
2227
- "type": {
2228
- "text": "ComponentPresentation | null | undefined"
2229
- },
2230
- "privacy": "private",
2231
- "default": "void 0",
2232
- "inheritedFrom": {
2233
- "name": "FoundationElement",
2234
- "module": "src/foundation-element/foundation-element.ts"
2235
- }
2236
- },
2237
- {
2238
- "kind": "field",
2239
- "name": "$presentation",
2240
- "type": {
2241
- "text": "ComponentPresentation | null"
2242
- },
2243
- "privacy": "public",
2244
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2245
- "inheritedFrom": {
2246
- "name": "FoundationElement",
2247
- "module": "src/foundation-element/foundation-element.ts"
2248
- }
2249
- },
2250
- {
2251
- "kind": "field",
2252
- "name": "template",
2253
- "type": {
2254
- "text": "ElementViewTemplate | void | null"
2255
- },
2256
- "privacy": "public",
2257
- "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.",
2258
- "inheritedFrom": {
2259
- "name": "FoundationElement",
2260
- "module": "src/foundation-element/foundation-element.ts"
2261
- }
2262
- },
2263
- {
2264
- "kind": "method",
2265
- "name": "templateChanged",
2266
- "privacy": "protected",
2267
- "return": {
2268
- "type": {
2269
- "text": "void"
2270
- }
2271
- },
2272
- "inheritedFrom": {
2273
- "name": "FoundationElement",
2274
- "module": "src/foundation-element/foundation-element.ts"
2275
- }
2276
- },
2277
- {
2278
- "kind": "field",
2279
- "name": "styles",
2280
- "type": {
2281
- "text": "ElementStyles | void | null"
2282
- },
2283
- "privacy": "public",
2284
- "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.",
2285
- "inheritedFrom": {
2286
- "name": "FoundationElement",
2287
- "module": "src/foundation-element/foundation-element.ts"
2288
- }
2289
- },
2290
- {
2291
- "kind": "method",
2292
- "name": "stylesChanged",
2293
- "privacy": "protected",
2294
- "return": {
2295
- "type": {
2296
- "text": "void"
2297
- }
2298
- },
2299
- "inheritedFrom": {
2300
- "name": "FoundationElement",
2301
- "module": "src/foundation-element/foundation-element.ts"
2302
- }
2303
- },
2304
- {
2305
- "kind": "method",
2306
- "name": "compose",
2307
- "privacy": "public",
2308
- "static": true,
2309
- "return": {
2310
- "type": {
2311
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2312
- }
2313
- },
2314
- "parameters": [
2315
- {
2316
- "name": "this",
2317
- "type": {
2318
- "text": "K"
2319
- }
2320
- },
2321
- {
2322
- "name": "elementDefinition",
2323
- "type": {
2324
- "text": "T"
2325
- },
2326
- "description": "The definition of the element to create the registry\nfunction for."
2327
- }
2328
- ],
2329
- "description": "Defines an element registry function with a set of element definition defaults.",
2314
+ "parameters": [
2315
+ {
2316
+ "name": "this",
2317
+ "type": {
2318
+ "text": "K"
2319
+ }
2320
+ },
2321
+ {
2322
+ "name": "elementDefinition",
2323
+ "type": {
2324
+ "text": "T"
2325
+ },
2326
+ "description": "The definition of the element to create the registry\nfunction for."
2327
+ }
2328
+ ],
2329
+ "description": "Defines an element registry function with a set of element definition defaults.",
2330
2330
  "inheritedFrom": {
2331
2331
  "name": "FoundationElement",
2332
2332
  "module": "src/foundation-element/foundation-element.ts"
@@ -2335,18 +2335,18 @@
2335
2335
  ],
2336
2336
  "events": [
2337
2337
  {
2338
- "description": "Fires a custom 'change' event when the active item changes",
2338
+ "description": "Fires a custom 'change' event when the button is invoked",
2339
2339
  "name": "change",
2340
2340
  "inheritedFrom": {
2341
- "name": "Accordion",
2342
- "module": "src/accordion/accordion.ts"
2341
+ "name": "AccordionItem",
2342
+ "module": "src/accordion-item/accordion-item.ts"
2343
2343
  }
2344
2344
  }
2345
2345
  ]
2346
2346
  },
2347
2347
  {
2348
2348
  "kind": "variable",
2349
- "name": "foundationAccordionShadowOptions",
2349
+ "name": "foundationAccordionItemShadowOptions",
2350
2350
  "type": {
2351
2351
  "text": "ShadowRootInit"
2352
2352
  },
@@ -2354,57 +2354,57 @@
2354
2354
  },
2355
2355
  {
2356
2356
  "kind": "variable",
2357
- "name": "defaultAccordionConfig",
2357
+ "name": "defaultAccordionItemConfig",
2358
2358
  "type": {
2359
2359
  "text": "object"
2360
2360
  },
2361
- "default": "{}"
2361
+ "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}"
2362
2362
  },
2363
2363
  {
2364
2364
  "kind": "variable",
2365
- "name": "foundationAccordion",
2366
- "description": "The Foundation Accordion",
2365
+ "name": "foundationAccordionItem",
2366
+ "description": "The Foundation Accordion Item",
2367
2367
  "privacy": "public"
2368
2368
  }
2369
2369
  ],
2370
2370
  "exports": [
2371
2371
  {
2372
2372
  "kind": "js",
2373
- "name": "Accordion",
2373
+ "name": "AccordionItem",
2374
2374
  "declaration": {
2375
- "name": "Accordion",
2376
- "module": "src/accordion/accordion.ts"
2375
+ "name": "AccordionItem",
2376
+ "module": "src/accordion-item/accordion-item.ts"
2377
2377
  }
2378
2378
  },
2379
2379
  {
2380
2380
  "kind": "js",
2381
- "name": "foundationAccordionShadowOptions",
2381
+ "name": "foundationAccordionItemShadowOptions",
2382
2382
  "declaration": {
2383
- "name": "foundationAccordionShadowOptions",
2384
- "module": "src/accordion/accordion.ts"
2383
+ "name": "foundationAccordionItemShadowOptions",
2384
+ "module": "src/accordion-item/accordion-item.ts"
2385
2385
  }
2386
2386
  },
2387
2387
  {
2388
2388
  "kind": "js",
2389
- "name": "defaultAccordionConfig",
2389
+ "name": "defaultAccordionItemConfig",
2390
2390
  "declaration": {
2391
- "name": "defaultAccordionConfig",
2392
- "module": "src/accordion/accordion.ts"
2391
+ "name": "defaultAccordionItemConfig",
2392
+ "module": "src/accordion-item/accordion-item.ts"
2393
2393
  }
2394
2394
  },
2395
2395
  {
2396
2396
  "kind": "js",
2397
- "name": "foundationAccordion",
2397
+ "name": "foundationAccordionItem",
2398
2398
  "declaration": {
2399
- "name": "foundationAccordion",
2400
- "module": "src/accordion/accordion.ts"
2399
+ "name": "foundationAccordionItem",
2400
+ "module": "src/accordion-item/accordion-item.ts"
2401
2401
  }
2402
2402
  }
2403
2403
  ]
2404
2404
  },
2405
2405
  {
2406
2406
  "kind": "javascript-module",
2407
- "path": "src/accordion/index.ts",
2407
+ "path": "src/accordion-item/index.ts",
2408
2408
  "declarations": [],
2409
2409
  "exports": [
2410
2410
  {
@@ -2412,7 +2412,7 @@
2412
2412
  "name": "*",
2413
2413
  "declaration": {
2414
2414
  "name": "*",
2415
- "package": "./accordion.template"
2415
+ "package": "./accordion-item.template"
2416
2416
  }
2417
2417
  },
2418
2418
  {
@@ -2420,7 +2420,7 @@
2420
2420
  "name": "*",
2421
2421
  "declaration": {
2422
2422
  "name": "*",
2423
- "package": "./accordion.styles"
2423
+ "package": "./accordion-item.styles"
2424
2424
  }
2425
2425
  },
2426
2426
  {
@@ -2428,210 +2428,122 @@
2428
2428
  "name": "*",
2429
2429
  "declaration": {
2430
2430
  "name": "*",
2431
- "package": "./accordion"
2431
+ "package": "./accordion-item"
2432
2432
  }
2433
2433
  }
2434
2434
  ]
2435
2435
  },
2436
2436
  {
2437
2437
  "kind": "javascript-module",
2438
- "path": "src/actions-menu/actions-menu.styles.ts",
2438
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2439
2439
  "declarations": [
2440
2440
  {
2441
- "kind": "function",
2442
- "name": "actionsMenuBaseStyles",
2443
- "return": {
2444
- "type": {
2445
- "text": "ElementStyles"
2446
- }
2447
- },
2448
- "parameters": [
2449
- {
2450
- "name": "context",
2451
- "type": {
2452
- "text": "ElementDefinitionContext"
2453
- }
2454
- },
2455
- {
2456
- "name": "definition",
2457
- "type": {
2458
- "text": "FoundationElementDefinition"
2459
- }
2460
- }
2461
- ]
2462
- },
2463
- {
2464
- "kind": "function",
2465
- "name": "foundationActionsMenuStyles",
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
- ]
2441
+ "kind": "variable",
2442
+ "name": "foundationAiCriteriaSearchStyles",
2443
+ "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`"
2485
2444
  }
2486
2445
  ],
2487
2446
  "exports": [
2488
2447
  {
2489
2448
  "kind": "js",
2490
- "name": "actionsMenuBaseStyles",
2491
- "declaration": {
2492
- "name": "actionsMenuBaseStyles",
2493
- "module": "src/actions-menu/actions-menu.styles.ts"
2494
- }
2495
- },
2496
- {
2497
- "kind": "js",
2498
- "name": "foundationActionsMenuStyles",
2449
+ "name": "foundationAiCriteriaSearchStyles",
2499
2450
  "declaration": {
2500
- "name": "foundationActionsMenuStyles",
2501
- "module": "src/actions-menu/actions-menu.styles.ts"
2451
+ "name": "foundationAiCriteriaSearchStyles",
2452
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2502
2453
  }
2503
2454
  }
2504
2455
  ]
2505
2456
  },
2506
2457
  {
2507
2458
  "kind": "javascript-module",
2508
- "path": "src/actions-menu/actions-menu.template.ts",
2459
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2509
2460
  "declarations": [
2510
- {
2511
- "kind": "function",
2512
- "name": "menuTemplate",
2513
- "parameters": [
2514
- {
2515
- "name": "prefix",
2516
- "type": {
2517
- "text": "string"
2518
- }
2519
- }
2520
- ]
2521
- },
2522
- {
2523
- "kind": "function",
2524
- "name": "singleOptionTemplate",
2525
- "parameters": [
2526
- {
2527
- "name": "prefix",
2528
- "type": {
2529
- "text": "string"
2530
- }
2531
- }
2532
- ]
2533
- },
2534
2461
  {
2535
2462
  "kind": "variable",
2536
- "name": "foundationActionsMenuTemplate",
2463
+ "name": "foundationAiCriteriaSearchTemplate",
2537
2464
  "type": {
2538
- "text": "ViewTemplate<ActionsMenu>"
2465
+ "text": "ViewTemplate<AiCriteriaSearch>"
2539
2466
  },
2540
- "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`"
2467
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2541
2468
  }
2542
2469
  ],
2543
- "exports": [
2544
- {
2545
- "kind": "js",
2546
- "name": "menuTemplate",
2547
- "declaration": {
2548
- "name": "menuTemplate",
2549
- "module": "src/actions-menu/actions-menu.template.ts"
2550
- }
2551
- },
2552
- {
2553
- "kind": "js",
2554
- "name": "singleOptionTemplate",
2555
- "declaration": {
2556
- "name": "singleOptionTemplate",
2557
- "module": "src/actions-menu/actions-menu.template.ts"
2558
- }
2559
- },
2470
+ "exports": [
2560
2471
  {
2561
2472
  "kind": "js",
2562
- "name": "foundationActionsMenuTemplate",
2473
+ "name": "foundationAiCriteriaSearchTemplate",
2563
2474
  "declaration": {
2564
- "name": "foundationActionsMenuTemplate",
2565
- "module": "src/actions-menu/actions-menu.template.ts"
2475
+ "name": "foundationAiCriteriaSearchTemplate",
2476
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2566
2477
  }
2567
2478
  }
2568
2479
  ]
2569
2480
  },
2570
2481
  {
2571
2482
  "kind": "javascript-module",
2572
- "path": "src/actions-menu/actions-menu.ts",
2483
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2573
2484
  "declarations": [
2574
2485
  {
2575
2486
  "kind": "class",
2576
- "description": "",
2577
- "name": "ActionsMenu",
2487
+ "description": "Natural-language criteria search input with AI interpretation.",
2488
+ "name": "AiCriteriaSearch",
2578
2489
  "members": [
2579
2490
  {
2580
2491
  "kind": "field",
2581
- "name": "actions",
2492
+ "name": "providerRegistry",
2582
2493
  "type": {
2583
- "text": "ActionMenuItem[]"
2494
+ "text": "AIProviderRegistry"
2584
2495
  }
2585
2496
  },
2586
2497
  {
2587
2498
  "kind": "field",
2588
- "name": "isVertical",
2499
+ "name": "placeholder",
2589
2500
  "type": {
2590
- "text": "boolean"
2501
+ "text": "string"
2591
2502
  },
2592
- "default": "false"
2503
+ "default": "'Describe your search criteria in natural language...'"
2593
2504
  },
2594
2505
  {
2595
2506
  "kind": "field",
2596
- "name": "addDefaultActions",
2507
+ "name": "disabled",
2597
2508
  "type": {
2598
2509
  "text": "boolean"
2599
- },
2600
- "default": "true"
2510
+ }
2601
2511
  },
2602
2512
  {
2603
2513
  "kind": "field",
2604
- "name": "autoCloseOnAction",
2514
+ "name": "inputValue",
2605
2515
  "type": {
2606
- "text": "boolean"
2516
+ "text": "string"
2607
2517
  },
2608
- "default": "true"
2518
+ "default": "''"
2609
2519
  },
2610
2520
  {
2611
2521
  "kind": "field",
2612
- "name": "classNames",
2522
+ "name": "isInterpreting",
2613
2523
  "type": {
2614
- "text": "string"
2615
- }
2524
+ "text": "boolean"
2525
+ },
2526
+ "default": "false"
2616
2527
  },
2617
2528
  {
2618
2529
  "kind": "field",
2619
- "name": "definition",
2530
+ "name": "lastValidCriteria",
2620
2531
  "type": {
2621
- "text": "any"
2622
- }
2532
+ "text": "string | null"
2533
+ },
2534
+ "default": "null"
2623
2535
  },
2624
2536
  {
2625
2537
  "kind": "field",
2626
- "name": "name",
2538
+ "name": "activeGroups",
2627
2539
  "type": {
2628
- "text": "string"
2540
+ "text": "CriteriaGroup[]"
2629
2541
  },
2630
- "default": "'Actions'"
2542
+ "default": "[]"
2631
2543
  },
2632
2544
  {
2633
2545
  "kind": "field",
2634
- "name": "open",
2546
+ "name": "showingChips",
2635
2547
  "type": {
2636
2548
  "text": "boolean"
2637
2549
  },
@@ -2639,14 +2551,15 @@
2639
2551
  },
2640
2552
  {
2641
2553
  "kind": "field",
2642
- "name": "buttonAppearance",
2554
+ "name": "fieldMetadata",
2643
2555
  "type": {
2644
- "text": "string"
2645
- }
2556
+ "text": "MetadataDetail[] | string[]"
2557
+ },
2558
+ "default": "[]"
2646
2559
  },
2647
2560
  {
2648
2561
  "kind": "field",
2649
- "name": "hideDisabled",
2562
+ "name": "isRecording",
2650
2563
  "type": {
2651
2564
  "text": "boolean"
2652
2565
  },
@@ -2654,114 +2567,125 @@
2654
2567
  },
2655
2568
  {
2656
2569
  "kind": "field",
2657
- "name": "hideMenuSingleOption",
2570
+ "name": "textAreaRef",
2658
2571
  "type": {
2659
- "text": "boolean"
2572
+ "text": "HTMLTextAreaElement"
2660
2573
  },
2661
- "default": "false"
2574
+ "privacy": "public"
2662
2575
  },
2663
2576
  {
2664
2577
  "kind": "field",
2665
- "name": "singleOption",
2578
+ "name": "stopRecording",
2666
2579
  "type": {
2667
- "text": "ActionMenuItem"
2668
- }
2580
+ "text": "(() => void) | null"
2581
+ },
2582
+ "privacy": "private",
2583
+ "default": "null"
2669
2584
  },
2670
2585
  {
2671
2586
  "kind": "field",
2672
- "name": "actionsMenu",
2587
+ "name": "speechApplyDebounceTimer",
2673
2588
  "type": {
2674
- "text": "HTMLElement"
2675
- }
2589
+ "text": "ReturnType<typeof setTimeout> | null"
2590
+ },
2591
+ "privacy": "private",
2592
+ "default": "null"
2676
2593
  },
2677
2594
  {
2678
2595
  "kind": "field",
2679
- "name": "actionsOpener",
2596
+ "name": "speechAvailable",
2680
2597
  "type": {
2681
- "text": "HTMLElement"
2682
- }
2598
+ "text": "boolean"
2599
+ },
2600
+ "readonly": true
2683
2601
  },
2684
2602
  {
2685
- "kind": "method",
2686
- "name": "updateMenuPosition",
2687
- "privacy": "private"
2603
+ "kind": "field",
2604
+ "name": "criteriaChips",
2605
+ "type": {
2606
+ "text": "CriteriaChip[]"
2607
+ },
2608
+ "readonly": true
2688
2609
  },
2689
2610
  {
2690
2611
  "kind": "method",
2691
- "name": "definitionChanged",
2692
- "privacy": "protected",
2612
+ "name": "getFieldLabel",
2613
+ "privacy": "private",
2614
+ "return": {
2615
+ "type": {
2616
+ "text": "string"
2617
+ }
2618
+ },
2693
2619
  "parameters": [
2694
2620
  {
2695
- "name": "oldValue",
2696
- "type": {
2697
- "text": "any"
2698
- }
2699
- },
2700
- {
2701
- "name": "newValue",
2621
+ "name": "fieldName",
2702
2622
  "type": {
2703
- "text": "any"
2623
+ "text": "string"
2704
2624
  }
2705
2625
  }
2706
2626
  ]
2707
2627
  },
2708
2628
  {
2709
2629
  "kind": "method",
2710
- "name": "openChanged",
2711
- "privacy": "protected"
2712
- },
2713
- {
2714
- "kind": "method",
2715
- "name": "toggleActionsMenuVisibility"
2630
+ "name": "toggleCriteriaView",
2631
+ "return": {
2632
+ "type": {
2633
+ "text": "void"
2634
+ }
2635
+ }
2716
2636
  },
2717
2637
  {
2718
2638
  "kind": "method",
2719
- "name": "onActionMenuItemClick",
2639
+ "name": "removeChip",
2640
+ "return": {
2641
+ "type": {
2642
+ "text": "void"
2643
+ }
2644
+ },
2720
2645
  "parameters": [
2721
2646
  {
2722
- "name": "callback",
2647
+ "name": "groupIndex",
2723
2648
  "type": {
2724
- "text": "(rowData) => void | any"
2649
+ "text": "number"
2650
+ }
2651
+ },
2652
+ {
2653
+ "name": "clauseIndex",
2654
+ "type": {
2655
+ "text": "number"
2725
2656
  }
2726
2657
  }
2727
2658
  ]
2728
2659
  },
2729
2660
  {
2730
- "kind": "field",
2731
- "name": "allActions",
2732
- "type": {
2733
- "text": "ActionMenuItem[]"
2734
- },
2735
- "readonly": true
2661
+ "kind": "method",
2662
+ "name": "clearChips",
2663
+ "return": {
2664
+ "type": {
2665
+ "text": "void"
2666
+ }
2667
+ }
2736
2668
  },
2737
2669
  {
2738
- "kind": "field",
2739
- "name": "rowData",
2740
- "readonly": true
2670
+ "kind": "method",
2671
+ "name": "handleSubmit"
2741
2672
  },
2742
2673
  {
2743
2674
  "kind": "method",
2744
- "name": "getLabel",
2745
- "parameters": [
2746
- {
2747
- "name": "name",
2748
- "type": {
2749
- "text": "string | ((rowData: any) => string)"
2750
- }
2751
- }
2752
- ]
2675
+ "name": "handleBlur"
2753
2676
  },
2754
2677
  {
2755
2678
  "kind": "method",
2756
- "name": "getTemplate",
2757
- "parameters": [
2758
- {
2759
- "name": "prefix",
2760
- "type": {
2761
- "text": "string"
2762
- }
2763
- }
2764
- ]
2679
+ "name": "clear"
2680
+ },
2681
+ {
2682
+ "kind": "method",
2683
+ "name": "toggleSpeechInput"
2684
+ },
2685
+ {
2686
+ "kind": "method",
2687
+ "name": "clearSpeechApplyDebounce",
2688
+ "privacy": "private"
2765
2689
  },
2766
2690
  {
2767
2691
  "kind": "field",
@@ -2875,115 +2799,154 @@
2875
2799
  }
2876
2800
  }
2877
2801
  ],
2878
- "attributes": [
2879
- {
2880
- "name": "is-vertical",
2881
- "type": {
2882
- "text": "boolean"
2883
- },
2884
- "default": "false",
2885
- "fieldName": "isVertical"
2886
- },
2887
- {
2888
- "name": "add-default-actions",
2889
- "type": {
2890
- "text": "boolean"
2891
- },
2892
- "default": "true",
2893
- "fieldName": "addDefaultActions"
2894
- },
2895
- {
2896
- "name": "auto-close-on-action",
2897
- "type": {
2898
- "text": "boolean"
2899
- },
2900
- "default": "true",
2901
- "fieldName": "autoCloseOnAction"
2902
- },
2802
+ "events": [
2903
2803
  {
2904
- "name": "name",
2905
- "type": {
2906
- "text": "string"
2907
- },
2908
- "default": "'Actions'",
2909
- "fieldName": "name"
2804
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2805
+ "name": "criteria-changed"
2910
2806
  },
2911
2807
  {
2912
- "name": "open",
2913
- "type": {
2914
- "text": "boolean"
2915
- },
2916
- "default": "false",
2917
- "fieldName": "open"
2918
- },
2808
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2809
+ "name": "validation-errors"
2810
+ }
2811
+ ],
2812
+ "attributes": [
2919
2813
  {
2920
- "name": "buttonAppearance",
2814
+ "name": "placeholder",
2921
2815
  "type": {
2922
2816
  "text": "string"
2923
- },
2924
- "fieldName": "buttonAppearance"
2925
- },
2926
- {
2927
- "name": "hide-disabled",
2928
- "type": {
2929
- "text": "boolean"
2930
- },
2931
- "default": "false",
2932
- "fieldName": "hideDisabled"
2817
+ },
2818
+ "default": "'Describe your search criteria in natural language...'",
2819
+ "fieldName": "placeholder"
2933
2820
  },
2934
2821
  {
2935
- "name": "hide-menu-single-option",
2936
2822
  "type": {
2937
2823
  "text": "boolean"
2938
2824
  },
2939
- "default": "false",
2940
- "fieldName": "hideMenuSingleOption"
2825
+ "fieldName": "disabled"
2941
2826
  }
2942
2827
  ],
2943
2828
  "superclass": {
2944
2829
  "name": "FoundationElement",
2945
2830
  "package": "@microsoft/fast-foundation"
2946
2831
  },
2947
- "tagName": "%%prefix%%-actions-menu",
2832
+ "tagName": "%%prefix%%-ai-criteria-search",
2948
2833
  "customElement": true
2949
2834
  },
2950
2835
  {
2951
2836
  "kind": "variable",
2952
- "name": "foundationActionsMenu",
2953
- "description": "The Foundation Actions Menu",
2954
- "privacy": "public"
2837
+ "name": "foundationAiCriteriaSearchShadowOptions",
2838
+ "type": {
2839
+ "text": "ShadowRootInit"
2840
+ },
2841
+ "default": "undefined"
2842
+ },
2843
+ {
2844
+ "kind": "variable",
2845
+ "name": "defaultAiCriteriaSearchConfig",
2846
+ "type": {
2847
+ "text": "object"
2848
+ },
2849
+ "default": "{}"
2850
+ },
2851
+ {
2852
+ "kind": "variable",
2853
+ "name": "foundationAiCriteriaSearch"
2955
2854
  }
2956
2855
  ],
2957
2856
  "exports": [
2958
2857
  {
2959
2858
  "kind": "js",
2960
- "name": "ActionsMenu",
2859
+ "name": "AiCriteriaSearch",
2961
2860
  "declaration": {
2962
- "name": "ActionsMenu",
2963
- "module": "src/actions-menu/actions-menu.ts"
2861
+ "name": "AiCriteriaSearch",
2862
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2964
2863
  }
2965
2864
  },
2966
2865
  {
2967
2866
  "kind": "js",
2968
- "name": "foundationActionsMenu",
2867
+ "name": "foundationAiCriteriaSearchShadowOptions",
2969
2868
  "declaration": {
2970
- "name": "foundationActionsMenu",
2971
- "module": "src/actions-menu/actions-menu.ts"
2869
+ "name": "foundationAiCriteriaSearchShadowOptions",
2870
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2871
+ }
2872
+ },
2873
+ {
2874
+ "kind": "js",
2875
+ "name": "defaultAiCriteriaSearchConfig",
2876
+ "declaration": {
2877
+ "name": "defaultAiCriteriaSearchConfig",
2878
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2879
+ }
2880
+ },
2881
+ {
2882
+ "kind": "js",
2883
+ "name": "foundationAiCriteriaSearch",
2884
+ "declaration": {
2885
+ "name": "foundationAiCriteriaSearch",
2886
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2972
2887
  }
2973
2888
  }
2974
2889
  ]
2975
2890
  },
2976
2891
  {
2977
2892
  "kind": "javascript-module",
2978
- "path": "src/actions-menu/index.ts",
2893
+ "path": "src/ai-criteria-search/index.ts",
2979
2894
  "declarations": [],
2980
2895
  "exports": [
2896
+ {
2897
+ "kind": "js",
2898
+ "name": "AiCriteriaSearch",
2899
+ "declaration": {
2900
+ "name": "AiCriteriaSearch",
2901
+ "module": "./ai-criteria-search"
2902
+ }
2903
+ },
2904
+ {
2905
+ "kind": "js",
2906
+ "name": "defaultAiCriteriaSearchConfig",
2907
+ "declaration": {
2908
+ "name": "defaultAiCriteriaSearchConfig",
2909
+ "module": "./ai-criteria-search"
2910
+ }
2911
+ },
2912
+ {
2913
+ "kind": "js",
2914
+ "name": "foundationAiCriteriaSearch",
2915
+ "declaration": {
2916
+ "name": "foundationAiCriteriaSearch",
2917
+ "module": "./ai-criteria-search"
2918
+ }
2919
+ },
2920
+ {
2921
+ "kind": "js",
2922
+ "name": "foundationAiCriteriaSearchShadowOptions",
2923
+ "declaration": {
2924
+ "name": "foundationAiCriteriaSearchShadowOptions",
2925
+ "module": "./ai-criteria-search"
2926
+ }
2927
+ },
2928
+ {
2929
+ "kind": "js",
2930
+ "name": "foundationAiCriteriaSearchStyles",
2931
+ "declaration": {
2932
+ "name": "foundationAiCriteriaSearchStyles",
2933
+ "module": "./ai-criteria-search.styles"
2934
+ }
2935
+ },
2936
+ {
2937
+ "kind": "js",
2938
+ "name": "foundationAiCriteriaSearchTemplate",
2939
+ "declaration": {
2940
+ "name": "foundationAiCriteriaSearchTemplate",
2941
+ "module": "./ai-criteria-search.template"
2942
+ }
2943
+ },
2981
2944
  {
2982
2945
  "kind": "js",
2983
2946
  "name": "*",
2984
2947
  "declaration": {
2985
2948
  "name": "*",
2986
- "package": "./actions-menu.styles"
2949
+ "package": "./validation/criteria-ir"
2987
2950
  }
2988
2951
  },
2989
2952
  {
@@ -2991,7 +2954,7 @@
2991
2954
  "name": "*",
2992
2955
  "declaration": {
2993
2956
  "name": "*",
2994
- "package": "./actions-menu.template"
2957
+ "package": "./validation/operator-map"
2995
2958
  }
2996
2959
  },
2997
2960
  {
@@ -2999,7 +2962,82 @@
2999
2962
  "name": "*",
3000
2963
  "declaration": {
3001
2964
  "name": "*",
3002
- "package": "./actions-menu"
2965
+ "package": "./validation/schema-validator"
2966
+ }
2967
+ }
2968
+ ]
2969
+ },
2970
+ {
2971
+ "kind": "javascript-module",
2972
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2973
+ "declarations": [
2974
+ {
2975
+ "kind": "function",
2976
+ "name": "formatValidationErrors",
2977
+ "return": {
2978
+ "type": {
2979
+ "text": "string"
2980
+ }
2981
+ },
2982
+ "parameters": [
2983
+ {
2984
+ "name": "errors",
2985
+ "type": {
2986
+ "text": "ValidationError[]"
2987
+ }
2988
+ }
2989
+ ],
2990
+ "description": "Formats validation errors into a user-friendly message."
2991
+ },
2992
+ {
2993
+ "kind": "function",
2994
+ "name": "showCriteriaError",
2995
+ "return": {
2996
+ "type": {
2997
+ "text": "void"
2998
+ }
2999
+ },
3000
+ "parameters": [
3001
+ {
3002
+ "name": "title",
3003
+ "type": {
3004
+ "text": "string"
3005
+ },
3006
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3007
+ },
3008
+ {
3009
+ "name": "body",
3010
+ "type": {
3011
+ "text": "string"
3012
+ },
3013
+ "description": "Error message to display"
3014
+ },
3015
+ {
3016
+ "name": "tagName",
3017
+ "type": {
3018
+ "text": "string"
3019
+ },
3020
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3021
+ }
3022
+ ],
3023
+ "description": "Shows a criteria error as a toast notification."
3024
+ }
3025
+ ],
3026
+ "exports": [
3027
+ {
3028
+ "kind": "js",
3029
+ "name": "formatValidationErrors",
3030
+ "declaration": {
3031
+ "name": "formatValidationErrors",
3032
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3033
+ }
3034
+ },
3035
+ {
3036
+ "kind": "js",
3037
+ "name": "showCriteriaError",
3038
+ "declaration": {
3039
+ "name": "showCriteriaError",
3040
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3003
3041
  }
3004
3042
  }
3005
3043
  ]
@@ -3445,125 +3483,213 @@
3445
3483
  },
3446
3484
  {
3447
3485
  "kind": "js",
3448
- "name": "foundationAiIndicatorStyles",
3486
+ "name": "foundationAiIndicatorStyles",
3487
+ "declaration": {
3488
+ "name": "foundationAiIndicatorStyles",
3489
+ "module": "./ai-indicator.styles"
3490
+ }
3491
+ }
3492
+ ]
3493
+ },
3494
+ {
3495
+ "kind": "javascript-module",
3496
+ "path": "src/actions-menu/actions-menu.styles.ts",
3497
+ "declarations": [
3498
+ {
3499
+ "kind": "function",
3500
+ "name": "actionsMenuBaseStyles",
3501
+ "return": {
3502
+ "type": {
3503
+ "text": "ElementStyles"
3504
+ }
3505
+ },
3506
+ "parameters": [
3507
+ {
3508
+ "name": "context",
3509
+ "type": {
3510
+ "text": "ElementDefinitionContext"
3511
+ }
3512
+ },
3513
+ {
3514
+ "name": "definition",
3515
+ "type": {
3516
+ "text": "FoundationElementDefinition"
3517
+ }
3518
+ }
3519
+ ]
3520
+ },
3521
+ {
3522
+ "kind": "function",
3523
+ "name": "foundationActionsMenuStyles",
3524
+ "return": {
3525
+ "type": {
3526
+ "text": "ElementStyles"
3527
+ }
3528
+ },
3529
+ "parameters": [
3530
+ {
3531
+ "name": "context",
3532
+ "type": {
3533
+ "text": "ElementDefinitionContext"
3534
+ }
3535
+ },
3536
+ {
3537
+ "name": "definition",
3538
+ "type": {
3539
+ "text": "FoundationElementDefinition"
3540
+ }
3541
+ }
3542
+ ]
3543
+ }
3544
+ ],
3545
+ "exports": [
3546
+ {
3547
+ "kind": "js",
3548
+ "name": "actionsMenuBaseStyles",
3549
+ "declaration": {
3550
+ "name": "actionsMenuBaseStyles",
3551
+ "module": "src/actions-menu/actions-menu.styles.ts"
3552
+ }
3553
+ },
3554
+ {
3555
+ "kind": "js",
3556
+ "name": "foundationActionsMenuStyles",
3449
3557
  "declaration": {
3450
- "name": "foundationAiIndicatorStyles",
3451
- "module": "./ai-indicator.styles"
3558
+ "name": "foundationActionsMenuStyles",
3559
+ "module": "src/actions-menu/actions-menu.styles.ts"
3452
3560
  }
3453
3561
  }
3454
3562
  ]
3455
3563
  },
3456
3564
  {
3457
3565
  "kind": "javascript-module",
3458
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3566
+ "path": "src/actions-menu/actions-menu.template.ts",
3459
3567
  "declarations": [
3568
+ {
3569
+ "kind": "function",
3570
+ "name": "menuTemplate",
3571
+ "parameters": [
3572
+ {
3573
+ "name": "prefix",
3574
+ "type": {
3575
+ "text": "string"
3576
+ }
3577
+ }
3578
+ ]
3579
+ },
3580
+ {
3581
+ "kind": "function",
3582
+ "name": "singleOptionTemplate",
3583
+ "parameters": [
3584
+ {
3585
+ "name": "prefix",
3586
+ "type": {
3587
+ "text": "string"
3588
+ }
3589
+ }
3590
+ ]
3591
+ },
3460
3592
  {
3461
3593
  "kind": "variable",
3462
- "name": "foundationAiCriteriaSearchStyles",
3463
- "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`"
3594
+ "name": "foundationActionsMenuTemplate",
3595
+ "type": {
3596
+ "text": "ViewTemplate<ActionsMenu>"
3597
+ },
3598
+ "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`"
3464
3599
  }
3465
3600
  ],
3466
3601
  "exports": [
3467
3602
  {
3468
3603
  "kind": "js",
3469
- "name": "foundationAiCriteriaSearchStyles",
3604
+ "name": "menuTemplate",
3470
3605
  "declaration": {
3471
- "name": "foundationAiCriteriaSearchStyles",
3472
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3606
+ "name": "menuTemplate",
3607
+ "module": "src/actions-menu/actions-menu.template.ts"
3473
3608
  }
3474
- }
3475
- ]
3476
- },
3477
- {
3478
- "kind": "javascript-module",
3479
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3480
- "declarations": [
3609
+ },
3481
3610
  {
3482
- "kind": "variable",
3483
- "name": "foundationAiCriteriaSearchTemplate",
3484
- "type": {
3485
- "text": "ViewTemplate<AiCriteriaSearch>"
3486
- },
3487
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3488
- }
3489
- ],
3490
- "exports": [
3611
+ "kind": "js",
3612
+ "name": "singleOptionTemplate",
3613
+ "declaration": {
3614
+ "name": "singleOptionTemplate",
3615
+ "module": "src/actions-menu/actions-menu.template.ts"
3616
+ }
3617
+ },
3491
3618
  {
3492
3619
  "kind": "js",
3493
- "name": "foundationAiCriteriaSearchTemplate",
3620
+ "name": "foundationActionsMenuTemplate",
3494
3621
  "declaration": {
3495
- "name": "foundationAiCriteriaSearchTemplate",
3496
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3622
+ "name": "foundationActionsMenuTemplate",
3623
+ "module": "src/actions-menu/actions-menu.template.ts"
3497
3624
  }
3498
3625
  }
3499
3626
  ]
3500
3627
  },
3501
3628
  {
3502
3629
  "kind": "javascript-module",
3503
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3630
+ "path": "src/actions-menu/actions-menu.ts",
3504
3631
  "declarations": [
3505
3632
  {
3506
3633
  "kind": "class",
3507
- "description": "Natural-language criteria search input with AI interpretation.",
3508
- "name": "AiCriteriaSearch",
3634
+ "description": "",
3635
+ "name": "ActionsMenu",
3509
3636
  "members": [
3510
3637
  {
3511
3638
  "kind": "field",
3512
- "name": "providerRegistry",
3639
+ "name": "actions",
3513
3640
  "type": {
3514
- "text": "AIProviderRegistry"
3641
+ "text": "ActionMenuItem[]"
3515
3642
  }
3516
3643
  },
3517
3644
  {
3518
3645
  "kind": "field",
3519
- "name": "placeholder",
3646
+ "name": "isVertical",
3520
3647
  "type": {
3521
- "text": "string"
3648
+ "text": "boolean"
3522
3649
  },
3523
- "default": "'Describe your search criteria in natural language...'"
3650
+ "default": "false"
3524
3651
  },
3525
3652
  {
3526
3653
  "kind": "field",
3527
- "name": "disabled",
3654
+ "name": "addDefaultActions",
3528
3655
  "type": {
3529
3656
  "text": "boolean"
3530
- }
3657
+ },
3658
+ "default": "true"
3531
3659
  },
3532
3660
  {
3533
3661
  "kind": "field",
3534
- "name": "inputValue",
3662
+ "name": "autoCloseOnAction",
3535
3663
  "type": {
3536
- "text": "string"
3664
+ "text": "boolean"
3537
3665
  },
3538
- "default": "''"
3666
+ "default": "true"
3539
3667
  },
3540
3668
  {
3541
3669
  "kind": "field",
3542
- "name": "isInterpreting",
3670
+ "name": "classNames",
3543
3671
  "type": {
3544
- "text": "boolean"
3545
- },
3546
- "default": "false"
3672
+ "text": "string"
3673
+ }
3547
3674
  },
3548
3675
  {
3549
3676
  "kind": "field",
3550
- "name": "lastValidCriteria",
3677
+ "name": "definition",
3551
3678
  "type": {
3552
- "text": "string | null"
3553
- },
3554
- "default": "null"
3679
+ "text": "any"
3680
+ }
3555
3681
  },
3556
3682
  {
3557
3683
  "kind": "field",
3558
- "name": "activeGroups",
3684
+ "name": "name",
3559
3685
  "type": {
3560
- "text": "CriteriaGroup[]"
3686
+ "text": "string"
3561
3687
  },
3562
- "default": "[]"
3688
+ "default": "'Actions'"
3563
3689
  },
3564
3690
  {
3565
3691
  "kind": "field",
3566
- "name": "showingChips",
3692
+ "name": "open",
3567
3693
  "type": {
3568
3694
  "text": "boolean"
3569
3695
  },
@@ -3571,15 +3697,14 @@
3571
3697
  },
3572
3698
  {
3573
3699
  "kind": "field",
3574
- "name": "fieldMetadata",
3700
+ "name": "buttonAppearance",
3575
3701
  "type": {
3576
- "text": "MetadataDetail[] | string[]"
3577
- },
3578
- "default": "[]"
3702
+ "text": "string"
3703
+ }
3579
3704
  },
3580
3705
  {
3581
3706
  "kind": "field",
3582
- "name": "isRecording",
3707
+ "name": "hideDisabled",
3583
3708
  "type": {
3584
3709
  "text": "boolean"
3585
3710
  },
@@ -3587,125 +3712,114 @@
3587
3712
  },
3588
3713
  {
3589
3714
  "kind": "field",
3590
- "name": "textAreaRef",
3591
- "type": {
3592
- "text": "HTMLTextAreaElement"
3593
- },
3594
- "privacy": "public"
3595
- },
3596
- {
3597
- "kind": "field",
3598
- "name": "stopRecording",
3715
+ "name": "hideMenuSingleOption",
3599
3716
  "type": {
3600
- "text": "(() => void) | null"
3717
+ "text": "boolean"
3601
3718
  },
3602
- "privacy": "private",
3603
- "default": "null"
3719
+ "default": "false"
3604
3720
  },
3605
3721
  {
3606
3722
  "kind": "field",
3607
- "name": "speechApplyDebounceTimer",
3723
+ "name": "singleOption",
3608
3724
  "type": {
3609
- "text": "ReturnType<typeof setTimeout> | null"
3610
- },
3611
- "privacy": "private",
3612
- "default": "null"
3725
+ "text": "ActionMenuItem"
3726
+ }
3613
3727
  },
3614
3728
  {
3615
3729
  "kind": "field",
3616
- "name": "speechAvailable",
3730
+ "name": "actionsMenu",
3617
3731
  "type": {
3618
- "text": "boolean"
3619
- },
3620
- "readonly": true
3732
+ "text": "HTMLElement"
3733
+ }
3621
3734
  },
3622
3735
  {
3623
3736
  "kind": "field",
3624
- "name": "criteriaChips",
3737
+ "name": "actionsOpener",
3625
3738
  "type": {
3626
- "text": "CriteriaChip[]"
3627
- },
3628
- "readonly": true
3629
- },
3630
- {
3631
- "kind": "method",
3632
- "name": "getFieldLabel",
3633
- "privacy": "private",
3634
- "return": {
3635
- "type": {
3636
- "text": "string"
3637
- }
3638
- },
3639
- "parameters": [
3640
- {
3641
- "name": "fieldName",
3642
- "type": {
3643
- "text": "string"
3644
- }
3645
- }
3646
- ]
3739
+ "text": "HTMLElement"
3740
+ }
3647
3741
  },
3648
3742
  {
3649
3743
  "kind": "method",
3650
- "name": "toggleCriteriaView",
3651
- "return": {
3652
- "type": {
3653
- "text": "void"
3654
- }
3655
- }
3744
+ "name": "updateMenuPosition",
3745
+ "privacy": "private"
3656
3746
  },
3657
3747
  {
3658
3748
  "kind": "method",
3659
- "name": "removeChip",
3660
- "return": {
3661
- "type": {
3662
- "text": "void"
3663
- }
3664
- },
3749
+ "name": "definitionChanged",
3750
+ "privacy": "protected",
3665
3751
  "parameters": [
3666
3752
  {
3667
- "name": "groupIndex",
3753
+ "name": "oldValue",
3668
3754
  "type": {
3669
- "text": "number"
3755
+ "text": "any"
3670
3756
  }
3671
3757
  },
3672
3758
  {
3673
- "name": "clauseIndex",
3759
+ "name": "newValue",
3674
3760
  "type": {
3675
- "text": "number"
3761
+ "text": "any"
3676
3762
  }
3677
3763
  }
3678
3764
  ]
3679
3765
  },
3680
3766
  {
3681
3767
  "kind": "method",
3682
- "name": "clearChips",
3683
- "return": {
3684
- "type": {
3685
- "text": "void"
3686
- }
3687
- }
3768
+ "name": "openChanged",
3769
+ "privacy": "protected"
3688
3770
  },
3689
3771
  {
3690
3772
  "kind": "method",
3691
- "name": "handleSubmit"
3773
+ "name": "toggleActionsMenuVisibility"
3692
3774
  },
3693
3775
  {
3694
3776
  "kind": "method",
3695
- "name": "handleBlur"
3777
+ "name": "onActionMenuItemClick",
3778
+ "parameters": [
3779
+ {
3780
+ "name": "callback",
3781
+ "type": {
3782
+ "text": "(rowData) => void | any"
3783
+ }
3784
+ }
3785
+ ]
3696
3786
  },
3697
3787
  {
3698
- "kind": "method",
3699
- "name": "clear"
3788
+ "kind": "field",
3789
+ "name": "allActions",
3790
+ "type": {
3791
+ "text": "ActionMenuItem[]"
3792
+ },
3793
+ "readonly": true
3794
+ },
3795
+ {
3796
+ "kind": "field",
3797
+ "name": "rowData",
3798
+ "readonly": true
3700
3799
  },
3701
3800
  {
3702
3801
  "kind": "method",
3703
- "name": "toggleSpeechInput"
3802
+ "name": "getLabel",
3803
+ "parameters": [
3804
+ {
3805
+ "name": "name",
3806
+ "type": {
3807
+ "text": "string | ((rowData: any) => string)"
3808
+ }
3809
+ }
3810
+ ]
3704
3811
  },
3705
3812
  {
3706
3813
  "kind": "method",
3707
- "name": "clearSpeechApplyDebounce",
3708
- "privacy": "private"
3814
+ "name": "getTemplate",
3815
+ "parameters": [
3816
+ {
3817
+ "name": "prefix",
3818
+ "type": {
3819
+ "text": "string"
3820
+ }
3821
+ }
3822
+ ]
3709
3823
  },
3710
3824
  {
3711
3825
  "kind": "field",
@@ -3819,154 +3933,115 @@
3819
3933
  }
3820
3934
  }
3821
3935
  ],
3822
- "events": [
3936
+ "attributes": [
3823
3937
  {
3824
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3825
- "name": "criteria-changed"
3938
+ "name": "is-vertical",
3939
+ "type": {
3940
+ "text": "boolean"
3941
+ },
3942
+ "default": "false",
3943
+ "fieldName": "isVertical"
3826
3944
  },
3827
3945
  {
3828
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3829
- "name": "validation-errors"
3830
- }
3831
- ],
3832
- "attributes": [
3946
+ "name": "add-default-actions",
3947
+ "type": {
3948
+ "text": "boolean"
3949
+ },
3950
+ "default": "true",
3951
+ "fieldName": "addDefaultActions"
3952
+ },
3833
3953
  {
3834
- "name": "placeholder",
3954
+ "name": "auto-close-on-action",
3955
+ "type": {
3956
+ "text": "boolean"
3957
+ },
3958
+ "default": "true",
3959
+ "fieldName": "autoCloseOnAction"
3960
+ },
3961
+ {
3962
+ "name": "name",
3835
3963
  "type": {
3836
3964
  "text": "string"
3837
3965
  },
3838
- "default": "'Describe your search criteria in natural language...'",
3839
- "fieldName": "placeholder"
3966
+ "default": "'Actions'",
3967
+ "fieldName": "name"
3840
3968
  },
3841
3969
  {
3970
+ "name": "open",
3842
3971
  "type": {
3843
3972
  "text": "boolean"
3844
3973
  },
3845
- "fieldName": "disabled"
3974
+ "default": "false",
3975
+ "fieldName": "open"
3976
+ },
3977
+ {
3978
+ "name": "buttonAppearance",
3979
+ "type": {
3980
+ "text": "string"
3981
+ },
3982
+ "fieldName": "buttonAppearance"
3983
+ },
3984
+ {
3985
+ "name": "hide-disabled",
3986
+ "type": {
3987
+ "text": "boolean"
3988
+ },
3989
+ "default": "false",
3990
+ "fieldName": "hideDisabled"
3991
+ },
3992
+ {
3993
+ "name": "hide-menu-single-option",
3994
+ "type": {
3995
+ "text": "boolean"
3996
+ },
3997
+ "default": "false",
3998
+ "fieldName": "hideMenuSingleOption"
3846
3999
  }
3847
4000
  ],
3848
4001
  "superclass": {
3849
4002
  "name": "FoundationElement",
3850
4003
  "package": "@microsoft/fast-foundation"
3851
4004
  },
3852
- "tagName": "%%prefix%%-ai-criteria-search",
4005
+ "tagName": "%%prefix%%-actions-menu",
3853
4006
  "customElement": true
3854
4007
  },
3855
4008
  {
3856
4009
  "kind": "variable",
3857
- "name": "foundationAiCriteriaSearchShadowOptions",
3858
- "type": {
3859
- "text": "ShadowRootInit"
3860
- },
3861
- "default": "undefined"
3862
- },
3863
- {
3864
- "kind": "variable",
3865
- "name": "defaultAiCriteriaSearchConfig",
3866
- "type": {
3867
- "text": "object"
3868
- },
3869
- "default": "{}"
3870
- },
3871
- {
3872
- "kind": "variable",
3873
- "name": "foundationAiCriteriaSearch"
4010
+ "name": "foundationActionsMenu",
4011
+ "description": "The Foundation Actions Menu",
4012
+ "privacy": "public"
3874
4013
  }
3875
4014
  ],
3876
4015
  "exports": [
3877
4016
  {
3878
4017
  "kind": "js",
3879
- "name": "AiCriteriaSearch",
3880
- "declaration": {
3881
- "name": "AiCriteriaSearch",
3882
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3883
- }
3884
- },
3885
- {
3886
- "kind": "js",
3887
- "name": "foundationAiCriteriaSearchShadowOptions",
3888
- "declaration": {
3889
- "name": "foundationAiCriteriaSearchShadowOptions",
3890
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3891
- }
3892
- },
3893
- {
3894
- "kind": "js",
3895
- "name": "defaultAiCriteriaSearchConfig",
4018
+ "name": "ActionsMenu",
3896
4019
  "declaration": {
3897
- "name": "defaultAiCriteriaSearchConfig",
3898
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
4020
+ "name": "ActionsMenu",
4021
+ "module": "src/actions-menu/actions-menu.ts"
3899
4022
  }
3900
4023
  },
3901
4024
  {
3902
4025
  "kind": "js",
3903
- "name": "foundationAiCriteriaSearch",
4026
+ "name": "foundationActionsMenu",
3904
4027
  "declaration": {
3905
- "name": "foundationAiCriteriaSearch",
3906
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
4028
+ "name": "foundationActionsMenu",
4029
+ "module": "src/actions-menu/actions-menu.ts"
3907
4030
  }
3908
4031
  }
3909
4032
  ]
3910
4033
  },
3911
4034
  {
3912
4035
  "kind": "javascript-module",
3913
- "path": "src/ai-criteria-search/index.ts",
4036
+ "path": "src/actions-menu/index.ts",
3914
4037
  "declarations": [],
3915
4038
  "exports": [
3916
- {
3917
- "kind": "js",
3918
- "name": "AiCriteriaSearch",
3919
- "declaration": {
3920
- "name": "AiCriteriaSearch",
3921
- "module": "./ai-criteria-search"
3922
- }
3923
- },
3924
- {
3925
- "kind": "js",
3926
- "name": "defaultAiCriteriaSearchConfig",
3927
- "declaration": {
3928
- "name": "defaultAiCriteriaSearchConfig",
3929
- "module": "./ai-criteria-search"
3930
- }
3931
- },
3932
- {
3933
- "kind": "js",
3934
- "name": "foundationAiCriteriaSearch",
3935
- "declaration": {
3936
- "name": "foundationAiCriteriaSearch",
3937
- "module": "./ai-criteria-search"
3938
- }
3939
- },
3940
- {
3941
- "kind": "js",
3942
- "name": "foundationAiCriteriaSearchShadowOptions",
3943
- "declaration": {
3944
- "name": "foundationAiCriteriaSearchShadowOptions",
3945
- "module": "./ai-criteria-search"
3946
- }
3947
- },
3948
- {
3949
- "kind": "js",
3950
- "name": "foundationAiCriteriaSearchStyles",
3951
- "declaration": {
3952
- "name": "foundationAiCriteriaSearchStyles",
3953
- "module": "./ai-criteria-search.styles"
3954
- }
3955
- },
3956
- {
3957
- "kind": "js",
3958
- "name": "foundationAiCriteriaSearchTemplate",
3959
- "declaration": {
3960
- "name": "foundationAiCriteriaSearchTemplate",
3961
- "module": "./ai-criteria-search.template"
3962
- }
3963
- },
3964
4039
  {
3965
4040
  "kind": "js",
3966
4041
  "name": "*",
3967
4042
  "declaration": {
3968
4043
  "name": "*",
3969
- "package": "./validation/criteria-ir"
4044
+ "package": "./actions-menu.styles"
3970
4045
  }
3971
4046
  },
3972
4047
  {
@@ -3974,7 +4049,7 @@
3974
4049
  "name": "*",
3975
4050
  "declaration": {
3976
4051
  "name": "*",
3977
- "package": "./validation/operator-map"
4052
+ "package": "./actions-menu.template"
3978
4053
  }
3979
4054
  },
3980
4055
  {
@@ -3982,82 +4057,7 @@
3982
4057
  "name": "*",
3983
4058
  "declaration": {
3984
4059
  "name": "*",
3985
- "package": "./validation/schema-validator"
3986
- }
3987
- }
3988
- ]
3989
- },
3990
- {
3991
- "kind": "javascript-module",
3992
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3993
- "declarations": [
3994
- {
3995
- "kind": "function",
3996
- "name": "formatValidationErrors",
3997
- "return": {
3998
- "type": {
3999
- "text": "string"
4000
- }
4001
- },
4002
- "parameters": [
4003
- {
4004
- "name": "errors",
4005
- "type": {
4006
- "text": "ValidationError[]"
4007
- }
4008
- }
4009
- ],
4010
- "description": "Formats validation errors into a user-friendly message."
4011
- },
4012
- {
4013
- "kind": "function",
4014
- "name": "showCriteriaError",
4015
- "return": {
4016
- "type": {
4017
- "text": "void"
4018
- }
4019
- },
4020
- "parameters": [
4021
- {
4022
- "name": "title",
4023
- "type": {
4024
- "text": "string"
4025
- },
4026
- "description": "Notification title (e.g. \"Criteria validation error\")"
4027
- },
4028
- {
4029
- "name": "body",
4030
- "type": {
4031
- "text": "string"
4032
- },
4033
- "description": "Error message to display"
4034
- },
4035
- {
4036
- "name": "tagName",
4037
- "type": {
4038
- "text": "string"
4039
- },
4040
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
4041
- }
4042
- ],
4043
- "description": "Shows a criteria error as a toast notification."
4044
- }
4045
- ],
4046
- "exports": [
4047
- {
4048
- "kind": "js",
4049
- "name": "formatValidationErrors",
4050
- "declaration": {
4051
- "name": "formatValidationErrors",
4052
- "module": "src/ai-criteria-search/validation-error-notification.ts"
4053
- }
4054
- },
4055
- {
4056
- "kind": "js",
4057
- "name": "showCriteriaError",
4058
- "declaration": {
4059
- "name": "showCriteriaError",
4060
- "module": "src/ai-criteria-search/validation-error-notification.ts"
4060
+ "package": "./actions-menu"
4061
4061
  }
4062
4062
  }
4063
4063
  ]