@genesislcap/foundation-ui 15.84.1 → 15.84.2
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 +936 -936
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +17 -17
|
@@ -1495,42 +1495,11 @@
|
|
|
1495
1495
|
},
|
|
1496
1496
|
{
|
|
1497
1497
|
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/
|
|
1499
|
-
"declarations": [],
|
|
1500
|
-
"exports": [
|
|
1501
|
-
{
|
|
1502
|
-
"kind": "js",
|
|
1503
|
-
"name": "*",
|
|
1504
|
-
"declaration": {
|
|
1505
|
-
"name": "*",
|
|
1506
|
-
"package": "./styles"
|
|
1507
|
-
}
|
|
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",
|
|
1498
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1530
1499
|
"declarations": [
|
|
1531
1500
|
{
|
|
1532
1501
|
"kind": "function",
|
|
1533
|
-
"name": "
|
|
1502
|
+
"name": "foundationAccordionStyles",
|
|
1534
1503
|
"return": {
|
|
1535
1504
|
"type": {
|
|
1536
1505
|
"text": "ElementStyles"
|
|
@@ -1555,24 +1524,24 @@
|
|
|
1555
1524
|
"exports": [
|
|
1556
1525
|
{
|
|
1557
1526
|
"kind": "js",
|
|
1558
|
-
"name": "
|
|
1527
|
+
"name": "foundationAccordionStyles",
|
|
1559
1528
|
"declaration": {
|
|
1560
|
-
"name": "
|
|
1561
|
-
"module": "src/accordion
|
|
1529
|
+
"name": "foundationAccordionStyles",
|
|
1530
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1562
1531
|
}
|
|
1563
1532
|
}
|
|
1564
1533
|
]
|
|
1565
1534
|
},
|
|
1566
1535
|
{
|
|
1567
1536
|
"kind": "javascript-module",
|
|
1568
|
-
"path": "src/accordion
|
|
1537
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1569
1538
|
"declarations": [
|
|
1570
1539
|
{
|
|
1571
1540
|
"kind": "function",
|
|
1572
|
-
"name": "
|
|
1541
|
+
"name": "foundationAccordionTemplate",
|
|
1573
1542
|
"return": {
|
|
1574
1543
|
"type": {
|
|
1575
|
-
"text": "ViewTemplate<
|
|
1544
|
+
"text": "ViewTemplate<Accordion>"
|
|
1576
1545
|
}
|
|
1577
1546
|
},
|
|
1578
1547
|
"parameters": [
|
|
@@ -1594,244 +1563,365 @@
|
|
|
1594
1563
|
"exports": [
|
|
1595
1564
|
{
|
|
1596
1565
|
"kind": "js",
|
|
1597
|
-
"name": "
|
|
1566
|
+
"name": "foundationAccordionTemplate",
|
|
1598
1567
|
"declaration": {
|
|
1599
|
-
"name": "
|
|
1600
|
-
"module": "src/accordion
|
|
1568
|
+
"name": "foundationAccordionTemplate",
|
|
1569
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1601
1570
|
}
|
|
1602
1571
|
}
|
|
1603
1572
|
]
|
|
1604
1573
|
},
|
|
1605
1574
|
{
|
|
1606
1575
|
"kind": "javascript-module",
|
|
1607
|
-
"path": "src/accordion
|
|
1576
|
+
"path": "src/accordion/accordion.ts",
|
|
1608
1577
|
"declarations": [
|
|
1609
1578
|
{
|
|
1610
1579
|
"kind": "class",
|
|
1611
1580
|
"description": "",
|
|
1612
|
-
"name": "
|
|
1581
|
+
"name": "Accordion",
|
|
1613
1582
|
"superclass": {
|
|
1614
|
-
"name": "
|
|
1615
|
-
"package": "@microsoft/fast-
|
|
1583
|
+
"name": "FASTAccordion",
|
|
1584
|
+
"package": "@microsoft/fast-foundation"
|
|
1616
1585
|
},
|
|
1617
|
-
"tagName": "%%prefix%%-accordion
|
|
1586
|
+
"tagName": "%%prefix%%-accordion",
|
|
1618
1587
|
"customElement": true,
|
|
1619
1588
|
"attributes": [
|
|
1620
1589
|
{
|
|
1621
|
-
"name": "
|
|
1622
|
-
"type": {
|
|
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"
|
|
1631
|
-
}
|
|
1632
|
-
},
|
|
1633
|
-
{
|
|
1634
|
-
"type": {
|
|
1635
|
-
"text": "boolean"
|
|
1636
|
-
},
|
|
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
|
-
}
|
|
1644
|
-
},
|
|
1645
|
-
{
|
|
1646
|
-
"name": "id",
|
|
1590
|
+
"name": "expand-mode",
|
|
1647
1591
|
"type": {
|
|
1648
|
-
"text": "
|
|
1592
|
+
"text": "AccordionExpandMode"
|
|
1649
1593
|
},
|
|
1650
|
-
"description": "
|
|
1651
|
-
"fieldName": "
|
|
1594
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1595
|
+
"fieldName": "expandmode",
|
|
1652
1596
|
"inheritedFrom": {
|
|
1653
|
-
"name": "
|
|
1654
|
-
"module": "src/accordion
|
|
1597
|
+
"name": "Accordion",
|
|
1598
|
+
"module": "src/accordion/accordion.ts"
|
|
1655
1599
|
}
|
|
1656
1600
|
}
|
|
1657
1601
|
],
|
|
1658
1602
|
"members": [
|
|
1659
1603
|
{
|
|
1660
1604
|
"kind": "field",
|
|
1661
|
-
"name": "
|
|
1605
|
+
"name": "expandmode",
|
|
1662
1606
|
"type": {
|
|
1663
|
-
"text": "
|
|
1607
|
+
"text": "AccordionExpandMode"
|
|
1664
1608
|
},
|
|
1665
1609
|
"privacy": "public",
|
|
1666
|
-
"
|
|
1667
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1610
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1668
1611
|
"inheritedFrom": {
|
|
1669
|
-
"name": "
|
|
1670
|
-
"module": "src/accordion
|
|
1612
|
+
"name": "Accordion",
|
|
1613
|
+
"module": "src/accordion/accordion.ts"
|
|
1671
1614
|
}
|
|
1672
1615
|
},
|
|
1673
1616
|
{
|
|
1674
1617
|
"kind": "field",
|
|
1675
|
-
"name": "
|
|
1618
|
+
"name": "activeid",
|
|
1676
1619
|
"type": {
|
|
1677
|
-
"text": "
|
|
1620
|
+
"text": "string | null"
|
|
1678
1621
|
},
|
|
1679
|
-
"privacy": "
|
|
1680
|
-
"default": "false",
|
|
1681
|
-
"description": "Expands or collapses the item.",
|
|
1622
|
+
"privacy": "private",
|
|
1682
1623
|
"inheritedFrom": {
|
|
1683
|
-
"name": "
|
|
1684
|
-
"module": "src/accordion
|
|
1624
|
+
"name": "Accordion",
|
|
1625
|
+
"module": "src/accordion/accordion.ts"
|
|
1685
1626
|
}
|
|
1686
1627
|
},
|
|
1687
1628
|
{
|
|
1688
1629
|
"kind": "field",
|
|
1689
|
-
"name": "
|
|
1630
|
+
"name": "activeItemIndex",
|
|
1690
1631
|
"type": {
|
|
1691
|
-
"text": "
|
|
1632
|
+
"text": "number"
|
|
1692
1633
|
},
|
|
1693
|
-
"privacy": "
|
|
1694
|
-
"
|
|
1634
|
+
"privacy": "private",
|
|
1635
|
+
"default": "0",
|
|
1695
1636
|
"inheritedFrom": {
|
|
1696
|
-
"name": "
|
|
1697
|
-
"module": "src/accordion
|
|
1637
|
+
"name": "Accordion",
|
|
1638
|
+
"module": "src/accordion/accordion.ts"
|
|
1698
1639
|
}
|
|
1699
1640
|
},
|
|
1700
1641
|
{
|
|
1701
1642
|
"kind": "field",
|
|
1702
|
-
"name": "
|
|
1643
|
+
"name": "accordionIds",
|
|
1644
|
+
"type": {
|
|
1645
|
+
"text": "Array<string | null>"
|
|
1646
|
+
},
|
|
1703
1647
|
"privacy": "private",
|
|
1704
1648
|
"inheritedFrom": {
|
|
1705
|
-
"name": "
|
|
1706
|
-
"module": "src/accordion
|
|
1649
|
+
"name": "Accordion",
|
|
1650
|
+
"module": "src/accordion/accordion.ts"
|
|
1707
1651
|
}
|
|
1708
1652
|
},
|
|
1709
1653
|
{
|
|
1710
1654
|
"kind": "field",
|
|
1711
|
-
"name": "
|
|
1712
|
-
"type": {
|
|
1713
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1714
|
-
},
|
|
1655
|
+
"name": "change",
|
|
1715
1656
|
"privacy": "private",
|
|
1716
|
-
"default": "void 0",
|
|
1717
1657
|
"inheritedFrom": {
|
|
1718
|
-
"name": "
|
|
1719
|
-
"module": "src/
|
|
1658
|
+
"name": "Accordion",
|
|
1659
|
+
"module": "src/accordion/accordion.ts"
|
|
1720
1660
|
}
|
|
1721
1661
|
},
|
|
1722
1662
|
{
|
|
1723
|
-
"kind": "
|
|
1724
|
-
"name": "
|
|
1725
|
-
"
|
|
1726
|
-
|
|
1663
|
+
"kind": "method",
|
|
1664
|
+
"name": "findExpandedItem",
|
|
1665
|
+
"privacy": "private",
|
|
1666
|
+
"return": {
|
|
1667
|
+
"type": {
|
|
1668
|
+
"text": "AccordionItem | null"
|
|
1669
|
+
}
|
|
1727
1670
|
},
|
|
1728
|
-
"privacy": "public",
|
|
1729
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1730
1671
|
"inheritedFrom": {
|
|
1731
|
-
"name": "
|
|
1732
|
-
"module": "src/
|
|
1672
|
+
"name": "Accordion",
|
|
1673
|
+
"module": "src/accordion/accordion.ts"
|
|
1733
1674
|
}
|
|
1734
1675
|
},
|
|
1735
1676
|
{
|
|
1736
1677
|
"kind": "field",
|
|
1737
|
-
"name": "
|
|
1738
|
-
"
|
|
1739
|
-
"text": "ElementViewTemplate | void | null"
|
|
1740
|
-
},
|
|
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.",
|
|
1678
|
+
"name": "setItems",
|
|
1679
|
+
"privacy": "private",
|
|
1743
1680
|
"inheritedFrom": {
|
|
1744
|
-
"name": "
|
|
1745
|
-
"module": "src/
|
|
1681
|
+
"name": "Accordion",
|
|
1682
|
+
"module": "src/accordion/accordion.ts"
|
|
1746
1683
|
}
|
|
1747
1684
|
},
|
|
1748
1685
|
{
|
|
1749
1686
|
"kind": "method",
|
|
1750
|
-
"name": "
|
|
1751
|
-
"privacy": "
|
|
1687
|
+
"name": "resetItems",
|
|
1688
|
+
"privacy": "private",
|
|
1752
1689
|
"return": {
|
|
1753
1690
|
"type": {
|
|
1754
1691
|
"text": "void"
|
|
1755
1692
|
}
|
|
1756
1693
|
},
|
|
1757
1694
|
"inheritedFrom": {
|
|
1758
|
-
"name": "
|
|
1759
|
-
"module": "src/
|
|
1695
|
+
"name": "Accordion",
|
|
1696
|
+
"module": "src/accordion/accordion.ts"
|
|
1760
1697
|
}
|
|
1761
1698
|
},
|
|
1762
1699
|
{
|
|
1763
1700
|
"kind": "field",
|
|
1764
|
-
"name": "
|
|
1765
|
-
"
|
|
1766
|
-
"text": "ElementStyles | void | null"
|
|
1767
|
-
},
|
|
1768
|
-
"privacy": "public",
|
|
1769
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1701
|
+
"name": "removeItemListeners",
|
|
1702
|
+
"privacy": "private",
|
|
1770
1703
|
"inheritedFrom": {
|
|
1771
|
-
"name": "
|
|
1772
|
-
"module": "src/
|
|
1704
|
+
"name": "Accordion",
|
|
1705
|
+
"module": "src/accordion/accordion.ts"
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"kind": "field",
|
|
1710
|
+
"name": "activeItemChange",
|
|
1711
|
+
"privacy": "private",
|
|
1712
|
+
"inheritedFrom": {
|
|
1713
|
+
"name": "Accordion",
|
|
1714
|
+
"module": "src/accordion/accordion.ts"
|
|
1773
1715
|
}
|
|
1774
1716
|
},
|
|
1775
1717
|
{
|
|
1776
1718
|
"kind": "method",
|
|
1777
|
-
"name": "
|
|
1778
|
-
"privacy": "
|
|
1719
|
+
"name": "getItemIds",
|
|
1720
|
+
"privacy": "private",
|
|
1779
1721
|
"return": {
|
|
1780
1722
|
"type": {
|
|
1781
|
-
"text": "
|
|
1723
|
+
"text": "Array<string | null>"
|
|
1782
1724
|
}
|
|
1783
1725
|
},
|
|
1784
1726
|
"inheritedFrom": {
|
|
1785
|
-
"name": "
|
|
1786
|
-
"module": "src/
|
|
1727
|
+
"name": "Accordion",
|
|
1728
|
+
"module": "src/accordion/accordion.ts"
|
|
1787
1729
|
}
|
|
1788
1730
|
},
|
|
1789
1731
|
{
|
|
1790
1732
|
"kind": "method",
|
|
1791
|
-
"name": "
|
|
1792
|
-
"privacy": "
|
|
1793
|
-
"static": true,
|
|
1733
|
+
"name": "isSingleExpandMode",
|
|
1734
|
+
"privacy": "private",
|
|
1794
1735
|
"return": {
|
|
1795
1736
|
"type": {
|
|
1796
|
-
"text": "
|
|
1737
|
+
"text": "boolean"
|
|
1797
1738
|
}
|
|
1798
1739
|
},
|
|
1799
|
-
"parameters": [
|
|
1800
|
-
{
|
|
1801
|
-
"name": "this",
|
|
1802
|
-
"type": {
|
|
1803
|
-
"text": "K"
|
|
1804
|
-
}
|
|
1805
|
-
},
|
|
1806
|
-
{
|
|
1807
|
-
"name": "elementDefinition",
|
|
1808
|
-
"type": {
|
|
1809
|
-
"text": "T"
|
|
1810
|
-
},
|
|
1811
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1812
|
-
}
|
|
1813
|
-
],
|
|
1814
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1815
1740
|
"inheritedFrom": {
|
|
1816
|
-
"name": "
|
|
1817
|
-
"module": "src/
|
|
1741
|
+
"name": "Accordion",
|
|
1742
|
+
"module": "src/accordion/accordion.ts"
|
|
1818
1743
|
}
|
|
1819
|
-
}
|
|
1820
|
-
],
|
|
1821
|
-
"events": [
|
|
1744
|
+
},
|
|
1822
1745
|
{
|
|
1823
|
-
"
|
|
1824
|
-
"name": "
|
|
1825
|
-
"
|
|
1826
|
-
|
|
1827
|
-
"
|
|
1746
|
+
"kind": "field",
|
|
1747
|
+
"name": "handleItemKeyDown",
|
|
1748
|
+
"privacy": "private",
|
|
1749
|
+
"inheritedFrom": {
|
|
1750
|
+
"name": "Accordion",
|
|
1751
|
+
"module": "src/accordion/accordion.ts"
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"kind": "field",
|
|
1756
|
+
"name": "handleItemFocus",
|
|
1757
|
+
"privacy": "private",
|
|
1758
|
+
"inheritedFrom": {
|
|
1759
|
+
"name": "Accordion",
|
|
1760
|
+
"module": "src/accordion/accordion.ts"
|
|
1761
|
+
}
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"kind": "method",
|
|
1765
|
+
"name": "adjust",
|
|
1766
|
+
"privacy": "private",
|
|
1767
|
+
"return": {
|
|
1768
|
+
"type": {
|
|
1769
|
+
"text": "void"
|
|
1770
|
+
}
|
|
1771
|
+
},
|
|
1772
|
+
"parameters": [
|
|
1773
|
+
{
|
|
1774
|
+
"name": "adjustment",
|
|
1775
|
+
"type": {
|
|
1776
|
+
"text": "number"
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
],
|
|
1780
|
+
"inheritedFrom": {
|
|
1781
|
+
"name": "Accordion",
|
|
1782
|
+
"module": "src/accordion/accordion.ts"
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"kind": "method",
|
|
1787
|
+
"name": "focusItem",
|
|
1788
|
+
"privacy": "private",
|
|
1789
|
+
"return": {
|
|
1790
|
+
"type": {
|
|
1791
|
+
"text": "void"
|
|
1792
|
+
}
|
|
1793
|
+
},
|
|
1794
|
+
"inheritedFrom": {
|
|
1795
|
+
"name": "Accordion",
|
|
1796
|
+
"module": "src/accordion/accordion.ts"
|
|
1797
|
+
}
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
"kind": "field",
|
|
1801
|
+
"name": "_presentation",
|
|
1802
|
+
"type": {
|
|
1803
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1804
|
+
},
|
|
1805
|
+
"privacy": "private",
|
|
1806
|
+
"default": "void 0",
|
|
1807
|
+
"inheritedFrom": {
|
|
1808
|
+
"name": "FoundationElement",
|
|
1809
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1810
|
+
}
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
"kind": "field",
|
|
1814
|
+
"name": "$presentation",
|
|
1815
|
+
"type": {
|
|
1816
|
+
"text": "ComponentPresentation | null"
|
|
1817
|
+
},
|
|
1818
|
+
"privacy": "public",
|
|
1819
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1820
|
+
"inheritedFrom": {
|
|
1821
|
+
"name": "FoundationElement",
|
|
1822
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"kind": "field",
|
|
1827
|
+
"name": "template",
|
|
1828
|
+
"type": {
|
|
1829
|
+
"text": "ElementViewTemplate | void | null"
|
|
1830
|
+
},
|
|
1831
|
+
"privacy": "public",
|
|
1832
|
+
"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.",
|
|
1833
|
+
"inheritedFrom": {
|
|
1834
|
+
"name": "FoundationElement",
|
|
1835
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"kind": "method",
|
|
1840
|
+
"name": "templateChanged",
|
|
1841
|
+
"privacy": "protected",
|
|
1842
|
+
"return": {
|
|
1843
|
+
"type": {
|
|
1844
|
+
"text": "void"
|
|
1845
|
+
}
|
|
1846
|
+
},
|
|
1847
|
+
"inheritedFrom": {
|
|
1848
|
+
"name": "FoundationElement",
|
|
1849
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1850
|
+
}
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"kind": "field",
|
|
1854
|
+
"name": "styles",
|
|
1855
|
+
"type": {
|
|
1856
|
+
"text": "ElementStyles | void | null"
|
|
1857
|
+
},
|
|
1858
|
+
"privacy": "public",
|
|
1859
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1860
|
+
"inheritedFrom": {
|
|
1861
|
+
"name": "FoundationElement",
|
|
1862
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1863
|
+
}
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
"kind": "method",
|
|
1867
|
+
"name": "stylesChanged",
|
|
1868
|
+
"privacy": "protected",
|
|
1869
|
+
"return": {
|
|
1870
|
+
"type": {
|
|
1871
|
+
"text": "void"
|
|
1872
|
+
}
|
|
1873
|
+
},
|
|
1874
|
+
"inheritedFrom": {
|
|
1875
|
+
"name": "FoundationElement",
|
|
1876
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1877
|
+
}
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"kind": "method",
|
|
1881
|
+
"name": "compose",
|
|
1882
|
+
"privacy": "public",
|
|
1883
|
+
"static": true,
|
|
1884
|
+
"return": {
|
|
1885
|
+
"type": {
|
|
1886
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1887
|
+
}
|
|
1888
|
+
},
|
|
1889
|
+
"parameters": [
|
|
1890
|
+
{
|
|
1891
|
+
"name": "this",
|
|
1892
|
+
"type": {
|
|
1893
|
+
"text": "K"
|
|
1894
|
+
}
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
"name": "elementDefinition",
|
|
1898
|
+
"type": {
|
|
1899
|
+
"text": "T"
|
|
1900
|
+
},
|
|
1901
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1902
|
+
}
|
|
1903
|
+
],
|
|
1904
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1905
|
+
"inheritedFrom": {
|
|
1906
|
+
"name": "FoundationElement",
|
|
1907
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
],
|
|
1911
|
+
"events": [
|
|
1912
|
+
{
|
|
1913
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1914
|
+
"name": "change",
|
|
1915
|
+
"inheritedFrom": {
|
|
1916
|
+
"name": "Accordion",
|
|
1917
|
+
"module": "src/accordion/accordion.ts"
|
|
1828
1918
|
}
|
|
1829
1919
|
}
|
|
1830
1920
|
]
|
|
1831
1921
|
},
|
|
1832
1922
|
{
|
|
1833
1923
|
"kind": "variable",
|
|
1834
|
-
"name": "
|
|
1924
|
+
"name": "foundationAccordionShadowOptions",
|
|
1835
1925
|
"type": {
|
|
1836
1926
|
"text": "ShadowRootInit"
|
|
1837
1927
|
},
|
|
@@ -1839,57 +1929,57 @@
|
|
|
1839
1929
|
},
|
|
1840
1930
|
{
|
|
1841
1931
|
"kind": "variable",
|
|
1842
|
-
"name": "
|
|
1932
|
+
"name": "defaultAccordionConfig",
|
|
1843
1933
|
"type": {
|
|
1844
1934
|
"text": "object"
|
|
1845
1935
|
},
|
|
1846
|
-
"default": "{
|
|
1936
|
+
"default": "{}"
|
|
1847
1937
|
},
|
|
1848
1938
|
{
|
|
1849
1939
|
"kind": "variable",
|
|
1850
|
-
"name": "
|
|
1851
|
-
"description": "The Foundation Accordion
|
|
1940
|
+
"name": "foundationAccordion",
|
|
1941
|
+
"description": "The Foundation Accordion",
|
|
1852
1942
|
"privacy": "public"
|
|
1853
1943
|
}
|
|
1854
1944
|
],
|
|
1855
1945
|
"exports": [
|
|
1856
1946
|
{
|
|
1857
1947
|
"kind": "js",
|
|
1858
|
-
"name": "
|
|
1948
|
+
"name": "Accordion",
|
|
1859
1949
|
"declaration": {
|
|
1860
|
-
"name": "
|
|
1861
|
-
"module": "src/accordion
|
|
1950
|
+
"name": "Accordion",
|
|
1951
|
+
"module": "src/accordion/accordion.ts"
|
|
1862
1952
|
}
|
|
1863
1953
|
},
|
|
1864
1954
|
{
|
|
1865
1955
|
"kind": "js",
|
|
1866
|
-
"name": "
|
|
1956
|
+
"name": "foundationAccordionShadowOptions",
|
|
1867
1957
|
"declaration": {
|
|
1868
|
-
"name": "
|
|
1869
|
-
"module": "src/accordion
|
|
1958
|
+
"name": "foundationAccordionShadowOptions",
|
|
1959
|
+
"module": "src/accordion/accordion.ts"
|
|
1870
1960
|
}
|
|
1871
1961
|
},
|
|
1872
1962
|
{
|
|
1873
1963
|
"kind": "js",
|
|
1874
|
-
"name": "
|
|
1964
|
+
"name": "defaultAccordionConfig",
|
|
1875
1965
|
"declaration": {
|
|
1876
|
-
"name": "
|
|
1877
|
-
"module": "src/accordion
|
|
1966
|
+
"name": "defaultAccordionConfig",
|
|
1967
|
+
"module": "src/accordion/accordion.ts"
|
|
1878
1968
|
}
|
|
1879
1969
|
},
|
|
1880
1970
|
{
|
|
1881
1971
|
"kind": "js",
|
|
1882
|
-
"name": "
|
|
1972
|
+
"name": "foundationAccordion",
|
|
1883
1973
|
"declaration": {
|
|
1884
|
-
"name": "
|
|
1885
|
-
"module": "src/accordion
|
|
1974
|
+
"name": "foundationAccordion",
|
|
1975
|
+
"module": "src/accordion/accordion.ts"
|
|
1886
1976
|
}
|
|
1887
1977
|
}
|
|
1888
1978
|
]
|
|
1889
1979
|
},
|
|
1890
1980
|
{
|
|
1891
1981
|
"kind": "javascript-module",
|
|
1892
|
-
"path": "src/accordion
|
|
1982
|
+
"path": "src/accordion/index.ts",
|
|
1893
1983
|
"declarations": [],
|
|
1894
1984
|
"exports": [
|
|
1895
1985
|
{
|
|
@@ -1897,7 +1987,7 @@
|
|
|
1897
1987
|
"name": "*",
|
|
1898
1988
|
"declaration": {
|
|
1899
1989
|
"name": "*",
|
|
1900
|
-
"package": "./accordion
|
|
1990
|
+
"package": "./accordion.template"
|
|
1901
1991
|
}
|
|
1902
1992
|
},
|
|
1903
1993
|
{
|
|
@@ -1905,7 +1995,7 @@
|
|
|
1905
1995
|
"name": "*",
|
|
1906
1996
|
"declaration": {
|
|
1907
1997
|
"name": "*",
|
|
1908
|
-
"package": "./accordion
|
|
1998
|
+
"package": "./accordion.styles"
|
|
1909
1999
|
}
|
|
1910
2000
|
},
|
|
1911
2001
|
{
|
|
@@ -1913,18 +2003,18 @@
|
|
|
1913
2003
|
"name": "*",
|
|
1914
2004
|
"declaration": {
|
|
1915
2005
|
"name": "*",
|
|
1916
|
-
"package": "./accordion
|
|
2006
|
+
"package": "./accordion"
|
|
1917
2007
|
}
|
|
1918
2008
|
}
|
|
1919
2009
|
]
|
|
1920
2010
|
},
|
|
1921
2011
|
{
|
|
1922
2012
|
"kind": "javascript-module",
|
|
1923
|
-
"path": "src/
|
|
2013
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1924
2014
|
"declarations": [
|
|
1925
2015
|
{
|
|
1926
2016
|
"kind": "function",
|
|
1927
|
-
"name": "
|
|
2017
|
+
"name": "foundationAccordionItemStyles",
|
|
1928
2018
|
"return": {
|
|
1929
2019
|
"type": {
|
|
1930
2020
|
"text": "ElementStyles"
|
|
@@ -1944,13 +2034,29 @@
|
|
|
1944
2034
|
}
|
|
1945
2035
|
}
|
|
1946
2036
|
]
|
|
1947
|
-
}
|
|
2037
|
+
}
|
|
2038
|
+
],
|
|
2039
|
+
"exports": [
|
|
2040
|
+
{
|
|
2041
|
+
"kind": "js",
|
|
2042
|
+
"name": "foundationAccordionItemStyles",
|
|
2043
|
+
"declaration": {
|
|
2044
|
+
"name": "foundationAccordionItemStyles",
|
|
2045
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
2048
|
+
]
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
"kind": "javascript-module",
|
|
2052
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2053
|
+
"declarations": [
|
|
1948
2054
|
{
|
|
1949
2055
|
"kind": "function",
|
|
1950
|
-
"name": "
|
|
2056
|
+
"name": "foundationAccordionItemTemplate",
|
|
1951
2057
|
"return": {
|
|
1952
2058
|
"type": {
|
|
1953
|
-
"text": "
|
|
2059
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1954
2060
|
}
|
|
1955
2061
|
},
|
|
1956
2062
|
"parameters": [
|
|
@@ -1972,456 +2078,197 @@
|
|
|
1972
2078
|
"exports": [
|
|
1973
2079
|
{
|
|
1974
2080
|
"kind": "js",
|
|
1975
|
-
"name": "
|
|
1976
|
-
"declaration": {
|
|
1977
|
-
"name": "actionsMenuBaseStyles",
|
|
1978
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1979
|
-
}
|
|
1980
|
-
},
|
|
1981
|
-
{
|
|
1982
|
-
"kind": "js",
|
|
1983
|
-
"name": "foundationActionsMenuStyles",
|
|
2081
|
+
"name": "foundationAccordionItemTemplate",
|
|
1984
2082
|
"declaration": {
|
|
1985
|
-
"name": "
|
|
1986
|
-
"module": "src/
|
|
2083
|
+
"name": "foundationAccordionItemTemplate",
|
|
2084
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1987
2085
|
}
|
|
1988
2086
|
}
|
|
1989
2087
|
]
|
|
1990
2088
|
},
|
|
1991
2089
|
{
|
|
1992
2090
|
"kind": "javascript-module",
|
|
1993
|
-
"path": "src/
|
|
1994
|
-
"declarations": [
|
|
1995
|
-
{
|
|
1996
|
-
"kind": "variable",
|
|
1997
|
-
"name": "menuTemplate"
|
|
1998
|
-
},
|
|
1999
|
-
{
|
|
2000
|
-
"kind": "variable",
|
|
2001
|
-
"name": "singleOptionTemplate"
|
|
2002
|
-
},
|
|
2003
|
-
{
|
|
2004
|
-
"kind": "variable",
|
|
2005
|
-
"name": "foundationActionsMenuTemplate",
|
|
2006
|
-
"type": {
|
|
2007
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2008
|
-
},
|
|
2009
|
-
"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`"
|
|
2010
|
-
}
|
|
2011
|
-
],
|
|
2012
|
-
"exports": [
|
|
2013
|
-
{
|
|
2014
|
-
"kind": "js",
|
|
2015
|
-
"name": "menuTemplate",
|
|
2016
|
-
"declaration": {
|
|
2017
|
-
"name": "menuTemplate",
|
|
2018
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2019
|
-
}
|
|
2020
|
-
},
|
|
2021
|
-
{
|
|
2022
|
-
"kind": "js",
|
|
2023
|
-
"name": "singleOptionTemplate",
|
|
2024
|
-
"declaration": {
|
|
2025
|
-
"name": "singleOptionTemplate",
|
|
2026
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2027
|
-
}
|
|
2028
|
-
},
|
|
2029
|
-
{
|
|
2030
|
-
"kind": "js",
|
|
2031
|
-
"name": "foundationActionsMenuTemplate",
|
|
2032
|
-
"declaration": {
|
|
2033
|
-
"name": "foundationActionsMenuTemplate",
|
|
2034
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2035
|
-
}
|
|
2036
|
-
}
|
|
2037
|
-
]
|
|
2038
|
-
},
|
|
2039
|
-
{
|
|
2040
|
-
"kind": "javascript-module",
|
|
2041
|
-
"path": "src/actions-menu/actions-menu.ts",
|
|
2091
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2042
2092
|
"declarations": [
|
|
2043
2093
|
{
|
|
2044
2094
|
"kind": "class",
|
|
2045
2095
|
"description": "",
|
|
2046
|
-
"name": "
|
|
2047
|
-
"
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
},
|
|
2055
|
-
{
|
|
2056
|
-
"kind": "field",
|
|
2057
|
-
"name": "actionsResolver",
|
|
2058
|
-
"type": {
|
|
2059
|
-
"text": "ActionMenuItemsResolver | undefined"
|
|
2060
|
-
},
|
|
2061
|
-
"description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
|
|
2062
|
-
},
|
|
2063
|
-
{
|
|
2064
|
-
"kind": "field",
|
|
2065
|
-
"name": "isVertical",
|
|
2066
|
-
"type": {
|
|
2067
|
-
"text": "boolean"
|
|
2068
|
-
},
|
|
2069
|
-
"default": "false"
|
|
2070
|
-
},
|
|
2096
|
+
"name": "AccordionItem",
|
|
2097
|
+
"superclass": {
|
|
2098
|
+
"name": "FASTAccordionItem",
|
|
2099
|
+
"package": "@microsoft/fast-components"
|
|
2100
|
+
},
|
|
2101
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2102
|
+
"customElement": true,
|
|
2103
|
+
"attributes": [
|
|
2071
2104
|
{
|
|
2072
|
-
"
|
|
2073
|
-
"name": "addDefaultActions",
|
|
2105
|
+
"name": "heading-level",
|
|
2074
2106
|
"type": {
|
|
2075
|
-
"text": "
|
|
2107
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2076
2108
|
},
|
|
2077
|
-
"default": "
|
|
2109
|
+
"default": "2",
|
|
2110
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2111
|
+
"fieldName": "headinglevel",
|
|
2112
|
+
"inheritedFrom": {
|
|
2113
|
+
"name": "AccordionItem",
|
|
2114
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2115
|
+
}
|
|
2078
2116
|
},
|
|
2079
2117
|
{
|
|
2080
|
-
"kind": "field",
|
|
2081
|
-
"name": "autoCloseOnAction",
|
|
2082
2118
|
"type": {
|
|
2083
2119
|
"text": "boolean"
|
|
2084
2120
|
},
|
|
2085
|
-
"default": "
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
"
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
"text": "string"
|
|
2092
|
-
}
|
|
2093
|
-
},
|
|
2094
|
-
{
|
|
2095
|
-
"kind": "field",
|
|
2096
|
-
"name": "definition",
|
|
2097
|
-
"type": {
|
|
2098
|
-
"text": "any"
|
|
2121
|
+
"default": "false",
|
|
2122
|
+
"description": "Expands or collapses the item.",
|
|
2123
|
+
"fieldName": "expanded",
|
|
2124
|
+
"inheritedFrom": {
|
|
2125
|
+
"name": "AccordionItem",
|
|
2126
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2099
2127
|
}
|
|
2100
2128
|
},
|
|
2101
2129
|
{
|
|
2102
|
-
"
|
|
2103
|
-
"name": "name",
|
|
2130
|
+
"name": "id",
|
|
2104
2131
|
"type": {
|
|
2105
2132
|
"text": "string"
|
|
2106
2133
|
},
|
|
2107
|
-
"
|
|
2108
|
-
|
|
2134
|
+
"description": "The item ID",
|
|
2135
|
+
"fieldName": "id",
|
|
2136
|
+
"inheritedFrom": {
|
|
2137
|
+
"name": "AccordionItem",
|
|
2138
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
],
|
|
2142
|
+
"members": [
|
|
2109
2143
|
{
|
|
2110
2144
|
"kind": "field",
|
|
2111
|
-
"name": "
|
|
2145
|
+
"name": "headinglevel",
|
|
2112
2146
|
"type": {
|
|
2113
|
-
"text": "
|
|
2147
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2114
2148
|
},
|
|
2115
|
-
"
|
|
2149
|
+
"privacy": "public",
|
|
2150
|
+
"default": "2",
|
|
2151
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2152
|
+
"inheritedFrom": {
|
|
2153
|
+
"name": "AccordionItem",
|
|
2154
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2155
|
+
}
|
|
2116
2156
|
},
|
|
2117
2157
|
{
|
|
2118
2158
|
"kind": "field",
|
|
2119
|
-
"name": "
|
|
2159
|
+
"name": "expanded",
|
|
2120
2160
|
"type": {
|
|
2121
2161
|
"text": "boolean"
|
|
2122
2162
|
},
|
|
2123
|
-
"
|
|
2163
|
+
"privacy": "public",
|
|
2164
|
+
"default": "false",
|
|
2165
|
+
"description": "Expands or collapses the item.",
|
|
2166
|
+
"inheritedFrom": {
|
|
2167
|
+
"name": "AccordionItem",
|
|
2168
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2169
|
+
}
|
|
2124
2170
|
},
|
|
2125
2171
|
{
|
|
2126
2172
|
"kind": "field",
|
|
2127
|
-
"name": "
|
|
2173
|
+
"name": "id",
|
|
2128
2174
|
"type": {
|
|
2129
2175
|
"text": "string"
|
|
2176
|
+
},
|
|
2177
|
+
"privacy": "public",
|
|
2178
|
+
"description": "The item ID",
|
|
2179
|
+
"inheritedFrom": {
|
|
2180
|
+
"name": "AccordionItem",
|
|
2181
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2130
2182
|
}
|
|
2131
2183
|
},
|
|
2132
2184
|
{
|
|
2133
2185
|
"kind": "field",
|
|
2134
|
-
"name": "
|
|
2135
|
-
"
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2186
|
+
"name": "change",
|
|
2187
|
+
"privacy": "private",
|
|
2188
|
+
"inheritedFrom": {
|
|
2189
|
+
"name": "AccordionItem",
|
|
2190
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2191
|
+
}
|
|
2139
2192
|
},
|
|
2140
2193
|
{
|
|
2141
2194
|
"kind": "field",
|
|
2142
|
-
"name": "
|
|
2195
|
+
"name": "_presentation",
|
|
2143
2196
|
"type": {
|
|
2144
|
-
"text": "
|
|
2197
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2145
2198
|
},
|
|
2146
|
-
"
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
"type": {
|
|
2152
|
-
"text": "ActionMenuItem"
|
|
2199
|
+
"privacy": "private",
|
|
2200
|
+
"default": "void 0",
|
|
2201
|
+
"inheritedFrom": {
|
|
2202
|
+
"name": "FoundationElement",
|
|
2203
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2153
2204
|
}
|
|
2154
2205
|
},
|
|
2155
2206
|
{
|
|
2156
2207
|
"kind": "field",
|
|
2157
|
-
"name": "
|
|
2208
|
+
"name": "$presentation",
|
|
2158
2209
|
"type": {
|
|
2159
|
-
"text": "
|
|
2210
|
+
"text": "ComponentPresentation | null"
|
|
2211
|
+
},
|
|
2212
|
+
"privacy": "public",
|
|
2213
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2214
|
+
"inheritedFrom": {
|
|
2215
|
+
"name": "FoundationElement",
|
|
2216
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2160
2217
|
}
|
|
2161
2218
|
},
|
|
2162
2219
|
{
|
|
2163
2220
|
"kind": "field",
|
|
2164
|
-
"name": "
|
|
2221
|
+
"name": "template",
|
|
2165
2222
|
"type": {
|
|
2166
|
-
"text": "
|
|
2223
|
+
"text": "ElementViewTemplate | void | null"
|
|
2224
|
+
},
|
|
2225
|
+
"privacy": "public",
|
|
2226
|
+
"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.",
|
|
2227
|
+
"inheritedFrom": {
|
|
2228
|
+
"name": "FoundationElement",
|
|
2229
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2167
2230
|
}
|
|
2168
2231
|
},
|
|
2169
2232
|
{
|
|
2170
|
-
"kind": "
|
|
2171
|
-
"name": "
|
|
2172
|
-
"
|
|
2173
|
-
|
|
2233
|
+
"kind": "method",
|
|
2234
|
+
"name": "templateChanged",
|
|
2235
|
+
"privacy": "protected",
|
|
2236
|
+
"return": {
|
|
2237
|
+
"type": {
|
|
2238
|
+
"text": "void"
|
|
2239
|
+
}
|
|
2174
2240
|
},
|
|
2175
|
-
"
|
|
2241
|
+
"inheritedFrom": {
|
|
2242
|
+
"name": "FoundationElement",
|
|
2243
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2244
|
+
}
|
|
2176
2245
|
},
|
|
2177
2246
|
{
|
|
2178
2247
|
"kind": "field",
|
|
2179
|
-
"name": "
|
|
2248
|
+
"name": "styles",
|
|
2180
2249
|
"type": {
|
|
2181
|
-
"text": "
|
|
2250
|
+
"text": "ElementStyles | void | null"
|
|
2182
2251
|
},
|
|
2183
|
-
"privacy": "
|
|
2184
|
-
"
|
|
2185
|
-
"
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
"name": "updateMenuPosition",
|
|
2190
|
-
"privacy": "private"
|
|
2252
|
+
"privacy": "public",
|
|
2253
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
2254
|
+
"inheritedFrom": {
|
|
2255
|
+
"name": "FoundationElement",
|
|
2256
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2257
|
+
}
|
|
2191
2258
|
},
|
|
2192
2259
|
{
|
|
2193
2260
|
"kind": "method",
|
|
2194
|
-
"name": "
|
|
2195
|
-
"privacy": "
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
"privacy": "protected",
|
|
2206
|
-
"parameters": [
|
|
2207
|
-
{
|
|
2208
|
-
"name": "oldValue",
|
|
2209
|
-
"type": {
|
|
2210
|
-
"text": "any"
|
|
2211
|
-
}
|
|
2212
|
-
},
|
|
2213
|
-
{
|
|
2214
|
-
"name": "newValue",
|
|
2215
|
-
"type": {
|
|
2216
|
-
"text": "any"
|
|
2217
|
-
}
|
|
2218
|
-
}
|
|
2219
|
-
]
|
|
2220
|
-
},
|
|
2221
|
-
{
|
|
2222
|
-
"kind": "method",
|
|
2223
|
-
"name": "openChanged",
|
|
2224
|
-
"privacy": "protected"
|
|
2225
|
-
},
|
|
2226
|
-
{
|
|
2227
|
-
"kind": "method",
|
|
2228
|
-
"name": "toggleActionsMenuVisibility"
|
|
2229
|
-
},
|
|
2230
|
-
{
|
|
2231
|
-
"kind": "method",
|
|
2232
|
-
"name": "onPopoverToggle",
|
|
2233
|
-
"parameters": [
|
|
2234
|
-
{
|
|
2235
|
-
"name": "event",
|
|
2236
|
-
"type": {
|
|
2237
|
-
"text": "Event"
|
|
2238
|
-
}
|
|
2239
|
-
}
|
|
2240
|
-
],
|
|
2241
|
-
"description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
|
|
2242
|
-
},
|
|
2243
|
-
{
|
|
2244
|
-
"kind": "method",
|
|
2245
|
-
"name": "onIconOpenerKeydown",
|
|
2246
|
-
"return": {
|
|
2247
|
-
"type": {
|
|
2248
|
-
"text": "boolean"
|
|
2249
|
-
}
|
|
2250
|
-
},
|
|
2251
|
-
"parameters": [
|
|
2252
|
-
{
|
|
2253
|
-
"name": "event",
|
|
2254
|
-
"type": {
|
|
2255
|
-
"text": "KeyboardEvent"
|
|
2256
|
-
}
|
|
2257
|
-
}
|
|
2258
|
-
],
|
|
2259
|
-
"description": "Opens the icon-only opener from the keyboard, as a native button would."
|
|
2260
|
-
},
|
|
2261
|
-
{
|
|
2262
|
-
"kind": "method",
|
|
2263
|
-
"name": "onActionMenuItemClick",
|
|
2264
|
-
"parameters": [
|
|
2265
|
-
{
|
|
2266
|
-
"name": "callback",
|
|
2267
|
-
"type": {
|
|
2268
|
-
"text": "(rowData) => void | any"
|
|
2269
|
-
}
|
|
2270
|
-
}
|
|
2271
|
-
]
|
|
2272
|
-
},
|
|
2273
|
-
{
|
|
2274
|
-
"kind": "method",
|
|
2275
|
-
"name": "isActionDisabled",
|
|
2276
|
-
"return": {
|
|
2277
|
-
"type": {
|
|
2278
|
-
"text": "boolean"
|
|
2279
|
-
}
|
|
2280
|
-
},
|
|
2281
|
-
"parameters": [
|
|
2282
|
-
{
|
|
2283
|
-
"name": "action",
|
|
2284
|
-
"type": {
|
|
2285
|
-
"text": "ActionMenuItem"
|
|
2286
|
-
}
|
|
2287
|
-
}
|
|
2288
|
-
],
|
|
2289
|
-
"description": "Resolves an action's `isDisabled` for the current row."
|
|
2290
|
-
},
|
|
2291
|
-
{
|
|
2292
|
-
"kind": "field",
|
|
2293
|
-
"name": "resolvedActions",
|
|
2294
|
-
"type": {
|
|
2295
|
-
"text": "ActionMenuItem[]"
|
|
2296
|
-
},
|
|
2297
|
-
"description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
|
|
2298
|
-
"readonly": true
|
|
2299
|
-
},
|
|
2300
|
-
{
|
|
2301
|
-
"kind": "field",
|
|
2302
|
-
"name": "hasVisibleActions",
|
|
2303
|
-
"type": {
|
|
2304
|
-
"text": "boolean"
|
|
2305
|
-
},
|
|
2306
|
-
"description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
|
|
2307
|
-
"readonly": true
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
"kind": "field",
|
|
2311
|
-
"name": "allActions",
|
|
2312
|
-
"type": {
|
|
2313
|
-
"text": "ActionMenuItem[]"
|
|
2314
|
-
},
|
|
2315
|
-
"readonly": true
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
"kind": "field",
|
|
2319
|
-
"name": "rowData",
|
|
2320
|
-
"readonly": true
|
|
2321
|
-
},
|
|
2322
|
-
{
|
|
2323
|
-
"kind": "method",
|
|
2324
|
-
"name": "getLabel",
|
|
2325
|
-
"parameters": [
|
|
2326
|
-
{
|
|
2327
|
-
"name": "name",
|
|
2328
|
-
"type": {
|
|
2329
|
-
"text": "string | ((rowData: any) => string)"
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
]
|
|
2333
|
-
},
|
|
2334
|
-
{
|
|
2335
|
-
"kind": "method",
|
|
2336
|
-
"name": "getTemplate",
|
|
2337
|
-
"parameters": [
|
|
2338
|
-
{
|
|
2339
|
-
"name": "prefix",
|
|
2340
|
-
"type": {
|
|
2341
|
-
"text": "string"
|
|
2342
|
-
}
|
|
2343
|
-
}
|
|
2344
|
-
]
|
|
2345
|
-
},
|
|
2346
|
-
{
|
|
2347
|
-
"kind": "field",
|
|
2348
|
-
"name": "_presentation",
|
|
2349
|
-
"type": {
|
|
2350
|
-
"text": "ComponentPresentation | null | undefined"
|
|
2351
|
-
},
|
|
2352
|
-
"privacy": "private",
|
|
2353
|
-
"default": "void 0",
|
|
2354
|
-
"inheritedFrom": {
|
|
2355
|
-
"name": "FoundationElement",
|
|
2356
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2357
|
-
}
|
|
2358
|
-
},
|
|
2359
|
-
{
|
|
2360
|
-
"kind": "field",
|
|
2361
|
-
"name": "$presentation",
|
|
2362
|
-
"type": {
|
|
2363
|
-
"text": "ComponentPresentation | null"
|
|
2364
|
-
},
|
|
2365
|
-
"privacy": "public",
|
|
2366
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2367
|
-
"inheritedFrom": {
|
|
2368
|
-
"name": "FoundationElement",
|
|
2369
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2370
|
-
}
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
"kind": "field",
|
|
2374
|
-
"name": "template",
|
|
2375
|
-
"type": {
|
|
2376
|
-
"text": "ElementViewTemplate | void | null"
|
|
2377
|
-
},
|
|
2378
|
-
"privacy": "public",
|
|
2379
|
-
"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.",
|
|
2380
|
-
"inheritedFrom": {
|
|
2381
|
-
"name": "FoundationElement",
|
|
2382
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2383
|
-
}
|
|
2384
|
-
},
|
|
2385
|
-
{
|
|
2386
|
-
"kind": "method",
|
|
2387
|
-
"name": "templateChanged",
|
|
2388
|
-
"privacy": "protected",
|
|
2389
|
-
"return": {
|
|
2390
|
-
"type": {
|
|
2391
|
-
"text": "void"
|
|
2392
|
-
}
|
|
2393
|
-
},
|
|
2394
|
-
"inheritedFrom": {
|
|
2395
|
-
"name": "FoundationElement",
|
|
2396
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2397
|
-
}
|
|
2398
|
-
},
|
|
2399
|
-
{
|
|
2400
|
-
"kind": "field",
|
|
2401
|
-
"name": "styles",
|
|
2402
|
-
"type": {
|
|
2403
|
-
"text": "ElementStyles | void | null"
|
|
2404
|
-
},
|
|
2405
|
-
"privacy": "public",
|
|
2406
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
2407
|
-
"inheritedFrom": {
|
|
2408
|
-
"name": "FoundationElement",
|
|
2409
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2410
|
-
}
|
|
2411
|
-
},
|
|
2412
|
-
{
|
|
2413
|
-
"kind": "method",
|
|
2414
|
-
"name": "stylesChanged",
|
|
2415
|
-
"privacy": "protected",
|
|
2416
|
-
"return": {
|
|
2417
|
-
"type": {
|
|
2418
|
-
"text": "void"
|
|
2419
|
-
}
|
|
2420
|
-
},
|
|
2421
|
-
"inheritedFrom": {
|
|
2422
|
-
"name": "FoundationElement",
|
|
2423
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2424
|
-
}
|
|
2261
|
+
"name": "stylesChanged",
|
|
2262
|
+
"privacy": "protected",
|
|
2263
|
+
"return": {
|
|
2264
|
+
"type": {
|
|
2265
|
+
"text": "void"
|
|
2266
|
+
}
|
|
2267
|
+
},
|
|
2268
|
+
"inheritedFrom": {
|
|
2269
|
+
"name": "FoundationElement",
|
|
2270
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2271
|
+
}
|
|
2425
2272
|
},
|
|
2426
2273
|
{
|
|
2427
2274
|
"kind": "method",
|
|
@@ -2455,158 +2302,78 @@
|
|
|
2455
2302
|
}
|
|
2456
2303
|
}
|
|
2457
2304
|
],
|
|
2458
|
-
"
|
|
2459
|
-
{
|
|
2460
|
-
"name": "is-vertical",
|
|
2461
|
-
"type": {
|
|
2462
|
-
"text": "boolean"
|
|
2463
|
-
},
|
|
2464
|
-
"default": "false",
|
|
2465
|
-
"fieldName": "isVertical"
|
|
2466
|
-
},
|
|
2467
|
-
{
|
|
2468
|
-
"name": "add-default-actions",
|
|
2469
|
-
"type": {
|
|
2470
|
-
"text": "boolean"
|
|
2471
|
-
},
|
|
2472
|
-
"default": "true",
|
|
2473
|
-
"fieldName": "addDefaultActions"
|
|
2474
|
-
},
|
|
2475
|
-
{
|
|
2476
|
-
"name": "auto-close-on-action",
|
|
2477
|
-
"type": {
|
|
2478
|
-
"text": "boolean"
|
|
2479
|
-
},
|
|
2480
|
-
"default": "true",
|
|
2481
|
-
"fieldName": "autoCloseOnAction"
|
|
2482
|
-
},
|
|
2483
|
-
{
|
|
2484
|
-
"name": "name",
|
|
2485
|
-
"type": {
|
|
2486
|
-
"text": "string"
|
|
2487
|
-
},
|
|
2488
|
-
"default": "'Actions'",
|
|
2489
|
-
"fieldName": "name"
|
|
2490
|
-
},
|
|
2491
|
-
{
|
|
2492
|
-
"name": "icon-name",
|
|
2493
|
-
"type": {
|
|
2494
|
-
"text": "string"
|
|
2495
|
-
},
|
|
2496
|
-
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
|
|
2497
|
-
"fieldName": "iconName"
|
|
2498
|
-
},
|
|
2499
|
-
{
|
|
2500
|
-
"name": "open",
|
|
2501
|
-
"type": {
|
|
2502
|
-
"text": "boolean"
|
|
2503
|
-
},
|
|
2504
|
-
"default": "false",
|
|
2505
|
-
"fieldName": "open"
|
|
2506
|
-
},
|
|
2507
|
-
{
|
|
2508
|
-
"name": "buttonAppearance",
|
|
2509
|
-
"type": {
|
|
2510
|
-
"text": "string"
|
|
2511
|
-
},
|
|
2512
|
-
"fieldName": "buttonAppearance"
|
|
2513
|
-
},
|
|
2514
|
-
{
|
|
2515
|
-
"name": "hide-disabled",
|
|
2516
|
-
"type": {
|
|
2517
|
-
"text": "boolean"
|
|
2518
|
-
},
|
|
2519
|
-
"default": "false",
|
|
2520
|
-
"fieldName": "hideDisabled"
|
|
2521
|
-
},
|
|
2305
|
+
"events": [
|
|
2522
2306
|
{
|
|
2523
|
-
"
|
|
2524
|
-
"
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2307
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2308
|
+
"name": "change",
|
|
2309
|
+
"inheritedFrom": {
|
|
2310
|
+
"name": "AccordionItem",
|
|
2311
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2312
|
+
}
|
|
2529
2313
|
}
|
|
2530
|
-
]
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2314
|
+
]
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"kind": "variable",
|
|
2318
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2319
|
+
"type": {
|
|
2320
|
+
"text": "ShadowRootInit"
|
|
2534
2321
|
},
|
|
2535
|
-
"
|
|
2536
|
-
"customElement": true
|
|
2322
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2537
2323
|
},
|
|
2538
2324
|
{
|
|
2539
2325
|
"kind": "variable",
|
|
2540
|
-
"name": "
|
|
2541
|
-
"
|
|
2326
|
+
"name": "defaultAccordionItemConfig",
|
|
2327
|
+
"type": {
|
|
2328
|
+
"text": "object"
|
|
2329
|
+
},
|
|
2330
|
+
"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}"
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
"kind": "variable",
|
|
2334
|
+
"name": "foundationAccordionItem",
|
|
2335
|
+
"description": "The Foundation Accordion Item",
|
|
2542
2336
|
"privacy": "public"
|
|
2543
2337
|
}
|
|
2544
2338
|
],
|
|
2545
2339
|
"exports": [
|
|
2546
2340
|
{
|
|
2547
2341
|
"kind": "js",
|
|
2548
|
-
"name": "
|
|
2342
|
+
"name": "AccordionItem",
|
|
2343
|
+
"declaration": {
|
|
2344
|
+
"name": "AccordionItem",
|
|
2345
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2346
|
+
}
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
"kind": "js",
|
|
2350
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2549
2351
|
"declaration": {
|
|
2550
|
-
"name": "
|
|
2551
|
-
"module": "src/
|
|
2352
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2353
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2552
2354
|
}
|
|
2553
2355
|
},
|
|
2554
2356
|
{
|
|
2555
2357
|
"kind": "js",
|
|
2556
|
-
"name": "
|
|
2358
|
+
"name": "defaultAccordionItemConfig",
|
|
2557
2359
|
"declaration": {
|
|
2558
|
-
"name": "
|
|
2559
|
-
"module": "src/
|
|
2360
|
+
"name": "defaultAccordionItemConfig",
|
|
2361
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2560
2362
|
}
|
|
2561
|
-
}
|
|
2562
|
-
]
|
|
2563
|
-
},
|
|
2564
|
-
{
|
|
2565
|
-
"kind": "javascript-module",
|
|
2566
|
-
"path": "src/actions-menu/ag-menu.styles.ts",
|
|
2567
|
-
"declarations": [
|
|
2568
|
-
{
|
|
2569
|
-
"kind": "function",
|
|
2570
|
-
"name": "agMenuStyles",
|
|
2571
|
-
"return": {
|
|
2572
|
-
"type": {
|
|
2573
|
-
"text": ""
|
|
2574
|
-
}
|
|
2575
|
-
},
|
|
2576
|
-
"parameters": [
|
|
2577
|
-
{
|
|
2578
|
-
"name": "menuSelector",
|
|
2579
|
-
"type": {
|
|
2580
|
-
"text": "string"
|
|
2581
|
-
},
|
|
2582
|
-
"description": "Selects the menu surface. May be a selector list."
|
|
2583
|
-
},
|
|
2584
|
-
{
|
|
2585
|
-
"name": "itemSelector",
|
|
2586
|
-
"type": {
|
|
2587
|
-
"text": "string"
|
|
2588
|
-
},
|
|
2589
|
-
"description": "Selects a menu item. Must be a single selector, as states are appended to it."
|
|
2590
|
-
}
|
|
2591
|
-
],
|
|
2592
|
-
"description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
|
|
2593
|
-
"privacy": "public"
|
|
2594
|
-
}
|
|
2595
|
-
],
|
|
2596
|
-
"exports": [
|
|
2363
|
+
},
|
|
2597
2364
|
{
|
|
2598
2365
|
"kind": "js",
|
|
2599
|
-
"name": "
|
|
2366
|
+
"name": "foundationAccordionItem",
|
|
2600
2367
|
"declaration": {
|
|
2601
|
-
"name": "
|
|
2602
|
-
"module": "src/
|
|
2368
|
+
"name": "foundationAccordionItem",
|
|
2369
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2603
2370
|
}
|
|
2604
2371
|
}
|
|
2605
2372
|
]
|
|
2606
2373
|
},
|
|
2607
2374
|
{
|
|
2608
2375
|
"kind": "javascript-module",
|
|
2609
|
-
"path": "src/
|
|
2376
|
+
"path": "src/accordion-item/index.ts",
|
|
2610
2377
|
"declarations": [],
|
|
2611
2378
|
"exports": [
|
|
2612
2379
|
{
|
|
@@ -2614,7 +2381,7 @@
|
|
|
2614
2381
|
"name": "*",
|
|
2615
2382
|
"declaration": {
|
|
2616
2383
|
"name": "*",
|
|
2617
|
-
"package": "./
|
|
2384
|
+
"package": "./accordion-item.template"
|
|
2618
2385
|
}
|
|
2619
2386
|
},
|
|
2620
2387
|
{
|
|
@@ -2622,7 +2389,7 @@
|
|
|
2622
2389
|
"name": "*",
|
|
2623
2390
|
"declaration": {
|
|
2624
2391
|
"name": "*",
|
|
2625
|
-
"package": "./
|
|
2392
|
+
"package": "./accordion-item.styles"
|
|
2626
2393
|
}
|
|
2627
2394
|
},
|
|
2628
2395
|
{
|
|
@@ -2630,7 +2397,22 @@
|
|
|
2630
2397
|
"name": "*",
|
|
2631
2398
|
"declaration": {
|
|
2632
2399
|
"name": "*",
|
|
2633
|
-
"package": "./
|
|
2400
|
+
"package": "./accordion-item"
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
]
|
|
2404
|
+
},
|
|
2405
|
+
{
|
|
2406
|
+
"kind": "javascript-module",
|
|
2407
|
+
"path": "src/_config/index.ts",
|
|
2408
|
+
"declarations": [],
|
|
2409
|
+
"exports": [
|
|
2410
|
+
{
|
|
2411
|
+
"kind": "js",
|
|
2412
|
+
"name": "*",
|
|
2413
|
+
"declaration": {
|
|
2414
|
+
"name": "*",
|
|
2415
|
+
"package": "./styles"
|
|
2634
2416
|
}
|
|
2635
2417
|
},
|
|
2636
2418
|
{
|
|
@@ -2638,18 +2420,49 @@
|
|
|
2638
2420
|
"name": "*",
|
|
2639
2421
|
"declaration": {
|
|
2640
2422
|
"name": "*",
|
|
2641
|
-
"package": "./
|
|
2423
|
+
"package": "./tokens"
|
|
2424
|
+
}
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
"kind": "js",
|
|
2428
|
+
"name": "*",
|
|
2429
|
+
"declaration": {
|
|
2430
|
+
"name": "*",
|
|
2431
|
+
"package": "./values"
|
|
2642
2432
|
}
|
|
2643
2433
|
}
|
|
2644
2434
|
]
|
|
2645
2435
|
},
|
|
2646
2436
|
{
|
|
2647
2437
|
"kind": "javascript-module",
|
|
2648
|
-
"path": "src/
|
|
2438
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2649
2439
|
"declarations": [
|
|
2650
2440
|
{
|
|
2651
2441
|
"kind": "function",
|
|
2652
|
-
"name": "
|
|
2442
|
+
"name": "actionsMenuBaseStyles",
|
|
2443
|
+
"return": {
|
|
2444
|
+
"type": {
|
|
2445
|
+
"text": "ElementStyles"
|
|
2446
|
+
}
|
|
2447
|
+
},
|
|
2448
|
+
"parameters": [
|
|
2449
|
+
{
|
|
2450
|
+
"name": "context",
|
|
2451
|
+
"type": {
|
|
2452
|
+
"text": "ElementDefinitionContext"
|
|
2453
|
+
}
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
"name": "definition",
|
|
2457
|
+
"type": {
|
|
2458
|
+
"text": "FoundationElementDefinition"
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
]
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
"kind": "function",
|
|
2465
|
+
"name": "foundationActionsMenuStyles",
|
|
2653
2466
|
"return": {
|
|
2654
2467
|
"type": {
|
|
2655
2468
|
"text": "ElementStyles"
|
|
@@ -2674,277 +2487,376 @@
|
|
|
2674
2487
|
"exports": [
|
|
2675
2488
|
{
|
|
2676
2489
|
"kind": "js",
|
|
2677
|
-
"name": "
|
|
2490
|
+
"name": "actionsMenuBaseStyles",
|
|
2678
2491
|
"declaration": {
|
|
2679
|
-
"name": "
|
|
2680
|
-
"module": "src/
|
|
2492
|
+
"name": "actionsMenuBaseStyles",
|
|
2493
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"kind": "js",
|
|
2498
|
+
"name": "foundationActionsMenuStyles",
|
|
2499
|
+
"declaration": {
|
|
2500
|
+
"name": "foundationActionsMenuStyles",
|
|
2501
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2681
2502
|
}
|
|
2682
2503
|
}
|
|
2683
2504
|
]
|
|
2684
2505
|
},
|
|
2685
2506
|
{
|
|
2686
2507
|
"kind": "javascript-module",
|
|
2687
|
-
"path": "src/
|
|
2508
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2688
2509
|
"declarations": [
|
|
2689
2510
|
{
|
|
2690
|
-
"kind": "
|
|
2691
|
-
"name": "
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2511
|
+
"kind": "variable",
|
|
2512
|
+
"name": "menuTemplate"
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
"kind": "variable",
|
|
2516
|
+
"name": "singleOptionTemplate"
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
"kind": "variable",
|
|
2520
|
+
"name": "foundationActionsMenuTemplate",
|
|
2521
|
+
"type": {
|
|
2522
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2696
2523
|
},
|
|
2697
|
-
"
|
|
2524
|
+
"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`"
|
|
2525
|
+
}
|
|
2526
|
+
],
|
|
2527
|
+
"exports": [
|
|
2528
|
+
{
|
|
2529
|
+
"kind": "js",
|
|
2530
|
+
"name": "menuTemplate",
|
|
2531
|
+
"declaration": {
|
|
2532
|
+
"name": "menuTemplate",
|
|
2533
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2534
|
+
}
|
|
2535
|
+
},
|
|
2536
|
+
{
|
|
2537
|
+
"kind": "js",
|
|
2538
|
+
"name": "singleOptionTemplate",
|
|
2539
|
+
"declaration": {
|
|
2540
|
+
"name": "singleOptionTemplate",
|
|
2541
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2542
|
+
}
|
|
2543
|
+
},
|
|
2544
|
+
{
|
|
2545
|
+
"kind": "js",
|
|
2546
|
+
"name": "foundationActionsMenuTemplate",
|
|
2547
|
+
"declaration": {
|
|
2548
|
+
"name": "foundationActionsMenuTemplate",
|
|
2549
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
]
|
|
2553
|
+
},
|
|
2554
|
+
{
|
|
2555
|
+
"kind": "javascript-module",
|
|
2556
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2557
|
+
"declarations": [
|
|
2558
|
+
{
|
|
2559
|
+
"kind": "class",
|
|
2560
|
+
"description": "",
|
|
2561
|
+
"name": "ActionsMenu",
|
|
2562
|
+
"members": [
|
|
2563
|
+
{
|
|
2564
|
+
"kind": "field",
|
|
2565
|
+
"name": "actions",
|
|
2566
|
+
"type": {
|
|
2567
|
+
"text": "ActionMenuItem[]"
|
|
2568
|
+
}
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
"kind": "field",
|
|
2572
|
+
"name": "actionsResolver",
|
|
2573
|
+
"type": {
|
|
2574
|
+
"text": "ActionMenuItemsResolver | undefined"
|
|
2575
|
+
},
|
|
2576
|
+
"description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
"kind": "field",
|
|
2580
|
+
"name": "isVertical",
|
|
2581
|
+
"type": {
|
|
2582
|
+
"text": "boolean"
|
|
2583
|
+
},
|
|
2584
|
+
"default": "false"
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
"kind": "field",
|
|
2588
|
+
"name": "addDefaultActions",
|
|
2589
|
+
"type": {
|
|
2590
|
+
"text": "boolean"
|
|
2591
|
+
},
|
|
2592
|
+
"default": "true"
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
"kind": "field",
|
|
2596
|
+
"name": "autoCloseOnAction",
|
|
2597
|
+
"type": {
|
|
2598
|
+
"text": "boolean"
|
|
2599
|
+
},
|
|
2600
|
+
"default": "true"
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
"kind": "field",
|
|
2604
|
+
"name": "classNames",
|
|
2605
|
+
"type": {
|
|
2606
|
+
"text": "string"
|
|
2607
|
+
}
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
"kind": "field",
|
|
2611
|
+
"name": "definition",
|
|
2612
|
+
"type": {
|
|
2613
|
+
"text": "any"
|
|
2614
|
+
}
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
"kind": "field",
|
|
2618
|
+
"name": "name",
|
|
2619
|
+
"type": {
|
|
2620
|
+
"text": "string"
|
|
2621
|
+
},
|
|
2622
|
+
"default": "'Actions'"
|
|
2623
|
+
},
|
|
2624
|
+
{
|
|
2625
|
+
"kind": "field",
|
|
2626
|
+
"name": "iconName",
|
|
2627
|
+
"type": {
|
|
2628
|
+
"text": "string"
|
|
2629
|
+
},
|
|
2630
|
+
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
|
|
2631
|
+
},
|
|
2698
2632
|
{
|
|
2699
|
-
"
|
|
2633
|
+
"kind": "field",
|
|
2634
|
+
"name": "open",
|
|
2700
2635
|
"type": {
|
|
2701
|
-
"text": "
|
|
2702
|
-
}
|
|
2636
|
+
"text": "boolean"
|
|
2637
|
+
},
|
|
2638
|
+
"default": "false"
|
|
2703
2639
|
},
|
|
2704
2640
|
{
|
|
2705
|
-
"
|
|
2641
|
+
"kind": "field",
|
|
2642
|
+
"name": "buttonAppearance",
|
|
2706
2643
|
"type": {
|
|
2707
|
-
"text": "
|
|
2644
|
+
"text": "string"
|
|
2708
2645
|
}
|
|
2709
|
-
}
|
|
2710
|
-
]
|
|
2711
|
-
}
|
|
2712
|
-
],
|
|
2713
|
-
"exports": [
|
|
2714
|
-
{
|
|
2715
|
-
"kind": "js",
|
|
2716
|
-
"name": "foundationAccordionTemplate",
|
|
2717
|
-
"declaration": {
|
|
2718
|
-
"name": "foundationAccordionTemplate",
|
|
2719
|
-
"module": "src/accordion/accordion.template.ts"
|
|
2720
|
-
}
|
|
2721
|
-
}
|
|
2722
|
-
]
|
|
2723
|
-
},
|
|
2724
|
-
{
|
|
2725
|
-
"kind": "javascript-module",
|
|
2726
|
-
"path": "src/accordion/accordion.ts",
|
|
2727
|
-
"declarations": [
|
|
2728
|
-
{
|
|
2729
|
-
"kind": "class",
|
|
2730
|
-
"description": "",
|
|
2731
|
-
"name": "Accordion",
|
|
2732
|
-
"superclass": {
|
|
2733
|
-
"name": "FASTAccordion",
|
|
2734
|
-
"package": "@microsoft/fast-foundation"
|
|
2735
|
-
},
|
|
2736
|
-
"tagName": "%%prefix%%-accordion",
|
|
2737
|
-
"customElement": true,
|
|
2738
|
-
"attributes": [
|
|
2646
|
+
},
|
|
2739
2647
|
{
|
|
2740
|
-
"
|
|
2648
|
+
"kind": "field",
|
|
2649
|
+
"name": "hideDisabled",
|
|
2741
2650
|
"type": {
|
|
2742
|
-
"text": "
|
|
2651
|
+
"text": "boolean"
|
|
2743
2652
|
},
|
|
2744
|
-
"
|
|
2745
|
-
|
|
2746
|
-
"inheritedFrom": {
|
|
2747
|
-
"name": "Accordion",
|
|
2748
|
-
"module": "src/accordion/accordion.ts"
|
|
2749
|
-
}
|
|
2750
|
-
}
|
|
2751
|
-
],
|
|
2752
|
-
"members": [
|
|
2653
|
+
"default": "false"
|
|
2654
|
+
},
|
|
2753
2655
|
{
|
|
2754
2656
|
"kind": "field",
|
|
2755
|
-
"name": "
|
|
2657
|
+
"name": "hideMenuSingleOption",
|
|
2756
2658
|
"type": {
|
|
2757
|
-
"text": "
|
|
2659
|
+
"text": "boolean"
|
|
2758
2660
|
},
|
|
2759
|
-
"
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2661
|
+
"default": "false"
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
"kind": "field",
|
|
2665
|
+
"name": "singleOption",
|
|
2666
|
+
"type": {
|
|
2667
|
+
"text": "ActionMenuItem"
|
|
2764
2668
|
}
|
|
2765
2669
|
},
|
|
2766
2670
|
{
|
|
2767
2671
|
"kind": "field",
|
|
2768
|
-
"name": "
|
|
2672
|
+
"name": "actionsMenu",
|
|
2769
2673
|
"type": {
|
|
2770
|
-
"text": "
|
|
2771
|
-
},
|
|
2772
|
-
"privacy": "private",
|
|
2773
|
-
"inheritedFrom": {
|
|
2774
|
-
"name": "Accordion",
|
|
2775
|
-
"module": "src/accordion/accordion.ts"
|
|
2674
|
+
"text": "HTMLElement"
|
|
2776
2675
|
}
|
|
2777
2676
|
},
|
|
2778
2677
|
{
|
|
2779
2678
|
"kind": "field",
|
|
2780
|
-
"name": "
|
|
2679
|
+
"name": "actionsOpener",
|
|
2781
2680
|
"type": {
|
|
2782
|
-
"text": "
|
|
2783
|
-
},
|
|
2784
|
-
"privacy": "private",
|
|
2785
|
-
"default": "0",
|
|
2786
|
-
"inheritedFrom": {
|
|
2787
|
-
"name": "Accordion",
|
|
2788
|
-
"module": "src/accordion/accordion.ts"
|
|
2681
|
+
"text": "HTMLElement"
|
|
2789
2682
|
}
|
|
2790
2683
|
},
|
|
2791
2684
|
{
|
|
2792
2685
|
"kind": "field",
|
|
2793
|
-
"name": "
|
|
2686
|
+
"name": "positionTracker",
|
|
2794
2687
|
"type": {
|
|
2795
|
-
"text": "
|
|
2688
|
+
"text": "AnchoredPopoverPositionTracker | undefined"
|
|
2796
2689
|
},
|
|
2797
|
-
"privacy": "private"
|
|
2798
|
-
"inheritedFrom": {
|
|
2799
|
-
"name": "Accordion",
|
|
2800
|
-
"module": "src/accordion/accordion.ts"
|
|
2801
|
-
}
|
|
2690
|
+
"privacy": "private"
|
|
2802
2691
|
},
|
|
2803
2692
|
{
|
|
2804
2693
|
"kind": "field",
|
|
2805
|
-
"name": "
|
|
2694
|
+
"name": "focusMenuOnOpen",
|
|
2695
|
+
"type": {
|
|
2696
|
+
"text": "boolean"
|
|
2697
|
+
},
|
|
2806
2698
|
"privacy": "private",
|
|
2807
|
-
"
|
|
2808
|
-
|
|
2809
|
-
"module": "src/accordion/accordion.ts"
|
|
2810
|
-
}
|
|
2699
|
+
"default": "false",
|
|
2700
|
+
"description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
|
|
2811
2701
|
},
|
|
2812
2702
|
{
|
|
2813
2703
|
"kind": "method",
|
|
2814
|
-
"name": "
|
|
2815
|
-
"privacy": "private"
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2704
|
+
"name": "updateMenuPosition",
|
|
2705
|
+
"privacy": "private"
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"kind": "method",
|
|
2709
|
+
"name": "startTrackingPosition",
|
|
2710
|
+
"privacy": "private"
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
"kind": "method",
|
|
2714
|
+
"name": "stopTrackingPosition",
|
|
2715
|
+
"privacy": "private"
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"kind": "method",
|
|
2719
|
+
"name": "definitionChanged",
|
|
2720
|
+
"privacy": "protected",
|
|
2721
|
+
"parameters": [
|
|
2722
|
+
{
|
|
2723
|
+
"name": "oldValue",
|
|
2724
|
+
"type": {
|
|
2725
|
+
"text": "any"
|
|
2726
|
+
}
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
"name": "newValue",
|
|
2730
|
+
"type": {
|
|
2731
|
+
"text": "any"
|
|
2732
|
+
}
|
|
2819
2733
|
}
|
|
2820
|
-
|
|
2821
|
-
"inheritedFrom": {
|
|
2822
|
-
"name": "Accordion",
|
|
2823
|
-
"module": "src/accordion/accordion.ts"
|
|
2824
|
-
}
|
|
2734
|
+
]
|
|
2825
2735
|
},
|
|
2826
2736
|
{
|
|
2827
|
-
"kind": "
|
|
2828
|
-
"name": "
|
|
2829
|
-
"privacy": "
|
|
2830
|
-
"inheritedFrom": {
|
|
2831
|
-
"name": "Accordion",
|
|
2832
|
-
"module": "src/accordion/accordion.ts"
|
|
2833
|
-
}
|
|
2737
|
+
"kind": "method",
|
|
2738
|
+
"name": "openChanged",
|
|
2739
|
+
"privacy": "protected"
|
|
2834
2740
|
},
|
|
2835
2741
|
{
|
|
2836
2742
|
"kind": "method",
|
|
2837
|
-
"name": "
|
|
2838
|
-
|
|
2743
|
+
"name": "toggleActionsMenuVisibility"
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
"kind": "method",
|
|
2747
|
+
"name": "onPopoverToggle",
|
|
2748
|
+
"parameters": [
|
|
2749
|
+
{
|
|
2750
|
+
"name": "event",
|
|
2751
|
+
"type": {
|
|
2752
|
+
"text": "Event"
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2755
|
+
],
|
|
2756
|
+
"description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
"kind": "method",
|
|
2760
|
+
"name": "onIconOpenerKeydown",
|
|
2839
2761
|
"return": {
|
|
2840
2762
|
"type": {
|
|
2841
|
-
"text": "
|
|
2763
|
+
"text": "boolean"
|
|
2842
2764
|
}
|
|
2843
2765
|
},
|
|
2844
|
-
"
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
"
|
|
2853
|
-
"inheritedFrom": {
|
|
2854
|
-
"name": "Accordion",
|
|
2855
|
-
"module": "src/accordion/accordion.ts"
|
|
2856
|
-
}
|
|
2766
|
+
"parameters": [
|
|
2767
|
+
{
|
|
2768
|
+
"name": "event",
|
|
2769
|
+
"type": {
|
|
2770
|
+
"text": "KeyboardEvent"
|
|
2771
|
+
}
|
|
2772
|
+
}
|
|
2773
|
+
],
|
|
2774
|
+
"description": "Opens the icon-only opener from the keyboard, as a native button would."
|
|
2857
2775
|
},
|
|
2858
2776
|
{
|
|
2859
|
-
"kind": "
|
|
2860
|
-
"name": "
|
|
2861
|
-
"
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2777
|
+
"kind": "method",
|
|
2778
|
+
"name": "onActionMenuItemClick",
|
|
2779
|
+
"parameters": [
|
|
2780
|
+
{
|
|
2781
|
+
"name": "callback",
|
|
2782
|
+
"type": {
|
|
2783
|
+
"text": "(rowData) => void | any"
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
]
|
|
2866
2787
|
},
|
|
2867
2788
|
{
|
|
2868
2789
|
"kind": "method",
|
|
2869
|
-
"name": "
|
|
2870
|
-
"privacy": "private",
|
|
2790
|
+
"name": "isActionDisabled",
|
|
2871
2791
|
"return": {
|
|
2872
2792
|
"type": {
|
|
2873
|
-
"text": "
|
|
2793
|
+
"text": "boolean"
|
|
2874
2794
|
}
|
|
2875
2795
|
},
|
|
2876
|
-
"
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2796
|
+
"parameters": [
|
|
2797
|
+
{
|
|
2798
|
+
"name": "action",
|
|
2799
|
+
"type": {
|
|
2800
|
+
"text": "ActionMenuItem"
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
],
|
|
2804
|
+
"description": "Resolves an action's `isDisabled` for the current row."
|
|
2805
|
+
},
|
|
2806
|
+
{
|
|
2807
|
+
"kind": "field",
|
|
2808
|
+
"name": "resolvedActions",
|
|
2809
|
+
"type": {
|
|
2810
|
+
"text": "ActionMenuItem[]"
|
|
2811
|
+
},
|
|
2812
|
+
"description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
|
|
2813
|
+
"readonly": true
|
|
2880
2814
|
},
|
|
2881
2815
|
{
|
|
2882
|
-
"kind": "
|
|
2883
|
-
"name": "
|
|
2884
|
-
"
|
|
2885
|
-
|
|
2886
|
-
"type": {
|
|
2887
|
-
"text": "boolean"
|
|
2888
|
-
}
|
|
2816
|
+
"kind": "field",
|
|
2817
|
+
"name": "hasVisibleActions",
|
|
2818
|
+
"type": {
|
|
2819
|
+
"text": "boolean"
|
|
2889
2820
|
},
|
|
2890
|
-
"
|
|
2891
|
-
|
|
2892
|
-
"module": "src/accordion/accordion.ts"
|
|
2893
|
-
}
|
|
2821
|
+
"description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
|
|
2822
|
+
"readonly": true
|
|
2894
2823
|
},
|
|
2895
2824
|
{
|
|
2896
2825
|
"kind": "field",
|
|
2897
|
-
"name": "
|
|
2898
|
-
"
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
}
|
|
2826
|
+
"name": "allActions",
|
|
2827
|
+
"type": {
|
|
2828
|
+
"text": "ActionMenuItem[]"
|
|
2829
|
+
},
|
|
2830
|
+
"readonly": true
|
|
2903
2831
|
},
|
|
2904
2832
|
{
|
|
2905
2833
|
"kind": "field",
|
|
2906
|
-
"name": "
|
|
2907
|
-
"
|
|
2908
|
-
"inheritedFrom": {
|
|
2909
|
-
"name": "Accordion",
|
|
2910
|
-
"module": "src/accordion/accordion.ts"
|
|
2911
|
-
}
|
|
2834
|
+
"name": "rowData",
|
|
2835
|
+
"readonly": true
|
|
2912
2836
|
},
|
|
2913
2837
|
{
|
|
2914
2838
|
"kind": "method",
|
|
2915
|
-
"name": "
|
|
2916
|
-
"privacy": "private",
|
|
2917
|
-
"return": {
|
|
2918
|
-
"type": {
|
|
2919
|
-
"text": "void"
|
|
2920
|
-
}
|
|
2921
|
-
},
|
|
2839
|
+
"name": "getLabel",
|
|
2922
2840
|
"parameters": [
|
|
2923
2841
|
{
|
|
2924
|
-
"name": "
|
|
2842
|
+
"name": "name",
|
|
2925
2843
|
"type": {
|
|
2926
|
-
"text": "
|
|
2844
|
+
"text": "string | ((rowData: any) => string)"
|
|
2927
2845
|
}
|
|
2928
2846
|
}
|
|
2929
|
-
]
|
|
2930
|
-
"inheritedFrom": {
|
|
2931
|
-
"name": "Accordion",
|
|
2932
|
-
"module": "src/accordion/accordion.ts"
|
|
2933
|
-
}
|
|
2847
|
+
]
|
|
2934
2848
|
},
|
|
2935
2849
|
{
|
|
2936
2850
|
"kind": "method",
|
|
2937
|
-
"name": "
|
|
2938
|
-
"
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
"
|
|
2851
|
+
"name": "getTemplate",
|
|
2852
|
+
"parameters": [
|
|
2853
|
+
{
|
|
2854
|
+
"name": "prefix",
|
|
2855
|
+
"type": {
|
|
2856
|
+
"text": "string"
|
|
2857
|
+
}
|
|
2942
2858
|
}
|
|
2943
|
-
|
|
2944
|
-
"inheritedFrom": {
|
|
2945
|
-
"name": "Accordion",
|
|
2946
|
-
"module": "src/accordion/accordion.ts"
|
|
2947
|
-
}
|
|
2859
|
+
]
|
|
2948
2860
|
},
|
|
2949
2861
|
{
|
|
2950
2862
|
"kind": "field",
|
|
@@ -3058,78 +2970,158 @@
|
|
|
3058
2970
|
}
|
|
3059
2971
|
}
|
|
3060
2972
|
],
|
|
3061
|
-
"
|
|
2973
|
+
"attributes": [
|
|
3062
2974
|
{
|
|
3063
|
-
"
|
|
3064
|
-
"
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
2975
|
+
"name": "is-vertical",
|
|
2976
|
+
"type": {
|
|
2977
|
+
"text": "boolean"
|
|
2978
|
+
},
|
|
2979
|
+
"default": "false",
|
|
2980
|
+
"fieldName": "isVertical"
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"name": "add-default-actions",
|
|
2984
|
+
"type": {
|
|
2985
|
+
"text": "boolean"
|
|
2986
|
+
},
|
|
2987
|
+
"default": "true",
|
|
2988
|
+
"fieldName": "addDefaultActions"
|
|
2989
|
+
},
|
|
2990
|
+
{
|
|
2991
|
+
"name": "auto-close-on-action",
|
|
2992
|
+
"type": {
|
|
2993
|
+
"text": "boolean"
|
|
2994
|
+
},
|
|
2995
|
+
"default": "true",
|
|
2996
|
+
"fieldName": "autoCloseOnAction"
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
"name": "name",
|
|
3000
|
+
"type": {
|
|
3001
|
+
"text": "string"
|
|
3002
|
+
},
|
|
3003
|
+
"default": "'Actions'",
|
|
3004
|
+
"fieldName": "name"
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"name": "icon-name",
|
|
3008
|
+
"type": {
|
|
3009
|
+
"text": "string"
|
|
3010
|
+
},
|
|
3011
|
+
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
|
|
3012
|
+
"fieldName": "iconName"
|
|
3013
|
+
},
|
|
3014
|
+
{
|
|
3015
|
+
"name": "open",
|
|
3016
|
+
"type": {
|
|
3017
|
+
"text": "boolean"
|
|
3018
|
+
},
|
|
3019
|
+
"default": "false",
|
|
3020
|
+
"fieldName": "open"
|
|
3021
|
+
},
|
|
3022
|
+
{
|
|
3023
|
+
"name": "buttonAppearance",
|
|
3024
|
+
"type": {
|
|
3025
|
+
"text": "string"
|
|
3026
|
+
},
|
|
3027
|
+
"fieldName": "buttonAppearance"
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
"name": "hide-disabled",
|
|
3031
|
+
"type": {
|
|
3032
|
+
"text": "boolean"
|
|
3033
|
+
},
|
|
3034
|
+
"default": "false",
|
|
3035
|
+
"fieldName": "hideDisabled"
|
|
3036
|
+
},
|
|
3037
|
+
{
|
|
3038
|
+
"name": "hide-menu-single-option",
|
|
3039
|
+
"type": {
|
|
3040
|
+
"text": "boolean"
|
|
3041
|
+
},
|
|
3042
|
+
"default": "false",
|
|
3043
|
+
"fieldName": "hideMenuSingleOption"
|
|
3069
3044
|
}
|
|
3070
|
-
]
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
"name": "foundationAccordionShadowOptions",
|
|
3075
|
-
"type": {
|
|
3076
|
-
"text": "ShadowRootInit"
|
|
3077
|
-
},
|
|
3078
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3079
|
-
},
|
|
3080
|
-
{
|
|
3081
|
-
"kind": "variable",
|
|
3082
|
-
"name": "defaultAccordionConfig",
|
|
3083
|
-
"type": {
|
|
3084
|
-
"text": "object"
|
|
3045
|
+
],
|
|
3046
|
+
"superclass": {
|
|
3047
|
+
"name": "FoundationElement",
|
|
3048
|
+
"package": "@microsoft/fast-foundation"
|
|
3085
3049
|
},
|
|
3086
|
-
"
|
|
3050
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
3051
|
+
"customElement": true
|
|
3087
3052
|
},
|
|
3088
3053
|
{
|
|
3089
3054
|
"kind": "variable",
|
|
3090
|
-
"name": "
|
|
3091
|
-
"description": "The Foundation
|
|
3055
|
+
"name": "foundationActionsMenu",
|
|
3056
|
+
"description": "The Foundation Actions Menu",
|
|
3092
3057
|
"privacy": "public"
|
|
3093
3058
|
}
|
|
3094
3059
|
],
|
|
3095
3060
|
"exports": [
|
|
3096
3061
|
{
|
|
3097
3062
|
"kind": "js",
|
|
3098
|
-
"name": "
|
|
3063
|
+
"name": "ActionsMenu",
|
|
3099
3064
|
"declaration": {
|
|
3100
|
-
"name": "
|
|
3101
|
-
"module": "src/
|
|
3065
|
+
"name": "ActionsMenu",
|
|
3066
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3102
3067
|
}
|
|
3103
3068
|
},
|
|
3104
3069
|
{
|
|
3105
3070
|
"kind": "js",
|
|
3106
|
-
"name": "
|
|
3071
|
+
"name": "foundationActionsMenu",
|
|
3107
3072
|
"declaration": {
|
|
3108
|
-
"name": "
|
|
3109
|
-
"module": "src/
|
|
3073
|
+
"name": "foundationActionsMenu",
|
|
3074
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3110
3075
|
}
|
|
3111
|
-
}
|
|
3076
|
+
}
|
|
3077
|
+
]
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"kind": "javascript-module",
|
|
3081
|
+
"path": "src/actions-menu/ag-menu.styles.ts",
|
|
3082
|
+
"declarations": [
|
|
3112
3083
|
{
|
|
3113
|
-
"kind": "
|
|
3114
|
-
"name": "
|
|
3115
|
-
"
|
|
3116
|
-
"
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3084
|
+
"kind": "function",
|
|
3085
|
+
"name": "agMenuStyles",
|
|
3086
|
+
"return": {
|
|
3087
|
+
"type": {
|
|
3088
|
+
"text": ""
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
"parameters": [
|
|
3092
|
+
{
|
|
3093
|
+
"name": "menuSelector",
|
|
3094
|
+
"type": {
|
|
3095
|
+
"text": "string"
|
|
3096
|
+
},
|
|
3097
|
+
"description": "Selects the menu surface. May be a selector list."
|
|
3098
|
+
},
|
|
3099
|
+
{
|
|
3100
|
+
"name": "itemSelector",
|
|
3101
|
+
"type": {
|
|
3102
|
+
"text": "string"
|
|
3103
|
+
},
|
|
3104
|
+
"description": "Selects a menu item. Must be a single selector, as states are appended to it."
|
|
3105
|
+
}
|
|
3106
|
+
],
|
|
3107
|
+
"description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
|
|
3108
|
+
"privacy": "public"
|
|
3109
|
+
}
|
|
3110
|
+
],
|
|
3111
|
+
"exports": [
|
|
3120
3112
|
{
|
|
3121
3113
|
"kind": "js",
|
|
3122
|
-
"name": "
|
|
3114
|
+
"name": "agMenuStyles",
|
|
3123
3115
|
"declaration": {
|
|
3124
|
-
"name": "
|
|
3125
|
-
"module": "src/
|
|
3116
|
+
"name": "agMenuStyles",
|
|
3117
|
+
"module": "src/actions-menu/ag-menu.styles.ts"
|
|
3126
3118
|
}
|
|
3127
3119
|
}
|
|
3128
3120
|
]
|
|
3129
3121
|
},
|
|
3130
3122
|
{
|
|
3131
3123
|
"kind": "javascript-module",
|
|
3132
|
-
"path": "src/
|
|
3124
|
+
"path": "src/actions-menu/index.ts",
|
|
3133
3125
|
"declarations": [],
|
|
3134
3126
|
"exports": [
|
|
3135
3127
|
{
|
|
@@ -3137,7 +3129,7 @@
|
|
|
3137
3129
|
"name": "*",
|
|
3138
3130
|
"declaration": {
|
|
3139
3131
|
"name": "*",
|
|
3140
|
-
"package": "./
|
|
3132
|
+
"package": "./actions-menu.styles"
|
|
3141
3133
|
}
|
|
3142
3134
|
},
|
|
3143
3135
|
{
|
|
@@ -3145,7 +3137,7 @@
|
|
|
3145
3137
|
"name": "*",
|
|
3146
3138
|
"declaration": {
|
|
3147
3139
|
"name": "*",
|
|
3148
|
-
"package": "./
|
|
3140
|
+
"package": "./actions-menu.template"
|
|
3149
3141
|
}
|
|
3150
3142
|
},
|
|
3151
3143
|
{
|
|
@@ -3153,7 +3145,15 @@
|
|
|
3153
3145
|
"name": "*",
|
|
3154
3146
|
"declaration": {
|
|
3155
3147
|
"name": "*",
|
|
3156
|
-
"package": "./
|
|
3148
|
+
"package": "./actions-menu"
|
|
3149
|
+
}
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
"kind": "js",
|
|
3153
|
+
"name": "*",
|
|
3154
|
+
"declaration": {
|
|
3155
|
+
"name": "*",
|
|
3156
|
+
"package": "./ag-menu.styles"
|
|
3157
3157
|
}
|
|
3158
3158
|
}
|
|
3159
3159
|
]
|