@genesislcap/foundation-ui 15.8.2 → 15.8.3-PTC-0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1424,11 +1424,11 @@
1424
1424
  },
1425
1425
  {
1426
1426
  "kind": "javascript-module",
1427
- "path": "src/accordion-item/accordion-item.styles.ts",
1427
+ "path": "src/accordion/accordion.styles.ts",
1428
1428
  "declarations": [
1429
1429
  {
1430
1430
  "kind": "function",
1431
- "name": "foundationAccordionItemStyles",
1431
+ "name": "foundationAccordionStyles",
1432
1432
  "return": {
1433
1433
  "type": {
1434
1434
  "text": "ElementStyles"
@@ -1453,24 +1453,24 @@
1453
1453
  "exports": [
1454
1454
  {
1455
1455
  "kind": "js",
1456
- "name": "foundationAccordionItemStyles",
1456
+ "name": "foundationAccordionStyles",
1457
1457
  "declaration": {
1458
- "name": "foundationAccordionItemStyles",
1459
- "module": "src/accordion-item/accordion-item.styles.ts"
1458
+ "name": "foundationAccordionStyles",
1459
+ "module": "src/accordion/accordion.styles.ts"
1460
1460
  }
1461
1461
  }
1462
1462
  ]
1463
1463
  },
1464
1464
  {
1465
1465
  "kind": "javascript-module",
1466
- "path": "src/accordion-item/accordion-item.template.ts",
1466
+ "path": "src/accordion/accordion.template.ts",
1467
1467
  "declarations": [
1468
1468
  {
1469
1469
  "kind": "function",
1470
- "name": "foundationAccordionItemTemplate",
1470
+ "name": "foundationAccordionTemplate",
1471
1471
  "return": {
1472
1472
  "type": {
1473
- "text": "ViewTemplate<AccordionItem>"
1473
+ "text": "ViewTemplate<Accordion>"
1474
1474
  }
1475
1475
  },
1476
1476
  "parameters": [
@@ -1492,116 +1492,237 @@
1492
1492
  "exports": [
1493
1493
  {
1494
1494
  "kind": "js",
1495
- "name": "foundationAccordionItemTemplate",
1495
+ "name": "foundationAccordionTemplate",
1496
1496
  "declaration": {
1497
- "name": "foundationAccordionItemTemplate",
1498
- "module": "src/accordion-item/accordion-item.template.ts"
1497
+ "name": "foundationAccordionTemplate",
1498
+ "module": "src/accordion/accordion.template.ts"
1499
1499
  }
1500
1500
  }
1501
1501
  ]
1502
1502
  },
1503
1503
  {
1504
1504
  "kind": "javascript-module",
1505
- "path": "src/accordion-item/accordion-item.ts",
1505
+ "path": "src/accordion/accordion.ts",
1506
1506
  "declarations": [
1507
1507
  {
1508
1508
  "kind": "class",
1509
1509
  "description": "",
1510
- "name": "AccordionItem",
1510
+ "name": "Accordion",
1511
1511
  "superclass": {
1512
- "name": "FASTAccordionItem",
1513
- "package": "@microsoft/fast-components"
1512
+ "name": "FASTAccordion",
1513
+ "package": "@microsoft/fast-foundation"
1514
1514
  },
1515
- "tagName": "%%prefix%%-accordion-item",
1515
+ "tagName": "%%prefix%%-accordion",
1516
1516
  "customElement": true,
1517
1517
  "attributes": [
1518
1518
  {
1519
- "name": "heading-level",
1519
+ "name": "expand-mode",
1520
1520
  "type": {
1521
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1521
+ "text": "AccordionExpandMode"
1522
1522
  },
1523
- "default": "2",
1524
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1525
- "fieldName": "headinglevel",
1523
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1524
+ "fieldName": "expandmode",
1526
1525
  "inheritedFrom": {
1527
- "name": "AccordionItem",
1528
- "module": "src/accordion-item/accordion-item.ts"
1526
+ "name": "Accordion",
1527
+ "module": "src/accordion/accordion.ts"
1529
1528
  }
1530
- },
1529
+ }
1530
+ ],
1531
+ "members": [
1531
1532
  {
1533
+ "kind": "field",
1534
+ "name": "expandmode",
1532
1535
  "type": {
1533
- "text": "boolean"
1536
+ "text": "AccordionExpandMode"
1534
1537
  },
1535
- "default": "false",
1536
- "description": "Expands or collapses the item.",
1537
- "fieldName": "expanded",
1538
+ "privacy": "public",
1539
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1538
1540
  "inheritedFrom": {
1539
- "name": "AccordionItem",
1540
- "module": "src/accordion-item/accordion-item.ts"
1541
+ "name": "Accordion",
1542
+ "module": "src/accordion/accordion.ts"
1541
1543
  }
1542
1544
  },
1543
1545
  {
1544
- "name": "id",
1546
+ "kind": "field",
1547
+ "name": "activeid",
1545
1548
  "type": {
1546
- "text": "string"
1549
+ "text": "string | null"
1547
1550
  },
1548
- "description": "The item ID",
1549
- "fieldName": "id",
1551
+ "privacy": "private",
1550
1552
  "inheritedFrom": {
1551
- "name": "AccordionItem",
1552
- "module": "src/accordion-item/accordion-item.ts"
1553
+ "name": "Accordion",
1554
+ "module": "src/accordion/accordion.ts"
1553
1555
  }
1554
- }
1555
- ],
1556
- "members": [
1556
+ },
1557
1557
  {
1558
1558
  "kind": "field",
1559
- "name": "headinglevel",
1559
+ "name": "activeItemIndex",
1560
1560
  "type": {
1561
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1561
+ "text": "number"
1562
1562
  },
1563
- "privacy": "public",
1564
- "default": "2",
1565
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1563
+ "privacy": "private",
1564
+ "default": "0",
1566
1565
  "inheritedFrom": {
1567
- "name": "AccordionItem",
1568
- "module": "src/accordion-item/accordion-item.ts"
1566
+ "name": "Accordion",
1567
+ "module": "src/accordion/accordion.ts"
1569
1568
  }
1570
1569
  },
1571
1570
  {
1572
1571
  "kind": "field",
1573
- "name": "expanded",
1572
+ "name": "accordionIds",
1574
1573
  "type": {
1575
- "text": "boolean"
1574
+ "text": "Array<string | null>"
1576
1575
  },
1577
- "privacy": "public",
1578
- "default": "false",
1579
- "description": "Expands or collapses the item.",
1576
+ "privacy": "private",
1580
1577
  "inheritedFrom": {
1581
- "name": "AccordionItem",
1582
- "module": "src/accordion-item/accordion-item.ts"
1578
+ "name": "Accordion",
1579
+ "module": "src/accordion/accordion.ts"
1583
1580
  }
1584
1581
  },
1585
1582
  {
1586
1583
  "kind": "field",
1587
- "name": "id",
1588
- "type": {
1589
- "text": "string"
1584
+ "name": "change",
1585
+ "privacy": "private",
1586
+ "inheritedFrom": {
1587
+ "name": "Accordion",
1588
+ "module": "src/accordion/accordion.ts"
1589
+ }
1590
+ },
1591
+ {
1592
+ "kind": "method",
1593
+ "name": "findExpandedItem",
1594
+ "privacy": "private",
1595
+ "return": {
1596
+ "type": {
1597
+ "text": "AccordionItem | null"
1598
+ }
1590
1599
  },
1591
- "privacy": "public",
1592
- "description": "The item ID",
1593
1600
  "inheritedFrom": {
1594
- "name": "AccordionItem",
1595
- "module": "src/accordion-item/accordion-item.ts"
1601
+ "name": "Accordion",
1602
+ "module": "src/accordion/accordion.ts"
1596
1603
  }
1597
1604
  },
1598
1605
  {
1599
1606
  "kind": "field",
1600
- "name": "change",
1607
+ "name": "setItems",
1601
1608
  "privacy": "private",
1602
1609
  "inheritedFrom": {
1603
- "name": "AccordionItem",
1604
- "module": "src/accordion-item/accordion-item.ts"
1610
+ "name": "Accordion",
1611
+ "module": "src/accordion/accordion.ts"
1612
+ }
1613
+ },
1614
+ {
1615
+ "kind": "method",
1616
+ "name": "resetItems",
1617
+ "privacy": "private",
1618
+ "return": {
1619
+ "type": {
1620
+ "text": "void"
1621
+ }
1622
+ },
1623
+ "inheritedFrom": {
1624
+ "name": "Accordion",
1625
+ "module": "src/accordion/accordion.ts"
1626
+ }
1627
+ },
1628
+ {
1629
+ "kind": "field",
1630
+ "name": "removeItemListeners",
1631
+ "privacy": "private",
1632
+ "inheritedFrom": {
1633
+ "name": "Accordion",
1634
+ "module": "src/accordion/accordion.ts"
1635
+ }
1636
+ },
1637
+ {
1638
+ "kind": "field",
1639
+ "name": "activeItemChange",
1640
+ "privacy": "private",
1641
+ "inheritedFrom": {
1642
+ "name": "Accordion",
1643
+ "module": "src/accordion/accordion.ts"
1644
+ }
1645
+ },
1646
+ {
1647
+ "kind": "method",
1648
+ "name": "getItemIds",
1649
+ "privacy": "private",
1650
+ "return": {
1651
+ "type": {
1652
+ "text": "Array<string | null>"
1653
+ }
1654
+ },
1655
+ "inheritedFrom": {
1656
+ "name": "Accordion",
1657
+ "module": "src/accordion/accordion.ts"
1658
+ }
1659
+ },
1660
+ {
1661
+ "kind": "method",
1662
+ "name": "isSingleExpandMode",
1663
+ "privacy": "private",
1664
+ "return": {
1665
+ "type": {
1666
+ "text": "boolean"
1667
+ }
1668
+ },
1669
+ "inheritedFrom": {
1670
+ "name": "Accordion",
1671
+ "module": "src/accordion/accordion.ts"
1672
+ }
1673
+ },
1674
+ {
1675
+ "kind": "field",
1676
+ "name": "handleItemKeyDown",
1677
+ "privacy": "private",
1678
+ "inheritedFrom": {
1679
+ "name": "Accordion",
1680
+ "module": "src/accordion/accordion.ts"
1681
+ }
1682
+ },
1683
+ {
1684
+ "kind": "field",
1685
+ "name": "handleItemFocus",
1686
+ "privacy": "private",
1687
+ "inheritedFrom": {
1688
+ "name": "Accordion",
1689
+ "module": "src/accordion/accordion.ts"
1690
+ }
1691
+ },
1692
+ {
1693
+ "kind": "method",
1694
+ "name": "adjust",
1695
+ "privacy": "private",
1696
+ "return": {
1697
+ "type": {
1698
+ "text": "void"
1699
+ }
1700
+ },
1701
+ "parameters": [
1702
+ {
1703
+ "name": "adjustment",
1704
+ "type": {
1705
+ "text": "number"
1706
+ }
1707
+ }
1708
+ ],
1709
+ "inheritedFrom": {
1710
+ "name": "Accordion",
1711
+ "module": "src/accordion/accordion.ts"
1712
+ }
1713
+ },
1714
+ {
1715
+ "kind": "method",
1716
+ "name": "focusItem",
1717
+ "privacy": "private",
1718
+ "return": {
1719
+ "type": {
1720
+ "text": "void"
1721
+ }
1722
+ },
1723
+ "inheritedFrom": {
1724
+ "name": "Accordion",
1725
+ "module": "src/accordion/accordion.ts"
1605
1726
  }
1606
1727
  },
1607
1728
  {
@@ -1718,18 +1839,18 @@
1718
1839
  ],
1719
1840
  "events": [
1720
1841
  {
1721
- "description": "Fires a custom 'change' event when the button is invoked",
1842
+ "description": "Fires a custom 'change' event when the active item changes",
1722
1843
  "name": "change",
1723
1844
  "inheritedFrom": {
1724
- "name": "AccordionItem",
1725
- "module": "src/accordion-item/accordion-item.ts"
1845
+ "name": "Accordion",
1846
+ "module": "src/accordion/accordion.ts"
1726
1847
  }
1727
1848
  }
1728
1849
  ]
1729
1850
  },
1730
1851
  {
1731
1852
  "kind": "variable",
1732
- "name": "foundationAccordionItemShadowOptions",
1853
+ "name": "foundationAccordionShadowOptions",
1733
1854
  "type": {
1734
1855
  "text": "ShadowRootInit"
1735
1856
  },
@@ -1737,57 +1858,57 @@
1737
1858
  },
1738
1859
  {
1739
1860
  "kind": "variable",
1740
- "name": "defaultAccordionItemConfig",
1861
+ "name": "defaultAccordionConfig",
1741
1862
  "type": {
1742
1863
  "text": "object"
1743
1864
  },
1744
- "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}"
1865
+ "default": "{}"
1745
1866
  },
1746
1867
  {
1747
1868
  "kind": "variable",
1748
- "name": "foundationAccordionItem",
1749
- "description": "The Foundation Accordion Item",
1869
+ "name": "foundationAccordion",
1870
+ "description": "The Foundation Accordion",
1750
1871
  "privacy": "public"
1751
1872
  }
1752
1873
  ],
1753
1874
  "exports": [
1754
1875
  {
1755
1876
  "kind": "js",
1756
- "name": "AccordionItem",
1877
+ "name": "Accordion",
1757
1878
  "declaration": {
1758
- "name": "AccordionItem",
1759
- "module": "src/accordion-item/accordion-item.ts"
1879
+ "name": "Accordion",
1880
+ "module": "src/accordion/accordion.ts"
1760
1881
  }
1761
1882
  },
1762
1883
  {
1763
1884
  "kind": "js",
1764
- "name": "foundationAccordionItemShadowOptions",
1885
+ "name": "foundationAccordionShadowOptions",
1765
1886
  "declaration": {
1766
- "name": "foundationAccordionItemShadowOptions",
1767
- "module": "src/accordion-item/accordion-item.ts"
1887
+ "name": "foundationAccordionShadowOptions",
1888
+ "module": "src/accordion/accordion.ts"
1768
1889
  }
1769
1890
  },
1770
1891
  {
1771
1892
  "kind": "js",
1772
- "name": "defaultAccordionItemConfig",
1893
+ "name": "defaultAccordionConfig",
1773
1894
  "declaration": {
1774
- "name": "defaultAccordionItemConfig",
1775
- "module": "src/accordion-item/accordion-item.ts"
1895
+ "name": "defaultAccordionConfig",
1896
+ "module": "src/accordion/accordion.ts"
1776
1897
  }
1777
1898
  },
1778
1899
  {
1779
1900
  "kind": "js",
1780
- "name": "foundationAccordionItem",
1901
+ "name": "foundationAccordion",
1781
1902
  "declaration": {
1782
- "name": "foundationAccordionItem",
1783
- "module": "src/accordion-item/accordion-item.ts"
1903
+ "name": "foundationAccordion",
1904
+ "module": "src/accordion/accordion.ts"
1784
1905
  }
1785
1906
  }
1786
1907
  ]
1787
1908
  },
1788
1909
  {
1789
1910
  "kind": "javascript-module",
1790
- "path": "src/accordion-item/index.ts",
1911
+ "path": "src/accordion/index.ts",
1791
1912
  "declarations": [],
1792
1913
  "exports": [
1793
1914
  {
@@ -1795,7 +1916,7 @@
1795
1916
  "name": "*",
1796
1917
  "declaration": {
1797
1918
  "name": "*",
1798
- "package": "./accordion-item.template"
1919
+ "package": "./accordion.template"
1799
1920
  }
1800
1921
  },
1801
1922
  {
@@ -1803,7 +1924,7 @@
1803
1924
  "name": "*",
1804
1925
  "declaration": {
1805
1926
  "name": "*",
1806
- "package": "./accordion-item.styles"
1927
+ "package": "./accordion.styles"
1807
1928
  }
1808
1929
  },
1809
1930
  {
@@ -1811,7 +1932,7 @@
1811
1932
  "name": "*",
1812
1933
  "declaration": {
1813
1934
  "name": "*",
1814
- "package": "./accordion-item"
1935
+ "package": "./accordion"
1815
1936
  }
1816
1937
  }
1817
1938
  ]
@@ -1849,11 +1970,11 @@
1849
1970
  },
1850
1971
  {
1851
1972
  "kind": "javascript-module",
1852
- "path": "src/accordion/accordion.styles.ts",
1973
+ "path": "src/accordion-item/accordion-item.styles.ts",
1853
1974
  "declarations": [
1854
1975
  {
1855
1976
  "kind": "function",
1856
- "name": "foundationAccordionStyles",
1977
+ "name": "foundationAccordionItemStyles",
1857
1978
  "return": {
1858
1979
  "type": {
1859
1980
  "text": "ElementStyles"
@@ -1878,24 +1999,24 @@
1878
1999
  "exports": [
1879
2000
  {
1880
2001
  "kind": "js",
1881
- "name": "foundationAccordionStyles",
2002
+ "name": "foundationAccordionItemStyles",
1882
2003
  "declaration": {
1883
- "name": "foundationAccordionStyles",
1884
- "module": "src/accordion/accordion.styles.ts"
2004
+ "name": "foundationAccordionItemStyles",
2005
+ "module": "src/accordion-item/accordion-item.styles.ts"
1885
2006
  }
1886
2007
  }
1887
2008
  ]
1888
2009
  },
1889
2010
  {
1890
2011
  "kind": "javascript-module",
1891
- "path": "src/accordion/accordion.template.ts",
2012
+ "path": "src/accordion-item/accordion-item.template.ts",
1892
2013
  "declarations": [
1893
2014
  {
1894
2015
  "kind": "function",
1895
- "name": "foundationAccordionTemplate",
2016
+ "name": "foundationAccordionItemTemplate",
1896
2017
  "return": {
1897
2018
  "type": {
1898
- "text": "ViewTemplate<Accordion>"
2019
+ "text": "ViewTemplate<AccordionItem>"
1899
2020
  }
1900
2021
  },
1901
2022
  "parameters": [
@@ -1917,345 +2038,224 @@
1917
2038
  "exports": [
1918
2039
  {
1919
2040
  "kind": "js",
1920
- "name": "foundationAccordionTemplate",
2041
+ "name": "foundationAccordionItemTemplate",
1921
2042
  "declaration": {
1922
- "name": "foundationAccordionTemplate",
1923
- "module": "src/accordion/accordion.template.ts"
2043
+ "name": "foundationAccordionItemTemplate",
2044
+ "module": "src/accordion-item/accordion-item.template.ts"
1924
2045
  }
1925
2046
  }
1926
2047
  ]
1927
2048
  },
1928
2049
  {
1929
2050
  "kind": "javascript-module",
1930
- "path": "src/accordion/accordion.ts",
2051
+ "path": "src/accordion-item/accordion-item.ts",
1931
2052
  "declarations": [
1932
2053
  {
1933
2054
  "kind": "class",
1934
2055
  "description": "",
1935
- "name": "Accordion",
2056
+ "name": "AccordionItem",
1936
2057
  "superclass": {
1937
- "name": "FASTAccordion",
1938
- "package": "@microsoft/fast-foundation"
2058
+ "name": "FASTAccordionItem",
2059
+ "package": "@microsoft/fast-components"
1939
2060
  },
1940
- "tagName": "%%prefix%%-accordion",
2061
+ "tagName": "%%prefix%%-accordion-item",
1941
2062
  "customElement": true,
1942
2063
  "attributes": [
1943
2064
  {
1944
- "name": "expand-mode",
2065
+ "name": "heading-level",
1945
2066
  "type": {
1946
- "text": "AccordionExpandMode"
2067
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1947
2068
  },
1948
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1949
- "fieldName": "expandmode",
2069
+ "default": "2",
2070
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2071
+ "fieldName": "headinglevel",
1950
2072
  "inheritedFrom": {
1951
- "name": "Accordion",
1952
- "module": "src/accordion/accordion.ts"
2073
+ "name": "AccordionItem",
2074
+ "module": "src/accordion-item/accordion-item.ts"
2075
+ }
2076
+ },
2077
+ {
2078
+ "type": {
2079
+ "text": "boolean"
2080
+ },
2081
+ "default": "false",
2082
+ "description": "Expands or collapses the item.",
2083
+ "fieldName": "expanded",
2084
+ "inheritedFrom": {
2085
+ "name": "AccordionItem",
2086
+ "module": "src/accordion-item/accordion-item.ts"
2087
+ }
2088
+ },
2089
+ {
2090
+ "name": "id",
2091
+ "type": {
2092
+ "text": "string"
2093
+ },
2094
+ "description": "The item ID",
2095
+ "fieldName": "id",
2096
+ "inheritedFrom": {
2097
+ "name": "AccordionItem",
2098
+ "module": "src/accordion-item/accordion-item.ts"
1953
2099
  }
1954
2100
  }
1955
2101
  ],
1956
2102
  "members": [
1957
2103
  {
1958
2104
  "kind": "field",
1959
- "name": "expandmode",
2105
+ "name": "headinglevel",
1960
2106
  "type": {
1961
- "text": "AccordionExpandMode"
2107
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1962
2108
  },
1963
2109
  "privacy": "public",
1964
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2110
+ "default": "2",
2111
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1965
2112
  "inheritedFrom": {
1966
- "name": "Accordion",
1967
- "module": "src/accordion/accordion.ts"
2113
+ "name": "AccordionItem",
2114
+ "module": "src/accordion-item/accordion-item.ts"
1968
2115
  }
1969
2116
  },
1970
2117
  {
1971
2118
  "kind": "field",
1972
- "name": "activeid",
2119
+ "name": "expanded",
1973
2120
  "type": {
1974
- "text": "string | null"
2121
+ "text": "boolean"
1975
2122
  },
1976
- "privacy": "private",
2123
+ "privacy": "public",
2124
+ "default": "false",
2125
+ "description": "Expands or collapses the item.",
1977
2126
  "inheritedFrom": {
1978
- "name": "Accordion",
1979
- "module": "src/accordion/accordion.ts"
2127
+ "name": "AccordionItem",
2128
+ "module": "src/accordion-item/accordion-item.ts"
1980
2129
  }
1981
2130
  },
1982
2131
  {
1983
2132
  "kind": "field",
1984
- "name": "activeItemIndex",
2133
+ "name": "id",
1985
2134
  "type": {
1986
- "text": "number"
2135
+ "text": "string"
1987
2136
  },
1988
- "privacy": "private",
1989
- "default": "0",
2137
+ "privacy": "public",
2138
+ "description": "The item ID",
1990
2139
  "inheritedFrom": {
1991
- "name": "Accordion",
1992
- "module": "src/accordion/accordion.ts"
2140
+ "name": "AccordionItem",
2141
+ "module": "src/accordion-item/accordion-item.ts"
1993
2142
  }
1994
2143
  },
1995
2144
  {
1996
2145
  "kind": "field",
1997
- "name": "accordionIds",
1998
- "type": {
1999
- "text": "Array<string | null>"
2000
- },
2146
+ "name": "change",
2001
2147
  "privacy": "private",
2002
2148
  "inheritedFrom": {
2003
- "name": "Accordion",
2004
- "module": "src/accordion/accordion.ts"
2149
+ "name": "AccordionItem",
2150
+ "module": "src/accordion-item/accordion-item.ts"
2005
2151
  }
2006
2152
  },
2007
2153
  {
2008
2154
  "kind": "field",
2009
- "name": "change",
2155
+ "name": "_presentation",
2156
+ "type": {
2157
+ "text": "ComponentPresentation | null | undefined"
2158
+ },
2010
2159
  "privacy": "private",
2160
+ "default": "void 0",
2011
2161
  "inheritedFrom": {
2012
- "name": "Accordion",
2013
- "module": "src/accordion/accordion.ts"
2162
+ "name": "FoundationElement",
2163
+ "module": "src/foundation-element/foundation-element.ts"
2014
2164
  }
2015
2165
  },
2016
2166
  {
2017
- "kind": "method",
2018
- "name": "findExpandedItem",
2019
- "privacy": "private",
2020
- "return": {
2021
- "type": {
2022
- "text": "AccordionItem | null"
2023
- }
2167
+ "kind": "field",
2168
+ "name": "$presentation",
2169
+ "type": {
2170
+ "text": "ComponentPresentation | null"
2024
2171
  },
2172
+ "privacy": "public",
2173
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2025
2174
  "inheritedFrom": {
2026
- "name": "Accordion",
2027
- "module": "src/accordion/accordion.ts"
2175
+ "name": "FoundationElement",
2176
+ "module": "src/foundation-element/foundation-element.ts"
2028
2177
  }
2029
2178
  },
2030
2179
  {
2031
2180
  "kind": "field",
2032
- "name": "setItems",
2033
- "privacy": "private",
2181
+ "name": "template",
2182
+ "type": {
2183
+ "text": "ElementViewTemplate | void | null"
2184
+ },
2185
+ "privacy": "public",
2186
+ "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.",
2034
2187
  "inheritedFrom": {
2035
- "name": "Accordion",
2036
- "module": "src/accordion/accordion.ts"
2188
+ "name": "FoundationElement",
2189
+ "module": "src/foundation-element/foundation-element.ts"
2037
2190
  }
2038
2191
  },
2039
2192
  {
2040
2193
  "kind": "method",
2041
- "name": "resetItems",
2042
- "privacy": "private",
2194
+ "name": "templateChanged",
2195
+ "privacy": "protected",
2043
2196
  "return": {
2044
2197
  "type": {
2045
2198
  "text": "void"
2046
2199
  }
2047
2200
  },
2048
2201
  "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2051
- }
2052
- },
2053
- {
2054
- "kind": "field",
2055
- "name": "removeItemListeners",
2056
- "privacy": "private",
2057
- "inheritedFrom": {
2058
- "name": "Accordion",
2059
- "module": "src/accordion/accordion.ts"
2202
+ "name": "FoundationElement",
2203
+ "module": "src/foundation-element/foundation-element.ts"
2060
2204
  }
2061
2205
  },
2062
2206
  {
2063
2207
  "kind": "field",
2064
- "name": "activeItemChange",
2065
- "privacy": "private",
2208
+ "name": "styles",
2209
+ "type": {
2210
+ "text": "ElementStyles | void | null"
2211
+ },
2212
+ "privacy": "public",
2213
+ "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.",
2066
2214
  "inheritedFrom": {
2067
- "name": "Accordion",
2068
- "module": "src/accordion/accordion.ts"
2215
+ "name": "FoundationElement",
2216
+ "module": "src/foundation-element/foundation-element.ts"
2069
2217
  }
2070
2218
  },
2071
2219
  {
2072
2220
  "kind": "method",
2073
- "name": "getItemIds",
2074
- "privacy": "private",
2221
+ "name": "stylesChanged",
2222
+ "privacy": "protected",
2075
2223
  "return": {
2076
2224
  "type": {
2077
- "text": "Array<string | null>"
2225
+ "text": "void"
2078
2226
  }
2079
2227
  },
2080
2228
  "inheritedFrom": {
2081
- "name": "Accordion",
2082
- "module": "src/accordion/accordion.ts"
2229
+ "name": "FoundationElement",
2230
+ "module": "src/foundation-element/foundation-element.ts"
2083
2231
  }
2084
2232
  },
2085
2233
  {
2086
2234
  "kind": "method",
2087
- "name": "isSingleExpandMode",
2088
- "privacy": "private",
2235
+ "name": "compose",
2236
+ "privacy": "public",
2237
+ "static": true,
2089
2238
  "return": {
2090
2239
  "type": {
2091
- "text": "boolean"
2240
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2092
2241
  }
2093
2242
  },
2094
- "inheritedFrom": {
2095
- "name": "Accordion",
2096
- "module": "src/accordion/accordion.ts"
2097
- }
2098
- },
2099
- {
2100
- "kind": "field",
2101
- "name": "handleItemKeyDown",
2102
- "privacy": "private",
2103
- "inheritedFrom": {
2104
- "name": "Accordion",
2105
- "module": "src/accordion/accordion.ts"
2106
- }
2107
- },
2108
- {
2109
- "kind": "field",
2110
- "name": "handleItemFocus",
2111
- "privacy": "private",
2112
- "inheritedFrom": {
2113
- "name": "Accordion",
2114
- "module": "src/accordion/accordion.ts"
2115
- }
2116
- },
2117
- {
2118
- "kind": "method",
2119
- "name": "adjust",
2120
- "privacy": "private",
2121
- "return": {
2122
- "type": {
2123
- "text": "void"
2124
- }
2125
- },
2126
- "parameters": [
2127
- {
2128
- "name": "adjustment",
2129
- "type": {
2130
- "text": "number"
2131
- }
2132
- }
2133
- ],
2134
- "inheritedFrom": {
2135
- "name": "Accordion",
2136
- "module": "src/accordion/accordion.ts"
2137
- }
2138
- },
2139
- {
2140
- "kind": "method",
2141
- "name": "focusItem",
2142
- "privacy": "private",
2143
- "return": {
2144
- "type": {
2145
- "text": "void"
2146
- }
2147
- },
2148
- "inheritedFrom": {
2149
- "name": "Accordion",
2150
- "module": "src/accordion/accordion.ts"
2151
- }
2152
- },
2153
- {
2154
- "kind": "field",
2155
- "name": "_presentation",
2156
- "type": {
2157
- "text": "ComponentPresentation | null | undefined"
2158
- },
2159
- "privacy": "private",
2160
- "default": "void 0",
2161
- "inheritedFrom": {
2162
- "name": "FoundationElement",
2163
- "module": "src/foundation-element/foundation-element.ts"
2164
- }
2165
- },
2166
- {
2167
- "kind": "field",
2168
- "name": "$presentation",
2169
- "type": {
2170
- "text": "ComponentPresentation | null"
2171
- },
2172
- "privacy": "public",
2173
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2174
- "inheritedFrom": {
2175
- "name": "FoundationElement",
2176
- "module": "src/foundation-element/foundation-element.ts"
2177
- }
2178
- },
2179
- {
2180
- "kind": "field",
2181
- "name": "template",
2182
- "type": {
2183
- "text": "ElementViewTemplate | void | null"
2184
- },
2185
- "privacy": "public",
2186
- "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.",
2187
- "inheritedFrom": {
2188
- "name": "FoundationElement",
2189
- "module": "src/foundation-element/foundation-element.ts"
2190
- }
2191
- },
2192
- {
2193
- "kind": "method",
2194
- "name": "templateChanged",
2195
- "privacy": "protected",
2196
- "return": {
2197
- "type": {
2198
- "text": "void"
2199
- }
2200
- },
2201
- "inheritedFrom": {
2202
- "name": "FoundationElement",
2203
- "module": "src/foundation-element/foundation-element.ts"
2204
- }
2205
- },
2206
- {
2207
- "kind": "field",
2208
- "name": "styles",
2209
- "type": {
2210
- "text": "ElementStyles | void | null"
2211
- },
2212
- "privacy": "public",
2213
- "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.",
2214
- "inheritedFrom": {
2215
- "name": "FoundationElement",
2216
- "module": "src/foundation-element/foundation-element.ts"
2217
- }
2218
- },
2219
- {
2220
- "kind": "method",
2221
- "name": "stylesChanged",
2222
- "privacy": "protected",
2223
- "return": {
2224
- "type": {
2225
- "text": "void"
2226
- }
2227
- },
2228
- "inheritedFrom": {
2229
- "name": "FoundationElement",
2230
- "module": "src/foundation-element/foundation-element.ts"
2231
- }
2232
- },
2233
- {
2234
- "kind": "method",
2235
- "name": "compose",
2236
- "privacy": "public",
2237
- "static": true,
2238
- "return": {
2239
- "type": {
2240
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2241
- }
2242
- },
2243
- "parameters": [
2244
- {
2245
- "name": "this",
2246
- "type": {
2247
- "text": "K"
2248
- }
2249
- },
2250
- {
2251
- "name": "elementDefinition",
2252
- "type": {
2253
- "text": "T"
2254
- },
2255
- "description": "The definition of the element to create the registry\nfunction for."
2256
- }
2257
- ],
2258
- "description": "Defines an element registry function with a set of element definition defaults.",
2243
+ "parameters": [
2244
+ {
2245
+ "name": "this",
2246
+ "type": {
2247
+ "text": "K"
2248
+ }
2249
+ },
2250
+ {
2251
+ "name": "elementDefinition",
2252
+ "type": {
2253
+ "text": "T"
2254
+ },
2255
+ "description": "The definition of the element to create the registry\nfunction for."
2256
+ }
2257
+ ],
2258
+ "description": "Defines an element registry function with a set of element definition defaults.",
2259
2259
  "inheritedFrom": {
2260
2260
  "name": "FoundationElement",
2261
2261
  "module": "src/foundation-element/foundation-element.ts"
@@ -2264,18 +2264,18 @@
2264
2264
  ],
2265
2265
  "events": [
2266
2266
  {
2267
- "description": "Fires a custom 'change' event when the active item changes",
2267
+ "description": "Fires a custom 'change' event when the button is invoked",
2268
2268
  "name": "change",
2269
2269
  "inheritedFrom": {
2270
- "name": "Accordion",
2271
- "module": "src/accordion/accordion.ts"
2270
+ "name": "AccordionItem",
2271
+ "module": "src/accordion-item/accordion-item.ts"
2272
2272
  }
2273
2273
  }
2274
2274
  ]
2275
2275
  },
2276
2276
  {
2277
2277
  "kind": "variable",
2278
- "name": "foundationAccordionShadowOptions",
2278
+ "name": "foundationAccordionItemShadowOptions",
2279
2279
  "type": {
2280
2280
  "text": "ShadowRootInit"
2281
2281
  },
@@ -2283,57 +2283,57 @@
2283
2283
  },
2284
2284
  {
2285
2285
  "kind": "variable",
2286
- "name": "defaultAccordionConfig",
2286
+ "name": "defaultAccordionItemConfig",
2287
2287
  "type": {
2288
2288
  "text": "object"
2289
2289
  },
2290
- "default": "{}"
2290
+ "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}"
2291
2291
  },
2292
2292
  {
2293
2293
  "kind": "variable",
2294
- "name": "foundationAccordion",
2295
- "description": "The Foundation Accordion",
2294
+ "name": "foundationAccordionItem",
2295
+ "description": "The Foundation Accordion Item",
2296
2296
  "privacy": "public"
2297
2297
  }
2298
2298
  ],
2299
2299
  "exports": [
2300
2300
  {
2301
2301
  "kind": "js",
2302
- "name": "Accordion",
2302
+ "name": "AccordionItem",
2303
2303
  "declaration": {
2304
- "name": "Accordion",
2305
- "module": "src/accordion/accordion.ts"
2304
+ "name": "AccordionItem",
2305
+ "module": "src/accordion-item/accordion-item.ts"
2306
2306
  }
2307
2307
  },
2308
2308
  {
2309
2309
  "kind": "js",
2310
- "name": "foundationAccordionShadowOptions",
2310
+ "name": "foundationAccordionItemShadowOptions",
2311
2311
  "declaration": {
2312
- "name": "foundationAccordionShadowOptions",
2313
- "module": "src/accordion/accordion.ts"
2312
+ "name": "foundationAccordionItemShadowOptions",
2313
+ "module": "src/accordion-item/accordion-item.ts"
2314
2314
  }
2315
2315
  },
2316
2316
  {
2317
2317
  "kind": "js",
2318
- "name": "defaultAccordionConfig",
2318
+ "name": "defaultAccordionItemConfig",
2319
2319
  "declaration": {
2320
- "name": "defaultAccordionConfig",
2321
- "module": "src/accordion/accordion.ts"
2320
+ "name": "defaultAccordionItemConfig",
2321
+ "module": "src/accordion-item/accordion-item.ts"
2322
2322
  }
2323
2323
  },
2324
2324
  {
2325
2325
  "kind": "js",
2326
- "name": "foundationAccordion",
2326
+ "name": "foundationAccordionItem",
2327
2327
  "declaration": {
2328
- "name": "foundationAccordion",
2329
- "module": "src/accordion/accordion.ts"
2328
+ "name": "foundationAccordionItem",
2329
+ "module": "src/accordion-item/accordion-item.ts"
2330
2330
  }
2331
2331
  }
2332
2332
  ]
2333
2333
  },
2334
2334
  {
2335
2335
  "kind": "javascript-module",
2336
- "path": "src/accordion/index.ts",
2336
+ "path": "src/accordion-item/index.ts",
2337
2337
  "declarations": [],
2338
2338
  "exports": [
2339
2339
  {
@@ -2341,7 +2341,7 @@
2341
2341
  "name": "*",
2342
2342
  "declaration": {
2343
2343
  "name": "*",
2344
- "package": "./accordion.template"
2344
+ "package": "./accordion-item.template"
2345
2345
  }
2346
2346
  },
2347
2347
  {
@@ -2349,7 +2349,7 @@
2349
2349
  "name": "*",
2350
2350
  "declaration": {
2351
2351
  "name": "*",
2352
- "package": "./accordion.styles"
2352
+ "package": "./accordion-item.styles"
2353
2353
  }
2354
2354
  },
2355
2355
  {
@@ -2357,7 +2357,7 @@
2357
2357
  "name": "*",
2358
2358
  "declaration": {
2359
2359
  "name": "*",
2360
- "package": "./accordion"
2360
+ "package": "./accordion-item"
2361
2361
  }
2362
2362
  }
2363
2363
  ]
@@ -2935,57 +2935,75 @@
2935
2935
  },
2936
2936
  {
2937
2937
  "kind": "javascript-module",
2938
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2938
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2939
2939
  "declarations": [
2940
2940
  {
2941
- "kind": "variable",
2942
- "name": "foundationAiCriteriaSearchStyles",
2943
- "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`"
2941
+ "kind": "function",
2942
+ "name": "foundationAiIndicatorStyles",
2943
+ "return": {
2944
+ "type": {
2945
+ "text": "ElementStyles"
2946
+ }
2947
+ },
2948
+ "parameters": [
2949
+ {
2950
+ "name": "context",
2951
+ "type": {
2952
+ "text": "ElementDefinitionContext"
2953
+ }
2954
+ },
2955
+ {
2956
+ "name": "definition",
2957
+ "type": {
2958
+ "text": "FoundationElementDefinition"
2959
+ }
2960
+ }
2961
+ ]
2944
2962
  }
2945
2963
  ],
2946
2964
  "exports": [
2947
2965
  {
2948
2966
  "kind": "js",
2949
- "name": "foundationAiCriteriaSearchStyles",
2967
+ "name": "foundationAiIndicatorStyles",
2950
2968
  "declaration": {
2951
- "name": "foundationAiCriteriaSearchStyles",
2952
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2969
+ "name": "foundationAiIndicatorStyles",
2970
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2953
2971
  }
2954
2972
  }
2955
2973
  ]
2956
2974
  },
2957
2975
  {
2958
2976
  "kind": "javascript-module",
2959
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2977
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2960
2978
  "declarations": [
2961
2979
  {
2962
2980
  "kind": "variable",
2963
- "name": "foundationAiCriteriaSearchTemplate",
2981
+ "name": "foundationAiIndicatorTemplate",
2964
2982
  "type": {
2965
- "text": "ViewTemplate<AiCriteriaSearch>"
2983
+ "text": "ViewTemplate<AiIndicator>"
2966
2984
  },
2967
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2985
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2968
2986
  }
2969
2987
  ],
2970
2988
  "exports": [
2971
2989
  {
2972
2990
  "kind": "js",
2973
- "name": "foundationAiCriteriaSearchTemplate",
2991
+ "name": "foundationAiIndicatorTemplate",
2974
2992
  "declaration": {
2975
- "name": "foundationAiCriteriaSearchTemplate",
2976
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2993
+ "name": "foundationAiIndicatorTemplate",
2994
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2977
2995
  }
2978
2996
  }
2979
2997
  ]
2980
2998
  },
2981
2999
  {
2982
3000
  "kind": "javascript-module",
2983
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3001
+ "path": "src/ai-indicator/ai-indicator.ts",
2984
3002
  "declarations": [
2985
3003
  {
2986
3004
  "kind": "class",
2987
- "description": "Natural-language criteria search input with AI interpretation.",
2988
- "name": "AiCriteriaSearch",
3005
+ "description": "",
3006
+ "name": "AiIndicator",
2989
3007
  "members": [
2990
3008
  {
2991
3009
  "kind": "field",
@@ -2996,54 +3014,25 @@
2996
3014
  },
2997
3015
  {
2998
3016
  "kind": "field",
2999
- "name": "placeholder",
3000
- "type": {
3001
- "text": "string"
3002
- },
3003
- "default": "'Describe your search criteria in natural language...'"
3004
- },
3005
- {
3006
- "kind": "field",
3007
- "name": "disabled",
3008
- "type": {
3009
- "text": "boolean"
3010
- }
3011
- },
3012
- {
3013
- "kind": "field",
3014
- "name": "inputValue",
3015
- "type": {
3016
- "text": "string"
3017
- },
3018
- "default": "''"
3019
- },
3020
- {
3021
- "kind": "field",
3022
- "name": "isInterpreting",
3017
+ "name": "aiProvider",
3023
3018
  "type": {
3024
- "text": "boolean"
3019
+ "text": "AIProvider | undefined"
3025
3020
  },
3026
- "default": "false"
3021
+ "privacy": "private",
3022
+ "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.",
3023
+ "readonly": true
3027
3024
  },
3028
3025
  {
3029
3026
  "kind": "field",
3030
- "name": "lastValidCriteria",
3027
+ "name": "status",
3031
3028
  "type": {
3032
- "text": "string | null"
3029
+ "text": "AIStatus | null"
3033
3030
  },
3034
3031
  "default": "null"
3035
3032
  },
3036
3033
  {
3037
3034
  "kind": "field",
3038
- "name": "activeGroups",
3039
- "type": {
3040
- "text": "CriteriaGroup[]"
3041
- },
3042
- "default": "[]"
3043
- },
3044
- {
3045
- "kind": "field",
3046
- "name": "showingChips",
3035
+ "name": "open",
3047
3036
  "type": {
3048
3037
  "text": "boolean"
3049
3038
  },
@@ -3051,15 +3040,15 @@
3051
3040
  },
3052
3041
  {
3053
3042
  "kind": "field",
3054
- "name": "fieldMetadata",
3043
+ "name": "state",
3055
3044
  "type": {
3056
- "text": "MetadataDetail[] | string[]"
3045
+ "text": "AIIndicatorState"
3057
3046
  },
3058
- "default": "[]"
3047
+ "default": "'none'"
3059
3048
  },
3060
3049
  {
3061
3050
  "kind": "field",
3062
- "name": "isRecording",
3051
+ "name": "isInstalling",
3063
3052
  "type": {
3064
3053
  "text": "boolean"
3065
3054
  },
@@ -3067,33 +3056,29 @@
3067
3056
  },
3068
3057
  {
3069
3058
  "kind": "field",
3070
- "name": "textAreaRef",
3059
+ "name": "pollTimer",
3071
3060
  "type": {
3072
- "text": "HTMLTextAreaElement"
3061
+ "text": "ReturnType<typeof setInterval> | null"
3073
3062
  },
3074
- "privacy": "public"
3063
+ "privacy": "private",
3064
+ "default": "null"
3075
3065
  },
3076
3066
  {
3077
3067
  "kind": "field",
3078
- "name": "stopRecording",
3079
- "type": {
3080
- "text": "(() => void) | null"
3081
- },
3082
- "privacy": "private",
3083
- "default": "null"
3068
+ "name": "clickOutside",
3069
+ "privacy": "private"
3084
3070
  },
3085
3071
  {
3086
3072
  "kind": "field",
3087
- "name": "speechApplyDebounceTimer",
3073
+ "name": "chromeStatusLabel",
3088
3074
  "type": {
3089
- "text": "ReturnType<typeof setTimeout> | null"
3075
+ "text": "string | null"
3090
3076
  },
3091
- "privacy": "private",
3092
- "default": "null"
3077
+ "readonly": true
3093
3078
  },
3094
3079
  {
3095
3080
  "kind": "field",
3096
- "name": "speechAvailable",
3081
+ "name": "canInstall",
3097
3082
  "type": {
3098
3083
  "text": "boolean"
3099
3084
  },
@@ -3101,65 +3086,69 @@
3101
3086
  },
3102
3087
  {
3103
3088
  "kind": "field",
3104
- "name": "criteriaChips",
3089
+ "name": "isDownloading",
3105
3090
  "type": {
3106
- "text": "CriteriaChip[]"
3091
+ "text": "boolean"
3107
3092
  },
3108
3093
  "readonly": true
3109
3094
  },
3110
3095
  {
3111
3096
  "kind": "method",
3112
- "name": "getFieldLabel",
3113
- "privacy": "private",
3097
+ "name": "openChanged",
3114
3098
  "return": {
3115
3099
  "type": {
3116
- "text": "string"
3100
+ "text": "void"
3117
3101
  }
3118
- },
3102
+ }
3103
+ },
3104
+ {
3105
+ "kind": "method",
3106
+ "name": "handleClickOutside",
3107
+ "privacy": "private",
3119
3108
  "parameters": [
3120
3109
  {
3121
- "name": "fieldName",
3110
+ "name": "event",
3122
3111
  "type": {
3123
- "text": "string"
3112
+ "text": "MouseEvent"
3124
3113
  }
3125
3114
  }
3126
3115
  ]
3127
3116
  },
3128
3117
  {
3129
3118
  "kind": "method",
3130
- "name": "toggleCriteriaView",
3119
+ "name": "toggleDropdown"
3120
+ },
3121
+ {
3122
+ "kind": "method",
3123
+ "name": "refreshStatus",
3131
3124
  "return": {
3132
3125
  "type": {
3133
- "text": "void"
3126
+ "text": "Promise<void>"
3134
3127
  }
3135
3128
  }
3136
3129
  },
3137
3130
  {
3138
3131
  "kind": "method",
3139
- "name": "removeChip",
3132
+ "name": "deriveState",
3133
+ "privacy": "private",
3140
3134
  "return": {
3141
3135
  "type": {
3142
- "text": "void"
3136
+ "text": "AIIndicatorState"
3143
3137
  }
3144
3138
  },
3145
3139
  "parameters": [
3146
3140
  {
3147
- "name": "groupIndex",
3148
- "type": {
3149
- "text": "number"
3150
- }
3151
- },
3152
- {
3153
- "name": "clauseIndex",
3141
+ "name": "s",
3154
3142
  "type": {
3155
- "text": "number"
3143
+ "text": "AIStatus | null"
3156
3144
  }
3157
3145
  }
3158
3146
  ]
3159
3147
  },
3160
3148
  {
3161
3149
  "kind": "method",
3162
- "name": "clearChips",
3150
+ "name": "maybeStartPolling",
3151
+ "privacy": "private",
3163
3152
  "return": {
3164
3153
  "type": {
3165
3154
  "text": "void"
@@ -3168,24 +3157,32 @@
3168
3157
  },
3169
3158
  {
3170
3159
  "kind": "method",
3171
- "name": "handleSubmit"
3172
- },
3173
- {
3174
- "kind": "method",
3175
- "name": "handleBlur"
3176
- },
3177
- {
3178
- "kind": "method",
3179
- "name": "clear"
3160
+ "name": "startPolling",
3161
+ "privacy": "private",
3162
+ "return": {
3163
+ "type": {
3164
+ "text": "void"
3165
+ }
3166
+ }
3180
3167
  },
3181
3168
  {
3182
3169
  "kind": "method",
3183
- "name": "toggleSpeechInput"
3170
+ "name": "stopPolling",
3171
+ "privacy": "private",
3172
+ "return": {
3173
+ "type": {
3174
+ "text": "void"
3175
+ }
3176
+ }
3184
3177
  },
3185
3178
  {
3186
3179
  "kind": "method",
3187
- "name": "clearSpeechApplyDebounce",
3188
- "privacy": "private"
3180
+ "name": "onInstall",
3181
+ "return": {
3182
+ "type": {
3183
+ "text": "Promise<void>"
3184
+ }
3185
+ }
3189
3186
  },
3190
3187
  {
3191
3188
  "kind": "field",
@@ -3299,320 +3296,145 @@
3299
3296
  }
3300
3297
  }
3301
3298
  ],
3302
- "events": [
3303
- {
3304
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3305
- "name": "criteria-changed"
3306
- },
3307
- {
3308
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3309
- "name": "validation-errors"
3310
- }
3311
- ],
3312
- "attributes": [
3313
- {
3314
- "name": "placeholder",
3315
- "type": {
3316
- "text": "string"
3317
- },
3318
- "default": "'Describe your search criteria in natural language...'",
3319
- "fieldName": "placeholder"
3320
- },
3321
- {
3322
- "type": {
3323
- "text": "boolean"
3324
- },
3325
- "fieldName": "disabled"
3326
- }
3327
- ],
3328
3299
  "superclass": {
3329
3300
  "name": "FoundationElement",
3330
3301
  "package": "@microsoft/fast-foundation"
3331
3302
  },
3332
- "tagName": "%%prefix%%-ai-criteria-search",
3303
+ "tagName": "%%prefix%%-ai-indicator",
3333
3304
  "customElement": true
3334
3305
  },
3335
3306
  {
3336
3307
  "kind": "variable",
3337
- "name": "foundationAiCriteriaSearchShadowOptions",
3338
- "type": {
3339
- "text": "ShadowRootInit"
3340
- },
3341
- "default": "undefined"
3342
- },
3343
- {
3344
- "kind": "variable",
3345
- "name": "defaultAiCriteriaSearchConfig",
3346
- "type": {
3347
- "text": "object"
3348
- },
3349
- "default": "{}"
3350
- },
3351
- {
3352
- "kind": "variable",
3353
- "name": "foundationAiCriteriaSearch"
3308
+ "name": "foundationAiIndicator"
3354
3309
  }
3355
3310
  ],
3356
3311
  "exports": [
3357
3312
  {
3358
3313
  "kind": "js",
3359
- "name": "AiCriteriaSearch",
3360
- "declaration": {
3361
- "name": "AiCriteriaSearch",
3362
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3363
- }
3364
- },
3365
- {
3366
- "kind": "js",
3367
- "name": "foundationAiCriteriaSearchShadowOptions",
3368
- "declaration": {
3369
- "name": "foundationAiCriteriaSearchShadowOptions",
3370
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3371
- }
3372
- },
3373
- {
3374
- "kind": "js",
3375
- "name": "defaultAiCriteriaSearchConfig",
3314
+ "name": "AiIndicator",
3376
3315
  "declaration": {
3377
- "name": "defaultAiCriteriaSearchConfig",
3378
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3316
+ "name": "AiIndicator",
3317
+ "module": "src/ai-indicator/ai-indicator.ts"
3379
3318
  }
3380
3319
  },
3381
3320
  {
3382
3321
  "kind": "js",
3383
- "name": "foundationAiCriteriaSearch",
3322
+ "name": "foundationAiIndicator",
3384
3323
  "declaration": {
3385
- "name": "foundationAiCriteriaSearch",
3386
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3324
+ "name": "foundationAiIndicator",
3325
+ "module": "src/ai-indicator/ai-indicator.ts"
3387
3326
  }
3388
3327
  }
3389
3328
  ]
3390
3329
  },
3391
3330
  {
3392
3331
  "kind": "javascript-module",
3393
- "path": "src/ai-criteria-search/index.ts",
3332
+ "path": "src/ai-indicator/index.ts",
3394
3333
  "declarations": [],
3395
3334
  "exports": [
3396
3335
  {
3397
3336
  "kind": "js",
3398
- "name": "AiCriteriaSearch",
3337
+ "name": "AiIndicator",
3399
3338
  "declaration": {
3400
- "name": "AiCriteriaSearch",
3401
- "module": "./ai-criteria-search"
3339
+ "name": "AiIndicator",
3340
+ "module": "./ai-indicator"
3402
3341
  }
3403
3342
  },
3404
3343
  {
3405
3344
  "kind": "js",
3406
- "name": "defaultAiCriteriaSearchConfig",
3345
+ "name": "foundationAiIndicator",
3407
3346
  "declaration": {
3408
- "name": "defaultAiCriteriaSearchConfig",
3409
- "module": "./ai-criteria-search"
3347
+ "name": "foundationAiIndicator",
3348
+ "module": "./ai-indicator"
3410
3349
  }
3411
3350
  },
3412
3351
  {
3413
3352
  "kind": "js",
3414
- "name": "foundationAiCriteriaSearch",
3353
+ "name": "type",
3415
3354
  "declaration": {
3416
- "name": "foundationAiCriteriaSearch",
3417
- "module": "./ai-criteria-search"
3355
+ "name": "type",
3356
+ "module": "./ai-indicator"
3418
3357
  }
3419
3358
  },
3420
3359
  {
3421
3360
  "kind": "js",
3422
- "name": "foundationAiCriteriaSearchShadowOptions",
3423
- "declaration": {
3424
- "name": "foundationAiCriteriaSearchShadowOptions",
3425
- "module": "./ai-criteria-search"
3426
- }
3427
- },
3428
- {
3429
- "kind": "js",
3430
- "name": "foundationAiCriteriaSearchStyles",
3431
- "declaration": {
3432
- "name": "foundationAiCriteriaSearchStyles",
3433
- "module": "./ai-criteria-search.styles"
3434
- }
3435
- },
3436
- {
3437
- "kind": "js",
3438
- "name": "foundationAiCriteriaSearchTemplate",
3439
- "declaration": {
3440
- "name": "foundationAiCriteriaSearchTemplate",
3441
- "module": "./ai-criteria-search.template"
3442
- }
3443
- },
3444
- {
3445
- "kind": "js",
3446
- "name": "*",
3447
- "declaration": {
3448
- "name": "*",
3449
- "package": "./validation/criteria-ir"
3450
- }
3451
- },
3452
- {
3453
- "kind": "js",
3454
- "name": "*",
3361
+ "name": "AIIndicatorState",
3455
3362
  "declaration": {
3456
- "name": "*",
3457
- "package": "./validation/operator-map"
3363
+ "name": "AIIndicatorState",
3364
+ "module": "./ai-indicator"
3458
3365
  }
3459
3366
  },
3460
3367
  {
3461
3368
  "kind": "js",
3462
- "name": "*",
3463
- "declaration": {
3464
- "name": "*",
3465
- "package": "./validation/schema-validator"
3466
- }
3467
- }
3468
- ]
3469
- },
3470
- {
3471
- "kind": "javascript-module",
3472
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3473
- "declarations": [
3474
- {
3475
- "kind": "function",
3476
- "name": "formatValidationErrors",
3477
- "return": {
3478
- "type": {
3479
- "text": "string"
3480
- }
3481
- },
3482
- "parameters": [
3483
- {
3484
- "name": "errors",
3485
- "type": {
3486
- "text": "ValidationError[]"
3487
- }
3488
- }
3489
- ],
3490
- "description": "Formats validation errors into a user-friendly message."
3491
- },
3492
- {
3493
- "kind": "function",
3494
- "name": "showCriteriaError",
3495
- "return": {
3496
- "type": {
3497
- "text": "void"
3498
- }
3499
- },
3500
- "parameters": [
3501
- {
3502
- "name": "title",
3503
- "type": {
3504
- "text": "string"
3505
- },
3506
- "description": "Notification title (e.g. \"Criteria validation error\")"
3507
- },
3508
- {
3509
- "name": "body",
3510
- "type": {
3511
- "text": "string"
3512
- },
3513
- "description": "Error message to display"
3514
- },
3515
- {
3516
- "name": "tagName",
3517
- "type": {
3518
- "text": "string"
3519
- },
3520
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3521
- }
3522
- ],
3523
- "description": "Shows a criteria error as a toast notification."
3524
- }
3525
- ],
3526
- "exports": [
3527
- {
3528
- "kind": "js",
3529
- "name": "formatValidationErrors",
3369
+ "name": "foundationAiIndicatorTemplate",
3530
3370
  "declaration": {
3531
- "name": "formatValidationErrors",
3532
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3371
+ "name": "foundationAiIndicatorTemplate",
3372
+ "module": "./ai-indicator.template"
3533
3373
  }
3534
3374
  },
3535
3375
  {
3536
3376
  "kind": "js",
3537
- "name": "showCriteriaError",
3377
+ "name": "foundationAiIndicatorStyles",
3538
3378
  "declaration": {
3539
- "name": "showCriteriaError",
3540
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3379
+ "name": "foundationAiIndicatorStyles",
3380
+ "module": "./ai-indicator.styles"
3541
3381
  }
3542
3382
  }
3543
3383
  ]
3544
3384
  },
3545
3385
  {
3546
3386
  "kind": "javascript-module",
3547
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3387
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3548
3388
  "declarations": [
3549
3389
  {
3550
- "kind": "function",
3551
- "name": "foundationAiIndicatorStyles",
3552
- "return": {
3553
- "type": {
3554
- "text": "ElementStyles"
3555
- }
3556
- },
3557
- "parameters": [
3558
- {
3559
- "name": "context",
3560
- "type": {
3561
- "text": "ElementDefinitionContext"
3562
- }
3563
- },
3564
- {
3565
- "name": "definition",
3566
- "type": {
3567
- "text": "FoundationElementDefinition"
3568
- }
3569
- }
3570
- ]
3390
+ "kind": "variable",
3391
+ "name": "foundationAiCriteriaSearchStyles",
3392
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
3571
3393
  }
3572
3394
  ],
3573
3395
  "exports": [
3574
3396
  {
3575
3397
  "kind": "js",
3576
- "name": "foundationAiIndicatorStyles",
3398
+ "name": "foundationAiCriteriaSearchStyles",
3577
3399
  "declaration": {
3578
- "name": "foundationAiIndicatorStyles",
3579
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3400
+ "name": "foundationAiCriteriaSearchStyles",
3401
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3580
3402
  }
3581
3403
  }
3582
3404
  ]
3583
3405
  },
3584
3406
  {
3585
3407
  "kind": "javascript-module",
3586
- "path": "src/ai-indicator/ai-indicator.template.ts",
3408
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3587
3409
  "declarations": [
3588
3410
  {
3589
3411
  "kind": "variable",
3590
- "name": "foundationAiIndicatorTemplate",
3412
+ "name": "foundationAiCriteriaSearchTemplate",
3591
3413
  "type": {
3592
- "text": "ViewTemplate<AiIndicator>"
3414
+ "text": "ViewTemplate<AiCriteriaSearch>"
3593
3415
  },
3594
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3416
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3595
3417
  }
3596
3418
  ],
3597
3419
  "exports": [
3598
3420
  {
3599
3421
  "kind": "js",
3600
- "name": "foundationAiIndicatorTemplate",
3422
+ "name": "foundationAiCriteriaSearchTemplate",
3601
3423
  "declaration": {
3602
- "name": "foundationAiIndicatorTemplate",
3603
- "module": "src/ai-indicator/ai-indicator.template.ts"
3424
+ "name": "foundationAiCriteriaSearchTemplate",
3425
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3604
3426
  }
3605
3427
  }
3606
3428
  ]
3607
3429
  },
3608
3430
  {
3609
3431
  "kind": "javascript-module",
3610
- "path": "src/ai-indicator/ai-indicator.ts",
3432
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3611
3433
  "declarations": [
3612
3434
  {
3613
3435
  "kind": "class",
3614
- "description": "",
3615
- "name": "AiIndicator",
3436
+ "description": "Natural-language criteria search input with AI interpretation.",
3437
+ "name": "AiCriteriaSearch",
3616
3438
  "members": [
3617
3439
  {
3618
3440
  "kind": "field",
@@ -3623,25 +3445,54 @@
3623
3445
  },
3624
3446
  {
3625
3447
  "kind": "field",
3626
- "name": "aiProvider",
3448
+ "name": "placeholder",
3627
3449
  "type": {
3628
- "text": "AIProvider | undefined"
3450
+ "text": "string"
3629
3451
  },
3630
- "privacy": "private",
3631
- "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.",
3632
- "readonly": true
3452
+ "default": "'Describe your search criteria in natural language...'"
3633
3453
  },
3634
3454
  {
3635
3455
  "kind": "field",
3636
- "name": "status",
3456
+ "name": "disabled",
3637
3457
  "type": {
3638
- "text": "AIStatus | null"
3458
+ "text": "boolean"
3459
+ }
3460
+ },
3461
+ {
3462
+ "kind": "field",
3463
+ "name": "inputValue",
3464
+ "type": {
3465
+ "text": "string"
3466
+ },
3467
+ "default": "''"
3468
+ },
3469
+ {
3470
+ "kind": "field",
3471
+ "name": "isInterpreting",
3472
+ "type": {
3473
+ "text": "boolean"
3474
+ },
3475
+ "default": "false"
3476
+ },
3477
+ {
3478
+ "kind": "field",
3479
+ "name": "lastValidCriteria",
3480
+ "type": {
3481
+ "text": "string | null"
3639
3482
  },
3640
3483
  "default": "null"
3641
3484
  },
3642
3485
  {
3643
3486
  "kind": "field",
3644
- "name": "open",
3487
+ "name": "activeGroups",
3488
+ "type": {
3489
+ "text": "CriteriaGroup[]"
3490
+ },
3491
+ "default": "[]"
3492
+ },
3493
+ {
3494
+ "kind": "field",
3495
+ "name": "showingChips",
3645
3496
  "type": {
3646
3497
  "text": "boolean"
3647
3498
  },
@@ -3649,15 +3500,15 @@
3649
3500
  },
3650
3501
  {
3651
3502
  "kind": "field",
3652
- "name": "state",
3503
+ "name": "fieldMetadata",
3653
3504
  "type": {
3654
- "text": "AIIndicatorState"
3505
+ "text": "MetadataDetail[] | string[]"
3655
3506
  },
3656
- "default": "'none'"
3507
+ "default": "[]"
3657
3508
  },
3658
3509
  {
3659
3510
  "kind": "field",
3660
- "name": "isInstalling",
3511
+ "name": "isRecording",
3661
3512
  "type": {
3662
3513
  "text": "boolean"
3663
3514
  },
@@ -3665,29 +3516,33 @@
3665
3516
  },
3666
3517
  {
3667
3518
  "kind": "field",
3668
- "name": "pollTimer",
3519
+ "name": "textAreaRef",
3669
3520
  "type": {
3670
- "text": "ReturnType<typeof setInterval> | null"
3521
+ "text": "HTMLTextAreaElement"
3671
3522
  },
3672
- "privacy": "private",
3673
- "default": "null"
3523
+ "privacy": "public"
3674
3524
  },
3675
3525
  {
3676
3526
  "kind": "field",
3677
- "name": "clickOutside",
3678
- "privacy": "private"
3527
+ "name": "stopRecording",
3528
+ "type": {
3529
+ "text": "(() => void) | null"
3530
+ },
3531
+ "privacy": "private",
3532
+ "default": "null"
3679
3533
  },
3680
3534
  {
3681
3535
  "kind": "field",
3682
- "name": "chromeStatusLabel",
3536
+ "name": "speechApplyDebounceTimer",
3683
3537
  "type": {
3684
- "text": "string | null"
3538
+ "text": "ReturnType<typeof setTimeout> | null"
3685
3539
  },
3686
- "readonly": true
3540
+ "privacy": "private",
3541
+ "default": "null"
3687
3542
  },
3688
3543
  {
3689
3544
  "kind": "field",
3690
- "name": "canInstall",
3545
+ "name": "speechAvailable",
3691
3546
  "type": {
3692
3547
  "text": "boolean"
3693
3548
  },
@@ -3695,69 +3550,65 @@
3695
3550
  },
3696
3551
  {
3697
3552
  "kind": "field",
3698
- "name": "isDownloading",
3553
+ "name": "criteriaChips",
3699
3554
  "type": {
3700
- "text": "boolean"
3555
+ "text": "CriteriaChip[]"
3701
3556
  },
3702
3557
  "readonly": true
3703
3558
  },
3704
3559
  {
3705
3560
  "kind": "method",
3706
- "name": "openChanged",
3561
+ "name": "getFieldLabel",
3562
+ "privacy": "private",
3707
3563
  "return": {
3708
3564
  "type": {
3709
- "text": "void"
3565
+ "text": "string"
3710
3566
  }
3711
- }
3712
- },
3713
- {
3714
- "kind": "method",
3715
- "name": "handleClickOutside",
3716
- "privacy": "private",
3567
+ },
3717
3568
  "parameters": [
3718
3569
  {
3719
- "name": "event",
3570
+ "name": "fieldName",
3720
3571
  "type": {
3721
- "text": "MouseEvent"
3572
+ "text": "string"
3722
3573
  }
3723
3574
  }
3724
3575
  ]
3725
3576
  },
3726
3577
  {
3727
3578
  "kind": "method",
3728
- "name": "toggleDropdown"
3729
- },
3730
- {
3731
- "kind": "method",
3732
- "name": "refreshStatus",
3579
+ "name": "toggleCriteriaView",
3733
3580
  "return": {
3734
3581
  "type": {
3735
- "text": "Promise<void>"
3582
+ "text": "void"
3736
3583
  }
3737
3584
  }
3738
3585
  },
3739
3586
  {
3740
3587
  "kind": "method",
3741
- "name": "deriveState",
3742
- "privacy": "private",
3588
+ "name": "removeChip",
3743
3589
  "return": {
3744
3590
  "type": {
3745
- "text": "AIIndicatorState"
3591
+ "text": "void"
3746
3592
  }
3747
3593
  },
3748
3594
  "parameters": [
3749
3595
  {
3750
- "name": "s",
3596
+ "name": "groupIndex",
3751
3597
  "type": {
3752
- "text": "AIStatus | null"
3598
+ "text": "number"
3599
+ }
3600
+ },
3601
+ {
3602
+ "name": "clauseIndex",
3603
+ "type": {
3604
+ "text": "number"
3753
3605
  }
3754
3606
  }
3755
3607
  ]
3756
3608
  },
3757
3609
  {
3758
3610
  "kind": "method",
3759
- "name": "maybeStartPolling",
3760
- "privacy": "private",
3611
+ "name": "clearChips",
3761
3612
  "return": {
3762
3613
  "type": {
3763
3614
  "text": "void"
@@ -3766,32 +3617,24 @@
3766
3617
  },
3767
3618
  {
3768
3619
  "kind": "method",
3769
- "name": "startPolling",
3770
- "privacy": "private",
3771
- "return": {
3772
- "type": {
3773
- "text": "void"
3774
- }
3775
- }
3620
+ "name": "handleSubmit"
3776
3621
  },
3777
3622
  {
3778
3623
  "kind": "method",
3779
- "name": "stopPolling",
3780
- "privacy": "private",
3781
- "return": {
3782
- "type": {
3783
- "text": "void"
3784
- }
3785
- }
3624
+ "name": "handleBlur"
3625
+ },
3626
+ {
3627
+ "kind": "method",
3628
+ "name": "clear"
3629
+ },
3630
+ {
3631
+ "kind": "method",
3632
+ "name": "toggleSpeechInput"
3786
3633
  },
3787
3634
  {
3788
3635
  "kind": "method",
3789
- "name": "onInstall",
3790
- "return": {
3791
- "type": {
3792
- "text": "Promise<void>"
3793
- }
3794
- }
3636
+ "name": "clearSpeechApplyDebounce",
3637
+ "privacy": "private"
3795
3638
  },
3796
3639
  {
3797
3640
  "kind": "field",
@@ -3905,88 +3748,245 @@
3905
3748
  }
3906
3749
  }
3907
3750
  ],
3751
+ "events": [
3752
+ {
3753
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3754
+ "name": "criteria-changed"
3755
+ },
3756
+ {
3757
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3758
+ "name": "validation-errors"
3759
+ }
3760
+ ],
3761
+ "attributes": [
3762
+ {
3763
+ "name": "placeholder",
3764
+ "type": {
3765
+ "text": "string"
3766
+ },
3767
+ "default": "'Describe your search criteria in natural language...'",
3768
+ "fieldName": "placeholder"
3769
+ },
3770
+ {
3771
+ "type": {
3772
+ "text": "boolean"
3773
+ },
3774
+ "fieldName": "disabled"
3775
+ }
3776
+ ],
3908
3777
  "superclass": {
3909
3778
  "name": "FoundationElement",
3910
3779
  "package": "@microsoft/fast-foundation"
3911
3780
  },
3912
- "tagName": "%%prefix%%-ai-indicator",
3781
+ "tagName": "%%prefix%%-ai-criteria-search",
3913
3782
  "customElement": true
3914
3783
  },
3915
3784
  {
3916
3785
  "kind": "variable",
3917
- "name": "foundationAiIndicator"
3786
+ "name": "foundationAiCriteriaSearchShadowOptions",
3787
+ "type": {
3788
+ "text": "ShadowRootInit"
3789
+ },
3790
+ "default": "undefined"
3791
+ },
3792
+ {
3793
+ "kind": "variable",
3794
+ "name": "defaultAiCriteriaSearchConfig",
3795
+ "type": {
3796
+ "text": "object"
3797
+ },
3798
+ "default": "{}"
3799
+ },
3800
+ {
3801
+ "kind": "variable",
3802
+ "name": "foundationAiCriteriaSearch"
3918
3803
  }
3919
3804
  ],
3920
3805
  "exports": [
3921
3806
  {
3922
3807
  "kind": "js",
3923
- "name": "AiIndicator",
3808
+ "name": "AiCriteriaSearch",
3924
3809
  "declaration": {
3925
- "name": "AiIndicator",
3926
- "module": "src/ai-indicator/ai-indicator.ts"
3810
+ "name": "AiCriteriaSearch",
3811
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3927
3812
  }
3928
3813
  },
3929
3814
  {
3930
3815
  "kind": "js",
3931
- "name": "foundationAiIndicator",
3816
+ "name": "foundationAiCriteriaSearchShadowOptions",
3932
3817
  "declaration": {
3933
- "name": "foundationAiIndicator",
3934
- "module": "src/ai-indicator/ai-indicator.ts"
3818
+ "name": "foundationAiCriteriaSearchShadowOptions",
3819
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3820
+ }
3821
+ },
3822
+ {
3823
+ "kind": "js",
3824
+ "name": "defaultAiCriteriaSearchConfig",
3825
+ "declaration": {
3826
+ "name": "defaultAiCriteriaSearchConfig",
3827
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3828
+ }
3829
+ },
3830
+ {
3831
+ "kind": "js",
3832
+ "name": "foundationAiCriteriaSearch",
3833
+ "declaration": {
3834
+ "name": "foundationAiCriteriaSearch",
3835
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3935
3836
  }
3936
3837
  }
3937
3838
  ]
3938
3839
  },
3939
3840
  {
3940
3841
  "kind": "javascript-module",
3941
- "path": "src/ai-indicator/index.ts",
3842
+ "path": "src/ai-criteria-search/index.ts",
3942
3843
  "declarations": [],
3943
3844
  "exports": [
3944
3845
  {
3945
3846
  "kind": "js",
3946
- "name": "AiIndicator",
3847
+ "name": "AiCriteriaSearch",
3947
3848
  "declaration": {
3948
- "name": "AiIndicator",
3949
- "module": "./ai-indicator"
3849
+ "name": "AiCriteriaSearch",
3850
+ "module": "./ai-criteria-search"
3950
3851
  }
3951
3852
  },
3952
3853
  {
3953
3854
  "kind": "js",
3954
- "name": "foundationAiIndicator",
3855
+ "name": "defaultAiCriteriaSearchConfig",
3955
3856
  "declaration": {
3956
- "name": "foundationAiIndicator",
3957
- "module": "./ai-indicator"
3857
+ "name": "defaultAiCriteriaSearchConfig",
3858
+ "module": "./ai-criteria-search"
3958
3859
  }
3959
3860
  },
3960
3861
  {
3961
3862
  "kind": "js",
3962
- "name": "type",
3863
+ "name": "foundationAiCriteriaSearch",
3963
3864
  "declaration": {
3964
- "name": "type",
3965
- "module": "./ai-indicator"
3865
+ "name": "foundationAiCriteriaSearch",
3866
+ "module": "./ai-criteria-search"
3966
3867
  }
3967
3868
  },
3968
3869
  {
3969
3870
  "kind": "js",
3970
- "name": "AIIndicatorState",
3871
+ "name": "foundationAiCriteriaSearchShadowOptions",
3971
3872
  "declaration": {
3972
- "name": "AIIndicatorState",
3973
- "module": "./ai-indicator"
3873
+ "name": "foundationAiCriteriaSearchShadowOptions",
3874
+ "module": "./ai-criteria-search"
3974
3875
  }
3975
3876
  },
3976
3877
  {
3977
3878
  "kind": "js",
3978
- "name": "foundationAiIndicatorTemplate",
3879
+ "name": "foundationAiCriteriaSearchStyles",
3979
3880
  "declaration": {
3980
- "name": "foundationAiIndicatorTemplate",
3981
- "module": "./ai-indicator.template"
3881
+ "name": "foundationAiCriteriaSearchStyles",
3882
+ "module": "./ai-criteria-search.styles"
3982
3883
  }
3983
3884
  },
3984
3885
  {
3985
3886
  "kind": "js",
3986
- "name": "foundationAiIndicatorStyles",
3887
+ "name": "foundationAiCriteriaSearchTemplate",
3987
3888
  "declaration": {
3988
- "name": "foundationAiIndicatorStyles",
3989
- "module": "./ai-indicator.styles"
3889
+ "name": "foundationAiCriteriaSearchTemplate",
3890
+ "module": "./ai-criteria-search.template"
3891
+ }
3892
+ },
3893
+ {
3894
+ "kind": "js",
3895
+ "name": "*",
3896
+ "declaration": {
3897
+ "name": "*",
3898
+ "package": "./validation/criteria-ir"
3899
+ }
3900
+ },
3901
+ {
3902
+ "kind": "js",
3903
+ "name": "*",
3904
+ "declaration": {
3905
+ "name": "*",
3906
+ "package": "./validation/operator-map"
3907
+ }
3908
+ },
3909
+ {
3910
+ "kind": "js",
3911
+ "name": "*",
3912
+ "declaration": {
3913
+ "name": "*",
3914
+ "package": "./validation/schema-validator"
3915
+ }
3916
+ }
3917
+ ]
3918
+ },
3919
+ {
3920
+ "kind": "javascript-module",
3921
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3922
+ "declarations": [
3923
+ {
3924
+ "kind": "function",
3925
+ "name": "formatValidationErrors",
3926
+ "return": {
3927
+ "type": {
3928
+ "text": "string"
3929
+ }
3930
+ },
3931
+ "parameters": [
3932
+ {
3933
+ "name": "errors",
3934
+ "type": {
3935
+ "text": "ValidationError[]"
3936
+ }
3937
+ }
3938
+ ],
3939
+ "description": "Formats validation errors into a user-friendly message."
3940
+ },
3941
+ {
3942
+ "kind": "function",
3943
+ "name": "showCriteriaError",
3944
+ "return": {
3945
+ "type": {
3946
+ "text": "void"
3947
+ }
3948
+ },
3949
+ "parameters": [
3950
+ {
3951
+ "name": "title",
3952
+ "type": {
3953
+ "text": "string"
3954
+ },
3955
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3956
+ },
3957
+ {
3958
+ "name": "body",
3959
+ "type": {
3960
+ "text": "string"
3961
+ },
3962
+ "description": "Error message to display"
3963
+ },
3964
+ {
3965
+ "name": "tagName",
3966
+ "type": {
3967
+ "text": "string"
3968
+ },
3969
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3970
+ }
3971
+ ],
3972
+ "description": "Shows a criteria error as a toast notification."
3973
+ }
3974
+ ],
3975
+ "exports": [
3976
+ {
3977
+ "kind": "js",
3978
+ "name": "formatValidationErrors",
3979
+ "declaration": {
3980
+ "name": "formatValidationErrors",
3981
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3982
+ }
3983
+ },
3984
+ {
3985
+ "kind": "js",
3986
+ "name": "showCriteriaError",
3987
+ "declaration": {
3988
+ "name": "showCriteriaError",
3989
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3990
3990
  }
3991
3991
  }
3992
3992
  ]
@@ -28847,6 +28847,23 @@
28847
28847
  },
28848
28848
  "default": "false"
28849
28849
  },
28850
+ {
28851
+ "kind": "field",
28852
+ "name": "tooltipElement",
28853
+ "type": {
28854
+ "text": "HTMLElement | undefined"
28855
+ },
28856
+ "description": "The `<%%prefix%%-tooltip>` bubble stays in this component's template and shadow root,\nbut is promoted to the browser top layer via the Popover API when shown — the top layer\nescapes ancestor stacking contexts, transforms and overflow clipping, which is what\nlets virtualized grid rows (absolutely-positioned, later-DOM-order siblings) paint over\nan in-place bubble. Content rendering stays FASTTooltip's own anchor-hover logic\n(`delay=\"0\"` so it is rendered by the time the popover opens and is measured); only\nhost visibility and placement are managed here, because FASTTooltip's anchored-region\nplacement does not resolve for the subclassed genesis components\n(`tagFor(AnchoredRegion)` misses — compose() without `baseClass`)."
28857
+ },
28858
+ {
28859
+ "kind": "field",
28860
+ "name": "tooltipShowTimer",
28861
+ "type": {
28862
+ "text": "number | null"
28863
+ },
28864
+ "privacy": "private",
28865
+ "default": "null"
28866
+ },
28850
28867
  {
28851
28868
  "kind": "field",
28852
28869
  "name": "name",
@@ -28924,6 +28941,30 @@
28924
28941
  }
28925
28942
  ]
28926
28943
  },
28944
+ {
28945
+ "kind": "field",
28946
+ "name": "showTooltip",
28947
+ "privacy": "private"
28948
+ },
28949
+ {
28950
+ "kind": "method",
28951
+ "name": "positionTooltip",
28952
+ "privacy": "private",
28953
+ "parameters": [
28954
+ {
28955
+ "name": "tooltip",
28956
+ "type": {
28957
+ "text": "HTMLElement"
28958
+ }
28959
+ }
28960
+ ],
28961
+ "description": "Places the bubble from the anchor's current viewport position (scrolled grid, resized\nlayout) just before it is shown; top-layer coordinates are viewport-relative. Prefers\nthe anchor's right edge, flips to its left when the right side would clip at the\nviewport, and clamps vertically so bottom rows keep the whole bubble on screen. The\nbubble's width is fixed in CSS, so measuring before final placement is safe; height\ncomes from scroll size because FASTTooltip's host is a zero-height box whose part div\noverflows it."
28962
+ },
28963
+ {
28964
+ "kind": "field",
28965
+ "name": "hideTooltip",
28966
+ "privacy": "private"
28967
+ },
28927
28968
  {
28928
28969
  "kind": "method",
28929
28970
  "name": "getDefaultTooltipConfig"