@genesislcap/foundation-ui 15.7.1 → 15.7.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 +648 -648
- package/dist/dts/dialog/dialog.styles.d.ts.map +1 -1
- package/dist/dts/react.d.ts +9 -9
- package/dist/esm/dialog/dialog.styles.js +6 -1
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -1455,11 +1455,11 @@
|
|
|
1455
1455
|
},
|
|
1456
1456
|
{
|
|
1457
1457
|
"kind": "javascript-module",
|
|
1458
|
-
"path": "src/accordion
|
|
1458
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1459
1459
|
"declarations": [
|
|
1460
1460
|
{
|
|
1461
1461
|
"kind": "function",
|
|
1462
|
-
"name": "
|
|
1462
|
+
"name": "foundationAccordionStyles",
|
|
1463
1463
|
"return": {
|
|
1464
1464
|
"type": {
|
|
1465
1465
|
"text": "ElementStyles"
|
|
@@ -1484,24 +1484,24 @@
|
|
|
1484
1484
|
"exports": [
|
|
1485
1485
|
{
|
|
1486
1486
|
"kind": "js",
|
|
1487
|
-
"name": "
|
|
1487
|
+
"name": "foundationAccordionStyles",
|
|
1488
1488
|
"declaration": {
|
|
1489
|
-
"name": "
|
|
1490
|
-
"module": "src/accordion
|
|
1489
|
+
"name": "foundationAccordionStyles",
|
|
1490
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1491
1491
|
}
|
|
1492
1492
|
}
|
|
1493
1493
|
]
|
|
1494
1494
|
},
|
|
1495
1495
|
{
|
|
1496
1496
|
"kind": "javascript-module",
|
|
1497
|
-
"path": "src/accordion
|
|
1497
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1498
1498
|
"declarations": [
|
|
1499
1499
|
{
|
|
1500
1500
|
"kind": "function",
|
|
1501
|
-
"name": "
|
|
1501
|
+
"name": "foundationAccordionTemplate",
|
|
1502
1502
|
"return": {
|
|
1503
1503
|
"type": {
|
|
1504
|
-
"text": "ViewTemplate<
|
|
1504
|
+
"text": "ViewTemplate<Accordion>"
|
|
1505
1505
|
}
|
|
1506
1506
|
},
|
|
1507
1507
|
"parameters": [
|
|
@@ -1523,116 +1523,237 @@
|
|
|
1523
1523
|
"exports": [
|
|
1524
1524
|
{
|
|
1525
1525
|
"kind": "js",
|
|
1526
|
-
"name": "
|
|
1526
|
+
"name": "foundationAccordionTemplate",
|
|
1527
1527
|
"declaration": {
|
|
1528
|
-
"name": "
|
|
1529
|
-
"module": "src/accordion
|
|
1528
|
+
"name": "foundationAccordionTemplate",
|
|
1529
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
1532
1532
|
]
|
|
1533
1533
|
},
|
|
1534
1534
|
{
|
|
1535
1535
|
"kind": "javascript-module",
|
|
1536
|
-
"path": "src/accordion
|
|
1536
|
+
"path": "src/accordion/accordion.ts",
|
|
1537
1537
|
"declarations": [
|
|
1538
1538
|
{
|
|
1539
1539
|
"kind": "class",
|
|
1540
1540
|
"description": "",
|
|
1541
|
-
"name": "
|
|
1541
|
+
"name": "Accordion",
|
|
1542
1542
|
"superclass": {
|
|
1543
|
-
"name": "
|
|
1544
|
-
"package": "@microsoft/fast-
|
|
1543
|
+
"name": "FASTAccordion",
|
|
1544
|
+
"package": "@microsoft/fast-foundation"
|
|
1545
1545
|
},
|
|
1546
|
-
"tagName": "%%prefix%%-accordion
|
|
1546
|
+
"tagName": "%%prefix%%-accordion",
|
|
1547
1547
|
"customElement": true,
|
|
1548
1548
|
"attributes": [
|
|
1549
1549
|
{
|
|
1550
|
-
"name": "
|
|
1550
|
+
"name": "expand-mode",
|
|
1551
1551
|
"type": {
|
|
1552
|
-
"text": "
|
|
1552
|
+
"text": "AccordionExpandMode"
|
|
1553
1553
|
},
|
|
1554
|
-
"
|
|
1555
|
-
"
|
|
1556
|
-
"fieldName": "headinglevel",
|
|
1554
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1555
|
+
"fieldName": "expandmode",
|
|
1557
1556
|
"inheritedFrom": {
|
|
1558
|
-
"name": "
|
|
1559
|
-
"module": "src/accordion
|
|
1557
|
+
"name": "Accordion",
|
|
1558
|
+
"module": "src/accordion/accordion.ts"
|
|
1560
1559
|
}
|
|
1561
|
-
}
|
|
1560
|
+
}
|
|
1561
|
+
],
|
|
1562
|
+
"members": [
|
|
1562
1563
|
{
|
|
1564
|
+
"kind": "field",
|
|
1565
|
+
"name": "expandmode",
|
|
1563
1566
|
"type": {
|
|
1564
|
-
"text": "
|
|
1567
|
+
"text": "AccordionExpandMode"
|
|
1565
1568
|
},
|
|
1566
|
-
"
|
|
1567
|
-
"description": "
|
|
1568
|
-
"fieldName": "expanded",
|
|
1569
|
+
"privacy": "public",
|
|
1570
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1569
1571
|
"inheritedFrom": {
|
|
1570
|
-
"name": "
|
|
1571
|
-
"module": "src/accordion
|
|
1572
|
+
"name": "Accordion",
|
|
1573
|
+
"module": "src/accordion/accordion.ts"
|
|
1572
1574
|
}
|
|
1573
1575
|
},
|
|
1574
1576
|
{
|
|
1575
|
-
"
|
|
1577
|
+
"kind": "field",
|
|
1578
|
+
"name": "activeid",
|
|
1576
1579
|
"type": {
|
|
1577
|
-
"text": "string"
|
|
1580
|
+
"text": "string | null"
|
|
1578
1581
|
},
|
|
1579
|
-
"
|
|
1580
|
-
"fieldName": "id",
|
|
1582
|
+
"privacy": "private",
|
|
1581
1583
|
"inheritedFrom": {
|
|
1582
|
-
"name": "
|
|
1583
|
-
"module": "src/accordion
|
|
1584
|
+
"name": "Accordion",
|
|
1585
|
+
"module": "src/accordion/accordion.ts"
|
|
1584
1586
|
}
|
|
1585
|
-
}
|
|
1586
|
-
],
|
|
1587
|
-
"members": [
|
|
1587
|
+
},
|
|
1588
1588
|
{
|
|
1589
1589
|
"kind": "field",
|
|
1590
|
-
"name": "
|
|
1590
|
+
"name": "activeItemIndex",
|
|
1591
1591
|
"type": {
|
|
1592
|
-
"text": "
|
|
1592
|
+
"text": "number"
|
|
1593
1593
|
},
|
|
1594
|
-
"privacy": "
|
|
1595
|
-
"default": "
|
|
1596
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1594
|
+
"privacy": "private",
|
|
1595
|
+
"default": "0",
|
|
1597
1596
|
"inheritedFrom": {
|
|
1598
|
-
"name": "
|
|
1599
|
-
"module": "src/accordion
|
|
1597
|
+
"name": "Accordion",
|
|
1598
|
+
"module": "src/accordion/accordion.ts"
|
|
1600
1599
|
}
|
|
1601
1600
|
},
|
|
1602
1601
|
{
|
|
1603
1602
|
"kind": "field",
|
|
1604
|
-
"name": "
|
|
1603
|
+
"name": "accordionIds",
|
|
1605
1604
|
"type": {
|
|
1606
|
-
"text": "
|
|
1605
|
+
"text": "Array<string | null>"
|
|
1607
1606
|
},
|
|
1608
|
-
"privacy": "
|
|
1609
|
-
"default": "false",
|
|
1610
|
-
"description": "Expands or collapses the item.",
|
|
1607
|
+
"privacy": "private",
|
|
1611
1608
|
"inheritedFrom": {
|
|
1612
|
-
"name": "
|
|
1613
|
-
"module": "src/accordion
|
|
1609
|
+
"name": "Accordion",
|
|
1610
|
+
"module": "src/accordion/accordion.ts"
|
|
1614
1611
|
}
|
|
1615
1612
|
},
|
|
1616
1613
|
{
|
|
1617
1614
|
"kind": "field",
|
|
1618
|
-
"name": "
|
|
1619
|
-
"
|
|
1620
|
-
|
|
1615
|
+
"name": "change",
|
|
1616
|
+
"privacy": "private",
|
|
1617
|
+
"inheritedFrom": {
|
|
1618
|
+
"name": "Accordion",
|
|
1619
|
+
"module": "src/accordion/accordion.ts"
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"kind": "method",
|
|
1624
|
+
"name": "findExpandedItem",
|
|
1625
|
+
"privacy": "private",
|
|
1626
|
+
"return": {
|
|
1627
|
+
"type": {
|
|
1628
|
+
"text": "AccordionItem | null"
|
|
1629
|
+
}
|
|
1621
1630
|
},
|
|
1622
|
-
"privacy": "public",
|
|
1623
|
-
"description": "The item ID",
|
|
1624
1631
|
"inheritedFrom": {
|
|
1625
|
-
"name": "
|
|
1626
|
-
"module": "src/accordion
|
|
1632
|
+
"name": "Accordion",
|
|
1633
|
+
"module": "src/accordion/accordion.ts"
|
|
1627
1634
|
}
|
|
1628
1635
|
},
|
|
1629
1636
|
{
|
|
1630
1637
|
"kind": "field",
|
|
1631
|
-
"name": "
|
|
1638
|
+
"name": "setItems",
|
|
1632
1639
|
"privacy": "private",
|
|
1633
1640
|
"inheritedFrom": {
|
|
1634
|
-
"name": "
|
|
1635
|
-
"module": "src/accordion
|
|
1641
|
+
"name": "Accordion",
|
|
1642
|
+
"module": "src/accordion/accordion.ts"
|
|
1643
|
+
}
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"kind": "method",
|
|
1647
|
+
"name": "resetItems",
|
|
1648
|
+
"privacy": "private",
|
|
1649
|
+
"return": {
|
|
1650
|
+
"type": {
|
|
1651
|
+
"text": "void"
|
|
1652
|
+
}
|
|
1653
|
+
},
|
|
1654
|
+
"inheritedFrom": {
|
|
1655
|
+
"name": "Accordion",
|
|
1656
|
+
"module": "src/accordion/accordion.ts"
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"kind": "field",
|
|
1661
|
+
"name": "removeItemListeners",
|
|
1662
|
+
"privacy": "private",
|
|
1663
|
+
"inheritedFrom": {
|
|
1664
|
+
"name": "Accordion",
|
|
1665
|
+
"module": "src/accordion/accordion.ts"
|
|
1666
|
+
}
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
"kind": "field",
|
|
1670
|
+
"name": "activeItemChange",
|
|
1671
|
+
"privacy": "private",
|
|
1672
|
+
"inheritedFrom": {
|
|
1673
|
+
"name": "Accordion",
|
|
1674
|
+
"module": "src/accordion/accordion.ts"
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
"kind": "method",
|
|
1679
|
+
"name": "getItemIds",
|
|
1680
|
+
"privacy": "private",
|
|
1681
|
+
"return": {
|
|
1682
|
+
"type": {
|
|
1683
|
+
"text": "Array<string | null>"
|
|
1684
|
+
}
|
|
1685
|
+
},
|
|
1686
|
+
"inheritedFrom": {
|
|
1687
|
+
"name": "Accordion",
|
|
1688
|
+
"module": "src/accordion/accordion.ts"
|
|
1689
|
+
}
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"kind": "method",
|
|
1693
|
+
"name": "isSingleExpandMode",
|
|
1694
|
+
"privacy": "private",
|
|
1695
|
+
"return": {
|
|
1696
|
+
"type": {
|
|
1697
|
+
"text": "boolean"
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1700
|
+
"inheritedFrom": {
|
|
1701
|
+
"name": "Accordion",
|
|
1702
|
+
"module": "src/accordion/accordion.ts"
|
|
1703
|
+
}
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
"kind": "field",
|
|
1707
|
+
"name": "handleItemKeyDown",
|
|
1708
|
+
"privacy": "private",
|
|
1709
|
+
"inheritedFrom": {
|
|
1710
|
+
"name": "Accordion",
|
|
1711
|
+
"module": "src/accordion/accordion.ts"
|
|
1712
|
+
}
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
"kind": "field",
|
|
1716
|
+
"name": "handleItemFocus",
|
|
1717
|
+
"privacy": "private",
|
|
1718
|
+
"inheritedFrom": {
|
|
1719
|
+
"name": "Accordion",
|
|
1720
|
+
"module": "src/accordion/accordion.ts"
|
|
1721
|
+
}
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"kind": "method",
|
|
1725
|
+
"name": "adjust",
|
|
1726
|
+
"privacy": "private",
|
|
1727
|
+
"return": {
|
|
1728
|
+
"type": {
|
|
1729
|
+
"text": "void"
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1732
|
+
"parameters": [
|
|
1733
|
+
{
|
|
1734
|
+
"name": "adjustment",
|
|
1735
|
+
"type": {
|
|
1736
|
+
"text": "number"
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
],
|
|
1740
|
+
"inheritedFrom": {
|
|
1741
|
+
"name": "Accordion",
|
|
1742
|
+
"module": "src/accordion/accordion.ts"
|
|
1743
|
+
}
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"kind": "method",
|
|
1747
|
+
"name": "focusItem",
|
|
1748
|
+
"privacy": "private",
|
|
1749
|
+
"return": {
|
|
1750
|
+
"type": {
|
|
1751
|
+
"text": "void"
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1754
|
+
"inheritedFrom": {
|
|
1755
|
+
"name": "Accordion",
|
|
1756
|
+
"module": "src/accordion/accordion.ts"
|
|
1636
1757
|
}
|
|
1637
1758
|
},
|
|
1638
1759
|
{
|
|
@@ -1749,18 +1870,18 @@
|
|
|
1749
1870
|
],
|
|
1750
1871
|
"events": [
|
|
1751
1872
|
{
|
|
1752
|
-
"description": "Fires a custom 'change' event when the
|
|
1873
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1753
1874
|
"name": "change",
|
|
1754
1875
|
"inheritedFrom": {
|
|
1755
|
-
"name": "
|
|
1756
|
-
"module": "src/accordion
|
|
1876
|
+
"name": "Accordion",
|
|
1877
|
+
"module": "src/accordion/accordion.ts"
|
|
1757
1878
|
}
|
|
1758
1879
|
}
|
|
1759
1880
|
]
|
|
1760
1881
|
},
|
|
1761
1882
|
{
|
|
1762
1883
|
"kind": "variable",
|
|
1763
|
-
"name": "
|
|
1884
|
+
"name": "foundationAccordionShadowOptions",
|
|
1764
1885
|
"type": {
|
|
1765
1886
|
"text": "ShadowRootInit"
|
|
1766
1887
|
},
|
|
@@ -1768,57 +1889,57 @@
|
|
|
1768
1889
|
},
|
|
1769
1890
|
{
|
|
1770
1891
|
"kind": "variable",
|
|
1771
|
-
"name": "
|
|
1892
|
+
"name": "defaultAccordionConfig",
|
|
1772
1893
|
"type": {
|
|
1773
1894
|
"text": "object"
|
|
1774
1895
|
},
|
|
1775
|
-
"default": "{
|
|
1896
|
+
"default": "{}"
|
|
1776
1897
|
},
|
|
1777
1898
|
{
|
|
1778
1899
|
"kind": "variable",
|
|
1779
|
-
"name": "
|
|
1780
|
-
"description": "The Foundation Accordion
|
|
1900
|
+
"name": "foundationAccordion",
|
|
1901
|
+
"description": "The Foundation Accordion",
|
|
1781
1902
|
"privacy": "public"
|
|
1782
1903
|
}
|
|
1783
1904
|
],
|
|
1784
1905
|
"exports": [
|
|
1785
1906
|
{
|
|
1786
1907
|
"kind": "js",
|
|
1787
|
-
"name": "
|
|
1908
|
+
"name": "Accordion",
|
|
1788
1909
|
"declaration": {
|
|
1789
|
-
"name": "
|
|
1790
|
-
"module": "src/accordion
|
|
1910
|
+
"name": "Accordion",
|
|
1911
|
+
"module": "src/accordion/accordion.ts"
|
|
1791
1912
|
}
|
|
1792
1913
|
},
|
|
1793
1914
|
{
|
|
1794
1915
|
"kind": "js",
|
|
1795
|
-
"name": "
|
|
1916
|
+
"name": "foundationAccordionShadowOptions",
|
|
1796
1917
|
"declaration": {
|
|
1797
|
-
"name": "
|
|
1798
|
-
"module": "src/accordion
|
|
1918
|
+
"name": "foundationAccordionShadowOptions",
|
|
1919
|
+
"module": "src/accordion/accordion.ts"
|
|
1799
1920
|
}
|
|
1800
1921
|
},
|
|
1801
1922
|
{
|
|
1802
1923
|
"kind": "js",
|
|
1803
|
-
"name": "
|
|
1924
|
+
"name": "defaultAccordionConfig",
|
|
1804
1925
|
"declaration": {
|
|
1805
|
-
"name": "
|
|
1806
|
-
"module": "src/accordion
|
|
1926
|
+
"name": "defaultAccordionConfig",
|
|
1927
|
+
"module": "src/accordion/accordion.ts"
|
|
1807
1928
|
}
|
|
1808
1929
|
},
|
|
1809
1930
|
{
|
|
1810
1931
|
"kind": "js",
|
|
1811
|
-
"name": "
|
|
1932
|
+
"name": "foundationAccordion",
|
|
1812
1933
|
"declaration": {
|
|
1813
|
-
"name": "
|
|
1814
|
-
"module": "src/accordion
|
|
1934
|
+
"name": "foundationAccordion",
|
|
1935
|
+
"module": "src/accordion/accordion.ts"
|
|
1815
1936
|
}
|
|
1816
1937
|
}
|
|
1817
1938
|
]
|
|
1818
1939
|
},
|
|
1819
1940
|
{
|
|
1820
1941
|
"kind": "javascript-module",
|
|
1821
|
-
"path": "src/accordion
|
|
1942
|
+
"path": "src/accordion/index.ts",
|
|
1822
1943
|
"declarations": [],
|
|
1823
1944
|
"exports": [
|
|
1824
1945
|
{
|
|
@@ -1826,7 +1947,7 @@
|
|
|
1826
1947
|
"name": "*",
|
|
1827
1948
|
"declaration": {
|
|
1828
1949
|
"name": "*",
|
|
1829
|
-
"package": "./accordion
|
|
1950
|
+
"package": "./accordion.template"
|
|
1830
1951
|
}
|
|
1831
1952
|
},
|
|
1832
1953
|
{
|
|
@@ -1834,7 +1955,7 @@
|
|
|
1834
1955
|
"name": "*",
|
|
1835
1956
|
"declaration": {
|
|
1836
1957
|
"name": "*",
|
|
1837
|
-
"package": "./accordion
|
|
1958
|
+
"package": "./accordion.styles"
|
|
1838
1959
|
}
|
|
1839
1960
|
},
|
|
1840
1961
|
{
|
|
@@ -1842,41 +1963,18 @@
|
|
|
1842
1963
|
"name": "*",
|
|
1843
1964
|
"declaration": {
|
|
1844
1965
|
"name": "*",
|
|
1845
|
-
"package": "./accordion
|
|
1966
|
+
"package": "./accordion"
|
|
1846
1967
|
}
|
|
1847
1968
|
}
|
|
1848
1969
|
]
|
|
1849
1970
|
},
|
|
1850
1971
|
{
|
|
1851
1972
|
"kind": "javascript-module",
|
|
1852
|
-
"path": "src/
|
|
1973
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1853
1974
|
"declarations": [
|
|
1854
1975
|
{
|
|
1855
1976
|
"kind": "function",
|
|
1856
|
-
"name": "
|
|
1857
|
-
"return": {
|
|
1858
|
-
"type": {
|
|
1859
|
-
"text": "ElementStyles"
|
|
1860
|
-
}
|
|
1861
|
-
},
|
|
1862
|
-
"parameters": [
|
|
1863
|
-
{
|
|
1864
|
-
"name": "context",
|
|
1865
|
-
"type": {
|
|
1866
|
-
"text": "ElementDefinitionContext"
|
|
1867
|
-
}
|
|
1868
|
-
},
|
|
1869
|
-
{
|
|
1870
|
-
"name": "definition",
|
|
1871
|
-
"type": {
|
|
1872
|
-
"text": "FoundationElementDefinition"
|
|
1873
|
-
}
|
|
1874
|
-
}
|
|
1875
|
-
]
|
|
1876
|
-
},
|
|
1877
|
-
{
|
|
1878
|
-
"kind": "function",
|
|
1879
|
-
"name": "foundationActionsMenuStyles",
|
|
1977
|
+
"name": "foundationAccordionItemStyles",
|
|
1880
1978
|
"return": {
|
|
1881
1979
|
"type": {
|
|
1882
1980
|
"text": "ElementStyles"
|
|
@@ -1901,319 +1999,194 @@
|
|
|
1901
1999
|
"exports": [
|
|
1902
2000
|
{
|
|
1903
2001
|
"kind": "js",
|
|
1904
|
-
"name": "
|
|
1905
|
-
"declaration": {
|
|
1906
|
-
"name": "actionsMenuBaseStyles",
|
|
1907
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1908
|
-
}
|
|
1909
|
-
},
|
|
1910
|
-
{
|
|
1911
|
-
"kind": "js",
|
|
1912
|
-
"name": "foundationActionsMenuStyles",
|
|
2002
|
+
"name": "foundationAccordionItemStyles",
|
|
1913
2003
|
"declaration": {
|
|
1914
|
-
"name": "
|
|
1915
|
-
"module": "src/
|
|
2004
|
+
"name": "foundationAccordionItemStyles",
|
|
2005
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1916
2006
|
}
|
|
1917
2007
|
}
|
|
1918
2008
|
]
|
|
1919
2009
|
},
|
|
1920
2010
|
{
|
|
1921
2011
|
"kind": "javascript-module",
|
|
1922
|
-
"path": "src/
|
|
2012
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1923
2013
|
"declarations": [
|
|
1924
2014
|
{
|
|
1925
2015
|
"kind": "function",
|
|
1926
|
-
"name": "
|
|
2016
|
+
"name": "foundationAccordionItemTemplate",
|
|
2017
|
+
"return": {
|
|
2018
|
+
"type": {
|
|
2019
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2020
|
+
}
|
|
2021
|
+
},
|
|
1927
2022
|
"parameters": [
|
|
1928
2023
|
{
|
|
1929
|
-
"name": "
|
|
2024
|
+
"name": "context",
|
|
1930
2025
|
"type": {
|
|
1931
|
-
"text": "
|
|
2026
|
+
"text": "ElementDefinitionContext"
|
|
1932
2027
|
}
|
|
1933
|
-
}
|
|
1934
|
-
]
|
|
1935
|
-
},
|
|
1936
|
-
{
|
|
1937
|
-
"kind": "function",
|
|
1938
|
-
"name": "singleOptionTemplate",
|
|
1939
|
-
"parameters": [
|
|
2028
|
+
},
|
|
1940
2029
|
{
|
|
1941
|
-
"name": "
|
|
2030
|
+
"name": "definition",
|
|
1942
2031
|
"type": {
|
|
1943
|
-
"text": "
|
|
2032
|
+
"text": "FoundationElementDefinition"
|
|
1944
2033
|
}
|
|
1945
2034
|
}
|
|
1946
2035
|
]
|
|
1947
|
-
},
|
|
1948
|
-
{
|
|
1949
|
-
"kind": "variable",
|
|
1950
|
-
"name": "foundationActionsMenuTemplate",
|
|
1951
|
-
"type": {
|
|
1952
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1953
|
-
},
|
|
1954
|
-
"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`"
|
|
1955
2036
|
}
|
|
1956
2037
|
],
|
|
1957
2038
|
"exports": [
|
|
1958
2039
|
{
|
|
1959
2040
|
"kind": "js",
|
|
1960
|
-
"name": "
|
|
1961
|
-
"declaration": {
|
|
1962
|
-
"name": "menuTemplate",
|
|
1963
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1964
|
-
}
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
"kind": "js",
|
|
1968
|
-
"name": "singleOptionTemplate",
|
|
1969
|
-
"declaration": {
|
|
1970
|
-
"name": "singleOptionTemplate",
|
|
1971
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1972
|
-
}
|
|
1973
|
-
},
|
|
1974
|
-
{
|
|
1975
|
-
"kind": "js",
|
|
1976
|
-
"name": "foundationActionsMenuTemplate",
|
|
2041
|
+
"name": "foundationAccordionItemTemplate",
|
|
1977
2042
|
"declaration": {
|
|
1978
|
-
"name": "
|
|
1979
|
-
"module": "src/
|
|
2043
|
+
"name": "foundationAccordionItemTemplate",
|
|
2044
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1980
2045
|
}
|
|
1981
2046
|
}
|
|
1982
2047
|
]
|
|
1983
2048
|
},
|
|
1984
2049
|
{
|
|
1985
2050
|
"kind": "javascript-module",
|
|
1986
|
-
"path": "src/
|
|
2051
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1987
2052
|
"declarations": [
|
|
1988
2053
|
{
|
|
1989
2054
|
"kind": "class",
|
|
1990
2055
|
"description": "",
|
|
1991
|
-
"name": "
|
|
1992
|
-
"
|
|
2056
|
+
"name": "AccordionItem",
|
|
2057
|
+
"superclass": {
|
|
2058
|
+
"name": "FASTAccordionItem",
|
|
2059
|
+
"package": "@microsoft/fast-components"
|
|
2060
|
+
},
|
|
2061
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2062
|
+
"customElement": true,
|
|
2063
|
+
"attributes": [
|
|
1993
2064
|
{
|
|
1994
|
-
"
|
|
1995
|
-
"name": "actions",
|
|
2065
|
+
"name": "heading-level",
|
|
1996
2066
|
"type": {
|
|
1997
|
-
"text": "
|
|
2067
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2068
|
+
},
|
|
2069
|
+
"default": "2",
|
|
2070
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2071
|
+
"fieldName": "headinglevel",
|
|
2072
|
+
"inheritedFrom": {
|
|
2073
|
+
"name": "AccordionItem",
|
|
2074
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1998
2075
|
}
|
|
1999
2076
|
},
|
|
2000
2077
|
{
|
|
2001
|
-
"kind": "field",
|
|
2002
|
-
"name": "isVertical",
|
|
2003
2078
|
"type": {
|
|
2004
2079
|
"text": "boolean"
|
|
2005
2080
|
},
|
|
2006
|
-
"default": "false"
|
|
2081
|
+
"default": "false",
|
|
2082
|
+
"description": "Expands or collapses the item.",
|
|
2083
|
+
"fieldName": "expanded",
|
|
2084
|
+
"inheritedFrom": {
|
|
2085
|
+
"name": "AccordionItem",
|
|
2086
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2087
|
+
}
|
|
2007
2088
|
},
|
|
2089
|
+
{
|
|
2090
|
+
"name": "id",
|
|
2091
|
+
"type": {
|
|
2092
|
+
"text": "string"
|
|
2093
|
+
},
|
|
2094
|
+
"description": "The item ID",
|
|
2095
|
+
"fieldName": "id",
|
|
2096
|
+
"inheritedFrom": {
|
|
2097
|
+
"name": "AccordionItem",
|
|
2098
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2099
|
+
}
|
|
2100
|
+
}
|
|
2101
|
+
],
|
|
2102
|
+
"members": [
|
|
2008
2103
|
{
|
|
2009
2104
|
"kind": "field",
|
|
2010
|
-
"name": "
|
|
2105
|
+
"name": "headinglevel",
|
|
2011
2106
|
"type": {
|
|
2012
|
-
"text": "
|
|
2107
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2013
2108
|
},
|
|
2014
|
-
"
|
|
2109
|
+
"privacy": "public",
|
|
2110
|
+
"default": "2",
|
|
2111
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2112
|
+
"inheritedFrom": {
|
|
2113
|
+
"name": "AccordionItem",
|
|
2114
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2115
|
+
}
|
|
2015
2116
|
},
|
|
2016
2117
|
{
|
|
2017
2118
|
"kind": "field",
|
|
2018
|
-
"name": "
|
|
2119
|
+
"name": "expanded",
|
|
2019
2120
|
"type": {
|
|
2020
2121
|
"text": "boolean"
|
|
2021
2122
|
},
|
|
2022
|
-
"
|
|
2123
|
+
"privacy": "public",
|
|
2124
|
+
"default": "false",
|
|
2125
|
+
"description": "Expands or collapses the item.",
|
|
2126
|
+
"inheritedFrom": {
|
|
2127
|
+
"name": "AccordionItem",
|
|
2128
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2129
|
+
}
|
|
2023
2130
|
},
|
|
2024
2131
|
{
|
|
2025
2132
|
"kind": "field",
|
|
2026
|
-
"name": "
|
|
2133
|
+
"name": "id",
|
|
2027
2134
|
"type": {
|
|
2028
2135
|
"text": "string"
|
|
2136
|
+
},
|
|
2137
|
+
"privacy": "public",
|
|
2138
|
+
"description": "The item ID",
|
|
2139
|
+
"inheritedFrom": {
|
|
2140
|
+
"name": "AccordionItem",
|
|
2141
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2029
2142
|
}
|
|
2030
2143
|
},
|
|
2031
2144
|
{
|
|
2032
2145
|
"kind": "field",
|
|
2033
|
-
"name": "
|
|
2034
|
-
"
|
|
2035
|
-
|
|
2146
|
+
"name": "change",
|
|
2147
|
+
"privacy": "private",
|
|
2148
|
+
"inheritedFrom": {
|
|
2149
|
+
"name": "AccordionItem",
|
|
2150
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2036
2151
|
}
|
|
2037
2152
|
},
|
|
2038
2153
|
{
|
|
2039
2154
|
"kind": "field",
|
|
2040
|
-
"name": "
|
|
2155
|
+
"name": "_presentation",
|
|
2041
2156
|
"type": {
|
|
2042
|
-
"text": "
|
|
2157
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2043
2158
|
},
|
|
2044
|
-
"
|
|
2159
|
+
"privacy": "private",
|
|
2160
|
+
"default": "void 0",
|
|
2161
|
+
"inheritedFrom": {
|
|
2162
|
+
"name": "FoundationElement",
|
|
2163
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2164
|
+
}
|
|
2045
2165
|
},
|
|
2046
2166
|
{
|
|
2047
2167
|
"kind": "field",
|
|
2048
|
-
"name": "
|
|
2168
|
+
"name": "$presentation",
|
|
2049
2169
|
"type": {
|
|
2050
|
-
"text": "
|
|
2170
|
+
"text": "ComponentPresentation | null"
|
|
2051
2171
|
},
|
|
2052
|
-
"
|
|
2172
|
+
"privacy": "public",
|
|
2173
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2174
|
+
"inheritedFrom": {
|
|
2175
|
+
"name": "FoundationElement",
|
|
2176
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2177
|
+
}
|
|
2053
2178
|
},
|
|
2054
2179
|
{
|
|
2055
2180
|
"kind": "field",
|
|
2056
|
-
"name": "
|
|
2181
|
+
"name": "template",
|
|
2057
2182
|
"type": {
|
|
2058
|
-
"text": "
|
|
2059
|
-
}
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
"
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
"text": "boolean"
|
|
2066
|
-
},
|
|
2067
|
-
"default": "false"
|
|
2068
|
-
},
|
|
2069
|
-
{
|
|
2070
|
-
"kind": "field",
|
|
2071
|
-
"name": "hideMenuSingleOption",
|
|
2072
|
-
"type": {
|
|
2073
|
-
"text": "boolean"
|
|
2074
|
-
},
|
|
2075
|
-
"default": "false"
|
|
2076
|
-
},
|
|
2077
|
-
{
|
|
2078
|
-
"kind": "field",
|
|
2079
|
-
"name": "singleOption",
|
|
2080
|
-
"type": {
|
|
2081
|
-
"text": "ActionMenuItem"
|
|
2082
|
-
}
|
|
2083
|
-
},
|
|
2084
|
-
{
|
|
2085
|
-
"kind": "field",
|
|
2086
|
-
"name": "actionsMenu",
|
|
2087
|
-
"type": {
|
|
2088
|
-
"text": "HTMLElement"
|
|
2089
|
-
}
|
|
2090
|
-
},
|
|
2091
|
-
{
|
|
2092
|
-
"kind": "field",
|
|
2093
|
-
"name": "actionsOpener",
|
|
2094
|
-
"type": {
|
|
2095
|
-
"text": "HTMLElement"
|
|
2096
|
-
}
|
|
2097
|
-
},
|
|
2098
|
-
{
|
|
2099
|
-
"kind": "method",
|
|
2100
|
-
"name": "updateMenuPosition",
|
|
2101
|
-
"privacy": "private"
|
|
2102
|
-
},
|
|
2103
|
-
{
|
|
2104
|
-
"kind": "method",
|
|
2105
|
-
"name": "definitionChanged",
|
|
2106
|
-
"privacy": "protected",
|
|
2107
|
-
"parameters": [
|
|
2108
|
-
{
|
|
2109
|
-
"name": "oldValue",
|
|
2110
|
-
"type": {
|
|
2111
|
-
"text": "any"
|
|
2112
|
-
}
|
|
2113
|
-
},
|
|
2114
|
-
{
|
|
2115
|
-
"name": "newValue",
|
|
2116
|
-
"type": {
|
|
2117
|
-
"text": "any"
|
|
2118
|
-
}
|
|
2119
|
-
}
|
|
2120
|
-
]
|
|
2121
|
-
},
|
|
2122
|
-
{
|
|
2123
|
-
"kind": "method",
|
|
2124
|
-
"name": "openChanged",
|
|
2125
|
-
"privacy": "protected"
|
|
2126
|
-
},
|
|
2127
|
-
{
|
|
2128
|
-
"kind": "method",
|
|
2129
|
-
"name": "toggleActionsMenuVisibility"
|
|
2130
|
-
},
|
|
2131
|
-
{
|
|
2132
|
-
"kind": "method",
|
|
2133
|
-
"name": "onActionMenuItemClick",
|
|
2134
|
-
"parameters": [
|
|
2135
|
-
{
|
|
2136
|
-
"name": "callback",
|
|
2137
|
-
"type": {
|
|
2138
|
-
"text": "(rowData) => void | any"
|
|
2139
|
-
}
|
|
2140
|
-
}
|
|
2141
|
-
]
|
|
2142
|
-
},
|
|
2143
|
-
{
|
|
2144
|
-
"kind": "field",
|
|
2145
|
-
"name": "allActions",
|
|
2146
|
-
"type": {
|
|
2147
|
-
"text": "ActionMenuItem[]"
|
|
2148
|
-
},
|
|
2149
|
-
"readonly": true
|
|
2150
|
-
},
|
|
2151
|
-
{
|
|
2152
|
-
"kind": "field",
|
|
2153
|
-
"name": "rowData",
|
|
2154
|
-
"readonly": true
|
|
2155
|
-
},
|
|
2156
|
-
{
|
|
2157
|
-
"kind": "method",
|
|
2158
|
-
"name": "getLabel",
|
|
2159
|
-
"parameters": [
|
|
2160
|
-
{
|
|
2161
|
-
"name": "name",
|
|
2162
|
-
"type": {
|
|
2163
|
-
"text": "string | ((rowData: any) => string)"
|
|
2164
|
-
}
|
|
2165
|
-
}
|
|
2166
|
-
]
|
|
2167
|
-
},
|
|
2168
|
-
{
|
|
2169
|
-
"kind": "method",
|
|
2170
|
-
"name": "getTemplate",
|
|
2171
|
-
"parameters": [
|
|
2172
|
-
{
|
|
2173
|
-
"name": "prefix",
|
|
2174
|
-
"type": {
|
|
2175
|
-
"text": "string"
|
|
2176
|
-
}
|
|
2177
|
-
}
|
|
2178
|
-
]
|
|
2179
|
-
},
|
|
2180
|
-
{
|
|
2181
|
-
"kind": "field",
|
|
2182
|
-
"name": "_presentation",
|
|
2183
|
-
"type": {
|
|
2184
|
-
"text": "ComponentPresentation | null | undefined"
|
|
2185
|
-
},
|
|
2186
|
-
"privacy": "private",
|
|
2187
|
-
"default": "void 0",
|
|
2188
|
-
"inheritedFrom": {
|
|
2189
|
-
"name": "FoundationElement",
|
|
2190
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2191
|
-
}
|
|
2192
|
-
},
|
|
2193
|
-
{
|
|
2194
|
-
"kind": "field",
|
|
2195
|
-
"name": "$presentation",
|
|
2196
|
-
"type": {
|
|
2197
|
-
"text": "ComponentPresentation | null"
|
|
2198
|
-
},
|
|
2199
|
-
"privacy": "public",
|
|
2200
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2201
|
-
"inheritedFrom": {
|
|
2202
|
-
"name": "FoundationElement",
|
|
2203
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2204
|
-
}
|
|
2205
|
-
},
|
|
2206
|
-
{
|
|
2207
|
-
"kind": "field",
|
|
2208
|
-
"name": "template",
|
|
2209
|
-
"type": {
|
|
2210
|
-
"text": "ElementViewTemplate | void | null"
|
|
2211
|
-
},
|
|
2212
|
-
"privacy": "public",
|
|
2213
|
-
"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.",
|
|
2214
|
-
"inheritedFrom": {
|
|
2215
|
-
"name": "FoundationElement",
|
|
2216
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2183
|
+
"text": "ElementViewTemplate | void | null"
|
|
2184
|
+
},
|
|
2185
|
+
"privacy": "public",
|
|
2186
|
+
"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.",
|
|
2187
|
+
"inheritedFrom": {
|
|
2188
|
+
"name": "FoundationElement",
|
|
2189
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2217
2190
|
}
|
|
2218
2191
|
},
|
|
2219
2192
|
{
|
|
@@ -2289,107 +2262,78 @@
|
|
|
2289
2262
|
}
|
|
2290
2263
|
}
|
|
2291
2264
|
],
|
|
2292
|
-
"
|
|
2293
|
-
{
|
|
2294
|
-
"name": "is-vertical",
|
|
2295
|
-
"type": {
|
|
2296
|
-
"text": "boolean"
|
|
2297
|
-
},
|
|
2298
|
-
"default": "false",
|
|
2299
|
-
"fieldName": "isVertical"
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
"name": "add-default-actions",
|
|
2303
|
-
"type": {
|
|
2304
|
-
"text": "boolean"
|
|
2305
|
-
},
|
|
2306
|
-
"default": "true",
|
|
2307
|
-
"fieldName": "addDefaultActions"
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
"name": "auto-close-on-action",
|
|
2311
|
-
"type": {
|
|
2312
|
-
"text": "boolean"
|
|
2313
|
-
},
|
|
2314
|
-
"default": "true",
|
|
2315
|
-
"fieldName": "autoCloseOnAction"
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
"name": "name",
|
|
2319
|
-
"type": {
|
|
2320
|
-
"text": "string"
|
|
2321
|
-
},
|
|
2322
|
-
"default": "'Actions'",
|
|
2323
|
-
"fieldName": "name"
|
|
2324
|
-
},
|
|
2325
|
-
{
|
|
2326
|
-
"name": "open",
|
|
2327
|
-
"type": {
|
|
2328
|
-
"text": "boolean"
|
|
2329
|
-
},
|
|
2330
|
-
"default": "false",
|
|
2331
|
-
"fieldName": "open"
|
|
2332
|
-
},
|
|
2333
|
-
{
|
|
2334
|
-
"name": "buttonAppearance",
|
|
2335
|
-
"type": {
|
|
2336
|
-
"text": "string"
|
|
2337
|
-
},
|
|
2338
|
-
"fieldName": "buttonAppearance"
|
|
2339
|
-
},
|
|
2340
|
-
{
|
|
2341
|
-
"name": "hide-disabled",
|
|
2342
|
-
"type": {
|
|
2343
|
-
"text": "boolean"
|
|
2344
|
-
},
|
|
2345
|
-
"default": "false",
|
|
2346
|
-
"fieldName": "hideDisabled"
|
|
2347
|
-
},
|
|
2265
|
+
"events": [
|
|
2348
2266
|
{
|
|
2349
|
-
"
|
|
2350
|
-
"
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2267
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2268
|
+
"name": "change",
|
|
2269
|
+
"inheritedFrom": {
|
|
2270
|
+
"name": "AccordionItem",
|
|
2271
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2272
|
+
}
|
|
2355
2273
|
}
|
|
2356
|
-
]
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2274
|
+
]
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"kind": "variable",
|
|
2278
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2279
|
+
"type": {
|
|
2280
|
+
"text": "ShadowRootInit"
|
|
2360
2281
|
},
|
|
2361
|
-
"
|
|
2362
|
-
"customElement": true
|
|
2282
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2363
2283
|
},
|
|
2364
2284
|
{
|
|
2365
2285
|
"kind": "variable",
|
|
2366
|
-
"name": "
|
|
2367
|
-
"
|
|
2286
|
+
"name": "defaultAccordionItemConfig",
|
|
2287
|
+
"type": {
|
|
2288
|
+
"text": "object"
|
|
2289
|
+
},
|
|
2290
|
+
"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}"
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"kind": "variable",
|
|
2294
|
+
"name": "foundationAccordionItem",
|
|
2295
|
+
"description": "The Foundation Accordion Item",
|
|
2368
2296
|
"privacy": "public"
|
|
2369
2297
|
}
|
|
2370
2298
|
],
|
|
2371
2299
|
"exports": [
|
|
2372
2300
|
{
|
|
2373
2301
|
"kind": "js",
|
|
2374
|
-
"name": "
|
|
2302
|
+
"name": "AccordionItem",
|
|
2375
2303
|
"declaration": {
|
|
2376
|
-
"name": "
|
|
2377
|
-
"module": "src/
|
|
2304
|
+
"name": "AccordionItem",
|
|
2305
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2306
|
+
}
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
"kind": "js",
|
|
2310
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2311
|
+
"declaration": {
|
|
2312
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2313
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"kind": "js",
|
|
2318
|
+
"name": "defaultAccordionItemConfig",
|
|
2319
|
+
"declaration": {
|
|
2320
|
+
"name": "defaultAccordionItemConfig",
|
|
2321
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2378
2322
|
}
|
|
2379
2323
|
},
|
|
2380
2324
|
{
|
|
2381
2325
|
"kind": "js",
|
|
2382
|
-
"name": "
|
|
2326
|
+
"name": "foundationAccordionItem",
|
|
2383
2327
|
"declaration": {
|
|
2384
|
-
"name": "
|
|
2385
|
-
"module": "src/
|
|
2328
|
+
"name": "foundationAccordionItem",
|
|
2329
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2386
2330
|
}
|
|
2387
2331
|
}
|
|
2388
2332
|
]
|
|
2389
2333
|
},
|
|
2390
2334
|
{
|
|
2391
2335
|
"kind": "javascript-module",
|
|
2392
|
-
"path": "src/
|
|
2336
|
+
"path": "src/accordion-item/index.ts",
|
|
2393
2337
|
"declarations": [],
|
|
2394
2338
|
"exports": [
|
|
2395
2339
|
{
|
|
@@ -2397,7 +2341,7 @@
|
|
|
2397
2341
|
"name": "*",
|
|
2398
2342
|
"declaration": {
|
|
2399
2343
|
"name": "*",
|
|
2400
|
-
"package": "./
|
|
2344
|
+
"package": "./accordion-item.template"
|
|
2401
2345
|
}
|
|
2402
2346
|
},
|
|
2403
2347
|
{
|
|
@@ -2405,7 +2349,7 @@
|
|
|
2405
2349
|
"name": "*",
|
|
2406
2350
|
"declaration": {
|
|
2407
2351
|
"name": "*",
|
|
2408
|
-
"package": "./
|
|
2352
|
+
"package": "./accordion-item.styles"
|
|
2409
2353
|
}
|
|
2410
2354
|
},
|
|
2411
2355
|
{
|
|
@@ -2413,18 +2357,41 @@
|
|
|
2413
2357
|
"name": "*",
|
|
2414
2358
|
"declaration": {
|
|
2415
2359
|
"name": "*",
|
|
2416
|
-
"package": "./
|
|
2360
|
+
"package": "./accordion-item"
|
|
2417
2361
|
}
|
|
2418
2362
|
}
|
|
2419
2363
|
]
|
|
2420
2364
|
},
|
|
2421
2365
|
{
|
|
2422
2366
|
"kind": "javascript-module",
|
|
2423
|
-
"path": "src/
|
|
2367
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2424
2368
|
"declarations": [
|
|
2425
2369
|
{
|
|
2426
2370
|
"kind": "function",
|
|
2427
|
-
"name": "
|
|
2371
|
+
"name": "actionsMenuBaseStyles",
|
|
2372
|
+
"return": {
|
|
2373
|
+
"type": {
|
|
2374
|
+
"text": "ElementStyles"
|
|
2375
|
+
}
|
|
2376
|
+
},
|
|
2377
|
+
"parameters": [
|
|
2378
|
+
{
|
|
2379
|
+
"name": "context",
|
|
2380
|
+
"type": {
|
|
2381
|
+
"text": "ElementDefinitionContext"
|
|
2382
|
+
}
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
"name": "definition",
|
|
2386
|
+
"type": {
|
|
2387
|
+
"text": "FoundationElementDefinition"
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
]
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
"kind": "function",
|
|
2394
|
+
"name": "foundationActionsMenuStyles",
|
|
2428
2395
|
"return": {
|
|
2429
2396
|
"type": {
|
|
2430
2397
|
"text": "ElementStyles"
|
|
@@ -2449,277 +2416,281 @@
|
|
|
2449
2416
|
"exports": [
|
|
2450
2417
|
{
|
|
2451
2418
|
"kind": "js",
|
|
2452
|
-
"name": "
|
|
2419
|
+
"name": "actionsMenuBaseStyles",
|
|
2453
2420
|
"declaration": {
|
|
2454
|
-
"name": "
|
|
2455
|
-
"module": "src/
|
|
2421
|
+
"name": "actionsMenuBaseStyles",
|
|
2422
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2423
|
+
}
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"kind": "js",
|
|
2427
|
+
"name": "foundationActionsMenuStyles",
|
|
2428
|
+
"declaration": {
|
|
2429
|
+
"name": "foundationActionsMenuStyles",
|
|
2430
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2456
2431
|
}
|
|
2457
2432
|
}
|
|
2458
2433
|
]
|
|
2459
2434
|
},
|
|
2460
2435
|
{
|
|
2461
2436
|
"kind": "javascript-module",
|
|
2462
|
-
"path": "src/
|
|
2437
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2463
2438
|
"declarations": [
|
|
2464
2439
|
{
|
|
2465
2440
|
"kind": "function",
|
|
2466
|
-
"name": "
|
|
2467
|
-
"return": {
|
|
2468
|
-
"type": {
|
|
2469
|
-
"text": "ViewTemplate<Accordion>"
|
|
2470
|
-
}
|
|
2471
|
-
},
|
|
2441
|
+
"name": "menuTemplate",
|
|
2472
2442
|
"parameters": [
|
|
2473
2443
|
{
|
|
2474
|
-
"name": "
|
|
2444
|
+
"name": "prefix",
|
|
2475
2445
|
"type": {
|
|
2476
|
-
"text": "
|
|
2446
|
+
"text": "string"
|
|
2477
2447
|
}
|
|
2478
|
-
}
|
|
2448
|
+
}
|
|
2449
|
+
]
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
"kind": "function",
|
|
2453
|
+
"name": "singleOptionTemplate",
|
|
2454
|
+
"parameters": [
|
|
2479
2455
|
{
|
|
2480
|
-
"name": "
|
|
2456
|
+
"name": "prefix",
|
|
2481
2457
|
"type": {
|
|
2482
|
-
"text": "
|
|
2458
|
+
"text": "string"
|
|
2483
2459
|
}
|
|
2484
2460
|
}
|
|
2485
2461
|
]
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
"kind": "variable",
|
|
2465
|
+
"name": "foundationActionsMenuTemplate",
|
|
2466
|
+
"type": {
|
|
2467
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2468
|
+
},
|
|
2469
|
+
"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`"
|
|
2486
2470
|
}
|
|
2487
2471
|
],
|
|
2488
2472
|
"exports": [
|
|
2489
2473
|
{
|
|
2490
2474
|
"kind": "js",
|
|
2491
|
-
"name": "
|
|
2475
|
+
"name": "menuTemplate",
|
|
2492
2476
|
"declaration": {
|
|
2493
|
-
"name": "
|
|
2494
|
-
"module": "src/
|
|
2477
|
+
"name": "menuTemplate",
|
|
2478
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2479
|
+
}
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"kind": "js",
|
|
2483
|
+
"name": "singleOptionTemplate",
|
|
2484
|
+
"declaration": {
|
|
2485
|
+
"name": "singleOptionTemplate",
|
|
2486
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2487
|
+
}
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
"kind": "js",
|
|
2491
|
+
"name": "foundationActionsMenuTemplate",
|
|
2492
|
+
"declaration": {
|
|
2493
|
+
"name": "foundationActionsMenuTemplate",
|
|
2494
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2495
2495
|
}
|
|
2496
2496
|
}
|
|
2497
2497
|
]
|
|
2498
2498
|
},
|
|
2499
2499
|
{
|
|
2500
2500
|
"kind": "javascript-module",
|
|
2501
|
-
"path": "src/
|
|
2501
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2502
2502
|
"declarations": [
|
|
2503
2503
|
{
|
|
2504
2504
|
"kind": "class",
|
|
2505
2505
|
"description": "",
|
|
2506
|
-
"name": "
|
|
2507
|
-
"
|
|
2508
|
-
"name": "FASTAccordion",
|
|
2509
|
-
"package": "@microsoft/fast-foundation"
|
|
2510
|
-
},
|
|
2511
|
-
"tagName": "%%prefix%%-accordion",
|
|
2512
|
-
"customElement": true,
|
|
2513
|
-
"attributes": [
|
|
2506
|
+
"name": "ActionsMenu",
|
|
2507
|
+
"members": [
|
|
2514
2508
|
{
|
|
2515
|
-
"
|
|
2509
|
+
"kind": "field",
|
|
2510
|
+
"name": "actions",
|
|
2516
2511
|
"type": {
|
|
2517
|
-
"text": "
|
|
2518
|
-
},
|
|
2519
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2520
|
-
"fieldName": "expandmode",
|
|
2521
|
-
"inheritedFrom": {
|
|
2522
|
-
"name": "Accordion",
|
|
2523
|
-
"module": "src/accordion/accordion.ts"
|
|
2512
|
+
"text": "ActionMenuItem[]"
|
|
2524
2513
|
}
|
|
2525
|
-
}
|
|
2526
|
-
],
|
|
2527
|
-
"members": [
|
|
2514
|
+
},
|
|
2528
2515
|
{
|
|
2529
2516
|
"kind": "field",
|
|
2530
|
-
"name": "
|
|
2517
|
+
"name": "isVertical",
|
|
2531
2518
|
"type": {
|
|
2532
|
-
"text": "
|
|
2519
|
+
"text": "boolean"
|
|
2533
2520
|
},
|
|
2534
|
-
"
|
|
2535
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2536
|
-
"inheritedFrom": {
|
|
2537
|
-
"name": "Accordion",
|
|
2538
|
-
"module": "src/accordion/accordion.ts"
|
|
2539
|
-
}
|
|
2521
|
+
"default": "false"
|
|
2540
2522
|
},
|
|
2541
2523
|
{
|
|
2542
2524
|
"kind": "field",
|
|
2543
|
-
"name": "
|
|
2525
|
+
"name": "addDefaultActions",
|
|
2544
2526
|
"type": {
|
|
2545
|
-
"text": "
|
|
2527
|
+
"text": "boolean"
|
|
2546
2528
|
},
|
|
2547
|
-
"
|
|
2548
|
-
"inheritedFrom": {
|
|
2549
|
-
"name": "Accordion",
|
|
2550
|
-
"module": "src/accordion/accordion.ts"
|
|
2551
|
-
}
|
|
2529
|
+
"default": "true"
|
|
2552
2530
|
},
|
|
2553
2531
|
{
|
|
2554
2532
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2533
|
+
"name": "autoCloseOnAction",
|
|
2556
2534
|
"type": {
|
|
2557
|
-
"text": "
|
|
2535
|
+
"text": "boolean"
|
|
2558
2536
|
},
|
|
2559
|
-
"
|
|
2560
|
-
"default": "0",
|
|
2561
|
-
"inheritedFrom": {
|
|
2562
|
-
"name": "Accordion",
|
|
2563
|
-
"module": "src/accordion/accordion.ts"
|
|
2564
|
-
}
|
|
2537
|
+
"default": "true"
|
|
2565
2538
|
},
|
|
2566
2539
|
{
|
|
2567
2540
|
"kind": "field",
|
|
2568
|
-
"name": "
|
|
2541
|
+
"name": "classNames",
|
|
2569
2542
|
"type": {
|
|
2570
|
-
"text": "
|
|
2571
|
-
},
|
|
2572
|
-
"privacy": "private",
|
|
2573
|
-
"inheritedFrom": {
|
|
2574
|
-
"name": "Accordion",
|
|
2575
|
-
"module": "src/accordion/accordion.ts"
|
|
2543
|
+
"text": "string"
|
|
2576
2544
|
}
|
|
2577
2545
|
},
|
|
2578
2546
|
{
|
|
2579
2547
|
"kind": "field",
|
|
2580
|
-
"name": "
|
|
2581
|
-
"
|
|
2582
|
-
|
|
2583
|
-
"name": "Accordion",
|
|
2584
|
-
"module": "src/accordion/accordion.ts"
|
|
2548
|
+
"name": "definition",
|
|
2549
|
+
"type": {
|
|
2550
|
+
"text": "any"
|
|
2585
2551
|
}
|
|
2586
2552
|
},
|
|
2587
2553
|
{
|
|
2588
|
-
"kind": "
|
|
2589
|
-
"name": "
|
|
2590
|
-
"
|
|
2591
|
-
|
|
2592
|
-
"type": {
|
|
2593
|
-
"text": "AccordionItem | null"
|
|
2594
|
-
}
|
|
2554
|
+
"kind": "field",
|
|
2555
|
+
"name": "name",
|
|
2556
|
+
"type": {
|
|
2557
|
+
"text": "string"
|
|
2595
2558
|
},
|
|
2596
|
-
"
|
|
2597
|
-
"name": "Accordion",
|
|
2598
|
-
"module": "src/accordion/accordion.ts"
|
|
2599
|
-
}
|
|
2559
|
+
"default": "'Actions'"
|
|
2600
2560
|
},
|
|
2601
2561
|
{
|
|
2602
2562
|
"kind": "field",
|
|
2603
|
-
"name": "
|
|
2604
|
-
"
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2563
|
+
"name": "open",
|
|
2564
|
+
"type": {
|
|
2565
|
+
"text": "boolean"
|
|
2566
|
+
},
|
|
2567
|
+
"default": "false"
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
"kind": "field",
|
|
2571
|
+
"name": "buttonAppearance",
|
|
2572
|
+
"type": {
|
|
2573
|
+
"text": "string"
|
|
2608
2574
|
}
|
|
2609
2575
|
},
|
|
2610
2576
|
{
|
|
2611
|
-
"kind": "
|
|
2612
|
-
"name": "
|
|
2613
|
-
"
|
|
2614
|
-
|
|
2615
|
-
"type": {
|
|
2616
|
-
"text": "void"
|
|
2617
|
-
}
|
|
2577
|
+
"kind": "field",
|
|
2578
|
+
"name": "hideDisabled",
|
|
2579
|
+
"type": {
|
|
2580
|
+
"text": "boolean"
|
|
2618
2581
|
},
|
|
2619
|
-
"
|
|
2620
|
-
|
|
2621
|
-
|
|
2582
|
+
"default": "false"
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
"kind": "field",
|
|
2586
|
+
"name": "hideMenuSingleOption",
|
|
2587
|
+
"type": {
|
|
2588
|
+
"text": "boolean"
|
|
2589
|
+
},
|
|
2590
|
+
"default": "false"
|
|
2591
|
+
},
|
|
2592
|
+
{
|
|
2593
|
+
"kind": "field",
|
|
2594
|
+
"name": "singleOption",
|
|
2595
|
+
"type": {
|
|
2596
|
+
"text": "ActionMenuItem"
|
|
2597
|
+
}
|
|
2598
|
+
},
|
|
2599
|
+
{
|
|
2600
|
+
"kind": "field",
|
|
2601
|
+
"name": "actionsMenu",
|
|
2602
|
+
"type": {
|
|
2603
|
+
"text": "HTMLElement"
|
|
2622
2604
|
}
|
|
2623
2605
|
},
|
|
2624
2606
|
{
|
|
2625
2607
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2627
|
-
"
|
|
2628
|
-
|
|
2629
|
-
"name": "Accordion",
|
|
2630
|
-
"module": "src/accordion/accordion.ts"
|
|
2608
|
+
"name": "actionsOpener",
|
|
2609
|
+
"type": {
|
|
2610
|
+
"text": "HTMLElement"
|
|
2631
2611
|
}
|
|
2632
2612
|
},
|
|
2633
2613
|
{
|
|
2634
|
-
"kind": "
|
|
2635
|
-
"name": "
|
|
2636
|
-
"privacy": "private"
|
|
2637
|
-
"inheritedFrom": {
|
|
2638
|
-
"name": "Accordion",
|
|
2639
|
-
"module": "src/accordion/accordion.ts"
|
|
2640
|
-
}
|
|
2614
|
+
"kind": "method",
|
|
2615
|
+
"name": "updateMenuPosition",
|
|
2616
|
+
"privacy": "private"
|
|
2641
2617
|
},
|
|
2642
2618
|
{
|
|
2643
2619
|
"kind": "method",
|
|
2644
|
-
"name": "
|
|
2645
|
-
"privacy": "
|
|
2646
|
-
"
|
|
2647
|
-
|
|
2648
|
-
"
|
|
2620
|
+
"name": "definitionChanged",
|
|
2621
|
+
"privacy": "protected",
|
|
2622
|
+
"parameters": [
|
|
2623
|
+
{
|
|
2624
|
+
"name": "oldValue",
|
|
2625
|
+
"type": {
|
|
2626
|
+
"text": "any"
|
|
2627
|
+
}
|
|
2628
|
+
},
|
|
2629
|
+
{
|
|
2630
|
+
"name": "newValue",
|
|
2631
|
+
"type": {
|
|
2632
|
+
"text": "any"
|
|
2633
|
+
}
|
|
2649
2634
|
}
|
|
2650
|
-
|
|
2651
|
-
"inheritedFrom": {
|
|
2652
|
-
"name": "Accordion",
|
|
2653
|
-
"module": "src/accordion/accordion.ts"
|
|
2654
|
-
}
|
|
2635
|
+
]
|
|
2655
2636
|
},
|
|
2656
2637
|
{
|
|
2657
2638
|
"kind": "method",
|
|
2658
|
-
"name": "
|
|
2659
|
-
"privacy": "
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2639
|
+
"name": "openChanged",
|
|
2640
|
+
"privacy": "protected"
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
"kind": "method",
|
|
2644
|
+
"name": "toggleActionsMenuVisibility"
|
|
2645
|
+
},
|
|
2646
|
+
{
|
|
2647
|
+
"kind": "method",
|
|
2648
|
+
"name": "onActionMenuItemClick",
|
|
2649
|
+
"parameters": [
|
|
2650
|
+
{
|
|
2651
|
+
"name": "callback",
|
|
2652
|
+
"type": {
|
|
2653
|
+
"text": "(rowData) => void | any"
|
|
2654
|
+
}
|
|
2663
2655
|
}
|
|
2664
|
-
|
|
2665
|
-
"inheritedFrom": {
|
|
2666
|
-
"name": "Accordion",
|
|
2667
|
-
"module": "src/accordion/accordion.ts"
|
|
2668
|
-
}
|
|
2656
|
+
]
|
|
2669
2657
|
},
|
|
2670
2658
|
{
|
|
2671
2659
|
"kind": "field",
|
|
2672
|
-
"name": "
|
|
2673
|
-
"
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
}
|
|
2660
|
+
"name": "allActions",
|
|
2661
|
+
"type": {
|
|
2662
|
+
"text": "ActionMenuItem[]"
|
|
2663
|
+
},
|
|
2664
|
+
"readonly": true
|
|
2678
2665
|
},
|
|
2679
2666
|
{
|
|
2680
2667
|
"kind": "field",
|
|
2681
|
-
"name": "
|
|
2682
|
-
"
|
|
2683
|
-
"inheritedFrom": {
|
|
2684
|
-
"name": "Accordion",
|
|
2685
|
-
"module": "src/accordion/accordion.ts"
|
|
2686
|
-
}
|
|
2668
|
+
"name": "rowData",
|
|
2669
|
+
"readonly": true
|
|
2687
2670
|
},
|
|
2688
2671
|
{
|
|
2689
2672
|
"kind": "method",
|
|
2690
|
-
"name": "
|
|
2691
|
-
"privacy": "private",
|
|
2692
|
-
"return": {
|
|
2693
|
-
"type": {
|
|
2694
|
-
"text": "void"
|
|
2695
|
-
}
|
|
2696
|
-
},
|
|
2673
|
+
"name": "getLabel",
|
|
2697
2674
|
"parameters": [
|
|
2698
2675
|
{
|
|
2699
|
-
"name": "
|
|
2676
|
+
"name": "name",
|
|
2700
2677
|
"type": {
|
|
2701
|
-
"text": "
|
|
2678
|
+
"text": "string | ((rowData: any) => string)"
|
|
2702
2679
|
}
|
|
2703
2680
|
}
|
|
2704
|
-
]
|
|
2705
|
-
"inheritedFrom": {
|
|
2706
|
-
"name": "Accordion",
|
|
2707
|
-
"module": "src/accordion/accordion.ts"
|
|
2708
|
-
}
|
|
2681
|
+
]
|
|
2709
2682
|
},
|
|
2710
2683
|
{
|
|
2711
2684
|
"kind": "method",
|
|
2712
|
-
"name": "
|
|
2713
|
-
"
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
"
|
|
2685
|
+
"name": "getTemplate",
|
|
2686
|
+
"parameters": [
|
|
2687
|
+
{
|
|
2688
|
+
"name": "prefix",
|
|
2689
|
+
"type": {
|
|
2690
|
+
"text": "string"
|
|
2691
|
+
}
|
|
2717
2692
|
}
|
|
2718
|
-
|
|
2719
|
-
"inheritedFrom": {
|
|
2720
|
-
"name": "Accordion",
|
|
2721
|
-
"module": "src/accordion/accordion.ts"
|
|
2722
|
-
}
|
|
2693
|
+
]
|
|
2723
2694
|
},
|
|
2724
2695
|
{
|
|
2725
2696
|
"kind": "field",
|
|
@@ -2833,78 +2804,107 @@
|
|
|
2833
2804
|
}
|
|
2834
2805
|
}
|
|
2835
2806
|
],
|
|
2836
|
-
"
|
|
2807
|
+
"attributes": [
|
|
2837
2808
|
{
|
|
2838
|
-
"
|
|
2839
|
-
"
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2809
|
+
"name": "is-vertical",
|
|
2810
|
+
"type": {
|
|
2811
|
+
"text": "boolean"
|
|
2812
|
+
},
|
|
2813
|
+
"default": "false",
|
|
2814
|
+
"fieldName": "isVertical"
|
|
2815
|
+
},
|
|
2816
|
+
{
|
|
2817
|
+
"name": "add-default-actions",
|
|
2818
|
+
"type": {
|
|
2819
|
+
"text": "boolean"
|
|
2820
|
+
},
|
|
2821
|
+
"default": "true",
|
|
2822
|
+
"fieldName": "addDefaultActions"
|
|
2823
|
+
},
|
|
2824
|
+
{
|
|
2825
|
+
"name": "auto-close-on-action",
|
|
2826
|
+
"type": {
|
|
2827
|
+
"text": "boolean"
|
|
2828
|
+
},
|
|
2829
|
+
"default": "true",
|
|
2830
|
+
"fieldName": "autoCloseOnAction"
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
"name": "name",
|
|
2834
|
+
"type": {
|
|
2835
|
+
"text": "string"
|
|
2836
|
+
},
|
|
2837
|
+
"default": "'Actions'",
|
|
2838
|
+
"fieldName": "name"
|
|
2839
|
+
},
|
|
2840
|
+
{
|
|
2841
|
+
"name": "open",
|
|
2842
|
+
"type": {
|
|
2843
|
+
"text": "boolean"
|
|
2844
|
+
},
|
|
2845
|
+
"default": "false",
|
|
2846
|
+
"fieldName": "open"
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
"name": "buttonAppearance",
|
|
2850
|
+
"type": {
|
|
2851
|
+
"text": "string"
|
|
2852
|
+
},
|
|
2853
|
+
"fieldName": "buttonAppearance"
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"name": "hide-disabled",
|
|
2857
|
+
"type": {
|
|
2858
|
+
"text": "boolean"
|
|
2859
|
+
},
|
|
2860
|
+
"default": "false",
|
|
2861
|
+
"fieldName": "hideDisabled"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"name": "hide-menu-single-option",
|
|
2865
|
+
"type": {
|
|
2866
|
+
"text": "boolean"
|
|
2867
|
+
},
|
|
2868
|
+
"default": "false",
|
|
2869
|
+
"fieldName": "hideMenuSingleOption"
|
|
2844
2870
|
}
|
|
2845
|
-
]
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
"name": "foundationAccordionShadowOptions",
|
|
2850
|
-
"type": {
|
|
2851
|
-
"text": "ShadowRootInit"
|
|
2852
|
-
},
|
|
2853
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2854
|
-
},
|
|
2855
|
-
{
|
|
2856
|
-
"kind": "variable",
|
|
2857
|
-
"name": "defaultAccordionConfig",
|
|
2858
|
-
"type": {
|
|
2859
|
-
"text": "object"
|
|
2871
|
+
],
|
|
2872
|
+
"superclass": {
|
|
2873
|
+
"name": "FoundationElement",
|
|
2874
|
+
"package": "@microsoft/fast-foundation"
|
|
2860
2875
|
},
|
|
2861
|
-
"
|
|
2876
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2877
|
+
"customElement": true
|
|
2862
2878
|
},
|
|
2863
2879
|
{
|
|
2864
2880
|
"kind": "variable",
|
|
2865
|
-
"name": "
|
|
2866
|
-
"description": "The Foundation
|
|
2881
|
+
"name": "foundationActionsMenu",
|
|
2882
|
+
"description": "The Foundation Actions Menu",
|
|
2867
2883
|
"privacy": "public"
|
|
2868
2884
|
}
|
|
2869
2885
|
],
|
|
2870
2886
|
"exports": [
|
|
2871
2887
|
{
|
|
2872
2888
|
"kind": "js",
|
|
2873
|
-
"name": "
|
|
2874
|
-
"declaration": {
|
|
2875
|
-
"name": "Accordion",
|
|
2876
|
-
"module": "src/accordion/accordion.ts"
|
|
2877
|
-
}
|
|
2878
|
-
},
|
|
2879
|
-
{
|
|
2880
|
-
"kind": "js",
|
|
2881
|
-
"name": "foundationAccordionShadowOptions",
|
|
2882
|
-
"declaration": {
|
|
2883
|
-
"name": "foundationAccordionShadowOptions",
|
|
2884
|
-
"module": "src/accordion/accordion.ts"
|
|
2885
|
-
}
|
|
2886
|
-
},
|
|
2887
|
-
{
|
|
2888
|
-
"kind": "js",
|
|
2889
|
-
"name": "defaultAccordionConfig",
|
|
2889
|
+
"name": "ActionsMenu",
|
|
2890
2890
|
"declaration": {
|
|
2891
|
-
"name": "
|
|
2892
|
-
"module": "src/
|
|
2891
|
+
"name": "ActionsMenu",
|
|
2892
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2893
2893
|
}
|
|
2894
2894
|
},
|
|
2895
2895
|
{
|
|
2896
2896
|
"kind": "js",
|
|
2897
|
-
"name": "
|
|
2897
|
+
"name": "foundationActionsMenu",
|
|
2898
2898
|
"declaration": {
|
|
2899
|
-
"name": "
|
|
2900
|
-
"module": "src/
|
|
2899
|
+
"name": "foundationActionsMenu",
|
|
2900
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2901
2901
|
}
|
|
2902
2902
|
}
|
|
2903
2903
|
]
|
|
2904
2904
|
},
|
|
2905
2905
|
{
|
|
2906
2906
|
"kind": "javascript-module",
|
|
2907
|
-
"path": "src/
|
|
2907
|
+
"path": "src/actions-menu/index.ts",
|
|
2908
2908
|
"declarations": [],
|
|
2909
2909
|
"exports": [
|
|
2910
2910
|
{
|
|
@@ -2912,7 +2912,7 @@
|
|
|
2912
2912
|
"name": "*",
|
|
2913
2913
|
"declaration": {
|
|
2914
2914
|
"name": "*",
|
|
2915
|
-
"package": "./
|
|
2915
|
+
"package": "./actions-menu.styles"
|
|
2916
2916
|
}
|
|
2917
2917
|
},
|
|
2918
2918
|
{
|
|
@@ -2920,7 +2920,7 @@
|
|
|
2920
2920
|
"name": "*",
|
|
2921
2921
|
"declaration": {
|
|
2922
2922
|
"name": "*",
|
|
2923
|
-
"package": "./
|
|
2923
|
+
"package": "./actions-menu.template"
|
|
2924
2924
|
}
|
|
2925
2925
|
},
|
|
2926
2926
|
{
|
|
@@ -2928,7 +2928,7 @@
|
|
|
2928
2928
|
"name": "*",
|
|
2929
2929
|
"declaration": {
|
|
2930
2930
|
"name": "*",
|
|
2931
|
-
"package": "./
|
|
2931
|
+
"package": "./actions-menu"
|
|
2932
2932
|
}
|
|
2933
2933
|
}
|
|
2934
2934
|
]
|
|
@@ -17024,7 +17024,7 @@
|
|
|
17024
17024
|
"type": {
|
|
17025
17025
|
"text": "ElementStyles"
|
|
17026
17026
|
},
|
|
17027
|
-
"default": "css`\n :host {\n --dialog-close-icon-display: flex;\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n dialog[type='error'],\n dialog[type='alert'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='alert']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--error-color);\n }\n\n dialog[type='alert']::before {\n background-color: var(--warning-color);\n }\n\n dialog[type='success']::before {\n background-color: var(--success-color);\n }\n\n .header-controls {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n\n .close-icon {\n display: var(--dialog-close-icon-display);\n }\n\n .reset-size-icon {\n display: flex;\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 3px);\n outline: none;\n overflow: inherit;\n z-index: var(--dialog-z-index,
|
|
17027
|
+
"default": "css`\n :host {\n --dialog-close-icon-display: flex;\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n dialog[type='error'],\n dialog[type='alert'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='alert']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--error-color);\n }\n\n dialog[type='alert']::before {\n background-color: var(--warning-color);\n }\n\n dialog[type='success']::before {\n background-color: var(--success-color);\n }\n\n .header-controls {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n :host([draggable])::part(top) {\n cursor: move;\n }\n\n .close-icon {\n display: var(--dialog-close-icon-display);\n }\n\n .reset-size-icon {\n display: flex;\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 3px);\n outline: none;\n overflow: inherit;\n /* The inner element is position:fixed, so it is never CLIPPED — but an 'auto' default leaves it\n in the normal paint tree at its tree position, where any later-in-DOM sibling paints over it\n (e.g. a non-modal dialog inside one FlexLayout tile disappears under the tiles below).\n 1001 clears app headers (999) and FlexLayout's drag chrome (1000) while staying under Flyout\n (2000/2001). Modal is unaffected: showModal() puts it in the top layer, above all of this. */\n z-index: var(--dialog-z-index, 1001);\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .top {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n white-space: pre-line;\n }\n\n .content-container {\n box-sizing: border-box;\n }\n\n :host([resizable]) dialog {\n position: relative;\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n }\n\n :host([resizable]) dialog[open] {\n display: flex;\n flex-direction: column;\n }\n\n /* Override design system max-width constraints for resizable dialogs */\n :host([resizable]) dialog .content-wrapper {\n position: relative;\n height: 100%;\n width: 100%;\n max-height: 100%;\n min-width: 100%;\n max-width: 100%;\n resize: none;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n }\n\n :host([resizable]) .content-container {\n flex: 1 1 auto;\n overflow: auto;\n min-height: 0;\n box-sizing: border-box;\n }\n\n :host([resizable]) .top,\n :host([resizable]) .bottom {\n flex: 0 0 auto;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n /* Resize handles */\n .resize-handle {\n position: absolute;\n z-index: 10;\n }\n\n /* Edge handles */\n .resize-handle-n,\n .resize-handle-s {\n left: 0;\n right: 0;\n height: 8px;\n cursor: ns-resize;\n }\n\n .resize-handle-n {\n top: 0;\n }\n\n .resize-handle-s {\n bottom: 0;\n }\n\n .resize-handle-e,\n .resize-handle-w {\n top: 0;\n bottom: 0;\n width: 8px;\n cursor: ew-resize;\n }\n\n .resize-handle-e {\n right: 0;\n }\n\n .resize-handle-w {\n left: 0;\n }\n\n /* Corner handles */\n .resize-handle-ne,\n .resize-handle-nw,\n .resize-handle-se,\n .resize-handle-sw {\n width: 16px;\n height: 16px;\n }\n\n .resize-handle-ne {\n top: 0;\n right: 0;\n cursor: nesw-resize;\n }\n\n .resize-handle-nw {\n top: 0;\n left: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-se {\n bottom: 0;\n right: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-sw {\n bottom: 0;\n left: 0;\n cursor: nesw-resize;\n }\n\n /* Visual indicator for corner handles */\n .resize-handle-se::after,\n .resize-handle-sw::after,\n .resize-handle-ne::after,\n .resize-handle-nw::after {\n content: '';\n position: absolute;\n width: 8px;\n height: 8px;\n border-style: solid;\n border-color: var(--neutral-stroke-divider-rest);\n opacity: 50%;\n transition: opacity 0.2s;\n margin: 2px;\n }\n\n .resize-handle-se::after {\n bottom: 2px;\n right: 2px;\n border-width: 0 3px 3px 0;\n }\n\n .resize-handle-sw::after {\n bottom: 2px;\n left: 2px;\n border-width: 0 0 3px 3px;\n }\n\n .resize-handle-ne::after {\n top: 2px;\n right: 2px;\n border-width: 3px 3px 0 0;\n }\n\n .resize-handle-nw::after {\n top: 2px;\n left: 2px;\n border-width: 3px 0 0 3px;\n }\n\n /* Hover effect */\n .resize-handle:hover::after {\n opacity: 100%;\n }\n\n /* Resizing state */\n dialog.resizing {\n user-select: none;\n pointer-events: auto;\n }\n\n /* Fixed positioning support for resizable dialogs */\n dialog[style*='position: fixed'] {\n margin: 0;\n }\n`"
|
|
17028
17028
|
}
|
|
17029
17029
|
],
|
|
17030
17030
|
"exports": [
|