@genesislcap/foundation-ui 15.28.1 → 15.28.2-alpha-43a95ab92.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1495,42 +1495,11 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/_config/index.ts",
1499
- "declarations": [],
1500
- "exports": [
1501
- {
1502
- "kind": "js",
1503
- "name": "*",
1504
- "declaration": {
1505
- "name": "*",
1506
- "package": "./styles"
1507
- }
1508
- },
1509
- {
1510
- "kind": "js",
1511
- "name": "*",
1512
- "declaration": {
1513
- "name": "*",
1514
- "package": "./tokens"
1515
- }
1516
- },
1517
- {
1518
- "kind": "js",
1519
- "name": "*",
1520
- "declaration": {
1521
- "name": "*",
1522
- "package": "./values"
1523
- }
1524
- }
1525
- ]
1526
- },
1527
- {
1528
- "kind": "javascript-module",
1529
- "path": "src/accordion/accordion.styles.ts",
1498
+ "path": "src/accordion-item/accordion-item.styles.ts",
1530
1499
  "declarations": [
1531
1500
  {
1532
1501
  "kind": "function",
1533
- "name": "foundationAccordionStyles",
1502
+ "name": "foundationAccordionItemStyles",
1534
1503
  "return": {
1535
1504
  "type": {
1536
1505
  "text": "ElementStyles"
@@ -1555,24 +1524,24 @@
1555
1524
  "exports": [
1556
1525
  {
1557
1526
  "kind": "js",
1558
- "name": "foundationAccordionStyles",
1527
+ "name": "foundationAccordionItemStyles",
1559
1528
  "declaration": {
1560
- "name": "foundationAccordionStyles",
1561
- "module": "src/accordion/accordion.styles.ts"
1529
+ "name": "foundationAccordionItemStyles",
1530
+ "module": "src/accordion-item/accordion-item.styles.ts"
1562
1531
  }
1563
1532
  }
1564
1533
  ]
1565
1534
  },
1566
1535
  {
1567
1536
  "kind": "javascript-module",
1568
- "path": "src/accordion/accordion.template.ts",
1537
+ "path": "src/accordion-item/accordion-item.template.ts",
1569
1538
  "declarations": [
1570
1539
  {
1571
1540
  "kind": "function",
1572
- "name": "foundationAccordionTemplate",
1541
+ "name": "foundationAccordionItemTemplate",
1573
1542
  "return": {
1574
1543
  "type": {
1575
- "text": "ViewTemplate<Accordion>"
1544
+ "text": "ViewTemplate<AccordionItem>"
1576
1545
  }
1577
1546
  },
1578
1547
  "parameters": [
@@ -1594,365 +1563,244 @@
1594
1563
  "exports": [
1595
1564
  {
1596
1565
  "kind": "js",
1597
- "name": "foundationAccordionTemplate",
1566
+ "name": "foundationAccordionItemTemplate",
1598
1567
  "declaration": {
1599
- "name": "foundationAccordionTemplate",
1600
- "module": "src/accordion/accordion.template.ts"
1568
+ "name": "foundationAccordionItemTemplate",
1569
+ "module": "src/accordion-item/accordion-item.template.ts"
1601
1570
  }
1602
1571
  }
1603
1572
  ]
1604
1573
  },
1605
1574
  {
1606
1575
  "kind": "javascript-module",
1607
- "path": "src/accordion/accordion.ts",
1576
+ "path": "src/accordion-item/accordion-item.ts",
1608
1577
  "declarations": [
1609
1578
  {
1610
1579
  "kind": "class",
1611
1580
  "description": "",
1612
- "name": "Accordion",
1581
+ "name": "AccordionItem",
1613
1582
  "superclass": {
1614
- "name": "FASTAccordion",
1615
- "package": "@microsoft/fast-foundation"
1583
+ "name": "FASTAccordionItem",
1584
+ "package": "@microsoft/fast-components"
1616
1585
  },
1617
- "tagName": "%%prefix%%-accordion",
1586
+ "tagName": "%%prefix%%-accordion-item",
1618
1587
  "customElement": true,
1619
1588
  "attributes": [
1620
1589
  {
1621
- "name": "expand-mode",
1590
+ "name": "heading-level",
1622
1591
  "type": {
1623
- "text": "AccordionExpandMode"
1592
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1624
1593
  },
1625
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1626
- "fieldName": "expandmode",
1594
+ "default": "2",
1595
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1596
+ "fieldName": "headinglevel",
1627
1597
  "inheritedFrom": {
1628
- "name": "Accordion",
1629
- "module": "src/accordion/accordion.ts"
1598
+ "name": "AccordionItem",
1599
+ "module": "src/accordion-item/accordion-item.ts"
1600
+ }
1601
+ },
1602
+ {
1603
+ "type": {
1604
+ "text": "boolean"
1605
+ },
1606
+ "default": "false",
1607
+ "description": "Expands or collapses the item.",
1608
+ "fieldName": "expanded",
1609
+ "inheritedFrom": {
1610
+ "name": "AccordionItem",
1611
+ "module": "src/accordion-item/accordion-item.ts"
1612
+ }
1613
+ },
1614
+ {
1615
+ "name": "id",
1616
+ "type": {
1617
+ "text": "string"
1618
+ },
1619
+ "description": "The item ID",
1620
+ "fieldName": "id",
1621
+ "inheritedFrom": {
1622
+ "name": "AccordionItem",
1623
+ "module": "src/accordion-item/accordion-item.ts"
1630
1624
  }
1631
1625
  }
1632
1626
  ],
1633
1627
  "members": [
1634
1628
  {
1635
1629
  "kind": "field",
1636
- "name": "expandmode",
1630
+ "name": "headinglevel",
1637
1631
  "type": {
1638
- "text": "AccordionExpandMode"
1632
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1639
1633
  },
1640
1634
  "privacy": "public",
1641
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1635
+ "default": "2",
1636
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1642
1637
  "inheritedFrom": {
1643
- "name": "Accordion",
1644
- "module": "src/accordion/accordion.ts"
1638
+ "name": "AccordionItem",
1639
+ "module": "src/accordion-item/accordion-item.ts"
1645
1640
  }
1646
1641
  },
1647
1642
  {
1648
1643
  "kind": "field",
1649
- "name": "activeid",
1644
+ "name": "expanded",
1650
1645
  "type": {
1651
- "text": "string | null"
1646
+ "text": "boolean"
1652
1647
  },
1653
- "privacy": "private",
1648
+ "privacy": "public",
1649
+ "default": "false",
1650
+ "description": "Expands or collapses the item.",
1654
1651
  "inheritedFrom": {
1655
- "name": "Accordion",
1656
- "module": "src/accordion/accordion.ts"
1652
+ "name": "AccordionItem",
1653
+ "module": "src/accordion-item/accordion-item.ts"
1657
1654
  }
1658
1655
  },
1659
1656
  {
1660
1657
  "kind": "field",
1661
- "name": "activeItemIndex",
1658
+ "name": "id",
1662
1659
  "type": {
1663
- "text": "number"
1660
+ "text": "string"
1664
1661
  },
1665
- "privacy": "private",
1666
- "default": "0",
1662
+ "privacy": "public",
1663
+ "description": "The item ID",
1667
1664
  "inheritedFrom": {
1668
- "name": "Accordion",
1669
- "module": "src/accordion/accordion.ts"
1665
+ "name": "AccordionItem",
1666
+ "module": "src/accordion-item/accordion-item.ts"
1670
1667
  }
1671
1668
  },
1672
1669
  {
1673
1670
  "kind": "field",
1674
- "name": "accordionIds",
1675
- "type": {
1676
- "text": "Array<string | null>"
1677
- },
1671
+ "name": "change",
1678
1672
  "privacy": "private",
1679
1673
  "inheritedFrom": {
1680
- "name": "Accordion",
1681
- "module": "src/accordion/accordion.ts"
1674
+ "name": "AccordionItem",
1675
+ "module": "src/accordion-item/accordion-item.ts"
1682
1676
  }
1683
1677
  },
1684
1678
  {
1685
1679
  "kind": "field",
1686
- "name": "change",
1680
+ "name": "_presentation",
1681
+ "type": {
1682
+ "text": "ComponentPresentation | null | undefined"
1683
+ },
1687
1684
  "privacy": "private",
1685
+ "default": "void 0",
1688
1686
  "inheritedFrom": {
1689
- "name": "Accordion",
1690
- "module": "src/accordion/accordion.ts"
1687
+ "name": "FoundationElement",
1688
+ "module": "src/foundation-element/foundation-element.ts"
1691
1689
  }
1692
1690
  },
1693
1691
  {
1694
- "kind": "method",
1695
- "name": "findExpandedItem",
1696
- "privacy": "private",
1697
- "return": {
1698
- "type": {
1699
- "text": "AccordionItem | null"
1700
- }
1692
+ "kind": "field",
1693
+ "name": "$presentation",
1694
+ "type": {
1695
+ "text": "ComponentPresentation | null"
1701
1696
  },
1697
+ "privacy": "public",
1698
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1702
1699
  "inheritedFrom": {
1703
- "name": "Accordion",
1704
- "module": "src/accordion/accordion.ts"
1700
+ "name": "FoundationElement",
1701
+ "module": "src/foundation-element/foundation-element.ts"
1705
1702
  }
1706
1703
  },
1707
1704
  {
1708
1705
  "kind": "field",
1709
- "name": "setItems",
1710
- "privacy": "private",
1706
+ "name": "template",
1707
+ "type": {
1708
+ "text": "ElementViewTemplate | void | null"
1709
+ },
1710
+ "privacy": "public",
1711
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1711
1712
  "inheritedFrom": {
1712
- "name": "Accordion",
1713
- "module": "src/accordion/accordion.ts"
1713
+ "name": "FoundationElement",
1714
+ "module": "src/foundation-element/foundation-element.ts"
1714
1715
  }
1715
1716
  },
1716
1717
  {
1717
1718
  "kind": "method",
1718
- "name": "resetItems",
1719
- "privacy": "private",
1719
+ "name": "templateChanged",
1720
+ "privacy": "protected",
1720
1721
  "return": {
1721
1722
  "type": {
1722
1723
  "text": "void"
1723
1724
  }
1724
1725
  },
1725
1726
  "inheritedFrom": {
1726
- "name": "Accordion",
1727
- "module": "src/accordion/accordion.ts"
1728
- }
1729
- },
1730
- {
1731
- "kind": "field",
1732
- "name": "removeItemListeners",
1733
- "privacy": "private",
1734
- "inheritedFrom": {
1735
- "name": "Accordion",
1736
- "module": "src/accordion/accordion.ts"
1727
+ "name": "FoundationElement",
1728
+ "module": "src/foundation-element/foundation-element.ts"
1737
1729
  }
1738
1730
  },
1739
1731
  {
1740
1732
  "kind": "field",
1741
- "name": "activeItemChange",
1742
- "privacy": "private",
1733
+ "name": "styles",
1734
+ "type": {
1735
+ "text": "ElementStyles | void | null"
1736
+ },
1737
+ "privacy": "public",
1738
+ "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.",
1743
1739
  "inheritedFrom": {
1744
- "name": "Accordion",
1745
- "module": "src/accordion/accordion.ts"
1740
+ "name": "FoundationElement",
1741
+ "module": "src/foundation-element/foundation-element.ts"
1746
1742
  }
1747
1743
  },
1748
1744
  {
1749
1745
  "kind": "method",
1750
- "name": "getItemIds",
1751
- "privacy": "private",
1746
+ "name": "stylesChanged",
1747
+ "privacy": "protected",
1752
1748
  "return": {
1753
1749
  "type": {
1754
- "text": "Array<string | null>"
1750
+ "text": "void"
1755
1751
  }
1756
1752
  },
1757
1753
  "inheritedFrom": {
1758
- "name": "Accordion",
1759
- "module": "src/accordion/accordion.ts"
1754
+ "name": "FoundationElement",
1755
+ "module": "src/foundation-element/foundation-element.ts"
1760
1756
  }
1761
1757
  },
1762
1758
  {
1763
1759
  "kind": "method",
1764
- "name": "isSingleExpandMode",
1765
- "privacy": "private",
1760
+ "name": "compose",
1761
+ "privacy": "public",
1762
+ "static": true,
1766
1763
  "return": {
1767
1764
  "type": {
1768
- "text": "boolean"
1765
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1769
1766
  }
1770
1767
  },
1768
+ "parameters": [
1769
+ {
1770
+ "name": "this",
1771
+ "type": {
1772
+ "text": "K"
1773
+ }
1774
+ },
1775
+ {
1776
+ "name": "elementDefinition",
1777
+ "type": {
1778
+ "text": "T"
1779
+ },
1780
+ "description": "The definition of the element to create the registry\nfunction for."
1781
+ }
1782
+ ],
1783
+ "description": "Defines an element registry function with a set of element definition defaults.",
1771
1784
  "inheritedFrom": {
1772
- "name": "Accordion",
1773
- "module": "src/accordion/accordion.ts"
1785
+ "name": "FoundationElement",
1786
+ "module": "src/foundation-element/foundation-element.ts"
1774
1787
  }
1775
- },
1788
+ }
1789
+ ],
1790
+ "events": [
1776
1791
  {
1777
- "kind": "field",
1778
- "name": "handleItemKeyDown",
1779
- "privacy": "private",
1780
- "inheritedFrom": {
1781
- "name": "Accordion",
1782
- "module": "src/accordion/accordion.ts"
1783
- }
1784
- },
1785
- {
1786
- "kind": "field",
1787
- "name": "handleItemFocus",
1788
- "privacy": "private",
1789
- "inheritedFrom": {
1790
- "name": "Accordion",
1791
- "module": "src/accordion/accordion.ts"
1792
- }
1793
- },
1794
- {
1795
- "kind": "method",
1796
- "name": "adjust",
1797
- "privacy": "private",
1798
- "return": {
1799
- "type": {
1800
- "text": "void"
1801
- }
1802
- },
1803
- "parameters": [
1804
- {
1805
- "name": "adjustment",
1806
- "type": {
1807
- "text": "number"
1808
- }
1809
- }
1810
- ],
1811
- "inheritedFrom": {
1812
- "name": "Accordion",
1813
- "module": "src/accordion/accordion.ts"
1814
- }
1815
- },
1816
- {
1817
- "kind": "method",
1818
- "name": "focusItem",
1819
- "privacy": "private",
1820
- "return": {
1821
- "type": {
1822
- "text": "void"
1823
- }
1824
- },
1825
- "inheritedFrom": {
1826
- "name": "Accordion",
1827
- "module": "src/accordion/accordion.ts"
1828
- }
1829
- },
1830
- {
1831
- "kind": "field",
1832
- "name": "_presentation",
1833
- "type": {
1834
- "text": "ComponentPresentation | null | undefined"
1835
- },
1836
- "privacy": "private",
1837
- "default": "void 0",
1838
- "inheritedFrom": {
1839
- "name": "FoundationElement",
1840
- "module": "src/foundation-element/foundation-element.ts"
1841
- }
1842
- },
1843
- {
1844
- "kind": "field",
1845
- "name": "$presentation",
1846
- "type": {
1847
- "text": "ComponentPresentation | null"
1848
- },
1849
- "privacy": "public",
1850
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1851
- "inheritedFrom": {
1852
- "name": "FoundationElement",
1853
- "module": "src/foundation-element/foundation-element.ts"
1854
- }
1855
- },
1856
- {
1857
- "kind": "field",
1858
- "name": "template",
1859
- "type": {
1860
- "text": "ElementViewTemplate | void | null"
1861
- },
1862
- "privacy": "public",
1863
- "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.",
1864
- "inheritedFrom": {
1865
- "name": "FoundationElement",
1866
- "module": "src/foundation-element/foundation-element.ts"
1867
- }
1868
- },
1869
- {
1870
- "kind": "method",
1871
- "name": "templateChanged",
1872
- "privacy": "protected",
1873
- "return": {
1874
- "type": {
1875
- "text": "void"
1876
- }
1877
- },
1878
- "inheritedFrom": {
1879
- "name": "FoundationElement",
1880
- "module": "src/foundation-element/foundation-element.ts"
1881
- }
1882
- },
1883
- {
1884
- "kind": "field",
1885
- "name": "styles",
1886
- "type": {
1887
- "text": "ElementStyles | void | null"
1888
- },
1889
- "privacy": "public",
1890
- "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.",
1891
- "inheritedFrom": {
1892
- "name": "FoundationElement",
1893
- "module": "src/foundation-element/foundation-element.ts"
1894
- }
1895
- },
1896
- {
1897
- "kind": "method",
1898
- "name": "stylesChanged",
1899
- "privacy": "protected",
1900
- "return": {
1901
- "type": {
1902
- "text": "void"
1903
- }
1904
- },
1905
- "inheritedFrom": {
1906
- "name": "FoundationElement",
1907
- "module": "src/foundation-element/foundation-element.ts"
1908
- }
1909
- },
1910
- {
1911
- "kind": "method",
1912
- "name": "compose",
1913
- "privacy": "public",
1914
- "static": true,
1915
- "return": {
1916
- "type": {
1917
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1918
- }
1919
- },
1920
- "parameters": [
1921
- {
1922
- "name": "this",
1923
- "type": {
1924
- "text": "K"
1925
- }
1926
- },
1927
- {
1928
- "name": "elementDefinition",
1929
- "type": {
1930
- "text": "T"
1931
- },
1932
- "description": "The definition of the element to create the registry\nfunction for."
1933
- }
1934
- ],
1935
- "description": "Defines an element registry function with a set of element definition defaults.",
1936
- "inheritedFrom": {
1937
- "name": "FoundationElement",
1938
- "module": "src/foundation-element/foundation-element.ts"
1939
- }
1940
- }
1941
- ],
1942
- "events": [
1943
- {
1944
- "description": "Fires a custom 'change' event when the active item changes",
1792
+ "description": "Fires a custom 'change' event when the button is invoked",
1945
1793
  "name": "change",
1946
1794
  "inheritedFrom": {
1947
- "name": "Accordion",
1948
- "module": "src/accordion/accordion.ts"
1795
+ "name": "AccordionItem",
1796
+ "module": "src/accordion-item/accordion-item.ts"
1949
1797
  }
1950
1798
  }
1951
1799
  ]
1952
1800
  },
1953
1801
  {
1954
1802
  "kind": "variable",
1955
- "name": "foundationAccordionShadowOptions",
1803
+ "name": "foundationAccordionItemShadowOptions",
1956
1804
  "type": {
1957
1805
  "text": "ShadowRootInit"
1958
1806
  },
@@ -1960,57 +1808,57 @@
1960
1808
  },
1961
1809
  {
1962
1810
  "kind": "variable",
1963
- "name": "defaultAccordionConfig",
1811
+ "name": "defaultAccordionItemConfig",
1964
1812
  "type": {
1965
1813
  "text": "object"
1966
1814
  },
1967
- "default": "{}"
1815
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1968
1816
  },
1969
1817
  {
1970
1818
  "kind": "variable",
1971
- "name": "foundationAccordion",
1972
- "description": "The Foundation Accordion",
1819
+ "name": "foundationAccordionItem",
1820
+ "description": "The Foundation Accordion Item",
1973
1821
  "privacy": "public"
1974
1822
  }
1975
1823
  ],
1976
1824
  "exports": [
1977
1825
  {
1978
1826
  "kind": "js",
1979
- "name": "Accordion",
1827
+ "name": "AccordionItem",
1980
1828
  "declaration": {
1981
- "name": "Accordion",
1982
- "module": "src/accordion/accordion.ts"
1829
+ "name": "AccordionItem",
1830
+ "module": "src/accordion-item/accordion-item.ts"
1983
1831
  }
1984
1832
  },
1985
1833
  {
1986
1834
  "kind": "js",
1987
- "name": "foundationAccordionShadowOptions",
1835
+ "name": "foundationAccordionItemShadowOptions",
1988
1836
  "declaration": {
1989
- "name": "foundationAccordionShadowOptions",
1990
- "module": "src/accordion/accordion.ts"
1837
+ "name": "foundationAccordionItemShadowOptions",
1838
+ "module": "src/accordion-item/accordion-item.ts"
1991
1839
  }
1992
1840
  },
1993
1841
  {
1994
1842
  "kind": "js",
1995
- "name": "defaultAccordionConfig",
1843
+ "name": "defaultAccordionItemConfig",
1996
1844
  "declaration": {
1997
- "name": "defaultAccordionConfig",
1998
- "module": "src/accordion/accordion.ts"
1845
+ "name": "defaultAccordionItemConfig",
1846
+ "module": "src/accordion-item/accordion-item.ts"
1999
1847
  }
2000
1848
  },
2001
1849
  {
2002
1850
  "kind": "js",
2003
- "name": "foundationAccordion",
1851
+ "name": "foundationAccordionItem",
2004
1852
  "declaration": {
2005
- "name": "foundationAccordion",
2006
- "module": "src/accordion/accordion.ts"
1853
+ "name": "foundationAccordionItem",
1854
+ "module": "src/accordion-item/accordion-item.ts"
2007
1855
  }
2008
1856
  }
2009
1857
  ]
2010
1858
  },
2011
1859
  {
2012
1860
  "kind": "javascript-module",
2013
- "path": "src/accordion/index.ts",
1861
+ "path": "src/accordion-item/index.ts",
2014
1862
  "declarations": [],
2015
1863
  "exports": [
2016
1864
  {
@@ -2018,7 +1866,7 @@
2018
1866
  "name": "*",
2019
1867
  "declaration": {
2020
1868
  "name": "*",
2021
- "package": "./accordion.template"
1869
+ "package": "./accordion-item.template"
2022
1870
  }
2023
1871
  },
2024
1872
  {
@@ -2026,7 +1874,7 @@
2026
1874
  "name": "*",
2027
1875
  "declaration": {
2028
1876
  "name": "*",
2029
- "package": "./accordion.styles"
1877
+ "package": "./accordion-item.styles"
2030
1878
  }
2031
1879
  },
2032
1880
  {
@@ -2034,7 +1882,38 @@
2034
1882
  "name": "*",
2035
1883
  "declaration": {
2036
1884
  "name": "*",
2037
- "package": "./accordion"
1885
+ "package": "./accordion-item"
1886
+ }
1887
+ }
1888
+ ]
1889
+ },
1890
+ {
1891
+ "kind": "javascript-module",
1892
+ "path": "src/_config/index.ts",
1893
+ "declarations": [],
1894
+ "exports": [
1895
+ {
1896
+ "kind": "js",
1897
+ "name": "*",
1898
+ "declaration": {
1899
+ "name": "*",
1900
+ "package": "./styles"
1901
+ }
1902
+ },
1903
+ {
1904
+ "kind": "js",
1905
+ "name": "*",
1906
+ "declaration": {
1907
+ "name": "*",
1908
+ "package": "./tokens"
1909
+ }
1910
+ },
1911
+ {
1912
+ "kind": "js",
1913
+ "name": "*",
1914
+ "declaration": {
1915
+ "name": "*",
1916
+ "package": "./values"
2038
1917
  }
2039
1918
  }
2040
1919
  ]
@@ -2612,75 +2491,57 @@
2612
2491
  },
2613
2492
  {
2614
2493
  "kind": "javascript-module",
2615
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2494
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2616
2495
  "declarations": [
2617
2496
  {
2618
- "kind": "function",
2619
- "name": "foundationAiIndicatorStyles",
2620
- "return": {
2621
- "type": {
2622
- "text": "ElementStyles"
2623
- }
2624
- },
2625
- "parameters": [
2626
- {
2627
- "name": "context",
2628
- "type": {
2629
- "text": "ElementDefinitionContext"
2630
- }
2631
- },
2632
- {
2633
- "name": "definition",
2634
- "type": {
2635
- "text": "FoundationElementDefinition"
2636
- }
2637
- }
2638
- ]
2497
+ "kind": "variable",
2498
+ "name": "foundationAiCriteriaSearchStyles",
2499
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2639
2500
  }
2640
2501
  ],
2641
2502
  "exports": [
2642
2503
  {
2643
2504
  "kind": "js",
2644
- "name": "foundationAiIndicatorStyles",
2505
+ "name": "foundationAiCriteriaSearchStyles",
2645
2506
  "declaration": {
2646
- "name": "foundationAiIndicatorStyles",
2647
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2507
+ "name": "foundationAiCriteriaSearchStyles",
2508
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2648
2509
  }
2649
2510
  }
2650
2511
  ]
2651
2512
  },
2652
2513
  {
2653
2514
  "kind": "javascript-module",
2654
- "path": "src/ai-indicator/ai-indicator.template.ts",
2515
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2655
2516
  "declarations": [
2656
2517
  {
2657
2518
  "kind": "variable",
2658
- "name": "foundationAiIndicatorTemplate",
2519
+ "name": "foundationAiCriteriaSearchTemplate",
2659
2520
  "type": {
2660
- "text": "ViewTemplate<AiIndicator>"
2521
+ "text": "ViewTemplate<AiCriteriaSearch>"
2661
2522
  },
2662
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2523
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2663
2524
  }
2664
2525
  ],
2665
2526
  "exports": [
2666
2527
  {
2667
2528
  "kind": "js",
2668
- "name": "foundationAiIndicatorTemplate",
2529
+ "name": "foundationAiCriteriaSearchTemplate",
2669
2530
  "declaration": {
2670
- "name": "foundationAiIndicatorTemplate",
2671
- "module": "src/ai-indicator/ai-indicator.template.ts"
2531
+ "name": "foundationAiCriteriaSearchTemplate",
2532
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2672
2533
  }
2673
2534
  }
2674
2535
  ]
2675
2536
  },
2676
2537
  {
2677
2538
  "kind": "javascript-module",
2678
- "path": "src/ai-indicator/ai-indicator.ts",
2539
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2679
2540
  "declarations": [
2680
2541
  {
2681
2542
  "kind": "class",
2682
- "description": "",
2683
- "name": "AiIndicator",
2543
+ "description": "Natural-language criteria search input with AI interpretation.",
2544
+ "name": "AiCriteriaSearch",
2684
2545
  "members": [
2685
2546
  {
2686
2547
  "kind": "field",
@@ -2691,25 +2552,54 @@
2691
2552
  },
2692
2553
  {
2693
2554
  "kind": "field",
2694
- "name": "aiProvider",
2555
+ "name": "placeholder",
2695
2556
  "type": {
2696
- "text": "AIProvider | undefined"
2557
+ "text": "string"
2697
2558
  },
2698
- "privacy": "private",
2699
- "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.",
2700
- "readonly": true
2559
+ "default": "'Describe your search criteria in natural language...'"
2701
2560
  },
2702
2561
  {
2703
2562
  "kind": "field",
2704
- "name": "status",
2563
+ "name": "disabled",
2705
2564
  "type": {
2706
- "text": "AIStatus | null"
2565
+ "text": "boolean"
2566
+ }
2567
+ },
2568
+ {
2569
+ "kind": "field",
2570
+ "name": "inputValue",
2571
+ "type": {
2572
+ "text": "string"
2573
+ },
2574
+ "default": "''"
2575
+ },
2576
+ {
2577
+ "kind": "field",
2578
+ "name": "isInterpreting",
2579
+ "type": {
2580
+ "text": "boolean"
2581
+ },
2582
+ "default": "false"
2583
+ },
2584
+ {
2585
+ "kind": "field",
2586
+ "name": "lastValidCriteria",
2587
+ "type": {
2588
+ "text": "string | null"
2707
2589
  },
2708
2590
  "default": "null"
2709
2591
  },
2710
2592
  {
2711
2593
  "kind": "field",
2712
- "name": "open",
2594
+ "name": "activeGroups",
2595
+ "type": {
2596
+ "text": "CriteriaGroup[]"
2597
+ },
2598
+ "default": "[]"
2599
+ },
2600
+ {
2601
+ "kind": "field",
2602
+ "name": "showingChips",
2713
2603
  "type": {
2714
2604
  "text": "boolean"
2715
2605
  },
@@ -2717,15 +2607,15 @@
2717
2607
  },
2718
2608
  {
2719
2609
  "kind": "field",
2720
- "name": "state",
2610
+ "name": "fieldMetadata",
2721
2611
  "type": {
2722
- "text": "AIIndicatorState"
2612
+ "text": "MetadataDetail[] | string[]"
2723
2613
  },
2724
- "default": "'none'"
2614
+ "default": "[]"
2725
2615
  },
2726
2616
  {
2727
2617
  "kind": "field",
2728
- "name": "isInstalling",
2618
+ "name": "isRecording",
2729
2619
  "type": {
2730
2620
  "text": "boolean"
2731
2621
  },
@@ -2733,29 +2623,33 @@
2733
2623
  },
2734
2624
  {
2735
2625
  "kind": "field",
2736
- "name": "pollTimer",
2626
+ "name": "textAreaRef",
2737
2627
  "type": {
2738
- "text": "ReturnType<typeof setInterval> | null"
2628
+ "text": "HTMLTextAreaElement"
2739
2629
  },
2740
- "privacy": "private",
2741
- "default": "null"
2630
+ "privacy": "public"
2742
2631
  },
2743
2632
  {
2744
2633
  "kind": "field",
2745
- "name": "clickOutside",
2746
- "privacy": "private"
2634
+ "name": "stopRecording",
2635
+ "type": {
2636
+ "text": "(() => void) | null"
2637
+ },
2638
+ "privacy": "private",
2639
+ "default": "null"
2747
2640
  },
2748
2641
  {
2749
2642
  "kind": "field",
2750
- "name": "chromeStatusLabel",
2643
+ "name": "speechApplyDebounceTimer",
2751
2644
  "type": {
2752
- "text": "string | null"
2645
+ "text": "ReturnType<typeof setTimeout> | null"
2753
2646
  },
2754
- "readonly": true
2647
+ "privacy": "private",
2648
+ "default": "null"
2755
2649
  },
2756
2650
  {
2757
2651
  "kind": "field",
2758
- "name": "canInstall",
2652
+ "name": "speechAvailable",
2759
2653
  "type": {
2760
2654
  "text": "boolean"
2761
2655
  },
@@ -2763,69 +2657,65 @@
2763
2657
  },
2764
2658
  {
2765
2659
  "kind": "field",
2766
- "name": "isDownloading",
2660
+ "name": "criteriaChips",
2767
2661
  "type": {
2768
- "text": "boolean"
2662
+ "text": "CriteriaChip[]"
2769
2663
  },
2770
2664
  "readonly": true
2771
2665
  },
2772
2666
  {
2773
2667
  "kind": "method",
2774
- "name": "openChanged",
2668
+ "name": "getFieldLabel",
2669
+ "privacy": "private",
2775
2670
  "return": {
2776
2671
  "type": {
2777
- "text": "void"
2672
+ "text": "string"
2778
2673
  }
2779
- }
2780
- },
2781
- {
2782
- "kind": "method",
2783
- "name": "handleClickOutside",
2784
- "privacy": "private",
2674
+ },
2785
2675
  "parameters": [
2786
2676
  {
2787
- "name": "event",
2677
+ "name": "fieldName",
2788
2678
  "type": {
2789
- "text": "MouseEvent"
2679
+ "text": "string"
2790
2680
  }
2791
2681
  }
2792
2682
  ]
2793
2683
  },
2794
2684
  {
2795
2685
  "kind": "method",
2796
- "name": "toggleDropdown"
2797
- },
2798
- {
2799
- "kind": "method",
2800
- "name": "refreshStatus",
2686
+ "name": "toggleCriteriaView",
2801
2687
  "return": {
2802
2688
  "type": {
2803
- "text": "Promise<void>"
2689
+ "text": "void"
2804
2690
  }
2805
2691
  }
2806
2692
  },
2807
2693
  {
2808
2694
  "kind": "method",
2809
- "name": "deriveState",
2810
- "privacy": "private",
2695
+ "name": "removeChip",
2811
2696
  "return": {
2812
2697
  "type": {
2813
- "text": "AIIndicatorState"
2698
+ "text": "void"
2814
2699
  }
2815
2700
  },
2816
2701
  "parameters": [
2817
2702
  {
2818
- "name": "s",
2703
+ "name": "groupIndex",
2819
2704
  "type": {
2820
- "text": "AIStatus | null"
2705
+ "text": "number"
2706
+ }
2707
+ },
2708
+ {
2709
+ "name": "clauseIndex",
2710
+ "type": {
2711
+ "text": "number"
2821
2712
  }
2822
2713
  }
2823
2714
  ]
2824
2715
  },
2825
2716
  {
2826
2717
  "kind": "method",
2827
- "name": "maybeStartPolling",
2828
- "privacy": "private",
2718
+ "name": "clearChips",
2829
2719
  "return": {
2830
2720
  "type": {
2831
2721
  "text": "void"
@@ -2834,32 +2724,24 @@
2834
2724
  },
2835
2725
  {
2836
2726
  "kind": "method",
2837
- "name": "startPolling",
2838
- "privacy": "private",
2839
- "return": {
2840
- "type": {
2841
- "text": "void"
2842
- }
2843
- }
2727
+ "name": "handleSubmit"
2844
2728
  },
2845
2729
  {
2846
2730
  "kind": "method",
2847
- "name": "stopPolling",
2848
- "privacy": "private",
2849
- "return": {
2850
- "type": {
2851
- "text": "void"
2852
- }
2853
- }
2731
+ "name": "handleBlur"
2854
2732
  },
2855
2733
  {
2856
2734
  "kind": "method",
2857
- "name": "onInstall",
2858
- "return": {
2859
- "type": {
2860
- "text": "Promise<void>"
2861
- }
2862
- }
2735
+ "name": "clear"
2736
+ },
2737
+ {
2738
+ "kind": "method",
2739
+ "name": "toggleSpeechInput"
2740
+ },
2741
+ {
2742
+ "kind": "method",
2743
+ "name": "clearSpeechApplyDebounce",
2744
+ "privacy": "private"
2863
2745
  },
2864
2746
  {
2865
2747
  "kind": "field",
@@ -2973,296 +2855,520 @@
2973
2855
  }
2974
2856
  }
2975
2857
  ],
2858
+ "events": [
2859
+ {
2860
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2861
+ "name": "criteria-changed"
2862
+ },
2863
+ {
2864
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2865
+ "name": "validation-errors"
2866
+ }
2867
+ ],
2868
+ "attributes": [
2869
+ {
2870
+ "name": "placeholder",
2871
+ "type": {
2872
+ "text": "string"
2873
+ },
2874
+ "default": "'Describe your search criteria in natural language...'",
2875
+ "fieldName": "placeholder"
2876
+ },
2877
+ {
2878
+ "type": {
2879
+ "text": "boolean"
2880
+ },
2881
+ "fieldName": "disabled"
2882
+ }
2883
+ ],
2976
2884
  "superclass": {
2977
2885
  "name": "FoundationElement",
2978
2886
  "package": "@microsoft/fast-foundation"
2979
2887
  },
2980
- "tagName": "%%prefix%%-ai-indicator",
2888
+ "tagName": "%%prefix%%-ai-criteria-search",
2981
2889
  "customElement": true
2982
2890
  },
2983
2891
  {
2984
2892
  "kind": "variable",
2985
- "name": "foundationAiIndicator"
2893
+ "name": "foundationAiCriteriaSearchShadowOptions",
2894
+ "type": {
2895
+ "text": "ShadowRootInit"
2896
+ },
2897
+ "default": "undefined"
2898
+ },
2899
+ {
2900
+ "kind": "variable",
2901
+ "name": "defaultAiCriteriaSearchConfig",
2902
+ "type": {
2903
+ "text": "object"
2904
+ },
2905
+ "default": "{}"
2906
+ },
2907
+ {
2908
+ "kind": "variable",
2909
+ "name": "foundationAiCriteriaSearch"
2986
2910
  }
2987
2911
  ],
2988
2912
  "exports": [
2989
2913
  {
2990
2914
  "kind": "js",
2991
- "name": "AiIndicator",
2915
+ "name": "AiCriteriaSearch",
2992
2916
  "declaration": {
2993
- "name": "AiIndicator",
2994
- "module": "src/ai-indicator/ai-indicator.ts"
2917
+ "name": "AiCriteriaSearch",
2918
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2995
2919
  }
2996
2920
  },
2997
2921
  {
2998
2922
  "kind": "js",
2999
- "name": "foundationAiIndicator",
2923
+ "name": "foundationAiCriteriaSearchShadowOptions",
3000
2924
  "declaration": {
3001
- "name": "foundationAiIndicator",
3002
- "module": "src/ai-indicator/ai-indicator.ts"
2925
+ "name": "foundationAiCriteriaSearchShadowOptions",
2926
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3003
2927
  }
3004
- }
3005
- ]
3006
- },
3007
- {
2928
+ },
2929
+ {
2930
+ "kind": "js",
2931
+ "name": "defaultAiCriteriaSearchConfig",
2932
+ "declaration": {
2933
+ "name": "defaultAiCriteriaSearchConfig",
2934
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2935
+ }
2936
+ },
2937
+ {
2938
+ "kind": "js",
2939
+ "name": "foundationAiCriteriaSearch",
2940
+ "declaration": {
2941
+ "name": "foundationAiCriteriaSearch",
2942
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2943
+ }
2944
+ }
2945
+ ]
2946
+ },
2947
+ {
3008
2948
  "kind": "javascript-module",
3009
- "path": "src/ai-indicator/index.ts",
2949
+ "path": "src/ai-criteria-search/index.ts",
3010
2950
  "declarations": [],
3011
2951
  "exports": [
3012
2952
  {
3013
2953
  "kind": "js",
3014
- "name": "AiIndicator",
2954
+ "name": "AiCriteriaSearch",
3015
2955
  "declaration": {
3016
- "name": "AiIndicator",
3017
- "module": "./ai-indicator"
2956
+ "name": "AiCriteriaSearch",
2957
+ "module": "./ai-criteria-search"
3018
2958
  }
3019
2959
  },
3020
2960
  {
3021
2961
  "kind": "js",
3022
- "name": "foundationAiIndicator",
2962
+ "name": "defaultAiCriteriaSearchConfig",
3023
2963
  "declaration": {
3024
- "name": "foundationAiIndicator",
3025
- "module": "./ai-indicator"
2964
+ "name": "defaultAiCriteriaSearchConfig",
2965
+ "module": "./ai-criteria-search"
3026
2966
  }
3027
2967
  },
3028
2968
  {
3029
2969
  "kind": "js",
3030
- "name": "type",
2970
+ "name": "foundationAiCriteriaSearch",
3031
2971
  "declaration": {
3032
- "name": "type",
3033
- "module": "./ai-indicator"
2972
+ "name": "foundationAiCriteriaSearch",
2973
+ "module": "./ai-criteria-search"
3034
2974
  }
3035
2975
  },
3036
2976
  {
3037
2977
  "kind": "js",
3038
- "name": "AIIndicatorState",
2978
+ "name": "foundationAiCriteriaSearchShadowOptions",
3039
2979
  "declaration": {
3040
- "name": "AIIndicatorState",
3041
- "module": "./ai-indicator"
2980
+ "name": "foundationAiCriteriaSearchShadowOptions",
2981
+ "module": "./ai-criteria-search"
3042
2982
  }
3043
2983
  },
3044
2984
  {
3045
2985
  "kind": "js",
3046
- "name": "foundationAiIndicatorTemplate",
2986
+ "name": "foundationAiCriteriaSearchStyles",
3047
2987
  "declaration": {
3048
- "name": "foundationAiIndicatorTemplate",
3049
- "module": "./ai-indicator.template"
2988
+ "name": "foundationAiCriteriaSearchStyles",
2989
+ "module": "./ai-criteria-search.styles"
3050
2990
  }
3051
2991
  },
3052
2992
  {
3053
2993
  "kind": "js",
3054
- "name": "foundationAiIndicatorStyles",
2994
+ "name": "foundationAiCriteriaSearchTemplate",
3055
2995
  "declaration": {
3056
- "name": "foundationAiIndicatorStyles",
3057
- "module": "./ai-indicator.styles"
2996
+ "name": "foundationAiCriteriaSearchTemplate",
2997
+ "module": "./ai-criteria-search.template"
2998
+ }
2999
+ },
3000
+ {
3001
+ "kind": "js",
3002
+ "name": "*",
3003
+ "declaration": {
3004
+ "name": "*",
3005
+ "package": "./validation/criteria-ir"
3006
+ }
3007
+ },
3008
+ {
3009
+ "kind": "js",
3010
+ "name": "*",
3011
+ "declaration": {
3012
+ "name": "*",
3013
+ "package": "./validation/operator-map"
3014
+ }
3015
+ },
3016
+ {
3017
+ "kind": "js",
3018
+ "name": "*",
3019
+ "declaration": {
3020
+ "name": "*",
3021
+ "package": "./validation/schema-validator"
3058
3022
  }
3059
3023
  }
3060
3024
  ]
3061
3025
  },
3062
3026
  {
3063
3027
  "kind": "javascript-module",
3064
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3028
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3065
3029
  "declarations": [
3066
3030
  {
3067
- "kind": "variable",
3068
- "name": "foundationAiCriteriaSearchStyles",
3069
- "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`"
3031
+ "kind": "function",
3032
+ "name": "formatValidationErrors",
3033
+ "return": {
3034
+ "type": {
3035
+ "text": "string"
3036
+ }
3037
+ },
3038
+ "parameters": [
3039
+ {
3040
+ "name": "errors",
3041
+ "type": {
3042
+ "text": "ValidationError[]"
3043
+ }
3044
+ }
3045
+ ],
3046
+ "description": "Formats validation errors into a user-friendly message."
3047
+ },
3048
+ {
3049
+ "kind": "function",
3050
+ "name": "showCriteriaError",
3051
+ "return": {
3052
+ "type": {
3053
+ "text": "void"
3054
+ }
3055
+ },
3056
+ "parameters": [
3057
+ {
3058
+ "name": "title",
3059
+ "type": {
3060
+ "text": "string"
3061
+ },
3062
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3063
+ },
3064
+ {
3065
+ "name": "body",
3066
+ "type": {
3067
+ "text": "string"
3068
+ },
3069
+ "description": "Error message to display"
3070
+ },
3071
+ {
3072
+ "name": "tagName",
3073
+ "type": {
3074
+ "text": "string"
3075
+ },
3076
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3077
+ }
3078
+ ],
3079
+ "description": "Shows a criteria error as a toast notification."
3070
3080
  }
3071
3081
  ],
3072
3082
  "exports": [
3073
3083
  {
3074
3084
  "kind": "js",
3075
- "name": "foundationAiCriteriaSearchStyles",
3085
+ "name": "formatValidationErrors",
3076
3086
  "declaration": {
3077
- "name": "foundationAiCriteriaSearchStyles",
3078
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3087
+ "name": "formatValidationErrors",
3088
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3089
+ }
3090
+ },
3091
+ {
3092
+ "kind": "js",
3093
+ "name": "showCriteriaError",
3094
+ "declaration": {
3095
+ "name": "showCriteriaError",
3096
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3079
3097
  }
3080
3098
  }
3081
3099
  ]
3082
3100
  },
3083
3101
  {
3084
3102
  "kind": "javascript-module",
3085
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3103
+ "path": "src/accordion/accordion.styles.ts",
3086
3104
  "declarations": [
3087
3105
  {
3088
- "kind": "variable",
3089
- "name": "foundationAiCriteriaSearchTemplate",
3090
- "type": {
3091
- "text": "ViewTemplate<AiCriteriaSearch>"
3106
+ "kind": "function",
3107
+ "name": "foundationAccordionStyles",
3108
+ "return": {
3109
+ "type": {
3110
+ "text": "ElementStyles"
3111
+ }
3092
3112
  },
3093
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3113
+ "parameters": [
3114
+ {
3115
+ "name": "context",
3116
+ "type": {
3117
+ "text": "ElementDefinitionContext"
3118
+ }
3119
+ },
3120
+ {
3121
+ "name": "definition",
3122
+ "type": {
3123
+ "text": "FoundationElementDefinition"
3124
+ }
3125
+ }
3126
+ ]
3094
3127
  }
3095
3128
  ],
3096
3129
  "exports": [
3097
3130
  {
3098
3131
  "kind": "js",
3099
- "name": "foundationAiCriteriaSearchTemplate",
3132
+ "name": "foundationAccordionStyles",
3100
3133
  "declaration": {
3101
- "name": "foundationAiCriteriaSearchTemplate",
3102
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3134
+ "name": "foundationAccordionStyles",
3135
+ "module": "src/accordion/accordion.styles.ts"
3103
3136
  }
3104
3137
  }
3105
3138
  ]
3106
3139
  },
3107
3140
  {
3108
3141
  "kind": "javascript-module",
3109
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3142
+ "path": "src/accordion/accordion.template.ts",
3110
3143
  "declarations": [
3111
3144
  {
3112
- "kind": "class",
3113
- "description": "Natural-language criteria search input with AI interpretation.",
3114
- "name": "AiCriteriaSearch",
3115
- "members": [
3145
+ "kind": "function",
3146
+ "name": "foundationAccordionTemplate",
3147
+ "return": {
3148
+ "type": {
3149
+ "text": "ViewTemplate<Accordion>"
3150
+ }
3151
+ },
3152
+ "parameters": [
3116
3153
  {
3117
- "kind": "field",
3118
- "name": "providerRegistry",
3154
+ "name": "context",
3119
3155
  "type": {
3120
- "text": "AIProviderRegistry"
3156
+ "text": "ElementDefinitionContext"
3121
3157
  }
3122
3158
  },
3123
3159
  {
3124
- "kind": "field",
3125
- "name": "placeholder",
3126
- "type": {
3127
- "text": "string"
3128
- },
3129
- "default": "'Describe your search criteria in natural language...'"
3130
- },
3131
- {
3132
- "kind": "field",
3133
- "name": "disabled",
3160
+ "name": "definition",
3134
3161
  "type": {
3135
- "text": "boolean"
3162
+ "text": "FoundationElementDefinition"
3136
3163
  }
3137
- },
3138
- {
3139
- "kind": "field",
3140
- "name": "inputValue",
3141
- "type": {
3142
- "text": "string"
3143
- },
3144
- "default": "''"
3145
- },
3164
+ }
3165
+ ]
3166
+ }
3167
+ ],
3168
+ "exports": [
3169
+ {
3170
+ "kind": "js",
3171
+ "name": "foundationAccordionTemplate",
3172
+ "declaration": {
3173
+ "name": "foundationAccordionTemplate",
3174
+ "module": "src/accordion/accordion.template.ts"
3175
+ }
3176
+ }
3177
+ ]
3178
+ },
3179
+ {
3180
+ "kind": "javascript-module",
3181
+ "path": "src/accordion/accordion.ts",
3182
+ "declarations": [
3183
+ {
3184
+ "kind": "class",
3185
+ "description": "",
3186
+ "name": "Accordion",
3187
+ "superclass": {
3188
+ "name": "FASTAccordion",
3189
+ "package": "@microsoft/fast-foundation"
3190
+ },
3191
+ "tagName": "%%prefix%%-accordion",
3192
+ "customElement": true,
3193
+ "attributes": [
3146
3194
  {
3147
- "kind": "field",
3148
- "name": "isInterpreting",
3195
+ "name": "expand-mode",
3149
3196
  "type": {
3150
- "text": "boolean"
3197
+ "text": "AccordionExpandMode"
3151
3198
  },
3152
- "default": "false"
3153
- },
3199
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3200
+ "fieldName": "expandmode",
3201
+ "inheritedFrom": {
3202
+ "name": "Accordion",
3203
+ "module": "src/accordion/accordion.ts"
3204
+ }
3205
+ }
3206
+ ],
3207
+ "members": [
3154
3208
  {
3155
3209
  "kind": "field",
3156
- "name": "lastValidCriteria",
3210
+ "name": "expandmode",
3157
3211
  "type": {
3158
- "text": "string | null"
3212
+ "text": "AccordionExpandMode"
3159
3213
  },
3160
- "default": "null"
3214
+ "privacy": "public",
3215
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3216
+ "inheritedFrom": {
3217
+ "name": "Accordion",
3218
+ "module": "src/accordion/accordion.ts"
3219
+ }
3161
3220
  },
3162
3221
  {
3163
3222
  "kind": "field",
3164
- "name": "activeGroups",
3223
+ "name": "activeid",
3165
3224
  "type": {
3166
- "text": "CriteriaGroup[]"
3225
+ "text": "string | null"
3167
3226
  },
3168
- "default": "[]"
3227
+ "privacy": "private",
3228
+ "inheritedFrom": {
3229
+ "name": "Accordion",
3230
+ "module": "src/accordion/accordion.ts"
3231
+ }
3169
3232
  },
3170
3233
  {
3171
3234
  "kind": "field",
3172
- "name": "showingChips",
3235
+ "name": "activeItemIndex",
3173
3236
  "type": {
3174
- "text": "boolean"
3237
+ "text": "number"
3175
3238
  },
3176
- "default": "false"
3239
+ "privacy": "private",
3240
+ "default": "0",
3241
+ "inheritedFrom": {
3242
+ "name": "Accordion",
3243
+ "module": "src/accordion/accordion.ts"
3244
+ }
3177
3245
  },
3178
3246
  {
3179
3247
  "kind": "field",
3180
- "name": "fieldMetadata",
3248
+ "name": "accordionIds",
3181
3249
  "type": {
3182
- "text": "MetadataDetail[] | string[]"
3250
+ "text": "Array<string | null>"
3183
3251
  },
3184
- "default": "[]"
3252
+ "privacy": "private",
3253
+ "inheritedFrom": {
3254
+ "name": "Accordion",
3255
+ "module": "src/accordion/accordion.ts"
3256
+ }
3185
3257
  },
3186
3258
  {
3187
3259
  "kind": "field",
3188
- "name": "isRecording",
3189
- "type": {
3190
- "text": "boolean"
3191
- },
3192
- "default": "false"
3260
+ "name": "change",
3261
+ "privacy": "private",
3262
+ "inheritedFrom": {
3263
+ "name": "Accordion",
3264
+ "module": "src/accordion/accordion.ts"
3265
+ }
3193
3266
  },
3194
3267
  {
3195
- "kind": "field",
3196
- "name": "textAreaRef",
3197
- "type": {
3198
- "text": "HTMLTextAreaElement"
3268
+ "kind": "method",
3269
+ "name": "findExpandedItem",
3270
+ "privacy": "private",
3271
+ "return": {
3272
+ "type": {
3273
+ "text": "AccordionItem | null"
3274
+ }
3199
3275
  },
3200
- "privacy": "public"
3276
+ "inheritedFrom": {
3277
+ "name": "Accordion",
3278
+ "module": "src/accordion/accordion.ts"
3279
+ }
3201
3280
  },
3202
3281
  {
3203
3282
  "kind": "field",
3204
- "name": "stopRecording",
3205
- "type": {
3206
- "text": "(() => void) | null"
3207
- },
3283
+ "name": "setItems",
3208
3284
  "privacy": "private",
3209
- "default": "null"
3285
+ "inheritedFrom": {
3286
+ "name": "Accordion",
3287
+ "module": "src/accordion/accordion.ts"
3288
+ }
3210
3289
  },
3211
3290
  {
3212
- "kind": "field",
3213
- "name": "speechApplyDebounceTimer",
3214
- "type": {
3215
- "text": "ReturnType<typeof setTimeout> | null"
3216
- },
3291
+ "kind": "method",
3292
+ "name": "resetItems",
3217
3293
  "privacy": "private",
3218
- "default": "null"
3294
+ "return": {
3295
+ "type": {
3296
+ "text": "void"
3297
+ }
3298
+ },
3299
+ "inheritedFrom": {
3300
+ "name": "Accordion",
3301
+ "module": "src/accordion/accordion.ts"
3302
+ }
3219
3303
  },
3220
3304
  {
3221
3305
  "kind": "field",
3222
- "name": "speechAvailable",
3223
- "type": {
3224
- "text": "boolean"
3225
- },
3226
- "readonly": true
3306
+ "name": "removeItemListeners",
3307
+ "privacy": "private",
3308
+ "inheritedFrom": {
3309
+ "name": "Accordion",
3310
+ "module": "src/accordion/accordion.ts"
3311
+ }
3227
3312
  },
3228
3313
  {
3229
3314
  "kind": "field",
3230
- "name": "criteriaChips",
3231
- "type": {
3232
- "text": "CriteriaChip[]"
3233
- },
3234
- "readonly": true
3315
+ "name": "activeItemChange",
3316
+ "privacy": "private",
3317
+ "inheritedFrom": {
3318
+ "name": "Accordion",
3319
+ "module": "src/accordion/accordion.ts"
3320
+ }
3235
3321
  },
3236
3322
  {
3237
3323
  "kind": "method",
3238
- "name": "getFieldLabel",
3324
+ "name": "getItemIds",
3239
3325
  "privacy": "private",
3240
3326
  "return": {
3241
3327
  "type": {
3242
- "text": "string"
3328
+ "text": "Array<string | null>"
3243
3329
  }
3244
3330
  },
3245
- "parameters": [
3246
- {
3247
- "name": "fieldName",
3248
- "type": {
3249
- "text": "string"
3250
- }
3251
- }
3252
- ]
3331
+ "inheritedFrom": {
3332
+ "name": "Accordion",
3333
+ "module": "src/accordion/accordion.ts"
3334
+ }
3253
3335
  },
3254
3336
  {
3255
3337
  "kind": "method",
3256
- "name": "toggleCriteriaView",
3338
+ "name": "isSingleExpandMode",
3339
+ "privacy": "private",
3257
3340
  "return": {
3258
3341
  "type": {
3259
- "text": "void"
3342
+ "text": "boolean"
3260
3343
  }
3344
+ },
3345
+ "inheritedFrom": {
3346
+ "name": "Accordion",
3347
+ "module": "src/accordion/accordion.ts"
3348
+ }
3349
+ },
3350
+ {
3351
+ "kind": "field",
3352
+ "name": "handleItemKeyDown",
3353
+ "privacy": "private",
3354
+ "inheritedFrom": {
3355
+ "name": "Accordion",
3356
+ "module": "src/accordion/accordion.ts"
3357
+ }
3358
+ },
3359
+ {
3360
+ "kind": "field",
3361
+ "name": "handleItemFocus",
3362
+ "privacy": "private",
3363
+ "inheritedFrom": {
3364
+ "name": "Accordion",
3365
+ "module": "src/accordion/accordion.ts"
3261
3366
  }
3262
3367
  },
3263
3368
  {
3264
3369
  "kind": "method",
3265
- "name": "removeChip",
3370
+ "name": "adjust",
3371
+ "privacy": "private",
3266
3372
  "return": {
3267
3373
  "type": {
3268
3374
  "text": "void"
@@ -3270,49 +3376,31 @@
3270
3376
  },
3271
3377
  "parameters": [
3272
3378
  {
3273
- "name": "groupIndex",
3274
- "type": {
3275
- "text": "number"
3276
- }
3277
- },
3278
- {
3279
- "name": "clauseIndex",
3379
+ "name": "adjustment",
3280
3380
  "type": {
3281
3381
  "text": "number"
3282
3382
  }
3283
3383
  }
3284
- ]
3384
+ ],
3385
+ "inheritedFrom": {
3386
+ "name": "Accordion",
3387
+ "module": "src/accordion/accordion.ts"
3388
+ }
3285
3389
  },
3286
3390
  {
3287
3391
  "kind": "method",
3288
- "name": "clearChips",
3392
+ "name": "focusItem",
3393
+ "privacy": "private",
3289
3394
  "return": {
3290
3395
  "type": {
3291
3396
  "text": "void"
3292
3397
  }
3398
+ },
3399
+ "inheritedFrom": {
3400
+ "name": "Accordion",
3401
+ "module": "src/accordion/accordion.ts"
3293
3402
  }
3294
3403
  },
3295
- {
3296
- "kind": "method",
3297
- "name": "handleSubmit"
3298
- },
3299
- {
3300
- "kind": "method",
3301
- "name": "handleBlur"
3302
- },
3303
- {
3304
- "kind": "method",
3305
- "name": "clear"
3306
- },
3307
- {
3308
- "kind": "method",
3309
- "name": "toggleSpeechInput"
3310
- },
3311
- {
3312
- "kind": "method",
3313
- "name": "clearSpeechApplyDebounce",
3314
- "privacy": "private"
3315
- },
3316
3404
  {
3317
3405
  "kind": "field",
3318
3406
  "name": "_presentation",
@@ -3427,48 +3515,26 @@
3427
3515
  ],
3428
3516
  "events": [
3429
3517
  {
3430
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3431
- "name": "criteria-changed"
3432
- },
3433
- {
3434
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3435
- "name": "validation-errors"
3436
- }
3437
- ],
3438
- "attributes": [
3439
- {
3440
- "name": "placeholder",
3441
- "type": {
3442
- "text": "string"
3443
- },
3444
- "default": "'Describe your search criteria in natural language...'",
3445
- "fieldName": "placeholder"
3446
- },
3447
- {
3448
- "type": {
3449
- "text": "boolean"
3450
- },
3451
- "fieldName": "disabled"
3518
+ "description": "Fires a custom 'change' event when the active item changes",
3519
+ "name": "change",
3520
+ "inheritedFrom": {
3521
+ "name": "Accordion",
3522
+ "module": "src/accordion/accordion.ts"
3523
+ }
3452
3524
  }
3453
- ],
3454
- "superclass": {
3455
- "name": "FoundationElement",
3456
- "package": "@microsoft/fast-foundation"
3457
- },
3458
- "tagName": "%%prefix%%-ai-criteria-search",
3459
- "customElement": true
3525
+ ]
3460
3526
  },
3461
3527
  {
3462
3528
  "kind": "variable",
3463
- "name": "foundationAiCriteriaSearchShadowOptions",
3529
+ "name": "foundationAccordionShadowOptions",
3464
3530
  "type": {
3465
3531
  "text": "ShadowRootInit"
3466
3532
  },
3467
- "default": "undefined"
3533
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3468
3534
  },
3469
3535
  {
3470
3536
  "kind": "variable",
3471
- "name": "defaultAiCriteriaSearchConfig",
3537
+ "name": "defaultAccordionConfig",
3472
3538
  "type": {
3473
3539
  "text": "object"
3474
3540
  },
@@ -3476,103 +3542,57 @@
3476
3542
  },
3477
3543
  {
3478
3544
  "kind": "variable",
3479
- "name": "foundationAiCriteriaSearch"
3545
+ "name": "foundationAccordion",
3546
+ "description": "The Foundation Accordion",
3547
+ "privacy": "public"
3480
3548
  }
3481
3549
  ],
3482
3550
  "exports": [
3483
3551
  {
3484
3552
  "kind": "js",
3485
- "name": "AiCriteriaSearch",
3553
+ "name": "Accordion",
3486
3554
  "declaration": {
3487
- "name": "AiCriteriaSearch",
3488
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3555
+ "name": "Accordion",
3556
+ "module": "src/accordion/accordion.ts"
3489
3557
  }
3490
3558
  },
3491
3559
  {
3492
3560
  "kind": "js",
3493
- "name": "foundationAiCriteriaSearchShadowOptions",
3561
+ "name": "foundationAccordionShadowOptions",
3494
3562
  "declaration": {
3495
- "name": "foundationAiCriteriaSearchShadowOptions",
3496
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3563
+ "name": "foundationAccordionShadowOptions",
3564
+ "module": "src/accordion/accordion.ts"
3497
3565
  }
3498
3566
  },
3499
3567
  {
3500
3568
  "kind": "js",
3501
- "name": "defaultAiCriteriaSearchConfig",
3569
+ "name": "defaultAccordionConfig",
3502
3570
  "declaration": {
3503
- "name": "defaultAiCriteriaSearchConfig",
3504
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3571
+ "name": "defaultAccordionConfig",
3572
+ "module": "src/accordion/accordion.ts"
3505
3573
  }
3506
3574
  },
3507
3575
  {
3508
3576
  "kind": "js",
3509
- "name": "foundationAiCriteriaSearch",
3577
+ "name": "foundationAccordion",
3510
3578
  "declaration": {
3511
- "name": "foundationAiCriteriaSearch",
3512
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3579
+ "name": "foundationAccordion",
3580
+ "module": "src/accordion/accordion.ts"
3513
3581
  }
3514
3582
  }
3515
3583
  ]
3516
3584
  },
3517
3585
  {
3518
3586
  "kind": "javascript-module",
3519
- "path": "src/ai-criteria-search/index.ts",
3587
+ "path": "src/accordion/index.ts",
3520
3588
  "declarations": [],
3521
3589
  "exports": [
3522
- {
3523
- "kind": "js",
3524
- "name": "AiCriteriaSearch",
3525
- "declaration": {
3526
- "name": "AiCriteriaSearch",
3527
- "module": "./ai-criteria-search"
3528
- }
3529
- },
3530
- {
3531
- "kind": "js",
3532
- "name": "defaultAiCriteriaSearchConfig",
3533
- "declaration": {
3534
- "name": "defaultAiCriteriaSearchConfig",
3535
- "module": "./ai-criteria-search"
3536
- }
3537
- },
3538
- {
3539
- "kind": "js",
3540
- "name": "foundationAiCriteriaSearch",
3541
- "declaration": {
3542
- "name": "foundationAiCriteriaSearch",
3543
- "module": "./ai-criteria-search"
3544
- }
3545
- },
3546
- {
3547
- "kind": "js",
3548
- "name": "foundationAiCriteriaSearchShadowOptions",
3549
- "declaration": {
3550
- "name": "foundationAiCriteriaSearchShadowOptions",
3551
- "module": "./ai-criteria-search"
3552
- }
3553
- },
3554
- {
3555
- "kind": "js",
3556
- "name": "foundationAiCriteriaSearchStyles",
3557
- "declaration": {
3558
- "name": "foundationAiCriteriaSearchStyles",
3559
- "module": "./ai-criteria-search.styles"
3560
- }
3561
- },
3562
- {
3563
- "kind": "js",
3564
- "name": "foundationAiCriteriaSearchTemplate",
3565
- "declaration": {
3566
- "name": "foundationAiCriteriaSearchTemplate",
3567
- "module": "./ai-criteria-search.template"
3568
- }
3569
- },
3570
3590
  {
3571
3591
  "kind": "js",
3572
3592
  "name": "*",
3573
3593
  "declaration": {
3574
3594
  "name": "*",
3575
- "package": "./validation/criteria-ir"
3595
+ "package": "./accordion.template"
3576
3596
  }
3577
3597
  },
3578
3598
  {
@@ -3580,7 +3600,7 @@
3580
3600
  "name": "*",
3581
3601
  "declaration": {
3582
3602
  "name": "*",
3583
- "package": "./validation/operator-map"
3603
+ "package": "./accordion.styles"
3584
3604
  }
3585
3605
  },
3586
3606
  {
@@ -3588,93 +3608,18 @@
3588
3608
  "name": "*",
3589
3609
  "declaration": {
3590
3610
  "name": "*",
3591
- "package": "./validation/schema-validator"
3592
- }
3593
- }
3594
- ]
3595
- },
3596
- {
3597
- "kind": "javascript-module",
3598
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3599
- "declarations": [
3600
- {
3601
- "kind": "function",
3602
- "name": "formatValidationErrors",
3603
- "return": {
3604
- "type": {
3605
- "text": "string"
3606
- }
3607
- },
3608
- "parameters": [
3609
- {
3610
- "name": "errors",
3611
- "type": {
3612
- "text": "ValidationError[]"
3613
- }
3614
- }
3615
- ],
3616
- "description": "Formats validation errors into a user-friendly message."
3617
- },
3618
- {
3619
- "kind": "function",
3620
- "name": "showCriteriaError",
3621
- "return": {
3622
- "type": {
3623
- "text": "void"
3624
- }
3625
- },
3626
- "parameters": [
3627
- {
3628
- "name": "title",
3629
- "type": {
3630
- "text": "string"
3631
- },
3632
- "description": "Notification title (e.g. \"Criteria validation error\")"
3633
- },
3634
- {
3635
- "name": "body",
3636
- "type": {
3637
- "text": "string"
3638
- },
3639
- "description": "Error message to display"
3640
- },
3641
- {
3642
- "name": "tagName",
3643
- "type": {
3644
- "text": "string"
3645
- },
3646
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3647
- }
3648
- ],
3649
- "description": "Shows a criteria error as a toast notification."
3650
- }
3651
- ],
3652
- "exports": [
3653
- {
3654
- "kind": "js",
3655
- "name": "formatValidationErrors",
3656
- "declaration": {
3657
- "name": "formatValidationErrors",
3658
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3659
- }
3660
- },
3661
- {
3662
- "kind": "js",
3663
- "name": "showCriteriaError",
3664
- "declaration": {
3665
- "name": "showCriteriaError",
3666
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3611
+ "package": "./accordion"
3667
3612
  }
3668
3613
  }
3669
3614
  ]
3670
3615
  },
3671
3616
  {
3672
3617
  "kind": "javascript-module",
3673
- "path": "src/accordion-item/accordion-item.styles.ts",
3618
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3674
3619
  "declarations": [
3675
3620
  {
3676
3621
  "kind": "function",
3677
- "name": "foundationAccordionItemStyles",
3622
+ "name": "foundationAiIndicatorStyles",
3678
3623
  "return": {
3679
3624
  "type": {
3680
3625
  "text": "ElementStyles"
@@ -3699,155 +3644,224 @@
3699
3644
  "exports": [
3700
3645
  {
3701
3646
  "kind": "js",
3702
- "name": "foundationAccordionItemStyles",
3647
+ "name": "foundationAiIndicatorStyles",
3703
3648
  "declaration": {
3704
- "name": "foundationAccordionItemStyles",
3705
- "module": "src/accordion-item/accordion-item.styles.ts"
3649
+ "name": "foundationAiIndicatorStyles",
3650
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3706
3651
  }
3707
3652
  }
3708
3653
  ]
3709
3654
  },
3710
3655
  {
3711
3656
  "kind": "javascript-module",
3712
- "path": "src/accordion-item/accordion-item.template.ts",
3657
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3713
3658
  "declarations": [
3714
3659
  {
3715
- "kind": "function",
3716
- "name": "foundationAccordionItemTemplate",
3717
- "return": {
3718
- "type": {
3719
- "text": "ViewTemplate<AccordionItem>"
3720
- }
3660
+ "kind": "variable",
3661
+ "name": "foundationAiIndicatorTemplate",
3662
+ "type": {
3663
+ "text": "ViewTemplate<AiIndicator>"
3721
3664
  },
3722
- "parameters": [
3723
- {
3724
- "name": "context",
3725
- "type": {
3726
- "text": "ElementDefinitionContext"
3727
- }
3728
- },
3729
- {
3730
- "name": "definition",
3731
- "type": {
3732
- "text": "FoundationElementDefinition"
3733
- }
3734
- }
3735
- ]
3665
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3736
3666
  }
3737
3667
  ],
3738
3668
  "exports": [
3739
3669
  {
3740
3670
  "kind": "js",
3741
- "name": "foundationAccordionItemTemplate",
3671
+ "name": "foundationAiIndicatorTemplate",
3742
3672
  "declaration": {
3743
- "name": "foundationAccordionItemTemplate",
3744
- "module": "src/accordion-item/accordion-item.template.ts"
3673
+ "name": "foundationAiIndicatorTemplate",
3674
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3745
3675
  }
3746
3676
  }
3747
3677
  ]
3748
3678
  },
3749
3679
  {
3750
3680
  "kind": "javascript-module",
3751
- "path": "src/accordion-item/accordion-item.ts",
3681
+ "path": "src/ai-indicator/ai-indicator.ts",
3752
3682
  "declarations": [
3753
3683
  {
3754
3684
  "kind": "class",
3755
3685
  "description": "",
3756
- "name": "AccordionItem",
3757
- "superclass": {
3758
- "name": "FASTAccordionItem",
3759
- "package": "@microsoft/fast-components"
3760
- },
3761
- "tagName": "%%prefix%%-accordion-item",
3762
- "customElement": true,
3763
- "attributes": [
3686
+ "name": "AiIndicator",
3687
+ "members": [
3764
3688
  {
3765
- "name": "heading-level",
3689
+ "kind": "field",
3690
+ "name": "providerRegistry",
3766
3691
  "type": {
3767
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3768
- },
3769
- "default": "2",
3770
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3771
- "fieldName": "headinglevel",
3772
- "inheritedFrom": {
3773
- "name": "AccordionItem",
3774
- "module": "src/accordion-item/accordion-item.ts"
3692
+ "text": "AIProviderRegistry"
3775
3693
  }
3776
3694
  },
3777
3695
  {
3696
+ "kind": "field",
3697
+ "name": "aiProvider",
3698
+ "type": {
3699
+ "text": "AIProvider | undefined"
3700
+ },
3701
+ "privacy": "private",
3702
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3703
+ "readonly": true
3704
+ },
3705
+ {
3706
+ "kind": "field",
3707
+ "name": "status",
3708
+ "type": {
3709
+ "text": "AIStatus | null"
3710
+ },
3711
+ "default": "null"
3712
+ },
3713
+ {
3714
+ "kind": "field",
3715
+ "name": "open",
3716
+ "type": {
3717
+ "text": "boolean"
3718
+ },
3719
+ "default": "false"
3720
+ },
3721
+ {
3722
+ "kind": "field",
3723
+ "name": "state",
3724
+ "type": {
3725
+ "text": "AIIndicatorState"
3726
+ },
3727
+ "default": "'none'"
3728
+ },
3729
+ {
3730
+ "kind": "field",
3731
+ "name": "isInstalling",
3778
3732
  "type": {
3779
3733
  "text": "boolean"
3780
3734
  },
3781
- "default": "false",
3782
- "description": "Expands or collapses the item.",
3783
- "fieldName": "expanded",
3784
- "inheritedFrom": {
3785
- "name": "AccordionItem",
3786
- "module": "src/accordion-item/accordion-item.ts"
3787
- }
3735
+ "default": "false"
3788
3736
  },
3789
3737
  {
3790
- "name": "id",
3738
+ "kind": "field",
3739
+ "name": "pollTimer",
3791
3740
  "type": {
3792
- "text": "string"
3741
+ "text": "ReturnType<typeof setInterval> | null"
3793
3742
  },
3794
- "description": "The item ID",
3795
- "fieldName": "id",
3796
- "inheritedFrom": {
3797
- "name": "AccordionItem",
3798
- "module": "src/accordion-item/accordion-item.ts"
3799
- }
3800
- }
3801
- ],
3802
- "members": [
3743
+ "privacy": "private",
3744
+ "default": "null"
3745
+ },
3803
3746
  {
3804
3747
  "kind": "field",
3805
- "name": "headinglevel",
3748
+ "name": "clickOutside",
3749
+ "privacy": "private"
3750
+ },
3751
+ {
3752
+ "kind": "field",
3753
+ "name": "chromeStatusLabel",
3806
3754
  "type": {
3807
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3755
+ "text": "string | null"
3808
3756
  },
3809
- "privacy": "public",
3810
- "default": "2",
3811
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3812
- "inheritedFrom": {
3813
- "name": "AccordionItem",
3814
- "module": "src/accordion-item/accordion-item.ts"
3815
- }
3757
+ "readonly": true
3816
3758
  },
3817
3759
  {
3818
3760
  "kind": "field",
3819
- "name": "expanded",
3761
+ "name": "canInstall",
3820
3762
  "type": {
3821
3763
  "text": "boolean"
3822
3764
  },
3823
- "privacy": "public",
3824
- "default": "false",
3825
- "description": "Expands or collapses the item.",
3826
- "inheritedFrom": {
3827
- "name": "AccordionItem",
3828
- "module": "src/accordion-item/accordion-item.ts"
3829
- }
3765
+ "readonly": true
3830
3766
  },
3831
3767
  {
3832
3768
  "kind": "field",
3833
- "name": "id",
3769
+ "name": "isDownloading",
3834
3770
  "type": {
3835
- "text": "string"
3771
+ "text": "boolean"
3836
3772
  },
3837
- "privacy": "public",
3838
- "description": "The item ID",
3839
- "inheritedFrom": {
3840
- "name": "AccordionItem",
3841
- "module": "src/accordion-item/accordion-item.ts"
3773
+ "readonly": true
3774
+ },
3775
+ {
3776
+ "kind": "method",
3777
+ "name": "openChanged",
3778
+ "return": {
3779
+ "type": {
3780
+ "text": "void"
3781
+ }
3842
3782
  }
3843
3783
  },
3844
3784
  {
3845
- "kind": "field",
3846
- "name": "change",
3785
+ "kind": "method",
3786
+ "name": "handleClickOutside",
3847
3787
  "privacy": "private",
3848
- "inheritedFrom": {
3849
- "name": "AccordionItem",
3850
- "module": "src/accordion-item/accordion-item.ts"
3788
+ "parameters": [
3789
+ {
3790
+ "name": "event",
3791
+ "type": {
3792
+ "text": "MouseEvent"
3793
+ }
3794
+ }
3795
+ ]
3796
+ },
3797
+ {
3798
+ "kind": "method",
3799
+ "name": "toggleDropdown"
3800
+ },
3801
+ {
3802
+ "kind": "method",
3803
+ "name": "refreshStatus",
3804
+ "return": {
3805
+ "type": {
3806
+ "text": "Promise<void>"
3807
+ }
3808
+ }
3809
+ },
3810
+ {
3811
+ "kind": "method",
3812
+ "name": "deriveState",
3813
+ "privacy": "private",
3814
+ "return": {
3815
+ "type": {
3816
+ "text": "AIIndicatorState"
3817
+ }
3818
+ },
3819
+ "parameters": [
3820
+ {
3821
+ "name": "s",
3822
+ "type": {
3823
+ "text": "AIStatus | null"
3824
+ }
3825
+ }
3826
+ ]
3827
+ },
3828
+ {
3829
+ "kind": "method",
3830
+ "name": "maybeStartPolling",
3831
+ "privacy": "private",
3832
+ "return": {
3833
+ "type": {
3834
+ "text": "void"
3835
+ }
3836
+ }
3837
+ },
3838
+ {
3839
+ "kind": "method",
3840
+ "name": "startPolling",
3841
+ "privacy": "private",
3842
+ "return": {
3843
+ "type": {
3844
+ "text": "void"
3845
+ }
3846
+ }
3847
+ },
3848
+ {
3849
+ "kind": "method",
3850
+ "name": "stopPolling",
3851
+ "privacy": "private",
3852
+ "return": {
3853
+ "type": {
3854
+ "text": "void"
3855
+ }
3856
+ }
3857
+ },
3858
+ {
3859
+ "kind": "method",
3860
+ "name": "onInstall",
3861
+ "return": {
3862
+ "type": {
3863
+ "text": "Promise<void>"
3864
+ }
3851
3865
  }
3852
3866
  },
3853
3867
  {
@@ -3962,102 +3976,88 @@
3962
3976
  }
3963
3977
  }
3964
3978
  ],
3965
- "events": [
3966
- {
3967
- "description": "Fires a custom 'change' event when the button is invoked",
3968
- "name": "change",
3969
- "inheritedFrom": {
3970
- "name": "AccordionItem",
3971
- "module": "src/accordion-item/accordion-item.ts"
3972
- }
3973
- }
3974
- ]
3975
- },
3976
- {
3977
- "kind": "variable",
3978
- "name": "foundationAccordionItemShadowOptions",
3979
- "type": {
3980
- "text": "ShadowRootInit"
3981
- },
3982
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3983
- },
3984
- {
3985
- "kind": "variable",
3986
- "name": "defaultAccordionItemConfig",
3987
- "type": {
3988
- "text": "object"
3979
+ "superclass": {
3980
+ "name": "FoundationElement",
3981
+ "package": "@microsoft/fast-foundation"
3989
3982
  },
3990
- "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}"
3983
+ "tagName": "%%prefix%%-ai-indicator",
3984
+ "customElement": true
3991
3985
  },
3992
3986
  {
3993
3987
  "kind": "variable",
3994
- "name": "foundationAccordionItem",
3995
- "description": "The Foundation Accordion Item",
3996
- "privacy": "public"
3988
+ "name": "foundationAiIndicator"
3997
3989
  }
3998
3990
  ],
3999
3991
  "exports": [
4000
3992
  {
4001
3993
  "kind": "js",
4002
- "name": "AccordionItem",
3994
+ "name": "AiIndicator",
4003
3995
  "declaration": {
4004
- "name": "AccordionItem",
4005
- "module": "src/accordion-item/accordion-item.ts"
3996
+ "name": "AiIndicator",
3997
+ "module": "src/ai-indicator/ai-indicator.ts"
4006
3998
  }
4007
3999
  },
4008
4000
  {
4009
4001
  "kind": "js",
4010
- "name": "foundationAccordionItemShadowOptions",
4002
+ "name": "foundationAiIndicator",
4011
4003
  "declaration": {
4012
- "name": "foundationAccordionItemShadowOptions",
4013
- "module": "src/accordion-item/accordion-item.ts"
4004
+ "name": "foundationAiIndicator",
4005
+ "module": "src/ai-indicator/ai-indicator.ts"
4006
+ }
4007
+ }
4008
+ ]
4009
+ },
4010
+ {
4011
+ "kind": "javascript-module",
4012
+ "path": "src/ai-indicator/index.ts",
4013
+ "declarations": [],
4014
+ "exports": [
4015
+ {
4016
+ "kind": "js",
4017
+ "name": "AiIndicator",
4018
+ "declaration": {
4019
+ "name": "AiIndicator",
4020
+ "module": "./ai-indicator"
4014
4021
  }
4015
4022
  },
4016
4023
  {
4017
4024
  "kind": "js",
4018
- "name": "defaultAccordionItemConfig",
4025
+ "name": "foundationAiIndicator",
4019
4026
  "declaration": {
4020
- "name": "defaultAccordionItemConfig",
4021
- "module": "src/accordion-item/accordion-item.ts"
4027
+ "name": "foundationAiIndicator",
4028
+ "module": "./ai-indicator"
4022
4029
  }
4023
4030
  },
4024
4031
  {
4025
4032
  "kind": "js",
4026
- "name": "foundationAccordionItem",
4033
+ "name": "type",
4027
4034
  "declaration": {
4028
- "name": "foundationAccordionItem",
4029
- "module": "src/accordion-item/accordion-item.ts"
4035
+ "name": "type",
4036
+ "module": "./ai-indicator"
4030
4037
  }
4031
- }
4032
- ]
4033
- },
4034
- {
4035
- "kind": "javascript-module",
4036
- "path": "src/accordion-item/index.ts",
4037
- "declarations": [],
4038
- "exports": [
4038
+ },
4039
4039
  {
4040
4040
  "kind": "js",
4041
- "name": "*",
4041
+ "name": "AIIndicatorState",
4042
4042
  "declaration": {
4043
- "name": "*",
4044
- "package": "./accordion-item.template"
4043
+ "name": "AIIndicatorState",
4044
+ "module": "./ai-indicator"
4045
4045
  }
4046
4046
  },
4047
4047
  {
4048
4048
  "kind": "js",
4049
- "name": "*",
4049
+ "name": "foundationAiIndicatorTemplate",
4050
4050
  "declaration": {
4051
- "name": "*",
4052
- "package": "./accordion-item.styles"
4051
+ "name": "foundationAiIndicatorTemplate",
4052
+ "module": "./ai-indicator.template"
4053
4053
  }
4054
4054
  },
4055
4055
  {
4056
4056
  "kind": "js",
4057
- "name": "*",
4057
+ "name": "foundationAiIndicatorStyles",
4058
4058
  "declaration": {
4059
- "name": "*",
4060
- "package": "./accordion-item"
4059
+ "name": "foundationAiIndicatorStyles",
4060
+ "module": "./ai-indicator.styles"
4061
4061
  }
4062
4062
  }
4063
4063
  ]