@genesislcap/foundation-ui 14.501.0 → 15.0.0-FUI-2571-formatters.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 +719 -719
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -1416,42 +1416,11 @@
|
|
|
1416
1416
|
},
|
|
1417
1417
|
{
|
|
1418
1418
|
"kind": "javascript-module",
|
|
1419
|
-
"path": "src/
|
|
1420
|
-
"declarations": [],
|
|
1421
|
-
"exports": [
|
|
1422
|
-
{
|
|
1423
|
-
"kind": "js",
|
|
1424
|
-
"name": "*",
|
|
1425
|
-
"declaration": {
|
|
1426
|
-
"name": "*",
|
|
1427
|
-
"package": "./styles"
|
|
1428
|
-
}
|
|
1429
|
-
},
|
|
1430
|
-
{
|
|
1431
|
-
"kind": "js",
|
|
1432
|
-
"name": "*",
|
|
1433
|
-
"declaration": {
|
|
1434
|
-
"name": "*",
|
|
1435
|
-
"package": "./tokens"
|
|
1436
|
-
}
|
|
1437
|
-
},
|
|
1438
|
-
{
|
|
1439
|
-
"kind": "js",
|
|
1440
|
-
"name": "*",
|
|
1441
|
-
"declaration": {
|
|
1442
|
-
"name": "*",
|
|
1443
|
-
"package": "./values"
|
|
1444
|
-
}
|
|
1445
|
-
}
|
|
1446
|
-
]
|
|
1447
|
-
},
|
|
1448
|
-
{
|
|
1449
|
-
"kind": "javascript-module",
|
|
1450
|
-
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1419
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1451
1420
|
"declarations": [
|
|
1452
1421
|
{
|
|
1453
1422
|
"kind": "function",
|
|
1454
|
-
"name": "
|
|
1423
|
+
"name": "foundationAccordionStyles",
|
|
1455
1424
|
"return": {
|
|
1456
1425
|
"type": {
|
|
1457
1426
|
"text": "ElementStyles"
|
|
@@ -1476,24 +1445,24 @@
|
|
|
1476
1445
|
"exports": [
|
|
1477
1446
|
{
|
|
1478
1447
|
"kind": "js",
|
|
1479
|
-
"name": "
|
|
1448
|
+
"name": "foundationAccordionStyles",
|
|
1480
1449
|
"declaration": {
|
|
1481
|
-
"name": "
|
|
1482
|
-
"module": "src/accordion
|
|
1450
|
+
"name": "foundationAccordionStyles",
|
|
1451
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1483
1452
|
}
|
|
1484
1453
|
}
|
|
1485
1454
|
]
|
|
1486
1455
|
},
|
|
1487
1456
|
{
|
|
1488
1457
|
"kind": "javascript-module",
|
|
1489
|
-
"path": "src/accordion
|
|
1458
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1490
1459
|
"declarations": [
|
|
1491
1460
|
{
|
|
1492
1461
|
"kind": "function",
|
|
1493
|
-
"name": "
|
|
1462
|
+
"name": "foundationAccordionTemplate",
|
|
1494
1463
|
"return": {
|
|
1495
1464
|
"type": {
|
|
1496
|
-
"text": "ViewTemplate<
|
|
1465
|
+
"text": "ViewTemplate<Accordion>"
|
|
1497
1466
|
}
|
|
1498
1467
|
},
|
|
1499
1468
|
"parameters": [
|
|
@@ -1515,244 +1484,365 @@
|
|
|
1515
1484
|
"exports": [
|
|
1516
1485
|
{
|
|
1517
1486
|
"kind": "js",
|
|
1518
|
-
"name": "
|
|
1487
|
+
"name": "foundationAccordionTemplate",
|
|
1519
1488
|
"declaration": {
|
|
1520
|
-
"name": "
|
|
1521
|
-
"module": "src/accordion
|
|
1489
|
+
"name": "foundationAccordionTemplate",
|
|
1490
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1522
1491
|
}
|
|
1523
1492
|
}
|
|
1524
1493
|
]
|
|
1525
1494
|
},
|
|
1526
1495
|
{
|
|
1527
1496
|
"kind": "javascript-module",
|
|
1528
|
-
"path": "src/accordion
|
|
1497
|
+
"path": "src/accordion/accordion.ts",
|
|
1529
1498
|
"declarations": [
|
|
1530
1499
|
{
|
|
1531
1500
|
"kind": "class",
|
|
1532
1501
|
"description": "",
|
|
1533
|
-
"name": "
|
|
1502
|
+
"name": "Accordion",
|
|
1534
1503
|
"superclass": {
|
|
1535
|
-
"name": "
|
|
1536
|
-
"package": "@microsoft/fast-
|
|
1504
|
+
"name": "FASTAccordion",
|
|
1505
|
+
"package": "@microsoft/fast-foundation"
|
|
1537
1506
|
},
|
|
1538
|
-
"tagName": "%%prefix%%-accordion
|
|
1507
|
+
"tagName": "%%prefix%%-accordion",
|
|
1539
1508
|
"customElement": true,
|
|
1540
1509
|
"attributes": [
|
|
1541
1510
|
{
|
|
1542
|
-
"name": "
|
|
1543
|
-
"type": {
|
|
1544
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1545
|
-
},
|
|
1546
|
-
"default": "2",
|
|
1547
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1548
|
-
"fieldName": "headinglevel",
|
|
1549
|
-
"inheritedFrom": {
|
|
1550
|
-
"name": "AccordionItem",
|
|
1551
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1552
|
-
}
|
|
1553
|
-
},
|
|
1554
|
-
{
|
|
1555
|
-
"type": {
|
|
1556
|
-
"text": "boolean"
|
|
1557
|
-
},
|
|
1558
|
-
"default": "false",
|
|
1559
|
-
"description": "Expands or collapses the item.",
|
|
1560
|
-
"fieldName": "expanded",
|
|
1561
|
-
"inheritedFrom": {
|
|
1562
|
-
"name": "AccordionItem",
|
|
1563
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1564
|
-
}
|
|
1565
|
-
},
|
|
1566
|
-
{
|
|
1567
|
-
"name": "id",
|
|
1511
|
+
"name": "expand-mode",
|
|
1568
1512
|
"type": {
|
|
1569
|
-
"text": "
|
|
1513
|
+
"text": "AccordionExpandMode"
|
|
1570
1514
|
},
|
|
1571
|
-
"description": "
|
|
1572
|
-
"fieldName": "
|
|
1515
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1516
|
+
"fieldName": "expandmode",
|
|
1573
1517
|
"inheritedFrom": {
|
|
1574
|
-
"name": "
|
|
1575
|
-
"module": "src/accordion
|
|
1518
|
+
"name": "Accordion",
|
|
1519
|
+
"module": "src/accordion/accordion.ts"
|
|
1576
1520
|
}
|
|
1577
1521
|
}
|
|
1578
1522
|
],
|
|
1579
1523
|
"members": [
|
|
1580
1524
|
{
|
|
1581
1525
|
"kind": "field",
|
|
1582
|
-
"name": "
|
|
1526
|
+
"name": "expandmode",
|
|
1583
1527
|
"type": {
|
|
1584
|
-
"text": "
|
|
1528
|
+
"text": "AccordionExpandMode"
|
|
1585
1529
|
},
|
|
1586
1530
|
"privacy": "public",
|
|
1587
|
-
"
|
|
1588
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1531
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1589
1532
|
"inheritedFrom": {
|
|
1590
|
-
"name": "
|
|
1591
|
-
"module": "src/accordion
|
|
1533
|
+
"name": "Accordion",
|
|
1534
|
+
"module": "src/accordion/accordion.ts"
|
|
1592
1535
|
}
|
|
1593
1536
|
},
|
|
1594
1537
|
{
|
|
1595
1538
|
"kind": "field",
|
|
1596
|
-
"name": "
|
|
1539
|
+
"name": "activeid",
|
|
1597
1540
|
"type": {
|
|
1598
|
-
"text": "
|
|
1541
|
+
"text": "string | null"
|
|
1599
1542
|
},
|
|
1600
|
-
"privacy": "
|
|
1601
|
-
"default": "false",
|
|
1602
|
-
"description": "Expands or collapses the item.",
|
|
1543
|
+
"privacy": "private",
|
|
1603
1544
|
"inheritedFrom": {
|
|
1604
|
-
"name": "
|
|
1605
|
-
"module": "src/accordion
|
|
1545
|
+
"name": "Accordion",
|
|
1546
|
+
"module": "src/accordion/accordion.ts"
|
|
1606
1547
|
}
|
|
1607
1548
|
},
|
|
1608
1549
|
{
|
|
1609
1550
|
"kind": "field",
|
|
1610
|
-
"name": "
|
|
1551
|
+
"name": "activeItemIndex",
|
|
1611
1552
|
"type": {
|
|
1612
|
-
"text": "
|
|
1553
|
+
"text": "number"
|
|
1613
1554
|
},
|
|
1614
|
-
"privacy": "
|
|
1615
|
-
"
|
|
1555
|
+
"privacy": "private",
|
|
1556
|
+
"default": "0",
|
|
1616
1557
|
"inheritedFrom": {
|
|
1617
|
-
"name": "
|
|
1618
|
-
"module": "src/accordion
|
|
1558
|
+
"name": "Accordion",
|
|
1559
|
+
"module": "src/accordion/accordion.ts"
|
|
1619
1560
|
}
|
|
1620
1561
|
},
|
|
1621
1562
|
{
|
|
1622
1563
|
"kind": "field",
|
|
1623
|
-
"name": "
|
|
1564
|
+
"name": "accordionIds",
|
|
1565
|
+
"type": {
|
|
1566
|
+
"text": "Array<string | null>"
|
|
1567
|
+
},
|
|
1624
1568
|
"privacy": "private",
|
|
1625
1569
|
"inheritedFrom": {
|
|
1626
|
-
"name": "
|
|
1627
|
-
"module": "src/accordion
|
|
1570
|
+
"name": "Accordion",
|
|
1571
|
+
"module": "src/accordion/accordion.ts"
|
|
1628
1572
|
}
|
|
1629
1573
|
},
|
|
1630
1574
|
{
|
|
1631
1575
|
"kind": "field",
|
|
1632
|
-
"name": "
|
|
1633
|
-
"type": {
|
|
1634
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1635
|
-
},
|
|
1576
|
+
"name": "change",
|
|
1636
1577
|
"privacy": "private",
|
|
1637
|
-
"default": "void 0",
|
|
1638
1578
|
"inheritedFrom": {
|
|
1639
|
-
"name": "
|
|
1640
|
-
"module": "src/
|
|
1579
|
+
"name": "Accordion",
|
|
1580
|
+
"module": "src/accordion/accordion.ts"
|
|
1641
1581
|
}
|
|
1642
1582
|
},
|
|
1643
1583
|
{
|
|
1644
|
-
"kind": "
|
|
1645
|
-
"name": "
|
|
1646
|
-
"
|
|
1647
|
-
|
|
1584
|
+
"kind": "method",
|
|
1585
|
+
"name": "findExpandedItem",
|
|
1586
|
+
"privacy": "private",
|
|
1587
|
+
"return": {
|
|
1588
|
+
"type": {
|
|
1589
|
+
"text": "AccordionItem | null"
|
|
1590
|
+
}
|
|
1648
1591
|
},
|
|
1649
|
-
"privacy": "public",
|
|
1650
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1651
1592
|
"inheritedFrom": {
|
|
1652
|
-
"name": "
|
|
1653
|
-
"module": "src/
|
|
1593
|
+
"name": "Accordion",
|
|
1594
|
+
"module": "src/accordion/accordion.ts"
|
|
1654
1595
|
}
|
|
1655
1596
|
},
|
|
1656
1597
|
{
|
|
1657
1598
|
"kind": "field",
|
|
1658
|
-
"name": "
|
|
1659
|
-
"
|
|
1660
|
-
"text": "ElementViewTemplate | void | null"
|
|
1661
|
-
},
|
|
1662
|
-
"privacy": "public",
|
|
1663
|
-
"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.",
|
|
1599
|
+
"name": "setItems",
|
|
1600
|
+
"privacy": "private",
|
|
1664
1601
|
"inheritedFrom": {
|
|
1665
|
-
"name": "
|
|
1666
|
-
"module": "src/
|
|
1602
|
+
"name": "Accordion",
|
|
1603
|
+
"module": "src/accordion/accordion.ts"
|
|
1667
1604
|
}
|
|
1668
1605
|
},
|
|
1669
1606
|
{
|
|
1670
1607
|
"kind": "method",
|
|
1671
|
-
"name": "
|
|
1672
|
-
"privacy": "
|
|
1608
|
+
"name": "resetItems",
|
|
1609
|
+
"privacy": "private",
|
|
1673
1610
|
"return": {
|
|
1674
1611
|
"type": {
|
|
1675
1612
|
"text": "void"
|
|
1676
1613
|
}
|
|
1677
1614
|
},
|
|
1678
1615
|
"inheritedFrom": {
|
|
1679
|
-
"name": "
|
|
1680
|
-
"module": "src/
|
|
1616
|
+
"name": "Accordion",
|
|
1617
|
+
"module": "src/accordion/accordion.ts"
|
|
1681
1618
|
}
|
|
1682
1619
|
},
|
|
1683
1620
|
{
|
|
1684
1621
|
"kind": "field",
|
|
1685
|
-
"name": "
|
|
1686
|
-
"
|
|
1687
|
-
"text": "ElementStyles | void | null"
|
|
1688
|
-
},
|
|
1689
|
-
"privacy": "public",
|
|
1690
|
-
"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.",
|
|
1622
|
+
"name": "removeItemListeners",
|
|
1623
|
+
"privacy": "private",
|
|
1691
1624
|
"inheritedFrom": {
|
|
1692
|
-
"name": "
|
|
1693
|
-
"module": "src/
|
|
1625
|
+
"name": "Accordion",
|
|
1626
|
+
"module": "src/accordion/accordion.ts"
|
|
1627
|
+
}
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"kind": "field",
|
|
1631
|
+
"name": "activeItemChange",
|
|
1632
|
+
"privacy": "private",
|
|
1633
|
+
"inheritedFrom": {
|
|
1634
|
+
"name": "Accordion",
|
|
1635
|
+
"module": "src/accordion/accordion.ts"
|
|
1694
1636
|
}
|
|
1695
1637
|
},
|
|
1696
1638
|
{
|
|
1697
1639
|
"kind": "method",
|
|
1698
|
-
"name": "
|
|
1699
|
-
"privacy": "
|
|
1640
|
+
"name": "getItemIds",
|
|
1641
|
+
"privacy": "private",
|
|
1700
1642
|
"return": {
|
|
1701
1643
|
"type": {
|
|
1702
|
-
"text": "
|
|
1644
|
+
"text": "Array<string | null>"
|
|
1703
1645
|
}
|
|
1704
1646
|
},
|
|
1705
1647
|
"inheritedFrom": {
|
|
1706
|
-
"name": "
|
|
1707
|
-
"module": "src/
|
|
1648
|
+
"name": "Accordion",
|
|
1649
|
+
"module": "src/accordion/accordion.ts"
|
|
1708
1650
|
}
|
|
1709
1651
|
},
|
|
1710
1652
|
{
|
|
1711
1653
|
"kind": "method",
|
|
1712
|
-
"name": "
|
|
1713
|
-
"privacy": "
|
|
1714
|
-
"static": true,
|
|
1654
|
+
"name": "isSingleExpandMode",
|
|
1655
|
+
"privacy": "private",
|
|
1715
1656
|
"return": {
|
|
1716
1657
|
"type": {
|
|
1717
|
-
"text": "
|
|
1658
|
+
"text": "boolean"
|
|
1718
1659
|
}
|
|
1719
1660
|
},
|
|
1720
|
-
"parameters": [
|
|
1721
|
-
{
|
|
1722
|
-
"name": "this",
|
|
1723
|
-
"type": {
|
|
1724
|
-
"text": "K"
|
|
1725
|
-
}
|
|
1726
|
-
},
|
|
1727
|
-
{
|
|
1728
|
-
"name": "elementDefinition",
|
|
1729
|
-
"type": {
|
|
1730
|
-
"text": "T"
|
|
1731
|
-
},
|
|
1732
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1733
|
-
}
|
|
1734
|
-
],
|
|
1735
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1736
1661
|
"inheritedFrom": {
|
|
1737
|
-
"name": "
|
|
1738
|
-
"module": "src/
|
|
1662
|
+
"name": "Accordion",
|
|
1663
|
+
"module": "src/accordion/accordion.ts"
|
|
1739
1664
|
}
|
|
1740
|
-
}
|
|
1741
|
-
],
|
|
1742
|
-
"events": [
|
|
1665
|
+
},
|
|
1743
1666
|
{
|
|
1744
|
-
"
|
|
1745
|
-
"name": "
|
|
1746
|
-
"
|
|
1747
|
-
|
|
1748
|
-
"
|
|
1667
|
+
"kind": "field",
|
|
1668
|
+
"name": "handleItemKeyDown",
|
|
1669
|
+
"privacy": "private",
|
|
1670
|
+
"inheritedFrom": {
|
|
1671
|
+
"name": "Accordion",
|
|
1672
|
+
"module": "src/accordion/accordion.ts"
|
|
1673
|
+
}
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"kind": "field",
|
|
1677
|
+
"name": "handleItemFocus",
|
|
1678
|
+
"privacy": "private",
|
|
1679
|
+
"inheritedFrom": {
|
|
1680
|
+
"name": "Accordion",
|
|
1681
|
+
"module": "src/accordion/accordion.ts"
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
"kind": "method",
|
|
1686
|
+
"name": "adjust",
|
|
1687
|
+
"privacy": "private",
|
|
1688
|
+
"return": {
|
|
1689
|
+
"type": {
|
|
1690
|
+
"text": "void"
|
|
1691
|
+
}
|
|
1692
|
+
},
|
|
1693
|
+
"parameters": [
|
|
1694
|
+
{
|
|
1695
|
+
"name": "adjustment",
|
|
1696
|
+
"type": {
|
|
1697
|
+
"text": "number"
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
],
|
|
1701
|
+
"inheritedFrom": {
|
|
1702
|
+
"name": "Accordion",
|
|
1703
|
+
"module": "src/accordion/accordion.ts"
|
|
1704
|
+
}
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"kind": "method",
|
|
1708
|
+
"name": "focusItem",
|
|
1709
|
+
"privacy": "private",
|
|
1710
|
+
"return": {
|
|
1711
|
+
"type": {
|
|
1712
|
+
"text": "void"
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
"inheritedFrom": {
|
|
1716
|
+
"name": "Accordion",
|
|
1717
|
+
"module": "src/accordion/accordion.ts"
|
|
1718
|
+
}
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"kind": "field",
|
|
1722
|
+
"name": "_presentation",
|
|
1723
|
+
"type": {
|
|
1724
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1725
|
+
},
|
|
1726
|
+
"privacy": "private",
|
|
1727
|
+
"default": "void 0",
|
|
1728
|
+
"inheritedFrom": {
|
|
1729
|
+
"name": "FoundationElement",
|
|
1730
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1731
|
+
}
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
"kind": "field",
|
|
1735
|
+
"name": "$presentation",
|
|
1736
|
+
"type": {
|
|
1737
|
+
"text": "ComponentPresentation | null"
|
|
1738
|
+
},
|
|
1739
|
+
"privacy": "public",
|
|
1740
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1741
|
+
"inheritedFrom": {
|
|
1742
|
+
"name": "FoundationElement",
|
|
1743
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1744
|
+
}
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
"kind": "field",
|
|
1748
|
+
"name": "template",
|
|
1749
|
+
"type": {
|
|
1750
|
+
"text": "ElementViewTemplate | void | null"
|
|
1751
|
+
},
|
|
1752
|
+
"privacy": "public",
|
|
1753
|
+
"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.",
|
|
1754
|
+
"inheritedFrom": {
|
|
1755
|
+
"name": "FoundationElement",
|
|
1756
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
"kind": "method",
|
|
1761
|
+
"name": "templateChanged",
|
|
1762
|
+
"privacy": "protected",
|
|
1763
|
+
"return": {
|
|
1764
|
+
"type": {
|
|
1765
|
+
"text": "void"
|
|
1766
|
+
}
|
|
1767
|
+
},
|
|
1768
|
+
"inheritedFrom": {
|
|
1769
|
+
"name": "FoundationElement",
|
|
1770
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"kind": "field",
|
|
1775
|
+
"name": "styles",
|
|
1776
|
+
"type": {
|
|
1777
|
+
"text": "ElementStyles | void | null"
|
|
1778
|
+
},
|
|
1779
|
+
"privacy": "public",
|
|
1780
|
+
"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.",
|
|
1781
|
+
"inheritedFrom": {
|
|
1782
|
+
"name": "FoundationElement",
|
|
1783
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1784
|
+
}
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
"kind": "method",
|
|
1788
|
+
"name": "stylesChanged",
|
|
1789
|
+
"privacy": "protected",
|
|
1790
|
+
"return": {
|
|
1791
|
+
"type": {
|
|
1792
|
+
"text": "void"
|
|
1793
|
+
}
|
|
1794
|
+
},
|
|
1795
|
+
"inheritedFrom": {
|
|
1796
|
+
"name": "FoundationElement",
|
|
1797
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1798
|
+
}
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
"kind": "method",
|
|
1802
|
+
"name": "compose",
|
|
1803
|
+
"privacy": "public",
|
|
1804
|
+
"static": true,
|
|
1805
|
+
"return": {
|
|
1806
|
+
"type": {
|
|
1807
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1808
|
+
}
|
|
1809
|
+
},
|
|
1810
|
+
"parameters": [
|
|
1811
|
+
{
|
|
1812
|
+
"name": "this",
|
|
1813
|
+
"type": {
|
|
1814
|
+
"text": "K"
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
"name": "elementDefinition",
|
|
1819
|
+
"type": {
|
|
1820
|
+
"text": "T"
|
|
1821
|
+
},
|
|
1822
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1823
|
+
}
|
|
1824
|
+
],
|
|
1825
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1826
|
+
"inheritedFrom": {
|
|
1827
|
+
"name": "FoundationElement",
|
|
1828
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
],
|
|
1832
|
+
"events": [
|
|
1833
|
+
{
|
|
1834
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1835
|
+
"name": "change",
|
|
1836
|
+
"inheritedFrom": {
|
|
1837
|
+
"name": "Accordion",
|
|
1838
|
+
"module": "src/accordion/accordion.ts"
|
|
1749
1839
|
}
|
|
1750
1840
|
}
|
|
1751
1841
|
]
|
|
1752
1842
|
},
|
|
1753
1843
|
{
|
|
1754
1844
|
"kind": "variable",
|
|
1755
|
-
"name": "
|
|
1845
|
+
"name": "foundationAccordionShadowOptions",
|
|
1756
1846
|
"type": {
|
|
1757
1847
|
"text": "ShadowRootInit"
|
|
1758
1848
|
},
|
|
@@ -1760,57 +1850,57 @@
|
|
|
1760
1850
|
},
|
|
1761
1851
|
{
|
|
1762
1852
|
"kind": "variable",
|
|
1763
|
-
"name": "
|
|
1853
|
+
"name": "defaultAccordionConfig",
|
|
1764
1854
|
"type": {
|
|
1765
1855
|
"text": "object"
|
|
1766
1856
|
},
|
|
1767
|
-
"default": "{
|
|
1857
|
+
"default": "{}"
|
|
1768
1858
|
},
|
|
1769
1859
|
{
|
|
1770
1860
|
"kind": "variable",
|
|
1771
|
-
"name": "
|
|
1772
|
-
"description": "The Foundation Accordion
|
|
1861
|
+
"name": "foundationAccordion",
|
|
1862
|
+
"description": "The Foundation Accordion",
|
|
1773
1863
|
"privacy": "public"
|
|
1774
1864
|
}
|
|
1775
1865
|
],
|
|
1776
1866
|
"exports": [
|
|
1777
1867
|
{
|
|
1778
1868
|
"kind": "js",
|
|
1779
|
-
"name": "
|
|
1869
|
+
"name": "Accordion",
|
|
1780
1870
|
"declaration": {
|
|
1781
|
-
"name": "
|
|
1782
|
-
"module": "src/accordion
|
|
1871
|
+
"name": "Accordion",
|
|
1872
|
+
"module": "src/accordion/accordion.ts"
|
|
1783
1873
|
}
|
|
1784
1874
|
},
|
|
1785
1875
|
{
|
|
1786
1876
|
"kind": "js",
|
|
1787
|
-
"name": "
|
|
1877
|
+
"name": "foundationAccordionShadowOptions",
|
|
1788
1878
|
"declaration": {
|
|
1789
|
-
"name": "
|
|
1790
|
-
"module": "src/accordion
|
|
1879
|
+
"name": "foundationAccordionShadowOptions",
|
|
1880
|
+
"module": "src/accordion/accordion.ts"
|
|
1791
1881
|
}
|
|
1792
1882
|
},
|
|
1793
1883
|
{
|
|
1794
1884
|
"kind": "js",
|
|
1795
|
-
"name": "
|
|
1885
|
+
"name": "defaultAccordionConfig",
|
|
1796
1886
|
"declaration": {
|
|
1797
|
-
"name": "
|
|
1798
|
-
"module": "src/accordion
|
|
1887
|
+
"name": "defaultAccordionConfig",
|
|
1888
|
+
"module": "src/accordion/accordion.ts"
|
|
1799
1889
|
}
|
|
1800
1890
|
},
|
|
1801
1891
|
{
|
|
1802
1892
|
"kind": "js",
|
|
1803
|
-
"name": "
|
|
1893
|
+
"name": "foundationAccordion",
|
|
1804
1894
|
"declaration": {
|
|
1805
|
-
"name": "
|
|
1806
|
-
"module": "src/accordion
|
|
1895
|
+
"name": "foundationAccordion",
|
|
1896
|
+
"module": "src/accordion/accordion.ts"
|
|
1807
1897
|
}
|
|
1808
1898
|
}
|
|
1809
1899
|
]
|
|
1810
1900
|
},
|
|
1811
1901
|
{
|
|
1812
1902
|
"kind": "javascript-module",
|
|
1813
|
-
"path": "src/accordion
|
|
1903
|
+
"path": "src/accordion/index.ts",
|
|
1814
1904
|
"declarations": [],
|
|
1815
1905
|
"exports": [
|
|
1816
1906
|
{
|
|
@@ -1818,7 +1908,7 @@
|
|
|
1818
1908
|
"name": "*",
|
|
1819
1909
|
"declaration": {
|
|
1820
1910
|
"name": "*",
|
|
1821
|
-
"package": "./accordion
|
|
1911
|
+
"package": "./accordion.template"
|
|
1822
1912
|
}
|
|
1823
1913
|
},
|
|
1824
1914
|
{
|
|
@@ -1826,7 +1916,7 @@
|
|
|
1826
1916
|
"name": "*",
|
|
1827
1917
|
"declaration": {
|
|
1828
1918
|
"name": "*",
|
|
1829
|
-
"package": "./accordion
|
|
1919
|
+
"package": "./accordion.styles"
|
|
1830
1920
|
}
|
|
1831
1921
|
},
|
|
1832
1922
|
{
|
|
@@ -1834,41 +1924,49 @@
|
|
|
1834
1924
|
"name": "*",
|
|
1835
1925
|
"declaration": {
|
|
1836
1926
|
"name": "*",
|
|
1837
|
-
"package": "./accordion
|
|
1927
|
+
"package": "./accordion"
|
|
1838
1928
|
}
|
|
1839
1929
|
}
|
|
1840
1930
|
]
|
|
1841
1931
|
},
|
|
1842
1932
|
{
|
|
1843
1933
|
"kind": "javascript-module",
|
|
1844
|
-
"path": "src/
|
|
1845
|
-
"declarations": [
|
|
1934
|
+
"path": "src/_config/index.ts",
|
|
1935
|
+
"declarations": [],
|
|
1936
|
+
"exports": [
|
|
1846
1937
|
{
|
|
1847
|
-
"kind": "
|
|
1848
|
-
"name": "
|
|
1849
|
-
"
|
|
1850
|
-
"
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
},
|
|
1854
|
-
"parameters": [
|
|
1855
|
-
{
|
|
1856
|
-
"name": "context",
|
|
1857
|
-
"type": {
|
|
1858
|
-
"text": "ElementDefinitionContext"
|
|
1859
|
-
}
|
|
1860
|
-
},
|
|
1861
|
-
{
|
|
1862
|
-
"name": "definition",
|
|
1863
|
-
"type": {
|
|
1864
|
-
"text": "FoundationElementDefinition"
|
|
1865
|
-
}
|
|
1866
|
-
}
|
|
1867
|
-
]
|
|
1938
|
+
"kind": "js",
|
|
1939
|
+
"name": "*",
|
|
1940
|
+
"declaration": {
|
|
1941
|
+
"name": "*",
|
|
1942
|
+
"package": "./styles"
|
|
1943
|
+
}
|
|
1868
1944
|
},
|
|
1945
|
+
{
|
|
1946
|
+
"kind": "js",
|
|
1947
|
+
"name": "*",
|
|
1948
|
+
"declaration": {
|
|
1949
|
+
"name": "*",
|
|
1950
|
+
"package": "./tokens"
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"kind": "js",
|
|
1955
|
+
"name": "*",
|
|
1956
|
+
"declaration": {
|
|
1957
|
+
"name": "*",
|
|
1958
|
+
"package": "./values"
|
|
1959
|
+
}
|
|
1960
|
+
}
|
|
1961
|
+
]
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"kind": "javascript-module",
|
|
1965
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1966
|
+
"declarations": [
|
|
1869
1967
|
{
|
|
1870
1968
|
"kind": "function",
|
|
1871
|
-
"name": "
|
|
1969
|
+
"name": "foundationAccordionItemStyles",
|
|
1872
1970
|
"return": {
|
|
1873
1971
|
"type": {
|
|
1874
1972
|
"text": "ElementStyles"
|
|
@@ -1893,269 +1991,156 @@
|
|
|
1893
1991
|
"exports": [
|
|
1894
1992
|
{
|
|
1895
1993
|
"kind": "js",
|
|
1896
|
-
"name": "
|
|
1897
|
-
"declaration": {
|
|
1898
|
-
"name": "actionsMenuBaseStyles",
|
|
1899
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1900
|
-
}
|
|
1901
|
-
},
|
|
1902
|
-
{
|
|
1903
|
-
"kind": "js",
|
|
1904
|
-
"name": "foundationActionsMenuStyles",
|
|
1994
|
+
"name": "foundationAccordionItemStyles",
|
|
1905
1995
|
"declaration": {
|
|
1906
|
-
"name": "
|
|
1907
|
-
"module": "src/
|
|
1996
|
+
"name": "foundationAccordionItemStyles",
|
|
1997
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1908
1998
|
}
|
|
1909
1999
|
}
|
|
1910
2000
|
]
|
|
1911
2001
|
},
|
|
1912
2002
|
{
|
|
1913
2003
|
"kind": "javascript-module",
|
|
1914
|
-
"path": "src/
|
|
2004
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1915
2005
|
"declarations": [
|
|
1916
2006
|
{
|
|
1917
2007
|
"kind": "function",
|
|
1918
|
-
"name": "
|
|
2008
|
+
"name": "foundationAccordionItemTemplate",
|
|
2009
|
+
"return": {
|
|
2010
|
+
"type": {
|
|
2011
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2012
|
+
}
|
|
2013
|
+
},
|
|
1919
2014
|
"parameters": [
|
|
1920
2015
|
{
|
|
1921
|
-
"name": "
|
|
2016
|
+
"name": "context",
|
|
1922
2017
|
"type": {
|
|
1923
|
-
"text": "
|
|
2018
|
+
"text": "ElementDefinitionContext"
|
|
1924
2019
|
}
|
|
1925
|
-
}
|
|
1926
|
-
]
|
|
1927
|
-
},
|
|
1928
|
-
{
|
|
1929
|
-
"kind": "function",
|
|
1930
|
-
"name": "singleOptionTemplate",
|
|
1931
|
-
"parameters": [
|
|
2020
|
+
},
|
|
1932
2021
|
{
|
|
1933
|
-
"name": "
|
|
2022
|
+
"name": "definition",
|
|
1934
2023
|
"type": {
|
|
1935
|
-
"text": "
|
|
2024
|
+
"text": "FoundationElementDefinition"
|
|
1936
2025
|
}
|
|
1937
2026
|
}
|
|
1938
2027
|
]
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"kind": "variable",
|
|
1942
|
-
"name": "foundationActionsMenuTemplate",
|
|
1943
|
-
"type": {
|
|
1944
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1945
|
-
},
|
|
1946
|
-
"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`"
|
|
1947
2028
|
}
|
|
1948
2029
|
],
|
|
1949
2030
|
"exports": [
|
|
1950
2031
|
{
|
|
1951
2032
|
"kind": "js",
|
|
1952
|
-
"name": "
|
|
1953
|
-
"declaration": {
|
|
1954
|
-
"name": "menuTemplate",
|
|
1955
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1956
|
-
}
|
|
1957
|
-
},
|
|
1958
|
-
{
|
|
1959
|
-
"kind": "js",
|
|
1960
|
-
"name": "singleOptionTemplate",
|
|
1961
|
-
"declaration": {
|
|
1962
|
-
"name": "singleOptionTemplate",
|
|
1963
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1964
|
-
}
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
"kind": "js",
|
|
1968
|
-
"name": "foundationActionsMenuTemplate",
|
|
2033
|
+
"name": "foundationAccordionItemTemplate",
|
|
1969
2034
|
"declaration": {
|
|
1970
|
-
"name": "
|
|
1971
|
-
"module": "src/
|
|
2035
|
+
"name": "foundationAccordionItemTemplate",
|
|
2036
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1972
2037
|
}
|
|
1973
2038
|
}
|
|
1974
2039
|
]
|
|
1975
2040
|
},
|
|
1976
2041
|
{
|
|
1977
2042
|
"kind": "javascript-module",
|
|
1978
|
-
"path": "src/
|
|
2043
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1979
2044
|
"declarations": [
|
|
1980
2045
|
{
|
|
1981
2046
|
"kind": "class",
|
|
1982
2047
|
"description": "",
|
|
1983
|
-
"name": "
|
|
1984
|
-
"
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
},
|
|
1992
|
-
{
|
|
1993
|
-
"kind": "field",
|
|
1994
|
-
"name": "isVertical",
|
|
1995
|
-
"type": {
|
|
1996
|
-
"text": "boolean"
|
|
1997
|
-
},
|
|
1998
|
-
"default": "false"
|
|
1999
|
-
},
|
|
2000
|
-
{
|
|
2001
|
-
"kind": "field",
|
|
2002
|
-
"name": "addDefaultActions",
|
|
2003
|
-
"type": {
|
|
2004
|
-
"text": "boolean"
|
|
2005
|
-
},
|
|
2006
|
-
"default": "true"
|
|
2007
|
-
},
|
|
2008
|
-
{
|
|
2009
|
-
"kind": "field",
|
|
2010
|
-
"name": "autoCloseOnAction",
|
|
2011
|
-
"type": {
|
|
2012
|
-
"text": "boolean"
|
|
2013
|
-
},
|
|
2014
|
-
"default": "true"
|
|
2015
|
-
},
|
|
2016
|
-
{
|
|
2017
|
-
"kind": "field",
|
|
2018
|
-
"name": "classNames",
|
|
2019
|
-
"type": {
|
|
2020
|
-
"text": "string"
|
|
2021
|
-
}
|
|
2022
|
-
},
|
|
2023
|
-
{
|
|
2024
|
-
"kind": "field",
|
|
2025
|
-
"name": "definition",
|
|
2026
|
-
"type": {
|
|
2027
|
-
"text": "any"
|
|
2028
|
-
}
|
|
2029
|
-
},
|
|
2030
|
-
{
|
|
2031
|
-
"kind": "field",
|
|
2032
|
-
"name": "name",
|
|
2033
|
-
"type": {
|
|
2034
|
-
"text": "string"
|
|
2035
|
-
},
|
|
2036
|
-
"default": "'Actions'"
|
|
2037
|
-
},
|
|
2038
|
-
{
|
|
2039
|
-
"kind": "field",
|
|
2040
|
-
"name": "open",
|
|
2041
|
-
"type": {
|
|
2042
|
-
"text": "boolean"
|
|
2043
|
-
},
|
|
2044
|
-
"default": "false"
|
|
2045
|
-
},
|
|
2048
|
+
"name": "AccordionItem",
|
|
2049
|
+
"superclass": {
|
|
2050
|
+
"name": "FASTAccordionItem",
|
|
2051
|
+
"package": "@microsoft/fast-components"
|
|
2052
|
+
},
|
|
2053
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2054
|
+
"customElement": true,
|
|
2055
|
+
"attributes": [
|
|
2046
2056
|
{
|
|
2047
|
-
"
|
|
2048
|
-
"name": "buttonAppearance",
|
|
2057
|
+
"name": "heading-level",
|
|
2049
2058
|
"type": {
|
|
2050
|
-
"text": "
|
|
2059
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2060
|
+
},
|
|
2061
|
+
"default": "2",
|
|
2062
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2063
|
+
"fieldName": "headinglevel",
|
|
2064
|
+
"inheritedFrom": {
|
|
2065
|
+
"name": "AccordionItem",
|
|
2066
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2051
2067
|
}
|
|
2052
2068
|
},
|
|
2053
2069
|
{
|
|
2054
|
-
"kind": "field",
|
|
2055
|
-
"name": "hideDisabled",
|
|
2056
2070
|
"type": {
|
|
2057
2071
|
"text": "boolean"
|
|
2058
2072
|
},
|
|
2059
|
-
"default": "false"
|
|
2073
|
+
"default": "false",
|
|
2074
|
+
"description": "Expands or collapses the item.",
|
|
2075
|
+
"fieldName": "expanded",
|
|
2076
|
+
"inheritedFrom": {
|
|
2077
|
+
"name": "AccordionItem",
|
|
2078
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2079
|
+
}
|
|
2060
2080
|
},
|
|
2061
2081
|
{
|
|
2062
|
-
"
|
|
2063
|
-
"name": "hideMenuSingleOption",
|
|
2082
|
+
"name": "id",
|
|
2064
2083
|
"type": {
|
|
2065
|
-
"text": "
|
|
2084
|
+
"text": "string"
|
|
2066
2085
|
},
|
|
2067
|
-
"
|
|
2068
|
-
|
|
2086
|
+
"description": "The item ID",
|
|
2087
|
+
"fieldName": "id",
|
|
2088
|
+
"inheritedFrom": {
|
|
2089
|
+
"name": "AccordionItem",
|
|
2090
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
],
|
|
2094
|
+
"members": [
|
|
2069
2095
|
{
|
|
2070
2096
|
"kind": "field",
|
|
2071
|
-
"name": "
|
|
2097
|
+
"name": "headinglevel",
|
|
2072
2098
|
"type": {
|
|
2073
|
-
"text": "
|
|
2099
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2100
|
+
},
|
|
2101
|
+
"privacy": "public",
|
|
2102
|
+
"default": "2",
|
|
2103
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2104
|
+
"inheritedFrom": {
|
|
2105
|
+
"name": "AccordionItem",
|
|
2106
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2074
2107
|
}
|
|
2075
2108
|
},
|
|
2076
2109
|
{
|
|
2077
2110
|
"kind": "field",
|
|
2078
|
-
"name": "
|
|
2111
|
+
"name": "expanded",
|
|
2079
2112
|
"type": {
|
|
2080
|
-
"text": "
|
|
2113
|
+
"text": "boolean"
|
|
2114
|
+
},
|
|
2115
|
+
"privacy": "public",
|
|
2116
|
+
"default": "false",
|
|
2117
|
+
"description": "Expands or collapses the item.",
|
|
2118
|
+
"inheritedFrom": {
|
|
2119
|
+
"name": "AccordionItem",
|
|
2120
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2081
2121
|
}
|
|
2082
2122
|
},
|
|
2083
|
-
{
|
|
2084
|
-
"kind": "method",
|
|
2085
|
-
"name": "definitionChanged",
|
|
2086
|
-
"privacy": "protected",
|
|
2087
|
-
"parameters": [
|
|
2088
|
-
{
|
|
2089
|
-
"name": "oldValue",
|
|
2090
|
-
"type": {
|
|
2091
|
-
"text": "any"
|
|
2092
|
-
}
|
|
2093
|
-
},
|
|
2094
|
-
{
|
|
2095
|
-
"name": "newValue",
|
|
2096
|
-
"type": {
|
|
2097
|
-
"text": "any"
|
|
2098
|
-
}
|
|
2099
|
-
}
|
|
2100
|
-
]
|
|
2101
|
-
},
|
|
2102
|
-
{
|
|
2103
|
-
"kind": "method",
|
|
2104
|
-
"name": "openChanged",
|
|
2105
|
-
"privacy": "protected"
|
|
2106
|
-
},
|
|
2107
|
-
{
|
|
2108
|
-
"kind": "method",
|
|
2109
|
-
"name": "toggleActionsMenuVisibility"
|
|
2110
|
-
},
|
|
2111
|
-
{
|
|
2112
|
-
"kind": "method",
|
|
2113
|
-
"name": "onActionMenuItemClick",
|
|
2114
|
-
"parameters": [
|
|
2115
|
-
{
|
|
2116
|
-
"name": "callback",
|
|
2117
|
-
"type": {
|
|
2118
|
-
"text": "(rowData) => void | any"
|
|
2119
|
-
}
|
|
2120
|
-
}
|
|
2121
|
-
]
|
|
2122
|
-
},
|
|
2123
2123
|
{
|
|
2124
2124
|
"kind": "field",
|
|
2125
|
-
"name": "
|
|
2125
|
+
"name": "id",
|
|
2126
2126
|
"type": {
|
|
2127
|
-
"text": "
|
|
2127
|
+
"text": "string"
|
|
2128
2128
|
},
|
|
2129
|
-
"
|
|
2129
|
+
"privacy": "public",
|
|
2130
|
+
"description": "The item ID",
|
|
2131
|
+
"inheritedFrom": {
|
|
2132
|
+
"name": "AccordionItem",
|
|
2133
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2134
|
+
}
|
|
2130
2135
|
},
|
|
2131
2136
|
{
|
|
2132
2137
|
"kind": "field",
|
|
2133
|
-
"name": "
|
|
2134
|
-
"
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
"parameters": [
|
|
2140
|
-
{
|
|
2141
|
-
"name": "name",
|
|
2142
|
-
"type": {
|
|
2143
|
-
"text": "string | ((rowData: any) => string)"
|
|
2144
|
-
}
|
|
2145
|
-
}
|
|
2146
|
-
]
|
|
2147
|
-
},
|
|
2148
|
-
{
|
|
2149
|
-
"kind": "method",
|
|
2150
|
-
"name": "getTemplate",
|
|
2151
|
-
"parameters": [
|
|
2152
|
-
{
|
|
2153
|
-
"name": "prefix",
|
|
2154
|
-
"type": {
|
|
2155
|
-
"text": "string"
|
|
2156
|
-
}
|
|
2157
|
-
}
|
|
2158
|
-
]
|
|
2138
|
+
"name": "change",
|
|
2139
|
+
"privacy": "private",
|
|
2140
|
+
"inheritedFrom": {
|
|
2141
|
+
"name": "AccordionItem",
|
|
2142
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2143
|
+
}
|
|
2159
2144
|
},
|
|
2160
2145
|
{
|
|
2161
2146
|
"kind": "field",
|
|
@@ -2269,107 +2254,78 @@
|
|
|
2269
2254
|
}
|
|
2270
2255
|
}
|
|
2271
2256
|
],
|
|
2272
|
-
"
|
|
2273
|
-
{
|
|
2274
|
-
"name": "is-vertical",
|
|
2275
|
-
"type": {
|
|
2276
|
-
"text": "boolean"
|
|
2277
|
-
},
|
|
2278
|
-
"default": "false",
|
|
2279
|
-
"fieldName": "isVertical"
|
|
2280
|
-
},
|
|
2281
|
-
{
|
|
2282
|
-
"name": "add-default-actions",
|
|
2283
|
-
"type": {
|
|
2284
|
-
"text": "boolean"
|
|
2285
|
-
},
|
|
2286
|
-
"default": "true",
|
|
2287
|
-
"fieldName": "addDefaultActions"
|
|
2288
|
-
},
|
|
2289
|
-
{
|
|
2290
|
-
"name": "auto-close-on-action",
|
|
2291
|
-
"type": {
|
|
2292
|
-
"text": "boolean"
|
|
2293
|
-
},
|
|
2294
|
-
"default": "true",
|
|
2295
|
-
"fieldName": "autoCloseOnAction"
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
"name": "name",
|
|
2299
|
-
"type": {
|
|
2300
|
-
"text": "string"
|
|
2301
|
-
},
|
|
2302
|
-
"default": "'Actions'",
|
|
2303
|
-
"fieldName": "name"
|
|
2304
|
-
},
|
|
2305
|
-
{
|
|
2306
|
-
"name": "open",
|
|
2307
|
-
"type": {
|
|
2308
|
-
"text": "boolean"
|
|
2309
|
-
},
|
|
2310
|
-
"default": "false",
|
|
2311
|
-
"fieldName": "open"
|
|
2312
|
-
},
|
|
2313
|
-
{
|
|
2314
|
-
"name": "buttonAppearance",
|
|
2315
|
-
"type": {
|
|
2316
|
-
"text": "string"
|
|
2317
|
-
},
|
|
2318
|
-
"fieldName": "buttonAppearance"
|
|
2319
|
-
},
|
|
2320
|
-
{
|
|
2321
|
-
"name": "hide-disabled",
|
|
2322
|
-
"type": {
|
|
2323
|
-
"text": "boolean"
|
|
2324
|
-
},
|
|
2325
|
-
"default": "false",
|
|
2326
|
-
"fieldName": "hideDisabled"
|
|
2327
|
-
},
|
|
2257
|
+
"events": [
|
|
2328
2258
|
{
|
|
2329
|
-
"
|
|
2330
|
-
"
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2259
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2260
|
+
"name": "change",
|
|
2261
|
+
"inheritedFrom": {
|
|
2262
|
+
"name": "AccordionItem",
|
|
2263
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2264
|
+
}
|
|
2335
2265
|
}
|
|
2336
|
-
]
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2266
|
+
]
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"kind": "variable",
|
|
2270
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2271
|
+
"type": {
|
|
2272
|
+
"text": "ShadowRootInit"
|
|
2340
2273
|
},
|
|
2341
|
-
"
|
|
2342
|
-
|
|
2274
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"kind": "variable",
|
|
2278
|
+
"name": "defaultAccordionItemConfig",
|
|
2279
|
+
"type": {
|
|
2280
|
+
"text": "object"
|
|
2281
|
+
},
|
|
2282
|
+
"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}"
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
"kind": "variable",
|
|
2286
|
+
"name": "foundationAccordionItem",
|
|
2287
|
+
"description": "The Foundation Accordion Item",
|
|
2288
|
+
"privacy": "public"
|
|
2289
|
+
}
|
|
2290
|
+
],
|
|
2291
|
+
"exports": [
|
|
2292
|
+
{
|
|
2293
|
+
"kind": "js",
|
|
2294
|
+
"name": "AccordionItem",
|
|
2295
|
+
"declaration": {
|
|
2296
|
+
"name": "AccordionItem",
|
|
2297
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2298
|
+
}
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
"kind": "js",
|
|
2302
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2303
|
+
"declaration": {
|
|
2304
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2305
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2306
|
+
}
|
|
2343
2307
|
},
|
|
2344
|
-
{
|
|
2345
|
-
"kind": "variable",
|
|
2346
|
-
"name": "foundationActionsMenu",
|
|
2347
|
-
"description": "The Foundation Actions Menu",
|
|
2348
|
-
"privacy": "public"
|
|
2349
|
-
}
|
|
2350
|
-
],
|
|
2351
|
-
"exports": [
|
|
2352
2308
|
{
|
|
2353
2309
|
"kind": "js",
|
|
2354
|
-
"name": "
|
|
2310
|
+
"name": "defaultAccordionItemConfig",
|
|
2355
2311
|
"declaration": {
|
|
2356
|
-
"name": "
|
|
2357
|
-
"module": "src/
|
|
2312
|
+
"name": "defaultAccordionItemConfig",
|
|
2313
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2358
2314
|
}
|
|
2359
2315
|
},
|
|
2360
2316
|
{
|
|
2361
2317
|
"kind": "js",
|
|
2362
|
-
"name": "
|
|
2318
|
+
"name": "foundationAccordionItem",
|
|
2363
2319
|
"declaration": {
|
|
2364
|
-
"name": "
|
|
2365
|
-
"module": "src/
|
|
2320
|
+
"name": "foundationAccordionItem",
|
|
2321
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2366
2322
|
}
|
|
2367
2323
|
}
|
|
2368
2324
|
]
|
|
2369
2325
|
},
|
|
2370
2326
|
{
|
|
2371
2327
|
"kind": "javascript-module",
|
|
2372
|
-
"path": "src/
|
|
2328
|
+
"path": "src/accordion-item/index.ts",
|
|
2373
2329
|
"declarations": [],
|
|
2374
2330
|
"exports": [
|
|
2375
2331
|
{
|
|
@@ -2377,7 +2333,7 @@
|
|
|
2377
2333
|
"name": "*",
|
|
2378
2334
|
"declaration": {
|
|
2379
2335
|
"name": "*",
|
|
2380
|
-
"package": "./
|
|
2336
|
+
"package": "./accordion-item.template"
|
|
2381
2337
|
}
|
|
2382
2338
|
},
|
|
2383
2339
|
{
|
|
@@ -2385,7 +2341,7 @@
|
|
|
2385
2341
|
"name": "*",
|
|
2386
2342
|
"declaration": {
|
|
2387
2343
|
"name": "*",
|
|
2388
|
-
"package": "./
|
|
2344
|
+
"package": "./accordion-item.styles"
|
|
2389
2345
|
}
|
|
2390
2346
|
},
|
|
2391
2347
|
{
|
|
@@ -2393,18 +2349,41 @@
|
|
|
2393
2349
|
"name": "*",
|
|
2394
2350
|
"declaration": {
|
|
2395
2351
|
"name": "*",
|
|
2396
|
-
"package": "./
|
|
2352
|
+
"package": "./accordion-item"
|
|
2397
2353
|
}
|
|
2398
2354
|
}
|
|
2399
2355
|
]
|
|
2400
2356
|
},
|
|
2401
2357
|
{
|
|
2402
2358
|
"kind": "javascript-module",
|
|
2403
|
-
"path": "src/
|
|
2359
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2404
2360
|
"declarations": [
|
|
2405
2361
|
{
|
|
2406
2362
|
"kind": "function",
|
|
2407
|
-
"name": "
|
|
2363
|
+
"name": "actionsMenuBaseStyles",
|
|
2364
|
+
"return": {
|
|
2365
|
+
"type": {
|
|
2366
|
+
"text": "ElementStyles"
|
|
2367
|
+
}
|
|
2368
|
+
},
|
|
2369
|
+
"parameters": [
|
|
2370
|
+
{
|
|
2371
|
+
"name": "context",
|
|
2372
|
+
"type": {
|
|
2373
|
+
"text": "ElementDefinitionContext"
|
|
2374
|
+
}
|
|
2375
|
+
},
|
|
2376
|
+
{
|
|
2377
|
+
"name": "definition",
|
|
2378
|
+
"type": {
|
|
2379
|
+
"text": "FoundationElementDefinition"
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
]
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
"kind": "function",
|
|
2386
|
+
"name": "foundationActionsMenuStyles",
|
|
2408
2387
|
"return": {
|
|
2409
2388
|
"type": {
|
|
2410
2389
|
"text": "ElementStyles"
|
|
@@ -2429,277 +2408,269 @@
|
|
|
2429
2408
|
"exports": [
|
|
2430
2409
|
{
|
|
2431
2410
|
"kind": "js",
|
|
2432
|
-
"name": "
|
|
2411
|
+
"name": "actionsMenuBaseStyles",
|
|
2433
2412
|
"declaration": {
|
|
2434
|
-
"name": "
|
|
2435
|
-
"module": "src/
|
|
2413
|
+
"name": "actionsMenuBaseStyles",
|
|
2414
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2415
|
+
}
|
|
2416
|
+
},
|
|
2417
|
+
{
|
|
2418
|
+
"kind": "js",
|
|
2419
|
+
"name": "foundationActionsMenuStyles",
|
|
2420
|
+
"declaration": {
|
|
2421
|
+
"name": "foundationActionsMenuStyles",
|
|
2422
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2436
2423
|
}
|
|
2437
2424
|
}
|
|
2438
2425
|
]
|
|
2439
2426
|
},
|
|
2440
2427
|
{
|
|
2441
2428
|
"kind": "javascript-module",
|
|
2442
|
-
"path": "src/
|
|
2429
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2443
2430
|
"declarations": [
|
|
2444
2431
|
{
|
|
2445
2432
|
"kind": "function",
|
|
2446
|
-
"name": "
|
|
2447
|
-
"return": {
|
|
2448
|
-
"type": {
|
|
2449
|
-
"text": "ViewTemplate<Accordion>"
|
|
2450
|
-
}
|
|
2451
|
-
},
|
|
2433
|
+
"name": "menuTemplate",
|
|
2452
2434
|
"parameters": [
|
|
2453
2435
|
{
|
|
2454
|
-
"name": "
|
|
2436
|
+
"name": "prefix",
|
|
2455
2437
|
"type": {
|
|
2456
|
-
"text": "
|
|
2438
|
+
"text": "string"
|
|
2457
2439
|
}
|
|
2458
|
-
}
|
|
2440
|
+
}
|
|
2441
|
+
]
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"kind": "function",
|
|
2445
|
+
"name": "singleOptionTemplate",
|
|
2446
|
+
"parameters": [
|
|
2459
2447
|
{
|
|
2460
|
-
"name": "
|
|
2448
|
+
"name": "prefix",
|
|
2461
2449
|
"type": {
|
|
2462
|
-
"text": "
|
|
2450
|
+
"text": "string"
|
|
2463
2451
|
}
|
|
2464
2452
|
}
|
|
2465
2453
|
]
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
"kind": "variable",
|
|
2457
|
+
"name": "foundationActionsMenuTemplate",
|
|
2458
|
+
"type": {
|
|
2459
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2460
|
+
},
|
|
2461
|
+
"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`"
|
|
2466
2462
|
}
|
|
2467
2463
|
],
|
|
2468
2464
|
"exports": [
|
|
2469
2465
|
{
|
|
2470
2466
|
"kind": "js",
|
|
2471
|
-
"name": "
|
|
2467
|
+
"name": "menuTemplate",
|
|
2472
2468
|
"declaration": {
|
|
2473
|
-
"name": "
|
|
2474
|
-
"module": "src/
|
|
2469
|
+
"name": "menuTemplate",
|
|
2470
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2471
|
+
}
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
"kind": "js",
|
|
2475
|
+
"name": "singleOptionTemplate",
|
|
2476
|
+
"declaration": {
|
|
2477
|
+
"name": "singleOptionTemplate",
|
|
2478
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2479
|
+
}
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"kind": "js",
|
|
2483
|
+
"name": "foundationActionsMenuTemplate",
|
|
2484
|
+
"declaration": {
|
|
2485
|
+
"name": "foundationActionsMenuTemplate",
|
|
2486
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2475
2487
|
}
|
|
2476
2488
|
}
|
|
2477
2489
|
]
|
|
2478
2490
|
},
|
|
2479
2491
|
{
|
|
2480
2492
|
"kind": "javascript-module",
|
|
2481
|
-
"path": "src/
|
|
2493
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2482
2494
|
"declarations": [
|
|
2483
2495
|
{
|
|
2484
2496
|
"kind": "class",
|
|
2485
2497
|
"description": "",
|
|
2486
|
-
"name": "
|
|
2487
|
-
"
|
|
2488
|
-
"name": "FASTAccordion",
|
|
2489
|
-
"package": "@microsoft/fast-foundation"
|
|
2490
|
-
},
|
|
2491
|
-
"tagName": "%%prefix%%-accordion",
|
|
2492
|
-
"customElement": true,
|
|
2493
|
-
"attributes": [
|
|
2498
|
+
"name": "ActionsMenu",
|
|
2499
|
+
"members": [
|
|
2494
2500
|
{
|
|
2495
|
-
"
|
|
2501
|
+
"kind": "field",
|
|
2502
|
+
"name": "actions",
|
|
2496
2503
|
"type": {
|
|
2497
|
-
"text": "
|
|
2498
|
-
},
|
|
2499
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2500
|
-
"fieldName": "expandmode",
|
|
2501
|
-
"inheritedFrom": {
|
|
2502
|
-
"name": "Accordion",
|
|
2503
|
-
"module": "src/accordion/accordion.ts"
|
|
2504
|
+
"text": "ActionMenuItem[]"
|
|
2504
2505
|
}
|
|
2505
|
-
}
|
|
2506
|
-
],
|
|
2507
|
-
"members": [
|
|
2506
|
+
},
|
|
2508
2507
|
{
|
|
2509
2508
|
"kind": "field",
|
|
2510
|
-
"name": "
|
|
2509
|
+
"name": "isVertical",
|
|
2511
2510
|
"type": {
|
|
2512
|
-
"text": "
|
|
2511
|
+
"text": "boolean"
|
|
2513
2512
|
},
|
|
2514
|
-
"
|
|
2515
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2516
|
-
"inheritedFrom": {
|
|
2517
|
-
"name": "Accordion",
|
|
2518
|
-
"module": "src/accordion/accordion.ts"
|
|
2519
|
-
}
|
|
2513
|
+
"default": "false"
|
|
2520
2514
|
},
|
|
2521
2515
|
{
|
|
2522
2516
|
"kind": "field",
|
|
2523
|
-
"name": "
|
|
2517
|
+
"name": "addDefaultActions",
|
|
2524
2518
|
"type": {
|
|
2525
|
-
"text": "
|
|
2519
|
+
"text": "boolean"
|
|
2526
2520
|
},
|
|
2527
|
-
"
|
|
2528
|
-
"inheritedFrom": {
|
|
2529
|
-
"name": "Accordion",
|
|
2530
|
-
"module": "src/accordion/accordion.ts"
|
|
2531
|
-
}
|
|
2521
|
+
"default": "true"
|
|
2532
2522
|
},
|
|
2533
2523
|
{
|
|
2534
2524
|
"kind": "field",
|
|
2535
|
-
"name": "
|
|
2525
|
+
"name": "autoCloseOnAction",
|
|
2536
2526
|
"type": {
|
|
2537
|
-
"text": "
|
|
2527
|
+
"text": "boolean"
|
|
2538
2528
|
},
|
|
2539
|
-
"
|
|
2540
|
-
"default": "0",
|
|
2541
|
-
"inheritedFrom": {
|
|
2542
|
-
"name": "Accordion",
|
|
2543
|
-
"module": "src/accordion/accordion.ts"
|
|
2544
|
-
}
|
|
2529
|
+
"default": "true"
|
|
2545
2530
|
},
|
|
2546
2531
|
{
|
|
2547
2532
|
"kind": "field",
|
|
2548
|
-
"name": "
|
|
2533
|
+
"name": "classNames",
|
|
2549
2534
|
"type": {
|
|
2550
|
-
"text": "
|
|
2551
|
-
},
|
|
2552
|
-
"privacy": "private",
|
|
2553
|
-
"inheritedFrom": {
|
|
2554
|
-
"name": "Accordion",
|
|
2555
|
-
"module": "src/accordion/accordion.ts"
|
|
2535
|
+
"text": "string"
|
|
2556
2536
|
}
|
|
2557
2537
|
},
|
|
2558
2538
|
{
|
|
2559
2539
|
"kind": "field",
|
|
2560
|
-
"name": "
|
|
2561
|
-
"
|
|
2562
|
-
|
|
2563
|
-
"name": "Accordion",
|
|
2564
|
-
"module": "src/accordion/accordion.ts"
|
|
2540
|
+
"name": "definition",
|
|
2541
|
+
"type": {
|
|
2542
|
+
"text": "any"
|
|
2565
2543
|
}
|
|
2566
2544
|
},
|
|
2567
2545
|
{
|
|
2568
|
-
"kind": "
|
|
2569
|
-
"name": "
|
|
2570
|
-
"
|
|
2571
|
-
|
|
2572
|
-
"type": {
|
|
2573
|
-
"text": "AccordionItem | null"
|
|
2574
|
-
}
|
|
2546
|
+
"kind": "field",
|
|
2547
|
+
"name": "name",
|
|
2548
|
+
"type": {
|
|
2549
|
+
"text": "string"
|
|
2575
2550
|
},
|
|
2576
|
-
"
|
|
2577
|
-
"name": "Accordion",
|
|
2578
|
-
"module": "src/accordion/accordion.ts"
|
|
2579
|
-
}
|
|
2551
|
+
"default": "'Actions'"
|
|
2580
2552
|
},
|
|
2581
2553
|
{
|
|
2582
2554
|
"kind": "field",
|
|
2583
|
-
"name": "
|
|
2584
|
-
"
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2555
|
+
"name": "open",
|
|
2556
|
+
"type": {
|
|
2557
|
+
"text": "boolean"
|
|
2558
|
+
},
|
|
2559
|
+
"default": "false"
|
|
2560
|
+
},
|
|
2561
|
+
{
|
|
2562
|
+
"kind": "field",
|
|
2563
|
+
"name": "buttonAppearance",
|
|
2564
|
+
"type": {
|
|
2565
|
+
"text": "string"
|
|
2588
2566
|
}
|
|
2589
2567
|
},
|
|
2590
2568
|
{
|
|
2591
|
-
"kind": "
|
|
2592
|
-
"name": "
|
|
2593
|
-
"
|
|
2594
|
-
|
|
2595
|
-
"type": {
|
|
2596
|
-
"text": "void"
|
|
2597
|
-
}
|
|
2569
|
+
"kind": "field",
|
|
2570
|
+
"name": "hideDisabled",
|
|
2571
|
+
"type": {
|
|
2572
|
+
"text": "boolean"
|
|
2598
2573
|
},
|
|
2599
|
-
"
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2574
|
+
"default": "false"
|
|
2575
|
+
},
|
|
2576
|
+
{
|
|
2577
|
+
"kind": "field",
|
|
2578
|
+
"name": "hideMenuSingleOption",
|
|
2579
|
+
"type": {
|
|
2580
|
+
"text": "boolean"
|
|
2581
|
+
},
|
|
2582
|
+
"default": "false"
|
|
2603
2583
|
},
|
|
2604
2584
|
{
|
|
2605
2585
|
"kind": "field",
|
|
2606
|
-
"name": "
|
|
2607
|
-
"
|
|
2608
|
-
|
|
2609
|
-
"name": "Accordion",
|
|
2610
|
-
"module": "src/accordion/accordion.ts"
|
|
2586
|
+
"name": "singleOption",
|
|
2587
|
+
"type": {
|
|
2588
|
+
"text": "ActionMenuItem"
|
|
2611
2589
|
}
|
|
2612
2590
|
},
|
|
2613
2591
|
{
|
|
2614
2592
|
"kind": "field",
|
|
2615
|
-
"name": "
|
|
2616
|
-
"
|
|
2617
|
-
|
|
2618
|
-
"name": "Accordion",
|
|
2619
|
-
"module": "src/accordion/accordion.ts"
|
|
2593
|
+
"name": "actionsMenu",
|
|
2594
|
+
"type": {
|
|
2595
|
+
"text": "HTMLElement"
|
|
2620
2596
|
}
|
|
2621
2597
|
},
|
|
2622
2598
|
{
|
|
2623
2599
|
"kind": "method",
|
|
2624
|
-
"name": "
|
|
2625
|
-
"privacy": "
|
|
2626
|
-
"
|
|
2627
|
-
|
|
2628
|
-
"
|
|
2600
|
+
"name": "definitionChanged",
|
|
2601
|
+
"privacy": "protected",
|
|
2602
|
+
"parameters": [
|
|
2603
|
+
{
|
|
2604
|
+
"name": "oldValue",
|
|
2605
|
+
"type": {
|
|
2606
|
+
"text": "any"
|
|
2607
|
+
}
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
"name": "newValue",
|
|
2611
|
+
"type": {
|
|
2612
|
+
"text": "any"
|
|
2613
|
+
}
|
|
2629
2614
|
}
|
|
2630
|
-
|
|
2631
|
-
"inheritedFrom": {
|
|
2632
|
-
"name": "Accordion",
|
|
2633
|
-
"module": "src/accordion/accordion.ts"
|
|
2634
|
-
}
|
|
2615
|
+
]
|
|
2635
2616
|
},
|
|
2636
2617
|
{
|
|
2637
2618
|
"kind": "method",
|
|
2638
|
-
"name": "
|
|
2639
|
-
"privacy": "
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2619
|
+
"name": "openChanged",
|
|
2620
|
+
"privacy": "protected"
|
|
2621
|
+
},
|
|
2622
|
+
{
|
|
2623
|
+
"kind": "method",
|
|
2624
|
+
"name": "toggleActionsMenuVisibility"
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
"kind": "method",
|
|
2628
|
+
"name": "onActionMenuItemClick",
|
|
2629
|
+
"parameters": [
|
|
2630
|
+
{
|
|
2631
|
+
"name": "callback",
|
|
2632
|
+
"type": {
|
|
2633
|
+
"text": "(rowData) => void | any"
|
|
2634
|
+
}
|
|
2643
2635
|
}
|
|
2644
|
-
|
|
2645
|
-
"inheritedFrom": {
|
|
2646
|
-
"name": "Accordion",
|
|
2647
|
-
"module": "src/accordion/accordion.ts"
|
|
2648
|
-
}
|
|
2636
|
+
]
|
|
2649
2637
|
},
|
|
2650
2638
|
{
|
|
2651
2639
|
"kind": "field",
|
|
2652
|
-
"name": "
|
|
2653
|
-
"
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
}
|
|
2640
|
+
"name": "allActions",
|
|
2641
|
+
"type": {
|
|
2642
|
+
"text": "ActionMenuItem[]"
|
|
2643
|
+
},
|
|
2644
|
+
"readonly": true
|
|
2658
2645
|
},
|
|
2659
2646
|
{
|
|
2660
2647
|
"kind": "field",
|
|
2661
|
-
"name": "
|
|
2662
|
-
"
|
|
2663
|
-
"inheritedFrom": {
|
|
2664
|
-
"name": "Accordion",
|
|
2665
|
-
"module": "src/accordion/accordion.ts"
|
|
2666
|
-
}
|
|
2648
|
+
"name": "rowData",
|
|
2649
|
+
"readonly": true
|
|
2667
2650
|
},
|
|
2668
2651
|
{
|
|
2669
2652
|
"kind": "method",
|
|
2670
|
-
"name": "
|
|
2671
|
-
"privacy": "private",
|
|
2672
|
-
"return": {
|
|
2673
|
-
"type": {
|
|
2674
|
-
"text": "void"
|
|
2675
|
-
}
|
|
2676
|
-
},
|
|
2653
|
+
"name": "getLabel",
|
|
2677
2654
|
"parameters": [
|
|
2678
2655
|
{
|
|
2679
|
-
"name": "
|
|
2656
|
+
"name": "name",
|
|
2680
2657
|
"type": {
|
|
2681
|
-
"text": "
|
|
2658
|
+
"text": "string | ((rowData: any) => string)"
|
|
2682
2659
|
}
|
|
2683
2660
|
}
|
|
2684
|
-
]
|
|
2685
|
-
"inheritedFrom": {
|
|
2686
|
-
"name": "Accordion",
|
|
2687
|
-
"module": "src/accordion/accordion.ts"
|
|
2688
|
-
}
|
|
2661
|
+
]
|
|
2689
2662
|
},
|
|
2690
2663
|
{
|
|
2691
2664
|
"kind": "method",
|
|
2692
|
-
"name": "
|
|
2693
|
-
"
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
"
|
|
2665
|
+
"name": "getTemplate",
|
|
2666
|
+
"parameters": [
|
|
2667
|
+
{
|
|
2668
|
+
"name": "prefix",
|
|
2669
|
+
"type": {
|
|
2670
|
+
"text": "string"
|
|
2671
|
+
}
|
|
2697
2672
|
}
|
|
2698
|
-
|
|
2699
|
-
"inheritedFrom": {
|
|
2700
|
-
"name": "Accordion",
|
|
2701
|
-
"module": "src/accordion/accordion.ts"
|
|
2702
|
-
}
|
|
2673
|
+
]
|
|
2703
2674
|
},
|
|
2704
2675
|
{
|
|
2705
2676
|
"kind": "field",
|
|
@@ -2813,78 +2784,107 @@
|
|
|
2813
2784
|
}
|
|
2814
2785
|
}
|
|
2815
2786
|
],
|
|
2816
|
-
"
|
|
2787
|
+
"attributes": [
|
|
2817
2788
|
{
|
|
2818
|
-
"
|
|
2819
|
-
"
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2789
|
+
"name": "is-vertical",
|
|
2790
|
+
"type": {
|
|
2791
|
+
"text": "boolean"
|
|
2792
|
+
},
|
|
2793
|
+
"default": "false",
|
|
2794
|
+
"fieldName": "isVertical"
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"name": "add-default-actions",
|
|
2798
|
+
"type": {
|
|
2799
|
+
"text": "boolean"
|
|
2800
|
+
},
|
|
2801
|
+
"default": "true",
|
|
2802
|
+
"fieldName": "addDefaultActions"
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"name": "auto-close-on-action",
|
|
2806
|
+
"type": {
|
|
2807
|
+
"text": "boolean"
|
|
2808
|
+
},
|
|
2809
|
+
"default": "true",
|
|
2810
|
+
"fieldName": "autoCloseOnAction"
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
"name": "name",
|
|
2814
|
+
"type": {
|
|
2815
|
+
"text": "string"
|
|
2816
|
+
},
|
|
2817
|
+
"default": "'Actions'",
|
|
2818
|
+
"fieldName": "name"
|
|
2819
|
+
},
|
|
2820
|
+
{
|
|
2821
|
+
"name": "open",
|
|
2822
|
+
"type": {
|
|
2823
|
+
"text": "boolean"
|
|
2824
|
+
},
|
|
2825
|
+
"default": "false",
|
|
2826
|
+
"fieldName": "open"
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"name": "buttonAppearance",
|
|
2830
|
+
"type": {
|
|
2831
|
+
"text": "string"
|
|
2832
|
+
},
|
|
2833
|
+
"fieldName": "buttonAppearance"
|
|
2834
|
+
},
|
|
2835
|
+
{
|
|
2836
|
+
"name": "hide-disabled",
|
|
2837
|
+
"type": {
|
|
2838
|
+
"text": "boolean"
|
|
2839
|
+
},
|
|
2840
|
+
"default": "false",
|
|
2841
|
+
"fieldName": "hideDisabled"
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"name": "hide-menu-single-option",
|
|
2845
|
+
"type": {
|
|
2846
|
+
"text": "boolean"
|
|
2847
|
+
},
|
|
2848
|
+
"default": "false",
|
|
2849
|
+
"fieldName": "hideMenuSingleOption"
|
|
2824
2850
|
}
|
|
2825
|
-
]
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
"name": "foundationAccordionShadowOptions",
|
|
2830
|
-
"type": {
|
|
2831
|
-
"text": "ShadowRootInit"
|
|
2832
|
-
},
|
|
2833
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2834
|
-
},
|
|
2835
|
-
{
|
|
2836
|
-
"kind": "variable",
|
|
2837
|
-
"name": "defaultAccordionConfig",
|
|
2838
|
-
"type": {
|
|
2839
|
-
"text": "object"
|
|
2851
|
+
],
|
|
2852
|
+
"superclass": {
|
|
2853
|
+
"name": "FoundationElement",
|
|
2854
|
+
"package": "@microsoft/fast-foundation"
|
|
2840
2855
|
},
|
|
2841
|
-
"
|
|
2856
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2857
|
+
"customElement": true
|
|
2842
2858
|
},
|
|
2843
2859
|
{
|
|
2844
2860
|
"kind": "variable",
|
|
2845
|
-
"name": "
|
|
2846
|
-
"description": "The Foundation
|
|
2861
|
+
"name": "foundationActionsMenu",
|
|
2862
|
+
"description": "The Foundation Actions Menu",
|
|
2847
2863
|
"privacy": "public"
|
|
2848
2864
|
}
|
|
2849
2865
|
],
|
|
2850
2866
|
"exports": [
|
|
2851
2867
|
{
|
|
2852
2868
|
"kind": "js",
|
|
2853
|
-
"name": "
|
|
2854
|
-
"declaration": {
|
|
2855
|
-
"name": "Accordion",
|
|
2856
|
-
"module": "src/accordion/accordion.ts"
|
|
2857
|
-
}
|
|
2858
|
-
},
|
|
2859
|
-
{
|
|
2860
|
-
"kind": "js",
|
|
2861
|
-
"name": "foundationAccordionShadowOptions",
|
|
2862
|
-
"declaration": {
|
|
2863
|
-
"name": "foundationAccordionShadowOptions",
|
|
2864
|
-
"module": "src/accordion/accordion.ts"
|
|
2865
|
-
}
|
|
2866
|
-
},
|
|
2867
|
-
{
|
|
2868
|
-
"kind": "js",
|
|
2869
|
-
"name": "defaultAccordionConfig",
|
|
2869
|
+
"name": "ActionsMenu",
|
|
2870
2870
|
"declaration": {
|
|
2871
|
-
"name": "
|
|
2872
|
-
"module": "src/
|
|
2871
|
+
"name": "ActionsMenu",
|
|
2872
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2873
2873
|
}
|
|
2874
2874
|
},
|
|
2875
2875
|
{
|
|
2876
2876
|
"kind": "js",
|
|
2877
|
-
"name": "
|
|
2877
|
+
"name": "foundationActionsMenu",
|
|
2878
2878
|
"declaration": {
|
|
2879
|
-
"name": "
|
|
2880
|
-
"module": "src/
|
|
2879
|
+
"name": "foundationActionsMenu",
|
|
2880
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
2883
2883
|
]
|
|
2884
2884
|
},
|
|
2885
2885
|
{
|
|
2886
2886
|
"kind": "javascript-module",
|
|
2887
|
-
"path": "src/
|
|
2887
|
+
"path": "src/actions-menu/index.ts",
|
|
2888
2888
|
"declarations": [],
|
|
2889
2889
|
"exports": [
|
|
2890
2890
|
{
|
|
@@ -2892,7 +2892,7 @@
|
|
|
2892
2892
|
"name": "*",
|
|
2893
2893
|
"declaration": {
|
|
2894
2894
|
"name": "*",
|
|
2895
|
-
"package": "./
|
|
2895
|
+
"package": "./actions-menu.styles"
|
|
2896
2896
|
}
|
|
2897
2897
|
},
|
|
2898
2898
|
{
|
|
@@ -2900,7 +2900,7 @@
|
|
|
2900
2900
|
"name": "*",
|
|
2901
2901
|
"declaration": {
|
|
2902
2902
|
"name": "*",
|
|
2903
|
-
"package": "./
|
|
2903
|
+
"package": "./actions-menu.template"
|
|
2904
2904
|
}
|
|
2905
2905
|
},
|
|
2906
2906
|
{
|
|
@@ -2908,7 +2908,7 @@
|
|
|
2908
2908
|
"name": "*",
|
|
2909
2909
|
"declaration": {
|
|
2910
2910
|
"name": "*",
|
|
2911
|
-
"package": "./
|
|
2911
|
+
"package": "./actions-menu"
|
|
2912
2912
|
}
|
|
2913
2913
|
}
|
|
2914
2914
|
]
|