@genesislcap/foundation-ui 14.426.0 → 14.426.1-alpha-be0ea39.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.
@@ -1392,42 +1392,11 @@
1392
1392
  },
1393
1393
  {
1394
1394
  "kind": "javascript-module",
1395
- "path": "src/_config/index.ts",
1396
- "declarations": [],
1397
- "exports": [
1398
- {
1399
- "kind": "js",
1400
- "name": "*",
1401
- "declaration": {
1402
- "name": "*",
1403
- "package": "./styles"
1404
- }
1405
- },
1406
- {
1407
- "kind": "js",
1408
- "name": "*",
1409
- "declaration": {
1410
- "name": "*",
1411
- "package": "./tokens"
1412
- }
1413
- },
1414
- {
1415
- "kind": "js",
1416
- "name": "*",
1417
- "declaration": {
1418
- "name": "*",
1419
- "package": "./values"
1420
- }
1421
- }
1422
- ]
1423
- },
1424
- {
1425
- "kind": "javascript-module",
1426
- "path": "src/accordion-item/accordion-item.styles.ts",
1395
+ "path": "src/accordion/accordion.styles.ts",
1427
1396
  "declarations": [
1428
1397
  {
1429
1398
  "kind": "function",
1430
- "name": "foundationAccordionItemStyles",
1399
+ "name": "foundationAccordionStyles",
1431
1400
  "return": {
1432
1401
  "type": {
1433
1402
  "text": "ElementStyles"
@@ -1452,24 +1421,24 @@
1452
1421
  "exports": [
1453
1422
  {
1454
1423
  "kind": "js",
1455
- "name": "foundationAccordionItemStyles",
1424
+ "name": "foundationAccordionStyles",
1456
1425
  "declaration": {
1457
- "name": "foundationAccordionItemStyles",
1458
- "module": "src/accordion-item/accordion-item.styles.ts"
1426
+ "name": "foundationAccordionStyles",
1427
+ "module": "src/accordion/accordion.styles.ts"
1459
1428
  }
1460
1429
  }
1461
1430
  ]
1462
1431
  },
1463
1432
  {
1464
1433
  "kind": "javascript-module",
1465
- "path": "src/accordion-item/accordion-item.template.ts",
1434
+ "path": "src/accordion/accordion.template.ts",
1466
1435
  "declarations": [
1467
1436
  {
1468
1437
  "kind": "function",
1469
- "name": "foundationAccordionItemTemplate",
1438
+ "name": "foundationAccordionTemplate",
1470
1439
  "return": {
1471
1440
  "type": {
1472
- "text": "ViewTemplate<AccordionItem>"
1441
+ "text": "ViewTemplate<Accordion>"
1473
1442
  }
1474
1443
  },
1475
1444
  "parameters": [
@@ -1491,116 +1460,237 @@
1491
1460
  "exports": [
1492
1461
  {
1493
1462
  "kind": "js",
1494
- "name": "foundationAccordionItemTemplate",
1463
+ "name": "foundationAccordionTemplate",
1495
1464
  "declaration": {
1496
- "name": "foundationAccordionItemTemplate",
1497
- "module": "src/accordion-item/accordion-item.template.ts"
1465
+ "name": "foundationAccordionTemplate",
1466
+ "module": "src/accordion/accordion.template.ts"
1498
1467
  }
1499
1468
  }
1500
1469
  ]
1501
1470
  },
1502
1471
  {
1503
1472
  "kind": "javascript-module",
1504
- "path": "src/accordion-item/accordion-item.ts",
1473
+ "path": "src/accordion/accordion.ts",
1505
1474
  "declarations": [
1506
1475
  {
1507
1476
  "kind": "class",
1508
1477
  "description": "",
1509
- "name": "AccordionItem",
1478
+ "name": "Accordion",
1510
1479
  "superclass": {
1511
- "name": "FASTAccordionItem",
1512
- "package": "@microsoft/fast-components"
1480
+ "name": "FASTAccordion",
1481
+ "package": "@microsoft/fast-foundation"
1513
1482
  },
1514
- "tagName": "%%prefix%%-accordion-item",
1483
+ "tagName": "%%prefix%%-accordion",
1515
1484
  "customElement": true,
1516
1485
  "attributes": [
1517
1486
  {
1518
- "name": "heading-level",
1487
+ "name": "expand-mode",
1519
1488
  "type": {
1520
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1489
+ "text": "AccordionExpandMode"
1521
1490
  },
1522
- "default": "2",
1523
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1524
- "fieldName": "headinglevel",
1491
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1492
+ "fieldName": "expandmode",
1525
1493
  "inheritedFrom": {
1526
- "name": "AccordionItem",
1527
- "module": "src/accordion-item/accordion-item.ts"
1494
+ "name": "Accordion",
1495
+ "module": "src/accordion/accordion.ts"
1528
1496
  }
1529
- },
1497
+ }
1498
+ ],
1499
+ "members": [
1530
1500
  {
1501
+ "kind": "field",
1502
+ "name": "expandmode",
1531
1503
  "type": {
1532
- "text": "boolean"
1504
+ "text": "AccordionExpandMode"
1533
1505
  },
1534
- "default": "false",
1535
- "description": "Expands or collapses the item.",
1536
- "fieldName": "expanded",
1506
+ "privacy": "public",
1507
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1537
1508
  "inheritedFrom": {
1538
- "name": "AccordionItem",
1539
- "module": "src/accordion-item/accordion-item.ts"
1509
+ "name": "Accordion",
1510
+ "module": "src/accordion/accordion.ts"
1540
1511
  }
1541
1512
  },
1542
1513
  {
1543
- "name": "id",
1514
+ "kind": "field",
1515
+ "name": "activeid",
1544
1516
  "type": {
1545
- "text": "string"
1517
+ "text": "string | null"
1546
1518
  },
1547
- "description": "The item ID",
1548
- "fieldName": "id",
1519
+ "privacy": "private",
1549
1520
  "inheritedFrom": {
1550
- "name": "AccordionItem",
1551
- "module": "src/accordion-item/accordion-item.ts"
1521
+ "name": "Accordion",
1522
+ "module": "src/accordion/accordion.ts"
1552
1523
  }
1553
- }
1554
- ],
1555
- "members": [
1524
+ },
1556
1525
  {
1557
1526
  "kind": "field",
1558
- "name": "headinglevel",
1527
+ "name": "activeItemIndex",
1559
1528
  "type": {
1560
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1529
+ "text": "number"
1561
1530
  },
1562
- "privacy": "public",
1563
- "default": "2",
1564
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1531
+ "privacy": "private",
1532
+ "default": "0",
1565
1533
  "inheritedFrom": {
1566
- "name": "AccordionItem",
1567
- "module": "src/accordion-item/accordion-item.ts"
1534
+ "name": "Accordion",
1535
+ "module": "src/accordion/accordion.ts"
1568
1536
  }
1569
1537
  },
1570
1538
  {
1571
1539
  "kind": "field",
1572
- "name": "expanded",
1540
+ "name": "accordionIds",
1573
1541
  "type": {
1574
- "text": "boolean"
1542
+ "text": "Array<string | null>"
1575
1543
  },
1576
- "privacy": "public",
1577
- "default": "false",
1578
- "description": "Expands or collapses the item.",
1544
+ "privacy": "private",
1579
1545
  "inheritedFrom": {
1580
- "name": "AccordionItem",
1581
- "module": "src/accordion-item/accordion-item.ts"
1546
+ "name": "Accordion",
1547
+ "module": "src/accordion/accordion.ts"
1582
1548
  }
1583
1549
  },
1584
1550
  {
1585
1551
  "kind": "field",
1586
- "name": "id",
1587
- "type": {
1588
- "text": "string"
1552
+ "name": "change",
1553
+ "privacy": "private",
1554
+ "inheritedFrom": {
1555
+ "name": "Accordion",
1556
+ "module": "src/accordion/accordion.ts"
1557
+ }
1558
+ },
1559
+ {
1560
+ "kind": "method",
1561
+ "name": "findExpandedItem",
1562
+ "privacy": "private",
1563
+ "return": {
1564
+ "type": {
1565
+ "text": "AccordionItem | null"
1566
+ }
1589
1567
  },
1590
- "privacy": "public",
1591
- "description": "The item ID",
1592
1568
  "inheritedFrom": {
1593
- "name": "AccordionItem",
1594
- "module": "src/accordion-item/accordion-item.ts"
1569
+ "name": "Accordion",
1570
+ "module": "src/accordion/accordion.ts"
1595
1571
  }
1596
1572
  },
1597
1573
  {
1598
1574
  "kind": "field",
1599
- "name": "change",
1575
+ "name": "setItems",
1600
1576
  "privacy": "private",
1601
1577
  "inheritedFrom": {
1602
- "name": "AccordionItem",
1603
- "module": "src/accordion-item/accordion-item.ts"
1578
+ "name": "Accordion",
1579
+ "module": "src/accordion/accordion.ts"
1580
+ }
1581
+ },
1582
+ {
1583
+ "kind": "method",
1584
+ "name": "resetItems",
1585
+ "privacy": "private",
1586
+ "return": {
1587
+ "type": {
1588
+ "text": "void"
1589
+ }
1590
+ },
1591
+ "inheritedFrom": {
1592
+ "name": "Accordion",
1593
+ "module": "src/accordion/accordion.ts"
1594
+ }
1595
+ },
1596
+ {
1597
+ "kind": "field",
1598
+ "name": "removeItemListeners",
1599
+ "privacy": "private",
1600
+ "inheritedFrom": {
1601
+ "name": "Accordion",
1602
+ "module": "src/accordion/accordion.ts"
1603
+ }
1604
+ },
1605
+ {
1606
+ "kind": "field",
1607
+ "name": "activeItemChange",
1608
+ "privacy": "private",
1609
+ "inheritedFrom": {
1610
+ "name": "Accordion",
1611
+ "module": "src/accordion/accordion.ts"
1612
+ }
1613
+ },
1614
+ {
1615
+ "kind": "method",
1616
+ "name": "getItemIds",
1617
+ "privacy": "private",
1618
+ "return": {
1619
+ "type": {
1620
+ "text": "Array<string | null>"
1621
+ }
1622
+ },
1623
+ "inheritedFrom": {
1624
+ "name": "Accordion",
1625
+ "module": "src/accordion/accordion.ts"
1626
+ }
1627
+ },
1628
+ {
1629
+ "kind": "method",
1630
+ "name": "isSingleExpandMode",
1631
+ "privacy": "private",
1632
+ "return": {
1633
+ "type": {
1634
+ "text": "boolean"
1635
+ }
1636
+ },
1637
+ "inheritedFrom": {
1638
+ "name": "Accordion",
1639
+ "module": "src/accordion/accordion.ts"
1640
+ }
1641
+ },
1642
+ {
1643
+ "kind": "field",
1644
+ "name": "handleItemKeyDown",
1645
+ "privacy": "private",
1646
+ "inheritedFrom": {
1647
+ "name": "Accordion",
1648
+ "module": "src/accordion/accordion.ts"
1649
+ }
1650
+ },
1651
+ {
1652
+ "kind": "field",
1653
+ "name": "handleItemFocus",
1654
+ "privacy": "private",
1655
+ "inheritedFrom": {
1656
+ "name": "Accordion",
1657
+ "module": "src/accordion/accordion.ts"
1658
+ }
1659
+ },
1660
+ {
1661
+ "kind": "method",
1662
+ "name": "adjust",
1663
+ "privacy": "private",
1664
+ "return": {
1665
+ "type": {
1666
+ "text": "void"
1667
+ }
1668
+ },
1669
+ "parameters": [
1670
+ {
1671
+ "name": "adjustment",
1672
+ "type": {
1673
+ "text": "number"
1674
+ }
1675
+ }
1676
+ ],
1677
+ "inheritedFrom": {
1678
+ "name": "Accordion",
1679
+ "module": "src/accordion/accordion.ts"
1680
+ }
1681
+ },
1682
+ {
1683
+ "kind": "method",
1684
+ "name": "focusItem",
1685
+ "privacy": "private",
1686
+ "return": {
1687
+ "type": {
1688
+ "text": "void"
1689
+ }
1690
+ },
1691
+ "inheritedFrom": {
1692
+ "name": "Accordion",
1693
+ "module": "src/accordion/accordion.ts"
1604
1694
  }
1605
1695
  },
1606
1696
  {
@@ -1717,18 +1807,18 @@
1717
1807
  ],
1718
1808
  "events": [
1719
1809
  {
1720
- "description": "Fires a custom 'change' event when the button is invoked",
1810
+ "description": "Fires a custom 'change' event when the active item changes",
1721
1811
  "name": "change",
1722
1812
  "inheritedFrom": {
1723
- "name": "AccordionItem",
1724
- "module": "src/accordion-item/accordion-item.ts"
1813
+ "name": "Accordion",
1814
+ "module": "src/accordion/accordion.ts"
1725
1815
  }
1726
1816
  }
1727
1817
  ]
1728
1818
  },
1729
1819
  {
1730
1820
  "kind": "variable",
1731
- "name": "foundationAccordionItemShadowOptions",
1821
+ "name": "foundationAccordionShadowOptions",
1732
1822
  "type": {
1733
1823
  "text": "ShadowRootInit"
1734
1824
  },
@@ -1736,57 +1826,57 @@
1736
1826
  },
1737
1827
  {
1738
1828
  "kind": "variable",
1739
- "name": "defaultAccordionItemConfig",
1829
+ "name": "defaultAccordionConfig",
1740
1830
  "type": {
1741
1831
  "text": "object"
1742
1832
  },
1743
- "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}"
1833
+ "default": "{}"
1744
1834
  },
1745
1835
  {
1746
1836
  "kind": "variable",
1747
- "name": "foundationAccordionItem",
1748
- "description": "The Foundation Accordion Item",
1837
+ "name": "foundationAccordion",
1838
+ "description": "The Foundation Accordion",
1749
1839
  "privacy": "public"
1750
1840
  }
1751
1841
  ],
1752
1842
  "exports": [
1753
1843
  {
1754
1844
  "kind": "js",
1755
- "name": "AccordionItem",
1845
+ "name": "Accordion",
1756
1846
  "declaration": {
1757
- "name": "AccordionItem",
1758
- "module": "src/accordion-item/accordion-item.ts"
1847
+ "name": "Accordion",
1848
+ "module": "src/accordion/accordion.ts"
1759
1849
  }
1760
1850
  },
1761
1851
  {
1762
1852
  "kind": "js",
1763
- "name": "foundationAccordionItemShadowOptions",
1853
+ "name": "foundationAccordionShadowOptions",
1764
1854
  "declaration": {
1765
- "name": "foundationAccordionItemShadowOptions",
1766
- "module": "src/accordion-item/accordion-item.ts"
1855
+ "name": "foundationAccordionShadowOptions",
1856
+ "module": "src/accordion/accordion.ts"
1767
1857
  }
1768
1858
  },
1769
1859
  {
1770
1860
  "kind": "js",
1771
- "name": "defaultAccordionItemConfig",
1861
+ "name": "defaultAccordionConfig",
1772
1862
  "declaration": {
1773
- "name": "defaultAccordionItemConfig",
1774
- "module": "src/accordion-item/accordion-item.ts"
1863
+ "name": "defaultAccordionConfig",
1864
+ "module": "src/accordion/accordion.ts"
1775
1865
  }
1776
1866
  },
1777
1867
  {
1778
1868
  "kind": "js",
1779
- "name": "foundationAccordionItem",
1869
+ "name": "foundationAccordion",
1780
1870
  "declaration": {
1781
- "name": "foundationAccordionItem",
1782
- "module": "src/accordion-item/accordion-item.ts"
1871
+ "name": "foundationAccordion",
1872
+ "module": "src/accordion/accordion.ts"
1783
1873
  }
1784
1874
  }
1785
1875
  ]
1786
1876
  },
1787
1877
  {
1788
1878
  "kind": "javascript-module",
1789
- "path": "src/accordion-item/index.ts",
1879
+ "path": "src/accordion/index.ts",
1790
1880
  "declarations": [],
1791
1881
  "exports": [
1792
1882
  {
@@ -1794,7 +1884,7 @@
1794
1884
  "name": "*",
1795
1885
  "declaration": {
1796
1886
  "name": "*",
1797
- "package": "./accordion-item.template"
1887
+ "package": "./accordion.template"
1798
1888
  }
1799
1889
  },
1800
1890
  {
@@ -1802,7 +1892,7 @@
1802
1892
  "name": "*",
1803
1893
  "declaration": {
1804
1894
  "name": "*",
1805
- "package": "./accordion-item.styles"
1895
+ "package": "./accordion.styles"
1806
1896
  }
1807
1897
  },
1808
1898
  {
@@ -1810,18 +1900,18 @@
1810
1900
  "name": "*",
1811
1901
  "declaration": {
1812
1902
  "name": "*",
1813
- "package": "./accordion-item"
1903
+ "package": "./accordion"
1814
1904
  }
1815
1905
  }
1816
1906
  ]
1817
1907
  },
1818
1908
  {
1819
1909
  "kind": "javascript-module",
1820
- "path": "src/accordion/accordion.styles.ts",
1910
+ "path": "src/accordion-item/accordion-item.styles.ts",
1821
1911
  "declarations": [
1822
1912
  {
1823
1913
  "kind": "function",
1824
- "name": "foundationAccordionStyles",
1914
+ "name": "foundationAccordionItemStyles",
1825
1915
  "return": {
1826
1916
  "type": {
1827
1917
  "text": "ElementStyles"
@@ -1846,24 +1936,24 @@
1846
1936
  "exports": [
1847
1937
  {
1848
1938
  "kind": "js",
1849
- "name": "foundationAccordionStyles",
1939
+ "name": "foundationAccordionItemStyles",
1850
1940
  "declaration": {
1851
- "name": "foundationAccordionStyles",
1852
- "module": "src/accordion/accordion.styles.ts"
1941
+ "name": "foundationAccordionItemStyles",
1942
+ "module": "src/accordion-item/accordion-item.styles.ts"
1853
1943
  }
1854
1944
  }
1855
1945
  ]
1856
1946
  },
1857
1947
  {
1858
1948
  "kind": "javascript-module",
1859
- "path": "src/accordion/accordion.template.ts",
1949
+ "path": "src/accordion-item/accordion-item.template.ts",
1860
1950
  "declarations": [
1861
1951
  {
1862
1952
  "kind": "function",
1863
- "name": "foundationAccordionTemplate",
1953
+ "name": "foundationAccordionItemTemplate",
1864
1954
  "return": {
1865
1955
  "type": {
1866
- "text": "ViewTemplate<Accordion>"
1956
+ "text": "ViewTemplate<AccordionItem>"
1867
1957
  }
1868
1958
  },
1869
1959
  "parameters": [
@@ -1885,237 +1975,116 @@
1885
1975
  "exports": [
1886
1976
  {
1887
1977
  "kind": "js",
1888
- "name": "foundationAccordionTemplate",
1978
+ "name": "foundationAccordionItemTemplate",
1889
1979
  "declaration": {
1890
- "name": "foundationAccordionTemplate",
1891
- "module": "src/accordion/accordion.template.ts"
1980
+ "name": "foundationAccordionItemTemplate",
1981
+ "module": "src/accordion-item/accordion-item.template.ts"
1892
1982
  }
1893
1983
  }
1894
1984
  ]
1895
1985
  },
1896
1986
  {
1897
1987
  "kind": "javascript-module",
1898
- "path": "src/accordion/accordion.ts",
1988
+ "path": "src/accordion-item/accordion-item.ts",
1899
1989
  "declarations": [
1900
1990
  {
1901
1991
  "kind": "class",
1902
1992
  "description": "",
1903
- "name": "Accordion",
1993
+ "name": "AccordionItem",
1904
1994
  "superclass": {
1905
- "name": "FASTAccordion",
1906
- "package": "@microsoft/fast-foundation"
1907
- },
1908
- "tagName": "%%prefix%%-accordion",
1909
- "customElement": true,
1910
- "attributes": [
1911
- {
1912
- "name": "expand-mode",
1913
- "type": {
1914
- "text": "AccordionExpandMode"
1915
- },
1916
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1917
- "fieldName": "expandmode",
1918
- "inheritedFrom": {
1919
- "name": "Accordion",
1920
- "module": "src/accordion/accordion.ts"
1921
- }
1922
- }
1923
- ],
1924
- "members": [
1925
- {
1926
- "kind": "field",
1927
- "name": "expandmode",
1928
- "type": {
1929
- "text": "AccordionExpandMode"
1930
- },
1931
- "privacy": "public",
1932
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1933
- "inheritedFrom": {
1934
- "name": "Accordion",
1935
- "module": "src/accordion/accordion.ts"
1936
- }
1937
- },
1938
- {
1939
- "kind": "field",
1940
- "name": "activeid",
1941
- "type": {
1942
- "text": "string | null"
1943
- },
1944
- "privacy": "private",
1945
- "inheritedFrom": {
1946
- "name": "Accordion",
1947
- "module": "src/accordion/accordion.ts"
1948
- }
1949
- },
1950
- {
1951
- "kind": "field",
1952
- "name": "activeItemIndex",
1953
- "type": {
1954
- "text": "number"
1955
- },
1956
- "privacy": "private",
1957
- "default": "0",
1958
- "inheritedFrom": {
1959
- "name": "Accordion",
1960
- "module": "src/accordion/accordion.ts"
1961
- }
1962
- },
1963
- {
1964
- "kind": "field",
1965
- "name": "accordionIds",
1966
- "type": {
1967
- "text": "Array<string | null>"
1968
- },
1969
- "privacy": "private",
1970
- "inheritedFrom": {
1971
- "name": "Accordion",
1972
- "module": "src/accordion/accordion.ts"
1973
- }
1974
- },
1975
- {
1976
- "kind": "field",
1977
- "name": "change",
1978
- "privacy": "private",
1979
- "inheritedFrom": {
1980
- "name": "Accordion",
1981
- "module": "src/accordion/accordion.ts"
1982
- }
1983
- },
1984
- {
1985
- "kind": "method",
1986
- "name": "findExpandedItem",
1987
- "privacy": "private",
1988
- "return": {
1989
- "type": {
1990
- "text": "AccordionItem | null"
1991
- }
1992
- },
1993
- "inheritedFrom": {
1994
- "name": "Accordion",
1995
- "module": "src/accordion/accordion.ts"
1996
- }
1997
- },
1998
- {
1999
- "kind": "field",
2000
- "name": "setItems",
2001
- "privacy": "private",
2002
- "inheritedFrom": {
2003
- "name": "Accordion",
2004
- "module": "src/accordion/accordion.ts"
2005
- }
2006
- },
2007
- {
2008
- "kind": "method",
2009
- "name": "resetItems",
2010
- "privacy": "private",
2011
- "return": {
2012
- "type": {
2013
- "text": "void"
2014
- }
2015
- },
2016
- "inheritedFrom": {
2017
- "name": "Accordion",
2018
- "module": "src/accordion/accordion.ts"
2019
- }
2020
- },
2021
- {
2022
- "kind": "field",
2023
- "name": "removeItemListeners",
2024
- "privacy": "private",
2025
- "inheritedFrom": {
2026
- "name": "Accordion",
2027
- "module": "src/accordion/accordion.ts"
2028
- }
2029
- },
1995
+ "name": "FASTAccordionItem",
1996
+ "package": "@microsoft/fast-components"
1997
+ },
1998
+ "tagName": "%%prefix%%-accordion-item",
1999
+ "customElement": true,
2000
+ "attributes": [
2030
2001
  {
2031
- "kind": "field",
2032
- "name": "activeItemChange",
2033
- "privacy": "private",
2002
+ "name": "heading-level",
2003
+ "type": {
2004
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2005
+ },
2006
+ "default": "2",
2007
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2008
+ "fieldName": "headinglevel",
2034
2009
  "inheritedFrom": {
2035
- "name": "Accordion",
2036
- "module": "src/accordion/accordion.ts"
2010
+ "name": "AccordionItem",
2011
+ "module": "src/accordion-item/accordion-item.ts"
2037
2012
  }
2038
2013
  },
2039
2014
  {
2040
- "kind": "method",
2041
- "name": "getItemIds",
2042
- "privacy": "private",
2043
- "return": {
2044
- "type": {
2045
- "text": "Array<string | null>"
2046
- }
2015
+ "type": {
2016
+ "text": "boolean"
2047
2017
  },
2018
+ "default": "false",
2019
+ "description": "Expands or collapses the item.",
2020
+ "fieldName": "expanded",
2048
2021
  "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2022
+ "name": "AccordionItem",
2023
+ "module": "src/accordion-item/accordion-item.ts"
2051
2024
  }
2052
2025
  },
2053
2026
  {
2054
- "kind": "method",
2055
- "name": "isSingleExpandMode",
2056
- "privacy": "private",
2057
- "return": {
2058
- "type": {
2059
- "text": "boolean"
2060
- }
2027
+ "name": "id",
2028
+ "type": {
2029
+ "text": "string"
2061
2030
  },
2031
+ "description": "The item ID",
2032
+ "fieldName": "id",
2062
2033
  "inheritedFrom": {
2063
- "name": "Accordion",
2064
- "module": "src/accordion/accordion.ts"
2034
+ "name": "AccordionItem",
2035
+ "module": "src/accordion-item/accordion-item.ts"
2065
2036
  }
2066
- },
2037
+ }
2038
+ ],
2039
+ "members": [
2067
2040
  {
2068
2041
  "kind": "field",
2069
- "name": "handleItemKeyDown",
2070
- "privacy": "private",
2042
+ "name": "headinglevel",
2043
+ "type": {
2044
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2045
+ },
2046
+ "privacy": "public",
2047
+ "default": "2",
2048
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2071
2049
  "inheritedFrom": {
2072
- "name": "Accordion",
2073
- "module": "src/accordion/accordion.ts"
2050
+ "name": "AccordionItem",
2051
+ "module": "src/accordion-item/accordion-item.ts"
2074
2052
  }
2075
2053
  },
2076
2054
  {
2077
2055
  "kind": "field",
2078
- "name": "handleItemFocus",
2079
- "privacy": "private",
2056
+ "name": "expanded",
2057
+ "type": {
2058
+ "text": "boolean"
2059
+ },
2060
+ "privacy": "public",
2061
+ "default": "false",
2062
+ "description": "Expands or collapses the item.",
2080
2063
  "inheritedFrom": {
2081
- "name": "Accordion",
2082
- "module": "src/accordion/accordion.ts"
2064
+ "name": "AccordionItem",
2065
+ "module": "src/accordion-item/accordion-item.ts"
2083
2066
  }
2084
2067
  },
2085
2068
  {
2086
- "kind": "method",
2087
- "name": "adjust",
2088
- "privacy": "private",
2089
- "return": {
2090
- "type": {
2091
- "text": "void"
2092
- }
2069
+ "kind": "field",
2070
+ "name": "id",
2071
+ "type": {
2072
+ "text": "string"
2093
2073
  },
2094
- "parameters": [
2095
- {
2096
- "name": "adjustment",
2097
- "type": {
2098
- "text": "number"
2099
- }
2100
- }
2101
- ],
2074
+ "privacy": "public",
2075
+ "description": "The item ID",
2102
2076
  "inheritedFrom": {
2103
- "name": "Accordion",
2104
- "module": "src/accordion/accordion.ts"
2077
+ "name": "AccordionItem",
2078
+ "module": "src/accordion-item/accordion-item.ts"
2105
2079
  }
2106
2080
  },
2107
2081
  {
2108
- "kind": "method",
2109
- "name": "focusItem",
2082
+ "kind": "field",
2083
+ "name": "change",
2110
2084
  "privacy": "private",
2111
- "return": {
2112
- "type": {
2113
- "text": "void"
2114
- }
2115
- },
2116
2085
  "inheritedFrom": {
2117
- "name": "Accordion",
2118
- "module": "src/accordion/accordion.ts"
2086
+ "name": "AccordionItem",
2087
+ "module": "src/accordion-item/accordion-item.ts"
2119
2088
  }
2120
2089
  },
2121
2090
  {
@@ -2232,18 +2201,18 @@
2232
2201
  ],
2233
2202
  "events": [
2234
2203
  {
2235
- "description": "Fires a custom 'change' event when the active item changes",
2204
+ "description": "Fires a custom 'change' event when the button is invoked",
2236
2205
  "name": "change",
2237
2206
  "inheritedFrom": {
2238
- "name": "Accordion",
2239
- "module": "src/accordion/accordion.ts"
2207
+ "name": "AccordionItem",
2208
+ "module": "src/accordion-item/accordion-item.ts"
2240
2209
  }
2241
2210
  }
2242
2211
  ]
2243
2212
  },
2244
2213
  {
2245
2214
  "kind": "variable",
2246
- "name": "foundationAccordionShadowOptions",
2215
+ "name": "foundationAccordionItemShadowOptions",
2247
2216
  "type": {
2248
2217
  "text": "ShadowRootInit"
2249
2218
  },
@@ -2251,57 +2220,57 @@
2251
2220
  },
2252
2221
  {
2253
2222
  "kind": "variable",
2254
- "name": "defaultAccordionConfig",
2223
+ "name": "defaultAccordionItemConfig",
2255
2224
  "type": {
2256
2225
  "text": "object"
2257
2226
  },
2258
- "default": "{}"
2227
+ "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}"
2259
2228
  },
2260
2229
  {
2261
2230
  "kind": "variable",
2262
- "name": "foundationAccordion",
2263
- "description": "The Foundation Accordion",
2231
+ "name": "foundationAccordionItem",
2232
+ "description": "The Foundation Accordion Item",
2264
2233
  "privacy": "public"
2265
2234
  }
2266
2235
  ],
2267
2236
  "exports": [
2268
2237
  {
2269
2238
  "kind": "js",
2270
- "name": "Accordion",
2239
+ "name": "AccordionItem",
2271
2240
  "declaration": {
2272
- "name": "Accordion",
2273
- "module": "src/accordion/accordion.ts"
2241
+ "name": "AccordionItem",
2242
+ "module": "src/accordion-item/accordion-item.ts"
2274
2243
  }
2275
2244
  },
2276
2245
  {
2277
2246
  "kind": "js",
2278
- "name": "foundationAccordionShadowOptions",
2247
+ "name": "foundationAccordionItemShadowOptions",
2279
2248
  "declaration": {
2280
- "name": "foundationAccordionShadowOptions",
2281
- "module": "src/accordion/accordion.ts"
2249
+ "name": "foundationAccordionItemShadowOptions",
2250
+ "module": "src/accordion-item/accordion-item.ts"
2282
2251
  }
2283
2252
  },
2284
2253
  {
2285
2254
  "kind": "js",
2286
- "name": "defaultAccordionConfig",
2255
+ "name": "defaultAccordionItemConfig",
2287
2256
  "declaration": {
2288
- "name": "defaultAccordionConfig",
2289
- "module": "src/accordion/accordion.ts"
2257
+ "name": "defaultAccordionItemConfig",
2258
+ "module": "src/accordion-item/accordion-item.ts"
2290
2259
  }
2291
2260
  },
2292
2261
  {
2293
2262
  "kind": "js",
2294
- "name": "foundationAccordion",
2263
+ "name": "foundationAccordionItem",
2295
2264
  "declaration": {
2296
- "name": "foundationAccordion",
2297
- "module": "src/accordion/accordion.ts"
2265
+ "name": "foundationAccordionItem",
2266
+ "module": "src/accordion-item/accordion-item.ts"
2298
2267
  }
2299
2268
  }
2300
2269
  ]
2301
2270
  },
2302
2271
  {
2303
2272
  "kind": "javascript-module",
2304
- "path": "src/accordion/index.ts",
2273
+ "path": "src/accordion-item/index.ts",
2305
2274
  "declarations": [],
2306
2275
  "exports": [
2307
2276
  {
@@ -2309,7 +2278,7 @@
2309
2278
  "name": "*",
2310
2279
  "declaration": {
2311
2280
  "name": "*",
2312
- "package": "./accordion.template"
2281
+ "package": "./accordion-item.template"
2313
2282
  }
2314
2283
  },
2315
2284
  {
@@ -2317,7 +2286,7 @@
2317
2286
  "name": "*",
2318
2287
  "declaration": {
2319
2288
  "name": "*",
2320
- "package": "./accordion.styles"
2289
+ "package": "./accordion-item.styles"
2321
2290
  }
2322
2291
  },
2323
2292
  {
@@ -2325,7 +2294,38 @@
2325
2294
  "name": "*",
2326
2295
  "declaration": {
2327
2296
  "name": "*",
2328
- "package": "./accordion"
2297
+ "package": "./accordion-item"
2298
+ }
2299
+ }
2300
+ ]
2301
+ },
2302
+ {
2303
+ "kind": "javascript-module",
2304
+ "path": "src/_config/index.ts",
2305
+ "declarations": [],
2306
+ "exports": [
2307
+ {
2308
+ "kind": "js",
2309
+ "name": "*",
2310
+ "declaration": {
2311
+ "name": "*",
2312
+ "package": "./styles"
2313
+ }
2314
+ },
2315
+ {
2316
+ "kind": "js",
2317
+ "name": "*",
2318
+ "declaration": {
2319
+ "name": "*",
2320
+ "package": "./tokens"
2321
+ }
2322
+ },
2323
+ {
2324
+ "kind": "js",
2325
+ "name": "*",
2326
+ "declaration": {
2327
+ "name": "*",
2328
+ "package": "./values"
2329
2329
  }
2330
2330
  }
2331
2331
  ]
@@ -5991,11 +5991,11 @@
5991
5991
  },
5992
5992
  {
5993
5993
  "kind": "javascript-module",
5994
- "path": "src/avatar/avatar.styles.ts",
5994
+ "path": "src/badge/badge.styles.ts",
5995
5995
  "declarations": [
5996
5996
  {
5997
5997
  "kind": "function",
5998
- "name": "foundationAvatarStyles",
5998
+ "name": "foundationBadgeStyles",
5999
5999
  "return": {
6000
6000
  "type": {
6001
6001
  "text": "ElementStyles"
@@ -6020,24 +6020,24 @@
6020
6020
  "exports": [
6021
6021
  {
6022
6022
  "kind": "js",
6023
- "name": "foundationAvatarStyles",
6023
+ "name": "foundationBadgeStyles",
6024
6024
  "declaration": {
6025
- "name": "foundationAvatarStyles",
6026
- "module": "src/avatar/avatar.styles.ts"
6025
+ "name": "foundationBadgeStyles",
6026
+ "module": "src/badge/badge.styles.ts"
6027
6027
  }
6028
6028
  }
6029
6029
  ]
6030
6030
  },
6031
6031
  {
6032
6032
  "kind": "javascript-module",
6033
- "path": "src/avatar/avatar.template.ts",
6033
+ "path": "src/badge/badge.template.ts",
6034
6034
  "declarations": [
6035
6035
  {
6036
6036
  "kind": "function",
6037
- "name": "foundationAvatarTemplate",
6037
+ "name": "foundationBadgeTemplate",
6038
6038
  "return": {
6039
6039
  "type": {
6040
- "text": "ViewTemplate<Avatar>"
6040
+ "text": "ViewTemplate<Badge>"
6041
6041
  }
6042
6042
  },
6043
6043
  "parameters": [
@@ -6054,45 +6054,32 @@
6054
6054
  }
6055
6055
  }
6056
6056
  ]
6057
- },
6058
- {
6059
- "kind": "variable",
6060
- "name": "media",
6061
- "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`"
6062
6057
  }
6063
6058
  ],
6064
6059
  "exports": [
6065
6060
  {
6066
6061
  "kind": "js",
6067
- "name": "foundationAvatarTemplate",
6068
- "declaration": {
6069
- "name": "foundationAvatarTemplate",
6070
- "module": "src/avatar/avatar.template.ts"
6071
- }
6072
- },
6073
- {
6074
- "kind": "js",
6075
- "name": "media",
6062
+ "name": "foundationBadgeTemplate",
6076
6063
  "declaration": {
6077
- "name": "media",
6078
- "module": "src/avatar/avatar.template.ts"
6064
+ "name": "foundationBadgeTemplate",
6065
+ "module": "src/badge/badge.template.ts"
6079
6066
  }
6080
6067
  }
6081
6068
  ]
6082
6069
  },
6083
6070
  {
6084
6071
  "kind": "javascript-module",
6085
- "path": "src/avatar/avatar.ts",
6072
+ "path": "src/badge/badge.ts",
6086
6073
  "declarations": [
6087
6074
  {
6088
6075
  "kind": "class",
6089
6076
  "description": "",
6090
- "name": "Avatar",
6077
+ "name": "Badge",
6091
6078
  "superclass": {
6092
- "name": "FASTAvatar",
6079
+ "name": "FASTBadge",
6093
6080
  "package": "@microsoft/fast-components"
6094
6081
  },
6095
- "tagName": "%%prefix%%-avatar",
6082
+ "tagName": "%%prefix%%-badge",
6096
6083
  "customElement": true,
6097
6084
  "attributes": [
6098
6085
  {
@@ -6100,47 +6087,34 @@
6100
6087
  "type": {
6101
6088
  "text": "string"
6102
6089
  },
6103
- "description": "Indicates the Avatar should have a color fill.",
6104
- "fieldName": "fill",
6105
- "inheritedFrom": {
6106
- "name": "Avatar",
6107
- "module": "src/avatar/avatar.ts"
6108
- }
6109
- },
6110
- {
6111
- "name": "color",
6112
- "type": {
6113
- "text": "string"
6114
- },
6115
- "description": "Indicates the Avatar should have a text color.",
6116
- "fieldName": "color",
6090
+ "description": "Indicates the badge should have a filled style.",
6091
+ "fieldName": "fill",
6117
6092
  "inheritedFrom": {
6118
- "name": "Avatar",
6119
- "module": "src/avatar/avatar.ts"
6093
+ "name": "Badge",
6094
+ "module": "src/badge/badge.ts"
6120
6095
  }
6121
6096
  },
6122
6097
  {
6123
- "name": "link",
6098
+ "name": "color",
6124
6099
  "type": {
6125
6100
  "text": "string"
6126
6101
  },
6127
- "description": "Indicates the Avatar should have url link",
6128
- "fieldName": "link",
6102
+ "description": "Indicates the badge should have a filled style.",
6103
+ "fieldName": "color",
6129
6104
  "inheritedFrom": {
6130
- "name": "Avatar",
6131
- "module": "src/avatar/avatar.ts"
6105
+ "name": "Badge",
6106
+ "module": "src/badge/badge.ts"
6132
6107
  }
6133
6108
  },
6134
6109
  {
6135
- "name": "shape",
6136
6110
  "type": {
6137
- "text": "AvatarShape"
6111
+ "text": "boolean"
6138
6112
  },
6139
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6140
- "fieldName": "shape",
6113
+ "description": "Indicates the element should be circular",
6114
+ "fieldName": "circular",
6141
6115
  "inheritedFrom": {
6142
- "name": "Avatar",
6143
- "module": "src/avatar/avatar.ts"
6116
+ "name": "Badge",
6117
+ "module": "src/badge/badge.ts"
6144
6118
  }
6145
6119
  }
6146
6120
  ],
@@ -6152,10 +6126,10 @@
6152
6126
  "text": "string"
6153
6127
  },
6154
6128
  "privacy": "public",
6155
- "description": "Indicates the Avatar should have a color fill.",
6129
+ "description": "Indicates the badge should have a filled style.",
6156
6130
  "inheritedFrom": {
6157
- "name": "Avatar",
6158
- "module": "src/avatar/avatar.ts"
6131
+ "name": "Badge",
6132
+ "module": "src/badge/badge.ts"
6159
6133
  }
6160
6134
  },
6161
6135
  {
@@ -6165,36 +6139,32 @@
6165
6139
  "text": "string"
6166
6140
  },
6167
6141
  "privacy": "public",
6168
- "description": "Indicates the Avatar should have a text color.",
6142
+ "description": "Indicates the badge should have a filled style.",
6169
6143
  "inheritedFrom": {
6170
- "name": "Avatar",
6171
- "module": "src/avatar/avatar.ts"
6144
+ "name": "Badge",
6145
+ "module": "src/badge/badge.ts"
6172
6146
  }
6173
6147
  },
6174
6148
  {
6175
6149
  "kind": "field",
6176
- "name": "link",
6150
+ "name": "circular",
6177
6151
  "type": {
6178
- "text": "string"
6152
+ "text": "boolean"
6179
6153
  },
6180
6154
  "privacy": "public",
6181
- "description": "Indicates the Avatar should have url link",
6155
+ "description": "Indicates the element should be circular",
6182
6156
  "inheritedFrom": {
6183
- "name": "Avatar",
6184
- "module": "src/avatar/avatar.ts"
6157
+ "name": "Badge",
6158
+ "module": "src/badge/badge.ts"
6185
6159
  }
6186
6160
  },
6187
6161
  {
6188
6162
  "kind": "field",
6189
- "name": "shape",
6190
- "type": {
6191
- "text": "AvatarShape"
6192
- },
6163
+ "name": "generateBadgeStyle",
6193
6164
  "privacy": "public",
6194
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6195
6165
  "inheritedFrom": {
6196
- "name": "Avatar",
6197
- "module": "src/avatar/avatar.ts"
6166
+ "name": "Badge",
6167
+ "module": "src/badge/badge.ts"
6198
6168
  }
6199
6169
  },
6200
6170
  {
@@ -6312,65 +6282,65 @@
6312
6282
  },
6313
6283
  {
6314
6284
  "kind": "variable",
6315
- "name": "foundationAvatarShadowOptions",
6285
+ "name": "foundationBadgeShadowOptions",
6316
6286
  "type": {
6317
6287
  "text": "ShadowRootInit"
6318
6288
  },
6319
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
6289
+ "default": "undefined"
6320
6290
  },
6321
6291
  {
6322
6292
  "kind": "variable",
6323
- "name": "defaultAvatarConfig",
6293
+ "name": "defaultBadgeConfig",
6324
6294
  "type": {
6325
6295
  "text": "object"
6326
6296
  },
6327
- "default": "{\n media: mediaTemplate,\n}"
6297
+ "default": "{}"
6328
6298
  },
6329
6299
  {
6330
6300
  "kind": "variable",
6331
- "name": "foundationAvatar",
6332
- "description": "The Foundation Avatar",
6301
+ "name": "foundationBadge",
6302
+ "description": "The Foundation Badge",
6333
6303
  "privacy": "public"
6334
6304
  }
6335
6305
  ],
6336
6306
  "exports": [
6337
6307
  {
6338
6308
  "kind": "js",
6339
- "name": "Avatar",
6309
+ "name": "Badge",
6340
6310
  "declaration": {
6341
- "name": "Avatar",
6342
- "module": "src/avatar/avatar.ts"
6311
+ "name": "Badge",
6312
+ "module": "src/badge/badge.ts"
6343
6313
  }
6344
6314
  },
6345
6315
  {
6346
6316
  "kind": "js",
6347
- "name": "foundationAvatarShadowOptions",
6317
+ "name": "foundationBadgeShadowOptions",
6348
6318
  "declaration": {
6349
- "name": "foundationAvatarShadowOptions",
6350
- "module": "src/avatar/avatar.ts"
6319
+ "name": "foundationBadgeShadowOptions",
6320
+ "module": "src/badge/badge.ts"
6351
6321
  }
6352
6322
  },
6353
6323
  {
6354
6324
  "kind": "js",
6355
- "name": "defaultAvatarConfig",
6325
+ "name": "defaultBadgeConfig",
6356
6326
  "declaration": {
6357
- "name": "defaultAvatarConfig",
6358
- "module": "src/avatar/avatar.ts"
6327
+ "name": "defaultBadgeConfig",
6328
+ "module": "src/badge/badge.ts"
6359
6329
  }
6360
6330
  },
6361
6331
  {
6362
6332
  "kind": "js",
6363
- "name": "foundationAvatar",
6333
+ "name": "foundationBadge",
6364
6334
  "declaration": {
6365
- "name": "foundationAvatar",
6366
- "module": "src/avatar/avatar.ts"
6335
+ "name": "foundationBadge",
6336
+ "module": "src/badge/badge.ts"
6367
6337
  }
6368
6338
  }
6369
6339
  ]
6370
6340
  },
6371
6341
  {
6372
6342
  "kind": "javascript-module",
6373
- "path": "src/avatar/index.ts",
6343
+ "path": "src/badge/index.ts",
6374
6344
  "declarations": [],
6375
6345
  "exports": [
6376
6346
  {
@@ -6378,7 +6348,7 @@
6378
6348
  "name": "*",
6379
6349
  "declaration": {
6380
6350
  "name": "*",
6381
- "package": "./avatar.template"
6351
+ "package": "./badge.template"
6382
6352
  }
6383
6353
  },
6384
6354
  {
@@ -6386,7 +6356,7 @@
6386
6356
  "name": "*",
6387
6357
  "declaration": {
6388
6358
  "name": "*",
6389
- "package": "./avatar.styles"
6359
+ "package": "./badge.styles"
6390
6360
  }
6391
6361
  },
6392
6362
  {
@@ -6394,18 +6364,18 @@
6394
6364
  "name": "*",
6395
6365
  "declaration": {
6396
6366
  "name": "*",
6397
- "package": "./avatar"
6367
+ "package": "./badge"
6398
6368
  }
6399
6369
  }
6400
6370
  ]
6401
6371
  },
6402
6372
  {
6403
6373
  "kind": "javascript-module",
6404
- "path": "src/badge/badge.styles.ts",
6374
+ "path": "src/avatar/avatar.styles.ts",
6405
6375
  "declarations": [
6406
6376
  {
6407
6377
  "kind": "function",
6408
- "name": "foundationBadgeStyles",
6378
+ "name": "foundationAvatarStyles",
6409
6379
  "return": {
6410
6380
  "type": {
6411
6381
  "text": "ElementStyles"
@@ -6430,24 +6400,24 @@
6430
6400
  "exports": [
6431
6401
  {
6432
6402
  "kind": "js",
6433
- "name": "foundationBadgeStyles",
6403
+ "name": "foundationAvatarStyles",
6434
6404
  "declaration": {
6435
- "name": "foundationBadgeStyles",
6436
- "module": "src/badge/badge.styles.ts"
6405
+ "name": "foundationAvatarStyles",
6406
+ "module": "src/avatar/avatar.styles.ts"
6437
6407
  }
6438
6408
  }
6439
6409
  ]
6440
6410
  },
6441
6411
  {
6442
6412
  "kind": "javascript-module",
6443
- "path": "src/badge/badge.template.ts",
6413
+ "path": "src/avatar/avatar.template.ts",
6444
6414
  "declarations": [
6445
6415
  {
6446
6416
  "kind": "function",
6447
- "name": "foundationBadgeTemplate",
6417
+ "name": "foundationAvatarTemplate",
6448
6418
  "return": {
6449
6419
  "type": {
6450
- "text": "ViewTemplate<Badge>"
6420
+ "text": "ViewTemplate<Avatar>"
6451
6421
  }
6452
6422
  },
6453
6423
  "parameters": [
@@ -6464,32 +6434,45 @@
6464
6434
  }
6465
6435
  }
6466
6436
  ]
6437
+ },
6438
+ {
6439
+ "kind": "variable",
6440
+ "name": "media",
6441
+ "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`"
6467
6442
  }
6468
6443
  ],
6469
6444
  "exports": [
6470
6445
  {
6471
6446
  "kind": "js",
6472
- "name": "foundationBadgeTemplate",
6447
+ "name": "foundationAvatarTemplate",
6473
6448
  "declaration": {
6474
- "name": "foundationBadgeTemplate",
6475
- "module": "src/badge/badge.template.ts"
6449
+ "name": "foundationAvatarTemplate",
6450
+ "module": "src/avatar/avatar.template.ts"
6451
+ }
6452
+ },
6453
+ {
6454
+ "kind": "js",
6455
+ "name": "media",
6456
+ "declaration": {
6457
+ "name": "media",
6458
+ "module": "src/avatar/avatar.template.ts"
6476
6459
  }
6477
6460
  }
6478
6461
  ]
6479
6462
  },
6480
6463
  {
6481
6464
  "kind": "javascript-module",
6482
- "path": "src/badge/badge.ts",
6465
+ "path": "src/avatar/avatar.ts",
6483
6466
  "declarations": [
6484
6467
  {
6485
6468
  "kind": "class",
6486
6469
  "description": "",
6487
- "name": "Badge",
6470
+ "name": "Avatar",
6488
6471
  "superclass": {
6489
- "name": "FASTBadge",
6472
+ "name": "FASTAvatar",
6490
6473
  "package": "@microsoft/fast-components"
6491
6474
  },
6492
- "tagName": "%%prefix%%-badge",
6475
+ "tagName": "%%prefix%%-avatar",
6493
6476
  "customElement": true,
6494
6477
  "attributes": [
6495
6478
  {
@@ -6497,11 +6480,11 @@
6497
6480
  "type": {
6498
6481
  "text": "string"
6499
6482
  },
6500
- "description": "Indicates the badge should have a filled style.",
6483
+ "description": "Indicates the Avatar should have a color fill.",
6501
6484
  "fieldName": "fill",
6502
6485
  "inheritedFrom": {
6503
- "name": "Badge",
6504
- "module": "src/badge/badge.ts"
6486
+ "name": "Avatar",
6487
+ "module": "src/avatar/avatar.ts"
6505
6488
  }
6506
6489
  },
6507
6490
  {
@@ -6509,22 +6492,35 @@
6509
6492
  "type": {
6510
6493
  "text": "string"
6511
6494
  },
6512
- "description": "Indicates the badge should have a filled style.",
6495
+ "description": "Indicates the Avatar should have a text color.",
6513
6496
  "fieldName": "color",
6514
6497
  "inheritedFrom": {
6515
- "name": "Badge",
6516
- "module": "src/badge/badge.ts"
6498
+ "name": "Avatar",
6499
+ "module": "src/avatar/avatar.ts"
6517
6500
  }
6518
6501
  },
6519
6502
  {
6503
+ "name": "link",
6520
6504
  "type": {
6521
- "text": "boolean"
6505
+ "text": "string"
6522
6506
  },
6523
- "description": "Indicates the element should be circular",
6524
- "fieldName": "circular",
6507
+ "description": "Indicates the Avatar should have url link",
6508
+ "fieldName": "link",
6525
6509
  "inheritedFrom": {
6526
- "name": "Badge",
6527
- "module": "src/badge/badge.ts"
6510
+ "name": "Avatar",
6511
+ "module": "src/avatar/avatar.ts"
6512
+ }
6513
+ },
6514
+ {
6515
+ "name": "shape",
6516
+ "type": {
6517
+ "text": "AvatarShape"
6518
+ },
6519
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6520
+ "fieldName": "shape",
6521
+ "inheritedFrom": {
6522
+ "name": "Avatar",
6523
+ "module": "src/avatar/avatar.ts"
6528
6524
  }
6529
6525
  }
6530
6526
  ],
@@ -6536,10 +6532,10 @@
6536
6532
  "text": "string"
6537
6533
  },
6538
6534
  "privacy": "public",
6539
- "description": "Indicates the badge should have a filled style.",
6535
+ "description": "Indicates the Avatar should have a color fill.",
6540
6536
  "inheritedFrom": {
6541
- "name": "Badge",
6542
- "module": "src/badge/badge.ts"
6537
+ "name": "Avatar",
6538
+ "module": "src/avatar/avatar.ts"
6543
6539
  }
6544
6540
  },
6545
6541
  {
@@ -6549,32 +6545,36 @@
6549
6545
  "text": "string"
6550
6546
  },
6551
6547
  "privacy": "public",
6552
- "description": "Indicates the badge should have a filled style.",
6548
+ "description": "Indicates the Avatar should have a text color.",
6553
6549
  "inheritedFrom": {
6554
- "name": "Badge",
6555
- "module": "src/badge/badge.ts"
6550
+ "name": "Avatar",
6551
+ "module": "src/avatar/avatar.ts"
6556
6552
  }
6557
6553
  },
6558
6554
  {
6559
6555
  "kind": "field",
6560
- "name": "circular",
6556
+ "name": "link",
6561
6557
  "type": {
6562
- "text": "boolean"
6558
+ "text": "string"
6563
6559
  },
6564
6560
  "privacy": "public",
6565
- "description": "Indicates the element should be circular",
6561
+ "description": "Indicates the Avatar should have url link",
6566
6562
  "inheritedFrom": {
6567
- "name": "Badge",
6568
- "module": "src/badge/badge.ts"
6563
+ "name": "Avatar",
6564
+ "module": "src/avatar/avatar.ts"
6569
6565
  }
6570
6566
  },
6571
6567
  {
6572
6568
  "kind": "field",
6573
- "name": "generateBadgeStyle",
6569
+ "name": "shape",
6570
+ "type": {
6571
+ "text": "AvatarShape"
6572
+ },
6574
6573
  "privacy": "public",
6574
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6575
6575
  "inheritedFrom": {
6576
- "name": "Badge",
6577
- "module": "src/badge/badge.ts"
6576
+ "name": "Avatar",
6577
+ "module": "src/avatar/avatar.ts"
6578
6578
  }
6579
6579
  },
6580
6580
  {
@@ -6692,65 +6692,65 @@
6692
6692
  },
6693
6693
  {
6694
6694
  "kind": "variable",
6695
- "name": "foundationBadgeShadowOptions",
6695
+ "name": "foundationAvatarShadowOptions",
6696
6696
  "type": {
6697
6697
  "text": "ShadowRootInit"
6698
6698
  },
6699
- "default": "undefined"
6699
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
6700
6700
  },
6701
6701
  {
6702
6702
  "kind": "variable",
6703
- "name": "defaultBadgeConfig",
6703
+ "name": "defaultAvatarConfig",
6704
6704
  "type": {
6705
6705
  "text": "object"
6706
6706
  },
6707
- "default": "{}"
6707
+ "default": "{\n media: mediaTemplate,\n}"
6708
6708
  },
6709
6709
  {
6710
6710
  "kind": "variable",
6711
- "name": "foundationBadge",
6712
- "description": "The Foundation Badge",
6711
+ "name": "foundationAvatar",
6712
+ "description": "The Foundation Avatar",
6713
6713
  "privacy": "public"
6714
6714
  }
6715
6715
  ],
6716
6716
  "exports": [
6717
6717
  {
6718
6718
  "kind": "js",
6719
- "name": "Badge",
6719
+ "name": "Avatar",
6720
6720
  "declaration": {
6721
- "name": "Badge",
6722
- "module": "src/badge/badge.ts"
6721
+ "name": "Avatar",
6722
+ "module": "src/avatar/avatar.ts"
6723
6723
  }
6724
6724
  },
6725
6725
  {
6726
6726
  "kind": "js",
6727
- "name": "foundationBadgeShadowOptions",
6727
+ "name": "foundationAvatarShadowOptions",
6728
6728
  "declaration": {
6729
- "name": "foundationBadgeShadowOptions",
6730
- "module": "src/badge/badge.ts"
6729
+ "name": "foundationAvatarShadowOptions",
6730
+ "module": "src/avatar/avatar.ts"
6731
6731
  }
6732
6732
  },
6733
6733
  {
6734
6734
  "kind": "js",
6735
- "name": "defaultBadgeConfig",
6735
+ "name": "defaultAvatarConfig",
6736
6736
  "declaration": {
6737
- "name": "defaultBadgeConfig",
6738
- "module": "src/badge/badge.ts"
6737
+ "name": "defaultAvatarConfig",
6738
+ "module": "src/avatar/avatar.ts"
6739
6739
  }
6740
6740
  },
6741
6741
  {
6742
6742
  "kind": "js",
6743
- "name": "foundationBadge",
6743
+ "name": "foundationAvatar",
6744
6744
  "declaration": {
6745
- "name": "foundationBadge",
6746
- "module": "src/badge/badge.ts"
6745
+ "name": "foundationAvatar",
6746
+ "module": "src/avatar/avatar.ts"
6747
6747
  }
6748
6748
  }
6749
6749
  ]
6750
6750
  },
6751
6751
  {
6752
6752
  "kind": "javascript-module",
6753
- "path": "src/badge/index.ts",
6753
+ "path": "src/avatar/index.ts",
6754
6754
  "declarations": [],
6755
6755
  "exports": [
6756
6756
  {
@@ -6758,7 +6758,7 @@
6758
6758
  "name": "*",
6759
6759
  "declaration": {
6760
6760
  "name": "*",
6761
- "package": "./badge.template"
6761
+ "package": "./avatar.template"
6762
6762
  }
6763
6763
  },
6764
6764
  {
@@ -6766,7 +6766,7 @@
6766
6766
  "name": "*",
6767
6767
  "declaration": {
6768
6768
  "name": "*",
6769
- "package": "./badge.styles"
6769
+ "package": "./avatar.styles"
6770
6770
  }
6771
6771
  },
6772
6772
  {
@@ -6774,7 +6774,7 @@
6774
6774
  "name": "*",
6775
6775
  "declaration": {
6776
6776
  "name": "*",
6777
- "package": "./badge"
6777
+ "package": "./avatar"
6778
6778
  }
6779
6779
  }
6780
6780
  ]