@genesislcap/foundation-ui 14.366.2-alpha-11da8b5.0 → 14.367.1-FUI-2341-3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +657 -657
- package/package.json +18 -18
|
@@ -1296,11 +1296,11 @@
|
|
|
1296
1296
|
},
|
|
1297
1297
|
{
|
|
1298
1298
|
"kind": "javascript-module",
|
|
1299
|
-
"path": "src/accordion
|
|
1299
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1300
1300
|
"declarations": [
|
|
1301
1301
|
{
|
|
1302
1302
|
"kind": "function",
|
|
1303
|
-
"name": "
|
|
1303
|
+
"name": "foundationAccordionStyles",
|
|
1304
1304
|
"return": {
|
|
1305
1305
|
"type": {
|
|
1306
1306
|
"text": "ElementStyles"
|
|
@@ -1325,24 +1325,24 @@
|
|
|
1325
1325
|
"exports": [
|
|
1326
1326
|
{
|
|
1327
1327
|
"kind": "js",
|
|
1328
|
-
"name": "
|
|
1328
|
+
"name": "foundationAccordionStyles",
|
|
1329
1329
|
"declaration": {
|
|
1330
|
-
"name": "
|
|
1331
|
-
"module": "src/accordion
|
|
1330
|
+
"name": "foundationAccordionStyles",
|
|
1331
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1332
1332
|
}
|
|
1333
1333
|
}
|
|
1334
1334
|
]
|
|
1335
1335
|
},
|
|
1336
1336
|
{
|
|
1337
1337
|
"kind": "javascript-module",
|
|
1338
|
-
"path": "src/accordion
|
|
1338
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1339
1339
|
"declarations": [
|
|
1340
1340
|
{
|
|
1341
1341
|
"kind": "function",
|
|
1342
|
-
"name": "
|
|
1342
|
+
"name": "foundationAccordionTemplate",
|
|
1343
1343
|
"return": {
|
|
1344
1344
|
"type": {
|
|
1345
|
-
"text": "ViewTemplate<
|
|
1345
|
+
"text": "ViewTemplate<Accordion>"
|
|
1346
1346
|
}
|
|
1347
1347
|
},
|
|
1348
1348
|
"parameters": [
|
|
@@ -1364,118 +1364,436 @@
|
|
|
1364
1364
|
"exports": [
|
|
1365
1365
|
{
|
|
1366
1366
|
"kind": "js",
|
|
1367
|
-
"name": "
|
|
1367
|
+
"name": "foundationAccordionTemplate",
|
|
1368
1368
|
"declaration": {
|
|
1369
|
-
"name": "
|
|
1370
|
-
"module": "src/accordion
|
|
1369
|
+
"name": "foundationAccordionTemplate",
|
|
1370
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
1373
|
]
|
|
1374
1374
|
},
|
|
1375
1375
|
{
|
|
1376
1376
|
"kind": "javascript-module",
|
|
1377
|
-
"path": "src/accordion
|
|
1377
|
+
"path": "src/accordion/accordion.ts",
|
|
1378
1378
|
"declarations": [
|
|
1379
1379
|
{
|
|
1380
1380
|
"kind": "class",
|
|
1381
1381
|
"description": "",
|
|
1382
|
-
"name": "
|
|
1382
|
+
"name": "Accordion",
|
|
1383
1383
|
"superclass": {
|
|
1384
|
-
"name": "
|
|
1385
|
-
"package": "@microsoft/fast-
|
|
1384
|
+
"name": "FASTAccordion",
|
|
1385
|
+
"package": "@microsoft/fast-foundation"
|
|
1386
1386
|
},
|
|
1387
|
-
"tagName": "%%prefix%%-accordion
|
|
1388
|
-
"customElement": true
|
|
1389
|
-
|
|
1387
|
+
"tagName": "%%prefix%%-accordion",
|
|
1388
|
+
"customElement": true
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"kind": "variable",
|
|
1392
|
+
"name": "foundationAccordionShadowOptions",
|
|
1393
|
+
"type": {
|
|
1394
|
+
"text": "ShadowRootInit"
|
|
1395
|
+
},
|
|
1396
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"kind": "variable",
|
|
1400
|
+
"name": "defaultAccordionConfig",
|
|
1401
|
+
"type": {
|
|
1402
|
+
"text": "object"
|
|
1403
|
+
},
|
|
1404
|
+
"default": "{}"
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"kind": "variable",
|
|
1408
|
+
"name": "foundationAccordion",
|
|
1409
|
+
"description": "The Foundation Accordion",
|
|
1410
|
+
"privacy": "public"
|
|
1411
|
+
}
|
|
1412
|
+
],
|
|
1413
|
+
"exports": [
|
|
1414
|
+
{
|
|
1415
|
+
"kind": "js",
|
|
1416
|
+
"name": "Accordion",
|
|
1417
|
+
"declaration": {
|
|
1418
|
+
"name": "Accordion",
|
|
1419
|
+
"module": "src/accordion/accordion.ts"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"kind": "js",
|
|
1424
|
+
"name": "foundationAccordionShadowOptions",
|
|
1425
|
+
"declaration": {
|
|
1426
|
+
"name": "foundationAccordionShadowOptions",
|
|
1427
|
+
"module": "src/accordion/accordion.ts"
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"kind": "js",
|
|
1432
|
+
"name": "defaultAccordionConfig",
|
|
1433
|
+
"declaration": {
|
|
1434
|
+
"name": "defaultAccordionConfig",
|
|
1435
|
+
"module": "src/accordion/accordion.ts"
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"kind": "js",
|
|
1440
|
+
"name": "foundationAccordion",
|
|
1441
|
+
"declaration": {
|
|
1442
|
+
"name": "foundationAccordion",
|
|
1443
|
+
"module": "src/accordion/accordion.ts"
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
]
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"kind": "javascript-module",
|
|
1450
|
+
"path": "src/accordion/index.ts",
|
|
1451
|
+
"declarations": [],
|
|
1452
|
+
"exports": [
|
|
1453
|
+
{
|
|
1454
|
+
"kind": "js",
|
|
1455
|
+
"name": "*",
|
|
1456
|
+
"declaration": {
|
|
1457
|
+
"name": "*",
|
|
1458
|
+
"package": "./accordion.template"
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"kind": "js",
|
|
1463
|
+
"name": "*",
|
|
1464
|
+
"declaration": {
|
|
1465
|
+
"name": "*",
|
|
1466
|
+
"package": "./accordion.styles"
|
|
1467
|
+
}
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"kind": "js",
|
|
1471
|
+
"name": "*",
|
|
1472
|
+
"declaration": {
|
|
1473
|
+
"name": "*",
|
|
1474
|
+
"package": "./accordion"
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
]
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"kind": "javascript-module",
|
|
1481
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1482
|
+
"declarations": [
|
|
1483
|
+
{
|
|
1484
|
+
"kind": "function",
|
|
1485
|
+
"name": "actionsMenuBaseStyles",
|
|
1486
|
+
"return": {
|
|
1487
|
+
"type": {
|
|
1488
|
+
"text": "ElementStyles"
|
|
1489
|
+
}
|
|
1490
|
+
},
|
|
1491
|
+
"parameters": [
|
|
1492
|
+
{
|
|
1493
|
+
"name": "context",
|
|
1494
|
+
"type": {
|
|
1495
|
+
"text": "ElementDefinitionContext"
|
|
1496
|
+
}
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"name": "definition",
|
|
1500
|
+
"type": {
|
|
1501
|
+
"text": "FoundationElementDefinition"
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
]
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"kind": "function",
|
|
1508
|
+
"name": "foundationActionsMenuStyles",
|
|
1509
|
+
"return": {
|
|
1510
|
+
"type": {
|
|
1511
|
+
"text": "ElementStyles"
|
|
1512
|
+
}
|
|
1513
|
+
},
|
|
1514
|
+
"parameters": [
|
|
1515
|
+
{
|
|
1516
|
+
"name": "context",
|
|
1517
|
+
"type": {
|
|
1518
|
+
"text": "ElementDefinitionContext"
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
"name": "definition",
|
|
1523
|
+
"type": {
|
|
1524
|
+
"text": "FoundationElementDefinition"
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
]
|
|
1528
|
+
}
|
|
1529
|
+
],
|
|
1530
|
+
"exports": [
|
|
1531
|
+
{
|
|
1532
|
+
"kind": "js",
|
|
1533
|
+
"name": "actionsMenuBaseStyles",
|
|
1534
|
+
"declaration": {
|
|
1535
|
+
"name": "actionsMenuBaseStyles",
|
|
1536
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1537
|
+
}
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"kind": "js",
|
|
1541
|
+
"name": "foundationActionsMenuStyles",
|
|
1542
|
+
"declaration": {
|
|
1543
|
+
"name": "foundationActionsMenuStyles",
|
|
1544
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
]
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"kind": "javascript-module",
|
|
1551
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1552
|
+
"declarations": [
|
|
1553
|
+
{
|
|
1554
|
+
"kind": "function",
|
|
1555
|
+
"name": "menuTemplate",
|
|
1556
|
+
"parameters": [
|
|
1557
|
+
{
|
|
1558
|
+
"name": "prefix",
|
|
1559
|
+
"type": {
|
|
1560
|
+
"text": "string"
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
]
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
"kind": "function",
|
|
1567
|
+
"name": "singleOptionTemplate",
|
|
1568
|
+
"parameters": [
|
|
1569
|
+
{
|
|
1570
|
+
"name": "prefix",
|
|
1571
|
+
"type": {
|
|
1572
|
+
"text": "string"
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
]
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"kind": "variable",
|
|
1579
|
+
"name": "foundationActionsMenuTemplate",
|
|
1580
|
+
"type": {
|
|
1581
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1582
|
+
},
|
|
1583
|
+
"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`"
|
|
1584
|
+
}
|
|
1585
|
+
],
|
|
1586
|
+
"exports": [
|
|
1587
|
+
{
|
|
1588
|
+
"kind": "js",
|
|
1589
|
+
"name": "menuTemplate",
|
|
1590
|
+
"declaration": {
|
|
1591
|
+
"name": "menuTemplate",
|
|
1592
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1593
|
+
}
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"kind": "js",
|
|
1597
|
+
"name": "singleOptionTemplate",
|
|
1598
|
+
"declaration": {
|
|
1599
|
+
"name": "singleOptionTemplate",
|
|
1600
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1601
|
+
}
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"kind": "js",
|
|
1605
|
+
"name": "foundationActionsMenuTemplate",
|
|
1606
|
+
"declaration": {
|
|
1607
|
+
"name": "foundationActionsMenuTemplate",
|
|
1608
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
]
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"kind": "javascript-module",
|
|
1615
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1616
|
+
"declarations": [
|
|
1617
|
+
{
|
|
1618
|
+
"kind": "class",
|
|
1619
|
+
"description": "",
|
|
1620
|
+
"name": "ActionsMenu",
|
|
1621
|
+
"members": [
|
|
1622
|
+
{
|
|
1623
|
+
"kind": "field",
|
|
1624
|
+
"name": "actions",
|
|
1625
|
+
"type": {
|
|
1626
|
+
"text": "ActionMenuItem[]"
|
|
1627
|
+
}
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"kind": "field",
|
|
1631
|
+
"name": "isVertical",
|
|
1632
|
+
"type": {
|
|
1633
|
+
"text": "boolean"
|
|
1634
|
+
},
|
|
1635
|
+
"default": "false"
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"kind": "field",
|
|
1639
|
+
"name": "addDefaultActions",
|
|
1640
|
+
"type": {
|
|
1641
|
+
"text": "boolean"
|
|
1642
|
+
},
|
|
1643
|
+
"default": "true"
|
|
1644
|
+
},
|
|
1390
1645
|
{
|
|
1391
|
-
"
|
|
1646
|
+
"kind": "field",
|
|
1647
|
+
"name": "autoCloseOnAction",
|
|
1392
1648
|
"type": {
|
|
1393
|
-
"text": "
|
|
1649
|
+
"text": "boolean"
|
|
1394
1650
|
},
|
|
1395
|
-
"default": "
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
"
|
|
1399
|
-
|
|
1400
|
-
|
|
1651
|
+
"default": "true"
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"kind": "field",
|
|
1655
|
+
"name": "classNames",
|
|
1656
|
+
"type": {
|
|
1657
|
+
"text": "string"
|
|
1401
1658
|
}
|
|
1402
1659
|
},
|
|
1403
1660
|
{
|
|
1661
|
+
"kind": "field",
|
|
1662
|
+
"name": "definition",
|
|
1404
1663
|
"type": {
|
|
1405
|
-
"text": "
|
|
1406
|
-
},
|
|
1407
|
-
"default": "false",
|
|
1408
|
-
"description": "Expands or collapses the item.",
|
|
1409
|
-
"fieldName": "expanded",
|
|
1410
|
-
"inheritedFrom": {
|
|
1411
|
-
"name": "AccordionItem",
|
|
1412
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1664
|
+
"text": "any"
|
|
1413
1665
|
}
|
|
1414
1666
|
},
|
|
1415
1667
|
{
|
|
1416
|
-
"
|
|
1668
|
+
"kind": "field",
|
|
1669
|
+
"name": "name",
|
|
1417
1670
|
"type": {
|
|
1418
1671
|
"text": "string"
|
|
1419
1672
|
},
|
|
1420
|
-
"
|
|
1421
|
-
|
|
1422
|
-
"inheritedFrom": {
|
|
1423
|
-
"name": "AccordionItem",
|
|
1424
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1425
|
-
}
|
|
1426
|
-
}
|
|
1427
|
-
],
|
|
1428
|
-
"members": [
|
|
1673
|
+
"default": "'Actions'"
|
|
1674
|
+
},
|
|
1429
1675
|
{
|
|
1430
1676
|
"kind": "field",
|
|
1431
|
-
"name": "
|
|
1677
|
+
"name": "open",
|
|
1432
1678
|
"type": {
|
|
1433
|
-
"text": "
|
|
1679
|
+
"text": "boolean"
|
|
1434
1680
|
},
|
|
1435
|
-
"
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
"
|
|
1439
|
-
|
|
1440
|
-
|
|
1681
|
+
"default": "false"
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"kind": "field",
|
|
1685
|
+
"name": "buttonAppearance",
|
|
1686
|
+
"type": {
|
|
1687
|
+
"text": "string"
|
|
1441
1688
|
}
|
|
1442
1689
|
},
|
|
1443
1690
|
{
|
|
1444
1691
|
"kind": "field",
|
|
1445
|
-
"name": "
|
|
1692
|
+
"name": "hideDisabled",
|
|
1446
1693
|
"type": {
|
|
1447
1694
|
"text": "boolean"
|
|
1448
1695
|
},
|
|
1449
|
-
"
|
|
1450
|
-
"default": "false",
|
|
1451
|
-
"description": "Expands or collapses the item.",
|
|
1452
|
-
"inheritedFrom": {
|
|
1453
|
-
"name": "AccordionItem",
|
|
1454
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1455
|
-
}
|
|
1696
|
+
"default": "false"
|
|
1456
1697
|
},
|
|
1457
1698
|
{
|
|
1458
1699
|
"kind": "field",
|
|
1459
|
-
"name": "
|
|
1700
|
+
"name": "hideMenuSingleOption",
|
|
1460
1701
|
"type": {
|
|
1461
|
-
"text": "
|
|
1702
|
+
"text": "boolean"
|
|
1462
1703
|
},
|
|
1463
|
-
"
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1704
|
+
"default": "false"
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"kind": "field",
|
|
1708
|
+
"name": "singleOption",
|
|
1709
|
+
"type": {
|
|
1710
|
+
"text": "ActionMenuItem"
|
|
1468
1711
|
}
|
|
1469
1712
|
},
|
|
1470
1713
|
{
|
|
1471
1714
|
"kind": "field",
|
|
1472
|
-
"name": "
|
|
1473
|
-
"
|
|
1474
|
-
|
|
1475
|
-
"name": "AccordionItem",
|
|
1476
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1715
|
+
"name": "actionsMenu",
|
|
1716
|
+
"type": {
|
|
1717
|
+
"text": "HTMLElement"
|
|
1477
1718
|
}
|
|
1478
1719
|
},
|
|
1720
|
+
{
|
|
1721
|
+
"kind": "method",
|
|
1722
|
+
"name": "definitionChanged",
|
|
1723
|
+
"privacy": "protected",
|
|
1724
|
+
"parameters": [
|
|
1725
|
+
{
|
|
1726
|
+
"name": "oldValue",
|
|
1727
|
+
"type": {
|
|
1728
|
+
"text": "any"
|
|
1729
|
+
}
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"name": "newValue",
|
|
1733
|
+
"type": {
|
|
1734
|
+
"text": "any"
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
]
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"kind": "method",
|
|
1741
|
+
"name": "openChanged",
|
|
1742
|
+
"privacy": "protected"
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"kind": "method",
|
|
1746
|
+
"name": "toggleActionsMenuVisibility"
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"kind": "method",
|
|
1750
|
+
"name": "onActionMenuItemClick",
|
|
1751
|
+
"parameters": [
|
|
1752
|
+
{
|
|
1753
|
+
"name": "callback",
|
|
1754
|
+
"type": {
|
|
1755
|
+
"text": "(rowData) => void | any"
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
]
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"kind": "field",
|
|
1762
|
+
"name": "allActions",
|
|
1763
|
+
"type": {
|
|
1764
|
+
"text": "ActionMenuItem[]"
|
|
1765
|
+
},
|
|
1766
|
+
"readonly": true
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
"kind": "field",
|
|
1770
|
+
"name": "rowData",
|
|
1771
|
+
"readonly": true
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"kind": "method",
|
|
1775
|
+
"name": "getLabel",
|
|
1776
|
+
"parameters": [
|
|
1777
|
+
{
|
|
1778
|
+
"name": "name",
|
|
1779
|
+
"type": {
|
|
1780
|
+
"text": "string | ((rowData: any) => string)"
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
]
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"kind": "method",
|
|
1787
|
+
"name": "getTemplate",
|
|
1788
|
+
"parameters": [
|
|
1789
|
+
{
|
|
1790
|
+
"name": "prefix",
|
|
1791
|
+
"type": {
|
|
1792
|
+
"text": "string"
|
|
1793
|
+
}
|
|
1794
|
+
}
|
|
1795
|
+
]
|
|
1796
|
+
},
|
|
1479
1797
|
{
|
|
1480
1798
|
"kind": "field",
|
|
1481
1799
|
"name": "_presentation",
|
|
@@ -1557,109 +1875,138 @@
|
|
|
1557
1875
|
}
|
|
1558
1876
|
},
|
|
1559
1877
|
{
|
|
1560
|
-
"kind": "method",
|
|
1561
|
-
"name": "compose",
|
|
1562
|
-
"privacy": "public",
|
|
1563
|
-
"static": true,
|
|
1564
|
-
"return": {
|
|
1565
|
-
"type": {
|
|
1566
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1567
|
-
}
|
|
1878
|
+
"kind": "method",
|
|
1879
|
+
"name": "compose",
|
|
1880
|
+
"privacy": "public",
|
|
1881
|
+
"static": true,
|
|
1882
|
+
"return": {
|
|
1883
|
+
"type": {
|
|
1884
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1885
|
+
}
|
|
1886
|
+
},
|
|
1887
|
+
"parameters": [
|
|
1888
|
+
{
|
|
1889
|
+
"name": "this",
|
|
1890
|
+
"type": {
|
|
1891
|
+
"text": "K"
|
|
1892
|
+
}
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"name": "elementDefinition",
|
|
1896
|
+
"type": {
|
|
1897
|
+
"text": "T"
|
|
1898
|
+
},
|
|
1899
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1900
|
+
}
|
|
1901
|
+
],
|
|
1902
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1903
|
+
"inheritedFrom": {
|
|
1904
|
+
"name": "FoundationElement",
|
|
1905
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
],
|
|
1909
|
+
"attributes": [
|
|
1910
|
+
{
|
|
1911
|
+
"name": "is-vertical",
|
|
1912
|
+
"type": {
|
|
1913
|
+
"text": "boolean"
|
|
1914
|
+
},
|
|
1915
|
+
"default": "false",
|
|
1916
|
+
"fieldName": "isVertical"
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"name": "add-default-actions",
|
|
1920
|
+
"type": {
|
|
1921
|
+
"text": "boolean"
|
|
1922
|
+
},
|
|
1923
|
+
"default": "true",
|
|
1924
|
+
"fieldName": "addDefaultActions"
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
"name": "auto-close-on-action",
|
|
1928
|
+
"type": {
|
|
1929
|
+
"text": "boolean"
|
|
1930
|
+
},
|
|
1931
|
+
"default": "true",
|
|
1932
|
+
"fieldName": "autoCloseOnAction"
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"name": "name",
|
|
1936
|
+
"type": {
|
|
1937
|
+
"text": "string"
|
|
1938
|
+
},
|
|
1939
|
+
"default": "'Actions'",
|
|
1940
|
+
"fieldName": "name"
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"name": "open",
|
|
1944
|
+
"type": {
|
|
1945
|
+
"text": "boolean"
|
|
1946
|
+
},
|
|
1947
|
+
"default": "false",
|
|
1948
|
+
"fieldName": "open"
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"name": "buttonAppearance",
|
|
1952
|
+
"type": {
|
|
1953
|
+
"text": "string"
|
|
1954
|
+
},
|
|
1955
|
+
"fieldName": "buttonAppearance"
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"name": "hide-disabled",
|
|
1959
|
+
"type": {
|
|
1960
|
+
"text": "boolean"
|
|
1961
|
+
},
|
|
1962
|
+
"default": "false",
|
|
1963
|
+
"fieldName": "hideDisabled"
|
|
1964
|
+
},
|
|
1965
|
+
{
|
|
1966
|
+
"name": "hide-menu-single-option",
|
|
1967
|
+
"type": {
|
|
1968
|
+
"text": "boolean"
|
|
1568
1969
|
},
|
|
1569
|
-
"
|
|
1570
|
-
|
|
1571
|
-
"name": "this",
|
|
1572
|
-
"type": {
|
|
1573
|
-
"text": "K"
|
|
1574
|
-
}
|
|
1575
|
-
},
|
|
1576
|
-
{
|
|
1577
|
-
"name": "elementDefinition",
|
|
1578
|
-
"type": {
|
|
1579
|
-
"text": "T"
|
|
1580
|
-
},
|
|
1581
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1582
|
-
}
|
|
1583
|
-
],
|
|
1584
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1585
|
-
"inheritedFrom": {
|
|
1586
|
-
"name": "FoundationElement",
|
|
1587
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1588
|
-
}
|
|
1970
|
+
"default": "false",
|
|
1971
|
+
"fieldName": "hideMenuSingleOption"
|
|
1589
1972
|
}
|
|
1590
1973
|
],
|
|
1591
|
-
"
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
"name": "change",
|
|
1595
|
-
"inheritedFrom": {
|
|
1596
|
-
"name": "AccordionItem",
|
|
1597
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1598
|
-
}
|
|
1599
|
-
}
|
|
1600
|
-
]
|
|
1601
|
-
},
|
|
1602
|
-
{
|
|
1603
|
-
"kind": "variable",
|
|
1604
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1605
|
-
"type": {
|
|
1606
|
-
"text": "ShadowRootInit"
|
|
1607
|
-
},
|
|
1608
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1609
|
-
},
|
|
1610
|
-
{
|
|
1611
|
-
"kind": "variable",
|
|
1612
|
-
"name": "defaultAccordionItemConfig",
|
|
1613
|
-
"type": {
|
|
1614
|
-
"text": "object"
|
|
1974
|
+
"superclass": {
|
|
1975
|
+
"name": "FoundationElement",
|
|
1976
|
+
"package": "@microsoft/fast-foundation"
|
|
1615
1977
|
},
|
|
1616
|
-
"
|
|
1978
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
1979
|
+
"customElement": true
|
|
1617
1980
|
},
|
|
1618
1981
|
{
|
|
1619
1982
|
"kind": "variable",
|
|
1620
|
-
"name": "
|
|
1621
|
-
"description": "The Foundation
|
|
1983
|
+
"name": "foundationActionsMenu",
|
|
1984
|
+
"description": "The Foundation Actions Menu",
|
|
1622
1985
|
"privacy": "public"
|
|
1623
1986
|
}
|
|
1624
1987
|
],
|
|
1625
1988
|
"exports": [
|
|
1626
1989
|
{
|
|
1627
1990
|
"kind": "js",
|
|
1628
|
-
"name": "
|
|
1629
|
-
"declaration": {
|
|
1630
|
-
"name": "AccordionItem",
|
|
1631
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1632
|
-
}
|
|
1633
|
-
},
|
|
1634
|
-
{
|
|
1635
|
-
"kind": "js",
|
|
1636
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1637
|
-
"declaration": {
|
|
1638
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1639
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1640
|
-
}
|
|
1641
|
-
},
|
|
1642
|
-
{
|
|
1643
|
-
"kind": "js",
|
|
1644
|
-
"name": "defaultAccordionItemConfig",
|
|
1991
|
+
"name": "ActionsMenu",
|
|
1645
1992
|
"declaration": {
|
|
1646
|
-
"name": "
|
|
1647
|
-
"module": "src/
|
|
1993
|
+
"name": "ActionsMenu",
|
|
1994
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1648
1995
|
}
|
|
1649
1996
|
},
|
|
1650
1997
|
{
|
|
1651
1998
|
"kind": "js",
|
|
1652
|
-
"name": "
|
|
1999
|
+
"name": "foundationActionsMenu",
|
|
1653
2000
|
"declaration": {
|
|
1654
|
-
"name": "
|
|
1655
|
-
"module": "src/
|
|
2001
|
+
"name": "foundationActionsMenu",
|
|
2002
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1656
2003
|
}
|
|
1657
2004
|
}
|
|
1658
2005
|
]
|
|
1659
2006
|
},
|
|
1660
2007
|
{
|
|
1661
2008
|
"kind": "javascript-module",
|
|
1662
|
-
"path": "src/
|
|
2009
|
+
"path": "src/actions-menu/index.ts",
|
|
1663
2010
|
"declarations": [],
|
|
1664
2011
|
"exports": [
|
|
1665
2012
|
{
|
|
@@ -1667,7 +2014,7 @@
|
|
|
1667
2014
|
"name": "*",
|
|
1668
2015
|
"declaration": {
|
|
1669
2016
|
"name": "*",
|
|
1670
|
-
"package": "./
|
|
2017
|
+
"package": "./actions-menu.styles"
|
|
1671
2018
|
}
|
|
1672
2019
|
},
|
|
1673
2020
|
{
|
|
@@ -1675,7 +2022,7 @@
|
|
|
1675
2022
|
"name": "*",
|
|
1676
2023
|
"declaration": {
|
|
1677
2024
|
"name": "*",
|
|
1678
|
-
"package": "./
|
|
2025
|
+
"package": "./actions-menu.template"
|
|
1679
2026
|
}
|
|
1680
2027
|
},
|
|
1681
2028
|
{
|
|
@@ -1683,41 +2030,18 @@
|
|
|
1683
2030
|
"name": "*",
|
|
1684
2031
|
"declaration": {
|
|
1685
2032
|
"name": "*",
|
|
1686
|
-
"package": "./
|
|
2033
|
+
"package": "./actions-menu"
|
|
1687
2034
|
}
|
|
1688
2035
|
}
|
|
1689
2036
|
]
|
|
1690
2037
|
},
|
|
1691
2038
|
{
|
|
1692
2039
|
"kind": "javascript-module",
|
|
1693
|
-
"path": "src/
|
|
2040
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1694
2041
|
"declarations": [
|
|
1695
2042
|
{
|
|
1696
2043
|
"kind": "function",
|
|
1697
|
-
"name": "
|
|
1698
|
-
"return": {
|
|
1699
|
-
"type": {
|
|
1700
|
-
"text": "ElementStyles"
|
|
1701
|
-
}
|
|
1702
|
-
},
|
|
1703
|
-
"parameters": [
|
|
1704
|
-
{
|
|
1705
|
-
"name": "context",
|
|
1706
|
-
"type": {
|
|
1707
|
-
"text": "ElementDefinitionContext"
|
|
1708
|
-
}
|
|
1709
|
-
},
|
|
1710
|
-
{
|
|
1711
|
-
"name": "definition",
|
|
1712
|
-
"type": {
|
|
1713
|
-
"text": "FoundationElementDefinition"
|
|
1714
|
-
}
|
|
1715
|
-
}
|
|
1716
|
-
]
|
|
1717
|
-
},
|
|
1718
|
-
{
|
|
1719
|
-
"kind": "function",
|
|
1720
|
-
"name": "foundationActionsMenuStyles",
|
|
2044
|
+
"name": "foundationAccordionItemStyles",
|
|
1721
2045
|
"return": {
|
|
1722
2046
|
"type": {
|
|
1723
2047
|
"text": "ElementStyles"
|
|
@@ -1742,269 +2066,156 @@
|
|
|
1742
2066
|
"exports": [
|
|
1743
2067
|
{
|
|
1744
2068
|
"kind": "js",
|
|
1745
|
-
"name": "
|
|
1746
|
-
"declaration": {
|
|
1747
|
-
"name": "actionsMenuBaseStyles",
|
|
1748
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1749
|
-
}
|
|
1750
|
-
},
|
|
1751
|
-
{
|
|
1752
|
-
"kind": "js",
|
|
1753
|
-
"name": "foundationActionsMenuStyles",
|
|
2069
|
+
"name": "foundationAccordionItemStyles",
|
|
1754
2070
|
"declaration": {
|
|
1755
|
-
"name": "
|
|
1756
|
-
"module": "src/
|
|
2071
|
+
"name": "foundationAccordionItemStyles",
|
|
2072
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1757
2073
|
}
|
|
1758
2074
|
}
|
|
1759
2075
|
]
|
|
1760
2076
|
},
|
|
1761
2077
|
{
|
|
1762
2078
|
"kind": "javascript-module",
|
|
1763
|
-
"path": "src/
|
|
2079
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1764
2080
|
"declarations": [
|
|
1765
2081
|
{
|
|
1766
2082
|
"kind": "function",
|
|
1767
|
-
"name": "
|
|
1768
|
-
"
|
|
1769
|
-
{
|
|
1770
|
-
"
|
|
1771
|
-
"type": {
|
|
1772
|
-
"text": "string"
|
|
1773
|
-
}
|
|
1774
|
-
}
|
|
1775
|
-
]
|
|
1776
|
-
},
|
|
1777
|
-
{
|
|
1778
|
-
"kind": "function",
|
|
1779
|
-
"name": "singleOptionTemplate",
|
|
1780
|
-
"parameters": [
|
|
1781
|
-
{
|
|
1782
|
-
"name": "prefix",
|
|
1783
|
-
"type": {
|
|
1784
|
-
"text": "string"
|
|
1785
|
-
}
|
|
2083
|
+
"name": "foundationAccordionItemTemplate",
|
|
2084
|
+
"return": {
|
|
2085
|
+
"type": {
|
|
2086
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1786
2087
|
}
|
|
1787
|
-
]
|
|
1788
|
-
},
|
|
1789
|
-
{
|
|
1790
|
-
"kind": "variable",
|
|
1791
|
-
"name": "foundationActionsMenuTemplate",
|
|
1792
|
-
"type": {
|
|
1793
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1794
2088
|
},
|
|
1795
|
-
"
|
|
1796
|
-
}
|
|
1797
|
-
],
|
|
1798
|
-
"exports": [
|
|
1799
|
-
{
|
|
1800
|
-
"kind": "js",
|
|
1801
|
-
"name": "menuTemplate",
|
|
1802
|
-
"declaration": {
|
|
1803
|
-
"name": "menuTemplate",
|
|
1804
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1805
|
-
}
|
|
1806
|
-
},
|
|
1807
|
-
{
|
|
1808
|
-
"kind": "js",
|
|
1809
|
-
"name": "singleOptionTemplate",
|
|
1810
|
-
"declaration": {
|
|
1811
|
-
"name": "singleOptionTemplate",
|
|
1812
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1813
|
-
}
|
|
1814
|
-
},
|
|
1815
|
-
{
|
|
1816
|
-
"kind": "js",
|
|
1817
|
-
"name": "foundationActionsMenuTemplate",
|
|
1818
|
-
"declaration": {
|
|
1819
|
-
"name": "foundationActionsMenuTemplate",
|
|
1820
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1821
|
-
}
|
|
1822
|
-
}
|
|
1823
|
-
]
|
|
1824
|
-
},
|
|
1825
|
-
{
|
|
1826
|
-
"kind": "javascript-module",
|
|
1827
|
-
"path": "src/actions-menu/actions-menu.ts",
|
|
1828
|
-
"declarations": [
|
|
1829
|
-
{
|
|
1830
|
-
"kind": "class",
|
|
1831
|
-
"description": "",
|
|
1832
|
-
"name": "ActionsMenu",
|
|
1833
|
-
"members": [
|
|
1834
|
-
{
|
|
1835
|
-
"kind": "field",
|
|
1836
|
-
"name": "actions",
|
|
1837
|
-
"type": {
|
|
1838
|
-
"text": "ActionMenuItem[]"
|
|
1839
|
-
}
|
|
1840
|
-
},
|
|
1841
|
-
{
|
|
1842
|
-
"kind": "field",
|
|
1843
|
-
"name": "isVertical",
|
|
1844
|
-
"type": {
|
|
1845
|
-
"text": "boolean"
|
|
1846
|
-
},
|
|
1847
|
-
"default": "false"
|
|
1848
|
-
},
|
|
1849
|
-
{
|
|
1850
|
-
"kind": "field",
|
|
1851
|
-
"name": "addDefaultActions",
|
|
1852
|
-
"type": {
|
|
1853
|
-
"text": "boolean"
|
|
1854
|
-
},
|
|
1855
|
-
"default": "true"
|
|
1856
|
-
},
|
|
1857
|
-
{
|
|
1858
|
-
"kind": "field",
|
|
1859
|
-
"name": "autoCloseOnAction",
|
|
1860
|
-
"type": {
|
|
1861
|
-
"text": "boolean"
|
|
1862
|
-
},
|
|
1863
|
-
"default": "true"
|
|
1864
|
-
},
|
|
2089
|
+
"parameters": [
|
|
1865
2090
|
{
|
|
1866
|
-
"
|
|
1867
|
-
"name": "classNames",
|
|
2091
|
+
"name": "context",
|
|
1868
2092
|
"type": {
|
|
1869
|
-
"text": "
|
|
2093
|
+
"text": "ElementDefinitionContext"
|
|
1870
2094
|
}
|
|
1871
2095
|
},
|
|
1872
2096
|
{
|
|
1873
|
-
"kind": "field",
|
|
1874
2097
|
"name": "definition",
|
|
1875
2098
|
"type": {
|
|
1876
|
-
"text": "
|
|
2099
|
+
"text": "FoundationElementDefinition"
|
|
1877
2100
|
}
|
|
1878
|
-
}
|
|
2101
|
+
}
|
|
2102
|
+
]
|
|
2103
|
+
}
|
|
2104
|
+
],
|
|
2105
|
+
"exports": [
|
|
2106
|
+
{
|
|
2107
|
+
"kind": "js",
|
|
2108
|
+
"name": "foundationAccordionItemTemplate",
|
|
2109
|
+
"declaration": {
|
|
2110
|
+
"name": "foundationAccordionItemTemplate",
|
|
2111
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
]
|
|
2115
|
+
},
|
|
2116
|
+
{
|
|
2117
|
+
"kind": "javascript-module",
|
|
2118
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2119
|
+
"declarations": [
|
|
2120
|
+
{
|
|
2121
|
+
"kind": "class",
|
|
2122
|
+
"description": "",
|
|
2123
|
+
"name": "AccordionItem",
|
|
2124
|
+
"superclass": {
|
|
2125
|
+
"name": "FASTAccordionItem",
|
|
2126
|
+
"package": "@microsoft/fast-components"
|
|
2127
|
+
},
|
|
2128
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2129
|
+
"customElement": true,
|
|
2130
|
+
"attributes": [
|
|
1879
2131
|
{
|
|
1880
|
-
"
|
|
1881
|
-
"name": "name",
|
|
2132
|
+
"name": "heading-level",
|
|
1882
2133
|
"type": {
|
|
1883
|
-
"text": "
|
|
2134
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1884
2135
|
},
|
|
1885
|
-
"default": "
|
|
2136
|
+
"default": "2",
|
|
2137
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2138
|
+
"fieldName": "headinglevel",
|
|
2139
|
+
"inheritedFrom": {
|
|
2140
|
+
"name": "AccordionItem",
|
|
2141
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2142
|
+
}
|
|
1886
2143
|
},
|
|
1887
2144
|
{
|
|
1888
|
-
"kind": "field",
|
|
1889
|
-
"name": "open",
|
|
1890
2145
|
"type": {
|
|
1891
2146
|
"text": "boolean"
|
|
1892
2147
|
},
|
|
1893
|
-
"default": "false"
|
|
2148
|
+
"default": "false",
|
|
2149
|
+
"description": "Expands or collapses the item.",
|
|
2150
|
+
"fieldName": "expanded",
|
|
2151
|
+
"inheritedFrom": {
|
|
2152
|
+
"name": "AccordionItem",
|
|
2153
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2154
|
+
}
|
|
1894
2155
|
},
|
|
1895
2156
|
{
|
|
1896
|
-
"
|
|
1897
|
-
"name": "buttonAppearance",
|
|
2157
|
+
"name": "id",
|
|
1898
2158
|
"type": {
|
|
1899
2159
|
"text": "string"
|
|
2160
|
+
},
|
|
2161
|
+
"description": "The item ID",
|
|
2162
|
+
"fieldName": "id",
|
|
2163
|
+
"inheritedFrom": {
|
|
2164
|
+
"name": "AccordionItem",
|
|
2165
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1900
2166
|
}
|
|
1901
|
-
}
|
|
2167
|
+
}
|
|
2168
|
+
],
|
|
2169
|
+
"members": [
|
|
1902
2170
|
{
|
|
1903
2171
|
"kind": "field",
|
|
1904
|
-
"name": "
|
|
2172
|
+
"name": "headinglevel",
|
|
1905
2173
|
"type": {
|
|
1906
|
-
"text": "
|
|
2174
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1907
2175
|
},
|
|
1908
|
-
"
|
|
2176
|
+
"privacy": "public",
|
|
2177
|
+
"default": "2",
|
|
2178
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2179
|
+
"inheritedFrom": {
|
|
2180
|
+
"name": "AccordionItem",
|
|
2181
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2182
|
+
}
|
|
1909
2183
|
},
|
|
1910
2184
|
{
|
|
1911
2185
|
"kind": "field",
|
|
1912
|
-
"name": "
|
|
2186
|
+
"name": "expanded",
|
|
1913
2187
|
"type": {
|
|
1914
2188
|
"text": "boolean"
|
|
1915
2189
|
},
|
|
1916
|
-
"
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
"
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
"text": "ActionMenuItem"
|
|
1923
|
-
}
|
|
1924
|
-
},
|
|
1925
|
-
{
|
|
1926
|
-
"kind": "field",
|
|
1927
|
-
"name": "actionsMenu",
|
|
1928
|
-
"type": {
|
|
1929
|
-
"text": "HTMLElement"
|
|
2190
|
+
"privacy": "public",
|
|
2191
|
+
"default": "false",
|
|
2192
|
+
"description": "Expands or collapses the item.",
|
|
2193
|
+
"inheritedFrom": {
|
|
2194
|
+
"name": "AccordionItem",
|
|
2195
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1930
2196
|
}
|
|
1931
2197
|
},
|
|
1932
|
-
{
|
|
1933
|
-
"kind": "method",
|
|
1934
|
-
"name": "definitionChanged",
|
|
1935
|
-
"privacy": "protected",
|
|
1936
|
-
"parameters": [
|
|
1937
|
-
{
|
|
1938
|
-
"name": "oldValue",
|
|
1939
|
-
"type": {
|
|
1940
|
-
"text": "any"
|
|
1941
|
-
}
|
|
1942
|
-
},
|
|
1943
|
-
{
|
|
1944
|
-
"name": "newValue",
|
|
1945
|
-
"type": {
|
|
1946
|
-
"text": "any"
|
|
1947
|
-
}
|
|
1948
|
-
}
|
|
1949
|
-
]
|
|
1950
|
-
},
|
|
1951
|
-
{
|
|
1952
|
-
"kind": "method",
|
|
1953
|
-
"name": "openChanged",
|
|
1954
|
-
"privacy": "protected"
|
|
1955
|
-
},
|
|
1956
|
-
{
|
|
1957
|
-
"kind": "method",
|
|
1958
|
-
"name": "toggleActionsMenuVisibility"
|
|
1959
|
-
},
|
|
1960
|
-
{
|
|
1961
|
-
"kind": "method",
|
|
1962
|
-
"name": "onActionMenuItemClick",
|
|
1963
|
-
"parameters": [
|
|
1964
|
-
{
|
|
1965
|
-
"name": "callback",
|
|
1966
|
-
"type": {
|
|
1967
|
-
"text": "(rowData) => void | any"
|
|
1968
|
-
}
|
|
1969
|
-
}
|
|
1970
|
-
]
|
|
1971
|
-
},
|
|
1972
2198
|
{
|
|
1973
2199
|
"kind": "field",
|
|
1974
|
-
"name": "
|
|
2200
|
+
"name": "id",
|
|
1975
2201
|
"type": {
|
|
1976
|
-
"text": "
|
|
2202
|
+
"text": "string"
|
|
1977
2203
|
},
|
|
1978
|
-
"
|
|
2204
|
+
"privacy": "public",
|
|
2205
|
+
"description": "The item ID",
|
|
2206
|
+
"inheritedFrom": {
|
|
2207
|
+
"name": "AccordionItem",
|
|
2208
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2209
|
+
}
|
|
1979
2210
|
},
|
|
1980
2211
|
{
|
|
1981
2212
|
"kind": "field",
|
|
1982
|
-
"name": "
|
|
1983
|
-
"
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
"parameters": [
|
|
1989
|
-
{
|
|
1990
|
-
"name": "name",
|
|
1991
|
-
"type": {
|
|
1992
|
-
"text": "string | ((rowData: any) => string)"
|
|
1993
|
-
}
|
|
1994
|
-
}
|
|
1995
|
-
]
|
|
1996
|
-
},
|
|
1997
|
-
{
|
|
1998
|
-
"kind": "method",
|
|
1999
|
-
"name": "getTemplate",
|
|
2000
|
-
"parameters": [
|
|
2001
|
-
{
|
|
2002
|
-
"name": "prefix",
|
|
2003
|
-
"type": {
|
|
2004
|
-
"text": "string"
|
|
2005
|
-
}
|
|
2006
|
-
}
|
|
2007
|
-
]
|
|
2213
|
+
"name": "change",
|
|
2214
|
+
"privacy": "private",
|
|
2215
|
+
"inheritedFrom": {
|
|
2216
|
+
"name": "AccordionItem",
|
|
2217
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2218
|
+
}
|
|
2008
2219
|
},
|
|
2009
2220
|
{
|
|
2010
2221
|
"kind": "field",
|
|
@@ -2112,113 +2323,84 @@
|
|
|
2112
2323
|
}
|
|
2113
2324
|
],
|
|
2114
2325
|
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2115
|
-
"inheritedFrom": {
|
|
2116
|
-
"name": "FoundationElement",
|
|
2117
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2118
|
-
}
|
|
2119
|
-
}
|
|
2120
|
-
],
|
|
2121
|
-
"attributes": [
|
|
2122
|
-
{
|
|
2123
|
-
"name": "is-vertical",
|
|
2124
|
-
"type": {
|
|
2125
|
-
"text": "boolean"
|
|
2126
|
-
},
|
|
2127
|
-
"default": "false",
|
|
2128
|
-
"fieldName": "isVertical"
|
|
2129
|
-
},
|
|
2130
|
-
{
|
|
2131
|
-
"name": "add-default-actions",
|
|
2132
|
-
"type": {
|
|
2133
|
-
"text": "boolean"
|
|
2134
|
-
},
|
|
2135
|
-
"default": "true",
|
|
2136
|
-
"fieldName": "addDefaultActions"
|
|
2137
|
-
},
|
|
2138
|
-
{
|
|
2139
|
-
"name": "auto-close-on-action",
|
|
2140
|
-
"type": {
|
|
2141
|
-
"text": "boolean"
|
|
2142
|
-
},
|
|
2143
|
-
"default": "true",
|
|
2144
|
-
"fieldName": "autoCloseOnAction"
|
|
2145
|
-
},
|
|
2146
|
-
{
|
|
2147
|
-
"name": "name",
|
|
2148
|
-
"type": {
|
|
2149
|
-
"text": "string"
|
|
2150
|
-
},
|
|
2151
|
-
"default": "'Actions'",
|
|
2152
|
-
"fieldName": "name"
|
|
2153
|
-
},
|
|
2154
|
-
{
|
|
2155
|
-
"name": "open",
|
|
2156
|
-
"type": {
|
|
2157
|
-
"text": "boolean"
|
|
2158
|
-
},
|
|
2159
|
-
"default": "false",
|
|
2160
|
-
"fieldName": "open"
|
|
2161
|
-
},
|
|
2162
|
-
{
|
|
2163
|
-
"name": "buttonAppearance",
|
|
2164
|
-
"type": {
|
|
2165
|
-
"text": "string"
|
|
2166
|
-
},
|
|
2167
|
-
"fieldName": "buttonAppearance"
|
|
2168
|
-
},
|
|
2169
|
-
{
|
|
2170
|
-
"name": "hide-disabled",
|
|
2171
|
-
"type": {
|
|
2172
|
-
"text": "boolean"
|
|
2173
|
-
},
|
|
2174
|
-
"default": "false",
|
|
2175
|
-
"fieldName": "hideDisabled"
|
|
2176
|
-
},
|
|
2177
|
-
{
|
|
2178
|
-
"name": "hide-menu-single-option",
|
|
2179
|
-
"type": {
|
|
2180
|
-
"text": "boolean"
|
|
2181
|
-
},
|
|
2182
|
-
"default": "false",
|
|
2183
|
-
"fieldName": "hideMenuSingleOption"
|
|
2326
|
+
"inheritedFrom": {
|
|
2327
|
+
"name": "FoundationElement",
|
|
2328
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2329
|
+
}
|
|
2184
2330
|
}
|
|
2185
2331
|
],
|
|
2186
|
-
"
|
|
2187
|
-
|
|
2188
|
-
|
|
2332
|
+
"events": [
|
|
2333
|
+
{
|
|
2334
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2335
|
+
"name": "change",
|
|
2336
|
+
"inheritedFrom": {
|
|
2337
|
+
"name": "AccordionItem",
|
|
2338
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2339
|
+
}
|
|
2340
|
+
}
|
|
2341
|
+
]
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
"kind": "variable",
|
|
2345
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2346
|
+
"type": {
|
|
2347
|
+
"text": "ShadowRootInit"
|
|
2189
2348
|
},
|
|
2190
|
-
"
|
|
2191
|
-
"customElement": true
|
|
2349
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2192
2350
|
},
|
|
2193
2351
|
{
|
|
2194
2352
|
"kind": "variable",
|
|
2195
|
-
"name": "
|
|
2196
|
-
"
|
|
2353
|
+
"name": "defaultAccordionItemConfig",
|
|
2354
|
+
"type": {
|
|
2355
|
+
"text": "object"
|
|
2356
|
+
},
|
|
2357
|
+
"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}"
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
"kind": "variable",
|
|
2361
|
+
"name": "foundationAccordionItem",
|
|
2362
|
+
"description": "The Foundation Accordion Item",
|
|
2197
2363
|
"privacy": "public"
|
|
2198
2364
|
}
|
|
2199
2365
|
],
|
|
2200
2366
|
"exports": [
|
|
2201
2367
|
{
|
|
2202
2368
|
"kind": "js",
|
|
2203
|
-
"name": "
|
|
2369
|
+
"name": "AccordionItem",
|
|
2204
2370
|
"declaration": {
|
|
2205
|
-
"name": "
|
|
2206
|
-
"module": "src/
|
|
2371
|
+
"name": "AccordionItem",
|
|
2372
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2207
2373
|
}
|
|
2208
2374
|
},
|
|
2209
2375
|
{
|
|
2210
2376
|
"kind": "js",
|
|
2211
|
-
"name": "
|
|
2377
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2212
2378
|
"declaration": {
|
|
2213
|
-
"name": "
|
|
2214
|
-
"module": "src/
|
|
2379
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2380
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2381
|
+
}
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
"kind": "js",
|
|
2385
|
+
"name": "defaultAccordionItemConfig",
|
|
2386
|
+
"declaration": {
|
|
2387
|
+
"name": "defaultAccordionItemConfig",
|
|
2388
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2389
|
+
}
|
|
2390
|
+
},
|
|
2391
|
+
{
|
|
2392
|
+
"kind": "js",
|
|
2393
|
+
"name": "foundationAccordionItem",
|
|
2394
|
+
"declaration": {
|
|
2395
|
+
"name": "foundationAccordionItem",
|
|
2396
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2215
2397
|
}
|
|
2216
2398
|
}
|
|
2217
2399
|
]
|
|
2218
2400
|
},
|
|
2219
2401
|
{
|
|
2220
2402
|
"kind": "javascript-module",
|
|
2221
|
-
"path": "src/
|
|
2403
|
+
"path": "src/accordion-item/index.ts",
|
|
2222
2404
|
"declarations": [],
|
|
2223
2405
|
"exports": [
|
|
2224
2406
|
{
|
|
@@ -2226,7 +2408,7 @@
|
|
|
2226
2408
|
"name": "*",
|
|
2227
2409
|
"declaration": {
|
|
2228
2410
|
"name": "*",
|
|
2229
|
-
"package": "./
|
|
2411
|
+
"package": "./accordion-item.template"
|
|
2230
2412
|
}
|
|
2231
2413
|
},
|
|
2232
2414
|
{
|
|
@@ -2234,7 +2416,7 @@
|
|
|
2234
2416
|
"name": "*",
|
|
2235
2417
|
"declaration": {
|
|
2236
2418
|
"name": "*",
|
|
2237
|
-
"package": "./
|
|
2419
|
+
"package": "./accordion-item.styles"
|
|
2238
2420
|
}
|
|
2239
2421
|
},
|
|
2240
2422
|
{
|
|
@@ -2242,7 +2424,7 @@
|
|
|
2242
2424
|
"name": "*",
|
|
2243
2425
|
"declaration": {
|
|
2244
2426
|
"name": "*",
|
|
2245
|
-
"package": "./
|
|
2427
|
+
"package": "./accordion-item"
|
|
2246
2428
|
}
|
|
2247
2429
|
}
|
|
2248
2430
|
]
|
|
@@ -2767,188 +2949,6 @@
|
|
|
2767
2949
|
}
|
|
2768
2950
|
]
|
|
2769
2951
|
},
|
|
2770
|
-
{
|
|
2771
|
-
"kind": "javascript-module",
|
|
2772
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
2773
|
-
"declarations": [
|
|
2774
|
-
{
|
|
2775
|
-
"kind": "function",
|
|
2776
|
-
"name": "foundationAccordionStyles",
|
|
2777
|
-
"return": {
|
|
2778
|
-
"type": {
|
|
2779
|
-
"text": "ElementStyles"
|
|
2780
|
-
}
|
|
2781
|
-
},
|
|
2782
|
-
"parameters": [
|
|
2783
|
-
{
|
|
2784
|
-
"name": "context",
|
|
2785
|
-
"type": {
|
|
2786
|
-
"text": "ElementDefinitionContext"
|
|
2787
|
-
}
|
|
2788
|
-
},
|
|
2789
|
-
{
|
|
2790
|
-
"name": "definition",
|
|
2791
|
-
"type": {
|
|
2792
|
-
"text": "FoundationElementDefinition"
|
|
2793
|
-
}
|
|
2794
|
-
}
|
|
2795
|
-
]
|
|
2796
|
-
}
|
|
2797
|
-
],
|
|
2798
|
-
"exports": [
|
|
2799
|
-
{
|
|
2800
|
-
"kind": "js",
|
|
2801
|
-
"name": "foundationAccordionStyles",
|
|
2802
|
-
"declaration": {
|
|
2803
|
-
"name": "foundationAccordionStyles",
|
|
2804
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
2805
|
-
}
|
|
2806
|
-
}
|
|
2807
|
-
]
|
|
2808
|
-
},
|
|
2809
|
-
{
|
|
2810
|
-
"kind": "javascript-module",
|
|
2811
|
-
"path": "src/accordion/accordion.template.ts",
|
|
2812
|
-
"declarations": [
|
|
2813
|
-
{
|
|
2814
|
-
"kind": "function",
|
|
2815
|
-
"name": "foundationAccordionTemplate",
|
|
2816
|
-
"return": {
|
|
2817
|
-
"type": {
|
|
2818
|
-
"text": "ViewTemplate<Accordion>"
|
|
2819
|
-
}
|
|
2820
|
-
},
|
|
2821
|
-
"parameters": [
|
|
2822
|
-
{
|
|
2823
|
-
"name": "context",
|
|
2824
|
-
"type": {
|
|
2825
|
-
"text": "ElementDefinitionContext"
|
|
2826
|
-
}
|
|
2827
|
-
},
|
|
2828
|
-
{
|
|
2829
|
-
"name": "definition",
|
|
2830
|
-
"type": {
|
|
2831
|
-
"text": "FoundationElementDefinition"
|
|
2832
|
-
}
|
|
2833
|
-
}
|
|
2834
|
-
]
|
|
2835
|
-
}
|
|
2836
|
-
],
|
|
2837
|
-
"exports": [
|
|
2838
|
-
{
|
|
2839
|
-
"kind": "js",
|
|
2840
|
-
"name": "foundationAccordionTemplate",
|
|
2841
|
-
"declaration": {
|
|
2842
|
-
"name": "foundationAccordionTemplate",
|
|
2843
|
-
"module": "src/accordion/accordion.template.ts"
|
|
2844
|
-
}
|
|
2845
|
-
}
|
|
2846
|
-
]
|
|
2847
|
-
},
|
|
2848
|
-
{
|
|
2849
|
-
"kind": "javascript-module",
|
|
2850
|
-
"path": "src/accordion/accordion.ts",
|
|
2851
|
-
"declarations": [
|
|
2852
|
-
{
|
|
2853
|
-
"kind": "class",
|
|
2854
|
-
"description": "",
|
|
2855
|
-
"name": "Accordion",
|
|
2856
|
-
"superclass": {
|
|
2857
|
-
"name": "FASTAccordion",
|
|
2858
|
-
"package": "@microsoft/fast-foundation"
|
|
2859
|
-
},
|
|
2860
|
-
"tagName": "%%prefix%%-accordion",
|
|
2861
|
-
"customElement": true
|
|
2862
|
-
},
|
|
2863
|
-
{
|
|
2864
|
-
"kind": "variable",
|
|
2865
|
-
"name": "foundationAccordionShadowOptions",
|
|
2866
|
-
"type": {
|
|
2867
|
-
"text": "ShadowRootInit"
|
|
2868
|
-
},
|
|
2869
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2870
|
-
},
|
|
2871
|
-
{
|
|
2872
|
-
"kind": "variable",
|
|
2873
|
-
"name": "defaultAccordionConfig",
|
|
2874
|
-
"type": {
|
|
2875
|
-
"text": "object"
|
|
2876
|
-
},
|
|
2877
|
-
"default": "{}"
|
|
2878
|
-
},
|
|
2879
|
-
{
|
|
2880
|
-
"kind": "variable",
|
|
2881
|
-
"name": "foundationAccordion",
|
|
2882
|
-
"description": "The Foundation Accordion",
|
|
2883
|
-
"privacy": "public"
|
|
2884
|
-
}
|
|
2885
|
-
],
|
|
2886
|
-
"exports": [
|
|
2887
|
-
{
|
|
2888
|
-
"kind": "js",
|
|
2889
|
-
"name": "Accordion",
|
|
2890
|
-
"declaration": {
|
|
2891
|
-
"name": "Accordion",
|
|
2892
|
-
"module": "src/accordion/accordion.ts"
|
|
2893
|
-
}
|
|
2894
|
-
},
|
|
2895
|
-
{
|
|
2896
|
-
"kind": "js",
|
|
2897
|
-
"name": "foundationAccordionShadowOptions",
|
|
2898
|
-
"declaration": {
|
|
2899
|
-
"name": "foundationAccordionShadowOptions",
|
|
2900
|
-
"module": "src/accordion/accordion.ts"
|
|
2901
|
-
}
|
|
2902
|
-
},
|
|
2903
|
-
{
|
|
2904
|
-
"kind": "js",
|
|
2905
|
-
"name": "defaultAccordionConfig",
|
|
2906
|
-
"declaration": {
|
|
2907
|
-
"name": "defaultAccordionConfig",
|
|
2908
|
-
"module": "src/accordion/accordion.ts"
|
|
2909
|
-
}
|
|
2910
|
-
},
|
|
2911
|
-
{
|
|
2912
|
-
"kind": "js",
|
|
2913
|
-
"name": "foundationAccordion",
|
|
2914
|
-
"declaration": {
|
|
2915
|
-
"name": "foundationAccordion",
|
|
2916
|
-
"module": "src/accordion/accordion.ts"
|
|
2917
|
-
}
|
|
2918
|
-
}
|
|
2919
|
-
]
|
|
2920
|
-
},
|
|
2921
|
-
{
|
|
2922
|
-
"kind": "javascript-module",
|
|
2923
|
-
"path": "src/accordion/index.ts",
|
|
2924
|
-
"declarations": [],
|
|
2925
|
-
"exports": [
|
|
2926
|
-
{
|
|
2927
|
-
"kind": "js",
|
|
2928
|
-
"name": "*",
|
|
2929
|
-
"declaration": {
|
|
2930
|
-
"name": "*",
|
|
2931
|
-
"package": "./accordion.template"
|
|
2932
|
-
}
|
|
2933
|
-
},
|
|
2934
|
-
{
|
|
2935
|
-
"kind": "js",
|
|
2936
|
-
"name": "*",
|
|
2937
|
-
"declaration": {
|
|
2938
|
-
"name": "*",
|
|
2939
|
-
"package": "./accordion.styles"
|
|
2940
|
-
}
|
|
2941
|
-
},
|
|
2942
|
-
{
|
|
2943
|
-
"kind": "js",
|
|
2944
|
-
"name": "*",
|
|
2945
|
-
"declaration": {
|
|
2946
|
-
"name": "*",
|
|
2947
|
-
"package": "./accordion"
|
|
2948
|
-
}
|
|
2949
|
-
}
|
|
2950
|
-
]
|
|
2951
|
-
},
|
|
2952
2952
|
{
|
|
2953
2953
|
"kind": "javascript-module",
|
|
2954
2954
|
"path": "src/anchored-region/anchor-region.template.ts",
|