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