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