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

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