@genesislcap/foundation-ui 15.4.1-GENC-1475.5 → 15.5.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.
@@ -1424,11 +1424,65 @@
1424
1424
  },
1425
1425
  {
1426
1426
  "kind": "javascript-module",
1427
- "path": "src/accordion/accordion.styles.ts",
1427
+ "path": "src/_config/index.ts",
1428
+ "declarations": [],
1429
+ "exports": [
1430
+ {
1431
+ "kind": "js",
1432
+ "name": "*",
1433
+ "declaration": {
1434
+ "name": "*",
1435
+ "package": "./styles"
1436
+ }
1437
+ },
1438
+ {
1439
+ "kind": "js",
1440
+ "name": "*",
1441
+ "declaration": {
1442
+ "name": "*",
1443
+ "package": "./tokens"
1444
+ }
1445
+ },
1446
+ {
1447
+ "kind": "js",
1448
+ "name": "*",
1449
+ "declaration": {
1450
+ "name": "*",
1451
+ "package": "./values"
1452
+ }
1453
+ }
1454
+ ]
1455
+ },
1456
+ {
1457
+ "kind": "javascript-module",
1458
+ "path": "src/actions-menu/actions-menu.styles.ts",
1428
1459
  "declarations": [
1429
1460
  {
1430
1461
  "kind": "function",
1431
- "name": "foundationAccordionStyles",
1462
+ "name": "actionsMenuBaseStyles",
1463
+ "return": {
1464
+ "type": {
1465
+ "text": "ElementStyles"
1466
+ }
1467
+ },
1468
+ "parameters": [
1469
+ {
1470
+ "name": "context",
1471
+ "type": {
1472
+ "text": "ElementDefinitionContext"
1473
+ }
1474
+ },
1475
+ {
1476
+ "name": "definition",
1477
+ "type": {
1478
+ "text": "FoundationElementDefinition"
1479
+ }
1480
+ }
1481
+ ]
1482
+ },
1483
+ {
1484
+ "kind": "function",
1485
+ "name": "foundationActionsMenuStyles",
1432
1486
  "return": {
1433
1487
  "type": {
1434
1488
  "text": "ElementStyles"
@@ -1453,277 +1507,281 @@
1453
1507
  "exports": [
1454
1508
  {
1455
1509
  "kind": "js",
1456
- "name": "foundationAccordionStyles",
1510
+ "name": "actionsMenuBaseStyles",
1457
1511
  "declaration": {
1458
- "name": "foundationAccordionStyles",
1459
- "module": "src/accordion/accordion.styles.ts"
1512
+ "name": "actionsMenuBaseStyles",
1513
+ "module": "src/actions-menu/actions-menu.styles.ts"
1514
+ }
1515
+ },
1516
+ {
1517
+ "kind": "js",
1518
+ "name": "foundationActionsMenuStyles",
1519
+ "declaration": {
1520
+ "name": "foundationActionsMenuStyles",
1521
+ "module": "src/actions-menu/actions-menu.styles.ts"
1460
1522
  }
1461
1523
  }
1462
1524
  ]
1463
1525
  },
1464
1526
  {
1465
1527
  "kind": "javascript-module",
1466
- "path": "src/accordion/accordion.template.ts",
1528
+ "path": "src/actions-menu/actions-menu.template.ts",
1467
1529
  "declarations": [
1468
1530
  {
1469
1531
  "kind": "function",
1470
- "name": "foundationAccordionTemplate",
1471
- "return": {
1472
- "type": {
1473
- "text": "ViewTemplate<Accordion>"
1474
- }
1475
- },
1532
+ "name": "menuTemplate",
1476
1533
  "parameters": [
1477
1534
  {
1478
- "name": "context",
1535
+ "name": "prefix",
1479
1536
  "type": {
1480
- "text": "ElementDefinitionContext"
1537
+ "text": "string"
1481
1538
  }
1482
- },
1539
+ }
1540
+ ]
1541
+ },
1542
+ {
1543
+ "kind": "function",
1544
+ "name": "singleOptionTemplate",
1545
+ "parameters": [
1483
1546
  {
1484
- "name": "definition",
1547
+ "name": "prefix",
1485
1548
  "type": {
1486
- "text": "FoundationElementDefinition"
1549
+ "text": "string"
1487
1550
  }
1488
1551
  }
1489
1552
  ]
1553
+ },
1554
+ {
1555
+ "kind": "variable",
1556
+ "name": "foundationActionsMenuTemplate",
1557
+ "type": {
1558
+ "text": "ViewTemplate<ActionsMenu>"
1559
+ },
1560
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1490
1561
  }
1491
1562
  ],
1492
1563
  "exports": [
1493
1564
  {
1494
1565
  "kind": "js",
1495
- "name": "foundationAccordionTemplate",
1566
+ "name": "menuTemplate",
1496
1567
  "declaration": {
1497
- "name": "foundationAccordionTemplate",
1498
- "module": "src/accordion/accordion.template.ts"
1568
+ "name": "menuTemplate",
1569
+ "module": "src/actions-menu/actions-menu.template.ts"
1570
+ }
1571
+ },
1572
+ {
1573
+ "kind": "js",
1574
+ "name": "singleOptionTemplate",
1575
+ "declaration": {
1576
+ "name": "singleOptionTemplate",
1577
+ "module": "src/actions-menu/actions-menu.template.ts"
1578
+ }
1579
+ },
1580
+ {
1581
+ "kind": "js",
1582
+ "name": "foundationActionsMenuTemplate",
1583
+ "declaration": {
1584
+ "name": "foundationActionsMenuTemplate",
1585
+ "module": "src/actions-menu/actions-menu.template.ts"
1499
1586
  }
1500
1587
  }
1501
1588
  ]
1502
1589
  },
1503
1590
  {
1504
1591
  "kind": "javascript-module",
1505
- "path": "src/accordion/accordion.ts",
1592
+ "path": "src/actions-menu/actions-menu.ts",
1506
1593
  "declarations": [
1507
1594
  {
1508
1595
  "kind": "class",
1509
1596
  "description": "",
1510
- "name": "Accordion",
1511
- "superclass": {
1512
- "name": "FASTAccordion",
1513
- "package": "@microsoft/fast-foundation"
1514
- },
1515
- "tagName": "%%prefix%%-accordion",
1516
- "customElement": true,
1517
- "attributes": [
1597
+ "name": "ActionsMenu",
1598
+ "members": [
1518
1599
  {
1519
- "name": "expand-mode",
1600
+ "kind": "field",
1601
+ "name": "actions",
1520
1602
  "type": {
1521
- "text": "AccordionExpandMode"
1522
- },
1523
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1524
- "fieldName": "expandmode",
1525
- "inheritedFrom": {
1526
- "name": "Accordion",
1527
- "module": "src/accordion/accordion.ts"
1603
+ "text": "ActionMenuItem[]"
1528
1604
  }
1529
- }
1530
- ],
1531
- "members": [
1605
+ },
1532
1606
  {
1533
1607
  "kind": "field",
1534
- "name": "expandmode",
1608
+ "name": "isVertical",
1535
1609
  "type": {
1536
- "text": "AccordionExpandMode"
1610
+ "text": "boolean"
1537
1611
  },
1538
- "privacy": "public",
1539
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1540
- "inheritedFrom": {
1541
- "name": "Accordion",
1542
- "module": "src/accordion/accordion.ts"
1543
- }
1612
+ "default": "false"
1544
1613
  },
1545
1614
  {
1546
1615
  "kind": "field",
1547
- "name": "activeid",
1616
+ "name": "addDefaultActions",
1548
1617
  "type": {
1549
- "text": "string | null"
1618
+ "text": "boolean"
1550
1619
  },
1551
- "privacy": "private",
1552
- "inheritedFrom": {
1553
- "name": "Accordion",
1554
- "module": "src/accordion/accordion.ts"
1555
- }
1620
+ "default": "true"
1556
1621
  },
1557
1622
  {
1558
1623
  "kind": "field",
1559
- "name": "activeItemIndex",
1624
+ "name": "autoCloseOnAction",
1560
1625
  "type": {
1561
- "text": "number"
1626
+ "text": "boolean"
1562
1627
  },
1563
- "privacy": "private",
1564
- "default": "0",
1565
- "inheritedFrom": {
1566
- "name": "Accordion",
1567
- "module": "src/accordion/accordion.ts"
1568
- }
1628
+ "default": "true"
1569
1629
  },
1570
1630
  {
1571
1631
  "kind": "field",
1572
- "name": "accordionIds",
1632
+ "name": "classNames",
1573
1633
  "type": {
1574
- "text": "Array<string | null>"
1575
- },
1576
- "privacy": "private",
1577
- "inheritedFrom": {
1578
- "name": "Accordion",
1579
- "module": "src/accordion/accordion.ts"
1634
+ "text": "string"
1580
1635
  }
1581
1636
  },
1582
1637
  {
1583
1638
  "kind": "field",
1584
- "name": "change",
1585
- "privacy": "private",
1586
- "inheritedFrom": {
1587
- "name": "Accordion",
1588
- "module": "src/accordion/accordion.ts"
1639
+ "name": "definition",
1640
+ "type": {
1641
+ "text": "any"
1589
1642
  }
1590
1643
  },
1591
1644
  {
1592
- "kind": "method",
1593
- "name": "findExpandedItem",
1594
- "privacy": "private",
1595
- "return": {
1596
- "type": {
1597
- "text": "AccordionItem | null"
1598
- }
1645
+ "kind": "field",
1646
+ "name": "name",
1647
+ "type": {
1648
+ "text": "string"
1599
1649
  },
1600
- "inheritedFrom": {
1601
- "name": "Accordion",
1602
- "module": "src/accordion/accordion.ts"
1603
- }
1650
+ "default": "'Actions'"
1604
1651
  },
1605
1652
  {
1606
1653
  "kind": "field",
1607
- "name": "setItems",
1608
- "privacy": "private",
1609
- "inheritedFrom": {
1610
- "name": "Accordion",
1611
- "module": "src/accordion/accordion.ts"
1612
- }
1654
+ "name": "open",
1655
+ "type": {
1656
+ "text": "boolean"
1657
+ },
1658
+ "default": "false"
1613
1659
  },
1614
1660
  {
1615
- "kind": "method",
1616
- "name": "resetItems",
1617
- "privacy": "private",
1618
- "return": {
1619
- "type": {
1620
- "text": "void"
1621
- }
1622
- },
1623
- "inheritedFrom": {
1624
- "name": "Accordion",
1625
- "module": "src/accordion/accordion.ts"
1661
+ "kind": "field",
1662
+ "name": "buttonAppearance",
1663
+ "type": {
1664
+ "text": "string"
1626
1665
  }
1627
1666
  },
1628
1667
  {
1629
1668
  "kind": "field",
1630
- "name": "removeItemListeners",
1631
- "privacy": "private",
1632
- "inheritedFrom": {
1633
- "name": "Accordion",
1634
- "module": "src/accordion/accordion.ts"
1635
- }
1669
+ "name": "hideDisabled",
1670
+ "type": {
1671
+ "text": "boolean"
1672
+ },
1673
+ "default": "false"
1636
1674
  },
1637
1675
  {
1638
1676
  "kind": "field",
1639
- "name": "activeItemChange",
1640
- "privacy": "private",
1641
- "inheritedFrom": {
1642
- "name": "Accordion",
1643
- "module": "src/accordion/accordion.ts"
1677
+ "name": "hideMenuSingleOption",
1678
+ "type": {
1679
+ "text": "boolean"
1680
+ },
1681
+ "default": "false"
1682
+ },
1683
+ {
1684
+ "kind": "field",
1685
+ "name": "singleOption",
1686
+ "type": {
1687
+ "text": "ActionMenuItem"
1688
+ }
1689
+ },
1690
+ {
1691
+ "kind": "field",
1692
+ "name": "actionsMenu",
1693
+ "type": {
1694
+ "text": "HTMLElement"
1695
+ }
1696
+ },
1697
+ {
1698
+ "kind": "field",
1699
+ "name": "actionsOpener",
1700
+ "type": {
1701
+ "text": "HTMLElement"
1644
1702
  }
1645
1703
  },
1646
1704
  {
1647
1705
  "kind": "method",
1648
- "name": "getItemIds",
1649
- "privacy": "private",
1650
- "return": {
1651
- "type": {
1652
- "text": "Array<string | null>"
1706
+ "name": "updateMenuPosition",
1707
+ "privacy": "private"
1708
+ },
1709
+ {
1710
+ "kind": "method",
1711
+ "name": "definitionChanged",
1712
+ "privacy": "protected",
1713
+ "parameters": [
1714
+ {
1715
+ "name": "oldValue",
1716
+ "type": {
1717
+ "text": "any"
1718
+ }
1719
+ },
1720
+ {
1721
+ "name": "newValue",
1722
+ "type": {
1723
+ "text": "any"
1724
+ }
1653
1725
  }
1654
- },
1655
- "inheritedFrom": {
1656
- "name": "Accordion",
1657
- "module": "src/accordion/accordion.ts"
1658
- }
1726
+ ]
1659
1727
  },
1660
1728
  {
1661
1729
  "kind": "method",
1662
- "name": "isSingleExpandMode",
1663
- "privacy": "private",
1664
- "return": {
1665
- "type": {
1666
- "text": "boolean"
1730
+ "name": "openChanged",
1731
+ "privacy": "protected"
1732
+ },
1733
+ {
1734
+ "kind": "method",
1735
+ "name": "toggleActionsMenuVisibility"
1736
+ },
1737
+ {
1738
+ "kind": "method",
1739
+ "name": "onActionMenuItemClick",
1740
+ "parameters": [
1741
+ {
1742
+ "name": "callback",
1743
+ "type": {
1744
+ "text": "(rowData) => void | any"
1745
+ }
1667
1746
  }
1668
- },
1669
- "inheritedFrom": {
1670
- "name": "Accordion",
1671
- "module": "src/accordion/accordion.ts"
1672
- }
1747
+ ]
1673
1748
  },
1674
1749
  {
1675
1750
  "kind": "field",
1676
- "name": "handleItemKeyDown",
1677
- "privacy": "private",
1678
- "inheritedFrom": {
1679
- "name": "Accordion",
1680
- "module": "src/accordion/accordion.ts"
1681
- }
1751
+ "name": "allActions",
1752
+ "type": {
1753
+ "text": "ActionMenuItem[]"
1754
+ },
1755
+ "readonly": true
1682
1756
  },
1683
1757
  {
1684
1758
  "kind": "field",
1685
- "name": "handleItemFocus",
1686
- "privacy": "private",
1687
- "inheritedFrom": {
1688
- "name": "Accordion",
1689
- "module": "src/accordion/accordion.ts"
1690
- }
1759
+ "name": "rowData",
1760
+ "readonly": true
1691
1761
  },
1692
1762
  {
1693
1763
  "kind": "method",
1694
- "name": "adjust",
1695
- "privacy": "private",
1696
- "return": {
1697
- "type": {
1698
- "text": "void"
1699
- }
1700
- },
1764
+ "name": "getLabel",
1701
1765
  "parameters": [
1702
1766
  {
1703
- "name": "adjustment",
1767
+ "name": "name",
1704
1768
  "type": {
1705
- "text": "number"
1769
+ "text": "string | ((rowData: any) => string)"
1706
1770
  }
1707
1771
  }
1708
- ],
1709
- "inheritedFrom": {
1710
- "name": "Accordion",
1711
- "module": "src/accordion/accordion.ts"
1712
- }
1772
+ ]
1713
1773
  },
1714
1774
  {
1715
1775
  "kind": "method",
1716
- "name": "focusItem",
1717
- "privacy": "private",
1718
- "return": {
1719
- "type": {
1720
- "text": "void"
1776
+ "name": "getTemplate",
1777
+ "parameters": [
1778
+ {
1779
+ "name": "prefix",
1780
+ "type": {
1781
+ "text": "string"
1782
+ }
1721
1783
  }
1722
- },
1723
- "inheritedFrom": {
1724
- "name": "Accordion",
1725
- "module": "src/accordion/accordion.ts"
1726
- }
1784
+ ]
1727
1785
  },
1728
1786
  {
1729
1787
  "kind": "field",
@@ -1837,78 +1895,107 @@
1837
1895
  }
1838
1896
  }
1839
1897
  ],
1840
- "events": [
1898
+ "attributes": [
1841
1899
  {
1842
- "description": "Fires a custom 'change' event when the active item changes",
1843
- "name": "change",
1844
- "inheritedFrom": {
1845
- "name": "Accordion",
1846
- "module": "src/accordion/accordion.ts"
1847
- }
1900
+ "name": "is-vertical",
1901
+ "type": {
1902
+ "text": "boolean"
1903
+ },
1904
+ "default": "false",
1905
+ "fieldName": "isVertical"
1906
+ },
1907
+ {
1908
+ "name": "add-default-actions",
1909
+ "type": {
1910
+ "text": "boolean"
1911
+ },
1912
+ "default": "true",
1913
+ "fieldName": "addDefaultActions"
1914
+ },
1915
+ {
1916
+ "name": "auto-close-on-action",
1917
+ "type": {
1918
+ "text": "boolean"
1919
+ },
1920
+ "default": "true",
1921
+ "fieldName": "autoCloseOnAction"
1922
+ },
1923
+ {
1924
+ "name": "name",
1925
+ "type": {
1926
+ "text": "string"
1927
+ },
1928
+ "default": "'Actions'",
1929
+ "fieldName": "name"
1930
+ },
1931
+ {
1932
+ "name": "open",
1933
+ "type": {
1934
+ "text": "boolean"
1935
+ },
1936
+ "default": "false",
1937
+ "fieldName": "open"
1938
+ },
1939
+ {
1940
+ "name": "buttonAppearance",
1941
+ "type": {
1942
+ "text": "string"
1943
+ },
1944
+ "fieldName": "buttonAppearance"
1945
+ },
1946
+ {
1947
+ "name": "hide-disabled",
1948
+ "type": {
1949
+ "text": "boolean"
1950
+ },
1951
+ "default": "false",
1952
+ "fieldName": "hideDisabled"
1953
+ },
1954
+ {
1955
+ "name": "hide-menu-single-option",
1956
+ "type": {
1957
+ "text": "boolean"
1958
+ },
1959
+ "default": "false",
1960
+ "fieldName": "hideMenuSingleOption"
1848
1961
  }
1849
- ]
1850
- },
1851
- {
1852
- "kind": "variable",
1853
- "name": "foundationAccordionShadowOptions",
1854
- "type": {
1855
- "text": "ShadowRootInit"
1856
- },
1857
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1858
- },
1859
- {
1860
- "kind": "variable",
1861
- "name": "defaultAccordionConfig",
1862
- "type": {
1863
- "text": "object"
1962
+ ],
1963
+ "superclass": {
1964
+ "name": "FoundationElement",
1965
+ "package": "@microsoft/fast-foundation"
1864
1966
  },
1865
- "default": "{}"
1967
+ "tagName": "%%prefix%%-actions-menu",
1968
+ "customElement": true
1866
1969
  },
1867
1970
  {
1868
1971
  "kind": "variable",
1869
- "name": "foundationAccordion",
1870
- "description": "The Foundation Accordion",
1972
+ "name": "foundationActionsMenu",
1973
+ "description": "The Foundation Actions Menu",
1871
1974
  "privacy": "public"
1872
1975
  }
1873
1976
  ],
1874
1977
  "exports": [
1875
1978
  {
1876
1979
  "kind": "js",
1877
- "name": "Accordion",
1980
+ "name": "ActionsMenu",
1878
1981
  "declaration": {
1879
- "name": "Accordion",
1880
- "module": "src/accordion/accordion.ts"
1982
+ "name": "ActionsMenu",
1983
+ "module": "src/actions-menu/actions-menu.ts"
1881
1984
  }
1882
1985
  },
1883
1986
  {
1884
1987
  "kind": "js",
1885
- "name": "foundationAccordionShadowOptions",
1988
+ "name": "foundationActionsMenu",
1886
1989
  "declaration": {
1887
- "name": "foundationAccordionShadowOptions",
1888
- "module": "src/accordion/accordion.ts"
1889
- }
1890
- },
1891
- {
1892
- "kind": "js",
1893
- "name": "defaultAccordionConfig",
1894
- "declaration": {
1895
- "name": "defaultAccordionConfig",
1896
- "module": "src/accordion/accordion.ts"
1897
- }
1898
- },
1899
- {
1900
- "kind": "js",
1901
- "name": "foundationAccordion",
1902
- "declaration": {
1903
- "name": "foundationAccordion",
1904
- "module": "src/accordion/accordion.ts"
1990
+ "name": "foundationActionsMenu",
1991
+ "module": "src/actions-menu/actions-menu.ts"
1905
1992
  }
1906
1993
  }
1907
1994
  ]
1908
1995
  },
1909
1996
  {
1910
1997
  "kind": "javascript-module",
1911
- "path": "src/accordion/index.ts",
1998
+ "path": "src/actions-menu/index.ts",
1912
1999
  "declarations": [],
1913
2000
  "exports": [
1914
2001
  {
@@ -1916,7 +2003,7 @@
1916
2003
  "name": "*",
1917
2004
  "declaration": {
1918
2005
  "name": "*",
1919
- "package": "./accordion.template"
2006
+ "package": "./actions-menu.styles"
1920
2007
  }
1921
2008
  },
1922
2009
  {
@@ -1924,7 +2011,7 @@
1924
2011
  "name": "*",
1925
2012
  "declaration": {
1926
2013
  "name": "*",
1927
- "package": "./accordion.styles"
2014
+ "package": "./actions-menu.template"
1928
2015
  }
1929
2016
  },
1930
2017
  {
@@ -1932,7 +2019,7 @@
1932
2019
  "name": "*",
1933
2020
  "declaration": {
1934
2021
  "name": "*",
1935
- "package": "./accordion"
2022
+ "package": "./actions-menu"
1936
2023
  }
1937
2024
  }
1938
2025
  ]
@@ -2333,234 +2420,115 @@
2333
2420
  },
2334
2421
  {
2335
2422
  "kind": "javascript-module",
2336
- "path": "src/_config/index.ts",
2337
- "declarations": [],
2338
- "exports": [
2339
- {
2340
- "kind": "js",
2341
- "name": "*",
2342
- "declaration": {
2343
- "name": "*",
2344
- "package": "./styles"
2345
- }
2346
- },
2347
- {
2348
- "kind": "js",
2349
- "name": "*",
2350
- "declaration": {
2351
- "name": "*",
2352
- "package": "./tokens"
2353
- }
2354
- },
2355
- {
2356
- "kind": "js",
2357
- "name": "*",
2358
- "declaration": {
2359
- "name": "*",
2360
- "package": "./values"
2361
- }
2362
- }
2363
- ]
2364
- },
2365
- {
2366
- "kind": "javascript-module",
2367
- "path": "src/actions-menu/actions-menu.styles.ts",
2423
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2368
2424
  "declarations": [
2369
2425
  {
2370
- "kind": "function",
2371
- "name": "actionsMenuBaseStyles",
2372
- "return": {
2373
- "type": {
2374
- "text": "ElementStyles"
2375
- }
2376
- },
2377
- "parameters": [
2378
- {
2379
- "name": "context",
2380
- "type": {
2381
- "text": "ElementDefinitionContext"
2382
- }
2383
- },
2384
- {
2385
- "name": "definition",
2386
- "type": {
2387
- "text": "FoundationElementDefinition"
2388
- }
2389
- }
2390
- ]
2391
- },
2392
- {
2393
- "kind": "function",
2394
- "name": "foundationActionsMenuStyles",
2395
- "return": {
2396
- "type": {
2397
- "text": "ElementStyles"
2398
- }
2399
- },
2400
- "parameters": [
2401
- {
2402
- "name": "context",
2403
- "type": {
2404
- "text": "ElementDefinitionContext"
2405
- }
2406
- },
2407
- {
2408
- "name": "definition",
2409
- "type": {
2410
- "text": "FoundationElementDefinition"
2411
- }
2412
- }
2413
- ]
2426
+ "kind": "variable",
2427
+ "name": "foundationAiCriteriaSearchStyles",
2428
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2414
2429
  }
2415
2430
  ],
2416
2431
  "exports": [
2417
2432
  {
2418
2433
  "kind": "js",
2419
- "name": "actionsMenuBaseStyles",
2420
- "declaration": {
2421
- "name": "actionsMenuBaseStyles",
2422
- "module": "src/actions-menu/actions-menu.styles.ts"
2423
- }
2424
- },
2425
- {
2426
- "kind": "js",
2427
- "name": "foundationActionsMenuStyles",
2434
+ "name": "foundationAiCriteriaSearchStyles",
2428
2435
  "declaration": {
2429
- "name": "foundationActionsMenuStyles",
2430
- "module": "src/actions-menu/actions-menu.styles.ts"
2436
+ "name": "foundationAiCriteriaSearchStyles",
2437
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2431
2438
  }
2432
2439
  }
2433
2440
  ]
2434
2441
  },
2435
2442
  {
2436
2443
  "kind": "javascript-module",
2437
- "path": "src/actions-menu/actions-menu.template.ts",
2444
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2438
2445
  "declarations": [
2439
- {
2440
- "kind": "function",
2441
- "name": "menuTemplate",
2442
- "parameters": [
2443
- {
2444
- "name": "prefix",
2445
- "type": {
2446
- "text": "string"
2447
- }
2448
- }
2449
- ]
2450
- },
2451
- {
2452
- "kind": "function",
2453
- "name": "singleOptionTemplate",
2454
- "parameters": [
2455
- {
2456
- "name": "prefix",
2457
- "type": {
2458
- "text": "string"
2459
- }
2460
- }
2461
- ]
2462
- },
2463
2446
  {
2464
2447
  "kind": "variable",
2465
- "name": "foundationActionsMenuTemplate",
2448
+ "name": "foundationAiCriteriaSearchTemplate",
2466
2449
  "type": {
2467
- "text": "ViewTemplate<ActionsMenu>"
2450
+ "text": "ViewTemplate<AiCriteriaSearch>"
2468
2451
  },
2469
- "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`"
2452
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2470
2453
  }
2471
2454
  ],
2472
2455
  "exports": [
2473
2456
  {
2474
2457
  "kind": "js",
2475
- "name": "menuTemplate",
2476
- "declaration": {
2477
- "name": "menuTemplate",
2478
- "module": "src/actions-menu/actions-menu.template.ts"
2479
- }
2480
- },
2481
- {
2482
- "kind": "js",
2483
- "name": "singleOptionTemplate",
2484
- "declaration": {
2485
- "name": "singleOptionTemplate",
2486
- "module": "src/actions-menu/actions-menu.template.ts"
2487
- }
2488
- },
2489
- {
2490
- "kind": "js",
2491
- "name": "foundationActionsMenuTemplate",
2458
+ "name": "foundationAiCriteriaSearchTemplate",
2492
2459
  "declaration": {
2493
- "name": "foundationActionsMenuTemplate",
2494
- "module": "src/actions-menu/actions-menu.template.ts"
2460
+ "name": "foundationAiCriteriaSearchTemplate",
2461
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2495
2462
  }
2496
2463
  }
2497
2464
  ]
2498
2465
  },
2499
2466
  {
2500
2467
  "kind": "javascript-module",
2501
- "path": "src/actions-menu/actions-menu.ts",
2468
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2502
2469
  "declarations": [
2503
2470
  {
2504
2471
  "kind": "class",
2505
- "description": "",
2506
- "name": "ActionsMenu",
2472
+ "description": "Natural-language criteria search input with AI interpretation.",
2473
+ "name": "AiCriteriaSearch",
2507
2474
  "members": [
2508
2475
  {
2509
2476
  "kind": "field",
2510
- "name": "actions",
2477
+ "name": "providerRegistry",
2511
2478
  "type": {
2512
- "text": "ActionMenuItem[]"
2479
+ "text": "AIProviderRegistry"
2513
2480
  }
2514
2481
  },
2515
2482
  {
2516
2483
  "kind": "field",
2517
- "name": "isVertical",
2484
+ "name": "placeholder",
2518
2485
  "type": {
2519
- "text": "boolean"
2486
+ "text": "string"
2520
2487
  },
2521
- "default": "false"
2488
+ "default": "'Describe your search criteria in natural language...'"
2522
2489
  },
2523
2490
  {
2524
2491
  "kind": "field",
2525
- "name": "addDefaultActions",
2492
+ "name": "disabled",
2526
2493
  "type": {
2527
2494
  "text": "boolean"
2528
- },
2529
- "default": "true"
2495
+ }
2530
2496
  },
2531
2497
  {
2532
2498
  "kind": "field",
2533
- "name": "autoCloseOnAction",
2499
+ "name": "inputValue",
2534
2500
  "type": {
2535
- "text": "boolean"
2501
+ "text": "string"
2536
2502
  },
2537
- "default": "true"
2503
+ "default": "''"
2538
2504
  },
2539
2505
  {
2540
2506
  "kind": "field",
2541
- "name": "classNames",
2507
+ "name": "isInterpreting",
2542
2508
  "type": {
2543
- "text": "string"
2544
- }
2509
+ "text": "boolean"
2510
+ },
2511
+ "default": "false"
2545
2512
  },
2546
2513
  {
2547
2514
  "kind": "field",
2548
- "name": "definition",
2515
+ "name": "lastValidCriteria",
2549
2516
  "type": {
2550
- "text": "any"
2551
- }
2517
+ "text": "string | null"
2518
+ },
2519
+ "default": "null"
2552
2520
  },
2553
2521
  {
2554
2522
  "kind": "field",
2555
- "name": "name",
2523
+ "name": "activeGroups",
2556
2524
  "type": {
2557
- "text": "string"
2525
+ "text": "CriteriaGroup[]"
2558
2526
  },
2559
- "default": "'Actions'"
2527
+ "default": "[]"
2560
2528
  },
2561
2529
  {
2562
2530
  "kind": "field",
2563
- "name": "open",
2531
+ "name": "showingChips",
2564
2532
  "type": {
2565
2533
  "text": "boolean"
2566
2534
  },
@@ -2568,14 +2536,15 @@
2568
2536
  },
2569
2537
  {
2570
2538
  "kind": "field",
2571
- "name": "buttonAppearance",
2539
+ "name": "fieldMetadata",
2572
2540
  "type": {
2573
- "text": "string"
2574
- }
2541
+ "text": "MetadataDetail[] | string[]"
2542
+ },
2543
+ "default": "[]"
2575
2544
  },
2576
2545
  {
2577
2546
  "kind": "field",
2578
- "name": "hideDisabled",
2547
+ "name": "isRecording",
2579
2548
  "type": {
2580
2549
  "text": "boolean"
2581
2550
  },
@@ -2583,114 +2552,125 @@
2583
2552
  },
2584
2553
  {
2585
2554
  "kind": "field",
2586
- "name": "hideMenuSingleOption",
2555
+ "name": "textAreaRef",
2587
2556
  "type": {
2588
- "text": "boolean"
2557
+ "text": "HTMLTextAreaElement"
2589
2558
  },
2590
- "default": "false"
2559
+ "privacy": "public"
2591
2560
  },
2592
2561
  {
2593
2562
  "kind": "field",
2594
- "name": "singleOption",
2563
+ "name": "stopRecording",
2595
2564
  "type": {
2596
- "text": "ActionMenuItem"
2597
- }
2565
+ "text": "(() => void) | null"
2566
+ },
2567
+ "privacy": "private",
2568
+ "default": "null"
2598
2569
  },
2599
2570
  {
2600
2571
  "kind": "field",
2601
- "name": "actionsMenu",
2572
+ "name": "speechApplyDebounceTimer",
2602
2573
  "type": {
2603
- "text": "HTMLElement"
2604
- }
2574
+ "text": "ReturnType<typeof setTimeout> | null"
2575
+ },
2576
+ "privacy": "private",
2577
+ "default": "null"
2605
2578
  },
2606
2579
  {
2607
2580
  "kind": "field",
2608
- "name": "actionsOpener",
2581
+ "name": "speechAvailable",
2609
2582
  "type": {
2610
- "text": "HTMLElement"
2611
- }
2583
+ "text": "boolean"
2584
+ },
2585
+ "readonly": true
2612
2586
  },
2613
2587
  {
2614
- "kind": "method",
2615
- "name": "updateMenuPosition",
2616
- "privacy": "private"
2617
- },
2588
+ "kind": "field",
2589
+ "name": "criteriaChips",
2590
+ "type": {
2591
+ "text": "CriteriaChip[]"
2592
+ },
2593
+ "readonly": true
2594
+ },
2618
2595
  {
2619
2596
  "kind": "method",
2620
- "name": "definitionChanged",
2621
- "privacy": "protected",
2597
+ "name": "getFieldLabel",
2598
+ "privacy": "private",
2599
+ "return": {
2600
+ "type": {
2601
+ "text": "string"
2602
+ }
2603
+ },
2622
2604
  "parameters": [
2623
2605
  {
2624
- "name": "oldValue",
2625
- "type": {
2626
- "text": "any"
2627
- }
2628
- },
2629
- {
2630
- "name": "newValue",
2606
+ "name": "fieldName",
2631
2607
  "type": {
2632
- "text": "any"
2608
+ "text": "string"
2633
2609
  }
2634
2610
  }
2635
2611
  ]
2636
2612
  },
2637
2613
  {
2638
2614
  "kind": "method",
2639
- "name": "openChanged",
2640
- "privacy": "protected"
2641
- },
2642
- {
2643
- "kind": "method",
2644
- "name": "toggleActionsMenuVisibility"
2615
+ "name": "toggleCriteriaView",
2616
+ "return": {
2617
+ "type": {
2618
+ "text": "void"
2619
+ }
2620
+ }
2645
2621
  },
2646
2622
  {
2647
2623
  "kind": "method",
2648
- "name": "onActionMenuItemClick",
2624
+ "name": "removeChip",
2625
+ "return": {
2626
+ "type": {
2627
+ "text": "void"
2628
+ }
2629
+ },
2649
2630
  "parameters": [
2650
2631
  {
2651
- "name": "callback",
2632
+ "name": "groupIndex",
2652
2633
  "type": {
2653
- "text": "(rowData) => void | any"
2634
+ "text": "number"
2635
+ }
2636
+ },
2637
+ {
2638
+ "name": "clauseIndex",
2639
+ "type": {
2640
+ "text": "number"
2654
2641
  }
2655
2642
  }
2656
2643
  ]
2657
2644
  },
2658
2645
  {
2659
- "kind": "field",
2660
- "name": "allActions",
2661
- "type": {
2662
- "text": "ActionMenuItem[]"
2663
- },
2664
- "readonly": true
2646
+ "kind": "method",
2647
+ "name": "clearChips",
2648
+ "return": {
2649
+ "type": {
2650
+ "text": "void"
2651
+ }
2652
+ }
2665
2653
  },
2666
2654
  {
2667
- "kind": "field",
2668
- "name": "rowData",
2669
- "readonly": true
2655
+ "kind": "method",
2656
+ "name": "handleSubmit"
2670
2657
  },
2671
2658
  {
2672
2659
  "kind": "method",
2673
- "name": "getLabel",
2674
- "parameters": [
2675
- {
2676
- "name": "name",
2677
- "type": {
2678
- "text": "string | ((rowData: any) => string)"
2679
- }
2680
- }
2681
- ]
2660
+ "name": "handleBlur"
2682
2661
  },
2683
2662
  {
2684
2663
  "kind": "method",
2685
- "name": "getTemplate",
2686
- "parameters": [
2687
- {
2688
- "name": "prefix",
2689
- "type": {
2690
- "text": "string"
2691
- }
2692
- }
2693
- ]
2664
+ "name": "clear"
2665
+ },
2666
+ {
2667
+ "kind": "method",
2668
+ "name": "toggleSpeechInput"
2669
+ },
2670
+ {
2671
+ "kind": "method",
2672
+ "name": "clearSpeechApplyDebounce",
2673
+ "privacy": "private"
2694
2674
  },
2695
2675
  {
2696
2676
  "kind": "field",
@@ -2804,153 +2784,267 @@
2804
2784
  }
2805
2785
  }
2806
2786
  ],
2807
- "attributes": [
2808
- {
2809
- "name": "is-vertical",
2810
- "type": {
2811
- "text": "boolean"
2812
- },
2813
- "default": "false",
2814
- "fieldName": "isVertical"
2815
- },
2816
- {
2817
- "name": "add-default-actions",
2818
- "type": {
2819
- "text": "boolean"
2820
- },
2821
- "default": "true",
2822
- "fieldName": "addDefaultActions"
2823
- },
2824
- {
2825
- "name": "auto-close-on-action",
2826
- "type": {
2827
- "text": "boolean"
2828
- },
2829
- "default": "true",
2830
- "fieldName": "autoCloseOnAction"
2831
- },
2787
+ "events": [
2832
2788
  {
2833
- "name": "name",
2834
- "type": {
2835
- "text": "string"
2836
- },
2837
- "default": "'Actions'",
2838
- "fieldName": "name"
2789
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2790
+ "name": "criteria-changed"
2839
2791
  },
2840
2792
  {
2841
- "name": "open",
2842
- "type": {
2843
- "text": "boolean"
2844
- },
2845
- "default": "false",
2846
- "fieldName": "open"
2847
- },
2793
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2794
+ "name": "validation-errors"
2795
+ }
2796
+ ],
2797
+ "attributes": [
2848
2798
  {
2849
- "name": "buttonAppearance",
2799
+ "name": "placeholder",
2850
2800
  "type": {
2851
2801
  "text": "string"
2852
2802
  },
2853
- "fieldName": "buttonAppearance"
2854
- },
2855
- {
2856
- "name": "hide-disabled",
2857
- "type": {
2858
- "text": "boolean"
2859
- },
2860
- "default": "false",
2861
- "fieldName": "hideDisabled"
2803
+ "default": "'Describe your search criteria in natural language...'",
2804
+ "fieldName": "placeholder"
2862
2805
  },
2863
2806
  {
2864
- "name": "hide-menu-single-option",
2865
2807
  "type": {
2866
2808
  "text": "boolean"
2867
2809
  },
2868
- "default": "false",
2869
- "fieldName": "hideMenuSingleOption"
2810
+ "fieldName": "disabled"
2870
2811
  }
2871
2812
  ],
2872
2813
  "superclass": {
2873
2814
  "name": "FoundationElement",
2874
2815
  "package": "@microsoft/fast-foundation"
2875
2816
  },
2876
- "tagName": "%%prefix%%-actions-menu",
2817
+ "tagName": "%%prefix%%-ai-criteria-search",
2877
2818
  "customElement": true
2878
2819
  },
2879
2820
  {
2880
2821
  "kind": "variable",
2881
- "name": "foundationActionsMenu",
2882
- "description": "The Foundation Actions Menu",
2883
- "privacy": "public"
2822
+ "name": "foundationAiCriteriaSearchShadowOptions",
2823
+ "type": {
2824
+ "text": "ShadowRootInit"
2825
+ },
2826
+ "default": "undefined"
2827
+ },
2828
+ {
2829
+ "kind": "variable",
2830
+ "name": "defaultAiCriteriaSearchConfig",
2831
+ "type": {
2832
+ "text": "object"
2833
+ },
2834
+ "default": "{}"
2835
+ },
2836
+ {
2837
+ "kind": "variable",
2838
+ "name": "foundationAiCriteriaSearch"
2884
2839
  }
2885
2840
  ],
2886
2841
  "exports": [
2887
2842
  {
2888
2843
  "kind": "js",
2889
- "name": "ActionsMenu",
2844
+ "name": "AiCriteriaSearch",
2890
2845
  "declaration": {
2891
- "name": "ActionsMenu",
2892
- "module": "src/actions-menu/actions-menu.ts"
2846
+ "name": "AiCriteriaSearch",
2847
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2893
2848
  }
2894
2849
  },
2895
2850
  {
2896
2851
  "kind": "js",
2897
- "name": "foundationActionsMenu",
2852
+ "name": "foundationAiCriteriaSearchShadowOptions",
2898
2853
  "declaration": {
2899
- "name": "foundationActionsMenu",
2900
- "module": "src/actions-menu/actions-menu.ts"
2854
+ "name": "foundationAiCriteriaSearchShadowOptions",
2855
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2856
+ }
2857
+ },
2858
+ {
2859
+ "kind": "js",
2860
+ "name": "defaultAiCriteriaSearchConfig",
2861
+ "declaration": {
2862
+ "name": "defaultAiCriteriaSearchConfig",
2863
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2864
+ }
2865
+ },
2866
+ {
2867
+ "kind": "js",
2868
+ "name": "foundationAiCriteriaSearch",
2869
+ "declaration": {
2870
+ "name": "foundationAiCriteriaSearch",
2871
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2901
2872
  }
2902
2873
  }
2903
2874
  ]
2904
2875
  },
2905
2876
  {
2906
2877
  "kind": "javascript-module",
2907
- "path": "src/actions-menu/index.ts",
2878
+ "path": "src/ai-criteria-search/index.ts",
2908
2879
  "declarations": [],
2909
2880
  "exports": [
2910
2881
  {
2911
2882
  "kind": "js",
2912
- "name": "*",
2883
+ "name": "AiCriteriaSearch",
2913
2884
  "declaration": {
2914
- "name": "*",
2915
- "package": "./actions-menu.styles"
2885
+ "name": "AiCriteriaSearch",
2886
+ "module": "./ai-criteria-search"
2916
2887
  }
2917
2888
  },
2918
2889
  {
2919
2890
  "kind": "js",
2920
- "name": "*",
2891
+ "name": "defaultAiCriteriaSearchConfig",
2921
2892
  "declaration": {
2922
- "name": "*",
2923
- "package": "./actions-menu.template"
2893
+ "name": "defaultAiCriteriaSearchConfig",
2894
+ "module": "./ai-criteria-search"
2924
2895
  }
2925
2896
  },
2926
2897
  {
2927
2898
  "kind": "js",
2928
- "name": "*",
2899
+ "name": "foundationAiCriteriaSearch",
2929
2900
  "declaration": {
2930
- "name": "*",
2931
- "package": "./actions-menu"
2901
+ "name": "foundationAiCriteriaSearch",
2902
+ "module": "./ai-criteria-search"
2932
2903
  }
2933
- }
2934
- ]
2935
- },
2936
- {
2937
- "kind": "javascript-module",
2938
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2939
- "declarations": [
2904
+ },
2940
2905
  {
2941
- "kind": "function",
2942
- "name": "foundationAiIndicatorStyles",
2943
- "return": {
2944
- "type": {
2945
- "text": "ElementStyles"
2946
- }
2947
- },
2948
- "parameters": [
2949
- {
2950
- "name": "context",
2951
- "type": {
2952
- "text": "ElementDefinitionContext"
2953
- }
2906
+ "kind": "js",
2907
+ "name": "foundationAiCriteriaSearchShadowOptions",
2908
+ "declaration": {
2909
+ "name": "foundationAiCriteriaSearchShadowOptions",
2910
+ "module": "./ai-criteria-search"
2911
+ }
2912
+ },
2913
+ {
2914
+ "kind": "js",
2915
+ "name": "foundationAiCriteriaSearchStyles",
2916
+ "declaration": {
2917
+ "name": "foundationAiCriteriaSearchStyles",
2918
+ "module": "./ai-criteria-search.styles"
2919
+ }
2920
+ },
2921
+ {
2922
+ "kind": "js",
2923
+ "name": "foundationAiCriteriaSearchTemplate",
2924
+ "declaration": {
2925
+ "name": "foundationAiCriteriaSearchTemplate",
2926
+ "module": "./ai-criteria-search.template"
2927
+ }
2928
+ },
2929
+ {
2930
+ "kind": "js",
2931
+ "name": "*",
2932
+ "declaration": {
2933
+ "name": "*",
2934
+ "package": "./validation/criteria-ir"
2935
+ }
2936
+ },
2937
+ {
2938
+ "kind": "js",
2939
+ "name": "*",
2940
+ "declaration": {
2941
+ "name": "*",
2942
+ "package": "./validation/operator-map"
2943
+ }
2944
+ },
2945
+ {
2946
+ "kind": "js",
2947
+ "name": "*",
2948
+ "declaration": {
2949
+ "name": "*",
2950
+ "package": "./validation/schema-validator"
2951
+ }
2952
+ }
2953
+ ]
2954
+ },
2955
+ {
2956
+ "kind": "javascript-module",
2957
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2958
+ "declarations": [
2959
+ {
2960
+ "kind": "function",
2961
+ "name": "formatValidationErrors",
2962
+ "return": {
2963
+ "type": {
2964
+ "text": "string"
2965
+ }
2966
+ },
2967
+ "parameters": [
2968
+ {
2969
+ "name": "errors",
2970
+ "type": {
2971
+ "text": "ValidationError[]"
2972
+ }
2973
+ }
2974
+ ],
2975
+ "description": "Formats validation errors into a user-friendly message."
2976
+ },
2977
+ {
2978
+ "kind": "function",
2979
+ "name": "showCriteriaError",
2980
+ "return": {
2981
+ "type": {
2982
+ "text": "void"
2983
+ }
2984
+ },
2985
+ "parameters": [
2986
+ {
2987
+ "name": "title",
2988
+ "type": {
2989
+ "text": "string"
2990
+ },
2991
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2992
+ },
2993
+ {
2994
+ "name": "body",
2995
+ "type": {
2996
+ "text": "string"
2997
+ },
2998
+ "description": "Error message to display"
2999
+ },
3000
+ {
3001
+ "name": "tagName",
3002
+ "type": {
3003
+ "text": "string"
3004
+ },
3005
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3006
+ }
3007
+ ],
3008
+ "description": "Shows a criteria error as a toast notification."
3009
+ }
3010
+ ],
3011
+ "exports": [
3012
+ {
3013
+ "kind": "js",
3014
+ "name": "formatValidationErrors",
3015
+ "declaration": {
3016
+ "name": "formatValidationErrors",
3017
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3018
+ }
3019
+ },
3020
+ {
3021
+ "kind": "js",
3022
+ "name": "showCriteriaError",
3023
+ "declaration": {
3024
+ "name": "showCriteriaError",
3025
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3026
+ }
3027
+ }
3028
+ ]
3029
+ },
3030
+ {
3031
+ "kind": "javascript-module",
3032
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3033
+ "declarations": [
3034
+ {
3035
+ "kind": "function",
3036
+ "name": "foundationAiIndicatorStyles",
3037
+ "return": {
3038
+ "type": {
3039
+ "text": "ElementStyles"
3040
+ }
3041
+ },
3042
+ "parameters": [
3043
+ {
3044
+ "name": "context",
3045
+ "type": {
3046
+ "text": "ElementDefinitionContext"
3047
+ }
2954
3048
  },
2955
3049
  {
2956
3050
  "name": "definition",
@@ -3384,208 +3478,275 @@
3384
3478
  },
3385
3479
  {
3386
3480
  "kind": "javascript-module",
3387
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3481
+ "path": "src/accordion/accordion.styles.ts",
3388
3482
  "declarations": [
3389
3483
  {
3390
- "kind": "variable",
3391
- "name": "foundationAiCriteriaSearchStyles",
3392
- "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`"
3484
+ "kind": "function",
3485
+ "name": "foundationAccordionStyles",
3486
+ "return": {
3487
+ "type": {
3488
+ "text": "ElementStyles"
3489
+ }
3490
+ },
3491
+ "parameters": [
3492
+ {
3493
+ "name": "context",
3494
+ "type": {
3495
+ "text": "ElementDefinitionContext"
3496
+ }
3497
+ },
3498
+ {
3499
+ "name": "definition",
3500
+ "type": {
3501
+ "text": "FoundationElementDefinition"
3502
+ }
3503
+ }
3504
+ ]
3393
3505
  }
3394
3506
  ],
3395
3507
  "exports": [
3396
3508
  {
3397
3509
  "kind": "js",
3398
- "name": "foundationAiCriteriaSearchStyles",
3510
+ "name": "foundationAccordionStyles",
3399
3511
  "declaration": {
3400
- "name": "foundationAiCriteriaSearchStyles",
3401
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3512
+ "name": "foundationAccordionStyles",
3513
+ "module": "src/accordion/accordion.styles.ts"
3402
3514
  }
3403
3515
  }
3404
3516
  ]
3405
3517
  },
3406
3518
  {
3407
3519
  "kind": "javascript-module",
3408
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3520
+ "path": "src/accordion/accordion.template.ts",
3409
3521
  "declarations": [
3410
3522
  {
3411
- "kind": "variable",
3412
- "name": "foundationAiCriteriaSearchTemplate",
3413
- "type": {
3414
- "text": "ViewTemplate<AiCriteriaSearch>"
3523
+ "kind": "function",
3524
+ "name": "foundationAccordionTemplate",
3525
+ "return": {
3526
+ "type": {
3527
+ "text": "ViewTemplate<Accordion>"
3528
+ }
3415
3529
  },
3416
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3530
+ "parameters": [
3531
+ {
3532
+ "name": "context",
3533
+ "type": {
3534
+ "text": "ElementDefinitionContext"
3535
+ }
3536
+ },
3537
+ {
3538
+ "name": "definition",
3539
+ "type": {
3540
+ "text": "FoundationElementDefinition"
3541
+ }
3542
+ }
3543
+ ]
3417
3544
  }
3418
3545
  ],
3419
3546
  "exports": [
3420
3547
  {
3421
3548
  "kind": "js",
3422
- "name": "foundationAiCriteriaSearchTemplate",
3549
+ "name": "foundationAccordionTemplate",
3423
3550
  "declaration": {
3424
- "name": "foundationAiCriteriaSearchTemplate",
3425
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3551
+ "name": "foundationAccordionTemplate",
3552
+ "module": "src/accordion/accordion.template.ts"
3426
3553
  }
3427
3554
  }
3428
3555
  ]
3429
3556
  },
3430
3557
  {
3431
3558
  "kind": "javascript-module",
3432
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3559
+ "path": "src/accordion/accordion.ts",
3433
3560
  "declarations": [
3434
3561
  {
3435
3562
  "kind": "class",
3436
- "description": "Natural-language criteria search input with AI interpretation.",
3437
- "name": "AiCriteriaSearch",
3438
- "members": [
3439
- {
3440
- "kind": "field",
3441
- "name": "providerRegistry",
3442
- "type": {
3443
- "text": "AIProviderRegistry"
3444
- }
3445
- },
3563
+ "description": "",
3564
+ "name": "Accordion",
3565
+ "superclass": {
3566
+ "name": "FASTAccordion",
3567
+ "package": "@microsoft/fast-foundation"
3568
+ },
3569
+ "tagName": "%%prefix%%-accordion",
3570
+ "customElement": true,
3571
+ "attributes": [
3446
3572
  {
3447
- "kind": "field",
3448
- "name": "placeholder",
3573
+ "name": "expand-mode",
3449
3574
  "type": {
3450
- "text": "string"
3575
+ "text": "AccordionExpandMode"
3451
3576
  },
3452
- "default": "'Describe your search criteria in natural language...'"
3453
- },
3454
- {
3455
- "kind": "field",
3456
- "name": "disabled",
3457
- "type": {
3458
- "text": "boolean"
3577
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3578
+ "fieldName": "expandmode",
3579
+ "inheritedFrom": {
3580
+ "name": "Accordion",
3581
+ "module": "src/accordion/accordion.ts"
3459
3582
  }
3460
- },
3461
- {
3462
- "kind": "field",
3463
- "name": "inputValue",
3464
- "type": {
3465
- "text": "string"
3466
- },
3467
- "default": "''"
3468
- },
3583
+ }
3584
+ ],
3585
+ "members": [
3469
3586
  {
3470
3587
  "kind": "field",
3471
- "name": "isInterpreting",
3588
+ "name": "expandmode",
3472
3589
  "type": {
3473
- "text": "boolean"
3590
+ "text": "AccordionExpandMode"
3474
3591
  },
3475
- "default": "false"
3592
+ "privacy": "public",
3593
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3594
+ "inheritedFrom": {
3595
+ "name": "Accordion",
3596
+ "module": "src/accordion/accordion.ts"
3597
+ }
3476
3598
  },
3477
3599
  {
3478
3600
  "kind": "field",
3479
- "name": "lastValidCriteria",
3601
+ "name": "activeid",
3480
3602
  "type": {
3481
3603
  "text": "string | null"
3482
3604
  },
3483
- "default": "null"
3484
- },
3485
- {
3486
- "kind": "field",
3487
- "name": "activeGroups",
3488
- "type": {
3489
- "text": "CriteriaGroup[]"
3490
- },
3491
- "default": "[]"
3605
+ "privacy": "private",
3606
+ "inheritedFrom": {
3607
+ "name": "Accordion",
3608
+ "module": "src/accordion/accordion.ts"
3609
+ }
3492
3610
  },
3493
3611
  {
3494
3612
  "kind": "field",
3495
- "name": "showingChips",
3613
+ "name": "activeItemIndex",
3496
3614
  "type": {
3497
- "text": "boolean"
3615
+ "text": "number"
3498
3616
  },
3499
- "default": "false"
3617
+ "privacy": "private",
3618
+ "default": "0",
3619
+ "inheritedFrom": {
3620
+ "name": "Accordion",
3621
+ "module": "src/accordion/accordion.ts"
3622
+ }
3500
3623
  },
3501
3624
  {
3502
3625
  "kind": "field",
3503
- "name": "fieldMetadata",
3626
+ "name": "accordionIds",
3504
3627
  "type": {
3505
- "text": "MetadataDetail[] | string[]"
3628
+ "text": "Array<string | null>"
3506
3629
  },
3507
- "default": "[]"
3630
+ "privacy": "private",
3631
+ "inheritedFrom": {
3632
+ "name": "Accordion",
3633
+ "module": "src/accordion/accordion.ts"
3634
+ }
3508
3635
  },
3509
3636
  {
3510
3637
  "kind": "field",
3511
- "name": "isRecording",
3512
- "type": {
3513
- "text": "boolean"
3514
- },
3515
- "default": "false"
3638
+ "name": "change",
3639
+ "privacy": "private",
3640
+ "inheritedFrom": {
3641
+ "name": "Accordion",
3642
+ "module": "src/accordion/accordion.ts"
3643
+ }
3516
3644
  },
3517
3645
  {
3518
- "kind": "field",
3519
- "name": "textAreaRef",
3520
- "type": {
3521
- "text": "HTMLTextAreaElement"
3646
+ "kind": "method",
3647
+ "name": "findExpandedItem",
3648
+ "privacy": "private",
3649
+ "return": {
3650
+ "type": {
3651
+ "text": "AccordionItem | null"
3652
+ }
3522
3653
  },
3523
- "privacy": "public"
3654
+ "inheritedFrom": {
3655
+ "name": "Accordion",
3656
+ "module": "src/accordion/accordion.ts"
3657
+ }
3524
3658
  },
3525
3659
  {
3526
3660
  "kind": "field",
3527
- "name": "stopRecording",
3528
- "type": {
3529
- "text": "(() => void) | null"
3530
- },
3661
+ "name": "setItems",
3531
3662
  "privacy": "private",
3532
- "default": "null"
3663
+ "inheritedFrom": {
3664
+ "name": "Accordion",
3665
+ "module": "src/accordion/accordion.ts"
3666
+ }
3533
3667
  },
3534
3668
  {
3535
- "kind": "field",
3536
- "name": "speechApplyDebounceTimer",
3537
- "type": {
3538
- "text": "ReturnType<typeof setTimeout> | null"
3539
- },
3669
+ "kind": "method",
3670
+ "name": "resetItems",
3540
3671
  "privacy": "private",
3541
- "default": "null"
3672
+ "return": {
3673
+ "type": {
3674
+ "text": "void"
3675
+ }
3676
+ },
3677
+ "inheritedFrom": {
3678
+ "name": "Accordion",
3679
+ "module": "src/accordion/accordion.ts"
3680
+ }
3542
3681
  },
3543
3682
  {
3544
3683
  "kind": "field",
3545
- "name": "speechAvailable",
3546
- "type": {
3547
- "text": "boolean"
3548
- },
3549
- "readonly": true
3684
+ "name": "removeItemListeners",
3685
+ "privacy": "private",
3686
+ "inheritedFrom": {
3687
+ "name": "Accordion",
3688
+ "module": "src/accordion/accordion.ts"
3689
+ }
3550
3690
  },
3551
3691
  {
3552
3692
  "kind": "field",
3553
- "name": "criteriaChips",
3554
- "type": {
3555
- "text": "CriteriaChip[]"
3556
- },
3557
- "readonly": true
3693
+ "name": "activeItemChange",
3694
+ "privacy": "private",
3695
+ "inheritedFrom": {
3696
+ "name": "Accordion",
3697
+ "module": "src/accordion/accordion.ts"
3698
+ }
3558
3699
  },
3559
3700
  {
3560
3701
  "kind": "method",
3561
- "name": "getFieldLabel",
3702
+ "name": "getItemIds",
3562
3703
  "privacy": "private",
3563
3704
  "return": {
3564
3705
  "type": {
3565
- "text": "string"
3706
+ "text": "Array<string | null>"
3566
3707
  }
3567
3708
  },
3568
- "parameters": [
3569
- {
3570
- "name": "fieldName",
3571
- "type": {
3572
- "text": "string"
3573
- }
3574
- }
3575
- ]
3709
+ "inheritedFrom": {
3710
+ "name": "Accordion",
3711
+ "module": "src/accordion/accordion.ts"
3712
+ }
3576
3713
  },
3577
3714
  {
3578
3715
  "kind": "method",
3579
- "name": "toggleCriteriaView",
3716
+ "name": "isSingleExpandMode",
3717
+ "privacy": "private",
3580
3718
  "return": {
3581
3719
  "type": {
3582
- "text": "void"
3720
+ "text": "boolean"
3583
3721
  }
3722
+ },
3723
+ "inheritedFrom": {
3724
+ "name": "Accordion",
3725
+ "module": "src/accordion/accordion.ts"
3726
+ }
3727
+ },
3728
+ {
3729
+ "kind": "field",
3730
+ "name": "handleItemKeyDown",
3731
+ "privacy": "private",
3732
+ "inheritedFrom": {
3733
+ "name": "Accordion",
3734
+ "module": "src/accordion/accordion.ts"
3735
+ }
3736
+ },
3737
+ {
3738
+ "kind": "field",
3739
+ "name": "handleItemFocus",
3740
+ "privacy": "private",
3741
+ "inheritedFrom": {
3742
+ "name": "Accordion",
3743
+ "module": "src/accordion/accordion.ts"
3584
3744
  }
3585
3745
  },
3586
3746
  {
3587
3747
  "kind": "method",
3588
- "name": "removeChip",
3748
+ "name": "adjust",
3749
+ "privacy": "private",
3589
3750
  "return": {
3590
3751
  "type": {
3591
3752
  "text": "void"
@@ -3593,49 +3754,31 @@
3593
3754
  },
3594
3755
  "parameters": [
3595
3756
  {
3596
- "name": "groupIndex",
3597
- "type": {
3598
- "text": "number"
3599
- }
3600
- },
3601
- {
3602
- "name": "clauseIndex",
3757
+ "name": "adjustment",
3603
3758
  "type": {
3604
3759
  "text": "number"
3605
3760
  }
3606
3761
  }
3607
- ]
3762
+ ],
3763
+ "inheritedFrom": {
3764
+ "name": "Accordion",
3765
+ "module": "src/accordion/accordion.ts"
3766
+ }
3608
3767
  },
3609
3768
  {
3610
3769
  "kind": "method",
3611
- "name": "clearChips",
3770
+ "name": "focusItem",
3771
+ "privacy": "private",
3612
3772
  "return": {
3613
3773
  "type": {
3614
3774
  "text": "void"
3615
3775
  }
3776
+ },
3777
+ "inheritedFrom": {
3778
+ "name": "Accordion",
3779
+ "module": "src/accordion/accordion.ts"
3616
3780
  }
3617
3781
  },
3618
- {
3619
- "kind": "method",
3620
- "name": "handleSubmit"
3621
- },
3622
- {
3623
- "kind": "method",
3624
- "name": "handleBlur"
3625
- },
3626
- {
3627
- "kind": "method",
3628
- "name": "clear"
3629
- },
3630
- {
3631
- "kind": "method",
3632
- "name": "toggleSpeechInput"
3633
- },
3634
- {
3635
- "kind": "method",
3636
- "name": "clearSpeechApplyDebounce",
3637
- "privacy": "private"
3638
- },
3639
3782
  {
3640
3783
  "kind": "field",
3641
3784
  "name": "_presentation",
@@ -3750,48 +3893,26 @@
3750
3893
  ],
3751
3894
  "events": [
3752
3895
  {
3753
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3754
- "name": "criteria-changed"
3755
- },
3756
- {
3757
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3758
- "name": "validation-errors"
3759
- }
3760
- ],
3761
- "attributes": [
3762
- {
3763
- "name": "placeholder",
3764
- "type": {
3765
- "text": "string"
3766
- },
3767
- "default": "'Describe your search criteria in natural language...'",
3768
- "fieldName": "placeholder"
3769
- },
3770
- {
3771
- "type": {
3772
- "text": "boolean"
3773
- },
3774
- "fieldName": "disabled"
3896
+ "description": "Fires a custom 'change' event when the active item changes",
3897
+ "name": "change",
3898
+ "inheritedFrom": {
3899
+ "name": "Accordion",
3900
+ "module": "src/accordion/accordion.ts"
3901
+ }
3775
3902
  }
3776
- ],
3777
- "superclass": {
3778
- "name": "FoundationElement",
3779
- "package": "@microsoft/fast-foundation"
3780
- },
3781
- "tagName": "%%prefix%%-ai-criteria-search",
3782
- "customElement": true
3903
+ ]
3783
3904
  },
3784
3905
  {
3785
3906
  "kind": "variable",
3786
- "name": "foundationAiCriteriaSearchShadowOptions",
3907
+ "name": "foundationAccordionShadowOptions",
3787
3908
  "type": {
3788
3909
  "text": "ShadowRootInit"
3789
3910
  },
3790
- "default": "undefined"
3911
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3791
3912
  },
3792
3913
  {
3793
3914
  "kind": "variable",
3794
- "name": "defaultAiCriteriaSearchConfig",
3915
+ "name": "defaultAccordionConfig",
3795
3916
  "type": {
3796
3917
  "text": "object"
3797
3918
  },
@@ -3799,103 +3920,57 @@
3799
3920
  },
3800
3921
  {
3801
3922
  "kind": "variable",
3802
- "name": "foundationAiCriteriaSearch"
3923
+ "name": "foundationAccordion",
3924
+ "description": "The Foundation Accordion",
3925
+ "privacy": "public"
3803
3926
  }
3804
3927
  ],
3805
3928
  "exports": [
3806
3929
  {
3807
3930
  "kind": "js",
3808
- "name": "AiCriteriaSearch",
3931
+ "name": "Accordion",
3809
3932
  "declaration": {
3810
- "name": "AiCriteriaSearch",
3811
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3933
+ "name": "Accordion",
3934
+ "module": "src/accordion/accordion.ts"
3812
3935
  }
3813
3936
  },
3814
3937
  {
3815
3938
  "kind": "js",
3816
- "name": "foundationAiCriteriaSearchShadowOptions",
3939
+ "name": "foundationAccordionShadowOptions",
3817
3940
  "declaration": {
3818
- "name": "foundationAiCriteriaSearchShadowOptions",
3819
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3941
+ "name": "foundationAccordionShadowOptions",
3942
+ "module": "src/accordion/accordion.ts"
3820
3943
  }
3821
3944
  },
3822
3945
  {
3823
3946
  "kind": "js",
3824
- "name": "defaultAiCriteriaSearchConfig",
3947
+ "name": "defaultAccordionConfig",
3825
3948
  "declaration": {
3826
- "name": "defaultAiCriteriaSearchConfig",
3827
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3949
+ "name": "defaultAccordionConfig",
3950
+ "module": "src/accordion/accordion.ts"
3828
3951
  }
3829
3952
  },
3830
3953
  {
3831
3954
  "kind": "js",
3832
- "name": "foundationAiCriteriaSearch",
3955
+ "name": "foundationAccordion",
3833
3956
  "declaration": {
3834
- "name": "foundationAiCriteriaSearch",
3835
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3957
+ "name": "foundationAccordion",
3958
+ "module": "src/accordion/accordion.ts"
3836
3959
  }
3837
3960
  }
3838
3961
  ]
3839
3962
  },
3840
3963
  {
3841
3964
  "kind": "javascript-module",
3842
- "path": "src/ai-criteria-search/index.ts",
3965
+ "path": "src/accordion/index.ts",
3843
3966
  "declarations": [],
3844
3967
  "exports": [
3845
- {
3846
- "kind": "js",
3847
- "name": "AiCriteriaSearch",
3848
- "declaration": {
3849
- "name": "AiCriteriaSearch",
3850
- "module": "./ai-criteria-search"
3851
- }
3852
- },
3853
- {
3854
- "kind": "js",
3855
- "name": "defaultAiCriteriaSearchConfig",
3856
- "declaration": {
3857
- "name": "defaultAiCriteriaSearchConfig",
3858
- "module": "./ai-criteria-search"
3859
- }
3860
- },
3861
- {
3862
- "kind": "js",
3863
- "name": "foundationAiCriteriaSearch",
3864
- "declaration": {
3865
- "name": "foundationAiCriteriaSearch",
3866
- "module": "./ai-criteria-search"
3867
- }
3868
- },
3869
- {
3870
- "kind": "js",
3871
- "name": "foundationAiCriteriaSearchShadowOptions",
3872
- "declaration": {
3873
- "name": "foundationAiCriteriaSearchShadowOptions",
3874
- "module": "./ai-criteria-search"
3875
- }
3876
- },
3877
- {
3878
- "kind": "js",
3879
- "name": "foundationAiCriteriaSearchStyles",
3880
- "declaration": {
3881
- "name": "foundationAiCriteriaSearchStyles",
3882
- "module": "./ai-criteria-search.styles"
3883
- }
3884
- },
3885
- {
3886
- "kind": "js",
3887
- "name": "foundationAiCriteriaSearchTemplate",
3888
- "declaration": {
3889
- "name": "foundationAiCriteriaSearchTemplate",
3890
- "module": "./ai-criteria-search.template"
3891
- }
3892
- },
3893
3968
  {
3894
3969
  "kind": "js",
3895
3970
  "name": "*",
3896
3971
  "declaration": {
3897
3972
  "name": "*",
3898
- "package": "./validation/criteria-ir"
3973
+ "package": "./accordion.template"
3899
3974
  }
3900
3975
  },
3901
3976
  {
@@ -3903,7 +3978,7 @@
3903
3978
  "name": "*",
3904
3979
  "declaration": {
3905
3980
  "name": "*",
3906
- "package": "./validation/operator-map"
3981
+ "package": "./accordion.styles"
3907
3982
  }
3908
3983
  },
3909
3984
  {
@@ -3911,82 +3986,7 @@
3911
3986
  "name": "*",
3912
3987
  "declaration": {
3913
3988
  "name": "*",
3914
- "package": "./validation/schema-validator"
3915
- }
3916
- }
3917
- ]
3918
- },
3919
- {
3920
- "kind": "javascript-module",
3921
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3922
- "declarations": [
3923
- {
3924
- "kind": "function",
3925
- "name": "formatValidationErrors",
3926
- "return": {
3927
- "type": {
3928
- "text": "string"
3929
- }
3930
- },
3931
- "parameters": [
3932
- {
3933
- "name": "errors",
3934
- "type": {
3935
- "text": "ValidationError[]"
3936
- }
3937
- }
3938
- ],
3939
- "description": "Formats validation errors into a user-friendly message."
3940
- },
3941
- {
3942
- "kind": "function",
3943
- "name": "showCriteriaError",
3944
- "return": {
3945
- "type": {
3946
- "text": "void"
3947
- }
3948
- },
3949
- "parameters": [
3950
- {
3951
- "name": "title",
3952
- "type": {
3953
- "text": "string"
3954
- },
3955
- "description": "Notification title (e.g. \"Criteria validation error\")"
3956
- },
3957
- {
3958
- "name": "body",
3959
- "type": {
3960
- "text": "string"
3961
- },
3962
- "description": "Error message to display"
3963
- },
3964
- {
3965
- "name": "tagName",
3966
- "type": {
3967
- "text": "string"
3968
- },
3969
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3970
- }
3971
- ],
3972
- "description": "Shows a criteria error as a toast notification."
3973
- }
3974
- ],
3975
- "exports": [
3976
- {
3977
- "kind": "js",
3978
- "name": "formatValidationErrors",
3979
- "declaration": {
3980
- "name": "formatValidationErrors",
3981
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3982
- }
3983
- },
3984
- {
3985
- "kind": "js",
3986
- "name": "showCriteriaError",
3987
- "declaration": {
3988
- "name": "showCriteriaError",
3989
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3989
+ "package": "./accordion"
3990
3990
  }
3991
3991
  }
3992
3992
  ]