@genesislcap/foundation-ui 14.410.0 → 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 +467 -467
  2. package/package.json +19 -19
@@ -1289,11 +1289,34 @@
1289
1289
  },
1290
1290
  {
1291
1291
  "kind": "javascript-module",
1292
- "path": "src/accordion-item/accordion-item.styles.ts",
1292
+ "path": "src/actions-menu/actions-menu.styles.ts",
1293
1293
  "declarations": [
1294
1294
  {
1295
1295
  "kind": "function",
1296
- "name": "foundationAccordionItemStyles",
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
+ ]
1316
+ },
1317
+ {
1318
+ "kind": "function",
1319
+ "name": "foundationActionsMenuStyles",
1297
1320
  "return": {
1298
1321
  "type": {
1299
1322
  "text": "ElementStyles"
@@ -1318,157 +1341,270 @@
1318
1341
  "exports": [
1319
1342
  {
1320
1343
  "kind": "js",
1321
- "name": "foundationAccordionItemStyles",
1344
+ "name": "actionsMenuBaseStyles",
1322
1345
  "declaration": {
1323
- "name": "foundationAccordionItemStyles",
1324
- "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"
1325
1356
  }
1326
1357
  }
1327
1358
  ]
1328
1359
  },
1329
1360
  {
1330
1361
  "kind": "javascript-module",
1331
- "path": "src/accordion-item/accordion-item.template.ts",
1362
+ "path": "src/actions-menu/actions-menu.template.ts",
1332
1363
  "declarations": [
1333
1364
  {
1334
1365
  "kind": "function",
1335
- "name": "foundationAccordionItemTemplate",
1336
- "return": {
1337
- "type": {
1338
- "text": "ViewTemplate<AccordionItem>"
1339
- }
1340
- },
1366
+ "name": "menuTemplate",
1341
1367
  "parameters": [
1342
1368
  {
1343
- "name": "context",
1369
+ "name": "prefix",
1344
1370
  "type": {
1345
- "text": "ElementDefinitionContext"
1371
+ "text": "string"
1346
1372
  }
1347
- },
1373
+ }
1374
+ ]
1375
+ },
1376
+ {
1377
+ "kind": "function",
1378
+ "name": "singleOptionTemplate",
1379
+ "parameters": [
1348
1380
  {
1349
- "name": "definition",
1381
+ "name": "prefix",
1350
1382
  "type": {
1351
- "text": "FoundationElementDefinition"
1383
+ "text": "string"
1352
1384
  }
1353
1385
  }
1354
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`"
1355
1395
  }
1356
1396
  ],
1357
1397
  "exports": [
1358
1398
  {
1359
1399
  "kind": "js",
1360
- "name": "foundationAccordionItemTemplate",
1400
+ "name": "menuTemplate",
1361
1401
  "declaration": {
1362
- "name": "foundationAccordionItemTemplate",
1363
- "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"
1364
1420
  }
1365
1421
  }
1366
1422
  ]
1367
1423
  },
1368
1424
  {
1369
1425
  "kind": "javascript-module",
1370
- "path": "src/accordion-item/accordion-item.ts",
1426
+ "path": "src/actions-menu/actions-menu.ts",
1371
1427
  "declarations": [
1372
1428
  {
1373
1429
  "kind": "class",
1374
1430
  "description": "",
1375
- "name": "AccordionItem",
1376
- "superclass": {
1377
- "name": "FASTAccordionItem",
1378
- "package": "@microsoft/fast-components"
1379
- },
1380
- "tagName": "%%prefix%%-accordion-item",
1381
- "customElement": true,
1382
- "attributes": [
1431
+ "name": "ActionsMenu",
1432
+ "members": [
1383
1433
  {
1384
- "name": "heading-level",
1434
+ "kind": "field",
1435
+ "name": "actions",
1385
1436
  "type": {
1386
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1387
- },
1388
- "default": "2",
1389
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1390
- "fieldName": "headinglevel",
1391
- "inheritedFrom": {
1392
- "name": "AccordionItem",
1393
- "module": "src/accordion-item/accordion-item.ts"
1437
+ "text": "ActionMenuItem[]"
1394
1438
  }
1395
1439
  },
1396
1440
  {
1441
+ "kind": "field",
1442
+ "name": "isVertical",
1397
1443
  "type": {
1398
1444
  "text": "boolean"
1399
1445
  },
1400
- "default": "false",
1401
- "description": "Expands or collapses the item.",
1402
- "fieldName": "expanded",
1403
- "inheritedFrom": {
1404
- "name": "AccordionItem",
1405
- "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"
1406
1469
  }
1407
1470
  },
1408
1471
  {
1409
- "name": "id",
1472
+ "kind": "field",
1473
+ "name": "definition",
1474
+ "type": {
1475
+ "text": "any"
1476
+ }
1477
+ },
1478
+ {
1479
+ "kind": "field",
1480
+ "name": "name",
1410
1481
  "type": {
1411
1482
  "text": "string"
1412
1483
  },
1413
- "description": "The item ID",
1414
- "fieldName": "id",
1415
- "inheritedFrom": {
1416
- "name": "AccordionItem",
1417
- "module": "src/accordion-item/accordion-item.ts"
1418
- }
1419
- }
1420
- ],
1421
- "members": [
1484
+ "default": "'Actions'"
1485
+ },
1422
1486
  {
1423
1487
  "kind": "field",
1424
- "name": "headinglevel",
1488
+ "name": "open",
1425
1489
  "type": {
1426
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1490
+ "text": "boolean"
1427
1491
  },
1428
- "privacy": "public",
1429
- "default": "2",
1430
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1431
- "inheritedFrom": {
1432
- "name": "AccordionItem",
1433
- "module": "src/accordion-item/accordion-item.ts"
1492
+ "default": "false"
1493
+ },
1494
+ {
1495
+ "kind": "field",
1496
+ "name": "buttonAppearance",
1497
+ "type": {
1498
+ "text": "string"
1434
1499
  }
1435
1500
  },
1436
1501
  {
1437
1502
  "kind": "field",
1438
- "name": "expanded",
1503
+ "name": "hideDisabled",
1439
1504
  "type": {
1440
1505
  "text": "boolean"
1441
1506
  },
1442
- "privacy": "public",
1443
- "default": "false",
1444
- "description": "Expands or collapses the item.",
1445
- "inheritedFrom": {
1446
- "name": "AccordionItem",
1447
- "module": "src/accordion-item/accordion-item.ts"
1448
- }
1507
+ "default": "false"
1449
1508
  },
1450
1509
  {
1451
1510
  "kind": "field",
1452
- "name": "id",
1511
+ "name": "hideMenuSingleOption",
1453
1512
  "type": {
1454
- "text": "string"
1513
+ "text": "boolean"
1455
1514
  },
1456
- "privacy": "public",
1457
- "description": "The item ID",
1458
- "inheritedFrom": {
1459
- "name": "AccordionItem",
1460
- "module": "src/accordion-item/accordion-item.ts"
1515
+ "default": "false"
1516
+ },
1517
+ {
1518
+ "kind": "field",
1519
+ "name": "singleOption",
1520
+ "type": {
1521
+ "text": "ActionMenuItem"
1461
1522
  }
1462
1523
  },
1463
1524
  {
1464
1525
  "kind": "field",
1465
- "name": "change",
1466
- "privacy": "private",
1467
- "inheritedFrom": {
1468
- "name": "AccordionItem",
1469
- "module": "src/accordion-item/accordion-item.ts"
1526
+ "name": "actionsMenu",
1527
+ "type": {
1528
+ "text": "HTMLElement"
1470
1529
  }
1471
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
+ },
1472
1608
  {
1473
1609
  "kind": "field",
1474
1610
  "name": "_presentation",
@@ -1581,109 +1717,107 @@
1581
1717
  }
1582
1718
  }
1583
1719
  ],
1584
- "events": [
1720
+ "attributes": [
1585
1721
  {
1586
- "description": "Fires a custom 'change' event when the button is invoked",
1587
- "name": "change",
1588
- "inheritedFrom": {
1589
- "name": "AccordionItem",
1590
- "module": "src/accordion-item/accordion-item.ts"
1591
- }
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"
1592
1783
  }
1593
- ]
1594
- },
1595
- {
1596
- "kind": "variable",
1597
- "name": "foundationAccordionItemShadowOptions",
1598
- "type": {
1599
- "text": "ShadowRootInit"
1600
- },
1601
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1602
- },
1603
- {
1604
- "kind": "variable",
1605
- "name": "defaultAccordionItemConfig",
1606
- "type": {
1607
- "text": "object"
1784
+ ],
1785
+ "superclass": {
1786
+ "name": "FoundationElement",
1787
+ "package": "@microsoft/fast-foundation"
1608
1788
  },
1609
- "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}"
1610
- },
1611
- {
1612
- "kind": "variable",
1613
- "name": "foundationAccordionItem",
1614
- "description": "The Foundation Accordion Item",
1615
- "privacy": "public"
1616
- }
1617
- ],
1618
- "exports": [
1619
- {
1620
- "kind": "js",
1621
- "name": "AccordionItem",
1622
- "declaration": {
1623
- "name": "AccordionItem",
1624
- "module": "src/accordion-item/accordion-item.ts"
1625
- }
1626
- },
1627
- {
1628
- "kind": "js",
1629
- "name": "foundationAccordionItemShadowOptions",
1630
- "declaration": {
1631
- "name": "foundationAccordionItemShadowOptions",
1632
- "module": "src/accordion-item/accordion-item.ts"
1633
- }
1634
- },
1635
- {
1636
- "kind": "js",
1637
- "name": "defaultAccordionItemConfig",
1638
- "declaration": {
1639
- "name": "defaultAccordionItemConfig",
1640
- "module": "src/accordion-item/accordion-item.ts"
1641
- }
1789
+ "tagName": "%%prefix%%-actions-menu",
1790
+ "customElement": true
1642
1791
  },
1643
1792
  {
1644
- "kind": "js",
1645
- "name": "foundationAccordionItem",
1646
- "declaration": {
1647
- "name": "foundationAccordionItem",
1648
- "module": "src/accordion-item/accordion-item.ts"
1649
- }
1793
+ "kind": "variable",
1794
+ "name": "foundationActionsMenu",
1795
+ "description": "The Foundation Actions Menu",
1796
+ "privacy": "public"
1650
1797
  }
1651
- ]
1652
- },
1653
- {
1654
- "kind": "javascript-module",
1655
- "path": "src/accordion-item/index.ts",
1656
- "declarations": [],
1798
+ ],
1657
1799
  "exports": [
1658
1800
  {
1659
1801
  "kind": "js",
1660
- "name": "*",
1661
- "declaration": {
1662
- "name": "*",
1663
- "package": "./accordion-item.template"
1664
- }
1665
- },
1666
- {
1667
- "kind": "js",
1668
- "name": "*",
1802
+ "name": "ActionsMenu",
1669
1803
  "declaration": {
1670
- "name": "*",
1671
- "package": "./accordion-item.styles"
1804
+ "name": "ActionsMenu",
1805
+ "module": "src/actions-menu/actions-menu.ts"
1672
1806
  }
1673
1807
  },
1674
1808
  {
1675
1809
  "kind": "js",
1676
- "name": "*",
1810
+ "name": "foundationActionsMenu",
1677
1811
  "declaration": {
1678
- "name": "*",
1679
- "package": "./accordion-item"
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/_config/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": "./styles"
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": "./tokens"
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": "./values"
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.410.0",
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.410.0",
89
- "@genesislcap/genx": "14.410.0",
90
- "@genesislcap/rollup-builder": "14.410.0",
91
- "@genesislcap/ts-builder": "14.410.0",
92
- "@genesislcap/uvu-playwright-builder": "14.410.0",
93
- "@genesislcap/vite-builder": "14.410.0",
94
- "@genesislcap/webpack-builder": "14.410.0",
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.410.0",
104
- "@genesislcap/foundation-ai": "14.410.0",
105
- "@genesislcap/foundation-comms": "14.410.0",
106
- "@genesislcap/foundation-criteria": "14.410.0",
107
- "@genesislcap/foundation-errors": "14.410.0",
108
- "@genesislcap/foundation-events": "14.410.0",
109
- "@genesislcap/foundation-logger": "14.410.0",
110
- "@genesislcap/foundation-notifications": "14.410.0",
111
- "@genesislcap/foundation-user": "14.410.0",
112
- "@genesislcap/foundation-utils": "14.410.0",
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": "9331a34f5da9547cbc71a4d60cc0580b3a4dca80"
134
+ "gitHead": "f0f06261f9263da766433fa02f4c011c3391e3c4"
135
135
  }