@genesislcap/foundation-ui 14.287.0 → 14.288.1-alpha-bc95c4f.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +440 -440
  2. package/package.json +18 -18
@@ -1462,34 +1462,11 @@
1462
1462
  },
1463
1463
  {
1464
1464
  "kind": "javascript-module",
1465
- "path": "src/actions-menu/actions-menu.styles.ts",
1465
+ "path": "src/accordion-item/accordion-item.styles.ts",
1466
1466
  "declarations": [
1467
1467
  {
1468
1468
  "kind": "function",
1469
- "name": "actionsMenuBaseStyles",
1470
- "return": {
1471
- "type": {
1472
- "text": "ElementStyles"
1473
- }
1474
- },
1475
- "parameters": [
1476
- {
1477
- "name": "context",
1478
- "type": {
1479
- "text": "ElementDefinitionContext"
1480
- }
1481
- },
1482
- {
1483
- "name": "definition",
1484
- "type": {
1485
- "text": "FoundationElementDefinition"
1486
- }
1487
- }
1488
- ]
1489
- },
1490
- {
1491
- "kind": "function",
1492
- "name": "foundationActionsMenuStyles",
1469
+ "name": "foundationAccordionItemStyles",
1493
1470
  "return": {
1494
1471
  "type": {
1495
1472
  "text": "ElementStyles"
@@ -1514,270 +1491,157 @@
1514
1491
  "exports": [
1515
1492
  {
1516
1493
  "kind": "js",
1517
- "name": "actionsMenuBaseStyles",
1518
- "declaration": {
1519
- "name": "actionsMenuBaseStyles",
1520
- "module": "src/actions-menu/actions-menu.styles.ts"
1521
- }
1522
- },
1523
- {
1524
- "kind": "js",
1525
- "name": "foundationActionsMenuStyles",
1494
+ "name": "foundationAccordionItemStyles",
1526
1495
  "declaration": {
1527
- "name": "foundationActionsMenuStyles",
1528
- "module": "src/actions-menu/actions-menu.styles.ts"
1496
+ "name": "foundationAccordionItemStyles",
1497
+ "module": "src/accordion-item/accordion-item.styles.ts"
1529
1498
  }
1530
1499
  }
1531
1500
  ]
1532
1501
  },
1533
1502
  {
1534
1503
  "kind": "javascript-module",
1535
- "path": "src/actions-menu/actions-menu.template.ts",
1504
+ "path": "src/accordion-item/accordion-item.template.ts",
1536
1505
  "declarations": [
1537
1506
  {
1538
1507
  "kind": "function",
1539
- "name": "menuTemplate",
1508
+ "name": "foundationAccordionItemTemplate",
1509
+ "return": {
1510
+ "type": {
1511
+ "text": "ViewTemplate<AccordionItem>"
1512
+ }
1513
+ },
1540
1514
  "parameters": [
1541
1515
  {
1542
- "name": "prefix",
1516
+ "name": "context",
1543
1517
  "type": {
1544
- "text": "string"
1518
+ "text": "ElementDefinitionContext"
1545
1519
  }
1546
- }
1547
- ]
1548
- },
1549
- {
1550
- "kind": "function",
1551
- "name": "singleOptionTemplate",
1552
- "parameters": [
1520
+ },
1553
1521
  {
1554
- "name": "prefix",
1522
+ "name": "definition",
1555
1523
  "type": {
1556
- "text": "string"
1524
+ "text": "FoundationElementDefinition"
1557
1525
  }
1558
1526
  }
1559
1527
  ]
1560
- },
1561
- {
1562
- "kind": "variable",
1563
- "name": "foundationActionsMenuTemplate",
1564
- "type": {
1565
- "text": "ViewTemplate<ActionsMenu>"
1566
- },
1567
- "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`"
1568
1528
  }
1569
1529
  ],
1570
1530
  "exports": [
1571
1531
  {
1572
1532
  "kind": "js",
1573
- "name": "menuTemplate",
1574
- "declaration": {
1575
- "name": "menuTemplate",
1576
- "module": "src/actions-menu/actions-menu.template.ts"
1577
- }
1578
- },
1579
- {
1580
- "kind": "js",
1581
- "name": "singleOptionTemplate",
1582
- "declaration": {
1583
- "name": "singleOptionTemplate",
1584
- "module": "src/actions-menu/actions-menu.template.ts"
1585
- }
1586
- },
1587
- {
1588
- "kind": "js",
1589
- "name": "foundationActionsMenuTemplate",
1533
+ "name": "foundationAccordionItemTemplate",
1590
1534
  "declaration": {
1591
- "name": "foundationActionsMenuTemplate",
1592
- "module": "src/actions-menu/actions-menu.template.ts"
1535
+ "name": "foundationAccordionItemTemplate",
1536
+ "module": "src/accordion-item/accordion-item.template.ts"
1593
1537
  }
1594
1538
  }
1595
1539
  ]
1596
1540
  },
1597
1541
  {
1598
1542
  "kind": "javascript-module",
1599
- "path": "src/actions-menu/actions-menu.ts",
1543
+ "path": "src/accordion-item/accordion-item.ts",
1600
1544
  "declarations": [
1601
1545
  {
1602
1546
  "kind": "class",
1603
1547
  "description": "",
1604
- "name": "ActionsMenu",
1605
- "members": [
1606
- {
1607
- "kind": "field",
1608
- "name": "actions",
1609
- "type": {
1610
- "text": "ActionMenuItem[]"
1611
- }
1612
- },
1613
- {
1614
- "kind": "field",
1615
- "name": "isVertical",
1616
- "type": {
1617
- "text": "boolean"
1618
- },
1619
- "default": "false"
1620
- },
1548
+ "name": "AccordionItem",
1549
+ "superclass": {
1550
+ "name": "FASTAccordionItem",
1551
+ "package": "@microsoft/fast-components"
1552
+ },
1553
+ "tagName": "%%prefix%%-accordion-item",
1554
+ "customElement": true,
1555
+ "attributes": [
1621
1556
  {
1622
- "kind": "field",
1623
- "name": "addDefaultActions",
1557
+ "name": "heading-level",
1624
1558
  "type": {
1625
- "text": "boolean"
1559
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1626
1560
  },
1627
- "default": "true"
1561
+ "default": "2",
1562
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1563
+ "fieldName": "headinglevel",
1564
+ "inheritedFrom": {
1565
+ "name": "AccordionItem",
1566
+ "module": "src/accordion-item/accordion-item.ts"
1567
+ }
1628
1568
  },
1629
1569
  {
1630
- "kind": "field",
1631
- "name": "autoCloseOnAction",
1632
1570
  "type": {
1633
1571
  "text": "boolean"
1634
1572
  },
1635
- "default": "true"
1636
- },
1637
- {
1638
- "kind": "field",
1639
- "name": "classNames",
1640
- "type": {
1641
- "text": "string"
1642
- }
1643
- },
1644
- {
1645
- "kind": "field",
1646
- "name": "definition",
1647
- "type": {
1648
- "text": "any"
1573
+ "default": "false",
1574
+ "description": "Expands or collapses the item.",
1575
+ "fieldName": "expanded",
1576
+ "inheritedFrom": {
1577
+ "name": "AccordionItem",
1578
+ "module": "src/accordion-item/accordion-item.ts"
1649
1579
  }
1650
1580
  },
1651
1581
  {
1652
- "kind": "field",
1653
- "name": "name",
1582
+ "name": "id",
1654
1583
  "type": {
1655
1584
  "text": "string"
1656
1585
  },
1657
- "default": "'Actions'"
1658
- },
1586
+ "description": "The item ID",
1587
+ "fieldName": "id",
1588
+ "inheritedFrom": {
1589
+ "name": "AccordionItem",
1590
+ "module": "src/accordion-item/accordion-item.ts"
1591
+ }
1592
+ }
1593
+ ],
1594
+ "members": [
1659
1595
  {
1660
1596
  "kind": "field",
1661
- "name": "open",
1597
+ "name": "headinglevel",
1662
1598
  "type": {
1663
- "text": "boolean"
1599
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1664
1600
  },
1665
- "default": "false"
1666
- },
1667
- {
1668
- "kind": "field",
1669
- "name": "buttonAppearance",
1670
- "type": {
1671
- "text": "string"
1601
+ "privacy": "public",
1602
+ "default": "2",
1603
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1604
+ "inheritedFrom": {
1605
+ "name": "AccordionItem",
1606
+ "module": "src/accordion-item/accordion-item.ts"
1672
1607
  }
1673
1608
  },
1674
1609
  {
1675
1610
  "kind": "field",
1676
- "name": "hideDisabled",
1611
+ "name": "expanded",
1677
1612
  "type": {
1678
1613
  "text": "boolean"
1679
1614
  },
1680
- "default": "false"
1615
+ "privacy": "public",
1616
+ "default": "false",
1617
+ "description": "Expands or collapses the item.",
1618
+ "inheritedFrom": {
1619
+ "name": "AccordionItem",
1620
+ "module": "src/accordion-item/accordion-item.ts"
1621
+ }
1681
1622
  },
1682
1623
  {
1683
1624
  "kind": "field",
1684
- "name": "hideMenuSingleOption",
1625
+ "name": "id",
1685
1626
  "type": {
1686
- "text": "boolean"
1627
+ "text": "string"
1687
1628
  },
1688
- "default": "false"
1689
- },
1690
- {
1691
- "kind": "field",
1692
- "name": "singleOption",
1693
- "type": {
1694
- "text": "ActionMenuItem"
1629
+ "privacy": "public",
1630
+ "description": "The item ID",
1631
+ "inheritedFrom": {
1632
+ "name": "AccordionItem",
1633
+ "module": "src/accordion-item/accordion-item.ts"
1695
1634
  }
1696
1635
  },
1697
1636
  {
1698
1637
  "kind": "field",
1699
- "name": "actionsMenu",
1700
- "type": {
1701
- "text": "HTMLElement"
1638
+ "name": "change",
1639
+ "privacy": "private",
1640
+ "inheritedFrom": {
1641
+ "name": "AccordionItem",
1642
+ "module": "src/accordion-item/accordion-item.ts"
1702
1643
  }
1703
1644
  },
1704
- {
1705
- "kind": "method",
1706
- "name": "definitionChanged",
1707
- "privacy": "protected",
1708
- "parameters": [
1709
- {
1710
- "name": "oldValue",
1711
- "type": {
1712
- "text": "any"
1713
- }
1714
- },
1715
- {
1716
- "name": "newValue",
1717
- "type": {
1718
- "text": "any"
1719
- }
1720
- }
1721
- ]
1722
- },
1723
- {
1724
- "kind": "method",
1725
- "name": "openChanged",
1726
- "privacy": "protected"
1727
- },
1728
- {
1729
- "kind": "method",
1730
- "name": "toggleActionsMenuVisibility"
1731
- },
1732
- {
1733
- "kind": "method",
1734
- "name": "onActionMenuItemClick",
1735
- "parameters": [
1736
- {
1737
- "name": "callback",
1738
- "type": {
1739
- "text": "(rowData) => void | any"
1740
- }
1741
- }
1742
- ]
1743
- },
1744
- {
1745
- "kind": "field",
1746
- "name": "allActions",
1747
- "type": {
1748
- "text": "ActionMenuItem[]"
1749
- },
1750
- "readonly": true
1751
- },
1752
- {
1753
- "kind": "field",
1754
- "name": "rowData",
1755
- "readonly": true
1756
- },
1757
- {
1758
- "kind": "method",
1759
- "name": "getLabel",
1760
- "parameters": [
1761
- {
1762
- "name": "name",
1763
- "type": {
1764
- "text": "string | ((rowData: any) => string)"
1765
- }
1766
- }
1767
- ]
1768
- },
1769
- {
1770
- "kind": "method",
1771
- "name": "getTemplate",
1772
- "parameters": [
1773
- {
1774
- "name": "prefix",
1775
- "type": {
1776
- "text": "string"
1777
- }
1778
- }
1779
- ]
1780
- },
1781
1645
  {
1782
1646
  "kind": "field",
1783
1647
  "name": "_presentation",
@@ -1885,112 +1749,83 @@
1885
1749
  ],
1886
1750
  "description": "Defines an element registry function with a set of element definition defaults.",
1887
1751
  "inheritedFrom": {
1888
- "name": "FoundationElement",
1889
- "module": "src/foundation-element/foundation-element.ts"
1890
- }
1891
- }
1892
- ],
1893
- "attributes": [
1894
- {
1895
- "name": "is-vertical",
1896
- "type": {
1897
- "text": "boolean"
1898
- },
1899
- "default": "false",
1900
- "fieldName": "isVertical"
1901
- },
1902
- {
1903
- "name": "add-default-actions",
1904
- "type": {
1905
- "text": "boolean"
1906
- },
1907
- "default": "true",
1908
- "fieldName": "addDefaultActions"
1909
- },
1910
- {
1911
- "name": "auto-close-on-action",
1912
- "type": {
1913
- "text": "boolean"
1914
- },
1915
- "default": "true",
1916
- "fieldName": "autoCloseOnAction"
1917
- },
1918
- {
1919
- "name": "name",
1920
- "type": {
1921
- "text": "string"
1922
- },
1923
- "default": "'Actions'",
1924
- "fieldName": "name"
1925
- },
1926
- {
1927
- "name": "open",
1928
- "type": {
1929
- "text": "boolean"
1930
- },
1931
- "default": "false",
1932
- "fieldName": "open"
1933
- },
1934
- {
1935
- "name": "buttonAppearance",
1936
- "type": {
1937
- "text": "string"
1938
- },
1939
- "fieldName": "buttonAppearance"
1940
- },
1941
- {
1942
- "name": "hide-disabled",
1943
- "type": {
1944
- "text": "boolean"
1945
- },
1946
- "default": "false",
1947
- "fieldName": "hideDisabled"
1948
- },
1949
- {
1950
- "name": "hide-menu-single-option",
1951
- "type": {
1952
- "text": "boolean"
1953
- },
1954
- "default": "false",
1955
- "fieldName": "hideMenuSingleOption"
1752
+ "name": "FoundationElement",
1753
+ "module": "src/foundation-element/foundation-element.ts"
1754
+ }
1956
1755
  }
1957
1756
  ],
1958
- "superclass": {
1959
- "name": "FoundationElement",
1960
- "package": "@microsoft/fast-foundation"
1757
+ "events": [
1758
+ {
1759
+ "description": "Fires a custom 'change' event when the button is invoked",
1760
+ "name": "change",
1761
+ "inheritedFrom": {
1762
+ "name": "AccordionItem",
1763
+ "module": "src/accordion-item/accordion-item.ts"
1764
+ }
1765
+ }
1766
+ ]
1767
+ },
1768
+ {
1769
+ "kind": "variable",
1770
+ "name": "foundationAccordionItemShadowOptions",
1771
+ "type": {
1772
+ "text": "ShadowRootInit"
1961
1773
  },
1962
- "tagName": "%%prefix%%-actions-menu",
1963
- "customElement": true
1774
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1964
1775
  },
1965
1776
  {
1966
1777
  "kind": "variable",
1967
- "name": "foundationActionsMenu",
1968
- "description": "The Foundation Actions Menu",
1778
+ "name": "defaultAccordionItemConfig",
1779
+ "type": {
1780
+ "text": "object"
1781
+ },
1782
+ "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}"
1783
+ },
1784
+ {
1785
+ "kind": "variable",
1786
+ "name": "foundationAccordionItem",
1787
+ "description": "The Foundation Accordion Item",
1969
1788
  "privacy": "public"
1970
1789
  }
1971
1790
  ],
1972
1791
  "exports": [
1973
1792
  {
1974
1793
  "kind": "js",
1975
- "name": "ActionsMenu",
1794
+ "name": "AccordionItem",
1976
1795
  "declaration": {
1977
- "name": "ActionsMenu",
1978
- "module": "src/actions-menu/actions-menu.ts"
1796
+ "name": "AccordionItem",
1797
+ "module": "src/accordion-item/accordion-item.ts"
1979
1798
  }
1980
1799
  },
1981
1800
  {
1982
1801
  "kind": "js",
1983
- "name": "foundationActionsMenu",
1802
+ "name": "foundationAccordionItemShadowOptions",
1984
1803
  "declaration": {
1985
- "name": "foundationActionsMenu",
1986
- "module": "src/actions-menu/actions-menu.ts"
1804
+ "name": "foundationAccordionItemShadowOptions",
1805
+ "module": "src/accordion-item/accordion-item.ts"
1806
+ }
1807
+ },
1808
+ {
1809
+ "kind": "js",
1810
+ "name": "defaultAccordionItemConfig",
1811
+ "declaration": {
1812
+ "name": "defaultAccordionItemConfig",
1813
+ "module": "src/accordion-item/accordion-item.ts"
1814
+ }
1815
+ },
1816
+ {
1817
+ "kind": "js",
1818
+ "name": "foundationAccordionItem",
1819
+ "declaration": {
1820
+ "name": "foundationAccordionItem",
1821
+ "module": "src/accordion-item/accordion-item.ts"
1987
1822
  }
1988
1823
  }
1989
1824
  ]
1990
1825
  },
1991
1826
  {
1992
1827
  "kind": "javascript-module",
1993
- "path": "src/actions-menu/index.ts",
1828
+ "path": "src/accordion-item/index.ts",
1994
1829
  "declarations": [],
1995
1830
  "exports": [
1996
1831
  {
@@ -1998,7 +1833,7 @@
1998
1833
  "name": "*",
1999
1834
  "declaration": {
2000
1835
  "name": "*",
2001
- "package": "./actions-menu.styles"
1836
+ "package": "./accordion-item.template"
2002
1837
  }
2003
1838
  },
2004
1839
  {
@@ -2006,7 +1841,7 @@
2006
1841
  "name": "*",
2007
1842
  "declaration": {
2008
1843
  "name": "*",
2009
- "package": "./actions-menu.template"
1844
+ "package": "./accordion-item.styles"
2010
1845
  }
2011
1846
  },
2012
1847
  {
@@ -2014,7 +1849,7 @@
2014
1849
  "name": "*",
2015
1850
  "declaration": {
2016
1851
  "name": "*",
2017
- "package": "./actions-menu"
1852
+ "package": "./accordion-item"
2018
1853
  }
2019
1854
  }
2020
1855
  ]
@@ -4131,11 +3966,34 @@
4131
3966
  },
4132
3967
  {
4133
3968
  "kind": "javascript-module",
4134
- "path": "src/accordion-item/accordion-item.styles.ts",
3969
+ "path": "src/actions-menu/actions-menu.styles.ts",
4135
3970
  "declarations": [
4136
3971
  {
4137
3972
  "kind": "function",
4138
- "name": "foundationAccordionItemStyles",
3973
+ "name": "actionsMenuBaseStyles",
3974
+ "return": {
3975
+ "type": {
3976
+ "text": "ElementStyles"
3977
+ }
3978
+ },
3979
+ "parameters": [
3980
+ {
3981
+ "name": "context",
3982
+ "type": {
3983
+ "text": "ElementDefinitionContext"
3984
+ }
3985
+ },
3986
+ {
3987
+ "name": "definition",
3988
+ "type": {
3989
+ "text": "FoundationElementDefinition"
3990
+ }
3991
+ }
3992
+ ]
3993
+ },
3994
+ {
3995
+ "kind": "function",
3996
+ "name": "foundationActionsMenuStyles",
4139
3997
  "return": {
4140
3998
  "type": {
4141
3999
  "text": "ElementStyles"
@@ -4160,156 +4018,269 @@
4160
4018
  "exports": [
4161
4019
  {
4162
4020
  "kind": "js",
4163
- "name": "foundationAccordionItemStyles",
4021
+ "name": "actionsMenuBaseStyles",
4164
4022
  "declaration": {
4165
- "name": "foundationAccordionItemStyles",
4166
- "module": "src/accordion-item/accordion-item.styles.ts"
4023
+ "name": "actionsMenuBaseStyles",
4024
+ "module": "src/actions-menu/actions-menu.styles.ts"
4025
+ }
4026
+ },
4027
+ {
4028
+ "kind": "js",
4029
+ "name": "foundationActionsMenuStyles",
4030
+ "declaration": {
4031
+ "name": "foundationActionsMenuStyles",
4032
+ "module": "src/actions-menu/actions-menu.styles.ts"
4167
4033
  }
4168
4034
  }
4169
4035
  ]
4170
4036
  },
4171
4037
  {
4172
4038
  "kind": "javascript-module",
4173
- "path": "src/accordion-item/accordion-item.template.ts",
4039
+ "path": "src/actions-menu/actions-menu.template.ts",
4174
4040
  "declarations": [
4175
4041
  {
4176
4042
  "kind": "function",
4177
- "name": "foundationAccordionItemTemplate",
4178
- "return": {
4179
- "type": {
4180
- "text": "ViewTemplate<AccordionItem>"
4181
- }
4182
- },
4043
+ "name": "menuTemplate",
4183
4044
  "parameters": [
4184
4045
  {
4185
- "name": "context",
4046
+ "name": "prefix",
4186
4047
  "type": {
4187
- "text": "ElementDefinitionContext"
4048
+ "text": "string"
4188
4049
  }
4189
- },
4050
+ }
4051
+ ]
4052
+ },
4053
+ {
4054
+ "kind": "function",
4055
+ "name": "singleOptionTemplate",
4056
+ "parameters": [
4190
4057
  {
4191
- "name": "definition",
4058
+ "name": "prefix",
4192
4059
  "type": {
4193
- "text": "FoundationElementDefinition"
4060
+ "text": "string"
4194
4061
  }
4195
4062
  }
4196
4063
  ]
4064
+ },
4065
+ {
4066
+ "kind": "variable",
4067
+ "name": "foundationActionsMenuTemplate",
4068
+ "type": {
4069
+ "text": "ViewTemplate<ActionsMenu>"
4070
+ },
4071
+ "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`"
4197
4072
  }
4198
4073
  ],
4199
4074
  "exports": [
4200
4075
  {
4201
4076
  "kind": "js",
4202
- "name": "foundationAccordionItemTemplate",
4077
+ "name": "menuTemplate",
4203
4078
  "declaration": {
4204
- "name": "foundationAccordionItemTemplate",
4205
- "module": "src/accordion-item/accordion-item.template.ts"
4079
+ "name": "menuTemplate",
4080
+ "module": "src/actions-menu/actions-menu.template.ts"
4081
+ }
4082
+ },
4083
+ {
4084
+ "kind": "js",
4085
+ "name": "singleOptionTemplate",
4086
+ "declaration": {
4087
+ "name": "singleOptionTemplate",
4088
+ "module": "src/actions-menu/actions-menu.template.ts"
4089
+ }
4090
+ },
4091
+ {
4092
+ "kind": "js",
4093
+ "name": "foundationActionsMenuTemplate",
4094
+ "declaration": {
4095
+ "name": "foundationActionsMenuTemplate",
4096
+ "module": "src/actions-menu/actions-menu.template.ts"
4206
4097
  }
4207
4098
  }
4208
4099
  ]
4209
4100
  },
4210
4101
  {
4211
4102
  "kind": "javascript-module",
4212
- "path": "src/accordion-item/accordion-item.ts",
4103
+ "path": "src/actions-menu/actions-menu.ts",
4213
4104
  "declarations": [
4214
4105
  {
4215
4106
  "kind": "class",
4216
4107
  "description": "",
4217
- "name": "AccordionItem",
4218
- "superclass": {
4219
- "name": "FASTAccordionItem",
4220
- "package": "@microsoft/fast-components"
4221
- },
4222
- "tagName": "%%prefix%%-accordion-item",
4223
- "customElement": true,
4224
- "attributes": [
4108
+ "name": "ActionsMenu",
4109
+ "members": [
4225
4110
  {
4226
- "name": "heading-level",
4111
+ "kind": "field",
4112
+ "name": "actions",
4227
4113
  "type": {
4228
- "text": "1 | 2 | 3 | 4 | 5 | 6"
4114
+ "text": "ActionMenuItem[]"
4115
+ }
4116
+ },
4117
+ {
4118
+ "kind": "field",
4119
+ "name": "isVertical",
4120
+ "type": {
4121
+ "text": "boolean"
4229
4122
  },
4230
- "default": "2",
4231
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
4232
- "fieldName": "headinglevel",
4233
- "inheritedFrom": {
4234
- "name": "AccordionItem",
4235
- "module": "src/accordion-item/accordion-item.ts"
4123
+ "default": "false"
4124
+ },
4125
+ {
4126
+ "kind": "field",
4127
+ "name": "addDefaultActions",
4128
+ "type": {
4129
+ "text": "boolean"
4130
+ },
4131
+ "default": "true"
4132
+ },
4133
+ {
4134
+ "kind": "field",
4135
+ "name": "autoCloseOnAction",
4136
+ "type": {
4137
+ "text": "boolean"
4138
+ },
4139
+ "default": "true"
4140
+ },
4141
+ {
4142
+ "kind": "field",
4143
+ "name": "classNames",
4144
+ "type": {
4145
+ "text": "string"
4146
+ }
4147
+ },
4148
+ {
4149
+ "kind": "field",
4150
+ "name": "definition",
4151
+ "type": {
4152
+ "text": "any"
4236
4153
  }
4237
4154
  },
4238
4155
  {
4156
+ "kind": "field",
4157
+ "name": "name",
4158
+ "type": {
4159
+ "text": "string"
4160
+ },
4161
+ "default": "'Actions'"
4162
+ },
4163
+ {
4164
+ "kind": "field",
4165
+ "name": "open",
4239
4166
  "type": {
4240
4167
  "text": "boolean"
4241
4168
  },
4242
- "default": "false",
4243
- "description": "Expands or collapses the item.",
4244
- "fieldName": "expanded",
4245
- "inheritedFrom": {
4246
- "name": "AccordionItem",
4247
- "module": "src/accordion-item/accordion-item.ts"
4169
+ "default": "false"
4170
+ },
4171
+ {
4172
+ "kind": "field",
4173
+ "name": "buttonAppearance",
4174
+ "type": {
4175
+ "text": "string"
4248
4176
  }
4249
4177
  },
4250
4178
  {
4251
- "name": "id",
4179
+ "kind": "field",
4180
+ "name": "hideDisabled",
4181
+ "type": {
4182
+ "text": "boolean"
4183
+ },
4184
+ "default": "false"
4185
+ },
4186
+ {
4187
+ "kind": "field",
4188
+ "name": "hideMenuSingleOption",
4252
4189
  "type": {
4253
- "text": "string"
4190
+ "text": "boolean"
4254
4191
  },
4255
- "description": "The item ID",
4256
- "fieldName": "id",
4257
- "inheritedFrom": {
4258
- "name": "AccordionItem",
4259
- "module": "src/accordion-item/accordion-item.ts"
4260
- }
4261
- }
4262
- ],
4263
- "members": [
4192
+ "default": "false"
4193
+ },
4264
4194
  {
4265
4195
  "kind": "field",
4266
- "name": "headinglevel",
4196
+ "name": "singleOption",
4267
4197
  "type": {
4268
- "text": "1 | 2 | 3 | 4 | 5 | 6"
4269
- },
4270
- "privacy": "public",
4271
- "default": "2",
4272
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
4273
- "inheritedFrom": {
4274
- "name": "AccordionItem",
4275
- "module": "src/accordion-item/accordion-item.ts"
4198
+ "text": "ActionMenuItem"
4276
4199
  }
4277
4200
  },
4278
4201
  {
4279
4202
  "kind": "field",
4280
- "name": "expanded",
4203
+ "name": "actionsMenu",
4281
4204
  "type": {
4282
- "text": "boolean"
4283
- },
4284
- "privacy": "public",
4285
- "default": "false",
4286
- "description": "Expands or collapses the item.",
4287
- "inheritedFrom": {
4288
- "name": "AccordionItem",
4289
- "module": "src/accordion-item/accordion-item.ts"
4205
+ "text": "HTMLElement"
4290
4206
  }
4291
4207
  },
4208
+ {
4209
+ "kind": "method",
4210
+ "name": "definitionChanged",
4211
+ "privacy": "protected",
4212
+ "parameters": [
4213
+ {
4214
+ "name": "oldValue",
4215
+ "type": {
4216
+ "text": "any"
4217
+ }
4218
+ },
4219
+ {
4220
+ "name": "newValue",
4221
+ "type": {
4222
+ "text": "any"
4223
+ }
4224
+ }
4225
+ ]
4226
+ },
4227
+ {
4228
+ "kind": "method",
4229
+ "name": "openChanged",
4230
+ "privacy": "protected"
4231
+ },
4232
+ {
4233
+ "kind": "method",
4234
+ "name": "toggleActionsMenuVisibility"
4235
+ },
4236
+ {
4237
+ "kind": "method",
4238
+ "name": "onActionMenuItemClick",
4239
+ "parameters": [
4240
+ {
4241
+ "name": "callback",
4242
+ "type": {
4243
+ "text": "(rowData) => void | any"
4244
+ }
4245
+ }
4246
+ ]
4247
+ },
4292
4248
  {
4293
4249
  "kind": "field",
4294
- "name": "id",
4250
+ "name": "allActions",
4295
4251
  "type": {
4296
- "text": "string"
4252
+ "text": "ActionMenuItem[]"
4297
4253
  },
4298
- "privacy": "public",
4299
- "description": "The item ID",
4300
- "inheritedFrom": {
4301
- "name": "AccordionItem",
4302
- "module": "src/accordion-item/accordion-item.ts"
4303
- }
4254
+ "readonly": true
4304
4255
  },
4305
4256
  {
4306
4257
  "kind": "field",
4307
- "name": "change",
4308
- "privacy": "private",
4309
- "inheritedFrom": {
4310
- "name": "AccordionItem",
4311
- "module": "src/accordion-item/accordion-item.ts"
4312
- }
4258
+ "name": "rowData",
4259
+ "readonly": true
4260
+ },
4261
+ {
4262
+ "kind": "method",
4263
+ "name": "getLabel",
4264
+ "parameters": [
4265
+ {
4266
+ "name": "name",
4267
+ "type": {
4268
+ "text": "string | ((rowData: any) => string)"
4269
+ }
4270
+ }
4271
+ ]
4272
+ },
4273
+ {
4274
+ "kind": "method",
4275
+ "name": "getTemplate",
4276
+ "parameters": [
4277
+ {
4278
+ "name": "prefix",
4279
+ "type": {
4280
+ "text": "string"
4281
+ }
4282
+ }
4283
+ ]
4313
4284
  },
4314
4285
  {
4315
4286
  "kind": "field",
@@ -4423,78 +4394,107 @@
4423
4394
  }
4424
4395
  }
4425
4396
  ],
4426
- "events": [
4397
+ "attributes": [
4427
4398
  {
4428
- "description": "Fires a custom 'change' event when the button is invoked",
4429
- "name": "change",
4430
- "inheritedFrom": {
4431
- "name": "AccordionItem",
4432
- "module": "src/accordion-item/accordion-item.ts"
4433
- }
4399
+ "name": "is-vertical",
4400
+ "type": {
4401
+ "text": "boolean"
4402
+ },
4403
+ "default": "false",
4404
+ "fieldName": "isVertical"
4405
+ },
4406
+ {
4407
+ "name": "add-default-actions",
4408
+ "type": {
4409
+ "text": "boolean"
4410
+ },
4411
+ "default": "true",
4412
+ "fieldName": "addDefaultActions"
4413
+ },
4414
+ {
4415
+ "name": "auto-close-on-action",
4416
+ "type": {
4417
+ "text": "boolean"
4418
+ },
4419
+ "default": "true",
4420
+ "fieldName": "autoCloseOnAction"
4421
+ },
4422
+ {
4423
+ "name": "name",
4424
+ "type": {
4425
+ "text": "string"
4426
+ },
4427
+ "default": "'Actions'",
4428
+ "fieldName": "name"
4429
+ },
4430
+ {
4431
+ "name": "open",
4432
+ "type": {
4433
+ "text": "boolean"
4434
+ },
4435
+ "default": "false",
4436
+ "fieldName": "open"
4437
+ },
4438
+ {
4439
+ "name": "buttonAppearance",
4440
+ "type": {
4441
+ "text": "string"
4442
+ },
4443
+ "fieldName": "buttonAppearance"
4444
+ },
4445
+ {
4446
+ "name": "hide-disabled",
4447
+ "type": {
4448
+ "text": "boolean"
4449
+ },
4450
+ "default": "false",
4451
+ "fieldName": "hideDisabled"
4452
+ },
4453
+ {
4454
+ "name": "hide-menu-single-option",
4455
+ "type": {
4456
+ "text": "boolean"
4457
+ },
4458
+ "default": "false",
4459
+ "fieldName": "hideMenuSingleOption"
4434
4460
  }
4435
- ]
4436
- },
4437
- {
4438
- "kind": "variable",
4439
- "name": "foundationAccordionItemShadowOptions",
4440
- "type": {
4441
- "text": "ShadowRootInit"
4442
- },
4443
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4444
- },
4445
- {
4446
- "kind": "variable",
4447
- "name": "defaultAccordionItemConfig",
4448
- "type": {
4449
- "text": "object"
4461
+ ],
4462
+ "superclass": {
4463
+ "name": "FoundationElement",
4464
+ "package": "@microsoft/fast-foundation"
4450
4465
  },
4451
- "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}"
4466
+ "tagName": "%%prefix%%-actions-menu",
4467
+ "customElement": true
4452
4468
  },
4453
4469
  {
4454
4470
  "kind": "variable",
4455
- "name": "foundationAccordionItem",
4456
- "description": "The Foundation Accordion Item",
4471
+ "name": "foundationActionsMenu",
4472
+ "description": "The Foundation Actions Menu",
4457
4473
  "privacy": "public"
4458
4474
  }
4459
4475
  ],
4460
4476
  "exports": [
4461
4477
  {
4462
4478
  "kind": "js",
4463
- "name": "AccordionItem",
4464
- "declaration": {
4465
- "name": "AccordionItem",
4466
- "module": "src/accordion-item/accordion-item.ts"
4467
- }
4468
- },
4469
- {
4470
- "kind": "js",
4471
- "name": "foundationAccordionItemShadowOptions",
4472
- "declaration": {
4473
- "name": "foundationAccordionItemShadowOptions",
4474
- "module": "src/accordion-item/accordion-item.ts"
4475
- }
4476
- },
4477
- {
4478
- "kind": "js",
4479
- "name": "defaultAccordionItemConfig",
4479
+ "name": "ActionsMenu",
4480
4480
  "declaration": {
4481
- "name": "defaultAccordionItemConfig",
4482
- "module": "src/accordion-item/accordion-item.ts"
4481
+ "name": "ActionsMenu",
4482
+ "module": "src/actions-menu/actions-menu.ts"
4483
4483
  }
4484
4484
  },
4485
4485
  {
4486
4486
  "kind": "js",
4487
- "name": "foundationAccordionItem",
4487
+ "name": "foundationActionsMenu",
4488
4488
  "declaration": {
4489
- "name": "foundationAccordionItem",
4490
- "module": "src/accordion-item/accordion-item.ts"
4489
+ "name": "foundationActionsMenu",
4490
+ "module": "src/actions-menu/actions-menu.ts"
4491
4491
  }
4492
4492
  }
4493
4493
  ]
4494
4494
  },
4495
4495
  {
4496
4496
  "kind": "javascript-module",
4497
- "path": "src/accordion-item/index.ts",
4497
+ "path": "src/actions-menu/index.ts",
4498
4498
  "declarations": [],
4499
4499
  "exports": [
4500
4500
  {
@@ -4502,7 +4502,7 @@
4502
4502
  "name": "*",
4503
4503
  "declaration": {
4504
4504
  "name": "*",
4505
- "package": "./accordion-item.template"
4505
+ "package": "./actions-menu.styles"
4506
4506
  }
4507
4507
  },
4508
4508
  {
@@ -4510,7 +4510,7 @@
4510
4510
  "name": "*",
4511
4511
  "declaration": {
4512
4512
  "name": "*",
4513
- "package": "./accordion-item.styles"
4513
+ "package": "./actions-menu.template"
4514
4514
  }
4515
4515
  },
4516
4516
  {
@@ -4518,7 +4518,7 @@
4518
4518
  "name": "*",
4519
4519
  "declaration": {
4520
4520
  "name": "*",
4521
- "package": "./accordion-item"
4521
+ "package": "./actions-menu"
4522
4522
  }
4523
4523
  }
4524
4524
  ]
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.287.0",
4
+ "version": "14.288.1-alpha-bc95c4f.0",
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.287.0",
87
- "@genesislcap/genx": "14.287.0",
88
- "@genesislcap/rollup-builder": "14.287.0",
89
- "@genesislcap/ts-builder": "14.287.0",
90
- "@genesislcap/uvu-playwright-builder": "14.287.0",
91
- "@genesislcap/vite-builder": "14.287.0",
92
- "@genesislcap/webpack-builder": "14.287.0",
86
+ "@genesislcap/foundation-testing": "14.288.1-alpha-bc95c4f.0",
87
+ "@genesislcap/genx": "14.288.1-alpha-bc95c4f.0",
88
+ "@genesislcap/rollup-builder": "14.288.1-alpha-bc95c4f.0",
89
+ "@genesislcap/ts-builder": "14.288.1-alpha-bc95c4f.0",
90
+ "@genesislcap/uvu-playwright-builder": "14.288.1-alpha-bc95c4f.0",
91
+ "@genesislcap/vite-builder": "14.288.1-alpha-bc95c4f.0",
92
+ "@genesislcap/webpack-builder": "14.288.1-alpha-bc95c4f.0",
93
93
  "copyfiles": "^2.4.1",
94
94
  "rimraf": "^5.0.0",
95
95
  "rxjs": "^7.5.4"
@@ -100,15 +100,15 @@
100
100
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
101
101
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
102
102
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
103
- "@genesislcap/expression-builder": "14.287.0",
104
- "@genesislcap/foundation-comms": "14.287.0",
105
- "@genesislcap/foundation-criteria": "14.287.0",
106
- "@genesislcap/foundation-errors": "14.287.0",
107
- "@genesislcap/foundation-events": "14.287.0",
108
- "@genesislcap/foundation-logger": "14.287.0",
109
- "@genesislcap/foundation-notifications": "14.287.0",
110
- "@genesislcap/foundation-user": "14.287.0",
111
- "@genesislcap/foundation-utils": "14.287.0",
103
+ "@genesislcap/expression-builder": "14.288.1-alpha-bc95c4f.0",
104
+ "@genesislcap/foundation-comms": "14.288.1-alpha-bc95c4f.0",
105
+ "@genesislcap/foundation-criteria": "14.288.1-alpha-bc95c4f.0",
106
+ "@genesislcap/foundation-errors": "14.288.1-alpha-bc95c4f.0",
107
+ "@genesislcap/foundation-events": "14.288.1-alpha-bc95c4f.0",
108
+ "@genesislcap/foundation-logger": "14.288.1-alpha-bc95c4f.0",
109
+ "@genesislcap/foundation-notifications": "14.288.1-alpha-bc95c4f.0",
110
+ "@genesislcap/foundation-user": "14.288.1-alpha-bc95c4f.0",
111
+ "@genesislcap/foundation-utils": "14.288.1-alpha-bc95c4f.0",
112
112
  "@microsoft/fast-colors": "5.3.1",
113
113
  "@microsoft/fast-components": "2.30.6",
114
114
  "@microsoft/fast-element": "1.14.0",
@@ -130,5 +130,5 @@
130
130
  "access": "public"
131
131
  },
132
132
  "customElements": "dist/custom-elements.json",
133
- "gitHead": "ddf858b052217bd0fa79a50549a730b5b7e9dad9"
133
+ "gitHead": "bbf5be9542c4e8cd688da07707ee3e16e32aa3d6"
134
134
  }