@genesislcap/foundation-ui 15.92.1 → 15.94.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,42 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/accordion-item/accordion-item.styles.ts",
1498
+ "path": "src/_config/index.ts",
1499
+ "declarations": [],
1500
+ "exports": [
1501
+ {
1502
+ "kind": "js",
1503
+ "name": "*",
1504
+ "declaration": {
1505
+ "name": "*",
1506
+ "package": "./styles"
1507
+ }
1508
+ },
1509
+ {
1510
+ "kind": "js",
1511
+ "name": "*",
1512
+ "declaration": {
1513
+ "name": "*",
1514
+ "package": "./tokens"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "*",
1520
+ "declaration": {
1521
+ "name": "*",
1522
+ "package": "./values"
1523
+ }
1524
+ }
1525
+ ]
1526
+ },
1527
+ {
1528
+ "kind": "javascript-module",
1529
+ "path": "src/actions-menu/actions-menu.styles.ts",
1499
1530
  "declarations": [
1500
1531
  {
1501
1532
  "kind": "function",
1502
- "name": "foundationAccordionItemStyles",
1533
+ "name": "actionsMenuBaseStyles",
1503
1534
  "return": {
1504
1535
  "type": {
1505
1536
  "text": "ElementStyles"
@@ -1519,29 +1550,13 @@
1519
1550
  }
1520
1551
  }
1521
1552
  ]
1522
- }
1523
- ],
1524
- "exports": [
1525
- {
1526
- "kind": "js",
1527
- "name": "foundationAccordionItemStyles",
1528
- "declaration": {
1529
- "name": "foundationAccordionItemStyles",
1530
- "module": "src/accordion-item/accordion-item.styles.ts"
1531
- }
1532
- }
1533
- ]
1534
- },
1535
- {
1536
- "kind": "javascript-module",
1537
- "path": "src/accordion-item/accordion-item.template.ts",
1538
- "declarations": [
1553
+ },
1539
1554
  {
1540
1555
  "kind": "function",
1541
- "name": "foundationAccordionItemTemplate",
1556
+ "name": "foundationActionsMenuStyles",
1542
1557
  "return": {
1543
1558
  "type": {
1544
- "text": "ViewTemplate<AccordionItem>"
1559
+ "text": "ElementStyles"
1545
1560
  }
1546
1561
  },
1547
1562
  "parameters": [
@@ -1563,117 +1578,376 @@
1563
1578
  "exports": [
1564
1579
  {
1565
1580
  "kind": "js",
1566
- "name": "foundationAccordionItemTemplate",
1581
+ "name": "actionsMenuBaseStyles",
1567
1582
  "declaration": {
1568
- "name": "foundationAccordionItemTemplate",
1569
- "module": "src/accordion-item/accordion-item.template.ts"
1583
+ "name": "actionsMenuBaseStyles",
1584
+ "module": "src/actions-menu/actions-menu.styles.ts"
1585
+ }
1586
+ },
1587
+ {
1588
+ "kind": "js",
1589
+ "name": "foundationActionsMenuStyles",
1590
+ "declaration": {
1591
+ "name": "foundationActionsMenuStyles",
1592
+ "module": "src/actions-menu/actions-menu.styles.ts"
1570
1593
  }
1571
1594
  }
1572
1595
  ]
1573
1596
  },
1574
1597
  {
1575
1598
  "kind": "javascript-module",
1576
- "path": "src/accordion-item/accordion-item.ts",
1599
+ "path": "src/actions-menu/actions-menu.template.ts",
1600
+ "declarations": [
1601
+ {
1602
+ "kind": "variable",
1603
+ "name": "menuTemplate"
1604
+ },
1605
+ {
1606
+ "kind": "variable",
1607
+ "name": "singleOptionTemplate"
1608
+ },
1609
+ {
1610
+ "kind": "variable",
1611
+ "name": "foundationActionsMenuTemplate",
1612
+ "type": {
1613
+ "text": "ViewTemplate<ActionsMenu>"
1614
+ },
1615
+ "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`"
1616
+ }
1617
+ ],
1618
+ "exports": [
1619
+ {
1620
+ "kind": "js",
1621
+ "name": "menuTemplate",
1622
+ "declaration": {
1623
+ "name": "menuTemplate",
1624
+ "module": "src/actions-menu/actions-menu.template.ts"
1625
+ }
1626
+ },
1627
+ {
1628
+ "kind": "js",
1629
+ "name": "singleOptionTemplate",
1630
+ "declaration": {
1631
+ "name": "singleOptionTemplate",
1632
+ "module": "src/actions-menu/actions-menu.template.ts"
1633
+ }
1634
+ },
1635
+ {
1636
+ "kind": "js",
1637
+ "name": "foundationActionsMenuTemplate",
1638
+ "declaration": {
1639
+ "name": "foundationActionsMenuTemplate",
1640
+ "module": "src/actions-menu/actions-menu.template.ts"
1641
+ }
1642
+ }
1643
+ ]
1644
+ },
1645
+ {
1646
+ "kind": "javascript-module",
1647
+ "path": "src/actions-menu/actions-menu.ts",
1577
1648
  "declarations": [
1578
1649
  {
1579
1650
  "kind": "class",
1580
1651
  "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": [
1652
+ "name": "ActionsMenu",
1653
+ "members": [
1589
1654
  {
1590
- "name": "heading-level",
1655
+ "kind": "field",
1656
+ "name": "actions",
1591
1657
  "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"
1658
+ "text": "ActionMenuItem[]"
1600
1659
  }
1601
1660
  },
1602
1661
  {
1662
+ "kind": "field",
1663
+ "name": "actionsResolver",
1664
+ "type": {
1665
+ "text": "ActionMenuItemsResolver | undefined"
1666
+ },
1667
+ "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
1668
+ },
1669
+ {
1670
+ "kind": "field",
1671
+ "name": "isVertical",
1603
1672
  "type": {
1604
1673
  "text": "boolean"
1605
1674
  },
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"
1675
+ "default": "false"
1676
+ },
1677
+ {
1678
+ "kind": "field",
1679
+ "name": "addDefaultActions",
1680
+ "type": {
1681
+ "text": "boolean"
1682
+ },
1683
+ "default": "true"
1684
+ },
1685
+ {
1686
+ "kind": "field",
1687
+ "name": "autoCloseOnAction",
1688
+ "type": {
1689
+ "text": "boolean"
1690
+ },
1691
+ "default": "true"
1692
+ },
1693
+ {
1694
+ "kind": "field",
1695
+ "name": "classNames",
1696
+ "type": {
1697
+ "text": "string"
1612
1698
  }
1613
1699
  },
1614
1700
  {
1615
- "name": "id",
1701
+ "kind": "field",
1702
+ "name": "definition",
1703
+ "type": {
1704
+ "text": "any"
1705
+ }
1706
+ },
1707
+ {
1708
+ "kind": "field",
1709
+ "name": "name",
1616
1710
  "type": {
1617
1711
  "text": "string"
1618
1712
  },
1619
- "description": "The item ID",
1620
- "fieldName": "id",
1621
- "inheritedFrom": {
1622
- "name": "AccordionItem",
1623
- "module": "src/accordion-item/accordion-item.ts"
1713
+ "default": "'Actions'"
1714
+ },
1715
+ {
1716
+ "kind": "field",
1717
+ "name": "iconName",
1718
+ "type": {
1719
+ "text": "string"
1720
+ },
1721
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
1722
+ },
1723
+ {
1724
+ "kind": "field",
1725
+ "name": "open",
1726
+ "type": {
1727
+ "text": "boolean"
1728
+ },
1729
+ "default": "false"
1730
+ },
1731
+ {
1732
+ "kind": "field",
1733
+ "name": "buttonAppearance",
1734
+ "type": {
1735
+ "text": "string"
1624
1736
  }
1625
- }
1626
- ],
1627
- "members": [
1737
+ },
1738
+ {
1739
+ "kind": "field",
1740
+ "name": "hideDisabled",
1741
+ "type": {
1742
+ "text": "boolean"
1743
+ },
1744
+ "default": "false"
1745
+ },
1746
+ {
1747
+ "kind": "field",
1748
+ "name": "hideMenuSingleOption",
1749
+ "type": {
1750
+ "text": "boolean"
1751
+ },
1752
+ "default": "false"
1753
+ },
1754
+ {
1755
+ "kind": "field",
1756
+ "name": "singleOption",
1757
+ "type": {
1758
+ "text": "ActionMenuItem"
1759
+ }
1760
+ },
1761
+ {
1762
+ "kind": "field",
1763
+ "name": "actionsMenu",
1764
+ "type": {
1765
+ "text": "HTMLElement"
1766
+ }
1767
+ },
1768
+ {
1769
+ "kind": "field",
1770
+ "name": "actionsOpener",
1771
+ "type": {
1772
+ "text": "HTMLElement"
1773
+ }
1774
+ },
1775
+ {
1776
+ "kind": "field",
1777
+ "name": "positionTracker",
1778
+ "type": {
1779
+ "text": "AnchoredPopoverPositionTracker | undefined"
1780
+ },
1781
+ "privacy": "private"
1782
+ },
1783
+ {
1784
+ "kind": "field",
1785
+ "name": "focusMenuOnOpen",
1786
+ "type": {
1787
+ "text": "boolean"
1788
+ },
1789
+ "privacy": "private",
1790
+ "default": "false",
1791
+ "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
1792
+ },
1793
+ {
1794
+ "kind": "method",
1795
+ "name": "updateMenuPosition",
1796
+ "privacy": "private"
1797
+ },
1798
+ {
1799
+ "kind": "method",
1800
+ "name": "startTrackingPosition",
1801
+ "privacy": "private"
1802
+ },
1803
+ {
1804
+ "kind": "method",
1805
+ "name": "stopTrackingPosition",
1806
+ "privacy": "private"
1807
+ },
1808
+ {
1809
+ "kind": "method",
1810
+ "name": "definitionChanged",
1811
+ "privacy": "protected",
1812
+ "parameters": [
1813
+ {
1814
+ "name": "oldValue",
1815
+ "type": {
1816
+ "text": "any"
1817
+ }
1818
+ },
1819
+ {
1820
+ "name": "newValue",
1821
+ "type": {
1822
+ "text": "any"
1823
+ }
1824
+ }
1825
+ ]
1826
+ },
1827
+ {
1828
+ "kind": "method",
1829
+ "name": "openChanged",
1830
+ "privacy": "protected"
1831
+ },
1832
+ {
1833
+ "kind": "method",
1834
+ "name": "toggleActionsMenuVisibility"
1835
+ },
1836
+ {
1837
+ "kind": "method",
1838
+ "name": "onPopoverToggle",
1839
+ "parameters": [
1840
+ {
1841
+ "name": "event",
1842
+ "type": {
1843
+ "text": "Event"
1844
+ }
1845
+ }
1846
+ ],
1847
+ "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
1848
+ },
1849
+ {
1850
+ "kind": "method",
1851
+ "name": "onIconOpenerKeydown",
1852
+ "return": {
1853
+ "type": {
1854
+ "text": "boolean"
1855
+ }
1856
+ },
1857
+ "parameters": [
1858
+ {
1859
+ "name": "event",
1860
+ "type": {
1861
+ "text": "KeyboardEvent"
1862
+ }
1863
+ }
1864
+ ],
1865
+ "description": "Opens the icon-only opener from the keyboard, as a native button would."
1866
+ },
1867
+ {
1868
+ "kind": "method",
1869
+ "name": "onActionMenuItemClick",
1870
+ "parameters": [
1871
+ {
1872
+ "name": "callback",
1873
+ "type": {
1874
+ "text": "(rowData) => void | any"
1875
+ }
1876
+ }
1877
+ ]
1878
+ },
1879
+ {
1880
+ "kind": "method",
1881
+ "name": "isActionDisabled",
1882
+ "return": {
1883
+ "type": {
1884
+ "text": "boolean"
1885
+ }
1886
+ },
1887
+ "parameters": [
1888
+ {
1889
+ "name": "action",
1890
+ "type": {
1891
+ "text": "ActionMenuItem"
1892
+ }
1893
+ }
1894
+ ],
1895
+ "description": "Resolves an action's `isDisabled` for the current row."
1896
+ },
1628
1897
  {
1629
1898
  "kind": "field",
1630
- "name": "headinglevel",
1899
+ "name": "resolvedActions",
1631
1900
  "type": {
1632
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1901
+ "text": "ActionMenuItem[]"
1633
1902
  },
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"
1640
- }
1903
+ "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
1904
+ "readonly": true
1641
1905
  },
1642
1906
  {
1643
1907
  "kind": "field",
1644
- "name": "expanded",
1908
+ "name": "hasVisibleActions",
1645
1909
  "type": {
1646
1910
  "text": "boolean"
1647
1911
  },
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"
1654
- }
1912
+ "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
1913
+ "readonly": true
1655
1914
  },
1656
1915
  {
1657
1916
  "kind": "field",
1658
- "name": "id",
1917
+ "name": "allActions",
1659
1918
  "type": {
1660
- "text": "string"
1919
+ "text": "ActionMenuItem[]"
1661
1920
  },
1662
- "privacy": "public",
1663
- "description": "The item ID",
1664
- "inheritedFrom": {
1665
- "name": "AccordionItem",
1666
- "module": "src/accordion-item/accordion-item.ts"
1667
- }
1921
+ "readonly": true
1668
1922
  },
1669
1923
  {
1670
1924
  "kind": "field",
1671
- "name": "change",
1672
- "privacy": "private",
1673
- "inheritedFrom": {
1674
- "name": "AccordionItem",
1675
- "module": "src/accordion-item/accordion-item.ts"
1676
- }
1925
+ "name": "rowData",
1926
+ "readonly": true
1927
+ },
1928
+ {
1929
+ "kind": "method",
1930
+ "name": "getLabel",
1931
+ "parameters": [
1932
+ {
1933
+ "name": "name",
1934
+ "type": {
1935
+ "text": "string | ((rowData: any) => string)"
1936
+ }
1937
+ }
1938
+ ]
1939
+ },
1940
+ {
1941
+ "kind": "method",
1942
+ "name": "getTemplate",
1943
+ "parameters": [
1944
+ {
1945
+ "name": "prefix",
1946
+ "type": {
1947
+ "text": "string"
1948
+ }
1949
+ }
1950
+ ]
1677
1951
  },
1678
1952
  {
1679
1953
  "kind": "field",
@@ -1787,109 +2061,158 @@
1787
2061
  }
1788
2062
  }
1789
2063
  ],
1790
- "events": [
2064
+ "attributes": [
1791
2065
  {
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
- }
2066
+ "name": "is-vertical",
2067
+ "type": {
2068
+ "text": "boolean"
2069
+ },
2070
+ "default": "false",
2071
+ "fieldName": "isVertical"
2072
+ },
2073
+ {
2074
+ "name": "add-default-actions",
2075
+ "type": {
2076
+ "text": "boolean"
2077
+ },
2078
+ "default": "true",
2079
+ "fieldName": "addDefaultActions"
2080
+ },
2081
+ {
2082
+ "name": "auto-close-on-action",
2083
+ "type": {
2084
+ "text": "boolean"
2085
+ },
2086
+ "default": "true",
2087
+ "fieldName": "autoCloseOnAction"
2088
+ },
2089
+ {
2090
+ "name": "name",
2091
+ "type": {
2092
+ "text": "string"
2093
+ },
2094
+ "default": "'Actions'",
2095
+ "fieldName": "name"
2096
+ },
2097
+ {
2098
+ "name": "icon-name",
2099
+ "type": {
2100
+ "text": "string"
2101
+ },
2102
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
2103
+ "fieldName": "iconName"
2104
+ },
2105
+ {
2106
+ "name": "open",
2107
+ "type": {
2108
+ "text": "boolean"
2109
+ },
2110
+ "default": "false",
2111
+ "fieldName": "open"
2112
+ },
2113
+ {
2114
+ "name": "buttonAppearance",
2115
+ "type": {
2116
+ "text": "string"
2117
+ },
2118
+ "fieldName": "buttonAppearance"
2119
+ },
2120
+ {
2121
+ "name": "hide-disabled",
2122
+ "type": {
2123
+ "text": "boolean"
2124
+ },
2125
+ "default": "false",
2126
+ "fieldName": "hideDisabled"
2127
+ },
2128
+ {
2129
+ "name": "hide-menu-single-option",
2130
+ "type": {
2131
+ "text": "boolean"
2132
+ },
2133
+ "default": "false",
2134
+ "fieldName": "hideMenuSingleOption"
1798
2135
  }
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"
2136
+ ],
2137
+ "superclass": {
2138
+ "name": "FoundationElement",
2139
+ "package": "@microsoft/fast-foundation"
1814
2140
  },
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}"
2141
+ "tagName": "%%prefix%%-actions-menu",
2142
+ "customElement": true
1816
2143
  },
1817
2144
  {
1818
2145
  "kind": "variable",
1819
- "name": "foundationAccordionItem",
1820
- "description": "The Foundation Accordion Item",
2146
+ "name": "foundationActionsMenu",
2147
+ "description": "The Foundation Actions Menu",
1821
2148
  "privacy": "public"
1822
2149
  }
1823
2150
  ],
1824
2151
  "exports": [
1825
2152
  {
1826
2153
  "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",
2154
+ "name": "ActionsMenu",
1844
2155
  "declaration": {
1845
- "name": "defaultAccordionItemConfig",
1846
- "module": "src/accordion-item/accordion-item.ts"
2156
+ "name": "ActionsMenu",
2157
+ "module": "src/actions-menu/actions-menu.ts"
1847
2158
  }
1848
2159
  },
1849
2160
  {
1850
2161
  "kind": "js",
1851
- "name": "foundationAccordionItem",
2162
+ "name": "foundationActionsMenu",
1852
2163
  "declaration": {
1853
- "name": "foundationAccordionItem",
1854
- "module": "src/accordion-item/accordion-item.ts"
2164
+ "name": "foundationActionsMenu",
2165
+ "module": "src/actions-menu/actions-menu.ts"
1855
2166
  }
1856
2167
  }
1857
2168
  ]
1858
2169
  },
1859
2170
  {
1860
2171
  "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
- },
2172
+ "path": "src/actions-menu/ag-menu.styles.ts",
2173
+ "declarations": [
1872
2174
  {
1873
- "kind": "js",
1874
- "name": "*",
1875
- "declaration": {
1876
- "name": "*",
1877
- "package": "./accordion-item.styles"
1878
- }
1879
- },
2175
+ "kind": "function",
2176
+ "name": "agMenuStyles",
2177
+ "return": {
2178
+ "type": {
2179
+ "text": ""
2180
+ }
2181
+ },
2182
+ "parameters": [
2183
+ {
2184
+ "name": "menuSelector",
2185
+ "type": {
2186
+ "text": "string"
2187
+ },
2188
+ "description": "Selects the menu surface. May be a selector list."
2189
+ },
2190
+ {
2191
+ "name": "itemSelector",
2192
+ "type": {
2193
+ "text": "string"
2194
+ },
2195
+ "description": "Selects a menu item. Must be a single selector, as states are appended to it."
2196
+ }
2197
+ ],
2198
+ "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
2199
+ "privacy": "public"
2200
+ }
2201
+ ],
2202
+ "exports": [
1880
2203
  {
1881
2204
  "kind": "js",
1882
- "name": "*",
2205
+ "name": "agMenuStyles",
1883
2206
  "declaration": {
1884
- "name": "*",
1885
- "package": "./accordion-item"
2207
+ "name": "agMenuStyles",
2208
+ "module": "src/actions-menu/ag-menu.styles.ts"
1886
2209
  }
1887
2210
  }
1888
2211
  ]
1889
2212
  },
1890
2213
  {
1891
2214
  "kind": "javascript-module",
1892
- "path": "src/_config/index.ts",
2215
+ "path": "src/actions-menu/index.ts",
1893
2216
  "declarations": [],
1894
2217
  "exports": [
1895
2218
  {
@@ -1897,7 +2220,15 @@
1897
2220
  "name": "*",
1898
2221
  "declaration": {
1899
2222
  "name": "*",
1900
- "package": "./styles"
2223
+ "package": "./actions-menu.styles"
2224
+ }
2225
+ },
2226
+ {
2227
+ "kind": "js",
2228
+ "name": "*",
2229
+ "declaration": {
2230
+ "name": "*",
2231
+ "package": "./actions-menu.template"
1901
2232
  }
1902
2233
  },
1903
2234
  {
@@ -1905,7 +2236,7 @@
1905
2236
  "name": "*",
1906
2237
  "declaration": {
1907
2238
  "name": "*",
1908
- "package": "./tokens"
2239
+ "package": "./actions-menu"
1909
2240
  }
1910
2241
  },
1911
2242
  {
@@ -1913,18 +2244,18 @@
1913
2244
  "name": "*",
1914
2245
  "declaration": {
1915
2246
  "name": "*",
1916
- "package": "./values"
2247
+ "package": "./ag-menu.styles"
1917
2248
  }
1918
2249
  }
1919
2250
  ]
1920
2251
  },
1921
2252
  {
1922
2253
  "kind": "javascript-module",
1923
- "path": "src/accordion/accordion.styles.ts",
2254
+ "path": "src/accordion-item/accordion-item.styles.ts",
1924
2255
  "declarations": [
1925
2256
  {
1926
2257
  "kind": "function",
1927
- "name": "foundationAccordionStyles",
2258
+ "name": "foundationAccordionItemStyles",
1928
2259
  "return": {
1929
2260
  "type": {
1930
2261
  "text": "ElementStyles"
@@ -1949,24 +2280,24 @@
1949
2280
  "exports": [
1950
2281
  {
1951
2282
  "kind": "js",
1952
- "name": "foundationAccordionStyles",
2283
+ "name": "foundationAccordionItemStyles",
1953
2284
  "declaration": {
1954
- "name": "foundationAccordionStyles",
1955
- "module": "src/accordion/accordion.styles.ts"
2285
+ "name": "foundationAccordionItemStyles",
2286
+ "module": "src/accordion-item/accordion-item.styles.ts"
1956
2287
  }
1957
2288
  }
1958
2289
  ]
1959
2290
  },
1960
2291
  {
1961
2292
  "kind": "javascript-module",
1962
- "path": "src/accordion/accordion.template.ts",
2293
+ "path": "src/accordion-item/accordion-item.template.ts",
1963
2294
  "declarations": [
1964
2295
  {
1965
2296
  "kind": "function",
1966
- "name": "foundationAccordionTemplate",
2297
+ "name": "foundationAccordionItemTemplate",
1967
2298
  "return": {
1968
2299
  "type": {
1969
- "text": "ViewTemplate<Accordion>"
2300
+ "text": "ViewTemplate<AccordionItem>"
1970
2301
  }
1971
2302
  },
1972
2303
  "parameters": [
@@ -1988,237 +2319,116 @@
1988
2319
  "exports": [
1989
2320
  {
1990
2321
  "kind": "js",
1991
- "name": "foundationAccordionTemplate",
2322
+ "name": "foundationAccordionItemTemplate",
1992
2323
  "declaration": {
1993
- "name": "foundationAccordionTemplate",
1994
- "module": "src/accordion/accordion.template.ts"
2324
+ "name": "foundationAccordionItemTemplate",
2325
+ "module": "src/accordion-item/accordion-item.template.ts"
1995
2326
  }
1996
2327
  }
1997
2328
  ]
1998
2329
  },
1999
2330
  {
2000
2331
  "kind": "javascript-module",
2001
- "path": "src/accordion/accordion.ts",
2332
+ "path": "src/accordion-item/accordion-item.ts",
2002
2333
  "declarations": [
2003
2334
  {
2004
2335
  "kind": "class",
2005
2336
  "description": "",
2006
- "name": "Accordion",
2337
+ "name": "AccordionItem",
2007
2338
  "superclass": {
2008
- "name": "FASTAccordion",
2009
- "package": "@microsoft/fast-foundation"
2339
+ "name": "FASTAccordionItem",
2340
+ "package": "@microsoft/fast-components"
2010
2341
  },
2011
- "tagName": "%%prefix%%-accordion",
2342
+ "tagName": "%%prefix%%-accordion-item",
2012
2343
  "customElement": true,
2013
2344
  "attributes": [
2014
2345
  {
2015
- "name": "expand-mode",
2016
- "type": {
2017
- "text": "AccordionExpandMode"
2018
- },
2019
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2020
- "fieldName": "expandmode",
2021
- "inheritedFrom": {
2022
- "name": "Accordion",
2023
- "module": "src/accordion/accordion.ts"
2024
- }
2025
- }
2026
- ],
2027
- "members": [
2028
- {
2029
- "kind": "field",
2030
- "name": "expandmode",
2346
+ "name": "heading-level",
2031
2347
  "type": {
2032
- "text": "AccordionExpandMode"
2348
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2033
2349
  },
2034
- "privacy": "public",
2035
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2350
+ "default": "2",
2351
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2352
+ "fieldName": "headinglevel",
2036
2353
  "inheritedFrom": {
2037
- "name": "Accordion",
2038
- "module": "src/accordion/accordion.ts"
2354
+ "name": "AccordionItem",
2355
+ "module": "src/accordion-item/accordion-item.ts"
2039
2356
  }
2040
2357
  },
2041
2358
  {
2042
- "kind": "field",
2043
- "name": "activeid",
2044
2359
  "type": {
2045
- "text": "string | null"
2360
+ "text": "boolean"
2046
2361
  },
2047
- "privacy": "private",
2362
+ "default": "false",
2363
+ "description": "Expands or collapses the item.",
2364
+ "fieldName": "expanded",
2048
2365
  "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2366
+ "name": "AccordionItem",
2367
+ "module": "src/accordion-item/accordion-item.ts"
2051
2368
  }
2052
2369
  },
2053
2370
  {
2054
- "kind": "field",
2055
- "name": "activeItemIndex",
2371
+ "name": "id",
2056
2372
  "type": {
2057
- "text": "number"
2373
+ "text": "string"
2058
2374
  },
2059
- "privacy": "private",
2060
- "default": "0",
2375
+ "description": "The item ID",
2376
+ "fieldName": "id",
2061
2377
  "inheritedFrom": {
2062
- "name": "Accordion",
2063
- "module": "src/accordion/accordion.ts"
2378
+ "name": "AccordionItem",
2379
+ "module": "src/accordion-item/accordion-item.ts"
2064
2380
  }
2065
- },
2381
+ }
2382
+ ],
2383
+ "members": [
2066
2384
  {
2067
2385
  "kind": "field",
2068
- "name": "accordionIds",
2386
+ "name": "headinglevel",
2069
2387
  "type": {
2070
- "text": "Array<string | null>"
2071
- },
2072
- "privacy": "private",
2073
- "inheritedFrom": {
2074
- "name": "Accordion",
2075
- "module": "src/accordion/accordion.ts"
2076
- }
2077
- },
2078
- {
2079
- "kind": "field",
2080
- "name": "change",
2081
- "privacy": "private",
2082
- "inheritedFrom": {
2083
- "name": "Accordion",
2084
- "module": "src/accordion/accordion.ts"
2085
- }
2086
- },
2087
- {
2088
- "kind": "method",
2089
- "name": "findExpandedItem",
2090
- "privacy": "private",
2091
- "return": {
2092
- "type": {
2093
- "text": "AccordionItem | null"
2094
- }
2388
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2095
2389
  },
2390
+ "privacy": "public",
2391
+ "default": "2",
2392
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2096
2393
  "inheritedFrom": {
2097
- "name": "Accordion",
2098
- "module": "src/accordion/accordion.ts"
2394
+ "name": "AccordionItem",
2395
+ "module": "src/accordion-item/accordion-item.ts"
2099
2396
  }
2100
2397
  },
2101
2398
  {
2102
2399
  "kind": "field",
2103
- "name": "setItems",
2104
- "privacy": "private",
2105
- "inheritedFrom": {
2106
- "name": "Accordion",
2107
- "module": "src/accordion/accordion.ts"
2108
- }
2109
- },
2110
- {
2111
- "kind": "method",
2112
- "name": "resetItems",
2113
- "privacy": "private",
2114
- "return": {
2115
- "type": {
2116
- "text": "void"
2117
- }
2400
+ "name": "expanded",
2401
+ "type": {
2402
+ "text": "boolean"
2118
2403
  },
2404
+ "privacy": "public",
2405
+ "default": "false",
2406
+ "description": "Expands or collapses the item.",
2119
2407
  "inheritedFrom": {
2120
- "name": "Accordion",
2121
- "module": "src/accordion/accordion.ts"
2122
- }
2123
- },
2124
- {
2125
- "kind": "field",
2126
- "name": "removeItemListeners",
2127
- "privacy": "private",
2128
- "inheritedFrom": {
2129
- "name": "Accordion",
2130
- "module": "src/accordion/accordion.ts"
2408
+ "name": "AccordionItem",
2409
+ "module": "src/accordion-item/accordion-item.ts"
2131
2410
  }
2132
2411
  },
2133
2412
  {
2134
2413
  "kind": "field",
2135
- "name": "activeItemChange",
2136
- "privacy": "private",
2137
- "inheritedFrom": {
2138
- "name": "Accordion",
2139
- "module": "src/accordion/accordion.ts"
2140
- }
2141
- },
2142
- {
2143
- "kind": "method",
2144
- "name": "getItemIds",
2145
- "privacy": "private",
2146
- "return": {
2147
- "type": {
2148
- "text": "Array<string | null>"
2149
- }
2150
- },
2151
- "inheritedFrom": {
2152
- "name": "Accordion",
2153
- "module": "src/accordion/accordion.ts"
2154
- }
2155
- },
2156
- {
2157
- "kind": "method",
2158
- "name": "isSingleExpandMode",
2159
- "privacy": "private",
2160
- "return": {
2161
- "type": {
2162
- "text": "boolean"
2163
- }
2414
+ "name": "id",
2415
+ "type": {
2416
+ "text": "string"
2164
2417
  },
2418
+ "privacy": "public",
2419
+ "description": "The item ID",
2165
2420
  "inheritedFrom": {
2166
- "name": "Accordion",
2167
- "module": "src/accordion/accordion.ts"
2168
- }
2169
- },
2170
- {
2171
- "kind": "field",
2172
- "name": "handleItemKeyDown",
2173
- "privacy": "private",
2174
- "inheritedFrom": {
2175
- "name": "Accordion",
2176
- "module": "src/accordion/accordion.ts"
2421
+ "name": "AccordionItem",
2422
+ "module": "src/accordion-item/accordion-item.ts"
2177
2423
  }
2178
2424
  },
2179
2425
  {
2180
2426
  "kind": "field",
2181
- "name": "handleItemFocus",
2182
- "privacy": "private",
2183
- "inheritedFrom": {
2184
- "name": "Accordion",
2185
- "module": "src/accordion/accordion.ts"
2186
- }
2187
- },
2188
- {
2189
- "kind": "method",
2190
- "name": "adjust",
2191
- "privacy": "private",
2192
- "return": {
2193
- "type": {
2194
- "text": "void"
2195
- }
2196
- },
2197
- "parameters": [
2198
- {
2199
- "name": "adjustment",
2200
- "type": {
2201
- "text": "number"
2202
- }
2203
- }
2204
- ],
2205
- "inheritedFrom": {
2206
- "name": "Accordion",
2207
- "module": "src/accordion/accordion.ts"
2208
- }
2209
- },
2210
- {
2211
- "kind": "method",
2212
- "name": "focusItem",
2213
- "privacy": "private",
2214
- "return": {
2215
- "type": {
2216
- "text": "void"
2217
- }
2218
- },
2427
+ "name": "change",
2428
+ "privacy": "private",
2219
2429
  "inheritedFrom": {
2220
- "name": "Accordion",
2221
- "module": "src/accordion/accordion.ts"
2430
+ "name": "AccordionItem",
2431
+ "module": "src/accordion-item/accordion-item.ts"
2222
2432
  }
2223
2433
  },
2224
2434
  {
@@ -2335,18 +2545,18 @@
2335
2545
  ],
2336
2546
  "events": [
2337
2547
  {
2338
- "description": "Fires a custom 'change' event when the active item changes",
2548
+ "description": "Fires a custom 'change' event when the button is invoked",
2339
2549
  "name": "change",
2340
2550
  "inheritedFrom": {
2341
- "name": "Accordion",
2342
- "module": "src/accordion/accordion.ts"
2551
+ "name": "AccordionItem",
2552
+ "module": "src/accordion-item/accordion-item.ts"
2343
2553
  }
2344
2554
  }
2345
2555
  ]
2346
2556
  },
2347
2557
  {
2348
2558
  "kind": "variable",
2349
- "name": "foundationAccordionShadowOptions",
2559
+ "name": "foundationAccordionItemShadowOptions",
2350
2560
  "type": {
2351
2561
  "text": "ShadowRootInit"
2352
2562
  },
@@ -2354,57 +2564,57 @@
2354
2564
  },
2355
2565
  {
2356
2566
  "kind": "variable",
2357
- "name": "defaultAccordionConfig",
2567
+ "name": "defaultAccordionItemConfig",
2358
2568
  "type": {
2359
2569
  "text": "object"
2360
2570
  },
2361
- "default": "{}"
2571
+ "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}"
2362
2572
  },
2363
2573
  {
2364
2574
  "kind": "variable",
2365
- "name": "foundationAccordion",
2366
- "description": "The Foundation Accordion",
2575
+ "name": "foundationAccordionItem",
2576
+ "description": "The Foundation Accordion Item",
2367
2577
  "privacy": "public"
2368
2578
  }
2369
2579
  ],
2370
2580
  "exports": [
2371
2581
  {
2372
2582
  "kind": "js",
2373
- "name": "Accordion",
2583
+ "name": "AccordionItem",
2374
2584
  "declaration": {
2375
- "name": "Accordion",
2376
- "module": "src/accordion/accordion.ts"
2585
+ "name": "AccordionItem",
2586
+ "module": "src/accordion-item/accordion-item.ts"
2377
2587
  }
2378
2588
  },
2379
2589
  {
2380
2590
  "kind": "js",
2381
- "name": "foundationAccordionShadowOptions",
2591
+ "name": "foundationAccordionItemShadowOptions",
2382
2592
  "declaration": {
2383
- "name": "foundationAccordionShadowOptions",
2384
- "module": "src/accordion/accordion.ts"
2593
+ "name": "foundationAccordionItemShadowOptions",
2594
+ "module": "src/accordion-item/accordion-item.ts"
2385
2595
  }
2386
2596
  },
2387
2597
  {
2388
2598
  "kind": "js",
2389
- "name": "defaultAccordionConfig",
2599
+ "name": "defaultAccordionItemConfig",
2390
2600
  "declaration": {
2391
- "name": "defaultAccordionConfig",
2392
- "module": "src/accordion/accordion.ts"
2601
+ "name": "defaultAccordionItemConfig",
2602
+ "module": "src/accordion-item/accordion-item.ts"
2393
2603
  }
2394
2604
  },
2395
2605
  {
2396
2606
  "kind": "js",
2397
- "name": "foundationAccordion",
2607
+ "name": "foundationAccordionItem",
2398
2608
  "declaration": {
2399
- "name": "foundationAccordion",
2400
- "module": "src/accordion/accordion.ts"
2609
+ "name": "foundationAccordionItem",
2610
+ "module": "src/accordion-item/accordion-item.ts"
2401
2611
  }
2402
2612
  }
2403
2613
  ]
2404
2614
  },
2405
2615
  {
2406
2616
  "kind": "javascript-module",
2407
- "path": "src/accordion/index.ts",
2617
+ "path": "src/accordion-item/index.ts",
2408
2618
  "declarations": [],
2409
2619
  "exports": [
2410
2620
  {
@@ -2412,7 +2622,7 @@
2412
2622
  "name": "*",
2413
2623
  "declaration": {
2414
2624
  "name": "*",
2415
- "package": "./accordion.template"
2625
+ "package": "./accordion-item.template"
2416
2626
  }
2417
2627
  },
2418
2628
  {
@@ -2420,7 +2630,7 @@
2420
2630
  "name": "*",
2421
2631
  "declaration": {
2422
2632
  "name": "*",
2423
- "package": "./accordion.styles"
2633
+ "package": "./accordion-item.styles"
2424
2634
  }
2425
2635
  },
2426
2636
  {
@@ -2428,41 +2638,18 @@
2428
2638
  "name": "*",
2429
2639
  "declaration": {
2430
2640
  "name": "*",
2431
- "package": "./accordion"
2641
+ "package": "./accordion-item"
2432
2642
  }
2433
2643
  }
2434
2644
  ]
2435
2645
  },
2436
2646
  {
2437
2647
  "kind": "javascript-module",
2438
- "path": "src/actions-menu/actions-menu.styles.ts",
2648
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2439
2649
  "declarations": [
2440
2650
  {
2441
2651
  "kind": "function",
2442
- "name": "actionsMenuBaseStyles",
2443
- "return": {
2444
- "type": {
2445
- "text": "ElementStyles"
2446
- }
2447
- },
2448
- "parameters": [
2449
- {
2450
- "name": "context",
2451
- "type": {
2452
- "text": "ElementDefinitionContext"
2453
- }
2454
- },
2455
- {
2456
- "name": "definition",
2457
- "type": {
2458
- "text": "FoundationElementDefinition"
2459
- }
2460
- }
2461
- ]
2462
- },
2463
- {
2464
- "kind": "function",
2465
- "name": "foundationActionsMenuStyles",
2652
+ "name": "foundationAiIndicatorStyles",
2466
2653
  "return": {
2467
2654
  "type": {
2468
2655
  "text": "ElementStyles"
@@ -2487,147 +2674,71 @@
2487
2674
  "exports": [
2488
2675
  {
2489
2676
  "kind": "js",
2490
- "name": "actionsMenuBaseStyles",
2491
- "declaration": {
2492
- "name": "actionsMenuBaseStyles",
2493
- "module": "src/actions-menu/actions-menu.styles.ts"
2494
- }
2495
- },
2496
- {
2497
- "kind": "js",
2498
- "name": "foundationActionsMenuStyles",
2677
+ "name": "foundationAiIndicatorStyles",
2499
2678
  "declaration": {
2500
- "name": "foundationActionsMenuStyles",
2501
- "module": "src/actions-menu/actions-menu.styles.ts"
2679
+ "name": "foundationAiIndicatorStyles",
2680
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2502
2681
  }
2503
2682
  }
2504
2683
  ]
2505
2684
  },
2506
2685
  {
2507
2686
  "kind": "javascript-module",
2508
- "path": "src/actions-menu/actions-menu.template.ts",
2687
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2509
2688
  "declarations": [
2510
2689
  {
2511
2690
  "kind": "variable",
2512
- "name": "menuTemplate"
2513
- },
2514
- {
2515
- "kind": "variable",
2516
- "name": "singleOptionTemplate"
2517
- },
2518
- {
2519
- "kind": "variable",
2520
- "name": "foundationActionsMenuTemplate",
2691
+ "name": "foundationAiIndicatorTemplate",
2521
2692
  "type": {
2522
- "text": "ViewTemplate<ActionsMenu>"
2693
+ "text": "ViewTemplate<AiIndicator>"
2523
2694
  },
2524
- "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`"
2695
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2525
2696
  }
2526
2697
  ],
2527
2698
  "exports": [
2528
2699
  {
2529
2700
  "kind": "js",
2530
- "name": "menuTemplate",
2531
- "declaration": {
2532
- "name": "menuTemplate",
2533
- "module": "src/actions-menu/actions-menu.template.ts"
2534
- }
2535
- },
2536
- {
2537
- "kind": "js",
2538
- "name": "singleOptionTemplate",
2539
- "declaration": {
2540
- "name": "singleOptionTemplate",
2541
- "module": "src/actions-menu/actions-menu.template.ts"
2542
- }
2543
- },
2544
- {
2545
- "kind": "js",
2546
- "name": "foundationActionsMenuTemplate",
2701
+ "name": "foundationAiIndicatorTemplate",
2547
2702
  "declaration": {
2548
- "name": "foundationActionsMenuTemplate",
2549
- "module": "src/actions-menu/actions-menu.template.ts"
2703
+ "name": "foundationAiIndicatorTemplate",
2704
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2550
2705
  }
2551
2706
  }
2552
2707
  ]
2553
2708
  },
2554
2709
  {
2555
2710
  "kind": "javascript-module",
2556
- "path": "src/actions-menu/actions-menu.ts",
2711
+ "path": "src/ai-indicator/ai-indicator.ts",
2557
2712
  "declarations": [
2558
2713
  {
2559
2714
  "kind": "class",
2560
2715
  "description": "",
2561
- "name": "ActionsMenu",
2716
+ "name": "AiIndicator",
2562
2717
  "members": [
2563
2718
  {
2564
2719
  "kind": "field",
2565
- "name": "actions",
2566
- "type": {
2567
- "text": "ActionMenuItem[]"
2568
- }
2569
- },
2570
- {
2571
- "kind": "field",
2572
- "name": "actionsResolver",
2573
- "type": {
2574
- "text": "ActionMenuItemsResolver | undefined"
2575
- },
2576
- "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
2577
- },
2578
- {
2579
- "kind": "field",
2580
- "name": "isVertical",
2581
- "type": {
2582
- "text": "boolean"
2583
- },
2584
- "default": "false"
2585
- },
2586
- {
2587
- "kind": "field",
2588
- "name": "addDefaultActions",
2589
- "type": {
2590
- "text": "boolean"
2591
- },
2592
- "default": "true"
2593
- },
2594
- {
2595
- "kind": "field",
2596
- "name": "autoCloseOnAction",
2597
- "type": {
2598
- "text": "boolean"
2599
- },
2600
- "default": "true"
2601
- },
2602
- {
2603
- "kind": "field",
2604
- "name": "classNames",
2605
- "type": {
2606
- "text": "string"
2607
- }
2608
- },
2609
- {
2610
- "kind": "field",
2611
- "name": "definition",
2720
+ "name": "providerRegistry",
2612
2721
  "type": {
2613
- "text": "any"
2722
+ "text": "AIProviderRegistry"
2614
2723
  }
2615
2724
  },
2616
2725
  {
2617
2726
  "kind": "field",
2618
- "name": "name",
2727
+ "name": "aiProvider",
2619
2728
  "type": {
2620
- "text": "string"
2729
+ "text": "AIProvider | undefined"
2621
2730
  },
2622
- "default": "'Actions'"
2731
+ "privacy": "private",
2732
+ "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.",
2733
+ "readonly": true
2623
2734
  },
2624
2735
  {
2625
2736
  "kind": "field",
2626
- "name": "iconName",
2737
+ "name": "status",
2627
2738
  "type": {
2628
- "text": "string"
2739
+ "text": "AIStatus | null"
2629
2740
  },
2630
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
2741
+ "default": "null"
2631
2742
  },
2632
2743
  {
2633
2744
  "kind": "field",
@@ -2639,22 +2750,15 @@
2639
2750
  },
2640
2751
  {
2641
2752
  "kind": "field",
2642
- "name": "buttonAppearance",
2643
- "type": {
2644
- "text": "string"
2645
- }
2646
- },
2647
- {
2648
- "kind": "field",
2649
- "name": "hideDisabled",
2753
+ "name": "state",
2650
2754
  "type": {
2651
- "text": "boolean"
2755
+ "text": "AIIndicatorState"
2652
2756
  },
2653
- "default": "false"
2757
+ "default": "'none'"
2654
2758
  },
2655
2759
  {
2656
2760
  "kind": "field",
2657
- "name": "hideMenuSingleOption",
2761
+ "name": "isInstalling",
2658
2762
  "type": {
2659
2763
  "text": "boolean"
2660
2764
  },
@@ -2662,201 +2766,133 @@
2662
2766
  },
2663
2767
  {
2664
2768
  "kind": "field",
2665
- "name": "singleOption",
2666
- "type": {
2667
- "text": "ActionMenuItem"
2668
- }
2669
- },
2670
- {
2671
- "kind": "field",
2672
- "name": "actionsMenu",
2673
- "type": {
2674
- "text": "HTMLElement"
2675
- }
2676
- },
2677
- {
2678
- "kind": "field",
2679
- "name": "actionsOpener",
2769
+ "name": "pollTimer",
2680
2770
  "type": {
2681
- "text": "HTMLElement"
2682
- }
2771
+ "text": "ReturnType<typeof setInterval> | null"
2772
+ },
2773
+ "privacy": "private",
2774
+ "default": "null"
2683
2775
  },
2684
2776
  {
2685
2777
  "kind": "field",
2686
- "name": "positionTracker",
2687
- "type": {
2688
- "text": "AnchoredPopoverPositionTracker | undefined"
2689
- },
2778
+ "name": "clickOutside",
2690
2779
  "privacy": "private"
2691
2780
  },
2692
2781
  {
2693
2782
  "kind": "field",
2694
- "name": "focusMenuOnOpen",
2783
+ "name": "chromeStatusLabel",
2695
2784
  "type": {
2696
- "text": "boolean"
2785
+ "text": "string | null"
2697
2786
  },
2698
- "privacy": "private",
2699
- "default": "false",
2700
- "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
2787
+ "readonly": true
2701
2788
  },
2702
2789
  {
2703
- "kind": "method",
2704
- "name": "updateMenuPosition",
2705
- "privacy": "private"
2790
+ "kind": "field",
2791
+ "name": "canInstall",
2792
+ "type": {
2793
+ "text": "boolean"
2794
+ },
2795
+ "readonly": true
2706
2796
  },
2707
2797
  {
2708
- "kind": "method",
2709
- "name": "startTrackingPosition",
2710
- "privacy": "private"
2798
+ "kind": "field",
2799
+ "name": "isDownloading",
2800
+ "type": {
2801
+ "text": "boolean"
2802
+ },
2803
+ "readonly": true
2711
2804
  },
2712
2805
  {
2713
2806
  "kind": "method",
2714
- "name": "stopTrackingPosition",
2715
- "privacy": "private"
2807
+ "name": "openChanged",
2808
+ "return": {
2809
+ "type": {
2810
+ "text": "void"
2811
+ }
2812
+ }
2716
2813
  },
2717
2814
  {
2718
2815
  "kind": "method",
2719
- "name": "definitionChanged",
2720
- "privacy": "protected",
2816
+ "name": "handleClickOutside",
2817
+ "privacy": "private",
2721
2818
  "parameters": [
2722
2819
  {
2723
- "name": "oldValue",
2724
- "type": {
2725
- "text": "any"
2726
- }
2727
- },
2728
- {
2729
- "name": "newValue",
2820
+ "name": "event",
2730
2821
  "type": {
2731
- "text": "any"
2822
+ "text": "MouseEvent"
2732
2823
  }
2733
2824
  }
2734
2825
  ]
2735
2826
  },
2736
2827
  {
2737
2828
  "kind": "method",
2738
- "name": "openChanged",
2739
- "privacy": "protected"
2740
- },
2741
- {
2742
- "kind": "method",
2743
- "name": "toggleActionsMenuVisibility"
2829
+ "name": "toggleDropdown"
2744
2830
  },
2745
2831
  {
2746
2832
  "kind": "method",
2747
- "name": "onPopoverToggle",
2748
- "parameters": [
2749
- {
2750
- "name": "event",
2751
- "type": {
2752
- "text": "Event"
2753
- }
2833
+ "name": "refreshStatus",
2834
+ "return": {
2835
+ "type": {
2836
+ "text": "Promise<void>"
2754
2837
  }
2755
- ],
2756
- "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
2838
+ }
2757
2839
  },
2758
2840
  {
2759
2841
  "kind": "method",
2760
- "name": "onIconOpenerKeydown",
2842
+ "name": "deriveState",
2843
+ "privacy": "private",
2761
2844
  "return": {
2762
2845
  "type": {
2763
- "text": "boolean"
2846
+ "text": "AIIndicatorState"
2764
2847
  }
2765
2848
  },
2766
2849
  "parameters": [
2767
2850
  {
2768
- "name": "event",
2851
+ "name": "s",
2769
2852
  "type": {
2770
- "text": "KeyboardEvent"
2853
+ "text": "AIStatus | null"
2771
2854
  }
2772
2855
  }
2773
- ],
2774
- "description": "Opens the icon-only opener from the keyboard, as a native button would."
2856
+ ]
2775
2857
  },
2776
2858
  {
2777
2859
  "kind": "method",
2778
- "name": "onActionMenuItemClick",
2779
- "parameters": [
2780
- {
2781
- "name": "callback",
2782
- "type": {
2783
- "text": "(rowData) => void | any"
2784
- }
2860
+ "name": "maybeStartPolling",
2861
+ "privacy": "private",
2862
+ "return": {
2863
+ "type": {
2864
+ "text": "void"
2785
2865
  }
2786
- ]
2866
+ }
2787
2867
  },
2788
2868
  {
2789
2869
  "kind": "method",
2790
- "name": "isActionDisabled",
2870
+ "name": "startPolling",
2871
+ "privacy": "private",
2791
2872
  "return": {
2792
2873
  "type": {
2793
- "text": "boolean"
2794
- }
2795
- },
2796
- "parameters": [
2797
- {
2798
- "name": "action",
2799
- "type": {
2800
- "text": "ActionMenuItem"
2801
- }
2874
+ "text": "void"
2802
2875
  }
2803
- ],
2804
- "description": "Resolves an action's `isDisabled` for the current row."
2805
- },
2806
- {
2807
- "kind": "field",
2808
- "name": "resolvedActions",
2809
- "type": {
2810
- "text": "ActionMenuItem[]"
2811
- },
2812
- "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
2813
- "readonly": true
2814
- },
2815
- {
2816
- "kind": "field",
2817
- "name": "hasVisibleActions",
2818
- "type": {
2819
- "text": "boolean"
2820
- },
2821
- "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
2822
- "readonly": true
2823
- },
2824
- {
2825
- "kind": "field",
2826
- "name": "allActions",
2827
- "type": {
2828
- "text": "ActionMenuItem[]"
2829
- },
2830
- "readonly": true
2831
- },
2832
- {
2833
- "kind": "field",
2834
- "name": "rowData",
2835
- "readonly": true
2876
+ }
2836
2877
  },
2837
2878
  {
2838
2879
  "kind": "method",
2839
- "name": "getLabel",
2840
- "parameters": [
2841
- {
2842
- "name": "name",
2843
- "type": {
2844
- "text": "string | ((rowData: any) => string)"
2845
- }
2880
+ "name": "stopPolling",
2881
+ "privacy": "private",
2882
+ "return": {
2883
+ "type": {
2884
+ "text": "void"
2846
2885
  }
2847
- ]
2886
+ }
2848
2887
  },
2849
2888
  {
2850
2889
  "kind": "method",
2851
- "name": "getTemplate",
2852
- "parameters": [
2853
- {
2854
- "name": "prefix",
2855
- "type": {
2856
- "text": "string"
2857
- }
2890
+ "name": "onInstall",
2891
+ "return": {
2892
+ "type": {
2893
+ "text": "Promise<void>"
2858
2894
  }
2859
- ]
2895
+ }
2860
2896
  },
2861
2897
  {
2862
2898
  "kind": "field",
@@ -2930,230 +2966,128 @@
2930
2966
  "privacy": "protected",
2931
2967
  "return": {
2932
2968
  "type": {
2933
- "text": "void"
2934
- }
2935
- },
2936
- "inheritedFrom": {
2937
- "name": "FoundationElement",
2938
- "module": "src/foundation-element/foundation-element.ts"
2939
- }
2940
- },
2941
- {
2942
- "kind": "method",
2943
- "name": "compose",
2944
- "privacy": "public",
2945
- "static": true,
2946
- "return": {
2947
- "type": {
2948
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2949
- }
2950
- },
2951
- "parameters": [
2952
- {
2953
- "name": "this",
2954
- "type": {
2955
- "text": "K"
2956
- }
2957
- },
2958
- {
2959
- "name": "elementDefinition",
2960
- "type": {
2961
- "text": "T"
2962
- },
2963
- "description": "The definition of the element to create the registry\nfunction for."
2964
- }
2965
- ],
2966
- "description": "Defines an element registry function with a set of element definition defaults.",
2967
- "inheritedFrom": {
2968
- "name": "FoundationElement",
2969
- "module": "src/foundation-element/foundation-element.ts"
2970
- }
2971
- }
2972
- ],
2973
- "attributes": [
2974
- {
2975
- "name": "is-vertical",
2976
- "type": {
2977
- "text": "boolean"
2978
- },
2979
- "default": "false",
2980
- "fieldName": "isVertical"
2981
- },
2982
- {
2983
- "name": "add-default-actions",
2984
- "type": {
2985
- "text": "boolean"
2986
- },
2987
- "default": "true",
2988
- "fieldName": "addDefaultActions"
2989
- },
2990
- {
2991
- "name": "auto-close-on-action",
2992
- "type": {
2993
- "text": "boolean"
2994
- },
2995
- "default": "true",
2996
- "fieldName": "autoCloseOnAction"
2997
- },
2998
- {
2999
- "name": "name",
3000
- "type": {
3001
- "text": "string"
3002
- },
3003
- "default": "'Actions'",
3004
- "fieldName": "name"
3005
- },
3006
- {
3007
- "name": "icon-name",
3008
- "type": {
3009
- "text": "string"
3010
- },
3011
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
3012
- "fieldName": "iconName"
3013
- },
3014
- {
3015
- "name": "open",
3016
- "type": {
3017
- "text": "boolean"
3018
- },
3019
- "default": "false",
3020
- "fieldName": "open"
3021
- },
3022
- {
3023
- "name": "buttonAppearance",
3024
- "type": {
3025
- "text": "string"
3026
- },
3027
- "fieldName": "buttonAppearance"
3028
- },
3029
- {
3030
- "name": "hide-disabled",
3031
- "type": {
3032
- "text": "boolean"
2969
+ "text": "void"
2970
+ }
3033
2971
  },
3034
- "default": "false",
3035
- "fieldName": "hideDisabled"
2972
+ "inheritedFrom": {
2973
+ "name": "FoundationElement",
2974
+ "module": "src/foundation-element/foundation-element.ts"
2975
+ }
3036
2976
  },
3037
2977
  {
3038
- "name": "hide-menu-single-option",
3039
- "type": {
3040
- "text": "boolean"
2978
+ "kind": "method",
2979
+ "name": "compose",
2980
+ "privacy": "public",
2981
+ "static": true,
2982
+ "return": {
2983
+ "type": {
2984
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2985
+ }
3041
2986
  },
3042
- "default": "false",
3043
- "fieldName": "hideMenuSingleOption"
2987
+ "parameters": [
2988
+ {
2989
+ "name": "this",
2990
+ "type": {
2991
+ "text": "K"
2992
+ }
2993
+ },
2994
+ {
2995
+ "name": "elementDefinition",
2996
+ "type": {
2997
+ "text": "T"
2998
+ },
2999
+ "description": "The definition of the element to create the registry\nfunction for."
3000
+ }
3001
+ ],
3002
+ "description": "Defines an element registry function with a set of element definition defaults.",
3003
+ "inheritedFrom": {
3004
+ "name": "FoundationElement",
3005
+ "module": "src/foundation-element/foundation-element.ts"
3006
+ }
3044
3007
  }
3045
3008
  ],
3046
3009
  "superclass": {
3047
3010
  "name": "FoundationElement",
3048
3011
  "package": "@microsoft/fast-foundation"
3049
3012
  },
3050
- "tagName": "%%prefix%%-actions-menu",
3013
+ "tagName": "%%prefix%%-ai-indicator",
3051
3014
  "customElement": true
3052
3015
  },
3053
3016
  {
3054
3017
  "kind": "variable",
3055
- "name": "foundationActionsMenu",
3056
- "description": "The Foundation Actions Menu",
3057
- "privacy": "public"
3018
+ "name": "foundationAiIndicator"
3058
3019
  }
3059
3020
  ],
3060
3021
  "exports": [
3061
3022
  {
3062
3023
  "kind": "js",
3063
- "name": "ActionsMenu",
3024
+ "name": "AiIndicator",
3064
3025
  "declaration": {
3065
- "name": "ActionsMenu",
3066
- "module": "src/actions-menu/actions-menu.ts"
3026
+ "name": "AiIndicator",
3027
+ "module": "src/ai-indicator/ai-indicator.ts"
3067
3028
  }
3068
3029
  },
3069
3030
  {
3070
3031
  "kind": "js",
3071
- "name": "foundationActionsMenu",
3032
+ "name": "foundationAiIndicator",
3072
3033
  "declaration": {
3073
- "name": "foundationActionsMenu",
3074
- "module": "src/actions-menu/actions-menu.ts"
3034
+ "name": "foundationAiIndicator",
3035
+ "module": "src/ai-indicator/ai-indicator.ts"
3075
3036
  }
3076
3037
  }
3077
3038
  ]
3078
3039
  },
3079
3040
  {
3080
3041
  "kind": "javascript-module",
3081
- "path": "src/actions-menu/ag-menu.styles.ts",
3082
- "declarations": [
3083
- {
3084
- "kind": "function",
3085
- "name": "agMenuStyles",
3086
- "return": {
3087
- "type": {
3088
- "text": ""
3089
- }
3090
- },
3091
- "parameters": [
3092
- {
3093
- "name": "menuSelector",
3094
- "type": {
3095
- "text": "string"
3096
- },
3097
- "description": "Selects the menu surface. May be a selector list."
3098
- },
3099
- {
3100
- "name": "itemSelector",
3101
- "type": {
3102
- "text": "string"
3103
- },
3104
- "description": "Selects a menu item. Must be a single selector, as states are appended to it."
3105
- }
3106
- ],
3107
- "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
3108
- "privacy": "public"
3109
- }
3110
- ],
3042
+ "path": "src/ai-indicator/index.ts",
3043
+ "declarations": [],
3111
3044
  "exports": [
3112
3045
  {
3113
3046
  "kind": "js",
3114
- "name": "agMenuStyles",
3047
+ "name": "AiIndicator",
3115
3048
  "declaration": {
3116
- "name": "agMenuStyles",
3117
- "module": "src/actions-menu/ag-menu.styles.ts"
3049
+ "name": "AiIndicator",
3050
+ "module": "./ai-indicator"
3118
3051
  }
3119
- }
3120
- ]
3121
- },
3122
- {
3123
- "kind": "javascript-module",
3124
- "path": "src/actions-menu/index.ts",
3125
- "declarations": [],
3126
- "exports": [
3052
+ },
3127
3053
  {
3128
3054
  "kind": "js",
3129
- "name": "*",
3055
+ "name": "foundationAiIndicator",
3130
3056
  "declaration": {
3131
- "name": "*",
3132
- "package": "./actions-menu.styles"
3057
+ "name": "foundationAiIndicator",
3058
+ "module": "./ai-indicator"
3133
3059
  }
3134
3060
  },
3135
3061
  {
3136
3062
  "kind": "js",
3137
- "name": "*",
3063
+ "name": "type",
3138
3064
  "declaration": {
3139
- "name": "*",
3140
- "package": "./actions-menu.template"
3065
+ "name": "type",
3066
+ "module": "./ai-indicator"
3141
3067
  }
3142
3068
  },
3143
3069
  {
3144
3070
  "kind": "js",
3145
- "name": "*",
3071
+ "name": "AIIndicatorState",
3146
3072
  "declaration": {
3147
- "name": "*",
3148
- "package": "./actions-menu"
3073
+ "name": "AIIndicatorState",
3074
+ "module": "./ai-indicator"
3149
3075
  }
3150
3076
  },
3151
3077
  {
3152
3078
  "kind": "js",
3153
- "name": "*",
3079
+ "name": "foundationAiIndicatorTemplate",
3154
3080
  "declaration": {
3155
- "name": "*",
3156
- "package": "./ag-menu.styles"
3081
+ "name": "foundationAiIndicatorTemplate",
3082
+ "module": "./ai-indicator.template"
3083
+ }
3084
+ },
3085
+ {
3086
+ "kind": "js",
3087
+ "name": "foundationAiIndicatorStyles",
3088
+ "declaration": {
3089
+ "name": "foundationAiIndicatorStyles",
3090
+ "module": "./ai-indicator.styles"
3157
3091
  }
3158
3092
  }
3159
3093
  ]
@@ -3769,11 +3703,11 @@
3769
3703
  },
3770
3704
  {
3771
3705
  "kind": "javascript-module",
3772
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3706
+ "path": "src/accordion/accordion.styles.ts",
3773
3707
  "declarations": [
3774
3708
  {
3775
3709
  "kind": "function",
3776
- "name": "foundationAiIndicatorStyles",
3710
+ "name": "foundationAccordionStyles",
3777
3711
  "return": {
3778
3712
  "type": {
3779
3713
  "text": "ElementStyles"
@@ -3798,224 +3732,276 @@
3798
3732
  "exports": [
3799
3733
  {
3800
3734
  "kind": "js",
3801
- "name": "foundationAiIndicatorStyles",
3735
+ "name": "foundationAccordionStyles",
3802
3736
  "declaration": {
3803
- "name": "foundationAiIndicatorStyles",
3804
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3737
+ "name": "foundationAccordionStyles",
3738
+ "module": "src/accordion/accordion.styles.ts"
3805
3739
  }
3806
3740
  }
3807
3741
  ]
3808
3742
  },
3809
3743
  {
3810
3744
  "kind": "javascript-module",
3811
- "path": "src/ai-indicator/ai-indicator.template.ts",
3745
+ "path": "src/accordion/accordion.template.ts",
3812
3746
  "declarations": [
3813
3747
  {
3814
- "kind": "variable",
3815
- "name": "foundationAiIndicatorTemplate",
3816
- "type": {
3817
- "text": "ViewTemplate<AiIndicator>"
3748
+ "kind": "function",
3749
+ "name": "foundationAccordionTemplate",
3750
+ "return": {
3751
+ "type": {
3752
+ "text": "ViewTemplate<Accordion>"
3753
+ }
3818
3754
  },
3819
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3755
+ "parameters": [
3756
+ {
3757
+ "name": "context",
3758
+ "type": {
3759
+ "text": "ElementDefinitionContext"
3760
+ }
3761
+ },
3762
+ {
3763
+ "name": "definition",
3764
+ "type": {
3765
+ "text": "FoundationElementDefinition"
3766
+ }
3767
+ }
3768
+ ]
3820
3769
  }
3821
3770
  ],
3822
3771
  "exports": [
3823
3772
  {
3824
3773
  "kind": "js",
3825
- "name": "foundationAiIndicatorTemplate",
3774
+ "name": "foundationAccordionTemplate",
3826
3775
  "declaration": {
3827
- "name": "foundationAiIndicatorTemplate",
3828
- "module": "src/ai-indicator/ai-indicator.template.ts"
3776
+ "name": "foundationAccordionTemplate",
3777
+ "module": "src/accordion/accordion.template.ts"
3829
3778
  }
3830
3779
  }
3831
3780
  ]
3832
3781
  },
3833
3782
  {
3834
3783
  "kind": "javascript-module",
3835
- "path": "src/ai-indicator/ai-indicator.ts",
3784
+ "path": "src/accordion/accordion.ts",
3836
3785
  "declarations": [
3837
3786
  {
3838
3787
  "kind": "class",
3839
3788
  "description": "",
3840
- "name": "AiIndicator",
3841
- "members": [
3842
- {
3843
- "kind": "field",
3844
- "name": "providerRegistry",
3845
- "type": {
3846
- "text": "AIProviderRegistry"
3847
- }
3848
- },
3849
- {
3850
- "kind": "field",
3851
- "name": "aiProvider",
3852
- "type": {
3853
- "text": "AIProvider | undefined"
3854
- },
3855
- "privacy": "private",
3856
- "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.",
3857
- "readonly": true
3858
- },
3789
+ "name": "Accordion",
3790
+ "superclass": {
3791
+ "name": "FASTAccordion",
3792
+ "package": "@microsoft/fast-foundation"
3793
+ },
3794
+ "tagName": "%%prefix%%-accordion",
3795
+ "customElement": true,
3796
+ "attributes": [
3859
3797
  {
3860
- "kind": "field",
3861
- "name": "status",
3798
+ "name": "expand-mode",
3862
3799
  "type": {
3863
- "text": "AIStatus | null"
3800
+ "text": "AccordionExpandMode"
3864
3801
  },
3865
- "default": "null"
3866
- },
3802
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3803
+ "fieldName": "expandmode",
3804
+ "inheritedFrom": {
3805
+ "name": "Accordion",
3806
+ "module": "src/accordion/accordion.ts"
3807
+ }
3808
+ }
3809
+ ],
3810
+ "members": [
3867
3811
  {
3868
3812
  "kind": "field",
3869
- "name": "open",
3813
+ "name": "expandmode",
3870
3814
  "type": {
3871
- "text": "boolean"
3815
+ "text": "AccordionExpandMode"
3872
3816
  },
3873
- "default": "false"
3817
+ "privacy": "public",
3818
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3819
+ "inheritedFrom": {
3820
+ "name": "Accordion",
3821
+ "module": "src/accordion/accordion.ts"
3822
+ }
3874
3823
  },
3875
3824
  {
3876
3825
  "kind": "field",
3877
- "name": "state",
3826
+ "name": "activeid",
3878
3827
  "type": {
3879
- "text": "AIIndicatorState"
3828
+ "text": "string | null"
3880
3829
  },
3881
- "default": "'none'"
3830
+ "privacy": "private",
3831
+ "inheritedFrom": {
3832
+ "name": "Accordion",
3833
+ "module": "src/accordion/accordion.ts"
3834
+ }
3882
3835
  },
3883
3836
  {
3884
3837
  "kind": "field",
3885
- "name": "isInstalling",
3838
+ "name": "activeItemIndex",
3886
3839
  "type": {
3887
- "text": "boolean"
3840
+ "text": "number"
3888
3841
  },
3889
- "default": "false"
3842
+ "privacy": "private",
3843
+ "default": "0",
3844
+ "inheritedFrom": {
3845
+ "name": "Accordion",
3846
+ "module": "src/accordion/accordion.ts"
3847
+ }
3890
3848
  },
3891
3849
  {
3892
3850
  "kind": "field",
3893
- "name": "pollTimer",
3851
+ "name": "accordionIds",
3894
3852
  "type": {
3895
- "text": "ReturnType<typeof setInterval> | null"
3853
+ "text": "Array<string | null>"
3896
3854
  },
3897
3855
  "privacy": "private",
3898
- "default": "null"
3899
- },
3900
- {
3901
- "kind": "field",
3902
- "name": "clickOutside",
3903
- "privacy": "private"
3856
+ "inheritedFrom": {
3857
+ "name": "Accordion",
3858
+ "module": "src/accordion/accordion.ts"
3859
+ }
3904
3860
  },
3905
3861
  {
3906
3862
  "kind": "field",
3907
- "name": "chromeStatusLabel",
3908
- "type": {
3909
- "text": "string | null"
3910
- },
3911
- "readonly": true
3863
+ "name": "change",
3864
+ "privacy": "private",
3865
+ "inheritedFrom": {
3866
+ "name": "Accordion",
3867
+ "module": "src/accordion/accordion.ts"
3868
+ }
3912
3869
  },
3913
3870
  {
3914
- "kind": "field",
3915
- "name": "canInstall",
3916
- "type": {
3917
- "text": "boolean"
3871
+ "kind": "method",
3872
+ "name": "findExpandedItem",
3873
+ "privacy": "private",
3874
+ "return": {
3875
+ "type": {
3876
+ "text": "AccordionItem | null"
3877
+ }
3918
3878
  },
3919
- "readonly": true
3879
+ "inheritedFrom": {
3880
+ "name": "Accordion",
3881
+ "module": "src/accordion/accordion.ts"
3882
+ }
3920
3883
  },
3921
3884
  {
3922
3885
  "kind": "field",
3923
- "name": "isDownloading",
3924
- "type": {
3925
- "text": "boolean"
3926
- },
3927
- "readonly": true
3886
+ "name": "setItems",
3887
+ "privacy": "private",
3888
+ "inheritedFrom": {
3889
+ "name": "Accordion",
3890
+ "module": "src/accordion/accordion.ts"
3891
+ }
3928
3892
  },
3929
3893
  {
3930
3894
  "kind": "method",
3931
- "name": "openChanged",
3895
+ "name": "resetItems",
3896
+ "privacy": "private",
3932
3897
  "return": {
3933
3898
  "type": {
3934
3899
  "text": "void"
3935
3900
  }
3901
+ },
3902
+ "inheritedFrom": {
3903
+ "name": "Accordion",
3904
+ "module": "src/accordion/accordion.ts"
3936
3905
  }
3937
3906
  },
3938
3907
  {
3939
- "kind": "method",
3940
- "name": "handleClickOutside",
3908
+ "kind": "field",
3909
+ "name": "removeItemListeners",
3941
3910
  "privacy": "private",
3942
- "parameters": [
3943
- {
3944
- "name": "event",
3945
- "type": {
3946
- "text": "MouseEvent"
3947
- }
3948
- }
3949
- ]
3911
+ "inheritedFrom": {
3912
+ "name": "Accordion",
3913
+ "module": "src/accordion/accordion.ts"
3914
+ }
3950
3915
  },
3951
3916
  {
3952
- "kind": "method",
3953
- "name": "toggleDropdown"
3917
+ "kind": "field",
3918
+ "name": "activeItemChange",
3919
+ "privacy": "private",
3920
+ "inheritedFrom": {
3921
+ "name": "Accordion",
3922
+ "module": "src/accordion/accordion.ts"
3923
+ }
3954
3924
  },
3955
3925
  {
3956
3926
  "kind": "method",
3957
- "name": "refreshStatus",
3927
+ "name": "getItemIds",
3928
+ "privacy": "private",
3958
3929
  "return": {
3959
3930
  "type": {
3960
- "text": "Promise<void>"
3931
+ "text": "Array<string | null>"
3961
3932
  }
3933
+ },
3934
+ "inheritedFrom": {
3935
+ "name": "Accordion",
3936
+ "module": "src/accordion/accordion.ts"
3962
3937
  }
3963
3938
  },
3964
3939
  {
3965
3940
  "kind": "method",
3966
- "name": "deriveState",
3941
+ "name": "isSingleExpandMode",
3967
3942
  "privacy": "private",
3968
3943
  "return": {
3969
3944
  "type": {
3970
- "text": "AIIndicatorState"
3945
+ "text": "boolean"
3971
3946
  }
3972
3947
  },
3973
- "parameters": [
3974
- {
3975
- "name": "s",
3976
- "type": {
3977
- "text": "AIStatus | null"
3978
- }
3979
- }
3980
- ]
3948
+ "inheritedFrom": {
3949
+ "name": "Accordion",
3950
+ "module": "src/accordion/accordion.ts"
3951
+ }
3981
3952
  },
3982
3953
  {
3983
- "kind": "method",
3984
- "name": "maybeStartPolling",
3954
+ "kind": "field",
3955
+ "name": "handleItemKeyDown",
3985
3956
  "privacy": "private",
3986
- "return": {
3987
- "type": {
3988
- "text": "void"
3989
- }
3957
+ "inheritedFrom": {
3958
+ "name": "Accordion",
3959
+ "module": "src/accordion/accordion.ts"
3990
3960
  }
3991
3961
  },
3992
3962
  {
3993
- "kind": "method",
3994
- "name": "startPolling",
3963
+ "kind": "field",
3964
+ "name": "handleItemFocus",
3995
3965
  "privacy": "private",
3996
- "return": {
3997
- "type": {
3998
- "text": "void"
3999
- }
3966
+ "inheritedFrom": {
3967
+ "name": "Accordion",
3968
+ "module": "src/accordion/accordion.ts"
4000
3969
  }
4001
3970
  },
4002
3971
  {
4003
3972
  "kind": "method",
4004
- "name": "stopPolling",
3973
+ "name": "adjust",
4005
3974
  "privacy": "private",
4006
3975
  "return": {
4007
3976
  "type": {
4008
3977
  "text": "void"
4009
3978
  }
3979
+ },
3980
+ "parameters": [
3981
+ {
3982
+ "name": "adjustment",
3983
+ "type": {
3984
+ "text": "number"
3985
+ }
3986
+ }
3987
+ ],
3988
+ "inheritedFrom": {
3989
+ "name": "Accordion",
3990
+ "module": "src/accordion/accordion.ts"
4010
3991
  }
4011
3992
  },
4012
3993
  {
4013
3994
  "kind": "method",
4014
- "name": "onInstall",
3995
+ "name": "focusItem",
3996
+ "privacy": "private",
4015
3997
  "return": {
4016
3998
  "type": {
4017
- "text": "Promise<void>"
3999
+ "text": "void"
4018
4000
  }
4001
+ },
4002
+ "inheritedFrom": {
4003
+ "name": "Accordion",
4004
+ "module": "src/accordion/accordion.ts"
4019
4005
  }
4020
4006
  },
4021
4007
  {
@@ -4130,88 +4116,102 @@
4130
4116
  }
4131
4117
  }
4132
4118
  ],
4133
- "superclass": {
4134
- "name": "FoundationElement",
4135
- "package": "@microsoft/fast-foundation"
4119
+ "events": [
4120
+ {
4121
+ "description": "Fires a custom 'change' event when the active item changes",
4122
+ "name": "change",
4123
+ "inheritedFrom": {
4124
+ "name": "Accordion",
4125
+ "module": "src/accordion/accordion.ts"
4126
+ }
4127
+ }
4128
+ ]
4129
+ },
4130
+ {
4131
+ "kind": "variable",
4132
+ "name": "foundationAccordionShadowOptions",
4133
+ "type": {
4134
+ "text": "ShadowRootInit"
4136
4135
  },
4137
- "tagName": "%%prefix%%-ai-indicator",
4138
- "customElement": true
4136
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4139
4137
  },
4140
4138
  {
4141
4139
  "kind": "variable",
4142
- "name": "foundationAiIndicator"
4140
+ "name": "defaultAccordionConfig",
4141
+ "type": {
4142
+ "text": "object"
4143
+ },
4144
+ "default": "{}"
4145
+ },
4146
+ {
4147
+ "kind": "variable",
4148
+ "name": "foundationAccordion",
4149
+ "description": "The Foundation Accordion",
4150
+ "privacy": "public"
4143
4151
  }
4144
4152
  ],
4145
4153
  "exports": [
4146
4154
  {
4147
4155
  "kind": "js",
4148
- "name": "AiIndicator",
4156
+ "name": "Accordion",
4149
4157
  "declaration": {
4150
- "name": "AiIndicator",
4151
- "module": "src/ai-indicator/ai-indicator.ts"
4158
+ "name": "Accordion",
4159
+ "module": "src/accordion/accordion.ts"
4152
4160
  }
4153
4161
  },
4154
4162
  {
4155
4163
  "kind": "js",
4156
- "name": "foundationAiIndicator",
4157
- "declaration": {
4158
- "name": "foundationAiIndicator",
4159
- "module": "src/ai-indicator/ai-indicator.ts"
4160
- }
4161
- }
4162
- ]
4163
- },
4164
- {
4165
- "kind": "javascript-module",
4166
- "path": "src/ai-indicator/index.ts",
4167
- "declarations": [],
4168
- "exports": [
4169
- {
4170
- "kind": "js",
4171
- "name": "AiIndicator",
4164
+ "name": "foundationAccordionShadowOptions",
4172
4165
  "declaration": {
4173
- "name": "AiIndicator",
4174
- "module": "./ai-indicator"
4166
+ "name": "foundationAccordionShadowOptions",
4167
+ "module": "src/accordion/accordion.ts"
4175
4168
  }
4176
4169
  },
4177
4170
  {
4178
4171
  "kind": "js",
4179
- "name": "foundationAiIndicator",
4172
+ "name": "defaultAccordionConfig",
4180
4173
  "declaration": {
4181
- "name": "foundationAiIndicator",
4182
- "module": "./ai-indicator"
4174
+ "name": "defaultAccordionConfig",
4175
+ "module": "src/accordion/accordion.ts"
4183
4176
  }
4184
4177
  },
4185
4178
  {
4186
4179
  "kind": "js",
4187
- "name": "type",
4180
+ "name": "foundationAccordion",
4188
4181
  "declaration": {
4189
- "name": "type",
4190
- "module": "./ai-indicator"
4182
+ "name": "foundationAccordion",
4183
+ "module": "src/accordion/accordion.ts"
4191
4184
  }
4192
- },
4185
+ }
4186
+ ]
4187
+ },
4188
+ {
4189
+ "kind": "javascript-module",
4190
+ "path": "src/accordion/index.ts",
4191
+ "declarations": [],
4192
+ "exports": [
4193
4193
  {
4194
4194
  "kind": "js",
4195
- "name": "AIIndicatorState",
4195
+ "name": "*",
4196
4196
  "declaration": {
4197
- "name": "AIIndicatorState",
4198
- "module": "./ai-indicator"
4197
+ "name": "*",
4198
+ "package": "./accordion.template"
4199
4199
  }
4200
4200
  },
4201
4201
  {
4202
4202
  "kind": "js",
4203
- "name": "foundationAiIndicatorTemplate",
4203
+ "name": "*",
4204
4204
  "declaration": {
4205
- "name": "foundationAiIndicatorTemplate",
4206
- "module": "./ai-indicator.template"
4205
+ "name": "*",
4206
+ "package": "./accordion.styles"
4207
4207
  }
4208
4208
  },
4209
4209
  {
4210
4210
  "kind": "js",
4211
- "name": "foundationAiIndicatorStyles",
4211
+ "name": "*",
4212
4212
  "declaration": {
4213
- "name": "foundationAiIndicatorStyles",
4214
- "module": "./ai-indicator.styles"
4213
+ "name": "*",
4214
+ "package": "./accordion"
4215
4215
  }
4216
4216
  }
4217
4217
  ]