@genesislcap/foundation-ui 14.437.3 → 14.437.5

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,11 +1400,65 @@
1400
1400
  },
1401
1401
  {
1402
1402
  "kind": "javascript-module",
1403
- "path": "src/accordion/accordion.styles.ts",
1403
+ "path": "src/_config/index.ts",
1404
+ "declarations": [],
1405
+ "exports": [
1406
+ {
1407
+ "kind": "js",
1408
+ "name": "*",
1409
+ "declaration": {
1410
+ "name": "*",
1411
+ "package": "./styles"
1412
+ }
1413
+ },
1414
+ {
1415
+ "kind": "js",
1416
+ "name": "*",
1417
+ "declaration": {
1418
+ "name": "*",
1419
+ "package": "./tokens"
1420
+ }
1421
+ },
1422
+ {
1423
+ "kind": "js",
1424
+ "name": "*",
1425
+ "declaration": {
1426
+ "name": "*",
1427
+ "package": "./values"
1428
+ }
1429
+ }
1430
+ ]
1431
+ },
1432
+ {
1433
+ "kind": "javascript-module",
1434
+ "path": "src/actions-menu/actions-menu.styles.ts",
1404
1435
  "declarations": [
1405
1436
  {
1406
1437
  "kind": "function",
1407
- "name": "foundationAccordionStyles",
1438
+ "name": "actionsMenuBaseStyles",
1439
+ "return": {
1440
+ "type": {
1441
+ "text": "ElementStyles"
1442
+ }
1443
+ },
1444
+ "parameters": [
1445
+ {
1446
+ "name": "context",
1447
+ "type": {
1448
+ "text": "ElementDefinitionContext"
1449
+ }
1450
+ },
1451
+ {
1452
+ "name": "definition",
1453
+ "type": {
1454
+ "text": "FoundationElementDefinition"
1455
+ }
1456
+ }
1457
+ ]
1458
+ },
1459
+ {
1460
+ "kind": "function",
1461
+ "name": "foundationActionsMenuStyles",
1408
1462
  "return": {
1409
1463
  "type": {
1410
1464
  "text": "ElementStyles"
@@ -1429,277 +1483,269 @@
1429
1483
  "exports": [
1430
1484
  {
1431
1485
  "kind": "js",
1432
- "name": "foundationAccordionStyles",
1486
+ "name": "actionsMenuBaseStyles",
1433
1487
  "declaration": {
1434
- "name": "foundationAccordionStyles",
1435
- "module": "src/accordion/accordion.styles.ts"
1488
+ "name": "actionsMenuBaseStyles",
1489
+ "module": "src/actions-menu/actions-menu.styles.ts"
1490
+ }
1491
+ },
1492
+ {
1493
+ "kind": "js",
1494
+ "name": "foundationActionsMenuStyles",
1495
+ "declaration": {
1496
+ "name": "foundationActionsMenuStyles",
1497
+ "module": "src/actions-menu/actions-menu.styles.ts"
1436
1498
  }
1437
1499
  }
1438
1500
  ]
1439
1501
  },
1440
1502
  {
1441
1503
  "kind": "javascript-module",
1442
- "path": "src/accordion/accordion.template.ts",
1504
+ "path": "src/actions-menu/actions-menu.template.ts",
1443
1505
  "declarations": [
1444
1506
  {
1445
1507
  "kind": "function",
1446
- "name": "foundationAccordionTemplate",
1447
- "return": {
1448
- "type": {
1449
- "text": "ViewTemplate<Accordion>"
1450
- }
1451
- },
1508
+ "name": "menuTemplate",
1452
1509
  "parameters": [
1453
1510
  {
1454
- "name": "context",
1511
+ "name": "prefix",
1455
1512
  "type": {
1456
- "text": "ElementDefinitionContext"
1513
+ "text": "string"
1457
1514
  }
1458
- },
1515
+ }
1516
+ ]
1517
+ },
1518
+ {
1519
+ "kind": "function",
1520
+ "name": "singleOptionTemplate",
1521
+ "parameters": [
1459
1522
  {
1460
- "name": "definition",
1523
+ "name": "prefix",
1461
1524
  "type": {
1462
- "text": "FoundationElementDefinition"
1525
+ "text": "string"
1463
1526
  }
1464
1527
  }
1465
1528
  ]
1529
+ },
1530
+ {
1531
+ "kind": "variable",
1532
+ "name": "foundationActionsMenuTemplate",
1533
+ "type": {
1534
+ "text": "ViewTemplate<ActionsMenu>"
1535
+ },
1536
+ "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`"
1466
1537
  }
1467
1538
  ],
1468
1539
  "exports": [
1469
1540
  {
1470
1541
  "kind": "js",
1471
- "name": "foundationAccordionTemplate",
1542
+ "name": "menuTemplate",
1472
1543
  "declaration": {
1473
- "name": "foundationAccordionTemplate",
1474
- "module": "src/accordion/accordion.template.ts"
1544
+ "name": "menuTemplate",
1545
+ "module": "src/actions-menu/actions-menu.template.ts"
1546
+ }
1547
+ },
1548
+ {
1549
+ "kind": "js",
1550
+ "name": "singleOptionTemplate",
1551
+ "declaration": {
1552
+ "name": "singleOptionTemplate",
1553
+ "module": "src/actions-menu/actions-menu.template.ts"
1554
+ }
1555
+ },
1556
+ {
1557
+ "kind": "js",
1558
+ "name": "foundationActionsMenuTemplate",
1559
+ "declaration": {
1560
+ "name": "foundationActionsMenuTemplate",
1561
+ "module": "src/actions-menu/actions-menu.template.ts"
1475
1562
  }
1476
1563
  }
1477
1564
  ]
1478
1565
  },
1479
1566
  {
1480
1567
  "kind": "javascript-module",
1481
- "path": "src/accordion/accordion.ts",
1568
+ "path": "src/actions-menu/actions-menu.ts",
1482
1569
  "declarations": [
1483
1570
  {
1484
1571
  "kind": "class",
1485
1572
  "description": "",
1486
- "name": "Accordion",
1487
- "superclass": {
1488
- "name": "FASTAccordion",
1489
- "package": "@microsoft/fast-foundation"
1490
- },
1491
- "tagName": "%%prefix%%-accordion",
1492
- "customElement": true,
1493
- "attributes": [
1573
+ "name": "ActionsMenu",
1574
+ "members": [
1494
1575
  {
1495
- "name": "expand-mode",
1576
+ "kind": "field",
1577
+ "name": "actions",
1496
1578
  "type": {
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"
1579
+ "text": "ActionMenuItem[]"
1504
1580
  }
1505
- }
1506
- ],
1507
- "members": [
1581
+ },
1508
1582
  {
1509
1583
  "kind": "field",
1510
- "name": "expandmode",
1584
+ "name": "isVertical",
1511
1585
  "type": {
1512
- "text": "AccordionExpandMode"
1586
+ "text": "boolean"
1513
1587
  },
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
- }
1588
+ "default": "false"
1520
1589
  },
1521
1590
  {
1522
1591
  "kind": "field",
1523
- "name": "activeid",
1592
+ "name": "addDefaultActions",
1524
1593
  "type": {
1525
- "text": "string | null"
1594
+ "text": "boolean"
1526
1595
  },
1527
- "privacy": "private",
1528
- "inheritedFrom": {
1529
- "name": "Accordion",
1530
- "module": "src/accordion/accordion.ts"
1531
- }
1596
+ "default": "true"
1532
1597
  },
1533
1598
  {
1534
1599
  "kind": "field",
1535
- "name": "activeItemIndex",
1600
+ "name": "autoCloseOnAction",
1536
1601
  "type": {
1537
- "text": "number"
1602
+ "text": "boolean"
1538
1603
  },
1539
- "privacy": "private",
1540
- "default": "0",
1541
- "inheritedFrom": {
1542
- "name": "Accordion",
1543
- "module": "src/accordion/accordion.ts"
1604
+ "default": "true"
1605
+ },
1606
+ {
1607
+ "kind": "field",
1608
+ "name": "classNames",
1609
+ "type": {
1610
+ "text": "string"
1544
1611
  }
1545
1612
  },
1546
1613
  {
1547
1614
  "kind": "field",
1548
- "name": "accordionIds",
1615
+ "name": "definition",
1549
1616
  "type": {
1550
- "text": "Array<string | null>"
1551
- },
1552
- "privacy": "private",
1553
- "inheritedFrom": {
1554
- "name": "Accordion",
1555
- "module": "src/accordion/accordion.ts"
1617
+ "text": "any"
1556
1618
  }
1557
1619
  },
1558
1620
  {
1559
1621
  "kind": "field",
1560
- "name": "change",
1561
- "privacy": "private",
1562
- "inheritedFrom": {
1563
- "name": "Accordion",
1564
- "module": "src/accordion/accordion.ts"
1622
+ "name": "name",
1623
+ "type": {
1624
+ "text": "string"
1625
+ },
1626
+ "default": "'Actions'"
1627
+ },
1628
+ {
1629
+ "kind": "field",
1630
+ "name": "open",
1631
+ "type": {
1632
+ "text": "boolean"
1633
+ },
1634
+ "default": "false"
1635
+ },
1636
+ {
1637
+ "kind": "field",
1638
+ "name": "buttonAppearance",
1639
+ "type": {
1640
+ "text": "string"
1565
1641
  }
1566
1642
  },
1567
1643
  {
1568
- "kind": "method",
1569
- "name": "findExpandedItem",
1570
- "privacy": "private",
1571
- "return": {
1572
- "type": {
1573
- "text": "AccordionItem | null"
1574
- }
1644
+ "kind": "field",
1645
+ "name": "hideDisabled",
1646
+ "type": {
1647
+ "text": "boolean"
1575
1648
  },
1576
- "inheritedFrom": {
1577
- "name": "Accordion",
1578
- "module": "src/accordion/accordion.ts"
1649
+ "default": "false"
1650
+ },
1651
+ {
1652
+ "kind": "field",
1653
+ "name": "hideMenuSingleOption",
1654
+ "type": {
1655
+ "text": "boolean"
1656
+ },
1657
+ "default": "false"
1658
+ },
1659
+ {
1660
+ "kind": "field",
1661
+ "name": "singleOption",
1662
+ "type": {
1663
+ "text": "ActionMenuItem"
1579
1664
  }
1580
1665
  },
1581
1666
  {
1582
1667
  "kind": "field",
1583
- "name": "setItems",
1584
- "privacy": "private",
1585
- "inheritedFrom": {
1586
- "name": "Accordion",
1587
- "module": "src/accordion/accordion.ts"
1668
+ "name": "actionsMenu",
1669
+ "type": {
1670
+ "text": "HTMLElement"
1588
1671
  }
1589
1672
  },
1590
1673
  {
1591
1674
  "kind": "method",
1592
- "name": "resetItems",
1593
- "privacy": "private",
1594
- "return": {
1595
- "type": {
1596
- "text": "void"
1675
+ "name": "definitionChanged",
1676
+ "privacy": "protected",
1677
+ "parameters": [
1678
+ {
1679
+ "name": "oldValue",
1680
+ "type": {
1681
+ "text": "any"
1682
+ }
1683
+ },
1684
+ {
1685
+ "name": "newValue",
1686
+ "type": {
1687
+ "text": "any"
1688
+ }
1597
1689
  }
1598
- },
1599
- "inheritedFrom": {
1600
- "name": "Accordion",
1601
- "module": "src/accordion/accordion.ts"
1602
- }
1603
- },
1604
- {
1605
- "kind": "field",
1606
- "name": "removeItemListeners",
1607
- "privacy": "private",
1608
- "inheritedFrom": {
1609
- "name": "Accordion",
1610
- "module": "src/accordion/accordion.ts"
1611
- }
1690
+ ]
1612
1691
  },
1613
1692
  {
1614
- "kind": "field",
1615
- "name": "activeItemChange",
1616
- "privacy": "private",
1617
- "inheritedFrom": {
1618
- "name": "Accordion",
1619
- "module": "src/accordion/accordion.ts"
1620
- }
1693
+ "kind": "method",
1694
+ "name": "openChanged",
1695
+ "privacy": "protected"
1621
1696
  },
1622
1697
  {
1623
1698
  "kind": "method",
1624
- "name": "getItemIds",
1625
- "privacy": "private",
1626
- "return": {
1627
- "type": {
1628
- "text": "Array<string | null>"
1629
- }
1630
- },
1631
- "inheritedFrom": {
1632
- "name": "Accordion",
1633
- "module": "src/accordion/accordion.ts"
1634
- }
1699
+ "name": "toggleActionsMenuVisibility"
1635
1700
  },
1636
1701
  {
1637
1702
  "kind": "method",
1638
- "name": "isSingleExpandMode",
1639
- "privacy": "private",
1640
- "return": {
1641
- "type": {
1642
- "text": "boolean"
1703
+ "name": "onActionMenuItemClick",
1704
+ "parameters": [
1705
+ {
1706
+ "name": "callback",
1707
+ "type": {
1708
+ "text": "(rowData) => void | any"
1709
+ }
1643
1710
  }
1644
- },
1645
- "inheritedFrom": {
1646
- "name": "Accordion",
1647
- "module": "src/accordion/accordion.ts"
1648
- }
1711
+ ]
1649
1712
  },
1650
1713
  {
1651
1714
  "kind": "field",
1652
- "name": "handleItemKeyDown",
1653
- "privacy": "private",
1654
- "inheritedFrom": {
1655
- "name": "Accordion",
1656
- "module": "src/accordion/accordion.ts"
1657
- }
1715
+ "name": "allActions",
1716
+ "type": {
1717
+ "text": "ActionMenuItem[]"
1718
+ },
1719
+ "readonly": true
1658
1720
  },
1659
1721
  {
1660
1722
  "kind": "field",
1661
- "name": "handleItemFocus",
1662
- "privacy": "private",
1663
- "inheritedFrom": {
1664
- "name": "Accordion",
1665
- "module": "src/accordion/accordion.ts"
1666
- }
1723
+ "name": "rowData",
1724
+ "readonly": true
1667
1725
  },
1668
1726
  {
1669
1727
  "kind": "method",
1670
- "name": "adjust",
1671
- "privacy": "private",
1672
- "return": {
1673
- "type": {
1674
- "text": "void"
1675
- }
1676
- },
1728
+ "name": "getLabel",
1677
1729
  "parameters": [
1678
1730
  {
1679
- "name": "adjustment",
1731
+ "name": "name",
1680
1732
  "type": {
1681
- "text": "number"
1733
+ "text": "string | ((rowData: any) => string)"
1682
1734
  }
1683
1735
  }
1684
- ],
1685
- "inheritedFrom": {
1686
- "name": "Accordion",
1687
- "module": "src/accordion/accordion.ts"
1688
- }
1736
+ ]
1689
1737
  },
1690
1738
  {
1691
1739
  "kind": "method",
1692
- "name": "focusItem",
1693
- "privacy": "private",
1694
- "return": {
1695
- "type": {
1696
- "text": "void"
1740
+ "name": "getTemplate",
1741
+ "parameters": [
1742
+ {
1743
+ "name": "prefix",
1744
+ "type": {
1745
+ "text": "string"
1746
+ }
1697
1747
  }
1698
- },
1699
- "inheritedFrom": {
1700
- "name": "Accordion",
1701
- "module": "src/accordion/accordion.ts"
1702
- }
1748
+ ]
1703
1749
  },
1704
1750
  {
1705
1751
  "kind": "field",
@@ -1813,109 +1859,107 @@
1813
1859
  }
1814
1860
  }
1815
1861
  ],
1816
- "events": [
1862
+ "attributes": [
1817
1863
  {
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
- }
1864
+ "name": "is-vertical",
1865
+ "type": {
1866
+ "text": "boolean"
1867
+ },
1868
+ "default": "false",
1869
+ "fieldName": "isVertical"
1870
+ },
1871
+ {
1872
+ "name": "add-default-actions",
1873
+ "type": {
1874
+ "text": "boolean"
1875
+ },
1876
+ "default": "true",
1877
+ "fieldName": "addDefaultActions"
1878
+ },
1879
+ {
1880
+ "name": "auto-close-on-action",
1881
+ "type": {
1882
+ "text": "boolean"
1883
+ },
1884
+ "default": "true",
1885
+ "fieldName": "autoCloseOnAction"
1886
+ },
1887
+ {
1888
+ "name": "name",
1889
+ "type": {
1890
+ "text": "string"
1891
+ },
1892
+ "default": "'Actions'",
1893
+ "fieldName": "name"
1894
+ },
1895
+ {
1896
+ "name": "open",
1897
+ "type": {
1898
+ "text": "boolean"
1899
+ },
1900
+ "default": "false",
1901
+ "fieldName": "open"
1902
+ },
1903
+ {
1904
+ "name": "buttonAppearance",
1905
+ "type": {
1906
+ "text": "string"
1907
+ },
1908
+ "fieldName": "buttonAppearance"
1909
+ },
1910
+ {
1911
+ "name": "hide-disabled",
1912
+ "type": {
1913
+ "text": "boolean"
1914
+ },
1915
+ "default": "false",
1916
+ "fieldName": "hideDisabled"
1917
+ },
1918
+ {
1919
+ "name": "hide-menu-single-option",
1920
+ "type": {
1921
+ "text": "boolean"
1922
+ },
1923
+ "default": "false",
1924
+ "fieldName": "hideMenuSingleOption"
1824
1925
  }
1825
- ]
1826
- },
1827
- {
1828
- "kind": "variable",
1829
- "name": "foundationAccordionShadowOptions",
1830
- "type": {
1831
- "text": "ShadowRootInit"
1832
- },
1833
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1834
- },
1835
- {
1836
- "kind": "variable",
1837
- "name": "defaultAccordionConfig",
1838
- "type": {
1839
- "text": "object"
1926
+ ],
1927
+ "superclass": {
1928
+ "name": "FoundationElement",
1929
+ "package": "@microsoft/fast-foundation"
1840
1930
  },
1841
- "default": "{}"
1842
- },
1843
- {
1844
- "kind": "variable",
1845
- "name": "foundationAccordion",
1846
- "description": "The Foundation Accordion",
1847
- "privacy": "public"
1848
- }
1849
- ],
1850
- "exports": [
1851
- {
1852
- "kind": "js",
1853
- "name": "Accordion",
1854
- "declaration": {
1855
- "name": "Accordion",
1856
- "module": "src/accordion/accordion.ts"
1857
- }
1858
- },
1859
- {
1860
- "kind": "js",
1861
- "name": "foundationAccordionShadowOptions",
1862
- "declaration": {
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"
1881
- }
1882
- }
1883
- ]
1884
- },
1885
- {
1886
- "kind": "javascript-module",
1887
- "path": "src/accordion/index.ts",
1888
- "declarations": [],
1889
- "exports": [
1890
- {
1891
- "kind": "js",
1892
- "name": "*",
1893
- "declaration": {
1894
- "name": "*",
1895
- "package": "./accordion.template"
1896
- }
1931
+ "tagName": "%%prefix%%-actions-menu",
1932
+ "customElement": true
1897
1933
  },
1934
+ {
1935
+ "kind": "variable",
1936
+ "name": "foundationActionsMenu",
1937
+ "description": "The Foundation Actions Menu",
1938
+ "privacy": "public"
1939
+ }
1940
+ ],
1941
+ "exports": [
1898
1942
  {
1899
1943
  "kind": "js",
1900
- "name": "*",
1944
+ "name": "ActionsMenu",
1901
1945
  "declaration": {
1902
- "name": "*",
1903
- "package": "./accordion.styles"
1946
+ "name": "ActionsMenu",
1947
+ "module": "src/actions-menu/actions-menu.ts"
1904
1948
  }
1905
1949
  },
1906
1950
  {
1907
1951
  "kind": "js",
1908
- "name": "*",
1952
+ "name": "foundationActionsMenu",
1909
1953
  "declaration": {
1910
- "name": "*",
1911
- "package": "./accordion"
1954
+ "name": "foundationActionsMenu",
1955
+ "module": "src/actions-menu/actions-menu.ts"
1912
1956
  }
1913
1957
  }
1914
1958
  ]
1915
1959
  },
1916
1960
  {
1917
1961
  "kind": "javascript-module",
1918
- "path": "src/_config/index.ts",
1962
+ "path": "src/actions-menu/index.ts",
1919
1963
  "declarations": [],
1920
1964
  "exports": [
1921
1965
  {
@@ -1923,7 +1967,7 @@
1923
1967
  "name": "*",
1924
1968
  "declaration": {
1925
1969
  "name": "*",
1926
- "package": "./styles"
1970
+ "package": "./actions-menu.styles"
1927
1971
  }
1928
1972
  },
1929
1973
  {
@@ -1931,7 +1975,7 @@
1931
1975
  "name": "*",
1932
1976
  "declaration": {
1933
1977
  "name": "*",
1934
- "package": "./tokens"
1978
+ "package": "./actions-menu.template"
1935
1979
  }
1936
1980
  },
1937
1981
  {
@@ -1939,7 +1983,7 @@
1939
1983
  "name": "*",
1940
1984
  "declaration": {
1941
1985
  "name": "*",
1942
- "package": "./values"
1986
+ "package": "./actions-menu"
1943
1987
  }
1944
1988
  }
1945
1989
  ]
@@ -3388,34 +3432,11 @@
3388
3432
  },
3389
3433
  {
3390
3434
  "kind": "javascript-module",
3391
- "path": "src/actions-menu/actions-menu.styles.ts",
3435
+ "path": "src/accordion/accordion.styles.ts",
3392
3436
  "declarations": [
3393
3437
  {
3394
3438
  "kind": "function",
3395
- "name": "actionsMenuBaseStyles",
3396
- "return": {
3397
- "type": {
3398
- "text": "ElementStyles"
3399
- }
3400
- },
3401
- "parameters": [
3402
- {
3403
- "name": "context",
3404
- "type": {
3405
- "text": "ElementDefinitionContext"
3406
- }
3407
- },
3408
- {
3409
- "name": "definition",
3410
- "type": {
3411
- "text": "FoundationElementDefinition"
3412
- }
3413
- }
3414
- ]
3415
- },
3416
- {
3417
- "kind": "function",
3418
- "name": "foundationActionsMenuStyles",
3439
+ "name": "foundationAccordionStyles",
3419
3440
  "return": {
3420
3441
  "type": {
3421
3442
  "text": "ElementStyles"
@@ -3440,269 +3461,277 @@
3440
3461
  "exports": [
3441
3462
  {
3442
3463
  "kind": "js",
3443
- "name": "actionsMenuBaseStyles",
3444
- "declaration": {
3445
- "name": "actionsMenuBaseStyles",
3446
- "module": "src/actions-menu/actions-menu.styles.ts"
3447
- }
3448
- },
3449
- {
3450
- "kind": "js",
3451
- "name": "foundationActionsMenuStyles",
3464
+ "name": "foundationAccordionStyles",
3452
3465
  "declaration": {
3453
- "name": "foundationActionsMenuStyles",
3454
- "module": "src/actions-menu/actions-menu.styles.ts"
3466
+ "name": "foundationAccordionStyles",
3467
+ "module": "src/accordion/accordion.styles.ts"
3455
3468
  }
3456
3469
  }
3457
3470
  ]
3458
3471
  },
3459
3472
  {
3460
3473
  "kind": "javascript-module",
3461
- "path": "src/actions-menu/actions-menu.template.ts",
3474
+ "path": "src/accordion/accordion.template.ts",
3462
3475
  "declarations": [
3463
3476
  {
3464
3477
  "kind": "function",
3465
- "name": "menuTemplate",
3478
+ "name": "foundationAccordionTemplate",
3479
+ "return": {
3480
+ "type": {
3481
+ "text": "ViewTemplate<Accordion>"
3482
+ }
3483
+ },
3466
3484
  "parameters": [
3467
3485
  {
3468
- "name": "prefix",
3486
+ "name": "context",
3469
3487
  "type": {
3470
- "text": "string"
3488
+ "text": "ElementDefinitionContext"
3471
3489
  }
3472
- }
3473
- ]
3474
- },
3475
- {
3476
- "kind": "function",
3477
- "name": "singleOptionTemplate",
3478
- "parameters": [
3490
+ },
3479
3491
  {
3480
- "name": "prefix",
3492
+ "name": "definition",
3481
3493
  "type": {
3482
- "text": "string"
3494
+ "text": "FoundationElementDefinition"
3483
3495
  }
3484
3496
  }
3485
3497
  ]
3486
- },
3487
- {
3488
- "kind": "variable",
3489
- "name": "foundationActionsMenuTemplate",
3490
- "type": {
3491
- "text": "ViewTemplate<ActionsMenu>"
3492
- },
3493
- "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`"
3494
3498
  }
3495
3499
  ],
3496
3500
  "exports": [
3497
3501
  {
3498
3502
  "kind": "js",
3499
- "name": "menuTemplate",
3500
- "declaration": {
3501
- "name": "menuTemplate",
3502
- "module": "src/actions-menu/actions-menu.template.ts"
3503
- }
3504
- },
3505
- {
3506
- "kind": "js",
3507
- "name": "singleOptionTemplate",
3508
- "declaration": {
3509
- "name": "singleOptionTemplate",
3510
- "module": "src/actions-menu/actions-menu.template.ts"
3511
- }
3512
- },
3513
- {
3514
- "kind": "js",
3515
- "name": "foundationActionsMenuTemplate",
3503
+ "name": "foundationAccordionTemplate",
3516
3504
  "declaration": {
3517
- "name": "foundationActionsMenuTemplate",
3518
- "module": "src/actions-menu/actions-menu.template.ts"
3505
+ "name": "foundationAccordionTemplate",
3506
+ "module": "src/accordion/accordion.template.ts"
3519
3507
  }
3520
3508
  }
3521
3509
  ]
3522
3510
  },
3523
3511
  {
3524
3512
  "kind": "javascript-module",
3525
- "path": "src/actions-menu/actions-menu.ts",
3513
+ "path": "src/accordion/accordion.ts",
3526
3514
  "declarations": [
3527
3515
  {
3528
3516
  "kind": "class",
3529
3517
  "description": "",
3530
- "name": "ActionsMenu",
3531
- "members": [
3518
+ "name": "Accordion",
3519
+ "superclass": {
3520
+ "name": "FASTAccordion",
3521
+ "package": "@microsoft/fast-foundation"
3522
+ },
3523
+ "tagName": "%%prefix%%-accordion",
3524
+ "customElement": true,
3525
+ "attributes": [
3532
3526
  {
3533
- "kind": "field",
3534
- "name": "actions",
3527
+ "name": "expand-mode",
3535
3528
  "type": {
3536
- "text": "ActionMenuItem[]"
3529
+ "text": "AccordionExpandMode"
3530
+ },
3531
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3532
+ "fieldName": "expandmode",
3533
+ "inheritedFrom": {
3534
+ "name": "Accordion",
3535
+ "module": "src/accordion/accordion.ts"
3537
3536
  }
3538
- },
3537
+ }
3538
+ ],
3539
+ "members": [
3539
3540
  {
3540
3541
  "kind": "field",
3541
- "name": "isVertical",
3542
+ "name": "expandmode",
3542
3543
  "type": {
3543
- "text": "boolean"
3544
+ "text": "AccordionExpandMode"
3544
3545
  },
3545
- "default": "false"
3546
+ "privacy": "public",
3547
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3548
+ "inheritedFrom": {
3549
+ "name": "Accordion",
3550
+ "module": "src/accordion/accordion.ts"
3551
+ }
3546
3552
  },
3547
3553
  {
3548
3554
  "kind": "field",
3549
- "name": "addDefaultActions",
3555
+ "name": "activeid",
3550
3556
  "type": {
3551
- "text": "boolean"
3557
+ "text": "string | null"
3552
3558
  },
3553
- "default": "true"
3559
+ "privacy": "private",
3560
+ "inheritedFrom": {
3561
+ "name": "Accordion",
3562
+ "module": "src/accordion/accordion.ts"
3563
+ }
3554
3564
  },
3555
3565
  {
3556
3566
  "kind": "field",
3557
- "name": "autoCloseOnAction",
3567
+ "name": "activeItemIndex",
3558
3568
  "type": {
3559
- "text": "boolean"
3569
+ "text": "number"
3560
3570
  },
3561
- "default": "true"
3562
- },
3563
- {
3564
- "kind": "field",
3565
- "name": "classNames",
3566
- "type": {
3567
- "text": "string"
3571
+ "privacy": "private",
3572
+ "default": "0",
3573
+ "inheritedFrom": {
3574
+ "name": "Accordion",
3575
+ "module": "src/accordion/accordion.ts"
3568
3576
  }
3569
3577
  },
3570
3578
  {
3571
3579
  "kind": "field",
3572
- "name": "definition",
3580
+ "name": "accordionIds",
3573
3581
  "type": {
3574
- "text": "any"
3582
+ "text": "Array<string | null>"
3583
+ },
3584
+ "privacy": "private",
3585
+ "inheritedFrom": {
3586
+ "name": "Accordion",
3587
+ "module": "src/accordion/accordion.ts"
3575
3588
  }
3576
3589
  },
3577
3590
  {
3578
3591
  "kind": "field",
3579
- "name": "name",
3580
- "type": {
3581
- "text": "string"
3582
- },
3583
- "default": "'Actions'"
3592
+ "name": "change",
3593
+ "privacy": "private",
3594
+ "inheritedFrom": {
3595
+ "name": "Accordion",
3596
+ "module": "src/accordion/accordion.ts"
3597
+ }
3584
3598
  },
3585
3599
  {
3586
- "kind": "field",
3587
- "name": "open",
3588
- "type": {
3589
- "text": "boolean"
3600
+ "kind": "method",
3601
+ "name": "findExpandedItem",
3602
+ "privacy": "private",
3603
+ "return": {
3604
+ "type": {
3605
+ "text": "AccordionItem | null"
3606
+ }
3590
3607
  },
3591
- "default": "false"
3592
- },
3593
- {
3594
- "kind": "field",
3595
- "name": "buttonAppearance",
3596
- "type": {
3597
- "text": "string"
3608
+ "inheritedFrom": {
3609
+ "name": "Accordion",
3610
+ "module": "src/accordion/accordion.ts"
3598
3611
  }
3599
3612
  },
3600
3613
  {
3601
3614
  "kind": "field",
3602
- "name": "hideDisabled",
3603
- "type": {
3604
- "text": "boolean"
3605
- },
3606
- "default": "false"
3615
+ "name": "setItems",
3616
+ "privacy": "private",
3617
+ "inheritedFrom": {
3618
+ "name": "Accordion",
3619
+ "module": "src/accordion/accordion.ts"
3620
+ }
3607
3621
  },
3608
3622
  {
3609
- "kind": "field",
3610
- "name": "hideMenuSingleOption",
3611
- "type": {
3612
- "text": "boolean"
3623
+ "kind": "method",
3624
+ "name": "resetItems",
3625
+ "privacy": "private",
3626
+ "return": {
3627
+ "type": {
3628
+ "text": "void"
3629
+ }
3613
3630
  },
3614
- "default": "false"
3631
+ "inheritedFrom": {
3632
+ "name": "Accordion",
3633
+ "module": "src/accordion/accordion.ts"
3634
+ }
3615
3635
  },
3616
3636
  {
3617
3637
  "kind": "field",
3618
- "name": "singleOption",
3619
- "type": {
3620
- "text": "ActionMenuItem"
3638
+ "name": "removeItemListeners",
3639
+ "privacy": "private",
3640
+ "inheritedFrom": {
3641
+ "name": "Accordion",
3642
+ "module": "src/accordion/accordion.ts"
3621
3643
  }
3622
3644
  },
3623
3645
  {
3624
3646
  "kind": "field",
3625
- "name": "actionsMenu",
3626
- "type": {
3627
- "text": "HTMLElement"
3647
+ "name": "activeItemChange",
3648
+ "privacy": "private",
3649
+ "inheritedFrom": {
3650
+ "name": "Accordion",
3651
+ "module": "src/accordion/accordion.ts"
3628
3652
  }
3629
3653
  },
3630
3654
  {
3631
3655
  "kind": "method",
3632
- "name": "definitionChanged",
3633
- "privacy": "protected",
3634
- "parameters": [
3635
- {
3636
- "name": "oldValue",
3637
- "type": {
3638
- "text": "any"
3639
- }
3640
- },
3641
- {
3642
- "name": "newValue",
3643
- "type": {
3644
- "text": "any"
3645
- }
3656
+ "name": "getItemIds",
3657
+ "privacy": "private",
3658
+ "return": {
3659
+ "type": {
3660
+ "text": "Array<string | null>"
3646
3661
  }
3647
- ]
3648
- },
3649
- {
3650
- "kind": "method",
3651
- "name": "openChanged",
3652
- "privacy": "protected"
3653
- },
3654
- {
3655
- "kind": "method",
3656
- "name": "toggleActionsMenuVisibility"
3662
+ },
3663
+ "inheritedFrom": {
3664
+ "name": "Accordion",
3665
+ "module": "src/accordion/accordion.ts"
3666
+ }
3657
3667
  },
3658
3668
  {
3659
3669
  "kind": "method",
3660
- "name": "onActionMenuItemClick",
3661
- "parameters": [
3662
- {
3663
- "name": "callback",
3664
- "type": {
3665
- "text": "(rowData) => void | any"
3666
- }
3670
+ "name": "isSingleExpandMode",
3671
+ "privacy": "private",
3672
+ "return": {
3673
+ "type": {
3674
+ "text": "boolean"
3667
3675
  }
3668
- ]
3676
+ },
3677
+ "inheritedFrom": {
3678
+ "name": "Accordion",
3679
+ "module": "src/accordion/accordion.ts"
3680
+ }
3669
3681
  },
3670
3682
  {
3671
3683
  "kind": "field",
3672
- "name": "allActions",
3673
- "type": {
3674
- "text": "ActionMenuItem[]"
3675
- },
3676
- "readonly": true
3684
+ "name": "handleItemKeyDown",
3685
+ "privacy": "private",
3686
+ "inheritedFrom": {
3687
+ "name": "Accordion",
3688
+ "module": "src/accordion/accordion.ts"
3689
+ }
3677
3690
  },
3678
3691
  {
3679
3692
  "kind": "field",
3680
- "name": "rowData",
3681
- "readonly": true
3693
+ "name": "handleItemFocus",
3694
+ "privacy": "private",
3695
+ "inheritedFrom": {
3696
+ "name": "Accordion",
3697
+ "module": "src/accordion/accordion.ts"
3698
+ }
3682
3699
  },
3683
3700
  {
3684
3701
  "kind": "method",
3685
- "name": "getLabel",
3702
+ "name": "adjust",
3703
+ "privacy": "private",
3704
+ "return": {
3705
+ "type": {
3706
+ "text": "void"
3707
+ }
3708
+ },
3686
3709
  "parameters": [
3687
3710
  {
3688
- "name": "name",
3711
+ "name": "adjustment",
3689
3712
  "type": {
3690
- "text": "string | ((rowData: any) => string)"
3713
+ "text": "number"
3691
3714
  }
3692
3715
  }
3693
- ]
3716
+ ],
3717
+ "inheritedFrom": {
3718
+ "name": "Accordion",
3719
+ "module": "src/accordion/accordion.ts"
3720
+ }
3694
3721
  },
3695
3722
  {
3696
3723
  "kind": "method",
3697
- "name": "getTemplate",
3698
- "parameters": [
3699
- {
3700
- "name": "prefix",
3701
- "type": {
3702
- "text": "string"
3703
- }
3724
+ "name": "focusItem",
3725
+ "privacy": "private",
3726
+ "return": {
3727
+ "type": {
3728
+ "text": "void"
3704
3729
  }
3705
- ]
3730
+ },
3731
+ "inheritedFrom": {
3732
+ "name": "Accordion",
3733
+ "module": "src/accordion/accordion.ts"
3734
+ }
3706
3735
  },
3707
3736
  {
3708
3737
  "kind": "field",
@@ -3816,107 +3845,78 @@
3816
3845
  }
3817
3846
  }
3818
3847
  ],
3819
- "attributes": [
3820
- {
3821
- "name": "is-vertical",
3822
- "type": {
3823
- "text": "boolean"
3824
- },
3825
- "default": "false",
3826
- "fieldName": "isVertical"
3827
- },
3828
- {
3829
- "name": "add-default-actions",
3830
- "type": {
3831
- "text": "boolean"
3832
- },
3833
- "default": "true",
3834
- "fieldName": "addDefaultActions"
3835
- },
3836
- {
3837
- "name": "auto-close-on-action",
3838
- "type": {
3839
- "text": "boolean"
3840
- },
3841
- "default": "true",
3842
- "fieldName": "autoCloseOnAction"
3843
- },
3844
- {
3845
- "name": "name",
3846
- "type": {
3847
- "text": "string"
3848
- },
3849
- "default": "'Actions'",
3850
- "fieldName": "name"
3851
- },
3852
- {
3853
- "name": "open",
3854
- "type": {
3855
- "text": "boolean"
3856
- },
3857
- "default": "false",
3858
- "fieldName": "open"
3859
- },
3860
- {
3861
- "name": "buttonAppearance",
3862
- "type": {
3863
- "text": "string"
3864
- },
3865
- "fieldName": "buttonAppearance"
3866
- },
3867
- {
3868
- "name": "hide-disabled",
3869
- "type": {
3870
- "text": "boolean"
3871
- },
3872
- "default": "false",
3873
- "fieldName": "hideDisabled"
3874
- },
3848
+ "events": [
3875
3849
  {
3876
- "name": "hide-menu-single-option",
3877
- "type": {
3878
- "text": "boolean"
3879
- },
3880
- "default": "false",
3881
- "fieldName": "hideMenuSingleOption"
3850
+ "description": "Fires a custom 'change' event when the active item changes",
3851
+ "name": "change",
3852
+ "inheritedFrom": {
3853
+ "name": "Accordion",
3854
+ "module": "src/accordion/accordion.ts"
3855
+ }
3882
3856
  }
3883
- ],
3884
- "superclass": {
3885
- "name": "FoundationElement",
3886
- "package": "@microsoft/fast-foundation"
3857
+ ]
3858
+ },
3859
+ {
3860
+ "kind": "variable",
3861
+ "name": "foundationAccordionShadowOptions",
3862
+ "type": {
3863
+ "text": "ShadowRootInit"
3887
3864
  },
3888
- "tagName": "%%prefix%%-actions-menu",
3889
- "customElement": true
3865
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3890
3866
  },
3891
3867
  {
3892
3868
  "kind": "variable",
3893
- "name": "foundationActionsMenu",
3894
- "description": "The Foundation Actions Menu",
3869
+ "name": "defaultAccordionConfig",
3870
+ "type": {
3871
+ "text": "object"
3872
+ },
3873
+ "default": "{}"
3874
+ },
3875
+ {
3876
+ "kind": "variable",
3877
+ "name": "foundationAccordion",
3878
+ "description": "The Foundation Accordion",
3895
3879
  "privacy": "public"
3896
3880
  }
3897
3881
  ],
3898
3882
  "exports": [
3899
3883
  {
3900
3884
  "kind": "js",
3901
- "name": "ActionsMenu",
3885
+ "name": "Accordion",
3902
3886
  "declaration": {
3903
- "name": "ActionsMenu",
3904
- "module": "src/actions-menu/actions-menu.ts"
3887
+ "name": "Accordion",
3888
+ "module": "src/accordion/accordion.ts"
3905
3889
  }
3906
3890
  },
3907
3891
  {
3908
3892
  "kind": "js",
3909
- "name": "foundationActionsMenu",
3893
+ "name": "foundationAccordionShadowOptions",
3910
3894
  "declaration": {
3911
- "name": "foundationActionsMenu",
3912
- "module": "src/actions-menu/actions-menu.ts"
3895
+ "name": "foundationAccordionShadowOptions",
3896
+ "module": "src/accordion/accordion.ts"
3897
+ }
3898
+ },
3899
+ {
3900
+ "kind": "js",
3901
+ "name": "defaultAccordionConfig",
3902
+ "declaration": {
3903
+ "name": "defaultAccordionConfig",
3904
+ "module": "src/accordion/accordion.ts"
3905
+ }
3906
+ },
3907
+ {
3908
+ "kind": "js",
3909
+ "name": "foundationAccordion",
3910
+ "declaration": {
3911
+ "name": "foundationAccordion",
3912
+ "module": "src/accordion/accordion.ts"
3913
3913
  }
3914
3914
  }
3915
3915
  ]
3916
3916
  },
3917
3917
  {
3918
3918
  "kind": "javascript-module",
3919
- "path": "src/actions-menu/index.ts",
3919
+ "path": "src/accordion/index.ts",
3920
3920
  "declarations": [],
3921
3921
  "exports": [
3922
3922
  {
@@ -3924,7 +3924,7 @@
3924
3924
  "name": "*",
3925
3925
  "declaration": {
3926
3926
  "name": "*",
3927
- "package": "./actions-menu.styles"
3927
+ "package": "./accordion.template"
3928
3928
  }
3929
3929
  },
3930
3930
  {
@@ -3932,7 +3932,7 @@
3932
3932
  "name": "*",
3933
3933
  "declaration": {
3934
3934
  "name": "*",
3935
- "package": "./actions-menu.template"
3935
+ "package": "./accordion.styles"
3936
3936
  }
3937
3937
  },
3938
3938
  {
@@ -3940,7 +3940,7 @@
3940
3940
  "name": "*",
3941
3941
  "declaration": {
3942
3942
  "name": "*",
3943
- "package": "./actions-menu"
3943
+ "package": "./accordion"
3944
3944
  }
3945
3945
  }
3946
3946
  ]