@genesislcap/foundation-ui 14.422.2-alpha-0a3f40b.0 → 14.423.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -836,14 +836,6 @@
836
836
  "package": "./utils/base-datasource"
837
837
  }
838
838
  },
839
- {
840
- "kind": "js",
841
- "name": "*",
842
- "declaration": {
843
- "name": "*",
844
- "package": "./utils/editable-elements"
845
- }
846
- },
847
839
  {
848
840
  "kind": "js",
849
841
  "name": "getDesignSystemPrefix",
@@ -1431,11 +1423,11 @@
1431
1423
  },
1432
1424
  {
1433
1425
  "kind": "javascript-module",
1434
- "path": "src/accordion/accordion.styles.ts",
1426
+ "path": "src/accordion-item/accordion-item.styles.ts",
1435
1427
  "declarations": [
1436
1428
  {
1437
1429
  "kind": "function",
1438
- "name": "foundationAccordionStyles",
1430
+ "name": "foundationAccordionItemStyles",
1439
1431
  "return": {
1440
1432
  "type": {
1441
1433
  "text": "ElementStyles"
@@ -1460,24 +1452,24 @@
1460
1452
  "exports": [
1461
1453
  {
1462
1454
  "kind": "js",
1463
- "name": "foundationAccordionStyles",
1455
+ "name": "foundationAccordionItemStyles",
1464
1456
  "declaration": {
1465
- "name": "foundationAccordionStyles",
1466
- "module": "src/accordion/accordion.styles.ts"
1457
+ "name": "foundationAccordionItemStyles",
1458
+ "module": "src/accordion-item/accordion-item.styles.ts"
1467
1459
  }
1468
1460
  }
1469
1461
  ]
1470
1462
  },
1471
1463
  {
1472
1464
  "kind": "javascript-module",
1473
- "path": "src/accordion/accordion.template.ts",
1465
+ "path": "src/accordion-item/accordion-item.template.ts",
1474
1466
  "declarations": [
1475
1467
  {
1476
1468
  "kind": "function",
1477
- "name": "foundationAccordionTemplate",
1469
+ "name": "foundationAccordionItemTemplate",
1478
1470
  "return": {
1479
1471
  "type": {
1480
- "text": "ViewTemplate<Accordion>"
1472
+ "text": "ViewTemplate<AccordionItem>"
1481
1473
  }
1482
1474
  },
1483
1475
  "parameters": [
@@ -1499,237 +1491,116 @@
1499
1491
  "exports": [
1500
1492
  {
1501
1493
  "kind": "js",
1502
- "name": "foundationAccordionTemplate",
1494
+ "name": "foundationAccordionItemTemplate",
1503
1495
  "declaration": {
1504
- "name": "foundationAccordionTemplate",
1505
- "module": "src/accordion/accordion.template.ts"
1496
+ "name": "foundationAccordionItemTemplate",
1497
+ "module": "src/accordion-item/accordion-item.template.ts"
1506
1498
  }
1507
1499
  }
1508
1500
  ]
1509
1501
  },
1510
1502
  {
1511
1503
  "kind": "javascript-module",
1512
- "path": "src/accordion/accordion.ts",
1504
+ "path": "src/accordion-item/accordion-item.ts",
1513
1505
  "declarations": [
1514
1506
  {
1515
1507
  "kind": "class",
1516
1508
  "description": "",
1517
- "name": "Accordion",
1509
+ "name": "AccordionItem",
1518
1510
  "superclass": {
1519
- "name": "FASTAccordion",
1520
- "package": "@microsoft/fast-foundation"
1511
+ "name": "FASTAccordionItem",
1512
+ "package": "@microsoft/fast-components"
1521
1513
  },
1522
- "tagName": "%%prefix%%-accordion",
1514
+ "tagName": "%%prefix%%-accordion-item",
1523
1515
  "customElement": true,
1524
1516
  "attributes": [
1525
1517
  {
1526
- "name": "expand-mode",
1527
- "type": {
1528
- "text": "AccordionExpandMode"
1529
- },
1530
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1531
- "fieldName": "expandmode",
1532
- "inheritedFrom": {
1533
- "name": "Accordion",
1534
- "module": "src/accordion/accordion.ts"
1535
- }
1536
- }
1537
- ],
1538
- "members": [
1539
- {
1540
- "kind": "field",
1541
- "name": "expandmode",
1518
+ "name": "heading-level",
1542
1519
  "type": {
1543
- "text": "AccordionExpandMode"
1520
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1544
1521
  },
1545
- "privacy": "public",
1546
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1522
+ "default": "2",
1523
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1524
+ "fieldName": "headinglevel",
1547
1525
  "inheritedFrom": {
1548
- "name": "Accordion",
1549
- "module": "src/accordion/accordion.ts"
1526
+ "name": "AccordionItem",
1527
+ "module": "src/accordion-item/accordion-item.ts"
1550
1528
  }
1551
1529
  },
1552
1530
  {
1553
- "kind": "field",
1554
- "name": "activeid",
1555
1531
  "type": {
1556
- "text": "string | null"
1532
+ "text": "boolean"
1557
1533
  },
1558
- "privacy": "private",
1534
+ "default": "false",
1535
+ "description": "Expands or collapses the item.",
1536
+ "fieldName": "expanded",
1559
1537
  "inheritedFrom": {
1560
- "name": "Accordion",
1561
- "module": "src/accordion/accordion.ts"
1538
+ "name": "AccordionItem",
1539
+ "module": "src/accordion-item/accordion-item.ts"
1562
1540
  }
1563
1541
  },
1564
1542
  {
1565
- "kind": "field",
1566
- "name": "activeItemIndex",
1543
+ "name": "id",
1567
1544
  "type": {
1568
- "text": "number"
1545
+ "text": "string"
1569
1546
  },
1570
- "privacy": "private",
1571
- "default": "0",
1547
+ "description": "The item ID",
1548
+ "fieldName": "id",
1572
1549
  "inheritedFrom": {
1573
- "name": "Accordion",
1574
- "module": "src/accordion/accordion.ts"
1550
+ "name": "AccordionItem",
1551
+ "module": "src/accordion-item/accordion-item.ts"
1575
1552
  }
1576
- },
1553
+ }
1554
+ ],
1555
+ "members": [
1577
1556
  {
1578
1557
  "kind": "field",
1579
- "name": "accordionIds",
1558
+ "name": "headinglevel",
1580
1559
  "type": {
1581
- "text": "Array<string | null>"
1582
- },
1583
- "privacy": "private",
1584
- "inheritedFrom": {
1585
- "name": "Accordion",
1586
- "module": "src/accordion/accordion.ts"
1587
- }
1588
- },
1589
- {
1590
- "kind": "field",
1591
- "name": "change",
1592
- "privacy": "private",
1593
- "inheritedFrom": {
1594
- "name": "Accordion",
1595
- "module": "src/accordion/accordion.ts"
1596
- }
1597
- },
1598
- {
1599
- "kind": "method",
1600
- "name": "findExpandedItem",
1601
- "privacy": "private",
1602
- "return": {
1603
- "type": {
1604
- "text": "AccordionItem | null"
1605
- }
1560
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1606
1561
  },
1562
+ "privacy": "public",
1563
+ "default": "2",
1564
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1607
1565
  "inheritedFrom": {
1608
- "name": "Accordion",
1609
- "module": "src/accordion/accordion.ts"
1566
+ "name": "AccordionItem",
1567
+ "module": "src/accordion-item/accordion-item.ts"
1610
1568
  }
1611
1569
  },
1612
1570
  {
1613
1571
  "kind": "field",
1614
- "name": "setItems",
1615
- "privacy": "private",
1616
- "inheritedFrom": {
1617
- "name": "Accordion",
1618
- "module": "src/accordion/accordion.ts"
1619
- }
1620
- },
1621
- {
1622
- "kind": "method",
1623
- "name": "resetItems",
1624
- "privacy": "private",
1625
- "return": {
1626
- "type": {
1627
- "text": "void"
1628
- }
1572
+ "name": "expanded",
1573
+ "type": {
1574
+ "text": "boolean"
1629
1575
  },
1576
+ "privacy": "public",
1577
+ "default": "false",
1578
+ "description": "Expands or collapses the item.",
1630
1579
  "inheritedFrom": {
1631
- "name": "Accordion",
1632
- "module": "src/accordion/accordion.ts"
1633
- }
1634
- },
1635
- {
1636
- "kind": "field",
1637
- "name": "removeItemListeners",
1638
- "privacy": "private",
1639
- "inheritedFrom": {
1640
- "name": "Accordion",
1641
- "module": "src/accordion/accordion.ts"
1580
+ "name": "AccordionItem",
1581
+ "module": "src/accordion-item/accordion-item.ts"
1642
1582
  }
1643
1583
  },
1644
1584
  {
1645
1585
  "kind": "field",
1646
- "name": "activeItemChange",
1647
- "privacy": "private",
1648
- "inheritedFrom": {
1649
- "name": "Accordion",
1650
- "module": "src/accordion/accordion.ts"
1651
- }
1652
- },
1653
- {
1654
- "kind": "method",
1655
- "name": "getItemIds",
1656
- "privacy": "private",
1657
- "return": {
1658
- "type": {
1659
- "text": "Array<string | null>"
1660
- }
1661
- },
1662
- "inheritedFrom": {
1663
- "name": "Accordion",
1664
- "module": "src/accordion/accordion.ts"
1665
- }
1666
- },
1667
- {
1668
- "kind": "method",
1669
- "name": "isSingleExpandMode",
1670
- "privacy": "private",
1671
- "return": {
1672
- "type": {
1673
- "text": "boolean"
1674
- }
1586
+ "name": "id",
1587
+ "type": {
1588
+ "text": "string"
1675
1589
  },
1590
+ "privacy": "public",
1591
+ "description": "The item ID",
1676
1592
  "inheritedFrom": {
1677
- "name": "Accordion",
1678
- "module": "src/accordion/accordion.ts"
1679
- }
1680
- },
1681
- {
1682
- "kind": "field",
1683
- "name": "handleItemKeyDown",
1684
- "privacy": "private",
1685
- "inheritedFrom": {
1686
- "name": "Accordion",
1687
- "module": "src/accordion/accordion.ts"
1593
+ "name": "AccordionItem",
1594
+ "module": "src/accordion-item/accordion-item.ts"
1688
1595
  }
1689
1596
  },
1690
1597
  {
1691
1598
  "kind": "field",
1692
- "name": "handleItemFocus",
1693
- "privacy": "private",
1694
- "inheritedFrom": {
1695
- "name": "Accordion",
1696
- "module": "src/accordion/accordion.ts"
1697
- }
1698
- },
1699
- {
1700
- "kind": "method",
1701
- "name": "adjust",
1702
- "privacy": "private",
1703
- "return": {
1704
- "type": {
1705
- "text": "void"
1706
- }
1707
- },
1708
- "parameters": [
1709
- {
1710
- "name": "adjustment",
1711
- "type": {
1712
- "text": "number"
1713
- }
1714
- }
1715
- ],
1716
- "inheritedFrom": {
1717
- "name": "Accordion",
1718
- "module": "src/accordion/accordion.ts"
1719
- }
1720
- },
1721
- {
1722
- "kind": "method",
1723
- "name": "focusItem",
1599
+ "name": "change",
1724
1600
  "privacy": "private",
1725
- "return": {
1726
- "type": {
1727
- "text": "void"
1728
- }
1729
- },
1730
1601
  "inheritedFrom": {
1731
- "name": "Accordion",
1732
- "module": "src/accordion/accordion.ts"
1602
+ "name": "AccordionItem",
1603
+ "module": "src/accordion-item/accordion-item.ts"
1733
1604
  }
1734
1605
  },
1735
1606
  {
@@ -1846,18 +1717,18 @@
1846
1717
  ],
1847
1718
  "events": [
1848
1719
  {
1849
- "description": "Fires a custom 'change' event when the active item changes",
1720
+ "description": "Fires a custom 'change' event when the button is invoked",
1850
1721
  "name": "change",
1851
1722
  "inheritedFrom": {
1852
- "name": "Accordion",
1853
- "module": "src/accordion/accordion.ts"
1723
+ "name": "AccordionItem",
1724
+ "module": "src/accordion-item/accordion-item.ts"
1854
1725
  }
1855
1726
  }
1856
1727
  ]
1857
1728
  },
1858
1729
  {
1859
1730
  "kind": "variable",
1860
- "name": "foundationAccordionShadowOptions",
1731
+ "name": "foundationAccordionItemShadowOptions",
1861
1732
  "type": {
1862
1733
  "text": "ShadowRootInit"
1863
1734
  },
@@ -1865,57 +1736,57 @@
1865
1736
  },
1866
1737
  {
1867
1738
  "kind": "variable",
1868
- "name": "defaultAccordionConfig",
1739
+ "name": "defaultAccordionItemConfig",
1869
1740
  "type": {
1870
1741
  "text": "object"
1871
1742
  },
1872
- "default": "{}"
1743
+ "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}"
1873
1744
  },
1874
1745
  {
1875
1746
  "kind": "variable",
1876
- "name": "foundationAccordion",
1877
- "description": "The Foundation Accordion",
1747
+ "name": "foundationAccordionItem",
1748
+ "description": "The Foundation Accordion Item",
1878
1749
  "privacy": "public"
1879
1750
  }
1880
1751
  ],
1881
1752
  "exports": [
1882
1753
  {
1883
1754
  "kind": "js",
1884
- "name": "Accordion",
1755
+ "name": "AccordionItem",
1885
1756
  "declaration": {
1886
- "name": "Accordion",
1887
- "module": "src/accordion/accordion.ts"
1757
+ "name": "AccordionItem",
1758
+ "module": "src/accordion-item/accordion-item.ts"
1888
1759
  }
1889
1760
  },
1890
1761
  {
1891
1762
  "kind": "js",
1892
- "name": "foundationAccordionShadowOptions",
1763
+ "name": "foundationAccordionItemShadowOptions",
1893
1764
  "declaration": {
1894
- "name": "foundationAccordionShadowOptions",
1895
- "module": "src/accordion/accordion.ts"
1765
+ "name": "foundationAccordionItemShadowOptions",
1766
+ "module": "src/accordion-item/accordion-item.ts"
1896
1767
  }
1897
1768
  },
1898
1769
  {
1899
1770
  "kind": "js",
1900
- "name": "defaultAccordionConfig",
1771
+ "name": "defaultAccordionItemConfig",
1901
1772
  "declaration": {
1902
- "name": "defaultAccordionConfig",
1903
- "module": "src/accordion/accordion.ts"
1773
+ "name": "defaultAccordionItemConfig",
1774
+ "module": "src/accordion-item/accordion-item.ts"
1904
1775
  }
1905
1776
  },
1906
1777
  {
1907
1778
  "kind": "js",
1908
- "name": "foundationAccordion",
1779
+ "name": "foundationAccordionItem",
1909
1780
  "declaration": {
1910
- "name": "foundationAccordion",
1911
- "module": "src/accordion/accordion.ts"
1781
+ "name": "foundationAccordionItem",
1782
+ "module": "src/accordion-item/accordion-item.ts"
1912
1783
  }
1913
1784
  }
1914
1785
  ]
1915
1786
  },
1916
1787
  {
1917
1788
  "kind": "javascript-module",
1918
- "path": "src/accordion/index.ts",
1789
+ "path": "src/accordion-item/index.ts",
1919
1790
  "declarations": [],
1920
1791
  "exports": [
1921
1792
  {
@@ -1923,7 +1794,7 @@
1923
1794
  "name": "*",
1924
1795
  "declaration": {
1925
1796
  "name": "*",
1926
- "package": "./accordion.template"
1797
+ "package": "./accordion-item.template"
1927
1798
  }
1928
1799
  },
1929
1800
  {
@@ -1931,7 +1802,7 @@
1931
1802
  "name": "*",
1932
1803
  "declaration": {
1933
1804
  "name": "*",
1934
- "package": "./accordion.styles"
1805
+ "package": "./accordion-item.styles"
1935
1806
  }
1936
1807
  },
1937
1808
  {
@@ -1939,210 +1810,130 @@
1939
1810
  "name": "*",
1940
1811
  "declaration": {
1941
1812
  "name": "*",
1942
- "package": "./accordion"
1813
+ "package": "./accordion-item"
1943
1814
  }
1944
1815
  }
1945
1816
  ]
1946
1817
  },
1947
1818
  {
1948
1819
  "kind": "javascript-module",
1949
- "path": "src/actions-menu/actions-menu.styles.ts",
1820
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1950
1821
  "declarations": [
1951
1822
  {
1952
- "kind": "function",
1953
- "name": "actionsMenuBaseStyles",
1954
- "return": {
1955
- "type": {
1956
- "text": "ElementStyles"
1957
- }
1958
- },
1959
- "parameters": [
1960
- {
1961
- "name": "context",
1962
- "type": {
1963
- "text": "ElementDefinitionContext"
1964
- }
1965
- },
1966
- {
1967
- "name": "definition",
1968
- "type": {
1969
- "text": "FoundationElementDefinition"
1970
- }
1971
- }
1972
- ]
1973
- },
1974
- {
1975
- "kind": "function",
1976
- "name": "foundationActionsMenuStyles",
1977
- "return": {
1978
- "type": {
1979
- "text": "ElementStyles"
1980
- }
1981
- },
1982
- "parameters": [
1983
- {
1984
- "name": "context",
1985
- "type": {
1986
- "text": "ElementDefinitionContext"
1987
- }
1988
- },
1989
- {
1990
- "name": "definition",
1991
- "type": {
1992
- "text": "FoundationElementDefinition"
1993
- }
1994
- }
1995
- ]
1823
+ "kind": "variable",
1824
+ "name": "foundationAiCriteriaSearchStyles",
1825
+ "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
1996
1826
  }
1997
1827
  ],
1998
1828
  "exports": [
1999
1829
  {
2000
1830
  "kind": "js",
2001
- "name": "actionsMenuBaseStyles",
2002
- "declaration": {
2003
- "name": "actionsMenuBaseStyles",
2004
- "module": "src/actions-menu/actions-menu.styles.ts"
2005
- }
2006
- },
2007
- {
2008
- "kind": "js",
2009
- "name": "foundationActionsMenuStyles",
1831
+ "name": "foundationAiCriteriaSearchStyles",
2010
1832
  "declaration": {
2011
- "name": "foundationActionsMenuStyles",
2012
- "module": "src/actions-menu/actions-menu.styles.ts"
1833
+ "name": "foundationAiCriteriaSearchStyles",
1834
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2013
1835
  }
2014
1836
  }
2015
1837
  ]
2016
1838
  },
2017
1839
  {
2018
1840
  "kind": "javascript-module",
2019
- "path": "src/actions-menu/actions-menu.template.ts",
1841
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2020
1842
  "declarations": [
2021
- {
2022
- "kind": "function",
2023
- "name": "menuTemplate",
2024
- "parameters": [
2025
- {
2026
- "name": "prefix",
2027
- "type": {
2028
- "text": "string"
2029
- }
2030
- }
2031
- ]
2032
- },
2033
- {
2034
- "kind": "function",
2035
- "name": "singleOptionTemplate",
2036
- "parameters": [
2037
- {
2038
- "name": "prefix",
2039
- "type": {
2040
- "text": "string"
2041
- }
2042
- }
2043
- ]
2044
- },
2045
1843
  {
2046
1844
  "kind": "variable",
2047
- "name": "foundationActionsMenuTemplate",
1845
+ "name": "foundationAiCriteriaSearchTemplate",
2048
1846
  "type": {
2049
- "text": "ViewTemplate<ActionsMenu>"
1847
+ "text": "ViewTemplate<AiCriteriaSearch>"
2050
1848
  },
2051
- "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`"
1849
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2052
1850
  }
2053
1851
  ],
2054
1852
  "exports": [
2055
1853
  {
2056
1854
  "kind": "js",
2057
- "name": "menuTemplate",
2058
- "declaration": {
2059
- "name": "menuTemplate",
2060
- "module": "src/actions-menu/actions-menu.template.ts"
2061
- }
2062
- },
2063
- {
2064
- "kind": "js",
2065
- "name": "singleOptionTemplate",
2066
- "declaration": {
2067
- "name": "singleOptionTemplate",
2068
- "module": "src/actions-menu/actions-menu.template.ts"
2069
- }
2070
- },
2071
- {
2072
- "kind": "js",
2073
- "name": "foundationActionsMenuTemplate",
1855
+ "name": "foundationAiCriteriaSearchTemplate",
2074
1856
  "declaration": {
2075
- "name": "foundationActionsMenuTemplate",
2076
- "module": "src/actions-menu/actions-menu.template.ts"
1857
+ "name": "foundationAiCriteriaSearchTemplate",
1858
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2077
1859
  }
2078
1860
  }
2079
1861
  ]
2080
1862
  },
2081
1863
  {
2082
1864
  "kind": "javascript-module",
2083
- "path": "src/actions-menu/actions-menu.ts",
1865
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2084
1866
  "declarations": [
2085
1867
  {
2086
1868
  "kind": "class",
2087
- "description": "",
2088
- "name": "ActionsMenu",
1869
+ "description": "Natural-language criteria search input with AI interpretation.",
1870
+ "name": "AiCriteriaSearch",
2089
1871
  "members": [
2090
1872
  {
2091
1873
  "kind": "field",
2092
- "name": "actions",
1874
+ "name": "aiProvider",
2093
1875
  "type": {
2094
- "text": "ActionMenuItem[]"
1876
+ "text": "AIProvider"
2095
1877
  }
2096
1878
  },
2097
1879
  {
2098
1880
  "kind": "field",
2099
- "name": "isVertical",
1881
+ "name": "placeholder",
2100
1882
  "type": {
2101
- "text": "boolean"
1883
+ "text": "string"
2102
1884
  },
2103
- "default": "false"
1885
+ "default": "'Describe your search criteria in natural language...'"
2104
1886
  },
2105
1887
  {
2106
1888
  "kind": "field",
2107
- "name": "addDefaultActions",
1889
+ "name": "disabled",
2108
1890
  "type": {
2109
1891
  "text": "boolean"
2110
- },
2111
- "default": "true"
1892
+ }
2112
1893
  },
2113
1894
  {
2114
1895
  "kind": "field",
2115
- "name": "autoCloseOnAction",
1896
+ "name": "mode",
2116
1897
  "type": {
2117
- "text": "boolean"
1898
+ "text": "'append' | 'replace'"
2118
1899
  },
2119
- "default": "true"
1900
+ "default": "'replace'"
2120
1901
  },
2121
1902
  {
2122
1903
  "kind": "field",
2123
- "name": "classNames",
1904
+ "name": "inputValue",
2124
1905
  "type": {
2125
1906
  "text": "string"
2126
- }
1907
+ },
1908
+ "default": "''"
2127
1909
  },
2128
1910
  {
2129
1911
  "kind": "field",
2130
- "name": "definition",
1912
+ "name": "isInterpreting",
2131
1913
  "type": {
2132
- "text": "any"
2133
- }
1914
+ "text": "boolean"
1915
+ },
1916
+ "default": "false"
2134
1917
  },
2135
1918
  {
2136
1919
  "kind": "field",
2137
- "name": "name",
1920
+ "name": "lastValidCriteria",
2138
1921
  "type": {
2139
- "text": "string"
1922
+ "text": "string | null"
2140
1923
  },
2141
- "default": "'Actions'"
1924
+ "default": "null"
2142
1925
  },
2143
1926
  {
2144
1927
  "kind": "field",
2145
- "name": "open",
1928
+ "name": "fieldMetadata",
1929
+ "type": {
1930
+ "text": "MetadataDetail[] | string[]"
1931
+ },
1932
+ "default": "[]"
1933
+ },
1934
+ {
1935
+ "kind": "field",
1936
+ "name": "isRecording",
2146
1937
  "type": {
2147
1938
  "text": "boolean"
2148
1939
  },
@@ -2150,117 +1941,67 @@
2150
1941
  },
2151
1942
  {
2152
1943
  "kind": "field",
2153
- "name": "buttonAppearance",
1944
+ "name": "textAreaRef",
2154
1945
  "type": {
2155
- "text": "string"
2156
- }
1946
+ "text": "HTMLTextAreaElement"
1947
+ },
1948
+ "privacy": "public"
2157
1949
  },
2158
1950
  {
2159
1951
  "kind": "field",
2160
- "name": "hideDisabled",
1952
+ "name": "stopRecording",
2161
1953
  "type": {
2162
- "text": "boolean"
1954
+ "text": "(() => void) | null"
2163
1955
  },
2164
- "default": "false"
1956
+ "privacy": "private",
1957
+ "default": "null"
2165
1958
  },
2166
1959
  {
2167
1960
  "kind": "field",
2168
- "name": "hideMenuSingleOption",
1961
+ "name": "speechApplyDebounceTimer",
2169
1962
  "type": {
2170
- "text": "boolean"
1963
+ "text": "ReturnType<typeof setTimeout> | null"
2171
1964
  },
2172
- "default": "false"
1965
+ "privacy": "private",
1966
+ "default": "null"
2173
1967
  },
2174
1968
  {
2175
1969
  "kind": "field",
2176
- "name": "singleOption",
1970
+ "name": "baseInputForAppend",
2177
1971
  "type": {
2178
- "text": "ActionMenuItem"
2179
- }
1972
+ "text": "string"
1973
+ },
1974
+ "privacy": "private",
1975
+ "default": "''"
2180
1976
  },
2181
1977
  {
2182
1978
  "kind": "field",
2183
- "name": "actionsMenu",
1979
+ "name": "speechAvailable",
2184
1980
  "type": {
2185
- "text": "HTMLElement"
2186
- }
1981
+ "text": "boolean"
1982
+ },
1983
+ "readonly": true
2187
1984
  },
2188
1985
  {
2189
1986
  "kind": "method",
2190
- "name": "definitionChanged",
2191
- "privacy": "protected",
2192
- "parameters": [
2193
- {
2194
- "name": "oldValue",
2195
- "type": {
2196
- "text": "any"
2197
- }
2198
- },
2199
- {
2200
- "name": "newValue",
2201
- "type": {
2202
- "text": "any"
2203
- }
2204
- }
2205
- ]
2206
- },
2207
- {
2208
- "kind": "method",
2209
- "name": "openChanged",
2210
- "privacy": "protected"
1987
+ "name": "handleSubmit"
2211
1988
  },
2212
1989
  {
2213
1990
  "kind": "method",
2214
- "name": "toggleActionsMenuVisibility"
1991
+ "name": "handleBlur"
2215
1992
  },
2216
1993
  {
2217
1994
  "kind": "method",
2218
- "name": "onActionMenuItemClick",
2219
- "parameters": [
2220
- {
2221
- "name": "callback",
2222
- "type": {
2223
- "text": "(rowData) => void | any"
2224
- }
2225
- }
2226
- ]
2227
- },
2228
- {
2229
- "kind": "field",
2230
- "name": "allActions",
2231
- "type": {
2232
- "text": "ActionMenuItem[]"
2233
- },
2234
- "readonly": true
2235
- },
2236
- {
2237
- "kind": "field",
2238
- "name": "rowData",
2239
- "readonly": true
1995
+ "name": "clear"
2240
1996
  },
2241
1997
  {
2242
1998
  "kind": "method",
2243
- "name": "getLabel",
2244
- "parameters": [
2245
- {
2246
- "name": "name",
2247
- "type": {
2248
- "text": "string | ((rowData: any) => string)"
2249
- }
2250
- }
2251
- ]
1999
+ "name": "toggleSpeechInput"
2252
2000
  },
2253
2001
  {
2254
2002
  "kind": "method",
2255
- "name": "getTemplate",
2256
- "parameters": [
2257
- {
2258
- "name": "prefix",
2259
- "type": {
2260
- "text": "string"
2261
- }
2262
- }
2263
- ]
2003
+ "name": "clearSpeechApplyDebounce",
2004
+ "privacy": "private"
2264
2005
  },
2265
2006
  {
2266
2007
  "kind": "field",
@@ -2374,115 +2115,162 @@
2374
2115
  }
2375
2116
  }
2376
2117
  ],
2377
- "attributes": [
2378
- {
2379
- "name": "is-vertical",
2380
- "type": {
2381
- "text": "boolean"
2382
- },
2383
- "default": "false",
2384
- "fieldName": "isVertical"
2385
- },
2386
- {
2387
- "name": "add-default-actions",
2388
- "type": {
2389
- "text": "boolean"
2390
- },
2391
- "default": "true",
2392
- "fieldName": "addDefaultActions"
2393
- },
2394
- {
2395
- "name": "auto-close-on-action",
2396
- "type": {
2397
- "text": "boolean"
2398
- },
2399
- "default": "true",
2400
- "fieldName": "autoCloseOnAction"
2401
- },
2118
+ "events": [
2402
2119
  {
2403
- "name": "name",
2404
- "type": {
2405
- "text": "string"
2406
- },
2407
- "default": "'Actions'",
2408
- "fieldName": "name"
2120
+ "description": "Fired when interpreted criteria is applied or cleared",
2121
+ "name": "criteria-changed"
2409
2122
  },
2410
2123
  {
2411
- "name": "open",
2412
- "type": {
2413
- "text": "boolean"
2414
- },
2415
- "default": "false",
2416
- "fieldName": "open"
2417
- },
2124
+ "description": "Fired when interpreted criteria contains invalid clauses",
2125
+ "name": "validation-errors"
2126
+ }
2127
+ ],
2128
+ "attributes": [
2418
2129
  {
2419
- "name": "buttonAppearance",
2130
+ "name": "placeholder",
2420
2131
  "type": {
2421
2132
  "text": "string"
2422
2133
  },
2423
- "fieldName": "buttonAppearance"
2134
+ "default": "'Describe your search criteria in natural language...'",
2135
+ "fieldName": "placeholder"
2424
2136
  },
2425
2137
  {
2426
- "name": "hide-disabled",
2427
2138
  "type": {
2428
2139
  "text": "boolean"
2429
2140
  },
2430
- "default": "false",
2431
- "fieldName": "hideDisabled"
2141
+ "fieldName": "disabled"
2432
2142
  },
2433
2143
  {
2434
- "name": "hide-menu-single-option",
2144
+ "name": "mode",
2435
2145
  "type": {
2436
- "text": "boolean"
2146
+ "text": "'append' | 'replace'"
2437
2147
  },
2438
- "default": "false",
2439
- "fieldName": "hideMenuSingleOption"
2148
+ "default": "'replace'",
2149
+ "fieldName": "mode"
2440
2150
  }
2441
2151
  ],
2442
2152
  "superclass": {
2443
2153
  "name": "FoundationElement",
2444
2154
  "package": "@microsoft/fast-foundation"
2445
2155
  },
2446
- "tagName": "%%prefix%%-actions-menu",
2156
+ "tagName": "%%prefix%%-ai-criteria-search",
2447
2157
  "customElement": true
2448
2158
  },
2449
2159
  {
2450
2160
  "kind": "variable",
2451
- "name": "foundationActionsMenu",
2452
- "description": "The Foundation Actions Menu",
2453
- "privacy": "public"
2161
+ "name": "foundationAiCriteriaSearchShadowOptions",
2162
+ "type": {
2163
+ "text": "ShadowRootInit"
2164
+ },
2165
+ "default": "undefined"
2166
+ },
2167
+ {
2168
+ "kind": "variable",
2169
+ "name": "defaultAiCriteriaSearchConfig",
2170
+ "type": {
2171
+ "text": "object"
2172
+ },
2173
+ "default": "{}"
2174
+ },
2175
+ {
2176
+ "kind": "variable",
2177
+ "name": "foundationAiCriteriaSearch"
2454
2178
  }
2455
2179
  ],
2456
2180
  "exports": [
2457
2181
  {
2458
2182
  "kind": "js",
2459
- "name": "ActionsMenu",
2183
+ "name": "AiCriteriaSearch",
2460
2184
  "declaration": {
2461
- "name": "ActionsMenu",
2462
- "module": "src/actions-menu/actions-menu.ts"
2185
+ "name": "AiCriteriaSearch",
2186
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2463
2187
  }
2464
2188
  },
2465
2189
  {
2466
2190
  "kind": "js",
2467
- "name": "foundationActionsMenu",
2191
+ "name": "foundationAiCriteriaSearchShadowOptions",
2468
2192
  "declaration": {
2469
- "name": "foundationActionsMenu",
2470
- "module": "src/actions-menu/actions-menu.ts"
2193
+ "name": "foundationAiCriteriaSearchShadowOptions",
2194
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2195
+ }
2196
+ },
2197
+ {
2198
+ "kind": "js",
2199
+ "name": "defaultAiCriteriaSearchConfig",
2200
+ "declaration": {
2201
+ "name": "defaultAiCriteriaSearchConfig",
2202
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2203
+ }
2204
+ },
2205
+ {
2206
+ "kind": "js",
2207
+ "name": "foundationAiCriteriaSearch",
2208
+ "declaration": {
2209
+ "name": "foundationAiCriteriaSearch",
2210
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2471
2211
  }
2472
2212
  }
2473
2213
  ]
2474
2214
  },
2475
2215
  {
2476
2216
  "kind": "javascript-module",
2477
- "path": "src/actions-menu/index.ts",
2217
+ "path": "src/ai-criteria-search/index.ts",
2478
2218
  "declarations": [],
2479
2219
  "exports": [
2220
+ {
2221
+ "kind": "js",
2222
+ "name": "AiCriteriaSearch",
2223
+ "declaration": {
2224
+ "name": "AiCriteriaSearch",
2225
+ "module": "./ai-criteria-search"
2226
+ }
2227
+ },
2228
+ {
2229
+ "kind": "js",
2230
+ "name": "defaultAiCriteriaSearchConfig",
2231
+ "declaration": {
2232
+ "name": "defaultAiCriteriaSearchConfig",
2233
+ "module": "./ai-criteria-search"
2234
+ }
2235
+ },
2236
+ {
2237
+ "kind": "js",
2238
+ "name": "foundationAiCriteriaSearch",
2239
+ "declaration": {
2240
+ "name": "foundationAiCriteriaSearch",
2241
+ "module": "./ai-criteria-search"
2242
+ }
2243
+ },
2244
+ {
2245
+ "kind": "js",
2246
+ "name": "foundationAiCriteriaSearchShadowOptions",
2247
+ "declaration": {
2248
+ "name": "foundationAiCriteriaSearchShadowOptions",
2249
+ "module": "./ai-criteria-search"
2250
+ }
2251
+ },
2252
+ {
2253
+ "kind": "js",
2254
+ "name": "foundationAiCriteriaSearchStyles",
2255
+ "declaration": {
2256
+ "name": "foundationAiCriteriaSearchStyles",
2257
+ "module": "./ai-criteria-search.styles"
2258
+ }
2259
+ },
2260
+ {
2261
+ "kind": "js",
2262
+ "name": "foundationAiCriteriaSearchTemplate",
2263
+ "declaration": {
2264
+ "name": "foundationAiCriteriaSearchTemplate",
2265
+ "module": "./ai-criteria-search.template"
2266
+ }
2267
+ },
2480
2268
  {
2481
2269
  "kind": "js",
2482
2270
  "name": "*",
2483
2271
  "declaration": {
2484
2272
  "name": "*",
2485
- "package": "./actions-menu.styles"
2273
+ "package": "./validation/criteria-ir"
2486
2274
  }
2487
2275
  },
2488
2276
  {
@@ -2490,7 +2278,7 @@
2490
2278
  "name": "*",
2491
2279
  "declaration": {
2492
2280
  "name": "*",
2493
- "package": "./actions-menu.template"
2281
+ "package": "./validation/operator-map"
2494
2282
  }
2495
2283
  },
2496
2284
  {
@@ -2498,130 +2286,285 @@
2498
2286
  "name": "*",
2499
2287
  "declaration": {
2500
2288
  "name": "*",
2501
- "package": "./actions-menu"
2289
+ "package": "./validation/schema-validator"
2502
2290
  }
2503
2291
  }
2504
2292
  ]
2505
2293
  },
2506
2294
  {
2507
2295
  "kind": "javascript-module",
2508
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2296
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2509
2297
  "declarations": [
2510
2298
  {
2511
- "kind": "variable",
2512
- "name": "foundationAiCriteriaSearchStyles",
2513
- "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2299
+ "kind": "function",
2300
+ "name": "formatValidationErrors",
2301
+ "return": {
2302
+ "type": {
2303
+ "text": "string"
2304
+ }
2305
+ },
2306
+ "parameters": [
2307
+ {
2308
+ "name": "errors",
2309
+ "type": {
2310
+ "text": "ValidationError[]"
2311
+ }
2312
+ }
2313
+ ],
2314
+ "description": "Formats validation errors into a user-friendly message."
2315
+ },
2316
+ {
2317
+ "kind": "function",
2318
+ "name": "showCriteriaError",
2319
+ "return": {
2320
+ "type": {
2321
+ "text": "void"
2322
+ }
2323
+ },
2324
+ "parameters": [
2325
+ {
2326
+ "name": "title",
2327
+ "type": {
2328
+ "text": "string"
2329
+ },
2330
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2331
+ },
2332
+ {
2333
+ "name": "body",
2334
+ "type": {
2335
+ "text": "string"
2336
+ },
2337
+ "description": "Error message to display"
2338
+ },
2339
+ {
2340
+ "name": "tagName",
2341
+ "type": {
2342
+ "text": "string"
2343
+ },
2344
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2345
+ }
2346
+ ],
2347
+ "description": "Shows a criteria error as a toast notification."
2514
2348
  }
2515
2349
  ],
2516
2350
  "exports": [
2517
2351
  {
2518
2352
  "kind": "js",
2519
- "name": "foundationAiCriteriaSearchStyles",
2353
+ "name": "formatValidationErrors",
2520
2354
  "declaration": {
2521
- "name": "foundationAiCriteriaSearchStyles",
2522
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2355
+ "name": "formatValidationErrors",
2356
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2357
+ }
2358
+ },
2359
+ {
2360
+ "kind": "js",
2361
+ "name": "showCriteriaError",
2362
+ "declaration": {
2363
+ "name": "showCriteriaError",
2364
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2523
2365
  }
2524
2366
  }
2525
2367
  ]
2526
2368
  },
2527
2369
  {
2528
2370
  "kind": "javascript-module",
2529
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2371
+ "path": "src/actions-menu/actions-menu.styles.ts",
2530
2372
  "declarations": [
2373
+ {
2374
+ "kind": "function",
2375
+ "name": "actionsMenuBaseStyles",
2376
+ "return": {
2377
+ "type": {
2378
+ "text": "ElementStyles"
2379
+ }
2380
+ },
2381
+ "parameters": [
2382
+ {
2383
+ "name": "context",
2384
+ "type": {
2385
+ "text": "ElementDefinitionContext"
2386
+ }
2387
+ },
2388
+ {
2389
+ "name": "definition",
2390
+ "type": {
2391
+ "text": "FoundationElementDefinition"
2392
+ }
2393
+ }
2394
+ ]
2395
+ },
2396
+ {
2397
+ "kind": "function",
2398
+ "name": "foundationActionsMenuStyles",
2399
+ "return": {
2400
+ "type": {
2401
+ "text": "ElementStyles"
2402
+ }
2403
+ },
2404
+ "parameters": [
2405
+ {
2406
+ "name": "context",
2407
+ "type": {
2408
+ "text": "ElementDefinitionContext"
2409
+ }
2410
+ },
2411
+ {
2412
+ "name": "definition",
2413
+ "type": {
2414
+ "text": "FoundationElementDefinition"
2415
+ }
2416
+ }
2417
+ ]
2418
+ }
2419
+ ],
2420
+ "exports": [
2421
+ {
2422
+ "kind": "js",
2423
+ "name": "actionsMenuBaseStyles",
2424
+ "declaration": {
2425
+ "name": "actionsMenuBaseStyles",
2426
+ "module": "src/actions-menu/actions-menu.styles.ts"
2427
+ }
2428
+ },
2429
+ {
2430
+ "kind": "js",
2431
+ "name": "foundationActionsMenuStyles",
2432
+ "declaration": {
2433
+ "name": "foundationActionsMenuStyles",
2434
+ "module": "src/actions-menu/actions-menu.styles.ts"
2435
+ }
2436
+ }
2437
+ ]
2438
+ },
2439
+ {
2440
+ "kind": "javascript-module",
2441
+ "path": "src/actions-menu/actions-menu.template.ts",
2442
+ "declarations": [
2443
+ {
2444
+ "kind": "function",
2445
+ "name": "menuTemplate",
2446
+ "parameters": [
2447
+ {
2448
+ "name": "prefix",
2449
+ "type": {
2450
+ "text": "string"
2451
+ }
2452
+ }
2453
+ ]
2454
+ },
2455
+ {
2456
+ "kind": "function",
2457
+ "name": "singleOptionTemplate",
2458
+ "parameters": [
2459
+ {
2460
+ "name": "prefix",
2461
+ "type": {
2462
+ "text": "string"
2463
+ }
2464
+ }
2465
+ ]
2466
+ },
2531
2467
  {
2532
2468
  "kind": "variable",
2533
- "name": "foundationAiCriteriaSearchTemplate",
2469
+ "name": "foundationActionsMenuTemplate",
2534
2470
  "type": {
2535
- "text": "ViewTemplate<AiCriteriaSearch>"
2471
+ "text": "ViewTemplate<ActionsMenu>"
2536
2472
  },
2537
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2473
+ "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`"
2538
2474
  }
2539
2475
  ],
2540
2476
  "exports": [
2541
2477
  {
2542
2478
  "kind": "js",
2543
- "name": "foundationAiCriteriaSearchTemplate",
2479
+ "name": "menuTemplate",
2544
2480
  "declaration": {
2545
- "name": "foundationAiCriteriaSearchTemplate",
2546
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2481
+ "name": "menuTemplate",
2482
+ "module": "src/actions-menu/actions-menu.template.ts"
2483
+ }
2484
+ },
2485
+ {
2486
+ "kind": "js",
2487
+ "name": "singleOptionTemplate",
2488
+ "declaration": {
2489
+ "name": "singleOptionTemplate",
2490
+ "module": "src/actions-menu/actions-menu.template.ts"
2491
+ }
2492
+ },
2493
+ {
2494
+ "kind": "js",
2495
+ "name": "foundationActionsMenuTemplate",
2496
+ "declaration": {
2497
+ "name": "foundationActionsMenuTemplate",
2498
+ "module": "src/actions-menu/actions-menu.template.ts"
2547
2499
  }
2548
2500
  }
2549
2501
  ]
2550
2502
  },
2551
2503
  {
2552
2504
  "kind": "javascript-module",
2553
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2505
+ "path": "src/actions-menu/actions-menu.ts",
2554
2506
  "declarations": [
2555
2507
  {
2556
2508
  "kind": "class",
2557
- "description": "Natural-language criteria search input with AI interpretation.",
2558
- "name": "AiCriteriaSearch",
2509
+ "description": "",
2510
+ "name": "ActionsMenu",
2559
2511
  "members": [
2560
2512
  {
2561
2513
  "kind": "field",
2562
- "name": "aiProvider",
2514
+ "name": "actions",
2563
2515
  "type": {
2564
- "text": "AIProvider"
2516
+ "text": "ActionMenuItem[]"
2565
2517
  }
2566
2518
  },
2567
2519
  {
2568
2520
  "kind": "field",
2569
- "name": "placeholder",
2521
+ "name": "isVertical",
2570
2522
  "type": {
2571
- "text": "string"
2523
+ "text": "boolean"
2572
2524
  },
2573
- "default": "'Describe your search criteria in natural language...'"
2525
+ "default": "false"
2574
2526
  },
2575
2527
  {
2576
2528
  "kind": "field",
2577
- "name": "disabled",
2529
+ "name": "addDefaultActions",
2578
2530
  "type": {
2579
2531
  "text": "boolean"
2580
- }
2581
- },
2582
- {
2583
- "kind": "field",
2584
- "name": "mode",
2585
- "type": {
2586
- "text": "'append' | 'replace'"
2587
2532
  },
2588
- "default": "'replace'"
2533
+ "default": "true"
2589
2534
  },
2590
2535
  {
2591
2536
  "kind": "field",
2592
- "name": "inputValue",
2537
+ "name": "autoCloseOnAction",
2593
2538
  "type": {
2594
- "text": "string"
2539
+ "text": "boolean"
2595
2540
  },
2596
- "default": "''"
2541
+ "default": "true"
2597
2542
  },
2598
2543
  {
2599
2544
  "kind": "field",
2600
- "name": "isInterpreting",
2545
+ "name": "classNames",
2601
2546
  "type": {
2602
- "text": "boolean"
2603
- },
2604
- "default": "false"
2547
+ "text": "string"
2548
+ }
2605
2549
  },
2606
2550
  {
2607
2551
  "kind": "field",
2608
- "name": "lastValidCriteria",
2552
+ "name": "definition",
2609
2553
  "type": {
2610
- "text": "string | null"
2611
- },
2612
- "default": "null"
2554
+ "text": "any"
2555
+ }
2613
2556
  },
2614
2557
  {
2615
2558
  "kind": "field",
2616
- "name": "fieldMetadata",
2559
+ "name": "name",
2617
2560
  "type": {
2618
- "text": "MetadataDetail[] | string[]"
2561
+ "text": "string"
2619
2562
  },
2620
- "default": "[]"
2563
+ "default": "'Actions'"
2621
2564
  },
2622
2565
  {
2623
2566
  "kind": "field",
2624
- "name": "isRecording",
2567
+ "name": "open",
2625
2568
  "type": {
2626
2569
  "text": "boolean"
2627
2570
  },
@@ -2629,67 +2572,117 @@
2629
2572
  },
2630
2573
  {
2631
2574
  "kind": "field",
2632
- "name": "textAreaRef",
2575
+ "name": "buttonAppearance",
2633
2576
  "type": {
2634
- "text": "HTMLTextAreaElement"
2635
- },
2636
- "privacy": "public"
2577
+ "text": "string"
2578
+ }
2637
2579
  },
2638
2580
  {
2639
2581
  "kind": "field",
2640
- "name": "stopRecording",
2582
+ "name": "hideDisabled",
2641
2583
  "type": {
2642
- "text": "(() => void) | null"
2584
+ "text": "boolean"
2643
2585
  },
2644
- "privacy": "private",
2645
- "default": "null"
2586
+ "default": "false"
2646
2587
  },
2647
2588
  {
2648
2589
  "kind": "field",
2649
- "name": "speechApplyDebounceTimer",
2590
+ "name": "hideMenuSingleOption",
2650
2591
  "type": {
2651
- "text": "ReturnType<typeof setTimeout> | null"
2592
+ "text": "boolean"
2652
2593
  },
2653
- "privacy": "private",
2654
- "default": "null"
2594
+ "default": "false"
2655
2595
  },
2656
2596
  {
2657
2597
  "kind": "field",
2658
- "name": "baseInputForAppend",
2598
+ "name": "singleOption",
2659
2599
  "type": {
2660
- "text": "string"
2661
- },
2662
- "privacy": "private",
2663
- "default": "''"
2600
+ "text": "ActionMenuItem"
2601
+ }
2664
2602
  },
2665
2603
  {
2666
2604
  "kind": "field",
2667
- "name": "speechAvailable",
2605
+ "name": "actionsMenu",
2668
2606
  "type": {
2669
- "text": "boolean"
2670
- },
2671
- "readonly": true
2607
+ "text": "HTMLElement"
2608
+ }
2672
2609
  },
2673
2610
  {
2674
2611
  "kind": "method",
2675
- "name": "handleSubmit"
2612
+ "name": "definitionChanged",
2613
+ "privacy": "protected",
2614
+ "parameters": [
2615
+ {
2616
+ "name": "oldValue",
2617
+ "type": {
2618
+ "text": "any"
2619
+ }
2620
+ },
2621
+ {
2622
+ "name": "newValue",
2623
+ "type": {
2624
+ "text": "any"
2625
+ }
2626
+ }
2627
+ ]
2676
2628
  },
2677
2629
  {
2678
2630
  "kind": "method",
2679
- "name": "handleBlur"
2631
+ "name": "openChanged",
2632
+ "privacy": "protected"
2680
2633
  },
2681
2634
  {
2682
2635
  "kind": "method",
2683
- "name": "clear"
2636
+ "name": "toggleActionsMenuVisibility"
2684
2637
  },
2685
2638
  {
2686
2639
  "kind": "method",
2687
- "name": "toggleSpeechInput"
2640
+ "name": "onActionMenuItemClick",
2641
+ "parameters": [
2642
+ {
2643
+ "name": "callback",
2644
+ "type": {
2645
+ "text": "(rowData) => void | any"
2646
+ }
2647
+ }
2648
+ ]
2649
+ },
2650
+ {
2651
+ "kind": "field",
2652
+ "name": "allActions",
2653
+ "type": {
2654
+ "text": "ActionMenuItem[]"
2655
+ },
2656
+ "readonly": true
2657
+ },
2658
+ {
2659
+ "kind": "field",
2660
+ "name": "rowData",
2661
+ "readonly": true
2688
2662
  },
2689
2663
  {
2690
2664
  "kind": "method",
2691
- "name": "clearSpeechApplyDebounce",
2692
- "privacy": "private"
2665
+ "name": "getLabel",
2666
+ "parameters": [
2667
+ {
2668
+ "name": "name",
2669
+ "type": {
2670
+ "text": "string | ((rowData: any) => string)"
2671
+ }
2672
+ }
2673
+ ]
2674
+ },
2675
+ {
2676
+ "kind": "method",
2677
+ "name": "getTemplate",
2678
+ "parameters": [
2679
+ {
2680
+ "name": "prefix",
2681
+ "type": {
2682
+ "text": "string"
2683
+ }
2684
+ }
2685
+ ]
2693
2686
  },
2694
2687
  {
2695
2688
  "kind": "field",
@@ -2803,162 +2796,115 @@
2803
2796
  }
2804
2797
  }
2805
2798
  ],
2806
- "events": [
2799
+ "attributes": [
2807
2800
  {
2808
- "description": "Fired when interpreted criteria is applied or cleared",
2809
- "name": "criteria-changed"
2801
+ "name": "is-vertical",
2802
+ "type": {
2803
+ "text": "boolean"
2804
+ },
2805
+ "default": "false",
2806
+ "fieldName": "isVertical"
2810
2807
  },
2811
2808
  {
2812
- "description": "Fired when interpreted criteria contains invalid clauses",
2813
- "name": "validation-errors"
2814
- }
2815
- ],
2816
- "attributes": [
2809
+ "name": "add-default-actions",
2810
+ "type": {
2811
+ "text": "boolean"
2812
+ },
2813
+ "default": "true",
2814
+ "fieldName": "addDefaultActions"
2815
+ },
2817
2816
  {
2818
- "name": "placeholder",
2817
+ "name": "auto-close-on-action",
2818
+ "type": {
2819
+ "text": "boolean"
2820
+ },
2821
+ "default": "true",
2822
+ "fieldName": "autoCloseOnAction"
2823
+ },
2824
+ {
2825
+ "name": "name",
2819
2826
  "type": {
2820
2827
  "text": "string"
2821
2828
  },
2822
- "default": "'Describe your search criteria in natural language...'",
2823
- "fieldName": "placeholder"
2829
+ "default": "'Actions'",
2830
+ "fieldName": "name"
2824
2831
  },
2825
2832
  {
2833
+ "name": "open",
2826
2834
  "type": {
2827
2835
  "text": "boolean"
2828
2836
  },
2829
- "fieldName": "disabled"
2837
+ "default": "false",
2838
+ "fieldName": "open"
2830
2839
  },
2831
2840
  {
2832
- "name": "mode",
2841
+ "name": "buttonAppearance",
2833
2842
  "type": {
2834
- "text": "'append' | 'replace'"
2843
+ "text": "string"
2835
2844
  },
2836
- "default": "'replace'",
2837
- "fieldName": "mode"
2845
+ "fieldName": "buttonAppearance"
2846
+ },
2847
+ {
2848
+ "name": "hide-disabled",
2849
+ "type": {
2850
+ "text": "boolean"
2851
+ },
2852
+ "default": "false",
2853
+ "fieldName": "hideDisabled"
2854
+ },
2855
+ {
2856
+ "name": "hide-menu-single-option",
2857
+ "type": {
2858
+ "text": "boolean"
2859
+ },
2860
+ "default": "false",
2861
+ "fieldName": "hideMenuSingleOption"
2838
2862
  }
2839
2863
  ],
2840
2864
  "superclass": {
2841
2865
  "name": "FoundationElement",
2842
2866
  "package": "@microsoft/fast-foundation"
2843
2867
  },
2844
- "tagName": "%%prefix%%-ai-criteria-search",
2868
+ "tagName": "%%prefix%%-actions-menu",
2845
2869
  "customElement": true
2846
2870
  },
2847
2871
  {
2848
2872
  "kind": "variable",
2849
- "name": "foundationAiCriteriaSearchShadowOptions",
2850
- "type": {
2851
- "text": "ShadowRootInit"
2852
- },
2853
- "default": "undefined"
2854
- },
2855
- {
2856
- "kind": "variable",
2857
- "name": "defaultAiCriteriaSearchConfig",
2858
- "type": {
2859
- "text": "object"
2860
- },
2861
- "default": "{}"
2862
- },
2863
- {
2864
- "kind": "variable",
2865
- "name": "foundationAiCriteriaSearch"
2873
+ "name": "foundationActionsMenu",
2874
+ "description": "The Foundation Actions Menu",
2875
+ "privacy": "public"
2866
2876
  }
2867
2877
  ],
2868
2878
  "exports": [
2869
2879
  {
2870
2880
  "kind": "js",
2871
- "name": "AiCriteriaSearch",
2872
- "declaration": {
2873
- "name": "AiCriteriaSearch",
2874
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2875
- }
2876
- },
2877
- {
2878
- "kind": "js",
2879
- "name": "foundationAiCriteriaSearchShadowOptions",
2880
- "declaration": {
2881
- "name": "foundationAiCriteriaSearchShadowOptions",
2882
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2883
- }
2884
- },
2885
- {
2886
- "kind": "js",
2887
- "name": "defaultAiCriteriaSearchConfig",
2881
+ "name": "ActionsMenu",
2888
2882
  "declaration": {
2889
- "name": "defaultAiCriteriaSearchConfig",
2890
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2883
+ "name": "ActionsMenu",
2884
+ "module": "src/actions-menu/actions-menu.ts"
2891
2885
  }
2892
2886
  },
2893
2887
  {
2894
2888
  "kind": "js",
2895
- "name": "foundationAiCriteriaSearch",
2889
+ "name": "foundationActionsMenu",
2896
2890
  "declaration": {
2897
- "name": "foundationAiCriteriaSearch",
2898
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2891
+ "name": "foundationActionsMenu",
2892
+ "module": "src/actions-menu/actions-menu.ts"
2899
2893
  }
2900
2894
  }
2901
2895
  ]
2902
2896
  },
2903
2897
  {
2904
2898
  "kind": "javascript-module",
2905
- "path": "src/ai-criteria-search/index.ts",
2899
+ "path": "src/actions-menu/index.ts",
2906
2900
  "declarations": [],
2907
2901
  "exports": [
2908
- {
2909
- "kind": "js",
2910
- "name": "AiCriteriaSearch",
2911
- "declaration": {
2912
- "name": "AiCriteriaSearch",
2913
- "module": "./ai-criteria-search"
2914
- }
2915
- },
2916
- {
2917
- "kind": "js",
2918
- "name": "defaultAiCriteriaSearchConfig",
2919
- "declaration": {
2920
- "name": "defaultAiCriteriaSearchConfig",
2921
- "module": "./ai-criteria-search"
2922
- }
2923
- },
2924
- {
2925
- "kind": "js",
2926
- "name": "foundationAiCriteriaSearch",
2927
- "declaration": {
2928
- "name": "foundationAiCriteriaSearch",
2929
- "module": "./ai-criteria-search"
2930
- }
2931
- },
2932
- {
2933
- "kind": "js",
2934
- "name": "foundationAiCriteriaSearchShadowOptions",
2935
- "declaration": {
2936
- "name": "foundationAiCriteriaSearchShadowOptions",
2937
- "module": "./ai-criteria-search"
2938
- }
2939
- },
2940
- {
2941
- "kind": "js",
2942
- "name": "foundationAiCriteriaSearchStyles",
2943
- "declaration": {
2944
- "name": "foundationAiCriteriaSearchStyles",
2945
- "module": "./ai-criteria-search.styles"
2946
- }
2947
- },
2948
- {
2949
- "kind": "js",
2950
- "name": "foundationAiCriteriaSearchTemplate",
2951
- "declaration": {
2952
- "name": "foundationAiCriteriaSearchTemplate",
2953
- "module": "./ai-criteria-search.template"
2954
- }
2955
- },
2956
2902
  {
2957
2903
  "kind": "js",
2958
2904
  "name": "*",
2959
2905
  "declaration": {
2960
2906
  "name": "*",
2961
- "package": "./validation/criteria-ir"
2907
+ "package": "./actions-menu.styles"
2962
2908
  }
2963
2909
  },
2964
2910
  {
@@ -2966,7 +2912,7 @@
2966
2912
  "name": "*",
2967
2913
  "declaration": {
2968
2914
  "name": "*",
2969
- "package": "./validation/operator-map"
2915
+ "package": "./actions-menu.template"
2970
2916
  }
2971
2917
  },
2972
2918
  {
@@ -2974,82 +2920,7 @@
2974
2920
  "name": "*",
2975
2921
  "declaration": {
2976
2922
  "name": "*",
2977
- "package": "./validation/schema-validator"
2978
- }
2979
- }
2980
- ]
2981
- },
2982
- {
2983
- "kind": "javascript-module",
2984
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2985
- "declarations": [
2986
- {
2987
- "kind": "function",
2988
- "name": "formatValidationErrors",
2989
- "return": {
2990
- "type": {
2991
- "text": "string"
2992
- }
2993
- },
2994
- "parameters": [
2995
- {
2996
- "name": "errors",
2997
- "type": {
2998
- "text": "ValidationError[]"
2999
- }
3000
- }
3001
- ],
3002
- "description": "Formats validation errors into a user-friendly message."
3003
- },
3004
- {
3005
- "kind": "function",
3006
- "name": "showCriteriaError",
3007
- "return": {
3008
- "type": {
3009
- "text": "void"
3010
- }
3011
- },
3012
- "parameters": [
3013
- {
3014
- "name": "title",
3015
- "type": {
3016
- "text": "string"
3017
- },
3018
- "description": "Notification title (e.g. \"Criteria validation error\")"
3019
- },
3020
- {
3021
- "name": "body",
3022
- "type": {
3023
- "text": "string"
3024
- },
3025
- "description": "Error message to display"
3026
- },
3027
- {
3028
- "name": "tagName",
3029
- "type": {
3030
- "text": "string"
3031
- },
3032
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3033
- }
3034
- ],
3035
- "description": "Shows a criteria error as a toast notification."
3036
- }
3037
- ],
3038
- "exports": [
3039
- {
3040
- "kind": "js",
3041
- "name": "formatValidationErrors",
3042
- "declaration": {
3043
- "name": "formatValidationErrors",
3044
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3045
- }
3046
- },
3047
- {
3048
- "kind": "js",
3049
- "name": "showCriteriaError",
3050
- "declaration": {
3051
- "name": "showCriteriaError",
3052
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2923
+ "package": "./actions-menu"
3053
2924
  }
3054
2925
  }
3055
2926
  ]
@@ -3495,11 +3366,11 @@
3495
3366
  },
3496
3367
  {
3497
3368
  "kind": "javascript-module",
3498
- "path": "src/accordion-item/accordion-item.styles.ts",
3369
+ "path": "src/accordion/accordion.styles.ts",
3499
3370
  "declarations": [
3500
3371
  {
3501
3372
  "kind": "function",
3502
- "name": "foundationAccordionItemStyles",
3373
+ "name": "foundationAccordionStyles",
3503
3374
  "return": {
3504
3375
  "type": {
3505
3376
  "text": "ElementStyles"
@@ -3524,24 +3395,24 @@
3524
3395
  "exports": [
3525
3396
  {
3526
3397
  "kind": "js",
3527
- "name": "foundationAccordionItemStyles",
3398
+ "name": "foundationAccordionStyles",
3528
3399
  "declaration": {
3529
- "name": "foundationAccordionItemStyles",
3530
- "module": "src/accordion-item/accordion-item.styles.ts"
3400
+ "name": "foundationAccordionStyles",
3401
+ "module": "src/accordion/accordion.styles.ts"
3531
3402
  }
3532
3403
  }
3533
3404
  ]
3534
3405
  },
3535
3406
  {
3536
3407
  "kind": "javascript-module",
3537
- "path": "src/accordion-item/accordion-item.template.ts",
3408
+ "path": "src/accordion/accordion.template.ts",
3538
3409
  "declarations": [
3539
3410
  {
3540
3411
  "kind": "function",
3541
- "name": "foundationAccordionItemTemplate",
3412
+ "name": "foundationAccordionTemplate",
3542
3413
  "return": {
3543
3414
  "type": {
3544
- "text": "ViewTemplate<AccordionItem>"
3415
+ "text": "ViewTemplate<Accordion>"
3545
3416
  }
3546
3417
  },
3547
3418
  "parameters": [
@@ -3563,116 +3434,237 @@
3563
3434
  "exports": [
3564
3435
  {
3565
3436
  "kind": "js",
3566
- "name": "foundationAccordionItemTemplate",
3437
+ "name": "foundationAccordionTemplate",
3567
3438
  "declaration": {
3568
- "name": "foundationAccordionItemTemplate",
3569
- "module": "src/accordion-item/accordion-item.template.ts"
3439
+ "name": "foundationAccordionTemplate",
3440
+ "module": "src/accordion/accordion.template.ts"
3570
3441
  }
3571
3442
  }
3572
3443
  ]
3573
3444
  },
3574
3445
  {
3575
3446
  "kind": "javascript-module",
3576
- "path": "src/accordion-item/accordion-item.ts",
3447
+ "path": "src/accordion/accordion.ts",
3577
3448
  "declarations": [
3578
3449
  {
3579
3450
  "kind": "class",
3580
3451
  "description": "",
3581
- "name": "AccordionItem",
3452
+ "name": "Accordion",
3582
3453
  "superclass": {
3583
- "name": "FASTAccordionItem",
3584
- "package": "@microsoft/fast-components"
3454
+ "name": "FASTAccordion",
3455
+ "package": "@microsoft/fast-foundation"
3585
3456
  },
3586
- "tagName": "%%prefix%%-accordion-item",
3457
+ "tagName": "%%prefix%%-accordion",
3587
3458
  "customElement": true,
3588
3459
  "attributes": [
3589
3460
  {
3590
- "name": "heading-level",
3461
+ "name": "expand-mode",
3591
3462
  "type": {
3592
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3463
+ "text": "AccordionExpandMode"
3593
3464
  },
3594
- "default": "2",
3595
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3596
- "fieldName": "headinglevel",
3465
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3466
+ "fieldName": "expandmode",
3597
3467
  "inheritedFrom": {
3598
- "name": "AccordionItem",
3599
- "module": "src/accordion-item/accordion-item.ts"
3468
+ "name": "Accordion",
3469
+ "module": "src/accordion/accordion.ts"
3600
3470
  }
3601
- },
3471
+ }
3472
+ ],
3473
+ "members": [
3602
3474
  {
3475
+ "kind": "field",
3476
+ "name": "expandmode",
3603
3477
  "type": {
3604
- "text": "boolean"
3478
+ "text": "AccordionExpandMode"
3605
3479
  },
3606
- "default": "false",
3607
- "description": "Expands or collapses the item.",
3608
- "fieldName": "expanded",
3480
+ "privacy": "public",
3481
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3609
3482
  "inheritedFrom": {
3610
- "name": "AccordionItem",
3611
- "module": "src/accordion-item/accordion-item.ts"
3483
+ "name": "Accordion",
3484
+ "module": "src/accordion/accordion.ts"
3612
3485
  }
3613
3486
  },
3614
3487
  {
3615
- "name": "id",
3488
+ "kind": "field",
3489
+ "name": "activeid",
3616
3490
  "type": {
3617
- "text": "string"
3491
+ "text": "string | null"
3618
3492
  },
3619
- "description": "The item ID",
3620
- "fieldName": "id",
3493
+ "privacy": "private",
3621
3494
  "inheritedFrom": {
3622
- "name": "AccordionItem",
3623
- "module": "src/accordion-item/accordion-item.ts"
3495
+ "name": "Accordion",
3496
+ "module": "src/accordion/accordion.ts"
3624
3497
  }
3625
- }
3626
- ],
3627
- "members": [
3498
+ },
3628
3499
  {
3629
3500
  "kind": "field",
3630
- "name": "headinglevel",
3501
+ "name": "activeItemIndex",
3631
3502
  "type": {
3632
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3503
+ "text": "number"
3633
3504
  },
3634
- "privacy": "public",
3635
- "default": "2",
3636
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3505
+ "privacy": "private",
3506
+ "default": "0",
3637
3507
  "inheritedFrom": {
3638
- "name": "AccordionItem",
3639
- "module": "src/accordion-item/accordion-item.ts"
3508
+ "name": "Accordion",
3509
+ "module": "src/accordion/accordion.ts"
3640
3510
  }
3641
3511
  },
3642
3512
  {
3643
3513
  "kind": "field",
3644
- "name": "expanded",
3514
+ "name": "accordionIds",
3645
3515
  "type": {
3646
- "text": "boolean"
3516
+ "text": "Array<string | null>"
3647
3517
  },
3648
- "privacy": "public",
3649
- "default": "false",
3650
- "description": "Expands or collapses the item.",
3518
+ "privacy": "private",
3651
3519
  "inheritedFrom": {
3652
- "name": "AccordionItem",
3653
- "module": "src/accordion-item/accordion-item.ts"
3520
+ "name": "Accordion",
3521
+ "module": "src/accordion/accordion.ts"
3654
3522
  }
3655
3523
  },
3656
3524
  {
3657
3525
  "kind": "field",
3658
- "name": "id",
3659
- "type": {
3660
- "text": "string"
3526
+ "name": "change",
3527
+ "privacy": "private",
3528
+ "inheritedFrom": {
3529
+ "name": "Accordion",
3530
+ "module": "src/accordion/accordion.ts"
3531
+ }
3532
+ },
3533
+ {
3534
+ "kind": "method",
3535
+ "name": "findExpandedItem",
3536
+ "privacy": "private",
3537
+ "return": {
3538
+ "type": {
3539
+ "text": "AccordionItem | null"
3540
+ }
3661
3541
  },
3662
- "privacy": "public",
3663
- "description": "The item ID",
3664
3542
  "inheritedFrom": {
3665
- "name": "AccordionItem",
3666
- "module": "src/accordion-item/accordion-item.ts"
3543
+ "name": "Accordion",
3544
+ "module": "src/accordion/accordion.ts"
3667
3545
  }
3668
3546
  },
3669
3547
  {
3670
3548
  "kind": "field",
3671
- "name": "change",
3549
+ "name": "setItems",
3672
3550
  "privacy": "private",
3673
3551
  "inheritedFrom": {
3674
- "name": "AccordionItem",
3675
- "module": "src/accordion-item/accordion-item.ts"
3552
+ "name": "Accordion",
3553
+ "module": "src/accordion/accordion.ts"
3554
+ }
3555
+ },
3556
+ {
3557
+ "kind": "method",
3558
+ "name": "resetItems",
3559
+ "privacy": "private",
3560
+ "return": {
3561
+ "type": {
3562
+ "text": "void"
3563
+ }
3564
+ },
3565
+ "inheritedFrom": {
3566
+ "name": "Accordion",
3567
+ "module": "src/accordion/accordion.ts"
3568
+ }
3569
+ },
3570
+ {
3571
+ "kind": "field",
3572
+ "name": "removeItemListeners",
3573
+ "privacy": "private",
3574
+ "inheritedFrom": {
3575
+ "name": "Accordion",
3576
+ "module": "src/accordion/accordion.ts"
3577
+ }
3578
+ },
3579
+ {
3580
+ "kind": "field",
3581
+ "name": "activeItemChange",
3582
+ "privacy": "private",
3583
+ "inheritedFrom": {
3584
+ "name": "Accordion",
3585
+ "module": "src/accordion/accordion.ts"
3586
+ }
3587
+ },
3588
+ {
3589
+ "kind": "method",
3590
+ "name": "getItemIds",
3591
+ "privacy": "private",
3592
+ "return": {
3593
+ "type": {
3594
+ "text": "Array<string | null>"
3595
+ }
3596
+ },
3597
+ "inheritedFrom": {
3598
+ "name": "Accordion",
3599
+ "module": "src/accordion/accordion.ts"
3600
+ }
3601
+ },
3602
+ {
3603
+ "kind": "method",
3604
+ "name": "isSingleExpandMode",
3605
+ "privacy": "private",
3606
+ "return": {
3607
+ "type": {
3608
+ "text": "boolean"
3609
+ }
3610
+ },
3611
+ "inheritedFrom": {
3612
+ "name": "Accordion",
3613
+ "module": "src/accordion/accordion.ts"
3614
+ }
3615
+ },
3616
+ {
3617
+ "kind": "field",
3618
+ "name": "handleItemKeyDown",
3619
+ "privacy": "private",
3620
+ "inheritedFrom": {
3621
+ "name": "Accordion",
3622
+ "module": "src/accordion/accordion.ts"
3623
+ }
3624
+ },
3625
+ {
3626
+ "kind": "field",
3627
+ "name": "handleItemFocus",
3628
+ "privacy": "private",
3629
+ "inheritedFrom": {
3630
+ "name": "Accordion",
3631
+ "module": "src/accordion/accordion.ts"
3632
+ }
3633
+ },
3634
+ {
3635
+ "kind": "method",
3636
+ "name": "adjust",
3637
+ "privacy": "private",
3638
+ "return": {
3639
+ "type": {
3640
+ "text": "void"
3641
+ }
3642
+ },
3643
+ "parameters": [
3644
+ {
3645
+ "name": "adjustment",
3646
+ "type": {
3647
+ "text": "number"
3648
+ }
3649
+ }
3650
+ ],
3651
+ "inheritedFrom": {
3652
+ "name": "Accordion",
3653
+ "module": "src/accordion/accordion.ts"
3654
+ }
3655
+ },
3656
+ {
3657
+ "kind": "method",
3658
+ "name": "focusItem",
3659
+ "privacy": "private",
3660
+ "return": {
3661
+ "type": {
3662
+ "text": "void"
3663
+ }
3664
+ },
3665
+ "inheritedFrom": {
3666
+ "name": "Accordion",
3667
+ "module": "src/accordion/accordion.ts"
3676
3668
  }
3677
3669
  },
3678
3670
  {
@@ -3789,18 +3781,18 @@
3789
3781
  ],
3790
3782
  "events": [
3791
3783
  {
3792
- "description": "Fires a custom 'change' event when the button is invoked",
3784
+ "description": "Fires a custom 'change' event when the active item changes",
3793
3785
  "name": "change",
3794
3786
  "inheritedFrom": {
3795
- "name": "AccordionItem",
3796
- "module": "src/accordion-item/accordion-item.ts"
3787
+ "name": "Accordion",
3788
+ "module": "src/accordion/accordion.ts"
3797
3789
  }
3798
3790
  }
3799
3791
  ]
3800
3792
  },
3801
3793
  {
3802
3794
  "kind": "variable",
3803
- "name": "foundationAccordionItemShadowOptions",
3795
+ "name": "foundationAccordionShadowOptions",
3804
3796
  "type": {
3805
3797
  "text": "ShadowRootInit"
3806
3798
  },
@@ -3808,57 +3800,57 @@
3808
3800
  },
3809
3801
  {
3810
3802
  "kind": "variable",
3811
- "name": "defaultAccordionItemConfig",
3803
+ "name": "defaultAccordionConfig",
3812
3804
  "type": {
3813
3805
  "text": "object"
3814
3806
  },
3815
- "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}"
3807
+ "default": "{}"
3816
3808
  },
3817
3809
  {
3818
3810
  "kind": "variable",
3819
- "name": "foundationAccordionItem",
3820
- "description": "The Foundation Accordion Item",
3811
+ "name": "foundationAccordion",
3812
+ "description": "The Foundation Accordion",
3821
3813
  "privacy": "public"
3822
3814
  }
3823
3815
  ],
3824
3816
  "exports": [
3825
3817
  {
3826
3818
  "kind": "js",
3827
- "name": "AccordionItem",
3819
+ "name": "Accordion",
3828
3820
  "declaration": {
3829
- "name": "AccordionItem",
3830
- "module": "src/accordion-item/accordion-item.ts"
3821
+ "name": "Accordion",
3822
+ "module": "src/accordion/accordion.ts"
3831
3823
  }
3832
3824
  },
3833
3825
  {
3834
3826
  "kind": "js",
3835
- "name": "foundationAccordionItemShadowOptions",
3827
+ "name": "foundationAccordionShadowOptions",
3836
3828
  "declaration": {
3837
- "name": "foundationAccordionItemShadowOptions",
3838
- "module": "src/accordion-item/accordion-item.ts"
3829
+ "name": "foundationAccordionShadowOptions",
3830
+ "module": "src/accordion/accordion.ts"
3839
3831
  }
3840
3832
  },
3841
3833
  {
3842
3834
  "kind": "js",
3843
- "name": "defaultAccordionItemConfig",
3835
+ "name": "defaultAccordionConfig",
3844
3836
  "declaration": {
3845
- "name": "defaultAccordionItemConfig",
3846
- "module": "src/accordion-item/accordion-item.ts"
3837
+ "name": "defaultAccordionConfig",
3838
+ "module": "src/accordion/accordion.ts"
3847
3839
  }
3848
3840
  },
3849
3841
  {
3850
3842
  "kind": "js",
3851
- "name": "foundationAccordionItem",
3843
+ "name": "foundationAccordion",
3852
3844
  "declaration": {
3853
- "name": "foundationAccordionItem",
3854
- "module": "src/accordion-item/accordion-item.ts"
3845
+ "name": "foundationAccordion",
3846
+ "module": "src/accordion/accordion.ts"
3855
3847
  }
3856
3848
  }
3857
3849
  ]
3858
3850
  },
3859
3851
  {
3860
3852
  "kind": "javascript-module",
3861
- "path": "src/accordion-item/index.ts",
3853
+ "path": "src/accordion/index.ts",
3862
3854
  "declarations": [],
3863
3855
  "exports": [
3864
3856
  {
@@ -3866,7 +3858,7 @@
3866
3858
  "name": "*",
3867
3859
  "declaration": {
3868
3860
  "name": "*",
3869
- "package": "./accordion-item.template"
3861
+ "package": "./accordion.template"
3870
3862
  }
3871
3863
  },
3872
3864
  {
@@ -3874,7 +3866,7 @@
3874
3866
  "name": "*",
3875
3867
  "declaration": {
3876
3868
  "name": "*",
3877
- "package": "./accordion-item.styles"
3869
+ "package": "./accordion.styles"
3878
3870
  }
3879
3871
  },
3880
3872
  {
@@ -3882,7 +3874,7 @@
3882
3874
  "name": "*",
3883
3875
  "declaration": {
3884
3876
  "name": "*",
3885
- "package": "./accordion-item"
3877
+ "package": "./accordion"
3886
3878
  }
3887
3879
  }
3888
3880
  ]
@@ -56123,37 +56115,6 @@
56123
56115
  }
56124
56116
  ]
56125
56117
  },
56126
- {
56127
- "kind": "javascript-module",
56128
- "path": "src/utils/editable-elements.ts",
56129
- "declarations": [],
56130
- "exports": [
56131
- {
56132
- "kind": "js",
56133
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
56134
- "declaration": {
56135
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
56136
- "package": "@genesislcap/foundation-utils"
56137
- }
56138
- },
56139
- {
56140
- "kind": "js",
56141
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
56142
- "declaration": {
56143
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
56144
- "package": "@genesislcap/foundation-utils"
56145
- }
56146
- },
56147
- {
56148
- "kind": "js",
56149
- "name": "buildEditableElementSelector",
56150
- "declaration": {
56151
- "name": "buildEditableElementSelector",
56152
- "package": "@genesislcap/foundation-utils"
56153
- }
56154
- }
56155
- ]
56156
- },
56157
56118
  {
56158
56119
  "kind": "javascript-module",
56159
56120
  "path": "src/utils/index.ts",