@genesislcap/foundation-ui 14.491.0-GENC-1390.3 → 14.491.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,116 +1476,237 @@
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",
1503
+ "name": "expand-mode",
1535
1504
  "type": {
1536
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1505
+ "text": "AccordionExpandMode"
1537
1506
  },
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",
1507
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1508
+ "fieldName": "expandmode",
1541
1509
  "inheritedFrom": {
1542
- "name": "AccordionItem",
1543
- "module": "src/accordion-item/accordion-item.ts"
1510
+ "name": "Accordion",
1511
+ "module": "src/accordion/accordion.ts"
1544
1512
  }
1545
- },
1513
+ }
1514
+ ],
1515
+ "members": [
1546
1516
  {
1517
+ "kind": "field",
1518
+ "name": "expandmode",
1547
1519
  "type": {
1548
- "text": "boolean"
1520
+ "text": "AccordionExpandMode"
1549
1521
  },
1550
- "default": "false",
1551
- "description": "Expands or collapses the item.",
1552
- "fieldName": "expanded",
1522
+ "privacy": "public",
1523
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1553
1524
  "inheritedFrom": {
1554
- "name": "AccordionItem",
1555
- "module": "src/accordion-item/accordion-item.ts"
1525
+ "name": "Accordion",
1526
+ "module": "src/accordion/accordion.ts"
1556
1527
  }
1557
1528
  },
1558
1529
  {
1559
- "name": "id",
1530
+ "kind": "field",
1531
+ "name": "activeid",
1560
1532
  "type": {
1561
- "text": "string"
1533
+ "text": "string | null"
1562
1534
  },
1563
- "description": "The item ID",
1564
- "fieldName": "id",
1535
+ "privacy": "private",
1565
1536
  "inheritedFrom": {
1566
- "name": "AccordionItem",
1567
- "module": "src/accordion-item/accordion-item.ts"
1537
+ "name": "Accordion",
1538
+ "module": "src/accordion/accordion.ts"
1568
1539
  }
1569
- }
1570
- ],
1571
- "members": [
1540
+ },
1572
1541
  {
1573
1542
  "kind": "field",
1574
- "name": "headinglevel",
1543
+ "name": "activeItemIndex",
1575
1544
  "type": {
1576
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1545
+ "text": "number"
1577
1546
  },
1578
- "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.",
1547
+ "privacy": "private",
1548
+ "default": "0",
1581
1549
  "inheritedFrom": {
1582
- "name": "AccordionItem",
1583
- "module": "src/accordion-item/accordion-item.ts"
1550
+ "name": "Accordion",
1551
+ "module": "src/accordion/accordion.ts"
1584
1552
  }
1585
1553
  },
1586
1554
  {
1587
1555
  "kind": "field",
1588
- "name": "expanded",
1556
+ "name": "accordionIds",
1589
1557
  "type": {
1590
- "text": "boolean"
1558
+ "text": "Array<string | null>"
1591
1559
  },
1592
- "privacy": "public",
1593
- "default": "false",
1594
- "description": "Expands or collapses the item.",
1560
+ "privacy": "private",
1595
1561
  "inheritedFrom": {
1596
- "name": "AccordionItem",
1597
- "module": "src/accordion-item/accordion-item.ts"
1562
+ "name": "Accordion",
1563
+ "module": "src/accordion/accordion.ts"
1598
1564
  }
1599
1565
  },
1600
1566
  {
1601
1567
  "kind": "field",
1602
- "name": "id",
1603
- "type": {
1604
- "text": "string"
1568
+ "name": "change",
1569
+ "privacy": "private",
1570
+ "inheritedFrom": {
1571
+ "name": "Accordion",
1572
+ "module": "src/accordion/accordion.ts"
1573
+ }
1574
+ },
1575
+ {
1576
+ "kind": "method",
1577
+ "name": "findExpandedItem",
1578
+ "privacy": "private",
1579
+ "return": {
1580
+ "type": {
1581
+ "text": "AccordionItem | null"
1582
+ }
1605
1583
  },
1606
- "privacy": "public",
1607
- "description": "The item ID",
1608
1584
  "inheritedFrom": {
1609
- "name": "AccordionItem",
1610
- "module": "src/accordion-item/accordion-item.ts"
1585
+ "name": "Accordion",
1586
+ "module": "src/accordion/accordion.ts"
1611
1587
  }
1612
1588
  },
1613
1589
  {
1614
1590
  "kind": "field",
1615
- "name": "change",
1591
+ "name": "setItems",
1592
+ "privacy": "private",
1593
+ "inheritedFrom": {
1594
+ "name": "Accordion",
1595
+ "module": "src/accordion/accordion.ts"
1596
+ }
1597
+ },
1598
+ {
1599
+ "kind": "method",
1600
+ "name": "resetItems",
1601
+ "privacy": "private",
1602
+ "return": {
1603
+ "type": {
1604
+ "text": "void"
1605
+ }
1606
+ },
1607
+ "inheritedFrom": {
1608
+ "name": "Accordion",
1609
+ "module": "src/accordion/accordion.ts"
1610
+ }
1611
+ },
1612
+ {
1613
+ "kind": "field",
1614
+ "name": "removeItemListeners",
1615
+ "privacy": "private",
1616
+ "inheritedFrom": {
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"
1628
+ }
1629
+ },
1630
+ {
1631
+ "kind": "method",
1632
+ "name": "getItemIds",
1633
+ "privacy": "private",
1634
+ "return": {
1635
+ "type": {
1636
+ "text": "Array<string | null>"
1637
+ }
1638
+ },
1639
+ "inheritedFrom": {
1640
+ "name": "Accordion",
1641
+ "module": "src/accordion/accordion.ts"
1642
+ }
1643
+ },
1644
+ {
1645
+ "kind": "method",
1646
+ "name": "isSingleExpandMode",
1647
+ "privacy": "private",
1648
+ "return": {
1649
+ "type": {
1650
+ "text": "boolean"
1651
+ }
1652
+ },
1653
+ "inheritedFrom": {
1654
+ "name": "Accordion",
1655
+ "module": "src/accordion/accordion.ts"
1656
+ }
1657
+ },
1658
+ {
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",
1616
1701
  "privacy": "private",
1702
+ "return": {
1703
+ "type": {
1704
+ "text": "void"
1705
+ }
1706
+ },
1617
1707
  "inheritedFrom": {
1618
- "name": "AccordionItem",
1619
- "module": "src/accordion-item/accordion-item.ts"
1708
+ "name": "Accordion",
1709
+ "module": "src/accordion/accordion.ts"
1620
1710
  }
1621
1711
  },
1622
1712
  {
@@ -1733,18 +1823,18 @@
1733
1823
  ],
1734
1824
  "events": [
1735
1825
  {
1736
- "description": "Fires a custom 'change' event when the button is invoked",
1826
+ "description": "Fires a custom 'change' event when the active item changes",
1737
1827
  "name": "change",
1738
1828
  "inheritedFrom": {
1739
- "name": "AccordionItem",
1740
- "module": "src/accordion-item/accordion-item.ts"
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,60 +1916,52 @@
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/accordion/accordion.styles.ts",
1837
- "declarations": [
1838
- {
1839
- "kind": "function",
1840
- "name": "foundationAccordionStyles",
1841
- "return": {
1842
- "type": {
1843
- "text": "ElementStyles"
1844
- }
1845
- },
1846
- "parameters": [
1847
- {
1848
- "name": "context",
1849
- "type": {
1850
- "text": "ElementDefinitionContext"
1851
- }
1852
- },
1853
- {
1854
- "name": "definition",
1855
- "type": {
1856
- "text": "FoundationElementDefinition"
1857
- }
1858
- }
1859
- ]
1860
- }
1861
- ],
1926
+ "path": "src/_config/index.ts",
1927
+ "declarations": [],
1862
1928
  "exports": [
1863
1929
  {
1864
1930
  "kind": "js",
1865
- "name": "foundationAccordionStyles",
1931
+ "name": "*",
1866
1932
  "declaration": {
1867
- "name": "foundationAccordionStyles",
1868
- "module": "src/accordion/accordion.styles.ts"
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"
1869
1951
  }
1870
1952
  }
1871
1953
  ]
1872
1954
  },
1873
1955
  {
1874
1956
  "kind": "javascript-module",
1875
- "path": "src/accordion/accordion.template.ts",
1957
+ "path": "src/accordion-item/accordion-item.styles.ts",
1876
1958
  "declarations": [
1877
1959
  {
1878
1960
  "kind": "function",
1879
- "name": "foundationAccordionTemplate",
1961
+ "name": "foundationAccordionItemStyles",
1880
1962
  "return": {
1881
1963
  "type": {
1882
- "text": "ViewTemplate<Accordion>"
1964
+ "text": "ElementStyles"
1883
1965
  }
1884
1966
  },
1885
1967
  "parameters": [
@@ -1901,237 +1983,155 @@
1901
1983
  "exports": [
1902
1984
  {
1903
1985
  "kind": "js",
1904
- "name": "foundationAccordionTemplate",
1986
+ "name": "foundationAccordionItemStyles",
1905
1987
  "declaration": {
1906
- "name": "foundationAccordionTemplate",
1907
- "module": "src/accordion/accordion.template.ts"
1988
+ "name": "foundationAccordionItemStyles",
1989
+ "module": "src/accordion-item/accordion-item.styles.ts"
1908
1990
  }
1909
1991
  }
1910
1992
  ]
1911
1993
  },
1912
1994
  {
1913
1995
  "kind": "javascript-module",
1914
- "path": "src/accordion/accordion.ts",
1996
+ "path": "src/accordion-item/accordion-item.template.ts",
1915
1997
  "declarations": [
1916
1998
  {
1917
- "kind": "class",
1918
- "description": "",
1919
- "name": "Accordion",
1920
- "superclass": {
1921
- "name": "FASTAccordion",
1922
- "package": "@microsoft/fast-foundation"
1923
- },
1924
- "tagName": "%%prefix%%-accordion",
1925
- "customElement": true,
1926
- "attributes": [
1927
- {
1928
- "name": "expand-mode",
1929
- "type": {
1930
- "text": "AccordionExpandMode"
1931
- },
1932
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1933
- "fieldName": "expandmode",
1934
- "inheritedFrom": {
1935
- "name": "Accordion",
1936
- "module": "src/accordion/accordion.ts"
1937
- }
1999
+ "kind": "function",
2000
+ "name": "foundationAccordionItemTemplate",
2001
+ "return": {
2002
+ "type": {
2003
+ "text": "ViewTemplate<AccordionItem>"
1938
2004
  }
1939
- ],
1940
- "members": [
1941
- {
1942
- "kind": "field",
1943
- "name": "expandmode",
1944
- "type": {
1945
- "text": "AccordionExpandMode"
1946
- },
1947
- "privacy": "public",
1948
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1949
- "inheritedFrom": {
1950
- "name": "Accordion",
1951
- "module": "src/accordion/accordion.ts"
1952
- }
1953
- },
1954
- {
1955
- "kind": "field",
1956
- "name": "activeid",
1957
- "type": {
1958
- "text": "string | null"
1959
- },
1960
- "privacy": "private",
1961
- "inheritedFrom": {
1962
- "name": "Accordion",
1963
- "module": "src/accordion/accordion.ts"
1964
- }
1965
- },
1966
- {
1967
- "kind": "field",
1968
- "name": "activeItemIndex",
1969
- "type": {
1970
- "text": "number"
1971
- },
1972
- "privacy": "private",
1973
- "default": "0",
1974
- "inheritedFrom": {
1975
- "name": "Accordion",
1976
- "module": "src/accordion/accordion.ts"
1977
- }
1978
- },
2005
+ },
2006
+ "parameters": [
1979
2007
  {
1980
- "kind": "field",
1981
- "name": "accordionIds",
2008
+ "name": "context",
1982
2009
  "type": {
1983
- "text": "Array<string | null>"
1984
- },
1985
- "privacy": "private",
1986
- "inheritedFrom": {
1987
- "name": "Accordion",
1988
- "module": "src/accordion/accordion.ts"
1989
- }
1990
- },
1991
- {
1992
- "kind": "field",
1993
- "name": "change",
1994
- "privacy": "private",
1995
- "inheritedFrom": {
1996
- "name": "Accordion",
1997
- "module": "src/accordion/accordion.ts"
1998
- }
1999
- },
2000
- {
2001
- "kind": "method",
2002
- "name": "findExpandedItem",
2003
- "privacy": "private",
2004
- "return": {
2005
- "type": {
2006
- "text": "AccordionItem | null"
2007
- }
2008
- },
2009
- "inheritedFrom": {
2010
- "name": "Accordion",
2011
- "module": "src/accordion/accordion.ts"
2012
- }
2013
- },
2014
- {
2015
- "kind": "field",
2016
- "name": "setItems",
2017
- "privacy": "private",
2018
- "inheritedFrom": {
2019
- "name": "Accordion",
2020
- "module": "src/accordion/accordion.ts"
2021
- }
2022
- },
2023
- {
2024
- "kind": "method",
2025
- "name": "resetItems",
2026
- "privacy": "private",
2027
- "return": {
2028
- "type": {
2029
- "text": "void"
2030
- }
2031
- },
2032
- "inheritedFrom": {
2033
- "name": "Accordion",
2034
- "module": "src/accordion/accordion.ts"
2035
- }
2036
- },
2037
- {
2038
- "kind": "field",
2039
- "name": "removeItemListeners",
2040
- "privacy": "private",
2041
- "inheritedFrom": {
2042
- "name": "Accordion",
2043
- "module": "src/accordion/accordion.ts"
2010
+ "text": "ElementDefinitionContext"
2044
2011
  }
2045
2012
  },
2046
2013
  {
2047
- "kind": "field",
2048
- "name": "activeItemChange",
2049
- "privacy": "private",
2014
+ "name": "definition",
2015
+ "type": {
2016
+ "text": "FoundationElementDefinition"
2017
+ }
2018
+ }
2019
+ ]
2020
+ }
2021
+ ],
2022
+ "exports": [
2023
+ {
2024
+ "kind": "js",
2025
+ "name": "foundationAccordionItemTemplate",
2026
+ "declaration": {
2027
+ "name": "foundationAccordionItemTemplate",
2028
+ "module": "src/accordion-item/accordion-item.template.ts"
2029
+ }
2030
+ }
2031
+ ]
2032
+ },
2033
+ {
2034
+ "kind": "javascript-module",
2035
+ "path": "src/accordion-item/accordion-item.ts",
2036
+ "declarations": [
2037
+ {
2038
+ "kind": "class",
2039
+ "description": "",
2040
+ "name": "AccordionItem",
2041
+ "superclass": {
2042
+ "name": "FASTAccordionItem",
2043
+ "package": "@microsoft/fast-components"
2044
+ },
2045
+ "tagName": "%%prefix%%-accordion-item",
2046
+ "customElement": true,
2047
+ "attributes": [
2048
+ {
2049
+ "name": "heading-level",
2050
+ "type": {
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",
2050
2056
  "inheritedFrom": {
2051
- "name": "Accordion",
2052
- "module": "src/accordion/accordion.ts"
2057
+ "name": "AccordionItem",
2058
+ "module": "src/accordion-item/accordion-item.ts"
2053
2059
  }
2054
2060
  },
2055
2061
  {
2056
- "kind": "method",
2057
- "name": "getItemIds",
2058
- "privacy": "private",
2059
- "return": {
2060
- "type": {
2061
- "text": "Array<string | null>"
2062
- }
2062
+ "type": {
2063
+ "text": "boolean"
2063
2064
  },
2065
+ "default": "false",
2066
+ "description": "Expands or collapses the item.",
2067
+ "fieldName": "expanded",
2064
2068
  "inheritedFrom": {
2065
- "name": "Accordion",
2066
- "module": "src/accordion/accordion.ts"
2069
+ "name": "AccordionItem",
2070
+ "module": "src/accordion-item/accordion-item.ts"
2067
2071
  }
2068
2072
  },
2069
2073
  {
2070
- "kind": "method",
2071
- "name": "isSingleExpandMode",
2072
- "privacy": "private",
2073
- "return": {
2074
- "type": {
2075
- "text": "boolean"
2076
- }
2074
+ "name": "id",
2075
+ "type": {
2076
+ "text": "string"
2077
2077
  },
2078
+ "description": "The item ID",
2079
+ "fieldName": "id",
2078
2080
  "inheritedFrom": {
2079
- "name": "Accordion",
2080
- "module": "src/accordion/accordion.ts"
2081
+ "name": "AccordionItem",
2082
+ "module": "src/accordion-item/accordion-item.ts"
2081
2083
  }
2082
- },
2084
+ }
2085
+ ],
2086
+ "members": [
2083
2087
  {
2084
2088
  "kind": "field",
2085
- "name": "handleItemKeyDown",
2086
- "privacy": "private",
2089
+ "name": "headinglevel",
2090
+ "type": {
2091
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2092
+ },
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.",
2087
2096
  "inheritedFrom": {
2088
- "name": "Accordion",
2089
- "module": "src/accordion/accordion.ts"
2097
+ "name": "AccordionItem",
2098
+ "module": "src/accordion-item/accordion-item.ts"
2090
2099
  }
2091
2100
  },
2092
2101
  {
2093
2102
  "kind": "field",
2094
- "name": "handleItemFocus",
2095
- "privacy": "private",
2103
+ "name": "expanded",
2104
+ "type": {
2105
+ "text": "boolean"
2106
+ },
2107
+ "privacy": "public",
2108
+ "default": "false",
2109
+ "description": "Expands or collapses the item.",
2096
2110
  "inheritedFrom": {
2097
- "name": "Accordion",
2098
- "module": "src/accordion/accordion.ts"
2111
+ "name": "AccordionItem",
2112
+ "module": "src/accordion-item/accordion-item.ts"
2099
2113
  }
2100
2114
  },
2101
2115
  {
2102
- "kind": "method",
2103
- "name": "adjust",
2104
- "privacy": "private",
2105
- "return": {
2106
- "type": {
2107
- "text": "void"
2108
- }
2116
+ "kind": "field",
2117
+ "name": "id",
2118
+ "type": {
2119
+ "text": "string"
2109
2120
  },
2110
- "parameters": [
2111
- {
2112
- "name": "adjustment",
2113
- "type": {
2114
- "text": "number"
2115
- }
2116
- }
2117
- ],
2121
+ "privacy": "public",
2122
+ "description": "The item ID",
2118
2123
  "inheritedFrom": {
2119
- "name": "Accordion",
2120
- "module": "src/accordion/accordion.ts"
2124
+ "name": "AccordionItem",
2125
+ "module": "src/accordion-item/accordion-item.ts"
2121
2126
  }
2122
2127
  },
2123
2128
  {
2124
- "kind": "method",
2125
- "name": "focusItem",
2129
+ "kind": "field",
2130
+ "name": "change",
2126
2131
  "privacy": "private",
2127
- "return": {
2128
- "type": {
2129
- "text": "void"
2130
- }
2131
- },
2132
2132
  "inheritedFrom": {
2133
- "name": "Accordion",
2134
- "module": "src/accordion/accordion.ts"
2133
+ "name": "AccordionItem",
2134
+ "module": "src/accordion-item/accordion-item.ts"
2135
2135
  }
2136
2136
  },
2137
2137
  {
@@ -2248,18 +2248,18 @@
2248
2248
  ],
2249
2249
  "events": [
2250
2250
  {
2251
- "description": "Fires a custom 'change' event when the active item changes",
2251
+ "description": "Fires a custom 'change' event when the button is invoked",
2252
2252
  "name": "change",
2253
2253
  "inheritedFrom": {
2254
- "name": "Accordion",
2255
- "module": "src/accordion/accordion.ts"
2254
+ "name": "AccordionItem",
2255
+ "module": "src/accordion-item/accordion-item.ts"
2256
2256
  }
2257
2257
  }
2258
2258
  ]
2259
2259
  },
2260
2260
  {
2261
2261
  "kind": "variable",
2262
- "name": "foundationAccordionShadowOptions",
2262
+ "name": "foundationAccordionItemShadowOptions",
2263
2263
  "type": {
2264
2264
  "text": "ShadowRootInit"
2265
2265
  },
@@ -2267,57 +2267,57 @@
2267
2267
  },
2268
2268
  {
2269
2269
  "kind": "variable",
2270
- "name": "defaultAccordionConfig",
2270
+ "name": "defaultAccordionItemConfig",
2271
2271
  "type": {
2272
2272
  "text": "object"
2273
2273
  },
2274
- "default": "{}"
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
2275
  },
2276
2276
  {
2277
2277
  "kind": "variable",
2278
- "name": "foundationAccordion",
2279
- "description": "The Foundation Accordion",
2278
+ "name": "foundationAccordionItem",
2279
+ "description": "The Foundation Accordion Item",
2280
2280
  "privacy": "public"
2281
2281
  }
2282
2282
  ],
2283
2283
  "exports": [
2284
2284
  {
2285
2285
  "kind": "js",
2286
- "name": "Accordion",
2286
+ "name": "AccordionItem",
2287
2287
  "declaration": {
2288
- "name": "Accordion",
2289
- "module": "src/accordion/accordion.ts"
2288
+ "name": "AccordionItem",
2289
+ "module": "src/accordion-item/accordion-item.ts"
2290
2290
  }
2291
2291
  },
2292
2292
  {
2293
2293
  "kind": "js",
2294
- "name": "foundationAccordionShadowOptions",
2294
+ "name": "foundationAccordionItemShadowOptions",
2295
2295
  "declaration": {
2296
- "name": "foundationAccordionShadowOptions",
2297
- "module": "src/accordion/accordion.ts"
2296
+ "name": "foundationAccordionItemShadowOptions",
2297
+ "module": "src/accordion-item/accordion-item.ts"
2298
2298
  }
2299
2299
  },
2300
2300
  {
2301
2301
  "kind": "js",
2302
- "name": "defaultAccordionConfig",
2302
+ "name": "defaultAccordionItemConfig",
2303
2303
  "declaration": {
2304
- "name": "defaultAccordionConfig",
2305
- "module": "src/accordion/accordion.ts"
2304
+ "name": "defaultAccordionItemConfig",
2305
+ "module": "src/accordion-item/accordion-item.ts"
2306
2306
  }
2307
2307
  },
2308
2308
  {
2309
2309
  "kind": "js",
2310
- "name": "foundationAccordion",
2310
+ "name": "foundationAccordionItem",
2311
2311
  "declaration": {
2312
- "name": "foundationAccordion",
2313
- "module": "src/accordion/accordion.ts"
2312
+ "name": "foundationAccordionItem",
2313
+ "module": "src/accordion-item/accordion-item.ts"
2314
2314
  }
2315
2315
  }
2316
2316
  ]
2317
2317
  },
2318
2318
  {
2319
2319
  "kind": "javascript-module",
2320
- "path": "src/accordion/index.ts",
2320
+ "path": "src/accordion-item/index.ts",
2321
2321
  "declarations": [],
2322
2322
  "exports": [
2323
2323
  {
@@ -2325,7 +2325,7 @@
2325
2325
  "name": "*",
2326
2326
  "declaration": {
2327
2327
  "name": "*",
2328
- "package": "./accordion.template"
2328
+ "package": "./accordion-item.template"
2329
2329
  }
2330
2330
  },
2331
2331
  {
@@ -2333,7 +2333,7 @@
2333
2333
  "name": "*",
2334
2334
  "declaration": {
2335
2335
  "name": "*",
2336
- "package": "./accordion.styles"
2336
+ "package": "./accordion-item.styles"
2337
2337
  }
2338
2338
  },
2339
2339
  {
@@ -2341,7 +2341,7 @@
2341
2341
  "name": "*",
2342
2342
  "declaration": {
2343
2343
  "name": "*",
2344
- "package": "./accordion"
2344
+ "package": "./accordion-item"
2345
2345
  }
2346
2346
  }
2347
2347
  ]
@@ -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
  ]