@genesislcap/foundation-ui 14.430.2-FUI-2528.1 → 14.430.2-FUI-2528.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1400,65 +1400,11 @@
1400
1400
  },
1401
1401
  {
1402
1402
  "kind": "javascript-module",
1403
- "path": "src/_config/index.ts",
1404
- "declarations": [],
1405
- "exports": [
1406
- {
1407
- "kind": "js",
1408
- "name": "*",
1409
- "declaration": {
1410
- "name": "*",
1411
- "package": "./styles"
1412
- }
1413
- },
1414
- {
1415
- "kind": "js",
1416
- "name": "*",
1417
- "declaration": {
1418
- "name": "*",
1419
- "package": "./tokens"
1420
- }
1421
- },
1422
- {
1423
- "kind": "js",
1424
- "name": "*",
1425
- "declaration": {
1426
- "name": "*",
1427
- "package": "./values"
1428
- }
1429
- }
1430
- ]
1431
- },
1432
- {
1433
- "kind": "javascript-module",
1434
- "path": "src/actions-menu/actions-menu.styles.ts",
1403
+ "path": "src/accordion/accordion.styles.ts",
1435
1404
  "declarations": [
1436
1405
  {
1437
1406
  "kind": "function",
1438
- "name": "actionsMenuBaseStyles",
1439
- "return": {
1440
- "type": {
1441
- "text": "ElementStyles"
1442
- }
1443
- },
1444
- "parameters": [
1445
- {
1446
- "name": "context",
1447
- "type": {
1448
- "text": "ElementDefinitionContext"
1449
- }
1450
- },
1451
- {
1452
- "name": "definition",
1453
- "type": {
1454
- "text": "FoundationElementDefinition"
1455
- }
1456
- }
1457
- ]
1458
- },
1459
- {
1460
- "kind": "function",
1461
- "name": "foundationActionsMenuStyles",
1407
+ "name": "foundationAccordionStyles",
1462
1408
  "return": {
1463
1409
  "type": {
1464
1410
  "text": "ElementStyles"
@@ -1483,269 +1429,277 @@
1483
1429
  "exports": [
1484
1430
  {
1485
1431
  "kind": "js",
1486
- "name": "actionsMenuBaseStyles",
1487
- "declaration": {
1488
- "name": "actionsMenuBaseStyles",
1489
- "module": "src/actions-menu/actions-menu.styles.ts"
1490
- }
1491
- },
1492
- {
1493
- "kind": "js",
1494
- "name": "foundationActionsMenuStyles",
1432
+ "name": "foundationAccordionStyles",
1495
1433
  "declaration": {
1496
- "name": "foundationActionsMenuStyles",
1497
- "module": "src/actions-menu/actions-menu.styles.ts"
1434
+ "name": "foundationAccordionStyles",
1435
+ "module": "src/accordion/accordion.styles.ts"
1498
1436
  }
1499
1437
  }
1500
1438
  ]
1501
1439
  },
1502
1440
  {
1503
1441
  "kind": "javascript-module",
1504
- "path": "src/actions-menu/actions-menu.template.ts",
1442
+ "path": "src/accordion/accordion.template.ts",
1505
1443
  "declarations": [
1506
1444
  {
1507
1445
  "kind": "function",
1508
- "name": "menuTemplate",
1446
+ "name": "foundationAccordionTemplate",
1447
+ "return": {
1448
+ "type": {
1449
+ "text": "ViewTemplate<Accordion>"
1450
+ }
1451
+ },
1509
1452
  "parameters": [
1510
1453
  {
1511
- "name": "prefix",
1454
+ "name": "context",
1512
1455
  "type": {
1513
- "text": "string"
1456
+ "text": "ElementDefinitionContext"
1514
1457
  }
1515
- }
1516
- ]
1517
- },
1518
- {
1519
- "kind": "function",
1520
- "name": "singleOptionTemplate",
1521
- "parameters": [
1458
+ },
1522
1459
  {
1523
- "name": "prefix",
1460
+ "name": "definition",
1524
1461
  "type": {
1525
- "text": "string"
1462
+ "text": "FoundationElementDefinition"
1526
1463
  }
1527
1464
  }
1528
1465
  ]
1529
- },
1530
- {
1531
- "kind": "variable",
1532
- "name": "foundationActionsMenuTemplate",
1533
- "type": {
1534
- "text": "ViewTemplate<ActionsMenu>"
1535
- },
1536
- "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`"
1537
1466
  }
1538
1467
  ],
1539
1468
  "exports": [
1540
1469
  {
1541
1470
  "kind": "js",
1542
- "name": "menuTemplate",
1543
- "declaration": {
1544
- "name": "menuTemplate",
1545
- "module": "src/actions-menu/actions-menu.template.ts"
1546
- }
1547
- },
1548
- {
1549
- "kind": "js",
1550
- "name": "singleOptionTemplate",
1551
- "declaration": {
1552
- "name": "singleOptionTemplate",
1553
- "module": "src/actions-menu/actions-menu.template.ts"
1554
- }
1555
- },
1556
- {
1557
- "kind": "js",
1558
- "name": "foundationActionsMenuTemplate",
1471
+ "name": "foundationAccordionTemplate",
1559
1472
  "declaration": {
1560
- "name": "foundationActionsMenuTemplate",
1561
- "module": "src/actions-menu/actions-menu.template.ts"
1473
+ "name": "foundationAccordionTemplate",
1474
+ "module": "src/accordion/accordion.template.ts"
1562
1475
  }
1563
1476
  }
1564
1477
  ]
1565
1478
  },
1566
1479
  {
1567
1480
  "kind": "javascript-module",
1568
- "path": "src/actions-menu/actions-menu.ts",
1481
+ "path": "src/accordion/accordion.ts",
1569
1482
  "declarations": [
1570
1483
  {
1571
1484
  "kind": "class",
1572
1485
  "description": "",
1573
- "name": "ActionsMenu",
1574
- "members": [
1486
+ "name": "Accordion",
1487
+ "superclass": {
1488
+ "name": "FASTAccordion",
1489
+ "package": "@microsoft/fast-foundation"
1490
+ },
1491
+ "tagName": "%%prefix%%-accordion",
1492
+ "customElement": true,
1493
+ "attributes": [
1575
1494
  {
1576
- "kind": "field",
1577
- "name": "actions",
1495
+ "name": "expand-mode",
1578
1496
  "type": {
1579
- "text": "ActionMenuItem[]"
1497
+ "text": "AccordionExpandMode"
1498
+ },
1499
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1500
+ "fieldName": "expandmode",
1501
+ "inheritedFrom": {
1502
+ "name": "Accordion",
1503
+ "module": "src/accordion/accordion.ts"
1580
1504
  }
1581
- },
1505
+ }
1506
+ ],
1507
+ "members": [
1582
1508
  {
1583
1509
  "kind": "field",
1584
- "name": "isVertical",
1510
+ "name": "expandmode",
1585
1511
  "type": {
1586
- "text": "boolean"
1512
+ "text": "AccordionExpandMode"
1587
1513
  },
1588
- "default": "false"
1514
+ "privacy": "public",
1515
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1516
+ "inheritedFrom": {
1517
+ "name": "Accordion",
1518
+ "module": "src/accordion/accordion.ts"
1519
+ }
1589
1520
  },
1590
1521
  {
1591
1522
  "kind": "field",
1592
- "name": "addDefaultActions",
1523
+ "name": "activeid",
1593
1524
  "type": {
1594
- "text": "boolean"
1525
+ "text": "string | null"
1595
1526
  },
1596
- "default": "true"
1527
+ "privacy": "private",
1528
+ "inheritedFrom": {
1529
+ "name": "Accordion",
1530
+ "module": "src/accordion/accordion.ts"
1531
+ }
1597
1532
  },
1598
1533
  {
1599
1534
  "kind": "field",
1600
- "name": "autoCloseOnAction",
1535
+ "name": "activeItemIndex",
1601
1536
  "type": {
1602
- "text": "boolean"
1537
+ "text": "number"
1603
1538
  },
1604
- "default": "true"
1539
+ "privacy": "private",
1540
+ "default": "0",
1541
+ "inheritedFrom": {
1542
+ "name": "Accordion",
1543
+ "module": "src/accordion/accordion.ts"
1544
+ }
1605
1545
  },
1606
1546
  {
1607
1547
  "kind": "field",
1608
- "name": "classNames",
1548
+ "name": "accordionIds",
1609
1549
  "type": {
1610
- "text": "string"
1550
+ "text": "Array<string | null>"
1551
+ },
1552
+ "privacy": "private",
1553
+ "inheritedFrom": {
1554
+ "name": "Accordion",
1555
+ "module": "src/accordion/accordion.ts"
1611
1556
  }
1612
1557
  },
1613
1558
  {
1614
1559
  "kind": "field",
1615
- "name": "definition",
1616
- "type": {
1617
- "text": "any"
1560
+ "name": "change",
1561
+ "privacy": "private",
1562
+ "inheritedFrom": {
1563
+ "name": "Accordion",
1564
+ "module": "src/accordion/accordion.ts"
1618
1565
  }
1619
1566
  },
1620
1567
  {
1621
- "kind": "field",
1622
- "name": "name",
1623
- "type": {
1624
- "text": "string"
1568
+ "kind": "method",
1569
+ "name": "findExpandedItem",
1570
+ "privacy": "private",
1571
+ "return": {
1572
+ "type": {
1573
+ "text": "AccordionItem | null"
1574
+ }
1625
1575
  },
1626
- "default": "'Actions'"
1576
+ "inheritedFrom": {
1577
+ "name": "Accordion",
1578
+ "module": "src/accordion/accordion.ts"
1579
+ }
1627
1580
  },
1628
1581
  {
1629
1582
  "kind": "field",
1630
- "name": "open",
1631
- "type": {
1632
- "text": "boolean"
1633
- },
1634
- "default": "false"
1583
+ "name": "setItems",
1584
+ "privacy": "private",
1585
+ "inheritedFrom": {
1586
+ "name": "Accordion",
1587
+ "module": "src/accordion/accordion.ts"
1588
+ }
1635
1589
  },
1636
1590
  {
1637
- "kind": "field",
1638
- "name": "buttonAppearance",
1639
- "type": {
1640
- "text": "string"
1591
+ "kind": "method",
1592
+ "name": "resetItems",
1593
+ "privacy": "private",
1594
+ "return": {
1595
+ "type": {
1596
+ "text": "void"
1597
+ }
1598
+ },
1599
+ "inheritedFrom": {
1600
+ "name": "Accordion",
1601
+ "module": "src/accordion/accordion.ts"
1641
1602
  }
1642
1603
  },
1643
1604
  {
1644
1605
  "kind": "field",
1645
- "name": "hideDisabled",
1646
- "type": {
1647
- "text": "boolean"
1648
- },
1649
- "default": "false"
1606
+ "name": "removeItemListeners",
1607
+ "privacy": "private",
1608
+ "inheritedFrom": {
1609
+ "name": "Accordion",
1610
+ "module": "src/accordion/accordion.ts"
1611
+ }
1650
1612
  },
1651
1613
  {
1652
1614
  "kind": "field",
1653
- "name": "hideMenuSingleOption",
1654
- "type": {
1655
- "text": "boolean"
1656
- },
1657
- "default": "false"
1658
- },
1659
- {
1660
- "kind": "field",
1661
- "name": "singleOption",
1662
- "type": {
1663
- "text": "ActionMenuItem"
1664
- }
1665
- },
1666
- {
1667
- "kind": "field",
1668
- "name": "actionsMenu",
1669
- "type": {
1670
- "text": "HTMLElement"
1615
+ "name": "activeItemChange",
1616
+ "privacy": "private",
1617
+ "inheritedFrom": {
1618
+ "name": "Accordion",
1619
+ "module": "src/accordion/accordion.ts"
1671
1620
  }
1672
1621
  },
1673
1622
  {
1674
1623
  "kind": "method",
1675
- "name": "definitionChanged",
1676
- "privacy": "protected",
1677
- "parameters": [
1678
- {
1679
- "name": "oldValue",
1680
- "type": {
1681
- "text": "any"
1682
- }
1683
- },
1684
- {
1685
- "name": "newValue",
1686
- "type": {
1687
- "text": "any"
1688
- }
1624
+ "name": "getItemIds",
1625
+ "privacy": "private",
1626
+ "return": {
1627
+ "type": {
1628
+ "text": "Array<string | null>"
1689
1629
  }
1690
- ]
1691
- },
1692
- {
1693
- "kind": "method",
1694
- "name": "openChanged",
1695
- "privacy": "protected"
1696
- },
1697
- {
1698
- "kind": "method",
1699
- "name": "toggleActionsMenuVisibility"
1630
+ },
1631
+ "inheritedFrom": {
1632
+ "name": "Accordion",
1633
+ "module": "src/accordion/accordion.ts"
1634
+ }
1700
1635
  },
1701
1636
  {
1702
1637
  "kind": "method",
1703
- "name": "onActionMenuItemClick",
1704
- "parameters": [
1705
- {
1706
- "name": "callback",
1707
- "type": {
1708
- "text": "(rowData) => void | any"
1709
- }
1638
+ "name": "isSingleExpandMode",
1639
+ "privacy": "private",
1640
+ "return": {
1641
+ "type": {
1642
+ "text": "boolean"
1710
1643
  }
1711
- ]
1644
+ },
1645
+ "inheritedFrom": {
1646
+ "name": "Accordion",
1647
+ "module": "src/accordion/accordion.ts"
1648
+ }
1712
1649
  },
1713
1650
  {
1714
1651
  "kind": "field",
1715
- "name": "allActions",
1716
- "type": {
1717
- "text": "ActionMenuItem[]"
1718
- },
1719
- "readonly": true
1652
+ "name": "handleItemKeyDown",
1653
+ "privacy": "private",
1654
+ "inheritedFrom": {
1655
+ "name": "Accordion",
1656
+ "module": "src/accordion/accordion.ts"
1657
+ }
1720
1658
  },
1721
1659
  {
1722
1660
  "kind": "field",
1723
- "name": "rowData",
1724
- "readonly": true
1661
+ "name": "handleItemFocus",
1662
+ "privacy": "private",
1663
+ "inheritedFrom": {
1664
+ "name": "Accordion",
1665
+ "module": "src/accordion/accordion.ts"
1666
+ }
1725
1667
  },
1726
1668
  {
1727
1669
  "kind": "method",
1728
- "name": "getLabel",
1670
+ "name": "adjust",
1671
+ "privacy": "private",
1672
+ "return": {
1673
+ "type": {
1674
+ "text": "void"
1675
+ }
1676
+ },
1729
1677
  "parameters": [
1730
1678
  {
1731
- "name": "name",
1679
+ "name": "adjustment",
1732
1680
  "type": {
1733
- "text": "string | ((rowData: any) => string)"
1681
+ "text": "number"
1734
1682
  }
1735
1683
  }
1736
- ]
1684
+ ],
1685
+ "inheritedFrom": {
1686
+ "name": "Accordion",
1687
+ "module": "src/accordion/accordion.ts"
1688
+ }
1737
1689
  },
1738
1690
  {
1739
1691
  "kind": "method",
1740
- "name": "getTemplate",
1741
- "parameters": [
1742
- {
1743
- "name": "prefix",
1744
- "type": {
1745
- "text": "string"
1746
- }
1692
+ "name": "focusItem",
1693
+ "privacy": "private",
1694
+ "return": {
1695
+ "type": {
1696
+ "text": "void"
1747
1697
  }
1748
- ]
1698
+ },
1699
+ "inheritedFrom": {
1700
+ "name": "Accordion",
1701
+ "module": "src/accordion/accordion.ts"
1702
+ }
1749
1703
  },
1750
1704
  {
1751
1705
  "kind": "field",
@@ -1859,107 +1813,78 @@
1859
1813
  }
1860
1814
  }
1861
1815
  ],
1862
- "attributes": [
1863
- {
1864
- "name": "is-vertical",
1865
- "type": {
1866
- "text": "boolean"
1867
- },
1868
- "default": "false",
1869
- "fieldName": "isVertical"
1870
- },
1871
- {
1872
- "name": "add-default-actions",
1873
- "type": {
1874
- "text": "boolean"
1875
- },
1876
- "default": "true",
1877
- "fieldName": "addDefaultActions"
1878
- },
1879
- {
1880
- "name": "auto-close-on-action",
1881
- "type": {
1882
- "text": "boolean"
1883
- },
1884
- "default": "true",
1885
- "fieldName": "autoCloseOnAction"
1886
- },
1887
- {
1888
- "name": "name",
1889
- "type": {
1890
- "text": "string"
1891
- },
1892
- "default": "'Actions'",
1893
- "fieldName": "name"
1894
- },
1895
- {
1896
- "name": "open",
1897
- "type": {
1898
- "text": "boolean"
1899
- },
1900
- "default": "false",
1901
- "fieldName": "open"
1902
- },
1903
- {
1904
- "name": "buttonAppearance",
1905
- "type": {
1906
- "text": "string"
1907
- },
1908
- "fieldName": "buttonAppearance"
1909
- },
1910
- {
1911
- "name": "hide-disabled",
1912
- "type": {
1913
- "text": "boolean"
1914
- },
1915
- "default": "false",
1916
- "fieldName": "hideDisabled"
1917
- },
1816
+ "events": [
1918
1817
  {
1919
- "name": "hide-menu-single-option",
1920
- "type": {
1921
- "text": "boolean"
1922
- },
1923
- "default": "false",
1924
- "fieldName": "hideMenuSingleOption"
1818
+ "description": "Fires a custom 'change' event when the active item changes",
1819
+ "name": "change",
1820
+ "inheritedFrom": {
1821
+ "name": "Accordion",
1822
+ "module": "src/accordion/accordion.ts"
1823
+ }
1925
1824
  }
1926
- ],
1927
- "superclass": {
1928
- "name": "FoundationElement",
1929
- "package": "@microsoft/fast-foundation"
1825
+ ]
1826
+ },
1827
+ {
1828
+ "kind": "variable",
1829
+ "name": "foundationAccordionShadowOptions",
1830
+ "type": {
1831
+ "text": "ShadowRootInit"
1930
1832
  },
1931
- "tagName": "%%prefix%%-actions-menu",
1932
- "customElement": true
1833
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1933
1834
  },
1934
1835
  {
1935
1836
  "kind": "variable",
1936
- "name": "foundationActionsMenu",
1937
- "description": "The Foundation Actions Menu",
1837
+ "name": "defaultAccordionConfig",
1838
+ "type": {
1839
+ "text": "object"
1840
+ },
1841
+ "default": "{}"
1842
+ },
1843
+ {
1844
+ "kind": "variable",
1845
+ "name": "foundationAccordion",
1846
+ "description": "The Foundation Accordion",
1938
1847
  "privacy": "public"
1939
1848
  }
1940
1849
  ],
1941
1850
  "exports": [
1942
1851
  {
1943
1852
  "kind": "js",
1944
- "name": "ActionsMenu",
1853
+ "name": "Accordion",
1945
1854
  "declaration": {
1946
- "name": "ActionsMenu",
1947
- "module": "src/actions-menu/actions-menu.ts"
1855
+ "name": "Accordion",
1856
+ "module": "src/accordion/accordion.ts"
1948
1857
  }
1949
1858
  },
1950
1859
  {
1951
1860
  "kind": "js",
1952
- "name": "foundationActionsMenu",
1861
+ "name": "foundationAccordionShadowOptions",
1953
1862
  "declaration": {
1954
- "name": "foundationActionsMenu",
1955
- "module": "src/actions-menu/actions-menu.ts"
1863
+ "name": "foundationAccordionShadowOptions",
1864
+ "module": "src/accordion/accordion.ts"
1865
+ }
1866
+ },
1867
+ {
1868
+ "kind": "js",
1869
+ "name": "defaultAccordionConfig",
1870
+ "declaration": {
1871
+ "name": "defaultAccordionConfig",
1872
+ "module": "src/accordion/accordion.ts"
1873
+ }
1874
+ },
1875
+ {
1876
+ "kind": "js",
1877
+ "name": "foundationAccordion",
1878
+ "declaration": {
1879
+ "name": "foundationAccordion",
1880
+ "module": "src/accordion/accordion.ts"
1956
1881
  }
1957
1882
  }
1958
1883
  ]
1959
1884
  },
1960
1885
  {
1961
1886
  "kind": "javascript-module",
1962
- "path": "src/actions-menu/index.ts",
1887
+ "path": "src/accordion/index.ts",
1963
1888
  "declarations": [],
1964
1889
  "exports": [
1965
1890
  {
@@ -1967,7 +1892,7 @@
1967
1892
  "name": "*",
1968
1893
  "declaration": {
1969
1894
  "name": "*",
1970
- "package": "./actions-menu.styles"
1895
+ "package": "./accordion.template"
1971
1896
  }
1972
1897
  },
1973
1898
  {
@@ -1975,7 +1900,7 @@
1975
1900
  "name": "*",
1976
1901
  "declaration": {
1977
1902
  "name": "*",
1978
- "package": "./actions-menu.template"
1903
+ "package": "./accordion.styles"
1979
1904
  }
1980
1905
  },
1981
1906
  {
@@ -1983,7 +1908,7 @@
1983
1908
  "name": "*",
1984
1909
  "declaration": {
1985
1910
  "name": "*",
1986
- "package": "./actions-menu"
1911
+ "package": "./accordion"
1987
1912
  }
1988
1913
  }
1989
1914
  ]
@@ -2384,131 +2309,203 @@
2384
2309
  },
2385
2310
  {
2386
2311
  "kind": "javascript-module",
2387
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2312
+ "path": "src/actions-menu/actions-menu.styles.ts",
2388
2313
  "declarations": [
2389
2314
  {
2390
- "kind": "variable",
2391
- "name": "foundationAiCriteriaSearchStyles",
2392
- "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`"
2315
+ "kind": "function",
2316
+ "name": "actionsMenuBaseStyles",
2317
+ "return": {
2318
+ "type": {
2319
+ "text": "ElementStyles"
2320
+ }
2321
+ },
2322
+ "parameters": [
2323
+ {
2324
+ "name": "context",
2325
+ "type": {
2326
+ "text": "ElementDefinitionContext"
2327
+ }
2328
+ },
2329
+ {
2330
+ "name": "definition",
2331
+ "type": {
2332
+ "text": "FoundationElementDefinition"
2333
+ }
2334
+ }
2335
+ ]
2336
+ },
2337
+ {
2338
+ "kind": "function",
2339
+ "name": "foundationActionsMenuStyles",
2340
+ "return": {
2341
+ "type": {
2342
+ "text": "ElementStyles"
2343
+ }
2344
+ },
2345
+ "parameters": [
2346
+ {
2347
+ "name": "context",
2348
+ "type": {
2349
+ "text": "ElementDefinitionContext"
2350
+ }
2351
+ },
2352
+ {
2353
+ "name": "definition",
2354
+ "type": {
2355
+ "text": "FoundationElementDefinition"
2356
+ }
2357
+ }
2358
+ ]
2393
2359
  }
2394
2360
  ],
2395
2361
  "exports": [
2396
2362
  {
2397
2363
  "kind": "js",
2398
- "name": "foundationAiCriteriaSearchStyles",
2364
+ "name": "actionsMenuBaseStyles",
2399
2365
  "declaration": {
2400
- "name": "foundationAiCriteriaSearchStyles",
2401
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2366
+ "name": "actionsMenuBaseStyles",
2367
+ "module": "src/actions-menu/actions-menu.styles.ts"
2368
+ }
2369
+ },
2370
+ {
2371
+ "kind": "js",
2372
+ "name": "foundationActionsMenuStyles",
2373
+ "declaration": {
2374
+ "name": "foundationActionsMenuStyles",
2375
+ "module": "src/actions-menu/actions-menu.styles.ts"
2402
2376
  }
2403
2377
  }
2404
2378
  ]
2405
2379
  },
2406
2380
  {
2407
2381
  "kind": "javascript-module",
2408
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2382
+ "path": "src/actions-menu/actions-menu.template.ts",
2409
2383
  "declarations": [
2384
+ {
2385
+ "kind": "function",
2386
+ "name": "menuTemplate",
2387
+ "parameters": [
2388
+ {
2389
+ "name": "prefix",
2390
+ "type": {
2391
+ "text": "string"
2392
+ }
2393
+ }
2394
+ ]
2395
+ },
2396
+ {
2397
+ "kind": "function",
2398
+ "name": "singleOptionTemplate",
2399
+ "parameters": [
2400
+ {
2401
+ "name": "prefix",
2402
+ "type": {
2403
+ "text": "string"
2404
+ }
2405
+ }
2406
+ ]
2407
+ },
2410
2408
  {
2411
2409
  "kind": "variable",
2412
- "name": "foundationAiCriteriaSearchTemplate",
2410
+ "name": "foundationActionsMenuTemplate",
2413
2411
  "type": {
2414
- "text": "ViewTemplate<AiCriteriaSearch>"
2412
+ "text": "ViewTemplate<ActionsMenu>"
2415
2413
  },
2416
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2414
+ "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`"
2417
2415
  }
2418
2416
  ],
2419
2417
  "exports": [
2420
2418
  {
2421
2419
  "kind": "js",
2422
- "name": "foundationAiCriteriaSearchTemplate",
2420
+ "name": "menuTemplate",
2423
2421
  "declaration": {
2424
- "name": "foundationAiCriteriaSearchTemplate",
2425
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2422
+ "name": "menuTemplate",
2423
+ "module": "src/actions-menu/actions-menu.template.ts"
2424
+ }
2425
+ },
2426
+ {
2427
+ "kind": "js",
2428
+ "name": "singleOptionTemplate",
2429
+ "declaration": {
2430
+ "name": "singleOptionTemplate",
2431
+ "module": "src/actions-menu/actions-menu.template.ts"
2432
+ }
2433
+ },
2434
+ {
2435
+ "kind": "js",
2436
+ "name": "foundationActionsMenuTemplate",
2437
+ "declaration": {
2438
+ "name": "foundationActionsMenuTemplate",
2439
+ "module": "src/actions-menu/actions-menu.template.ts"
2426
2440
  }
2427
2441
  }
2428
2442
  ]
2429
2443
  },
2430
2444
  {
2431
2445
  "kind": "javascript-module",
2432
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2446
+ "path": "src/actions-menu/actions-menu.ts",
2433
2447
  "declarations": [
2434
2448
  {
2435
2449
  "kind": "class",
2436
- "description": "Natural-language criteria search input with AI interpretation.",
2437
- "name": "AiCriteriaSearch",
2450
+ "description": "",
2451
+ "name": "ActionsMenu",
2438
2452
  "members": [
2439
2453
  {
2440
2454
  "kind": "field",
2441
- "name": "aiProvider",
2455
+ "name": "actions",
2442
2456
  "type": {
2443
- "text": "AIProvider"
2457
+ "text": "ActionMenuItem[]"
2444
2458
  }
2445
2459
  },
2446
2460
  {
2447
2461
  "kind": "field",
2448
- "name": "placeholder",
2449
- "type": {
2450
- "text": "string"
2451
- },
2452
- "default": "'Describe your search criteria in natural language...'"
2453
- },
2454
- {
2455
- "kind": "field",
2456
- "name": "disabled",
2462
+ "name": "isVertical",
2457
2463
  "type": {
2458
2464
  "text": "boolean"
2459
- }
2460
- },
2461
- {
2462
- "kind": "field",
2463
- "name": "inputValue",
2464
- "type": {
2465
- "text": "string"
2466
2465
  },
2467
- "default": "''"
2466
+ "default": "false"
2468
2467
  },
2469
2468
  {
2470
2469
  "kind": "field",
2471
- "name": "isInterpreting",
2470
+ "name": "addDefaultActions",
2472
2471
  "type": {
2473
2472
  "text": "boolean"
2474
2473
  },
2475
- "default": "false"
2474
+ "default": "true"
2476
2475
  },
2477
2476
  {
2478
2477
  "kind": "field",
2479
- "name": "lastValidCriteria",
2478
+ "name": "autoCloseOnAction",
2480
2479
  "type": {
2481
- "text": "string | null"
2480
+ "text": "boolean"
2482
2481
  },
2483
- "default": "null"
2482
+ "default": "true"
2484
2483
  },
2485
2484
  {
2486
2485
  "kind": "field",
2487
- "name": "activeGroups",
2486
+ "name": "classNames",
2488
2487
  "type": {
2489
- "text": "CriteriaGroup[]"
2490
- },
2491
- "default": "[]"
2488
+ "text": "string"
2489
+ }
2492
2490
  },
2493
2491
  {
2494
2492
  "kind": "field",
2495
- "name": "showingChips",
2493
+ "name": "definition",
2496
2494
  "type": {
2497
- "text": "boolean"
2498
- },
2499
- "default": "false"
2495
+ "text": "any"
2496
+ }
2500
2497
  },
2501
2498
  {
2502
2499
  "kind": "field",
2503
- "name": "fieldMetadata",
2500
+ "name": "name",
2504
2501
  "type": {
2505
- "text": "MetadataDetail[] | string[]"
2502
+ "text": "string"
2506
2503
  },
2507
- "default": "[]"
2504
+ "default": "'Actions'"
2508
2505
  },
2509
2506
  {
2510
2507
  "kind": "field",
2511
- "name": "isRecording",
2508
+ "name": "open",
2512
2509
  "type": {
2513
2510
  "text": "boolean"
2514
2511
  },
@@ -2516,125 +2513,117 @@
2516
2513
  },
2517
2514
  {
2518
2515
  "kind": "field",
2519
- "name": "textAreaRef",
2516
+ "name": "buttonAppearance",
2520
2517
  "type": {
2521
- "text": "HTMLTextAreaElement"
2522
- },
2523
- "privacy": "public"
2518
+ "text": "string"
2519
+ }
2524
2520
  },
2525
2521
  {
2526
2522
  "kind": "field",
2527
- "name": "stopRecording",
2523
+ "name": "hideDisabled",
2528
2524
  "type": {
2529
- "text": "(() => void) | null"
2525
+ "text": "boolean"
2530
2526
  },
2531
- "privacy": "private",
2532
- "default": "null"
2527
+ "default": "false"
2533
2528
  },
2534
2529
  {
2535
2530
  "kind": "field",
2536
- "name": "speechApplyDebounceTimer",
2531
+ "name": "hideMenuSingleOption",
2537
2532
  "type": {
2538
- "text": "ReturnType<typeof setTimeout> | null"
2533
+ "text": "boolean"
2539
2534
  },
2540
- "privacy": "private",
2541
- "default": "null"
2535
+ "default": "false"
2542
2536
  },
2543
2537
  {
2544
2538
  "kind": "field",
2545
- "name": "speechAvailable",
2539
+ "name": "singleOption",
2546
2540
  "type": {
2547
- "text": "boolean"
2548
- },
2549
- "readonly": true
2541
+ "text": "ActionMenuItem"
2542
+ }
2550
2543
  },
2551
2544
  {
2552
2545
  "kind": "field",
2553
- "name": "criteriaChips",
2546
+ "name": "actionsMenu",
2554
2547
  "type": {
2555
- "text": "CriteriaChip[]"
2556
- },
2557
- "readonly": true
2548
+ "text": "HTMLElement"
2549
+ }
2558
2550
  },
2559
2551
  {
2560
2552
  "kind": "method",
2561
- "name": "getFieldLabel",
2562
- "privacy": "private",
2563
- "return": {
2564
- "type": {
2565
- "text": "string"
2566
- }
2567
- },
2553
+ "name": "definitionChanged",
2554
+ "privacy": "protected",
2568
2555
  "parameters": [
2569
2556
  {
2570
- "name": "fieldName",
2557
+ "name": "oldValue",
2571
2558
  "type": {
2572
- "text": "string"
2559
+ "text": "any"
2560
+ }
2561
+ },
2562
+ {
2563
+ "name": "newValue",
2564
+ "type": {
2565
+ "text": "any"
2573
2566
  }
2574
2567
  }
2575
2568
  ]
2576
2569
  },
2577
2570
  {
2578
2571
  "kind": "method",
2579
- "name": "toggleCriteriaView",
2580
- "return": {
2581
- "type": {
2582
- "text": "void"
2583
- }
2584
- }
2572
+ "name": "openChanged",
2573
+ "privacy": "protected"
2585
2574
  },
2586
2575
  {
2587
2576
  "kind": "method",
2588
- "name": "removeChip",
2589
- "return": {
2590
- "type": {
2591
- "text": "void"
2592
- }
2593
- },
2577
+ "name": "toggleActionsMenuVisibility"
2578
+ },
2579
+ {
2580
+ "kind": "method",
2581
+ "name": "onActionMenuItemClick",
2594
2582
  "parameters": [
2595
2583
  {
2596
- "name": "groupIndex",
2597
- "type": {
2598
- "text": "number"
2599
- }
2600
- },
2601
- {
2602
- "name": "clauseIndex",
2584
+ "name": "callback",
2603
2585
  "type": {
2604
- "text": "number"
2586
+ "text": "(rowData) => void | any"
2605
2587
  }
2606
2588
  }
2607
2589
  ]
2608
2590
  },
2609
2591
  {
2610
- "kind": "method",
2611
- "name": "clearChips",
2612
- "return": {
2613
- "type": {
2614
- "text": "void"
2615
- }
2616
- }
2617
- },
2618
- {
2619
- "kind": "method",
2620
- "name": "handleSubmit"
2621
- },
2622
- {
2623
- "kind": "method",
2624
- "name": "handleBlur"
2592
+ "kind": "field",
2593
+ "name": "allActions",
2594
+ "type": {
2595
+ "text": "ActionMenuItem[]"
2596
+ },
2597
+ "readonly": true
2625
2598
  },
2626
2599
  {
2627
- "kind": "method",
2628
- "name": "clear"
2600
+ "kind": "field",
2601
+ "name": "rowData",
2602
+ "readonly": true
2629
2603
  },
2630
2604
  {
2631
2605
  "kind": "method",
2632
- "name": "toggleSpeechInput"
2606
+ "name": "getLabel",
2607
+ "parameters": [
2608
+ {
2609
+ "name": "name",
2610
+ "type": {
2611
+ "text": "string | ((rowData: any) => string)"
2612
+ }
2613
+ }
2614
+ ]
2633
2615
  },
2634
2616
  {
2635
2617
  "kind": "method",
2636
- "name": "clearSpeechApplyDebounce",
2637
- "privacy": "private"
2618
+ "name": "getTemplate",
2619
+ "parameters": [
2620
+ {
2621
+ "name": "prefix",
2622
+ "type": {
2623
+ "text": "string"
2624
+ }
2625
+ }
2626
+ ]
2638
2627
  },
2639
2628
  {
2640
2629
  "kind": "field",
@@ -2748,154 +2737,146 @@
2748
2737
  }
2749
2738
  }
2750
2739
  ],
2751
- "events": [
2740
+ "attributes": [
2752
2741
  {
2753
- "description": "Fired when interpreted criteria is applied or cleared",
2754
- "name": "criteria-changed"
2742
+ "name": "is-vertical",
2743
+ "type": {
2744
+ "text": "boolean"
2745
+ },
2746
+ "default": "false",
2747
+ "fieldName": "isVertical"
2755
2748
  },
2756
2749
  {
2757
- "description": "Fired when interpreted criteria contains invalid clauses",
2758
- "name": "validation-errors"
2759
- }
2760
- ],
2761
- "attributes": [
2750
+ "name": "add-default-actions",
2751
+ "type": {
2752
+ "text": "boolean"
2753
+ },
2754
+ "default": "true",
2755
+ "fieldName": "addDefaultActions"
2756
+ },
2762
2757
  {
2763
- "name": "placeholder",
2758
+ "name": "auto-close-on-action",
2759
+ "type": {
2760
+ "text": "boolean"
2761
+ },
2762
+ "default": "true",
2763
+ "fieldName": "autoCloseOnAction"
2764
+ },
2765
+ {
2766
+ "name": "name",
2764
2767
  "type": {
2765
2768
  "text": "string"
2766
2769
  },
2767
- "default": "'Describe your search criteria in natural language...'",
2768
- "fieldName": "placeholder"
2770
+ "default": "'Actions'",
2771
+ "fieldName": "name"
2769
2772
  },
2770
2773
  {
2774
+ "name": "open",
2771
2775
  "type": {
2772
2776
  "text": "boolean"
2773
2777
  },
2774
- "fieldName": "disabled"
2778
+ "default": "false",
2779
+ "fieldName": "open"
2780
+ },
2781
+ {
2782
+ "name": "buttonAppearance",
2783
+ "type": {
2784
+ "text": "string"
2785
+ },
2786
+ "fieldName": "buttonAppearance"
2787
+ },
2788
+ {
2789
+ "name": "hide-disabled",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "false",
2794
+ "fieldName": "hideDisabled"
2795
+ },
2796
+ {
2797
+ "name": "hide-menu-single-option",
2798
+ "type": {
2799
+ "text": "boolean"
2800
+ },
2801
+ "default": "false",
2802
+ "fieldName": "hideMenuSingleOption"
2775
2803
  }
2776
2804
  ],
2777
2805
  "superclass": {
2778
2806
  "name": "FoundationElement",
2779
2807
  "package": "@microsoft/fast-foundation"
2780
2808
  },
2781
- "tagName": "%%prefix%%-ai-criteria-search",
2809
+ "tagName": "%%prefix%%-actions-menu",
2782
2810
  "customElement": true
2783
2811
  },
2784
2812
  {
2785
2813
  "kind": "variable",
2786
- "name": "foundationAiCriteriaSearchShadowOptions",
2787
- "type": {
2788
- "text": "ShadowRootInit"
2789
- },
2790
- "default": "undefined"
2791
- },
2792
- {
2793
- "kind": "variable",
2794
- "name": "defaultAiCriteriaSearchConfig",
2795
- "type": {
2796
- "text": "object"
2797
- },
2798
- "default": "{}"
2799
- },
2800
- {
2801
- "kind": "variable",
2802
- "name": "foundationAiCriteriaSearch"
2814
+ "name": "foundationActionsMenu",
2815
+ "description": "The Foundation Actions Menu",
2816
+ "privacy": "public"
2803
2817
  }
2804
2818
  ],
2805
2819
  "exports": [
2806
2820
  {
2807
2821
  "kind": "js",
2808
- "name": "AiCriteriaSearch",
2809
- "declaration": {
2810
- "name": "AiCriteriaSearch",
2811
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2812
- }
2813
- },
2814
- {
2815
- "kind": "js",
2816
- "name": "foundationAiCriteriaSearchShadowOptions",
2817
- "declaration": {
2818
- "name": "foundationAiCriteriaSearchShadowOptions",
2819
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2820
- }
2821
- },
2822
- {
2823
- "kind": "js",
2824
- "name": "defaultAiCriteriaSearchConfig",
2822
+ "name": "ActionsMenu",
2825
2823
  "declaration": {
2826
- "name": "defaultAiCriteriaSearchConfig",
2827
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2824
+ "name": "ActionsMenu",
2825
+ "module": "src/actions-menu/actions-menu.ts"
2828
2826
  }
2829
2827
  },
2830
2828
  {
2831
2829
  "kind": "js",
2832
- "name": "foundationAiCriteriaSearch",
2830
+ "name": "foundationActionsMenu",
2833
2831
  "declaration": {
2834
- "name": "foundationAiCriteriaSearch",
2835
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2832
+ "name": "foundationActionsMenu",
2833
+ "module": "src/actions-menu/actions-menu.ts"
2836
2834
  }
2837
2835
  }
2838
2836
  ]
2839
2837
  },
2840
2838
  {
2841
2839
  "kind": "javascript-module",
2842
- "path": "src/ai-criteria-search/index.ts",
2840
+ "path": "src/actions-menu/index.ts",
2843
2841
  "declarations": [],
2844
2842
  "exports": [
2845
2843
  {
2846
2844
  "kind": "js",
2847
- "name": "AiCriteriaSearch",
2848
- "declaration": {
2849
- "name": "AiCriteriaSearch",
2850
- "module": "./ai-criteria-search"
2851
- }
2852
- },
2853
- {
2854
- "kind": "js",
2855
- "name": "defaultAiCriteriaSearchConfig",
2856
- "declaration": {
2857
- "name": "defaultAiCriteriaSearchConfig",
2858
- "module": "./ai-criteria-search"
2859
- }
2860
- },
2861
- {
2862
- "kind": "js",
2863
- "name": "foundationAiCriteriaSearch",
2864
- "declaration": {
2865
- "name": "foundationAiCriteriaSearch",
2866
- "module": "./ai-criteria-search"
2867
- }
2868
- },
2869
- {
2870
- "kind": "js",
2871
- "name": "foundationAiCriteriaSearchShadowOptions",
2845
+ "name": "*",
2872
2846
  "declaration": {
2873
- "name": "foundationAiCriteriaSearchShadowOptions",
2874
- "module": "./ai-criteria-search"
2847
+ "name": "*",
2848
+ "package": "./actions-menu.styles"
2875
2849
  }
2876
2850
  },
2877
2851
  {
2878
2852
  "kind": "js",
2879
- "name": "foundationAiCriteriaSearchStyles",
2853
+ "name": "*",
2880
2854
  "declaration": {
2881
- "name": "foundationAiCriteriaSearchStyles",
2882
- "module": "./ai-criteria-search.styles"
2855
+ "name": "*",
2856
+ "package": "./actions-menu.template"
2883
2857
  }
2884
2858
  },
2885
2859
  {
2886
2860
  "kind": "js",
2887
- "name": "foundationAiCriteriaSearchTemplate",
2861
+ "name": "*",
2888
2862
  "declaration": {
2889
- "name": "foundationAiCriteriaSearchTemplate",
2890
- "module": "./ai-criteria-search.template"
2863
+ "name": "*",
2864
+ "package": "./actions-menu"
2891
2865
  }
2892
- },
2866
+ }
2867
+ ]
2868
+ },
2869
+ {
2870
+ "kind": "javascript-module",
2871
+ "path": "src/_config/index.ts",
2872
+ "declarations": [],
2873
+ "exports": [
2893
2874
  {
2894
2875
  "kind": "js",
2895
2876
  "name": "*",
2896
2877
  "declaration": {
2897
2878
  "name": "*",
2898
- "package": "./validation/criteria-ir"
2879
+ "package": "./styles"
2899
2880
  }
2900
2881
  },
2901
2882
  {
@@ -2903,7 +2884,7 @@
2903
2884
  "name": "*",
2904
2885
  "declaration": {
2905
2886
  "name": "*",
2906
- "package": "./validation/operator-map"
2887
+ "package": "./tokens"
2907
2888
  }
2908
2889
  },
2909
2890
  {
@@ -2911,107 +2892,32 @@
2911
2892
  "name": "*",
2912
2893
  "declaration": {
2913
2894
  "name": "*",
2914
- "package": "./validation/schema-validator"
2895
+ "package": "./values"
2915
2896
  }
2916
2897
  }
2917
2898
  ]
2918
2899
  },
2919
2900
  {
2920
2901
  "kind": "javascript-module",
2921
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2902
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2922
2903
  "declarations": [
2923
2904
  {
2924
2905
  "kind": "function",
2925
- "name": "formatValidationErrors",
2906
+ "name": "foundationAiIndicatorStyles",
2926
2907
  "return": {
2927
2908
  "type": {
2928
- "text": "string"
2909
+ "text": "ElementStyles"
2929
2910
  }
2930
2911
  },
2931
2912
  "parameters": [
2932
2913
  {
2933
- "name": "errors",
2914
+ "name": "context",
2934
2915
  "type": {
2935
- "text": "ValidationError[]"
2916
+ "text": "ElementDefinitionContext"
2936
2917
  }
2937
- }
2938
- ],
2939
- "description": "Formats validation errors into a user-friendly message."
2940
- },
2941
- {
2942
- "kind": "function",
2943
- "name": "showCriteriaError",
2944
- "return": {
2945
- "type": {
2946
- "text": "void"
2947
- }
2948
- },
2949
- "parameters": [
2918
+ },
2950
2919
  {
2951
- "name": "title",
2952
- "type": {
2953
- "text": "string"
2954
- },
2955
- "description": "Notification title (e.g. \"Criteria validation error\")"
2956
- },
2957
- {
2958
- "name": "body",
2959
- "type": {
2960
- "text": "string"
2961
- },
2962
- "description": "Error message to display"
2963
- },
2964
- {
2965
- "name": "tagName",
2966
- "type": {
2967
- "text": "string"
2968
- },
2969
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2970
- }
2971
- ],
2972
- "description": "Shows a criteria error as a toast notification."
2973
- }
2974
- ],
2975
- "exports": [
2976
- {
2977
- "kind": "js",
2978
- "name": "formatValidationErrors",
2979
- "declaration": {
2980
- "name": "formatValidationErrors",
2981
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2982
- }
2983
- },
2984
- {
2985
- "kind": "js",
2986
- "name": "showCriteriaError",
2987
- "declaration": {
2988
- "name": "showCriteriaError",
2989
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2990
- }
2991
- }
2992
- ]
2993
- },
2994
- {
2995
- "kind": "javascript-module",
2996
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2997
- "declarations": [
2998
- {
2999
- "kind": "function",
3000
- "name": "foundationAiIndicatorStyles",
3001
- "return": {
3002
- "type": {
3003
- "text": "ElementStyles"
3004
- }
3005
- },
3006
- "parameters": [
3007
- {
3008
- "name": "context",
3009
- "type": {
3010
- "text": "ElementDefinitionContext"
3011
- }
3012
- },
3013
- {
3014
- "name": "definition",
2920
+ "name": "definition",
3015
2921
  "type": {
3016
2922
  "text": "FoundationElementDefinition"
3017
2923
  }
@@ -3432,275 +3338,208 @@
3432
3338
  },
3433
3339
  {
3434
3340
  "kind": "javascript-module",
3435
- "path": "src/accordion/accordion.styles.ts",
3341
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3436
3342
  "declarations": [
3437
3343
  {
3438
- "kind": "function",
3439
- "name": "foundationAccordionStyles",
3440
- "return": {
3441
- "type": {
3442
- "text": "ElementStyles"
3443
- }
3444
- },
3445
- "parameters": [
3446
- {
3447
- "name": "context",
3448
- "type": {
3449
- "text": "ElementDefinitionContext"
3450
- }
3451
- },
3452
- {
3453
- "name": "definition",
3454
- "type": {
3455
- "text": "FoundationElementDefinition"
3456
- }
3457
- }
3458
- ]
3344
+ "kind": "variable",
3345
+ "name": "foundationAiCriteriaSearchStyles",
3346
+ "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`"
3459
3347
  }
3460
3348
  ],
3461
3349
  "exports": [
3462
3350
  {
3463
3351
  "kind": "js",
3464
- "name": "foundationAccordionStyles",
3352
+ "name": "foundationAiCriteriaSearchStyles",
3465
3353
  "declaration": {
3466
- "name": "foundationAccordionStyles",
3467
- "module": "src/accordion/accordion.styles.ts"
3354
+ "name": "foundationAiCriteriaSearchStyles",
3355
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3468
3356
  }
3469
3357
  }
3470
3358
  ]
3471
3359
  },
3472
3360
  {
3473
3361
  "kind": "javascript-module",
3474
- "path": "src/accordion/accordion.template.ts",
3362
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3475
3363
  "declarations": [
3476
3364
  {
3477
- "kind": "function",
3478
- "name": "foundationAccordionTemplate",
3479
- "return": {
3480
- "type": {
3481
- "text": "ViewTemplate<Accordion>"
3482
- }
3365
+ "kind": "variable",
3366
+ "name": "foundationAiCriteriaSearchTemplate",
3367
+ "type": {
3368
+ "text": "ViewTemplate<AiCriteriaSearch>"
3483
3369
  },
3484
- "parameters": [
3485
- {
3486
- "name": "context",
3487
- "type": {
3488
- "text": "ElementDefinitionContext"
3489
- }
3490
- },
3491
- {
3492
- "name": "definition",
3493
- "type": {
3494
- "text": "FoundationElementDefinition"
3495
- }
3496
- }
3497
- ]
3370
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3498
3371
  }
3499
3372
  ],
3500
3373
  "exports": [
3501
3374
  {
3502
3375
  "kind": "js",
3503
- "name": "foundationAccordionTemplate",
3376
+ "name": "foundationAiCriteriaSearchTemplate",
3504
3377
  "declaration": {
3505
- "name": "foundationAccordionTemplate",
3506
- "module": "src/accordion/accordion.template.ts"
3378
+ "name": "foundationAiCriteriaSearchTemplate",
3379
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3507
3380
  }
3508
3381
  }
3509
3382
  ]
3510
3383
  },
3511
3384
  {
3512
3385
  "kind": "javascript-module",
3513
- "path": "src/accordion/accordion.ts",
3386
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3514
3387
  "declarations": [
3515
3388
  {
3516
3389
  "kind": "class",
3517
- "description": "",
3518
- "name": "Accordion",
3519
- "superclass": {
3520
- "name": "FASTAccordion",
3521
- "package": "@microsoft/fast-foundation"
3522
- },
3523
- "tagName": "%%prefix%%-accordion",
3524
- "customElement": true,
3525
- "attributes": [
3390
+ "description": "Natural-language criteria search input with AI interpretation.",
3391
+ "name": "AiCriteriaSearch",
3392
+ "members": [
3526
3393
  {
3527
- "name": "expand-mode",
3394
+ "kind": "field",
3395
+ "name": "aiProvider",
3528
3396
  "type": {
3529
- "text": "AccordionExpandMode"
3530
- },
3531
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3532
- "fieldName": "expandmode",
3533
- "inheritedFrom": {
3534
- "name": "Accordion",
3535
- "module": "src/accordion/accordion.ts"
3397
+ "text": "AIProvider"
3536
3398
  }
3537
- }
3538
- ],
3539
- "members": [
3399
+ },
3540
3400
  {
3541
3401
  "kind": "field",
3542
- "name": "expandmode",
3402
+ "name": "placeholder",
3543
3403
  "type": {
3544
- "text": "AccordionExpandMode"
3404
+ "text": "string"
3545
3405
  },
3546
- "privacy": "public",
3547
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3548
- "inheritedFrom": {
3549
- "name": "Accordion",
3550
- "module": "src/accordion/accordion.ts"
3406
+ "default": "'Describe your search criteria in natural language...'"
3407
+ },
3408
+ {
3409
+ "kind": "field",
3410
+ "name": "disabled",
3411
+ "type": {
3412
+ "text": "boolean"
3551
3413
  }
3552
3414
  },
3553
3415
  {
3554
3416
  "kind": "field",
3555
- "name": "activeid",
3417
+ "name": "inputValue",
3556
3418
  "type": {
3557
- "text": "string | null"
3419
+ "text": "string"
3558
3420
  },
3559
- "privacy": "private",
3560
- "inheritedFrom": {
3561
- "name": "Accordion",
3562
- "module": "src/accordion/accordion.ts"
3563
- }
3421
+ "default": "''"
3564
3422
  },
3565
3423
  {
3566
3424
  "kind": "field",
3567
- "name": "activeItemIndex",
3425
+ "name": "isInterpreting",
3568
3426
  "type": {
3569
- "text": "number"
3427
+ "text": "boolean"
3570
3428
  },
3571
- "privacy": "private",
3572
- "default": "0",
3573
- "inheritedFrom": {
3574
- "name": "Accordion",
3575
- "module": "src/accordion/accordion.ts"
3576
- }
3429
+ "default": "false"
3577
3430
  },
3578
3431
  {
3579
3432
  "kind": "field",
3580
- "name": "accordionIds",
3433
+ "name": "lastValidCriteria",
3581
3434
  "type": {
3582
- "text": "Array<string | null>"
3435
+ "text": "string | null"
3583
3436
  },
3584
- "privacy": "private",
3585
- "inheritedFrom": {
3586
- "name": "Accordion",
3587
- "module": "src/accordion/accordion.ts"
3588
- }
3437
+ "default": "null"
3589
3438
  },
3590
3439
  {
3591
3440
  "kind": "field",
3592
- "name": "change",
3593
- "privacy": "private",
3594
- "inheritedFrom": {
3595
- "name": "Accordion",
3596
- "module": "src/accordion/accordion.ts"
3597
- }
3441
+ "name": "activeGroups",
3442
+ "type": {
3443
+ "text": "CriteriaGroup[]"
3444
+ },
3445
+ "default": "[]"
3598
3446
  },
3599
3447
  {
3600
- "kind": "method",
3601
- "name": "findExpandedItem",
3602
- "privacy": "private",
3603
- "return": {
3604
- "type": {
3605
- "text": "AccordionItem | null"
3606
- }
3448
+ "kind": "field",
3449
+ "name": "showingChips",
3450
+ "type": {
3451
+ "text": "boolean"
3607
3452
  },
3608
- "inheritedFrom": {
3609
- "name": "Accordion",
3610
- "module": "src/accordion/accordion.ts"
3611
- }
3453
+ "default": "false"
3612
3454
  },
3613
3455
  {
3614
3456
  "kind": "field",
3615
- "name": "setItems",
3616
- "privacy": "private",
3617
- "inheritedFrom": {
3618
- "name": "Accordion",
3619
- "module": "src/accordion/accordion.ts"
3620
- }
3457
+ "name": "fieldMetadata",
3458
+ "type": {
3459
+ "text": "MetadataDetail[] | string[]"
3460
+ },
3461
+ "default": "[]"
3621
3462
  },
3622
3463
  {
3623
- "kind": "method",
3624
- "name": "resetItems",
3625
- "privacy": "private",
3626
- "return": {
3627
- "type": {
3628
- "text": "void"
3629
- }
3464
+ "kind": "field",
3465
+ "name": "isRecording",
3466
+ "type": {
3467
+ "text": "boolean"
3630
3468
  },
3631
- "inheritedFrom": {
3632
- "name": "Accordion",
3633
- "module": "src/accordion/accordion.ts"
3634
- }
3469
+ "default": "false"
3635
3470
  },
3636
3471
  {
3637
3472
  "kind": "field",
3638
- "name": "removeItemListeners",
3639
- "privacy": "private",
3640
- "inheritedFrom": {
3641
- "name": "Accordion",
3642
- "module": "src/accordion/accordion.ts"
3643
- }
3473
+ "name": "textAreaRef",
3474
+ "type": {
3475
+ "text": "HTMLTextAreaElement"
3476
+ },
3477
+ "privacy": "public"
3644
3478
  },
3645
3479
  {
3646
3480
  "kind": "field",
3647
- "name": "activeItemChange",
3481
+ "name": "stopRecording",
3482
+ "type": {
3483
+ "text": "(() => void) | null"
3484
+ },
3648
3485
  "privacy": "private",
3649
- "inheritedFrom": {
3650
- "name": "Accordion",
3651
- "module": "src/accordion/accordion.ts"
3652
- }
3486
+ "default": "null"
3653
3487
  },
3654
3488
  {
3655
- "kind": "method",
3656
- "name": "getItemIds",
3657
- "privacy": "private",
3658
- "return": {
3659
- "type": {
3660
- "text": "Array<string | null>"
3661
- }
3489
+ "kind": "field",
3490
+ "name": "speechApplyDebounceTimer",
3491
+ "type": {
3492
+ "text": "ReturnType<typeof setTimeout> | null"
3662
3493
  },
3663
- "inheritedFrom": {
3664
- "name": "Accordion",
3665
- "module": "src/accordion/accordion.ts"
3666
- }
3494
+ "privacy": "private",
3495
+ "default": "null"
3667
3496
  },
3668
3497
  {
3669
- "kind": "method",
3670
- "name": "isSingleExpandMode",
3671
- "privacy": "private",
3672
- "return": {
3673
- "type": {
3674
- "text": "boolean"
3675
- }
3498
+ "kind": "field",
3499
+ "name": "speechAvailable",
3500
+ "type": {
3501
+ "text": "boolean"
3676
3502
  },
3677
- "inheritedFrom": {
3678
- "name": "Accordion",
3679
- "module": "src/accordion/accordion.ts"
3680
- }
3503
+ "readonly": true
3681
3504
  },
3682
3505
  {
3683
3506
  "kind": "field",
3684
- "name": "handleItemKeyDown",
3685
- "privacy": "private",
3686
- "inheritedFrom": {
3687
- "name": "Accordion",
3688
- "module": "src/accordion/accordion.ts"
3689
- }
3507
+ "name": "criteriaChips",
3508
+ "type": {
3509
+ "text": "CriteriaChip[]"
3510
+ },
3511
+ "readonly": true
3690
3512
  },
3691
3513
  {
3692
- "kind": "field",
3693
- "name": "handleItemFocus",
3514
+ "kind": "method",
3515
+ "name": "getFieldLabel",
3694
3516
  "privacy": "private",
3695
- "inheritedFrom": {
3696
- "name": "Accordion",
3697
- "module": "src/accordion/accordion.ts"
3517
+ "return": {
3518
+ "type": {
3519
+ "text": "string"
3520
+ }
3521
+ },
3522
+ "parameters": [
3523
+ {
3524
+ "name": "fieldName",
3525
+ "type": {
3526
+ "text": "string"
3527
+ }
3528
+ }
3529
+ ]
3530
+ },
3531
+ {
3532
+ "kind": "method",
3533
+ "name": "toggleCriteriaView",
3534
+ "return": {
3535
+ "type": {
3536
+ "text": "void"
3537
+ }
3698
3538
  }
3699
3539
  },
3700
3540
  {
3701
3541
  "kind": "method",
3702
- "name": "adjust",
3703
- "privacy": "private",
3542
+ "name": "removeChip",
3704
3543
  "return": {
3705
3544
  "type": {
3706
3545
  "text": "void"
@@ -3708,31 +3547,49 @@
3708
3547
  },
3709
3548
  "parameters": [
3710
3549
  {
3711
- "name": "adjustment",
3550
+ "name": "groupIndex",
3551
+ "type": {
3552
+ "text": "number"
3553
+ }
3554
+ },
3555
+ {
3556
+ "name": "clauseIndex",
3712
3557
  "type": {
3713
3558
  "text": "number"
3714
3559
  }
3715
3560
  }
3716
- ],
3717
- "inheritedFrom": {
3718
- "name": "Accordion",
3719
- "module": "src/accordion/accordion.ts"
3720
- }
3561
+ ]
3721
3562
  },
3722
3563
  {
3723
3564
  "kind": "method",
3724
- "name": "focusItem",
3725
- "privacy": "private",
3565
+ "name": "clearChips",
3726
3566
  "return": {
3727
3567
  "type": {
3728
3568
  "text": "void"
3729
3569
  }
3730
- },
3731
- "inheritedFrom": {
3732
- "name": "Accordion",
3733
- "module": "src/accordion/accordion.ts"
3734
3570
  }
3735
3571
  },
3572
+ {
3573
+ "kind": "method",
3574
+ "name": "handleSubmit"
3575
+ },
3576
+ {
3577
+ "kind": "method",
3578
+ "name": "handleBlur"
3579
+ },
3580
+ {
3581
+ "kind": "method",
3582
+ "name": "clear"
3583
+ },
3584
+ {
3585
+ "kind": "method",
3586
+ "name": "toggleSpeechInput"
3587
+ },
3588
+ {
3589
+ "kind": "method",
3590
+ "name": "clearSpeechApplyDebounce",
3591
+ "privacy": "private"
3592
+ },
3736
3593
  {
3737
3594
  "kind": "field",
3738
3595
  "name": "_presentation",
@@ -3847,26 +3704,48 @@
3847
3704
  ],
3848
3705
  "events": [
3849
3706
  {
3850
- "description": "Fires a custom 'change' event when the active item changes",
3851
- "name": "change",
3852
- "inheritedFrom": {
3853
- "name": "Accordion",
3854
- "module": "src/accordion/accordion.ts"
3855
- }
3707
+ "description": "Fired when interpreted criteria is applied or cleared",
3708
+ "name": "criteria-changed"
3709
+ },
3710
+ {
3711
+ "description": "Fired when interpreted criteria contains invalid clauses",
3712
+ "name": "validation-errors"
3856
3713
  }
3857
- ]
3714
+ ],
3715
+ "attributes": [
3716
+ {
3717
+ "name": "placeholder",
3718
+ "type": {
3719
+ "text": "string"
3720
+ },
3721
+ "default": "'Describe your search criteria in natural language...'",
3722
+ "fieldName": "placeholder"
3723
+ },
3724
+ {
3725
+ "type": {
3726
+ "text": "boolean"
3727
+ },
3728
+ "fieldName": "disabled"
3729
+ }
3730
+ ],
3731
+ "superclass": {
3732
+ "name": "FoundationElement",
3733
+ "package": "@microsoft/fast-foundation"
3734
+ },
3735
+ "tagName": "%%prefix%%-ai-criteria-search",
3736
+ "customElement": true
3858
3737
  },
3859
3738
  {
3860
3739
  "kind": "variable",
3861
- "name": "foundationAccordionShadowOptions",
3740
+ "name": "foundationAiCriteriaSearchShadowOptions",
3862
3741
  "type": {
3863
3742
  "text": "ShadowRootInit"
3864
3743
  },
3865
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3744
+ "default": "undefined"
3866
3745
  },
3867
3746
  {
3868
3747
  "kind": "variable",
3869
- "name": "defaultAccordionConfig",
3748
+ "name": "defaultAiCriteriaSearchConfig",
3870
3749
  "type": {
3871
3750
  "text": "object"
3872
3751
  },
@@ -3874,57 +3753,103 @@
3874
3753
  },
3875
3754
  {
3876
3755
  "kind": "variable",
3877
- "name": "foundationAccordion",
3878
- "description": "The Foundation Accordion",
3879
- "privacy": "public"
3756
+ "name": "foundationAiCriteriaSearch"
3880
3757
  }
3881
3758
  ],
3882
3759
  "exports": [
3883
3760
  {
3884
3761
  "kind": "js",
3885
- "name": "Accordion",
3762
+ "name": "AiCriteriaSearch",
3886
3763
  "declaration": {
3887
- "name": "Accordion",
3888
- "module": "src/accordion/accordion.ts"
3764
+ "name": "AiCriteriaSearch",
3765
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3889
3766
  }
3890
3767
  },
3891
3768
  {
3892
3769
  "kind": "js",
3893
- "name": "foundationAccordionShadowOptions",
3770
+ "name": "foundationAiCriteriaSearchShadowOptions",
3894
3771
  "declaration": {
3895
- "name": "foundationAccordionShadowOptions",
3896
- "module": "src/accordion/accordion.ts"
3772
+ "name": "foundationAiCriteriaSearchShadowOptions",
3773
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3897
3774
  }
3898
3775
  },
3899
3776
  {
3900
3777
  "kind": "js",
3901
- "name": "defaultAccordionConfig",
3778
+ "name": "defaultAiCriteriaSearchConfig",
3902
3779
  "declaration": {
3903
- "name": "defaultAccordionConfig",
3904
- "module": "src/accordion/accordion.ts"
3780
+ "name": "defaultAiCriteriaSearchConfig",
3781
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3905
3782
  }
3906
3783
  },
3907
3784
  {
3908
3785
  "kind": "js",
3909
- "name": "foundationAccordion",
3786
+ "name": "foundationAiCriteriaSearch",
3910
3787
  "declaration": {
3911
- "name": "foundationAccordion",
3912
- "module": "src/accordion/accordion.ts"
3788
+ "name": "foundationAiCriteriaSearch",
3789
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3913
3790
  }
3914
3791
  }
3915
3792
  ]
3916
3793
  },
3917
3794
  {
3918
3795
  "kind": "javascript-module",
3919
- "path": "src/accordion/index.ts",
3796
+ "path": "src/ai-criteria-search/index.ts",
3920
3797
  "declarations": [],
3921
3798
  "exports": [
3799
+ {
3800
+ "kind": "js",
3801
+ "name": "AiCriteriaSearch",
3802
+ "declaration": {
3803
+ "name": "AiCriteriaSearch",
3804
+ "module": "./ai-criteria-search"
3805
+ }
3806
+ },
3807
+ {
3808
+ "kind": "js",
3809
+ "name": "defaultAiCriteriaSearchConfig",
3810
+ "declaration": {
3811
+ "name": "defaultAiCriteriaSearchConfig",
3812
+ "module": "./ai-criteria-search"
3813
+ }
3814
+ },
3815
+ {
3816
+ "kind": "js",
3817
+ "name": "foundationAiCriteriaSearch",
3818
+ "declaration": {
3819
+ "name": "foundationAiCriteriaSearch",
3820
+ "module": "./ai-criteria-search"
3821
+ }
3822
+ },
3823
+ {
3824
+ "kind": "js",
3825
+ "name": "foundationAiCriteriaSearchShadowOptions",
3826
+ "declaration": {
3827
+ "name": "foundationAiCriteriaSearchShadowOptions",
3828
+ "module": "./ai-criteria-search"
3829
+ }
3830
+ },
3831
+ {
3832
+ "kind": "js",
3833
+ "name": "foundationAiCriteriaSearchStyles",
3834
+ "declaration": {
3835
+ "name": "foundationAiCriteriaSearchStyles",
3836
+ "module": "./ai-criteria-search.styles"
3837
+ }
3838
+ },
3839
+ {
3840
+ "kind": "js",
3841
+ "name": "foundationAiCriteriaSearchTemplate",
3842
+ "declaration": {
3843
+ "name": "foundationAiCriteriaSearchTemplate",
3844
+ "module": "./ai-criteria-search.template"
3845
+ }
3846
+ },
3922
3847
  {
3923
3848
  "kind": "js",
3924
3849
  "name": "*",
3925
3850
  "declaration": {
3926
3851
  "name": "*",
3927
- "package": "./accordion.template"
3852
+ "package": "./validation/criteria-ir"
3928
3853
  }
3929
3854
  },
3930
3855
  {
@@ -3932,7 +3857,7 @@
3932
3857
  "name": "*",
3933
3858
  "declaration": {
3934
3859
  "name": "*",
3935
- "package": "./accordion.styles"
3860
+ "package": "./validation/operator-map"
3936
3861
  }
3937
3862
  },
3938
3863
  {
@@ -3940,7 +3865,82 @@
3940
3865
  "name": "*",
3941
3866
  "declaration": {
3942
3867
  "name": "*",
3943
- "package": "./accordion"
3868
+ "package": "./validation/schema-validator"
3869
+ }
3870
+ }
3871
+ ]
3872
+ },
3873
+ {
3874
+ "kind": "javascript-module",
3875
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3876
+ "declarations": [
3877
+ {
3878
+ "kind": "function",
3879
+ "name": "formatValidationErrors",
3880
+ "return": {
3881
+ "type": {
3882
+ "text": "string"
3883
+ }
3884
+ },
3885
+ "parameters": [
3886
+ {
3887
+ "name": "errors",
3888
+ "type": {
3889
+ "text": "ValidationError[]"
3890
+ }
3891
+ }
3892
+ ],
3893
+ "description": "Formats validation errors into a user-friendly message."
3894
+ },
3895
+ {
3896
+ "kind": "function",
3897
+ "name": "showCriteriaError",
3898
+ "return": {
3899
+ "type": {
3900
+ "text": "void"
3901
+ }
3902
+ },
3903
+ "parameters": [
3904
+ {
3905
+ "name": "title",
3906
+ "type": {
3907
+ "text": "string"
3908
+ },
3909
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3910
+ },
3911
+ {
3912
+ "name": "body",
3913
+ "type": {
3914
+ "text": "string"
3915
+ },
3916
+ "description": "Error message to display"
3917
+ },
3918
+ {
3919
+ "name": "tagName",
3920
+ "type": {
3921
+ "text": "string"
3922
+ },
3923
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3924
+ }
3925
+ ],
3926
+ "description": "Shows a criteria error as a toast notification."
3927
+ }
3928
+ ],
3929
+ "exports": [
3930
+ {
3931
+ "kind": "js",
3932
+ "name": "formatValidationErrors",
3933
+ "declaration": {
3934
+ "name": "formatValidationErrors",
3935
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3936
+ }
3937
+ },
3938
+ {
3939
+ "kind": "js",
3940
+ "name": "showCriteriaError",
3941
+ "declaration": {
3942
+ "name": "showCriteriaError",
3943
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3944
3944
  }
3945
3945
  }
3946
3946
  ]