@genesislcap/foundation-ui 14.396.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 +467 -467
  2. package/package.json +18 -18
@@ -1273,11 +1273,65 @@
1273
1273
  },
1274
1274
  {
1275
1275
  "kind": "javascript-module",
1276
- "path": "src/accordion-item/accordion-item.styles.ts",
1276
+ "path": "src/_config/index.ts",
1277
+ "declarations": [],
1278
+ "exports": [
1279
+ {
1280
+ "kind": "js",
1281
+ "name": "*",
1282
+ "declaration": {
1283
+ "name": "*",
1284
+ "package": "./styles"
1285
+ }
1286
+ },
1287
+ {
1288
+ "kind": "js",
1289
+ "name": "*",
1290
+ "declaration": {
1291
+ "name": "*",
1292
+ "package": "./tokens"
1293
+ }
1294
+ },
1295
+ {
1296
+ "kind": "js",
1297
+ "name": "*",
1298
+ "declaration": {
1299
+ "name": "*",
1300
+ "package": "./values"
1301
+ }
1302
+ }
1303
+ ]
1304
+ },
1305
+ {
1306
+ "kind": "javascript-module",
1307
+ "path": "src/actions-menu/actions-menu.styles.ts",
1277
1308
  "declarations": [
1278
1309
  {
1279
1310
  "kind": "function",
1280
- "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",
1281
1335
  "return": {
1282
1336
  "type": {
1283
1337
  "text": "ElementStyles"
@@ -1302,157 +1356,270 @@
1302
1356
  "exports": [
1303
1357
  {
1304
1358
  "kind": "js",
1305
- "name": "foundationAccordionItemStyles",
1359
+ "name": "actionsMenuBaseStyles",
1306
1360
  "declaration": {
1307
- "name": "foundationAccordionItemStyles",
1308
- "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"
1309
1371
  }
1310
1372
  }
1311
1373
  ]
1312
1374
  },
1313
1375
  {
1314
1376
  "kind": "javascript-module",
1315
- "path": "src/accordion-item/accordion-item.template.ts",
1377
+ "path": "src/actions-menu/actions-menu.template.ts",
1316
1378
  "declarations": [
1317
1379
  {
1318
1380
  "kind": "function",
1319
- "name": "foundationAccordionItemTemplate",
1320
- "return": {
1321
- "type": {
1322
- "text": "ViewTemplate<AccordionItem>"
1323
- }
1324
- },
1381
+ "name": "menuTemplate",
1325
1382
  "parameters": [
1326
1383
  {
1327
- "name": "context",
1384
+ "name": "prefix",
1328
1385
  "type": {
1329
- "text": "ElementDefinitionContext"
1386
+ "text": "string"
1330
1387
  }
1331
- },
1388
+ }
1389
+ ]
1390
+ },
1391
+ {
1392
+ "kind": "function",
1393
+ "name": "singleOptionTemplate",
1394
+ "parameters": [
1332
1395
  {
1333
- "name": "definition",
1396
+ "name": "prefix",
1334
1397
  "type": {
1335
- "text": "FoundationElementDefinition"
1398
+ "text": "string"
1336
1399
  }
1337
1400
  }
1338
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`"
1339
1410
  }
1340
1411
  ],
1341
1412
  "exports": [
1342
1413
  {
1343
1414
  "kind": "js",
1344
- "name": "foundationAccordionItemTemplate",
1415
+ "name": "menuTemplate",
1345
1416
  "declaration": {
1346
- "name": "foundationAccordionItemTemplate",
1347
- "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"
1348
1435
  }
1349
1436
  }
1350
1437
  ]
1351
1438
  },
1352
1439
  {
1353
1440
  "kind": "javascript-module",
1354
- "path": "src/accordion-item/accordion-item.ts",
1441
+ "path": "src/actions-menu/actions-menu.ts",
1355
1442
  "declarations": [
1356
1443
  {
1357
1444
  "kind": "class",
1358
1445
  "description": "",
1359
- "name": "AccordionItem",
1360
- "superclass": {
1361
- "name": "FASTAccordionItem",
1362
- "package": "@microsoft/fast-components"
1363
- },
1364
- "tagName": "%%prefix%%-accordion-item",
1365
- "customElement": true,
1366
- "attributes": [
1446
+ "name": "ActionsMenu",
1447
+ "members": [
1367
1448
  {
1368
- "name": "heading-level",
1449
+ "kind": "field",
1450
+ "name": "actions",
1369
1451
  "type": {
1370
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1371
- },
1372
- "default": "2",
1373
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1374
- "fieldName": "headinglevel",
1375
- "inheritedFrom": {
1376
- "name": "AccordionItem",
1377
- "module": "src/accordion-item/accordion-item.ts"
1452
+ "text": "ActionMenuItem[]"
1378
1453
  }
1379
1454
  },
1380
1455
  {
1456
+ "kind": "field",
1457
+ "name": "isVertical",
1381
1458
  "type": {
1382
1459
  "text": "boolean"
1383
1460
  },
1384
- "default": "false",
1385
- "description": "Expands or collapses the item.",
1386
- "fieldName": "expanded",
1387
- "inheritedFrom": {
1388
- "name": "AccordionItem",
1389
- "module": "src/accordion-item/accordion-item.ts"
1461
+ "default": "false"
1462
+ },
1463
+ {
1464
+ "kind": "field",
1465
+ "name": "addDefaultActions",
1466
+ "type": {
1467
+ "text": "boolean"
1468
+ },
1469
+ "default": "true"
1470
+ },
1471
+ {
1472
+ "kind": "field",
1473
+ "name": "autoCloseOnAction",
1474
+ "type": {
1475
+ "text": "boolean"
1476
+ },
1477
+ "default": "true"
1478
+ },
1479
+ {
1480
+ "kind": "field",
1481
+ "name": "classNames",
1482
+ "type": {
1483
+ "text": "string"
1390
1484
  }
1391
1485
  },
1392
1486
  {
1393
- "name": "id",
1487
+ "kind": "field",
1488
+ "name": "definition",
1489
+ "type": {
1490
+ "text": "any"
1491
+ }
1492
+ },
1493
+ {
1494
+ "kind": "field",
1495
+ "name": "name",
1394
1496
  "type": {
1395
1497
  "text": "string"
1396
1498
  },
1397
- "description": "The item ID",
1398
- "fieldName": "id",
1399
- "inheritedFrom": {
1400
- "name": "AccordionItem",
1401
- "module": "src/accordion-item/accordion-item.ts"
1402
- }
1403
- }
1404
- ],
1405
- "members": [
1499
+ "default": "'Actions'"
1500
+ },
1406
1501
  {
1407
1502
  "kind": "field",
1408
- "name": "headinglevel",
1503
+ "name": "open",
1409
1504
  "type": {
1410
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1505
+ "text": "boolean"
1411
1506
  },
1412
- "privacy": "public",
1413
- "default": "2",
1414
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1415
- "inheritedFrom": {
1416
- "name": "AccordionItem",
1417
- "module": "src/accordion-item/accordion-item.ts"
1507
+ "default": "false"
1508
+ },
1509
+ {
1510
+ "kind": "field",
1511
+ "name": "buttonAppearance",
1512
+ "type": {
1513
+ "text": "string"
1418
1514
  }
1419
1515
  },
1420
1516
  {
1421
1517
  "kind": "field",
1422
- "name": "expanded",
1518
+ "name": "hideDisabled",
1423
1519
  "type": {
1424
1520
  "text": "boolean"
1425
1521
  },
1426
- "privacy": "public",
1427
- "default": "false",
1428
- "description": "Expands or collapses the item.",
1429
- "inheritedFrom": {
1430
- "name": "AccordionItem",
1431
- "module": "src/accordion-item/accordion-item.ts"
1432
- }
1522
+ "default": "false"
1433
1523
  },
1434
1524
  {
1435
1525
  "kind": "field",
1436
- "name": "id",
1526
+ "name": "hideMenuSingleOption",
1437
1527
  "type": {
1438
- "text": "string"
1528
+ "text": "boolean"
1439
1529
  },
1440
- "privacy": "public",
1441
- "description": "The item ID",
1442
- "inheritedFrom": {
1443
- "name": "AccordionItem",
1444
- "module": "src/accordion-item/accordion-item.ts"
1530
+ "default": "false"
1531
+ },
1532
+ {
1533
+ "kind": "field",
1534
+ "name": "singleOption",
1535
+ "type": {
1536
+ "text": "ActionMenuItem"
1445
1537
  }
1446
1538
  },
1447
1539
  {
1448
1540
  "kind": "field",
1449
- "name": "change",
1450
- "privacy": "private",
1451
- "inheritedFrom": {
1452
- "name": "AccordionItem",
1453
- "module": "src/accordion-item/accordion-item.ts"
1541
+ "name": "actionsMenu",
1542
+ "type": {
1543
+ "text": "HTMLElement"
1454
1544
  }
1455
1545
  },
1546
+ {
1547
+ "kind": "method",
1548
+ "name": "definitionChanged",
1549
+ "privacy": "protected",
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
+ },
1456
1623
  {
1457
1624
  "kind": "field",
1458
1625
  "name": "_presentation",
@@ -1565,109 +1732,107 @@
1565
1732
  }
1566
1733
  }
1567
1734
  ],
1568
- "events": [
1735
+ "attributes": [
1569
1736
  {
1570
- "description": "Fires a custom 'change' event when the button is invoked",
1571
- "name": "change",
1572
- "inheritedFrom": {
1573
- "name": "AccordionItem",
1574
- "module": "src/accordion-item/accordion-item.ts"
1575
- }
1737
+ "name": "is-vertical",
1738
+ "type": {
1739
+ "text": "boolean"
1740
+ },
1741
+ "default": "false",
1742
+ "fieldName": "isVertical"
1743
+ },
1744
+ {
1745
+ "name": "add-default-actions",
1746
+ "type": {
1747
+ "text": "boolean"
1748
+ },
1749
+ "default": "true",
1750
+ "fieldName": "addDefaultActions"
1751
+ },
1752
+ {
1753
+ "name": "auto-close-on-action",
1754
+ "type": {
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
+ },
1776
+ {
1777
+ "name": "buttonAppearance",
1778
+ "type": {
1779
+ "text": "string"
1780
+ },
1781
+ "fieldName": "buttonAppearance"
1782
+ },
1783
+ {
1784
+ "name": "hide-disabled",
1785
+ "type": {
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"
1576
1798
  }
1577
- ]
1578
- },
1579
- {
1580
- "kind": "variable",
1581
- "name": "foundationAccordionItemShadowOptions",
1582
- "type": {
1583
- "text": "ShadowRootInit"
1584
- },
1585
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1586
- },
1587
- {
1588
- "kind": "variable",
1589
- "name": "defaultAccordionItemConfig",
1590
- "type": {
1591
- "text": "object"
1799
+ ],
1800
+ "superclass": {
1801
+ "name": "FoundationElement",
1802
+ "package": "@microsoft/fast-foundation"
1592
1803
  },
1593
- "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}"
1804
+ "tagName": "%%prefix%%-actions-menu",
1805
+ "customElement": true
1594
1806
  },
1595
1807
  {
1596
1808
  "kind": "variable",
1597
- "name": "foundationAccordionItem",
1598
- "description": "The Foundation Accordion Item",
1809
+ "name": "foundationActionsMenu",
1810
+ "description": "The Foundation Actions Menu",
1599
1811
  "privacy": "public"
1600
1812
  }
1601
1813
  ],
1602
1814
  "exports": [
1603
1815
  {
1604
1816
  "kind": "js",
1605
- "name": "AccordionItem",
1606
- "declaration": {
1607
- "name": "AccordionItem",
1608
- "module": "src/accordion-item/accordion-item.ts"
1609
- }
1610
- },
1611
- {
1612
- "kind": "js",
1613
- "name": "foundationAccordionItemShadowOptions",
1614
- "declaration": {
1615
- "name": "foundationAccordionItemShadowOptions",
1616
- "module": "src/accordion-item/accordion-item.ts"
1617
- }
1618
- },
1619
- {
1620
- "kind": "js",
1621
- "name": "defaultAccordionItemConfig",
1622
- "declaration": {
1623
- "name": "defaultAccordionItemConfig",
1624
- "module": "src/accordion-item/accordion-item.ts"
1625
- }
1626
- },
1627
- {
1628
- "kind": "js",
1629
- "name": "foundationAccordionItem",
1630
- "declaration": {
1631
- "name": "foundationAccordionItem",
1632
- "module": "src/accordion-item/accordion-item.ts"
1633
- }
1634
- }
1635
- ]
1636
- },
1637
- {
1638
- "kind": "javascript-module",
1639
- "path": "src/accordion-item/index.ts",
1640
- "declarations": [],
1641
- "exports": [
1642
- {
1643
- "kind": "js",
1644
- "name": "*",
1645
- "declaration": {
1646
- "name": "*",
1647
- "package": "./accordion-item.template"
1648
- }
1649
- },
1650
- {
1651
- "kind": "js",
1652
- "name": "*",
1817
+ "name": "ActionsMenu",
1653
1818
  "declaration": {
1654
- "name": "*",
1655
- "package": "./accordion-item.styles"
1819
+ "name": "ActionsMenu",
1820
+ "module": "src/actions-menu/actions-menu.ts"
1656
1821
  }
1657
1822
  },
1658
1823
  {
1659
1824
  "kind": "js",
1660
- "name": "*",
1825
+ "name": "foundationActionsMenu",
1661
1826
  "declaration": {
1662
- "name": "*",
1663
- "package": "./accordion-item"
1827
+ "name": "foundationActionsMenu",
1828
+ "module": "src/actions-menu/actions-menu.ts"
1664
1829
  }
1665
1830
  }
1666
1831
  ]
1667
1832
  },
1668
1833
  {
1669
1834
  "kind": "javascript-module",
1670
- "path": "src/_config/index.ts",
1835
+ "path": "src/actions-menu/index.ts",
1671
1836
  "declarations": [],
1672
1837
  "exports": [
1673
1838
  {
@@ -1675,7 +1840,7 @@
1675
1840
  "name": "*",
1676
1841
  "declaration": {
1677
1842
  "name": "*",
1678
- "package": "./styles"
1843
+ "package": "./actions-menu.styles"
1679
1844
  }
1680
1845
  },
1681
1846
  {
@@ -1683,7 +1848,7 @@
1683
1848
  "name": "*",
1684
1849
  "declaration": {
1685
1850
  "name": "*",
1686
- "package": "./tokens"
1851
+ "package": "./actions-menu.template"
1687
1852
  }
1688
1853
  },
1689
1854
  {
@@ -1691,41 +1856,18 @@
1691
1856
  "name": "*",
1692
1857
  "declaration": {
1693
1858
  "name": "*",
1694
- "package": "./values"
1859
+ "package": "./actions-menu"
1695
1860
  }
1696
1861
  }
1697
1862
  ]
1698
1863
  },
1699
1864
  {
1700
1865
  "kind": "javascript-module",
1701
- "path": "src/actions-menu/actions-menu.styles.ts",
1866
+ "path": "src/accordion-item/accordion-item.styles.ts",
1702
1867
  "declarations": [
1703
1868
  {
1704
1869
  "kind": "function",
1705
- "name": "actionsMenuBaseStyles",
1706
- "return": {
1707
- "type": {
1708
- "text": "ElementStyles"
1709
- }
1710
- },
1711
- "parameters": [
1712
- {
1713
- "name": "context",
1714
- "type": {
1715
- "text": "ElementDefinitionContext"
1716
- }
1717
- },
1718
- {
1719
- "name": "definition",
1720
- "type": {
1721
- "text": "FoundationElementDefinition"
1722
- }
1723
- }
1724
- ]
1725
- },
1726
- {
1727
- "kind": "function",
1728
- "name": "foundationActionsMenuStyles",
1870
+ "name": "foundationAccordionItemStyles",
1729
1871
  "return": {
1730
1872
  "type": {
1731
1873
  "text": "ElementStyles"
@@ -1750,269 +1892,156 @@
1750
1892
  "exports": [
1751
1893
  {
1752
1894
  "kind": "js",
1753
- "name": "actionsMenuBaseStyles",
1754
- "declaration": {
1755
- "name": "actionsMenuBaseStyles",
1756
- "module": "src/actions-menu/actions-menu.styles.ts"
1757
- }
1758
- },
1759
- {
1760
- "kind": "js",
1761
- "name": "foundationActionsMenuStyles",
1895
+ "name": "foundationAccordionItemStyles",
1762
1896
  "declaration": {
1763
- "name": "foundationActionsMenuStyles",
1764
- "module": "src/actions-menu/actions-menu.styles.ts"
1897
+ "name": "foundationAccordionItemStyles",
1898
+ "module": "src/accordion-item/accordion-item.styles.ts"
1765
1899
  }
1766
1900
  }
1767
1901
  ]
1768
1902
  },
1769
1903
  {
1770
1904
  "kind": "javascript-module",
1771
- "path": "src/actions-menu/actions-menu.template.ts",
1905
+ "path": "src/accordion-item/accordion-item.template.ts",
1772
1906
  "declarations": [
1773
1907
  {
1774
1908
  "kind": "function",
1775
- "name": "menuTemplate",
1909
+ "name": "foundationAccordionItemTemplate",
1910
+ "return": {
1911
+ "type": {
1912
+ "text": "ViewTemplate<AccordionItem>"
1913
+ }
1914
+ },
1776
1915
  "parameters": [
1777
1916
  {
1778
- "name": "prefix",
1917
+ "name": "context",
1779
1918
  "type": {
1780
- "text": "string"
1919
+ "text": "ElementDefinitionContext"
1781
1920
  }
1782
- }
1783
- ]
1784
- },
1785
- {
1786
- "kind": "function",
1787
- "name": "singleOptionTemplate",
1788
- "parameters": [
1921
+ },
1789
1922
  {
1790
- "name": "prefix",
1923
+ "name": "definition",
1791
1924
  "type": {
1792
- "text": "string"
1925
+ "text": "FoundationElementDefinition"
1793
1926
  }
1794
1927
  }
1795
1928
  ]
1796
- },
1797
- {
1798
- "kind": "variable",
1799
- "name": "foundationActionsMenuTemplate",
1800
- "type": {
1801
- "text": "ViewTemplate<ActionsMenu>"
1802
- },
1803
- "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`"
1804
1929
  }
1805
1930
  ],
1806
1931
  "exports": [
1807
1932
  {
1808
1933
  "kind": "js",
1809
- "name": "menuTemplate",
1810
- "declaration": {
1811
- "name": "menuTemplate",
1812
- "module": "src/actions-menu/actions-menu.template.ts"
1813
- }
1814
- },
1815
- {
1816
- "kind": "js",
1817
- "name": "singleOptionTemplate",
1818
- "declaration": {
1819
- "name": "singleOptionTemplate",
1820
- "module": "src/actions-menu/actions-menu.template.ts"
1821
- }
1822
- },
1823
- {
1824
- "kind": "js",
1825
- "name": "foundationActionsMenuTemplate",
1934
+ "name": "foundationAccordionItemTemplate",
1826
1935
  "declaration": {
1827
- "name": "foundationActionsMenuTemplate",
1828
- "module": "src/actions-menu/actions-menu.template.ts"
1936
+ "name": "foundationAccordionItemTemplate",
1937
+ "module": "src/accordion-item/accordion-item.template.ts"
1829
1938
  }
1830
1939
  }
1831
1940
  ]
1832
1941
  },
1833
1942
  {
1834
1943
  "kind": "javascript-module",
1835
- "path": "src/actions-menu/actions-menu.ts",
1944
+ "path": "src/accordion-item/accordion-item.ts",
1836
1945
  "declarations": [
1837
1946
  {
1838
1947
  "kind": "class",
1839
1948
  "description": "",
1840
- "name": "ActionsMenu",
1841
- "members": [
1842
- {
1843
- "kind": "field",
1844
- "name": "actions",
1845
- "type": {
1846
- "text": "ActionMenuItem[]"
1847
- }
1848
- },
1849
- {
1850
- "kind": "field",
1851
- "name": "isVertical",
1852
- "type": {
1853
- "text": "boolean"
1854
- },
1855
- "default": "false"
1856
- },
1857
- {
1858
- "kind": "field",
1859
- "name": "addDefaultActions",
1860
- "type": {
1861
- "text": "boolean"
1862
- },
1863
- "default": "true"
1864
- },
1865
- {
1866
- "kind": "field",
1867
- "name": "autoCloseOnAction",
1868
- "type": {
1869
- "text": "boolean"
1870
- },
1871
- "default": "true"
1872
- },
1873
- {
1874
- "kind": "field",
1875
- "name": "classNames",
1876
- "type": {
1877
- "text": "string"
1878
- }
1879
- },
1880
- {
1881
- "kind": "field",
1882
- "name": "definition",
1883
- "type": {
1884
- "text": "any"
1885
- }
1886
- },
1887
- {
1888
- "kind": "field",
1889
- "name": "name",
1890
- "type": {
1891
- "text": "string"
1892
- },
1893
- "default": "'Actions'"
1894
- },
1949
+ "name": "AccordionItem",
1950
+ "superclass": {
1951
+ "name": "FASTAccordionItem",
1952
+ "package": "@microsoft/fast-components"
1953
+ },
1954
+ "tagName": "%%prefix%%-accordion-item",
1955
+ "customElement": true,
1956
+ "attributes": [
1895
1957
  {
1896
- "kind": "field",
1897
- "name": "open",
1958
+ "name": "heading-level",
1898
1959
  "type": {
1899
- "text": "boolean"
1960
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1900
1961
  },
1901
- "default": "false"
1902
- },
1903
- {
1904
- "kind": "field",
1905
- "name": "buttonAppearance",
1906
- "type": {
1907
- "text": "string"
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"
1908
1968
  }
1909
1969
  },
1910
1970
  {
1911
- "kind": "field",
1912
- "name": "hideDisabled",
1913
1971
  "type": {
1914
1972
  "text": "boolean"
1915
1973
  },
1916
- "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
+ }
1917
1981
  },
1918
1982
  {
1919
- "kind": "field",
1920
- "name": "hideMenuSingleOption",
1983
+ "name": "id",
1921
1984
  "type": {
1922
- "text": "boolean"
1985
+ "text": "string"
1923
1986
  },
1924
- "default": "false"
1925
- },
1987
+ "description": "The item ID",
1988
+ "fieldName": "id",
1989
+ "inheritedFrom": {
1990
+ "name": "AccordionItem",
1991
+ "module": "src/accordion-item/accordion-item.ts"
1992
+ }
1993
+ }
1994
+ ],
1995
+ "members": [
1926
1996
  {
1927
1997
  "kind": "field",
1928
- "name": "singleOption",
1998
+ "name": "headinglevel",
1929
1999
  "type": {
1930
- "text": "ActionMenuItem"
2000
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2001
+ },
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"
1931
2008
  }
1932
2009
  },
1933
2010
  {
1934
2011
  "kind": "field",
1935
- "name": "actionsMenu",
2012
+ "name": "expanded",
1936
2013
  "type": {
1937
- "text": "HTMLElement"
2014
+ "text": "boolean"
2015
+ },
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"
1938
2022
  }
1939
2023
  },
1940
- {
1941
- "kind": "method",
1942
- "name": "definitionChanged",
1943
- "privacy": "protected",
1944
- "parameters": [
1945
- {
1946
- "name": "oldValue",
1947
- "type": {
1948
- "text": "any"
1949
- }
1950
- },
1951
- {
1952
- "name": "newValue",
1953
- "type": {
1954
- "text": "any"
1955
- }
1956
- }
1957
- ]
1958
- },
1959
- {
1960
- "kind": "method",
1961
- "name": "openChanged",
1962
- "privacy": "protected"
1963
- },
1964
- {
1965
- "kind": "method",
1966
- "name": "toggleActionsMenuVisibility"
1967
- },
1968
- {
1969
- "kind": "method",
1970
- "name": "onActionMenuItemClick",
1971
- "parameters": [
1972
- {
1973
- "name": "callback",
1974
- "type": {
1975
- "text": "(rowData) => void | any"
1976
- }
1977
- }
1978
- ]
1979
- },
1980
2024
  {
1981
2025
  "kind": "field",
1982
- "name": "allActions",
2026
+ "name": "id",
1983
2027
  "type": {
1984
- "text": "ActionMenuItem[]"
2028
+ "text": "string"
1985
2029
  },
1986
- "readonly": true
2030
+ "privacy": "public",
2031
+ "description": "The item ID",
2032
+ "inheritedFrom": {
2033
+ "name": "AccordionItem",
2034
+ "module": "src/accordion-item/accordion-item.ts"
2035
+ }
1987
2036
  },
1988
2037
  {
1989
2038
  "kind": "field",
1990
- "name": "rowData",
1991
- "readonly": true
1992
- },
1993
- {
1994
- "kind": "method",
1995
- "name": "getLabel",
1996
- "parameters": [
1997
- {
1998
- "name": "name",
1999
- "type": {
2000
- "text": "string | ((rowData: any) => string)"
2001
- }
2002
- }
2003
- ]
2004
- },
2005
- {
2006
- "kind": "method",
2007
- "name": "getTemplate",
2008
- "parameters": [
2009
- {
2010
- "name": "prefix",
2011
- "type": {
2012
- "text": "string"
2013
- }
2014
- }
2015
- ]
2039
+ "name": "change",
2040
+ "privacy": "private",
2041
+ "inheritedFrom": {
2042
+ "name": "AccordionItem",
2043
+ "module": "src/accordion-item/accordion-item.ts"
2044
+ }
2016
2045
  },
2017
2046
  {
2018
2047
  "kind": "field",
@@ -2126,107 +2155,78 @@
2126
2155
  }
2127
2156
  }
2128
2157
  ],
2129
- "attributes": [
2130
- {
2131
- "name": "is-vertical",
2132
- "type": {
2133
- "text": "boolean"
2134
- },
2135
- "default": "false",
2136
- "fieldName": "isVertical"
2137
- },
2138
- {
2139
- "name": "add-default-actions",
2140
- "type": {
2141
- "text": "boolean"
2142
- },
2143
- "default": "true",
2144
- "fieldName": "addDefaultActions"
2145
- },
2146
- {
2147
- "name": "auto-close-on-action",
2148
- "type": {
2149
- "text": "boolean"
2150
- },
2151
- "default": "true",
2152
- "fieldName": "autoCloseOnAction"
2153
- },
2154
- {
2155
- "name": "name",
2156
- "type": {
2157
- "text": "string"
2158
- },
2159
- "default": "'Actions'",
2160
- "fieldName": "name"
2161
- },
2162
- {
2163
- "name": "open",
2164
- "type": {
2165
- "text": "boolean"
2166
- },
2167
- "default": "false",
2168
- "fieldName": "open"
2169
- },
2170
- {
2171
- "name": "buttonAppearance",
2172
- "type": {
2173
- "text": "string"
2174
- },
2175
- "fieldName": "buttonAppearance"
2176
- },
2177
- {
2178
- "name": "hide-disabled",
2179
- "type": {
2180
- "text": "boolean"
2181
- },
2182
- "default": "false",
2183
- "fieldName": "hideDisabled"
2184
- },
2158
+ "events": [
2185
2159
  {
2186
- "name": "hide-menu-single-option",
2187
- "type": {
2188
- "text": "boolean"
2189
- },
2190
- "default": "false",
2191
- "fieldName": "hideMenuSingleOption"
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
+ }
2192
2166
  }
2193
- ],
2194
- "superclass": {
2195
- "name": "FoundationElement",
2196
- "package": "@microsoft/fast-foundation"
2167
+ ]
2168
+ },
2169
+ {
2170
+ "kind": "variable",
2171
+ "name": "foundationAccordionItemShadowOptions",
2172
+ "type": {
2173
+ "text": "ShadowRootInit"
2197
2174
  },
2198
- "tagName": "%%prefix%%-actions-menu",
2199
- "customElement": true
2175
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2200
2176
  },
2201
2177
  {
2202
2178
  "kind": "variable",
2203
- "name": "foundationActionsMenu",
2204
- "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",
2205
2189
  "privacy": "public"
2206
2190
  }
2207
2191
  ],
2208
2192
  "exports": [
2209
2193
  {
2210
2194
  "kind": "js",
2211
- "name": "ActionsMenu",
2195
+ "name": "AccordionItem",
2212
2196
  "declaration": {
2213
- "name": "ActionsMenu",
2214
- "module": "src/actions-menu/actions-menu.ts"
2197
+ "name": "AccordionItem",
2198
+ "module": "src/accordion-item/accordion-item.ts"
2215
2199
  }
2216
2200
  },
2217
2201
  {
2218
2202
  "kind": "js",
2219
- "name": "foundationActionsMenu",
2203
+ "name": "foundationAccordionItemShadowOptions",
2220
2204
  "declaration": {
2221
- "name": "foundationActionsMenu",
2222
- "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"
2223
2223
  }
2224
2224
  }
2225
2225
  ]
2226
2226
  },
2227
2227
  {
2228
2228
  "kind": "javascript-module",
2229
- "path": "src/actions-menu/index.ts",
2229
+ "path": "src/accordion-item/index.ts",
2230
2230
  "declarations": [],
2231
2231
  "exports": [
2232
2232
  {
@@ -2234,7 +2234,7 @@
2234
2234
  "name": "*",
2235
2235
  "declaration": {
2236
2236
  "name": "*",
2237
- "package": "./actions-menu.styles"
2237
+ "package": "./accordion-item.template"
2238
2238
  }
2239
2239
  },
2240
2240
  {
@@ -2242,7 +2242,7 @@
2242
2242
  "name": "*",
2243
2243
  "declaration": {
2244
2244
  "name": "*",
2245
- "package": "./actions-menu.template"
2245
+ "package": "./accordion-item.styles"
2246
2246
  }
2247
2247
  },
2248
2248
  {
@@ -2250,7 +2250,7 @@
2250
2250
  "name": "*",
2251
2251
  "declaration": {
2252
2252
  "name": "*",
2253
- "package": "./actions-menu"
2253
+ "package": "./accordion-item"
2254
2254
  }
2255
2255
  }
2256
2256
  ]
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.396.0",
4
+ "version": "14.396.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -85,13 +85,13 @@
85
85
  }
86
86
  },
87
87
  "devDependencies": {
88
- "@genesislcap/foundation-testing": "14.396.0",
89
- "@genesislcap/genx": "14.396.0",
90
- "@genesislcap/rollup-builder": "14.396.0",
91
- "@genesislcap/ts-builder": "14.396.0",
92
- "@genesislcap/uvu-playwright-builder": "14.396.0",
93
- "@genesislcap/vite-builder": "14.396.0",
94
- "@genesislcap/webpack-builder": "14.396.0",
88
+ "@genesislcap/foundation-testing": "14.396.1",
89
+ "@genesislcap/genx": "14.396.1",
90
+ "@genesislcap/rollup-builder": "14.396.1",
91
+ "@genesislcap/ts-builder": "14.396.1",
92
+ "@genesislcap/uvu-playwright-builder": "14.396.1",
93
+ "@genesislcap/vite-builder": "14.396.1",
94
+ "@genesislcap/webpack-builder": "14.396.1",
95
95
  "copyfiles": "^2.4.1"
96
96
  },
97
97
  "dependencies": {
@@ -100,15 +100,15 @@
100
100
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
101
101
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
102
102
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
103
- "@genesislcap/expression-builder": "14.396.0",
104
- "@genesislcap/foundation-comms": "14.396.0",
105
- "@genesislcap/foundation-criteria": "14.396.0",
106
- "@genesislcap/foundation-errors": "14.396.0",
107
- "@genesislcap/foundation-events": "14.396.0",
108
- "@genesislcap/foundation-logger": "14.396.0",
109
- "@genesislcap/foundation-notifications": "14.396.0",
110
- "@genesislcap/foundation-user": "14.396.0",
111
- "@genesislcap/foundation-utils": "14.396.0",
103
+ "@genesislcap/expression-builder": "14.396.1",
104
+ "@genesislcap/foundation-comms": "14.396.1",
105
+ "@genesislcap/foundation-criteria": "14.396.1",
106
+ "@genesislcap/foundation-errors": "14.396.1",
107
+ "@genesislcap/foundation-events": "14.396.1",
108
+ "@genesislcap/foundation-logger": "14.396.1",
109
+ "@genesislcap/foundation-notifications": "14.396.1",
110
+ "@genesislcap/foundation-user": "14.396.1",
111
+ "@genesislcap/foundation-utils": "14.396.1",
112
112
  "@microsoft/fast-colors": "5.3.1",
113
113
  "@microsoft/fast-components": "2.30.6",
114
114
  "@microsoft/fast-element": "1.14.0",
@@ -130,5 +130,5 @@
130
130
  "access": "public"
131
131
  },
132
132
  "customElements": "dist/custom-elements.json",
133
- "gitHead": "43e0fd00aa30590bdcad05ddb3d8aca0d493d020"
133
+ "gitHead": "4a6225102f4b6566bff9ec8a91848d661b528588"
134
134
  }