@genesislcap/foundation-ui 14.427.1 → 14.427.2-alpha-d282431.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.
@@ -1400,34 +1400,11 @@
1400
1400
  },
1401
1401
  {
1402
1402
  "kind": "javascript-module",
1403
- "path": "src/actions-menu/actions-menu.styles.ts",
1403
+ "path": "src/accordion/accordion.styles.ts",
1404
1404
  "declarations": [
1405
1405
  {
1406
1406
  "kind": "function",
1407
- "name": "actionsMenuBaseStyles",
1408
- "return": {
1409
- "type": {
1410
- "text": "ElementStyles"
1411
- }
1412
- },
1413
- "parameters": [
1414
- {
1415
- "name": "context",
1416
- "type": {
1417
- "text": "ElementDefinitionContext"
1418
- }
1419
- },
1420
- {
1421
- "name": "definition",
1422
- "type": {
1423
- "text": "FoundationElementDefinition"
1424
- }
1425
- }
1426
- ]
1427
- },
1428
- {
1429
- "kind": "function",
1430
- "name": "foundationActionsMenuStyles",
1407
+ "name": "foundationAccordionStyles",
1431
1408
  "return": {
1432
1409
  "type": {
1433
1410
  "text": "ElementStyles"
@@ -1452,269 +1429,277 @@
1452
1429
  "exports": [
1453
1430
  {
1454
1431
  "kind": "js",
1455
- "name": "actionsMenuBaseStyles",
1456
- "declaration": {
1457
- "name": "actionsMenuBaseStyles",
1458
- "module": "src/actions-menu/actions-menu.styles.ts"
1459
- }
1460
- },
1461
- {
1462
- "kind": "js",
1463
- "name": "foundationActionsMenuStyles",
1432
+ "name": "foundationAccordionStyles",
1464
1433
  "declaration": {
1465
- "name": "foundationActionsMenuStyles",
1466
- "module": "src/actions-menu/actions-menu.styles.ts"
1434
+ "name": "foundationAccordionStyles",
1435
+ "module": "src/accordion/accordion.styles.ts"
1467
1436
  }
1468
1437
  }
1469
1438
  ]
1470
1439
  },
1471
1440
  {
1472
1441
  "kind": "javascript-module",
1473
- "path": "src/actions-menu/actions-menu.template.ts",
1442
+ "path": "src/accordion/accordion.template.ts",
1474
1443
  "declarations": [
1475
1444
  {
1476
1445
  "kind": "function",
1477
- "name": "menuTemplate",
1446
+ "name": "foundationAccordionTemplate",
1447
+ "return": {
1448
+ "type": {
1449
+ "text": "ViewTemplate<Accordion>"
1450
+ }
1451
+ },
1478
1452
  "parameters": [
1479
1453
  {
1480
- "name": "prefix",
1454
+ "name": "context",
1481
1455
  "type": {
1482
- "text": "string"
1456
+ "text": "ElementDefinitionContext"
1483
1457
  }
1484
- }
1485
- ]
1486
- },
1487
- {
1488
- "kind": "function",
1489
- "name": "singleOptionTemplate",
1490
- "parameters": [
1458
+ },
1491
1459
  {
1492
- "name": "prefix",
1460
+ "name": "definition",
1493
1461
  "type": {
1494
- "text": "string"
1462
+ "text": "FoundationElementDefinition"
1495
1463
  }
1496
1464
  }
1497
1465
  ]
1498
- },
1499
- {
1500
- "kind": "variable",
1501
- "name": "foundationActionsMenuTemplate",
1502
- "type": {
1503
- "text": "ViewTemplate<ActionsMenu>"
1504
- },
1505
- "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`"
1506
1466
  }
1507
1467
  ],
1508
1468
  "exports": [
1509
1469
  {
1510
1470
  "kind": "js",
1511
- "name": "menuTemplate",
1512
- "declaration": {
1513
- "name": "menuTemplate",
1514
- "module": "src/actions-menu/actions-menu.template.ts"
1515
- }
1516
- },
1517
- {
1518
- "kind": "js",
1519
- "name": "singleOptionTemplate",
1520
- "declaration": {
1521
- "name": "singleOptionTemplate",
1522
- "module": "src/actions-menu/actions-menu.template.ts"
1523
- }
1524
- },
1525
- {
1526
- "kind": "js",
1527
- "name": "foundationActionsMenuTemplate",
1471
+ "name": "foundationAccordionTemplate",
1528
1472
  "declaration": {
1529
- "name": "foundationActionsMenuTemplate",
1530
- "module": "src/actions-menu/actions-menu.template.ts"
1473
+ "name": "foundationAccordionTemplate",
1474
+ "module": "src/accordion/accordion.template.ts"
1531
1475
  }
1532
1476
  }
1533
1477
  ]
1534
1478
  },
1535
1479
  {
1536
1480
  "kind": "javascript-module",
1537
- "path": "src/actions-menu/actions-menu.ts",
1481
+ "path": "src/accordion/accordion.ts",
1538
1482
  "declarations": [
1539
1483
  {
1540
1484
  "kind": "class",
1541
1485
  "description": "",
1542
- "name": "ActionsMenu",
1543
- "members": [
1486
+ "name": "Accordion",
1487
+ "superclass": {
1488
+ "name": "FASTAccordion",
1489
+ "package": "@microsoft/fast-foundation"
1490
+ },
1491
+ "tagName": "%%prefix%%-accordion",
1492
+ "customElement": true,
1493
+ "attributes": [
1544
1494
  {
1545
- "kind": "field",
1546
- "name": "actions",
1495
+ "name": "expand-mode",
1547
1496
  "type": {
1548
- "text": "ActionMenuItem[]"
1497
+ "text": "AccordionExpandMode"
1498
+ },
1499
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1500
+ "fieldName": "expandmode",
1501
+ "inheritedFrom": {
1502
+ "name": "Accordion",
1503
+ "module": "src/accordion/accordion.ts"
1549
1504
  }
1550
- },
1505
+ }
1506
+ ],
1507
+ "members": [
1551
1508
  {
1552
1509
  "kind": "field",
1553
- "name": "isVertical",
1510
+ "name": "expandmode",
1554
1511
  "type": {
1555
- "text": "boolean"
1512
+ "text": "AccordionExpandMode"
1556
1513
  },
1557
- "default": "false"
1514
+ "privacy": "public",
1515
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1516
+ "inheritedFrom": {
1517
+ "name": "Accordion",
1518
+ "module": "src/accordion/accordion.ts"
1519
+ }
1558
1520
  },
1559
1521
  {
1560
1522
  "kind": "field",
1561
- "name": "addDefaultActions",
1523
+ "name": "activeid",
1562
1524
  "type": {
1563
- "text": "boolean"
1525
+ "text": "string | null"
1564
1526
  },
1565
- "default": "true"
1527
+ "privacy": "private",
1528
+ "inheritedFrom": {
1529
+ "name": "Accordion",
1530
+ "module": "src/accordion/accordion.ts"
1531
+ }
1566
1532
  },
1567
1533
  {
1568
1534
  "kind": "field",
1569
- "name": "autoCloseOnAction",
1535
+ "name": "activeItemIndex",
1570
1536
  "type": {
1571
- "text": "boolean"
1537
+ "text": "number"
1572
1538
  },
1573
- "default": "true"
1574
- },
1575
- {
1576
- "kind": "field",
1577
- "name": "classNames",
1578
- "type": {
1579
- "text": "string"
1539
+ "privacy": "private",
1540
+ "default": "0",
1541
+ "inheritedFrom": {
1542
+ "name": "Accordion",
1543
+ "module": "src/accordion/accordion.ts"
1580
1544
  }
1581
1545
  },
1582
1546
  {
1583
1547
  "kind": "field",
1584
- "name": "definition",
1548
+ "name": "accordionIds",
1585
1549
  "type": {
1586
- "text": "any"
1550
+ "text": "Array<string | null>"
1551
+ },
1552
+ "privacy": "private",
1553
+ "inheritedFrom": {
1554
+ "name": "Accordion",
1555
+ "module": "src/accordion/accordion.ts"
1587
1556
  }
1588
1557
  },
1589
1558
  {
1590
1559
  "kind": "field",
1591
- "name": "name",
1592
- "type": {
1593
- "text": "string"
1594
- },
1595
- "default": "'Actions'"
1560
+ "name": "change",
1561
+ "privacy": "private",
1562
+ "inheritedFrom": {
1563
+ "name": "Accordion",
1564
+ "module": "src/accordion/accordion.ts"
1565
+ }
1596
1566
  },
1597
1567
  {
1598
- "kind": "field",
1599
- "name": "open",
1600
- "type": {
1601
- "text": "boolean"
1568
+ "kind": "method",
1569
+ "name": "findExpandedItem",
1570
+ "privacy": "private",
1571
+ "return": {
1572
+ "type": {
1573
+ "text": "AccordionItem | null"
1574
+ }
1602
1575
  },
1603
- "default": "false"
1604
- },
1605
- {
1606
- "kind": "field",
1607
- "name": "buttonAppearance",
1608
- "type": {
1609
- "text": "string"
1576
+ "inheritedFrom": {
1577
+ "name": "Accordion",
1578
+ "module": "src/accordion/accordion.ts"
1610
1579
  }
1611
1580
  },
1612
1581
  {
1613
1582
  "kind": "field",
1614
- "name": "hideDisabled",
1615
- "type": {
1616
- "text": "boolean"
1617
- },
1618
- "default": "false"
1583
+ "name": "setItems",
1584
+ "privacy": "private",
1585
+ "inheritedFrom": {
1586
+ "name": "Accordion",
1587
+ "module": "src/accordion/accordion.ts"
1588
+ }
1619
1589
  },
1620
1590
  {
1621
- "kind": "field",
1622
- "name": "hideMenuSingleOption",
1623
- "type": {
1624
- "text": "boolean"
1591
+ "kind": "method",
1592
+ "name": "resetItems",
1593
+ "privacy": "private",
1594
+ "return": {
1595
+ "type": {
1596
+ "text": "void"
1597
+ }
1625
1598
  },
1626
- "default": "false"
1599
+ "inheritedFrom": {
1600
+ "name": "Accordion",
1601
+ "module": "src/accordion/accordion.ts"
1602
+ }
1627
1603
  },
1628
1604
  {
1629
1605
  "kind": "field",
1630
- "name": "singleOption",
1631
- "type": {
1632
- "text": "ActionMenuItem"
1606
+ "name": "removeItemListeners",
1607
+ "privacy": "private",
1608
+ "inheritedFrom": {
1609
+ "name": "Accordion",
1610
+ "module": "src/accordion/accordion.ts"
1633
1611
  }
1634
1612
  },
1635
1613
  {
1636
1614
  "kind": "field",
1637
- "name": "actionsMenu",
1638
- "type": {
1639
- "text": "HTMLElement"
1615
+ "name": "activeItemChange",
1616
+ "privacy": "private",
1617
+ "inheritedFrom": {
1618
+ "name": "Accordion",
1619
+ "module": "src/accordion/accordion.ts"
1640
1620
  }
1641
1621
  },
1642
1622
  {
1643
1623
  "kind": "method",
1644
- "name": "definitionChanged",
1645
- "privacy": "protected",
1646
- "parameters": [
1647
- {
1648
- "name": "oldValue",
1649
- "type": {
1650
- "text": "any"
1651
- }
1652
- },
1653
- {
1654
- "name": "newValue",
1655
- "type": {
1656
- "text": "any"
1657
- }
1624
+ "name": "getItemIds",
1625
+ "privacy": "private",
1626
+ "return": {
1627
+ "type": {
1628
+ "text": "Array<string | null>"
1658
1629
  }
1659
- ]
1660
- },
1661
- {
1662
- "kind": "method",
1663
- "name": "openChanged",
1664
- "privacy": "protected"
1665
- },
1666
- {
1667
- "kind": "method",
1668
- "name": "toggleActionsMenuVisibility"
1630
+ },
1631
+ "inheritedFrom": {
1632
+ "name": "Accordion",
1633
+ "module": "src/accordion/accordion.ts"
1634
+ }
1669
1635
  },
1670
1636
  {
1671
1637
  "kind": "method",
1672
- "name": "onActionMenuItemClick",
1673
- "parameters": [
1674
- {
1675
- "name": "callback",
1676
- "type": {
1677
- "text": "(rowData) => void | any"
1678
- }
1638
+ "name": "isSingleExpandMode",
1639
+ "privacy": "private",
1640
+ "return": {
1641
+ "type": {
1642
+ "text": "boolean"
1679
1643
  }
1680
- ]
1644
+ },
1645
+ "inheritedFrom": {
1646
+ "name": "Accordion",
1647
+ "module": "src/accordion/accordion.ts"
1648
+ }
1681
1649
  },
1682
1650
  {
1683
1651
  "kind": "field",
1684
- "name": "allActions",
1685
- "type": {
1686
- "text": "ActionMenuItem[]"
1687
- },
1688
- "readonly": true
1652
+ "name": "handleItemKeyDown",
1653
+ "privacy": "private",
1654
+ "inheritedFrom": {
1655
+ "name": "Accordion",
1656
+ "module": "src/accordion/accordion.ts"
1657
+ }
1689
1658
  },
1690
1659
  {
1691
1660
  "kind": "field",
1692
- "name": "rowData",
1693
- "readonly": true
1661
+ "name": "handleItemFocus",
1662
+ "privacy": "private",
1663
+ "inheritedFrom": {
1664
+ "name": "Accordion",
1665
+ "module": "src/accordion/accordion.ts"
1666
+ }
1694
1667
  },
1695
1668
  {
1696
1669
  "kind": "method",
1697
- "name": "getLabel",
1670
+ "name": "adjust",
1671
+ "privacy": "private",
1672
+ "return": {
1673
+ "type": {
1674
+ "text": "void"
1675
+ }
1676
+ },
1698
1677
  "parameters": [
1699
1678
  {
1700
- "name": "name",
1679
+ "name": "adjustment",
1701
1680
  "type": {
1702
- "text": "string | ((rowData: any) => string)"
1681
+ "text": "number"
1703
1682
  }
1704
1683
  }
1705
- ]
1684
+ ],
1685
+ "inheritedFrom": {
1686
+ "name": "Accordion",
1687
+ "module": "src/accordion/accordion.ts"
1688
+ }
1706
1689
  },
1707
1690
  {
1708
1691
  "kind": "method",
1709
- "name": "getTemplate",
1710
- "parameters": [
1711
- {
1712
- "name": "prefix",
1713
- "type": {
1714
- "text": "string"
1715
- }
1692
+ "name": "focusItem",
1693
+ "privacy": "private",
1694
+ "return": {
1695
+ "type": {
1696
+ "text": "void"
1716
1697
  }
1717
- ]
1698
+ },
1699
+ "inheritedFrom": {
1700
+ "name": "Accordion",
1701
+ "module": "src/accordion/accordion.ts"
1702
+ }
1718
1703
  },
1719
1704
  {
1720
1705
  "kind": "field",
@@ -1828,107 +1813,78 @@
1828
1813
  }
1829
1814
  }
1830
1815
  ],
1831
- "attributes": [
1832
- {
1833
- "name": "is-vertical",
1834
- "type": {
1835
- "text": "boolean"
1836
- },
1837
- "default": "false",
1838
- "fieldName": "isVertical"
1839
- },
1840
- {
1841
- "name": "add-default-actions",
1842
- "type": {
1843
- "text": "boolean"
1844
- },
1845
- "default": "true",
1846
- "fieldName": "addDefaultActions"
1847
- },
1848
- {
1849
- "name": "auto-close-on-action",
1850
- "type": {
1851
- "text": "boolean"
1852
- },
1853
- "default": "true",
1854
- "fieldName": "autoCloseOnAction"
1855
- },
1856
- {
1857
- "name": "name",
1858
- "type": {
1859
- "text": "string"
1860
- },
1861
- "default": "'Actions'",
1862
- "fieldName": "name"
1863
- },
1864
- {
1865
- "name": "open",
1866
- "type": {
1867
- "text": "boolean"
1868
- },
1869
- "default": "false",
1870
- "fieldName": "open"
1871
- },
1872
- {
1873
- "name": "buttonAppearance",
1874
- "type": {
1875
- "text": "string"
1876
- },
1877
- "fieldName": "buttonAppearance"
1878
- },
1879
- {
1880
- "name": "hide-disabled",
1881
- "type": {
1882
- "text": "boolean"
1883
- },
1884
- "default": "false",
1885
- "fieldName": "hideDisabled"
1886
- },
1816
+ "events": [
1887
1817
  {
1888
- "name": "hide-menu-single-option",
1889
- "type": {
1890
- "text": "boolean"
1891
- },
1892
- "default": "false",
1893
- "fieldName": "hideMenuSingleOption"
1818
+ "description": "Fires a custom 'change' event when the active item changes",
1819
+ "name": "change",
1820
+ "inheritedFrom": {
1821
+ "name": "Accordion",
1822
+ "module": "src/accordion/accordion.ts"
1823
+ }
1894
1824
  }
1895
- ],
1896
- "superclass": {
1897
- "name": "FoundationElement",
1898
- "package": "@microsoft/fast-foundation"
1825
+ ]
1826
+ },
1827
+ {
1828
+ "kind": "variable",
1829
+ "name": "foundationAccordionShadowOptions",
1830
+ "type": {
1831
+ "text": "ShadowRootInit"
1899
1832
  },
1900
- "tagName": "%%prefix%%-actions-menu",
1901
- "customElement": true
1833
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1902
1834
  },
1903
1835
  {
1904
1836
  "kind": "variable",
1905
- "name": "foundationActionsMenu",
1906
- "description": "The Foundation Actions Menu",
1837
+ "name": "defaultAccordionConfig",
1838
+ "type": {
1839
+ "text": "object"
1840
+ },
1841
+ "default": "{}"
1842
+ },
1843
+ {
1844
+ "kind": "variable",
1845
+ "name": "foundationAccordion",
1846
+ "description": "The Foundation Accordion",
1907
1847
  "privacy": "public"
1908
1848
  }
1909
1849
  ],
1910
1850
  "exports": [
1911
1851
  {
1912
1852
  "kind": "js",
1913
- "name": "ActionsMenu",
1853
+ "name": "Accordion",
1914
1854
  "declaration": {
1915
- "name": "ActionsMenu",
1916
- "module": "src/actions-menu/actions-menu.ts"
1855
+ "name": "Accordion",
1856
+ "module": "src/accordion/accordion.ts"
1917
1857
  }
1918
1858
  },
1919
1859
  {
1920
1860
  "kind": "js",
1921
- "name": "foundationActionsMenu",
1861
+ "name": "foundationAccordionShadowOptions",
1922
1862
  "declaration": {
1923
- "name": "foundationActionsMenu",
1924
- "module": "src/actions-menu/actions-menu.ts"
1863
+ "name": "foundationAccordionShadowOptions",
1864
+ "module": "src/accordion/accordion.ts"
1865
+ }
1866
+ },
1867
+ {
1868
+ "kind": "js",
1869
+ "name": "defaultAccordionConfig",
1870
+ "declaration": {
1871
+ "name": "defaultAccordionConfig",
1872
+ "module": "src/accordion/accordion.ts"
1873
+ }
1874
+ },
1875
+ {
1876
+ "kind": "js",
1877
+ "name": "foundationAccordion",
1878
+ "declaration": {
1879
+ "name": "foundationAccordion",
1880
+ "module": "src/accordion/accordion.ts"
1925
1881
  }
1926
1882
  }
1927
1883
  ]
1928
1884
  },
1929
1885
  {
1930
1886
  "kind": "javascript-module",
1931
- "path": "src/actions-menu/index.ts",
1887
+ "path": "src/accordion/index.ts",
1932
1888
  "declarations": [],
1933
1889
  "exports": [
1934
1890
  {
@@ -1936,7 +1892,7 @@
1936
1892
  "name": "*",
1937
1893
  "declaration": {
1938
1894
  "name": "*",
1939
- "package": "./actions-menu.styles"
1895
+ "package": "./accordion.template"
1940
1896
  }
1941
1897
  },
1942
1898
  {
@@ -1944,7 +1900,7 @@
1944
1900
  "name": "*",
1945
1901
  "declaration": {
1946
1902
  "name": "*",
1947
- "package": "./actions-menu.template"
1903
+ "package": "./accordion.styles"
1948
1904
  }
1949
1905
  },
1950
1906
  {
@@ -1952,7 +1908,38 @@
1952
1908
  "name": "*",
1953
1909
  "declaration": {
1954
1910
  "name": "*",
1955
- "package": "./actions-menu"
1911
+ "package": "./accordion"
1912
+ }
1913
+ }
1914
+ ]
1915
+ },
1916
+ {
1917
+ "kind": "javascript-module",
1918
+ "path": "src/_config/index.ts",
1919
+ "declarations": [],
1920
+ "exports": [
1921
+ {
1922
+ "kind": "js",
1923
+ "name": "*",
1924
+ "declaration": {
1925
+ "name": "*",
1926
+ "package": "./styles"
1927
+ }
1928
+ },
1929
+ {
1930
+ "kind": "js",
1931
+ "name": "*",
1932
+ "declaration": {
1933
+ "name": "*",
1934
+ "package": "./tokens"
1935
+ }
1936
+ },
1937
+ {
1938
+ "kind": "js",
1939
+ "name": "*",
1940
+ "declaration": {
1941
+ "name": "*",
1942
+ "package": "./values"
1956
1943
  }
1957
1944
  }
1958
1945
  ]
@@ -2341,23 +2328,46 @@
2341
2328
  "package": "./accordion-item.styles"
2342
2329
  }
2343
2330
  },
2344
- {
2345
- "kind": "js",
2346
- "name": "*",
2347
- "declaration": {
2348
- "name": "*",
2349
- "package": "./accordion-item"
2350
- }
2351
- }
2352
- ]
2353
- },
2354
- {
2355
- "kind": "javascript-module",
2356
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2357
- "declarations": [
2331
+ {
2332
+ "kind": "js",
2333
+ "name": "*",
2334
+ "declaration": {
2335
+ "name": "*",
2336
+ "package": "./accordion-item"
2337
+ }
2338
+ }
2339
+ ]
2340
+ },
2341
+ {
2342
+ "kind": "javascript-module",
2343
+ "path": "src/actions-menu/actions-menu.styles.ts",
2344
+ "declarations": [
2345
+ {
2346
+ "kind": "function",
2347
+ "name": "actionsMenuBaseStyles",
2348
+ "return": {
2349
+ "type": {
2350
+ "text": "ElementStyles"
2351
+ }
2352
+ },
2353
+ "parameters": [
2354
+ {
2355
+ "name": "context",
2356
+ "type": {
2357
+ "text": "ElementDefinitionContext"
2358
+ }
2359
+ },
2360
+ {
2361
+ "name": "definition",
2362
+ "type": {
2363
+ "text": "FoundationElementDefinition"
2364
+ }
2365
+ }
2366
+ ]
2367
+ },
2358
2368
  {
2359
2369
  "kind": "function",
2360
- "name": "foundationAiIndicatorStyles",
2370
+ "name": "foundationActionsMenuStyles",
2361
2371
  "return": {
2362
2372
  "type": {
2363
2373
  "text": "ElementStyles"
@@ -2382,215 +2392,269 @@
2382
2392
  "exports": [
2383
2393
  {
2384
2394
  "kind": "js",
2385
- "name": "foundationAiIndicatorStyles",
2395
+ "name": "actionsMenuBaseStyles",
2386
2396
  "declaration": {
2387
- "name": "foundationAiIndicatorStyles",
2388
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2397
+ "name": "actionsMenuBaseStyles",
2398
+ "module": "src/actions-menu/actions-menu.styles.ts"
2399
+ }
2400
+ },
2401
+ {
2402
+ "kind": "js",
2403
+ "name": "foundationActionsMenuStyles",
2404
+ "declaration": {
2405
+ "name": "foundationActionsMenuStyles",
2406
+ "module": "src/actions-menu/actions-menu.styles.ts"
2389
2407
  }
2390
2408
  }
2391
2409
  ]
2392
2410
  },
2393
2411
  {
2394
2412
  "kind": "javascript-module",
2395
- "path": "src/ai-indicator/ai-indicator.template.ts",
2413
+ "path": "src/actions-menu/actions-menu.template.ts",
2396
2414
  "declarations": [
2415
+ {
2416
+ "kind": "function",
2417
+ "name": "menuTemplate",
2418
+ "parameters": [
2419
+ {
2420
+ "name": "prefix",
2421
+ "type": {
2422
+ "text": "string"
2423
+ }
2424
+ }
2425
+ ]
2426
+ },
2427
+ {
2428
+ "kind": "function",
2429
+ "name": "singleOptionTemplate",
2430
+ "parameters": [
2431
+ {
2432
+ "name": "prefix",
2433
+ "type": {
2434
+ "text": "string"
2435
+ }
2436
+ }
2437
+ ]
2438
+ },
2397
2439
  {
2398
2440
  "kind": "variable",
2399
- "name": "foundationAiIndicatorTemplate",
2441
+ "name": "foundationActionsMenuTemplate",
2400
2442
  "type": {
2401
- "text": "ViewTemplate<AiIndicator>"
2443
+ "text": "ViewTemplate<ActionsMenu>"
2402
2444
  },
2403
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2445
+ "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`"
2404
2446
  }
2405
2447
  ],
2406
2448
  "exports": [
2407
2449
  {
2408
2450
  "kind": "js",
2409
- "name": "foundationAiIndicatorTemplate",
2451
+ "name": "menuTemplate",
2410
2452
  "declaration": {
2411
- "name": "foundationAiIndicatorTemplate",
2412
- "module": "src/ai-indicator/ai-indicator.template.ts"
2453
+ "name": "menuTemplate",
2454
+ "module": "src/actions-menu/actions-menu.template.ts"
2455
+ }
2456
+ },
2457
+ {
2458
+ "kind": "js",
2459
+ "name": "singleOptionTemplate",
2460
+ "declaration": {
2461
+ "name": "singleOptionTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "js",
2467
+ "name": "foundationActionsMenuTemplate",
2468
+ "declaration": {
2469
+ "name": "foundationActionsMenuTemplate",
2470
+ "module": "src/actions-menu/actions-menu.template.ts"
2413
2471
  }
2414
2472
  }
2415
2473
  ]
2416
2474
  },
2417
2475
  {
2418
2476
  "kind": "javascript-module",
2419
- "path": "src/ai-indicator/ai-indicator.ts",
2477
+ "path": "src/actions-menu/actions-menu.ts",
2420
2478
  "declarations": [
2421
2479
  {
2422
2480
  "kind": "class",
2423
2481
  "description": "",
2424
- "name": "AiIndicator",
2482
+ "name": "ActionsMenu",
2425
2483
  "members": [
2426
2484
  {
2427
2485
  "kind": "field",
2428
- "name": "aiProvider",
2486
+ "name": "actions",
2429
2487
  "type": {
2430
- "text": "AIProvider"
2488
+ "text": "ActionMenuItem[]"
2431
2489
  }
2432
2490
  },
2433
2491
  {
2434
2492
  "kind": "field",
2435
- "name": "status",
2493
+ "name": "isVertical",
2436
2494
  "type": {
2437
- "text": "AIStatus | null"
2495
+ "text": "boolean"
2438
2496
  },
2439
- "default": "null"
2497
+ "default": "false"
2440
2498
  },
2441
2499
  {
2442
2500
  "kind": "field",
2443
- "name": "open",
2501
+ "name": "addDefaultActions",
2444
2502
  "type": {
2445
2503
  "text": "boolean"
2446
2504
  },
2447
- "default": "false"
2505
+ "default": "true"
2448
2506
  },
2449
2507
  {
2450
2508
  "kind": "field",
2451
- "name": "state",
2509
+ "name": "autoCloseOnAction",
2452
2510
  "type": {
2453
- "text": "AIIndicatorState"
2511
+ "text": "boolean"
2454
2512
  },
2455
- "default": "'none'"
2513
+ "default": "true"
2456
2514
  },
2457
2515
  {
2458
2516
  "kind": "field",
2459
- "name": "isInstalling",
2517
+ "name": "classNames",
2460
2518
  "type": {
2461
- "text": "boolean"
2462
- },
2463
- "default": "false"
2519
+ "text": "string"
2520
+ }
2464
2521
  },
2465
2522
  {
2466
2523
  "kind": "field",
2467
- "name": "pollTimer",
2524
+ "name": "definition",
2468
2525
  "type": {
2469
- "text": "ReturnType<typeof setInterval> | null"
2470
- },
2471
- "privacy": "private",
2472
- "default": "null"
2526
+ "text": "any"
2527
+ }
2473
2528
  },
2474
2529
  {
2475
2530
  "kind": "field",
2476
- "name": "clickOutside",
2477
- "privacy": "private"
2531
+ "name": "name",
2532
+ "type": {
2533
+ "text": "string"
2534
+ },
2535
+ "default": "'Actions'"
2478
2536
  },
2479
2537
  {
2480
2538
  "kind": "field",
2481
- "name": "chromeStatusLabel",
2539
+ "name": "open",
2482
2540
  "type": {
2483
- "text": "string | null"
2541
+ "text": "boolean"
2484
2542
  },
2485
- "readonly": true
2543
+ "default": "false"
2486
2544
  },
2487
2545
  {
2488
2546
  "kind": "field",
2489
- "name": "canInstall",
2547
+ "name": "buttonAppearance",
2548
+ "type": {
2549
+ "text": "string"
2550
+ }
2551
+ },
2552
+ {
2553
+ "kind": "field",
2554
+ "name": "hideDisabled",
2490
2555
  "type": {
2491
2556
  "text": "boolean"
2492
2557
  },
2493
- "readonly": true
2558
+ "default": "false"
2494
2559
  },
2495
2560
  {
2496
2561
  "kind": "field",
2497
- "name": "isDownloading",
2562
+ "name": "hideMenuSingleOption",
2498
2563
  "type": {
2499
2564
  "text": "boolean"
2500
2565
  },
2501
- "readonly": true
2566
+ "default": "false"
2502
2567
  },
2503
2568
  {
2504
- "kind": "method",
2505
- "name": "openChanged",
2506
- "return": {
2507
- "type": {
2508
- "text": "void"
2509
- }
2569
+ "kind": "field",
2570
+ "name": "singleOption",
2571
+ "type": {
2572
+ "text": "ActionMenuItem"
2573
+ }
2574
+ },
2575
+ {
2576
+ "kind": "field",
2577
+ "name": "actionsMenu",
2578
+ "type": {
2579
+ "text": "HTMLElement"
2510
2580
  }
2511
2581
  },
2512
2582
  {
2513
2583
  "kind": "method",
2514
- "name": "handleClickOutside",
2515
- "privacy": "private",
2584
+ "name": "definitionChanged",
2585
+ "privacy": "protected",
2516
2586
  "parameters": [
2517
2587
  {
2518
- "name": "event",
2588
+ "name": "oldValue",
2519
2589
  "type": {
2520
- "text": "MouseEvent"
2590
+ "text": "any"
2591
+ }
2592
+ },
2593
+ {
2594
+ "name": "newValue",
2595
+ "type": {
2596
+ "text": "any"
2521
2597
  }
2522
2598
  }
2523
2599
  ]
2524
2600
  },
2525
2601
  {
2526
2602
  "kind": "method",
2527
- "name": "toggleDropdown"
2603
+ "name": "openChanged",
2604
+ "privacy": "protected"
2528
2605
  },
2529
2606
  {
2530
2607
  "kind": "method",
2531
- "name": "refreshStatus",
2532
- "return": {
2533
- "type": {
2534
- "text": "Promise<void>"
2535
- }
2536
- }
2608
+ "name": "toggleActionsMenuVisibility"
2537
2609
  },
2538
2610
  {
2539
2611
  "kind": "method",
2540
- "name": "deriveState",
2541
- "privacy": "private",
2542
- "return": {
2543
- "type": {
2544
- "text": "AIIndicatorState"
2545
- }
2546
- },
2612
+ "name": "onActionMenuItemClick",
2547
2613
  "parameters": [
2548
2614
  {
2549
- "name": "s",
2615
+ "name": "callback",
2550
2616
  "type": {
2551
- "text": "AIStatus | null"
2617
+ "text": "(rowData) => void | any"
2552
2618
  }
2553
2619
  }
2554
2620
  ]
2555
2621
  },
2556
2622
  {
2557
- "kind": "method",
2558
- "name": "maybeStartPolling",
2559
- "privacy": "private",
2560
- "return": {
2561
- "type": {
2562
- "text": "void"
2563
- }
2564
- }
2623
+ "kind": "field",
2624
+ "name": "allActions",
2625
+ "type": {
2626
+ "text": "ActionMenuItem[]"
2627
+ },
2628
+ "readonly": true
2565
2629
  },
2566
2630
  {
2567
- "kind": "method",
2568
- "name": "startPolling",
2569
- "privacy": "private",
2570
- "return": {
2571
- "type": {
2572
- "text": "void"
2573
- }
2574
- }
2631
+ "kind": "field",
2632
+ "name": "rowData",
2633
+ "readonly": true
2575
2634
  },
2576
2635
  {
2577
2636
  "kind": "method",
2578
- "name": "stopPolling",
2579
- "privacy": "private",
2580
- "return": {
2581
- "type": {
2582
- "text": "void"
2637
+ "name": "getLabel",
2638
+ "parameters": [
2639
+ {
2640
+ "name": "name",
2641
+ "type": {
2642
+ "text": "string | ((rowData: any) => string)"
2643
+ }
2583
2644
  }
2584
- }
2645
+ ]
2585
2646
  },
2586
2647
  {
2587
2648
  "kind": "method",
2588
- "name": "onInstall",
2589
- "return": {
2590
- "type": {
2591
- "text": "Promise<void>"
2649
+ "name": "getTemplate",
2650
+ "parameters": [
2651
+ {
2652
+ "name": "prefix",
2653
+ "type": {
2654
+ "text": "string"
2655
+ }
2592
2656
  }
2593
- }
2657
+ ]
2594
2658
  },
2595
2659
  {
2596
2660
  "kind": "field",
@@ -2704,95 +2768,107 @@
2704
2768
  }
2705
2769
  }
2706
2770
  ],
2771
+ "attributes": [
2772
+ {
2773
+ "name": "is-vertical",
2774
+ "type": {
2775
+ "text": "boolean"
2776
+ },
2777
+ "default": "false",
2778
+ "fieldName": "isVertical"
2779
+ },
2780
+ {
2781
+ "name": "add-default-actions",
2782
+ "type": {
2783
+ "text": "boolean"
2784
+ },
2785
+ "default": "true",
2786
+ "fieldName": "addDefaultActions"
2787
+ },
2788
+ {
2789
+ "name": "auto-close-on-action",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "true",
2794
+ "fieldName": "autoCloseOnAction"
2795
+ },
2796
+ {
2797
+ "name": "name",
2798
+ "type": {
2799
+ "text": "string"
2800
+ },
2801
+ "default": "'Actions'",
2802
+ "fieldName": "name"
2803
+ },
2804
+ {
2805
+ "name": "open",
2806
+ "type": {
2807
+ "text": "boolean"
2808
+ },
2809
+ "default": "false",
2810
+ "fieldName": "open"
2811
+ },
2812
+ {
2813
+ "name": "buttonAppearance",
2814
+ "type": {
2815
+ "text": "string"
2816
+ },
2817
+ "fieldName": "buttonAppearance"
2818
+ },
2819
+ {
2820
+ "name": "hide-disabled",
2821
+ "type": {
2822
+ "text": "boolean"
2823
+ },
2824
+ "default": "false",
2825
+ "fieldName": "hideDisabled"
2826
+ },
2827
+ {
2828
+ "name": "hide-menu-single-option",
2829
+ "type": {
2830
+ "text": "boolean"
2831
+ },
2832
+ "default": "false",
2833
+ "fieldName": "hideMenuSingleOption"
2834
+ }
2835
+ ],
2707
2836
  "superclass": {
2708
2837
  "name": "FoundationElement",
2709
2838
  "package": "@microsoft/fast-foundation"
2710
2839
  },
2711
- "tagName": "%%prefix%%-ai-indicator",
2840
+ "tagName": "%%prefix%%-actions-menu",
2712
2841
  "customElement": true
2713
2842
  },
2714
2843
  {
2715
2844
  "kind": "variable",
2716
- "name": "foundationAiIndicator"
2845
+ "name": "foundationActionsMenu",
2846
+ "description": "The Foundation Actions Menu",
2847
+ "privacy": "public"
2717
2848
  }
2718
2849
  ],
2719
2850
  "exports": [
2720
2851
  {
2721
2852
  "kind": "js",
2722
- "name": "AiIndicator",
2723
- "declaration": {
2724
- "name": "AiIndicator",
2725
- "module": "src/ai-indicator/ai-indicator.ts"
2726
- }
2727
- },
2728
- {
2729
- "kind": "js",
2730
- "name": "foundationAiIndicator",
2731
- "declaration": {
2732
- "name": "foundationAiIndicator",
2733
- "module": "src/ai-indicator/ai-indicator.ts"
2734
- }
2735
- }
2736
- ]
2737
- },
2738
- {
2739
- "kind": "javascript-module",
2740
- "path": "src/ai-indicator/index.ts",
2741
- "declarations": [],
2742
- "exports": [
2743
- {
2744
- "kind": "js",
2745
- "name": "AiIndicator",
2746
- "declaration": {
2747
- "name": "AiIndicator",
2748
- "module": "./ai-indicator"
2749
- }
2750
- },
2751
- {
2752
- "kind": "js",
2753
- "name": "foundationAiIndicator",
2754
- "declaration": {
2755
- "name": "foundationAiIndicator",
2756
- "module": "./ai-indicator"
2757
- }
2758
- },
2759
- {
2760
- "kind": "js",
2761
- "name": "type",
2762
- "declaration": {
2763
- "name": "type",
2764
- "module": "./ai-indicator"
2765
- }
2766
- },
2767
- {
2768
- "kind": "js",
2769
- "name": "AIIndicatorState",
2770
- "declaration": {
2771
- "name": "AIIndicatorState",
2772
- "module": "./ai-indicator"
2773
- }
2774
- },
2775
- {
2776
- "kind": "js",
2777
- "name": "foundationAiIndicatorTemplate",
2853
+ "name": "ActionsMenu",
2778
2854
  "declaration": {
2779
- "name": "foundationAiIndicatorTemplate",
2780
- "module": "./ai-indicator.template"
2855
+ "name": "ActionsMenu",
2856
+ "module": "src/actions-menu/actions-menu.ts"
2781
2857
  }
2782
2858
  },
2783
2859
  {
2784
2860
  "kind": "js",
2785
- "name": "foundationAiIndicatorStyles",
2861
+ "name": "foundationActionsMenu",
2786
2862
  "declaration": {
2787
- "name": "foundationAiIndicatorStyles",
2788
- "module": "./ai-indicator.styles"
2863
+ "name": "foundationActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
2789
2865
  }
2790
2866
  }
2791
2867
  ]
2792
2868
  },
2793
2869
  {
2794
2870
  "kind": "javascript-module",
2795
- "path": "src/_config/index.ts",
2871
+ "path": "src/actions-menu/index.ts",
2796
2872
  "declarations": [],
2797
2873
  "exports": [
2798
2874
  {
@@ -2800,7 +2876,7 @@
2800
2876
  "name": "*",
2801
2877
  "declaration": {
2802
2878
  "name": "*",
2803
- "package": "./styles"
2879
+ "package": "./actions-menu.styles"
2804
2880
  }
2805
2881
  },
2806
2882
  {
@@ -2808,7 +2884,7 @@
2808
2884
  "name": "*",
2809
2885
  "declaration": {
2810
2886
  "name": "*",
2811
- "package": "./tokens"
2887
+ "package": "./actions-menu.template"
2812
2888
  }
2813
2889
  },
2814
2890
  {
@@ -2816,7 +2892,7 @@
2816
2892
  "name": "*",
2817
2893
  "declaration": {
2818
2894
  "name": "*",
2819
- "package": "./values"
2895
+ "package": "./actions-menu"
2820
2896
  }
2821
2897
  }
2822
2898
  ]
@@ -3374,11 +3450,11 @@
3374
3450
  },
3375
3451
  {
3376
3452
  "kind": "javascript-module",
3377
- "path": "src/accordion/accordion.styles.ts",
3453
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3378
3454
  "declarations": [
3379
3455
  {
3380
3456
  "kind": "function",
3381
- "name": "foundationAccordionStyles",
3457
+ "name": "foundationAiIndicatorStyles",
3382
3458
  "return": {
3383
3459
  "type": {
3384
3460
  "text": "ElementStyles"
@@ -3403,276 +3479,214 @@
3403
3479
  "exports": [
3404
3480
  {
3405
3481
  "kind": "js",
3406
- "name": "foundationAccordionStyles",
3482
+ "name": "foundationAiIndicatorStyles",
3407
3483
  "declaration": {
3408
- "name": "foundationAccordionStyles",
3409
- "module": "src/accordion/accordion.styles.ts"
3484
+ "name": "foundationAiIndicatorStyles",
3485
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3410
3486
  }
3411
3487
  }
3412
3488
  ]
3413
3489
  },
3414
3490
  {
3415
3491
  "kind": "javascript-module",
3416
- "path": "src/accordion/accordion.template.ts",
3492
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3417
3493
  "declarations": [
3418
3494
  {
3419
- "kind": "function",
3420
- "name": "foundationAccordionTemplate",
3421
- "return": {
3422
- "type": {
3423
- "text": "ViewTemplate<Accordion>"
3424
- }
3495
+ "kind": "variable",
3496
+ "name": "foundationAiIndicatorTemplate",
3497
+ "type": {
3498
+ "text": "ViewTemplate<AiIndicator>"
3425
3499
  },
3426
- "parameters": [
3427
- {
3428
- "name": "context",
3429
- "type": {
3430
- "text": "ElementDefinitionContext"
3431
- }
3432
- },
3433
- {
3434
- "name": "definition",
3435
- "type": {
3436
- "text": "FoundationElementDefinition"
3437
- }
3438
- }
3439
- ]
3500
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3440
3501
  }
3441
3502
  ],
3442
3503
  "exports": [
3443
3504
  {
3444
3505
  "kind": "js",
3445
- "name": "foundationAccordionTemplate",
3506
+ "name": "foundationAiIndicatorTemplate",
3446
3507
  "declaration": {
3447
- "name": "foundationAccordionTemplate",
3448
- "module": "src/accordion/accordion.template.ts"
3508
+ "name": "foundationAiIndicatorTemplate",
3509
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3449
3510
  }
3450
3511
  }
3451
3512
  ]
3452
3513
  },
3453
3514
  {
3454
3515
  "kind": "javascript-module",
3455
- "path": "src/accordion/accordion.ts",
3516
+ "path": "src/ai-indicator/ai-indicator.ts",
3456
3517
  "declarations": [
3457
3518
  {
3458
3519
  "kind": "class",
3459
3520
  "description": "",
3460
- "name": "Accordion",
3461
- "superclass": {
3462
- "name": "FASTAccordion",
3463
- "package": "@microsoft/fast-foundation"
3464
- },
3465
- "tagName": "%%prefix%%-accordion",
3466
- "customElement": true,
3467
- "attributes": [
3521
+ "name": "AiIndicator",
3522
+ "members": [
3468
3523
  {
3469
- "name": "expand-mode",
3524
+ "kind": "field",
3525
+ "name": "aiProvider",
3470
3526
  "type": {
3471
- "text": "AccordionExpandMode"
3472
- },
3473
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3474
- "fieldName": "expandmode",
3475
- "inheritedFrom": {
3476
- "name": "Accordion",
3477
- "module": "src/accordion/accordion.ts"
3527
+ "text": "AIProvider"
3478
3528
  }
3479
- }
3480
- ],
3481
- "members": [
3529
+ },
3482
3530
  {
3483
3531
  "kind": "field",
3484
- "name": "expandmode",
3532
+ "name": "status",
3485
3533
  "type": {
3486
- "text": "AccordionExpandMode"
3534
+ "text": "AIStatus | null"
3487
3535
  },
3488
- "privacy": "public",
3489
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3490
- "inheritedFrom": {
3491
- "name": "Accordion",
3492
- "module": "src/accordion/accordion.ts"
3493
- }
3536
+ "default": "null"
3494
3537
  },
3495
3538
  {
3496
3539
  "kind": "field",
3497
- "name": "activeid",
3540
+ "name": "open",
3498
3541
  "type": {
3499
- "text": "string | null"
3542
+ "text": "boolean"
3500
3543
  },
3501
- "privacy": "private",
3502
- "inheritedFrom": {
3503
- "name": "Accordion",
3504
- "module": "src/accordion/accordion.ts"
3505
- }
3544
+ "default": "false"
3506
3545
  },
3507
3546
  {
3508
3547
  "kind": "field",
3509
- "name": "activeItemIndex",
3548
+ "name": "state",
3510
3549
  "type": {
3511
- "text": "number"
3550
+ "text": "AIIndicatorState"
3512
3551
  },
3513
- "privacy": "private",
3514
- "default": "0",
3515
- "inheritedFrom": {
3516
- "name": "Accordion",
3517
- "module": "src/accordion/accordion.ts"
3518
- }
3552
+ "default": "'none'"
3553
+ },
3554
+ {
3555
+ "kind": "field",
3556
+ "name": "isInstalling",
3557
+ "type": {
3558
+ "text": "boolean"
3559
+ },
3560
+ "default": "false"
3519
3561
  },
3520
3562
  {
3521
3563
  "kind": "field",
3522
- "name": "accordionIds",
3564
+ "name": "pollTimer",
3523
3565
  "type": {
3524
- "text": "Array<string | null>"
3566
+ "text": "ReturnType<typeof setInterval> | null"
3525
3567
  },
3526
3568
  "privacy": "private",
3527
- "inheritedFrom": {
3528
- "name": "Accordion",
3529
- "module": "src/accordion/accordion.ts"
3530
- }
3569
+ "default": "null"
3531
3570
  },
3532
3571
  {
3533
3572
  "kind": "field",
3534
- "name": "change",
3535
- "privacy": "private",
3536
- "inheritedFrom": {
3537
- "name": "Accordion",
3538
- "module": "src/accordion/accordion.ts"
3539
- }
3573
+ "name": "clickOutside",
3574
+ "privacy": "private"
3540
3575
  },
3541
3576
  {
3542
- "kind": "method",
3543
- "name": "findExpandedItem",
3544
- "privacy": "private",
3545
- "return": {
3546
- "type": {
3547
- "text": "AccordionItem | null"
3548
- }
3577
+ "kind": "field",
3578
+ "name": "chromeStatusLabel",
3579
+ "type": {
3580
+ "text": "string | null"
3549
3581
  },
3550
- "inheritedFrom": {
3551
- "name": "Accordion",
3552
- "module": "src/accordion/accordion.ts"
3553
- }
3582
+ "readonly": true
3554
3583
  },
3555
3584
  {
3556
3585
  "kind": "field",
3557
- "name": "setItems",
3558
- "privacy": "private",
3559
- "inheritedFrom": {
3560
- "name": "Accordion",
3561
- "module": "src/accordion/accordion.ts"
3562
- }
3586
+ "name": "canInstall",
3587
+ "type": {
3588
+ "text": "boolean"
3589
+ },
3590
+ "readonly": true
3591
+ },
3592
+ {
3593
+ "kind": "field",
3594
+ "name": "isDownloading",
3595
+ "type": {
3596
+ "text": "boolean"
3597
+ },
3598
+ "readonly": true
3563
3599
  },
3564
3600
  {
3565
3601
  "kind": "method",
3566
- "name": "resetItems",
3567
- "privacy": "private",
3602
+ "name": "openChanged",
3568
3603
  "return": {
3569
3604
  "type": {
3570
3605
  "text": "void"
3571
3606
  }
3572
- },
3573
- "inheritedFrom": {
3574
- "name": "Accordion",
3575
- "module": "src/accordion/accordion.ts"
3576
3607
  }
3577
3608
  },
3578
3609
  {
3579
- "kind": "field",
3580
- "name": "removeItemListeners",
3610
+ "kind": "method",
3611
+ "name": "handleClickOutside",
3581
3612
  "privacy": "private",
3582
- "inheritedFrom": {
3583
- "name": "Accordion",
3584
- "module": "src/accordion/accordion.ts"
3585
- }
3613
+ "parameters": [
3614
+ {
3615
+ "name": "event",
3616
+ "type": {
3617
+ "text": "MouseEvent"
3618
+ }
3619
+ }
3620
+ ]
3586
3621
  },
3587
3622
  {
3588
- "kind": "field",
3589
- "name": "activeItemChange",
3590
- "privacy": "private",
3591
- "inheritedFrom": {
3592
- "name": "Accordion",
3593
- "module": "src/accordion/accordion.ts"
3594
- }
3623
+ "kind": "method",
3624
+ "name": "toggleDropdown"
3595
3625
  },
3596
3626
  {
3597
3627
  "kind": "method",
3598
- "name": "getItemIds",
3599
- "privacy": "private",
3628
+ "name": "refreshStatus",
3600
3629
  "return": {
3601
3630
  "type": {
3602
- "text": "Array<string | null>"
3631
+ "text": "Promise<void>"
3603
3632
  }
3604
- },
3605
- "inheritedFrom": {
3606
- "name": "Accordion",
3607
- "module": "src/accordion/accordion.ts"
3608
3633
  }
3609
3634
  },
3610
3635
  {
3611
3636
  "kind": "method",
3612
- "name": "isSingleExpandMode",
3637
+ "name": "deriveState",
3613
3638
  "privacy": "private",
3614
3639
  "return": {
3615
3640
  "type": {
3616
- "text": "boolean"
3641
+ "text": "AIIndicatorState"
3617
3642
  }
3618
3643
  },
3619
- "inheritedFrom": {
3620
- "name": "Accordion",
3621
- "module": "src/accordion/accordion.ts"
3622
- }
3644
+ "parameters": [
3645
+ {
3646
+ "name": "s",
3647
+ "type": {
3648
+ "text": "AIStatus | null"
3649
+ }
3650
+ }
3651
+ ]
3623
3652
  },
3624
3653
  {
3625
- "kind": "field",
3626
- "name": "handleItemKeyDown",
3654
+ "kind": "method",
3655
+ "name": "maybeStartPolling",
3627
3656
  "privacy": "private",
3628
- "inheritedFrom": {
3629
- "name": "Accordion",
3630
- "module": "src/accordion/accordion.ts"
3657
+ "return": {
3658
+ "type": {
3659
+ "text": "void"
3660
+ }
3631
3661
  }
3632
3662
  },
3633
3663
  {
3634
- "kind": "field",
3635
- "name": "handleItemFocus",
3664
+ "kind": "method",
3665
+ "name": "startPolling",
3636
3666
  "privacy": "private",
3637
- "inheritedFrom": {
3638
- "name": "Accordion",
3639
- "module": "src/accordion/accordion.ts"
3667
+ "return": {
3668
+ "type": {
3669
+ "text": "void"
3670
+ }
3640
3671
  }
3641
3672
  },
3642
3673
  {
3643
3674
  "kind": "method",
3644
- "name": "adjust",
3675
+ "name": "stopPolling",
3645
3676
  "privacy": "private",
3646
3677
  "return": {
3647
3678
  "type": {
3648
3679
  "text": "void"
3649
3680
  }
3650
- },
3651
- "parameters": [
3652
- {
3653
- "name": "adjustment",
3654
- "type": {
3655
- "text": "number"
3656
- }
3657
- }
3658
- ],
3659
- "inheritedFrom": {
3660
- "name": "Accordion",
3661
- "module": "src/accordion/accordion.ts"
3662
3681
  }
3663
3682
  },
3664
3683
  {
3665
3684
  "kind": "method",
3666
- "name": "focusItem",
3667
- "privacy": "private",
3685
+ "name": "onInstall",
3668
3686
  "return": {
3669
3687
  "type": {
3670
- "text": "void"
3688
+ "text": "Promise<void>"
3671
3689
  }
3672
- },
3673
- "inheritedFrom": {
3674
- "name": "Accordion",
3675
- "module": "src/accordion/accordion.ts"
3676
3690
  }
3677
3691
  },
3678
3692
  {
@@ -3787,102 +3801,88 @@
3787
3801
  }
3788
3802
  }
3789
3803
  ],
3790
- "events": [
3791
- {
3792
- "description": "Fires a custom 'change' event when the active item changes",
3793
- "name": "change",
3794
- "inheritedFrom": {
3795
- "name": "Accordion",
3796
- "module": "src/accordion/accordion.ts"
3797
- }
3798
- }
3799
- ]
3800
- },
3801
- {
3802
- "kind": "variable",
3803
- "name": "foundationAccordionShadowOptions",
3804
- "type": {
3805
- "text": "ShadowRootInit"
3806
- },
3807
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3808
- },
3809
- {
3810
- "kind": "variable",
3811
- "name": "defaultAccordionConfig",
3812
- "type": {
3813
- "text": "object"
3804
+ "superclass": {
3805
+ "name": "FoundationElement",
3806
+ "package": "@microsoft/fast-foundation"
3814
3807
  },
3815
- "default": "{}"
3808
+ "tagName": "%%prefix%%-ai-indicator",
3809
+ "customElement": true
3816
3810
  },
3817
3811
  {
3818
3812
  "kind": "variable",
3819
- "name": "foundationAccordion",
3820
- "description": "The Foundation Accordion",
3821
- "privacy": "public"
3813
+ "name": "foundationAiIndicator"
3822
3814
  }
3823
3815
  ],
3824
3816
  "exports": [
3825
3817
  {
3826
3818
  "kind": "js",
3827
- "name": "Accordion",
3819
+ "name": "AiIndicator",
3828
3820
  "declaration": {
3829
- "name": "Accordion",
3830
- "module": "src/accordion/accordion.ts"
3821
+ "name": "AiIndicator",
3822
+ "module": "src/ai-indicator/ai-indicator.ts"
3831
3823
  }
3832
3824
  },
3833
3825
  {
3834
3826
  "kind": "js",
3835
- "name": "foundationAccordionShadowOptions",
3827
+ "name": "foundationAiIndicator",
3836
3828
  "declaration": {
3837
- "name": "foundationAccordionShadowOptions",
3838
- "module": "src/accordion/accordion.ts"
3829
+ "name": "foundationAiIndicator",
3830
+ "module": "src/ai-indicator/ai-indicator.ts"
3831
+ }
3832
+ }
3833
+ ]
3834
+ },
3835
+ {
3836
+ "kind": "javascript-module",
3837
+ "path": "src/ai-indicator/index.ts",
3838
+ "declarations": [],
3839
+ "exports": [
3840
+ {
3841
+ "kind": "js",
3842
+ "name": "AiIndicator",
3843
+ "declaration": {
3844
+ "name": "AiIndicator",
3845
+ "module": "./ai-indicator"
3839
3846
  }
3840
3847
  },
3841
3848
  {
3842
3849
  "kind": "js",
3843
- "name": "defaultAccordionConfig",
3850
+ "name": "foundationAiIndicator",
3844
3851
  "declaration": {
3845
- "name": "defaultAccordionConfig",
3846
- "module": "src/accordion/accordion.ts"
3852
+ "name": "foundationAiIndicator",
3853
+ "module": "./ai-indicator"
3847
3854
  }
3848
3855
  },
3849
3856
  {
3850
3857
  "kind": "js",
3851
- "name": "foundationAccordion",
3858
+ "name": "type",
3852
3859
  "declaration": {
3853
- "name": "foundationAccordion",
3854
- "module": "src/accordion/accordion.ts"
3860
+ "name": "type",
3861
+ "module": "./ai-indicator"
3855
3862
  }
3856
- }
3857
- ]
3858
- },
3859
- {
3860
- "kind": "javascript-module",
3861
- "path": "src/accordion/index.ts",
3862
- "declarations": [],
3863
- "exports": [
3863
+ },
3864
3864
  {
3865
3865
  "kind": "js",
3866
- "name": "*",
3866
+ "name": "AIIndicatorState",
3867
3867
  "declaration": {
3868
- "name": "*",
3869
- "package": "./accordion.template"
3868
+ "name": "AIIndicatorState",
3869
+ "module": "./ai-indicator"
3870
3870
  }
3871
3871
  },
3872
3872
  {
3873
3873
  "kind": "js",
3874
- "name": "*",
3874
+ "name": "foundationAiIndicatorTemplate",
3875
3875
  "declaration": {
3876
- "name": "*",
3877
- "package": "./accordion.styles"
3876
+ "name": "foundationAiIndicatorTemplate",
3877
+ "module": "./ai-indicator.template"
3878
3878
  }
3879
3879
  },
3880
3880
  {
3881
3881
  "kind": "js",
3882
- "name": "*",
3882
+ "name": "foundationAiIndicatorStyles",
3883
3883
  "declaration": {
3884
- "name": "*",
3885
- "package": "./accordion"
3884
+ "name": "foundationAiIndicatorStyles",
3885
+ "module": "./ai-indicator.styles"
3886
3886
  }
3887
3887
  }
3888
3888
  ]