@genesislcap/foundation-ui 15.84.2 → 15.84.3

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