@genesislcap/foundation-ui 14.382.2 → 14.382.3-alpha-9f491fa.0
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 +461 -444
- package/dist/dts/dropdown-menu/dropdown-menu.d.ts +2 -1
- package/dist/dts/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/dist/dts/dropdown-menu/dropdown-menu.template.d.ts.map +1 -1
- package/dist/esm/dropdown-menu/dropdown-menu.js +9 -4
- package/dist/esm/dropdown-menu/dropdown-menu.template.js +3 -1
- package/package.json +18 -18
|
@@ -1294,6 +1294,400 @@
|
|
|
1294
1294
|
}
|
|
1295
1295
|
]
|
|
1296
1296
|
},
|
|
1297
|
+
{
|
|
1298
|
+
"kind": "javascript-module",
|
|
1299
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1300
|
+
"declarations": [
|
|
1301
|
+
{
|
|
1302
|
+
"kind": "function",
|
|
1303
|
+
"name": "foundationAccordionItemStyles",
|
|
1304
|
+
"return": {
|
|
1305
|
+
"type": {
|
|
1306
|
+
"text": "ElementStyles"
|
|
1307
|
+
}
|
|
1308
|
+
},
|
|
1309
|
+
"parameters": [
|
|
1310
|
+
{
|
|
1311
|
+
"name": "context",
|
|
1312
|
+
"type": {
|
|
1313
|
+
"text": "ElementDefinitionContext"
|
|
1314
|
+
}
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"name": "definition",
|
|
1318
|
+
"type": {
|
|
1319
|
+
"text": "FoundationElementDefinition"
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
]
|
|
1323
|
+
}
|
|
1324
|
+
],
|
|
1325
|
+
"exports": [
|
|
1326
|
+
{
|
|
1327
|
+
"kind": "js",
|
|
1328
|
+
"name": "foundationAccordionItemStyles",
|
|
1329
|
+
"declaration": {
|
|
1330
|
+
"name": "foundationAccordionItemStyles",
|
|
1331
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
]
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"kind": "javascript-module",
|
|
1338
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1339
|
+
"declarations": [
|
|
1340
|
+
{
|
|
1341
|
+
"kind": "function",
|
|
1342
|
+
"name": "foundationAccordionItemTemplate",
|
|
1343
|
+
"return": {
|
|
1344
|
+
"type": {
|
|
1345
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1346
|
+
}
|
|
1347
|
+
},
|
|
1348
|
+
"parameters": [
|
|
1349
|
+
{
|
|
1350
|
+
"name": "context",
|
|
1351
|
+
"type": {
|
|
1352
|
+
"text": "ElementDefinitionContext"
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"name": "definition",
|
|
1357
|
+
"type": {
|
|
1358
|
+
"text": "FoundationElementDefinition"
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
]
|
|
1362
|
+
}
|
|
1363
|
+
],
|
|
1364
|
+
"exports": [
|
|
1365
|
+
{
|
|
1366
|
+
"kind": "js",
|
|
1367
|
+
"name": "foundationAccordionItemTemplate",
|
|
1368
|
+
"declaration": {
|
|
1369
|
+
"name": "foundationAccordionItemTemplate",
|
|
1370
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
]
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"kind": "javascript-module",
|
|
1377
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1378
|
+
"declarations": [
|
|
1379
|
+
{
|
|
1380
|
+
"kind": "class",
|
|
1381
|
+
"description": "",
|
|
1382
|
+
"name": "AccordionItem",
|
|
1383
|
+
"superclass": {
|
|
1384
|
+
"name": "FASTAccordionItem",
|
|
1385
|
+
"package": "@microsoft/fast-components"
|
|
1386
|
+
},
|
|
1387
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1388
|
+
"customElement": true,
|
|
1389
|
+
"attributes": [
|
|
1390
|
+
{
|
|
1391
|
+
"name": "heading-level",
|
|
1392
|
+
"type": {
|
|
1393
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1394
|
+
},
|
|
1395
|
+
"default": "2",
|
|
1396
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1397
|
+
"fieldName": "headinglevel",
|
|
1398
|
+
"inheritedFrom": {
|
|
1399
|
+
"name": "AccordionItem",
|
|
1400
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1401
|
+
}
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"type": {
|
|
1405
|
+
"text": "boolean"
|
|
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"
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"name": "id",
|
|
1417
|
+
"type": {
|
|
1418
|
+
"text": "string"
|
|
1419
|
+
},
|
|
1420
|
+
"description": "The item ID",
|
|
1421
|
+
"fieldName": "id",
|
|
1422
|
+
"inheritedFrom": {
|
|
1423
|
+
"name": "AccordionItem",
|
|
1424
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
],
|
|
1428
|
+
"members": [
|
|
1429
|
+
{
|
|
1430
|
+
"kind": "field",
|
|
1431
|
+
"name": "headinglevel",
|
|
1432
|
+
"type": {
|
|
1433
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1434
|
+
},
|
|
1435
|
+
"privacy": "public",
|
|
1436
|
+
"default": "2",
|
|
1437
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1438
|
+
"inheritedFrom": {
|
|
1439
|
+
"name": "AccordionItem",
|
|
1440
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1441
|
+
}
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"kind": "field",
|
|
1445
|
+
"name": "expanded",
|
|
1446
|
+
"type": {
|
|
1447
|
+
"text": "boolean"
|
|
1448
|
+
},
|
|
1449
|
+
"privacy": "public",
|
|
1450
|
+
"default": "false",
|
|
1451
|
+
"description": "Expands or collapses the item.",
|
|
1452
|
+
"inheritedFrom": {
|
|
1453
|
+
"name": "AccordionItem",
|
|
1454
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1455
|
+
}
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"kind": "field",
|
|
1459
|
+
"name": "id",
|
|
1460
|
+
"type": {
|
|
1461
|
+
"text": "string"
|
|
1462
|
+
},
|
|
1463
|
+
"privacy": "public",
|
|
1464
|
+
"description": "The item ID",
|
|
1465
|
+
"inheritedFrom": {
|
|
1466
|
+
"name": "AccordionItem",
|
|
1467
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"kind": "field",
|
|
1472
|
+
"name": "change",
|
|
1473
|
+
"privacy": "private",
|
|
1474
|
+
"inheritedFrom": {
|
|
1475
|
+
"name": "AccordionItem",
|
|
1476
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"kind": "field",
|
|
1481
|
+
"name": "_presentation",
|
|
1482
|
+
"type": {
|
|
1483
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1484
|
+
},
|
|
1485
|
+
"privacy": "private",
|
|
1486
|
+
"default": "void 0",
|
|
1487
|
+
"inheritedFrom": {
|
|
1488
|
+
"name": "FoundationElement",
|
|
1489
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1490
|
+
}
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"kind": "field",
|
|
1494
|
+
"name": "$presentation",
|
|
1495
|
+
"type": {
|
|
1496
|
+
"text": "ComponentPresentation | null"
|
|
1497
|
+
},
|
|
1498
|
+
"privacy": "public",
|
|
1499
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1500
|
+
"inheritedFrom": {
|
|
1501
|
+
"name": "FoundationElement",
|
|
1502
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1503
|
+
}
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
"kind": "field",
|
|
1507
|
+
"name": "template",
|
|
1508
|
+
"type": {
|
|
1509
|
+
"text": "ElementViewTemplate | void | null"
|
|
1510
|
+
},
|
|
1511
|
+
"privacy": "public",
|
|
1512
|
+
"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.",
|
|
1513
|
+
"inheritedFrom": {
|
|
1514
|
+
"name": "FoundationElement",
|
|
1515
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
"kind": "method",
|
|
1520
|
+
"name": "templateChanged",
|
|
1521
|
+
"privacy": "protected",
|
|
1522
|
+
"return": {
|
|
1523
|
+
"type": {
|
|
1524
|
+
"text": "void"
|
|
1525
|
+
}
|
|
1526
|
+
},
|
|
1527
|
+
"inheritedFrom": {
|
|
1528
|
+
"name": "FoundationElement",
|
|
1529
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"kind": "field",
|
|
1534
|
+
"name": "styles",
|
|
1535
|
+
"type": {
|
|
1536
|
+
"text": "ElementStyles | void | null"
|
|
1537
|
+
},
|
|
1538
|
+
"privacy": "public",
|
|
1539
|
+
"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.",
|
|
1540
|
+
"inheritedFrom": {
|
|
1541
|
+
"name": "FoundationElement",
|
|
1542
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1543
|
+
}
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"kind": "method",
|
|
1547
|
+
"name": "stylesChanged",
|
|
1548
|
+
"privacy": "protected",
|
|
1549
|
+
"return": {
|
|
1550
|
+
"type": {
|
|
1551
|
+
"text": "void"
|
|
1552
|
+
}
|
|
1553
|
+
},
|
|
1554
|
+
"inheritedFrom": {
|
|
1555
|
+
"name": "FoundationElement",
|
|
1556
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1557
|
+
}
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
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
|
+
}
|
|
1568
|
+
},
|
|
1569
|
+
"parameters": [
|
|
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
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
],
|
|
1591
|
+
"events": [
|
|
1592
|
+
{
|
|
1593
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
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"
|
|
1615
|
+
},
|
|
1616
|
+
"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}"
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
"kind": "variable",
|
|
1620
|
+
"name": "foundationAccordionItem",
|
|
1621
|
+
"description": "The Foundation Accordion Item",
|
|
1622
|
+
"privacy": "public"
|
|
1623
|
+
}
|
|
1624
|
+
],
|
|
1625
|
+
"exports": [
|
|
1626
|
+
{
|
|
1627
|
+
"kind": "js",
|
|
1628
|
+
"name": "AccordionItem",
|
|
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",
|
|
1645
|
+
"declaration": {
|
|
1646
|
+
"name": "defaultAccordionItemConfig",
|
|
1647
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1648
|
+
}
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"kind": "js",
|
|
1652
|
+
"name": "foundationAccordionItem",
|
|
1653
|
+
"declaration": {
|
|
1654
|
+
"name": "foundationAccordionItem",
|
|
1655
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1656
|
+
}
|
|
1657
|
+
}
|
|
1658
|
+
]
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
"kind": "javascript-module",
|
|
1662
|
+
"path": "src/accordion-item/index.ts",
|
|
1663
|
+
"declarations": [],
|
|
1664
|
+
"exports": [
|
|
1665
|
+
{
|
|
1666
|
+
"kind": "js",
|
|
1667
|
+
"name": "*",
|
|
1668
|
+
"declaration": {
|
|
1669
|
+
"name": "*",
|
|
1670
|
+
"package": "./accordion-item.template"
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
"kind": "js",
|
|
1675
|
+
"name": "*",
|
|
1676
|
+
"declaration": {
|
|
1677
|
+
"name": "*",
|
|
1678
|
+
"package": "./accordion-item.styles"
|
|
1679
|
+
}
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
"kind": "js",
|
|
1683
|
+
"name": "*",
|
|
1684
|
+
"declaration": {
|
|
1685
|
+
"name": "*",
|
|
1686
|
+
"package": "./accordion-item"
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
]
|
|
1690
|
+
},
|
|
1297
1691
|
{
|
|
1298
1692
|
"kind": "javascript-module",
|
|
1299
1693
|
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
@@ -1855,11 +2249,11 @@
|
|
|
1855
2249
|
},
|
|
1856
2250
|
{
|
|
1857
2251
|
"kind": "javascript-module",
|
|
1858
|
-
"path": "src/accordion
|
|
2252
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1859
2253
|
"declarations": [
|
|
1860
2254
|
{
|
|
1861
2255
|
"kind": "function",
|
|
1862
|
-
"name": "
|
|
2256
|
+
"name": "foundationAccordionStyles",
|
|
1863
2257
|
"return": {
|
|
1864
2258
|
"type": {
|
|
1865
2259
|
"text": "ElementStyles"
|
|
@@ -1884,24 +2278,24 @@
|
|
|
1884
2278
|
"exports": [
|
|
1885
2279
|
{
|
|
1886
2280
|
"kind": "js",
|
|
1887
|
-
"name": "
|
|
2281
|
+
"name": "foundationAccordionStyles",
|
|
1888
2282
|
"declaration": {
|
|
1889
|
-
"name": "
|
|
1890
|
-
"module": "src/accordion
|
|
2283
|
+
"name": "foundationAccordionStyles",
|
|
2284
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1891
2285
|
}
|
|
1892
2286
|
}
|
|
1893
2287
|
]
|
|
1894
2288
|
},
|
|
1895
2289
|
{
|
|
1896
2290
|
"kind": "javascript-module",
|
|
1897
|
-
"path": "src/accordion
|
|
2291
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1898
2292
|
"declarations": [
|
|
1899
2293
|
{
|
|
1900
2294
|
"kind": "function",
|
|
1901
|
-
"name": "
|
|
2295
|
+
"name": "foundationAccordionTemplate",
|
|
1902
2296
|
"return": {
|
|
1903
2297
|
"type": {
|
|
1904
|
-
"text": "ViewTemplate<
|
|
2298
|
+
"text": "ViewTemplate<Accordion>"
|
|
1905
2299
|
}
|
|
1906
2300
|
},
|
|
1907
2301
|
"parameters": [
|
|
@@ -1923,244 +2317,32 @@
|
|
|
1923
2317
|
"exports": [
|
|
1924
2318
|
{
|
|
1925
2319
|
"kind": "js",
|
|
1926
|
-
"name": "
|
|
2320
|
+
"name": "foundationAccordionTemplate",
|
|
1927
2321
|
"declaration": {
|
|
1928
|
-
"name": "
|
|
1929
|
-
"module": "src/accordion
|
|
2322
|
+
"name": "foundationAccordionTemplate",
|
|
2323
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1930
2324
|
}
|
|
1931
2325
|
}
|
|
1932
|
-
]
|
|
1933
|
-
},
|
|
1934
|
-
{
|
|
1935
|
-
"kind": "javascript-module",
|
|
1936
|
-
"path": "src/accordion
|
|
1937
|
-
"declarations": [
|
|
1938
|
-
{
|
|
1939
|
-
"kind": "class",
|
|
1940
|
-
"description": "",
|
|
1941
|
-
"name": "
|
|
1942
|
-
"superclass": {
|
|
1943
|
-
"name": "
|
|
1944
|
-
"package": "@microsoft/fast-
|
|
1945
|
-
},
|
|
1946
|
-
"tagName": "%%prefix%%-accordion
|
|
1947
|
-
"customElement": true
|
|
1948
|
-
"attributes": [
|
|
1949
|
-
{
|
|
1950
|
-
"name": "heading-level",
|
|
1951
|
-
"type": {
|
|
1952
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1953
|
-
},
|
|
1954
|
-
"default": "2",
|
|
1955
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1956
|
-
"fieldName": "headinglevel",
|
|
1957
|
-
"inheritedFrom": {
|
|
1958
|
-
"name": "AccordionItem",
|
|
1959
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1960
|
-
}
|
|
1961
|
-
},
|
|
1962
|
-
{
|
|
1963
|
-
"type": {
|
|
1964
|
-
"text": "boolean"
|
|
1965
|
-
},
|
|
1966
|
-
"default": "false",
|
|
1967
|
-
"description": "Expands or collapses the item.",
|
|
1968
|
-
"fieldName": "expanded",
|
|
1969
|
-
"inheritedFrom": {
|
|
1970
|
-
"name": "AccordionItem",
|
|
1971
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1972
|
-
}
|
|
1973
|
-
},
|
|
1974
|
-
{
|
|
1975
|
-
"name": "id",
|
|
1976
|
-
"type": {
|
|
1977
|
-
"text": "string"
|
|
1978
|
-
},
|
|
1979
|
-
"description": "The item ID",
|
|
1980
|
-
"fieldName": "id",
|
|
1981
|
-
"inheritedFrom": {
|
|
1982
|
-
"name": "AccordionItem",
|
|
1983
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1984
|
-
}
|
|
1985
|
-
}
|
|
1986
|
-
],
|
|
1987
|
-
"members": [
|
|
1988
|
-
{
|
|
1989
|
-
"kind": "field",
|
|
1990
|
-
"name": "headinglevel",
|
|
1991
|
-
"type": {
|
|
1992
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1993
|
-
},
|
|
1994
|
-
"privacy": "public",
|
|
1995
|
-
"default": "2",
|
|
1996
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1997
|
-
"inheritedFrom": {
|
|
1998
|
-
"name": "AccordionItem",
|
|
1999
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2000
|
-
}
|
|
2001
|
-
},
|
|
2002
|
-
{
|
|
2003
|
-
"kind": "field",
|
|
2004
|
-
"name": "expanded",
|
|
2005
|
-
"type": {
|
|
2006
|
-
"text": "boolean"
|
|
2007
|
-
},
|
|
2008
|
-
"privacy": "public",
|
|
2009
|
-
"default": "false",
|
|
2010
|
-
"description": "Expands or collapses the item.",
|
|
2011
|
-
"inheritedFrom": {
|
|
2012
|
-
"name": "AccordionItem",
|
|
2013
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2014
|
-
}
|
|
2015
|
-
},
|
|
2016
|
-
{
|
|
2017
|
-
"kind": "field",
|
|
2018
|
-
"name": "id",
|
|
2019
|
-
"type": {
|
|
2020
|
-
"text": "string"
|
|
2021
|
-
},
|
|
2022
|
-
"privacy": "public",
|
|
2023
|
-
"description": "The item ID",
|
|
2024
|
-
"inheritedFrom": {
|
|
2025
|
-
"name": "AccordionItem",
|
|
2026
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2027
|
-
}
|
|
2028
|
-
},
|
|
2029
|
-
{
|
|
2030
|
-
"kind": "field",
|
|
2031
|
-
"name": "change",
|
|
2032
|
-
"privacy": "private",
|
|
2033
|
-
"inheritedFrom": {
|
|
2034
|
-
"name": "AccordionItem",
|
|
2035
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2036
|
-
}
|
|
2037
|
-
},
|
|
2038
|
-
{
|
|
2039
|
-
"kind": "field",
|
|
2040
|
-
"name": "_presentation",
|
|
2041
|
-
"type": {
|
|
2042
|
-
"text": "ComponentPresentation | null | undefined"
|
|
2043
|
-
},
|
|
2044
|
-
"privacy": "private",
|
|
2045
|
-
"default": "void 0",
|
|
2046
|
-
"inheritedFrom": {
|
|
2047
|
-
"name": "FoundationElement",
|
|
2048
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2049
|
-
}
|
|
2050
|
-
},
|
|
2051
|
-
{
|
|
2052
|
-
"kind": "field",
|
|
2053
|
-
"name": "$presentation",
|
|
2054
|
-
"type": {
|
|
2055
|
-
"text": "ComponentPresentation | null"
|
|
2056
|
-
},
|
|
2057
|
-
"privacy": "public",
|
|
2058
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2059
|
-
"inheritedFrom": {
|
|
2060
|
-
"name": "FoundationElement",
|
|
2061
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2062
|
-
}
|
|
2063
|
-
},
|
|
2064
|
-
{
|
|
2065
|
-
"kind": "field",
|
|
2066
|
-
"name": "template",
|
|
2067
|
-
"type": {
|
|
2068
|
-
"text": "ElementViewTemplate | void | null"
|
|
2069
|
-
},
|
|
2070
|
-
"privacy": "public",
|
|
2071
|
-
"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.",
|
|
2072
|
-
"inheritedFrom": {
|
|
2073
|
-
"name": "FoundationElement",
|
|
2074
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2075
|
-
}
|
|
2076
|
-
},
|
|
2077
|
-
{
|
|
2078
|
-
"kind": "method",
|
|
2079
|
-
"name": "templateChanged",
|
|
2080
|
-
"privacy": "protected",
|
|
2081
|
-
"return": {
|
|
2082
|
-
"type": {
|
|
2083
|
-
"text": "void"
|
|
2084
|
-
}
|
|
2085
|
-
},
|
|
2086
|
-
"inheritedFrom": {
|
|
2087
|
-
"name": "FoundationElement",
|
|
2088
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2089
|
-
}
|
|
2090
|
-
},
|
|
2091
|
-
{
|
|
2092
|
-
"kind": "field",
|
|
2093
|
-
"name": "styles",
|
|
2094
|
-
"type": {
|
|
2095
|
-
"text": "ElementStyles | void | null"
|
|
2096
|
-
},
|
|
2097
|
-
"privacy": "public",
|
|
2098
|
-
"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.",
|
|
2099
|
-
"inheritedFrom": {
|
|
2100
|
-
"name": "FoundationElement",
|
|
2101
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2102
|
-
}
|
|
2103
|
-
},
|
|
2104
|
-
{
|
|
2105
|
-
"kind": "method",
|
|
2106
|
-
"name": "stylesChanged",
|
|
2107
|
-
"privacy": "protected",
|
|
2108
|
-
"return": {
|
|
2109
|
-
"type": {
|
|
2110
|
-
"text": "void"
|
|
2111
|
-
}
|
|
2112
|
-
},
|
|
2113
|
-
"inheritedFrom": {
|
|
2114
|
-
"name": "FoundationElement",
|
|
2115
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2116
|
-
}
|
|
2117
|
-
},
|
|
2118
|
-
{
|
|
2119
|
-
"kind": "method",
|
|
2120
|
-
"name": "compose",
|
|
2121
|
-
"privacy": "public",
|
|
2122
|
-
"static": true,
|
|
2123
|
-
"return": {
|
|
2124
|
-
"type": {
|
|
2125
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2126
|
-
}
|
|
2127
|
-
},
|
|
2128
|
-
"parameters": [
|
|
2129
|
-
{
|
|
2130
|
-
"name": "this",
|
|
2131
|
-
"type": {
|
|
2132
|
-
"text": "K"
|
|
2133
|
-
}
|
|
2134
|
-
},
|
|
2135
|
-
{
|
|
2136
|
-
"name": "elementDefinition",
|
|
2137
|
-
"type": {
|
|
2138
|
-
"text": "T"
|
|
2139
|
-
},
|
|
2140
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
2141
|
-
}
|
|
2142
|
-
],
|
|
2143
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2144
|
-
"inheritedFrom": {
|
|
2145
|
-
"name": "FoundationElement",
|
|
2146
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2147
|
-
}
|
|
2148
|
-
}
|
|
2149
|
-
],
|
|
2150
|
-
"events": [
|
|
2151
|
-
{
|
|
2152
|
-
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2153
|
-
"name": "change",
|
|
2154
|
-
"inheritedFrom": {
|
|
2155
|
-
"name": "AccordionItem",
|
|
2156
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2157
|
-
}
|
|
2158
|
-
}
|
|
2159
|
-
]
|
|
2326
|
+
]
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
"kind": "javascript-module",
|
|
2330
|
+
"path": "src/accordion/accordion.ts",
|
|
2331
|
+
"declarations": [
|
|
2332
|
+
{
|
|
2333
|
+
"kind": "class",
|
|
2334
|
+
"description": "",
|
|
2335
|
+
"name": "Accordion",
|
|
2336
|
+
"superclass": {
|
|
2337
|
+
"name": "FASTAccordion",
|
|
2338
|
+
"package": "@microsoft/fast-foundation"
|
|
2339
|
+
},
|
|
2340
|
+
"tagName": "%%prefix%%-accordion",
|
|
2341
|
+
"customElement": true
|
|
2160
2342
|
},
|
|
2161
2343
|
{
|
|
2162
2344
|
"kind": "variable",
|
|
2163
|
-
"name": "
|
|
2345
|
+
"name": "foundationAccordionShadowOptions",
|
|
2164
2346
|
"type": {
|
|
2165
2347
|
"text": "ShadowRootInit"
|
|
2166
2348
|
},
|
|
@@ -2168,57 +2350,57 @@
|
|
|
2168
2350
|
},
|
|
2169
2351
|
{
|
|
2170
2352
|
"kind": "variable",
|
|
2171
|
-
"name": "
|
|
2353
|
+
"name": "defaultAccordionConfig",
|
|
2172
2354
|
"type": {
|
|
2173
2355
|
"text": "object"
|
|
2174
2356
|
},
|
|
2175
|
-
"default": "{
|
|
2357
|
+
"default": "{}"
|
|
2176
2358
|
},
|
|
2177
2359
|
{
|
|
2178
2360
|
"kind": "variable",
|
|
2179
|
-
"name": "
|
|
2180
|
-
"description": "The Foundation Accordion
|
|
2361
|
+
"name": "foundationAccordion",
|
|
2362
|
+
"description": "The Foundation Accordion",
|
|
2181
2363
|
"privacy": "public"
|
|
2182
2364
|
}
|
|
2183
2365
|
],
|
|
2184
2366
|
"exports": [
|
|
2185
2367
|
{
|
|
2186
2368
|
"kind": "js",
|
|
2187
|
-
"name": "
|
|
2369
|
+
"name": "Accordion",
|
|
2188
2370
|
"declaration": {
|
|
2189
|
-
"name": "
|
|
2190
|
-
"module": "src/accordion
|
|
2371
|
+
"name": "Accordion",
|
|
2372
|
+
"module": "src/accordion/accordion.ts"
|
|
2191
2373
|
}
|
|
2192
2374
|
},
|
|
2193
2375
|
{
|
|
2194
2376
|
"kind": "js",
|
|
2195
|
-
"name": "
|
|
2377
|
+
"name": "foundationAccordionShadowOptions",
|
|
2196
2378
|
"declaration": {
|
|
2197
|
-
"name": "
|
|
2198
|
-
"module": "src/accordion
|
|
2379
|
+
"name": "foundationAccordionShadowOptions",
|
|
2380
|
+
"module": "src/accordion/accordion.ts"
|
|
2199
2381
|
}
|
|
2200
2382
|
},
|
|
2201
2383
|
{
|
|
2202
2384
|
"kind": "js",
|
|
2203
|
-
"name": "
|
|
2385
|
+
"name": "defaultAccordionConfig",
|
|
2204
2386
|
"declaration": {
|
|
2205
|
-
"name": "
|
|
2206
|
-
"module": "src/accordion
|
|
2387
|
+
"name": "defaultAccordionConfig",
|
|
2388
|
+
"module": "src/accordion/accordion.ts"
|
|
2207
2389
|
}
|
|
2208
2390
|
},
|
|
2209
2391
|
{
|
|
2210
2392
|
"kind": "js",
|
|
2211
|
-
"name": "
|
|
2393
|
+
"name": "foundationAccordion",
|
|
2212
2394
|
"declaration": {
|
|
2213
|
-
"name": "
|
|
2214
|
-
"module": "src/accordion
|
|
2395
|
+
"name": "foundationAccordion",
|
|
2396
|
+
"module": "src/accordion/accordion.ts"
|
|
2215
2397
|
}
|
|
2216
2398
|
}
|
|
2217
2399
|
]
|
|
2218
2400
|
},
|
|
2219
2401
|
{
|
|
2220
2402
|
"kind": "javascript-module",
|
|
2221
|
-
"path": "src/accordion
|
|
2403
|
+
"path": "src/accordion/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": "./accordion
|
|
2411
|
+
"package": "./accordion.template"
|
|
2230
2412
|
}
|
|
2231
2413
|
},
|
|
2232
2414
|
{
|
|
@@ -2234,7 +2416,7 @@
|
|
|
2234
2416
|
"name": "*",
|
|
2235
2417
|
"declaration": {
|
|
2236
2418
|
"name": "*",
|
|
2237
|
-
"package": "./accordion
|
|
2419
|
+
"package": "./accordion.styles"
|
|
2238
2420
|
}
|
|
2239
2421
|
},
|
|
2240
2422
|
{
|
|
@@ -2242,7 +2424,7 @@
|
|
|
2242
2424
|
"name": "*",
|
|
2243
2425
|
"declaration": {
|
|
2244
2426
|
"name": "*",
|
|
2245
|
-
"package": "./accordion
|
|
2427
|
+
"package": "./accordion"
|
|
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",
|
|
@@ -16872,6 +16872,14 @@
|
|
|
16872
16872
|
"text": "string"
|
|
16873
16873
|
}
|
|
16874
16874
|
},
|
|
16875
|
+
{
|
|
16876
|
+
"kind": "field",
|
|
16877
|
+
"name": "lazyLoad",
|
|
16878
|
+
"type": {
|
|
16879
|
+
"text": "boolean"
|
|
16880
|
+
},
|
|
16881
|
+
"default": "false"
|
|
16882
|
+
},
|
|
16875
16883
|
{
|
|
16876
16884
|
"kind": "field",
|
|
16877
16885
|
"name": "dropdownMenu",
|
|
@@ -16907,8 +16915,9 @@
|
|
|
16907
16915
|
"name": "toggleDropdownMenuVisibility"
|
|
16908
16916
|
},
|
|
16909
16917
|
{
|
|
16910
|
-
"kind": "
|
|
16911
|
-
"name": "onDropdownMenuItemClick"
|
|
16918
|
+
"kind": "field",
|
|
16919
|
+
"name": "onDropdownMenuItemClick",
|
|
16920
|
+
"privacy": "private"
|
|
16912
16921
|
},
|
|
16913
16922
|
{
|
|
16914
16923
|
"kind": "field",
|
|
@@ -17069,6 +17078,14 @@
|
|
|
17069
17078
|
"text": "string"
|
|
17070
17079
|
},
|
|
17071
17080
|
"fieldName": "buttonAppearance"
|
|
17081
|
+
},
|
|
17082
|
+
{
|
|
17083
|
+
"name": "lazy-load",
|
|
17084
|
+
"type": {
|
|
17085
|
+
"text": "boolean"
|
|
17086
|
+
},
|
|
17087
|
+
"default": "false",
|
|
17088
|
+
"fieldName": "lazyLoad"
|
|
17072
17089
|
}
|
|
17073
17090
|
],
|
|
17074
17091
|
"superclass": {
|
|
@@ -24,6 +24,7 @@ export declare class DropdownMenu extends FoundationElement {
|
|
|
24
24
|
name: string;
|
|
25
25
|
open: boolean;
|
|
26
26
|
buttonAppearance: string;
|
|
27
|
+
lazyLoad: boolean;
|
|
27
28
|
dropdownMenu: HTMLElement;
|
|
28
29
|
connectedCallback(): void;
|
|
29
30
|
disconnectedCallback(): void;
|
|
@@ -31,7 +32,7 @@ export declare class DropdownMenu extends FoundationElement {
|
|
|
31
32
|
private handleClickOutside;
|
|
32
33
|
protected openChanged(): void;
|
|
33
34
|
toggleDropdownMenuVisibility(): void;
|
|
34
|
-
onDropdownMenuItemClick
|
|
35
|
+
private onDropdownMenuItemClick;
|
|
35
36
|
get allItems(): DropdownMenuItem[];
|
|
36
37
|
}
|
|
37
38
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../src/dropdown-menu/dropdown-menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAE9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAKjC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE;QACL,OAAO,CAAC,EAAE,SAAS,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,KAAK,IAAI,GAAG,GAAG,CAAC;IACxC,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC;CACxC,CAAC;AAEF;;GAEG;AACH,qBAAa,YAAa,SAAQ,iBAAiB;IACrC,KAAK,EAAE,gBAAgB,EAAE,CAAC;IACc,SAAS,EAAE,OAAO,CAAQ;IACtB,QAAQ,EAAE,OAAO,CAAS;IACtE,UAAU,EAAE,MAAM,CAAC;IACzB,IAAI,SAAmB;IACiB,IAAI,EAAE,OAAO,CAAS;IAC9D,gBAAgB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../src/dropdown-menu/dropdown-menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAE9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAKjC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE;QACL,OAAO,CAAC,EAAE,SAAS,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,KAAK,IAAI,GAAG,GAAG,CAAC;IACxC,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC;CACxC,CAAC;AAEF;;GAEG;AACH,qBAAa,YAAa,SAAQ,iBAAiB;IACrC,KAAK,EAAE,gBAAgB,EAAE,CAAC;IACc,SAAS,EAAE,OAAO,CAAQ;IACtB,QAAQ,EAAE,OAAO,CAAS;IACtE,UAAU,EAAE,MAAM,CAAC;IACzB,IAAI,SAAmB;IACiB,IAAI,EAAE,OAAO,CAAS;IAC9D,gBAAgB,EAAE,MAAM,CAAC;IACoB,QAAQ,EAAE,OAAO,CAAS;IAE7E,YAAY,EAAG,WAAW,CAAC;IAE3B,iBAAiB;IAKjB,oBAAoB;IAMpB,OAAO,CAAC,YAAY,CAAiD;IAErE,OAAO,CAAC,kBAAkB;IAM1B,SAAS,CAAC,WAAW;IASrB,4BAA4B;IAI5B,OAAO,CAAC,uBAAuB,CAE7B;IAEF,IAAI,QAAQ,IAAI,gBAAgB,EAAE,CAEjC;CACF;AAED;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,4TAIjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.template.d.ts","sourceRoot":"","sources":["../../../src/dropdown-menu/dropdown-menu.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEtE,eAAO,MAAM,gBAAgB,GAAI,OAAO,gBAAgB,EAAE,EAAE,QAAQ,MAAM,6DAyCzE,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,WAAM,
|
|
1
|
+
{"version":3,"file":"dropdown-menu.template.d.ts","sourceRoot":"","sources":["../../../src/dropdown-menu/dropdown-menu.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEtE,eAAO,MAAM,gBAAgB,GAAI,OAAO,gBAAgB,EAAE,EAAE,QAAQ,MAAM,6DAyCzE,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,WAAM,sEAyB7C,CAAC;AAEF,eAAO,MAAM,8BAA8B,mEAE1C,CAAC"}
|
|
@@ -15,7 +15,12 @@ export class DropdownMenu extends FoundationElement {
|
|
|
15
15
|
this.disabled = false;
|
|
16
16
|
this.name = 'Dropdown Menu';
|
|
17
17
|
this.open = false;
|
|
18
|
+
this.lazyLoad = false;
|
|
18
19
|
this.clickOutside = (e) => this.handleClickOutside(e);
|
|
20
|
+
this.onDropdownMenuItemClick = () => {
|
|
21
|
+
if (this.autoClose)
|
|
22
|
+
this.open = false;
|
|
23
|
+
};
|
|
19
24
|
}
|
|
20
25
|
connectedCallback() {
|
|
21
26
|
super.connectedCallback();
|
|
@@ -23,6 +28,7 @@ export class DropdownMenu extends FoundationElement {
|
|
|
23
28
|
}
|
|
24
29
|
disconnectedCallback() {
|
|
25
30
|
super.disconnectedCallback();
|
|
31
|
+
this.removeEventListener('onMenuClick', this.onDropdownMenuItemClick);
|
|
26
32
|
document.removeEventListener('mousedown', this.clickOutside);
|
|
27
33
|
}
|
|
28
34
|
handleClickOutside(event) {
|
|
@@ -42,10 +48,6 @@ export class DropdownMenu extends FoundationElement {
|
|
|
42
48
|
toggleDropdownMenuVisibility() {
|
|
43
49
|
this.open = !this.open;
|
|
44
50
|
}
|
|
45
|
-
onDropdownMenuItemClick() {
|
|
46
|
-
if (this.autoClose)
|
|
47
|
-
this.open = false;
|
|
48
|
-
}
|
|
49
51
|
get allItems() {
|
|
50
52
|
return this.items;
|
|
51
53
|
}
|
|
@@ -71,6 +73,9 @@ __decorate([
|
|
|
71
73
|
__decorate([
|
|
72
74
|
attr
|
|
73
75
|
], DropdownMenu.prototype, "buttonAppearance", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
attr({ attribute: 'lazy-load', mode: 'boolean' })
|
|
78
|
+
], DropdownMenu.prototype, "lazyLoad", void 0);
|
|
74
79
|
/**
|
|
75
80
|
* The Foundation Dropdown Menu
|
|
76
81
|
*
|
|
@@ -44,7 +44,9 @@ export const getDropdownMenuTemplate = (prefix) => html `
|
|
|
44
44
|
class="actions-menu ${(x) => x.classNames}"
|
|
45
45
|
part="actions-menu"
|
|
46
46
|
>
|
|
47
|
-
${(x) =>
|
|
47
|
+
${when((x) => !x.lazyLoad || x.open, html `
|
|
48
|
+
${(x) => extractMenuItems(x.allItems, prefix)}
|
|
49
|
+
`)}
|
|
48
50
|
</${prefix}-menu>
|
|
49
51
|
</div>
|
|
50
52
|
`;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-ui",
|
|
3
3
|
"description": "Genesis Foundation UI",
|
|
4
|
-
"version": "14.382.
|
|
4
|
+
"version": "14.382.3-alpha-9f491fa.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -83,13 +83,13 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@genesislcap/foundation-testing": "14.382.
|
|
87
|
-
"@genesislcap/genx": "14.382.
|
|
88
|
-
"@genesislcap/rollup-builder": "14.382.
|
|
89
|
-
"@genesislcap/ts-builder": "14.382.
|
|
90
|
-
"@genesislcap/uvu-playwright-builder": "14.382.
|
|
91
|
-
"@genesislcap/vite-builder": "14.382.
|
|
92
|
-
"@genesislcap/webpack-builder": "14.382.
|
|
86
|
+
"@genesislcap/foundation-testing": "14.382.3-alpha-9f491fa.0",
|
|
87
|
+
"@genesislcap/genx": "14.382.3-alpha-9f491fa.0",
|
|
88
|
+
"@genesislcap/rollup-builder": "14.382.3-alpha-9f491fa.0",
|
|
89
|
+
"@genesislcap/ts-builder": "14.382.3-alpha-9f491fa.0",
|
|
90
|
+
"@genesislcap/uvu-playwright-builder": "14.382.3-alpha-9f491fa.0",
|
|
91
|
+
"@genesislcap/vite-builder": "14.382.3-alpha-9f491fa.0",
|
|
92
|
+
"@genesislcap/webpack-builder": "14.382.3-alpha-9f491fa.0",
|
|
93
93
|
"copyfiles": "^2.4.1"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
@@ -98,15 +98,15 @@
|
|
|
98
98
|
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
|
99
99
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
|
100
100
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
101
|
-
"@genesislcap/expression-builder": "14.382.
|
|
102
|
-
"@genesislcap/foundation-comms": "14.382.
|
|
103
|
-
"@genesislcap/foundation-criteria": "14.382.
|
|
104
|
-
"@genesislcap/foundation-errors": "14.382.
|
|
105
|
-
"@genesislcap/foundation-events": "14.382.
|
|
106
|
-
"@genesislcap/foundation-logger": "14.382.
|
|
107
|
-
"@genesislcap/foundation-notifications": "14.382.
|
|
108
|
-
"@genesislcap/foundation-user": "14.382.
|
|
109
|
-
"@genesislcap/foundation-utils": "14.382.
|
|
101
|
+
"@genesislcap/expression-builder": "14.382.3-alpha-9f491fa.0",
|
|
102
|
+
"@genesislcap/foundation-comms": "14.382.3-alpha-9f491fa.0",
|
|
103
|
+
"@genesislcap/foundation-criteria": "14.382.3-alpha-9f491fa.0",
|
|
104
|
+
"@genesislcap/foundation-errors": "14.382.3-alpha-9f491fa.0",
|
|
105
|
+
"@genesislcap/foundation-events": "14.382.3-alpha-9f491fa.0",
|
|
106
|
+
"@genesislcap/foundation-logger": "14.382.3-alpha-9f491fa.0",
|
|
107
|
+
"@genesislcap/foundation-notifications": "14.382.3-alpha-9f491fa.0",
|
|
108
|
+
"@genesislcap/foundation-user": "14.382.3-alpha-9f491fa.0",
|
|
109
|
+
"@genesislcap/foundation-utils": "14.382.3-alpha-9f491fa.0",
|
|
110
110
|
"@microsoft/fast-colors": "5.3.1",
|
|
111
111
|
"@microsoft/fast-components": "2.30.6",
|
|
112
112
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
"access": "public"
|
|
129
129
|
},
|
|
130
130
|
"customElements": "dist/custom-elements.json",
|
|
131
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "c2df7c75f4b26b9e6dbda421fa27d1d4f14df03d"
|
|
132
132
|
}
|