@genesislcap/foundation-ui 15.20.2 → 15.21.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.
- package/dist/custom-elements.json +513 -513
- package/dist/dts/react.d.ts +8 -8
- package/dist/react.cjs +5 -5
- package/dist/react.mjs +4 -4
- package/package.json +18 -18
|
@@ -1495,34 +1495,42 @@
|
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
1497
|
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/
|
|
1499
|
-
"declarations": [
|
|
1498
|
+
"path": "src/_config/index.ts",
|
|
1499
|
+
"declarations": [],
|
|
1500
|
+
"exports": [
|
|
1500
1501
|
{
|
|
1501
|
-
"kind": "
|
|
1502
|
-
"name": "
|
|
1503
|
-
"
|
|
1504
|
-
"
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
},
|
|
1508
|
-
"parameters": [
|
|
1509
|
-
{
|
|
1510
|
-
"name": "context",
|
|
1511
|
-
"type": {
|
|
1512
|
-
"text": "ElementDefinitionContext"
|
|
1513
|
-
}
|
|
1514
|
-
},
|
|
1515
|
-
{
|
|
1516
|
-
"name": "definition",
|
|
1517
|
-
"type": {
|
|
1518
|
-
"text": "FoundationElementDefinition"
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
]
|
|
1502
|
+
"kind": "js",
|
|
1503
|
+
"name": "*",
|
|
1504
|
+
"declaration": {
|
|
1505
|
+
"name": "*",
|
|
1506
|
+
"package": "./styles"
|
|
1507
|
+
}
|
|
1522
1508
|
},
|
|
1509
|
+
{
|
|
1510
|
+
"kind": "js",
|
|
1511
|
+
"name": "*",
|
|
1512
|
+
"declaration": {
|
|
1513
|
+
"name": "*",
|
|
1514
|
+
"package": "./tokens"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "js",
|
|
1519
|
+
"name": "*",
|
|
1520
|
+
"declaration": {
|
|
1521
|
+
"name": "*",
|
|
1522
|
+
"package": "./values"
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
]
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"kind": "javascript-module",
|
|
1529
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1530
|
+
"declarations": [
|
|
1523
1531
|
{
|
|
1524
1532
|
"kind": "function",
|
|
1525
|
-
"name": "
|
|
1533
|
+
"name": "foundationAccordionItemStyles",
|
|
1526
1534
|
"return": {
|
|
1527
1535
|
"type": {
|
|
1528
1536
|
"text": "ElementStyles"
|
|
@@ -1547,320 +1555,195 @@
|
|
|
1547
1555
|
"exports": [
|
|
1548
1556
|
{
|
|
1549
1557
|
"kind": "js",
|
|
1550
|
-
"name": "
|
|
1551
|
-
"declaration": {
|
|
1552
|
-
"name": "actionsMenuBaseStyles",
|
|
1553
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1554
|
-
}
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
"kind": "js",
|
|
1558
|
-
"name": "foundationActionsMenuStyles",
|
|
1558
|
+
"name": "foundationAccordionItemStyles",
|
|
1559
1559
|
"declaration": {
|
|
1560
|
-
"name": "
|
|
1561
|
-
"module": "src/
|
|
1560
|
+
"name": "foundationAccordionItemStyles",
|
|
1561
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1562
1562
|
}
|
|
1563
1563
|
}
|
|
1564
1564
|
]
|
|
1565
1565
|
},
|
|
1566
1566
|
{
|
|
1567
1567
|
"kind": "javascript-module",
|
|
1568
|
-
"path": "src/
|
|
1568
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1569
1569
|
"declarations": [
|
|
1570
1570
|
{
|
|
1571
1571
|
"kind": "function",
|
|
1572
|
-
"name": "
|
|
1572
|
+
"name": "foundationAccordionItemTemplate",
|
|
1573
|
+
"return": {
|
|
1574
|
+
"type": {
|
|
1575
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1573
1578
|
"parameters": [
|
|
1574
1579
|
{
|
|
1575
|
-
"name": "
|
|
1580
|
+
"name": "context",
|
|
1576
1581
|
"type": {
|
|
1577
|
-
"text": "
|
|
1582
|
+
"text": "ElementDefinitionContext"
|
|
1578
1583
|
}
|
|
1579
|
-
}
|
|
1580
|
-
]
|
|
1581
|
-
},
|
|
1582
|
-
{
|
|
1583
|
-
"kind": "function",
|
|
1584
|
-
"name": "singleOptionTemplate",
|
|
1585
|
-
"parameters": [
|
|
1584
|
+
},
|
|
1586
1585
|
{
|
|
1587
|
-
"name": "
|
|
1586
|
+
"name": "definition",
|
|
1588
1587
|
"type": {
|
|
1589
|
-
"text": "
|
|
1588
|
+
"text": "FoundationElementDefinition"
|
|
1590
1589
|
}
|
|
1591
1590
|
}
|
|
1592
1591
|
]
|
|
1593
|
-
},
|
|
1594
|
-
{
|
|
1595
|
-
"kind": "variable",
|
|
1596
|
-
"name": "foundationActionsMenuTemplate",
|
|
1597
|
-
"type": {
|
|
1598
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1599
|
-
},
|
|
1600
|
-
"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`"
|
|
1601
1592
|
}
|
|
1602
1593
|
],
|
|
1603
1594
|
"exports": [
|
|
1604
1595
|
{
|
|
1605
1596
|
"kind": "js",
|
|
1606
|
-
"name": "
|
|
1607
|
-
"declaration": {
|
|
1608
|
-
"name": "menuTemplate",
|
|
1609
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1610
|
-
}
|
|
1611
|
-
},
|
|
1612
|
-
{
|
|
1613
|
-
"kind": "js",
|
|
1614
|
-
"name": "singleOptionTemplate",
|
|
1615
|
-
"declaration": {
|
|
1616
|
-
"name": "singleOptionTemplate",
|
|
1617
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1618
|
-
}
|
|
1619
|
-
},
|
|
1620
|
-
{
|
|
1621
|
-
"kind": "js",
|
|
1622
|
-
"name": "foundationActionsMenuTemplate",
|
|
1597
|
+
"name": "foundationAccordionItemTemplate",
|
|
1623
1598
|
"declaration": {
|
|
1624
|
-
"name": "
|
|
1625
|
-
"module": "src/
|
|
1599
|
+
"name": "foundationAccordionItemTemplate",
|
|
1600
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1626
1601
|
}
|
|
1627
1602
|
}
|
|
1628
1603
|
]
|
|
1629
1604
|
},
|
|
1630
1605
|
{
|
|
1631
1606
|
"kind": "javascript-module",
|
|
1632
|
-
"path": "src/
|
|
1607
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1633
1608
|
"declarations": [
|
|
1634
1609
|
{
|
|
1635
1610
|
"kind": "class",
|
|
1636
1611
|
"description": "",
|
|
1637
|
-
"name": "
|
|
1638
|
-
"
|
|
1612
|
+
"name": "AccordionItem",
|
|
1613
|
+
"superclass": {
|
|
1614
|
+
"name": "FASTAccordionItem",
|
|
1615
|
+
"package": "@microsoft/fast-components"
|
|
1616
|
+
},
|
|
1617
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1618
|
+
"customElement": true,
|
|
1619
|
+
"attributes": [
|
|
1639
1620
|
{
|
|
1640
|
-
"
|
|
1641
|
-
"name": "actions",
|
|
1621
|
+
"name": "heading-level",
|
|
1642
1622
|
"type": {
|
|
1643
|
-
"text": "
|
|
1623
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1624
|
+
},
|
|
1625
|
+
"default": "2",
|
|
1626
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1627
|
+
"fieldName": "headinglevel",
|
|
1628
|
+
"inheritedFrom": {
|
|
1629
|
+
"name": "AccordionItem",
|
|
1630
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1644
1631
|
}
|
|
1645
1632
|
},
|
|
1646
1633
|
{
|
|
1647
|
-
"kind": "field",
|
|
1648
|
-
"name": "isVertical",
|
|
1649
1634
|
"type": {
|
|
1650
1635
|
"text": "boolean"
|
|
1651
1636
|
},
|
|
1652
|
-
"default": "false"
|
|
1637
|
+
"default": "false",
|
|
1638
|
+
"description": "Expands or collapses the item.",
|
|
1639
|
+
"fieldName": "expanded",
|
|
1640
|
+
"inheritedFrom": {
|
|
1641
|
+
"name": "AccordionItem",
|
|
1642
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1643
|
+
}
|
|
1653
1644
|
},
|
|
1654
1645
|
{
|
|
1655
|
-
"
|
|
1656
|
-
"name": "addDefaultActions",
|
|
1646
|
+
"name": "id",
|
|
1657
1647
|
"type": {
|
|
1658
|
-
"text": "
|
|
1648
|
+
"text": "string"
|
|
1659
1649
|
},
|
|
1660
|
-
"
|
|
1661
|
-
|
|
1650
|
+
"description": "The item ID",
|
|
1651
|
+
"fieldName": "id",
|
|
1652
|
+
"inheritedFrom": {
|
|
1653
|
+
"name": "AccordionItem",
|
|
1654
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
],
|
|
1658
|
+
"members": [
|
|
1662
1659
|
{
|
|
1663
1660
|
"kind": "field",
|
|
1664
|
-
"name": "
|
|
1661
|
+
"name": "headinglevel",
|
|
1665
1662
|
"type": {
|
|
1666
|
-
"text": "
|
|
1663
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1667
1664
|
},
|
|
1668
|
-
"
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
"
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
"text": "string"
|
|
1665
|
+
"privacy": "public",
|
|
1666
|
+
"default": "2",
|
|
1667
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1668
|
+
"inheritedFrom": {
|
|
1669
|
+
"name": "AccordionItem",
|
|
1670
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1675
1671
|
}
|
|
1676
1672
|
},
|
|
1677
1673
|
{
|
|
1678
1674
|
"kind": "field",
|
|
1679
|
-
"name": "
|
|
1675
|
+
"name": "expanded",
|
|
1680
1676
|
"type": {
|
|
1681
|
-
"text": "
|
|
1677
|
+
"text": "boolean"
|
|
1678
|
+
},
|
|
1679
|
+
"privacy": "public",
|
|
1680
|
+
"default": "false",
|
|
1681
|
+
"description": "Expands or collapses the item.",
|
|
1682
|
+
"inheritedFrom": {
|
|
1683
|
+
"name": "AccordionItem",
|
|
1684
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1682
1685
|
}
|
|
1683
1686
|
},
|
|
1684
1687
|
{
|
|
1685
1688
|
"kind": "field",
|
|
1686
|
-
"name": "
|
|
1689
|
+
"name": "id",
|
|
1687
1690
|
"type": {
|
|
1688
1691
|
"text": "string"
|
|
1689
1692
|
},
|
|
1690
|
-
"
|
|
1693
|
+
"privacy": "public",
|
|
1694
|
+
"description": "The item ID",
|
|
1695
|
+
"inheritedFrom": {
|
|
1696
|
+
"name": "AccordionItem",
|
|
1697
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1698
|
+
}
|
|
1691
1699
|
},
|
|
1692
1700
|
{
|
|
1693
1701
|
"kind": "field",
|
|
1694
|
-
"name": "
|
|
1695
|
-
"
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1702
|
+
"name": "change",
|
|
1703
|
+
"privacy": "private",
|
|
1704
|
+
"inheritedFrom": {
|
|
1705
|
+
"name": "AccordionItem",
|
|
1706
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1707
|
+
}
|
|
1699
1708
|
},
|
|
1700
1709
|
{
|
|
1701
1710
|
"kind": "field",
|
|
1702
|
-
"name": "
|
|
1711
|
+
"name": "_presentation",
|
|
1703
1712
|
"type": {
|
|
1704
|
-
"text": "
|
|
1713
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1714
|
+
},
|
|
1715
|
+
"privacy": "private",
|
|
1716
|
+
"default": "void 0",
|
|
1717
|
+
"inheritedFrom": {
|
|
1718
|
+
"name": "FoundationElement",
|
|
1719
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1705
1720
|
}
|
|
1706
1721
|
},
|
|
1707
1722
|
{
|
|
1708
1723
|
"kind": "field",
|
|
1709
|
-
"name": "
|
|
1724
|
+
"name": "$presentation",
|
|
1710
1725
|
"type": {
|
|
1711
|
-
"text": "
|
|
1726
|
+
"text": "ComponentPresentation | null"
|
|
1712
1727
|
},
|
|
1713
|
-
"
|
|
1728
|
+
"privacy": "public",
|
|
1729
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1730
|
+
"inheritedFrom": {
|
|
1731
|
+
"name": "FoundationElement",
|
|
1732
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1733
|
+
}
|
|
1714
1734
|
},
|
|
1715
1735
|
{
|
|
1716
1736
|
"kind": "field",
|
|
1717
|
-
"name": "
|
|
1737
|
+
"name": "template",
|
|
1718
1738
|
"type": {
|
|
1719
|
-
"text": "
|
|
1739
|
+
"text": "ElementViewTemplate | void | null"
|
|
1720
1740
|
},
|
|
1721
|
-
"
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
"text": "ActionMenuItem"
|
|
1728
|
-
}
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
"kind": "field",
|
|
1732
|
-
"name": "actionsMenu",
|
|
1733
|
-
"type": {
|
|
1734
|
-
"text": "HTMLElement"
|
|
1735
|
-
}
|
|
1736
|
-
},
|
|
1737
|
-
{
|
|
1738
|
-
"kind": "field",
|
|
1739
|
-
"name": "actionsOpener",
|
|
1740
|
-
"type": {
|
|
1741
|
-
"text": "HTMLElement"
|
|
1742
|
-
}
|
|
1743
|
-
},
|
|
1744
|
-
{
|
|
1745
|
-
"kind": "method",
|
|
1746
|
-
"name": "updateMenuPosition",
|
|
1747
|
-
"privacy": "private"
|
|
1748
|
-
},
|
|
1749
|
-
{
|
|
1750
|
-
"kind": "method",
|
|
1751
|
-
"name": "definitionChanged",
|
|
1752
|
-
"privacy": "protected",
|
|
1753
|
-
"parameters": [
|
|
1754
|
-
{
|
|
1755
|
-
"name": "oldValue",
|
|
1756
|
-
"type": {
|
|
1757
|
-
"text": "any"
|
|
1758
|
-
}
|
|
1759
|
-
},
|
|
1760
|
-
{
|
|
1761
|
-
"name": "newValue",
|
|
1762
|
-
"type": {
|
|
1763
|
-
"text": "any"
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
1766
|
-
]
|
|
1767
|
-
},
|
|
1768
|
-
{
|
|
1769
|
-
"kind": "method",
|
|
1770
|
-
"name": "openChanged",
|
|
1771
|
-
"privacy": "protected"
|
|
1772
|
-
},
|
|
1773
|
-
{
|
|
1774
|
-
"kind": "method",
|
|
1775
|
-
"name": "toggleActionsMenuVisibility"
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
"kind": "method",
|
|
1779
|
-
"name": "onActionMenuItemClick",
|
|
1780
|
-
"parameters": [
|
|
1781
|
-
{
|
|
1782
|
-
"name": "callback",
|
|
1783
|
-
"type": {
|
|
1784
|
-
"text": "(rowData) => void | any"
|
|
1785
|
-
}
|
|
1786
|
-
}
|
|
1787
|
-
]
|
|
1788
|
-
},
|
|
1789
|
-
{
|
|
1790
|
-
"kind": "field",
|
|
1791
|
-
"name": "allActions",
|
|
1792
|
-
"type": {
|
|
1793
|
-
"text": "ActionMenuItem[]"
|
|
1794
|
-
},
|
|
1795
|
-
"readonly": true
|
|
1796
|
-
},
|
|
1797
|
-
{
|
|
1798
|
-
"kind": "field",
|
|
1799
|
-
"name": "rowData",
|
|
1800
|
-
"readonly": true
|
|
1801
|
-
},
|
|
1802
|
-
{
|
|
1803
|
-
"kind": "method",
|
|
1804
|
-
"name": "getLabel",
|
|
1805
|
-
"parameters": [
|
|
1806
|
-
{
|
|
1807
|
-
"name": "name",
|
|
1808
|
-
"type": {
|
|
1809
|
-
"text": "string | ((rowData: any) => string)"
|
|
1810
|
-
}
|
|
1811
|
-
}
|
|
1812
|
-
]
|
|
1813
|
-
},
|
|
1814
|
-
{
|
|
1815
|
-
"kind": "method",
|
|
1816
|
-
"name": "getTemplate",
|
|
1817
|
-
"parameters": [
|
|
1818
|
-
{
|
|
1819
|
-
"name": "prefix",
|
|
1820
|
-
"type": {
|
|
1821
|
-
"text": "string"
|
|
1822
|
-
}
|
|
1823
|
-
}
|
|
1824
|
-
]
|
|
1825
|
-
},
|
|
1826
|
-
{
|
|
1827
|
-
"kind": "field",
|
|
1828
|
-
"name": "_presentation",
|
|
1829
|
-
"type": {
|
|
1830
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1831
|
-
},
|
|
1832
|
-
"privacy": "private",
|
|
1833
|
-
"default": "void 0",
|
|
1834
|
-
"inheritedFrom": {
|
|
1835
|
-
"name": "FoundationElement",
|
|
1836
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1837
|
-
}
|
|
1838
|
-
},
|
|
1839
|
-
{
|
|
1840
|
-
"kind": "field",
|
|
1841
|
-
"name": "$presentation",
|
|
1842
|
-
"type": {
|
|
1843
|
-
"text": "ComponentPresentation | null"
|
|
1844
|
-
},
|
|
1845
|
-
"privacy": "public",
|
|
1846
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1847
|
-
"inheritedFrom": {
|
|
1848
|
-
"name": "FoundationElement",
|
|
1849
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1850
|
-
}
|
|
1851
|
-
},
|
|
1852
|
-
{
|
|
1853
|
-
"kind": "field",
|
|
1854
|
-
"name": "template",
|
|
1855
|
-
"type": {
|
|
1856
|
-
"text": "ElementViewTemplate | void | null"
|
|
1857
|
-
},
|
|
1858
|
-
"privacy": "public",
|
|
1859
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1860
|
-
"inheritedFrom": {
|
|
1861
|
-
"name": "FoundationElement",
|
|
1862
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1863
|
-
}
|
|
1741
|
+
"privacy": "public",
|
|
1742
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1743
|
+
"inheritedFrom": {
|
|
1744
|
+
"name": "FoundationElement",
|
|
1745
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1746
|
+
}
|
|
1864
1747
|
},
|
|
1865
1748
|
{
|
|
1866
1749
|
"kind": "method",
|
|
@@ -1935,107 +1818,78 @@
|
|
|
1935
1818
|
}
|
|
1936
1819
|
}
|
|
1937
1820
|
],
|
|
1938
|
-
"
|
|
1939
|
-
{
|
|
1940
|
-
"name": "is-vertical",
|
|
1941
|
-
"type": {
|
|
1942
|
-
"text": "boolean"
|
|
1943
|
-
},
|
|
1944
|
-
"default": "false",
|
|
1945
|
-
"fieldName": "isVertical"
|
|
1946
|
-
},
|
|
1947
|
-
{
|
|
1948
|
-
"name": "add-default-actions",
|
|
1949
|
-
"type": {
|
|
1950
|
-
"text": "boolean"
|
|
1951
|
-
},
|
|
1952
|
-
"default": "true",
|
|
1953
|
-
"fieldName": "addDefaultActions"
|
|
1954
|
-
},
|
|
1955
|
-
{
|
|
1956
|
-
"name": "auto-close-on-action",
|
|
1957
|
-
"type": {
|
|
1958
|
-
"text": "boolean"
|
|
1959
|
-
},
|
|
1960
|
-
"default": "true",
|
|
1961
|
-
"fieldName": "autoCloseOnAction"
|
|
1962
|
-
},
|
|
1963
|
-
{
|
|
1964
|
-
"name": "name",
|
|
1965
|
-
"type": {
|
|
1966
|
-
"text": "string"
|
|
1967
|
-
},
|
|
1968
|
-
"default": "'Actions'",
|
|
1969
|
-
"fieldName": "name"
|
|
1970
|
-
},
|
|
1971
|
-
{
|
|
1972
|
-
"name": "open",
|
|
1973
|
-
"type": {
|
|
1974
|
-
"text": "boolean"
|
|
1975
|
-
},
|
|
1976
|
-
"default": "false",
|
|
1977
|
-
"fieldName": "open"
|
|
1978
|
-
},
|
|
1979
|
-
{
|
|
1980
|
-
"name": "buttonAppearance",
|
|
1981
|
-
"type": {
|
|
1982
|
-
"text": "string"
|
|
1983
|
-
},
|
|
1984
|
-
"fieldName": "buttonAppearance"
|
|
1985
|
-
},
|
|
1986
|
-
{
|
|
1987
|
-
"name": "hide-disabled",
|
|
1988
|
-
"type": {
|
|
1989
|
-
"text": "boolean"
|
|
1990
|
-
},
|
|
1991
|
-
"default": "false",
|
|
1992
|
-
"fieldName": "hideDisabled"
|
|
1993
|
-
},
|
|
1821
|
+
"events": [
|
|
1994
1822
|
{
|
|
1995
|
-
"
|
|
1996
|
-
"
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
1823
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1824
|
+
"name": "change",
|
|
1825
|
+
"inheritedFrom": {
|
|
1826
|
+
"name": "AccordionItem",
|
|
1827
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1828
|
+
}
|
|
2001
1829
|
}
|
|
2002
|
-
]
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
1830
|
+
]
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"kind": "variable",
|
|
1834
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1835
|
+
"type": {
|
|
1836
|
+
"text": "ShadowRootInit"
|
|
2006
1837
|
},
|
|
2007
|
-
"
|
|
2008
|
-
"customElement": true
|
|
1838
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2009
1839
|
},
|
|
2010
1840
|
{
|
|
2011
1841
|
"kind": "variable",
|
|
2012
|
-
"name": "
|
|
2013
|
-
"
|
|
1842
|
+
"name": "defaultAccordionItemConfig",
|
|
1843
|
+
"type": {
|
|
1844
|
+
"text": "object"
|
|
1845
|
+
},
|
|
1846
|
+
"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}"
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"kind": "variable",
|
|
1850
|
+
"name": "foundationAccordionItem",
|
|
1851
|
+
"description": "The Foundation Accordion Item",
|
|
2014
1852
|
"privacy": "public"
|
|
2015
1853
|
}
|
|
2016
1854
|
],
|
|
2017
1855
|
"exports": [
|
|
2018
1856
|
{
|
|
2019
1857
|
"kind": "js",
|
|
2020
|
-
"name": "
|
|
1858
|
+
"name": "AccordionItem",
|
|
2021
1859
|
"declaration": {
|
|
2022
|
-
"name": "
|
|
2023
|
-
"module": "src/
|
|
1860
|
+
"name": "AccordionItem",
|
|
1861
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1862
|
+
}
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"kind": "js",
|
|
1866
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1867
|
+
"declaration": {
|
|
1868
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1869
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1870
|
+
}
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"kind": "js",
|
|
1874
|
+
"name": "defaultAccordionItemConfig",
|
|
1875
|
+
"declaration": {
|
|
1876
|
+
"name": "defaultAccordionItemConfig",
|
|
1877
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2024
1878
|
}
|
|
2025
1879
|
},
|
|
2026
1880
|
{
|
|
2027
1881
|
"kind": "js",
|
|
2028
|
-
"name": "
|
|
1882
|
+
"name": "foundationAccordionItem",
|
|
2029
1883
|
"declaration": {
|
|
2030
|
-
"name": "
|
|
2031
|
-
"module": "src/
|
|
1884
|
+
"name": "foundationAccordionItem",
|
|
1885
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2032
1886
|
}
|
|
2033
1887
|
}
|
|
2034
1888
|
]
|
|
2035
1889
|
},
|
|
2036
1890
|
{
|
|
2037
1891
|
"kind": "javascript-module",
|
|
2038
|
-
"path": "src/
|
|
1892
|
+
"path": "src/accordion-item/index.ts",
|
|
2039
1893
|
"declarations": [],
|
|
2040
1894
|
"exports": [
|
|
2041
1895
|
{
|
|
@@ -2043,7 +1897,7 @@
|
|
|
2043
1897
|
"name": "*",
|
|
2044
1898
|
"declaration": {
|
|
2045
1899
|
"name": "*",
|
|
2046
|
-
"package": "./
|
|
1900
|
+
"package": "./accordion-item.template"
|
|
2047
1901
|
}
|
|
2048
1902
|
},
|
|
2049
1903
|
{
|
|
@@ -2051,7 +1905,7 @@
|
|
|
2051
1905
|
"name": "*",
|
|
2052
1906
|
"declaration": {
|
|
2053
1907
|
"name": "*",
|
|
2054
|
-
"package": "./
|
|
1908
|
+
"package": "./accordion-item.styles"
|
|
2055
1909
|
}
|
|
2056
1910
|
},
|
|
2057
1911
|
{
|
|
@@ -2059,18 +1913,41 @@
|
|
|
2059
1913
|
"name": "*",
|
|
2060
1914
|
"declaration": {
|
|
2061
1915
|
"name": "*",
|
|
2062
|
-
"package": "./
|
|
1916
|
+
"package": "./accordion-item"
|
|
2063
1917
|
}
|
|
2064
1918
|
}
|
|
2065
1919
|
]
|
|
2066
1920
|
},
|
|
2067
1921
|
{
|
|
2068
1922
|
"kind": "javascript-module",
|
|
2069
|
-
"path": "src/
|
|
1923
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2070
1924
|
"declarations": [
|
|
2071
1925
|
{
|
|
2072
1926
|
"kind": "function",
|
|
2073
|
-
"name": "
|
|
1927
|
+
"name": "actionsMenuBaseStyles",
|
|
1928
|
+
"return": {
|
|
1929
|
+
"type": {
|
|
1930
|
+
"text": "ElementStyles"
|
|
1931
|
+
}
|
|
1932
|
+
},
|
|
1933
|
+
"parameters": [
|
|
1934
|
+
{
|
|
1935
|
+
"name": "context",
|
|
1936
|
+
"type": {
|
|
1937
|
+
"text": "ElementDefinitionContext"
|
|
1938
|
+
}
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"name": "definition",
|
|
1942
|
+
"type": {
|
|
1943
|
+
"text": "FoundationElementDefinition"
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
]
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"kind": "function",
|
|
1950
|
+
"name": "foundationActionsMenuStyles",
|
|
2074
1951
|
"return": {
|
|
2075
1952
|
"type": {
|
|
2076
1953
|
"text": "ElementStyles"
|
|
@@ -2095,156 +1972,281 @@
|
|
|
2095
1972
|
"exports": [
|
|
2096
1973
|
{
|
|
2097
1974
|
"kind": "js",
|
|
2098
|
-
"name": "
|
|
1975
|
+
"name": "actionsMenuBaseStyles",
|
|
2099
1976
|
"declaration": {
|
|
2100
|
-
"name": "
|
|
2101
|
-
"module": "src/
|
|
1977
|
+
"name": "actionsMenuBaseStyles",
|
|
1978
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1979
|
+
}
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
"kind": "js",
|
|
1983
|
+
"name": "foundationActionsMenuStyles",
|
|
1984
|
+
"declaration": {
|
|
1985
|
+
"name": "foundationActionsMenuStyles",
|
|
1986
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2102
1987
|
}
|
|
2103
1988
|
}
|
|
2104
1989
|
]
|
|
2105
1990
|
},
|
|
2106
1991
|
{
|
|
2107
1992
|
"kind": "javascript-module",
|
|
2108
|
-
"path": "src/
|
|
1993
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2109
1994
|
"declarations": [
|
|
2110
1995
|
{
|
|
2111
1996
|
"kind": "function",
|
|
2112
|
-
"name": "
|
|
2113
|
-
"return": {
|
|
2114
|
-
"type": {
|
|
2115
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
2116
|
-
}
|
|
2117
|
-
},
|
|
1997
|
+
"name": "menuTemplate",
|
|
2118
1998
|
"parameters": [
|
|
2119
1999
|
{
|
|
2120
|
-
"name": "
|
|
2000
|
+
"name": "prefix",
|
|
2121
2001
|
"type": {
|
|
2122
|
-
"text": "
|
|
2002
|
+
"text": "string"
|
|
2123
2003
|
}
|
|
2124
|
-
}
|
|
2004
|
+
}
|
|
2005
|
+
]
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"kind": "function",
|
|
2009
|
+
"name": "singleOptionTemplate",
|
|
2010
|
+
"parameters": [
|
|
2125
2011
|
{
|
|
2126
|
-
"name": "
|
|
2012
|
+
"name": "prefix",
|
|
2127
2013
|
"type": {
|
|
2128
|
-
"text": "
|
|
2014
|
+
"text": "string"
|
|
2129
2015
|
}
|
|
2130
2016
|
}
|
|
2131
2017
|
]
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"kind": "variable",
|
|
2021
|
+
"name": "foundationActionsMenuTemplate",
|
|
2022
|
+
"type": {
|
|
2023
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2024
|
+
},
|
|
2025
|
+
"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`"
|
|
2132
2026
|
}
|
|
2133
2027
|
],
|
|
2134
2028
|
"exports": [
|
|
2135
2029
|
{
|
|
2136
2030
|
"kind": "js",
|
|
2137
|
-
"name": "
|
|
2031
|
+
"name": "menuTemplate",
|
|
2138
2032
|
"declaration": {
|
|
2139
|
-
"name": "
|
|
2140
|
-
"module": "src/
|
|
2033
|
+
"name": "menuTemplate",
|
|
2034
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2035
|
+
}
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
"kind": "js",
|
|
2039
|
+
"name": "singleOptionTemplate",
|
|
2040
|
+
"declaration": {
|
|
2041
|
+
"name": "singleOptionTemplate",
|
|
2042
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2043
|
+
}
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"kind": "js",
|
|
2047
|
+
"name": "foundationActionsMenuTemplate",
|
|
2048
|
+
"declaration": {
|
|
2049
|
+
"name": "foundationActionsMenuTemplate",
|
|
2050
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2141
2051
|
}
|
|
2142
2052
|
}
|
|
2143
2053
|
]
|
|
2144
2054
|
},
|
|
2145
2055
|
{
|
|
2146
2056
|
"kind": "javascript-module",
|
|
2147
|
-
"path": "src/
|
|
2057
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2148
2058
|
"declarations": [
|
|
2149
2059
|
{
|
|
2150
2060
|
"kind": "class",
|
|
2151
2061
|
"description": "",
|
|
2152
|
-
"name": "
|
|
2153
|
-
"
|
|
2154
|
-
"name": "FASTAccordionItem",
|
|
2155
|
-
"package": "@microsoft/fast-components"
|
|
2156
|
-
},
|
|
2157
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2158
|
-
"customElement": true,
|
|
2159
|
-
"attributes": [
|
|
2062
|
+
"name": "ActionsMenu",
|
|
2063
|
+
"members": [
|
|
2160
2064
|
{
|
|
2161
|
-
"
|
|
2065
|
+
"kind": "field",
|
|
2066
|
+
"name": "actions",
|
|
2162
2067
|
"type": {
|
|
2163
|
-
"text": "
|
|
2068
|
+
"text": "ActionMenuItem[]"
|
|
2069
|
+
}
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"kind": "field",
|
|
2073
|
+
"name": "isVertical",
|
|
2074
|
+
"type": {
|
|
2075
|
+
"text": "boolean"
|
|
2164
2076
|
},
|
|
2165
|
-
"default": "
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
"
|
|
2169
|
-
|
|
2170
|
-
|
|
2077
|
+
"default": "false"
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
"kind": "field",
|
|
2081
|
+
"name": "addDefaultActions",
|
|
2082
|
+
"type": {
|
|
2083
|
+
"text": "boolean"
|
|
2084
|
+
},
|
|
2085
|
+
"default": "true"
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"kind": "field",
|
|
2089
|
+
"name": "autoCloseOnAction",
|
|
2090
|
+
"type": {
|
|
2091
|
+
"text": "boolean"
|
|
2092
|
+
},
|
|
2093
|
+
"default": "true"
|
|
2094
|
+
},
|
|
2095
|
+
{
|
|
2096
|
+
"kind": "field",
|
|
2097
|
+
"name": "classNames",
|
|
2098
|
+
"type": {
|
|
2099
|
+
"text": "string"
|
|
2100
|
+
}
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"kind": "field",
|
|
2104
|
+
"name": "definition",
|
|
2105
|
+
"type": {
|
|
2106
|
+
"text": "any"
|
|
2171
2107
|
}
|
|
2172
2108
|
},
|
|
2173
2109
|
{
|
|
2110
|
+
"kind": "field",
|
|
2111
|
+
"name": "name",
|
|
2112
|
+
"type": {
|
|
2113
|
+
"text": "string"
|
|
2114
|
+
},
|
|
2115
|
+
"default": "'Actions'"
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"kind": "field",
|
|
2119
|
+
"name": "open",
|
|
2174
2120
|
"type": {
|
|
2175
2121
|
"text": "boolean"
|
|
2176
2122
|
},
|
|
2177
|
-
"default": "false"
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
"
|
|
2181
|
-
|
|
2182
|
-
|
|
2123
|
+
"default": "false"
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"kind": "field",
|
|
2127
|
+
"name": "buttonAppearance",
|
|
2128
|
+
"type": {
|
|
2129
|
+
"text": "string"
|
|
2130
|
+
}
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
"kind": "field",
|
|
2134
|
+
"name": "hideDisabled",
|
|
2135
|
+
"type": {
|
|
2136
|
+
"text": "boolean"
|
|
2137
|
+
},
|
|
2138
|
+
"default": "false"
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"kind": "field",
|
|
2142
|
+
"name": "hideMenuSingleOption",
|
|
2143
|
+
"type": {
|
|
2144
|
+
"text": "boolean"
|
|
2145
|
+
},
|
|
2146
|
+
"default": "false"
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"kind": "field",
|
|
2150
|
+
"name": "singleOption",
|
|
2151
|
+
"type": {
|
|
2152
|
+
"text": "ActionMenuItem"
|
|
2153
|
+
}
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"kind": "field",
|
|
2157
|
+
"name": "actionsMenu",
|
|
2158
|
+
"type": {
|
|
2159
|
+
"text": "HTMLElement"
|
|
2160
|
+
}
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"kind": "field",
|
|
2164
|
+
"name": "actionsOpener",
|
|
2165
|
+
"type": {
|
|
2166
|
+
"text": "HTMLElement"
|
|
2183
2167
|
}
|
|
2184
2168
|
},
|
|
2185
2169
|
{
|
|
2186
|
-
"
|
|
2187
|
-
"
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
"
|
|
2192
|
-
"
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2170
|
+
"kind": "method",
|
|
2171
|
+
"name": "updateMenuPosition",
|
|
2172
|
+
"privacy": "private"
|
|
2173
|
+
},
|
|
2174
|
+
{
|
|
2175
|
+
"kind": "method",
|
|
2176
|
+
"name": "definitionChanged",
|
|
2177
|
+
"privacy": "protected",
|
|
2178
|
+
"parameters": [
|
|
2179
|
+
{
|
|
2180
|
+
"name": "oldValue",
|
|
2181
|
+
"type": {
|
|
2182
|
+
"text": "any"
|
|
2183
|
+
}
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
"name": "newValue",
|
|
2187
|
+
"type": {
|
|
2188
|
+
"text": "any"
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2191
|
+
]
|
|
2192
|
+
},
|
|
2193
|
+
{
|
|
2194
|
+
"kind": "method",
|
|
2195
|
+
"name": "openChanged",
|
|
2196
|
+
"privacy": "protected"
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"kind": "method",
|
|
2200
|
+
"name": "toggleActionsMenuVisibility"
|
|
2201
|
+
},
|
|
2199
2202
|
{
|
|
2200
|
-
"kind": "
|
|
2201
|
-
"name": "
|
|
2202
|
-
"
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2211
|
-
}
|
|
2203
|
+
"kind": "method",
|
|
2204
|
+
"name": "onActionMenuItemClick",
|
|
2205
|
+
"parameters": [
|
|
2206
|
+
{
|
|
2207
|
+
"name": "callback",
|
|
2208
|
+
"type": {
|
|
2209
|
+
"text": "(rowData) => void | any"
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
]
|
|
2212
2213
|
},
|
|
2213
2214
|
{
|
|
2214
2215
|
"kind": "field",
|
|
2215
|
-
"name": "
|
|
2216
|
+
"name": "allActions",
|
|
2216
2217
|
"type": {
|
|
2217
|
-
"text": "
|
|
2218
|
+
"text": "ActionMenuItem[]"
|
|
2218
2219
|
},
|
|
2219
|
-
"
|
|
2220
|
-
"default": "false",
|
|
2221
|
-
"description": "Expands or collapses the item.",
|
|
2222
|
-
"inheritedFrom": {
|
|
2223
|
-
"name": "AccordionItem",
|
|
2224
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2225
|
-
}
|
|
2220
|
+
"readonly": true
|
|
2226
2221
|
},
|
|
2227
2222
|
{
|
|
2228
2223
|
"kind": "field",
|
|
2229
|
-
"name": "
|
|
2230
|
-
"
|
|
2231
|
-
"text": "string"
|
|
2232
|
-
},
|
|
2233
|
-
"privacy": "public",
|
|
2234
|
-
"description": "The item ID",
|
|
2235
|
-
"inheritedFrom": {
|
|
2236
|
-
"name": "AccordionItem",
|
|
2237
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2238
|
-
}
|
|
2224
|
+
"name": "rowData",
|
|
2225
|
+
"readonly": true
|
|
2239
2226
|
},
|
|
2240
2227
|
{
|
|
2241
|
-
"kind": "
|
|
2242
|
-
"name": "
|
|
2243
|
-
"
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2228
|
+
"kind": "method",
|
|
2229
|
+
"name": "getLabel",
|
|
2230
|
+
"parameters": [
|
|
2231
|
+
{
|
|
2232
|
+
"name": "name",
|
|
2233
|
+
"type": {
|
|
2234
|
+
"text": "string | ((rowData: any) => string)"
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
]
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
"kind": "method",
|
|
2241
|
+
"name": "getTemplate",
|
|
2242
|
+
"parameters": [
|
|
2243
|
+
{
|
|
2244
|
+
"name": "prefix",
|
|
2245
|
+
"type": {
|
|
2246
|
+
"text": "string"
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
]
|
|
2248
2250
|
},
|
|
2249
2251
|
{
|
|
2250
2252
|
"kind": "field",
|
|
@@ -2358,109 +2360,107 @@
|
|
|
2358
2360
|
}
|
|
2359
2361
|
}
|
|
2360
2362
|
],
|
|
2361
|
-
"
|
|
2363
|
+
"attributes": [
|
|
2362
2364
|
{
|
|
2363
|
-
"
|
|
2364
|
-
"
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2365
|
+
"name": "is-vertical",
|
|
2366
|
+
"type": {
|
|
2367
|
+
"text": "boolean"
|
|
2368
|
+
},
|
|
2369
|
+
"default": "false",
|
|
2370
|
+
"fieldName": "isVertical"
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
"name": "add-default-actions",
|
|
2374
|
+
"type": {
|
|
2375
|
+
"text": "boolean"
|
|
2376
|
+
},
|
|
2377
|
+
"default": "true",
|
|
2378
|
+
"fieldName": "addDefaultActions"
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
"name": "auto-close-on-action",
|
|
2382
|
+
"type": {
|
|
2383
|
+
"text": "boolean"
|
|
2384
|
+
},
|
|
2385
|
+
"default": "true",
|
|
2386
|
+
"fieldName": "autoCloseOnAction"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "name",
|
|
2390
|
+
"type": {
|
|
2391
|
+
"text": "string"
|
|
2392
|
+
},
|
|
2393
|
+
"default": "'Actions'",
|
|
2394
|
+
"fieldName": "name"
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "open",
|
|
2398
|
+
"type": {
|
|
2399
|
+
"text": "boolean"
|
|
2400
|
+
},
|
|
2401
|
+
"default": "false",
|
|
2402
|
+
"fieldName": "open"
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"name": "buttonAppearance",
|
|
2406
|
+
"type": {
|
|
2407
|
+
"text": "string"
|
|
2408
|
+
},
|
|
2409
|
+
"fieldName": "buttonAppearance"
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"name": "hide-disabled",
|
|
2413
|
+
"type": {
|
|
2414
|
+
"text": "boolean"
|
|
2415
|
+
},
|
|
2416
|
+
"default": "false",
|
|
2417
|
+
"fieldName": "hideDisabled"
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"name": "hide-menu-single-option",
|
|
2421
|
+
"type": {
|
|
2422
|
+
"text": "boolean"
|
|
2423
|
+
},
|
|
2424
|
+
"default": "false",
|
|
2425
|
+
"fieldName": "hideMenuSingleOption"
|
|
2369
2426
|
}
|
|
2370
|
-
]
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2375
|
-
"type": {
|
|
2376
|
-
"text": "ShadowRootInit"
|
|
2377
|
-
},
|
|
2378
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2379
|
-
},
|
|
2380
|
-
{
|
|
2381
|
-
"kind": "variable",
|
|
2382
|
-
"name": "defaultAccordionItemConfig",
|
|
2383
|
-
"type": {
|
|
2384
|
-
"text": "object"
|
|
2427
|
+
],
|
|
2428
|
+
"superclass": {
|
|
2429
|
+
"name": "FoundationElement",
|
|
2430
|
+
"package": "@microsoft/fast-foundation"
|
|
2385
2431
|
},
|
|
2386
|
-
"
|
|
2432
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2433
|
+
"customElement": true
|
|
2387
2434
|
},
|
|
2388
2435
|
{
|
|
2389
2436
|
"kind": "variable",
|
|
2390
|
-
"name": "
|
|
2391
|
-
"description": "The Foundation
|
|
2437
|
+
"name": "foundationActionsMenu",
|
|
2438
|
+
"description": "The Foundation Actions Menu",
|
|
2392
2439
|
"privacy": "public"
|
|
2393
2440
|
}
|
|
2394
2441
|
],
|
|
2395
2442
|
"exports": [
|
|
2396
2443
|
{
|
|
2397
2444
|
"kind": "js",
|
|
2398
|
-
"name": "
|
|
2399
|
-
"declaration": {
|
|
2400
|
-
"name": "AccordionItem",
|
|
2401
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2402
|
-
}
|
|
2403
|
-
},
|
|
2404
|
-
{
|
|
2405
|
-
"kind": "js",
|
|
2406
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2407
|
-
"declaration": {
|
|
2408
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2409
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2410
|
-
}
|
|
2411
|
-
},
|
|
2412
|
-
{
|
|
2413
|
-
"kind": "js",
|
|
2414
|
-
"name": "defaultAccordionItemConfig",
|
|
2415
|
-
"declaration": {
|
|
2416
|
-
"name": "defaultAccordionItemConfig",
|
|
2417
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2418
|
-
}
|
|
2419
|
-
},
|
|
2420
|
-
{
|
|
2421
|
-
"kind": "js",
|
|
2422
|
-
"name": "foundationAccordionItem",
|
|
2423
|
-
"declaration": {
|
|
2424
|
-
"name": "foundationAccordionItem",
|
|
2425
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2426
|
-
}
|
|
2427
|
-
}
|
|
2428
|
-
]
|
|
2429
|
-
},
|
|
2430
|
-
{
|
|
2431
|
-
"kind": "javascript-module",
|
|
2432
|
-
"path": "src/accordion-item/index.ts",
|
|
2433
|
-
"declarations": [],
|
|
2434
|
-
"exports": [
|
|
2435
|
-
{
|
|
2436
|
-
"kind": "js",
|
|
2437
|
-
"name": "*",
|
|
2438
|
-
"declaration": {
|
|
2439
|
-
"name": "*",
|
|
2440
|
-
"package": "./accordion-item.template"
|
|
2441
|
-
}
|
|
2442
|
-
},
|
|
2443
|
-
{
|
|
2444
|
-
"kind": "js",
|
|
2445
|
-
"name": "*",
|
|
2445
|
+
"name": "ActionsMenu",
|
|
2446
2446
|
"declaration": {
|
|
2447
|
-
"name": "
|
|
2448
|
-
"
|
|
2447
|
+
"name": "ActionsMenu",
|
|
2448
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2449
2449
|
}
|
|
2450
2450
|
},
|
|
2451
2451
|
{
|
|
2452
2452
|
"kind": "js",
|
|
2453
|
-
"name": "
|
|
2453
|
+
"name": "foundationActionsMenu",
|
|
2454
2454
|
"declaration": {
|
|
2455
|
-
"name": "
|
|
2456
|
-
"
|
|
2455
|
+
"name": "foundationActionsMenu",
|
|
2456
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2457
2457
|
}
|
|
2458
2458
|
}
|
|
2459
2459
|
]
|
|
2460
2460
|
},
|
|
2461
2461
|
{
|
|
2462
2462
|
"kind": "javascript-module",
|
|
2463
|
-
"path": "src/
|
|
2463
|
+
"path": "src/actions-menu/index.ts",
|
|
2464
2464
|
"declarations": [],
|
|
2465
2465
|
"exports": [
|
|
2466
2466
|
{
|
|
@@ -2468,7 +2468,7 @@
|
|
|
2468
2468
|
"name": "*",
|
|
2469
2469
|
"declaration": {
|
|
2470
2470
|
"name": "*",
|
|
2471
|
-
"package": "./styles"
|
|
2471
|
+
"package": "./actions-menu.styles"
|
|
2472
2472
|
}
|
|
2473
2473
|
},
|
|
2474
2474
|
{
|
|
@@ -2476,7 +2476,7 @@
|
|
|
2476
2476
|
"name": "*",
|
|
2477
2477
|
"declaration": {
|
|
2478
2478
|
"name": "*",
|
|
2479
|
-
"package": "./
|
|
2479
|
+
"package": "./actions-menu.template"
|
|
2480
2480
|
}
|
|
2481
2481
|
},
|
|
2482
2482
|
{
|
|
@@ -2484,7 +2484,7 @@
|
|
|
2484
2484
|
"name": "*",
|
|
2485
2485
|
"declaration": {
|
|
2486
2486
|
"name": "*",
|
|
2487
|
-
"package": "./
|
|
2487
|
+
"package": "./actions-menu"
|
|
2488
2488
|
}
|
|
2489
2489
|
}
|
|
2490
2490
|
]
|