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