@genesislcap/foundation-ui 14.367.1-FUI-2341-3.2 → 14.367.1-FUI-2341-3.4

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +440 -440
  2. package/package.json +18 -18
@@ -1478,34 +1478,11 @@
1478
1478
  },
1479
1479
  {
1480
1480
  "kind": "javascript-module",
1481
- "path": "src/actions-menu/actions-menu.styles.ts",
1481
+ "path": "src/accordion-item/accordion-item.styles.ts",
1482
1482
  "declarations": [
1483
1483
  {
1484
1484
  "kind": "function",
1485
- "name": "actionsMenuBaseStyles",
1486
- "return": {
1487
- "type": {
1488
- "text": "ElementStyles"
1489
- }
1490
- },
1491
- "parameters": [
1492
- {
1493
- "name": "context",
1494
- "type": {
1495
- "text": "ElementDefinitionContext"
1496
- }
1497
- },
1498
- {
1499
- "name": "definition",
1500
- "type": {
1501
- "text": "FoundationElementDefinition"
1502
- }
1503
- }
1504
- ]
1505
- },
1506
- {
1507
- "kind": "function",
1508
- "name": "foundationActionsMenuStyles",
1485
+ "name": "foundationAccordionItemStyles",
1509
1486
  "return": {
1510
1487
  "type": {
1511
1488
  "text": "ElementStyles"
@@ -1530,270 +1507,157 @@
1530
1507
  "exports": [
1531
1508
  {
1532
1509
  "kind": "js",
1533
- "name": "actionsMenuBaseStyles",
1534
- "declaration": {
1535
- "name": "actionsMenuBaseStyles",
1536
- "module": "src/actions-menu/actions-menu.styles.ts"
1537
- }
1538
- },
1539
- {
1540
- "kind": "js",
1541
- "name": "foundationActionsMenuStyles",
1510
+ "name": "foundationAccordionItemStyles",
1542
1511
  "declaration": {
1543
- "name": "foundationActionsMenuStyles",
1544
- "module": "src/actions-menu/actions-menu.styles.ts"
1512
+ "name": "foundationAccordionItemStyles",
1513
+ "module": "src/accordion-item/accordion-item.styles.ts"
1545
1514
  }
1546
1515
  }
1547
1516
  ]
1548
1517
  },
1549
1518
  {
1550
1519
  "kind": "javascript-module",
1551
- "path": "src/actions-menu/actions-menu.template.ts",
1520
+ "path": "src/accordion-item/accordion-item.template.ts",
1552
1521
  "declarations": [
1553
1522
  {
1554
1523
  "kind": "function",
1555
- "name": "menuTemplate",
1524
+ "name": "foundationAccordionItemTemplate",
1525
+ "return": {
1526
+ "type": {
1527
+ "text": "ViewTemplate<AccordionItem>"
1528
+ }
1529
+ },
1556
1530
  "parameters": [
1557
1531
  {
1558
- "name": "prefix",
1532
+ "name": "context",
1559
1533
  "type": {
1560
- "text": "string"
1534
+ "text": "ElementDefinitionContext"
1561
1535
  }
1562
- }
1563
- ]
1564
- },
1565
- {
1566
- "kind": "function",
1567
- "name": "singleOptionTemplate",
1568
- "parameters": [
1536
+ },
1569
1537
  {
1570
- "name": "prefix",
1538
+ "name": "definition",
1571
1539
  "type": {
1572
- "text": "string"
1540
+ "text": "FoundationElementDefinition"
1573
1541
  }
1574
1542
  }
1575
1543
  ]
1576
- },
1577
- {
1578
- "kind": "variable",
1579
- "name": "foundationActionsMenuTemplate",
1580
- "type": {
1581
- "text": "ViewTemplate<ActionsMenu>"
1582
- },
1583
- "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`"
1584
1544
  }
1585
1545
  ],
1586
1546
  "exports": [
1587
1547
  {
1588
1548
  "kind": "js",
1589
- "name": "menuTemplate",
1590
- "declaration": {
1591
- "name": "menuTemplate",
1592
- "module": "src/actions-menu/actions-menu.template.ts"
1593
- }
1594
- },
1595
- {
1596
- "kind": "js",
1597
- "name": "singleOptionTemplate",
1598
- "declaration": {
1599
- "name": "singleOptionTemplate",
1600
- "module": "src/actions-menu/actions-menu.template.ts"
1601
- }
1602
- },
1603
- {
1604
- "kind": "js",
1605
- "name": "foundationActionsMenuTemplate",
1549
+ "name": "foundationAccordionItemTemplate",
1606
1550
  "declaration": {
1607
- "name": "foundationActionsMenuTemplate",
1608
- "module": "src/actions-menu/actions-menu.template.ts"
1551
+ "name": "foundationAccordionItemTemplate",
1552
+ "module": "src/accordion-item/accordion-item.template.ts"
1609
1553
  }
1610
1554
  }
1611
1555
  ]
1612
1556
  },
1613
1557
  {
1614
1558
  "kind": "javascript-module",
1615
- "path": "src/actions-menu/actions-menu.ts",
1559
+ "path": "src/accordion-item/accordion-item.ts",
1616
1560
  "declarations": [
1617
1561
  {
1618
1562
  "kind": "class",
1619
1563
  "description": "",
1620
- "name": "ActionsMenu",
1621
- "members": [
1622
- {
1623
- "kind": "field",
1624
- "name": "actions",
1625
- "type": {
1626
- "text": "ActionMenuItem[]"
1627
- }
1628
- },
1629
- {
1630
- "kind": "field",
1631
- "name": "isVertical",
1632
- "type": {
1633
- "text": "boolean"
1634
- },
1635
- "default": "false"
1636
- },
1564
+ "name": "AccordionItem",
1565
+ "superclass": {
1566
+ "name": "FASTAccordionItem",
1567
+ "package": "@microsoft/fast-components"
1568
+ },
1569
+ "tagName": "%%prefix%%-accordion-item",
1570
+ "customElement": true,
1571
+ "attributes": [
1637
1572
  {
1638
- "kind": "field",
1639
- "name": "addDefaultActions",
1573
+ "name": "heading-level",
1640
1574
  "type": {
1641
- "text": "boolean"
1575
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1642
1576
  },
1643
- "default": "true"
1577
+ "default": "2",
1578
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1579
+ "fieldName": "headinglevel",
1580
+ "inheritedFrom": {
1581
+ "name": "AccordionItem",
1582
+ "module": "src/accordion-item/accordion-item.ts"
1583
+ }
1644
1584
  },
1645
1585
  {
1646
- "kind": "field",
1647
- "name": "autoCloseOnAction",
1648
1586
  "type": {
1649
1587
  "text": "boolean"
1650
1588
  },
1651
- "default": "true"
1652
- },
1653
- {
1654
- "kind": "field",
1655
- "name": "classNames",
1656
- "type": {
1657
- "text": "string"
1658
- }
1659
- },
1660
- {
1661
- "kind": "field",
1662
- "name": "definition",
1663
- "type": {
1664
- "text": "any"
1589
+ "default": "false",
1590
+ "description": "Expands or collapses the item.",
1591
+ "fieldName": "expanded",
1592
+ "inheritedFrom": {
1593
+ "name": "AccordionItem",
1594
+ "module": "src/accordion-item/accordion-item.ts"
1665
1595
  }
1666
1596
  },
1667
1597
  {
1668
- "kind": "field",
1669
- "name": "name",
1598
+ "name": "id",
1670
1599
  "type": {
1671
1600
  "text": "string"
1672
1601
  },
1673
- "default": "'Actions'"
1674
- },
1602
+ "description": "The item ID",
1603
+ "fieldName": "id",
1604
+ "inheritedFrom": {
1605
+ "name": "AccordionItem",
1606
+ "module": "src/accordion-item/accordion-item.ts"
1607
+ }
1608
+ }
1609
+ ],
1610
+ "members": [
1675
1611
  {
1676
1612
  "kind": "field",
1677
- "name": "open",
1613
+ "name": "headinglevel",
1678
1614
  "type": {
1679
- "text": "boolean"
1615
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1680
1616
  },
1681
- "default": "false"
1682
- },
1683
- {
1684
- "kind": "field",
1685
- "name": "buttonAppearance",
1686
- "type": {
1687
- "text": "string"
1617
+ "privacy": "public",
1618
+ "default": "2",
1619
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1620
+ "inheritedFrom": {
1621
+ "name": "AccordionItem",
1622
+ "module": "src/accordion-item/accordion-item.ts"
1688
1623
  }
1689
1624
  },
1690
1625
  {
1691
1626
  "kind": "field",
1692
- "name": "hideDisabled",
1627
+ "name": "expanded",
1693
1628
  "type": {
1694
1629
  "text": "boolean"
1695
1630
  },
1696
- "default": "false"
1631
+ "privacy": "public",
1632
+ "default": "false",
1633
+ "description": "Expands or collapses the item.",
1634
+ "inheritedFrom": {
1635
+ "name": "AccordionItem",
1636
+ "module": "src/accordion-item/accordion-item.ts"
1637
+ }
1697
1638
  },
1698
1639
  {
1699
1640
  "kind": "field",
1700
- "name": "hideMenuSingleOption",
1641
+ "name": "id",
1701
1642
  "type": {
1702
- "text": "boolean"
1643
+ "text": "string"
1703
1644
  },
1704
- "default": "false"
1705
- },
1706
- {
1707
- "kind": "field",
1708
- "name": "singleOption",
1709
- "type": {
1710
- "text": "ActionMenuItem"
1645
+ "privacy": "public",
1646
+ "description": "The item ID",
1647
+ "inheritedFrom": {
1648
+ "name": "AccordionItem",
1649
+ "module": "src/accordion-item/accordion-item.ts"
1711
1650
  }
1712
1651
  },
1713
1652
  {
1714
1653
  "kind": "field",
1715
- "name": "actionsMenu",
1716
- "type": {
1717
- "text": "HTMLElement"
1654
+ "name": "change",
1655
+ "privacy": "private",
1656
+ "inheritedFrom": {
1657
+ "name": "AccordionItem",
1658
+ "module": "src/accordion-item/accordion-item.ts"
1718
1659
  }
1719
1660
  },
1720
- {
1721
- "kind": "method",
1722
- "name": "definitionChanged",
1723
- "privacy": "protected",
1724
- "parameters": [
1725
- {
1726
- "name": "oldValue",
1727
- "type": {
1728
- "text": "any"
1729
- }
1730
- },
1731
- {
1732
- "name": "newValue",
1733
- "type": {
1734
- "text": "any"
1735
- }
1736
- }
1737
- ]
1738
- },
1739
- {
1740
- "kind": "method",
1741
- "name": "openChanged",
1742
- "privacy": "protected"
1743
- },
1744
- {
1745
- "kind": "method",
1746
- "name": "toggleActionsMenuVisibility"
1747
- },
1748
- {
1749
- "kind": "method",
1750
- "name": "onActionMenuItemClick",
1751
- "parameters": [
1752
- {
1753
- "name": "callback",
1754
- "type": {
1755
- "text": "(rowData) => void | any"
1756
- }
1757
- }
1758
- ]
1759
- },
1760
- {
1761
- "kind": "field",
1762
- "name": "allActions",
1763
- "type": {
1764
- "text": "ActionMenuItem[]"
1765
- },
1766
- "readonly": true
1767
- },
1768
- {
1769
- "kind": "field",
1770
- "name": "rowData",
1771
- "readonly": true
1772
- },
1773
- {
1774
- "kind": "method",
1775
- "name": "getLabel",
1776
- "parameters": [
1777
- {
1778
- "name": "name",
1779
- "type": {
1780
- "text": "string | ((rowData: any) => string)"
1781
- }
1782
- }
1783
- ]
1784
- },
1785
- {
1786
- "kind": "method",
1787
- "name": "getTemplate",
1788
- "parameters": [
1789
- {
1790
- "name": "prefix",
1791
- "type": {
1792
- "text": "string"
1793
- }
1794
- }
1795
- ]
1796
- },
1797
1661
  {
1798
1662
  "kind": "field",
1799
1663
  "name": "_presentation",
@@ -1901,112 +1765,83 @@
1901
1765
  ],
1902
1766
  "description": "Defines an element registry function with a set of element definition defaults.",
1903
1767
  "inheritedFrom": {
1904
- "name": "FoundationElement",
1905
- "module": "src/foundation-element/foundation-element.ts"
1906
- }
1907
- }
1908
- ],
1909
- "attributes": [
1910
- {
1911
- "name": "is-vertical",
1912
- "type": {
1913
- "text": "boolean"
1914
- },
1915
- "default": "false",
1916
- "fieldName": "isVertical"
1917
- },
1918
- {
1919
- "name": "add-default-actions",
1920
- "type": {
1921
- "text": "boolean"
1922
- },
1923
- "default": "true",
1924
- "fieldName": "addDefaultActions"
1925
- },
1926
- {
1927
- "name": "auto-close-on-action",
1928
- "type": {
1929
- "text": "boolean"
1930
- },
1931
- "default": "true",
1932
- "fieldName": "autoCloseOnAction"
1933
- },
1934
- {
1935
- "name": "name",
1936
- "type": {
1937
- "text": "string"
1938
- },
1939
- "default": "'Actions'",
1940
- "fieldName": "name"
1941
- },
1942
- {
1943
- "name": "open",
1944
- "type": {
1945
- "text": "boolean"
1946
- },
1947
- "default": "false",
1948
- "fieldName": "open"
1949
- },
1950
- {
1951
- "name": "buttonAppearance",
1952
- "type": {
1953
- "text": "string"
1954
- },
1955
- "fieldName": "buttonAppearance"
1956
- },
1957
- {
1958
- "name": "hide-disabled",
1959
- "type": {
1960
- "text": "boolean"
1961
- },
1962
- "default": "false",
1963
- "fieldName": "hideDisabled"
1964
- },
1965
- {
1966
- "name": "hide-menu-single-option",
1967
- "type": {
1968
- "text": "boolean"
1969
- },
1970
- "default": "false",
1971
- "fieldName": "hideMenuSingleOption"
1768
+ "name": "FoundationElement",
1769
+ "module": "src/foundation-element/foundation-element.ts"
1770
+ }
1972
1771
  }
1973
1772
  ],
1974
- "superclass": {
1975
- "name": "FoundationElement",
1976
- "package": "@microsoft/fast-foundation"
1773
+ "events": [
1774
+ {
1775
+ "description": "Fires a custom 'change' event when the button is invoked",
1776
+ "name": "change",
1777
+ "inheritedFrom": {
1778
+ "name": "AccordionItem",
1779
+ "module": "src/accordion-item/accordion-item.ts"
1780
+ }
1781
+ }
1782
+ ]
1783
+ },
1784
+ {
1785
+ "kind": "variable",
1786
+ "name": "foundationAccordionItemShadowOptions",
1787
+ "type": {
1788
+ "text": "ShadowRootInit"
1977
1789
  },
1978
- "tagName": "%%prefix%%-actions-menu",
1979
- "customElement": true
1790
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1980
1791
  },
1981
1792
  {
1982
1793
  "kind": "variable",
1983
- "name": "foundationActionsMenu",
1984
- "description": "The Foundation Actions Menu",
1794
+ "name": "defaultAccordionItemConfig",
1795
+ "type": {
1796
+ "text": "object"
1797
+ },
1798
+ "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}"
1799
+ },
1800
+ {
1801
+ "kind": "variable",
1802
+ "name": "foundationAccordionItem",
1803
+ "description": "The Foundation Accordion Item",
1985
1804
  "privacy": "public"
1986
1805
  }
1987
1806
  ],
1988
1807
  "exports": [
1989
1808
  {
1990
1809
  "kind": "js",
1991
- "name": "ActionsMenu",
1810
+ "name": "AccordionItem",
1992
1811
  "declaration": {
1993
- "name": "ActionsMenu",
1994
- "module": "src/actions-menu/actions-menu.ts"
1812
+ "name": "AccordionItem",
1813
+ "module": "src/accordion-item/accordion-item.ts"
1995
1814
  }
1996
1815
  },
1997
1816
  {
1998
1817
  "kind": "js",
1999
- "name": "foundationActionsMenu",
1818
+ "name": "foundationAccordionItemShadowOptions",
2000
1819
  "declaration": {
2001
- "name": "foundationActionsMenu",
2002
- "module": "src/actions-menu/actions-menu.ts"
1820
+ "name": "foundationAccordionItemShadowOptions",
1821
+ "module": "src/accordion-item/accordion-item.ts"
1822
+ }
1823
+ },
1824
+ {
1825
+ "kind": "js",
1826
+ "name": "defaultAccordionItemConfig",
1827
+ "declaration": {
1828
+ "name": "defaultAccordionItemConfig",
1829
+ "module": "src/accordion-item/accordion-item.ts"
1830
+ }
1831
+ },
1832
+ {
1833
+ "kind": "js",
1834
+ "name": "foundationAccordionItem",
1835
+ "declaration": {
1836
+ "name": "foundationAccordionItem",
1837
+ "module": "src/accordion-item/accordion-item.ts"
2003
1838
  }
2004
1839
  }
2005
1840
  ]
2006
1841
  },
2007
1842
  {
2008
1843
  "kind": "javascript-module",
2009
- "path": "src/actions-menu/index.ts",
1844
+ "path": "src/accordion-item/index.ts",
2010
1845
  "declarations": [],
2011
1846
  "exports": [
2012
1847
  {
@@ -2014,7 +1849,7 @@
2014
1849
  "name": "*",
2015
1850
  "declaration": {
2016
1851
  "name": "*",
2017
- "package": "./actions-menu.styles"
1852
+ "package": "./accordion-item.template"
2018
1853
  }
2019
1854
  },
2020
1855
  {
@@ -2022,7 +1857,7 @@
2022
1857
  "name": "*",
2023
1858
  "declaration": {
2024
1859
  "name": "*",
2025
- "package": "./actions-menu.template"
1860
+ "package": "./accordion-item.styles"
2026
1861
  }
2027
1862
  },
2028
1863
  {
@@ -2030,18 +1865,41 @@
2030
1865
  "name": "*",
2031
1866
  "declaration": {
2032
1867
  "name": "*",
2033
- "package": "./actions-menu"
1868
+ "package": "./accordion-item"
2034
1869
  }
2035
1870
  }
2036
1871
  ]
2037
1872
  },
2038
1873
  {
2039
1874
  "kind": "javascript-module",
2040
- "path": "src/accordion-item/accordion-item.styles.ts",
1875
+ "path": "src/actions-menu/actions-menu.styles.ts",
2041
1876
  "declarations": [
2042
1877
  {
2043
1878
  "kind": "function",
2044
- "name": "foundationAccordionItemStyles",
1879
+ "name": "actionsMenuBaseStyles",
1880
+ "return": {
1881
+ "type": {
1882
+ "text": "ElementStyles"
1883
+ }
1884
+ },
1885
+ "parameters": [
1886
+ {
1887
+ "name": "context",
1888
+ "type": {
1889
+ "text": "ElementDefinitionContext"
1890
+ }
1891
+ },
1892
+ {
1893
+ "name": "definition",
1894
+ "type": {
1895
+ "text": "FoundationElementDefinition"
1896
+ }
1897
+ }
1898
+ ]
1899
+ },
1900
+ {
1901
+ "kind": "function",
1902
+ "name": "foundationActionsMenuStyles",
2045
1903
  "return": {
2046
1904
  "type": {
2047
1905
  "text": "ElementStyles"
@@ -2066,156 +1924,269 @@
2066
1924
  "exports": [
2067
1925
  {
2068
1926
  "kind": "js",
2069
- "name": "foundationAccordionItemStyles",
1927
+ "name": "actionsMenuBaseStyles",
2070
1928
  "declaration": {
2071
- "name": "foundationAccordionItemStyles",
2072
- "module": "src/accordion-item/accordion-item.styles.ts"
1929
+ "name": "actionsMenuBaseStyles",
1930
+ "module": "src/actions-menu/actions-menu.styles.ts"
1931
+ }
1932
+ },
1933
+ {
1934
+ "kind": "js",
1935
+ "name": "foundationActionsMenuStyles",
1936
+ "declaration": {
1937
+ "name": "foundationActionsMenuStyles",
1938
+ "module": "src/actions-menu/actions-menu.styles.ts"
2073
1939
  }
2074
1940
  }
2075
1941
  ]
2076
1942
  },
2077
1943
  {
2078
1944
  "kind": "javascript-module",
2079
- "path": "src/accordion-item/accordion-item.template.ts",
1945
+ "path": "src/actions-menu/actions-menu.template.ts",
2080
1946
  "declarations": [
2081
1947
  {
2082
1948
  "kind": "function",
2083
- "name": "foundationAccordionItemTemplate",
2084
- "return": {
2085
- "type": {
2086
- "text": "ViewTemplate<AccordionItem>"
2087
- }
2088
- },
1949
+ "name": "menuTemplate",
2089
1950
  "parameters": [
2090
1951
  {
2091
- "name": "context",
1952
+ "name": "prefix",
2092
1953
  "type": {
2093
- "text": "ElementDefinitionContext"
1954
+ "text": "string"
2094
1955
  }
2095
- },
1956
+ }
1957
+ ]
1958
+ },
1959
+ {
1960
+ "kind": "function",
1961
+ "name": "singleOptionTemplate",
1962
+ "parameters": [
2096
1963
  {
2097
- "name": "definition",
1964
+ "name": "prefix",
2098
1965
  "type": {
2099
- "text": "FoundationElementDefinition"
1966
+ "text": "string"
2100
1967
  }
2101
1968
  }
2102
1969
  ]
1970
+ },
1971
+ {
1972
+ "kind": "variable",
1973
+ "name": "foundationActionsMenuTemplate",
1974
+ "type": {
1975
+ "text": "ViewTemplate<ActionsMenu>"
1976
+ },
1977
+ "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`"
2103
1978
  }
2104
1979
  ],
2105
1980
  "exports": [
2106
1981
  {
2107
1982
  "kind": "js",
2108
- "name": "foundationAccordionItemTemplate",
1983
+ "name": "menuTemplate",
2109
1984
  "declaration": {
2110
- "name": "foundationAccordionItemTemplate",
2111
- "module": "src/accordion-item/accordion-item.template.ts"
1985
+ "name": "menuTemplate",
1986
+ "module": "src/actions-menu/actions-menu.template.ts"
1987
+ }
1988
+ },
1989
+ {
1990
+ "kind": "js",
1991
+ "name": "singleOptionTemplate",
1992
+ "declaration": {
1993
+ "name": "singleOptionTemplate",
1994
+ "module": "src/actions-menu/actions-menu.template.ts"
1995
+ }
1996
+ },
1997
+ {
1998
+ "kind": "js",
1999
+ "name": "foundationActionsMenuTemplate",
2000
+ "declaration": {
2001
+ "name": "foundationActionsMenuTemplate",
2002
+ "module": "src/actions-menu/actions-menu.template.ts"
2112
2003
  }
2113
2004
  }
2114
2005
  ]
2115
2006
  },
2116
2007
  {
2117
2008
  "kind": "javascript-module",
2118
- "path": "src/accordion-item/accordion-item.ts",
2009
+ "path": "src/actions-menu/actions-menu.ts",
2119
2010
  "declarations": [
2120
2011
  {
2121
2012
  "kind": "class",
2122
2013
  "description": "",
2123
- "name": "AccordionItem",
2124
- "superclass": {
2125
- "name": "FASTAccordionItem",
2126
- "package": "@microsoft/fast-components"
2127
- },
2128
- "tagName": "%%prefix%%-accordion-item",
2129
- "customElement": true,
2130
- "attributes": [
2014
+ "name": "ActionsMenu",
2015
+ "members": [
2131
2016
  {
2132
- "name": "heading-level",
2017
+ "kind": "field",
2018
+ "name": "actions",
2133
2019
  "type": {
2134
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2020
+ "text": "ActionMenuItem[]"
2021
+ }
2022
+ },
2023
+ {
2024
+ "kind": "field",
2025
+ "name": "isVertical",
2026
+ "type": {
2027
+ "text": "boolean"
2135
2028
  },
2136
- "default": "2",
2137
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2138
- "fieldName": "headinglevel",
2139
- "inheritedFrom": {
2140
- "name": "AccordionItem",
2141
- "module": "src/accordion-item/accordion-item.ts"
2029
+ "default": "false"
2030
+ },
2031
+ {
2032
+ "kind": "field",
2033
+ "name": "addDefaultActions",
2034
+ "type": {
2035
+ "text": "boolean"
2036
+ },
2037
+ "default": "true"
2038
+ },
2039
+ {
2040
+ "kind": "field",
2041
+ "name": "autoCloseOnAction",
2042
+ "type": {
2043
+ "text": "boolean"
2044
+ },
2045
+ "default": "true"
2046
+ },
2047
+ {
2048
+ "kind": "field",
2049
+ "name": "classNames",
2050
+ "type": {
2051
+ "text": "string"
2052
+ }
2053
+ },
2054
+ {
2055
+ "kind": "field",
2056
+ "name": "definition",
2057
+ "type": {
2058
+ "text": "any"
2142
2059
  }
2143
2060
  },
2144
2061
  {
2062
+ "kind": "field",
2063
+ "name": "name",
2064
+ "type": {
2065
+ "text": "string"
2066
+ },
2067
+ "default": "'Actions'"
2068
+ },
2069
+ {
2070
+ "kind": "field",
2071
+ "name": "open",
2145
2072
  "type": {
2146
2073
  "text": "boolean"
2147
2074
  },
2148
- "default": "false",
2149
- "description": "Expands or collapses the item.",
2150
- "fieldName": "expanded",
2151
- "inheritedFrom": {
2152
- "name": "AccordionItem",
2153
- "module": "src/accordion-item/accordion-item.ts"
2075
+ "default": "false"
2076
+ },
2077
+ {
2078
+ "kind": "field",
2079
+ "name": "buttonAppearance",
2080
+ "type": {
2081
+ "text": "string"
2154
2082
  }
2155
2083
  },
2156
2084
  {
2157
- "name": "id",
2085
+ "kind": "field",
2086
+ "name": "hideDisabled",
2087
+ "type": {
2088
+ "text": "boolean"
2089
+ },
2090
+ "default": "false"
2091
+ },
2092
+ {
2093
+ "kind": "field",
2094
+ "name": "hideMenuSingleOption",
2158
2095
  "type": {
2159
- "text": "string"
2096
+ "text": "boolean"
2160
2097
  },
2161
- "description": "The item ID",
2162
- "fieldName": "id",
2163
- "inheritedFrom": {
2164
- "name": "AccordionItem",
2165
- "module": "src/accordion-item/accordion-item.ts"
2166
- }
2167
- }
2168
- ],
2169
- "members": [
2098
+ "default": "false"
2099
+ },
2170
2100
  {
2171
2101
  "kind": "field",
2172
- "name": "headinglevel",
2102
+ "name": "singleOption",
2173
2103
  "type": {
2174
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2175
- },
2176
- "privacy": "public",
2177
- "default": "2",
2178
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2179
- "inheritedFrom": {
2180
- "name": "AccordionItem",
2181
- "module": "src/accordion-item/accordion-item.ts"
2104
+ "text": "ActionMenuItem"
2182
2105
  }
2183
2106
  },
2184
2107
  {
2185
2108
  "kind": "field",
2186
- "name": "expanded",
2109
+ "name": "actionsMenu",
2187
2110
  "type": {
2188
- "text": "boolean"
2189
- },
2190
- "privacy": "public",
2191
- "default": "false",
2192
- "description": "Expands or collapses the item.",
2193
- "inheritedFrom": {
2194
- "name": "AccordionItem",
2195
- "module": "src/accordion-item/accordion-item.ts"
2111
+ "text": "HTMLElement"
2196
2112
  }
2197
2113
  },
2114
+ {
2115
+ "kind": "method",
2116
+ "name": "definitionChanged",
2117
+ "privacy": "protected",
2118
+ "parameters": [
2119
+ {
2120
+ "name": "oldValue",
2121
+ "type": {
2122
+ "text": "any"
2123
+ }
2124
+ },
2125
+ {
2126
+ "name": "newValue",
2127
+ "type": {
2128
+ "text": "any"
2129
+ }
2130
+ }
2131
+ ]
2132
+ },
2133
+ {
2134
+ "kind": "method",
2135
+ "name": "openChanged",
2136
+ "privacy": "protected"
2137
+ },
2138
+ {
2139
+ "kind": "method",
2140
+ "name": "toggleActionsMenuVisibility"
2141
+ },
2142
+ {
2143
+ "kind": "method",
2144
+ "name": "onActionMenuItemClick",
2145
+ "parameters": [
2146
+ {
2147
+ "name": "callback",
2148
+ "type": {
2149
+ "text": "(rowData) => void | any"
2150
+ }
2151
+ }
2152
+ ]
2153
+ },
2198
2154
  {
2199
2155
  "kind": "field",
2200
- "name": "id",
2156
+ "name": "allActions",
2201
2157
  "type": {
2202
- "text": "string"
2158
+ "text": "ActionMenuItem[]"
2203
2159
  },
2204
- "privacy": "public",
2205
- "description": "The item ID",
2206
- "inheritedFrom": {
2207
- "name": "AccordionItem",
2208
- "module": "src/accordion-item/accordion-item.ts"
2209
- }
2160
+ "readonly": true
2210
2161
  },
2211
2162
  {
2212
2163
  "kind": "field",
2213
- "name": "change",
2214
- "privacy": "private",
2215
- "inheritedFrom": {
2216
- "name": "AccordionItem",
2217
- "module": "src/accordion-item/accordion-item.ts"
2218
- }
2164
+ "name": "rowData",
2165
+ "readonly": true
2166
+ },
2167
+ {
2168
+ "kind": "method",
2169
+ "name": "getLabel",
2170
+ "parameters": [
2171
+ {
2172
+ "name": "name",
2173
+ "type": {
2174
+ "text": "string | ((rowData: any) => string)"
2175
+ }
2176
+ }
2177
+ ]
2178
+ },
2179
+ {
2180
+ "kind": "method",
2181
+ "name": "getTemplate",
2182
+ "parameters": [
2183
+ {
2184
+ "name": "prefix",
2185
+ "type": {
2186
+ "text": "string"
2187
+ }
2188
+ }
2189
+ ]
2219
2190
  },
2220
2191
  {
2221
2192
  "kind": "field",
@@ -2329,78 +2300,107 @@
2329
2300
  }
2330
2301
  }
2331
2302
  ],
2332
- "events": [
2303
+ "attributes": [
2333
2304
  {
2334
- "description": "Fires a custom 'change' event when the button is invoked",
2335
- "name": "change",
2336
- "inheritedFrom": {
2337
- "name": "AccordionItem",
2338
- "module": "src/accordion-item/accordion-item.ts"
2339
- }
2305
+ "name": "is-vertical",
2306
+ "type": {
2307
+ "text": "boolean"
2308
+ },
2309
+ "default": "false",
2310
+ "fieldName": "isVertical"
2311
+ },
2312
+ {
2313
+ "name": "add-default-actions",
2314
+ "type": {
2315
+ "text": "boolean"
2316
+ },
2317
+ "default": "true",
2318
+ "fieldName": "addDefaultActions"
2319
+ },
2320
+ {
2321
+ "name": "auto-close-on-action",
2322
+ "type": {
2323
+ "text": "boolean"
2324
+ },
2325
+ "default": "true",
2326
+ "fieldName": "autoCloseOnAction"
2327
+ },
2328
+ {
2329
+ "name": "name",
2330
+ "type": {
2331
+ "text": "string"
2332
+ },
2333
+ "default": "'Actions'",
2334
+ "fieldName": "name"
2335
+ },
2336
+ {
2337
+ "name": "open",
2338
+ "type": {
2339
+ "text": "boolean"
2340
+ },
2341
+ "default": "false",
2342
+ "fieldName": "open"
2343
+ },
2344
+ {
2345
+ "name": "buttonAppearance",
2346
+ "type": {
2347
+ "text": "string"
2348
+ },
2349
+ "fieldName": "buttonAppearance"
2350
+ },
2351
+ {
2352
+ "name": "hide-disabled",
2353
+ "type": {
2354
+ "text": "boolean"
2355
+ },
2356
+ "default": "false",
2357
+ "fieldName": "hideDisabled"
2358
+ },
2359
+ {
2360
+ "name": "hide-menu-single-option",
2361
+ "type": {
2362
+ "text": "boolean"
2363
+ },
2364
+ "default": "false",
2365
+ "fieldName": "hideMenuSingleOption"
2340
2366
  }
2341
- ]
2342
- },
2343
- {
2344
- "kind": "variable",
2345
- "name": "foundationAccordionItemShadowOptions",
2346
- "type": {
2347
- "text": "ShadowRootInit"
2348
- },
2349
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2350
- },
2351
- {
2352
- "kind": "variable",
2353
- "name": "defaultAccordionItemConfig",
2354
- "type": {
2355
- "text": "object"
2367
+ ],
2368
+ "superclass": {
2369
+ "name": "FoundationElement",
2370
+ "package": "@microsoft/fast-foundation"
2356
2371
  },
2357
- "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}"
2372
+ "tagName": "%%prefix%%-actions-menu",
2373
+ "customElement": true
2358
2374
  },
2359
2375
  {
2360
2376
  "kind": "variable",
2361
- "name": "foundationAccordionItem",
2362
- "description": "The Foundation Accordion Item",
2377
+ "name": "foundationActionsMenu",
2378
+ "description": "The Foundation Actions Menu",
2363
2379
  "privacy": "public"
2364
2380
  }
2365
2381
  ],
2366
2382
  "exports": [
2367
2383
  {
2368
2384
  "kind": "js",
2369
- "name": "AccordionItem",
2370
- "declaration": {
2371
- "name": "AccordionItem",
2372
- "module": "src/accordion-item/accordion-item.ts"
2373
- }
2374
- },
2375
- {
2376
- "kind": "js",
2377
- "name": "foundationAccordionItemShadowOptions",
2378
- "declaration": {
2379
- "name": "foundationAccordionItemShadowOptions",
2380
- "module": "src/accordion-item/accordion-item.ts"
2381
- }
2382
- },
2383
- {
2384
- "kind": "js",
2385
- "name": "defaultAccordionItemConfig",
2385
+ "name": "ActionsMenu",
2386
2386
  "declaration": {
2387
- "name": "defaultAccordionItemConfig",
2388
- "module": "src/accordion-item/accordion-item.ts"
2387
+ "name": "ActionsMenu",
2388
+ "module": "src/actions-menu/actions-menu.ts"
2389
2389
  }
2390
2390
  },
2391
2391
  {
2392
2392
  "kind": "js",
2393
- "name": "foundationAccordionItem",
2393
+ "name": "foundationActionsMenu",
2394
2394
  "declaration": {
2395
- "name": "foundationAccordionItem",
2396
- "module": "src/accordion-item/accordion-item.ts"
2395
+ "name": "foundationActionsMenu",
2396
+ "module": "src/actions-menu/actions-menu.ts"
2397
2397
  }
2398
2398
  }
2399
2399
  ]
2400
2400
  },
2401
2401
  {
2402
2402
  "kind": "javascript-module",
2403
- "path": "src/accordion-item/index.ts",
2403
+ "path": "src/actions-menu/index.ts",
2404
2404
  "declarations": [],
2405
2405
  "exports": [
2406
2406
  {
@@ -2408,7 +2408,7 @@
2408
2408
  "name": "*",
2409
2409
  "declaration": {
2410
2410
  "name": "*",
2411
- "package": "./accordion-item.template"
2411
+ "package": "./actions-menu.styles"
2412
2412
  }
2413
2413
  },
2414
2414
  {
@@ -2416,7 +2416,7 @@
2416
2416
  "name": "*",
2417
2417
  "declaration": {
2418
2418
  "name": "*",
2419
- "package": "./accordion-item.styles"
2419
+ "package": "./actions-menu.template"
2420
2420
  }
2421
2421
  },
2422
2422
  {
@@ -2424,7 +2424,7 @@
2424
2424
  "name": "*",
2425
2425
  "declaration": {
2426
2426
  "name": "*",
2427
- "package": "./accordion-item"
2427
+ "package": "./actions-menu"
2428
2428
  }
2429
2429
  }
2430
2430
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "14.367.1-FUI-2341-3.2",
4
+ "version": "14.367.1-FUI-2341-3.4",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -83,13 +83,13 @@
83
83
  }
84
84
  },
85
85
  "devDependencies": {
86
- "@genesislcap/foundation-testing": "14.367.1-FUI-2341-3.2",
87
- "@genesislcap/genx": "14.367.1-FUI-2341-3.2",
88
- "@genesislcap/rollup-builder": "14.367.1-FUI-2341-3.2",
89
- "@genesislcap/ts-builder": "14.367.1-FUI-2341-3.2",
90
- "@genesislcap/uvu-playwright-builder": "14.367.1-FUI-2341-3.2",
91
- "@genesislcap/vite-builder": "14.367.1-FUI-2341-3.2",
92
- "@genesislcap/webpack-builder": "14.367.1-FUI-2341-3.2",
86
+ "@genesislcap/foundation-testing": "14.367.1-FUI-2341-3.4",
87
+ "@genesislcap/genx": "14.367.1-FUI-2341-3.4",
88
+ "@genesislcap/rollup-builder": "14.367.1-FUI-2341-3.4",
89
+ "@genesislcap/ts-builder": "14.367.1-FUI-2341-3.4",
90
+ "@genesislcap/uvu-playwright-builder": "14.367.1-FUI-2341-3.4",
91
+ "@genesislcap/vite-builder": "14.367.1-FUI-2341-3.4",
92
+ "@genesislcap/webpack-builder": "14.367.1-FUI-2341-3.4",
93
93
  "copyfiles": "^2.4.1"
94
94
  },
95
95
  "dependencies": {
@@ -98,15 +98,15 @@
98
98
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
99
99
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
100
100
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
101
- "@genesislcap/expression-builder": "14.367.1-FUI-2341-3.2",
102
- "@genesislcap/foundation-comms": "14.367.1-FUI-2341-3.2",
103
- "@genesislcap/foundation-criteria": "14.367.1-FUI-2341-3.2",
104
- "@genesislcap/foundation-errors": "14.367.1-FUI-2341-3.2",
105
- "@genesislcap/foundation-events": "14.367.1-FUI-2341-3.2",
106
- "@genesislcap/foundation-logger": "14.367.1-FUI-2341-3.2",
107
- "@genesislcap/foundation-notifications": "14.367.1-FUI-2341-3.2",
108
- "@genesislcap/foundation-user": "14.367.1-FUI-2341-3.2",
109
- "@genesislcap/foundation-utils": "14.367.1-FUI-2341-3.2",
101
+ "@genesislcap/expression-builder": "14.367.1-FUI-2341-3.4",
102
+ "@genesislcap/foundation-comms": "14.367.1-FUI-2341-3.4",
103
+ "@genesislcap/foundation-criteria": "14.367.1-FUI-2341-3.4",
104
+ "@genesislcap/foundation-errors": "14.367.1-FUI-2341-3.4",
105
+ "@genesislcap/foundation-events": "14.367.1-FUI-2341-3.4",
106
+ "@genesislcap/foundation-logger": "14.367.1-FUI-2341-3.4",
107
+ "@genesislcap/foundation-notifications": "14.367.1-FUI-2341-3.4",
108
+ "@genesislcap/foundation-user": "14.367.1-FUI-2341-3.4",
109
+ "@genesislcap/foundation-utils": "14.367.1-FUI-2341-3.4",
110
110
  "@microsoft/fast-colors": "5.3.1",
111
111
  "@microsoft/fast-components": "2.30.6",
112
112
  "@microsoft/fast-element": "1.14.0",
@@ -128,5 +128,5 @@
128
128
  "access": "public"
129
129
  },
130
130
  "customElements": "dist/custom-elements.json",
131
- "gitHead": "4902641627e0fe74adbca60fba3873a589826c6c"
131
+ "gitHead": "18191e6b048f4debc4250749914d2bf75ccb4e77"
132
132
  }