@genesislcap/foundation-ui 14.421.0 → 14.421.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.
@@ -1392,11 +1392,11 @@
1392
1392
  },
1393
1393
  {
1394
1394
  "kind": "javascript-module",
1395
- "path": "src/accordion-item/accordion-item.styles.ts",
1395
+ "path": "src/accordion/accordion.styles.ts",
1396
1396
  "declarations": [
1397
1397
  {
1398
1398
  "kind": "function",
1399
- "name": "foundationAccordionItemStyles",
1399
+ "name": "foundationAccordionStyles",
1400
1400
  "return": {
1401
1401
  "type": {
1402
1402
  "text": "ElementStyles"
@@ -1421,24 +1421,24 @@
1421
1421
  "exports": [
1422
1422
  {
1423
1423
  "kind": "js",
1424
- "name": "foundationAccordionItemStyles",
1424
+ "name": "foundationAccordionStyles",
1425
1425
  "declaration": {
1426
- "name": "foundationAccordionItemStyles",
1427
- "module": "src/accordion-item/accordion-item.styles.ts"
1426
+ "name": "foundationAccordionStyles",
1427
+ "module": "src/accordion/accordion.styles.ts"
1428
1428
  }
1429
1429
  }
1430
1430
  ]
1431
1431
  },
1432
1432
  {
1433
1433
  "kind": "javascript-module",
1434
- "path": "src/accordion-item/accordion-item.template.ts",
1434
+ "path": "src/accordion/accordion.template.ts",
1435
1435
  "declarations": [
1436
1436
  {
1437
1437
  "kind": "function",
1438
- "name": "foundationAccordionItemTemplate",
1438
+ "name": "foundationAccordionTemplate",
1439
1439
  "return": {
1440
1440
  "type": {
1441
- "text": "ViewTemplate<AccordionItem>"
1441
+ "text": "ViewTemplate<Accordion>"
1442
1442
  }
1443
1443
  },
1444
1444
  "parameters": [
@@ -1460,116 +1460,237 @@
1460
1460
  "exports": [
1461
1461
  {
1462
1462
  "kind": "js",
1463
- "name": "foundationAccordionItemTemplate",
1463
+ "name": "foundationAccordionTemplate",
1464
1464
  "declaration": {
1465
- "name": "foundationAccordionItemTemplate",
1466
- "module": "src/accordion-item/accordion-item.template.ts"
1465
+ "name": "foundationAccordionTemplate",
1466
+ "module": "src/accordion/accordion.template.ts"
1467
1467
  }
1468
1468
  }
1469
1469
  ]
1470
1470
  },
1471
1471
  {
1472
1472
  "kind": "javascript-module",
1473
- "path": "src/accordion-item/accordion-item.ts",
1473
+ "path": "src/accordion/accordion.ts",
1474
1474
  "declarations": [
1475
1475
  {
1476
1476
  "kind": "class",
1477
1477
  "description": "",
1478
- "name": "AccordionItem",
1478
+ "name": "Accordion",
1479
1479
  "superclass": {
1480
- "name": "FASTAccordionItem",
1481
- "package": "@microsoft/fast-components"
1480
+ "name": "FASTAccordion",
1481
+ "package": "@microsoft/fast-foundation"
1482
1482
  },
1483
- "tagName": "%%prefix%%-accordion-item",
1483
+ "tagName": "%%prefix%%-accordion",
1484
1484
  "customElement": true,
1485
1485
  "attributes": [
1486
1486
  {
1487
- "name": "heading-level",
1487
+ "name": "expand-mode",
1488
1488
  "type": {
1489
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1489
+ "text": "AccordionExpandMode"
1490
1490
  },
1491
- "default": "2",
1492
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1493
- "fieldName": "headinglevel",
1491
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1492
+ "fieldName": "expandmode",
1494
1493
  "inheritedFrom": {
1495
- "name": "AccordionItem",
1496
- "module": "src/accordion-item/accordion-item.ts"
1494
+ "name": "Accordion",
1495
+ "module": "src/accordion/accordion.ts"
1497
1496
  }
1498
- },
1497
+ }
1498
+ ],
1499
+ "members": [
1499
1500
  {
1501
+ "kind": "field",
1502
+ "name": "expandmode",
1500
1503
  "type": {
1501
- "text": "boolean"
1504
+ "text": "AccordionExpandMode"
1502
1505
  },
1503
- "default": "false",
1504
- "description": "Expands or collapses the item.",
1505
- "fieldName": "expanded",
1506
+ "privacy": "public",
1507
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1506
1508
  "inheritedFrom": {
1507
- "name": "AccordionItem",
1508
- "module": "src/accordion-item/accordion-item.ts"
1509
+ "name": "Accordion",
1510
+ "module": "src/accordion/accordion.ts"
1509
1511
  }
1510
1512
  },
1511
1513
  {
1512
- "name": "id",
1514
+ "kind": "field",
1515
+ "name": "activeid",
1513
1516
  "type": {
1514
- "text": "string"
1517
+ "text": "string | null"
1515
1518
  },
1516
- "description": "The item ID",
1517
- "fieldName": "id",
1519
+ "privacy": "private",
1518
1520
  "inheritedFrom": {
1519
- "name": "AccordionItem",
1520
- "module": "src/accordion-item/accordion-item.ts"
1521
+ "name": "Accordion",
1522
+ "module": "src/accordion/accordion.ts"
1521
1523
  }
1522
- }
1523
- ],
1524
- "members": [
1524
+ },
1525
1525
  {
1526
1526
  "kind": "field",
1527
- "name": "headinglevel",
1527
+ "name": "activeItemIndex",
1528
1528
  "type": {
1529
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1529
+ "text": "number"
1530
1530
  },
1531
- "privacy": "public",
1532
- "default": "2",
1533
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1531
+ "privacy": "private",
1532
+ "default": "0",
1534
1533
  "inheritedFrom": {
1535
- "name": "AccordionItem",
1536
- "module": "src/accordion-item/accordion-item.ts"
1534
+ "name": "Accordion",
1535
+ "module": "src/accordion/accordion.ts"
1537
1536
  }
1538
1537
  },
1539
1538
  {
1540
1539
  "kind": "field",
1541
- "name": "expanded",
1540
+ "name": "accordionIds",
1542
1541
  "type": {
1543
- "text": "boolean"
1542
+ "text": "Array<string | null>"
1544
1543
  },
1545
- "privacy": "public",
1546
- "default": "false",
1547
- "description": "Expands or collapses the item.",
1544
+ "privacy": "private",
1548
1545
  "inheritedFrom": {
1549
- "name": "AccordionItem",
1550
- "module": "src/accordion-item/accordion-item.ts"
1546
+ "name": "Accordion",
1547
+ "module": "src/accordion/accordion.ts"
1551
1548
  }
1552
1549
  },
1553
1550
  {
1554
1551
  "kind": "field",
1555
- "name": "id",
1556
- "type": {
1557
- "text": "string"
1552
+ "name": "change",
1553
+ "privacy": "private",
1554
+ "inheritedFrom": {
1555
+ "name": "Accordion",
1556
+ "module": "src/accordion/accordion.ts"
1557
+ }
1558
+ },
1559
+ {
1560
+ "kind": "method",
1561
+ "name": "findExpandedItem",
1562
+ "privacy": "private",
1563
+ "return": {
1564
+ "type": {
1565
+ "text": "AccordionItem | null"
1566
+ }
1558
1567
  },
1559
- "privacy": "public",
1560
- "description": "The item ID",
1561
1568
  "inheritedFrom": {
1562
- "name": "AccordionItem",
1563
- "module": "src/accordion-item/accordion-item.ts"
1569
+ "name": "Accordion",
1570
+ "module": "src/accordion/accordion.ts"
1564
1571
  }
1565
1572
  },
1566
1573
  {
1567
1574
  "kind": "field",
1568
- "name": "change",
1575
+ "name": "setItems",
1569
1576
  "privacy": "private",
1570
1577
  "inheritedFrom": {
1571
- "name": "AccordionItem",
1572
- "module": "src/accordion-item/accordion-item.ts"
1578
+ "name": "Accordion",
1579
+ "module": "src/accordion/accordion.ts"
1580
+ }
1581
+ },
1582
+ {
1583
+ "kind": "method",
1584
+ "name": "resetItems",
1585
+ "privacy": "private",
1586
+ "return": {
1587
+ "type": {
1588
+ "text": "void"
1589
+ }
1590
+ },
1591
+ "inheritedFrom": {
1592
+ "name": "Accordion",
1593
+ "module": "src/accordion/accordion.ts"
1594
+ }
1595
+ },
1596
+ {
1597
+ "kind": "field",
1598
+ "name": "removeItemListeners",
1599
+ "privacy": "private",
1600
+ "inheritedFrom": {
1601
+ "name": "Accordion",
1602
+ "module": "src/accordion/accordion.ts"
1603
+ }
1604
+ },
1605
+ {
1606
+ "kind": "field",
1607
+ "name": "activeItemChange",
1608
+ "privacy": "private",
1609
+ "inheritedFrom": {
1610
+ "name": "Accordion",
1611
+ "module": "src/accordion/accordion.ts"
1612
+ }
1613
+ },
1614
+ {
1615
+ "kind": "method",
1616
+ "name": "getItemIds",
1617
+ "privacy": "private",
1618
+ "return": {
1619
+ "type": {
1620
+ "text": "Array<string | null>"
1621
+ }
1622
+ },
1623
+ "inheritedFrom": {
1624
+ "name": "Accordion",
1625
+ "module": "src/accordion/accordion.ts"
1626
+ }
1627
+ },
1628
+ {
1629
+ "kind": "method",
1630
+ "name": "isSingleExpandMode",
1631
+ "privacy": "private",
1632
+ "return": {
1633
+ "type": {
1634
+ "text": "boolean"
1635
+ }
1636
+ },
1637
+ "inheritedFrom": {
1638
+ "name": "Accordion",
1639
+ "module": "src/accordion/accordion.ts"
1640
+ }
1641
+ },
1642
+ {
1643
+ "kind": "field",
1644
+ "name": "handleItemKeyDown",
1645
+ "privacy": "private",
1646
+ "inheritedFrom": {
1647
+ "name": "Accordion",
1648
+ "module": "src/accordion/accordion.ts"
1649
+ }
1650
+ },
1651
+ {
1652
+ "kind": "field",
1653
+ "name": "handleItemFocus",
1654
+ "privacy": "private",
1655
+ "inheritedFrom": {
1656
+ "name": "Accordion",
1657
+ "module": "src/accordion/accordion.ts"
1658
+ }
1659
+ },
1660
+ {
1661
+ "kind": "method",
1662
+ "name": "adjust",
1663
+ "privacy": "private",
1664
+ "return": {
1665
+ "type": {
1666
+ "text": "void"
1667
+ }
1668
+ },
1669
+ "parameters": [
1670
+ {
1671
+ "name": "adjustment",
1672
+ "type": {
1673
+ "text": "number"
1674
+ }
1675
+ }
1676
+ ],
1677
+ "inheritedFrom": {
1678
+ "name": "Accordion",
1679
+ "module": "src/accordion/accordion.ts"
1680
+ }
1681
+ },
1682
+ {
1683
+ "kind": "method",
1684
+ "name": "focusItem",
1685
+ "privacy": "private",
1686
+ "return": {
1687
+ "type": {
1688
+ "text": "void"
1689
+ }
1690
+ },
1691
+ "inheritedFrom": {
1692
+ "name": "Accordion",
1693
+ "module": "src/accordion/accordion.ts"
1573
1694
  }
1574
1695
  },
1575
1696
  {
@@ -1686,18 +1807,18 @@
1686
1807
  ],
1687
1808
  "events": [
1688
1809
  {
1689
- "description": "Fires a custom 'change' event when the button is invoked",
1810
+ "description": "Fires a custom 'change' event when the active item changes",
1690
1811
  "name": "change",
1691
1812
  "inheritedFrom": {
1692
- "name": "AccordionItem",
1693
- "module": "src/accordion-item/accordion-item.ts"
1813
+ "name": "Accordion",
1814
+ "module": "src/accordion/accordion.ts"
1694
1815
  }
1695
1816
  }
1696
1817
  ]
1697
1818
  },
1698
1819
  {
1699
1820
  "kind": "variable",
1700
- "name": "foundationAccordionItemShadowOptions",
1821
+ "name": "foundationAccordionShadowOptions",
1701
1822
  "type": {
1702
1823
  "text": "ShadowRootInit"
1703
1824
  },
@@ -1705,57 +1826,57 @@
1705
1826
  },
1706
1827
  {
1707
1828
  "kind": "variable",
1708
- "name": "defaultAccordionItemConfig",
1829
+ "name": "defaultAccordionConfig",
1709
1830
  "type": {
1710
1831
  "text": "object"
1711
1832
  },
1712
- "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}"
1833
+ "default": "{}"
1713
1834
  },
1714
1835
  {
1715
1836
  "kind": "variable",
1716
- "name": "foundationAccordionItem",
1717
- "description": "The Foundation Accordion Item",
1837
+ "name": "foundationAccordion",
1838
+ "description": "The Foundation Accordion",
1718
1839
  "privacy": "public"
1719
1840
  }
1720
1841
  ],
1721
1842
  "exports": [
1722
1843
  {
1723
1844
  "kind": "js",
1724
- "name": "AccordionItem",
1845
+ "name": "Accordion",
1725
1846
  "declaration": {
1726
- "name": "AccordionItem",
1727
- "module": "src/accordion-item/accordion-item.ts"
1847
+ "name": "Accordion",
1848
+ "module": "src/accordion/accordion.ts"
1728
1849
  }
1729
1850
  },
1730
1851
  {
1731
1852
  "kind": "js",
1732
- "name": "foundationAccordionItemShadowOptions",
1853
+ "name": "foundationAccordionShadowOptions",
1733
1854
  "declaration": {
1734
- "name": "foundationAccordionItemShadowOptions",
1735
- "module": "src/accordion-item/accordion-item.ts"
1855
+ "name": "foundationAccordionShadowOptions",
1856
+ "module": "src/accordion/accordion.ts"
1736
1857
  }
1737
1858
  },
1738
1859
  {
1739
1860
  "kind": "js",
1740
- "name": "defaultAccordionItemConfig",
1861
+ "name": "defaultAccordionConfig",
1741
1862
  "declaration": {
1742
- "name": "defaultAccordionItemConfig",
1743
- "module": "src/accordion-item/accordion-item.ts"
1863
+ "name": "defaultAccordionConfig",
1864
+ "module": "src/accordion/accordion.ts"
1744
1865
  }
1745
1866
  },
1746
1867
  {
1747
1868
  "kind": "js",
1748
- "name": "foundationAccordionItem",
1869
+ "name": "foundationAccordion",
1749
1870
  "declaration": {
1750
- "name": "foundationAccordionItem",
1751
- "module": "src/accordion-item/accordion-item.ts"
1871
+ "name": "foundationAccordion",
1872
+ "module": "src/accordion/accordion.ts"
1752
1873
  }
1753
1874
  }
1754
1875
  ]
1755
1876
  },
1756
1877
  {
1757
1878
  "kind": "javascript-module",
1758
- "path": "src/accordion-item/index.ts",
1879
+ "path": "src/accordion/index.ts",
1759
1880
  "declarations": [],
1760
1881
  "exports": [
1761
1882
  {
@@ -1763,7 +1884,7 @@
1763
1884
  "name": "*",
1764
1885
  "declaration": {
1765
1886
  "name": "*",
1766
- "package": "./accordion-item.template"
1887
+ "package": "./accordion.template"
1767
1888
  }
1768
1889
  },
1769
1890
  {
@@ -1771,7 +1892,7 @@
1771
1892
  "name": "*",
1772
1893
  "declaration": {
1773
1894
  "name": "*",
1774
- "package": "./accordion-item.styles"
1895
+ "package": "./accordion.styles"
1775
1896
  }
1776
1897
  },
1777
1898
  {
@@ -1779,7 +1900,7 @@
1779
1900
  "name": "*",
1780
1901
  "declaration": {
1781
1902
  "name": "*",
1782
- "package": "./accordion-item"
1903
+ "package": "./accordion"
1783
1904
  }
1784
1905
  }
1785
1906
  ]
@@ -1817,11 +1938,11 @@
1817
1938
  },
1818
1939
  {
1819
1940
  "kind": "javascript-module",
1820
- "path": "src/accordion/accordion.styles.ts",
1941
+ "path": "src/accordion-item/accordion-item.styles.ts",
1821
1942
  "declarations": [
1822
1943
  {
1823
1944
  "kind": "function",
1824
- "name": "foundationAccordionStyles",
1945
+ "name": "foundationAccordionItemStyles",
1825
1946
  "return": {
1826
1947
  "type": {
1827
1948
  "text": "ElementStyles"
@@ -1846,24 +1967,24 @@
1846
1967
  "exports": [
1847
1968
  {
1848
1969
  "kind": "js",
1849
- "name": "foundationAccordionStyles",
1970
+ "name": "foundationAccordionItemStyles",
1850
1971
  "declaration": {
1851
- "name": "foundationAccordionStyles",
1852
- "module": "src/accordion/accordion.styles.ts"
1972
+ "name": "foundationAccordionItemStyles",
1973
+ "module": "src/accordion-item/accordion-item.styles.ts"
1853
1974
  }
1854
1975
  }
1855
1976
  ]
1856
1977
  },
1857
1978
  {
1858
1979
  "kind": "javascript-module",
1859
- "path": "src/accordion/accordion.template.ts",
1980
+ "path": "src/accordion-item/accordion-item.template.ts",
1860
1981
  "declarations": [
1861
1982
  {
1862
1983
  "kind": "function",
1863
- "name": "foundationAccordionTemplate",
1984
+ "name": "foundationAccordionItemTemplate",
1864
1985
  "return": {
1865
1986
  "type": {
1866
- "text": "ViewTemplate<Accordion>"
1987
+ "text": "ViewTemplate<AccordionItem>"
1867
1988
  }
1868
1989
  },
1869
1990
  "parameters": [
@@ -1885,345 +2006,224 @@
1885
2006
  "exports": [
1886
2007
  {
1887
2008
  "kind": "js",
1888
- "name": "foundationAccordionTemplate",
2009
+ "name": "foundationAccordionItemTemplate",
1889
2010
  "declaration": {
1890
- "name": "foundationAccordionTemplate",
1891
- "module": "src/accordion/accordion.template.ts"
2011
+ "name": "foundationAccordionItemTemplate",
2012
+ "module": "src/accordion-item/accordion-item.template.ts"
1892
2013
  }
1893
2014
  }
1894
2015
  ]
1895
2016
  },
1896
2017
  {
1897
2018
  "kind": "javascript-module",
1898
- "path": "src/accordion/accordion.ts",
2019
+ "path": "src/accordion-item/accordion-item.ts",
1899
2020
  "declarations": [
1900
2021
  {
1901
2022
  "kind": "class",
1902
2023
  "description": "",
1903
- "name": "Accordion",
2024
+ "name": "AccordionItem",
1904
2025
  "superclass": {
1905
- "name": "FASTAccordion",
1906
- "package": "@microsoft/fast-foundation"
2026
+ "name": "FASTAccordionItem",
2027
+ "package": "@microsoft/fast-components"
1907
2028
  },
1908
- "tagName": "%%prefix%%-accordion",
2029
+ "tagName": "%%prefix%%-accordion-item",
1909
2030
  "customElement": true,
1910
2031
  "attributes": [
1911
2032
  {
1912
- "name": "expand-mode",
2033
+ "name": "heading-level",
1913
2034
  "type": {
1914
- "text": "AccordionExpandMode"
2035
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1915
2036
  },
1916
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1917
- "fieldName": "expandmode",
2037
+ "default": "2",
2038
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2039
+ "fieldName": "headinglevel",
1918
2040
  "inheritedFrom": {
1919
- "name": "Accordion",
1920
- "module": "src/accordion/accordion.ts"
2041
+ "name": "AccordionItem",
2042
+ "module": "src/accordion-item/accordion-item.ts"
2043
+ }
2044
+ },
2045
+ {
2046
+ "type": {
2047
+ "text": "boolean"
2048
+ },
2049
+ "default": "false",
2050
+ "description": "Expands or collapses the item.",
2051
+ "fieldName": "expanded",
2052
+ "inheritedFrom": {
2053
+ "name": "AccordionItem",
2054
+ "module": "src/accordion-item/accordion-item.ts"
2055
+ }
2056
+ },
2057
+ {
2058
+ "name": "id",
2059
+ "type": {
2060
+ "text": "string"
2061
+ },
2062
+ "description": "The item ID",
2063
+ "fieldName": "id",
2064
+ "inheritedFrom": {
2065
+ "name": "AccordionItem",
2066
+ "module": "src/accordion-item/accordion-item.ts"
1921
2067
  }
1922
2068
  }
1923
2069
  ],
1924
2070
  "members": [
1925
2071
  {
1926
2072
  "kind": "field",
1927
- "name": "expandmode",
2073
+ "name": "headinglevel",
1928
2074
  "type": {
1929
- "text": "AccordionExpandMode"
2075
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1930
2076
  },
1931
2077
  "privacy": "public",
1932
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2078
+ "default": "2",
2079
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1933
2080
  "inheritedFrom": {
1934
- "name": "Accordion",
1935
- "module": "src/accordion/accordion.ts"
2081
+ "name": "AccordionItem",
2082
+ "module": "src/accordion-item/accordion-item.ts"
1936
2083
  }
1937
2084
  },
1938
2085
  {
1939
2086
  "kind": "field",
1940
- "name": "activeid",
2087
+ "name": "expanded",
1941
2088
  "type": {
1942
- "text": "string | null"
2089
+ "text": "boolean"
1943
2090
  },
1944
- "privacy": "private",
2091
+ "privacy": "public",
2092
+ "default": "false",
2093
+ "description": "Expands or collapses the item.",
1945
2094
  "inheritedFrom": {
1946
- "name": "Accordion",
1947
- "module": "src/accordion/accordion.ts"
2095
+ "name": "AccordionItem",
2096
+ "module": "src/accordion-item/accordion-item.ts"
1948
2097
  }
1949
2098
  },
1950
2099
  {
1951
2100
  "kind": "field",
1952
- "name": "activeItemIndex",
2101
+ "name": "id",
1953
2102
  "type": {
1954
- "text": "number"
2103
+ "text": "string"
1955
2104
  },
1956
- "privacy": "private",
1957
- "default": "0",
2105
+ "privacy": "public",
2106
+ "description": "The item ID",
1958
2107
  "inheritedFrom": {
1959
- "name": "Accordion",
1960
- "module": "src/accordion/accordion.ts"
2108
+ "name": "AccordionItem",
2109
+ "module": "src/accordion-item/accordion-item.ts"
1961
2110
  }
1962
2111
  },
1963
2112
  {
1964
2113
  "kind": "field",
1965
- "name": "accordionIds",
1966
- "type": {
1967
- "text": "Array<string | null>"
1968
- },
2114
+ "name": "change",
1969
2115
  "privacy": "private",
1970
2116
  "inheritedFrom": {
1971
- "name": "Accordion",
1972
- "module": "src/accordion/accordion.ts"
2117
+ "name": "AccordionItem",
2118
+ "module": "src/accordion-item/accordion-item.ts"
1973
2119
  }
1974
2120
  },
1975
2121
  {
1976
2122
  "kind": "field",
1977
- "name": "change",
2123
+ "name": "_presentation",
2124
+ "type": {
2125
+ "text": "ComponentPresentation | null | undefined"
2126
+ },
1978
2127
  "privacy": "private",
2128
+ "default": "void 0",
1979
2129
  "inheritedFrom": {
1980
- "name": "Accordion",
1981
- "module": "src/accordion/accordion.ts"
2130
+ "name": "FoundationElement",
2131
+ "module": "src/foundation-element/foundation-element.ts"
1982
2132
  }
1983
2133
  },
1984
2134
  {
1985
- "kind": "method",
1986
- "name": "findExpandedItem",
1987
- "privacy": "private",
1988
- "return": {
1989
- "type": {
1990
- "text": "AccordionItem | null"
1991
- }
2135
+ "kind": "field",
2136
+ "name": "$presentation",
2137
+ "type": {
2138
+ "text": "ComponentPresentation | null"
1992
2139
  },
2140
+ "privacy": "public",
2141
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1993
2142
  "inheritedFrom": {
1994
- "name": "Accordion",
1995
- "module": "src/accordion/accordion.ts"
2143
+ "name": "FoundationElement",
2144
+ "module": "src/foundation-element/foundation-element.ts"
1996
2145
  }
1997
2146
  },
1998
2147
  {
1999
2148
  "kind": "field",
2000
- "name": "setItems",
2001
- "privacy": "private",
2149
+ "name": "template",
2150
+ "type": {
2151
+ "text": "ElementViewTemplate | void | null"
2152
+ },
2153
+ "privacy": "public",
2154
+ "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.",
2002
2155
  "inheritedFrom": {
2003
- "name": "Accordion",
2004
- "module": "src/accordion/accordion.ts"
2156
+ "name": "FoundationElement",
2157
+ "module": "src/foundation-element/foundation-element.ts"
2005
2158
  }
2006
2159
  },
2007
2160
  {
2008
2161
  "kind": "method",
2009
- "name": "resetItems",
2010
- "privacy": "private",
2162
+ "name": "templateChanged",
2163
+ "privacy": "protected",
2011
2164
  "return": {
2012
2165
  "type": {
2013
2166
  "text": "void"
2014
2167
  }
2015
2168
  },
2016
2169
  "inheritedFrom": {
2017
- "name": "Accordion",
2018
- "module": "src/accordion/accordion.ts"
2019
- }
2020
- },
2021
- {
2022
- "kind": "field",
2023
- "name": "removeItemListeners",
2024
- "privacy": "private",
2025
- "inheritedFrom": {
2026
- "name": "Accordion",
2027
- "module": "src/accordion/accordion.ts"
2170
+ "name": "FoundationElement",
2171
+ "module": "src/foundation-element/foundation-element.ts"
2028
2172
  }
2029
2173
  },
2030
2174
  {
2031
2175
  "kind": "field",
2032
- "name": "activeItemChange",
2033
- "privacy": "private",
2176
+ "name": "styles",
2177
+ "type": {
2178
+ "text": "ElementStyles | void | null"
2179
+ },
2180
+ "privacy": "public",
2181
+ "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.",
2034
2182
  "inheritedFrom": {
2035
- "name": "Accordion",
2036
- "module": "src/accordion/accordion.ts"
2183
+ "name": "FoundationElement",
2184
+ "module": "src/foundation-element/foundation-element.ts"
2037
2185
  }
2038
2186
  },
2039
2187
  {
2040
2188
  "kind": "method",
2041
- "name": "getItemIds",
2042
- "privacy": "private",
2189
+ "name": "stylesChanged",
2190
+ "privacy": "protected",
2043
2191
  "return": {
2044
2192
  "type": {
2045
- "text": "Array<string | null>"
2193
+ "text": "void"
2046
2194
  }
2047
2195
  },
2048
2196
  "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2197
+ "name": "FoundationElement",
2198
+ "module": "src/foundation-element/foundation-element.ts"
2051
2199
  }
2052
2200
  },
2053
2201
  {
2054
2202
  "kind": "method",
2055
- "name": "isSingleExpandMode",
2056
- "privacy": "private",
2203
+ "name": "compose",
2204
+ "privacy": "public",
2205
+ "static": true,
2057
2206
  "return": {
2058
2207
  "type": {
2059
- "text": "boolean"
2208
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2060
2209
  }
2061
2210
  },
2062
- "inheritedFrom": {
2063
- "name": "Accordion",
2064
- "module": "src/accordion/accordion.ts"
2065
- }
2066
- },
2067
- {
2068
- "kind": "field",
2069
- "name": "handleItemKeyDown",
2070
- "privacy": "private",
2071
- "inheritedFrom": {
2072
- "name": "Accordion",
2073
- "module": "src/accordion/accordion.ts"
2074
- }
2075
- },
2076
- {
2077
- "kind": "field",
2078
- "name": "handleItemFocus",
2079
- "privacy": "private",
2080
- "inheritedFrom": {
2081
- "name": "Accordion",
2082
- "module": "src/accordion/accordion.ts"
2083
- }
2084
- },
2085
- {
2086
- "kind": "method",
2087
- "name": "adjust",
2088
- "privacy": "private",
2089
- "return": {
2090
- "type": {
2091
- "text": "void"
2092
- }
2093
- },
2094
- "parameters": [
2095
- {
2096
- "name": "adjustment",
2097
- "type": {
2098
- "text": "number"
2099
- }
2100
- }
2101
- ],
2102
- "inheritedFrom": {
2103
- "name": "Accordion",
2104
- "module": "src/accordion/accordion.ts"
2105
- }
2106
- },
2107
- {
2108
- "kind": "method",
2109
- "name": "focusItem",
2110
- "privacy": "private",
2111
- "return": {
2112
- "type": {
2113
- "text": "void"
2114
- }
2115
- },
2116
- "inheritedFrom": {
2117
- "name": "Accordion",
2118
- "module": "src/accordion/accordion.ts"
2119
- }
2120
- },
2121
- {
2122
- "kind": "field",
2123
- "name": "_presentation",
2124
- "type": {
2125
- "text": "ComponentPresentation | null | undefined"
2126
- },
2127
- "privacy": "private",
2128
- "default": "void 0",
2129
- "inheritedFrom": {
2130
- "name": "FoundationElement",
2131
- "module": "src/foundation-element/foundation-element.ts"
2132
- }
2133
- },
2134
- {
2135
- "kind": "field",
2136
- "name": "$presentation",
2137
- "type": {
2138
- "text": "ComponentPresentation | null"
2139
- },
2140
- "privacy": "public",
2141
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2142
- "inheritedFrom": {
2143
- "name": "FoundationElement",
2144
- "module": "src/foundation-element/foundation-element.ts"
2145
- }
2146
- },
2147
- {
2148
- "kind": "field",
2149
- "name": "template",
2150
- "type": {
2151
- "text": "ElementViewTemplate | void | null"
2152
- },
2153
- "privacy": "public",
2154
- "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.",
2155
- "inheritedFrom": {
2156
- "name": "FoundationElement",
2157
- "module": "src/foundation-element/foundation-element.ts"
2158
- }
2159
- },
2160
- {
2161
- "kind": "method",
2162
- "name": "templateChanged",
2163
- "privacy": "protected",
2164
- "return": {
2165
- "type": {
2166
- "text": "void"
2167
- }
2168
- },
2169
- "inheritedFrom": {
2170
- "name": "FoundationElement",
2171
- "module": "src/foundation-element/foundation-element.ts"
2172
- }
2173
- },
2174
- {
2175
- "kind": "field",
2176
- "name": "styles",
2177
- "type": {
2178
- "text": "ElementStyles | void | null"
2179
- },
2180
- "privacy": "public",
2181
- "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.",
2182
- "inheritedFrom": {
2183
- "name": "FoundationElement",
2184
- "module": "src/foundation-element/foundation-element.ts"
2185
- }
2186
- },
2187
- {
2188
- "kind": "method",
2189
- "name": "stylesChanged",
2190
- "privacy": "protected",
2191
- "return": {
2192
- "type": {
2193
- "text": "void"
2194
- }
2195
- },
2196
- "inheritedFrom": {
2197
- "name": "FoundationElement",
2198
- "module": "src/foundation-element/foundation-element.ts"
2199
- }
2200
- },
2201
- {
2202
- "kind": "method",
2203
- "name": "compose",
2204
- "privacy": "public",
2205
- "static": true,
2206
- "return": {
2207
- "type": {
2208
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2209
- }
2210
- },
2211
- "parameters": [
2212
- {
2213
- "name": "this",
2214
- "type": {
2215
- "text": "K"
2216
- }
2217
- },
2218
- {
2219
- "name": "elementDefinition",
2220
- "type": {
2221
- "text": "T"
2222
- },
2223
- "description": "The definition of the element to create the registry\nfunction for."
2224
- }
2225
- ],
2226
- "description": "Defines an element registry function with a set of element definition defaults.",
2211
+ "parameters": [
2212
+ {
2213
+ "name": "this",
2214
+ "type": {
2215
+ "text": "K"
2216
+ }
2217
+ },
2218
+ {
2219
+ "name": "elementDefinition",
2220
+ "type": {
2221
+ "text": "T"
2222
+ },
2223
+ "description": "The definition of the element to create the registry\nfunction for."
2224
+ }
2225
+ ],
2226
+ "description": "Defines an element registry function with a set of element definition defaults.",
2227
2227
  "inheritedFrom": {
2228
2228
  "name": "FoundationElement",
2229
2229
  "module": "src/foundation-element/foundation-element.ts"
@@ -2232,18 +2232,18 @@
2232
2232
  ],
2233
2233
  "events": [
2234
2234
  {
2235
- "description": "Fires a custom 'change' event when the active item changes",
2235
+ "description": "Fires a custom 'change' event when the button is invoked",
2236
2236
  "name": "change",
2237
2237
  "inheritedFrom": {
2238
- "name": "Accordion",
2239
- "module": "src/accordion/accordion.ts"
2238
+ "name": "AccordionItem",
2239
+ "module": "src/accordion-item/accordion-item.ts"
2240
2240
  }
2241
2241
  }
2242
2242
  ]
2243
2243
  },
2244
2244
  {
2245
2245
  "kind": "variable",
2246
- "name": "foundationAccordionShadowOptions",
2246
+ "name": "foundationAccordionItemShadowOptions",
2247
2247
  "type": {
2248
2248
  "text": "ShadowRootInit"
2249
2249
  },
@@ -2251,57 +2251,57 @@
2251
2251
  },
2252
2252
  {
2253
2253
  "kind": "variable",
2254
- "name": "defaultAccordionConfig",
2254
+ "name": "defaultAccordionItemConfig",
2255
2255
  "type": {
2256
2256
  "text": "object"
2257
2257
  },
2258
- "default": "{}"
2258
+ "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}"
2259
2259
  },
2260
2260
  {
2261
2261
  "kind": "variable",
2262
- "name": "foundationAccordion",
2263
- "description": "The Foundation Accordion",
2262
+ "name": "foundationAccordionItem",
2263
+ "description": "The Foundation Accordion Item",
2264
2264
  "privacy": "public"
2265
2265
  }
2266
2266
  ],
2267
2267
  "exports": [
2268
2268
  {
2269
2269
  "kind": "js",
2270
- "name": "Accordion",
2270
+ "name": "AccordionItem",
2271
2271
  "declaration": {
2272
- "name": "Accordion",
2273
- "module": "src/accordion/accordion.ts"
2272
+ "name": "AccordionItem",
2273
+ "module": "src/accordion-item/accordion-item.ts"
2274
2274
  }
2275
2275
  },
2276
2276
  {
2277
2277
  "kind": "js",
2278
- "name": "foundationAccordionShadowOptions",
2278
+ "name": "foundationAccordionItemShadowOptions",
2279
2279
  "declaration": {
2280
- "name": "foundationAccordionShadowOptions",
2281
- "module": "src/accordion/accordion.ts"
2280
+ "name": "foundationAccordionItemShadowOptions",
2281
+ "module": "src/accordion-item/accordion-item.ts"
2282
2282
  }
2283
2283
  },
2284
2284
  {
2285
2285
  "kind": "js",
2286
- "name": "defaultAccordionConfig",
2286
+ "name": "defaultAccordionItemConfig",
2287
2287
  "declaration": {
2288
- "name": "defaultAccordionConfig",
2289
- "module": "src/accordion/accordion.ts"
2288
+ "name": "defaultAccordionItemConfig",
2289
+ "module": "src/accordion-item/accordion-item.ts"
2290
2290
  }
2291
2291
  },
2292
2292
  {
2293
2293
  "kind": "js",
2294
- "name": "foundationAccordion",
2294
+ "name": "foundationAccordionItem",
2295
2295
  "declaration": {
2296
- "name": "foundationAccordion",
2297
- "module": "src/accordion/accordion.ts"
2296
+ "name": "foundationAccordionItem",
2297
+ "module": "src/accordion-item/accordion-item.ts"
2298
2298
  }
2299
2299
  }
2300
2300
  ]
2301
2301
  },
2302
2302
  {
2303
2303
  "kind": "javascript-module",
2304
- "path": "src/accordion/index.ts",
2304
+ "path": "src/accordion-item/index.ts",
2305
2305
  "declarations": [],
2306
2306
  "exports": [
2307
2307
  {
@@ -2309,7 +2309,7 @@
2309
2309
  "name": "*",
2310
2310
  "declaration": {
2311
2311
  "name": "*",
2312
- "package": "./accordion.template"
2312
+ "package": "./accordion-item.template"
2313
2313
  }
2314
2314
  },
2315
2315
  {
@@ -2317,7 +2317,7 @@
2317
2317
  "name": "*",
2318
2318
  "declaration": {
2319
2319
  "name": "*",
2320
- "package": "./accordion.styles"
2320
+ "package": "./accordion-item.styles"
2321
2321
  }
2322
2322
  },
2323
2323
  {
@@ -2325,7 +2325,7 @@
2325
2325
  "name": "*",
2326
2326
  "declaration": {
2327
2327
  "name": "*",
2328
- "package": "./accordion"
2328
+ "package": "./accordion-item"
2329
2329
  }
2330
2330
  }
2331
2331
  ]
@@ -2891,75 +2891,57 @@
2891
2891
  },
2892
2892
  {
2893
2893
  "kind": "javascript-module",
2894
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2894
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2895
2895
  "declarations": [
2896
2896
  {
2897
- "kind": "function",
2898
- "name": "foundationAiIndicatorStyles",
2899
- "return": {
2900
- "type": {
2901
- "text": "ElementStyles"
2902
- }
2903
- },
2904
- "parameters": [
2905
- {
2906
- "name": "context",
2907
- "type": {
2908
- "text": "ElementDefinitionContext"
2909
- }
2910
- },
2911
- {
2912
- "name": "definition",
2913
- "type": {
2914
- "text": "FoundationElementDefinition"
2915
- }
2916
- }
2917
- ]
2897
+ "kind": "variable",
2898
+ "name": "foundationAiCriteriaSearchStyles",
2899
+ "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2918
2900
  }
2919
2901
  ],
2920
2902
  "exports": [
2921
2903
  {
2922
2904
  "kind": "js",
2923
- "name": "foundationAiIndicatorStyles",
2905
+ "name": "foundationAiCriteriaSearchStyles",
2924
2906
  "declaration": {
2925
- "name": "foundationAiIndicatorStyles",
2926
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2907
+ "name": "foundationAiCriteriaSearchStyles",
2908
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2927
2909
  }
2928
2910
  }
2929
2911
  ]
2930
2912
  },
2931
2913
  {
2932
2914
  "kind": "javascript-module",
2933
- "path": "src/ai-indicator/ai-indicator.template.ts",
2915
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2934
2916
  "declarations": [
2935
2917
  {
2936
2918
  "kind": "variable",
2937
- "name": "foundationAiIndicatorTemplate",
2919
+ "name": "foundationAiCriteriaSearchTemplate",
2938
2920
  "type": {
2939
- "text": "ViewTemplate<AiIndicator>"
2921
+ "text": "ViewTemplate<AiCriteriaSearch>"
2940
2922
  },
2941
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2923
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2942
2924
  }
2943
2925
  ],
2944
2926
  "exports": [
2945
2927
  {
2946
2928
  "kind": "js",
2947
- "name": "foundationAiIndicatorTemplate",
2929
+ "name": "foundationAiCriteriaSearchTemplate",
2948
2930
  "declaration": {
2949
- "name": "foundationAiIndicatorTemplate",
2950
- "module": "src/ai-indicator/ai-indicator.template.ts"
2931
+ "name": "foundationAiCriteriaSearchTemplate",
2932
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2951
2933
  }
2952
2934
  }
2953
2935
  ]
2954
2936
  },
2955
2937
  {
2956
2938
  "kind": "javascript-module",
2957
- "path": "src/ai-indicator/ai-indicator.ts",
2939
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2958
2940
  "declarations": [
2959
2941
  {
2960
2942
  "kind": "class",
2961
- "description": "",
2962
- "name": "AiIndicator",
2943
+ "description": "Natural-language criteria search input with AI interpretation.",
2944
+ "name": "AiCriteriaSearch",
2963
2945
  "members": [
2964
2946
  {
2965
2947
  "kind": "field",
@@ -2970,31 +2952,38 @@
2970
2952
  },
2971
2953
  {
2972
2954
  "kind": "field",
2973
- "name": "status",
2955
+ "name": "placeholder",
2974
2956
  "type": {
2975
- "text": "AIStatus | null"
2957
+ "text": "string"
2976
2958
  },
2977
- "default": "null"
2959
+ "default": "'Describe your search criteria in natural language...'"
2978
2960
  },
2979
2961
  {
2980
2962
  "kind": "field",
2981
- "name": "open",
2963
+ "name": "disabled",
2982
2964
  "type": {
2983
2965
  "text": "boolean"
2966
+ }
2967
+ },
2968
+ {
2969
+ "kind": "field",
2970
+ "name": "mode",
2971
+ "type": {
2972
+ "text": "'append' | 'replace'"
2984
2973
  },
2985
- "default": "false"
2974
+ "default": "'replace'"
2986
2975
  },
2987
2976
  {
2988
2977
  "kind": "field",
2989
- "name": "state",
2978
+ "name": "inputValue",
2990
2979
  "type": {
2991
- "text": "AIIndicatorState"
2980
+ "text": "string"
2992
2981
  },
2993
- "default": "'none'"
2982
+ "default": "''"
2994
2983
  },
2995
2984
  {
2996
2985
  "kind": "field",
2997
- "name": "isInstalling",
2986
+ "name": "isInterpreting",
2998
2987
  "type": {
2999
2988
  "text": "boolean"
3000
2989
  },
@@ -3002,133 +2991,91 @@
3002
2991
  },
3003
2992
  {
3004
2993
  "kind": "field",
3005
- "name": "pollTimer",
2994
+ "name": "lastValidCriteria",
3006
2995
  "type": {
3007
- "text": "ReturnType<typeof setInterval> | null"
2996
+ "text": "string | null"
3008
2997
  },
3009
- "privacy": "private",
3010
2998
  "default": "null"
3011
2999
  },
3012
3000
  {
3013
3001
  "kind": "field",
3014
- "name": "clickOutside",
3015
- "privacy": "private"
3016
- },
3017
- {
3018
- "kind": "field",
3019
- "name": "chromeStatusLabel",
3002
+ "name": "fieldMetadata",
3020
3003
  "type": {
3021
- "text": "string | null"
3004
+ "text": "MetadataDetail[] | string[]"
3022
3005
  },
3023
- "readonly": true
3006
+ "default": "[]"
3024
3007
  },
3025
3008
  {
3026
3009
  "kind": "field",
3027
- "name": "canInstall",
3010
+ "name": "isRecording",
3028
3011
  "type": {
3029
3012
  "text": "boolean"
3030
3013
  },
3031
- "readonly": true
3014
+ "default": "false"
3032
3015
  },
3033
3016
  {
3034
3017
  "kind": "field",
3035
- "name": "isDownloading",
3018
+ "name": "textAreaRef",
3036
3019
  "type": {
3037
- "text": "boolean"
3020
+ "text": "HTMLTextAreaElement"
3038
3021
  },
3039
- "readonly": true
3022
+ "privacy": "public"
3040
3023
  },
3041
3024
  {
3042
- "kind": "method",
3043
- "name": "openChanged",
3044
- "return": {
3045
- "type": {
3046
- "text": "void"
3047
- }
3048
- }
3025
+ "kind": "field",
3026
+ "name": "stopRecording",
3027
+ "type": {
3028
+ "text": "(() => void) | null"
3029
+ },
3030
+ "privacy": "private",
3031
+ "default": "null"
3049
3032
  },
3050
3033
  {
3051
- "kind": "method",
3052
- "name": "handleClickOutside",
3034
+ "kind": "field",
3035
+ "name": "speechApplyDebounceTimer",
3036
+ "type": {
3037
+ "text": "ReturnType<typeof setTimeout> | null"
3038
+ },
3053
3039
  "privacy": "private",
3054
- "parameters": [
3055
- {
3056
- "name": "event",
3057
- "type": {
3058
- "text": "MouseEvent"
3059
- }
3060
- }
3061
- ]
3040
+ "default": "null"
3062
3041
  },
3063
3042
  {
3064
- "kind": "method",
3065
- "name": "toggleDropdown"
3043
+ "kind": "field",
3044
+ "name": "baseInputForAppend",
3045
+ "type": {
3046
+ "text": "string"
3047
+ },
3048
+ "privacy": "private",
3049
+ "default": "''"
3066
3050
  },
3067
3051
  {
3068
- "kind": "method",
3069
- "name": "refreshStatus",
3070
- "return": {
3071
- "type": {
3072
- "text": "Promise<void>"
3073
- }
3074
- }
3052
+ "kind": "field",
3053
+ "name": "speechAvailable",
3054
+ "type": {
3055
+ "text": "boolean"
3056
+ },
3057
+ "readonly": true
3075
3058
  },
3076
3059
  {
3077
3060
  "kind": "method",
3078
- "name": "deriveState",
3079
- "privacy": "private",
3080
- "return": {
3081
- "type": {
3082
- "text": "AIIndicatorState"
3083
- }
3084
- },
3085
- "parameters": [
3086
- {
3087
- "name": "s",
3088
- "type": {
3089
- "text": "AIStatus | null"
3090
- }
3091
- }
3092
- ]
3061
+ "name": "handleSubmit"
3093
3062
  },
3094
3063
  {
3095
3064
  "kind": "method",
3096
- "name": "maybeStartPolling",
3097
- "privacy": "private",
3098
- "return": {
3099
- "type": {
3100
- "text": "void"
3101
- }
3102
- }
3065
+ "name": "handleBlur"
3103
3066
  },
3104
3067
  {
3105
3068
  "kind": "method",
3106
- "name": "startPolling",
3107
- "privacy": "private",
3108
- "return": {
3109
- "type": {
3110
- "text": "void"
3111
- }
3112
- }
3069
+ "name": "clear"
3113
3070
  },
3114
3071
  {
3115
3072
  "kind": "method",
3116
- "name": "stopPolling",
3117
- "privacy": "private",
3118
- "return": {
3119
- "type": {
3120
- "text": "void"
3121
- }
3122
- }
3073
+ "name": "toggleSpeechInput"
3123
3074
  },
3124
3075
  {
3125
3076
  "kind": "method",
3126
- "name": "onInstall",
3127
- "return": {
3128
- "type": {
3129
- "text": "Promise<void>"
3130
- }
3131
- }
3077
+ "name": "clearSpeechApplyDebounce",
3078
+ "privacy": "private"
3132
3079
  },
3133
3080
  {
3134
3081
  "kind": "field",
@@ -3242,145 +3189,328 @@
3242
3189
  }
3243
3190
  }
3244
3191
  ],
3192
+ "events": [
3193
+ {
3194
+ "description": "Fired when interpreted criteria is applied or cleared",
3195
+ "name": "criteria-changed"
3196
+ },
3197
+ {
3198
+ "description": "Fired when interpreted criteria contains invalid clauses",
3199
+ "name": "validation-errors"
3200
+ }
3201
+ ],
3202
+ "attributes": [
3203
+ {
3204
+ "name": "placeholder",
3205
+ "type": {
3206
+ "text": "string"
3207
+ },
3208
+ "default": "'Describe your search criteria in natural language...'",
3209
+ "fieldName": "placeholder"
3210
+ },
3211
+ {
3212
+ "type": {
3213
+ "text": "boolean"
3214
+ },
3215
+ "fieldName": "disabled"
3216
+ },
3217
+ {
3218
+ "name": "mode",
3219
+ "type": {
3220
+ "text": "'append' | 'replace'"
3221
+ },
3222
+ "default": "'replace'",
3223
+ "fieldName": "mode"
3224
+ }
3225
+ ],
3245
3226
  "superclass": {
3246
3227
  "name": "FoundationElement",
3247
3228
  "package": "@microsoft/fast-foundation"
3248
3229
  },
3249
- "tagName": "%%prefix%%-ai-indicator",
3230
+ "tagName": "%%prefix%%-ai-criteria-search",
3250
3231
  "customElement": true
3251
3232
  },
3252
3233
  {
3253
3234
  "kind": "variable",
3254
- "name": "foundationAiIndicator"
3235
+ "name": "foundationAiCriteriaSearchShadowOptions",
3236
+ "type": {
3237
+ "text": "ShadowRootInit"
3238
+ },
3239
+ "default": "undefined"
3240
+ },
3241
+ {
3242
+ "kind": "variable",
3243
+ "name": "defaultAiCriteriaSearchConfig",
3244
+ "type": {
3245
+ "text": "object"
3246
+ },
3247
+ "default": "{}"
3248
+ },
3249
+ {
3250
+ "kind": "variable",
3251
+ "name": "foundationAiCriteriaSearch"
3255
3252
  }
3256
3253
  ],
3257
3254
  "exports": [
3258
3255
  {
3259
3256
  "kind": "js",
3260
- "name": "AiIndicator",
3257
+ "name": "AiCriteriaSearch",
3261
3258
  "declaration": {
3262
- "name": "AiIndicator",
3263
- "module": "src/ai-indicator/ai-indicator.ts"
3259
+ "name": "AiCriteriaSearch",
3260
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3264
3261
  }
3265
3262
  },
3266
3263
  {
3267
3264
  "kind": "js",
3268
- "name": "foundationAiIndicator",
3265
+ "name": "foundationAiCriteriaSearchShadowOptions",
3269
3266
  "declaration": {
3270
- "name": "foundationAiIndicator",
3271
- "module": "src/ai-indicator/ai-indicator.ts"
3267
+ "name": "foundationAiCriteriaSearchShadowOptions",
3268
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3269
+ }
3270
+ },
3271
+ {
3272
+ "kind": "js",
3273
+ "name": "defaultAiCriteriaSearchConfig",
3274
+ "declaration": {
3275
+ "name": "defaultAiCriteriaSearchConfig",
3276
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3277
+ }
3278
+ },
3279
+ {
3280
+ "kind": "js",
3281
+ "name": "foundationAiCriteriaSearch",
3282
+ "declaration": {
3283
+ "name": "foundationAiCriteriaSearch",
3284
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3272
3285
  }
3273
3286
  }
3274
3287
  ]
3275
3288
  },
3276
3289
  {
3277
3290
  "kind": "javascript-module",
3278
- "path": "src/ai-indicator/index.ts",
3291
+ "path": "src/ai-criteria-search/index.ts",
3279
3292
  "declarations": [],
3280
3293
  "exports": [
3281
3294
  {
3282
3295
  "kind": "js",
3283
- "name": "AiIndicator",
3296
+ "name": "AiCriteriaSearch",
3284
3297
  "declaration": {
3285
- "name": "AiIndicator",
3286
- "module": "./ai-indicator"
3298
+ "name": "AiCriteriaSearch",
3299
+ "module": "./ai-criteria-search"
3287
3300
  }
3288
3301
  },
3289
3302
  {
3290
3303
  "kind": "js",
3291
- "name": "foundationAiIndicator",
3304
+ "name": "defaultAiCriteriaSearchConfig",
3292
3305
  "declaration": {
3293
- "name": "foundationAiIndicator",
3294
- "module": "./ai-indicator"
3306
+ "name": "defaultAiCriteriaSearchConfig",
3307
+ "module": "./ai-criteria-search"
3295
3308
  }
3296
3309
  },
3297
3310
  {
3298
3311
  "kind": "js",
3299
- "name": "type",
3312
+ "name": "foundationAiCriteriaSearch",
3300
3313
  "declaration": {
3301
- "name": "type",
3302
- "module": "./ai-indicator"
3314
+ "name": "foundationAiCriteriaSearch",
3315
+ "module": "./ai-criteria-search"
3303
3316
  }
3304
3317
  },
3305
3318
  {
3306
3319
  "kind": "js",
3307
- "name": "AIIndicatorState",
3320
+ "name": "foundationAiCriteriaSearchShadowOptions",
3308
3321
  "declaration": {
3309
- "name": "AIIndicatorState",
3310
- "module": "./ai-indicator"
3322
+ "name": "foundationAiCriteriaSearchShadowOptions",
3323
+ "module": "./ai-criteria-search"
3311
3324
  }
3312
3325
  },
3313
3326
  {
3314
3327
  "kind": "js",
3315
- "name": "foundationAiIndicatorTemplate",
3328
+ "name": "foundationAiCriteriaSearchStyles",
3316
3329
  "declaration": {
3317
- "name": "foundationAiIndicatorTemplate",
3318
- "module": "./ai-indicator.template"
3330
+ "name": "foundationAiCriteriaSearchStyles",
3331
+ "module": "./ai-criteria-search.styles"
3319
3332
  }
3320
3333
  },
3321
3334
  {
3322
3335
  "kind": "js",
3323
- "name": "foundationAiIndicatorStyles",
3336
+ "name": "foundationAiCriteriaSearchTemplate",
3324
3337
  "declaration": {
3325
- "name": "foundationAiIndicatorStyles",
3326
- "module": "./ai-indicator.styles"
3338
+ "name": "foundationAiCriteriaSearchTemplate",
3339
+ "module": "./ai-criteria-search.template"
3340
+ }
3341
+ },
3342
+ {
3343
+ "kind": "js",
3344
+ "name": "*",
3345
+ "declaration": {
3346
+ "name": "*",
3347
+ "package": "./validation/criteria-ir"
3348
+ }
3349
+ },
3350
+ {
3351
+ "kind": "js",
3352
+ "name": "*",
3353
+ "declaration": {
3354
+ "name": "*",
3355
+ "package": "./validation/operator-map"
3356
+ }
3357
+ },
3358
+ {
3359
+ "kind": "js",
3360
+ "name": "*",
3361
+ "declaration": {
3362
+ "name": "*",
3363
+ "package": "./validation/schema-validator"
3327
3364
  }
3328
3365
  }
3329
3366
  ]
3330
3367
  },
3331
3368
  {
3332
3369
  "kind": "javascript-module",
3333
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3370
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3334
3371
  "declarations": [
3335
3372
  {
3336
- "kind": "variable",
3337
- "name": "foundationAiCriteriaSearchStyles",
3338
- "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
3373
+ "kind": "function",
3374
+ "name": "formatValidationErrors",
3375
+ "return": {
3376
+ "type": {
3377
+ "text": "string"
3378
+ }
3379
+ },
3380
+ "parameters": [
3381
+ {
3382
+ "name": "errors",
3383
+ "type": {
3384
+ "text": "ValidationError[]"
3385
+ }
3386
+ }
3387
+ ],
3388
+ "description": "Formats validation errors into a user-friendly message."
3389
+ },
3390
+ {
3391
+ "kind": "function",
3392
+ "name": "showCriteriaError",
3393
+ "return": {
3394
+ "type": {
3395
+ "text": "void"
3396
+ }
3397
+ },
3398
+ "parameters": [
3399
+ {
3400
+ "name": "title",
3401
+ "type": {
3402
+ "text": "string"
3403
+ },
3404
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3405
+ },
3406
+ {
3407
+ "name": "body",
3408
+ "type": {
3409
+ "text": "string"
3410
+ },
3411
+ "description": "Error message to display"
3412
+ },
3413
+ {
3414
+ "name": "tagName",
3415
+ "type": {
3416
+ "text": "string"
3417
+ },
3418
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3419
+ }
3420
+ ],
3421
+ "description": "Shows a criteria error as a toast notification."
3339
3422
  }
3340
3423
  ],
3341
3424
  "exports": [
3342
3425
  {
3343
3426
  "kind": "js",
3344
- "name": "foundationAiCriteriaSearchStyles",
3427
+ "name": "formatValidationErrors",
3345
3428
  "declaration": {
3346
- "name": "foundationAiCriteriaSearchStyles",
3347
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3429
+ "name": "formatValidationErrors",
3430
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3431
+ }
3432
+ },
3433
+ {
3434
+ "kind": "js",
3435
+ "name": "showCriteriaError",
3436
+ "declaration": {
3437
+ "name": "showCriteriaError",
3438
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3348
3439
  }
3349
3440
  }
3350
3441
  ]
3351
3442
  },
3352
3443
  {
3353
3444
  "kind": "javascript-module",
3354
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3445
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3446
+ "declarations": [
3447
+ {
3448
+ "kind": "function",
3449
+ "name": "foundationAiIndicatorStyles",
3450
+ "return": {
3451
+ "type": {
3452
+ "text": "ElementStyles"
3453
+ }
3454
+ },
3455
+ "parameters": [
3456
+ {
3457
+ "name": "context",
3458
+ "type": {
3459
+ "text": "ElementDefinitionContext"
3460
+ }
3461
+ },
3462
+ {
3463
+ "name": "definition",
3464
+ "type": {
3465
+ "text": "FoundationElementDefinition"
3466
+ }
3467
+ }
3468
+ ]
3469
+ }
3470
+ ],
3471
+ "exports": [
3472
+ {
3473
+ "kind": "js",
3474
+ "name": "foundationAiIndicatorStyles",
3475
+ "declaration": {
3476
+ "name": "foundationAiIndicatorStyles",
3477
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3478
+ }
3479
+ }
3480
+ ]
3481
+ },
3482
+ {
3483
+ "kind": "javascript-module",
3484
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3355
3485
  "declarations": [
3356
3486
  {
3357
3487
  "kind": "variable",
3358
- "name": "foundationAiCriteriaSearchTemplate",
3488
+ "name": "foundationAiIndicatorTemplate",
3359
3489
  "type": {
3360
- "text": "ViewTemplate<AiCriteriaSearch>"
3490
+ "text": "ViewTemplate<AiIndicator>"
3361
3491
  },
3362
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3492
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3363
3493
  }
3364
3494
  ],
3365
3495
  "exports": [
3366
3496
  {
3367
3497
  "kind": "js",
3368
- "name": "foundationAiCriteriaSearchTemplate",
3498
+ "name": "foundationAiIndicatorTemplate",
3369
3499
  "declaration": {
3370
- "name": "foundationAiCriteriaSearchTemplate",
3371
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3500
+ "name": "foundationAiIndicatorTemplate",
3501
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3372
3502
  }
3373
3503
  }
3374
3504
  ]
3375
3505
  },
3376
3506
  {
3377
3507
  "kind": "javascript-module",
3378
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3508
+ "path": "src/ai-indicator/ai-indicator.ts",
3379
3509
  "declarations": [
3380
3510
  {
3381
3511
  "kind": "class",
3382
- "description": "Natural-language criteria search input with AI interpretation.",
3383
- "name": "AiCriteriaSearch",
3512
+ "description": "",
3513
+ "name": "AiIndicator",
3384
3514
  "members": [
3385
3515
  {
3386
3516
  "kind": "field",
@@ -3391,38 +3521,31 @@
3391
3521
  },
3392
3522
  {
3393
3523
  "kind": "field",
3394
- "name": "placeholder",
3524
+ "name": "status",
3395
3525
  "type": {
3396
- "text": "string"
3526
+ "text": "AIStatus | null"
3397
3527
  },
3398
- "default": "'Describe your search criteria in natural language...'"
3528
+ "default": "null"
3399
3529
  },
3400
3530
  {
3401
3531
  "kind": "field",
3402
- "name": "disabled",
3532
+ "name": "open",
3403
3533
  "type": {
3404
3534
  "text": "boolean"
3405
- }
3406
- },
3407
- {
3408
- "kind": "field",
3409
- "name": "mode",
3410
- "type": {
3411
- "text": "'append' | 'replace'"
3412
3535
  },
3413
- "default": "'replace'"
3536
+ "default": "false"
3414
3537
  },
3415
3538
  {
3416
3539
  "kind": "field",
3417
- "name": "inputValue",
3540
+ "name": "state",
3418
3541
  "type": {
3419
- "text": "string"
3542
+ "text": "AIIndicatorState"
3420
3543
  },
3421
- "default": "''"
3544
+ "default": "'none'"
3422
3545
  },
3423
3546
  {
3424
3547
  "kind": "field",
3425
- "name": "isInterpreting",
3548
+ "name": "isInstalling",
3426
3549
  "type": {
3427
3550
  "text": "boolean"
3428
3551
  },
@@ -3430,91 +3553,133 @@
3430
3553
  },
3431
3554
  {
3432
3555
  "kind": "field",
3433
- "name": "lastValidCriteria",
3556
+ "name": "pollTimer",
3434
3557
  "type": {
3435
- "text": "string | null"
3558
+ "text": "ReturnType<typeof setInterval> | null"
3436
3559
  },
3560
+ "privacy": "private",
3437
3561
  "default": "null"
3438
3562
  },
3439
3563
  {
3440
3564
  "kind": "field",
3441
- "name": "fieldMetadata",
3442
- "type": {
3443
- "text": "MetadataDetail[] | string[]"
3444
- },
3445
- "default": "[]"
3565
+ "name": "clickOutside",
3566
+ "privacy": "private"
3446
3567
  },
3447
3568
  {
3448
3569
  "kind": "field",
3449
- "name": "isRecording",
3570
+ "name": "chromeStatusLabel",
3450
3571
  "type": {
3451
- "text": "boolean"
3572
+ "text": "string | null"
3452
3573
  },
3453
- "default": "false"
3574
+ "readonly": true
3454
3575
  },
3455
3576
  {
3456
3577
  "kind": "field",
3457
- "name": "textAreaRef",
3578
+ "name": "canInstall",
3458
3579
  "type": {
3459
- "text": "HTMLTextAreaElement"
3580
+ "text": "boolean"
3460
3581
  },
3461
- "privacy": "public"
3582
+ "readonly": true
3462
3583
  },
3463
3584
  {
3464
3585
  "kind": "field",
3465
- "name": "stopRecording",
3586
+ "name": "isDownloading",
3466
3587
  "type": {
3467
- "text": "(() => void) | null"
3588
+ "text": "boolean"
3468
3589
  },
3469
- "privacy": "private",
3470
- "default": "null"
3590
+ "readonly": true
3471
3591
  },
3472
3592
  {
3473
- "kind": "field",
3474
- "name": "speechApplyDebounceTimer",
3475
- "type": {
3476
- "text": "ReturnType<typeof setTimeout> | null"
3477
- },
3478
- "privacy": "private",
3479
- "default": "null"
3593
+ "kind": "method",
3594
+ "name": "openChanged",
3595
+ "return": {
3596
+ "type": {
3597
+ "text": "void"
3598
+ }
3599
+ }
3480
3600
  },
3481
3601
  {
3482
- "kind": "field",
3483
- "name": "baseInputForAppend",
3484
- "type": {
3485
- "text": "string"
3486
- },
3602
+ "kind": "method",
3603
+ "name": "handleClickOutside",
3487
3604
  "privacy": "private",
3488
- "default": "''"
3605
+ "parameters": [
3606
+ {
3607
+ "name": "event",
3608
+ "type": {
3609
+ "text": "MouseEvent"
3610
+ }
3611
+ }
3612
+ ]
3489
3613
  },
3490
3614
  {
3491
- "kind": "field",
3492
- "name": "speechAvailable",
3493
- "type": {
3494
- "text": "boolean"
3495
- },
3496
- "readonly": true
3615
+ "kind": "method",
3616
+ "name": "toggleDropdown"
3497
3617
  },
3498
3618
  {
3499
3619
  "kind": "method",
3500
- "name": "handleSubmit"
3620
+ "name": "refreshStatus",
3621
+ "return": {
3622
+ "type": {
3623
+ "text": "Promise<void>"
3624
+ }
3625
+ }
3626
+ },
3627
+ {
3628
+ "kind": "method",
3629
+ "name": "deriveState",
3630
+ "privacy": "private",
3631
+ "return": {
3632
+ "type": {
3633
+ "text": "AIIndicatorState"
3634
+ }
3635
+ },
3636
+ "parameters": [
3637
+ {
3638
+ "name": "s",
3639
+ "type": {
3640
+ "text": "AIStatus | null"
3641
+ }
3642
+ }
3643
+ ]
3501
3644
  },
3502
3645
  {
3503
3646
  "kind": "method",
3504
- "name": "handleBlur"
3647
+ "name": "maybeStartPolling",
3648
+ "privacy": "private",
3649
+ "return": {
3650
+ "type": {
3651
+ "text": "void"
3652
+ }
3653
+ }
3505
3654
  },
3506
3655
  {
3507
3656
  "kind": "method",
3508
- "name": "clear"
3657
+ "name": "startPolling",
3658
+ "privacy": "private",
3659
+ "return": {
3660
+ "type": {
3661
+ "text": "void"
3662
+ }
3663
+ }
3509
3664
  },
3510
3665
  {
3511
3666
  "kind": "method",
3512
- "name": "toggleSpeechInput"
3667
+ "name": "stopPolling",
3668
+ "privacy": "private",
3669
+ "return": {
3670
+ "type": {
3671
+ "text": "void"
3672
+ }
3673
+ }
3513
3674
  },
3514
3675
  {
3515
3676
  "kind": "method",
3516
- "name": "clearSpeechApplyDebounce",
3517
- "privacy": "private"
3677
+ "name": "onInstall",
3678
+ "return": {
3679
+ "type": {
3680
+ "text": "Promise<void>"
3681
+ }
3682
+ }
3518
3683
  },
3519
3684
  {
3520
3685
  "kind": "field",
@@ -3628,253 +3793,88 @@
3628
3793
  }
3629
3794
  }
3630
3795
  ],
3631
- "events": [
3632
- {
3633
- "description": "Fired when interpreted criteria is applied or cleared",
3634
- "name": "criteria-changed"
3635
- },
3636
- {
3637
- "description": "Fired when interpreted criteria contains invalid clauses",
3638
- "name": "validation-errors"
3639
- }
3640
- ],
3641
- "attributes": [
3642
- {
3643
- "name": "placeholder",
3644
- "type": {
3645
- "text": "string"
3646
- },
3647
- "default": "'Describe your search criteria in natural language...'",
3648
- "fieldName": "placeholder"
3649
- },
3650
- {
3651
- "type": {
3652
- "text": "boolean"
3653
- },
3654
- "fieldName": "disabled"
3655
- },
3656
- {
3657
- "name": "mode",
3658
- "type": {
3659
- "text": "'append' | 'replace'"
3660
- },
3661
- "default": "'replace'",
3662
- "fieldName": "mode"
3663
- }
3664
- ],
3665
3796
  "superclass": {
3666
3797
  "name": "FoundationElement",
3667
3798
  "package": "@microsoft/fast-foundation"
3668
3799
  },
3669
- "tagName": "%%prefix%%-ai-criteria-search",
3800
+ "tagName": "%%prefix%%-ai-indicator",
3670
3801
  "customElement": true
3671
3802
  },
3672
3803
  {
3673
3804
  "kind": "variable",
3674
- "name": "foundationAiCriteriaSearchShadowOptions",
3675
- "type": {
3676
- "text": "ShadowRootInit"
3677
- },
3678
- "default": "undefined"
3679
- },
3680
- {
3681
- "kind": "variable",
3682
- "name": "defaultAiCriteriaSearchConfig",
3683
- "type": {
3684
- "text": "object"
3685
- },
3686
- "default": "{}"
3687
- },
3688
- {
3689
- "kind": "variable",
3690
- "name": "foundationAiCriteriaSearch"
3805
+ "name": "foundationAiIndicator"
3691
3806
  }
3692
3807
  ],
3693
3808
  "exports": [
3694
3809
  {
3695
3810
  "kind": "js",
3696
- "name": "AiCriteriaSearch",
3697
- "declaration": {
3698
- "name": "AiCriteriaSearch",
3699
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3700
- }
3701
- },
3702
- {
3703
- "kind": "js",
3704
- "name": "foundationAiCriteriaSearchShadowOptions",
3705
- "declaration": {
3706
- "name": "foundationAiCriteriaSearchShadowOptions",
3707
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3708
- }
3709
- },
3710
- {
3711
- "kind": "js",
3712
- "name": "defaultAiCriteriaSearchConfig",
3811
+ "name": "AiIndicator",
3713
3812
  "declaration": {
3714
- "name": "defaultAiCriteriaSearchConfig",
3715
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3813
+ "name": "AiIndicator",
3814
+ "module": "src/ai-indicator/ai-indicator.ts"
3716
3815
  }
3717
3816
  },
3718
3817
  {
3719
3818
  "kind": "js",
3720
- "name": "foundationAiCriteriaSearch",
3819
+ "name": "foundationAiIndicator",
3721
3820
  "declaration": {
3722
- "name": "foundationAiCriteriaSearch",
3723
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3821
+ "name": "foundationAiIndicator",
3822
+ "module": "src/ai-indicator/ai-indicator.ts"
3724
3823
  }
3725
3824
  }
3726
3825
  ]
3727
3826
  },
3728
3827
  {
3729
3828
  "kind": "javascript-module",
3730
- "path": "src/ai-criteria-search/index.ts",
3829
+ "path": "src/ai-indicator/index.ts",
3731
3830
  "declarations": [],
3732
3831
  "exports": [
3733
3832
  {
3734
3833
  "kind": "js",
3735
- "name": "AiCriteriaSearch",
3736
- "declaration": {
3737
- "name": "AiCriteriaSearch",
3738
- "module": "./ai-criteria-search"
3739
- }
3740
- },
3741
- {
3742
- "kind": "js",
3743
- "name": "defaultAiCriteriaSearchConfig",
3744
- "declaration": {
3745
- "name": "defaultAiCriteriaSearchConfig",
3746
- "module": "./ai-criteria-search"
3747
- }
3748
- },
3749
- {
3750
- "kind": "js",
3751
- "name": "foundationAiCriteriaSearch",
3752
- "declaration": {
3753
- "name": "foundationAiCriteriaSearch",
3754
- "module": "./ai-criteria-search"
3755
- }
3756
- },
3757
- {
3758
- "kind": "js",
3759
- "name": "foundationAiCriteriaSearchShadowOptions",
3760
- "declaration": {
3761
- "name": "foundationAiCriteriaSearchShadowOptions",
3762
- "module": "./ai-criteria-search"
3763
- }
3764
- },
3765
- {
3766
- "kind": "js",
3767
- "name": "foundationAiCriteriaSearchStyles",
3768
- "declaration": {
3769
- "name": "foundationAiCriteriaSearchStyles",
3770
- "module": "./ai-criteria-search.styles"
3771
- }
3772
- },
3773
- {
3774
- "kind": "js",
3775
- "name": "foundationAiCriteriaSearchTemplate",
3834
+ "name": "AiIndicator",
3776
3835
  "declaration": {
3777
- "name": "foundationAiCriteriaSearchTemplate",
3778
- "module": "./ai-criteria-search.template"
3836
+ "name": "AiIndicator",
3837
+ "module": "./ai-indicator"
3779
3838
  }
3780
3839
  },
3781
3840
  {
3782
3841
  "kind": "js",
3783
- "name": "*",
3842
+ "name": "foundationAiIndicator",
3784
3843
  "declaration": {
3785
- "name": "*",
3786
- "package": "./validation/criteria-ir"
3844
+ "name": "foundationAiIndicator",
3845
+ "module": "./ai-indicator"
3787
3846
  }
3788
3847
  },
3789
3848
  {
3790
3849
  "kind": "js",
3791
- "name": "*",
3850
+ "name": "type",
3792
3851
  "declaration": {
3793
- "name": "*",
3794
- "package": "./validation/operator-map"
3852
+ "name": "type",
3853
+ "module": "./ai-indicator"
3795
3854
  }
3796
3855
  },
3797
3856
  {
3798
3857
  "kind": "js",
3799
- "name": "*",
3858
+ "name": "AIIndicatorState",
3800
3859
  "declaration": {
3801
- "name": "*",
3802
- "package": "./validation/schema-validator"
3860
+ "name": "AIIndicatorState",
3861
+ "module": "./ai-indicator"
3803
3862
  }
3804
- }
3805
- ]
3806
- },
3807
- {
3808
- "kind": "javascript-module",
3809
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3810
- "declarations": [
3811
- {
3812
- "kind": "function",
3813
- "name": "formatValidationErrors",
3814
- "return": {
3815
- "type": {
3816
- "text": "string"
3817
- }
3818
- },
3819
- "parameters": [
3820
- {
3821
- "name": "errors",
3822
- "type": {
3823
- "text": "ValidationError[]"
3824
- }
3825
- }
3826
- ],
3827
- "description": "Formats validation errors into a user-friendly message."
3828
3863
  },
3829
- {
3830
- "kind": "function",
3831
- "name": "showCriteriaError",
3832
- "return": {
3833
- "type": {
3834
- "text": "void"
3835
- }
3836
- },
3837
- "parameters": [
3838
- {
3839
- "name": "title",
3840
- "type": {
3841
- "text": "string"
3842
- },
3843
- "description": "Notification title (e.g. \"Criteria validation error\")"
3844
- },
3845
- {
3846
- "name": "body",
3847
- "type": {
3848
- "text": "string"
3849
- },
3850
- "description": "Error message to display"
3851
- },
3852
- {
3853
- "name": "tagName",
3854
- "type": {
3855
- "text": "string"
3856
- },
3857
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3858
- }
3859
- ],
3860
- "description": "Shows a criteria error as a toast notification."
3861
- }
3862
- ],
3863
- "exports": [
3864
3864
  {
3865
3865
  "kind": "js",
3866
- "name": "formatValidationErrors",
3866
+ "name": "foundationAiIndicatorTemplate",
3867
3867
  "declaration": {
3868
- "name": "formatValidationErrors",
3869
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3868
+ "name": "foundationAiIndicatorTemplate",
3869
+ "module": "./ai-indicator.template"
3870
3870
  }
3871
3871
  },
3872
3872
  {
3873
3873
  "kind": "js",
3874
- "name": "showCriteriaError",
3874
+ "name": "foundationAiIndicatorStyles",
3875
3875
  "declaration": {
3876
- "name": "showCriteriaError",
3877
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3876
+ "name": "foundationAiIndicatorStyles",
3877
+ "module": "./ai-indicator.styles"
3878
3878
  }
3879
3879
  }
3880
3880
  ]