@genesislcap/foundation-ui 15.43.0-FUI-2629.1 → 15.43.0-FUI-2629.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1503,42 +1503,11 @@
1503
1503
  },
1504
1504
  {
1505
1505
  "kind": "javascript-module",
1506
- "path": "src/_config/index.ts",
1507
- "declarations": [],
1508
- "exports": [
1509
- {
1510
- "kind": "js",
1511
- "name": "*",
1512
- "declaration": {
1513
- "name": "*",
1514
- "package": "./styles"
1515
- }
1516
- },
1517
- {
1518
- "kind": "js",
1519
- "name": "*",
1520
- "declaration": {
1521
- "name": "*",
1522
- "package": "./tokens"
1523
- }
1524
- },
1525
- {
1526
- "kind": "js",
1527
- "name": "*",
1528
- "declaration": {
1529
- "name": "*",
1530
- "package": "./values"
1531
- }
1532
- }
1533
- ]
1534
- },
1535
- {
1536
- "kind": "javascript-module",
1537
- "path": "src/accordion-item/accordion-item.styles.ts",
1506
+ "path": "src/accordion/accordion.styles.ts",
1538
1507
  "declarations": [
1539
1508
  {
1540
1509
  "kind": "function",
1541
- "name": "foundationAccordionItemStyles",
1510
+ "name": "foundationAccordionStyles",
1542
1511
  "return": {
1543
1512
  "type": {
1544
1513
  "text": "ElementStyles"
@@ -1563,24 +1532,24 @@
1563
1532
  "exports": [
1564
1533
  {
1565
1534
  "kind": "js",
1566
- "name": "foundationAccordionItemStyles",
1535
+ "name": "foundationAccordionStyles",
1567
1536
  "declaration": {
1568
- "name": "foundationAccordionItemStyles",
1569
- "module": "src/accordion-item/accordion-item.styles.ts"
1537
+ "name": "foundationAccordionStyles",
1538
+ "module": "src/accordion/accordion.styles.ts"
1570
1539
  }
1571
1540
  }
1572
1541
  ]
1573
1542
  },
1574
1543
  {
1575
1544
  "kind": "javascript-module",
1576
- "path": "src/accordion-item/accordion-item.template.ts",
1545
+ "path": "src/accordion/accordion.template.ts",
1577
1546
  "declarations": [
1578
1547
  {
1579
1548
  "kind": "function",
1580
- "name": "foundationAccordionItemTemplate",
1549
+ "name": "foundationAccordionTemplate",
1581
1550
  "return": {
1582
1551
  "type": {
1583
- "text": "ViewTemplate<AccordionItem>"
1552
+ "text": "ViewTemplate<Accordion>"
1584
1553
  }
1585
1554
  },
1586
1555
  "parameters": [
@@ -1602,244 +1571,365 @@
1602
1571
  "exports": [
1603
1572
  {
1604
1573
  "kind": "js",
1605
- "name": "foundationAccordionItemTemplate",
1574
+ "name": "foundationAccordionTemplate",
1606
1575
  "declaration": {
1607
- "name": "foundationAccordionItemTemplate",
1608
- "module": "src/accordion-item/accordion-item.template.ts"
1576
+ "name": "foundationAccordionTemplate",
1577
+ "module": "src/accordion/accordion.template.ts"
1609
1578
  }
1610
1579
  }
1611
1580
  ]
1612
1581
  },
1613
1582
  {
1614
1583
  "kind": "javascript-module",
1615
- "path": "src/accordion-item/accordion-item.ts",
1584
+ "path": "src/accordion/accordion.ts",
1616
1585
  "declarations": [
1617
1586
  {
1618
1587
  "kind": "class",
1619
1588
  "description": "",
1620
- "name": "AccordionItem",
1589
+ "name": "Accordion",
1621
1590
  "superclass": {
1622
- "name": "FASTAccordionItem",
1623
- "package": "@microsoft/fast-components"
1591
+ "name": "FASTAccordion",
1592
+ "package": "@microsoft/fast-foundation"
1624
1593
  },
1625
- "tagName": "%%prefix%%-accordion-item",
1594
+ "tagName": "%%prefix%%-accordion",
1626
1595
  "customElement": true,
1627
1596
  "attributes": [
1628
1597
  {
1629
- "name": "heading-level",
1630
- "type": {
1631
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1632
- },
1633
- "default": "2",
1634
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1635
- "fieldName": "headinglevel",
1636
- "inheritedFrom": {
1637
- "name": "AccordionItem",
1638
- "module": "src/accordion-item/accordion-item.ts"
1639
- }
1640
- },
1641
- {
1642
- "type": {
1643
- "text": "boolean"
1644
- },
1645
- "default": "false",
1646
- "description": "Expands or collapses the item.",
1647
- "fieldName": "expanded",
1648
- "inheritedFrom": {
1649
- "name": "AccordionItem",
1650
- "module": "src/accordion-item/accordion-item.ts"
1651
- }
1652
- },
1653
- {
1654
- "name": "id",
1598
+ "name": "expand-mode",
1655
1599
  "type": {
1656
- "text": "string"
1600
+ "text": "AccordionExpandMode"
1657
1601
  },
1658
- "description": "The item ID",
1659
- "fieldName": "id",
1602
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1603
+ "fieldName": "expandmode",
1660
1604
  "inheritedFrom": {
1661
- "name": "AccordionItem",
1662
- "module": "src/accordion-item/accordion-item.ts"
1605
+ "name": "Accordion",
1606
+ "module": "src/accordion/accordion.ts"
1663
1607
  }
1664
1608
  }
1665
1609
  ],
1666
1610
  "members": [
1667
1611
  {
1668
1612
  "kind": "field",
1669
- "name": "headinglevel",
1613
+ "name": "expandmode",
1670
1614
  "type": {
1671
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1615
+ "text": "AccordionExpandMode"
1672
1616
  },
1673
1617
  "privacy": "public",
1674
- "default": "2",
1675
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1618
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1676
1619
  "inheritedFrom": {
1677
- "name": "AccordionItem",
1678
- "module": "src/accordion-item/accordion-item.ts"
1620
+ "name": "Accordion",
1621
+ "module": "src/accordion/accordion.ts"
1679
1622
  }
1680
1623
  },
1681
1624
  {
1682
1625
  "kind": "field",
1683
- "name": "expanded",
1626
+ "name": "activeid",
1684
1627
  "type": {
1685
- "text": "boolean"
1628
+ "text": "string | null"
1686
1629
  },
1687
- "privacy": "public",
1688
- "default": "false",
1689
- "description": "Expands or collapses the item.",
1630
+ "privacy": "private",
1690
1631
  "inheritedFrom": {
1691
- "name": "AccordionItem",
1692
- "module": "src/accordion-item/accordion-item.ts"
1632
+ "name": "Accordion",
1633
+ "module": "src/accordion/accordion.ts"
1693
1634
  }
1694
1635
  },
1695
1636
  {
1696
1637
  "kind": "field",
1697
- "name": "id",
1638
+ "name": "activeItemIndex",
1698
1639
  "type": {
1699
- "text": "string"
1640
+ "text": "number"
1700
1641
  },
1701
- "privacy": "public",
1702
- "description": "The item ID",
1642
+ "privacy": "private",
1643
+ "default": "0",
1703
1644
  "inheritedFrom": {
1704
- "name": "AccordionItem",
1705
- "module": "src/accordion-item/accordion-item.ts"
1645
+ "name": "Accordion",
1646
+ "module": "src/accordion/accordion.ts"
1706
1647
  }
1707
1648
  },
1708
1649
  {
1709
1650
  "kind": "field",
1710
- "name": "change",
1651
+ "name": "accordionIds",
1652
+ "type": {
1653
+ "text": "Array<string | null>"
1654
+ },
1711
1655
  "privacy": "private",
1712
1656
  "inheritedFrom": {
1713
- "name": "AccordionItem",
1714
- "module": "src/accordion-item/accordion-item.ts"
1657
+ "name": "Accordion",
1658
+ "module": "src/accordion/accordion.ts"
1715
1659
  }
1716
1660
  },
1717
1661
  {
1718
1662
  "kind": "field",
1719
- "name": "_presentation",
1720
- "type": {
1721
- "text": "ComponentPresentation | null | undefined"
1722
- },
1663
+ "name": "change",
1723
1664
  "privacy": "private",
1724
- "default": "void 0",
1725
1665
  "inheritedFrom": {
1726
- "name": "FoundationElement",
1727
- "module": "src/foundation-element/foundation-element.ts"
1666
+ "name": "Accordion",
1667
+ "module": "src/accordion/accordion.ts"
1728
1668
  }
1729
1669
  },
1730
1670
  {
1731
- "kind": "field",
1732
- "name": "$presentation",
1733
- "type": {
1734
- "text": "ComponentPresentation | null"
1671
+ "kind": "method",
1672
+ "name": "findExpandedItem",
1673
+ "privacy": "private",
1674
+ "return": {
1675
+ "type": {
1676
+ "text": "AccordionItem | null"
1677
+ }
1735
1678
  },
1736
- "privacy": "public",
1737
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1738
1679
  "inheritedFrom": {
1739
- "name": "FoundationElement",
1740
- "module": "src/foundation-element/foundation-element.ts"
1680
+ "name": "Accordion",
1681
+ "module": "src/accordion/accordion.ts"
1741
1682
  }
1742
1683
  },
1743
1684
  {
1744
1685
  "kind": "field",
1745
- "name": "template",
1746
- "type": {
1747
- "text": "ElementViewTemplate | void | null"
1748
- },
1749
- "privacy": "public",
1750
- "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.",
1686
+ "name": "setItems",
1687
+ "privacy": "private",
1751
1688
  "inheritedFrom": {
1752
- "name": "FoundationElement",
1753
- "module": "src/foundation-element/foundation-element.ts"
1689
+ "name": "Accordion",
1690
+ "module": "src/accordion/accordion.ts"
1754
1691
  }
1755
1692
  },
1756
1693
  {
1757
1694
  "kind": "method",
1758
- "name": "templateChanged",
1759
- "privacy": "protected",
1695
+ "name": "resetItems",
1696
+ "privacy": "private",
1760
1697
  "return": {
1761
1698
  "type": {
1762
1699
  "text": "void"
1763
1700
  }
1764
1701
  },
1765
1702
  "inheritedFrom": {
1766
- "name": "FoundationElement",
1767
- "module": "src/foundation-element/foundation-element.ts"
1703
+ "name": "Accordion",
1704
+ "module": "src/accordion/accordion.ts"
1768
1705
  }
1769
1706
  },
1770
1707
  {
1771
1708
  "kind": "field",
1772
- "name": "styles",
1773
- "type": {
1774
- "text": "ElementStyles | void | null"
1775
- },
1776
- "privacy": "public",
1777
- "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.",
1709
+ "name": "removeItemListeners",
1710
+ "privacy": "private",
1778
1711
  "inheritedFrom": {
1779
- "name": "FoundationElement",
1780
- "module": "src/foundation-element/foundation-element.ts"
1712
+ "name": "Accordion",
1713
+ "module": "src/accordion/accordion.ts"
1714
+ }
1715
+ },
1716
+ {
1717
+ "kind": "field",
1718
+ "name": "activeItemChange",
1719
+ "privacy": "private",
1720
+ "inheritedFrom": {
1721
+ "name": "Accordion",
1722
+ "module": "src/accordion/accordion.ts"
1781
1723
  }
1782
1724
  },
1783
1725
  {
1784
1726
  "kind": "method",
1785
- "name": "stylesChanged",
1786
- "privacy": "protected",
1727
+ "name": "getItemIds",
1728
+ "privacy": "private",
1787
1729
  "return": {
1788
1730
  "type": {
1789
- "text": "void"
1731
+ "text": "Array<string | null>"
1790
1732
  }
1791
1733
  },
1792
1734
  "inheritedFrom": {
1793
- "name": "FoundationElement",
1794
- "module": "src/foundation-element/foundation-element.ts"
1735
+ "name": "Accordion",
1736
+ "module": "src/accordion/accordion.ts"
1795
1737
  }
1796
1738
  },
1797
1739
  {
1798
1740
  "kind": "method",
1799
- "name": "compose",
1800
- "privacy": "public",
1801
- "static": true,
1741
+ "name": "isSingleExpandMode",
1742
+ "privacy": "private",
1802
1743
  "return": {
1803
1744
  "type": {
1804
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1745
+ "text": "boolean"
1805
1746
  }
1806
1747
  },
1807
- "parameters": [
1808
- {
1809
- "name": "this",
1810
- "type": {
1811
- "text": "K"
1812
- }
1813
- },
1814
- {
1815
- "name": "elementDefinition",
1816
- "type": {
1817
- "text": "T"
1818
- },
1819
- "description": "The definition of the element to create the registry\nfunction for."
1820
- }
1821
- ],
1822
- "description": "Defines an element registry function with a set of element definition defaults.",
1823
1748
  "inheritedFrom": {
1824
- "name": "FoundationElement",
1825
- "module": "src/foundation-element/foundation-element.ts"
1749
+ "name": "Accordion",
1750
+ "module": "src/accordion/accordion.ts"
1826
1751
  }
1827
- }
1828
- ],
1829
- "events": [
1752
+ },
1830
1753
  {
1831
- "description": "Fires a custom 'change' event when the button is invoked",
1832
- "name": "change",
1833
- "inheritedFrom": {
1834
- "name": "AccordionItem",
1835
- "module": "src/accordion-item/accordion-item.ts"
1754
+ "kind": "field",
1755
+ "name": "handleItemKeyDown",
1756
+ "privacy": "private",
1757
+ "inheritedFrom": {
1758
+ "name": "Accordion",
1759
+ "module": "src/accordion/accordion.ts"
1760
+ }
1761
+ },
1762
+ {
1763
+ "kind": "field",
1764
+ "name": "handleItemFocus",
1765
+ "privacy": "private",
1766
+ "inheritedFrom": {
1767
+ "name": "Accordion",
1768
+ "module": "src/accordion/accordion.ts"
1769
+ }
1770
+ },
1771
+ {
1772
+ "kind": "method",
1773
+ "name": "adjust",
1774
+ "privacy": "private",
1775
+ "return": {
1776
+ "type": {
1777
+ "text": "void"
1778
+ }
1779
+ },
1780
+ "parameters": [
1781
+ {
1782
+ "name": "adjustment",
1783
+ "type": {
1784
+ "text": "number"
1785
+ }
1786
+ }
1787
+ ],
1788
+ "inheritedFrom": {
1789
+ "name": "Accordion",
1790
+ "module": "src/accordion/accordion.ts"
1791
+ }
1792
+ },
1793
+ {
1794
+ "kind": "method",
1795
+ "name": "focusItem",
1796
+ "privacy": "private",
1797
+ "return": {
1798
+ "type": {
1799
+ "text": "void"
1800
+ }
1801
+ },
1802
+ "inheritedFrom": {
1803
+ "name": "Accordion",
1804
+ "module": "src/accordion/accordion.ts"
1805
+ }
1806
+ },
1807
+ {
1808
+ "kind": "field",
1809
+ "name": "_presentation",
1810
+ "type": {
1811
+ "text": "ComponentPresentation | null | undefined"
1812
+ },
1813
+ "privacy": "private",
1814
+ "default": "void 0",
1815
+ "inheritedFrom": {
1816
+ "name": "FoundationElement",
1817
+ "module": "src/foundation-element/foundation-element.ts"
1818
+ }
1819
+ },
1820
+ {
1821
+ "kind": "field",
1822
+ "name": "$presentation",
1823
+ "type": {
1824
+ "text": "ComponentPresentation | null"
1825
+ },
1826
+ "privacy": "public",
1827
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1828
+ "inheritedFrom": {
1829
+ "name": "FoundationElement",
1830
+ "module": "src/foundation-element/foundation-element.ts"
1831
+ }
1832
+ },
1833
+ {
1834
+ "kind": "field",
1835
+ "name": "template",
1836
+ "type": {
1837
+ "text": "ElementViewTemplate | void | null"
1838
+ },
1839
+ "privacy": "public",
1840
+ "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.",
1841
+ "inheritedFrom": {
1842
+ "name": "FoundationElement",
1843
+ "module": "src/foundation-element/foundation-element.ts"
1844
+ }
1845
+ },
1846
+ {
1847
+ "kind": "method",
1848
+ "name": "templateChanged",
1849
+ "privacy": "protected",
1850
+ "return": {
1851
+ "type": {
1852
+ "text": "void"
1853
+ }
1854
+ },
1855
+ "inheritedFrom": {
1856
+ "name": "FoundationElement",
1857
+ "module": "src/foundation-element/foundation-element.ts"
1858
+ }
1859
+ },
1860
+ {
1861
+ "kind": "field",
1862
+ "name": "styles",
1863
+ "type": {
1864
+ "text": "ElementStyles | void | null"
1865
+ },
1866
+ "privacy": "public",
1867
+ "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.",
1868
+ "inheritedFrom": {
1869
+ "name": "FoundationElement",
1870
+ "module": "src/foundation-element/foundation-element.ts"
1871
+ }
1872
+ },
1873
+ {
1874
+ "kind": "method",
1875
+ "name": "stylesChanged",
1876
+ "privacy": "protected",
1877
+ "return": {
1878
+ "type": {
1879
+ "text": "void"
1880
+ }
1881
+ },
1882
+ "inheritedFrom": {
1883
+ "name": "FoundationElement",
1884
+ "module": "src/foundation-element/foundation-element.ts"
1885
+ }
1886
+ },
1887
+ {
1888
+ "kind": "method",
1889
+ "name": "compose",
1890
+ "privacy": "public",
1891
+ "static": true,
1892
+ "return": {
1893
+ "type": {
1894
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1895
+ }
1896
+ },
1897
+ "parameters": [
1898
+ {
1899
+ "name": "this",
1900
+ "type": {
1901
+ "text": "K"
1902
+ }
1903
+ },
1904
+ {
1905
+ "name": "elementDefinition",
1906
+ "type": {
1907
+ "text": "T"
1908
+ },
1909
+ "description": "The definition of the element to create the registry\nfunction for."
1910
+ }
1911
+ ],
1912
+ "description": "Defines an element registry function with a set of element definition defaults.",
1913
+ "inheritedFrom": {
1914
+ "name": "FoundationElement",
1915
+ "module": "src/foundation-element/foundation-element.ts"
1916
+ }
1917
+ }
1918
+ ],
1919
+ "events": [
1920
+ {
1921
+ "description": "Fires a custom 'change' event when the active item changes",
1922
+ "name": "change",
1923
+ "inheritedFrom": {
1924
+ "name": "Accordion",
1925
+ "module": "src/accordion/accordion.ts"
1836
1926
  }
1837
1927
  }
1838
1928
  ]
1839
1929
  },
1840
1930
  {
1841
1931
  "kind": "variable",
1842
- "name": "foundationAccordionItemShadowOptions",
1932
+ "name": "foundationAccordionShadowOptions",
1843
1933
  "type": {
1844
1934
  "text": "ShadowRootInit"
1845
1935
  },
@@ -1847,57 +1937,57 @@
1847
1937
  },
1848
1938
  {
1849
1939
  "kind": "variable",
1850
- "name": "defaultAccordionItemConfig",
1940
+ "name": "defaultAccordionConfig",
1851
1941
  "type": {
1852
1942
  "text": "object"
1853
1943
  },
1854
- "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}"
1944
+ "default": "{}"
1855
1945
  },
1856
1946
  {
1857
1947
  "kind": "variable",
1858
- "name": "foundationAccordionItem",
1859
- "description": "The Foundation Accordion Item",
1948
+ "name": "foundationAccordion",
1949
+ "description": "The Foundation Accordion",
1860
1950
  "privacy": "public"
1861
1951
  }
1862
1952
  ],
1863
1953
  "exports": [
1864
1954
  {
1865
1955
  "kind": "js",
1866
- "name": "AccordionItem",
1956
+ "name": "Accordion",
1867
1957
  "declaration": {
1868
- "name": "AccordionItem",
1869
- "module": "src/accordion-item/accordion-item.ts"
1958
+ "name": "Accordion",
1959
+ "module": "src/accordion/accordion.ts"
1870
1960
  }
1871
1961
  },
1872
1962
  {
1873
1963
  "kind": "js",
1874
- "name": "foundationAccordionItemShadowOptions",
1964
+ "name": "foundationAccordionShadowOptions",
1875
1965
  "declaration": {
1876
- "name": "foundationAccordionItemShadowOptions",
1877
- "module": "src/accordion-item/accordion-item.ts"
1966
+ "name": "foundationAccordionShadowOptions",
1967
+ "module": "src/accordion/accordion.ts"
1878
1968
  }
1879
1969
  },
1880
1970
  {
1881
1971
  "kind": "js",
1882
- "name": "defaultAccordionItemConfig",
1972
+ "name": "defaultAccordionConfig",
1883
1973
  "declaration": {
1884
- "name": "defaultAccordionItemConfig",
1885
- "module": "src/accordion-item/accordion-item.ts"
1974
+ "name": "defaultAccordionConfig",
1975
+ "module": "src/accordion/accordion.ts"
1886
1976
  }
1887
1977
  },
1888
1978
  {
1889
1979
  "kind": "js",
1890
- "name": "foundationAccordionItem",
1980
+ "name": "foundationAccordion",
1891
1981
  "declaration": {
1892
- "name": "foundationAccordionItem",
1893
- "module": "src/accordion-item/accordion-item.ts"
1982
+ "name": "foundationAccordion",
1983
+ "module": "src/accordion/accordion.ts"
1894
1984
  }
1895
1985
  }
1896
1986
  ]
1897
1987
  },
1898
1988
  {
1899
1989
  "kind": "javascript-module",
1900
- "path": "src/accordion-item/index.ts",
1990
+ "path": "src/accordion/index.ts",
1901
1991
  "declarations": [],
1902
1992
  "exports": [
1903
1993
  {
@@ -1905,7 +1995,7 @@
1905
1995
  "name": "*",
1906
1996
  "declaration": {
1907
1997
  "name": "*",
1908
- "package": "./accordion-item.template"
1998
+ "package": "./accordion.template"
1909
1999
  }
1910
2000
  },
1911
2001
  {
@@ -1913,7 +2003,7 @@
1913
2003
  "name": "*",
1914
2004
  "declaration": {
1915
2005
  "name": "*",
1916
- "package": "./accordion-item.styles"
2006
+ "package": "./accordion.styles"
1917
2007
  }
1918
2008
  },
1919
2009
  {
@@ -1921,18 +2011,49 @@
1921
2011
  "name": "*",
1922
2012
  "declaration": {
1923
2013
  "name": "*",
1924
- "package": "./accordion-item"
2014
+ "package": "./accordion"
1925
2015
  }
1926
2016
  }
1927
2017
  ]
1928
2018
  },
1929
2019
  {
1930
2020
  "kind": "javascript-module",
1931
- "path": "src/actions-menu/actions-menu.styles.ts",
2021
+ "path": "src/_config/index.ts",
2022
+ "declarations": [],
2023
+ "exports": [
2024
+ {
2025
+ "kind": "js",
2026
+ "name": "*",
2027
+ "declaration": {
2028
+ "name": "*",
2029
+ "package": "./styles"
2030
+ }
2031
+ },
2032
+ {
2033
+ "kind": "js",
2034
+ "name": "*",
2035
+ "declaration": {
2036
+ "name": "*",
2037
+ "package": "./tokens"
2038
+ }
2039
+ },
2040
+ {
2041
+ "kind": "js",
2042
+ "name": "*",
2043
+ "declaration": {
2044
+ "name": "*",
2045
+ "package": "./values"
2046
+ }
2047
+ }
2048
+ ]
2049
+ },
2050
+ {
2051
+ "kind": "javascript-module",
2052
+ "path": "src/accordion-item/accordion-item.styles.ts",
1932
2053
  "declarations": [
1933
2054
  {
1934
2055
  "kind": "function",
1935
- "name": "actionsMenuBaseStyles",
2056
+ "name": "foundationAccordionItemStyles",
1936
2057
  "return": {
1937
2058
  "type": {
1938
2059
  "text": "ElementStyles"
@@ -1952,392 +2073,226 @@
1952
2073
  }
1953
2074
  }
1954
2075
  ]
1955
- },
1956
- {
1957
- "kind": "function",
1958
- "name": "foundationActionsMenuStyles",
1959
- "return": {
1960
- "type": {
1961
- "text": "ElementStyles"
1962
- }
1963
- },
1964
- "parameters": [
1965
- {
1966
- "name": "context",
1967
- "type": {
1968
- "text": "ElementDefinitionContext"
1969
- }
1970
- },
1971
- {
1972
- "name": "definition",
1973
- "type": {
1974
- "text": "FoundationElementDefinition"
1975
- }
1976
- }
1977
- ]
1978
- }
1979
- ],
1980
- "exports": [
1981
- {
1982
- "kind": "js",
1983
- "name": "actionsMenuBaseStyles",
1984
- "declaration": {
1985
- "name": "actionsMenuBaseStyles",
1986
- "module": "src/actions-menu/actions-menu.styles.ts"
1987
- }
1988
- },
2076
+ }
2077
+ ],
2078
+ "exports": [
1989
2079
  {
1990
2080
  "kind": "js",
1991
- "name": "foundationActionsMenuStyles",
2081
+ "name": "foundationAccordionItemStyles",
1992
2082
  "declaration": {
1993
- "name": "foundationActionsMenuStyles",
1994
- "module": "src/actions-menu/actions-menu.styles.ts"
2083
+ "name": "foundationAccordionItemStyles",
2084
+ "module": "src/accordion-item/accordion-item.styles.ts"
1995
2085
  }
1996
2086
  }
1997
2087
  ]
1998
2088
  },
1999
2089
  {
2000
2090
  "kind": "javascript-module",
2001
- "path": "src/actions-menu/actions-menu.template.ts",
2091
+ "path": "src/accordion-item/accordion-item.template.ts",
2002
2092
  "declarations": [
2003
2093
  {
2004
2094
  "kind": "function",
2005
- "name": "menuTemplate",
2095
+ "name": "foundationAccordionItemTemplate",
2096
+ "return": {
2097
+ "type": {
2098
+ "text": "ViewTemplate<AccordionItem>"
2099
+ }
2100
+ },
2006
2101
  "parameters": [
2007
2102
  {
2008
- "name": "prefix",
2103
+ "name": "context",
2009
2104
  "type": {
2010
- "text": "string"
2105
+ "text": "ElementDefinitionContext"
2011
2106
  }
2012
- }
2013
- ]
2014
- },
2015
- {
2016
- "kind": "function",
2017
- "name": "singleOptionTemplate",
2018
- "parameters": [
2107
+ },
2019
2108
  {
2020
- "name": "prefix",
2109
+ "name": "definition",
2021
2110
  "type": {
2022
- "text": "string"
2111
+ "text": "FoundationElementDefinition"
2023
2112
  }
2024
2113
  }
2025
2114
  ]
2026
- },
2027
- {
2028
- "kind": "variable",
2029
- "name": "foundationActionsMenuTemplate",
2030
- "type": {
2031
- "text": "ViewTemplate<ActionsMenu>"
2032
- },
2033
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2034
2115
  }
2035
2116
  ],
2036
2117
  "exports": [
2037
2118
  {
2038
2119
  "kind": "js",
2039
- "name": "menuTemplate",
2040
- "declaration": {
2041
- "name": "menuTemplate",
2042
- "module": "src/actions-menu/actions-menu.template.ts"
2043
- }
2044
- },
2045
- {
2046
- "kind": "js",
2047
- "name": "singleOptionTemplate",
2048
- "declaration": {
2049
- "name": "singleOptionTemplate",
2050
- "module": "src/actions-menu/actions-menu.template.ts"
2051
- }
2052
- },
2053
- {
2054
- "kind": "js",
2055
- "name": "foundationActionsMenuTemplate",
2120
+ "name": "foundationAccordionItemTemplate",
2056
2121
  "declaration": {
2057
- "name": "foundationActionsMenuTemplate",
2058
- "module": "src/actions-menu/actions-menu.template.ts"
2122
+ "name": "foundationAccordionItemTemplate",
2123
+ "module": "src/accordion-item/accordion-item.template.ts"
2059
2124
  }
2060
2125
  }
2061
2126
  ]
2062
2127
  },
2063
2128
  {
2064
2129
  "kind": "javascript-module",
2065
- "path": "src/actions-menu/actions-menu.ts",
2130
+ "path": "src/accordion-item/accordion-item.ts",
2066
2131
  "declarations": [
2067
2132
  {
2068
2133
  "kind": "class",
2069
2134
  "description": "",
2070
- "name": "ActionsMenu",
2071
- "members": [
2135
+ "name": "AccordionItem",
2136
+ "superclass": {
2137
+ "name": "FASTAccordionItem",
2138
+ "package": "@microsoft/fast-components"
2139
+ },
2140
+ "tagName": "%%prefix%%-accordion-item",
2141
+ "customElement": true,
2142
+ "attributes": [
2072
2143
  {
2073
- "kind": "field",
2074
- "name": "actions",
2144
+ "name": "heading-level",
2075
2145
  "type": {
2076
- "text": "ActionMenuItem[]"
2146
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2147
+ },
2148
+ "default": "2",
2149
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2150
+ "fieldName": "headinglevel",
2151
+ "inheritedFrom": {
2152
+ "name": "AccordionItem",
2153
+ "module": "src/accordion-item/accordion-item.ts"
2077
2154
  }
2078
2155
  },
2079
2156
  {
2080
- "kind": "field",
2081
- "name": "isVertical",
2082
2157
  "type": {
2083
2158
  "text": "boolean"
2084
2159
  },
2085
- "default": "false"
2160
+ "default": "false",
2161
+ "description": "Expands or collapses the item.",
2162
+ "fieldName": "expanded",
2163
+ "inheritedFrom": {
2164
+ "name": "AccordionItem",
2165
+ "module": "src/accordion-item/accordion-item.ts"
2166
+ }
2086
2167
  },
2087
2168
  {
2088
- "kind": "field",
2089
- "name": "addDefaultActions",
2169
+ "name": "id",
2090
2170
  "type": {
2091
- "text": "boolean"
2171
+ "text": "string"
2092
2172
  },
2093
- "default": "true"
2094
- },
2173
+ "description": "The item ID",
2174
+ "fieldName": "id",
2175
+ "inheritedFrom": {
2176
+ "name": "AccordionItem",
2177
+ "module": "src/accordion-item/accordion-item.ts"
2178
+ }
2179
+ }
2180
+ ],
2181
+ "members": [
2095
2182
  {
2096
2183
  "kind": "field",
2097
- "name": "autoCloseOnAction",
2184
+ "name": "headinglevel",
2098
2185
  "type": {
2099
- "text": "boolean"
2186
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2100
2187
  },
2101
- "default": "true"
2102
- },
2103
- {
2104
- "kind": "field",
2105
- "name": "classNames",
2106
- "type": {
2107
- "text": "string"
2188
+ "privacy": "public",
2189
+ "default": "2",
2190
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2191
+ "inheritedFrom": {
2192
+ "name": "AccordionItem",
2193
+ "module": "src/accordion-item/accordion-item.ts"
2108
2194
  }
2109
2195
  },
2110
2196
  {
2111
2197
  "kind": "field",
2112
- "name": "definition",
2198
+ "name": "expanded",
2113
2199
  "type": {
2114
- "text": "any"
2200
+ "text": "boolean"
2201
+ },
2202
+ "privacy": "public",
2203
+ "default": "false",
2204
+ "description": "Expands or collapses the item.",
2205
+ "inheritedFrom": {
2206
+ "name": "AccordionItem",
2207
+ "module": "src/accordion-item/accordion-item.ts"
2115
2208
  }
2116
2209
  },
2117
2210
  {
2118
2211
  "kind": "field",
2119
- "name": "name",
2212
+ "name": "id",
2120
2213
  "type": {
2121
2214
  "text": "string"
2122
2215
  },
2123
- "default": "'Actions'"
2124
- },
2125
- {
2126
- "kind": "field",
2127
- "name": "open",
2128
- "type": {
2129
- "text": "boolean"
2130
- },
2131
- "default": "false"
2216
+ "privacy": "public",
2217
+ "description": "The item ID",
2218
+ "inheritedFrom": {
2219
+ "name": "AccordionItem",
2220
+ "module": "src/accordion-item/accordion-item.ts"
2221
+ }
2132
2222
  },
2133
2223
  {
2134
2224
  "kind": "field",
2135
- "name": "buttonAppearance",
2136
- "type": {
2137
- "text": "string"
2225
+ "name": "change",
2226
+ "privacy": "private",
2227
+ "inheritedFrom": {
2228
+ "name": "AccordionItem",
2229
+ "module": "src/accordion-item/accordion-item.ts"
2138
2230
  }
2139
2231
  },
2140
2232
  {
2141
2233
  "kind": "field",
2142
- "name": "hideDisabled",
2234
+ "name": "_presentation",
2143
2235
  "type": {
2144
- "text": "boolean"
2236
+ "text": "ComponentPresentation | null | undefined"
2145
2237
  },
2146
- "default": "false"
2238
+ "privacy": "private",
2239
+ "default": "void 0",
2240
+ "inheritedFrom": {
2241
+ "name": "FoundationElement",
2242
+ "module": "src/foundation-element/foundation-element.ts"
2243
+ }
2147
2244
  },
2148
2245
  {
2149
2246
  "kind": "field",
2150
- "name": "hideMenuSingleOption",
2247
+ "name": "$presentation",
2151
2248
  "type": {
2152
- "text": "boolean"
2249
+ "text": "ComponentPresentation | null"
2153
2250
  },
2154
- "default": "false"
2251
+ "privacy": "public",
2252
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2253
+ "inheritedFrom": {
2254
+ "name": "FoundationElement",
2255
+ "module": "src/foundation-element/foundation-element.ts"
2256
+ }
2155
2257
  },
2156
2258
  {
2157
2259
  "kind": "field",
2158
- "name": "singleOption",
2260
+ "name": "template",
2159
2261
  "type": {
2160
- "text": "ActionMenuItem"
2262
+ "text": "ElementViewTemplate | void | null"
2263
+ },
2264
+ "privacy": "public",
2265
+ "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.",
2266
+ "inheritedFrom": {
2267
+ "name": "FoundationElement",
2268
+ "module": "src/foundation-element/foundation-element.ts"
2161
2269
  }
2162
2270
  },
2163
2271
  {
2164
- "kind": "field",
2165
- "name": "actionsMenu",
2166
- "type": {
2167
- "text": "HTMLElement"
2272
+ "kind": "method",
2273
+ "name": "templateChanged",
2274
+ "privacy": "protected",
2275
+ "return": {
2276
+ "type": {
2277
+ "text": "void"
2278
+ }
2279
+ },
2280
+ "inheritedFrom": {
2281
+ "name": "FoundationElement",
2282
+ "module": "src/foundation-element/foundation-element.ts"
2168
2283
  }
2169
2284
  },
2170
2285
  {
2171
2286
  "kind": "field",
2172
- "name": "actionsOpener",
2287
+ "name": "styles",
2173
2288
  "type": {
2174
- "text": "HTMLElement"
2175
- }
2176
- },
2177
- {
2178
- "kind": "field",
2179
- "name": "positionTracker",
2180
- "type": {
2181
- "text": "AnchoredPopoverPositionTracker | undefined"
2182
- },
2183
- "privacy": "private"
2184
- },
2185
- {
2186
- "kind": "method",
2187
- "name": "updateMenuPosition",
2188
- "privacy": "private"
2189
- },
2190
- {
2191
- "kind": "method",
2192
- "name": "definitionChanged",
2193
- "privacy": "protected",
2194
- "parameters": [
2195
- {
2196
- "name": "oldValue",
2197
- "type": {
2198
- "text": "any"
2199
- }
2200
- },
2201
- {
2202
- "name": "newValue",
2203
- "type": {
2204
- "text": "any"
2205
- }
2206
- }
2207
- ]
2208
- },
2209
- {
2210
- "kind": "method",
2211
- "name": "openChanged",
2212
- "privacy": "protected"
2213
- },
2214
- {
2215
- "kind": "method",
2216
- "name": "startTrackingPosition",
2217
- "privacy": "private"
2218
- },
2219
- {
2220
- "kind": "method",
2221
- "name": "stopTrackingPosition",
2222
- "privacy": "private"
2223
- },
2224
- {
2225
- "kind": "method",
2226
- "name": "toggleActionsMenuVisibility"
2227
- },
2228
- {
2229
- "kind": "method",
2230
- "name": "onActionMenuItemClick",
2231
- "parameters": [
2232
- {
2233
- "name": "callback",
2234
- "type": {
2235
- "text": "(rowData) => void | any"
2236
- }
2237
- }
2238
- ]
2239
- },
2240
- {
2241
- "kind": "field",
2242
- "name": "allActions",
2243
- "type": {
2244
- "text": "ActionMenuItem[]"
2245
- },
2246
- "readonly": true
2247
- },
2248
- {
2249
- "kind": "field",
2250
- "name": "rowData",
2251
- "readonly": true
2252
- },
2253
- {
2254
- "kind": "method",
2255
- "name": "getLabel",
2256
- "parameters": [
2257
- {
2258
- "name": "name",
2259
- "type": {
2260
- "text": "string | ((rowData: any) => string)"
2261
- }
2262
- }
2263
- ]
2264
- },
2265
- {
2266
- "kind": "method",
2267
- "name": "getTemplate",
2268
- "parameters": [
2269
- {
2270
- "name": "prefix",
2271
- "type": {
2272
- "text": "string"
2273
- }
2274
- }
2275
- ]
2276
- },
2277
- {
2278
- "kind": "field",
2279
- "name": "_presentation",
2280
- "type": {
2281
- "text": "ComponentPresentation | null | undefined"
2282
- },
2283
- "privacy": "private",
2284
- "default": "void 0",
2285
- "inheritedFrom": {
2286
- "name": "FoundationElement",
2287
- "module": "src/foundation-element/foundation-element.ts"
2288
- }
2289
- },
2290
- {
2291
- "kind": "field",
2292
- "name": "$presentation",
2293
- "type": {
2294
- "text": "ComponentPresentation | null"
2295
- },
2296
- "privacy": "public",
2297
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2298
- "inheritedFrom": {
2299
- "name": "FoundationElement",
2300
- "module": "src/foundation-element/foundation-element.ts"
2301
- }
2302
- },
2303
- {
2304
- "kind": "field",
2305
- "name": "template",
2306
- "type": {
2307
- "text": "ElementViewTemplate | void | null"
2308
- },
2309
- "privacy": "public",
2310
- "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.",
2311
- "inheritedFrom": {
2312
- "name": "FoundationElement",
2313
- "module": "src/foundation-element/foundation-element.ts"
2314
- }
2315
- },
2316
- {
2317
- "kind": "method",
2318
- "name": "templateChanged",
2319
- "privacy": "protected",
2320
- "return": {
2321
- "type": {
2322
- "text": "void"
2323
- }
2324
- },
2325
- "inheritedFrom": {
2326
- "name": "FoundationElement",
2327
- "module": "src/foundation-element/foundation-element.ts"
2328
- }
2329
- },
2330
- {
2331
- "kind": "field",
2332
- "name": "styles",
2333
- "type": {
2334
- "text": "ElementStyles | void | null"
2335
- },
2336
- "privacy": "public",
2337
- "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.",
2338
- "inheritedFrom": {
2339
- "name": "FoundationElement",
2340
- "module": "src/foundation-element/foundation-element.ts"
2289
+ "text": "ElementStyles | void | null"
2290
+ },
2291
+ "privacy": "public",
2292
+ "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.",
2293
+ "inheritedFrom": {
2294
+ "name": "FoundationElement",
2295
+ "module": "src/foundation-element/foundation-element.ts"
2341
2296
  }
2342
2297
  },
2343
2298
  {
@@ -2386,107 +2341,78 @@
2386
2341
  }
2387
2342
  }
2388
2343
  ],
2389
- "attributes": [
2390
- {
2391
- "name": "is-vertical",
2392
- "type": {
2393
- "text": "boolean"
2394
- },
2395
- "default": "false",
2396
- "fieldName": "isVertical"
2397
- },
2398
- {
2399
- "name": "add-default-actions",
2400
- "type": {
2401
- "text": "boolean"
2402
- },
2403
- "default": "true",
2404
- "fieldName": "addDefaultActions"
2405
- },
2406
- {
2407
- "name": "auto-close-on-action",
2408
- "type": {
2409
- "text": "boolean"
2410
- },
2411
- "default": "true",
2412
- "fieldName": "autoCloseOnAction"
2413
- },
2414
- {
2415
- "name": "name",
2416
- "type": {
2417
- "text": "string"
2418
- },
2419
- "default": "'Actions'",
2420
- "fieldName": "name"
2421
- },
2422
- {
2423
- "name": "open",
2424
- "type": {
2425
- "text": "boolean"
2426
- },
2427
- "default": "false",
2428
- "fieldName": "open"
2429
- },
2430
- {
2431
- "name": "buttonAppearance",
2432
- "type": {
2433
- "text": "string"
2434
- },
2435
- "fieldName": "buttonAppearance"
2436
- },
2437
- {
2438
- "name": "hide-disabled",
2439
- "type": {
2440
- "text": "boolean"
2441
- },
2442
- "default": "false",
2443
- "fieldName": "hideDisabled"
2444
- },
2344
+ "events": [
2445
2345
  {
2446
- "name": "hide-menu-single-option",
2447
- "type": {
2448
- "text": "boolean"
2449
- },
2450
- "default": "false",
2451
- "fieldName": "hideMenuSingleOption"
2346
+ "description": "Fires a custom 'change' event when the button is invoked",
2347
+ "name": "change",
2348
+ "inheritedFrom": {
2349
+ "name": "AccordionItem",
2350
+ "module": "src/accordion-item/accordion-item.ts"
2351
+ }
2452
2352
  }
2453
- ],
2454
- "superclass": {
2455
- "name": "FoundationElement",
2456
- "package": "@microsoft/fast-foundation"
2353
+ ]
2354
+ },
2355
+ {
2356
+ "kind": "variable",
2357
+ "name": "foundationAccordionItemShadowOptions",
2358
+ "type": {
2359
+ "text": "ShadowRootInit"
2457
2360
  },
2458
- "tagName": "%%prefix%%-actions-menu",
2459
- "customElement": true
2361
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2460
2362
  },
2461
2363
  {
2462
2364
  "kind": "variable",
2463
- "name": "foundationActionsMenu",
2464
- "description": "The Foundation Actions Menu",
2365
+ "name": "defaultAccordionItemConfig",
2366
+ "type": {
2367
+ "text": "object"
2368
+ },
2369
+ "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}"
2370
+ },
2371
+ {
2372
+ "kind": "variable",
2373
+ "name": "foundationAccordionItem",
2374
+ "description": "The Foundation Accordion Item",
2465
2375
  "privacy": "public"
2466
2376
  }
2467
2377
  ],
2468
2378
  "exports": [
2469
2379
  {
2470
2380
  "kind": "js",
2471
- "name": "ActionsMenu",
2381
+ "name": "AccordionItem",
2472
2382
  "declaration": {
2473
- "name": "ActionsMenu",
2474
- "module": "src/actions-menu/actions-menu.ts"
2383
+ "name": "AccordionItem",
2384
+ "module": "src/accordion-item/accordion-item.ts"
2475
2385
  }
2476
2386
  },
2477
2387
  {
2478
2388
  "kind": "js",
2479
- "name": "foundationActionsMenu",
2389
+ "name": "foundationAccordionItemShadowOptions",
2480
2390
  "declaration": {
2481
- "name": "foundationActionsMenu",
2482
- "module": "src/actions-menu/actions-menu.ts"
2391
+ "name": "foundationAccordionItemShadowOptions",
2392
+ "module": "src/accordion-item/accordion-item.ts"
2393
+ }
2394
+ },
2395
+ {
2396
+ "kind": "js",
2397
+ "name": "defaultAccordionItemConfig",
2398
+ "declaration": {
2399
+ "name": "defaultAccordionItemConfig",
2400
+ "module": "src/accordion-item/accordion-item.ts"
2401
+ }
2402
+ },
2403
+ {
2404
+ "kind": "js",
2405
+ "name": "foundationAccordionItem",
2406
+ "declaration": {
2407
+ "name": "foundationAccordionItem",
2408
+ "module": "src/accordion-item/accordion-item.ts"
2483
2409
  }
2484
2410
  }
2485
2411
  ]
2486
2412
  },
2487
2413
  {
2488
2414
  "kind": "javascript-module",
2489
- "path": "src/actions-menu/index.ts",
2415
+ "path": "src/accordion-item/index.ts",
2490
2416
  "declarations": [],
2491
2417
  "exports": [
2492
2418
  {
@@ -2494,7 +2420,7 @@
2494
2420
  "name": "*",
2495
2421
  "declaration": {
2496
2422
  "name": "*",
2497
- "package": "./actions-menu.styles"
2423
+ "package": "./accordion-item.template"
2498
2424
  }
2499
2425
  },
2500
2426
  {
@@ -2502,7 +2428,7 @@
2502
2428
  "name": "*",
2503
2429
  "declaration": {
2504
2430
  "name": "*",
2505
- "package": "./actions-menu.template"
2431
+ "package": "./accordion-item.styles"
2506
2432
  }
2507
2433
  },
2508
2434
  {
@@ -2510,64 +2436,82 @@
2510
2436
  "name": "*",
2511
2437
  "declaration": {
2512
2438
  "name": "*",
2513
- "package": "./actions-menu"
2439
+ "package": "./accordion-item"
2514
2440
  }
2515
2441
  }
2516
2442
  ]
2517
2443
  },
2518
2444
  {
2519
2445
  "kind": "javascript-module",
2520
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2446
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2521
2447
  "declarations": [
2522
2448
  {
2523
- "kind": "variable",
2524
- "name": "foundationAiCriteriaSearchStyles",
2525
- "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`"
2449
+ "kind": "function",
2450
+ "name": "foundationAiIndicatorStyles",
2451
+ "return": {
2452
+ "type": {
2453
+ "text": "ElementStyles"
2454
+ }
2455
+ },
2456
+ "parameters": [
2457
+ {
2458
+ "name": "context",
2459
+ "type": {
2460
+ "text": "ElementDefinitionContext"
2461
+ }
2462
+ },
2463
+ {
2464
+ "name": "definition",
2465
+ "type": {
2466
+ "text": "FoundationElementDefinition"
2467
+ }
2468
+ }
2469
+ ]
2526
2470
  }
2527
2471
  ],
2528
2472
  "exports": [
2529
2473
  {
2530
2474
  "kind": "js",
2531
- "name": "foundationAiCriteriaSearchStyles",
2475
+ "name": "foundationAiIndicatorStyles",
2532
2476
  "declaration": {
2533
- "name": "foundationAiCriteriaSearchStyles",
2534
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2477
+ "name": "foundationAiIndicatorStyles",
2478
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2535
2479
  }
2536
2480
  }
2537
2481
  ]
2538
2482
  },
2539
2483
  {
2540
2484
  "kind": "javascript-module",
2541
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2485
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2542
2486
  "declarations": [
2543
2487
  {
2544
2488
  "kind": "variable",
2545
- "name": "foundationAiCriteriaSearchTemplate",
2489
+ "name": "foundationAiIndicatorTemplate",
2546
2490
  "type": {
2547
- "text": "ViewTemplate<AiCriteriaSearch>"
2491
+ "text": "ViewTemplate<AiIndicator>"
2548
2492
  },
2549
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2493
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2550
2494
  }
2551
2495
  ],
2552
2496
  "exports": [
2553
2497
  {
2554
2498
  "kind": "js",
2555
- "name": "foundationAiCriteriaSearchTemplate",
2499
+ "name": "foundationAiIndicatorTemplate",
2556
2500
  "declaration": {
2557
- "name": "foundationAiCriteriaSearchTemplate",
2558
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2501
+ "name": "foundationAiIndicatorTemplate",
2502
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2559
2503
  }
2560
2504
  }
2561
2505
  ]
2562
2506
  },
2563
2507
  {
2564
2508
  "kind": "javascript-module",
2565
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2509
+ "path": "src/ai-indicator/ai-indicator.ts",
2566
2510
  "declarations": [
2567
2511
  {
2568
2512
  "kind": "class",
2569
- "description": "Natural-language criteria search input with AI interpretation.",
2570
- "name": "AiCriteriaSearch",
2513
+ "description": "",
2514
+ "name": "AiIndicator",
2571
2515
  "members": [
2572
2516
  {
2573
2517
  "kind": "field",
@@ -2578,54 +2522,25 @@
2578
2522
  },
2579
2523
  {
2580
2524
  "kind": "field",
2581
- "name": "placeholder",
2582
- "type": {
2583
- "text": "string"
2584
- },
2585
- "default": "'Describe your search criteria in natural language...'"
2586
- },
2587
- {
2588
- "kind": "field",
2589
- "name": "disabled",
2590
- "type": {
2591
- "text": "boolean"
2592
- }
2593
- },
2594
- {
2595
- "kind": "field",
2596
- "name": "inputValue",
2597
- "type": {
2598
- "text": "string"
2599
- },
2600
- "default": "''"
2601
- },
2602
- {
2603
- "kind": "field",
2604
- "name": "isInterpreting",
2525
+ "name": "aiProvider",
2605
2526
  "type": {
2606
- "text": "boolean"
2527
+ "text": "AIProvider | undefined"
2607
2528
  },
2608
- "default": "false"
2529
+ "privacy": "private",
2530
+ "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.",
2531
+ "readonly": true
2609
2532
  },
2610
2533
  {
2611
2534
  "kind": "field",
2612
- "name": "lastValidCriteria",
2535
+ "name": "status",
2613
2536
  "type": {
2614
- "text": "string | null"
2537
+ "text": "AIStatus | null"
2615
2538
  },
2616
2539
  "default": "null"
2617
2540
  },
2618
2541
  {
2619
2542
  "kind": "field",
2620
- "name": "activeGroups",
2621
- "type": {
2622
- "text": "CriteriaGroup[]"
2623
- },
2624
- "default": "[]"
2625
- },
2626
- {
2627
- "kind": "field",
2628
- "name": "showingChips",
2543
+ "name": "open",
2629
2544
  "type": {
2630
2545
  "text": "boolean"
2631
2546
  },
@@ -2633,15 +2548,15 @@
2633
2548
  },
2634
2549
  {
2635
2550
  "kind": "field",
2636
- "name": "fieldMetadata",
2551
+ "name": "state",
2637
2552
  "type": {
2638
- "text": "MetadataDetail[] | string[]"
2553
+ "text": "AIIndicatorState"
2639
2554
  },
2640
- "default": "[]"
2555
+ "default": "'none'"
2641
2556
  },
2642
2557
  {
2643
2558
  "kind": "field",
2644
- "name": "isRecording",
2559
+ "name": "isInstalling",
2645
2560
  "type": {
2646
2561
  "text": "boolean"
2647
2562
  },
@@ -2649,33 +2564,29 @@
2649
2564
  },
2650
2565
  {
2651
2566
  "kind": "field",
2652
- "name": "textAreaRef",
2567
+ "name": "pollTimer",
2653
2568
  "type": {
2654
- "text": "HTMLTextAreaElement"
2569
+ "text": "ReturnType<typeof setInterval> | null"
2655
2570
  },
2656
- "privacy": "public"
2571
+ "privacy": "private",
2572
+ "default": "null"
2657
2573
  },
2658
2574
  {
2659
2575
  "kind": "field",
2660
- "name": "stopRecording",
2661
- "type": {
2662
- "text": "(() => void) | null"
2663
- },
2664
- "privacy": "private",
2665
- "default": "null"
2576
+ "name": "clickOutside",
2577
+ "privacy": "private"
2666
2578
  },
2667
2579
  {
2668
2580
  "kind": "field",
2669
- "name": "speechApplyDebounceTimer",
2581
+ "name": "chromeStatusLabel",
2670
2582
  "type": {
2671
- "text": "ReturnType<typeof setTimeout> | null"
2583
+ "text": "string | null"
2672
2584
  },
2673
- "privacy": "private",
2674
- "default": "null"
2585
+ "readonly": true
2675
2586
  },
2676
2587
  {
2677
2588
  "kind": "field",
2678
- "name": "speechAvailable",
2589
+ "name": "canInstall",
2679
2590
  "type": {
2680
2591
  "text": "boolean"
2681
2592
  },
@@ -2683,65 +2594,69 @@
2683
2594
  },
2684
2595
  {
2685
2596
  "kind": "field",
2686
- "name": "criteriaChips",
2597
+ "name": "isDownloading",
2687
2598
  "type": {
2688
- "text": "CriteriaChip[]"
2599
+ "text": "boolean"
2689
2600
  },
2690
2601
  "readonly": true
2691
2602
  },
2692
2603
  {
2693
2604
  "kind": "method",
2694
- "name": "getFieldLabel",
2695
- "privacy": "private",
2605
+ "name": "openChanged",
2696
2606
  "return": {
2697
2607
  "type": {
2698
- "text": "string"
2608
+ "text": "void"
2699
2609
  }
2700
- },
2610
+ }
2611
+ },
2612
+ {
2613
+ "kind": "method",
2614
+ "name": "handleClickOutside",
2615
+ "privacy": "private",
2701
2616
  "parameters": [
2702
2617
  {
2703
- "name": "fieldName",
2618
+ "name": "event",
2704
2619
  "type": {
2705
- "text": "string"
2620
+ "text": "MouseEvent"
2706
2621
  }
2707
2622
  }
2708
2623
  ]
2709
2624
  },
2710
2625
  {
2711
2626
  "kind": "method",
2712
- "name": "toggleCriteriaView",
2627
+ "name": "toggleDropdown"
2628
+ },
2629
+ {
2630
+ "kind": "method",
2631
+ "name": "refreshStatus",
2713
2632
  "return": {
2714
2633
  "type": {
2715
- "text": "void"
2634
+ "text": "Promise<void>"
2716
2635
  }
2717
2636
  }
2718
2637
  },
2719
2638
  {
2720
2639
  "kind": "method",
2721
- "name": "removeChip",
2640
+ "name": "deriveState",
2641
+ "privacy": "private",
2722
2642
  "return": {
2723
2643
  "type": {
2724
- "text": "void"
2644
+ "text": "AIIndicatorState"
2725
2645
  }
2726
2646
  },
2727
2647
  "parameters": [
2728
2648
  {
2729
- "name": "groupIndex",
2730
- "type": {
2731
- "text": "number"
2732
- }
2733
- },
2734
- {
2735
- "name": "clauseIndex",
2649
+ "name": "s",
2736
2650
  "type": {
2737
- "text": "number"
2651
+ "text": "AIStatus | null"
2738
2652
  }
2739
2653
  }
2740
2654
  ]
2741
2655
  },
2742
2656
  {
2743
2657
  "kind": "method",
2744
- "name": "clearChips",
2658
+ "name": "maybeStartPolling",
2659
+ "privacy": "private",
2745
2660
  "return": {
2746
2661
  "type": {
2747
2662
  "text": "void"
@@ -2750,24 +2665,32 @@
2750
2665
  },
2751
2666
  {
2752
2667
  "kind": "method",
2753
- "name": "handleSubmit"
2754
- },
2755
- {
2756
- "kind": "method",
2757
- "name": "handleBlur"
2758
- },
2759
- {
2760
- "kind": "method",
2761
- "name": "clear"
2668
+ "name": "startPolling",
2669
+ "privacy": "private",
2670
+ "return": {
2671
+ "type": {
2672
+ "text": "void"
2673
+ }
2674
+ }
2762
2675
  },
2763
2676
  {
2764
2677
  "kind": "method",
2765
- "name": "toggleSpeechInput"
2678
+ "name": "stopPolling",
2679
+ "privacy": "private",
2680
+ "return": {
2681
+ "type": {
2682
+ "text": "void"
2683
+ }
2684
+ }
2766
2685
  },
2767
2686
  {
2768
2687
  "kind": "method",
2769
- "name": "clearSpeechApplyDebounce",
2770
- "privacy": "private"
2688
+ "name": "onInstall",
2689
+ "return": {
2690
+ "type": {
2691
+ "text": "Promise<void>"
2692
+ }
2693
+ }
2771
2694
  },
2772
2695
  {
2773
2696
  "kind": "field",
@@ -2881,520 +2804,296 @@
2881
2804
  }
2882
2805
  }
2883
2806
  ],
2884
- "events": [
2885
- {
2886
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2887
- "name": "criteria-changed"
2888
- },
2889
- {
2890
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2891
- "name": "validation-errors"
2892
- }
2893
- ],
2894
- "attributes": [
2895
- {
2896
- "name": "placeholder",
2897
- "type": {
2898
- "text": "string"
2899
- },
2900
- "default": "'Describe your search criteria in natural language...'",
2901
- "fieldName": "placeholder"
2902
- },
2903
- {
2904
- "type": {
2905
- "text": "boolean"
2906
- },
2907
- "fieldName": "disabled"
2908
- }
2909
- ],
2910
2807
  "superclass": {
2911
2808
  "name": "FoundationElement",
2912
2809
  "package": "@microsoft/fast-foundation"
2913
2810
  },
2914
- "tagName": "%%prefix%%-ai-criteria-search",
2811
+ "tagName": "%%prefix%%-ai-indicator",
2915
2812
  "customElement": true
2916
2813
  },
2917
2814
  {
2918
2815
  "kind": "variable",
2919
- "name": "foundationAiCriteriaSearchShadowOptions",
2920
- "type": {
2921
- "text": "ShadowRootInit"
2922
- },
2923
- "default": "undefined"
2924
- },
2925
- {
2926
- "kind": "variable",
2927
- "name": "defaultAiCriteriaSearchConfig",
2928
- "type": {
2929
- "text": "object"
2930
- },
2931
- "default": "{}"
2932
- },
2933
- {
2934
- "kind": "variable",
2935
- "name": "foundationAiCriteriaSearch"
2816
+ "name": "foundationAiIndicator"
2936
2817
  }
2937
2818
  ],
2938
2819
  "exports": [
2939
2820
  {
2940
2821
  "kind": "js",
2941
- "name": "AiCriteriaSearch",
2942
- "declaration": {
2943
- "name": "AiCriteriaSearch",
2944
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2945
- }
2946
- },
2947
- {
2948
- "kind": "js",
2949
- "name": "foundationAiCriteriaSearchShadowOptions",
2950
- "declaration": {
2951
- "name": "foundationAiCriteriaSearchShadowOptions",
2952
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2953
- }
2954
- },
2955
- {
2956
- "kind": "js",
2957
- "name": "defaultAiCriteriaSearchConfig",
2958
- "declaration": {
2959
- "name": "defaultAiCriteriaSearchConfig",
2960
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2961
- }
2962
- },
2963
- {
2964
- "kind": "js",
2965
- "name": "foundationAiCriteriaSearch",
2966
- "declaration": {
2967
- "name": "foundationAiCriteriaSearch",
2968
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2969
- }
2970
- }
2971
- ]
2972
- },
2973
- {
2974
- "kind": "javascript-module",
2975
- "path": "src/ai-criteria-search/index.ts",
2976
- "declarations": [],
2977
- "exports": [
2978
- {
2979
- "kind": "js",
2980
- "name": "AiCriteriaSearch",
2981
- "declaration": {
2982
- "name": "AiCriteriaSearch",
2983
- "module": "./ai-criteria-search"
2984
- }
2985
- },
2986
- {
2987
- "kind": "js",
2988
- "name": "defaultAiCriteriaSearchConfig",
2989
- "declaration": {
2990
- "name": "defaultAiCriteriaSearchConfig",
2991
- "module": "./ai-criteria-search"
2992
- }
2993
- },
2994
- {
2995
- "kind": "js",
2996
- "name": "foundationAiCriteriaSearch",
2997
- "declaration": {
2998
- "name": "foundationAiCriteriaSearch",
2999
- "module": "./ai-criteria-search"
3000
- }
3001
- },
3002
- {
3003
- "kind": "js",
3004
- "name": "foundationAiCriteriaSearchShadowOptions",
3005
- "declaration": {
3006
- "name": "foundationAiCriteriaSearchShadowOptions",
3007
- "module": "./ai-criteria-search"
3008
- }
3009
- },
3010
- {
3011
- "kind": "js",
3012
- "name": "foundationAiCriteriaSearchStyles",
3013
- "declaration": {
3014
- "name": "foundationAiCriteriaSearchStyles",
3015
- "module": "./ai-criteria-search.styles"
3016
- }
3017
- },
3018
- {
3019
- "kind": "js",
3020
- "name": "foundationAiCriteriaSearchTemplate",
3021
- "declaration": {
3022
- "name": "foundationAiCriteriaSearchTemplate",
3023
- "module": "./ai-criteria-search.template"
3024
- }
3025
- },
3026
- {
3027
- "kind": "js",
3028
- "name": "*",
3029
- "declaration": {
3030
- "name": "*",
3031
- "package": "./validation/criteria-ir"
3032
- }
3033
- },
3034
- {
3035
- "kind": "js",
3036
- "name": "*",
2822
+ "name": "AiIndicator",
3037
2823
  "declaration": {
3038
- "name": "*",
3039
- "package": "./validation/operator-map"
2824
+ "name": "AiIndicator",
2825
+ "module": "src/ai-indicator/ai-indicator.ts"
3040
2826
  }
3041
2827
  },
3042
2828
  {
3043
2829
  "kind": "js",
3044
- "name": "*",
2830
+ "name": "foundationAiIndicator",
3045
2831
  "declaration": {
3046
- "name": "*",
3047
- "package": "./validation/schema-validator"
3048
- }
3049
- }
3050
- ]
3051
- },
3052
- {
3053
- "kind": "javascript-module",
3054
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3055
- "declarations": [
3056
- {
3057
- "kind": "function",
3058
- "name": "formatValidationErrors",
3059
- "return": {
3060
- "type": {
3061
- "text": "string"
3062
- }
3063
- },
3064
- "parameters": [
3065
- {
3066
- "name": "errors",
3067
- "type": {
3068
- "text": "ValidationError[]"
3069
- }
3070
- }
3071
- ],
3072
- "description": "Formats validation errors into a user-friendly message."
3073
- },
3074
- {
3075
- "kind": "function",
3076
- "name": "showCriteriaError",
3077
- "return": {
3078
- "type": {
3079
- "text": "void"
3080
- }
3081
- },
3082
- "parameters": [
3083
- {
3084
- "name": "title",
3085
- "type": {
3086
- "text": "string"
3087
- },
3088
- "description": "Notification title (e.g. \"Criteria validation error\")"
3089
- },
3090
- {
3091
- "name": "body",
3092
- "type": {
3093
- "text": "string"
3094
- },
3095
- "description": "Error message to display"
3096
- },
3097
- {
3098
- "name": "tagName",
3099
- "type": {
3100
- "text": "string"
3101
- },
3102
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3103
- }
3104
- ],
3105
- "description": "Shows a criteria error as a toast notification."
2832
+ "name": "foundationAiIndicator",
2833
+ "module": "src/ai-indicator/ai-indicator.ts"
2834
+ }
3106
2835
  }
3107
- ],
2836
+ ]
2837
+ },
2838
+ {
2839
+ "kind": "javascript-module",
2840
+ "path": "src/ai-indicator/index.ts",
2841
+ "declarations": [],
3108
2842
  "exports": [
3109
2843
  {
3110
2844
  "kind": "js",
3111
- "name": "formatValidationErrors",
2845
+ "name": "AiIndicator",
3112
2846
  "declaration": {
3113
- "name": "formatValidationErrors",
3114
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2847
+ "name": "AiIndicator",
2848
+ "module": "./ai-indicator"
3115
2849
  }
3116
2850
  },
3117
2851
  {
3118
2852
  "kind": "js",
3119
- "name": "showCriteriaError",
2853
+ "name": "foundationAiIndicator",
3120
2854
  "declaration": {
3121
- "name": "showCriteriaError",
3122
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2855
+ "name": "foundationAiIndicator",
2856
+ "module": "./ai-indicator"
2857
+ }
2858
+ },
2859
+ {
2860
+ "kind": "js",
2861
+ "name": "type",
2862
+ "declaration": {
2863
+ "name": "type",
2864
+ "module": "./ai-indicator"
2865
+ }
2866
+ },
2867
+ {
2868
+ "kind": "js",
2869
+ "name": "AIIndicatorState",
2870
+ "declaration": {
2871
+ "name": "AIIndicatorState",
2872
+ "module": "./ai-indicator"
2873
+ }
2874
+ },
2875
+ {
2876
+ "kind": "js",
2877
+ "name": "foundationAiIndicatorTemplate",
2878
+ "declaration": {
2879
+ "name": "foundationAiIndicatorTemplate",
2880
+ "module": "./ai-indicator.template"
2881
+ }
2882
+ },
2883
+ {
2884
+ "kind": "js",
2885
+ "name": "foundationAiIndicatorStyles",
2886
+ "declaration": {
2887
+ "name": "foundationAiIndicatorStyles",
2888
+ "module": "./ai-indicator.styles"
3123
2889
  }
3124
2890
  }
3125
2891
  ]
3126
2892
  },
3127
2893
  {
3128
2894
  "kind": "javascript-module",
3129
- "path": "src/accordion/accordion.styles.ts",
2895
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3130
2896
  "declarations": [
3131
2897
  {
3132
- "kind": "function",
3133
- "name": "foundationAccordionStyles",
3134
- "return": {
3135
- "type": {
3136
- "text": "ElementStyles"
3137
- }
3138
- },
3139
- "parameters": [
3140
- {
3141
- "name": "context",
3142
- "type": {
3143
- "text": "ElementDefinitionContext"
3144
- }
3145
- },
3146
- {
3147
- "name": "definition",
3148
- "type": {
3149
- "text": "FoundationElementDefinition"
3150
- }
3151
- }
3152
- ]
2898
+ "kind": "variable",
2899
+ "name": "foundationAiCriteriaSearchStyles",
2900
+ "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`"
3153
2901
  }
3154
2902
  ],
3155
2903
  "exports": [
3156
2904
  {
3157
2905
  "kind": "js",
3158
- "name": "foundationAccordionStyles",
2906
+ "name": "foundationAiCriteriaSearchStyles",
3159
2907
  "declaration": {
3160
- "name": "foundationAccordionStyles",
3161
- "module": "src/accordion/accordion.styles.ts"
2908
+ "name": "foundationAiCriteriaSearchStyles",
2909
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3162
2910
  }
3163
2911
  }
3164
2912
  ]
3165
2913
  },
3166
2914
  {
3167
2915
  "kind": "javascript-module",
3168
- "path": "src/accordion/accordion.template.ts",
2916
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3169
2917
  "declarations": [
3170
2918
  {
3171
- "kind": "function",
3172
- "name": "foundationAccordionTemplate",
3173
- "return": {
3174
- "type": {
3175
- "text": "ViewTemplate<Accordion>"
3176
- }
2919
+ "kind": "variable",
2920
+ "name": "foundationAiCriteriaSearchTemplate",
2921
+ "type": {
2922
+ "text": "ViewTemplate<AiCriteriaSearch>"
3177
2923
  },
3178
- "parameters": [
3179
- {
3180
- "name": "context",
3181
- "type": {
3182
- "text": "ElementDefinitionContext"
3183
- }
3184
- },
3185
- {
3186
- "name": "definition",
3187
- "type": {
3188
- "text": "FoundationElementDefinition"
3189
- }
3190
- }
3191
- ]
2924
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3192
2925
  }
3193
2926
  ],
3194
2927
  "exports": [
3195
2928
  {
3196
2929
  "kind": "js",
3197
- "name": "foundationAccordionTemplate",
2930
+ "name": "foundationAiCriteriaSearchTemplate",
3198
2931
  "declaration": {
3199
- "name": "foundationAccordionTemplate",
3200
- "module": "src/accordion/accordion.template.ts"
2932
+ "name": "foundationAiCriteriaSearchTemplate",
2933
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3201
2934
  }
3202
2935
  }
3203
2936
  ]
3204
2937
  },
3205
2938
  {
3206
2939
  "kind": "javascript-module",
3207
- "path": "src/accordion/accordion.ts",
2940
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3208
2941
  "declarations": [
3209
2942
  {
3210
2943
  "kind": "class",
3211
- "description": "",
3212
- "name": "Accordion",
3213
- "superclass": {
3214
- "name": "FASTAccordion",
3215
- "package": "@microsoft/fast-foundation"
3216
- },
3217
- "tagName": "%%prefix%%-accordion",
3218
- "customElement": true,
3219
- "attributes": [
2944
+ "description": "Natural-language criteria search input with AI interpretation.",
2945
+ "name": "AiCriteriaSearch",
2946
+ "members": [
3220
2947
  {
3221
- "name": "expand-mode",
2948
+ "kind": "field",
2949
+ "name": "providerRegistry",
3222
2950
  "type": {
3223
- "text": "AccordionExpandMode"
3224
- },
3225
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3226
- "fieldName": "expandmode",
3227
- "inheritedFrom": {
3228
- "name": "Accordion",
3229
- "module": "src/accordion/accordion.ts"
2951
+ "text": "AIProviderRegistry"
3230
2952
  }
3231
- }
3232
- ],
3233
- "members": [
2953
+ },
3234
2954
  {
3235
2955
  "kind": "field",
3236
- "name": "expandmode",
2956
+ "name": "placeholder",
3237
2957
  "type": {
3238
- "text": "AccordionExpandMode"
2958
+ "text": "string"
3239
2959
  },
3240
- "privacy": "public",
3241
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3242
- "inheritedFrom": {
3243
- "name": "Accordion",
3244
- "module": "src/accordion/accordion.ts"
2960
+ "default": "'Describe your search criteria in natural language...'"
2961
+ },
2962
+ {
2963
+ "kind": "field",
2964
+ "name": "disabled",
2965
+ "type": {
2966
+ "text": "boolean"
3245
2967
  }
3246
2968
  },
3247
2969
  {
3248
2970
  "kind": "field",
3249
- "name": "activeid",
2971
+ "name": "inputValue",
2972
+ "type": {
2973
+ "text": "string"
2974
+ },
2975
+ "default": "''"
2976
+ },
2977
+ {
2978
+ "kind": "field",
2979
+ "name": "isInterpreting",
2980
+ "type": {
2981
+ "text": "boolean"
2982
+ },
2983
+ "default": "false"
2984
+ },
2985
+ {
2986
+ "kind": "field",
2987
+ "name": "lastValidCriteria",
3250
2988
  "type": {
3251
2989
  "text": "string | null"
3252
2990
  },
3253
- "privacy": "private",
3254
- "inheritedFrom": {
3255
- "name": "Accordion",
3256
- "module": "src/accordion/accordion.ts"
3257
- }
2991
+ "default": "null"
3258
2992
  },
3259
2993
  {
3260
2994
  "kind": "field",
3261
- "name": "activeItemIndex",
2995
+ "name": "activeGroups",
3262
2996
  "type": {
3263
- "text": "number"
2997
+ "text": "CriteriaGroup[]"
3264
2998
  },
3265
- "privacy": "private",
3266
- "default": "0",
3267
- "inheritedFrom": {
3268
- "name": "Accordion",
3269
- "module": "src/accordion/accordion.ts"
3270
- }
2999
+ "default": "[]"
3271
3000
  },
3272
3001
  {
3273
3002
  "kind": "field",
3274
- "name": "accordionIds",
3003
+ "name": "showingChips",
3275
3004
  "type": {
3276
- "text": "Array<string | null>"
3005
+ "text": "boolean"
3277
3006
  },
3278
- "privacy": "private",
3279
- "inheritedFrom": {
3280
- "name": "Accordion",
3281
- "module": "src/accordion/accordion.ts"
3282
- }
3007
+ "default": "false"
3283
3008
  },
3284
3009
  {
3285
3010
  "kind": "field",
3286
- "name": "change",
3287
- "privacy": "private",
3288
- "inheritedFrom": {
3289
- "name": "Accordion",
3290
- "module": "src/accordion/accordion.ts"
3291
- }
3011
+ "name": "fieldMetadata",
3012
+ "type": {
3013
+ "text": "MetadataDetail[] | string[]"
3014
+ },
3015
+ "default": "[]"
3292
3016
  },
3293
3017
  {
3294
- "kind": "method",
3295
- "name": "findExpandedItem",
3296
- "privacy": "private",
3297
- "return": {
3298
- "type": {
3299
- "text": "AccordionItem | null"
3300
- }
3018
+ "kind": "field",
3019
+ "name": "isRecording",
3020
+ "type": {
3021
+ "text": "boolean"
3301
3022
  },
3302
- "inheritedFrom": {
3303
- "name": "Accordion",
3304
- "module": "src/accordion/accordion.ts"
3305
- }
3023
+ "default": "false"
3306
3024
  },
3307
3025
  {
3308
3026
  "kind": "field",
3309
- "name": "setItems",
3310
- "privacy": "private",
3311
- "inheritedFrom": {
3312
- "name": "Accordion",
3313
- "module": "src/accordion/accordion.ts"
3314
- }
3027
+ "name": "textAreaRef",
3028
+ "type": {
3029
+ "text": "HTMLTextAreaElement"
3030
+ },
3031
+ "privacy": "public"
3315
3032
  },
3316
3033
  {
3317
- "kind": "method",
3318
- "name": "resetItems",
3319
- "privacy": "private",
3320
- "return": {
3321
- "type": {
3322
- "text": "void"
3323
- }
3034
+ "kind": "field",
3035
+ "name": "stopRecording",
3036
+ "type": {
3037
+ "text": "(() => void) | null"
3324
3038
  },
3325
- "inheritedFrom": {
3326
- "name": "Accordion",
3327
- "module": "src/accordion/accordion.ts"
3328
- }
3039
+ "privacy": "private",
3040
+ "default": "null"
3329
3041
  },
3330
3042
  {
3331
3043
  "kind": "field",
3332
- "name": "removeItemListeners",
3044
+ "name": "speechApplyDebounceTimer",
3045
+ "type": {
3046
+ "text": "ReturnType<typeof setTimeout> | null"
3047
+ },
3333
3048
  "privacy": "private",
3334
- "inheritedFrom": {
3335
- "name": "Accordion",
3336
- "module": "src/accordion/accordion.ts"
3337
- }
3049
+ "default": "null"
3338
3050
  },
3339
3051
  {
3340
3052
  "kind": "field",
3341
- "name": "activeItemChange",
3342
- "privacy": "private",
3343
- "inheritedFrom": {
3344
- "name": "Accordion",
3345
- "module": "src/accordion/accordion.ts"
3346
- }
3053
+ "name": "speechAvailable",
3054
+ "type": {
3055
+ "text": "boolean"
3056
+ },
3057
+ "readonly": true
3058
+ },
3059
+ {
3060
+ "kind": "field",
3061
+ "name": "criteriaChips",
3062
+ "type": {
3063
+ "text": "CriteriaChip[]"
3064
+ },
3065
+ "readonly": true
3347
3066
  },
3348
3067
  {
3349
3068
  "kind": "method",
3350
- "name": "getItemIds",
3069
+ "name": "getFieldLabel",
3351
3070
  "privacy": "private",
3352
3071
  "return": {
3353
3072
  "type": {
3354
- "text": "Array<string | null>"
3073
+ "text": "string"
3355
3074
  }
3356
3075
  },
3357
- "inheritedFrom": {
3358
- "name": "Accordion",
3359
- "module": "src/accordion/accordion.ts"
3360
- }
3076
+ "parameters": [
3077
+ {
3078
+ "name": "fieldName",
3079
+ "type": {
3080
+ "text": "string"
3081
+ }
3082
+ }
3083
+ ]
3361
3084
  },
3362
3085
  {
3363
3086
  "kind": "method",
3364
- "name": "isSingleExpandMode",
3365
- "privacy": "private",
3087
+ "name": "toggleCriteriaView",
3366
3088
  "return": {
3367
3089
  "type": {
3368
- "text": "boolean"
3090
+ "text": "void"
3369
3091
  }
3370
- },
3371
- "inheritedFrom": {
3372
- "name": "Accordion",
3373
- "module": "src/accordion/accordion.ts"
3374
- }
3375
- },
3376
- {
3377
- "kind": "field",
3378
- "name": "handleItemKeyDown",
3379
- "privacy": "private",
3380
- "inheritedFrom": {
3381
- "name": "Accordion",
3382
- "module": "src/accordion/accordion.ts"
3383
- }
3384
- },
3385
- {
3386
- "kind": "field",
3387
- "name": "handleItemFocus",
3388
- "privacy": "private",
3389
- "inheritedFrom": {
3390
- "name": "Accordion",
3391
- "module": "src/accordion/accordion.ts"
3392
3092
  }
3393
3093
  },
3394
3094
  {
3395
3095
  "kind": "method",
3396
- "name": "adjust",
3397
- "privacy": "private",
3096
+ "name": "removeChip",
3398
3097
  "return": {
3399
3098
  "type": {
3400
3099
  "text": "void"
@@ -3402,31 +3101,49 @@
3402
3101
  },
3403
3102
  "parameters": [
3404
3103
  {
3405
- "name": "adjustment",
3104
+ "name": "groupIndex",
3105
+ "type": {
3106
+ "text": "number"
3107
+ }
3108
+ },
3109
+ {
3110
+ "name": "clauseIndex",
3406
3111
  "type": {
3407
3112
  "text": "number"
3408
3113
  }
3409
3114
  }
3410
- ],
3411
- "inheritedFrom": {
3412
- "name": "Accordion",
3413
- "module": "src/accordion/accordion.ts"
3414
- }
3115
+ ]
3415
3116
  },
3416
3117
  {
3417
3118
  "kind": "method",
3418
- "name": "focusItem",
3419
- "privacy": "private",
3119
+ "name": "clearChips",
3420
3120
  "return": {
3421
3121
  "type": {
3422
3122
  "text": "void"
3423
3123
  }
3424
- },
3425
- "inheritedFrom": {
3426
- "name": "Accordion",
3427
- "module": "src/accordion/accordion.ts"
3428
3124
  }
3429
3125
  },
3126
+ {
3127
+ "kind": "method",
3128
+ "name": "handleSubmit"
3129
+ },
3130
+ {
3131
+ "kind": "method",
3132
+ "name": "handleBlur"
3133
+ },
3134
+ {
3135
+ "kind": "method",
3136
+ "name": "clear"
3137
+ },
3138
+ {
3139
+ "kind": "method",
3140
+ "name": "toggleSpeechInput"
3141
+ },
3142
+ {
3143
+ "kind": "method",
3144
+ "name": "clearSpeechApplyDebounce",
3145
+ "privacy": "private"
3146
+ },
3430
3147
  {
3431
3148
  "kind": "field",
3432
3149
  "name": "_presentation",
@@ -3541,26 +3258,48 @@
3541
3258
  ],
3542
3259
  "events": [
3543
3260
  {
3544
- "description": "Fires a custom 'change' event when the active item changes",
3545
- "name": "change",
3546
- "inheritedFrom": {
3547
- "name": "Accordion",
3548
- "module": "src/accordion/accordion.ts"
3549
- }
3261
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3262
+ "name": "criteria-changed"
3263
+ },
3264
+ {
3265
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3266
+ "name": "validation-errors"
3550
3267
  }
3551
- ]
3268
+ ],
3269
+ "attributes": [
3270
+ {
3271
+ "name": "placeholder",
3272
+ "type": {
3273
+ "text": "string"
3274
+ },
3275
+ "default": "'Describe your search criteria in natural language...'",
3276
+ "fieldName": "placeholder"
3277
+ },
3278
+ {
3279
+ "type": {
3280
+ "text": "boolean"
3281
+ },
3282
+ "fieldName": "disabled"
3283
+ }
3284
+ ],
3285
+ "superclass": {
3286
+ "name": "FoundationElement",
3287
+ "package": "@microsoft/fast-foundation"
3288
+ },
3289
+ "tagName": "%%prefix%%-ai-criteria-search",
3290
+ "customElement": true
3552
3291
  },
3553
3292
  {
3554
3293
  "kind": "variable",
3555
- "name": "foundationAccordionShadowOptions",
3294
+ "name": "foundationAiCriteriaSearchShadowOptions",
3556
3295
  "type": {
3557
3296
  "text": "ShadowRootInit"
3558
3297
  },
3559
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3298
+ "default": "undefined"
3560
3299
  },
3561
3300
  {
3562
3301
  "kind": "variable",
3563
- "name": "defaultAccordionConfig",
3302
+ "name": "defaultAiCriteriaSearchConfig",
3564
3303
  "type": {
3565
3304
  "text": "object"
3566
3305
  },
@@ -3568,84 +3307,228 @@
3568
3307
  },
3569
3308
  {
3570
3309
  "kind": "variable",
3571
- "name": "foundationAccordion",
3572
- "description": "The Foundation Accordion",
3573
- "privacy": "public"
3310
+ "name": "foundationAiCriteriaSearch"
3574
3311
  }
3575
3312
  ],
3576
3313
  "exports": [
3577
3314
  {
3578
3315
  "kind": "js",
3579
- "name": "Accordion",
3316
+ "name": "AiCriteriaSearch",
3580
3317
  "declaration": {
3581
- "name": "Accordion",
3582
- "module": "src/accordion/accordion.ts"
3318
+ "name": "AiCriteriaSearch",
3319
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3583
3320
  }
3584
3321
  },
3585
3322
  {
3586
3323
  "kind": "js",
3587
- "name": "foundationAccordionShadowOptions",
3324
+ "name": "foundationAiCriteriaSearchShadowOptions",
3325
+ "declaration": {
3326
+ "name": "foundationAiCriteriaSearchShadowOptions",
3327
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3328
+ }
3329
+ },
3330
+ {
3331
+ "kind": "js",
3332
+ "name": "defaultAiCriteriaSearchConfig",
3333
+ "declaration": {
3334
+ "name": "defaultAiCriteriaSearchConfig",
3335
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3336
+ }
3337
+ },
3338
+ {
3339
+ "kind": "js",
3340
+ "name": "foundationAiCriteriaSearch",
3341
+ "declaration": {
3342
+ "name": "foundationAiCriteriaSearch",
3343
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3344
+ }
3345
+ }
3346
+ ]
3347
+ },
3348
+ {
3349
+ "kind": "javascript-module",
3350
+ "path": "src/ai-criteria-search/index.ts",
3351
+ "declarations": [],
3352
+ "exports": [
3353
+ {
3354
+ "kind": "js",
3355
+ "name": "AiCriteriaSearch",
3356
+ "declaration": {
3357
+ "name": "AiCriteriaSearch",
3358
+ "module": "./ai-criteria-search"
3359
+ }
3360
+ },
3361
+ {
3362
+ "kind": "js",
3363
+ "name": "defaultAiCriteriaSearchConfig",
3364
+ "declaration": {
3365
+ "name": "defaultAiCriteriaSearchConfig",
3366
+ "module": "./ai-criteria-search"
3367
+ }
3368
+ },
3369
+ {
3370
+ "kind": "js",
3371
+ "name": "foundationAiCriteriaSearch",
3372
+ "declaration": {
3373
+ "name": "foundationAiCriteriaSearch",
3374
+ "module": "./ai-criteria-search"
3375
+ }
3376
+ },
3377
+ {
3378
+ "kind": "js",
3379
+ "name": "foundationAiCriteriaSearchShadowOptions",
3380
+ "declaration": {
3381
+ "name": "foundationAiCriteriaSearchShadowOptions",
3382
+ "module": "./ai-criteria-search"
3383
+ }
3384
+ },
3385
+ {
3386
+ "kind": "js",
3387
+ "name": "foundationAiCriteriaSearchStyles",
3388
+ "declaration": {
3389
+ "name": "foundationAiCriteriaSearchStyles",
3390
+ "module": "./ai-criteria-search.styles"
3391
+ }
3392
+ },
3393
+ {
3394
+ "kind": "js",
3395
+ "name": "foundationAiCriteriaSearchTemplate",
3396
+ "declaration": {
3397
+ "name": "foundationAiCriteriaSearchTemplate",
3398
+ "module": "./ai-criteria-search.template"
3399
+ }
3400
+ },
3401
+ {
3402
+ "kind": "js",
3403
+ "name": "*",
3588
3404
  "declaration": {
3589
- "name": "foundationAccordionShadowOptions",
3590
- "module": "src/accordion/accordion.ts"
3405
+ "name": "*",
3406
+ "package": "./validation/criteria-ir"
3591
3407
  }
3592
3408
  },
3593
3409
  {
3594
3410
  "kind": "js",
3595
- "name": "defaultAccordionConfig",
3411
+ "name": "*",
3596
3412
  "declaration": {
3597
- "name": "defaultAccordionConfig",
3598
- "module": "src/accordion/accordion.ts"
3413
+ "name": "*",
3414
+ "package": "./validation/operator-map"
3599
3415
  }
3600
3416
  },
3601
3417
  {
3602
3418
  "kind": "js",
3603
- "name": "foundationAccordion",
3419
+ "name": "*",
3604
3420
  "declaration": {
3605
- "name": "foundationAccordion",
3606
- "module": "src/accordion/accordion.ts"
3421
+ "name": "*",
3422
+ "package": "./validation/schema-validator"
3607
3423
  }
3608
3424
  }
3609
3425
  ]
3610
3426
  },
3611
3427
  {
3612
3428
  "kind": "javascript-module",
3613
- "path": "src/accordion/index.ts",
3614
- "declarations": [],
3615
- "exports": [
3429
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3430
+ "declarations": [
3616
3431
  {
3617
- "kind": "js",
3618
- "name": "*",
3619
- "declaration": {
3620
- "name": "*",
3621
- "package": "./accordion.template"
3622
- }
3432
+ "kind": "function",
3433
+ "name": "formatValidationErrors",
3434
+ "return": {
3435
+ "type": {
3436
+ "text": "string"
3437
+ }
3438
+ },
3439
+ "parameters": [
3440
+ {
3441
+ "name": "errors",
3442
+ "type": {
3443
+ "text": "ValidationError[]"
3444
+ }
3445
+ }
3446
+ ],
3447
+ "description": "Formats validation errors into a user-friendly message."
3623
3448
  },
3449
+ {
3450
+ "kind": "function",
3451
+ "name": "showCriteriaError",
3452
+ "return": {
3453
+ "type": {
3454
+ "text": "void"
3455
+ }
3456
+ },
3457
+ "parameters": [
3458
+ {
3459
+ "name": "title",
3460
+ "type": {
3461
+ "text": "string"
3462
+ },
3463
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3464
+ },
3465
+ {
3466
+ "name": "body",
3467
+ "type": {
3468
+ "text": "string"
3469
+ },
3470
+ "description": "Error message to display"
3471
+ },
3472
+ {
3473
+ "name": "tagName",
3474
+ "type": {
3475
+ "text": "string"
3476
+ },
3477
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3478
+ }
3479
+ ],
3480
+ "description": "Shows a criteria error as a toast notification."
3481
+ }
3482
+ ],
3483
+ "exports": [
3624
3484
  {
3625
3485
  "kind": "js",
3626
- "name": "*",
3486
+ "name": "formatValidationErrors",
3627
3487
  "declaration": {
3628
- "name": "*",
3629
- "package": "./accordion.styles"
3488
+ "name": "formatValidationErrors",
3489
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3630
3490
  }
3631
3491
  },
3632
3492
  {
3633
3493
  "kind": "js",
3634
- "name": "*",
3494
+ "name": "showCriteriaError",
3635
3495
  "declaration": {
3636
- "name": "*",
3637
- "package": "./accordion"
3496
+ "name": "showCriteriaError",
3497
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3638
3498
  }
3639
3499
  }
3640
3500
  ]
3641
3501
  },
3642
3502
  {
3643
3503
  "kind": "javascript-module",
3644
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3504
+ "path": "src/actions-menu/actions-menu.styles.ts",
3645
3505
  "declarations": [
3646
3506
  {
3647
3507
  "kind": "function",
3648
- "name": "foundationAiIndicatorStyles",
3508
+ "name": "actionsMenuBaseStyles",
3509
+ "return": {
3510
+ "type": {
3511
+ "text": "ElementStyles"
3512
+ }
3513
+ },
3514
+ "parameters": [
3515
+ {
3516
+ "name": "context",
3517
+ "type": {
3518
+ "text": "ElementDefinitionContext"
3519
+ }
3520
+ },
3521
+ {
3522
+ "name": "definition",
3523
+ "type": {
3524
+ "text": "FoundationElementDefinition"
3525
+ }
3526
+ }
3527
+ ]
3528
+ },
3529
+ {
3530
+ "kind": "function",
3531
+ "name": "foundationActionsMenuStyles",
3649
3532
  "return": {
3650
3533
  "type": {
3651
3534
  "text": "ElementStyles"
@@ -3670,71 +3553,147 @@
3670
3553
  "exports": [
3671
3554
  {
3672
3555
  "kind": "js",
3673
- "name": "foundationAiIndicatorStyles",
3556
+ "name": "actionsMenuBaseStyles",
3674
3557
  "declaration": {
3675
- "name": "foundationAiIndicatorStyles",
3676
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3558
+ "name": "actionsMenuBaseStyles",
3559
+ "module": "src/actions-menu/actions-menu.styles.ts"
3560
+ }
3561
+ },
3562
+ {
3563
+ "kind": "js",
3564
+ "name": "foundationActionsMenuStyles",
3565
+ "declaration": {
3566
+ "name": "foundationActionsMenuStyles",
3567
+ "module": "src/actions-menu/actions-menu.styles.ts"
3677
3568
  }
3678
3569
  }
3679
3570
  ]
3680
3571
  },
3681
3572
  {
3682
3573
  "kind": "javascript-module",
3683
- "path": "src/ai-indicator/ai-indicator.template.ts",
3574
+ "path": "src/actions-menu/actions-menu.template.ts",
3684
3575
  "declarations": [
3576
+ {
3577
+ "kind": "function",
3578
+ "name": "menuTemplate",
3579
+ "parameters": [
3580
+ {
3581
+ "name": "prefix",
3582
+ "type": {
3583
+ "text": "string"
3584
+ }
3585
+ }
3586
+ ]
3587
+ },
3588
+ {
3589
+ "kind": "function",
3590
+ "name": "singleOptionTemplate",
3591
+ "parameters": [
3592
+ {
3593
+ "name": "prefix",
3594
+ "type": {
3595
+ "text": "string"
3596
+ }
3597
+ }
3598
+ ]
3599
+ },
3685
3600
  {
3686
3601
  "kind": "variable",
3687
- "name": "foundationAiIndicatorTemplate",
3602
+ "name": "foundationActionsMenuTemplate",
3688
3603
  "type": {
3689
- "text": "ViewTemplate<AiIndicator>"
3604
+ "text": "ViewTemplate<ActionsMenu>"
3690
3605
  },
3691
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3606
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
3692
3607
  }
3693
3608
  ],
3694
3609
  "exports": [
3695
3610
  {
3696
3611
  "kind": "js",
3697
- "name": "foundationAiIndicatorTemplate",
3612
+ "name": "menuTemplate",
3698
3613
  "declaration": {
3699
- "name": "foundationAiIndicatorTemplate",
3700
- "module": "src/ai-indicator/ai-indicator.template.ts"
3614
+ "name": "menuTemplate",
3615
+ "module": "src/actions-menu/actions-menu.template.ts"
3616
+ }
3617
+ },
3618
+ {
3619
+ "kind": "js",
3620
+ "name": "singleOptionTemplate",
3621
+ "declaration": {
3622
+ "name": "singleOptionTemplate",
3623
+ "module": "src/actions-menu/actions-menu.template.ts"
3624
+ }
3625
+ },
3626
+ {
3627
+ "kind": "js",
3628
+ "name": "foundationActionsMenuTemplate",
3629
+ "declaration": {
3630
+ "name": "foundationActionsMenuTemplate",
3631
+ "module": "src/actions-menu/actions-menu.template.ts"
3701
3632
  }
3702
3633
  }
3703
3634
  ]
3704
3635
  },
3705
3636
  {
3706
3637
  "kind": "javascript-module",
3707
- "path": "src/ai-indicator/ai-indicator.ts",
3638
+ "path": "src/actions-menu/actions-menu.ts",
3708
3639
  "declarations": [
3709
3640
  {
3710
3641
  "kind": "class",
3711
3642
  "description": "",
3712
- "name": "AiIndicator",
3643
+ "name": "ActionsMenu",
3713
3644
  "members": [
3714
3645
  {
3715
3646
  "kind": "field",
3716
- "name": "providerRegistry",
3647
+ "name": "actions",
3717
3648
  "type": {
3718
- "text": "AIProviderRegistry"
3649
+ "text": "ActionMenuItem[]"
3719
3650
  }
3720
3651
  },
3721
3652
  {
3722
3653
  "kind": "field",
3723
- "name": "aiProvider",
3654
+ "name": "isVertical",
3724
3655
  "type": {
3725
- "text": "AIProvider | undefined"
3656
+ "text": "boolean"
3726
3657
  },
3727
- "privacy": "private",
3728
- "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.",
3729
- "readonly": true
3658
+ "default": "false"
3730
3659
  },
3731
3660
  {
3732
3661
  "kind": "field",
3733
- "name": "status",
3662
+ "name": "addDefaultActions",
3734
3663
  "type": {
3735
- "text": "AIStatus | null"
3664
+ "text": "boolean"
3736
3665
  },
3737
- "default": "null"
3666
+ "default": "true"
3667
+ },
3668
+ {
3669
+ "kind": "field",
3670
+ "name": "autoCloseOnAction",
3671
+ "type": {
3672
+ "text": "boolean"
3673
+ },
3674
+ "default": "true"
3675
+ },
3676
+ {
3677
+ "kind": "field",
3678
+ "name": "classNames",
3679
+ "type": {
3680
+ "text": "string"
3681
+ }
3682
+ },
3683
+ {
3684
+ "kind": "field",
3685
+ "name": "definition",
3686
+ "type": {
3687
+ "text": "any"
3688
+ }
3689
+ },
3690
+ {
3691
+ "kind": "field",
3692
+ "name": "name",
3693
+ "type": {
3694
+ "text": "string"
3695
+ },
3696
+ "default": "'Actions'"
3738
3697
  },
3739
3698
  {
3740
3699
  "kind": "field",
@@ -3746,15 +3705,14 @@
3746
3705
  },
3747
3706
  {
3748
3707
  "kind": "field",
3749
- "name": "state",
3708
+ "name": "buttonAppearance",
3750
3709
  "type": {
3751
- "text": "AIIndicatorState"
3752
- },
3753
- "default": "'none'"
3710
+ "text": "string"
3711
+ }
3754
3712
  },
3755
3713
  {
3756
3714
  "kind": "field",
3757
- "name": "isInstalling",
3715
+ "name": "hideDisabled",
3758
3716
  "type": {
3759
3717
  "text": "boolean"
3760
3718
  },
@@ -3762,133 +3720,132 @@
3762
3720
  },
3763
3721
  {
3764
3722
  "kind": "field",
3765
- "name": "pollTimer",
3723
+ "name": "hideMenuSingleOption",
3766
3724
  "type": {
3767
- "text": "ReturnType<typeof setInterval> | null"
3725
+ "text": "boolean"
3768
3726
  },
3769
- "privacy": "private",
3770
- "default": "null"
3727
+ "default": "false"
3771
3728
  },
3772
3729
  {
3773
3730
  "kind": "field",
3774
- "name": "clickOutside",
3775
- "privacy": "private"
3731
+ "name": "singleOption",
3732
+ "type": {
3733
+ "text": "ActionMenuItem"
3734
+ }
3776
3735
  },
3777
3736
  {
3778
3737
  "kind": "field",
3779
- "name": "chromeStatusLabel",
3738
+ "name": "actionsMenu",
3780
3739
  "type": {
3781
- "text": "string | null"
3782
- },
3783
- "readonly": true
3740
+ "text": "HTMLElement"
3741
+ }
3784
3742
  },
3785
3743
  {
3786
3744
  "kind": "field",
3787
- "name": "canInstall",
3745
+ "name": "actionsOpener",
3788
3746
  "type": {
3789
- "text": "boolean"
3790
- },
3791
- "readonly": true
3747
+ "text": "HTMLElement"
3748
+ }
3792
3749
  },
3793
3750
  {
3794
3751
  "kind": "field",
3795
- "name": "isDownloading",
3752
+ "name": "positionTracker",
3796
3753
  "type": {
3797
- "text": "boolean"
3754
+ "text": "AnchoredPopoverPositionTracker | undefined"
3798
3755
  },
3799
- "readonly": true
3756
+ "privacy": "private"
3800
3757
  },
3801
3758
  {
3802
3759
  "kind": "method",
3803
- "name": "openChanged",
3804
- "return": {
3805
- "type": {
3806
- "text": "void"
3807
- }
3808
- }
3760
+ "name": "updateMenuPosition",
3761
+ "privacy": "private"
3809
3762
  },
3810
3763
  {
3811
3764
  "kind": "method",
3812
- "name": "handleClickOutside",
3813
- "privacy": "private",
3765
+ "name": "definitionChanged",
3766
+ "privacy": "protected",
3814
3767
  "parameters": [
3815
3768
  {
3816
- "name": "event",
3769
+ "name": "oldValue",
3817
3770
  "type": {
3818
- "text": "MouseEvent"
3771
+ "text": "any"
3772
+ }
3773
+ },
3774
+ {
3775
+ "name": "newValue",
3776
+ "type": {
3777
+ "text": "any"
3819
3778
  }
3820
3779
  }
3821
3780
  ]
3822
3781
  },
3823
3782
  {
3824
3783
  "kind": "method",
3825
- "name": "toggleDropdown"
3784
+ "name": "openChanged",
3785
+ "privacy": "protected"
3826
3786
  },
3827
3787
  {
3828
3788
  "kind": "method",
3829
- "name": "refreshStatus",
3830
- "return": {
3831
- "type": {
3832
- "text": "Promise<void>"
3833
- }
3834
- }
3789
+ "name": "startTrackingPosition",
3790
+ "privacy": "private"
3835
3791
  },
3836
3792
  {
3837
3793
  "kind": "method",
3838
- "name": "deriveState",
3839
- "privacy": "private",
3840
- "return": {
3841
- "type": {
3842
- "text": "AIIndicatorState"
3843
- }
3844
- },
3794
+ "name": "stopTrackingPosition",
3795
+ "privacy": "private"
3796
+ },
3797
+ {
3798
+ "kind": "method",
3799
+ "name": "toggleActionsMenuVisibility"
3800
+ },
3801
+ {
3802
+ "kind": "method",
3803
+ "name": "onActionMenuItemClick",
3845
3804
  "parameters": [
3846
3805
  {
3847
- "name": "s",
3806
+ "name": "callback",
3848
3807
  "type": {
3849
- "text": "AIStatus | null"
3808
+ "text": "(rowData) => void | any"
3850
3809
  }
3851
3810
  }
3852
3811
  ]
3853
3812
  },
3854
3813
  {
3855
- "kind": "method",
3856
- "name": "maybeStartPolling",
3857
- "privacy": "private",
3858
- "return": {
3859
- "type": {
3860
- "text": "void"
3861
- }
3862
- }
3814
+ "kind": "field",
3815
+ "name": "allActions",
3816
+ "type": {
3817
+ "text": "ActionMenuItem[]"
3818
+ },
3819
+ "readonly": true
3863
3820
  },
3864
3821
  {
3865
- "kind": "method",
3866
- "name": "startPolling",
3867
- "privacy": "private",
3868
- "return": {
3869
- "type": {
3870
- "text": "void"
3871
- }
3872
- }
3822
+ "kind": "field",
3823
+ "name": "rowData",
3824
+ "readonly": true
3873
3825
  },
3874
3826
  {
3875
3827
  "kind": "method",
3876
- "name": "stopPolling",
3877
- "privacy": "private",
3878
- "return": {
3879
- "type": {
3880
- "text": "void"
3828
+ "name": "getLabel",
3829
+ "parameters": [
3830
+ {
3831
+ "name": "name",
3832
+ "type": {
3833
+ "text": "string | ((rowData: any) => string)"
3834
+ }
3881
3835
  }
3882
- }
3836
+ ]
3883
3837
  },
3884
3838
  {
3885
3839
  "kind": "method",
3886
- "name": "onInstall",
3887
- "return": {
3888
- "type": {
3889
- "text": "Promise<void>"
3840
+ "name": "getTemplate",
3841
+ "parameters": [
3842
+ {
3843
+ "name": "prefix",
3844
+ "type": {
3845
+ "text": "string"
3846
+ }
3890
3847
  }
3891
- }
3848
+ ]
3892
3849
  },
3893
3850
  {
3894
3851
  "kind": "field",
@@ -4002,88 +3959,131 @@
4002
3959
  }
4003
3960
  }
4004
3961
  ],
3962
+ "attributes": [
3963
+ {
3964
+ "name": "is-vertical",
3965
+ "type": {
3966
+ "text": "boolean"
3967
+ },
3968
+ "default": "false",
3969
+ "fieldName": "isVertical"
3970
+ },
3971
+ {
3972
+ "name": "add-default-actions",
3973
+ "type": {
3974
+ "text": "boolean"
3975
+ },
3976
+ "default": "true",
3977
+ "fieldName": "addDefaultActions"
3978
+ },
3979
+ {
3980
+ "name": "auto-close-on-action",
3981
+ "type": {
3982
+ "text": "boolean"
3983
+ },
3984
+ "default": "true",
3985
+ "fieldName": "autoCloseOnAction"
3986
+ },
3987
+ {
3988
+ "name": "name",
3989
+ "type": {
3990
+ "text": "string"
3991
+ },
3992
+ "default": "'Actions'",
3993
+ "fieldName": "name"
3994
+ },
3995
+ {
3996
+ "name": "open",
3997
+ "type": {
3998
+ "text": "boolean"
3999
+ },
4000
+ "default": "false",
4001
+ "fieldName": "open"
4002
+ },
4003
+ {
4004
+ "name": "buttonAppearance",
4005
+ "type": {
4006
+ "text": "string"
4007
+ },
4008
+ "fieldName": "buttonAppearance"
4009
+ },
4010
+ {
4011
+ "name": "hide-disabled",
4012
+ "type": {
4013
+ "text": "boolean"
4014
+ },
4015
+ "default": "false",
4016
+ "fieldName": "hideDisabled"
4017
+ },
4018
+ {
4019
+ "name": "hide-menu-single-option",
4020
+ "type": {
4021
+ "text": "boolean"
4022
+ },
4023
+ "default": "false",
4024
+ "fieldName": "hideMenuSingleOption"
4025
+ }
4026
+ ],
4005
4027
  "superclass": {
4006
4028
  "name": "FoundationElement",
4007
4029
  "package": "@microsoft/fast-foundation"
4008
4030
  },
4009
- "tagName": "%%prefix%%-ai-indicator",
4031
+ "tagName": "%%prefix%%-actions-menu",
4010
4032
  "customElement": true
4011
4033
  },
4012
4034
  {
4013
4035
  "kind": "variable",
4014
- "name": "foundationAiIndicator"
4036
+ "name": "foundationActionsMenu",
4037
+ "description": "The Foundation Actions Menu",
4038
+ "privacy": "public"
4015
4039
  }
4016
4040
  ],
4017
4041
  "exports": [
4018
4042
  {
4019
4043
  "kind": "js",
4020
- "name": "AiIndicator",
4044
+ "name": "ActionsMenu",
4021
4045
  "declaration": {
4022
- "name": "AiIndicator",
4023
- "module": "src/ai-indicator/ai-indicator.ts"
4046
+ "name": "ActionsMenu",
4047
+ "module": "src/actions-menu/actions-menu.ts"
4024
4048
  }
4025
4049
  },
4026
4050
  {
4027
4051
  "kind": "js",
4028
- "name": "foundationAiIndicator",
4052
+ "name": "foundationActionsMenu",
4029
4053
  "declaration": {
4030
- "name": "foundationAiIndicator",
4031
- "module": "src/ai-indicator/ai-indicator.ts"
4054
+ "name": "foundationActionsMenu",
4055
+ "module": "src/actions-menu/actions-menu.ts"
4032
4056
  }
4033
4057
  }
4034
4058
  ]
4035
4059
  },
4036
4060
  {
4037
4061
  "kind": "javascript-module",
4038
- "path": "src/ai-indicator/index.ts",
4062
+ "path": "src/actions-menu/index.ts",
4039
4063
  "declarations": [],
4040
4064
  "exports": [
4041
4065
  {
4042
4066
  "kind": "js",
4043
- "name": "AiIndicator",
4044
- "declaration": {
4045
- "name": "AiIndicator",
4046
- "module": "./ai-indicator"
4047
- }
4048
- },
4049
- {
4050
- "kind": "js",
4051
- "name": "foundationAiIndicator",
4052
- "declaration": {
4053
- "name": "foundationAiIndicator",
4054
- "module": "./ai-indicator"
4055
- }
4056
- },
4057
- {
4058
- "kind": "js",
4059
- "name": "type",
4060
- "declaration": {
4061
- "name": "type",
4062
- "module": "./ai-indicator"
4063
- }
4064
- },
4065
- {
4066
- "kind": "js",
4067
- "name": "AIIndicatorState",
4067
+ "name": "*",
4068
4068
  "declaration": {
4069
- "name": "AIIndicatorState",
4070
- "module": "./ai-indicator"
4069
+ "name": "*",
4070
+ "package": "./actions-menu.styles"
4071
4071
  }
4072
4072
  },
4073
4073
  {
4074
4074
  "kind": "js",
4075
- "name": "foundationAiIndicatorTemplate",
4075
+ "name": "*",
4076
4076
  "declaration": {
4077
- "name": "foundationAiIndicatorTemplate",
4078
- "module": "./ai-indicator.template"
4077
+ "name": "*",
4078
+ "package": "./actions-menu.template"
4079
4079
  }
4080
4080
  },
4081
4081
  {
4082
4082
  "kind": "js",
4083
- "name": "foundationAiIndicatorStyles",
4083
+ "name": "*",
4084
4084
  "declaration": {
4085
- "name": "foundationAiIndicatorStyles",
4086
- "module": "./ai-indicator.styles"
4085
+ "name": "*",
4086
+ "package": "./actions-menu"
4087
4087
  }
4088
4088
  }
4089
4089
  ]