@genesislcap/foundation-ui 14.489.1-alpha-559fa0f.0 → 14.489.1-alpha-2e2874541.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.
@@ -1408,42 +1408,11 @@
1408
1408
  },
1409
1409
  {
1410
1410
  "kind": "javascript-module",
1411
- "path": "src/_config/index.ts",
1412
- "declarations": [],
1413
- "exports": [
1414
- {
1415
- "kind": "js",
1416
- "name": "*",
1417
- "declaration": {
1418
- "name": "*",
1419
- "package": "./styles"
1420
- }
1421
- },
1422
- {
1423
- "kind": "js",
1424
- "name": "*",
1425
- "declaration": {
1426
- "name": "*",
1427
- "package": "./tokens"
1428
- }
1429
- },
1430
- {
1431
- "kind": "js",
1432
- "name": "*",
1433
- "declaration": {
1434
- "name": "*",
1435
- "package": "./values"
1436
- }
1437
- }
1438
- ]
1439
- },
1440
- {
1441
- "kind": "javascript-module",
1442
- "path": "src/accordion-item/accordion-item.styles.ts",
1411
+ "path": "src/accordion/accordion.styles.ts",
1443
1412
  "declarations": [
1444
1413
  {
1445
1414
  "kind": "function",
1446
- "name": "foundationAccordionItemStyles",
1415
+ "name": "foundationAccordionStyles",
1447
1416
  "return": {
1448
1417
  "type": {
1449
1418
  "text": "ElementStyles"
@@ -1468,24 +1437,24 @@
1468
1437
  "exports": [
1469
1438
  {
1470
1439
  "kind": "js",
1471
- "name": "foundationAccordionItemStyles",
1440
+ "name": "foundationAccordionStyles",
1472
1441
  "declaration": {
1473
- "name": "foundationAccordionItemStyles",
1474
- "module": "src/accordion-item/accordion-item.styles.ts"
1442
+ "name": "foundationAccordionStyles",
1443
+ "module": "src/accordion/accordion.styles.ts"
1475
1444
  }
1476
1445
  }
1477
1446
  ]
1478
1447
  },
1479
1448
  {
1480
1449
  "kind": "javascript-module",
1481
- "path": "src/accordion-item/accordion-item.template.ts",
1450
+ "path": "src/accordion/accordion.template.ts",
1482
1451
  "declarations": [
1483
1452
  {
1484
1453
  "kind": "function",
1485
- "name": "foundationAccordionItemTemplate",
1454
+ "name": "foundationAccordionTemplate",
1486
1455
  "return": {
1487
1456
  "type": {
1488
- "text": "ViewTemplate<AccordionItem>"
1457
+ "text": "ViewTemplate<Accordion>"
1489
1458
  }
1490
1459
  },
1491
1460
  "parameters": [
@@ -1507,244 +1476,365 @@
1507
1476
  "exports": [
1508
1477
  {
1509
1478
  "kind": "js",
1510
- "name": "foundationAccordionItemTemplate",
1479
+ "name": "foundationAccordionTemplate",
1511
1480
  "declaration": {
1512
- "name": "foundationAccordionItemTemplate",
1513
- "module": "src/accordion-item/accordion-item.template.ts"
1481
+ "name": "foundationAccordionTemplate",
1482
+ "module": "src/accordion/accordion.template.ts"
1514
1483
  }
1515
1484
  }
1516
1485
  ]
1517
1486
  },
1518
1487
  {
1519
1488
  "kind": "javascript-module",
1520
- "path": "src/accordion-item/accordion-item.ts",
1489
+ "path": "src/accordion/accordion.ts",
1521
1490
  "declarations": [
1522
1491
  {
1523
1492
  "kind": "class",
1524
1493
  "description": "",
1525
- "name": "AccordionItem",
1494
+ "name": "Accordion",
1526
1495
  "superclass": {
1527
- "name": "FASTAccordionItem",
1528
- "package": "@microsoft/fast-components"
1496
+ "name": "FASTAccordion",
1497
+ "package": "@microsoft/fast-foundation"
1529
1498
  },
1530
- "tagName": "%%prefix%%-accordion-item",
1499
+ "tagName": "%%prefix%%-accordion",
1531
1500
  "customElement": true,
1532
1501
  "attributes": [
1533
1502
  {
1534
- "name": "heading-level",
1535
- "type": {
1536
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1537
- },
1538
- "default": "2",
1539
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1540
- "fieldName": "headinglevel",
1541
- "inheritedFrom": {
1542
- "name": "AccordionItem",
1543
- "module": "src/accordion-item/accordion-item.ts"
1544
- }
1545
- },
1546
- {
1547
- "type": {
1548
- "text": "boolean"
1549
- },
1550
- "default": "false",
1551
- "description": "Expands or collapses the item.",
1552
- "fieldName": "expanded",
1553
- "inheritedFrom": {
1554
- "name": "AccordionItem",
1555
- "module": "src/accordion-item/accordion-item.ts"
1556
- }
1557
- },
1558
- {
1559
- "name": "id",
1503
+ "name": "expand-mode",
1560
1504
  "type": {
1561
- "text": "string"
1505
+ "text": "AccordionExpandMode"
1562
1506
  },
1563
- "description": "The item ID",
1564
- "fieldName": "id",
1507
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1508
+ "fieldName": "expandmode",
1565
1509
  "inheritedFrom": {
1566
- "name": "AccordionItem",
1567
- "module": "src/accordion-item/accordion-item.ts"
1510
+ "name": "Accordion",
1511
+ "module": "src/accordion/accordion.ts"
1568
1512
  }
1569
1513
  }
1570
1514
  ],
1571
1515
  "members": [
1572
1516
  {
1573
1517
  "kind": "field",
1574
- "name": "headinglevel",
1518
+ "name": "expandmode",
1575
1519
  "type": {
1576
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1520
+ "text": "AccordionExpandMode"
1577
1521
  },
1578
1522
  "privacy": "public",
1579
- "default": "2",
1580
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1523
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1581
1524
  "inheritedFrom": {
1582
- "name": "AccordionItem",
1583
- "module": "src/accordion-item/accordion-item.ts"
1525
+ "name": "Accordion",
1526
+ "module": "src/accordion/accordion.ts"
1584
1527
  }
1585
1528
  },
1586
1529
  {
1587
1530
  "kind": "field",
1588
- "name": "expanded",
1531
+ "name": "activeid",
1589
1532
  "type": {
1590
- "text": "boolean"
1533
+ "text": "string | null"
1591
1534
  },
1592
- "privacy": "public",
1593
- "default": "false",
1594
- "description": "Expands or collapses the item.",
1535
+ "privacy": "private",
1595
1536
  "inheritedFrom": {
1596
- "name": "AccordionItem",
1597
- "module": "src/accordion-item/accordion-item.ts"
1537
+ "name": "Accordion",
1538
+ "module": "src/accordion/accordion.ts"
1598
1539
  }
1599
1540
  },
1600
1541
  {
1601
1542
  "kind": "field",
1602
- "name": "id",
1543
+ "name": "activeItemIndex",
1603
1544
  "type": {
1604
- "text": "string"
1545
+ "text": "number"
1605
1546
  },
1606
- "privacy": "public",
1607
- "description": "The item ID",
1547
+ "privacy": "private",
1548
+ "default": "0",
1608
1549
  "inheritedFrom": {
1609
- "name": "AccordionItem",
1610
- "module": "src/accordion-item/accordion-item.ts"
1550
+ "name": "Accordion",
1551
+ "module": "src/accordion/accordion.ts"
1611
1552
  }
1612
1553
  },
1613
1554
  {
1614
1555
  "kind": "field",
1615
- "name": "change",
1556
+ "name": "accordionIds",
1557
+ "type": {
1558
+ "text": "Array<string | null>"
1559
+ },
1616
1560
  "privacy": "private",
1617
1561
  "inheritedFrom": {
1618
- "name": "AccordionItem",
1619
- "module": "src/accordion-item/accordion-item.ts"
1562
+ "name": "Accordion",
1563
+ "module": "src/accordion/accordion.ts"
1620
1564
  }
1621
1565
  },
1622
1566
  {
1623
1567
  "kind": "field",
1624
- "name": "_presentation",
1625
- "type": {
1626
- "text": "ComponentPresentation | null | undefined"
1627
- },
1568
+ "name": "change",
1628
1569
  "privacy": "private",
1629
- "default": "void 0",
1630
1570
  "inheritedFrom": {
1631
- "name": "FoundationElement",
1632
- "module": "src/foundation-element/foundation-element.ts"
1571
+ "name": "Accordion",
1572
+ "module": "src/accordion/accordion.ts"
1633
1573
  }
1634
1574
  },
1635
1575
  {
1636
- "kind": "field",
1637
- "name": "$presentation",
1638
- "type": {
1639
- "text": "ComponentPresentation | null"
1576
+ "kind": "method",
1577
+ "name": "findExpandedItem",
1578
+ "privacy": "private",
1579
+ "return": {
1580
+ "type": {
1581
+ "text": "AccordionItem | null"
1582
+ }
1640
1583
  },
1641
- "privacy": "public",
1642
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1643
1584
  "inheritedFrom": {
1644
- "name": "FoundationElement",
1645
- "module": "src/foundation-element/foundation-element.ts"
1585
+ "name": "Accordion",
1586
+ "module": "src/accordion/accordion.ts"
1646
1587
  }
1647
1588
  },
1648
1589
  {
1649
1590
  "kind": "field",
1650
- "name": "template",
1651
- "type": {
1652
- "text": "ElementViewTemplate | void | null"
1653
- },
1654
- "privacy": "public",
1655
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1591
+ "name": "setItems",
1592
+ "privacy": "private",
1656
1593
  "inheritedFrom": {
1657
- "name": "FoundationElement",
1658
- "module": "src/foundation-element/foundation-element.ts"
1594
+ "name": "Accordion",
1595
+ "module": "src/accordion/accordion.ts"
1659
1596
  }
1660
1597
  },
1661
1598
  {
1662
1599
  "kind": "method",
1663
- "name": "templateChanged",
1664
- "privacy": "protected",
1600
+ "name": "resetItems",
1601
+ "privacy": "private",
1665
1602
  "return": {
1666
1603
  "type": {
1667
1604
  "text": "void"
1668
1605
  }
1669
1606
  },
1670
1607
  "inheritedFrom": {
1671
- "name": "FoundationElement",
1672
- "module": "src/foundation-element/foundation-element.ts"
1608
+ "name": "Accordion",
1609
+ "module": "src/accordion/accordion.ts"
1673
1610
  }
1674
1611
  },
1675
1612
  {
1676
1613
  "kind": "field",
1677
- "name": "styles",
1678
- "type": {
1679
- "text": "ElementStyles | void | null"
1680
- },
1681
- "privacy": "public",
1682
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1614
+ "name": "removeItemListeners",
1615
+ "privacy": "private",
1683
1616
  "inheritedFrom": {
1684
- "name": "FoundationElement",
1685
- "module": "src/foundation-element/foundation-element.ts"
1617
+ "name": "Accordion",
1618
+ "module": "src/accordion/accordion.ts"
1619
+ }
1620
+ },
1621
+ {
1622
+ "kind": "field",
1623
+ "name": "activeItemChange",
1624
+ "privacy": "private",
1625
+ "inheritedFrom": {
1626
+ "name": "Accordion",
1627
+ "module": "src/accordion/accordion.ts"
1686
1628
  }
1687
1629
  },
1688
1630
  {
1689
1631
  "kind": "method",
1690
- "name": "stylesChanged",
1691
- "privacy": "protected",
1632
+ "name": "getItemIds",
1633
+ "privacy": "private",
1692
1634
  "return": {
1693
1635
  "type": {
1694
- "text": "void"
1636
+ "text": "Array<string | null>"
1695
1637
  }
1696
1638
  },
1697
1639
  "inheritedFrom": {
1698
- "name": "FoundationElement",
1699
- "module": "src/foundation-element/foundation-element.ts"
1640
+ "name": "Accordion",
1641
+ "module": "src/accordion/accordion.ts"
1700
1642
  }
1701
1643
  },
1702
1644
  {
1703
1645
  "kind": "method",
1704
- "name": "compose",
1705
- "privacy": "public",
1706
- "static": true,
1646
+ "name": "isSingleExpandMode",
1647
+ "privacy": "private",
1707
1648
  "return": {
1708
1649
  "type": {
1709
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1650
+ "text": "boolean"
1710
1651
  }
1711
1652
  },
1712
- "parameters": [
1713
- {
1714
- "name": "this",
1715
- "type": {
1716
- "text": "K"
1717
- }
1718
- },
1719
- {
1720
- "name": "elementDefinition",
1721
- "type": {
1722
- "text": "T"
1723
- },
1724
- "description": "The definition of the element to create the registry\nfunction for."
1725
- }
1726
- ],
1727
- "description": "Defines an element registry function with a set of element definition defaults.",
1728
1653
  "inheritedFrom": {
1729
- "name": "FoundationElement",
1730
- "module": "src/foundation-element/foundation-element.ts"
1654
+ "name": "Accordion",
1655
+ "module": "src/accordion/accordion.ts"
1731
1656
  }
1732
- }
1733
- ],
1734
- "events": [
1657
+ },
1735
1658
  {
1736
- "description": "Fires a custom 'change' event when the button is invoked",
1737
- "name": "change",
1738
- "inheritedFrom": {
1739
- "name": "AccordionItem",
1740
- "module": "src/accordion-item/accordion-item.ts"
1659
+ "kind": "field",
1660
+ "name": "handleItemKeyDown",
1661
+ "privacy": "private",
1662
+ "inheritedFrom": {
1663
+ "name": "Accordion",
1664
+ "module": "src/accordion/accordion.ts"
1665
+ }
1666
+ },
1667
+ {
1668
+ "kind": "field",
1669
+ "name": "handleItemFocus",
1670
+ "privacy": "private",
1671
+ "inheritedFrom": {
1672
+ "name": "Accordion",
1673
+ "module": "src/accordion/accordion.ts"
1674
+ }
1675
+ },
1676
+ {
1677
+ "kind": "method",
1678
+ "name": "adjust",
1679
+ "privacy": "private",
1680
+ "return": {
1681
+ "type": {
1682
+ "text": "void"
1683
+ }
1684
+ },
1685
+ "parameters": [
1686
+ {
1687
+ "name": "adjustment",
1688
+ "type": {
1689
+ "text": "number"
1690
+ }
1691
+ }
1692
+ ],
1693
+ "inheritedFrom": {
1694
+ "name": "Accordion",
1695
+ "module": "src/accordion/accordion.ts"
1696
+ }
1697
+ },
1698
+ {
1699
+ "kind": "method",
1700
+ "name": "focusItem",
1701
+ "privacy": "private",
1702
+ "return": {
1703
+ "type": {
1704
+ "text": "void"
1705
+ }
1706
+ },
1707
+ "inheritedFrom": {
1708
+ "name": "Accordion",
1709
+ "module": "src/accordion/accordion.ts"
1710
+ }
1711
+ },
1712
+ {
1713
+ "kind": "field",
1714
+ "name": "_presentation",
1715
+ "type": {
1716
+ "text": "ComponentPresentation | null | undefined"
1717
+ },
1718
+ "privacy": "private",
1719
+ "default": "void 0",
1720
+ "inheritedFrom": {
1721
+ "name": "FoundationElement",
1722
+ "module": "src/foundation-element/foundation-element.ts"
1723
+ }
1724
+ },
1725
+ {
1726
+ "kind": "field",
1727
+ "name": "$presentation",
1728
+ "type": {
1729
+ "text": "ComponentPresentation | null"
1730
+ },
1731
+ "privacy": "public",
1732
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1733
+ "inheritedFrom": {
1734
+ "name": "FoundationElement",
1735
+ "module": "src/foundation-element/foundation-element.ts"
1736
+ }
1737
+ },
1738
+ {
1739
+ "kind": "field",
1740
+ "name": "template",
1741
+ "type": {
1742
+ "text": "ElementViewTemplate | void | null"
1743
+ },
1744
+ "privacy": "public",
1745
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1746
+ "inheritedFrom": {
1747
+ "name": "FoundationElement",
1748
+ "module": "src/foundation-element/foundation-element.ts"
1749
+ }
1750
+ },
1751
+ {
1752
+ "kind": "method",
1753
+ "name": "templateChanged",
1754
+ "privacy": "protected",
1755
+ "return": {
1756
+ "type": {
1757
+ "text": "void"
1758
+ }
1759
+ },
1760
+ "inheritedFrom": {
1761
+ "name": "FoundationElement",
1762
+ "module": "src/foundation-element/foundation-element.ts"
1763
+ }
1764
+ },
1765
+ {
1766
+ "kind": "field",
1767
+ "name": "styles",
1768
+ "type": {
1769
+ "text": "ElementStyles | void | null"
1770
+ },
1771
+ "privacy": "public",
1772
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1773
+ "inheritedFrom": {
1774
+ "name": "FoundationElement",
1775
+ "module": "src/foundation-element/foundation-element.ts"
1776
+ }
1777
+ },
1778
+ {
1779
+ "kind": "method",
1780
+ "name": "stylesChanged",
1781
+ "privacy": "protected",
1782
+ "return": {
1783
+ "type": {
1784
+ "text": "void"
1785
+ }
1786
+ },
1787
+ "inheritedFrom": {
1788
+ "name": "FoundationElement",
1789
+ "module": "src/foundation-element/foundation-element.ts"
1790
+ }
1791
+ },
1792
+ {
1793
+ "kind": "method",
1794
+ "name": "compose",
1795
+ "privacy": "public",
1796
+ "static": true,
1797
+ "return": {
1798
+ "type": {
1799
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1800
+ }
1801
+ },
1802
+ "parameters": [
1803
+ {
1804
+ "name": "this",
1805
+ "type": {
1806
+ "text": "K"
1807
+ }
1808
+ },
1809
+ {
1810
+ "name": "elementDefinition",
1811
+ "type": {
1812
+ "text": "T"
1813
+ },
1814
+ "description": "The definition of the element to create the registry\nfunction for."
1815
+ }
1816
+ ],
1817
+ "description": "Defines an element registry function with a set of element definition defaults.",
1818
+ "inheritedFrom": {
1819
+ "name": "FoundationElement",
1820
+ "module": "src/foundation-element/foundation-element.ts"
1821
+ }
1822
+ }
1823
+ ],
1824
+ "events": [
1825
+ {
1826
+ "description": "Fires a custom 'change' event when the active item changes",
1827
+ "name": "change",
1828
+ "inheritedFrom": {
1829
+ "name": "Accordion",
1830
+ "module": "src/accordion/accordion.ts"
1741
1831
  }
1742
1832
  }
1743
1833
  ]
1744
1834
  },
1745
1835
  {
1746
1836
  "kind": "variable",
1747
- "name": "foundationAccordionItemShadowOptions",
1837
+ "name": "foundationAccordionShadowOptions",
1748
1838
  "type": {
1749
1839
  "text": "ShadowRootInit"
1750
1840
  },
@@ -1752,57 +1842,57 @@
1752
1842
  },
1753
1843
  {
1754
1844
  "kind": "variable",
1755
- "name": "defaultAccordionItemConfig",
1845
+ "name": "defaultAccordionConfig",
1756
1846
  "type": {
1757
1847
  "text": "object"
1758
1848
  },
1759
- "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}"
1849
+ "default": "{}"
1760
1850
  },
1761
1851
  {
1762
1852
  "kind": "variable",
1763
- "name": "foundationAccordionItem",
1764
- "description": "The Foundation Accordion Item",
1853
+ "name": "foundationAccordion",
1854
+ "description": "The Foundation Accordion",
1765
1855
  "privacy": "public"
1766
1856
  }
1767
1857
  ],
1768
1858
  "exports": [
1769
1859
  {
1770
1860
  "kind": "js",
1771
- "name": "AccordionItem",
1861
+ "name": "Accordion",
1772
1862
  "declaration": {
1773
- "name": "AccordionItem",
1774
- "module": "src/accordion-item/accordion-item.ts"
1863
+ "name": "Accordion",
1864
+ "module": "src/accordion/accordion.ts"
1775
1865
  }
1776
1866
  },
1777
1867
  {
1778
1868
  "kind": "js",
1779
- "name": "foundationAccordionItemShadowOptions",
1869
+ "name": "foundationAccordionShadowOptions",
1780
1870
  "declaration": {
1781
- "name": "foundationAccordionItemShadowOptions",
1782
- "module": "src/accordion-item/accordion-item.ts"
1871
+ "name": "foundationAccordionShadowOptions",
1872
+ "module": "src/accordion/accordion.ts"
1783
1873
  }
1784
1874
  },
1785
1875
  {
1786
1876
  "kind": "js",
1787
- "name": "defaultAccordionItemConfig",
1877
+ "name": "defaultAccordionConfig",
1788
1878
  "declaration": {
1789
- "name": "defaultAccordionItemConfig",
1790
- "module": "src/accordion-item/accordion-item.ts"
1879
+ "name": "defaultAccordionConfig",
1880
+ "module": "src/accordion/accordion.ts"
1791
1881
  }
1792
1882
  },
1793
1883
  {
1794
1884
  "kind": "js",
1795
- "name": "foundationAccordionItem",
1885
+ "name": "foundationAccordion",
1796
1886
  "declaration": {
1797
- "name": "foundationAccordionItem",
1798
- "module": "src/accordion-item/accordion-item.ts"
1887
+ "name": "foundationAccordion",
1888
+ "module": "src/accordion/accordion.ts"
1799
1889
  }
1800
1890
  }
1801
1891
  ]
1802
1892
  },
1803
1893
  {
1804
1894
  "kind": "javascript-module",
1805
- "path": "src/accordion-item/index.ts",
1895
+ "path": "src/accordion/index.ts",
1806
1896
  "declarations": [],
1807
1897
  "exports": [
1808
1898
  {
@@ -1810,7 +1900,7 @@
1810
1900
  "name": "*",
1811
1901
  "declaration": {
1812
1902
  "name": "*",
1813
- "package": "./accordion-item.template"
1903
+ "package": "./accordion.template"
1814
1904
  }
1815
1905
  },
1816
1906
  {
@@ -1818,7 +1908,7 @@
1818
1908
  "name": "*",
1819
1909
  "declaration": {
1820
1910
  "name": "*",
1821
- "package": "./accordion-item.styles"
1911
+ "package": "./accordion.styles"
1822
1912
  }
1823
1913
  },
1824
1914
  {
@@ -1826,18 +1916,49 @@
1826
1916
  "name": "*",
1827
1917
  "declaration": {
1828
1918
  "name": "*",
1829
- "package": "./accordion-item"
1919
+ "package": "./accordion"
1830
1920
  }
1831
1921
  }
1832
1922
  ]
1833
1923
  },
1834
1924
  {
1835
1925
  "kind": "javascript-module",
1836
- "path": "src/actions-menu/actions-menu.styles.ts",
1926
+ "path": "src/_config/index.ts",
1927
+ "declarations": [],
1928
+ "exports": [
1929
+ {
1930
+ "kind": "js",
1931
+ "name": "*",
1932
+ "declaration": {
1933
+ "name": "*",
1934
+ "package": "./styles"
1935
+ }
1936
+ },
1937
+ {
1938
+ "kind": "js",
1939
+ "name": "*",
1940
+ "declaration": {
1941
+ "name": "*",
1942
+ "package": "./tokens"
1943
+ }
1944
+ },
1945
+ {
1946
+ "kind": "js",
1947
+ "name": "*",
1948
+ "declaration": {
1949
+ "name": "*",
1950
+ "package": "./values"
1951
+ }
1952
+ }
1953
+ ]
1954
+ },
1955
+ {
1956
+ "kind": "javascript-module",
1957
+ "path": "src/accordion-item/accordion-item.styles.ts",
1837
1958
  "declarations": [
1838
1959
  {
1839
1960
  "kind": "function",
1840
- "name": "actionsMenuBaseStyles",
1961
+ "name": "foundationAccordionItemStyles",
1841
1962
  "return": {
1842
1963
  "type": {
1843
1964
  "text": "ElementStyles"
@@ -1857,367 +1978,231 @@
1857
1978
  }
1858
1979
  }
1859
1980
  ]
1860
- },
1861
- {
1862
- "kind": "function",
1863
- "name": "foundationActionsMenuStyles",
1864
- "return": {
1865
- "type": {
1866
- "text": "ElementStyles"
1867
- }
1868
- },
1869
- "parameters": [
1870
- {
1871
- "name": "context",
1872
- "type": {
1873
- "text": "ElementDefinitionContext"
1874
- }
1875
- },
1876
- {
1877
- "name": "definition",
1878
- "type": {
1879
- "text": "FoundationElementDefinition"
1880
- }
1881
- }
1882
- ]
1883
- }
1884
- ],
1885
- "exports": [
1886
- {
1887
- "kind": "js",
1888
- "name": "actionsMenuBaseStyles",
1889
- "declaration": {
1890
- "name": "actionsMenuBaseStyles",
1891
- "module": "src/actions-menu/actions-menu.styles.ts"
1892
- }
1893
- },
1981
+ }
1982
+ ],
1983
+ "exports": [
1894
1984
  {
1895
1985
  "kind": "js",
1896
- "name": "foundationActionsMenuStyles",
1986
+ "name": "foundationAccordionItemStyles",
1897
1987
  "declaration": {
1898
- "name": "foundationActionsMenuStyles",
1899
- "module": "src/actions-menu/actions-menu.styles.ts"
1988
+ "name": "foundationAccordionItemStyles",
1989
+ "module": "src/accordion-item/accordion-item.styles.ts"
1900
1990
  }
1901
1991
  }
1902
1992
  ]
1903
1993
  },
1904
1994
  {
1905
1995
  "kind": "javascript-module",
1906
- "path": "src/actions-menu/actions-menu.template.ts",
1996
+ "path": "src/accordion-item/accordion-item.template.ts",
1907
1997
  "declarations": [
1908
1998
  {
1909
1999
  "kind": "function",
1910
- "name": "menuTemplate",
2000
+ "name": "foundationAccordionItemTemplate",
2001
+ "return": {
2002
+ "type": {
2003
+ "text": "ViewTemplate<AccordionItem>"
2004
+ }
2005
+ },
1911
2006
  "parameters": [
1912
2007
  {
1913
- "name": "prefix",
2008
+ "name": "context",
1914
2009
  "type": {
1915
- "text": "string"
2010
+ "text": "ElementDefinitionContext"
1916
2011
  }
1917
- }
1918
- ]
1919
- },
1920
- {
1921
- "kind": "function",
1922
- "name": "singleOptionTemplate",
1923
- "parameters": [
2012
+ },
1924
2013
  {
1925
- "name": "prefix",
2014
+ "name": "definition",
1926
2015
  "type": {
1927
- "text": "string"
2016
+ "text": "FoundationElementDefinition"
1928
2017
  }
1929
2018
  }
1930
2019
  ]
1931
- },
1932
- {
1933
- "kind": "variable",
1934
- "name": "foundationActionsMenuTemplate",
1935
- "type": {
1936
- "text": "ViewTemplate<ActionsMenu>"
1937
- },
1938
- "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`"
1939
2020
  }
1940
2021
  ],
1941
2022
  "exports": [
1942
2023
  {
1943
2024
  "kind": "js",
1944
- "name": "menuTemplate",
1945
- "declaration": {
1946
- "name": "menuTemplate",
1947
- "module": "src/actions-menu/actions-menu.template.ts"
1948
- }
1949
- },
1950
- {
1951
- "kind": "js",
1952
- "name": "singleOptionTemplate",
1953
- "declaration": {
1954
- "name": "singleOptionTemplate",
1955
- "module": "src/actions-menu/actions-menu.template.ts"
1956
- }
1957
- },
1958
- {
1959
- "kind": "js",
1960
- "name": "foundationActionsMenuTemplate",
2025
+ "name": "foundationAccordionItemTemplate",
1961
2026
  "declaration": {
1962
- "name": "foundationActionsMenuTemplate",
1963
- "module": "src/actions-menu/actions-menu.template.ts"
2027
+ "name": "foundationAccordionItemTemplate",
2028
+ "module": "src/accordion-item/accordion-item.template.ts"
1964
2029
  }
1965
2030
  }
1966
2031
  ]
1967
2032
  },
1968
2033
  {
1969
2034
  "kind": "javascript-module",
1970
- "path": "src/actions-menu/actions-menu.ts",
2035
+ "path": "src/accordion-item/accordion-item.ts",
1971
2036
  "declarations": [
1972
2037
  {
1973
2038
  "kind": "class",
1974
2039
  "description": "",
1975
- "name": "ActionsMenu",
1976
- "members": [
2040
+ "name": "AccordionItem",
2041
+ "superclass": {
2042
+ "name": "FASTAccordionItem",
2043
+ "package": "@microsoft/fast-components"
2044
+ },
2045
+ "tagName": "%%prefix%%-accordion-item",
2046
+ "customElement": true,
2047
+ "attributes": [
1977
2048
  {
1978
- "kind": "field",
1979
- "name": "actions",
2049
+ "name": "heading-level",
1980
2050
  "type": {
1981
- "text": "ActionMenuItem[]"
2051
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2052
+ },
2053
+ "default": "2",
2054
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2055
+ "fieldName": "headinglevel",
2056
+ "inheritedFrom": {
2057
+ "name": "AccordionItem",
2058
+ "module": "src/accordion-item/accordion-item.ts"
1982
2059
  }
1983
2060
  },
1984
2061
  {
1985
- "kind": "field",
1986
- "name": "isVertical",
1987
2062
  "type": {
1988
2063
  "text": "boolean"
1989
2064
  },
1990
- "default": "false"
2065
+ "default": "false",
2066
+ "description": "Expands or collapses the item.",
2067
+ "fieldName": "expanded",
2068
+ "inheritedFrom": {
2069
+ "name": "AccordionItem",
2070
+ "module": "src/accordion-item/accordion-item.ts"
2071
+ }
1991
2072
  },
1992
2073
  {
1993
- "kind": "field",
1994
- "name": "addDefaultActions",
2074
+ "name": "id",
1995
2075
  "type": {
1996
- "text": "boolean"
2076
+ "text": "string"
1997
2077
  },
1998
- "default": "true"
1999
- },
2078
+ "description": "The item ID",
2079
+ "fieldName": "id",
2080
+ "inheritedFrom": {
2081
+ "name": "AccordionItem",
2082
+ "module": "src/accordion-item/accordion-item.ts"
2083
+ }
2084
+ }
2085
+ ],
2086
+ "members": [
2000
2087
  {
2001
2088
  "kind": "field",
2002
- "name": "autoCloseOnAction",
2089
+ "name": "headinglevel",
2003
2090
  "type": {
2004
- "text": "boolean"
2091
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2005
2092
  },
2006
- "default": "true"
2007
- },
2008
- {
2009
- "kind": "field",
2010
- "name": "classNames",
2011
- "type": {
2012
- "text": "string"
2093
+ "privacy": "public",
2094
+ "default": "2",
2095
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2096
+ "inheritedFrom": {
2097
+ "name": "AccordionItem",
2098
+ "module": "src/accordion-item/accordion-item.ts"
2013
2099
  }
2014
2100
  },
2015
2101
  {
2016
2102
  "kind": "field",
2017
- "name": "definition",
2103
+ "name": "expanded",
2018
2104
  "type": {
2019
- "text": "any"
2105
+ "text": "boolean"
2106
+ },
2107
+ "privacy": "public",
2108
+ "default": "false",
2109
+ "description": "Expands or collapses the item.",
2110
+ "inheritedFrom": {
2111
+ "name": "AccordionItem",
2112
+ "module": "src/accordion-item/accordion-item.ts"
2020
2113
  }
2021
2114
  },
2022
2115
  {
2023
2116
  "kind": "field",
2024
- "name": "name",
2117
+ "name": "id",
2025
2118
  "type": {
2026
2119
  "text": "string"
2027
2120
  },
2028
- "default": "'Actions'"
2121
+ "privacy": "public",
2122
+ "description": "The item ID",
2123
+ "inheritedFrom": {
2124
+ "name": "AccordionItem",
2125
+ "module": "src/accordion-item/accordion-item.ts"
2126
+ }
2029
2127
  },
2030
2128
  {
2031
2129
  "kind": "field",
2032
- "name": "open",
2033
- "type": {
2034
- "text": "boolean"
2035
- },
2036
- "default": "false"
2130
+ "name": "change",
2131
+ "privacy": "private",
2132
+ "inheritedFrom": {
2133
+ "name": "AccordionItem",
2134
+ "module": "src/accordion-item/accordion-item.ts"
2135
+ }
2037
2136
  },
2038
2137
  {
2039
2138
  "kind": "field",
2040
- "name": "buttonAppearance",
2139
+ "name": "_presentation",
2041
2140
  "type": {
2042
- "text": "string"
2141
+ "text": "ComponentPresentation | null | undefined"
2142
+ },
2143
+ "privacy": "private",
2144
+ "default": "void 0",
2145
+ "inheritedFrom": {
2146
+ "name": "FoundationElement",
2147
+ "module": "src/foundation-element/foundation-element.ts"
2043
2148
  }
2044
2149
  },
2045
2150
  {
2046
2151
  "kind": "field",
2047
- "name": "hideDisabled",
2152
+ "name": "$presentation",
2048
2153
  "type": {
2049
- "text": "boolean"
2154
+ "text": "ComponentPresentation | null"
2050
2155
  },
2051
- "default": "false"
2156
+ "privacy": "public",
2157
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2158
+ "inheritedFrom": {
2159
+ "name": "FoundationElement",
2160
+ "module": "src/foundation-element/foundation-element.ts"
2161
+ }
2052
2162
  },
2053
2163
  {
2054
2164
  "kind": "field",
2055
- "name": "hideMenuSingleOption",
2165
+ "name": "template",
2056
2166
  "type": {
2057
- "text": "boolean"
2167
+ "text": "ElementViewTemplate | void | null"
2058
2168
  },
2059
- "default": "false"
2169
+ "privacy": "public",
2170
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2171
+ "inheritedFrom": {
2172
+ "name": "FoundationElement",
2173
+ "module": "src/foundation-element/foundation-element.ts"
2174
+ }
2060
2175
  },
2061
2176
  {
2062
- "kind": "field",
2063
- "name": "singleOption",
2064
- "type": {
2065
- "text": "ActionMenuItem"
2177
+ "kind": "method",
2178
+ "name": "templateChanged",
2179
+ "privacy": "protected",
2180
+ "return": {
2181
+ "type": {
2182
+ "text": "void"
2183
+ }
2184
+ },
2185
+ "inheritedFrom": {
2186
+ "name": "FoundationElement",
2187
+ "module": "src/foundation-element/foundation-element.ts"
2066
2188
  }
2067
2189
  },
2068
2190
  {
2069
2191
  "kind": "field",
2070
- "name": "actionsMenu",
2192
+ "name": "styles",
2071
2193
  "type": {
2072
- "text": "HTMLElement"
2194
+ "text": "ElementStyles | void | null"
2195
+ },
2196
+ "privacy": "public",
2197
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2198
+ "inheritedFrom": {
2199
+ "name": "FoundationElement",
2200
+ "module": "src/foundation-element/foundation-element.ts"
2073
2201
  }
2074
2202
  },
2075
2203
  {
2076
2204
  "kind": "method",
2077
- "name": "definitionChanged",
2078
- "privacy": "protected",
2079
- "parameters": [
2080
- {
2081
- "name": "oldValue",
2082
- "type": {
2083
- "text": "any"
2084
- }
2085
- },
2086
- {
2087
- "name": "newValue",
2088
- "type": {
2089
- "text": "any"
2090
- }
2091
- }
2092
- ]
2093
- },
2094
- {
2095
- "kind": "method",
2096
- "name": "openChanged",
2097
- "privacy": "protected"
2098
- },
2099
- {
2100
- "kind": "method",
2101
- "name": "toggleActionsMenuVisibility"
2102
- },
2103
- {
2104
- "kind": "method",
2105
- "name": "onActionMenuItemClick",
2106
- "parameters": [
2107
- {
2108
- "name": "callback",
2109
- "type": {
2110
- "text": "(rowData) => void | any"
2111
- }
2112
- }
2113
- ]
2114
- },
2115
- {
2116
- "kind": "field",
2117
- "name": "allActions",
2118
- "type": {
2119
- "text": "ActionMenuItem[]"
2120
- },
2121
- "readonly": true
2122
- },
2123
- {
2124
- "kind": "field",
2125
- "name": "rowData",
2126
- "readonly": true
2127
- },
2128
- {
2129
- "kind": "method",
2130
- "name": "getLabel",
2131
- "parameters": [
2132
- {
2133
- "name": "name",
2134
- "type": {
2135
- "text": "string | ((rowData: any) => string)"
2136
- }
2137
- }
2138
- ]
2139
- },
2140
- {
2141
- "kind": "method",
2142
- "name": "getTemplate",
2143
- "parameters": [
2144
- {
2145
- "name": "prefix",
2146
- "type": {
2147
- "text": "string"
2148
- }
2149
- }
2150
- ]
2151
- },
2152
- {
2153
- "kind": "field",
2154
- "name": "_presentation",
2155
- "type": {
2156
- "text": "ComponentPresentation | null | undefined"
2157
- },
2158
- "privacy": "private",
2159
- "default": "void 0",
2160
- "inheritedFrom": {
2161
- "name": "FoundationElement",
2162
- "module": "src/foundation-element/foundation-element.ts"
2163
- }
2164
- },
2165
- {
2166
- "kind": "field",
2167
- "name": "$presentation",
2168
- "type": {
2169
- "text": "ComponentPresentation | null"
2170
- },
2171
- "privacy": "public",
2172
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2173
- "inheritedFrom": {
2174
- "name": "FoundationElement",
2175
- "module": "src/foundation-element/foundation-element.ts"
2176
- }
2177
- },
2178
- {
2179
- "kind": "field",
2180
- "name": "template",
2181
- "type": {
2182
- "text": "ElementViewTemplate | void | null"
2183
- },
2184
- "privacy": "public",
2185
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2186
- "inheritedFrom": {
2187
- "name": "FoundationElement",
2188
- "module": "src/foundation-element/foundation-element.ts"
2189
- }
2190
- },
2191
- {
2192
- "kind": "method",
2193
- "name": "templateChanged",
2194
- "privacy": "protected",
2195
- "return": {
2196
- "type": {
2197
- "text": "void"
2198
- }
2199
- },
2200
- "inheritedFrom": {
2201
- "name": "FoundationElement",
2202
- "module": "src/foundation-element/foundation-element.ts"
2203
- }
2204
- },
2205
- {
2206
- "kind": "field",
2207
- "name": "styles",
2208
- "type": {
2209
- "text": "ElementStyles | void | null"
2210
- },
2211
- "privacy": "public",
2212
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2213
- "inheritedFrom": {
2214
- "name": "FoundationElement",
2215
- "module": "src/foundation-element/foundation-element.ts"
2216
- }
2217
- },
2218
- {
2219
- "kind": "method",
2220
- "name": "stylesChanged",
2205
+ "name": "stylesChanged",
2221
2206
  "privacy": "protected",
2222
2207
  "return": {
2223
2208
  "type": {
@@ -2261,107 +2246,78 @@
2261
2246
  }
2262
2247
  }
2263
2248
  ],
2264
- "attributes": [
2265
- {
2266
- "name": "is-vertical",
2267
- "type": {
2268
- "text": "boolean"
2269
- },
2270
- "default": "false",
2271
- "fieldName": "isVertical"
2272
- },
2273
- {
2274
- "name": "add-default-actions",
2275
- "type": {
2276
- "text": "boolean"
2277
- },
2278
- "default": "true",
2279
- "fieldName": "addDefaultActions"
2280
- },
2281
- {
2282
- "name": "auto-close-on-action",
2283
- "type": {
2284
- "text": "boolean"
2285
- },
2286
- "default": "true",
2287
- "fieldName": "autoCloseOnAction"
2288
- },
2289
- {
2290
- "name": "name",
2291
- "type": {
2292
- "text": "string"
2293
- },
2294
- "default": "'Actions'",
2295
- "fieldName": "name"
2296
- },
2297
- {
2298
- "name": "open",
2299
- "type": {
2300
- "text": "boolean"
2301
- },
2302
- "default": "false",
2303
- "fieldName": "open"
2304
- },
2305
- {
2306
- "name": "buttonAppearance",
2307
- "type": {
2308
- "text": "string"
2309
- },
2310
- "fieldName": "buttonAppearance"
2311
- },
2312
- {
2313
- "name": "hide-disabled",
2314
- "type": {
2315
- "text": "boolean"
2316
- },
2317
- "default": "false",
2318
- "fieldName": "hideDisabled"
2319
- },
2249
+ "events": [
2320
2250
  {
2321
- "name": "hide-menu-single-option",
2322
- "type": {
2323
- "text": "boolean"
2324
- },
2325
- "default": "false",
2326
- "fieldName": "hideMenuSingleOption"
2251
+ "description": "Fires a custom 'change' event when the button is invoked",
2252
+ "name": "change",
2253
+ "inheritedFrom": {
2254
+ "name": "AccordionItem",
2255
+ "module": "src/accordion-item/accordion-item.ts"
2256
+ }
2327
2257
  }
2328
- ],
2329
- "superclass": {
2330
- "name": "FoundationElement",
2331
- "package": "@microsoft/fast-foundation"
2258
+ ]
2259
+ },
2260
+ {
2261
+ "kind": "variable",
2262
+ "name": "foundationAccordionItemShadowOptions",
2263
+ "type": {
2264
+ "text": "ShadowRootInit"
2332
2265
  },
2333
- "tagName": "%%prefix%%-actions-menu",
2334
- "customElement": true
2266
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2335
2267
  },
2336
2268
  {
2337
2269
  "kind": "variable",
2338
- "name": "foundationActionsMenu",
2339
- "description": "The Foundation Actions Menu",
2270
+ "name": "defaultAccordionItemConfig",
2271
+ "type": {
2272
+ "text": "object"
2273
+ },
2274
+ "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}"
2275
+ },
2276
+ {
2277
+ "kind": "variable",
2278
+ "name": "foundationAccordionItem",
2279
+ "description": "The Foundation Accordion Item",
2340
2280
  "privacy": "public"
2341
2281
  }
2342
2282
  ],
2343
2283
  "exports": [
2344
2284
  {
2345
2285
  "kind": "js",
2346
- "name": "ActionsMenu",
2286
+ "name": "AccordionItem",
2347
2287
  "declaration": {
2348
- "name": "ActionsMenu",
2349
- "module": "src/actions-menu/actions-menu.ts"
2288
+ "name": "AccordionItem",
2289
+ "module": "src/accordion-item/accordion-item.ts"
2350
2290
  }
2351
2291
  },
2352
2292
  {
2353
2293
  "kind": "js",
2354
- "name": "foundationActionsMenu",
2294
+ "name": "foundationAccordionItemShadowOptions",
2355
2295
  "declaration": {
2356
- "name": "foundationActionsMenu",
2357
- "module": "src/actions-menu/actions-menu.ts"
2296
+ "name": "foundationAccordionItemShadowOptions",
2297
+ "module": "src/accordion-item/accordion-item.ts"
2298
+ }
2299
+ },
2300
+ {
2301
+ "kind": "js",
2302
+ "name": "defaultAccordionItemConfig",
2303
+ "declaration": {
2304
+ "name": "defaultAccordionItemConfig",
2305
+ "module": "src/accordion-item/accordion-item.ts"
2306
+ }
2307
+ },
2308
+ {
2309
+ "kind": "js",
2310
+ "name": "foundationAccordionItem",
2311
+ "declaration": {
2312
+ "name": "foundationAccordionItem",
2313
+ "module": "src/accordion-item/accordion-item.ts"
2358
2314
  }
2359
2315
  }
2360
2316
  ]
2361
2317
  },
2362
2318
  {
2363
2319
  "kind": "javascript-module",
2364
- "path": "src/actions-menu/index.ts",
2320
+ "path": "src/accordion-item/index.ts",
2365
2321
  "declarations": [],
2366
2322
  "exports": [
2367
2323
  {
@@ -2369,7 +2325,7 @@
2369
2325
  "name": "*",
2370
2326
  "declaration": {
2371
2327
  "name": "*",
2372
- "package": "./actions-menu.styles"
2328
+ "package": "./accordion-item.template"
2373
2329
  }
2374
2330
  },
2375
2331
  {
@@ -2377,7 +2333,7 @@
2377
2333
  "name": "*",
2378
2334
  "declaration": {
2379
2335
  "name": "*",
2380
- "package": "./actions-menu.template"
2336
+ "package": "./accordion-item.styles"
2381
2337
  }
2382
2338
  },
2383
2339
  {
@@ -2385,18 +2341,41 @@
2385
2341
  "name": "*",
2386
2342
  "declaration": {
2387
2343
  "name": "*",
2388
- "package": "./actions-menu"
2344
+ "package": "./accordion-item"
2389
2345
  }
2390
2346
  }
2391
2347
  ]
2392
2348
  },
2393
2349
  {
2394
2350
  "kind": "javascript-module",
2395
- "path": "src/accordion/accordion.styles.ts",
2351
+ "path": "src/actions-menu/actions-menu.styles.ts",
2396
2352
  "declarations": [
2397
2353
  {
2398
2354
  "kind": "function",
2399
- "name": "foundationAccordionStyles",
2355
+ "name": "actionsMenuBaseStyles",
2356
+ "return": {
2357
+ "type": {
2358
+ "text": "ElementStyles"
2359
+ }
2360
+ },
2361
+ "parameters": [
2362
+ {
2363
+ "name": "context",
2364
+ "type": {
2365
+ "text": "ElementDefinitionContext"
2366
+ }
2367
+ },
2368
+ {
2369
+ "name": "definition",
2370
+ "type": {
2371
+ "text": "FoundationElementDefinition"
2372
+ }
2373
+ }
2374
+ ]
2375
+ },
2376
+ {
2377
+ "kind": "function",
2378
+ "name": "foundationActionsMenuStyles",
2400
2379
  "return": {
2401
2380
  "type": {
2402
2381
  "text": "ElementStyles"
@@ -2421,277 +2400,269 @@
2421
2400
  "exports": [
2422
2401
  {
2423
2402
  "kind": "js",
2424
- "name": "foundationAccordionStyles",
2403
+ "name": "actionsMenuBaseStyles",
2404
+ "declaration": {
2405
+ "name": "actionsMenuBaseStyles",
2406
+ "module": "src/actions-menu/actions-menu.styles.ts"
2407
+ }
2408
+ },
2409
+ {
2410
+ "kind": "js",
2411
+ "name": "foundationActionsMenuStyles",
2425
2412
  "declaration": {
2426
- "name": "foundationAccordionStyles",
2427
- "module": "src/accordion/accordion.styles.ts"
2413
+ "name": "foundationActionsMenuStyles",
2414
+ "module": "src/actions-menu/actions-menu.styles.ts"
2428
2415
  }
2429
2416
  }
2430
2417
  ]
2431
2418
  },
2432
2419
  {
2433
2420
  "kind": "javascript-module",
2434
- "path": "src/accordion/accordion.template.ts",
2421
+ "path": "src/actions-menu/actions-menu.template.ts",
2435
2422
  "declarations": [
2436
2423
  {
2437
2424
  "kind": "function",
2438
- "name": "foundationAccordionTemplate",
2439
- "return": {
2440
- "type": {
2441
- "text": "ViewTemplate<Accordion>"
2442
- }
2443
- },
2425
+ "name": "menuTemplate",
2444
2426
  "parameters": [
2445
2427
  {
2446
- "name": "context",
2428
+ "name": "prefix",
2447
2429
  "type": {
2448
- "text": "ElementDefinitionContext"
2430
+ "text": "string"
2449
2431
  }
2450
- },
2432
+ }
2433
+ ]
2434
+ },
2435
+ {
2436
+ "kind": "function",
2437
+ "name": "singleOptionTemplate",
2438
+ "parameters": [
2451
2439
  {
2452
- "name": "definition",
2440
+ "name": "prefix",
2453
2441
  "type": {
2454
- "text": "FoundationElementDefinition"
2442
+ "text": "string"
2455
2443
  }
2456
2444
  }
2457
2445
  ]
2446
+ },
2447
+ {
2448
+ "kind": "variable",
2449
+ "name": "foundationActionsMenuTemplate",
2450
+ "type": {
2451
+ "text": "ViewTemplate<ActionsMenu>"
2452
+ },
2453
+ "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`"
2458
2454
  }
2459
2455
  ],
2460
2456
  "exports": [
2461
2457
  {
2462
2458
  "kind": "js",
2463
- "name": "foundationAccordionTemplate",
2459
+ "name": "menuTemplate",
2464
2460
  "declaration": {
2465
- "name": "foundationAccordionTemplate",
2466
- "module": "src/accordion/accordion.template.ts"
2461
+ "name": "menuTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "js",
2467
+ "name": "singleOptionTemplate",
2468
+ "declaration": {
2469
+ "name": "singleOptionTemplate",
2470
+ "module": "src/actions-menu/actions-menu.template.ts"
2471
+ }
2472
+ },
2473
+ {
2474
+ "kind": "js",
2475
+ "name": "foundationActionsMenuTemplate",
2476
+ "declaration": {
2477
+ "name": "foundationActionsMenuTemplate",
2478
+ "module": "src/actions-menu/actions-menu.template.ts"
2467
2479
  }
2468
2480
  }
2469
2481
  ]
2470
2482
  },
2471
2483
  {
2472
2484
  "kind": "javascript-module",
2473
- "path": "src/accordion/accordion.ts",
2485
+ "path": "src/actions-menu/actions-menu.ts",
2474
2486
  "declarations": [
2475
2487
  {
2476
2488
  "kind": "class",
2477
2489
  "description": "",
2478
- "name": "Accordion",
2479
- "superclass": {
2480
- "name": "FASTAccordion",
2481
- "package": "@microsoft/fast-foundation"
2482
- },
2483
- "tagName": "%%prefix%%-accordion",
2484
- "customElement": true,
2485
- "attributes": [
2490
+ "name": "ActionsMenu",
2491
+ "members": [
2486
2492
  {
2487
- "name": "expand-mode",
2493
+ "kind": "field",
2494
+ "name": "actions",
2488
2495
  "type": {
2489
- "text": "AccordionExpandMode"
2490
- },
2491
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2492
- "fieldName": "expandmode",
2493
- "inheritedFrom": {
2494
- "name": "Accordion",
2495
- "module": "src/accordion/accordion.ts"
2496
+ "text": "ActionMenuItem[]"
2496
2497
  }
2497
- }
2498
- ],
2499
- "members": [
2498
+ },
2500
2499
  {
2501
2500
  "kind": "field",
2502
- "name": "expandmode",
2501
+ "name": "isVertical",
2503
2502
  "type": {
2504
- "text": "AccordionExpandMode"
2503
+ "text": "boolean"
2505
2504
  },
2506
- "privacy": "public",
2507
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2508
- "inheritedFrom": {
2509
- "name": "Accordion",
2510
- "module": "src/accordion/accordion.ts"
2511
- }
2505
+ "default": "false"
2512
2506
  },
2513
2507
  {
2514
2508
  "kind": "field",
2515
- "name": "activeid",
2509
+ "name": "addDefaultActions",
2516
2510
  "type": {
2517
- "text": "string | null"
2511
+ "text": "boolean"
2518
2512
  },
2519
- "privacy": "private",
2520
- "inheritedFrom": {
2521
- "name": "Accordion",
2522
- "module": "src/accordion/accordion.ts"
2523
- }
2513
+ "default": "true"
2524
2514
  },
2525
2515
  {
2526
2516
  "kind": "field",
2527
- "name": "activeItemIndex",
2517
+ "name": "autoCloseOnAction",
2528
2518
  "type": {
2529
- "text": "number"
2519
+ "text": "boolean"
2530
2520
  },
2531
- "privacy": "private",
2532
- "default": "0",
2533
- "inheritedFrom": {
2534
- "name": "Accordion",
2535
- "module": "src/accordion/accordion.ts"
2536
- }
2521
+ "default": "true"
2537
2522
  },
2538
2523
  {
2539
2524
  "kind": "field",
2540
- "name": "accordionIds",
2525
+ "name": "classNames",
2541
2526
  "type": {
2542
- "text": "Array<string | null>"
2543
- },
2544
- "privacy": "private",
2545
- "inheritedFrom": {
2546
- "name": "Accordion",
2547
- "module": "src/accordion/accordion.ts"
2527
+ "text": "string"
2548
2528
  }
2549
2529
  },
2550
2530
  {
2551
2531
  "kind": "field",
2552
- "name": "change",
2553
- "privacy": "private",
2554
- "inheritedFrom": {
2555
- "name": "Accordion",
2556
- "module": "src/accordion/accordion.ts"
2532
+ "name": "definition",
2533
+ "type": {
2534
+ "text": "any"
2557
2535
  }
2558
2536
  },
2559
2537
  {
2560
- "kind": "method",
2561
- "name": "findExpandedItem",
2562
- "privacy": "private",
2563
- "return": {
2564
- "type": {
2565
- "text": "AccordionItem | null"
2566
- }
2538
+ "kind": "field",
2539
+ "name": "name",
2540
+ "type": {
2541
+ "text": "string"
2567
2542
  },
2568
- "inheritedFrom": {
2569
- "name": "Accordion",
2570
- "module": "src/accordion/accordion.ts"
2571
- }
2543
+ "default": "'Actions'"
2572
2544
  },
2573
2545
  {
2574
2546
  "kind": "field",
2575
- "name": "setItems",
2576
- "privacy": "private",
2577
- "inheritedFrom": {
2578
- "name": "Accordion",
2579
- "module": "src/accordion/accordion.ts"
2547
+ "name": "open",
2548
+ "type": {
2549
+ "text": "boolean"
2550
+ },
2551
+ "default": "false"
2552
+ },
2553
+ {
2554
+ "kind": "field",
2555
+ "name": "buttonAppearance",
2556
+ "type": {
2557
+ "text": "string"
2580
2558
  }
2581
2559
  },
2582
2560
  {
2583
- "kind": "method",
2584
- "name": "resetItems",
2585
- "privacy": "private",
2586
- "return": {
2587
- "type": {
2588
- "text": "void"
2589
- }
2561
+ "kind": "field",
2562
+ "name": "hideDisabled",
2563
+ "type": {
2564
+ "text": "boolean"
2590
2565
  },
2591
- "inheritedFrom": {
2592
- "name": "Accordion",
2593
- "module": "src/accordion/accordion.ts"
2594
- }
2566
+ "default": "false"
2595
2567
  },
2596
2568
  {
2597
2569
  "kind": "field",
2598
- "name": "removeItemListeners",
2599
- "privacy": "private",
2600
- "inheritedFrom": {
2601
- "name": "Accordion",
2602
- "module": "src/accordion/accordion.ts"
2570
+ "name": "hideMenuSingleOption",
2571
+ "type": {
2572
+ "text": "boolean"
2573
+ },
2574
+ "default": "false"
2575
+ },
2576
+ {
2577
+ "kind": "field",
2578
+ "name": "singleOption",
2579
+ "type": {
2580
+ "text": "ActionMenuItem"
2603
2581
  }
2604
2582
  },
2605
2583
  {
2606
2584
  "kind": "field",
2607
- "name": "activeItemChange",
2608
- "privacy": "private",
2609
- "inheritedFrom": {
2610
- "name": "Accordion",
2611
- "module": "src/accordion/accordion.ts"
2585
+ "name": "actionsMenu",
2586
+ "type": {
2587
+ "text": "HTMLElement"
2612
2588
  }
2613
2589
  },
2614
2590
  {
2615
2591
  "kind": "method",
2616
- "name": "getItemIds",
2617
- "privacy": "private",
2618
- "return": {
2619
- "type": {
2620
- "text": "Array<string | null>"
2592
+ "name": "definitionChanged",
2593
+ "privacy": "protected",
2594
+ "parameters": [
2595
+ {
2596
+ "name": "oldValue",
2597
+ "type": {
2598
+ "text": "any"
2599
+ }
2600
+ },
2601
+ {
2602
+ "name": "newValue",
2603
+ "type": {
2604
+ "text": "any"
2605
+ }
2621
2606
  }
2622
- },
2623
- "inheritedFrom": {
2624
- "name": "Accordion",
2625
- "module": "src/accordion/accordion.ts"
2626
- }
2607
+ ]
2627
2608
  },
2628
2609
  {
2629
2610
  "kind": "method",
2630
- "name": "isSingleExpandMode",
2631
- "privacy": "private",
2632
- "return": {
2633
- "type": {
2634
- "text": "boolean"
2611
+ "name": "openChanged",
2612
+ "privacy": "protected"
2613
+ },
2614
+ {
2615
+ "kind": "method",
2616
+ "name": "toggleActionsMenuVisibility"
2617
+ },
2618
+ {
2619
+ "kind": "method",
2620
+ "name": "onActionMenuItemClick",
2621
+ "parameters": [
2622
+ {
2623
+ "name": "callback",
2624
+ "type": {
2625
+ "text": "(rowData) => void | any"
2626
+ }
2635
2627
  }
2636
- },
2637
- "inheritedFrom": {
2638
- "name": "Accordion",
2639
- "module": "src/accordion/accordion.ts"
2640
- }
2628
+ ]
2641
2629
  },
2642
2630
  {
2643
2631
  "kind": "field",
2644
- "name": "handleItemKeyDown",
2645
- "privacy": "private",
2646
- "inheritedFrom": {
2647
- "name": "Accordion",
2648
- "module": "src/accordion/accordion.ts"
2649
- }
2632
+ "name": "allActions",
2633
+ "type": {
2634
+ "text": "ActionMenuItem[]"
2635
+ },
2636
+ "readonly": true
2650
2637
  },
2651
2638
  {
2652
2639
  "kind": "field",
2653
- "name": "handleItemFocus",
2654
- "privacy": "private",
2655
- "inheritedFrom": {
2656
- "name": "Accordion",
2657
- "module": "src/accordion/accordion.ts"
2658
- }
2640
+ "name": "rowData",
2641
+ "readonly": true
2659
2642
  },
2660
2643
  {
2661
2644
  "kind": "method",
2662
- "name": "adjust",
2663
- "privacy": "private",
2664
- "return": {
2665
- "type": {
2666
- "text": "void"
2667
- }
2668
- },
2645
+ "name": "getLabel",
2669
2646
  "parameters": [
2670
2647
  {
2671
- "name": "adjustment",
2648
+ "name": "name",
2672
2649
  "type": {
2673
- "text": "number"
2650
+ "text": "string | ((rowData: any) => string)"
2674
2651
  }
2675
2652
  }
2676
- ],
2677
- "inheritedFrom": {
2678
- "name": "Accordion",
2679
- "module": "src/accordion/accordion.ts"
2680
- }
2653
+ ]
2681
2654
  },
2682
2655
  {
2683
2656
  "kind": "method",
2684
- "name": "focusItem",
2685
- "privacy": "private",
2686
- "return": {
2687
- "type": {
2688
- "text": "void"
2657
+ "name": "getTemplate",
2658
+ "parameters": [
2659
+ {
2660
+ "name": "prefix",
2661
+ "type": {
2662
+ "text": "string"
2663
+ }
2689
2664
  }
2690
- },
2691
- "inheritedFrom": {
2692
- "name": "Accordion",
2693
- "module": "src/accordion/accordion.ts"
2694
- }
2665
+ ]
2695
2666
  },
2696
2667
  {
2697
2668
  "kind": "field",
@@ -2805,78 +2776,107 @@
2805
2776
  }
2806
2777
  }
2807
2778
  ],
2808
- "events": [
2779
+ "attributes": [
2809
2780
  {
2810
- "description": "Fires a custom 'change' event when the active item changes",
2811
- "name": "change",
2812
- "inheritedFrom": {
2813
- "name": "Accordion",
2814
- "module": "src/accordion/accordion.ts"
2815
- }
2781
+ "name": "is-vertical",
2782
+ "type": {
2783
+ "text": "boolean"
2784
+ },
2785
+ "default": "false",
2786
+ "fieldName": "isVertical"
2787
+ },
2788
+ {
2789
+ "name": "add-default-actions",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "true",
2794
+ "fieldName": "addDefaultActions"
2795
+ },
2796
+ {
2797
+ "name": "auto-close-on-action",
2798
+ "type": {
2799
+ "text": "boolean"
2800
+ },
2801
+ "default": "true",
2802
+ "fieldName": "autoCloseOnAction"
2803
+ },
2804
+ {
2805
+ "name": "name",
2806
+ "type": {
2807
+ "text": "string"
2808
+ },
2809
+ "default": "'Actions'",
2810
+ "fieldName": "name"
2811
+ },
2812
+ {
2813
+ "name": "open",
2814
+ "type": {
2815
+ "text": "boolean"
2816
+ },
2817
+ "default": "false",
2818
+ "fieldName": "open"
2819
+ },
2820
+ {
2821
+ "name": "buttonAppearance",
2822
+ "type": {
2823
+ "text": "string"
2824
+ },
2825
+ "fieldName": "buttonAppearance"
2826
+ },
2827
+ {
2828
+ "name": "hide-disabled",
2829
+ "type": {
2830
+ "text": "boolean"
2831
+ },
2832
+ "default": "false",
2833
+ "fieldName": "hideDisabled"
2834
+ },
2835
+ {
2836
+ "name": "hide-menu-single-option",
2837
+ "type": {
2838
+ "text": "boolean"
2839
+ },
2840
+ "default": "false",
2841
+ "fieldName": "hideMenuSingleOption"
2816
2842
  }
2817
- ]
2818
- },
2819
- {
2820
- "kind": "variable",
2821
- "name": "foundationAccordionShadowOptions",
2822
- "type": {
2823
- "text": "ShadowRootInit"
2824
- },
2825
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2826
- },
2827
- {
2828
- "kind": "variable",
2829
- "name": "defaultAccordionConfig",
2830
- "type": {
2831
- "text": "object"
2843
+ ],
2844
+ "superclass": {
2845
+ "name": "FoundationElement",
2846
+ "package": "@microsoft/fast-foundation"
2832
2847
  },
2833
- "default": "{}"
2848
+ "tagName": "%%prefix%%-actions-menu",
2849
+ "customElement": true
2834
2850
  },
2835
2851
  {
2836
2852
  "kind": "variable",
2837
- "name": "foundationAccordion",
2838
- "description": "The Foundation Accordion",
2853
+ "name": "foundationActionsMenu",
2854
+ "description": "The Foundation Actions Menu",
2839
2855
  "privacy": "public"
2840
2856
  }
2841
2857
  ],
2842
2858
  "exports": [
2843
2859
  {
2844
2860
  "kind": "js",
2845
- "name": "Accordion",
2846
- "declaration": {
2847
- "name": "Accordion",
2848
- "module": "src/accordion/accordion.ts"
2849
- }
2850
- },
2851
- {
2852
- "kind": "js",
2853
- "name": "foundationAccordionShadowOptions",
2854
- "declaration": {
2855
- "name": "foundationAccordionShadowOptions",
2856
- "module": "src/accordion/accordion.ts"
2857
- }
2858
- },
2859
- {
2860
- "kind": "js",
2861
- "name": "defaultAccordionConfig",
2861
+ "name": "ActionsMenu",
2862
2862
  "declaration": {
2863
- "name": "defaultAccordionConfig",
2864
- "module": "src/accordion/accordion.ts"
2863
+ "name": "ActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
2865
2865
  }
2866
2866
  },
2867
2867
  {
2868
2868
  "kind": "js",
2869
- "name": "foundationAccordion",
2869
+ "name": "foundationActionsMenu",
2870
2870
  "declaration": {
2871
- "name": "foundationAccordion",
2872
- "module": "src/accordion/accordion.ts"
2871
+ "name": "foundationActionsMenu",
2872
+ "module": "src/actions-menu/actions-menu.ts"
2873
2873
  }
2874
2874
  }
2875
2875
  ]
2876
2876
  },
2877
2877
  {
2878
2878
  "kind": "javascript-module",
2879
- "path": "src/accordion/index.ts",
2879
+ "path": "src/actions-menu/index.ts",
2880
2880
  "declarations": [],
2881
2881
  "exports": [
2882
2882
  {
@@ -2884,7 +2884,7 @@
2884
2884
  "name": "*",
2885
2885
  "declaration": {
2886
2886
  "name": "*",
2887
- "package": "./accordion.template"
2887
+ "package": "./actions-menu.styles"
2888
2888
  }
2889
2889
  },
2890
2890
  {
@@ -2892,7 +2892,7 @@
2892
2892
  "name": "*",
2893
2893
  "declaration": {
2894
2894
  "name": "*",
2895
- "package": "./accordion.styles"
2895
+ "package": "./actions-menu.template"
2896
2896
  }
2897
2897
  },
2898
2898
  {
@@ -2900,7 +2900,7 @@
2900
2900
  "name": "*",
2901
2901
  "declaration": {
2902
2902
  "name": "*",
2903
- "package": "./accordion"
2903
+ "package": "./actions-menu"
2904
2904
  }
2905
2905
  }
2906
2906
  ]
@@ -6075,11 +6075,11 @@
6075
6075
  },
6076
6076
  {
6077
6077
  "kind": "javascript-module",
6078
- "path": "src/avatar/avatar.styles.ts",
6078
+ "path": "src/badge/badge.styles.ts",
6079
6079
  "declarations": [
6080
6080
  {
6081
6081
  "kind": "function",
6082
- "name": "foundationAvatarStyles",
6082
+ "name": "foundationBadgeStyles",
6083
6083
  "return": {
6084
6084
  "type": {
6085
6085
  "text": "ElementStyles"
@@ -6104,24 +6104,24 @@
6104
6104
  "exports": [
6105
6105
  {
6106
6106
  "kind": "js",
6107
- "name": "foundationAvatarStyles",
6107
+ "name": "foundationBadgeStyles",
6108
6108
  "declaration": {
6109
- "name": "foundationAvatarStyles",
6110
- "module": "src/avatar/avatar.styles.ts"
6109
+ "name": "foundationBadgeStyles",
6110
+ "module": "src/badge/badge.styles.ts"
6111
6111
  }
6112
6112
  }
6113
6113
  ]
6114
6114
  },
6115
6115
  {
6116
6116
  "kind": "javascript-module",
6117
- "path": "src/avatar/avatar.template.ts",
6117
+ "path": "src/badge/badge.template.ts",
6118
6118
  "declarations": [
6119
6119
  {
6120
6120
  "kind": "function",
6121
- "name": "foundationAvatarTemplate",
6121
+ "name": "foundationBadgeTemplate",
6122
6122
  "return": {
6123
6123
  "type": {
6124
- "text": "ViewTemplate<Avatar>"
6124
+ "text": "ViewTemplate<Badge>"
6125
6125
  }
6126
6126
  },
6127
6127
  "parameters": [
@@ -6138,45 +6138,32 @@
6138
6138
  }
6139
6139
  }
6140
6140
  ]
6141
- },
6142
- {
6143
- "kind": "variable",
6144
- "name": "media",
6145
- "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`"
6146
6141
  }
6147
6142
  ],
6148
6143
  "exports": [
6149
6144
  {
6150
6145
  "kind": "js",
6151
- "name": "foundationAvatarTemplate",
6152
- "declaration": {
6153
- "name": "foundationAvatarTemplate",
6154
- "module": "src/avatar/avatar.template.ts"
6155
- }
6156
- },
6157
- {
6158
- "kind": "js",
6159
- "name": "media",
6146
+ "name": "foundationBadgeTemplate",
6160
6147
  "declaration": {
6161
- "name": "media",
6162
- "module": "src/avatar/avatar.template.ts"
6148
+ "name": "foundationBadgeTemplate",
6149
+ "module": "src/badge/badge.template.ts"
6163
6150
  }
6164
6151
  }
6165
6152
  ]
6166
6153
  },
6167
6154
  {
6168
6155
  "kind": "javascript-module",
6169
- "path": "src/avatar/avatar.ts",
6156
+ "path": "src/badge/badge.ts",
6170
6157
  "declarations": [
6171
6158
  {
6172
6159
  "kind": "class",
6173
6160
  "description": "",
6174
- "name": "Avatar",
6161
+ "name": "Badge",
6175
6162
  "superclass": {
6176
- "name": "FASTAvatar",
6163
+ "name": "FASTBadge",
6177
6164
  "package": "@microsoft/fast-components"
6178
6165
  },
6179
- "tagName": "%%prefix%%-avatar",
6166
+ "tagName": "%%prefix%%-badge",
6180
6167
  "customElement": true,
6181
6168
  "attributes": [
6182
6169
  {
@@ -6184,47 +6171,34 @@
6184
6171
  "type": {
6185
6172
  "text": "string"
6186
6173
  },
6187
- "description": "Indicates the Avatar should have a color fill.",
6188
- "fieldName": "fill",
6189
- "inheritedFrom": {
6190
- "name": "Avatar",
6191
- "module": "src/avatar/avatar.ts"
6192
- }
6193
- },
6194
- {
6195
- "name": "color",
6196
- "type": {
6197
- "text": "string"
6198
- },
6199
- "description": "Indicates the Avatar should have a text color.",
6200
- "fieldName": "color",
6174
+ "description": "Indicates the badge should have a filled style.",
6175
+ "fieldName": "fill",
6201
6176
  "inheritedFrom": {
6202
- "name": "Avatar",
6203
- "module": "src/avatar/avatar.ts"
6177
+ "name": "Badge",
6178
+ "module": "src/badge/badge.ts"
6204
6179
  }
6205
6180
  },
6206
6181
  {
6207
- "name": "link",
6182
+ "name": "color",
6208
6183
  "type": {
6209
6184
  "text": "string"
6210
6185
  },
6211
- "description": "Indicates the Avatar should have url link",
6212
- "fieldName": "link",
6186
+ "description": "Indicates the badge should have a filled style.",
6187
+ "fieldName": "color",
6213
6188
  "inheritedFrom": {
6214
- "name": "Avatar",
6215
- "module": "src/avatar/avatar.ts"
6189
+ "name": "Badge",
6190
+ "module": "src/badge/badge.ts"
6216
6191
  }
6217
6192
  },
6218
6193
  {
6219
- "name": "shape",
6220
6194
  "type": {
6221
- "text": "AvatarShape"
6195
+ "text": "boolean"
6222
6196
  },
6223
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6224
- "fieldName": "shape",
6197
+ "description": "Indicates the element should be circular",
6198
+ "fieldName": "circular",
6225
6199
  "inheritedFrom": {
6226
- "name": "Avatar",
6227
- "module": "src/avatar/avatar.ts"
6200
+ "name": "Badge",
6201
+ "module": "src/badge/badge.ts"
6228
6202
  }
6229
6203
  }
6230
6204
  ],
@@ -6236,10 +6210,10 @@
6236
6210
  "text": "string"
6237
6211
  },
6238
6212
  "privacy": "public",
6239
- "description": "Indicates the Avatar should have a color fill.",
6213
+ "description": "Indicates the badge should have a filled style.",
6240
6214
  "inheritedFrom": {
6241
- "name": "Avatar",
6242
- "module": "src/avatar/avatar.ts"
6215
+ "name": "Badge",
6216
+ "module": "src/badge/badge.ts"
6243
6217
  }
6244
6218
  },
6245
6219
  {
@@ -6249,36 +6223,32 @@
6249
6223
  "text": "string"
6250
6224
  },
6251
6225
  "privacy": "public",
6252
- "description": "Indicates the Avatar should have a text color.",
6226
+ "description": "Indicates the badge should have a filled style.",
6253
6227
  "inheritedFrom": {
6254
- "name": "Avatar",
6255
- "module": "src/avatar/avatar.ts"
6228
+ "name": "Badge",
6229
+ "module": "src/badge/badge.ts"
6256
6230
  }
6257
6231
  },
6258
6232
  {
6259
6233
  "kind": "field",
6260
- "name": "link",
6234
+ "name": "circular",
6261
6235
  "type": {
6262
- "text": "string"
6236
+ "text": "boolean"
6263
6237
  },
6264
6238
  "privacy": "public",
6265
- "description": "Indicates the Avatar should have url link",
6239
+ "description": "Indicates the element should be circular",
6266
6240
  "inheritedFrom": {
6267
- "name": "Avatar",
6268
- "module": "src/avatar/avatar.ts"
6241
+ "name": "Badge",
6242
+ "module": "src/badge/badge.ts"
6269
6243
  }
6270
6244
  },
6271
6245
  {
6272
6246
  "kind": "field",
6273
- "name": "shape",
6274
- "type": {
6275
- "text": "AvatarShape"
6276
- },
6247
+ "name": "generateBadgeStyle",
6277
6248
  "privacy": "public",
6278
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6279
6249
  "inheritedFrom": {
6280
- "name": "Avatar",
6281
- "module": "src/avatar/avatar.ts"
6250
+ "name": "Badge",
6251
+ "module": "src/badge/badge.ts"
6282
6252
  }
6283
6253
  },
6284
6254
  {
@@ -6396,65 +6366,65 @@
6396
6366
  },
6397
6367
  {
6398
6368
  "kind": "variable",
6399
- "name": "foundationAvatarShadowOptions",
6369
+ "name": "foundationBadgeShadowOptions",
6400
6370
  "type": {
6401
6371
  "text": "ShadowRootInit"
6402
6372
  },
6403
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
6373
+ "default": "undefined"
6404
6374
  },
6405
6375
  {
6406
6376
  "kind": "variable",
6407
- "name": "defaultAvatarConfig",
6377
+ "name": "defaultBadgeConfig",
6408
6378
  "type": {
6409
6379
  "text": "object"
6410
6380
  },
6411
- "default": "{\n media: mediaTemplate,\n}"
6381
+ "default": "{}"
6412
6382
  },
6413
6383
  {
6414
6384
  "kind": "variable",
6415
- "name": "foundationAvatar",
6416
- "description": "The Foundation Avatar",
6385
+ "name": "foundationBadge",
6386
+ "description": "The Foundation Badge",
6417
6387
  "privacy": "public"
6418
6388
  }
6419
6389
  ],
6420
6390
  "exports": [
6421
6391
  {
6422
6392
  "kind": "js",
6423
- "name": "Avatar",
6393
+ "name": "Badge",
6424
6394
  "declaration": {
6425
- "name": "Avatar",
6426
- "module": "src/avatar/avatar.ts"
6395
+ "name": "Badge",
6396
+ "module": "src/badge/badge.ts"
6427
6397
  }
6428
6398
  },
6429
6399
  {
6430
6400
  "kind": "js",
6431
- "name": "foundationAvatarShadowOptions",
6401
+ "name": "foundationBadgeShadowOptions",
6432
6402
  "declaration": {
6433
- "name": "foundationAvatarShadowOptions",
6434
- "module": "src/avatar/avatar.ts"
6403
+ "name": "foundationBadgeShadowOptions",
6404
+ "module": "src/badge/badge.ts"
6435
6405
  }
6436
6406
  },
6437
6407
  {
6438
6408
  "kind": "js",
6439
- "name": "defaultAvatarConfig",
6409
+ "name": "defaultBadgeConfig",
6440
6410
  "declaration": {
6441
- "name": "defaultAvatarConfig",
6442
- "module": "src/avatar/avatar.ts"
6411
+ "name": "defaultBadgeConfig",
6412
+ "module": "src/badge/badge.ts"
6443
6413
  }
6444
6414
  },
6445
6415
  {
6446
6416
  "kind": "js",
6447
- "name": "foundationAvatar",
6417
+ "name": "foundationBadge",
6448
6418
  "declaration": {
6449
- "name": "foundationAvatar",
6450
- "module": "src/avatar/avatar.ts"
6419
+ "name": "foundationBadge",
6420
+ "module": "src/badge/badge.ts"
6451
6421
  }
6452
6422
  }
6453
6423
  ]
6454
6424
  },
6455
6425
  {
6456
6426
  "kind": "javascript-module",
6457
- "path": "src/avatar/index.ts",
6427
+ "path": "src/badge/index.ts",
6458
6428
  "declarations": [],
6459
6429
  "exports": [
6460
6430
  {
@@ -6462,7 +6432,7 @@
6462
6432
  "name": "*",
6463
6433
  "declaration": {
6464
6434
  "name": "*",
6465
- "package": "./avatar.template"
6435
+ "package": "./badge.template"
6466
6436
  }
6467
6437
  },
6468
6438
  {
@@ -6470,7 +6440,7 @@
6470
6440
  "name": "*",
6471
6441
  "declaration": {
6472
6442
  "name": "*",
6473
- "package": "./avatar.styles"
6443
+ "package": "./badge.styles"
6474
6444
  }
6475
6445
  },
6476
6446
  {
@@ -6478,18 +6448,18 @@
6478
6448
  "name": "*",
6479
6449
  "declaration": {
6480
6450
  "name": "*",
6481
- "package": "./avatar"
6451
+ "package": "./badge"
6482
6452
  }
6483
6453
  }
6484
6454
  ]
6485
6455
  },
6486
6456
  {
6487
6457
  "kind": "javascript-module",
6488
- "path": "src/badge/badge.styles.ts",
6458
+ "path": "src/avatar/avatar.styles.ts",
6489
6459
  "declarations": [
6490
6460
  {
6491
6461
  "kind": "function",
6492
- "name": "foundationBadgeStyles",
6462
+ "name": "foundationAvatarStyles",
6493
6463
  "return": {
6494
6464
  "type": {
6495
6465
  "text": "ElementStyles"
@@ -6514,24 +6484,24 @@
6514
6484
  "exports": [
6515
6485
  {
6516
6486
  "kind": "js",
6517
- "name": "foundationBadgeStyles",
6487
+ "name": "foundationAvatarStyles",
6518
6488
  "declaration": {
6519
- "name": "foundationBadgeStyles",
6520
- "module": "src/badge/badge.styles.ts"
6489
+ "name": "foundationAvatarStyles",
6490
+ "module": "src/avatar/avatar.styles.ts"
6521
6491
  }
6522
6492
  }
6523
6493
  ]
6524
6494
  },
6525
6495
  {
6526
6496
  "kind": "javascript-module",
6527
- "path": "src/badge/badge.template.ts",
6497
+ "path": "src/avatar/avatar.template.ts",
6528
6498
  "declarations": [
6529
6499
  {
6530
6500
  "kind": "function",
6531
- "name": "foundationBadgeTemplate",
6501
+ "name": "foundationAvatarTemplate",
6532
6502
  "return": {
6533
6503
  "type": {
6534
- "text": "ViewTemplate<Badge>"
6504
+ "text": "ViewTemplate<Avatar>"
6535
6505
  }
6536
6506
  },
6537
6507
  "parameters": [
@@ -6548,32 +6518,45 @@
6548
6518
  }
6549
6519
  }
6550
6520
  ]
6521
+ },
6522
+ {
6523
+ "kind": "variable",
6524
+ "name": "media",
6525
+ "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`"
6551
6526
  }
6552
6527
  ],
6553
6528
  "exports": [
6554
6529
  {
6555
6530
  "kind": "js",
6556
- "name": "foundationBadgeTemplate",
6531
+ "name": "foundationAvatarTemplate",
6557
6532
  "declaration": {
6558
- "name": "foundationBadgeTemplate",
6559
- "module": "src/badge/badge.template.ts"
6533
+ "name": "foundationAvatarTemplate",
6534
+ "module": "src/avatar/avatar.template.ts"
6535
+ }
6536
+ },
6537
+ {
6538
+ "kind": "js",
6539
+ "name": "media",
6540
+ "declaration": {
6541
+ "name": "media",
6542
+ "module": "src/avatar/avatar.template.ts"
6560
6543
  }
6561
6544
  }
6562
6545
  ]
6563
6546
  },
6564
6547
  {
6565
6548
  "kind": "javascript-module",
6566
- "path": "src/badge/badge.ts",
6549
+ "path": "src/avatar/avatar.ts",
6567
6550
  "declarations": [
6568
6551
  {
6569
6552
  "kind": "class",
6570
6553
  "description": "",
6571
- "name": "Badge",
6554
+ "name": "Avatar",
6572
6555
  "superclass": {
6573
- "name": "FASTBadge",
6556
+ "name": "FASTAvatar",
6574
6557
  "package": "@microsoft/fast-components"
6575
6558
  },
6576
- "tagName": "%%prefix%%-badge",
6559
+ "tagName": "%%prefix%%-avatar",
6577
6560
  "customElement": true,
6578
6561
  "attributes": [
6579
6562
  {
@@ -6581,11 +6564,11 @@
6581
6564
  "type": {
6582
6565
  "text": "string"
6583
6566
  },
6584
- "description": "Indicates the badge should have a filled style.",
6567
+ "description": "Indicates the Avatar should have a color fill.",
6585
6568
  "fieldName": "fill",
6586
6569
  "inheritedFrom": {
6587
- "name": "Badge",
6588
- "module": "src/badge/badge.ts"
6570
+ "name": "Avatar",
6571
+ "module": "src/avatar/avatar.ts"
6589
6572
  }
6590
6573
  },
6591
6574
  {
@@ -6593,22 +6576,35 @@
6593
6576
  "type": {
6594
6577
  "text": "string"
6595
6578
  },
6596
- "description": "Indicates the badge should have a filled style.",
6579
+ "description": "Indicates the Avatar should have a text color.",
6597
6580
  "fieldName": "color",
6598
6581
  "inheritedFrom": {
6599
- "name": "Badge",
6600
- "module": "src/badge/badge.ts"
6582
+ "name": "Avatar",
6583
+ "module": "src/avatar/avatar.ts"
6601
6584
  }
6602
6585
  },
6603
6586
  {
6587
+ "name": "link",
6604
6588
  "type": {
6605
- "text": "boolean"
6589
+ "text": "string"
6606
6590
  },
6607
- "description": "Indicates the element should be circular",
6608
- "fieldName": "circular",
6591
+ "description": "Indicates the Avatar should have url link",
6592
+ "fieldName": "link",
6609
6593
  "inheritedFrom": {
6610
- "name": "Badge",
6611
- "module": "src/badge/badge.ts"
6594
+ "name": "Avatar",
6595
+ "module": "src/avatar/avatar.ts"
6596
+ }
6597
+ },
6598
+ {
6599
+ "name": "shape",
6600
+ "type": {
6601
+ "text": "AvatarShape"
6602
+ },
6603
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6604
+ "fieldName": "shape",
6605
+ "inheritedFrom": {
6606
+ "name": "Avatar",
6607
+ "module": "src/avatar/avatar.ts"
6612
6608
  }
6613
6609
  }
6614
6610
  ],
@@ -6620,10 +6616,10 @@
6620
6616
  "text": "string"
6621
6617
  },
6622
6618
  "privacy": "public",
6623
- "description": "Indicates the badge should have a filled style.",
6619
+ "description": "Indicates the Avatar should have a color fill.",
6624
6620
  "inheritedFrom": {
6625
- "name": "Badge",
6626
- "module": "src/badge/badge.ts"
6621
+ "name": "Avatar",
6622
+ "module": "src/avatar/avatar.ts"
6627
6623
  }
6628
6624
  },
6629
6625
  {
@@ -6633,32 +6629,36 @@
6633
6629
  "text": "string"
6634
6630
  },
6635
6631
  "privacy": "public",
6636
- "description": "Indicates the badge should have a filled style.",
6632
+ "description": "Indicates the Avatar should have a text color.",
6637
6633
  "inheritedFrom": {
6638
- "name": "Badge",
6639
- "module": "src/badge/badge.ts"
6634
+ "name": "Avatar",
6635
+ "module": "src/avatar/avatar.ts"
6640
6636
  }
6641
6637
  },
6642
6638
  {
6643
6639
  "kind": "field",
6644
- "name": "circular",
6640
+ "name": "link",
6645
6641
  "type": {
6646
- "text": "boolean"
6642
+ "text": "string"
6647
6643
  },
6648
6644
  "privacy": "public",
6649
- "description": "Indicates the element should be circular",
6645
+ "description": "Indicates the Avatar should have url link",
6650
6646
  "inheritedFrom": {
6651
- "name": "Badge",
6652
- "module": "src/badge/badge.ts"
6647
+ "name": "Avatar",
6648
+ "module": "src/avatar/avatar.ts"
6653
6649
  }
6654
6650
  },
6655
6651
  {
6656
6652
  "kind": "field",
6657
- "name": "generateBadgeStyle",
6653
+ "name": "shape",
6654
+ "type": {
6655
+ "text": "AvatarShape"
6656
+ },
6658
6657
  "privacy": "public",
6658
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6659
6659
  "inheritedFrom": {
6660
- "name": "Badge",
6661
- "module": "src/badge/badge.ts"
6660
+ "name": "Avatar",
6661
+ "module": "src/avatar/avatar.ts"
6662
6662
  }
6663
6663
  },
6664
6664
  {
@@ -6776,65 +6776,65 @@
6776
6776
  },
6777
6777
  {
6778
6778
  "kind": "variable",
6779
- "name": "foundationBadgeShadowOptions",
6779
+ "name": "foundationAvatarShadowOptions",
6780
6780
  "type": {
6781
6781
  "text": "ShadowRootInit"
6782
6782
  },
6783
- "default": "undefined"
6783
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
6784
6784
  },
6785
6785
  {
6786
6786
  "kind": "variable",
6787
- "name": "defaultBadgeConfig",
6787
+ "name": "defaultAvatarConfig",
6788
6788
  "type": {
6789
6789
  "text": "object"
6790
6790
  },
6791
- "default": "{}"
6791
+ "default": "{\n media: mediaTemplate,\n}"
6792
6792
  },
6793
6793
  {
6794
6794
  "kind": "variable",
6795
- "name": "foundationBadge",
6796
- "description": "The Foundation Badge",
6795
+ "name": "foundationAvatar",
6796
+ "description": "The Foundation Avatar",
6797
6797
  "privacy": "public"
6798
6798
  }
6799
6799
  ],
6800
6800
  "exports": [
6801
6801
  {
6802
6802
  "kind": "js",
6803
- "name": "Badge",
6803
+ "name": "Avatar",
6804
6804
  "declaration": {
6805
- "name": "Badge",
6806
- "module": "src/badge/badge.ts"
6805
+ "name": "Avatar",
6806
+ "module": "src/avatar/avatar.ts"
6807
6807
  }
6808
6808
  },
6809
6809
  {
6810
6810
  "kind": "js",
6811
- "name": "foundationBadgeShadowOptions",
6811
+ "name": "foundationAvatarShadowOptions",
6812
6812
  "declaration": {
6813
- "name": "foundationBadgeShadowOptions",
6814
- "module": "src/badge/badge.ts"
6813
+ "name": "foundationAvatarShadowOptions",
6814
+ "module": "src/avatar/avatar.ts"
6815
6815
  }
6816
6816
  },
6817
6817
  {
6818
6818
  "kind": "js",
6819
- "name": "defaultBadgeConfig",
6819
+ "name": "defaultAvatarConfig",
6820
6820
  "declaration": {
6821
- "name": "defaultBadgeConfig",
6822
- "module": "src/badge/badge.ts"
6821
+ "name": "defaultAvatarConfig",
6822
+ "module": "src/avatar/avatar.ts"
6823
6823
  }
6824
6824
  },
6825
6825
  {
6826
6826
  "kind": "js",
6827
- "name": "foundationBadge",
6827
+ "name": "foundationAvatar",
6828
6828
  "declaration": {
6829
- "name": "foundationBadge",
6830
- "module": "src/badge/badge.ts"
6829
+ "name": "foundationAvatar",
6830
+ "module": "src/avatar/avatar.ts"
6831
6831
  }
6832
6832
  }
6833
6833
  ]
6834
6834
  },
6835
6835
  {
6836
6836
  "kind": "javascript-module",
6837
- "path": "src/badge/index.ts",
6837
+ "path": "src/avatar/index.ts",
6838
6838
  "declarations": [],
6839
6839
  "exports": [
6840
6840
  {
@@ -6842,7 +6842,7 @@
6842
6842
  "name": "*",
6843
6843
  "declaration": {
6844
6844
  "name": "*",
6845
- "package": "./badge.template"
6845
+ "package": "./avatar.template"
6846
6846
  }
6847
6847
  },
6848
6848
  {
@@ -6850,7 +6850,7 @@
6850
6850
  "name": "*",
6851
6851
  "declaration": {
6852
6852
  "name": "*",
6853
- "package": "./badge.styles"
6853
+ "package": "./avatar.styles"
6854
6854
  }
6855
6855
  },
6856
6856
  {
@@ -6858,7 +6858,7 @@
6858
6858
  "name": "*",
6859
6859
  "declaration": {
6860
6860
  "name": "*",
6861
- "package": "./badge"
6861
+ "package": "./avatar"
6862
6862
  }
6863
6863
  }
6864
6864
  ]