@genesislcap/foundation-ui 15.38.0 → 15.39.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,34 @@
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
- },
1498
+ "path": "src/actions-menu/actions-menu.styles.ts",
1499
+ "declarations": [
1509
1500
  {
1510
- "kind": "js",
1511
- "name": "*",
1512
- "declaration": {
1513
- "name": "*",
1514
- "package": "./tokens"
1515
- }
1501
+ "kind": "function",
1502
+ "name": "actionsMenuBaseStyles",
1503
+ "return": {
1504
+ "type": {
1505
+ "text": "ElementStyles"
1506
+ }
1507
+ },
1508
+ "parameters": [
1509
+ {
1510
+ "name": "context",
1511
+ "type": {
1512
+ "text": "ElementDefinitionContext"
1513
+ }
1514
+ },
1515
+ {
1516
+ "name": "definition",
1517
+ "type": {
1518
+ "text": "FoundationElementDefinition"
1519
+ }
1520
+ }
1521
+ ]
1516
1522
  },
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/accordion-item/accordion-item.styles.ts",
1530
- "declarations": [
1531
1523
  {
1532
1524
  "kind": "function",
1533
- "name": "foundationAccordionItemStyles",
1525
+ "name": "foundationActionsMenuStyles",
1534
1526
  "return": {
1535
1527
  "type": {
1536
1528
  "text": "ElementStyles"
@@ -1555,198 +1547,323 @@
1555
1547
  "exports": [
1556
1548
  {
1557
1549
  "kind": "js",
1558
- "name": "foundationAccordionItemStyles",
1550
+ "name": "actionsMenuBaseStyles",
1559
1551
  "declaration": {
1560
- "name": "foundationAccordionItemStyles",
1561
- "module": "src/accordion-item/accordion-item.styles.ts"
1552
+ "name": "actionsMenuBaseStyles",
1553
+ "module": "src/actions-menu/actions-menu.styles.ts"
1554
+ }
1555
+ },
1556
+ {
1557
+ "kind": "js",
1558
+ "name": "foundationActionsMenuStyles",
1559
+ "declaration": {
1560
+ "name": "foundationActionsMenuStyles",
1561
+ "module": "src/actions-menu/actions-menu.styles.ts"
1562
1562
  }
1563
1563
  }
1564
1564
  ]
1565
1565
  },
1566
1566
  {
1567
1567
  "kind": "javascript-module",
1568
- "path": "src/accordion-item/accordion-item.template.ts",
1568
+ "path": "src/actions-menu/actions-menu.template.ts",
1569
1569
  "declarations": [
1570
1570
  {
1571
1571
  "kind": "function",
1572
- "name": "foundationAccordionItemTemplate",
1573
- "return": {
1574
- "type": {
1575
- "text": "ViewTemplate<AccordionItem>"
1576
- }
1577
- },
1572
+ "name": "menuTemplate",
1578
1573
  "parameters": [
1579
1574
  {
1580
- "name": "context",
1575
+ "name": "prefix",
1581
1576
  "type": {
1582
- "text": "ElementDefinitionContext"
1577
+ "text": "string"
1583
1578
  }
1584
- },
1579
+ }
1580
+ ]
1581
+ },
1582
+ {
1583
+ "kind": "function",
1584
+ "name": "singleOptionTemplate",
1585
+ "parameters": [
1585
1586
  {
1586
- "name": "definition",
1587
+ "name": "prefix",
1587
1588
  "type": {
1588
- "text": "FoundationElementDefinition"
1589
+ "text": "string"
1589
1590
  }
1590
1591
  }
1591
1592
  ]
1593
+ },
1594
+ {
1595
+ "kind": "variable",
1596
+ "name": "foundationActionsMenuTemplate",
1597
+ "type": {
1598
+ "text": "ViewTemplate<ActionsMenu>"
1599
+ },
1600
+ "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`"
1592
1601
  }
1593
1602
  ],
1594
1603
  "exports": [
1595
1604
  {
1596
1605
  "kind": "js",
1597
- "name": "foundationAccordionItemTemplate",
1606
+ "name": "menuTemplate",
1598
1607
  "declaration": {
1599
- "name": "foundationAccordionItemTemplate",
1600
- "module": "src/accordion-item/accordion-item.template.ts"
1608
+ "name": "menuTemplate",
1609
+ "module": "src/actions-menu/actions-menu.template.ts"
1610
+ }
1611
+ },
1612
+ {
1613
+ "kind": "js",
1614
+ "name": "singleOptionTemplate",
1615
+ "declaration": {
1616
+ "name": "singleOptionTemplate",
1617
+ "module": "src/actions-menu/actions-menu.template.ts"
1618
+ }
1619
+ },
1620
+ {
1621
+ "kind": "js",
1622
+ "name": "foundationActionsMenuTemplate",
1623
+ "declaration": {
1624
+ "name": "foundationActionsMenuTemplate",
1625
+ "module": "src/actions-menu/actions-menu.template.ts"
1601
1626
  }
1602
1627
  }
1603
1628
  ]
1604
1629
  },
1605
1630
  {
1606
1631
  "kind": "javascript-module",
1607
- "path": "src/accordion-item/accordion-item.ts",
1632
+ "path": "src/actions-menu/actions-menu.ts",
1608
1633
  "declarations": [
1609
1634
  {
1610
1635
  "kind": "class",
1611
1636
  "description": "",
1612
- "name": "AccordionItem",
1613
- "superclass": {
1614
- "name": "FASTAccordionItem",
1615
- "package": "@microsoft/fast-components"
1616
- },
1617
- "tagName": "%%prefix%%-accordion-item",
1618
- "customElement": true,
1619
- "attributes": [
1637
+ "name": "ActionsMenu",
1638
+ "members": [
1620
1639
  {
1621
- "name": "heading-level",
1640
+ "kind": "field",
1641
+ "name": "actions",
1622
1642
  "type": {
1623
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1624
- },
1625
- "default": "2",
1626
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1627
- "fieldName": "headinglevel",
1628
- "inheritedFrom": {
1629
- "name": "AccordionItem",
1630
- "module": "src/accordion-item/accordion-item.ts"
1643
+ "text": "ActionMenuItem[]"
1631
1644
  }
1632
1645
  },
1633
1646
  {
1647
+ "kind": "field",
1648
+ "name": "isVertical",
1634
1649
  "type": {
1635
1650
  "text": "boolean"
1636
1651
  },
1637
- "default": "false",
1638
- "description": "Expands or collapses the item.",
1639
- "fieldName": "expanded",
1640
- "inheritedFrom": {
1641
- "name": "AccordionItem",
1642
- "module": "src/accordion-item/accordion-item.ts"
1643
- }
1652
+ "default": "false"
1644
1653
  },
1645
1654
  {
1646
- "name": "id",
1655
+ "kind": "field",
1656
+ "name": "addDefaultActions",
1647
1657
  "type": {
1648
- "text": "string"
1658
+ "text": "boolean"
1649
1659
  },
1650
- "description": "The item ID",
1651
- "fieldName": "id",
1652
- "inheritedFrom": {
1653
- "name": "AccordionItem",
1654
- "module": "src/accordion-item/accordion-item.ts"
1655
- }
1656
- }
1657
- ],
1658
- "members": [
1660
+ "default": "true"
1661
+ },
1659
1662
  {
1660
1663
  "kind": "field",
1661
- "name": "headinglevel",
1664
+ "name": "autoCloseOnAction",
1662
1665
  "type": {
1663
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1666
+ "text": "boolean"
1664
1667
  },
1665
- "privacy": "public",
1666
- "default": "2",
1667
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1668
- "inheritedFrom": {
1669
- "name": "AccordionItem",
1670
- "module": "src/accordion-item/accordion-item.ts"
1668
+ "default": "true"
1669
+ },
1670
+ {
1671
+ "kind": "field",
1672
+ "name": "classNames",
1673
+ "type": {
1674
+ "text": "string"
1671
1675
  }
1672
1676
  },
1673
1677
  {
1674
1678
  "kind": "field",
1675
- "name": "expanded",
1679
+ "name": "definition",
1676
1680
  "type": {
1677
- "text": "boolean"
1678
- },
1679
- "privacy": "public",
1680
- "default": "false",
1681
- "description": "Expands or collapses the item.",
1682
- "inheritedFrom": {
1683
- "name": "AccordionItem",
1684
- "module": "src/accordion-item/accordion-item.ts"
1681
+ "text": "any"
1685
1682
  }
1686
1683
  },
1687
1684
  {
1688
1685
  "kind": "field",
1689
- "name": "id",
1686
+ "name": "name",
1690
1687
  "type": {
1691
1688
  "text": "string"
1692
1689
  },
1693
- "privacy": "public",
1694
- "description": "The item ID",
1695
- "inheritedFrom": {
1696
- "name": "AccordionItem",
1697
- "module": "src/accordion-item/accordion-item.ts"
1698
- }
1690
+ "default": "'Actions'"
1699
1691
  },
1700
1692
  {
1701
1693
  "kind": "field",
1702
- "name": "change",
1703
- "privacy": "private",
1704
- "inheritedFrom": {
1705
- "name": "AccordionItem",
1706
- "module": "src/accordion-item/accordion-item.ts"
1707
- }
1694
+ "name": "open",
1695
+ "type": {
1696
+ "text": "boolean"
1697
+ },
1698
+ "default": "false"
1708
1699
  },
1709
1700
  {
1710
1701
  "kind": "field",
1711
- "name": "_presentation",
1702
+ "name": "buttonAppearance",
1712
1703
  "type": {
1713
- "text": "ComponentPresentation | null | undefined"
1714
- },
1715
- "privacy": "private",
1716
- "default": "void 0",
1717
- "inheritedFrom": {
1718
- "name": "FoundationElement",
1719
- "module": "src/foundation-element/foundation-element.ts"
1704
+ "text": "string"
1720
1705
  }
1721
1706
  },
1722
1707
  {
1723
1708
  "kind": "field",
1724
- "name": "$presentation",
1709
+ "name": "hideDisabled",
1725
1710
  "type": {
1726
- "text": "ComponentPresentation | null"
1711
+ "text": "boolean"
1727
1712
  },
1728
- "privacy": "public",
1729
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1730
- "inheritedFrom": {
1731
- "name": "FoundationElement",
1732
- "module": "src/foundation-element/foundation-element.ts"
1733
- }
1713
+ "default": "false"
1734
1714
  },
1735
1715
  {
1736
1716
  "kind": "field",
1737
- "name": "template",
1717
+ "name": "hideMenuSingleOption",
1738
1718
  "type": {
1739
- "text": "ElementViewTemplate | void | null"
1719
+ "text": "boolean"
1740
1720
  },
1741
- "privacy": "public",
1742
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1743
- "inheritedFrom": {
1744
- "name": "FoundationElement",
1745
- "module": "src/foundation-element/foundation-element.ts"
1746
- }
1721
+ "default": "false"
1747
1722
  },
1748
1723
  {
1749
- "kind": "method",
1724
+ "kind": "field",
1725
+ "name": "singleOption",
1726
+ "type": {
1727
+ "text": "ActionMenuItem"
1728
+ }
1729
+ },
1730
+ {
1731
+ "kind": "field",
1732
+ "name": "actionsMenu",
1733
+ "type": {
1734
+ "text": "HTMLElement"
1735
+ }
1736
+ },
1737
+ {
1738
+ "kind": "field",
1739
+ "name": "actionsOpener",
1740
+ "type": {
1741
+ "text": "HTMLElement"
1742
+ }
1743
+ },
1744
+ {
1745
+ "kind": "method",
1746
+ "name": "updateMenuPosition",
1747
+ "privacy": "private"
1748
+ },
1749
+ {
1750
+ "kind": "method",
1751
+ "name": "definitionChanged",
1752
+ "privacy": "protected",
1753
+ "parameters": [
1754
+ {
1755
+ "name": "oldValue",
1756
+ "type": {
1757
+ "text": "any"
1758
+ }
1759
+ },
1760
+ {
1761
+ "name": "newValue",
1762
+ "type": {
1763
+ "text": "any"
1764
+ }
1765
+ }
1766
+ ]
1767
+ },
1768
+ {
1769
+ "kind": "method",
1770
+ "name": "openChanged",
1771
+ "privacy": "protected"
1772
+ },
1773
+ {
1774
+ "kind": "method",
1775
+ "name": "toggleActionsMenuVisibility"
1776
+ },
1777
+ {
1778
+ "kind": "method",
1779
+ "name": "onActionMenuItemClick",
1780
+ "parameters": [
1781
+ {
1782
+ "name": "callback",
1783
+ "type": {
1784
+ "text": "(rowData) => void | any"
1785
+ }
1786
+ }
1787
+ ]
1788
+ },
1789
+ {
1790
+ "kind": "field",
1791
+ "name": "allActions",
1792
+ "type": {
1793
+ "text": "ActionMenuItem[]"
1794
+ },
1795
+ "readonly": true
1796
+ },
1797
+ {
1798
+ "kind": "field",
1799
+ "name": "rowData",
1800
+ "readonly": true
1801
+ },
1802
+ {
1803
+ "kind": "method",
1804
+ "name": "getLabel",
1805
+ "parameters": [
1806
+ {
1807
+ "name": "name",
1808
+ "type": {
1809
+ "text": "string | ((rowData: any) => string)"
1810
+ }
1811
+ }
1812
+ ]
1813
+ },
1814
+ {
1815
+ "kind": "method",
1816
+ "name": "getTemplate",
1817
+ "parameters": [
1818
+ {
1819
+ "name": "prefix",
1820
+ "type": {
1821
+ "text": "string"
1822
+ }
1823
+ }
1824
+ ]
1825
+ },
1826
+ {
1827
+ "kind": "field",
1828
+ "name": "_presentation",
1829
+ "type": {
1830
+ "text": "ComponentPresentation | null | undefined"
1831
+ },
1832
+ "privacy": "private",
1833
+ "default": "void 0",
1834
+ "inheritedFrom": {
1835
+ "name": "FoundationElement",
1836
+ "module": "src/foundation-element/foundation-element.ts"
1837
+ }
1838
+ },
1839
+ {
1840
+ "kind": "field",
1841
+ "name": "$presentation",
1842
+ "type": {
1843
+ "text": "ComponentPresentation | null"
1844
+ },
1845
+ "privacy": "public",
1846
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1847
+ "inheritedFrom": {
1848
+ "name": "FoundationElement",
1849
+ "module": "src/foundation-element/foundation-element.ts"
1850
+ }
1851
+ },
1852
+ {
1853
+ "kind": "field",
1854
+ "name": "template",
1855
+ "type": {
1856
+ "text": "ElementViewTemplate | void | null"
1857
+ },
1858
+ "privacy": "public",
1859
+ "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.",
1860
+ "inheritedFrom": {
1861
+ "name": "FoundationElement",
1862
+ "module": "src/foundation-element/foundation-element.ts"
1863
+ }
1864
+ },
1865
+ {
1866
+ "kind": "method",
1750
1867
  "name": "templateChanged",
1751
1868
  "privacy": "protected",
1752
1869
  "return": {
@@ -1818,78 +1935,138 @@
1818
1935
  }
1819
1936
  }
1820
1937
  ],
1821
- "events": [
1938
+ "attributes": [
1822
1939
  {
1823
- "description": "Fires a custom 'change' event when the button is invoked",
1824
- "name": "change",
1825
- "inheritedFrom": {
1826
- "name": "AccordionItem",
1827
- "module": "src/accordion-item/accordion-item.ts"
1828
- }
1940
+ "name": "is-vertical",
1941
+ "type": {
1942
+ "text": "boolean"
1943
+ },
1944
+ "default": "false",
1945
+ "fieldName": "isVertical"
1946
+ },
1947
+ {
1948
+ "name": "add-default-actions",
1949
+ "type": {
1950
+ "text": "boolean"
1951
+ },
1952
+ "default": "true",
1953
+ "fieldName": "addDefaultActions"
1954
+ },
1955
+ {
1956
+ "name": "auto-close-on-action",
1957
+ "type": {
1958
+ "text": "boolean"
1959
+ },
1960
+ "default": "true",
1961
+ "fieldName": "autoCloseOnAction"
1962
+ },
1963
+ {
1964
+ "name": "name",
1965
+ "type": {
1966
+ "text": "string"
1967
+ },
1968
+ "default": "'Actions'",
1969
+ "fieldName": "name"
1970
+ },
1971
+ {
1972
+ "name": "open",
1973
+ "type": {
1974
+ "text": "boolean"
1975
+ },
1976
+ "default": "false",
1977
+ "fieldName": "open"
1978
+ },
1979
+ {
1980
+ "name": "buttonAppearance",
1981
+ "type": {
1982
+ "text": "string"
1983
+ },
1984
+ "fieldName": "buttonAppearance"
1985
+ },
1986
+ {
1987
+ "name": "hide-disabled",
1988
+ "type": {
1989
+ "text": "boolean"
1990
+ },
1991
+ "default": "false",
1992
+ "fieldName": "hideDisabled"
1993
+ },
1994
+ {
1995
+ "name": "hide-menu-single-option",
1996
+ "type": {
1997
+ "text": "boolean"
1998
+ },
1999
+ "default": "false",
2000
+ "fieldName": "hideMenuSingleOption"
1829
2001
  }
1830
- ]
1831
- },
1832
- {
1833
- "kind": "variable",
1834
- "name": "foundationAccordionItemShadowOptions",
1835
- "type": {
1836
- "text": "ShadowRootInit"
1837
- },
1838
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1839
- },
1840
- {
1841
- "kind": "variable",
1842
- "name": "defaultAccordionItemConfig",
1843
- "type": {
1844
- "text": "object"
2002
+ ],
2003
+ "superclass": {
2004
+ "name": "FoundationElement",
2005
+ "package": "@microsoft/fast-foundation"
1845
2006
  },
1846
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
2007
+ "tagName": "%%prefix%%-actions-menu",
2008
+ "customElement": true
1847
2009
  },
1848
2010
  {
1849
2011
  "kind": "variable",
1850
- "name": "foundationAccordionItem",
1851
- "description": "The Foundation Accordion Item",
2012
+ "name": "foundationActionsMenu",
2013
+ "description": "The Foundation Actions Menu",
1852
2014
  "privacy": "public"
1853
2015
  }
1854
2016
  ],
1855
2017
  "exports": [
1856
2018
  {
1857
2019
  "kind": "js",
1858
- "name": "AccordionItem",
2020
+ "name": "ActionsMenu",
1859
2021
  "declaration": {
1860
- "name": "AccordionItem",
1861
- "module": "src/accordion-item/accordion-item.ts"
2022
+ "name": "ActionsMenu",
2023
+ "module": "src/actions-menu/actions-menu.ts"
1862
2024
  }
1863
2025
  },
1864
2026
  {
1865
2027
  "kind": "js",
1866
- "name": "foundationAccordionItemShadowOptions",
2028
+ "name": "foundationActionsMenu",
1867
2029
  "declaration": {
1868
- "name": "foundationAccordionItemShadowOptions",
1869
- "module": "src/accordion-item/accordion-item.ts"
2030
+ "name": "foundationActionsMenu",
2031
+ "module": "src/actions-menu/actions-menu.ts"
1870
2032
  }
1871
- },
1872
- {
1873
- "kind": "js",
1874
- "name": "defaultAccordionItemConfig",
1875
- "declaration": {
1876
- "name": "defaultAccordionItemConfig",
1877
- "module": "src/accordion-item/accordion-item.ts"
2033
+ }
2034
+ ]
2035
+ },
2036
+ {
2037
+ "kind": "javascript-module",
2038
+ "path": "src/actions-menu/index.ts",
2039
+ "declarations": [],
2040
+ "exports": [
2041
+ {
2042
+ "kind": "js",
2043
+ "name": "*",
2044
+ "declaration": {
2045
+ "name": "*",
2046
+ "package": "./actions-menu.styles"
1878
2047
  }
1879
2048
  },
1880
2049
  {
1881
2050
  "kind": "js",
1882
- "name": "foundationAccordionItem",
2051
+ "name": "*",
1883
2052
  "declaration": {
1884
- "name": "foundationAccordionItem",
1885
- "module": "src/accordion-item/accordion-item.ts"
2053
+ "name": "*",
2054
+ "package": "./actions-menu.template"
2055
+ }
2056
+ },
2057
+ {
2058
+ "kind": "js",
2059
+ "name": "*",
2060
+ "declaration": {
2061
+ "name": "*",
2062
+ "package": "./actions-menu"
1886
2063
  }
1887
2064
  }
1888
2065
  ]
1889
2066
  },
1890
2067
  {
1891
2068
  "kind": "javascript-module",
1892
- "path": "src/accordion-item/index.ts",
2069
+ "path": "src/_config/index.ts",
1893
2070
  "declarations": [],
1894
2071
  "exports": [
1895
2072
  {
@@ -1897,7 +2074,7 @@
1897
2074
  "name": "*",
1898
2075
  "declaration": {
1899
2076
  "name": "*",
1900
- "package": "./accordion-item.template"
2077
+ "package": "./styles"
1901
2078
  }
1902
2079
  },
1903
2080
  {
@@ -1905,7 +2082,7 @@
1905
2082
  "name": "*",
1906
2083
  "declaration": {
1907
2084
  "name": "*",
1908
- "package": "./accordion-item.styles"
2085
+ "package": "./tokens"
1909
2086
  }
1910
2087
  },
1911
2088
  {
@@ -1913,41 +2090,18 @@
1913
2090
  "name": "*",
1914
2091
  "declaration": {
1915
2092
  "name": "*",
1916
- "package": "./accordion-item"
2093
+ "package": "./values"
1917
2094
  }
1918
2095
  }
1919
2096
  ]
1920
2097
  },
1921
2098
  {
1922
2099
  "kind": "javascript-module",
1923
- "path": "src/actions-menu/actions-menu.styles.ts",
2100
+ "path": "src/accordion-item/accordion-item.styles.ts",
1924
2101
  "declarations": [
1925
2102
  {
1926
2103
  "kind": "function",
1927
- "name": "actionsMenuBaseStyles",
1928
- "return": {
1929
- "type": {
1930
- "text": "ElementStyles"
1931
- }
1932
- },
1933
- "parameters": [
1934
- {
1935
- "name": "context",
1936
- "type": {
1937
- "text": "ElementDefinitionContext"
1938
- }
1939
- },
1940
- {
1941
- "name": "definition",
1942
- "type": {
1943
- "text": "FoundationElementDefinition"
1944
- }
1945
- }
1946
- ]
1947
- },
1948
- {
1949
- "kind": "function",
1950
- "name": "foundationActionsMenuStyles",
2104
+ "name": "foundationAccordionItemStyles",
1951
2105
  "return": {
1952
2106
  "type": {
1953
2107
  "text": "ElementStyles"
@@ -1972,281 +2126,156 @@
1972
2126
  "exports": [
1973
2127
  {
1974
2128
  "kind": "js",
1975
- "name": "actionsMenuBaseStyles",
1976
- "declaration": {
1977
- "name": "actionsMenuBaseStyles",
1978
- "module": "src/actions-menu/actions-menu.styles.ts"
1979
- }
1980
- },
1981
- {
1982
- "kind": "js",
1983
- "name": "foundationActionsMenuStyles",
2129
+ "name": "foundationAccordionItemStyles",
1984
2130
  "declaration": {
1985
- "name": "foundationActionsMenuStyles",
1986
- "module": "src/actions-menu/actions-menu.styles.ts"
2131
+ "name": "foundationAccordionItemStyles",
2132
+ "module": "src/accordion-item/accordion-item.styles.ts"
1987
2133
  }
1988
2134
  }
1989
2135
  ]
1990
2136
  },
1991
2137
  {
1992
2138
  "kind": "javascript-module",
1993
- "path": "src/actions-menu/actions-menu.template.ts",
2139
+ "path": "src/accordion-item/accordion-item.template.ts",
1994
2140
  "declarations": [
1995
2141
  {
1996
2142
  "kind": "function",
1997
- "name": "menuTemplate",
2143
+ "name": "foundationAccordionItemTemplate",
2144
+ "return": {
2145
+ "type": {
2146
+ "text": "ViewTemplate<AccordionItem>"
2147
+ }
2148
+ },
1998
2149
  "parameters": [
1999
2150
  {
2000
- "name": "prefix",
2151
+ "name": "context",
2001
2152
  "type": {
2002
- "text": "string"
2153
+ "text": "ElementDefinitionContext"
2003
2154
  }
2004
- }
2005
- ]
2006
- },
2007
- {
2008
- "kind": "function",
2009
- "name": "singleOptionTemplate",
2010
- "parameters": [
2155
+ },
2011
2156
  {
2012
- "name": "prefix",
2157
+ "name": "definition",
2013
2158
  "type": {
2014
- "text": "string"
2159
+ "text": "FoundationElementDefinition"
2015
2160
  }
2016
2161
  }
2017
2162
  ]
2018
- },
2019
- {
2020
- "kind": "variable",
2021
- "name": "foundationActionsMenuTemplate",
2022
- "type": {
2023
- "text": "ViewTemplate<ActionsMenu>"
2024
- },
2025
- "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`"
2026
2163
  }
2027
2164
  ],
2028
2165
  "exports": [
2029
2166
  {
2030
2167
  "kind": "js",
2031
- "name": "menuTemplate",
2032
- "declaration": {
2033
- "name": "menuTemplate",
2034
- "module": "src/actions-menu/actions-menu.template.ts"
2035
- }
2036
- },
2037
- {
2038
- "kind": "js",
2039
- "name": "singleOptionTemplate",
2040
- "declaration": {
2041
- "name": "singleOptionTemplate",
2042
- "module": "src/actions-menu/actions-menu.template.ts"
2043
- }
2044
- },
2045
- {
2046
- "kind": "js",
2047
- "name": "foundationActionsMenuTemplate",
2168
+ "name": "foundationAccordionItemTemplate",
2048
2169
  "declaration": {
2049
- "name": "foundationActionsMenuTemplate",
2050
- "module": "src/actions-menu/actions-menu.template.ts"
2170
+ "name": "foundationAccordionItemTemplate",
2171
+ "module": "src/accordion-item/accordion-item.template.ts"
2051
2172
  }
2052
2173
  }
2053
2174
  ]
2054
2175
  },
2055
2176
  {
2056
2177
  "kind": "javascript-module",
2057
- "path": "src/actions-menu/actions-menu.ts",
2178
+ "path": "src/accordion-item/accordion-item.ts",
2058
2179
  "declarations": [
2059
2180
  {
2060
2181
  "kind": "class",
2061
2182
  "description": "",
2062
- "name": "ActionsMenu",
2063
- "members": [
2064
- {
2065
- "kind": "field",
2066
- "name": "actions",
2067
- "type": {
2068
- "text": "ActionMenuItem[]"
2069
- }
2070
- },
2071
- {
2072
- "kind": "field",
2073
- "name": "isVertical",
2074
- "type": {
2075
- "text": "boolean"
2076
- },
2077
- "default": "false"
2078
- },
2183
+ "name": "AccordionItem",
2184
+ "superclass": {
2185
+ "name": "FASTAccordionItem",
2186
+ "package": "@microsoft/fast-components"
2187
+ },
2188
+ "tagName": "%%prefix%%-accordion-item",
2189
+ "customElement": true,
2190
+ "attributes": [
2079
2191
  {
2080
- "kind": "field",
2081
- "name": "addDefaultActions",
2192
+ "name": "heading-level",
2082
2193
  "type": {
2083
- "text": "boolean"
2194
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2084
2195
  },
2085
- "default": "true"
2196
+ "default": "2",
2197
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2198
+ "fieldName": "headinglevel",
2199
+ "inheritedFrom": {
2200
+ "name": "AccordionItem",
2201
+ "module": "src/accordion-item/accordion-item.ts"
2202
+ }
2086
2203
  },
2087
2204
  {
2088
- "kind": "field",
2089
- "name": "autoCloseOnAction",
2090
2205
  "type": {
2091
2206
  "text": "boolean"
2092
2207
  },
2093
- "default": "true"
2094
- },
2095
- {
2096
- "kind": "field",
2097
- "name": "classNames",
2098
- "type": {
2099
- "text": "string"
2100
- }
2101
- },
2102
- {
2103
- "kind": "field",
2104
- "name": "definition",
2105
- "type": {
2106
- "text": "any"
2208
+ "default": "false",
2209
+ "description": "Expands or collapses the item.",
2210
+ "fieldName": "expanded",
2211
+ "inheritedFrom": {
2212
+ "name": "AccordionItem",
2213
+ "module": "src/accordion-item/accordion-item.ts"
2107
2214
  }
2108
2215
  },
2109
2216
  {
2110
- "kind": "field",
2111
- "name": "name",
2217
+ "name": "id",
2112
2218
  "type": {
2113
2219
  "text": "string"
2114
2220
  },
2115
- "default": "'Actions'"
2116
- },
2117
- {
2118
- "kind": "field",
2119
- "name": "open",
2120
- "type": {
2121
- "text": "boolean"
2122
- },
2123
- "default": "false"
2124
- },
2125
- {
2126
- "kind": "field",
2127
- "name": "buttonAppearance",
2128
- "type": {
2129
- "text": "string"
2221
+ "description": "The item ID",
2222
+ "fieldName": "id",
2223
+ "inheritedFrom": {
2224
+ "name": "AccordionItem",
2225
+ "module": "src/accordion-item/accordion-item.ts"
2130
2226
  }
2131
- },
2132
- {
2133
- "kind": "field",
2134
- "name": "hideDisabled",
2135
- "type": {
2136
- "text": "boolean"
2137
- },
2138
- "default": "false"
2139
- },
2227
+ }
2228
+ ],
2229
+ "members": [
2140
2230
  {
2141
2231
  "kind": "field",
2142
- "name": "hideMenuSingleOption",
2232
+ "name": "headinglevel",
2143
2233
  "type": {
2144
- "text": "boolean"
2234
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2145
2235
  },
2146
- "default": "false"
2147
- },
2148
- {
2149
- "kind": "field",
2150
- "name": "singleOption",
2151
- "type": {
2152
- "text": "ActionMenuItem"
2153
- }
2154
- },
2155
- {
2156
- "kind": "field",
2157
- "name": "actionsMenu",
2158
- "type": {
2159
- "text": "HTMLElement"
2236
+ "privacy": "public",
2237
+ "default": "2",
2238
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2239
+ "inheritedFrom": {
2240
+ "name": "AccordionItem",
2241
+ "module": "src/accordion-item/accordion-item.ts"
2160
2242
  }
2161
2243
  },
2162
2244
  {
2163
2245
  "kind": "field",
2164
- "name": "actionsOpener",
2246
+ "name": "expanded",
2165
2247
  "type": {
2166
- "text": "HTMLElement"
2167
- }
2168
- },
2169
- {
2170
- "kind": "method",
2171
- "name": "updateMenuPosition",
2172
- "privacy": "private"
2173
- },
2174
- {
2175
- "kind": "method",
2176
- "name": "definitionChanged",
2177
- "privacy": "protected",
2178
- "parameters": [
2179
- {
2180
- "name": "oldValue",
2181
- "type": {
2182
- "text": "any"
2183
- }
2184
- },
2185
- {
2186
- "name": "newValue",
2187
- "type": {
2188
- "text": "any"
2189
- }
2190
- }
2191
- ]
2192
- },
2193
- {
2194
- "kind": "method",
2195
- "name": "openChanged",
2196
- "privacy": "protected"
2197
- },
2198
- {
2199
- "kind": "method",
2200
- "name": "toggleActionsMenuVisibility"
2201
- },
2202
- {
2203
- "kind": "method",
2204
- "name": "onActionMenuItemClick",
2205
- "parameters": [
2206
- {
2207
- "name": "callback",
2208
- "type": {
2209
- "text": "(rowData) => void | any"
2210
- }
2211
- }
2212
- ]
2248
+ "text": "boolean"
2249
+ },
2250
+ "privacy": "public",
2251
+ "default": "false",
2252
+ "description": "Expands or collapses the item.",
2253
+ "inheritedFrom": {
2254
+ "name": "AccordionItem",
2255
+ "module": "src/accordion-item/accordion-item.ts"
2256
+ }
2213
2257
  },
2214
2258
  {
2215
2259
  "kind": "field",
2216
- "name": "allActions",
2260
+ "name": "id",
2217
2261
  "type": {
2218
- "text": "ActionMenuItem[]"
2262
+ "text": "string"
2219
2263
  },
2220
- "readonly": true
2264
+ "privacy": "public",
2265
+ "description": "The item ID",
2266
+ "inheritedFrom": {
2267
+ "name": "AccordionItem",
2268
+ "module": "src/accordion-item/accordion-item.ts"
2269
+ }
2221
2270
  },
2222
2271
  {
2223
2272
  "kind": "field",
2224
- "name": "rowData",
2225
- "readonly": true
2226
- },
2227
- {
2228
- "kind": "method",
2229
- "name": "getLabel",
2230
- "parameters": [
2231
- {
2232
- "name": "name",
2233
- "type": {
2234
- "text": "string | ((rowData: any) => string)"
2235
- }
2236
- }
2237
- ]
2238
- },
2239
- {
2240
- "kind": "method",
2241
- "name": "getTemplate",
2242
- "parameters": [
2243
- {
2244
- "name": "prefix",
2245
- "type": {
2246
- "text": "string"
2247
- }
2248
- }
2249
- ]
2273
+ "name": "change",
2274
+ "privacy": "private",
2275
+ "inheritedFrom": {
2276
+ "name": "AccordionItem",
2277
+ "module": "src/accordion-item/accordion-item.ts"
2278
+ }
2250
2279
  },
2251
2280
  {
2252
2281
  "kind": "field",
@@ -2360,107 +2389,78 @@
2360
2389
  }
2361
2390
  }
2362
2391
  ],
2363
- "attributes": [
2364
- {
2365
- "name": "is-vertical",
2366
- "type": {
2367
- "text": "boolean"
2368
- },
2369
- "default": "false",
2370
- "fieldName": "isVertical"
2371
- },
2372
- {
2373
- "name": "add-default-actions",
2374
- "type": {
2375
- "text": "boolean"
2376
- },
2377
- "default": "true",
2378
- "fieldName": "addDefaultActions"
2379
- },
2380
- {
2381
- "name": "auto-close-on-action",
2382
- "type": {
2383
- "text": "boolean"
2384
- },
2385
- "default": "true",
2386
- "fieldName": "autoCloseOnAction"
2387
- },
2388
- {
2389
- "name": "name",
2390
- "type": {
2391
- "text": "string"
2392
- },
2393
- "default": "'Actions'",
2394
- "fieldName": "name"
2395
- },
2396
- {
2397
- "name": "open",
2398
- "type": {
2399
- "text": "boolean"
2400
- },
2401
- "default": "false",
2402
- "fieldName": "open"
2403
- },
2404
- {
2405
- "name": "buttonAppearance",
2406
- "type": {
2407
- "text": "string"
2408
- },
2409
- "fieldName": "buttonAppearance"
2410
- },
2411
- {
2412
- "name": "hide-disabled",
2413
- "type": {
2414
- "text": "boolean"
2415
- },
2416
- "default": "false",
2417
- "fieldName": "hideDisabled"
2418
- },
2392
+ "events": [
2419
2393
  {
2420
- "name": "hide-menu-single-option",
2421
- "type": {
2422
- "text": "boolean"
2423
- },
2424
- "default": "false",
2425
- "fieldName": "hideMenuSingleOption"
2394
+ "description": "Fires a custom 'change' event when the button is invoked",
2395
+ "name": "change",
2396
+ "inheritedFrom": {
2397
+ "name": "AccordionItem",
2398
+ "module": "src/accordion-item/accordion-item.ts"
2399
+ }
2426
2400
  }
2427
- ],
2428
- "superclass": {
2429
- "name": "FoundationElement",
2430
- "package": "@microsoft/fast-foundation"
2401
+ ]
2402
+ },
2403
+ {
2404
+ "kind": "variable",
2405
+ "name": "foundationAccordionItemShadowOptions",
2406
+ "type": {
2407
+ "text": "ShadowRootInit"
2431
2408
  },
2432
- "tagName": "%%prefix%%-actions-menu",
2433
- "customElement": true
2409
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2434
2410
  },
2435
2411
  {
2436
2412
  "kind": "variable",
2437
- "name": "foundationActionsMenu",
2438
- "description": "The Foundation Actions Menu",
2413
+ "name": "defaultAccordionItemConfig",
2414
+ "type": {
2415
+ "text": "object"
2416
+ },
2417
+ "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}"
2418
+ },
2419
+ {
2420
+ "kind": "variable",
2421
+ "name": "foundationAccordionItem",
2422
+ "description": "The Foundation Accordion Item",
2439
2423
  "privacy": "public"
2440
2424
  }
2441
2425
  ],
2442
2426
  "exports": [
2443
2427
  {
2444
2428
  "kind": "js",
2445
- "name": "ActionsMenu",
2429
+ "name": "AccordionItem",
2446
2430
  "declaration": {
2447
- "name": "ActionsMenu",
2448
- "module": "src/actions-menu/actions-menu.ts"
2431
+ "name": "AccordionItem",
2432
+ "module": "src/accordion-item/accordion-item.ts"
2449
2433
  }
2450
2434
  },
2451
2435
  {
2452
2436
  "kind": "js",
2453
- "name": "foundationActionsMenu",
2437
+ "name": "foundationAccordionItemShadowOptions",
2454
2438
  "declaration": {
2455
- "name": "foundationActionsMenu",
2456
- "module": "src/actions-menu/actions-menu.ts"
2439
+ "name": "foundationAccordionItemShadowOptions",
2440
+ "module": "src/accordion-item/accordion-item.ts"
2441
+ }
2442
+ },
2443
+ {
2444
+ "kind": "js",
2445
+ "name": "defaultAccordionItemConfig",
2446
+ "declaration": {
2447
+ "name": "defaultAccordionItemConfig",
2448
+ "module": "src/accordion-item/accordion-item.ts"
2449
+ }
2450
+ },
2451
+ {
2452
+ "kind": "js",
2453
+ "name": "foundationAccordionItem",
2454
+ "declaration": {
2455
+ "name": "foundationAccordionItem",
2456
+ "module": "src/accordion-item/accordion-item.ts"
2457
2457
  }
2458
2458
  }
2459
2459
  ]
2460
2460
  },
2461
2461
  {
2462
2462
  "kind": "javascript-module",
2463
- "path": "src/actions-menu/index.ts",
2463
+ "path": "src/accordion-item/index.ts",
2464
2464
  "declarations": [],
2465
2465
  "exports": [
2466
2466
  {
@@ -2468,7 +2468,7 @@
2468
2468
  "name": "*",
2469
2469
  "declaration": {
2470
2470
  "name": "*",
2471
- "package": "./actions-menu.styles"
2471
+ "package": "./accordion-item.template"
2472
2472
  }
2473
2473
  },
2474
2474
  {
@@ -2476,7 +2476,7 @@
2476
2476
  "name": "*",
2477
2477
  "declaration": {
2478
2478
  "name": "*",
2479
- "package": "./actions-menu.template"
2479
+ "package": "./accordion-item.styles"
2480
2480
  }
2481
2481
  },
2482
2482
  {
@@ -2484,111 +2484,122 @@
2484
2484
  "name": "*",
2485
2485
  "declaration": {
2486
2486
  "name": "*",
2487
- "package": "./actions-menu"
2487
+ "package": "./accordion-item"
2488
2488
  }
2489
2489
  }
2490
2490
  ]
2491
2491
  },
2492
2492
  {
2493
2493
  "kind": "javascript-module",
2494
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2494
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2495
2495
  "declarations": [
2496
2496
  {
2497
- "kind": "function",
2498
- "name": "foundationAiIndicatorStyles",
2499
- "return": {
2500
- "type": {
2501
- "text": "ElementStyles"
2502
- }
2503
- },
2504
- "parameters": [
2505
- {
2506
- "name": "context",
2507
- "type": {
2508
- "text": "ElementDefinitionContext"
2509
- }
2510
- },
2511
- {
2512
- "name": "definition",
2513
- "type": {
2514
- "text": "FoundationElementDefinition"
2515
- }
2516
- }
2517
- ]
2497
+ "kind": "variable",
2498
+ "name": "foundationAiCriteriaSearchStyles",
2499
+ "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`"
2518
2500
  }
2519
2501
  ],
2520
2502
  "exports": [
2521
2503
  {
2522
2504
  "kind": "js",
2523
- "name": "foundationAiIndicatorStyles",
2505
+ "name": "foundationAiCriteriaSearchStyles",
2524
2506
  "declaration": {
2525
- "name": "foundationAiIndicatorStyles",
2526
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2507
+ "name": "foundationAiCriteriaSearchStyles",
2508
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2527
2509
  }
2528
2510
  }
2529
2511
  ]
2530
2512
  },
2531
2513
  {
2532
2514
  "kind": "javascript-module",
2533
- "path": "src/ai-indicator/ai-indicator.template.ts",
2515
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2534
2516
  "declarations": [
2535
2517
  {
2536
2518
  "kind": "variable",
2537
- "name": "foundationAiIndicatorTemplate",
2519
+ "name": "foundationAiCriteriaSearchTemplate",
2538
2520
  "type": {
2539
- "text": "ViewTemplate<AiIndicator>"
2521
+ "text": "ViewTemplate<AiCriteriaSearch>"
2540
2522
  },
2541
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2523
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2542
2524
  }
2543
2525
  ],
2544
2526
  "exports": [
2545
2527
  {
2546
2528
  "kind": "js",
2547
- "name": "foundationAiIndicatorTemplate",
2529
+ "name": "foundationAiCriteriaSearchTemplate",
2548
2530
  "declaration": {
2549
- "name": "foundationAiIndicatorTemplate",
2550
- "module": "src/ai-indicator/ai-indicator.template.ts"
2531
+ "name": "foundationAiCriteriaSearchTemplate",
2532
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2551
2533
  }
2552
2534
  }
2553
2535
  ]
2554
2536
  },
2555
2537
  {
2556
2538
  "kind": "javascript-module",
2557
- "path": "src/ai-indicator/ai-indicator.ts",
2539
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2558
2540
  "declarations": [
2559
2541
  {
2560
2542
  "kind": "class",
2561
- "description": "",
2562
- "name": "AiIndicator",
2543
+ "description": "Natural-language criteria search input with AI interpretation.",
2544
+ "name": "AiCriteriaSearch",
2563
2545
  "members": [
2564
2546
  {
2565
2547
  "kind": "field",
2566
- "name": "providerRegistry",
2548
+ "name": "providerRegistry",
2549
+ "type": {
2550
+ "text": "AIProviderRegistry"
2551
+ }
2552
+ },
2553
+ {
2554
+ "kind": "field",
2555
+ "name": "placeholder",
2556
+ "type": {
2557
+ "text": "string"
2558
+ },
2559
+ "default": "'Describe your search criteria in natural language...'"
2560
+ },
2561
+ {
2562
+ "kind": "field",
2563
+ "name": "disabled",
2564
+ "type": {
2565
+ "text": "boolean"
2566
+ }
2567
+ },
2568
+ {
2569
+ "kind": "field",
2570
+ "name": "inputValue",
2567
2571
  "type": {
2568
- "text": "AIProviderRegistry"
2569
- }
2572
+ "text": "string"
2573
+ },
2574
+ "default": "''"
2570
2575
  },
2571
2576
  {
2572
2577
  "kind": "field",
2573
- "name": "aiProvider",
2578
+ "name": "isInterpreting",
2574
2579
  "type": {
2575
- "text": "AIProvider | undefined"
2580
+ "text": "boolean"
2576
2581
  },
2577
- "privacy": "private",
2578
- "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.",
2579
- "readonly": true
2582
+ "default": "false"
2580
2583
  },
2581
2584
  {
2582
2585
  "kind": "field",
2583
- "name": "status",
2586
+ "name": "lastValidCriteria",
2584
2587
  "type": {
2585
- "text": "AIStatus | null"
2588
+ "text": "string | null"
2586
2589
  },
2587
2590
  "default": "null"
2588
2591
  },
2589
2592
  {
2590
2593
  "kind": "field",
2591
- "name": "open",
2594
+ "name": "activeGroups",
2595
+ "type": {
2596
+ "text": "CriteriaGroup[]"
2597
+ },
2598
+ "default": "[]"
2599
+ },
2600
+ {
2601
+ "kind": "field",
2602
+ "name": "showingChips",
2592
2603
  "type": {
2593
2604
  "text": "boolean"
2594
2605
  },
@@ -2596,15 +2607,15 @@
2596
2607
  },
2597
2608
  {
2598
2609
  "kind": "field",
2599
- "name": "state",
2610
+ "name": "fieldMetadata",
2600
2611
  "type": {
2601
- "text": "AIIndicatorState"
2612
+ "text": "MetadataDetail[] | string[]"
2602
2613
  },
2603
- "default": "'none'"
2614
+ "default": "[]"
2604
2615
  },
2605
2616
  {
2606
2617
  "kind": "field",
2607
- "name": "isInstalling",
2618
+ "name": "isRecording",
2608
2619
  "type": {
2609
2620
  "text": "boolean"
2610
2621
  },
@@ -2612,29 +2623,33 @@
2612
2623
  },
2613
2624
  {
2614
2625
  "kind": "field",
2615
- "name": "pollTimer",
2626
+ "name": "textAreaRef",
2616
2627
  "type": {
2617
- "text": "ReturnType<typeof setInterval> | null"
2628
+ "text": "HTMLTextAreaElement"
2618
2629
  },
2619
- "privacy": "private",
2620
- "default": "null"
2630
+ "privacy": "public"
2621
2631
  },
2622
2632
  {
2623
2633
  "kind": "field",
2624
- "name": "clickOutside",
2625
- "privacy": "private"
2634
+ "name": "stopRecording",
2635
+ "type": {
2636
+ "text": "(() => void) | null"
2637
+ },
2638
+ "privacy": "private",
2639
+ "default": "null"
2626
2640
  },
2627
2641
  {
2628
2642
  "kind": "field",
2629
- "name": "chromeStatusLabel",
2643
+ "name": "speechApplyDebounceTimer",
2630
2644
  "type": {
2631
- "text": "string | null"
2645
+ "text": "ReturnType<typeof setTimeout> | null"
2632
2646
  },
2633
- "readonly": true
2647
+ "privacy": "private",
2648
+ "default": "null"
2634
2649
  },
2635
2650
  {
2636
2651
  "kind": "field",
2637
- "name": "canInstall",
2652
+ "name": "speechAvailable",
2638
2653
  "type": {
2639
2654
  "text": "boolean"
2640
2655
  },
@@ -2642,69 +2657,65 @@
2642
2657
  },
2643
2658
  {
2644
2659
  "kind": "field",
2645
- "name": "isDownloading",
2660
+ "name": "criteriaChips",
2646
2661
  "type": {
2647
- "text": "boolean"
2662
+ "text": "CriteriaChip[]"
2648
2663
  },
2649
2664
  "readonly": true
2650
2665
  },
2651
2666
  {
2652
2667
  "kind": "method",
2653
- "name": "openChanged",
2668
+ "name": "getFieldLabel",
2669
+ "privacy": "private",
2654
2670
  "return": {
2655
2671
  "type": {
2656
- "text": "void"
2672
+ "text": "string"
2657
2673
  }
2658
- }
2659
- },
2660
- {
2661
- "kind": "method",
2662
- "name": "handleClickOutside",
2663
- "privacy": "private",
2674
+ },
2664
2675
  "parameters": [
2665
2676
  {
2666
- "name": "event",
2677
+ "name": "fieldName",
2667
2678
  "type": {
2668
- "text": "MouseEvent"
2679
+ "text": "string"
2669
2680
  }
2670
2681
  }
2671
2682
  ]
2672
2683
  },
2673
2684
  {
2674
2685
  "kind": "method",
2675
- "name": "toggleDropdown"
2676
- },
2677
- {
2678
- "kind": "method",
2679
- "name": "refreshStatus",
2686
+ "name": "toggleCriteriaView",
2680
2687
  "return": {
2681
2688
  "type": {
2682
- "text": "Promise<void>"
2689
+ "text": "void"
2683
2690
  }
2684
2691
  }
2685
2692
  },
2686
2693
  {
2687
2694
  "kind": "method",
2688
- "name": "deriveState",
2689
- "privacy": "private",
2695
+ "name": "removeChip",
2690
2696
  "return": {
2691
2697
  "type": {
2692
- "text": "AIIndicatorState"
2698
+ "text": "void"
2693
2699
  }
2694
2700
  },
2695
2701
  "parameters": [
2696
2702
  {
2697
- "name": "s",
2703
+ "name": "groupIndex",
2698
2704
  "type": {
2699
- "text": "AIStatus | null"
2705
+ "text": "number"
2706
+ }
2707
+ },
2708
+ {
2709
+ "name": "clauseIndex",
2710
+ "type": {
2711
+ "text": "number"
2700
2712
  }
2701
2713
  }
2702
2714
  ]
2703
2715
  },
2704
2716
  {
2705
2717
  "kind": "method",
2706
- "name": "maybeStartPolling",
2707
- "privacy": "private",
2718
+ "name": "clearChips",
2708
2719
  "return": {
2709
2720
  "type": {
2710
2721
  "text": "void"
@@ -2713,32 +2724,24 @@
2713
2724
  },
2714
2725
  {
2715
2726
  "kind": "method",
2716
- "name": "startPolling",
2717
- "privacy": "private",
2718
- "return": {
2719
- "type": {
2720
- "text": "void"
2721
- }
2722
- }
2727
+ "name": "handleSubmit"
2723
2728
  },
2724
2729
  {
2725
2730
  "kind": "method",
2726
- "name": "stopPolling",
2727
- "privacy": "private",
2728
- "return": {
2729
- "type": {
2730
- "text": "void"
2731
- }
2732
- }
2731
+ "name": "handleBlur"
2733
2732
  },
2734
2733
  {
2735
2734
  "kind": "method",
2736
- "name": "onInstall",
2737
- "return": {
2738
- "type": {
2739
- "text": "Promise<void>"
2740
- }
2741
- }
2735
+ "name": "clear"
2736
+ },
2737
+ {
2738
+ "kind": "method",
2739
+ "name": "toggleSpeechInput"
2740
+ },
2741
+ {
2742
+ "kind": "method",
2743
+ "name": "clearSpeechApplyDebounce",
2744
+ "privacy": "private"
2742
2745
  },
2743
2746
  {
2744
2747
  "kind": "field",
@@ -2852,145 +2855,320 @@
2852
2855
  }
2853
2856
  }
2854
2857
  ],
2858
+ "events": [
2859
+ {
2860
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2861
+ "name": "criteria-changed"
2862
+ },
2863
+ {
2864
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2865
+ "name": "validation-errors"
2866
+ }
2867
+ ],
2868
+ "attributes": [
2869
+ {
2870
+ "name": "placeholder",
2871
+ "type": {
2872
+ "text": "string"
2873
+ },
2874
+ "default": "'Describe your search criteria in natural language...'",
2875
+ "fieldName": "placeholder"
2876
+ },
2877
+ {
2878
+ "type": {
2879
+ "text": "boolean"
2880
+ },
2881
+ "fieldName": "disabled"
2882
+ }
2883
+ ],
2855
2884
  "superclass": {
2856
2885
  "name": "FoundationElement",
2857
2886
  "package": "@microsoft/fast-foundation"
2858
2887
  },
2859
- "tagName": "%%prefix%%-ai-indicator",
2888
+ "tagName": "%%prefix%%-ai-criteria-search",
2860
2889
  "customElement": true
2861
2890
  },
2862
2891
  {
2863
2892
  "kind": "variable",
2864
- "name": "foundationAiIndicator"
2893
+ "name": "foundationAiCriteriaSearchShadowOptions",
2894
+ "type": {
2895
+ "text": "ShadowRootInit"
2896
+ },
2897
+ "default": "undefined"
2898
+ },
2899
+ {
2900
+ "kind": "variable",
2901
+ "name": "defaultAiCriteriaSearchConfig",
2902
+ "type": {
2903
+ "text": "object"
2904
+ },
2905
+ "default": "{}"
2906
+ },
2907
+ {
2908
+ "kind": "variable",
2909
+ "name": "foundationAiCriteriaSearch"
2865
2910
  }
2866
2911
  ],
2867
2912
  "exports": [
2868
2913
  {
2869
2914
  "kind": "js",
2870
- "name": "AiIndicator",
2915
+ "name": "AiCriteriaSearch",
2871
2916
  "declaration": {
2872
- "name": "AiIndicator",
2873
- "module": "src/ai-indicator/ai-indicator.ts"
2917
+ "name": "AiCriteriaSearch",
2918
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2874
2919
  }
2875
2920
  },
2876
2921
  {
2877
2922
  "kind": "js",
2878
- "name": "foundationAiIndicator",
2923
+ "name": "foundationAiCriteriaSearchShadowOptions",
2879
2924
  "declaration": {
2880
- "name": "foundationAiIndicator",
2881
- "module": "src/ai-indicator/ai-indicator.ts"
2925
+ "name": "foundationAiCriteriaSearchShadowOptions",
2926
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2927
+ }
2928
+ },
2929
+ {
2930
+ "kind": "js",
2931
+ "name": "defaultAiCriteriaSearchConfig",
2932
+ "declaration": {
2933
+ "name": "defaultAiCriteriaSearchConfig",
2934
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2935
+ }
2936
+ },
2937
+ {
2938
+ "kind": "js",
2939
+ "name": "foundationAiCriteriaSearch",
2940
+ "declaration": {
2941
+ "name": "foundationAiCriteriaSearch",
2942
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2882
2943
  }
2883
2944
  }
2884
2945
  ]
2885
2946
  },
2886
2947
  {
2887
2948
  "kind": "javascript-module",
2888
- "path": "src/ai-indicator/index.ts",
2949
+ "path": "src/ai-criteria-search/index.ts",
2889
2950
  "declarations": [],
2890
2951
  "exports": [
2891
2952
  {
2892
2953
  "kind": "js",
2893
- "name": "AiIndicator",
2954
+ "name": "AiCriteriaSearch",
2955
+ "declaration": {
2956
+ "name": "AiCriteriaSearch",
2957
+ "module": "./ai-criteria-search"
2958
+ }
2959
+ },
2960
+ {
2961
+ "kind": "js",
2962
+ "name": "defaultAiCriteriaSearchConfig",
2963
+ "declaration": {
2964
+ "name": "defaultAiCriteriaSearchConfig",
2965
+ "module": "./ai-criteria-search"
2966
+ }
2967
+ },
2968
+ {
2969
+ "kind": "js",
2970
+ "name": "foundationAiCriteriaSearch",
2971
+ "declaration": {
2972
+ "name": "foundationAiCriteriaSearch",
2973
+ "module": "./ai-criteria-search"
2974
+ }
2975
+ },
2976
+ {
2977
+ "kind": "js",
2978
+ "name": "foundationAiCriteriaSearchShadowOptions",
2979
+ "declaration": {
2980
+ "name": "foundationAiCriteriaSearchShadowOptions",
2981
+ "module": "./ai-criteria-search"
2982
+ }
2983
+ },
2984
+ {
2985
+ "kind": "js",
2986
+ "name": "foundationAiCriteriaSearchStyles",
2987
+ "declaration": {
2988
+ "name": "foundationAiCriteriaSearchStyles",
2989
+ "module": "./ai-criteria-search.styles"
2990
+ }
2991
+ },
2992
+ {
2993
+ "kind": "js",
2994
+ "name": "foundationAiCriteriaSearchTemplate",
2894
2995
  "declaration": {
2895
- "name": "AiIndicator",
2896
- "module": "./ai-indicator"
2996
+ "name": "foundationAiCriteriaSearchTemplate",
2997
+ "module": "./ai-criteria-search.template"
2897
2998
  }
2898
2999
  },
2899
3000
  {
2900
3001
  "kind": "js",
2901
- "name": "foundationAiIndicator",
3002
+ "name": "*",
2902
3003
  "declaration": {
2903
- "name": "foundationAiIndicator",
2904
- "module": "./ai-indicator"
3004
+ "name": "*",
3005
+ "package": "./validation/criteria-ir"
2905
3006
  }
2906
3007
  },
2907
3008
  {
2908
3009
  "kind": "js",
2909
- "name": "type",
3010
+ "name": "*",
2910
3011
  "declaration": {
2911
- "name": "type",
2912
- "module": "./ai-indicator"
3012
+ "name": "*",
3013
+ "package": "./validation/operator-map"
2913
3014
  }
2914
3015
  },
2915
3016
  {
2916
3017
  "kind": "js",
2917
- "name": "AIIndicatorState",
3018
+ "name": "*",
2918
3019
  "declaration": {
2919
- "name": "AIIndicatorState",
2920
- "module": "./ai-indicator"
3020
+ "name": "*",
3021
+ "package": "./validation/schema-validator"
2921
3022
  }
3023
+ }
3024
+ ]
3025
+ },
3026
+ {
3027
+ "kind": "javascript-module",
3028
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3029
+ "declarations": [
3030
+ {
3031
+ "kind": "function",
3032
+ "name": "formatValidationErrors",
3033
+ "return": {
3034
+ "type": {
3035
+ "text": "string"
3036
+ }
3037
+ },
3038
+ "parameters": [
3039
+ {
3040
+ "name": "errors",
3041
+ "type": {
3042
+ "text": "ValidationError[]"
3043
+ }
3044
+ }
3045
+ ],
3046
+ "description": "Formats validation errors into a user-friendly message."
2922
3047
  },
3048
+ {
3049
+ "kind": "function",
3050
+ "name": "showCriteriaError",
3051
+ "return": {
3052
+ "type": {
3053
+ "text": "void"
3054
+ }
3055
+ },
3056
+ "parameters": [
3057
+ {
3058
+ "name": "title",
3059
+ "type": {
3060
+ "text": "string"
3061
+ },
3062
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3063
+ },
3064
+ {
3065
+ "name": "body",
3066
+ "type": {
3067
+ "text": "string"
3068
+ },
3069
+ "description": "Error message to display"
3070
+ },
3071
+ {
3072
+ "name": "tagName",
3073
+ "type": {
3074
+ "text": "string"
3075
+ },
3076
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3077
+ }
3078
+ ],
3079
+ "description": "Shows a criteria error as a toast notification."
3080
+ }
3081
+ ],
3082
+ "exports": [
2923
3083
  {
2924
3084
  "kind": "js",
2925
- "name": "foundationAiIndicatorTemplate",
3085
+ "name": "formatValidationErrors",
2926
3086
  "declaration": {
2927
- "name": "foundationAiIndicatorTemplate",
2928
- "module": "./ai-indicator.template"
3087
+ "name": "formatValidationErrors",
3088
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2929
3089
  }
2930
3090
  },
2931
3091
  {
2932
3092
  "kind": "js",
2933
- "name": "foundationAiIndicatorStyles",
3093
+ "name": "showCriteriaError",
2934
3094
  "declaration": {
2935
- "name": "foundationAiIndicatorStyles",
2936
- "module": "./ai-indicator.styles"
3095
+ "name": "showCriteriaError",
3096
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2937
3097
  }
2938
3098
  }
2939
3099
  ]
2940
3100
  },
2941
3101
  {
2942
3102
  "kind": "javascript-module",
2943
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3103
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2944
3104
  "declarations": [
2945
3105
  {
2946
- "kind": "variable",
2947
- "name": "foundationAiCriteriaSearchStyles",
2948
- "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`"
3106
+ "kind": "function",
3107
+ "name": "foundationAiIndicatorStyles",
3108
+ "return": {
3109
+ "type": {
3110
+ "text": "ElementStyles"
3111
+ }
3112
+ },
3113
+ "parameters": [
3114
+ {
3115
+ "name": "context",
3116
+ "type": {
3117
+ "text": "ElementDefinitionContext"
3118
+ }
3119
+ },
3120
+ {
3121
+ "name": "definition",
3122
+ "type": {
3123
+ "text": "FoundationElementDefinition"
3124
+ }
3125
+ }
3126
+ ]
2949
3127
  }
2950
3128
  ],
2951
3129
  "exports": [
2952
3130
  {
2953
3131
  "kind": "js",
2954
- "name": "foundationAiCriteriaSearchStyles",
3132
+ "name": "foundationAiIndicatorStyles",
2955
3133
  "declaration": {
2956
- "name": "foundationAiCriteriaSearchStyles",
2957
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3134
+ "name": "foundationAiIndicatorStyles",
3135
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2958
3136
  }
2959
3137
  }
2960
3138
  ]
2961
3139
  },
2962
3140
  {
2963
3141
  "kind": "javascript-module",
2964
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3142
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2965
3143
  "declarations": [
2966
3144
  {
2967
3145
  "kind": "variable",
2968
- "name": "foundationAiCriteriaSearchTemplate",
3146
+ "name": "foundationAiIndicatorTemplate",
2969
3147
  "type": {
2970
- "text": "ViewTemplate<AiCriteriaSearch>"
3148
+ "text": "ViewTemplate<AiIndicator>"
2971
3149
  },
2972
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3150
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2973
3151
  }
2974
3152
  ],
2975
3153
  "exports": [
2976
3154
  {
2977
3155
  "kind": "js",
2978
- "name": "foundationAiCriteriaSearchTemplate",
3156
+ "name": "foundationAiIndicatorTemplate",
2979
3157
  "declaration": {
2980
- "name": "foundationAiCriteriaSearchTemplate",
2981
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3158
+ "name": "foundationAiIndicatorTemplate",
3159
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2982
3160
  }
2983
3161
  }
2984
3162
  ]
2985
3163
  },
2986
3164
  {
2987
3165
  "kind": "javascript-module",
2988
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3166
+ "path": "src/ai-indicator/ai-indicator.ts",
2989
3167
  "declarations": [
2990
3168
  {
2991
3169
  "kind": "class",
2992
- "description": "Natural-language criteria search input with AI interpretation.",
2993
- "name": "AiCriteriaSearch",
3170
+ "description": "",
3171
+ "name": "AiIndicator",
2994
3172
  "members": [
2995
3173
  {
2996
3174
  "kind": "field",
@@ -3001,54 +3179,25 @@
3001
3179
  },
3002
3180
  {
3003
3181
  "kind": "field",
3004
- "name": "placeholder",
3005
- "type": {
3006
- "text": "string"
3007
- },
3008
- "default": "'Describe your search criteria in natural language...'"
3009
- },
3010
- {
3011
- "kind": "field",
3012
- "name": "disabled",
3013
- "type": {
3014
- "text": "boolean"
3015
- }
3016
- },
3017
- {
3018
- "kind": "field",
3019
- "name": "inputValue",
3020
- "type": {
3021
- "text": "string"
3022
- },
3023
- "default": "''"
3024
- },
3025
- {
3026
- "kind": "field",
3027
- "name": "isInterpreting",
3182
+ "name": "aiProvider",
3028
3183
  "type": {
3029
- "text": "boolean"
3184
+ "text": "AIProvider | undefined"
3030
3185
  },
3031
- "default": "false"
3186
+ "privacy": "private",
3187
+ "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.",
3188
+ "readonly": true
3032
3189
  },
3033
3190
  {
3034
3191
  "kind": "field",
3035
- "name": "lastValidCriteria",
3192
+ "name": "status",
3036
3193
  "type": {
3037
- "text": "string | null"
3194
+ "text": "AIStatus | null"
3038
3195
  },
3039
3196
  "default": "null"
3040
3197
  },
3041
3198
  {
3042
3199
  "kind": "field",
3043
- "name": "activeGroups",
3044
- "type": {
3045
- "text": "CriteriaGroup[]"
3046
- },
3047
- "default": "[]"
3048
- },
3049
- {
3050
- "kind": "field",
3051
- "name": "showingChips",
3200
+ "name": "open",
3052
3201
  "type": {
3053
3202
  "text": "boolean"
3054
3203
  },
@@ -3056,15 +3205,15 @@
3056
3205
  },
3057
3206
  {
3058
3207
  "kind": "field",
3059
- "name": "fieldMetadata",
3208
+ "name": "state",
3060
3209
  "type": {
3061
- "text": "MetadataDetail[] | string[]"
3210
+ "text": "AIIndicatorState"
3062
3211
  },
3063
- "default": "[]"
3212
+ "default": "'none'"
3064
3213
  },
3065
3214
  {
3066
3215
  "kind": "field",
3067
- "name": "isRecording",
3216
+ "name": "isInstalling",
3068
3217
  "type": {
3069
3218
  "text": "boolean"
3070
3219
  },
@@ -3072,33 +3221,29 @@
3072
3221
  },
3073
3222
  {
3074
3223
  "kind": "field",
3075
- "name": "textAreaRef",
3224
+ "name": "pollTimer",
3076
3225
  "type": {
3077
- "text": "HTMLTextAreaElement"
3226
+ "text": "ReturnType<typeof setInterval> | null"
3078
3227
  },
3079
- "privacy": "public"
3228
+ "privacy": "private",
3229
+ "default": "null"
3080
3230
  },
3081
3231
  {
3082
3232
  "kind": "field",
3083
- "name": "stopRecording",
3084
- "type": {
3085
- "text": "(() => void) | null"
3086
- },
3087
- "privacy": "private",
3088
- "default": "null"
3233
+ "name": "clickOutside",
3234
+ "privacy": "private"
3089
3235
  },
3090
3236
  {
3091
3237
  "kind": "field",
3092
- "name": "speechApplyDebounceTimer",
3238
+ "name": "chromeStatusLabel",
3093
3239
  "type": {
3094
- "text": "ReturnType<typeof setTimeout> | null"
3240
+ "text": "string | null"
3095
3241
  },
3096
- "privacy": "private",
3097
- "default": "null"
3242
+ "readonly": true
3098
3243
  },
3099
3244
  {
3100
3245
  "kind": "field",
3101
- "name": "speechAvailable",
3246
+ "name": "canInstall",
3102
3247
  "type": {
3103
3248
  "text": "boolean"
3104
3249
  },
@@ -3106,65 +3251,69 @@
3106
3251
  },
3107
3252
  {
3108
3253
  "kind": "field",
3109
- "name": "criteriaChips",
3254
+ "name": "isDownloading",
3110
3255
  "type": {
3111
- "text": "CriteriaChip[]"
3256
+ "text": "boolean"
3112
3257
  },
3113
3258
  "readonly": true
3114
3259
  },
3115
3260
  {
3116
3261
  "kind": "method",
3117
- "name": "getFieldLabel",
3118
- "privacy": "private",
3262
+ "name": "openChanged",
3119
3263
  "return": {
3120
3264
  "type": {
3121
- "text": "string"
3265
+ "text": "void"
3122
3266
  }
3123
- },
3267
+ }
3268
+ },
3269
+ {
3270
+ "kind": "method",
3271
+ "name": "handleClickOutside",
3272
+ "privacy": "private",
3124
3273
  "parameters": [
3125
3274
  {
3126
- "name": "fieldName",
3275
+ "name": "event",
3127
3276
  "type": {
3128
- "text": "string"
3277
+ "text": "MouseEvent"
3129
3278
  }
3130
3279
  }
3131
3280
  ]
3132
3281
  },
3133
3282
  {
3134
3283
  "kind": "method",
3135
- "name": "toggleCriteriaView",
3284
+ "name": "toggleDropdown"
3285
+ },
3286
+ {
3287
+ "kind": "method",
3288
+ "name": "refreshStatus",
3136
3289
  "return": {
3137
3290
  "type": {
3138
- "text": "void"
3291
+ "text": "Promise<void>"
3139
3292
  }
3140
3293
  }
3141
3294
  },
3142
3295
  {
3143
3296
  "kind": "method",
3144
- "name": "removeChip",
3297
+ "name": "deriveState",
3298
+ "privacy": "private",
3145
3299
  "return": {
3146
3300
  "type": {
3147
- "text": "void"
3301
+ "text": "AIIndicatorState"
3148
3302
  }
3149
3303
  },
3150
3304
  "parameters": [
3151
3305
  {
3152
- "name": "groupIndex",
3153
- "type": {
3154
- "text": "number"
3155
- }
3156
- },
3157
- {
3158
- "name": "clauseIndex",
3306
+ "name": "s",
3159
3307
  "type": {
3160
- "text": "number"
3308
+ "text": "AIStatus | null"
3161
3309
  }
3162
3310
  }
3163
3311
  ]
3164
3312
  },
3165
3313
  {
3166
3314
  "kind": "method",
3167
- "name": "clearChips",
3315
+ "name": "maybeStartPolling",
3316
+ "privacy": "private",
3168
3317
  "return": {
3169
3318
  "type": {
3170
3319
  "text": "void"
@@ -3173,24 +3322,32 @@
3173
3322
  },
3174
3323
  {
3175
3324
  "kind": "method",
3176
- "name": "handleSubmit"
3177
- },
3178
- {
3179
- "kind": "method",
3180
- "name": "handleBlur"
3181
- },
3182
- {
3183
- "kind": "method",
3184
- "name": "clear"
3325
+ "name": "startPolling",
3326
+ "privacy": "private",
3327
+ "return": {
3328
+ "type": {
3329
+ "text": "void"
3330
+ }
3331
+ }
3185
3332
  },
3186
3333
  {
3187
3334
  "kind": "method",
3188
- "name": "toggleSpeechInput"
3335
+ "name": "stopPolling",
3336
+ "privacy": "private",
3337
+ "return": {
3338
+ "type": {
3339
+ "text": "void"
3340
+ }
3341
+ }
3189
3342
  },
3190
3343
  {
3191
3344
  "kind": "method",
3192
- "name": "clearSpeechApplyDebounce",
3193
- "privacy": "private"
3345
+ "name": "onInstall",
3346
+ "return": {
3347
+ "type": {
3348
+ "text": "Promise<void>"
3349
+ }
3350
+ }
3194
3351
  },
3195
3352
  {
3196
3353
  "kind": "field",
@@ -3304,245 +3461,88 @@
3304
3461
  }
3305
3462
  }
3306
3463
  ],
3307
- "events": [
3308
- {
3309
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3310
- "name": "criteria-changed"
3311
- },
3312
- {
3313
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3314
- "name": "validation-errors"
3315
- }
3316
- ],
3317
- "attributes": [
3318
- {
3319
- "name": "placeholder",
3320
- "type": {
3321
- "text": "string"
3322
- },
3323
- "default": "'Describe your search criteria in natural language...'",
3324
- "fieldName": "placeholder"
3325
- },
3326
- {
3327
- "type": {
3328
- "text": "boolean"
3329
- },
3330
- "fieldName": "disabled"
3331
- }
3332
- ],
3333
3464
  "superclass": {
3334
3465
  "name": "FoundationElement",
3335
3466
  "package": "@microsoft/fast-foundation"
3336
3467
  },
3337
- "tagName": "%%prefix%%-ai-criteria-search",
3468
+ "tagName": "%%prefix%%-ai-indicator",
3338
3469
  "customElement": true
3339
3470
  },
3340
3471
  {
3341
3472
  "kind": "variable",
3342
- "name": "foundationAiCriteriaSearchShadowOptions",
3343
- "type": {
3344
- "text": "ShadowRootInit"
3345
- },
3346
- "default": "undefined"
3347
- },
3348
- {
3349
- "kind": "variable",
3350
- "name": "defaultAiCriteriaSearchConfig",
3351
- "type": {
3352
- "text": "object"
3353
- },
3354
- "default": "{}"
3355
- },
3356
- {
3357
- "kind": "variable",
3358
- "name": "foundationAiCriteriaSearch"
3473
+ "name": "foundationAiIndicator"
3359
3474
  }
3360
3475
  ],
3361
3476
  "exports": [
3362
3477
  {
3363
3478
  "kind": "js",
3364
- "name": "AiCriteriaSearch",
3365
- "declaration": {
3366
- "name": "AiCriteriaSearch",
3367
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3368
- }
3369
- },
3370
- {
3371
- "kind": "js",
3372
- "name": "foundationAiCriteriaSearchShadowOptions",
3373
- "declaration": {
3374
- "name": "foundationAiCriteriaSearchShadowOptions",
3375
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3376
- }
3377
- },
3378
- {
3379
- "kind": "js",
3380
- "name": "defaultAiCriteriaSearchConfig",
3479
+ "name": "AiIndicator",
3381
3480
  "declaration": {
3382
- "name": "defaultAiCriteriaSearchConfig",
3383
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3481
+ "name": "AiIndicator",
3482
+ "module": "src/ai-indicator/ai-indicator.ts"
3384
3483
  }
3385
3484
  },
3386
3485
  {
3387
3486
  "kind": "js",
3388
- "name": "foundationAiCriteriaSearch",
3487
+ "name": "foundationAiIndicator",
3389
3488
  "declaration": {
3390
- "name": "foundationAiCriteriaSearch",
3391
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3489
+ "name": "foundationAiIndicator",
3490
+ "module": "src/ai-indicator/ai-indicator.ts"
3392
3491
  }
3393
3492
  }
3394
3493
  ]
3395
3494
  },
3396
3495
  {
3397
3496
  "kind": "javascript-module",
3398
- "path": "src/ai-criteria-search/index.ts",
3497
+ "path": "src/ai-indicator/index.ts",
3399
3498
  "declarations": [],
3400
3499
  "exports": [
3401
3500
  {
3402
3501
  "kind": "js",
3403
- "name": "AiCriteriaSearch",
3404
- "declaration": {
3405
- "name": "AiCriteriaSearch",
3406
- "module": "./ai-criteria-search"
3407
- }
3408
- },
3409
- {
3410
- "kind": "js",
3411
- "name": "defaultAiCriteriaSearchConfig",
3412
- "declaration": {
3413
- "name": "defaultAiCriteriaSearchConfig",
3414
- "module": "./ai-criteria-search"
3415
- }
3416
- },
3417
- {
3418
- "kind": "js",
3419
- "name": "foundationAiCriteriaSearch",
3420
- "declaration": {
3421
- "name": "foundationAiCriteriaSearch",
3422
- "module": "./ai-criteria-search"
3423
- }
3424
- },
3425
- {
3426
- "kind": "js",
3427
- "name": "foundationAiCriteriaSearchShadowOptions",
3428
- "declaration": {
3429
- "name": "foundationAiCriteriaSearchShadowOptions",
3430
- "module": "./ai-criteria-search"
3431
- }
3432
- },
3433
- {
3434
- "kind": "js",
3435
- "name": "foundationAiCriteriaSearchStyles",
3436
- "declaration": {
3437
- "name": "foundationAiCriteriaSearchStyles",
3438
- "module": "./ai-criteria-search.styles"
3439
- }
3440
- },
3441
- {
3442
- "kind": "js",
3443
- "name": "foundationAiCriteriaSearchTemplate",
3502
+ "name": "AiIndicator",
3444
3503
  "declaration": {
3445
- "name": "foundationAiCriteriaSearchTemplate",
3446
- "module": "./ai-criteria-search.template"
3504
+ "name": "AiIndicator",
3505
+ "module": "./ai-indicator"
3447
3506
  }
3448
3507
  },
3449
3508
  {
3450
3509
  "kind": "js",
3451
- "name": "*",
3510
+ "name": "foundationAiIndicator",
3452
3511
  "declaration": {
3453
- "name": "*",
3454
- "package": "./validation/criteria-ir"
3512
+ "name": "foundationAiIndicator",
3513
+ "module": "./ai-indicator"
3455
3514
  }
3456
3515
  },
3457
3516
  {
3458
3517
  "kind": "js",
3459
- "name": "*",
3518
+ "name": "type",
3460
3519
  "declaration": {
3461
- "name": "*",
3462
- "package": "./validation/operator-map"
3520
+ "name": "type",
3521
+ "module": "./ai-indicator"
3463
3522
  }
3464
3523
  },
3465
3524
  {
3466
3525
  "kind": "js",
3467
- "name": "*",
3526
+ "name": "AIIndicatorState",
3468
3527
  "declaration": {
3469
- "name": "*",
3470
- "package": "./validation/schema-validator"
3528
+ "name": "AIIndicatorState",
3529
+ "module": "./ai-indicator"
3471
3530
  }
3472
- }
3473
- ]
3474
- },
3475
- {
3476
- "kind": "javascript-module",
3477
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3478
- "declarations": [
3479
- {
3480
- "kind": "function",
3481
- "name": "formatValidationErrors",
3482
- "return": {
3483
- "type": {
3484
- "text": "string"
3485
- }
3486
- },
3487
- "parameters": [
3488
- {
3489
- "name": "errors",
3490
- "type": {
3491
- "text": "ValidationError[]"
3492
- }
3493
- }
3494
- ],
3495
- "description": "Formats validation errors into a user-friendly message."
3496
3531
  },
3497
- {
3498
- "kind": "function",
3499
- "name": "showCriteriaError",
3500
- "return": {
3501
- "type": {
3502
- "text": "void"
3503
- }
3504
- },
3505
- "parameters": [
3506
- {
3507
- "name": "title",
3508
- "type": {
3509
- "text": "string"
3510
- },
3511
- "description": "Notification title (e.g. \"Criteria validation error\")"
3512
- },
3513
- {
3514
- "name": "body",
3515
- "type": {
3516
- "text": "string"
3517
- },
3518
- "description": "Error message to display"
3519
- },
3520
- {
3521
- "name": "tagName",
3522
- "type": {
3523
- "text": "string"
3524
- },
3525
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3526
- }
3527
- ],
3528
- "description": "Shows a criteria error as a toast notification."
3529
- }
3530
- ],
3531
- "exports": [
3532
3532
  {
3533
3533
  "kind": "js",
3534
- "name": "formatValidationErrors",
3534
+ "name": "foundationAiIndicatorTemplate",
3535
3535
  "declaration": {
3536
- "name": "formatValidationErrors",
3537
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3536
+ "name": "foundationAiIndicatorTemplate",
3537
+ "module": "./ai-indicator.template"
3538
3538
  }
3539
3539
  },
3540
3540
  {
3541
3541
  "kind": "js",
3542
- "name": "showCriteriaError",
3542
+ "name": "foundationAiIndicatorStyles",
3543
3543
  "declaration": {
3544
- "name": "showCriteriaError",
3545
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3544
+ "name": "foundationAiIndicatorStyles",
3545
+ "module": "./ai-indicator.styles"
3546
3546
  }
3547
3547
  }
3548
3548
  ]