@genesislcap/foundation-ui 14.409.0-FUI-2495.5 → 14.409.0-FUI-2495.7

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 +937 -937
  2. package/package.json +19 -19
@@ -1289,11 +1289,11 @@
1289
1289
  },
1290
1290
  {
1291
1291
  "kind": "javascript-module",
1292
- "path": "src/accordion/accordion.styles.ts",
1292
+ "path": "src/actions-menu/actions-menu.styles.ts",
1293
1293
  "declarations": [
1294
1294
  {
1295
1295
  "kind": "function",
1296
- "name": "foundationAccordionStyles",
1296
+ "name": "actionsMenuBaseStyles",
1297
1297
  "return": {
1298
1298
  "type": {
1299
1299
  "text": "ElementStyles"
@@ -1313,29 +1313,13 @@
1313
1313
  }
1314
1314
  }
1315
1315
  ]
1316
- }
1317
- ],
1318
- "exports": [
1319
- {
1320
- "kind": "js",
1321
- "name": "foundationAccordionStyles",
1322
- "declaration": {
1323
- "name": "foundationAccordionStyles",
1324
- "module": "src/accordion/accordion.styles.ts"
1325
- }
1326
- }
1327
- ]
1328
- },
1329
- {
1330
- "kind": "javascript-module",
1331
- "path": "src/accordion/accordion.template.ts",
1332
- "declarations": [
1316
+ },
1333
1317
  {
1334
1318
  "kind": "function",
1335
- "name": "foundationAccordionTemplate",
1319
+ "name": "foundationActionsMenuStyles",
1336
1320
  "return": {
1337
1321
  "type": {
1338
- "text": "ViewTemplate<Accordion>"
1322
+ "text": "ElementStyles"
1339
1323
  }
1340
1324
  },
1341
1325
  "parameters": [
@@ -1357,300 +1341,270 @@
1357
1341
  "exports": [
1358
1342
  {
1359
1343
  "kind": "js",
1360
- "name": "foundationAccordionTemplate",
1344
+ "name": "actionsMenuBaseStyles",
1361
1345
  "declaration": {
1362
- "name": "foundationAccordionTemplate",
1363
- "module": "src/accordion/accordion.template.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"
1364
1356
  }
1365
1357
  }
1366
1358
  ]
1367
1359
  },
1368
1360
  {
1369
1361
  "kind": "javascript-module",
1370
- "path": "src/accordion/accordion.ts",
1362
+ "path": "src/actions-menu/actions-menu.template.ts",
1371
1363
  "declarations": [
1372
1364
  {
1373
- "kind": "class",
1374
- "description": "",
1375
- "name": "Accordion",
1376
- "superclass": {
1377
- "name": "FASTAccordion",
1378
- "package": "@microsoft/fast-foundation"
1379
- },
1380
- "tagName": "%%prefix%%-accordion",
1381
- "customElement": true
1365
+ "kind": "function",
1366
+ "name": "menuTemplate",
1367
+ "parameters": [
1368
+ {
1369
+ "name": "prefix",
1370
+ "type": {
1371
+ "text": "string"
1372
+ }
1373
+ }
1374
+ ]
1382
1375
  },
1383
1376
  {
1384
- "kind": "variable",
1385
- "name": "foundationAccordionShadowOptions",
1386
- "type": {
1387
- "text": "ShadowRootInit"
1388
- },
1389
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1377
+ "kind": "function",
1378
+ "name": "singleOptionTemplate",
1379
+ "parameters": [
1380
+ {
1381
+ "name": "prefix",
1382
+ "type": {
1383
+ "text": "string"
1384
+ }
1385
+ }
1386
+ ]
1390
1387
  },
1391
1388
  {
1392
1389
  "kind": "variable",
1393
- "name": "defaultAccordionConfig",
1390
+ "name": "foundationActionsMenuTemplate",
1394
1391
  "type": {
1395
- "text": "object"
1392
+ "text": "ViewTemplate<ActionsMenu>"
1396
1393
  },
1397
- "default": "{}"
1398
- },
1399
- {
1400
- "kind": "variable",
1401
- "name": "foundationAccordion",
1402
- "description": "The Foundation Accordion",
1403
- "privacy": "public"
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`"
1404
1395
  }
1405
1396
  ],
1406
1397
  "exports": [
1407
1398
  {
1408
1399
  "kind": "js",
1409
- "name": "Accordion",
1410
- "declaration": {
1411
- "name": "Accordion",
1412
- "module": "src/accordion/accordion.ts"
1413
- }
1414
- },
1415
- {
1416
- "kind": "js",
1417
- "name": "foundationAccordionShadowOptions",
1418
- "declaration": {
1419
- "name": "foundationAccordionShadowOptions",
1420
- "module": "src/accordion/accordion.ts"
1421
- }
1422
- },
1423
- {
1424
- "kind": "js",
1425
- "name": "defaultAccordionConfig",
1426
- "declaration": {
1427
- "name": "defaultAccordionConfig",
1428
- "module": "src/accordion/accordion.ts"
1429
- }
1430
- },
1431
- {
1432
- "kind": "js",
1433
- "name": "foundationAccordion",
1434
- "declaration": {
1435
- "name": "foundationAccordion",
1436
- "module": "src/accordion/accordion.ts"
1437
- }
1438
- }
1439
- ]
1440
- },
1441
- {
1442
- "kind": "javascript-module",
1443
- "path": "src/accordion/index.ts",
1444
- "declarations": [],
1445
- "exports": [
1446
- {
1447
- "kind": "js",
1448
- "name": "*",
1400
+ "name": "menuTemplate",
1449
1401
  "declaration": {
1450
- "name": "*",
1451
- "package": "./accordion.template"
1402
+ "name": "menuTemplate",
1403
+ "module": "src/actions-menu/actions-menu.template.ts"
1452
1404
  }
1453
1405
  },
1454
1406
  {
1455
1407
  "kind": "js",
1456
- "name": "*",
1408
+ "name": "singleOptionTemplate",
1457
1409
  "declaration": {
1458
- "name": "*",
1459
- "package": "./accordion.styles"
1410
+ "name": "singleOptionTemplate",
1411
+ "module": "src/actions-menu/actions-menu.template.ts"
1460
1412
  }
1461
1413
  },
1462
1414
  {
1463
1415
  "kind": "js",
1464
- "name": "*",
1416
+ "name": "foundationActionsMenuTemplate",
1465
1417
  "declaration": {
1466
- "name": "*",
1467
- "package": "./accordion"
1418
+ "name": "foundationActionsMenuTemplate",
1419
+ "module": "src/actions-menu/actions-menu.template.ts"
1468
1420
  }
1469
1421
  }
1470
1422
  ]
1471
1423
  },
1472
1424
  {
1473
1425
  "kind": "javascript-module",
1474
- "path": "src/accordion-item/accordion-item.styles.ts",
1426
+ "path": "src/actions-menu/actions-menu.ts",
1475
1427
  "declarations": [
1476
1428
  {
1477
- "kind": "function",
1478
- "name": "foundationAccordionItemStyles",
1479
- "return": {
1480
- "type": {
1481
- "text": "ElementStyles"
1482
- }
1483
- },
1484
- "parameters": [
1429
+ "kind": "class",
1430
+ "description": "",
1431
+ "name": "ActionsMenu",
1432
+ "members": [
1485
1433
  {
1486
- "name": "context",
1434
+ "kind": "field",
1435
+ "name": "actions",
1487
1436
  "type": {
1488
- "text": "ElementDefinitionContext"
1437
+ "text": "ActionMenuItem[]"
1489
1438
  }
1490
1439
  },
1491
1440
  {
1492
- "name": "definition",
1441
+ "kind": "field",
1442
+ "name": "isVertical",
1493
1443
  "type": {
1494
- "text": "FoundationElementDefinition"
1495
- }
1496
- }
1497
- ]
1498
- }
1499
- ],
1500
- "exports": [
1501
- {
1502
- "kind": "js",
1503
- "name": "foundationAccordionItemStyles",
1504
- "declaration": {
1505
- "name": "foundationAccordionItemStyles",
1506
- "module": "src/accordion-item/accordion-item.styles.ts"
1507
- }
1508
- }
1509
- ]
1510
- },
1511
- {
1512
- "kind": "javascript-module",
1513
- "path": "src/accordion-item/accordion-item.template.ts",
1514
- "declarations": [
1515
- {
1516
- "kind": "function",
1517
- "name": "foundationAccordionItemTemplate",
1518
- "return": {
1519
- "type": {
1520
- "text": "ViewTemplate<AccordionItem>"
1521
- }
1522
- },
1523
- "parameters": [
1444
+ "text": "boolean"
1445
+ },
1446
+ "default": "false"
1447
+ },
1524
1448
  {
1525
- "name": "context",
1449
+ "kind": "field",
1450
+ "name": "addDefaultActions",
1526
1451
  "type": {
1527
- "text": "ElementDefinitionContext"
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"
1528
1469
  }
1529
1470
  },
1530
1471
  {
1472
+ "kind": "field",
1531
1473
  "name": "definition",
1532
1474
  "type": {
1533
- "text": "FoundationElementDefinition"
1475
+ "text": "any"
1534
1476
  }
1535
- }
1536
- ]
1537
- }
1538
- ],
1539
- "exports": [
1540
- {
1541
- "kind": "js",
1542
- "name": "foundationAccordionItemTemplate",
1543
- "declaration": {
1544
- "name": "foundationAccordionItemTemplate",
1545
- "module": "src/accordion-item/accordion-item.template.ts"
1546
- }
1547
- }
1548
- ]
1549
- },
1550
- {
1551
- "kind": "javascript-module",
1552
- "path": "src/accordion-item/accordion-item.ts",
1553
- "declarations": [
1554
- {
1555
- "kind": "class",
1556
- "description": "",
1557
- "name": "AccordionItem",
1558
- "superclass": {
1559
- "name": "FASTAccordionItem",
1560
- "package": "@microsoft/fast-components"
1561
- },
1562
- "tagName": "%%prefix%%-accordion-item",
1563
- "customElement": true,
1564
- "attributes": [
1477
+ },
1565
1478
  {
1566
- "name": "heading-level",
1479
+ "kind": "field",
1480
+ "name": "name",
1567
1481
  "type": {
1568
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1482
+ "text": "string"
1569
1483
  },
1570
- "default": "2",
1571
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1572
- "fieldName": "headinglevel",
1573
- "inheritedFrom": {
1574
- "name": "AccordionItem",
1575
- "module": "src/accordion-item/accordion-item.ts"
1576
- }
1484
+ "default": "'Actions'"
1577
1485
  },
1578
1486
  {
1487
+ "kind": "field",
1488
+ "name": "open",
1579
1489
  "type": {
1580
1490
  "text": "boolean"
1581
1491
  },
1582
- "default": "false",
1583
- "description": "Expands or collapses the item.",
1584
- "fieldName": "expanded",
1585
- "inheritedFrom": {
1586
- "name": "AccordionItem",
1587
- "module": "src/accordion-item/accordion-item.ts"
1588
- }
1492
+ "default": "false"
1589
1493
  },
1590
1494
  {
1591
- "name": "id",
1495
+ "kind": "field",
1496
+ "name": "buttonAppearance",
1592
1497
  "type": {
1593
1498
  "text": "string"
1594
- },
1595
- "description": "The item ID",
1596
- "fieldName": "id",
1597
- "inheritedFrom": {
1598
- "name": "AccordionItem",
1599
- "module": "src/accordion-item/accordion-item.ts"
1600
1499
  }
1601
- }
1602
- ],
1603
- "members": [
1500
+ },
1604
1501
  {
1605
1502
  "kind": "field",
1606
- "name": "headinglevel",
1503
+ "name": "hideDisabled",
1607
1504
  "type": {
1608
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1505
+ "text": "boolean"
1609
1506
  },
1610
- "privacy": "public",
1611
- "default": "2",
1612
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1613
- "inheritedFrom": {
1614
- "name": "AccordionItem",
1615
- "module": "src/accordion-item/accordion-item.ts"
1616
- }
1507
+ "default": "false"
1617
1508
  },
1618
1509
  {
1619
1510
  "kind": "field",
1620
- "name": "expanded",
1511
+ "name": "hideMenuSingleOption",
1621
1512
  "type": {
1622
1513
  "text": "boolean"
1623
1514
  },
1624
- "privacy": "public",
1625
- "default": "false",
1626
- "description": "Expands or collapses the item.",
1627
- "inheritedFrom": {
1628
- "name": "AccordionItem",
1629
- "module": "src/accordion-item/accordion-item.ts"
1630
- }
1515
+ "default": "false"
1631
1516
  },
1632
1517
  {
1633
1518
  "kind": "field",
1634
- "name": "id",
1519
+ "name": "singleOption",
1635
1520
  "type": {
1636
- "text": "string"
1637
- },
1638
- "privacy": "public",
1639
- "description": "The item ID",
1640
- "inheritedFrom": {
1641
- "name": "AccordionItem",
1642
- "module": "src/accordion-item/accordion-item.ts"
1521
+ "text": "ActionMenuItem"
1643
1522
  }
1644
1523
  },
1645
1524
  {
1646
1525
  "kind": "field",
1647
- "name": "change",
1648
- "privacy": "private",
1649
- "inheritedFrom": {
1650
- "name": "AccordionItem",
1651
- "module": "src/accordion-item/accordion-item.ts"
1526
+ "name": "actionsMenu",
1527
+ "type": {
1528
+ "text": "HTMLElement"
1652
1529
  }
1653
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
+ },
1654
1608
  {
1655
1609
  "kind": "field",
1656
1610
  "name": "_presentation",
@@ -1763,109 +1717,107 @@
1763
1717
  }
1764
1718
  }
1765
1719
  ],
1766
- "events": [
1720
+ "attributes": [
1767
1721
  {
1768
- "description": "Fires a custom 'change' event when the button is invoked",
1769
- "name": "change",
1770
- "inheritedFrom": {
1771
- "name": "AccordionItem",
1772
- "module": "src/accordion-item/accordion-item.ts"
1773
- }
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"
1774
1783
  }
1775
- ]
1776
- },
1777
- {
1778
- "kind": "variable",
1779
- "name": "foundationAccordionItemShadowOptions",
1780
- "type": {
1781
- "text": "ShadowRootInit"
1782
- },
1783
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1784
- },
1785
- {
1786
- "kind": "variable",
1787
- "name": "defaultAccordionItemConfig",
1788
- "type": {
1789
- "text": "object"
1784
+ ],
1785
+ "superclass": {
1786
+ "name": "FoundationElement",
1787
+ "package": "@microsoft/fast-foundation"
1790
1788
  },
1791
- "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
1792
1791
  },
1793
1792
  {
1794
1793
  "kind": "variable",
1795
- "name": "foundationAccordionItem",
1796
- "description": "The Foundation Accordion Item",
1794
+ "name": "foundationActionsMenu",
1795
+ "description": "The Foundation Actions Menu",
1797
1796
  "privacy": "public"
1798
1797
  }
1799
1798
  ],
1800
1799
  "exports": [
1801
1800
  {
1802
1801
  "kind": "js",
1803
- "name": "AccordionItem",
1804
- "declaration": {
1805
- "name": "AccordionItem",
1806
- "module": "src/accordion-item/accordion-item.ts"
1807
- }
1808
- },
1809
- {
1810
- "kind": "js",
1811
- "name": "foundationAccordionItemShadowOptions",
1812
- "declaration": {
1813
- "name": "foundationAccordionItemShadowOptions",
1814
- "module": "src/accordion-item/accordion-item.ts"
1815
- }
1816
- },
1817
- {
1818
- "kind": "js",
1819
- "name": "defaultAccordionItemConfig",
1820
- "declaration": {
1821
- "name": "defaultAccordionItemConfig",
1822
- "module": "src/accordion-item/accordion-item.ts"
1823
- }
1824
- },
1825
- {
1826
- "kind": "js",
1827
- "name": "foundationAccordionItem",
1828
- "declaration": {
1829
- "name": "foundationAccordionItem",
1830
- "module": "src/accordion-item/accordion-item.ts"
1831
- }
1832
- }
1833
- ]
1834
- },
1835
- {
1836
- "kind": "javascript-module",
1837
- "path": "src/accordion-item/index.ts",
1838
- "declarations": [],
1839
- "exports": [
1840
- {
1841
- "kind": "js",
1842
- "name": "*",
1843
- "declaration": {
1844
- "name": "*",
1845
- "package": "./accordion-item.template"
1846
- }
1847
- },
1848
- {
1849
- "kind": "js",
1850
- "name": "*",
1802
+ "name": "ActionsMenu",
1851
1803
  "declaration": {
1852
- "name": "*",
1853
- "package": "./accordion-item.styles"
1804
+ "name": "ActionsMenu",
1805
+ "module": "src/actions-menu/actions-menu.ts"
1854
1806
  }
1855
1807
  },
1856
1808
  {
1857
1809
  "kind": "js",
1858
- "name": "*",
1810
+ "name": "foundationActionsMenu",
1859
1811
  "declaration": {
1860
- "name": "*",
1861
- "package": "./accordion-item"
1812
+ "name": "foundationActionsMenu",
1813
+ "module": "src/actions-menu/actions-menu.ts"
1862
1814
  }
1863
1815
  }
1864
1816
  ]
1865
1817
  },
1866
1818
  {
1867
1819
  "kind": "javascript-module",
1868
- "path": "src/_config/index.ts",
1820
+ "path": "src/actions-menu/index.ts",
1869
1821
  "declarations": [],
1870
1822
  "exports": [
1871
1823
  {
@@ -1873,7 +1825,7 @@
1873
1825
  "name": "*",
1874
1826
  "declaration": {
1875
1827
  "name": "*",
1876
- "package": "./styles"
1828
+ "package": "./actions-menu.styles"
1877
1829
  }
1878
1830
  },
1879
1831
  {
@@ -1881,7 +1833,7 @@
1881
1833
  "name": "*",
1882
1834
  "declaration": {
1883
1835
  "name": "*",
1884
- "package": "./tokens"
1836
+ "package": "./actions-menu.template"
1885
1837
  }
1886
1838
  },
1887
1839
  {
@@ -1889,41 +1841,18 @@
1889
1841
  "name": "*",
1890
1842
  "declaration": {
1891
1843
  "name": "*",
1892
- "package": "./values"
1844
+ "package": "./actions-menu"
1893
1845
  }
1894
1846
  }
1895
1847
  ]
1896
1848
  },
1897
1849
  {
1898
1850
  "kind": "javascript-module",
1899
- "path": "src/actions-menu/actions-menu.styles.ts",
1851
+ "path": "src/accordion-item/accordion-item.styles.ts",
1900
1852
  "declarations": [
1901
1853
  {
1902
1854
  "kind": "function",
1903
- "name": "actionsMenuBaseStyles",
1904
- "return": {
1905
- "type": {
1906
- "text": "ElementStyles"
1907
- }
1908
- },
1909
- "parameters": [
1910
- {
1911
- "name": "context",
1912
- "type": {
1913
- "text": "ElementDefinitionContext"
1914
- }
1915
- },
1916
- {
1917
- "name": "definition",
1918
- "type": {
1919
- "text": "FoundationElementDefinition"
1920
- }
1921
- }
1922
- ]
1923
- },
1924
- {
1925
- "kind": "function",
1926
- "name": "foundationActionsMenuStyles",
1855
+ "name": "foundationAccordionItemStyles",
1927
1856
  "return": {
1928
1857
  "type": {
1929
1858
  "text": "ElementStyles"
@@ -1948,270 +1877,157 @@
1948
1877
  "exports": [
1949
1878
  {
1950
1879
  "kind": "js",
1951
- "name": "actionsMenuBaseStyles",
1952
- "declaration": {
1953
- "name": "actionsMenuBaseStyles",
1954
- "module": "src/actions-menu/actions-menu.styles.ts"
1955
- }
1956
- },
1957
- {
1958
- "kind": "js",
1959
- "name": "foundationActionsMenuStyles",
1880
+ "name": "foundationAccordionItemStyles",
1960
1881
  "declaration": {
1961
- "name": "foundationActionsMenuStyles",
1962
- "module": "src/actions-menu/actions-menu.styles.ts"
1882
+ "name": "foundationAccordionItemStyles",
1883
+ "module": "src/accordion-item/accordion-item.styles.ts"
1963
1884
  }
1964
1885
  }
1965
1886
  ]
1966
1887
  },
1967
1888
  {
1968
1889
  "kind": "javascript-module",
1969
- "path": "src/actions-menu/actions-menu.template.ts",
1890
+ "path": "src/accordion-item/accordion-item.template.ts",
1970
1891
  "declarations": [
1971
1892
  {
1972
1893
  "kind": "function",
1973
- "name": "menuTemplate",
1894
+ "name": "foundationAccordionItemTemplate",
1895
+ "return": {
1896
+ "type": {
1897
+ "text": "ViewTemplate<AccordionItem>"
1898
+ }
1899
+ },
1974
1900
  "parameters": [
1975
1901
  {
1976
- "name": "prefix",
1902
+ "name": "context",
1977
1903
  "type": {
1978
- "text": "string"
1904
+ "text": "ElementDefinitionContext"
1979
1905
  }
1980
- }
1981
- ]
1982
- },
1983
- {
1984
- "kind": "function",
1985
- "name": "singleOptionTemplate",
1986
- "parameters": [
1906
+ },
1987
1907
  {
1988
- "name": "prefix",
1908
+ "name": "definition",
1989
1909
  "type": {
1990
- "text": "string"
1910
+ "text": "FoundationElementDefinition"
1991
1911
  }
1992
1912
  }
1993
1913
  ]
1994
- },
1995
- {
1996
- "kind": "variable",
1997
- "name": "foundationActionsMenuTemplate",
1998
- "type": {
1999
- "text": "ViewTemplate<ActionsMenu>"
2000
- },
2001
- "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`"
2002
1914
  }
2003
1915
  ],
2004
1916
  "exports": [
2005
1917
  {
2006
1918
  "kind": "js",
2007
- "name": "menuTemplate",
2008
- "declaration": {
2009
- "name": "menuTemplate",
2010
- "module": "src/actions-menu/actions-menu.template.ts"
2011
- }
2012
- },
2013
- {
2014
- "kind": "js",
2015
- "name": "singleOptionTemplate",
2016
- "declaration": {
2017
- "name": "singleOptionTemplate",
2018
- "module": "src/actions-menu/actions-menu.template.ts"
2019
- }
2020
- },
2021
- {
2022
- "kind": "js",
2023
- "name": "foundationActionsMenuTemplate",
1919
+ "name": "foundationAccordionItemTemplate",
2024
1920
  "declaration": {
2025
- "name": "foundationActionsMenuTemplate",
2026
- "module": "src/actions-menu/actions-menu.template.ts"
1921
+ "name": "foundationAccordionItemTemplate",
1922
+ "module": "src/accordion-item/accordion-item.template.ts"
2027
1923
  }
2028
1924
  }
2029
1925
  ]
2030
1926
  },
2031
1927
  {
2032
1928
  "kind": "javascript-module",
2033
- "path": "src/actions-menu/actions-menu.ts",
1929
+ "path": "src/accordion-item/accordion-item.ts",
2034
1930
  "declarations": [
2035
1931
  {
2036
1932
  "kind": "class",
2037
1933
  "description": "",
2038
- "name": "ActionsMenu",
2039
- "members": [
2040
- {
2041
- "kind": "field",
2042
- "name": "actions",
2043
- "type": {
2044
- "text": "ActionMenuItem[]"
2045
- }
2046
- },
1934
+ "name": "AccordionItem",
1935
+ "superclass": {
1936
+ "name": "FASTAccordionItem",
1937
+ "package": "@microsoft/fast-components"
1938
+ },
1939
+ "tagName": "%%prefix%%-accordion-item",
1940
+ "customElement": true,
1941
+ "attributes": [
2047
1942
  {
2048
- "kind": "field",
2049
- "name": "isVertical",
1943
+ "name": "heading-level",
2050
1944
  "type": {
2051
- "text": "boolean"
1945
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2052
1946
  },
2053
- "default": "false"
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
+ }
2054
1954
  },
2055
1955
  {
2056
- "kind": "field",
2057
- "name": "addDefaultActions",
2058
1956
  "type": {
2059
1957
  "text": "boolean"
2060
1958
  },
2061
- "default": "true"
2062
- },
2063
- {
2064
- "kind": "field",
2065
- "name": "autoCloseOnAction",
2066
- "type": {
2067
- "text": "boolean"
2068
- },
2069
- "default": "true"
2070
- },
2071
- {
2072
- "kind": "field",
2073
- "name": "classNames",
2074
- "type": {
2075
- "text": "string"
2076
- }
2077
- },
2078
- {
2079
- "kind": "field",
2080
- "name": "definition",
2081
- "type": {
2082
- "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"
2083
1965
  }
2084
1966
  },
2085
1967
  {
2086
- "kind": "field",
2087
- "name": "name",
1968
+ "name": "id",
2088
1969
  "type": {
2089
1970
  "text": "string"
2090
1971
  },
2091
- "default": "'Actions'"
2092
- },
1972
+ "description": "The item ID",
1973
+ "fieldName": "id",
1974
+ "inheritedFrom": {
1975
+ "name": "AccordionItem",
1976
+ "module": "src/accordion-item/accordion-item.ts"
1977
+ }
1978
+ }
1979
+ ],
1980
+ "members": [
2093
1981
  {
2094
1982
  "kind": "field",
2095
- "name": "open",
1983
+ "name": "headinglevel",
2096
1984
  "type": {
2097
- "text": "boolean"
1985
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2098
1986
  },
2099
- "default": "false"
2100
- },
2101
- {
2102
- "kind": "field",
2103
- "name": "buttonAppearance",
2104
- "type": {
2105
- "text": "string"
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"
2106
1993
  }
2107
1994
  },
2108
1995
  {
2109
1996
  "kind": "field",
2110
- "name": "hideDisabled",
1997
+ "name": "expanded",
2111
1998
  "type": {
2112
1999
  "text": "boolean"
2113
2000
  },
2114
- "default": "false"
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"
2007
+ }
2115
2008
  },
2116
2009
  {
2117
2010
  "kind": "field",
2118
- "name": "hideMenuSingleOption",
2011
+ "name": "id",
2119
2012
  "type": {
2120
- "text": "boolean"
2013
+ "text": "string"
2121
2014
  },
2122
- "default": "false"
2123
- },
2124
- {
2125
- "kind": "field",
2126
- "name": "singleOption",
2127
- "type": {
2128
- "text": "ActionMenuItem"
2015
+ "privacy": "public",
2016
+ "description": "The item ID",
2017
+ "inheritedFrom": {
2018
+ "name": "AccordionItem",
2019
+ "module": "src/accordion-item/accordion-item.ts"
2129
2020
  }
2130
2021
  },
2131
2022
  {
2132
2023
  "kind": "field",
2133
- "name": "actionsMenu",
2134
- "type": {
2135
- "text": "HTMLElement"
2024
+ "name": "change",
2025
+ "privacy": "private",
2026
+ "inheritedFrom": {
2027
+ "name": "AccordionItem",
2028
+ "module": "src/accordion-item/accordion-item.ts"
2136
2029
  }
2137
2030
  },
2138
- {
2139
- "kind": "method",
2140
- "name": "definitionChanged",
2141
- "privacy": "protected",
2142
- "parameters": [
2143
- {
2144
- "name": "oldValue",
2145
- "type": {
2146
- "text": "any"
2147
- }
2148
- },
2149
- {
2150
- "name": "newValue",
2151
- "type": {
2152
- "text": "any"
2153
- }
2154
- }
2155
- ]
2156
- },
2157
- {
2158
- "kind": "method",
2159
- "name": "openChanged",
2160
- "privacy": "protected"
2161
- },
2162
- {
2163
- "kind": "method",
2164
- "name": "toggleActionsMenuVisibility"
2165
- },
2166
- {
2167
- "kind": "method",
2168
- "name": "onActionMenuItemClick",
2169
- "parameters": [
2170
- {
2171
- "name": "callback",
2172
- "type": {
2173
- "text": "(rowData) => void | any"
2174
- }
2175
- }
2176
- ]
2177
- },
2178
- {
2179
- "kind": "field",
2180
- "name": "allActions",
2181
- "type": {
2182
- "text": "ActionMenuItem[]"
2183
- },
2184
- "readonly": true
2185
- },
2186
- {
2187
- "kind": "field",
2188
- "name": "rowData",
2189
- "readonly": true
2190
- },
2191
- {
2192
- "kind": "method",
2193
- "name": "getLabel",
2194
- "parameters": [
2195
- {
2196
- "name": "name",
2197
- "type": {
2198
- "text": "string | ((rowData: any) => string)"
2199
- }
2200
- }
2201
- ]
2202
- },
2203
- {
2204
- "kind": "method",
2205
- "name": "getTemplate",
2206
- "parameters": [
2207
- {
2208
- "name": "prefix",
2209
- "type": {
2210
- "text": "string"
2211
- }
2212
- }
2213
- ]
2214
- },
2215
2031
  {
2216
2032
  "kind": "field",
2217
2033
  "name": "_presentation",
@@ -2324,107 +2140,78 @@
2324
2140
  }
2325
2141
  }
2326
2142
  ],
2327
- "attributes": [
2328
- {
2329
- "name": "is-vertical",
2330
- "type": {
2331
- "text": "boolean"
2332
- },
2333
- "default": "false",
2334
- "fieldName": "isVertical"
2335
- },
2336
- {
2337
- "name": "add-default-actions",
2338
- "type": {
2339
- "text": "boolean"
2340
- },
2341
- "default": "true",
2342
- "fieldName": "addDefaultActions"
2343
- },
2344
- {
2345
- "name": "auto-close-on-action",
2346
- "type": {
2347
- "text": "boolean"
2348
- },
2349
- "default": "true",
2350
- "fieldName": "autoCloseOnAction"
2351
- },
2352
- {
2353
- "name": "name",
2354
- "type": {
2355
- "text": "string"
2356
- },
2357
- "default": "'Actions'",
2358
- "fieldName": "name"
2359
- },
2360
- {
2361
- "name": "open",
2362
- "type": {
2363
- "text": "boolean"
2364
- },
2365
- "default": "false",
2366
- "fieldName": "open"
2367
- },
2368
- {
2369
- "name": "buttonAppearance",
2370
- "type": {
2371
- "text": "string"
2372
- },
2373
- "fieldName": "buttonAppearance"
2374
- },
2375
- {
2376
- "name": "hide-disabled",
2377
- "type": {
2378
- "text": "boolean"
2379
- },
2380
- "default": "false",
2381
- "fieldName": "hideDisabled"
2382
- },
2143
+ "events": [
2383
2144
  {
2384
- "name": "hide-menu-single-option",
2385
- "type": {
2386
- "text": "boolean"
2387
- },
2388
- "default": "false",
2389
- "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
+ }
2390
2151
  }
2391
- ],
2392
- "superclass": {
2393
- "name": "FoundationElement",
2394
- "package": "@microsoft/fast-foundation"
2152
+ ]
2153
+ },
2154
+ {
2155
+ "kind": "variable",
2156
+ "name": "foundationAccordionItemShadowOptions",
2157
+ "type": {
2158
+ "text": "ShadowRootInit"
2395
2159
  },
2396
- "tagName": "%%prefix%%-actions-menu",
2397
- "customElement": true
2160
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2398
2161
  },
2399
2162
  {
2400
2163
  "kind": "variable",
2401
- "name": "foundationActionsMenu",
2402
- "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",
2403
2174
  "privacy": "public"
2404
2175
  }
2405
2176
  ],
2406
2177
  "exports": [
2407
2178
  {
2408
2179
  "kind": "js",
2409
- "name": "ActionsMenu",
2180
+ "name": "AccordionItem",
2410
2181
  "declaration": {
2411
- "name": "ActionsMenu",
2412
- "module": "src/actions-menu/actions-menu.ts"
2182
+ "name": "AccordionItem",
2183
+ "module": "src/accordion-item/accordion-item.ts"
2413
2184
  }
2414
2185
  },
2415
2186
  {
2416
2187
  "kind": "js",
2417
- "name": "foundationActionsMenu",
2188
+ "name": "foundationAccordionItemShadowOptions",
2418
2189
  "declaration": {
2419
- "name": "foundationActionsMenu",
2420
- "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"
2421
2208
  }
2422
2209
  }
2423
2210
  ]
2424
2211
  },
2425
2212
  {
2426
2213
  "kind": "javascript-module",
2427
- "path": "src/actions-menu/index.ts",
2214
+ "path": "src/accordion-item/index.ts",
2428
2215
  "declarations": [],
2429
2216
  "exports": [
2430
2217
  {
@@ -2432,7 +2219,7 @@
2432
2219
  "name": "*",
2433
2220
  "declaration": {
2434
2221
  "name": "*",
2435
- "package": "./actions-menu.styles"
2222
+ "package": "./accordion-item.template"
2436
2223
  }
2437
2224
  },
2438
2225
  {
@@ -2440,7 +2227,7 @@
2440
2227
  "name": "*",
2441
2228
  "declaration": {
2442
2229
  "name": "*",
2443
- "package": "./actions-menu.template"
2230
+ "package": "./accordion-item.styles"
2444
2231
  }
2445
2232
  },
2446
2233
  {
@@ -2448,7 +2235,7 @@
2448
2235
  "name": "*",
2449
2236
  "declaration": {
2450
2237
  "name": "*",
2451
- "package": "./actions-menu"
2238
+ "package": "./accordion-item"
2452
2239
  }
2453
2240
  }
2454
2241
  ]
@@ -3433,6 +3220,219 @@
3433
3220
  }
3434
3221
  ]
3435
3222
  },
3223
+ {
3224
+ "kind": "javascript-module",
3225
+ "path": "src/_config/index.ts",
3226
+ "declarations": [],
3227
+ "exports": [
3228
+ {
3229
+ "kind": "js",
3230
+ "name": "*",
3231
+ "declaration": {
3232
+ "name": "*",
3233
+ "package": "./styles"
3234
+ }
3235
+ },
3236
+ {
3237
+ "kind": "js",
3238
+ "name": "*",
3239
+ "declaration": {
3240
+ "name": "*",
3241
+ "package": "./tokens"
3242
+ }
3243
+ },
3244
+ {
3245
+ "kind": "js",
3246
+ "name": "*",
3247
+ "declaration": {
3248
+ "name": "*",
3249
+ "package": "./values"
3250
+ }
3251
+ }
3252
+ ]
3253
+ },
3254
+ {
3255
+ "kind": "javascript-module",
3256
+ "path": "src/accordion/accordion.styles.ts",
3257
+ "declarations": [
3258
+ {
3259
+ "kind": "function",
3260
+ "name": "foundationAccordionStyles",
3261
+ "return": {
3262
+ "type": {
3263
+ "text": "ElementStyles"
3264
+ }
3265
+ },
3266
+ "parameters": [
3267
+ {
3268
+ "name": "context",
3269
+ "type": {
3270
+ "text": "ElementDefinitionContext"
3271
+ }
3272
+ },
3273
+ {
3274
+ "name": "definition",
3275
+ "type": {
3276
+ "text": "FoundationElementDefinition"
3277
+ }
3278
+ }
3279
+ ]
3280
+ }
3281
+ ],
3282
+ "exports": [
3283
+ {
3284
+ "kind": "js",
3285
+ "name": "foundationAccordionStyles",
3286
+ "declaration": {
3287
+ "name": "foundationAccordionStyles",
3288
+ "module": "src/accordion/accordion.styles.ts"
3289
+ }
3290
+ }
3291
+ ]
3292
+ },
3293
+ {
3294
+ "kind": "javascript-module",
3295
+ "path": "src/accordion/accordion.template.ts",
3296
+ "declarations": [
3297
+ {
3298
+ "kind": "function",
3299
+ "name": "foundationAccordionTemplate",
3300
+ "return": {
3301
+ "type": {
3302
+ "text": "ViewTemplate<Accordion>"
3303
+ }
3304
+ },
3305
+ "parameters": [
3306
+ {
3307
+ "name": "context",
3308
+ "type": {
3309
+ "text": "ElementDefinitionContext"
3310
+ }
3311
+ },
3312
+ {
3313
+ "name": "definition",
3314
+ "type": {
3315
+ "text": "FoundationElementDefinition"
3316
+ }
3317
+ }
3318
+ ]
3319
+ }
3320
+ ],
3321
+ "exports": [
3322
+ {
3323
+ "kind": "js",
3324
+ "name": "foundationAccordionTemplate",
3325
+ "declaration": {
3326
+ "name": "foundationAccordionTemplate",
3327
+ "module": "src/accordion/accordion.template.ts"
3328
+ }
3329
+ }
3330
+ ]
3331
+ },
3332
+ {
3333
+ "kind": "javascript-module",
3334
+ "path": "src/accordion/accordion.ts",
3335
+ "declarations": [
3336
+ {
3337
+ "kind": "class",
3338
+ "description": "",
3339
+ "name": "Accordion",
3340
+ "superclass": {
3341
+ "name": "FASTAccordion",
3342
+ "package": "@microsoft/fast-foundation"
3343
+ },
3344
+ "tagName": "%%prefix%%-accordion",
3345
+ "customElement": true
3346
+ },
3347
+ {
3348
+ "kind": "variable",
3349
+ "name": "foundationAccordionShadowOptions",
3350
+ "type": {
3351
+ "text": "ShadowRootInit"
3352
+ },
3353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3354
+ },
3355
+ {
3356
+ "kind": "variable",
3357
+ "name": "defaultAccordionConfig",
3358
+ "type": {
3359
+ "text": "object"
3360
+ },
3361
+ "default": "{}"
3362
+ },
3363
+ {
3364
+ "kind": "variable",
3365
+ "name": "foundationAccordion",
3366
+ "description": "The Foundation Accordion",
3367
+ "privacy": "public"
3368
+ }
3369
+ ],
3370
+ "exports": [
3371
+ {
3372
+ "kind": "js",
3373
+ "name": "Accordion",
3374
+ "declaration": {
3375
+ "name": "Accordion",
3376
+ "module": "src/accordion/accordion.ts"
3377
+ }
3378
+ },
3379
+ {
3380
+ "kind": "js",
3381
+ "name": "foundationAccordionShadowOptions",
3382
+ "declaration": {
3383
+ "name": "foundationAccordionShadowOptions",
3384
+ "module": "src/accordion/accordion.ts"
3385
+ }
3386
+ },
3387
+ {
3388
+ "kind": "js",
3389
+ "name": "defaultAccordionConfig",
3390
+ "declaration": {
3391
+ "name": "defaultAccordionConfig",
3392
+ "module": "src/accordion/accordion.ts"
3393
+ }
3394
+ },
3395
+ {
3396
+ "kind": "js",
3397
+ "name": "foundationAccordion",
3398
+ "declaration": {
3399
+ "name": "foundationAccordion",
3400
+ "module": "src/accordion/accordion.ts"
3401
+ }
3402
+ }
3403
+ ]
3404
+ },
3405
+ {
3406
+ "kind": "javascript-module",
3407
+ "path": "src/accordion/index.ts",
3408
+ "declarations": [],
3409
+ "exports": [
3410
+ {
3411
+ "kind": "js",
3412
+ "name": "*",
3413
+ "declaration": {
3414
+ "name": "*",
3415
+ "package": "./accordion.template"
3416
+ }
3417
+ },
3418
+ {
3419
+ "kind": "js",
3420
+ "name": "*",
3421
+ "declaration": {
3422
+ "name": "*",
3423
+ "package": "./accordion.styles"
3424
+ }
3425
+ },
3426
+ {
3427
+ "kind": "js",
3428
+ "name": "*",
3429
+ "declaration": {
3430
+ "name": "*",
3431
+ "package": "./accordion"
3432
+ }
3433
+ }
3434
+ ]
3435
+ },
3436
3436
  {
3437
3437
  "kind": "javascript-module",
3438
3438
  "path": "src/anchor/anchor.styles.ts",
@@ -5545,11 +5545,11 @@
5545
5545
  },
5546
5546
  {
5547
5547
  "kind": "javascript-module",
5548
- "path": "src/badge/badge.styles.ts",
5548
+ "path": "src/avatar/avatar.styles.ts",
5549
5549
  "declarations": [
5550
5550
  {
5551
5551
  "kind": "function",
5552
- "name": "foundationBadgeStyles",
5552
+ "name": "foundationAvatarStyles",
5553
5553
  "return": {
5554
5554
  "type": {
5555
5555
  "text": "ElementStyles"
@@ -5574,24 +5574,24 @@
5574
5574
  "exports": [
5575
5575
  {
5576
5576
  "kind": "js",
5577
- "name": "foundationBadgeStyles",
5577
+ "name": "foundationAvatarStyles",
5578
5578
  "declaration": {
5579
- "name": "foundationBadgeStyles",
5580
- "module": "src/badge/badge.styles.ts"
5579
+ "name": "foundationAvatarStyles",
5580
+ "module": "src/avatar/avatar.styles.ts"
5581
5581
  }
5582
5582
  }
5583
5583
  ]
5584
5584
  },
5585
5585
  {
5586
5586
  "kind": "javascript-module",
5587
- "path": "src/badge/badge.template.ts",
5587
+ "path": "src/avatar/avatar.template.ts",
5588
5588
  "declarations": [
5589
5589
  {
5590
5590
  "kind": "function",
5591
- "name": "foundationBadgeTemplate",
5591
+ "name": "foundationAvatarTemplate",
5592
5592
  "return": {
5593
5593
  "type": {
5594
- "text": "ViewTemplate<Badge>"
5594
+ "text": "ViewTemplate<Avatar>"
5595
5595
  }
5596
5596
  },
5597
5597
  "parameters": [
@@ -5608,32 +5608,45 @@
5608
5608
  }
5609
5609
  }
5610
5610
  ]
5611
+ },
5612
+ {
5613
+ "kind": "variable",
5614
+ "name": "media",
5615
+ "default": "html<Avatar>`\n ${when(\n (x) => x.imgSrc,\n html<Avatar>`\n <img src=\"${(x) => x.imgSrc}\" alt=\"${(x) => x.alt}\" slot=\"media\" class=\"media\" part=\"media\" />\n `,\n )}\n`"
5611
5616
  }
5612
5617
  ],
5613
5618
  "exports": [
5614
5619
  {
5615
5620
  "kind": "js",
5616
- "name": "foundationBadgeTemplate",
5621
+ "name": "foundationAvatarTemplate",
5617
5622
  "declaration": {
5618
- "name": "foundationBadgeTemplate",
5619
- "module": "src/badge/badge.template.ts"
5623
+ "name": "foundationAvatarTemplate",
5624
+ "module": "src/avatar/avatar.template.ts"
5625
+ }
5626
+ },
5627
+ {
5628
+ "kind": "js",
5629
+ "name": "media",
5630
+ "declaration": {
5631
+ "name": "media",
5632
+ "module": "src/avatar/avatar.template.ts"
5620
5633
  }
5621
5634
  }
5622
5635
  ]
5623
5636
  },
5624
5637
  {
5625
5638
  "kind": "javascript-module",
5626
- "path": "src/badge/badge.ts",
5639
+ "path": "src/avatar/avatar.ts",
5627
5640
  "declarations": [
5628
5641
  {
5629
5642
  "kind": "class",
5630
5643
  "description": "",
5631
- "name": "Badge",
5644
+ "name": "Avatar",
5632
5645
  "superclass": {
5633
- "name": "FASTBadge",
5646
+ "name": "FASTAvatar",
5634
5647
  "package": "@microsoft/fast-components"
5635
5648
  },
5636
- "tagName": "%%prefix%%-badge",
5649
+ "tagName": "%%prefix%%-avatar",
5637
5650
  "customElement": true,
5638
5651
  "attributes": [
5639
5652
  {
@@ -5641,11 +5654,11 @@
5641
5654
  "type": {
5642
5655
  "text": "string"
5643
5656
  },
5644
- "description": "Indicates the badge should have a filled style.",
5657
+ "description": "Indicates the Avatar should have a color fill.",
5645
5658
  "fieldName": "fill",
5646
5659
  "inheritedFrom": {
5647
- "name": "Badge",
5648
- "module": "src/badge/badge.ts"
5660
+ "name": "Avatar",
5661
+ "module": "src/avatar/avatar.ts"
5649
5662
  }
5650
5663
  },
5651
5664
  {
@@ -5653,22 +5666,35 @@
5653
5666
  "type": {
5654
5667
  "text": "string"
5655
5668
  },
5656
- "description": "Indicates the badge should have a filled style.",
5669
+ "description": "Indicates the Avatar should have a text color.",
5657
5670
  "fieldName": "color",
5658
5671
  "inheritedFrom": {
5659
- "name": "Badge",
5660
- "module": "src/badge/badge.ts"
5672
+ "name": "Avatar",
5673
+ "module": "src/avatar/avatar.ts"
5661
5674
  }
5662
5675
  },
5663
5676
  {
5677
+ "name": "link",
5664
5678
  "type": {
5665
- "text": "boolean"
5679
+ "text": "string"
5666
5680
  },
5667
- "description": "Indicates the element should be circular",
5668
- "fieldName": "circular",
5681
+ "description": "Indicates the Avatar should have url link",
5682
+ "fieldName": "link",
5669
5683
  "inheritedFrom": {
5670
- "name": "Badge",
5671
- "module": "src/badge/badge.ts"
5684
+ "name": "Avatar",
5685
+ "module": "src/avatar/avatar.ts"
5686
+ }
5687
+ },
5688
+ {
5689
+ "name": "shape",
5690
+ "type": {
5691
+ "text": "AvatarShape"
5692
+ },
5693
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
5694
+ "fieldName": "shape",
5695
+ "inheritedFrom": {
5696
+ "name": "Avatar",
5697
+ "module": "src/avatar/avatar.ts"
5672
5698
  }
5673
5699
  }
5674
5700
  ],
@@ -5680,10 +5706,10 @@
5680
5706
  "text": "string"
5681
5707
  },
5682
5708
  "privacy": "public",
5683
- "description": "Indicates the badge should have a filled style.",
5709
+ "description": "Indicates the Avatar should have a color fill.",
5684
5710
  "inheritedFrom": {
5685
- "name": "Badge",
5686
- "module": "src/badge/badge.ts"
5711
+ "name": "Avatar",
5712
+ "module": "src/avatar/avatar.ts"
5687
5713
  }
5688
5714
  },
5689
5715
  {
@@ -5693,32 +5719,36 @@
5693
5719
  "text": "string"
5694
5720
  },
5695
5721
  "privacy": "public",
5696
- "description": "Indicates the badge should have a filled style.",
5722
+ "description": "Indicates the Avatar should have a text color.",
5697
5723
  "inheritedFrom": {
5698
- "name": "Badge",
5699
- "module": "src/badge/badge.ts"
5724
+ "name": "Avatar",
5725
+ "module": "src/avatar/avatar.ts"
5700
5726
  }
5701
5727
  },
5702
5728
  {
5703
5729
  "kind": "field",
5704
- "name": "circular",
5730
+ "name": "link",
5705
5731
  "type": {
5706
- "text": "boolean"
5732
+ "text": "string"
5707
5733
  },
5708
5734
  "privacy": "public",
5709
- "description": "Indicates the element should be circular",
5735
+ "description": "Indicates the Avatar should have url link",
5710
5736
  "inheritedFrom": {
5711
- "name": "Badge",
5712
- "module": "src/badge/badge.ts"
5737
+ "name": "Avatar",
5738
+ "module": "src/avatar/avatar.ts"
5713
5739
  }
5714
5740
  },
5715
5741
  {
5716
5742
  "kind": "field",
5717
- "name": "generateBadgeStyle",
5743
+ "name": "shape",
5744
+ "type": {
5745
+ "text": "AvatarShape"
5746
+ },
5718
5747
  "privacy": "public",
5748
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
5719
5749
  "inheritedFrom": {
5720
- "name": "Badge",
5721
- "module": "src/badge/badge.ts"
5750
+ "name": "Avatar",
5751
+ "module": "src/avatar/avatar.ts"
5722
5752
  }
5723
5753
  },
5724
5754
  {
@@ -5836,65 +5866,65 @@
5836
5866
  },
5837
5867
  {
5838
5868
  "kind": "variable",
5839
- "name": "foundationBadgeShadowOptions",
5869
+ "name": "foundationAvatarShadowOptions",
5840
5870
  "type": {
5841
5871
  "text": "ShadowRootInit"
5842
5872
  },
5843
- "default": "undefined"
5873
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
5844
5874
  },
5845
5875
  {
5846
5876
  "kind": "variable",
5847
- "name": "defaultBadgeConfig",
5877
+ "name": "defaultAvatarConfig",
5848
5878
  "type": {
5849
5879
  "text": "object"
5850
5880
  },
5851
- "default": "{}"
5881
+ "default": "{\n media: mediaTemplate,\n}"
5852
5882
  },
5853
5883
  {
5854
5884
  "kind": "variable",
5855
- "name": "foundationBadge",
5856
- "description": "The Foundation Badge",
5885
+ "name": "foundationAvatar",
5886
+ "description": "The Foundation Avatar",
5857
5887
  "privacy": "public"
5858
5888
  }
5859
5889
  ],
5860
5890
  "exports": [
5861
5891
  {
5862
5892
  "kind": "js",
5863
- "name": "Badge",
5893
+ "name": "Avatar",
5864
5894
  "declaration": {
5865
- "name": "Badge",
5866
- "module": "src/badge/badge.ts"
5895
+ "name": "Avatar",
5896
+ "module": "src/avatar/avatar.ts"
5867
5897
  }
5868
5898
  },
5869
5899
  {
5870
5900
  "kind": "js",
5871
- "name": "foundationBadgeShadowOptions",
5901
+ "name": "foundationAvatarShadowOptions",
5872
5902
  "declaration": {
5873
- "name": "foundationBadgeShadowOptions",
5874
- "module": "src/badge/badge.ts"
5903
+ "name": "foundationAvatarShadowOptions",
5904
+ "module": "src/avatar/avatar.ts"
5875
5905
  }
5876
5906
  },
5877
5907
  {
5878
5908
  "kind": "js",
5879
- "name": "defaultBadgeConfig",
5909
+ "name": "defaultAvatarConfig",
5880
5910
  "declaration": {
5881
- "name": "defaultBadgeConfig",
5882
- "module": "src/badge/badge.ts"
5911
+ "name": "defaultAvatarConfig",
5912
+ "module": "src/avatar/avatar.ts"
5883
5913
  }
5884
5914
  },
5885
5915
  {
5886
5916
  "kind": "js",
5887
- "name": "foundationBadge",
5917
+ "name": "foundationAvatar",
5888
5918
  "declaration": {
5889
- "name": "foundationBadge",
5890
- "module": "src/badge/badge.ts"
5919
+ "name": "foundationAvatar",
5920
+ "module": "src/avatar/avatar.ts"
5891
5921
  }
5892
5922
  }
5893
5923
  ]
5894
5924
  },
5895
5925
  {
5896
5926
  "kind": "javascript-module",
5897
- "path": "src/badge/index.ts",
5927
+ "path": "src/avatar/index.ts",
5898
5928
  "declarations": [],
5899
5929
  "exports": [
5900
5930
  {
@@ -5902,7 +5932,7 @@
5902
5932
  "name": "*",
5903
5933
  "declaration": {
5904
5934
  "name": "*",
5905
- "package": "./badge.template"
5935
+ "package": "./avatar.template"
5906
5936
  }
5907
5937
  },
5908
5938
  {
@@ -5910,7 +5940,7 @@
5910
5940
  "name": "*",
5911
5941
  "declaration": {
5912
5942
  "name": "*",
5913
- "package": "./badge.styles"
5943
+ "package": "./avatar.styles"
5914
5944
  }
5915
5945
  },
5916
5946
  {
@@ -5918,18 +5948,18 @@
5918
5948
  "name": "*",
5919
5949
  "declaration": {
5920
5950
  "name": "*",
5921
- "package": "./badge"
5951
+ "package": "./avatar"
5922
5952
  }
5923
5953
  }
5924
5954
  ]
5925
5955
  },
5926
5956
  {
5927
5957
  "kind": "javascript-module",
5928
- "path": "src/avatar/avatar.styles.ts",
5958
+ "path": "src/badge/badge.styles.ts",
5929
5959
  "declarations": [
5930
5960
  {
5931
5961
  "kind": "function",
5932
- "name": "foundationAvatarStyles",
5962
+ "name": "foundationBadgeStyles",
5933
5963
  "return": {
5934
5964
  "type": {
5935
5965
  "text": "ElementStyles"
@@ -5954,24 +5984,24 @@
5954
5984
  "exports": [
5955
5985
  {
5956
5986
  "kind": "js",
5957
- "name": "foundationAvatarStyles",
5987
+ "name": "foundationBadgeStyles",
5958
5988
  "declaration": {
5959
- "name": "foundationAvatarStyles",
5960
- "module": "src/avatar/avatar.styles.ts"
5989
+ "name": "foundationBadgeStyles",
5990
+ "module": "src/badge/badge.styles.ts"
5961
5991
  }
5962
5992
  }
5963
5993
  ]
5964
5994
  },
5965
5995
  {
5966
5996
  "kind": "javascript-module",
5967
- "path": "src/avatar/avatar.template.ts",
5997
+ "path": "src/badge/badge.template.ts",
5968
5998
  "declarations": [
5969
5999
  {
5970
6000
  "kind": "function",
5971
- "name": "foundationAvatarTemplate",
6001
+ "name": "foundationBadgeTemplate",
5972
6002
  "return": {
5973
6003
  "type": {
5974
- "text": "ViewTemplate<Avatar>"
6004
+ "text": "ViewTemplate<Badge>"
5975
6005
  }
5976
6006
  },
5977
6007
  "parameters": [
@@ -5988,45 +6018,32 @@
5988
6018
  }
5989
6019
  }
5990
6020
  ]
5991
- },
5992
- {
5993
- "kind": "variable",
5994
- "name": "media",
5995
- "default": "html<Avatar>`\n ${when(\n (x) => x.imgSrc,\n html<Avatar>`\n <img src=\"${(x) => x.imgSrc}\" alt=\"${(x) => x.alt}\" slot=\"media\" class=\"media\" part=\"media\" />\n `,\n )}\n`"
5996
6021
  }
5997
6022
  ],
5998
6023
  "exports": [
5999
6024
  {
6000
6025
  "kind": "js",
6001
- "name": "foundationAvatarTemplate",
6002
- "declaration": {
6003
- "name": "foundationAvatarTemplate",
6004
- "module": "src/avatar/avatar.template.ts"
6005
- }
6006
- },
6007
- {
6008
- "kind": "js",
6009
- "name": "media",
6026
+ "name": "foundationBadgeTemplate",
6010
6027
  "declaration": {
6011
- "name": "media",
6012
- "module": "src/avatar/avatar.template.ts"
6028
+ "name": "foundationBadgeTemplate",
6029
+ "module": "src/badge/badge.template.ts"
6013
6030
  }
6014
6031
  }
6015
6032
  ]
6016
6033
  },
6017
6034
  {
6018
6035
  "kind": "javascript-module",
6019
- "path": "src/avatar/avatar.ts",
6036
+ "path": "src/badge/badge.ts",
6020
6037
  "declarations": [
6021
6038
  {
6022
6039
  "kind": "class",
6023
6040
  "description": "",
6024
- "name": "Avatar",
6041
+ "name": "Badge",
6025
6042
  "superclass": {
6026
- "name": "FASTAvatar",
6043
+ "name": "FASTBadge",
6027
6044
  "package": "@microsoft/fast-components"
6028
6045
  },
6029
- "tagName": "%%prefix%%-avatar",
6046
+ "tagName": "%%prefix%%-badge",
6030
6047
  "customElement": true,
6031
6048
  "attributes": [
6032
6049
  {
@@ -6034,11 +6051,11 @@
6034
6051
  "type": {
6035
6052
  "text": "string"
6036
6053
  },
6037
- "description": "Indicates the Avatar should have a color fill.",
6054
+ "description": "Indicates the badge should have a filled style.",
6038
6055
  "fieldName": "fill",
6039
6056
  "inheritedFrom": {
6040
- "name": "Avatar",
6041
- "module": "src/avatar/avatar.ts"
6057
+ "name": "Badge",
6058
+ "module": "src/badge/badge.ts"
6042
6059
  }
6043
6060
  },
6044
6061
  {
@@ -6046,35 +6063,22 @@
6046
6063
  "type": {
6047
6064
  "text": "string"
6048
6065
  },
6049
- "description": "Indicates the Avatar should have a text color.",
6066
+ "description": "Indicates the badge should have a filled style.",
6050
6067
  "fieldName": "color",
6051
6068
  "inheritedFrom": {
6052
- "name": "Avatar",
6053
- "module": "src/avatar/avatar.ts"
6054
- }
6055
- },
6056
- {
6057
- "name": "link",
6058
- "type": {
6059
- "text": "string"
6060
- },
6061
- "description": "Indicates the Avatar should have url link",
6062
- "fieldName": "link",
6063
- "inheritedFrom": {
6064
- "name": "Avatar",
6065
- "module": "src/avatar/avatar.ts"
6069
+ "name": "Badge",
6070
+ "module": "src/badge/badge.ts"
6066
6071
  }
6067
6072
  },
6068
6073
  {
6069
- "name": "shape",
6070
6074
  "type": {
6071
- "text": "AvatarShape"
6075
+ "text": "boolean"
6072
6076
  },
6073
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6074
- "fieldName": "shape",
6077
+ "description": "Indicates the element should be circular",
6078
+ "fieldName": "circular",
6075
6079
  "inheritedFrom": {
6076
- "name": "Avatar",
6077
- "module": "src/avatar/avatar.ts"
6080
+ "name": "Badge",
6081
+ "module": "src/badge/badge.ts"
6078
6082
  }
6079
6083
  }
6080
6084
  ],
@@ -6086,10 +6090,10 @@
6086
6090
  "text": "string"
6087
6091
  },
6088
6092
  "privacy": "public",
6089
- "description": "Indicates the Avatar should have a color fill.",
6093
+ "description": "Indicates the badge should have a filled style.",
6090
6094
  "inheritedFrom": {
6091
- "name": "Avatar",
6092
- "module": "src/avatar/avatar.ts"
6095
+ "name": "Badge",
6096
+ "module": "src/badge/badge.ts"
6093
6097
  }
6094
6098
  },
6095
6099
  {
@@ -6099,36 +6103,32 @@
6099
6103
  "text": "string"
6100
6104
  },
6101
6105
  "privacy": "public",
6102
- "description": "Indicates the Avatar should have a text color.",
6106
+ "description": "Indicates the badge should have a filled style.",
6103
6107
  "inheritedFrom": {
6104
- "name": "Avatar",
6105
- "module": "src/avatar/avatar.ts"
6108
+ "name": "Badge",
6109
+ "module": "src/badge/badge.ts"
6106
6110
  }
6107
6111
  },
6108
6112
  {
6109
6113
  "kind": "field",
6110
- "name": "link",
6114
+ "name": "circular",
6111
6115
  "type": {
6112
- "text": "string"
6116
+ "text": "boolean"
6113
6117
  },
6114
6118
  "privacy": "public",
6115
- "description": "Indicates the Avatar should have url link",
6119
+ "description": "Indicates the element should be circular",
6116
6120
  "inheritedFrom": {
6117
- "name": "Avatar",
6118
- "module": "src/avatar/avatar.ts"
6121
+ "name": "Badge",
6122
+ "module": "src/badge/badge.ts"
6119
6123
  }
6120
6124
  },
6121
6125
  {
6122
6126
  "kind": "field",
6123
- "name": "shape",
6124
- "type": {
6125
- "text": "AvatarShape"
6126
- },
6127
+ "name": "generateBadgeStyle",
6127
6128
  "privacy": "public",
6128
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6129
6129
  "inheritedFrom": {
6130
- "name": "Avatar",
6131
- "module": "src/avatar/avatar.ts"
6130
+ "name": "Badge",
6131
+ "module": "src/badge/badge.ts"
6132
6132
  }
6133
6133
  },
6134
6134
  {
@@ -6246,65 +6246,65 @@
6246
6246
  },
6247
6247
  {
6248
6248
  "kind": "variable",
6249
- "name": "foundationAvatarShadowOptions",
6249
+ "name": "foundationBadgeShadowOptions",
6250
6250
  "type": {
6251
6251
  "text": "ShadowRootInit"
6252
6252
  },
6253
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
6253
+ "default": "undefined"
6254
6254
  },
6255
6255
  {
6256
6256
  "kind": "variable",
6257
- "name": "defaultAvatarConfig",
6257
+ "name": "defaultBadgeConfig",
6258
6258
  "type": {
6259
6259
  "text": "object"
6260
6260
  },
6261
- "default": "{\n media: mediaTemplate,\n}"
6261
+ "default": "{}"
6262
6262
  },
6263
6263
  {
6264
6264
  "kind": "variable",
6265
- "name": "foundationAvatar",
6266
- "description": "The Foundation Avatar",
6265
+ "name": "foundationBadge",
6266
+ "description": "The Foundation Badge",
6267
6267
  "privacy": "public"
6268
6268
  }
6269
6269
  ],
6270
6270
  "exports": [
6271
6271
  {
6272
6272
  "kind": "js",
6273
- "name": "Avatar",
6273
+ "name": "Badge",
6274
6274
  "declaration": {
6275
- "name": "Avatar",
6276
- "module": "src/avatar/avatar.ts"
6275
+ "name": "Badge",
6276
+ "module": "src/badge/badge.ts"
6277
6277
  }
6278
6278
  },
6279
6279
  {
6280
6280
  "kind": "js",
6281
- "name": "foundationAvatarShadowOptions",
6281
+ "name": "foundationBadgeShadowOptions",
6282
6282
  "declaration": {
6283
- "name": "foundationAvatarShadowOptions",
6284
- "module": "src/avatar/avatar.ts"
6283
+ "name": "foundationBadgeShadowOptions",
6284
+ "module": "src/badge/badge.ts"
6285
6285
  }
6286
6286
  },
6287
6287
  {
6288
6288
  "kind": "js",
6289
- "name": "defaultAvatarConfig",
6289
+ "name": "defaultBadgeConfig",
6290
6290
  "declaration": {
6291
- "name": "defaultAvatarConfig",
6292
- "module": "src/avatar/avatar.ts"
6291
+ "name": "defaultBadgeConfig",
6292
+ "module": "src/badge/badge.ts"
6293
6293
  }
6294
6294
  },
6295
6295
  {
6296
6296
  "kind": "js",
6297
- "name": "foundationAvatar",
6297
+ "name": "foundationBadge",
6298
6298
  "declaration": {
6299
- "name": "foundationAvatar",
6300
- "module": "src/avatar/avatar.ts"
6299
+ "name": "foundationBadge",
6300
+ "module": "src/badge/badge.ts"
6301
6301
  }
6302
6302
  }
6303
6303
  ]
6304
6304
  },
6305
6305
  {
6306
6306
  "kind": "javascript-module",
6307
- "path": "src/avatar/index.ts",
6307
+ "path": "src/badge/index.ts",
6308
6308
  "declarations": [],
6309
6309
  "exports": [
6310
6310
  {
@@ -6312,7 +6312,7 @@
6312
6312
  "name": "*",
6313
6313
  "declaration": {
6314
6314
  "name": "*",
6315
- "package": "./avatar.template"
6315
+ "package": "./badge.template"
6316
6316
  }
6317
6317
  },
6318
6318
  {
@@ -6320,7 +6320,7 @@
6320
6320
  "name": "*",
6321
6321
  "declaration": {
6322
6322
  "name": "*",
6323
- "package": "./avatar.styles"
6323
+ "package": "./badge.styles"
6324
6324
  }
6325
6325
  },
6326
6326
  {
@@ -6328,7 +6328,7 @@
6328
6328
  "name": "*",
6329
6329
  "declaration": {
6330
6330
  "name": "*",
6331
- "package": "./avatar"
6331
+ "package": "./badge"
6332
6332
  }
6333
6333
  }
6334
6334
  ]
@@ -54304,6 +54304,181 @@
54304
54304
  }
54305
54305
  ]
54306
54306
  },
54307
+ {
54308
+ "kind": "javascript-module",
54309
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
54310
+ "declarations": [],
54311
+ "exports": []
54312
+ },
54313
+ {
54314
+ "kind": "javascript-module",
54315
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
54316
+ "declarations": [
54317
+ {
54318
+ "kind": "function",
54319
+ "name": "groupsToCriteria",
54320
+ "return": {
54321
+ "type": {
54322
+ "text": "string"
54323
+ }
54324
+ },
54325
+ "parameters": [
54326
+ {
54327
+ "name": "groups",
54328
+ "type": {
54329
+ "text": "CriteriaGroup[]"
54330
+ }
54331
+ }
54332
+ ],
54333
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
54334
+ },
54335
+ {
54336
+ "kind": "variable",
54337
+ "name": "STRING_OPERATORS",
54338
+ "type": {
54339
+ "text": "CriteriaOperator[]"
54340
+ },
54341
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
54342
+ },
54343
+ {
54344
+ "kind": "variable",
54345
+ "name": "NUMERIC_OPERATORS",
54346
+ "type": {
54347
+ "text": "CriteriaOperator[]"
54348
+ },
54349
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
54350
+ },
54351
+ {
54352
+ "kind": "variable",
54353
+ "name": "DATE_OPERATORS",
54354
+ "type": {
54355
+ "text": "CriteriaOperator[]"
54356
+ },
54357
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
54358
+ },
54359
+ {
54360
+ "kind": "variable",
54361
+ "name": "DATETIME_OPERATORS",
54362
+ "type": {
54363
+ "text": "CriteriaOperator[]"
54364
+ },
54365
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
54366
+ }
54367
+ ],
54368
+ "exports": [
54369
+ {
54370
+ "kind": "js",
54371
+ "name": "groupsToCriteria",
54372
+ "declaration": {
54373
+ "name": "groupsToCriteria",
54374
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54375
+ }
54376
+ },
54377
+ {
54378
+ "kind": "js",
54379
+ "name": "STRING_OPERATORS",
54380
+ "declaration": {
54381
+ "name": "STRING_OPERATORS",
54382
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54383
+ }
54384
+ },
54385
+ {
54386
+ "kind": "js",
54387
+ "name": "NUMERIC_OPERATORS",
54388
+ "declaration": {
54389
+ "name": "NUMERIC_OPERATORS",
54390
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54391
+ }
54392
+ },
54393
+ {
54394
+ "kind": "js",
54395
+ "name": "DATE_OPERATORS",
54396
+ "declaration": {
54397
+ "name": "DATE_OPERATORS",
54398
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54399
+ }
54400
+ },
54401
+ {
54402
+ "kind": "js",
54403
+ "name": "DATETIME_OPERATORS",
54404
+ "declaration": {
54405
+ "name": "DATETIME_OPERATORS",
54406
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54407
+ }
54408
+ }
54409
+ ]
54410
+ },
54411
+ {
54412
+ "kind": "javascript-module",
54413
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
54414
+ "declarations": [
54415
+ {
54416
+ "kind": "function",
54417
+ "name": "validateClauses",
54418
+ "return": {
54419
+ "type": {
54420
+ "text": "ValidationResult"
54421
+ }
54422
+ },
54423
+ "parameters": [
54424
+ {
54425
+ "name": "clauses",
54426
+ "type": {
54427
+ "text": "CriteriaClause[]"
54428
+ }
54429
+ },
54430
+ {
54431
+ "name": "fieldMetadata",
54432
+ "type": {
54433
+ "text": "MetadataDetail[] | string[]"
54434
+ }
54435
+ }
54436
+ ]
54437
+ },
54438
+ {
54439
+ "kind": "function",
54440
+ "name": "validateGroups",
54441
+ "return": {
54442
+ "type": {
54443
+ "text": "GroupsValidationResult"
54444
+ }
54445
+ },
54446
+ "parameters": [
54447
+ {
54448
+ "name": "groups",
54449
+ "type": {
54450
+ "text": "CriteriaGroup[]"
54451
+ }
54452
+ },
54453
+ {
54454
+ "name": "fieldMetadata",
54455
+ "type": {
54456
+ "text": "MetadataDetail[] | string[]"
54457
+ }
54458
+ }
54459
+ ],
54460
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
54461
+ }
54462
+ ],
54463
+ "exports": [
54464
+ {
54465
+ "kind": "js",
54466
+ "name": "validateClauses",
54467
+ "declaration": {
54468
+ "name": "validateClauses",
54469
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
54470
+ }
54471
+ },
54472
+ {
54473
+ "kind": "js",
54474
+ "name": "validateGroups",
54475
+ "declaration": {
54476
+ "name": "validateGroups",
54477
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
54478
+ }
54479
+ }
54480
+ ]
54481
+ },
54307
54482
  {
54308
54483
  "kind": "javascript-module",
54309
54484
  "path": "src/_config/styles/colors.ts",
@@ -55676,181 +55851,6 @@
55676
55851
  "declarations": [],
55677
55852
  "exports": []
55678
55853
  },
55679
- {
55680
- "kind": "javascript-module",
55681
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
55682
- "declarations": [],
55683
- "exports": []
55684
- },
55685
- {
55686
- "kind": "javascript-module",
55687
- "path": "src/ai-criteria-search/validation/operator-map.ts",
55688
- "declarations": [
55689
- {
55690
- "kind": "function",
55691
- "name": "groupsToCriteria",
55692
- "return": {
55693
- "type": {
55694
- "text": "string"
55695
- }
55696
- },
55697
- "parameters": [
55698
- {
55699
- "name": "groups",
55700
- "type": {
55701
- "text": "CriteriaGroup[]"
55702
- }
55703
- }
55704
- ],
55705
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
55706
- },
55707
- {
55708
- "kind": "variable",
55709
- "name": "STRING_OPERATORS",
55710
- "type": {
55711
- "text": "CriteriaOperator[]"
55712
- },
55713
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
55714
- },
55715
- {
55716
- "kind": "variable",
55717
- "name": "NUMERIC_OPERATORS",
55718
- "type": {
55719
- "text": "CriteriaOperator[]"
55720
- },
55721
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
55722
- },
55723
- {
55724
- "kind": "variable",
55725
- "name": "DATE_OPERATORS",
55726
- "type": {
55727
- "text": "CriteriaOperator[]"
55728
- },
55729
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
55730
- },
55731
- {
55732
- "kind": "variable",
55733
- "name": "DATETIME_OPERATORS",
55734
- "type": {
55735
- "text": "CriteriaOperator[]"
55736
- },
55737
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
55738
- }
55739
- ],
55740
- "exports": [
55741
- {
55742
- "kind": "js",
55743
- "name": "groupsToCriteria",
55744
- "declaration": {
55745
- "name": "groupsToCriteria",
55746
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55747
- }
55748
- },
55749
- {
55750
- "kind": "js",
55751
- "name": "STRING_OPERATORS",
55752
- "declaration": {
55753
- "name": "STRING_OPERATORS",
55754
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55755
- }
55756
- },
55757
- {
55758
- "kind": "js",
55759
- "name": "NUMERIC_OPERATORS",
55760
- "declaration": {
55761
- "name": "NUMERIC_OPERATORS",
55762
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55763
- }
55764
- },
55765
- {
55766
- "kind": "js",
55767
- "name": "DATE_OPERATORS",
55768
- "declaration": {
55769
- "name": "DATE_OPERATORS",
55770
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55771
- }
55772
- },
55773
- {
55774
- "kind": "js",
55775
- "name": "DATETIME_OPERATORS",
55776
- "declaration": {
55777
- "name": "DATETIME_OPERATORS",
55778
- "module": "src/ai-criteria-search/validation/operator-map.ts"
55779
- }
55780
- }
55781
- ]
55782
- },
55783
- {
55784
- "kind": "javascript-module",
55785
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
55786
- "declarations": [
55787
- {
55788
- "kind": "function",
55789
- "name": "validateClauses",
55790
- "return": {
55791
- "type": {
55792
- "text": "ValidationResult"
55793
- }
55794
- },
55795
- "parameters": [
55796
- {
55797
- "name": "clauses",
55798
- "type": {
55799
- "text": "CriteriaClause[]"
55800
- }
55801
- },
55802
- {
55803
- "name": "fieldMetadata",
55804
- "type": {
55805
- "text": "MetadataDetail[] | string[]"
55806
- }
55807
- }
55808
- ]
55809
- },
55810
- {
55811
- "kind": "function",
55812
- "name": "validateGroups",
55813
- "return": {
55814
- "type": {
55815
- "text": "GroupsValidationResult"
55816
- }
55817
- },
55818
- "parameters": [
55819
- {
55820
- "name": "groups",
55821
- "type": {
55822
- "text": "CriteriaGroup[]"
55823
- }
55824
- },
55825
- {
55826
- "name": "fieldMetadata",
55827
- "type": {
55828
- "text": "MetadataDetail[] | string[]"
55829
- }
55830
- }
55831
- ],
55832
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
55833
- }
55834
- ],
55835
- "exports": [
55836
- {
55837
- "kind": "js",
55838
- "name": "validateClauses",
55839
- "declaration": {
55840
- "name": "validateClauses",
55841
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
55842
- }
55843
- },
55844
- {
55845
- "kind": "js",
55846
- "name": "validateGroups",
55847
- "declaration": {
55848
- "name": "validateGroups",
55849
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
55850
- }
55851
- }
55852
- ]
55853
- },
55854
55854
  {
55855
55855
  "kind": "javascript-module",
55856
55856
  "path": "src/environment-indicator/utils/configure.ts",