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