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