@genesislcap/foundation-ui 15.32.1 → 15.33.1
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 +724 -724
- package/dist/dts/react.d.ts +12 -12
- package/dist/react.cjs +8 -8
- package/dist/react.mjs +6 -6
- package/package.json +18 -18
|
@@ -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,41 +2003,49 @@
|
|
|
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/
|
|
1924
|
-
"declarations": [
|
|
2013
|
+
"path": "src/_config/index.ts",
|
|
2014
|
+
"declarations": [],
|
|
2015
|
+
"exports": [
|
|
1925
2016
|
{
|
|
1926
|
-
"kind": "
|
|
1927
|
-
"name": "
|
|
1928
|
-
"
|
|
1929
|
-
"
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
{
|
|
1941
|
-
"name": "definition",
|
|
1942
|
-
"type": {
|
|
1943
|
-
"text": "FoundationElementDefinition"
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1946
|
-
]
|
|
2017
|
+
"kind": "js",
|
|
2018
|
+
"name": "*",
|
|
2019
|
+
"declaration": {
|
|
2020
|
+
"name": "*",
|
|
2021
|
+
"package": "./styles"
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
"kind": "js",
|
|
2026
|
+
"name": "*",
|
|
2027
|
+
"declaration": {
|
|
2028
|
+
"name": "*",
|
|
2029
|
+
"package": "./tokens"
|
|
2030
|
+
}
|
|
1947
2031
|
},
|
|
2032
|
+
{
|
|
2033
|
+
"kind": "js",
|
|
2034
|
+
"name": "*",
|
|
2035
|
+
"declaration": {
|
|
2036
|
+
"name": "*",
|
|
2037
|
+
"package": "./values"
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
]
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
"kind": "javascript-module",
|
|
2044
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
2045
|
+
"declarations": [
|
|
1948
2046
|
{
|
|
1949
2047
|
"kind": "function",
|
|
1950
|
-
"name": "
|
|
2048
|
+
"name": "foundationAccordionItemStyles",
|
|
1951
2049
|
"return": {
|
|
1952
2050
|
"type": {
|
|
1953
2051
|
"text": "ElementStyles"
|
|
@@ -1972,281 +2070,156 @@
|
|
|
1972
2070
|
"exports": [
|
|
1973
2071
|
{
|
|
1974
2072
|
"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",
|
|
2073
|
+
"name": "foundationAccordionItemStyles",
|
|
1984
2074
|
"declaration": {
|
|
1985
|
-
"name": "
|
|
1986
|
-
"module": "src/
|
|
2075
|
+
"name": "foundationAccordionItemStyles",
|
|
2076
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1987
2077
|
}
|
|
1988
2078
|
}
|
|
1989
2079
|
]
|
|
1990
2080
|
},
|
|
1991
2081
|
{
|
|
1992
2082
|
"kind": "javascript-module",
|
|
1993
|
-
"path": "src/
|
|
2083
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1994
2084
|
"declarations": [
|
|
1995
2085
|
{
|
|
1996
2086
|
"kind": "function",
|
|
1997
|
-
"name": "
|
|
2087
|
+
"name": "foundationAccordionItemTemplate",
|
|
2088
|
+
"return": {
|
|
2089
|
+
"type": {
|
|
2090
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
1998
2093
|
"parameters": [
|
|
1999
2094
|
{
|
|
2000
|
-
"name": "
|
|
2095
|
+
"name": "context",
|
|
2001
2096
|
"type": {
|
|
2002
|
-
"text": "
|
|
2097
|
+
"text": "ElementDefinitionContext"
|
|
2003
2098
|
}
|
|
2004
|
-
}
|
|
2005
|
-
]
|
|
2006
|
-
},
|
|
2007
|
-
{
|
|
2008
|
-
"kind": "function",
|
|
2009
|
-
"name": "singleOptionTemplate",
|
|
2010
|
-
"parameters": [
|
|
2099
|
+
},
|
|
2011
2100
|
{
|
|
2012
|
-
"name": "
|
|
2101
|
+
"name": "definition",
|
|
2013
2102
|
"type": {
|
|
2014
|
-
"text": "
|
|
2103
|
+
"text": "FoundationElementDefinition"
|
|
2015
2104
|
}
|
|
2016
2105
|
}
|
|
2017
2106
|
]
|
|
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`"
|
|
2026
2107
|
}
|
|
2027
2108
|
],
|
|
2028
2109
|
"exports": [
|
|
2029
2110
|
{
|
|
2030
2111
|
"kind": "js",
|
|
2031
|
-
"name": "
|
|
2032
|
-
"declaration": {
|
|
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",
|
|
2112
|
+
"name": "foundationAccordionItemTemplate",
|
|
2048
2113
|
"declaration": {
|
|
2049
|
-
"name": "
|
|
2050
|
-
"module": "src/
|
|
2114
|
+
"name": "foundationAccordionItemTemplate",
|
|
2115
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2051
2116
|
}
|
|
2052
2117
|
}
|
|
2053
2118
|
]
|
|
2054
2119
|
},
|
|
2055
2120
|
{
|
|
2056
2121
|
"kind": "javascript-module",
|
|
2057
|
-
"path": "src/
|
|
2122
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2058
2123
|
"declarations": [
|
|
2059
2124
|
{
|
|
2060
2125
|
"kind": "class",
|
|
2061
2126
|
"description": "",
|
|
2062
|
-
"name": "
|
|
2063
|
-
"
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
"kind": "field",
|
|
2073
|
-
"name": "isVertical",
|
|
2074
|
-
"type": {
|
|
2075
|
-
"text": "boolean"
|
|
2076
|
-
},
|
|
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"
|
|
2107
|
-
}
|
|
2108
|
-
},
|
|
2109
|
-
{
|
|
2110
|
-
"kind": "field",
|
|
2111
|
-
"name": "name",
|
|
2112
|
-
"type": {
|
|
2113
|
-
"text": "string"
|
|
2114
|
-
},
|
|
2115
|
-
"default": "'Actions'"
|
|
2116
|
-
},
|
|
2127
|
+
"name": "AccordionItem",
|
|
2128
|
+
"superclass": {
|
|
2129
|
+
"name": "FASTAccordionItem",
|
|
2130
|
+
"package": "@microsoft/fast-components"
|
|
2131
|
+
},
|
|
2132
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2133
|
+
"customElement": true,
|
|
2134
|
+
"attributes": [
|
|
2117
2135
|
{
|
|
2118
|
-
"
|
|
2119
|
-
"name": "open",
|
|
2136
|
+
"name": "heading-level",
|
|
2120
2137
|
"type": {
|
|
2121
|
-
"text": "
|
|
2138
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2122
2139
|
},
|
|
2123
|
-
"default": "
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
"
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
"text": "string"
|
|
2140
|
+
"default": "2",
|
|
2141
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2142
|
+
"fieldName": "headinglevel",
|
|
2143
|
+
"inheritedFrom": {
|
|
2144
|
+
"name": "AccordionItem",
|
|
2145
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2130
2146
|
}
|
|
2131
2147
|
},
|
|
2132
2148
|
{
|
|
2133
|
-
"kind": "field",
|
|
2134
|
-
"name": "hideDisabled",
|
|
2135
2149
|
"type": {
|
|
2136
2150
|
"text": "boolean"
|
|
2137
2151
|
},
|
|
2138
|
-
"default": "false"
|
|
2152
|
+
"default": "false",
|
|
2153
|
+
"description": "Expands or collapses the item.",
|
|
2154
|
+
"fieldName": "expanded",
|
|
2155
|
+
"inheritedFrom": {
|
|
2156
|
+
"name": "AccordionItem",
|
|
2157
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2158
|
+
}
|
|
2139
2159
|
},
|
|
2140
2160
|
{
|
|
2141
|
-
"
|
|
2142
|
-
"name": "hideMenuSingleOption",
|
|
2161
|
+
"name": "id",
|
|
2143
2162
|
"type": {
|
|
2144
|
-
"text": "
|
|
2163
|
+
"text": "string"
|
|
2145
2164
|
},
|
|
2146
|
-
"
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
"type": {
|
|
2152
|
-
"text": "ActionMenuItem"
|
|
2165
|
+
"description": "The item ID",
|
|
2166
|
+
"fieldName": "id",
|
|
2167
|
+
"inheritedFrom": {
|
|
2168
|
+
"name": "AccordionItem",
|
|
2169
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2153
2170
|
}
|
|
2154
|
-
}
|
|
2171
|
+
}
|
|
2172
|
+
],
|
|
2173
|
+
"members": [
|
|
2155
2174
|
{
|
|
2156
2175
|
"kind": "field",
|
|
2157
|
-
"name": "
|
|
2176
|
+
"name": "headinglevel",
|
|
2158
2177
|
"type": {
|
|
2159
|
-
"text": "
|
|
2178
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2179
|
+
},
|
|
2180
|
+
"privacy": "public",
|
|
2181
|
+
"default": "2",
|
|
2182
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2183
|
+
"inheritedFrom": {
|
|
2184
|
+
"name": "AccordionItem",
|
|
2185
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2160
2186
|
}
|
|
2161
2187
|
},
|
|
2162
2188
|
{
|
|
2163
2189
|
"kind": "field",
|
|
2164
|
-
"name": "
|
|
2190
|
+
"name": "expanded",
|
|
2165
2191
|
"type": {
|
|
2166
|
-
"text": "
|
|
2192
|
+
"text": "boolean"
|
|
2193
|
+
},
|
|
2194
|
+
"privacy": "public",
|
|
2195
|
+
"default": "false",
|
|
2196
|
+
"description": "Expands or collapses the item.",
|
|
2197
|
+
"inheritedFrom": {
|
|
2198
|
+
"name": "AccordionItem",
|
|
2199
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2167
2200
|
}
|
|
2168
2201
|
},
|
|
2169
|
-
{
|
|
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
|
-
},
|
|
2202
|
-
{
|
|
2203
|
-
"kind": "method",
|
|
2204
|
-
"name": "onActionMenuItemClick",
|
|
2205
|
-
"parameters": [
|
|
2206
|
-
{
|
|
2207
|
-
"name": "callback",
|
|
2208
|
-
"type": {
|
|
2209
|
-
"text": "(rowData) => void | any"
|
|
2210
|
-
}
|
|
2211
|
-
}
|
|
2212
|
-
]
|
|
2213
|
-
},
|
|
2214
2202
|
{
|
|
2215
2203
|
"kind": "field",
|
|
2216
|
-
"name": "
|
|
2204
|
+
"name": "id",
|
|
2217
2205
|
"type": {
|
|
2218
|
-
"text": "
|
|
2206
|
+
"text": "string"
|
|
2219
2207
|
},
|
|
2220
|
-
"
|
|
2208
|
+
"privacy": "public",
|
|
2209
|
+
"description": "The item ID",
|
|
2210
|
+
"inheritedFrom": {
|
|
2211
|
+
"name": "AccordionItem",
|
|
2212
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2213
|
+
}
|
|
2221
2214
|
},
|
|
2222
2215
|
{
|
|
2223
2216
|
"kind": "field",
|
|
2224
|
-
"name": "
|
|
2225
|
-
"
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
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
|
-
]
|
|
2217
|
+
"name": "change",
|
|
2218
|
+
"privacy": "private",
|
|
2219
|
+
"inheritedFrom": {
|
|
2220
|
+
"name": "AccordionItem",
|
|
2221
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2222
|
+
}
|
|
2250
2223
|
},
|
|
2251
2224
|
{
|
|
2252
2225
|
"kind": "field",
|
|
@@ -2360,107 +2333,78 @@
|
|
|
2360
2333
|
}
|
|
2361
2334
|
}
|
|
2362
2335
|
],
|
|
2363
|
-
"
|
|
2364
|
-
{
|
|
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
|
-
},
|
|
2336
|
+
"events": [
|
|
2419
2337
|
{
|
|
2420
|
-
"
|
|
2421
|
-
"
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2338
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2339
|
+
"name": "change",
|
|
2340
|
+
"inheritedFrom": {
|
|
2341
|
+
"name": "AccordionItem",
|
|
2342
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2343
|
+
}
|
|
2426
2344
|
}
|
|
2427
|
-
]
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2345
|
+
]
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"kind": "variable",
|
|
2349
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2350
|
+
"type": {
|
|
2351
|
+
"text": "ShadowRootInit"
|
|
2431
2352
|
},
|
|
2432
|
-
"
|
|
2433
|
-
"customElement": true
|
|
2353
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2434
2354
|
},
|
|
2435
2355
|
{
|
|
2436
2356
|
"kind": "variable",
|
|
2437
|
-
"name": "
|
|
2438
|
-
"
|
|
2357
|
+
"name": "defaultAccordionItemConfig",
|
|
2358
|
+
"type": {
|
|
2359
|
+
"text": "object"
|
|
2360
|
+
},
|
|
2361
|
+
"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}"
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
"kind": "variable",
|
|
2365
|
+
"name": "foundationAccordionItem",
|
|
2366
|
+
"description": "The Foundation Accordion Item",
|
|
2439
2367
|
"privacy": "public"
|
|
2440
2368
|
}
|
|
2441
2369
|
],
|
|
2442
2370
|
"exports": [
|
|
2443
2371
|
{
|
|
2444
2372
|
"kind": "js",
|
|
2445
|
-
"name": "
|
|
2373
|
+
"name": "AccordionItem",
|
|
2446
2374
|
"declaration": {
|
|
2447
|
-
"name": "
|
|
2448
|
-
"module": "src/
|
|
2375
|
+
"name": "AccordionItem",
|
|
2376
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2377
|
+
}
|
|
2378
|
+
},
|
|
2379
|
+
{
|
|
2380
|
+
"kind": "js",
|
|
2381
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2382
|
+
"declaration": {
|
|
2383
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2384
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2385
|
+
}
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
"kind": "js",
|
|
2389
|
+
"name": "defaultAccordionItemConfig",
|
|
2390
|
+
"declaration": {
|
|
2391
|
+
"name": "defaultAccordionItemConfig",
|
|
2392
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2449
2393
|
}
|
|
2450
2394
|
},
|
|
2451
2395
|
{
|
|
2452
2396
|
"kind": "js",
|
|
2453
|
-
"name": "
|
|
2397
|
+
"name": "foundationAccordionItem",
|
|
2454
2398
|
"declaration": {
|
|
2455
|
-
"name": "
|
|
2456
|
-
"module": "src/
|
|
2399
|
+
"name": "foundationAccordionItem",
|
|
2400
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2457
2401
|
}
|
|
2458
2402
|
}
|
|
2459
2403
|
]
|
|
2460
2404
|
},
|
|
2461
2405
|
{
|
|
2462
2406
|
"kind": "javascript-module",
|
|
2463
|
-
"path": "src/
|
|
2407
|
+
"path": "src/accordion-item/index.ts",
|
|
2464
2408
|
"declarations": [],
|
|
2465
2409
|
"exports": [
|
|
2466
2410
|
{
|
|
@@ -2468,7 +2412,7 @@
|
|
|
2468
2412
|
"name": "*",
|
|
2469
2413
|
"declaration": {
|
|
2470
2414
|
"name": "*",
|
|
2471
|
-
"package": "./
|
|
2415
|
+
"package": "./accordion-item.template"
|
|
2472
2416
|
}
|
|
2473
2417
|
},
|
|
2474
2418
|
{
|
|
@@ -2476,7 +2420,7 @@
|
|
|
2476
2420
|
"name": "*",
|
|
2477
2421
|
"declaration": {
|
|
2478
2422
|
"name": "*",
|
|
2479
|
-
"package": "./
|
|
2423
|
+
"package": "./accordion-item.styles"
|
|
2480
2424
|
}
|
|
2481
2425
|
},
|
|
2482
2426
|
{
|
|
@@ -2484,7 +2428,7 @@
|
|
|
2484
2428
|
"name": "*",
|
|
2485
2429
|
"declaration": {
|
|
2486
2430
|
"name": "*",
|
|
2487
|
-
"package": "./
|
|
2431
|
+
"package": "./accordion-item"
|
|
2488
2432
|
}
|
|
2489
2433
|
}
|
|
2490
2434
|
]
|
|
@@ -3100,11 +3044,34 @@
|
|
|
3100
3044
|
},
|
|
3101
3045
|
{
|
|
3102
3046
|
"kind": "javascript-module",
|
|
3103
|
-
"path": "src/
|
|
3047
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
3104
3048
|
"declarations": [
|
|
3105
3049
|
{
|
|
3106
3050
|
"kind": "function",
|
|
3107
|
-
"name": "
|
|
3051
|
+
"name": "actionsMenuBaseStyles",
|
|
3052
|
+
"return": {
|
|
3053
|
+
"type": {
|
|
3054
|
+
"text": "ElementStyles"
|
|
3055
|
+
}
|
|
3056
|
+
},
|
|
3057
|
+
"parameters": [
|
|
3058
|
+
{
|
|
3059
|
+
"name": "context",
|
|
3060
|
+
"type": {
|
|
3061
|
+
"text": "ElementDefinitionContext"
|
|
3062
|
+
}
|
|
3063
|
+
},
|
|
3064
|
+
{
|
|
3065
|
+
"name": "definition",
|
|
3066
|
+
"type": {
|
|
3067
|
+
"text": "FoundationElementDefinition"
|
|
3068
|
+
}
|
|
3069
|
+
}
|
|
3070
|
+
]
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
"kind": "function",
|
|
3074
|
+
"name": "foundationActionsMenuStyles",
|
|
3108
3075
|
"return": {
|
|
3109
3076
|
"type": {
|
|
3110
3077
|
"text": "ElementStyles"
|
|
@@ -3129,277 +3096,281 @@
|
|
|
3129
3096
|
"exports": [
|
|
3130
3097
|
{
|
|
3131
3098
|
"kind": "js",
|
|
3132
|
-
"name": "
|
|
3099
|
+
"name": "actionsMenuBaseStyles",
|
|
3133
3100
|
"declaration": {
|
|
3134
|
-
"name": "
|
|
3135
|
-
"module": "src/
|
|
3101
|
+
"name": "actionsMenuBaseStyles",
|
|
3102
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3103
|
+
}
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
"kind": "js",
|
|
3107
|
+
"name": "foundationActionsMenuStyles",
|
|
3108
|
+
"declaration": {
|
|
3109
|
+
"name": "foundationActionsMenuStyles",
|
|
3110
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3136
3111
|
}
|
|
3137
3112
|
}
|
|
3138
3113
|
]
|
|
3139
3114
|
},
|
|
3140
3115
|
{
|
|
3141
3116
|
"kind": "javascript-module",
|
|
3142
|
-
"path": "src/
|
|
3117
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
3143
3118
|
"declarations": [
|
|
3144
3119
|
{
|
|
3145
3120
|
"kind": "function",
|
|
3146
|
-
"name": "
|
|
3147
|
-
"return": {
|
|
3148
|
-
"type": {
|
|
3149
|
-
"text": "ViewTemplate<Accordion>"
|
|
3150
|
-
}
|
|
3151
|
-
},
|
|
3121
|
+
"name": "menuTemplate",
|
|
3152
3122
|
"parameters": [
|
|
3153
3123
|
{
|
|
3154
|
-
"name": "
|
|
3124
|
+
"name": "prefix",
|
|
3155
3125
|
"type": {
|
|
3156
|
-
"text": "
|
|
3126
|
+
"text": "string"
|
|
3157
3127
|
}
|
|
3158
|
-
}
|
|
3128
|
+
}
|
|
3129
|
+
]
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"kind": "function",
|
|
3133
|
+
"name": "singleOptionTemplate",
|
|
3134
|
+
"parameters": [
|
|
3159
3135
|
{
|
|
3160
|
-
"name": "
|
|
3136
|
+
"name": "prefix",
|
|
3161
3137
|
"type": {
|
|
3162
|
-
"text": "
|
|
3138
|
+
"text": "string"
|
|
3163
3139
|
}
|
|
3164
3140
|
}
|
|
3165
3141
|
]
|
|
3142
|
+
},
|
|
3143
|
+
{
|
|
3144
|
+
"kind": "variable",
|
|
3145
|
+
"name": "foundationActionsMenuTemplate",
|
|
3146
|
+
"type": {
|
|
3147
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
3148
|
+
},
|
|
3149
|
+
"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`"
|
|
3166
3150
|
}
|
|
3167
3151
|
],
|
|
3168
3152
|
"exports": [
|
|
3169
3153
|
{
|
|
3170
3154
|
"kind": "js",
|
|
3171
|
-
"name": "
|
|
3155
|
+
"name": "menuTemplate",
|
|
3172
3156
|
"declaration": {
|
|
3173
|
-
"name": "
|
|
3174
|
-
"module": "src/
|
|
3157
|
+
"name": "menuTemplate",
|
|
3158
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3159
|
+
}
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"kind": "js",
|
|
3163
|
+
"name": "singleOptionTemplate",
|
|
3164
|
+
"declaration": {
|
|
3165
|
+
"name": "singleOptionTemplate",
|
|
3166
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3167
|
+
}
|
|
3168
|
+
},
|
|
3169
|
+
{
|
|
3170
|
+
"kind": "js",
|
|
3171
|
+
"name": "foundationActionsMenuTemplate",
|
|
3172
|
+
"declaration": {
|
|
3173
|
+
"name": "foundationActionsMenuTemplate",
|
|
3174
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3175
3175
|
}
|
|
3176
3176
|
}
|
|
3177
3177
|
]
|
|
3178
3178
|
},
|
|
3179
3179
|
{
|
|
3180
3180
|
"kind": "javascript-module",
|
|
3181
|
-
"path": "src/
|
|
3181
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
3182
3182
|
"declarations": [
|
|
3183
3183
|
{
|
|
3184
3184
|
"kind": "class",
|
|
3185
3185
|
"description": "",
|
|
3186
|
-
"name": "
|
|
3187
|
-
"
|
|
3188
|
-
"name": "FASTAccordion",
|
|
3189
|
-
"package": "@microsoft/fast-foundation"
|
|
3190
|
-
},
|
|
3191
|
-
"tagName": "%%prefix%%-accordion",
|
|
3192
|
-
"customElement": true,
|
|
3193
|
-
"attributes": [
|
|
3186
|
+
"name": "ActionsMenu",
|
|
3187
|
+
"members": [
|
|
3194
3188
|
{
|
|
3195
|
-
"
|
|
3189
|
+
"kind": "field",
|
|
3190
|
+
"name": "actions",
|
|
3196
3191
|
"type": {
|
|
3197
|
-
"text": "
|
|
3198
|
-
},
|
|
3199
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3200
|
-
"fieldName": "expandmode",
|
|
3201
|
-
"inheritedFrom": {
|
|
3202
|
-
"name": "Accordion",
|
|
3203
|
-
"module": "src/accordion/accordion.ts"
|
|
3192
|
+
"text": "ActionMenuItem[]"
|
|
3204
3193
|
}
|
|
3205
|
-
}
|
|
3206
|
-
],
|
|
3207
|
-
"members": [
|
|
3194
|
+
},
|
|
3208
3195
|
{
|
|
3209
3196
|
"kind": "field",
|
|
3210
|
-
"name": "
|
|
3197
|
+
"name": "isVertical",
|
|
3211
3198
|
"type": {
|
|
3212
|
-
"text": "
|
|
3199
|
+
"text": "boolean"
|
|
3213
3200
|
},
|
|
3214
|
-
"
|
|
3215
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3216
|
-
"inheritedFrom": {
|
|
3217
|
-
"name": "Accordion",
|
|
3218
|
-
"module": "src/accordion/accordion.ts"
|
|
3219
|
-
}
|
|
3201
|
+
"default": "false"
|
|
3220
3202
|
},
|
|
3221
3203
|
{
|
|
3222
3204
|
"kind": "field",
|
|
3223
|
-
"name": "
|
|
3205
|
+
"name": "addDefaultActions",
|
|
3224
3206
|
"type": {
|
|
3225
|
-
"text": "
|
|
3207
|
+
"text": "boolean"
|
|
3226
3208
|
},
|
|
3227
|
-
"
|
|
3228
|
-
"inheritedFrom": {
|
|
3229
|
-
"name": "Accordion",
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
|
-
}
|
|
3209
|
+
"default": "true"
|
|
3232
3210
|
},
|
|
3233
3211
|
{
|
|
3234
3212
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3213
|
+
"name": "autoCloseOnAction",
|
|
3236
3214
|
"type": {
|
|
3237
|
-
"text": "
|
|
3215
|
+
"text": "boolean"
|
|
3238
3216
|
},
|
|
3239
|
-
"
|
|
3240
|
-
"default": "0",
|
|
3241
|
-
"inheritedFrom": {
|
|
3242
|
-
"name": "Accordion",
|
|
3243
|
-
"module": "src/accordion/accordion.ts"
|
|
3244
|
-
}
|
|
3217
|
+
"default": "true"
|
|
3245
3218
|
},
|
|
3246
3219
|
{
|
|
3247
3220
|
"kind": "field",
|
|
3248
|
-
"name": "
|
|
3221
|
+
"name": "classNames",
|
|
3249
3222
|
"type": {
|
|
3250
|
-
"text": "
|
|
3251
|
-
},
|
|
3252
|
-
"privacy": "private",
|
|
3253
|
-
"inheritedFrom": {
|
|
3254
|
-
"name": "Accordion",
|
|
3255
|
-
"module": "src/accordion/accordion.ts"
|
|
3223
|
+
"text": "string"
|
|
3256
3224
|
}
|
|
3257
3225
|
},
|
|
3258
3226
|
{
|
|
3259
3227
|
"kind": "field",
|
|
3260
|
-
"name": "
|
|
3261
|
-
"
|
|
3262
|
-
|
|
3263
|
-
"name": "Accordion",
|
|
3264
|
-
"module": "src/accordion/accordion.ts"
|
|
3228
|
+
"name": "definition",
|
|
3229
|
+
"type": {
|
|
3230
|
+
"text": "any"
|
|
3265
3231
|
}
|
|
3266
3232
|
},
|
|
3267
3233
|
{
|
|
3268
|
-
"kind": "
|
|
3269
|
-
"name": "
|
|
3270
|
-
"
|
|
3271
|
-
|
|
3272
|
-
"type": {
|
|
3273
|
-
"text": "AccordionItem | null"
|
|
3274
|
-
}
|
|
3234
|
+
"kind": "field",
|
|
3235
|
+
"name": "name",
|
|
3236
|
+
"type": {
|
|
3237
|
+
"text": "string"
|
|
3275
3238
|
},
|
|
3276
|
-
"
|
|
3277
|
-
"name": "Accordion",
|
|
3278
|
-
"module": "src/accordion/accordion.ts"
|
|
3279
|
-
}
|
|
3239
|
+
"default": "'Actions'"
|
|
3280
3240
|
},
|
|
3281
3241
|
{
|
|
3282
3242
|
"kind": "field",
|
|
3283
|
-
"name": "
|
|
3284
|
-
"
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3243
|
+
"name": "open",
|
|
3244
|
+
"type": {
|
|
3245
|
+
"text": "boolean"
|
|
3246
|
+
},
|
|
3247
|
+
"default": "false"
|
|
3248
|
+
},
|
|
3249
|
+
{
|
|
3250
|
+
"kind": "field",
|
|
3251
|
+
"name": "buttonAppearance",
|
|
3252
|
+
"type": {
|
|
3253
|
+
"text": "string"
|
|
3288
3254
|
}
|
|
3289
3255
|
},
|
|
3290
3256
|
{
|
|
3291
|
-
"kind": "
|
|
3292
|
-
"name": "
|
|
3293
|
-
"
|
|
3294
|
-
|
|
3295
|
-
"type": {
|
|
3296
|
-
"text": "void"
|
|
3297
|
-
}
|
|
3257
|
+
"kind": "field",
|
|
3258
|
+
"name": "hideDisabled",
|
|
3259
|
+
"type": {
|
|
3260
|
+
"text": "boolean"
|
|
3298
3261
|
},
|
|
3299
|
-
"
|
|
3300
|
-
|
|
3301
|
-
|
|
3262
|
+
"default": "false"
|
|
3263
|
+
},
|
|
3264
|
+
{
|
|
3265
|
+
"kind": "field",
|
|
3266
|
+
"name": "hideMenuSingleOption",
|
|
3267
|
+
"type": {
|
|
3268
|
+
"text": "boolean"
|
|
3269
|
+
},
|
|
3270
|
+
"default": "false"
|
|
3271
|
+
},
|
|
3272
|
+
{
|
|
3273
|
+
"kind": "field",
|
|
3274
|
+
"name": "singleOption",
|
|
3275
|
+
"type": {
|
|
3276
|
+
"text": "ActionMenuItem"
|
|
3277
|
+
}
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
"kind": "field",
|
|
3281
|
+
"name": "actionsMenu",
|
|
3282
|
+
"type": {
|
|
3283
|
+
"text": "HTMLElement"
|
|
3302
3284
|
}
|
|
3303
3285
|
},
|
|
3304
3286
|
{
|
|
3305
3287
|
"kind": "field",
|
|
3306
|
-
"name": "
|
|
3307
|
-
"
|
|
3308
|
-
|
|
3309
|
-
"name": "Accordion",
|
|
3310
|
-
"module": "src/accordion/accordion.ts"
|
|
3288
|
+
"name": "actionsOpener",
|
|
3289
|
+
"type": {
|
|
3290
|
+
"text": "HTMLElement"
|
|
3311
3291
|
}
|
|
3312
3292
|
},
|
|
3313
3293
|
{
|
|
3314
|
-
"kind": "
|
|
3315
|
-
"name": "
|
|
3316
|
-
"privacy": "private"
|
|
3317
|
-
"inheritedFrom": {
|
|
3318
|
-
"name": "Accordion",
|
|
3319
|
-
"module": "src/accordion/accordion.ts"
|
|
3320
|
-
}
|
|
3294
|
+
"kind": "method",
|
|
3295
|
+
"name": "updateMenuPosition",
|
|
3296
|
+
"privacy": "private"
|
|
3321
3297
|
},
|
|
3322
3298
|
{
|
|
3323
3299
|
"kind": "method",
|
|
3324
|
-
"name": "
|
|
3325
|
-
"privacy": "
|
|
3326
|
-
"
|
|
3327
|
-
|
|
3328
|
-
"
|
|
3300
|
+
"name": "definitionChanged",
|
|
3301
|
+
"privacy": "protected",
|
|
3302
|
+
"parameters": [
|
|
3303
|
+
{
|
|
3304
|
+
"name": "oldValue",
|
|
3305
|
+
"type": {
|
|
3306
|
+
"text": "any"
|
|
3307
|
+
}
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
"name": "newValue",
|
|
3311
|
+
"type": {
|
|
3312
|
+
"text": "any"
|
|
3313
|
+
}
|
|
3329
3314
|
}
|
|
3330
|
-
|
|
3331
|
-
"inheritedFrom": {
|
|
3332
|
-
"name": "Accordion",
|
|
3333
|
-
"module": "src/accordion/accordion.ts"
|
|
3334
|
-
}
|
|
3315
|
+
]
|
|
3335
3316
|
},
|
|
3336
3317
|
{
|
|
3337
3318
|
"kind": "method",
|
|
3338
|
-
"name": "
|
|
3339
|
-
"privacy": "
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3319
|
+
"name": "openChanged",
|
|
3320
|
+
"privacy": "protected"
|
|
3321
|
+
},
|
|
3322
|
+
{
|
|
3323
|
+
"kind": "method",
|
|
3324
|
+
"name": "toggleActionsMenuVisibility"
|
|
3325
|
+
},
|
|
3326
|
+
{
|
|
3327
|
+
"kind": "method",
|
|
3328
|
+
"name": "onActionMenuItemClick",
|
|
3329
|
+
"parameters": [
|
|
3330
|
+
{
|
|
3331
|
+
"name": "callback",
|
|
3332
|
+
"type": {
|
|
3333
|
+
"text": "(rowData) => void | any"
|
|
3334
|
+
}
|
|
3343
3335
|
}
|
|
3344
|
-
|
|
3345
|
-
"inheritedFrom": {
|
|
3346
|
-
"name": "Accordion",
|
|
3347
|
-
"module": "src/accordion/accordion.ts"
|
|
3348
|
-
}
|
|
3336
|
+
]
|
|
3349
3337
|
},
|
|
3350
3338
|
{
|
|
3351
3339
|
"kind": "field",
|
|
3352
|
-
"name": "
|
|
3353
|
-
"
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
}
|
|
3340
|
+
"name": "allActions",
|
|
3341
|
+
"type": {
|
|
3342
|
+
"text": "ActionMenuItem[]"
|
|
3343
|
+
},
|
|
3344
|
+
"readonly": true
|
|
3358
3345
|
},
|
|
3359
3346
|
{
|
|
3360
3347
|
"kind": "field",
|
|
3361
|
-
"name": "
|
|
3362
|
-
"
|
|
3363
|
-
"inheritedFrom": {
|
|
3364
|
-
"name": "Accordion",
|
|
3365
|
-
"module": "src/accordion/accordion.ts"
|
|
3366
|
-
}
|
|
3348
|
+
"name": "rowData",
|
|
3349
|
+
"readonly": true
|
|
3367
3350
|
},
|
|
3368
3351
|
{
|
|
3369
3352
|
"kind": "method",
|
|
3370
|
-
"name": "
|
|
3371
|
-
"privacy": "private",
|
|
3372
|
-
"return": {
|
|
3373
|
-
"type": {
|
|
3374
|
-
"text": "void"
|
|
3375
|
-
}
|
|
3376
|
-
},
|
|
3353
|
+
"name": "getLabel",
|
|
3377
3354
|
"parameters": [
|
|
3378
3355
|
{
|
|
3379
|
-
"name": "
|
|
3356
|
+
"name": "name",
|
|
3380
3357
|
"type": {
|
|
3381
|
-
"text": "
|
|
3358
|
+
"text": "string | ((rowData: any) => string)"
|
|
3382
3359
|
}
|
|
3383
3360
|
}
|
|
3384
|
-
]
|
|
3385
|
-
"inheritedFrom": {
|
|
3386
|
-
"name": "Accordion",
|
|
3387
|
-
"module": "src/accordion/accordion.ts"
|
|
3388
|
-
}
|
|
3361
|
+
]
|
|
3389
3362
|
},
|
|
3390
3363
|
{
|
|
3391
3364
|
"kind": "method",
|
|
3392
|
-
"name": "
|
|
3393
|
-
"
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
"
|
|
3365
|
+
"name": "getTemplate",
|
|
3366
|
+
"parameters": [
|
|
3367
|
+
{
|
|
3368
|
+
"name": "prefix",
|
|
3369
|
+
"type": {
|
|
3370
|
+
"text": "string"
|
|
3371
|
+
}
|
|
3397
3372
|
}
|
|
3398
|
-
|
|
3399
|
-
"inheritedFrom": {
|
|
3400
|
-
"name": "Accordion",
|
|
3401
|
-
"module": "src/accordion/accordion.ts"
|
|
3402
|
-
}
|
|
3373
|
+
]
|
|
3403
3374
|
},
|
|
3404
3375
|
{
|
|
3405
3376
|
"kind": "field",
|
|
@@ -3513,78 +3484,107 @@
|
|
|
3513
3484
|
}
|
|
3514
3485
|
}
|
|
3515
3486
|
],
|
|
3516
|
-
"
|
|
3487
|
+
"attributes": [
|
|
3517
3488
|
{
|
|
3518
|
-
"
|
|
3519
|
-
"
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3489
|
+
"name": "is-vertical",
|
|
3490
|
+
"type": {
|
|
3491
|
+
"text": "boolean"
|
|
3492
|
+
},
|
|
3493
|
+
"default": "false",
|
|
3494
|
+
"fieldName": "isVertical"
|
|
3495
|
+
},
|
|
3496
|
+
{
|
|
3497
|
+
"name": "add-default-actions",
|
|
3498
|
+
"type": {
|
|
3499
|
+
"text": "boolean"
|
|
3500
|
+
},
|
|
3501
|
+
"default": "true",
|
|
3502
|
+
"fieldName": "addDefaultActions"
|
|
3503
|
+
},
|
|
3504
|
+
{
|
|
3505
|
+
"name": "auto-close-on-action",
|
|
3506
|
+
"type": {
|
|
3507
|
+
"text": "boolean"
|
|
3508
|
+
},
|
|
3509
|
+
"default": "true",
|
|
3510
|
+
"fieldName": "autoCloseOnAction"
|
|
3511
|
+
},
|
|
3512
|
+
{
|
|
3513
|
+
"name": "name",
|
|
3514
|
+
"type": {
|
|
3515
|
+
"text": "string"
|
|
3516
|
+
},
|
|
3517
|
+
"default": "'Actions'",
|
|
3518
|
+
"fieldName": "name"
|
|
3519
|
+
},
|
|
3520
|
+
{
|
|
3521
|
+
"name": "open",
|
|
3522
|
+
"type": {
|
|
3523
|
+
"text": "boolean"
|
|
3524
|
+
},
|
|
3525
|
+
"default": "false",
|
|
3526
|
+
"fieldName": "open"
|
|
3527
|
+
},
|
|
3528
|
+
{
|
|
3529
|
+
"name": "buttonAppearance",
|
|
3530
|
+
"type": {
|
|
3531
|
+
"text": "string"
|
|
3532
|
+
},
|
|
3533
|
+
"fieldName": "buttonAppearance"
|
|
3534
|
+
},
|
|
3535
|
+
{
|
|
3536
|
+
"name": "hide-disabled",
|
|
3537
|
+
"type": {
|
|
3538
|
+
"text": "boolean"
|
|
3539
|
+
},
|
|
3540
|
+
"default": "false",
|
|
3541
|
+
"fieldName": "hideDisabled"
|
|
3542
|
+
},
|
|
3543
|
+
{
|
|
3544
|
+
"name": "hide-menu-single-option",
|
|
3545
|
+
"type": {
|
|
3546
|
+
"text": "boolean"
|
|
3547
|
+
},
|
|
3548
|
+
"default": "false",
|
|
3549
|
+
"fieldName": "hideMenuSingleOption"
|
|
3524
3550
|
}
|
|
3525
|
-
]
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
"name": "foundationAccordionShadowOptions",
|
|
3530
|
-
"type": {
|
|
3531
|
-
"text": "ShadowRootInit"
|
|
3532
|
-
},
|
|
3533
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3534
|
-
},
|
|
3535
|
-
{
|
|
3536
|
-
"kind": "variable",
|
|
3537
|
-
"name": "defaultAccordionConfig",
|
|
3538
|
-
"type": {
|
|
3539
|
-
"text": "object"
|
|
3551
|
+
],
|
|
3552
|
+
"superclass": {
|
|
3553
|
+
"name": "FoundationElement",
|
|
3554
|
+
"package": "@microsoft/fast-foundation"
|
|
3540
3555
|
},
|
|
3541
|
-
"
|
|
3556
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
3557
|
+
"customElement": true
|
|
3542
3558
|
},
|
|
3543
3559
|
{
|
|
3544
3560
|
"kind": "variable",
|
|
3545
|
-
"name": "
|
|
3546
|
-
"description": "The Foundation
|
|
3561
|
+
"name": "foundationActionsMenu",
|
|
3562
|
+
"description": "The Foundation Actions Menu",
|
|
3547
3563
|
"privacy": "public"
|
|
3548
3564
|
}
|
|
3549
3565
|
],
|
|
3550
3566
|
"exports": [
|
|
3551
3567
|
{
|
|
3552
3568
|
"kind": "js",
|
|
3553
|
-
"name": "
|
|
3554
|
-
"declaration": {
|
|
3555
|
-
"name": "Accordion",
|
|
3556
|
-
"module": "src/accordion/accordion.ts"
|
|
3557
|
-
}
|
|
3558
|
-
},
|
|
3559
|
-
{
|
|
3560
|
-
"kind": "js",
|
|
3561
|
-
"name": "foundationAccordionShadowOptions",
|
|
3562
|
-
"declaration": {
|
|
3563
|
-
"name": "foundationAccordionShadowOptions",
|
|
3564
|
-
"module": "src/accordion/accordion.ts"
|
|
3565
|
-
}
|
|
3566
|
-
},
|
|
3567
|
-
{
|
|
3568
|
-
"kind": "js",
|
|
3569
|
-
"name": "defaultAccordionConfig",
|
|
3569
|
+
"name": "ActionsMenu",
|
|
3570
3570
|
"declaration": {
|
|
3571
|
-
"name": "
|
|
3572
|
-
"module": "src/
|
|
3571
|
+
"name": "ActionsMenu",
|
|
3572
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3573
3573
|
}
|
|
3574
3574
|
},
|
|
3575
3575
|
{
|
|
3576
3576
|
"kind": "js",
|
|
3577
|
-
"name": "
|
|
3577
|
+
"name": "foundationActionsMenu",
|
|
3578
3578
|
"declaration": {
|
|
3579
|
-
"name": "
|
|
3580
|
-
"module": "src/
|
|
3579
|
+
"name": "foundationActionsMenu",
|
|
3580
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3581
3581
|
}
|
|
3582
3582
|
}
|
|
3583
3583
|
]
|
|
3584
3584
|
},
|
|
3585
3585
|
{
|
|
3586
3586
|
"kind": "javascript-module",
|
|
3587
|
-
"path": "src/
|
|
3587
|
+
"path": "src/actions-menu/index.ts",
|
|
3588
3588
|
"declarations": [],
|
|
3589
3589
|
"exports": [
|
|
3590
3590
|
{
|
|
@@ -3592,7 +3592,7 @@
|
|
|
3592
3592
|
"name": "*",
|
|
3593
3593
|
"declaration": {
|
|
3594
3594
|
"name": "*",
|
|
3595
|
-
"package": "./
|
|
3595
|
+
"package": "./actions-menu.styles"
|
|
3596
3596
|
}
|
|
3597
3597
|
},
|
|
3598
3598
|
{
|
|
@@ -3600,7 +3600,7 @@
|
|
|
3600
3600
|
"name": "*",
|
|
3601
3601
|
"declaration": {
|
|
3602
3602
|
"name": "*",
|
|
3603
|
-
"package": "./
|
|
3603
|
+
"package": "./actions-menu.template"
|
|
3604
3604
|
}
|
|
3605
3605
|
},
|
|
3606
3606
|
{
|
|
@@ -3608,7 +3608,7 @@
|
|
|
3608
3608
|
"name": "*",
|
|
3609
3609
|
"declaration": {
|
|
3610
3610
|
"name": "*",
|
|
3611
|
-
"package": "./
|
|
3611
|
+
"package": "./actions-menu"
|
|
3612
3612
|
}
|
|
3613
3613
|
}
|
|
3614
3614
|
]
|