@genesislcap/foundation-ui 15.60.0 → 15.62.0-GENC-1660.1

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,11 +1495,42 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/accordion/accordion.styles.ts",
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/accordion-item/accordion-item.styles.ts",
1499
1530
  "declarations": [
1500
1531
  {
1501
1532
  "kind": "function",
1502
- "name": "foundationAccordionStyles",
1533
+ "name": "foundationAccordionItemStyles",
1503
1534
  "return": {
1504
1535
  "type": {
1505
1536
  "text": "ElementStyles"
@@ -1524,24 +1555,24 @@
1524
1555
  "exports": [
1525
1556
  {
1526
1557
  "kind": "js",
1527
- "name": "foundationAccordionStyles",
1558
+ "name": "foundationAccordionItemStyles",
1528
1559
  "declaration": {
1529
- "name": "foundationAccordionStyles",
1530
- "module": "src/accordion/accordion.styles.ts"
1560
+ "name": "foundationAccordionItemStyles",
1561
+ "module": "src/accordion-item/accordion-item.styles.ts"
1531
1562
  }
1532
1563
  }
1533
1564
  ]
1534
1565
  },
1535
1566
  {
1536
1567
  "kind": "javascript-module",
1537
- "path": "src/accordion/accordion.template.ts",
1568
+ "path": "src/accordion-item/accordion-item.template.ts",
1538
1569
  "declarations": [
1539
1570
  {
1540
1571
  "kind": "function",
1541
- "name": "foundationAccordionTemplate",
1572
+ "name": "foundationAccordionItemTemplate",
1542
1573
  "return": {
1543
1574
  "type": {
1544
- "text": "ViewTemplate<Accordion>"
1575
+ "text": "ViewTemplate<AccordionItem>"
1545
1576
  }
1546
1577
  },
1547
1578
  "parameters": [
@@ -1563,365 +1594,244 @@
1563
1594
  "exports": [
1564
1595
  {
1565
1596
  "kind": "js",
1566
- "name": "foundationAccordionTemplate",
1597
+ "name": "foundationAccordionItemTemplate",
1567
1598
  "declaration": {
1568
- "name": "foundationAccordionTemplate",
1569
- "module": "src/accordion/accordion.template.ts"
1599
+ "name": "foundationAccordionItemTemplate",
1600
+ "module": "src/accordion-item/accordion-item.template.ts"
1570
1601
  }
1571
1602
  }
1572
1603
  ]
1573
1604
  },
1574
1605
  {
1575
1606
  "kind": "javascript-module",
1576
- "path": "src/accordion/accordion.ts",
1607
+ "path": "src/accordion-item/accordion-item.ts",
1577
1608
  "declarations": [
1578
1609
  {
1579
1610
  "kind": "class",
1580
1611
  "description": "",
1581
- "name": "Accordion",
1612
+ "name": "AccordionItem",
1582
1613
  "superclass": {
1583
- "name": "FASTAccordion",
1584
- "package": "@microsoft/fast-foundation"
1614
+ "name": "FASTAccordionItem",
1615
+ "package": "@microsoft/fast-components"
1585
1616
  },
1586
- "tagName": "%%prefix%%-accordion",
1617
+ "tagName": "%%prefix%%-accordion-item",
1587
1618
  "customElement": true,
1588
1619
  "attributes": [
1589
1620
  {
1590
- "name": "expand-mode",
1621
+ "name": "heading-level",
1591
1622
  "type": {
1592
- "text": "AccordionExpandMode"
1623
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1593
1624
  },
1594
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1595
- "fieldName": "expandmode",
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",
1596
1628
  "inheritedFrom": {
1597
- "name": "Accordion",
1598
- "module": "src/accordion/accordion.ts"
1629
+ "name": "AccordionItem",
1630
+ "module": "src/accordion-item/accordion-item.ts"
1631
+ }
1632
+ },
1633
+ {
1634
+ "type": {
1635
+ "text": "boolean"
1636
+ },
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
+ }
1644
+ },
1645
+ {
1646
+ "name": "id",
1647
+ "type": {
1648
+ "text": "string"
1649
+ },
1650
+ "description": "The item ID",
1651
+ "fieldName": "id",
1652
+ "inheritedFrom": {
1653
+ "name": "AccordionItem",
1654
+ "module": "src/accordion-item/accordion-item.ts"
1599
1655
  }
1600
1656
  }
1601
1657
  ],
1602
1658
  "members": [
1603
1659
  {
1604
1660
  "kind": "field",
1605
- "name": "expandmode",
1661
+ "name": "headinglevel",
1606
1662
  "type": {
1607
- "text": "AccordionExpandMode"
1663
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1608
1664
  },
1609
1665
  "privacy": "public",
1610
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1666
+ "default": "2",
1667
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1611
1668
  "inheritedFrom": {
1612
- "name": "Accordion",
1613
- "module": "src/accordion/accordion.ts"
1669
+ "name": "AccordionItem",
1670
+ "module": "src/accordion-item/accordion-item.ts"
1614
1671
  }
1615
1672
  },
1616
1673
  {
1617
1674
  "kind": "field",
1618
- "name": "activeid",
1675
+ "name": "expanded",
1619
1676
  "type": {
1620
- "text": "string | null"
1677
+ "text": "boolean"
1621
1678
  },
1622
- "privacy": "private",
1679
+ "privacy": "public",
1680
+ "default": "false",
1681
+ "description": "Expands or collapses the item.",
1623
1682
  "inheritedFrom": {
1624
- "name": "Accordion",
1625
- "module": "src/accordion/accordion.ts"
1683
+ "name": "AccordionItem",
1684
+ "module": "src/accordion-item/accordion-item.ts"
1626
1685
  }
1627
1686
  },
1628
1687
  {
1629
1688
  "kind": "field",
1630
- "name": "activeItemIndex",
1689
+ "name": "id",
1631
1690
  "type": {
1632
- "text": "number"
1691
+ "text": "string"
1633
1692
  },
1634
- "privacy": "private",
1635
- "default": "0",
1693
+ "privacy": "public",
1694
+ "description": "The item ID",
1636
1695
  "inheritedFrom": {
1637
- "name": "Accordion",
1638
- "module": "src/accordion/accordion.ts"
1696
+ "name": "AccordionItem",
1697
+ "module": "src/accordion-item/accordion-item.ts"
1639
1698
  }
1640
1699
  },
1641
1700
  {
1642
1701
  "kind": "field",
1643
- "name": "accordionIds",
1644
- "type": {
1645
- "text": "Array<string | null>"
1646
- },
1702
+ "name": "change",
1647
1703
  "privacy": "private",
1648
1704
  "inheritedFrom": {
1649
- "name": "Accordion",
1650
- "module": "src/accordion/accordion.ts"
1705
+ "name": "AccordionItem",
1706
+ "module": "src/accordion-item/accordion-item.ts"
1651
1707
  }
1652
1708
  },
1653
1709
  {
1654
1710
  "kind": "field",
1655
- "name": "change",
1711
+ "name": "_presentation",
1712
+ "type": {
1713
+ "text": "ComponentPresentation | null | undefined"
1714
+ },
1656
1715
  "privacy": "private",
1716
+ "default": "void 0",
1657
1717
  "inheritedFrom": {
1658
- "name": "Accordion",
1659
- "module": "src/accordion/accordion.ts"
1718
+ "name": "FoundationElement",
1719
+ "module": "src/foundation-element/foundation-element.ts"
1660
1720
  }
1661
1721
  },
1662
1722
  {
1663
- "kind": "method",
1664
- "name": "findExpandedItem",
1665
- "privacy": "private",
1666
- "return": {
1667
- "type": {
1668
- "text": "AccordionItem | null"
1669
- }
1723
+ "kind": "field",
1724
+ "name": "$presentation",
1725
+ "type": {
1726
+ "text": "ComponentPresentation | null"
1670
1727
  },
1728
+ "privacy": "public",
1729
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1671
1730
  "inheritedFrom": {
1672
- "name": "Accordion",
1673
- "module": "src/accordion/accordion.ts"
1731
+ "name": "FoundationElement",
1732
+ "module": "src/foundation-element/foundation-element.ts"
1674
1733
  }
1675
1734
  },
1676
1735
  {
1677
1736
  "kind": "field",
1678
- "name": "setItems",
1679
- "privacy": "private",
1737
+ "name": "template",
1738
+ "type": {
1739
+ "text": "ElementViewTemplate | void | null"
1740
+ },
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.",
1680
1743
  "inheritedFrom": {
1681
- "name": "Accordion",
1682
- "module": "src/accordion/accordion.ts"
1744
+ "name": "FoundationElement",
1745
+ "module": "src/foundation-element/foundation-element.ts"
1683
1746
  }
1684
1747
  },
1685
1748
  {
1686
1749
  "kind": "method",
1687
- "name": "resetItems",
1688
- "privacy": "private",
1750
+ "name": "templateChanged",
1751
+ "privacy": "protected",
1689
1752
  "return": {
1690
1753
  "type": {
1691
1754
  "text": "void"
1692
1755
  }
1693
1756
  },
1694
1757
  "inheritedFrom": {
1695
- "name": "Accordion",
1696
- "module": "src/accordion/accordion.ts"
1697
- }
1698
- },
1699
- {
1700
- "kind": "field",
1701
- "name": "removeItemListeners",
1702
- "privacy": "private",
1703
- "inheritedFrom": {
1704
- "name": "Accordion",
1705
- "module": "src/accordion/accordion.ts"
1758
+ "name": "FoundationElement",
1759
+ "module": "src/foundation-element/foundation-element.ts"
1706
1760
  }
1707
1761
  },
1708
1762
  {
1709
1763
  "kind": "field",
1710
- "name": "activeItemChange",
1711
- "privacy": "private",
1764
+ "name": "styles",
1765
+ "type": {
1766
+ "text": "ElementStyles | void | null"
1767
+ },
1768
+ "privacy": "public",
1769
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1712
1770
  "inheritedFrom": {
1713
- "name": "Accordion",
1714
- "module": "src/accordion/accordion.ts"
1771
+ "name": "FoundationElement",
1772
+ "module": "src/foundation-element/foundation-element.ts"
1715
1773
  }
1716
1774
  },
1717
1775
  {
1718
1776
  "kind": "method",
1719
- "name": "getItemIds",
1720
- "privacy": "private",
1777
+ "name": "stylesChanged",
1778
+ "privacy": "protected",
1721
1779
  "return": {
1722
1780
  "type": {
1723
- "text": "Array<string | null>"
1781
+ "text": "void"
1724
1782
  }
1725
1783
  },
1726
1784
  "inheritedFrom": {
1727
- "name": "Accordion",
1728
- "module": "src/accordion/accordion.ts"
1785
+ "name": "FoundationElement",
1786
+ "module": "src/foundation-element/foundation-element.ts"
1729
1787
  }
1730
1788
  },
1731
1789
  {
1732
1790
  "kind": "method",
1733
- "name": "isSingleExpandMode",
1734
- "privacy": "private",
1791
+ "name": "compose",
1792
+ "privacy": "public",
1793
+ "static": true,
1735
1794
  "return": {
1736
1795
  "type": {
1737
- "text": "boolean"
1796
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1738
1797
  }
1739
1798
  },
1799
+ "parameters": [
1800
+ {
1801
+ "name": "this",
1802
+ "type": {
1803
+ "text": "K"
1804
+ }
1805
+ },
1806
+ {
1807
+ "name": "elementDefinition",
1808
+ "type": {
1809
+ "text": "T"
1810
+ },
1811
+ "description": "The definition of the element to create the registry\nfunction for."
1812
+ }
1813
+ ],
1814
+ "description": "Defines an element registry function with a set of element definition defaults.",
1740
1815
  "inheritedFrom": {
1741
- "name": "Accordion",
1742
- "module": "src/accordion/accordion.ts"
1816
+ "name": "FoundationElement",
1817
+ "module": "src/foundation-element/foundation-element.ts"
1743
1818
  }
1744
- },
1819
+ }
1820
+ ],
1821
+ "events": [
1745
1822
  {
1746
- "kind": "field",
1747
- "name": "handleItemKeyDown",
1748
- "privacy": "private",
1749
- "inheritedFrom": {
1750
- "name": "Accordion",
1751
- "module": "src/accordion/accordion.ts"
1752
- }
1753
- },
1754
- {
1755
- "kind": "field",
1756
- "name": "handleItemFocus",
1757
- "privacy": "private",
1758
- "inheritedFrom": {
1759
- "name": "Accordion",
1760
- "module": "src/accordion/accordion.ts"
1761
- }
1762
- },
1763
- {
1764
- "kind": "method",
1765
- "name": "adjust",
1766
- "privacy": "private",
1767
- "return": {
1768
- "type": {
1769
- "text": "void"
1770
- }
1771
- },
1772
- "parameters": [
1773
- {
1774
- "name": "adjustment",
1775
- "type": {
1776
- "text": "number"
1777
- }
1778
- }
1779
- ],
1780
- "inheritedFrom": {
1781
- "name": "Accordion",
1782
- "module": "src/accordion/accordion.ts"
1783
- }
1784
- },
1785
- {
1786
- "kind": "method",
1787
- "name": "focusItem",
1788
- "privacy": "private",
1789
- "return": {
1790
- "type": {
1791
- "text": "void"
1792
- }
1793
- },
1794
- "inheritedFrom": {
1795
- "name": "Accordion",
1796
- "module": "src/accordion/accordion.ts"
1797
- }
1798
- },
1799
- {
1800
- "kind": "field",
1801
- "name": "_presentation",
1802
- "type": {
1803
- "text": "ComponentPresentation | null | undefined"
1804
- },
1805
- "privacy": "private",
1806
- "default": "void 0",
1807
- "inheritedFrom": {
1808
- "name": "FoundationElement",
1809
- "module": "src/foundation-element/foundation-element.ts"
1810
- }
1811
- },
1812
- {
1813
- "kind": "field",
1814
- "name": "$presentation",
1815
- "type": {
1816
- "text": "ComponentPresentation | null"
1817
- },
1818
- "privacy": "public",
1819
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1820
- "inheritedFrom": {
1821
- "name": "FoundationElement",
1822
- "module": "src/foundation-element/foundation-element.ts"
1823
- }
1824
- },
1825
- {
1826
- "kind": "field",
1827
- "name": "template",
1828
- "type": {
1829
- "text": "ElementViewTemplate | void | null"
1830
- },
1831
- "privacy": "public",
1832
- "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.",
1833
- "inheritedFrom": {
1834
- "name": "FoundationElement",
1835
- "module": "src/foundation-element/foundation-element.ts"
1836
- }
1837
- },
1838
- {
1839
- "kind": "method",
1840
- "name": "templateChanged",
1841
- "privacy": "protected",
1842
- "return": {
1843
- "type": {
1844
- "text": "void"
1845
- }
1846
- },
1847
- "inheritedFrom": {
1848
- "name": "FoundationElement",
1849
- "module": "src/foundation-element/foundation-element.ts"
1850
- }
1851
- },
1852
- {
1853
- "kind": "field",
1854
- "name": "styles",
1855
- "type": {
1856
- "text": "ElementStyles | void | null"
1857
- },
1858
- "privacy": "public",
1859
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles 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",
1867
- "name": "stylesChanged",
1868
- "privacy": "protected",
1869
- "return": {
1870
- "type": {
1871
- "text": "void"
1872
- }
1873
- },
1874
- "inheritedFrom": {
1875
- "name": "FoundationElement",
1876
- "module": "src/foundation-element/foundation-element.ts"
1877
- }
1878
- },
1879
- {
1880
- "kind": "method",
1881
- "name": "compose",
1882
- "privacy": "public",
1883
- "static": true,
1884
- "return": {
1885
- "type": {
1886
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1887
- }
1888
- },
1889
- "parameters": [
1890
- {
1891
- "name": "this",
1892
- "type": {
1893
- "text": "K"
1894
- }
1895
- },
1896
- {
1897
- "name": "elementDefinition",
1898
- "type": {
1899
- "text": "T"
1900
- },
1901
- "description": "The definition of the element to create the registry\nfunction for."
1902
- }
1903
- ],
1904
- "description": "Defines an element registry function with a set of element definition defaults.",
1905
- "inheritedFrom": {
1906
- "name": "FoundationElement",
1907
- "module": "src/foundation-element/foundation-element.ts"
1908
- }
1909
- }
1910
- ],
1911
- "events": [
1912
- {
1913
- "description": "Fires a custom 'change' event when the active item changes",
1823
+ "description": "Fires a custom 'change' event when the button is invoked",
1914
1824
  "name": "change",
1915
1825
  "inheritedFrom": {
1916
- "name": "Accordion",
1917
- "module": "src/accordion/accordion.ts"
1826
+ "name": "AccordionItem",
1827
+ "module": "src/accordion-item/accordion-item.ts"
1918
1828
  }
1919
1829
  }
1920
1830
  ]
1921
1831
  },
1922
1832
  {
1923
1833
  "kind": "variable",
1924
- "name": "foundationAccordionShadowOptions",
1834
+ "name": "foundationAccordionItemShadowOptions",
1925
1835
  "type": {
1926
1836
  "text": "ShadowRootInit"
1927
1837
  },
@@ -1929,57 +1839,57 @@
1929
1839
  },
1930
1840
  {
1931
1841
  "kind": "variable",
1932
- "name": "defaultAccordionConfig",
1842
+ "name": "defaultAccordionItemConfig",
1933
1843
  "type": {
1934
1844
  "text": "object"
1935
1845
  },
1936
- "default": "{}"
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}"
1937
1847
  },
1938
1848
  {
1939
1849
  "kind": "variable",
1940
- "name": "foundationAccordion",
1941
- "description": "The Foundation Accordion",
1850
+ "name": "foundationAccordionItem",
1851
+ "description": "The Foundation Accordion Item",
1942
1852
  "privacy": "public"
1943
1853
  }
1944
1854
  ],
1945
1855
  "exports": [
1946
1856
  {
1947
1857
  "kind": "js",
1948
- "name": "Accordion",
1858
+ "name": "AccordionItem",
1949
1859
  "declaration": {
1950
- "name": "Accordion",
1951
- "module": "src/accordion/accordion.ts"
1860
+ "name": "AccordionItem",
1861
+ "module": "src/accordion-item/accordion-item.ts"
1952
1862
  }
1953
1863
  },
1954
1864
  {
1955
1865
  "kind": "js",
1956
- "name": "foundationAccordionShadowOptions",
1866
+ "name": "foundationAccordionItemShadowOptions",
1957
1867
  "declaration": {
1958
- "name": "foundationAccordionShadowOptions",
1959
- "module": "src/accordion/accordion.ts"
1868
+ "name": "foundationAccordionItemShadowOptions",
1869
+ "module": "src/accordion-item/accordion-item.ts"
1960
1870
  }
1961
1871
  },
1962
1872
  {
1963
1873
  "kind": "js",
1964
- "name": "defaultAccordionConfig",
1874
+ "name": "defaultAccordionItemConfig",
1965
1875
  "declaration": {
1966
- "name": "defaultAccordionConfig",
1967
- "module": "src/accordion/accordion.ts"
1876
+ "name": "defaultAccordionItemConfig",
1877
+ "module": "src/accordion-item/accordion-item.ts"
1968
1878
  }
1969
1879
  },
1970
1880
  {
1971
1881
  "kind": "js",
1972
- "name": "foundationAccordion",
1882
+ "name": "foundationAccordionItem",
1973
1883
  "declaration": {
1974
- "name": "foundationAccordion",
1975
- "module": "src/accordion/accordion.ts"
1884
+ "name": "foundationAccordionItem",
1885
+ "module": "src/accordion-item/accordion-item.ts"
1976
1886
  }
1977
1887
  }
1978
1888
  ]
1979
1889
  },
1980
1890
  {
1981
1891
  "kind": "javascript-module",
1982
- "path": "src/accordion/index.ts",
1892
+ "path": "src/accordion-item/index.ts",
1983
1893
  "declarations": [],
1984
1894
  "exports": [
1985
1895
  {
@@ -1987,7 +1897,7 @@
1987
1897
  "name": "*",
1988
1898
  "declaration": {
1989
1899
  "name": "*",
1990
- "package": "./accordion.template"
1900
+ "package": "./accordion-item.template"
1991
1901
  }
1992
1902
  },
1993
1903
  {
@@ -1995,7 +1905,7 @@
1995
1905
  "name": "*",
1996
1906
  "declaration": {
1997
1907
  "name": "*",
1998
- "package": "./accordion.styles"
1908
+ "package": "./accordion-item.styles"
1999
1909
  }
2000
1910
  },
2001
1911
  {
@@ -2003,18 +1913,18 @@
2003
1913
  "name": "*",
2004
1914
  "declaration": {
2005
1915
  "name": "*",
2006
- "package": "./accordion"
1916
+ "package": "./accordion-item"
2007
1917
  }
2008
1918
  }
2009
1919
  ]
2010
1920
  },
2011
1921
  {
2012
1922
  "kind": "javascript-module",
2013
- "path": "src/accordion-item/accordion-item.styles.ts",
1923
+ "path": "src/accordion/accordion.styles.ts",
2014
1924
  "declarations": [
2015
1925
  {
2016
1926
  "kind": "function",
2017
- "name": "foundationAccordionItemStyles",
1927
+ "name": "foundationAccordionStyles",
2018
1928
  "return": {
2019
1929
  "type": {
2020
1930
  "text": "ElementStyles"
@@ -2039,24 +1949,24 @@
2039
1949
  "exports": [
2040
1950
  {
2041
1951
  "kind": "js",
2042
- "name": "foundationAccordionItemStyles",
1952
+ "name": "foundationAccordionStyles",
2043
1953
  "declaration": {
2044
- "name": "foundationAccordionItemStyles",
2045
- "module": "src/accordion-item/accordion-item.styles.ts"
1954
+ "name": "foundationAccordionStyles",
1955
+ "module": "src/accordion/accordion.styles.ts"
2046
1956
  }
2047
1957
  }
2048
1958
  ]
2049
1959
  },
2050
1960
  {
2051
1961
  "kind": "javascript-module",
2052
- "path": "src/accordion-item/accordion-item.template.ts",
1962
+ "path": "src/accordion/accordion.template.ts",
2053
1963
  "declarations": [
2054
1964
  {
2055
1965
  "kind": "function",
2056
- "name": "foundationAccordionItemTemplate",
1966
+ "name": "foundationAccordionTemplate",
2057
1967
  "return": {
2058
1968
  "type": {
2059
- "text": "ViewTemplate<AccordionItem>"
1969
+ "text": "ViewTemplate<Accordion>"
2060
1970
  }
2061
1971
  },
2062
1972
  "parameters": [
@@ -2078,116 +1988,237 @@
2078
1988
  "exports": [
2079
1989
  {
2080
1990
  "kind": "js",
2081
- "name": "foundationAccordionItemTemplate",
1991
+ "name": "foundationAccordionTemplate",
2082
1992
  "declaration": {
2083
- "name": "foundationAccordionItemTemplate",
2084
- "module": "src/accordion-item/accordion-item.template.ts"
1993
+ "name": "foundationAccordionTemplate",
1994
+ "module": "src/accordion/accordion.template.ts"
2085
1995
  }
2086
1996
  }
2087
1997
  ]
2088
1998
  },
2089
1999
  {
2090
2000
  "kind": "javascript-module",
2091
- "path": "src/accordion-item/accordion-item.ts",
2001
+ "path": "src/accordion/accordion.ts",
2092
2002
  "declarations": [
2093
2003
  {
2094
2004
  "kind": "class",
2095
2005
  "description": "",
2096
- "name": "AccordionItem",
2006
+ "name": "Accordion",
2097
2007
  "superclass": {
2098
- "name": "FASTAccordionItem",
2099
- "package": "@microsoft/fast-components"
2008
+ "name": "FASTAccordion",
2009
+ "package": "@microsoft/fast-foundation"
2100
2010
  },
2101
- "tagName": "%%prefix%%-accordion-item",
2011
+ "tagName": "%%prefix%%-accordion",
2102
2012
  "customElement": true,
2103
2013
  "attributes": [
2104
2014
  {
2105
- "name": "heading-level",
2015
+ "name": "expand-mode",
2106
2016
  "type": {
2107
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2017
+ "text": "AccordionExpandMode"
2108
2018
  },
2109
- "default": "2",
2110
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2111
- "fieldName": "headinglevel",
2019
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2020
+ "fieldName": "expandmode",
2112
2021
  "inheritedFrom": {
2113
- "name": "AccordionItem",
2114
- "module": "src/accordion-item/accordion-item.ts"
2115
- }
2116
- },
2022
+ "name": "Accordion",
2023
+ "module": "src/accordion/accordion.ts"
2024
+ }
2025
+ }
2026
+ ],
2027
+ "members": [
2117
2028
  {
2029
+ "kind": "field",
2030
+ "name": "expandmode",
2118
2031
  "type": {
2119
- "text": "boolean"
2032
+ "text": "AccordionExpandMode"
2120
2033
  },
2121
- "default": "false",
2122
- "description": "Expands or collapses the item.",
2123
- "fieldName": "expanded",
2034
+ "privacy": "public",
2035
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2124
2036
  "inheritedFrom": {
2125
- "name": "AccordionItem",
2126
- "module": "src/accordion-item/accordion-item.ts"
2037
+ "name": "Accordion",
2038
+ "module": "src/accordion/accordion.ts"
2127
2039
  }
2128
2040
  },
2129
2041
  {
2130
- "name": "id",
2042
+ "kind": "field",
2043
+ "name": "activeid",
2131
2044
  "type": {
2132
- "text": "string"
2045
+ "text": "string | null"
2133
2046
  },
2134
- "description": "The item ID",
2135
- "fieldName": "id",
2047
+ "privacy": "private",
2136
2048
  "inheritedFrom": {
2137
- "name": "AccordionItem",
2138
- "module": "src/accordion-item/accordion-item.ts"
2049
+ "name": "Accordion",
2050
+ "module": "src/accordion/accordion.ts"
2139
2051
  }
2140
- }
2141
- ],
2142
- "members": [
2052
+ },
2143
2053
  {
2144
2054
  "kind": "field",
2145
- "name": "headinglevel",
2055
+ "name": "activeItemIndex",
2146
2056
  "type": {
2147
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2057
+ "text": "number"
2148
2058
  },
2149
- "privacy": "public",
2150
- "default": "2",
2151
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2059
+ "privacy": "private",
2060
+ "default": "0",
2152
2061
  "inheritedFrom": {
2153
- "name": "AccordionItem",
2154
- "module": "src/accordion-item/accordion-item.ts"
2062
+ "name": "Accordion",
2063
+ "module": "src/accordion/accordion.ts"
2155
2064
  }
2156
2065
  },
2157
2066
  {
2158
2067
  "kind": "field",
2159
- "name": "expanded",
2068
+ "name": "accordionIds",
2160
2069
  "type": {
2161
- "text": "boolean"
2070
+ "text": "Array<string | null>"
2162
2071
  },
2163
- "privacy": "public",
2164
- "default": "false",
2165
- "description": "Expands or collapses the item.",
2072
+ "privacy": "private",
2166
2073
  "inheritedFrom": {
2167
- "name": "AccordionItem",
2168
- "module": "src/accordion-item/accordion-item.ts"
2074
+ "name": "Accordion",
2075
+ "module": "src/accordion/accordion.ts"
2169
2076
  }
2170
2077
  },
2171
2078
  {
2172
2079
  "kind": "field",
2173
- "name": "id",
2174
- "type": {
2175
- "text": "string"
2080
+ "name": "change",
2081
+ "privacy": "private",
2082
+ "inheritedFrom": {
2083
+ "name": "Accordion",
2084
+ "module": "src/accordion/accordion.ts"
2085
+ }
2086
+ },
2087
+ {
2088
+ "kind": "method",
2089
+ "name": "findExpandedItem",
2090
+ "privacy": "private",
2091
+ "return": {
2092
+ "type": {
2093
+ "text": "AccordionItem | null"
2094
+ }
2176
2095
  },
2177
- "privacy": "public",
2178
- "description": "The item ID",
2179
2096
  "inheritedFrom": {
2180
- "name": "AccordionItem",
2181
- "module": "src/accordion-item/accordion-item.ts"
2097
+ "name": "Accordion",
2098
+ "module": "src/accordion/accordion.ts"
2182
2099
  }
2183
2100
  },
2184
2101
  {
2185
2102
  "kind": "field",
2186
- "name": "change",
2103
+ "name": "setItems",
2187
2104
  "privacy": "private",
2188
2105
  "inheritedFrom": {
2189
- "name": "AccordionItem",
2190
- "module": "src/accordion-item/accordion-item.ts"
2106
+ "name": "Accordion",
2107
+ "module": "src/accordion/accordion.ts"
2108
+ }
2109
+ },
2110
+ {
2111
+ "kind": "method",
2112
+ "name": "resetItems",
2113
+ "privacy": "private",
2114
+ "return": {
2115
+ "type": {
2116
+ "text": "void"
2117
+ }
2118
+ },
2119
+ "inheritedFrom": {
2120
+ "name": "Accordion",
2121
+ "module": "src/accordion/accordion.ts"
2122
+ }
2123
+ },
2124
+ {
2125
+ "kind": "field",
2126
+ "name": "removeItemListeners",
2127
+ "privacy": "private",
2128
+ "inheritedFrom": {
2129
+ "name": "Accordion",
2130
+ "module": "src/accordion/accordion.ts"
2131
+ }
2132
+ },
2133
+ {
2134
+ "kind": "field",
2135
+ "name": "activeItemChange",
2136
+ "privacy": "private",
2137
+ "inheritedFrom": {
2138
+ "name": "Accordion",
2139
+ "module": "src/accordion/accordion.ts"
2140
+ }
2141
+ },
2142
+ {
2143
+ "kind": "method",
2144
+ "name": "getItemIds",
2145
+ "privacy": "private",
2146
+ "return": {
2147
+ "type": {
2148
+ "text": "Array<string | null>"
2149
+ }
2150
+ },
2151
+ "inheritedFrom": {
2152
+ "name": "Accordion",
2153
+ "module": "src/accordion/accordion.ts"
2154
+ }
2155
+ },
2156
+ {
2157
+ "kind": "method",
2158
+ "name": "isSingleExpandMode",
2159
+ "privacy": "private",
2160
+ "return": {
2161
+ "type": {
2162
+ "text": "boolean"
2163
+ }
2164
+ },
2165
+ "inheritedFrom": {
2166
+ "name": "Accordion",
2167
+ "module": "src/accordion/accordion.ts"
2168
+ }
2169
+ },
2170
+ {
2171
+ "kind": "field",
2172
+ "name": "handleItemKeyDown",
2173
+ "privacy": "private",
2174
+ "inheritedFrom": {
2175
+ "name": "Accordion",
2176
+ "module": "src/accordion/accordion.ts"
2177
+ }
2178
+ },
2179
+ {
2180
+ "kind": "field",
2181
+ "name": "handleItemFocus",
2182
+ "privacy": "private",
2183
+ "inheritedFrom": {
2184
+ "name": "Accordion",
2185
+ "module": "src/accordion/accordion.ts"
2186
+ }
2187
+ },
2188
+ {
2189
+ "kind": "method",
2190
+ "name": "adjust",
2191
+ "privacy": "private",
2192
+ "return": {
2193
+ "type": {
2194
+ "text": "void"
2195
+ }
2196
+ },
2197
+ "parameters": [
2198
+ {
2199
+ "name": "adjustment",
2200
+ "type": {
2201
+ "text": "number"
2202
+ }
2203
+ }
2204
+ ],
2205
+ "inheritedFrom": {
2206
+ "name": "Accordion",
2207
+ "module": "src/accordion/accordion.ts"
2208
+ }
2209
+ },
2210
+ {
2211
+ "kind": "method",
2212
+ "name": "focusItem",
2213
+ "privacy": "private",
2214
+ "return": {
2215
+ "type": {
2216
+ "text": "void"
2217
+ }
2218
+ },
2219
+ "inheritedFrom": {
2220
+ "name": "Accordion",
2221
+ "module": "src/accordion/accordion.ts"
2191
2222
  }
2192
2223
  },
2193
2224
  {
@@ -2304,18 +2335,18 @@
2304
2335
  ],
2305
2336
  "events": [
2306
2337
  {
2307
- "description": "Fires a custom 'change' event when the button is invoked",
2338
+ "description": "Fires a custom 'change' event when the active item changes",
2308
2339
  "name": "change",
2309
2340
  "inheritedFrom": {
2310
- "name": "AccordionItem",
2311
- "module": "src/accordion-item/accordion-item.ts"
2341
+ "name": "Accordion",
2342
+ "module": "src/accordion/accordion.ts"
2312
2343
  }
2313
2344
  }
2314
2345
  ]
2315
2346
  },
2316
2347
  {
2317
2348
  "kind": "variable",
2318
- "name": "foundationAccordionItemShadowOptions",
2349
+ "name": "foundationAccordionShadowOptions",
2319
2350
  "type": {
2320
2351
  "text": "ShadowRootInit"
2321
2352
  },
@@ -2323,57 +2354,57 @@
2323
2354
  },
2324
2355
  {
2325
2356
  "kind": "variable",
2326
- "name": "defaultAccordionItemConfig",
2357
+ "name": "defaultAccordionConfig",
2327
2358
  "type": {
2328
2359
  "text": "object"
2329
2360
  },
2330
- "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}"
2361
+ "default": "{}"
2331
2362
  },
2332
2363
  {
2333
2364
  "kind": "variable",
2334
- "name": "foundationAccordionItem",
2335
- "description": "The Foundation Accordion Item",
2365
+ "name": "foundationAccordion",
2366
+ "description": "The Foundation Accordion",
2336
2367
  "privacy": "public"
2337
2368
  }
2338
2369
  ],
2339
2370
  "exports": [
2340
2371
  {
2341
2372
  "kind": "js",
2342
- "name": "AccordionItem",
2373
+ "name": "Accordion",
2343
2374
  "declaration": {
2344
- "name": "AccordionItem",
2345
- "module": "src/accordion-item/accordion-item.ts"
2375
+ "name": "Accordion",
2376
+ "module": "src/accordion/accordion.ts"
2346
2377
  }
2347
2378
  },
2348
2379
  {
2349
2380
  "kind": "js",
2350
- "name": "foundationAccordionItemShadowOptions",
2381
+ "name": "foundationAccordionShadowOptions",
2351
2382
  "declaration": {
2352
- "name": "foundationAccordionItemShadowOptions",
2353
- "module": "src/accordion-item/accordion-item.ts"
2383
+ "name": "foundationAccordionShadowOptions",
2384
+ "module": "src/accordion/accordion.ts"
2354
2385
  }
2355
2386
  },
2356
2387
  {
2357
2388
  "kind": "js",
2358
- "name": "defaultAccordionItemConfig",
2389
+ "name": "defaultAccordionConfig",
2359
2390
  "declaration": {
2360
- "name": "defaultAccordionItemConfig",
2361
- "module": "src/accordion-item/accordion-item.ts"
2391
+ "name": "defaultAccordionConfig",
2392
+ "module": "src/accordion/accordion.ts"
2362
2393
  }
2363
2394
  },
2364
2395
  {
2365
2396
  "kind": "js",
2366
- "name": "foundationAccordionItem",
2397
+ "name": "foundationAccordion",
2367
2398
  "declaration": {
2368
- "name": "foundationAccordionItem",
2369
- "module": "src/accordion-item/accordion-item.ts"
2399
+ "name": "foundationAccordion",
2400
+ "module": "src/accordion/accordion.ts"
2370
2401
  }
2371
2402
  }
2372
2403
  ]
2373
2404
  },
2374
2405
  {
2375
2406
  "kind": "javascript-module",
2376
- "path": "src/accordion-item/index.ts",
2407
+ "path": "src/accordion/index.ts",
2377
2408
  "declarations": [],
2378
2409
  "exports": [
2379
2410
  {
@@ -2381,7 +2412,7 @@
2381
2412
  "name": "*",
2382
2413
  "declaration": {
2383
2414
  "name": "*",
2384
- "package": "./accordion-item.template"
2415
+ "package": "./accordion.template"
2385
2416
  }
2386
2417
  },
2387
2418
  {
@@ -2389,7 +2420,7 @@
2389
2420
  "name": "*",
2390
2421
  "declaration": {
2391
2422
  "name": "*",
2392
- "package": "./accordion-item.styles"
2423
+ "package": "./accordion.styles"
2393
2424
  }
2394
2425
  },
2395
2426
  {
@@ -2397,38 +2428,7 @@
2397
2428
  "name": "*",
2398
2429
  "declaration": {
2399
2430
  "name": "*",
2400
- "package": "./accordion-item"
2401
- }
2402
- }
2403
- ]
2404
- },
2405
- {
2406
- "kind": "javascript-module",
2407
- "path": "src/_config/index.ts",
2408
- "declarations": [],
2409
- "exports": [
2410
- {
2411
- "kind": "js",
2412
- "name": "*",
2413
- "declaration": {
2414
- "name": "*",
2415
- "package": "./styles"
2416
- }
2417
- },
2418
- {
2419
- "kind": "js",
2420
- "name": "*",
2421
- "declaration": {
2422
- "name": "*",
2423
- "package": "./tokens"
2424
- }
2425
- },
2426
- {
2427
- "kind": "js",
2428
- "name": "*",
2429
- "declaration": {
2430
- "name": "*",
2431
- "package": "./values"
2431
+ "package": "./accordion"
2432
2432
  }
2433
2433
  }
2434
2434
  ]
@@ -3006,75 +3006,57 @@
3006
3006
  },
3007
3007
  {
3008
3008
  "kind": "javascript-module",
3009
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3009
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3010
3010
  "declarations": [
3011
3011
  {
3012
- "kind": "function",
3013
- "name": "foundationAiIndicatorStyles",
3014
- "return": {
3015
- "type": {
3016
- "text": "ElementStyles"
3017
- }
3018
- },
3019
- "parameters": [
3020
- {
3021
- "name": "context",
3022
- "type": {
3023
- "text": "ElementDefinitionContext"
3024
- }
3025
- },
3026
- {
3027
- "name": "definition",
3028
- "type": {
3029
- "text": "FoundationElementDefinition"
3030
- }
3031
- }
3032
- ]
3012
+ "kind": "variable",
3013
+ "name": "foundationAiCriteriaSearchStyles",
3014
+ "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`"
3033
3015
  }
3034
3016
  ],
3035
3017
  "exports": [
3036
3018
  {
3037
3019
  "kind": "js",
3038
- "name": "foundationAiIndicatorStyles",
3020
+ "name": "foundationAiCriteriaSearchStyles",
3039
3021
  "declaration": {
3040
- "name": "foundationAiIndicatorStyles",
3041
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3022
+ "name": "foundationAiCriteriaSearchStyles",
3023
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3042
3024
  }
3043
3025
  }
3044
3026
  ]
3045
3027
  },
3046
3028
  {
3047
3029
  "kind": "javascript-module",
3048
- "path": "src/ai-indicator/ai-indicator.template.ts",
3030
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3049
3031
  "declarations": [
3050
3032
  {
3051
3033
  "kind": "variable",
3052
- "name": "foundationAiIndicatorTemplate",
3034
+ "name": "foundationAiCriteriaSearchTemplate",
3053
3035
  "type": {
3054
- "text": "ViewTemplate<AiIndicator>"
3036
+ "text": "ViewTemplate<AiCriteriaSearch>"
3055
3037
  },
3056
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3038
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3057
3039
  }
3058
3040
  ],
3059
3041
  "exports": [
3060
3042
  {
3061
3043
  "kind": "js",
3062
- "name": "foundationAiIndicatorTemplate",
3044
+ "name": "foundationAiCriteriaSearchTemplate",
3063
3045
  "declaration": {
3064
- "name": "foundationAiIndicatorTemplate",
3065
- "module": "src/ai-indicator/ai-indicator.template.ts"
3046
+ "name": "foundationAiCriteriaSearchTemplate",
3047
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3066
3048
  }
3067
3049
  }
3068
3050
  ]
3069
3051
  },
3070
3052
  {
3071
3053
  "kind": "javascript-module",
3072
- "path": "src/ai-indicator/ai-indicator.ts",
3054
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3073
3055
  "declarations": [
3074
3056
  {
3075
3057
  "kind": "class",
3076
- "description": "",
3077
- "name": "AiIndicator",
3058
+ "description": "Natural-language criteria search input with AI interpretation.",
3059
+ "name": "AiCriteriaSearch",
3078
3060
  "members": [
3079
3061
  {
3080
3062
  "kind": "field",
@@ -3085,25 +3067,54 @@
3085
3067
  },
3086
3068
  {
3087
3069
  "kind": "field",
3088
- "name": "aiProvider",
3070
+ "name": "placeholder",
3089
3071
  "type": {
3090
- "text": "AIProvider | undefined"
3072
+ "text": "string"
3091
3073
  },
3092
- "privacy": "private",
3093
- "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.",
3094
- "readonly": true
3074
+ "default": "'Describe your search criteria in natural language...'"
3095
3075
  },
3096
3076
  {
3097
3077
  "kind": "field",
3098
- "name": "status",
3078
+ "name": "disabled",
3099
3079
  "type": {
3100
- "text": "AIStatus | null"
3080
+ "text": "boolean"
3081
+ }
3082
+ },
3083
+ {
3084
+ "kind": "field",
3085
+ "name": "inputValue",
3086
+ "type": {
3087
+ "text": "string"
3088
+ },
3089
+ "default": "''"
3090
+ },
3091
+ {
3092
+ "kind": "field",
3093
+ "name": "isInterpreting",
3094
+ "type": {
3095
+ "text": "boolean"
3096
+ },
3097
+ "default": "false"
3098
+ },
3099
+ {
3100
+ "kind": "field",
3101
+ "name": "lastValidCriteria",
3102
+ "type": {
3103
+ "text": "string | null"
3101
3104
  },
3102
3105
  "default": "null"
3103
3106
  },
3104
3107
  {
3105
3108
  "kind": "field",
3106
- "name": "open",
3109
+ "name": "activeGroups",
3110
+ "type": {
3111
+ "text": "CriteriaGroup[]"
3112
+ },
3113
+ "default": "[]"
3114
+ },
3115
+ {
3116
+ "kind": "field",
3117
+ "name": "showingChips",
3107
3118
  "type": {
3108
3119
  "text": "boolean"
3109
3120
  },
@@ -3111,15 +3122,15 @@
3111
3122
  },
3112
3123
  {
3113
3124
  "kind": "field",
3114
- "name": "state",
3125
+ "name": "fieldMetadata",
3115
3126
  "type": {
3116
- "text": "AIIndicatorState"
3127
+ "text": "MetadataDetail[] | string[]"
3117
3128
  },
3118
- "default": "'none'"
3129
+ "default": "[]"
3119
3130
  },
3120
3131
  {
3121
3132
  "kind": "field",
3122
- "name": "isInstalling",
3133
+ "name": "isRecording",
3123
3134
  "type": {
3124
3135
  "text": "boolean"
3125
3136
  },
@@ -3127,29 +3138,33 @@
3127
3138
  },
3128
3139
  {
3129
3140
  "kind": "field",
3130
- "name": "pollTimer",
3141
+ "name": "textAreaRef",
3131
3142
  "type": {
3132
- "text": "ReturnType<typeof setInterval> | null"
3143
+ "text": "HTMLTextAreaElement"
3133
3144
  },
3134
- "privacy": "private",
3135
- "default": "null"
3145
+ "privacy": "public"
3136
3146
  },
3137
3147
  {
3138
3148
  "kind": "field",
3139
- "name": "clickOutside",
3140
- "privacy": "private"
3149
+ "name": "stopRecording",
3150
+ "type": {
3151
+ "text": "(() => void) | null"
3152
+ },
3153
+ "privacy": "private",
3154
+ "default": "null"
3141
3155
  },
3142
3156
  {
3143
3157
  "kind": "field",
3144
- "name": "chromeStatusLabel",
3158
+ "name": "speechApplyDebounceTimer",
3145
3159
  "type": {
3146
- "text": "string | null"
3160
+ "text": "ReturnType<typeof setTimeout> | null"
3147
3161
  },
3148
- "readonly": true
3162
+ "privacy": "private",
3163
+ "default": "null"
3149
3164
  },
3150
3165
  {
3151
3166
  "kind": "field",
3152
- "name": "canInstall",
3167
+ "name": "speechAvailable",
3153
3168
  "type": {
3154
3169
  "text": "boolean"
3155
3170
  },
@@ -3157,69 +3172,65 @@
3157
3172
  },
3158
3173
  {
3159
3174
  "kind": "field",
3160
- "name": "isDownloading",
3175
+ "name": "criteriaChips",
3161
3176
  "type": {
3162
- "text": "boolean"
3177
+ "text": "CriteriaChip[]"
3163
3178
  },
3164
3179
  "readonly": true
3165
3180
  },
3166
3181
  {
3167
3182
  "kind": "method",
3168
- "name": "openChanged",
3183
+ "name": "getFieldLabel",
3184
+ "privacy": "private",
3169
3185
  "return": {
3170
3186
  "type": {
3171
- "text": "void"
3187
+ "text": "string"
3172
3188
  }
3173
- }
3174
- },
3175
- {
3176
- "kind": "method",
3177
- "name": "handleClickOutside",
3178
- "privacy": "private",
3189
+ },
3179
3190
  "parameters": [
3180
3191
  {
3181
- "name": "event",
3192
+ "name": "fieldName",
3182
3193
  "type": {
3183
- "text": "MouseEvent"
3194
+ "text": "string"
3184
3195
  }
3185
3196
  }
3186
3197
  ]
3187
3198
  },
3188
3199
  {
3189
3200
  "kind": "method",
3190
- "name": "toggleDropdown"
3191
- },
3192
- {
3193
- "kind": "method",
3194
- "name": "refreshStatus",
3201
+ "name": "toggleCriteriaView",
3195
3202
  "return": {
3196
3203
  "type": {
3197
- "text": "Promise<void>"
3204
+ "text": "void"
3198
3205
  }
3199
3206
  }
3200
3207
  },
3201
3208
  {
3202
3209
  "kind": "method",
3203
- "name": "deriveState",
3204
- "privacy": "private",
3210
+ "name": "removeChip",
3205
3211
  "return": {
3206
3212
  "type": {
3207
- "text": "AIIndicatorState"
3213
+ "text": "void"
3208
3214
  }
3209
3215
  },
3210
3216
  "parameters": [
3211
3217
  {
3212
- "name": "s",
3218
+ "name": "groupIndex",
3213
3219
  "type": {
3214
- "text": "AIStatus | null"
3220
+ "text": "number"
3221
+ }
3222
+ },
3223
+ {
3224
+ "name": "clauseIndex",
3225
+ "type": {
3226
+ "text": "number"
3215
3227
  }
3216
3228
  }
3217
3229
  ]
3218
3230
  },
3219
3231
  {
3220
3232
  "kind": "method",
3221
- "name": "maybeStartPolling",
3222
- "privacy": "private",
3233
+ "name": "clearChips",
3223
3234
  "return": {
3224
3235
  "type": {
3225
3236
  "text": "void"
@@ -3228,32 +3239,24 @@
3228
3239
  },
3229
3240
  {
3230
3241
  "kind": "method",
3231
- "name": "startPolling",
3232
- "privacy": "private",
3233
- "return": {
3234
- "type": {
3235
- "text": "void"
3236
- }
3237
- }
3242
+ "name": "handleSubmit"
3238
3243
  },
3239
3244
  {
3240
3245
  "kind": "method",
3241
- "name": "stopPolling",
3242
- "privacy": "private",
3243
- "return": {
3244
- "type": {
3245
- "text": "void"
3246
- }
3247
- }
3246
+ "name": "handleBlur"
3248
3247
  },
3249
3248
  {
3250
3249
  "kind": "method",
3251
- "name": "onInstall",
3252
- "return": {
3253
- "type": {
3254
- "text": "Promise<void>"
3255
- }
3256
- }
3250
+ "name": "clear"
3251
+ },
3252
+ {
3253
+ "kind": "method",
3254
+ "name": "toggleSpeechInput"
3255
+ },
3256
+ {
3257
+ "kind": "method",
3258
+ "name": "clearSpeechApplyDebounce",
3259
+ "privacy": "private"
3257
3260
  },
3258
3261
  {
3259
3262
  "kind": "field",
@@ -3367,145 +3370,320 @@
3367
3370
  }
3368
3371
  }
3369
3372
  ],
3370
- "superclass": {
3371
- "name": "FoundationElement",
3372
- "package": "@microsoft/fast-foundation"
3373
- },
3374
- "tagName": "%%prefix%%-ai-indicator",
3375
- "customElement": true
3376
- },
3377
- {
3378
- "kind": "variable",
3379
- "name": "foundationAiIndicator"
3380
- }
3381
- ],
3382
- "exports": [
3383
- {
3384
- "kind": "js",
3385
- "name": "AiIndicator",
3386
- "declaration": {
3387
- "name": "AiIndicator",
3388
- "module": "src/ai-indicator/ai-indicator.ts"
3389
- }
3390
- },
3373
+ "events": [
3374
+ {
3375
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3376
+ "name": "criteria-changed"
3377
+ },
3378
+ {
3379
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3380
+ "name": "validation-errors"
3381
+ }
3382
+ ],
3383
+ "attributes": [
3384
+ {
3385
+ "name": "placeholder",
3386
+ "type": {
3387
+ "text": "string"
3388
+ },
3389
+ "default": "'Describe your search criteria in natural language...'",
3390
+ "fieldName": "placeholder"
3391
+ },
3392
+ {
3393
+ "type": {
3394
+ "text": "boolean"
3395
+ },
3396
+ "fieldName": "disabled"
3397
+ }
3398
+ ],
3399
+ "superclass": {
3400
+ "name": "FoundationElement",
3401
+ "package": "@microsoft/fast-foundation"
3402
+ },
3403
+ "tagName": "%%prefix%%-ai-criteria-search",
3404
+ "customElement": true
3405
+ },
3406
+ {
3407
+ "kind": "variable",
3408
+ "name": "foundationAiCriteriaSearchShadowOptions",
3409
+ "type": {
3410
+ "text": "ShadowRootInit"
3411
+ },
3412
+ "default": "undefined"
3413
+ },
3414
+ {
3415
+ "kind": "variable",
3416
+ "name": "defaultAiCriteriaSearchConfig",
3417
+ "type": {
3418
+ "text": "object"
3419
+ },
3420
+ "default": "{}"
3421
+ },
3422
+ {
3423
+ "kind": "variable",
3424
+ "name": "foundationAiCriteriaSearch"
3425
+ }
3426
+ ],
3427
+ "exports": [
3391
3428
  {
3392
3429
  "kind": "js",
3393
- "name": "foundationAiIndicator",
3430
+ "name": "AiCriteriaSearch",
3394
3431
  "declaration": {
3395
- "name": "foundationAiIndicator",
3396
- "module": "src/ai-indicator/ai-indicator.ts"
3432
+ "name": "AiCriteriaSearch",
3433
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3434
+ }
3435
+ },
3436
+ {
3437
+ "kind": "js",
3438
+ "name": "foundationAiCriteriaSearchShadowOptions",
3439
+ "declaration": {
3440
+ "name": "foundationAiCriteriaSearchShadowOptions",
3441
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3442
+ }
3443
+ },
3444
+ {
3445
+ "kind": "js",
3446
+ "name": "defaultAiCriteriaSearchConfig",
3447
+ "declaration": {
3448
+ "name": "defaultAiCriteriaSearchConfig",
3449
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3450
+ }
3451
+ },
3452
+ {
3453
+ "kind": "js",
3454
+ "name": "foundationAiCriteriaSearch",
3455
+ "declaration": {
3456
+ "name": "foundationAiCriteriaSearch",
3457
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3397
3458
  }
3398
3459
  }
3399
3460
  ]
3400
3461
  },
3401
3462
  {
3402
3463
  "kind": "javascript-module",
3403
- "path": "src/ai-indicator/index.ts",
3464
+ "path": "src/ai-criteria-search/index.ts",
3404
3465
  "declarations": [],
3405
3466
  "exports": [
3406
3467
  {
3407
3468
  "kind": "js",
3408
- "name": "AiIndicator",
3469
+ "name": "AiCriteriaSearch",
3409
3470
  "declaration": {
3410
- "name": "AiIndicator",
3411
- "module": "./ai-indicator"
3471
+ "name": "AiCriteriaSearch",
3472
+ "module": "./ai-criteria-search"
3412
3473
  }
3413
3474
  },
3414
3475
  {
3415
3476
  "kind": "js",
3416
- "name": "foundationAiIndicator",
3477
+ "name": "defaultAiCriteriaSearchConfig",
3417
3478
  "declaration": {
3418
- "name": "foundationAiIndicator",
3419
- "module": "./ai-indicator"
3479
+ "name": "defaultAiCriteriaSearchConfig",
3480
+ "module": "./ai-criteria-search"
3420
3481
  }
3421
3482
  },
3422
3483
  {
3423
3484
  "kind": "js",
3424
- "name": "type",
3485
+ "name": "foundationAiCriteriaSearch",
3425
3486
  "declaration": {
3426
- "name": "type",
3427
- "module": "./ai-indicator"
3487
+ "name": "foundationAiCriteriaSearch",
3488
+ "module": "./ai-criteria-search"
3428
3489
  }
3429
3490
  },
3430
3491
  {
3431
3492
  "kind": "js",
3432
- "name": "AIIndicatorState",
3493
+ "name": "foundationAiCriteriaSearchShadowOptions",
3433
3494
  "declaration": {
3434
- "name": "AIIndicatorState",
3435
- "module": "./ai-indicator"
3495
+ "name": "foundationAiCriteriaSearchShadowOptions",
3496
+ "module": "./ai-criteria-search"
3436
3497
  }
3437
3498
  },
3438
3499
  {
3439
3500
  "kind": "js",
3440
- "name": "foundationAiIndicatorTemplate",
3501
+ "name": "foundationAiCriteriaSearchStyles",
3441
3502
  "declaration": {
3442
- "name": "foundationAiIndicatorTemplate",
3443
- "module": "./ai-indicator.template"
3503
+ "name": "foundationAiCriteriaSearchStyles",
3504
+ "module": "./ai-criteria-search.styles"
3444
3505
  }
3445
3506
  },
3446
3507
  {
3447
3508
  "kind": "js",
3448
- "name": "foundationAiIndicatorStyles",
3509
+ "name": "foundationAiCriteriaSearchTemplate",
3449
3510
  "declaration": {
3450
- "name": "foundationAiIndicatorStyles",
3451
- "module": "./ai-indicator.styles"
3511
+ "name": "foundationAiCriteriaSearchTemplate",
3512
+ "module": "./ai-criteria-search.template"
3513
+ }
3514
+ },
3515
+ {
3516
+ "kind": "js",
3517
+ "name": "*",
3518
+ "declaration": {
3519
+ "name": "*",
3520
+ "package": "./validation/criteria-ir"
3521
+ }
3522
+ },
3523
+ {
3524
+ "kind": "js",
3525
+ "name": "*",
3526
+ "declaration": {
3527
+ "name": "*",
3528
+ "package": "./validation/operator-map"
3529
+ }
3530
+ },
3531
+ {
3532
+ "kind": "js",
3533
+ "name": "*",
3534
+ "declaration": {
3535
+ "name": "*",
3536
+ "package": "./validation/schema-validator"
3452
3537
  }
3453
3538
  }
3454
3539
  ]
3455
3540
  },
3456
3541
  {
3457
3542
  "kind": "javascript-module",
3458
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3543
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3459
3544
  "declarations": [
3460
3545
  {
3461
- "kind": "variable",
3462
- "name": "foundationAiCriteriaSearchStyles",
3463
- "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`"
3546
+ "kind": "function",
3547
+ "name": "formatValidationErrors",
3548
+ "return": {
3549
+ "type": {
3550
+ "text": "string"
3551
+ }
3552
+ },
3553
+ "parameters": [
3554
+ {
3555
+ "name": "errors",
3556
+ "type": {
3557
+ "text": "ValidationError[]"
3558
+ }
3559
+ }
3560
+ ],
3561
+ "description": "Formats validation errors into a user-friendly message."
3562
+ },
3563
+ {
3564
+ "kind": "function",
3565
+ "name": "showCriteriaError",
3566
+ "return": {
3567
+ "type": {
3568
+ "text": "void"
3569
+ }
3570
+ },
3571
+ "parameters": [
3572
+ {
3573
+ "name": "title",
3574
+ "type": {
3575
+ "text": "string"
3576
+ },
3577
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3578
+ },
3579
+ {
3580
+ "name": "body",
3581
+ "type": {
3582
+ "text": "string"
3583
+ },
3584
+ "description": "Error message to display"
3585
+ },
3586
+ {
3587
+ "name": "tagName",
3588
+ "type": {
3589
+ "text": "string"
3590
+ },
3591
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3592
+ }
3593
+ ],
3594
+ "description": "Shows a criteria error as a toast notification."
3464
3595
  }
3465
3596
  ],
3466
3597
  "exports": [
3467
3598
  {
3468
3599
  "kind": "js",
3469
- "name": "foundationAiCriteriaSearchStyles",
3600
+ "name": "formatValidationErrors",
3470
3601
  "declaration": {
3471
- "name": "foundationAiCriteriaSearchStyles",
3472
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3602
+ "name": "formatValidationErrors",
3603
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3604
+ }
3605
+ },
3606
+ {
3607
+ "kind": "js",
3608
+ "name": "showCriteriaError",
3609
+ "declaration": {
3610
+ "name": "showCriteriaError",
3611
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3473
3612
  }
3474
3613
  }
3475
3614
  ]
3476
3615
  },
3477
3616
  {
3478
3617
  "kind": "javascript-module",
3479
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3618
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3619
+ "declarations": [
3620
+ {
3621
+ "kind": "function",
3622
+ "name": "foundationAiIndicatorStyles",
3623
+ "return": {
3624
+ "type": {
3625
+ "text": "ElementStyles"
3626
+ }
3627
+ },
3628
+ "parameters": [
3629
+ {
3630
+ "name": "context",
3631
+ "type": {
3632
+ "text": "ElementDefinitionContext"
3633
+ }
3634
+ },
3635
+ {
3636
+ "name": "definition",
3637
+ "type": {
3638
+ "text": "FoundationElementDefinition"
3639
+ }
3640
+ }
3641
+ ]
3642
+ }
3643
+ ],
3644
+ "exports": [
3645
+ {
3646
+ "kind": "js",
3647
+ "name": "foundationAiIndicatorStyles",
3648
+ "declaration": {
3649
+ "name": "foundationAiIndicatorStyles",
3650
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3651
+ }
3652
+ }
3653
+ ]
3654
+ },
3655
+ {
3656
+ "kind": "javascript-module",
3657
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3480
3658
  "declarations": [
3481
3659
  {
3482
3660
  "kind": "variable",
3483
- "name": "foundationAiCriteriaSearchTemplate",
3661
+ "name": "foundationAiIndicatorTemplate",
3484
3662
  "type": {
3485
- "text": "ViewTemplate<AiCriteriaSearch>"
3663
+ "text": "ViewTemplate<AiIndicator>"
3486
3664
  },
3487
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3665
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3488
3666
  }
3489
3667
  ],
3490
3668
  "exports": [
3491
3669
  {
3492
3670
  "kind": "js",
3493
- "name": "foundationAiCriteriaSearchTemplate",
3671
+ "name": "foundationAiIndicatorTemplate",
3494
3672
  "declaration": {
3495
- "name": "foundationAiCriteriaSearchTemplate",
3496
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3673
+ "name": "foundationAiIndicatorTemplate",
3674
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3497
3675
  }
3498
3676
  }
3499
3677
  ]
3500
3678
  },
3501
3679
  {
3502
3680
  "kind": "javascript-module",
3503
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3681
+ "path": "src/ai-indicator/ai-indicator.ts",
3504
3682
  "declarations": [
3505
3683
  {
3506
3684
  "kind": "class",
3507
- "description": "Natural-language criteria search input with AI interpretation.",
3508
- "name": "AiCriteriaSearch",
3685
+ "description": "",
3686
+ "name": "AiIndicator",
3509
3687
  "members": [
3510
3688
  {
3511
3689
  "kind": "field",
@@ -3516,54 +3694,25 @@
3516
3694
  },
3517
3695
  {
3518
3696
  "kind": "field",
3519
- "name": "placeholder",
3520
- "type": {
3521
- "text": "string"
3522
- },
3523
- "default": "'Describe your search criteria in natural language...'"
3524
- },
3525
- {
3526
- "kind": "field",
3527
- "name": "disabled",
3528
- "type": {
3529
- "text": "boolean"
3530
- }
3531
- },
3532
- {
3533
- "kind": "field",
3534
- "name": "inputValue",
3535
- "type": {
3536
- "text": "string"
3537
- },
3538
- "default": "''"
3539
- },
3540
- {
3541
- "kind": "field",
3542
- "name": "isInterpreting",
3697
+ "name": "aiProvider",
3543
3698
  "type": {
3544
- "text": "boolean"
3699
+ "text": "AIProvider | undefined"
3545
3700
  },
3546
- "default": "false"
3701
+ "privacy": "private",
3702
+ "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.",
3703
+ "readonly": true
3547
3704
  },
3548
3705
  {
3549
3706
  "kind": "field",
3550
- "name": "lastValidCriteria",
3707
+ "name": "status",
3551
3708
  "type": {
3552
- "text": "string | null"
3709
+ "text": "AIStatus | null"
3553
3710
  },
3554
3711
  "default": "null"
3555
3712
  },
3556
3713
  {
3557
3714
  "kind": "field",
3558
- "name": "activeGroups",
3559
- "type": {
3560
- "text": "CriteriaGroup[]"
3561
- },
3562
- "default": "[]"
3563
- },
3564
- {
3565
- "kind": "field",
3566
- "name": "showingChips",
3715
+ "name": "open",
3567
3716
  "type": {
3568
3717
  "text": "boolean"
3569
3718
  },
@@ -3571,15 +3720,15 @@
3571
3720
  },
3572
3721
  {
3573
3722
  "kind": "field",
3574
- "name": "fieldMetadata",
3723
+ "name": "state",
3575
3724
  "type": {
3576
- "text": "MetadataDetail[] | string[]"
3725
+ "text": "AIIndicatorState"
3577
3726
  },
3578
- "default": "[]"
3727
+ "default": "'none'"
3579
3728
  },
3580
3729
  {
3581
3730
  "kind": "field",
3582
- "name": "isRecording",
3731
+ "name": "isInstalling",
3583
3732
  "type": {
3584
3733
  "text": "boolean"
3585
3734
  },
@@ -3587,33 +3736,29 @@
3587
3736
  },
3588
3737
  {
3589
3738
  "kind": "field",
3590
- "name": "textAreaRef",
3739
+ "name": "pollTimer",
3591
3740
  "type": {
3592
- "text": "HTMLTextAreaElement"
3741
+ "text": "ReturnType<typeof setInterval> | null"
3593
3742
  },
3594
- "privacy": "public"
3743
+ "privacy": "private",
3744
+ "default": "null"
3595
3745
  },
3596
3746
  {
3597
3747
  "kind": "field",
3598
- "name": "stopRecording",
3599
- "type": {
3600
- "text": "(() => void) | null"
3601
- },
3602
- "privacy": "private",
3603
- "default": "null"
3748
+ "name": "clickOutside",
3749
+ "privacy": "private"
3604
3750
  },
3605
3751
  {
3606
3752
  "kind": "field",
3607
- "name": "speechApplyDebounceTimer",
3753
+ "name": "chromeStatusLabel",
3608
3754
  "type": {
3609
- "text": "ReturnType<typeof setTimeout> | null"
3755
+ "text": "string | null"
3610
3756
  },
3611
- "privacy": "private",
3612
- "default": "null"
3757
+ "readonly": true
3613
3758
  },
3614
3759
  {
3615
3760
  "kind": "field",
3616
- "name": "speechAvailable",
3761
+ "name": "canInstall",
3617
3762
  "type": {
3618
3763
  "text": "boolean"
3619
3764
  },
@@ -3621,65 +3766,69 @@
3621
3766
  },
3622
3767
  {
3623
3768
  "kind": "field",
3624
- "name": "criteriaChips",
3769
+ "name": "isDownloading",
3625
3770
  "type": {
3626
- "text": "CriteriaChip[]"
3771
+ "text": "boolean"
3627
3772
  },
3628
3773
  "readonly": true
3629
3774
  },
3630
3775
  {
3631
3776
  "kind": "method",
3632
- "name": "getFieldLabel",
3633
- "privacy": "private",
3777
+ "name": "openChanged",
3634
3778
  "return": {
3635
3779
  "type": {
3636
- "text": "string"
3780
+ "text": "void"
3637
3781
  }
3638
- },
3782
+ }
3783
+ },
3784
+ {
3785
+ "kind": "method",
3786
+ "name": "handleClickOutside",
3787
+ "privacy": "private",
3639
3788
  "parameters": [
3640
3789
  {
3641
- "name": "fieldName",
3790
+ "name": "event",
3642
3791
  "type": {
3643
- "text": "string"
3792
+ "text": "MouseEvent"
3644
3793
  }
3645
3794
  }
3646
3795
  ]
3647
3796
  },
3648
3797
  {
3649
3798
  "kind": "method",
3650
- "name": "toggleCriteriaView",
3799
+ "name": "toggleDropdown"
3800
+ },
3801
+ {
3802
+ "kind": "method",
3803
+ "name": "refreshStatus",
3651
3804
  "return": {
3652
3805
  "type": {
3653
- "text": "void"
3806
+ "text": "Promise<void>"
3654
3807
  }
3655
3808
  }
3656
3809
  },
3657
3810
  {
3658
3811
  "kind": "method",
3659
- "name": "removeChip",
3812
+ "name": "deriveState",
3813
+ "privacy": "private",
3660
3814
  "return": {
3661
3815
  "type": {
3662
- "text": "void"
3816
+ "text": "AIIndicatorState"
3663
3817
  }
3664
3818
  },
3665
3819
  "parameters": [
3666
3820
  {
3667
- "name": "groupIndex",
3668
- "type": {
3669
- "text": "number"
3670
- }
3671
- },
3672
- {
3673
- "name": "clauseIndex",
3821
+ "name": "s",
3674
3822
  "type": {
3675
- "text": "number"
3823
+ "text": "AIStatus | null"
3676
3824
  }
3677
3825
  }
3678
3826
  ]
3679
3827
  },
3680
3828
  {
3681
3829
  "kind": "method",
3682
- "name": "clearChips",
3830
+ "name": "maybeStartPolling",
3831
+ "privacy": "private",
3683
3832
  "return": {
3684
3833
  "type": {
3685
3834
  "text": "void"
@@ -3688,24 +3837,32 @@
3688
3837
  },
3689
3838
  {
3690
3839
  "kind": "method",
3691
- "name": "handleSubmit"
3692
- },
3693
- {
3694
- "kind": "method",
3695
- "name": "handleBlur"
3696
- },
3697
- {
3698
- "kind": "method",
3699
- "name": "clear"
3840
+ "name": "startPolling",
3841
+ "privacy": "private",
3842
+ "return": {
3843
+ "type": {
3844
+ "text": "void"
3845
+ }
3846
+ }
3700
3847
  },
3701
3848
  {
3702
3849
  "kind": "method",
3703
- "name": "toggleSpeechInput"
3850
+ "name": "stopPolling",
3851
+ "privacy": "private",
3852
+ "return": {
3853
+ "type": {
3854
+ "text": "void"
3855
+ }
3856
+ }
3704
3857
  },
3705
3858
  {
3706
3859
  "kind": "method",
3707
- "name": "clearSpeechApplyDebounce",
3708
- "privacy": "private"
3860
+ "name": "onInstall",
3861
+ "return": {
3862
+ "type": {
3863
+ "text": "Promise<void>"
3864
+ }
3865
+ }
3709
3866
  },
3710
3867
  {
3711
3868
  "kind": "field",
@@ -3819,245 +3976,88 @@
3819
3976
  }
3820
3977
  }
3821
3978
  ],
3822
- "events": [
3823
- {
3824
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3825
- "name": "criteria-changed"
3826
- },
3827
- {
3828
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3829
- "name": "validation-errors"
3830
- }
3831
- ],
3832
- "attributes": [
3833
- {
3834
- "name": "placeholder",
3835
- "type": {
3836
- "text": "string"
3837
- },
3838
- "default": "'Describe your search criteria in natural language...'",
3839
- "fieldName": "placeholder"
3840
- },
3841
- {
3842
- "type": {
3843
- "text": "boolean"
3844
- },
3845
- "fieldName": "disabled"
3846
- }
3847
- ],
3848
3979
  "superclass": {
3849
3980
  "name": "FoundationElement",
3850
3981
  "package": "@microsoft/fast-foundation"
3851
3982
  },
3852
- "tagName": "%%prefix%%-ai-criteria-search",
3983
+ "tagName": "%%prefix%%-ai-indicator",
3853
3984
  "customElement": true
3854
3985
  },
3855
3986
  {
3856
3987
  "kind": "variable",
3857
- "name": "foundationAiCriteriaSearchShadowOptions",
3858
- "type": {
3859
- "text": "ShadowRootInit"
3860
- },
3861
- "default": "undefined"
3862
- },
3863
- {
3864
- "kind": "variable",
3865
- "name": "defaultAiCriteriaSearchConfig",
3866
- "type": {
3867
- "text": "object"
3868
- },
3869
- "default": "{}"
3870
- },
3871
- {
3872
- "kind": "variable",
3873
- "name": "foundationAiCriteriaSearch"
3988
+ "name": "foundationAiIndicator"
3874
3989
  }
3875
3990
  ],
3876
3991
  "exports": [
3877
3992
  {
3878
3993
  "kind": "js",
3879
- "name": "AiCriteriaSearch",
3880
- "declaration": {
3881
- "name": "AiCriteriaSearch",
3882
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3883
- }
3884
- },
3885
- {
3886
- "kind": "js",
3887
- "name": "foundationAiCriteriaSearchShadowOptions",
3888
- "declaration": {
3889
- "name": "foundationAiCriteriaSearchShadowOptions",
3890
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3891
- }
3892
- },
3893
- {
3894
- "kind": "js",
3895
- "name": "defaultAiCriteriaSearchConfig",
3994
+ "name": "AiIndicator",
3896
3995
  "declaration": {
3897
- "name": "defaultAiCriteriaSearchConfig",
3898
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3996
+ "name": "AiIndicator",
3997
+ "module": "src/ai-indicator/ai-indicator.ts"
3899
3998
  }
3900
3999
  },
3901
4000
  {
3902
4001
  "kind": "js",
3903
- "name": "foundationAiCriteriaSearch",
4002
+ "name": "foundationAiIndicator",
3904
4003
  "declaration": {
3905
- "name": "foundationAiCriteriaSearch",
3906
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
4004
+ "name": "foundationAiIndicator",
4005
+ "module": "src/ai-indicator/ai-indicator.ts"
3907
4006
  }
3908
4007
  }
3909
4008
  ]
3910
4009
  },
3911
4010
  {
3912
4011
  "kind": "javascript-module",
3913
- "path": "src/ai-criteria-search/index.ts",
4012
+ "path": "src/ai-indicator/index.ts",
3914
4013
  "declarations": [],
3915
4014
  "exports": [
3916
4015
  {
3917
4016
  "kind": "js",
3918
- "name": "AiCriteriaSearch",
3919
- "declaration": {
3920
- "name": "AiCriteriaSearch",
3921
- "module": "./ai-criteria-search"
3922
- }
3923
- },
3924
- {
3925
- "kind": "js",
3926
- "name": "defaultAiCriteriaSearchConfig",
3927
- "declaration": {
3928
- "name": "defaultAiCriteriaSearchConfig",
3929
- "module": "./ai-criteria-search"
3930
- }
3931
- },
3932
- {
3933
- "kind": "js",
3934
- "name": "foundationAiCriteriaSearch",
3935
- "declaration": {
3936
- "name": "foundationAiCriteriaSearch",
3937
- "module": "./ai-criteria-search"
3938
- }
3939
- },
3940
- {
3941
- "kind": "js",
3942
- "name": "foundationAiCriteriaSearchShadowOptions",
3943
- "declaration": {
3944
- "name": "foundationAiCriteriaSearchShadowOptions",
3945
- "module": "./ai-criteria-search"
3946
- }
3947
- },
3948
- {
3949
- "kind": "js",
3950
- "name": "foundationAiCriteriaSearchStyles",
3951
- "declaration": {
3952
- "name": "foundationAiCriteriaSearchStyles",
3953
- "module": "./ai-criteria-search.styles"
3954
- }
3955
- },
3956
- {
3957
- "kind": "js",
3958
- "name": "foundationAiCriteriaSearchTemplate",
4017
+ "name": "AiIndicator",
3959
4018
  "declaration": {
3960
- "name": "foundationAiCriteriaSearchTemplate",
3961
- "module": "./ai-criteria-search.template"
4019
+ "name": "AiIndicator",
4020
+ "module": "./ai-indicator"
3962
4021
  }
3963
4022
  },
3964
4023
  {
3965
4024
  "kind": "js",
3966
- "name": "*",
4025
+ "name": "foundationAiIndicator",
3967
4026
  "declaration": {
3968
- "name": "*",
3969
- "package": "./validation/criteria-ir"
4027
+ "name": "foundationAiIndicator",
4028
+ "module": "./ai-indicator"
3970
4029
  }
3971
4030
  },
3972
4031
  {
3973
4032
  "kind": "js",
3974
- "name": "*",
4033
+ "name": "type",
3975
4034
  "declaration": {
3976
- "name": "*",
3977
- "package": "./validation/operator-map"
4035
+ "name": "type",
4036
+ "module": "./ai-indicator"
3978
4037
  }
3979
4038
  },
3980
4039
  {
3981
4040
  "kind": "js",
3982
- "name": "*",
4041
+ "name": "AIIndicatorState",
3983
4042
  "declaration": {
3984
- "name": "*",
3985
- "package": "./validation/schema-validator"
4043
+ "name": "AIIndicatorState",
4044
+ "module": "./ai-indicator"
3986
4045
  }
3987
- }
3988
- ]
3989
- },
3990
- {
3991
- "kind": "javascript-module",
3992
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3993
- "declarations": [
3994
- {
3995
- "kind": "function",
3996
- "name": "formatValidationErrors",
3997
- "return": {
3998
- "type": {
3999
- "text": "string"
4000
- }
4001
- },
4002
- "parameters": [
4003
- {
4004
- "name": "errors",
4005
- "type": {
4006
- "text": "ValidationError[]"
4007
- }
4008
- }
4009
- ],
4010
- "description": "Formats validation errors into a user-friendly message."
4011
4046
  },
4012
- {
4013
- "kind": "function",
4014
- "name": "showCriteriaError",
4015
- "return": {
4016
- "type": {
4017
- "text": "void"
4018
- }
4019
- },
4020
- "parameters": [
4021
- {
4022
- "name": "title",
4023
- "type": {
4024
- "text": "string"
4025
- },
4026
- "description": "Notification title (e.g. \"Criteria validation error\")"
4027
- },
4028
- {
4029
- "name": "body",
4030
- "type": {
4031
- "text": "string"
4032
- },
4033
- "description": "Error message to display"
4034
- },
4035
- {
4036
- "name": "tagName",
4037
- "type": {
4038
- "text": "string"
4039
- },
4040
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
4041
- }
4042
- ],
4043
- "description": "Shows a criteria error as a toast notification."
4044
- }
4045
- ],
4046
- "exports": [
4047
4047
  {
4048
4048
  "kind": "js",
4049
- "name": "formatValidationErrors",
4049
+ "name": "foundationAiIndicatorTemplate",
4050
4050
  "declaration": {
4051
- "name": "formatValidationErrors",
4052
- "module": "src/ai-criteria-search/validation-error-notification.ts"
4051
+ "name": "foundationAiIndicatorTemplate",
4052
+ "module": "./ai-indicator.template"
4053
4053
  }
4054
4054
  },
4055
4055
  {
4056
4056
  "kind": "js",
4057
- "name": "showCriteriaError",
4057
+ "name": "foundationAiIndicatorStyles",
4058
4058
  "declaration": {
4059
- "name": "showCriteriaError",
4060
- "module": "src/ai-criteria-search/validation-error-notification.ts"
4059
+ "name": "foundationAiIndicatorStyles",
4060
+ "module": "./ai-indicator.styles"
4061
4061
  }
4062
4062
  }
4063
4063
  ]