@genesislcap/foundation-ui 14.461.1 → 14.461.2-GENC-1346.2

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.
@@ -1400,42 +1400,11 @@
1400
1400
  },
1401
1401
  {
1402
1402
  "kind": "javascript-module",
1403
- "path": "src/_config/index.ts",
1404
- "declarations": [],
1405
- "exports": [
1406
- {
1407
- "kind": "js",
1408
- "name": "*",
1409
- "declaration": {
1410
- "name": "*",
1411
- "package": "./styles"
1412
- }
1413
- },
1414
- {
1415
- "kind": "js",
1416
- "name": "*",
1417
- "declaration": {
1418
- "name": "*",
1419
- "package": "./tokens"
1420
- }
1421
- },
1422
- {
1423
- "kind": "js",
1424
- "name": "*",
1425
- "declaration": {
1426
- "name": "*",
1427
- "package": "./values"
1428
- }
1429
- }
1430
- ]
1431
- },
1432
- {
1433
- "kind": "javascript-module",
1434
- "path": "src/accordion-item/accordion-item.styles.ts",
1403
+ "path": "src/accordion/accordion.styles.ts",
1435
1404
  "declarations": [
1436
1405
  {
1437
1406
  "kind": "function",
1438
- "name": "foundationAccordionItemStyles",
1407
+ "name": "foundationAccordionStyles",
1439
1408
  "return": {
1440
1409
  "type": {
1441
1410
  "text": "ElementStyles"
@@ -1460,24 +1429,24 @@
1460
1429
  "exports": [
1461
1430
  {
1462
1431
  "kind": "js",
1463
- "name": "foundationAccordionItemStyles",
1432
+ "name": "foundationAccordionStyles",
1464
1433
  "declaration": {
1465
- "name": "foundationAccordionItemStyles",
1466
- "module": "src/accordion-item/accordion-item.styles.ts"
1434
+ "name": "foundationAccordionStyles",
1435
+ "module": "src/accordion/accordion.styles.ts"
1467
1436
  }
1468
1437
  }
1469
1438
  ]
1470
1439
  },
1471
1440
  {
1472
1441
  "kind": "javascript-module",
1473
- "path": "src/accordion-item/accordion-item.template.ts",
1442
+ "path": "src/accordion/accordion.template.ts",
1474
1443
  "declarations": [
1475
1444
  {
1476
1445
  "kind": "function",
1477
- "name": "foundationAccordionItemTemplate",
1446
+ "name": "foundationAccordionTemplate",
1478
1447
  "return": {
1479
1448
  "type": {
1480
- "text": "ViewTemplate<AccordionItem>"
1449
+ "text": "ViewTemplate<Accordion>"
1481
1450
  }
1482
1451
  },
1483
1452
  "parameters": [
@@ -1499,116 +1468,237 @@
1499
1468
  "exports": [
1500
1469
  {
1501
1470
  "kind": "js",
1502
- "name": "foundationAccordionItemTemplate",
1471
+ "name": "foundationAccordionTemplate",
1503
1472
  "declaration": {
1504
- "name": "foundationAccordionItemTemplate",
1505
- "module": "src/accordion-item/accordion-item.template.ts"
1473
+ "name": "foundationAccordionTemplate",
1474
+ "module": "src/accordion/accordion.template.ts"
1506
1475
  }
1507
1476
  }
1508
1477
  ]
1509
1478
  },
1510
1479
  {
1511
1480
  "kind": "javascript-module",
1512
- "path": "src/accordion-item/accordion-item.ts",
1481
+ "path": "src/accordion/accordion.ts",
1513
1482
  "declarations": [
1514
1483
  {
1515
1484
  "kind": "class",
1516
1485
  "description": "",
1517
- "name": "AccordionItem",
1486
+ "name": "Accordion",
1518
1487
  "superclass": {
1519
- "name": "FASTAccordionItem",
1520
- "package": "@microsoft/fast-components"
1488
+ "name": "FASTAccordion",
1489
+ "package": "@microsoft/fast-foundation"
1521
1490
  },
1522
- "tagName": "%%prefix%%-accordion-item",
1491
+ "tagName": "%%prefix%%-accordion",
1523
1492
  "customElement": true,
1524
1493
  "attributes": [
1525
1494
  {
1526
- "name": "heading-level",
1495
+ "name": "expand-mode",
1527
1496
  "type": {
1528
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1497
+ "text": "AccordionExpandMode"
1529
1498
  },
1530
- "default": "2",
1531
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1532
- "fieldName": "headinglevel",
1499
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1500
+ "fieldName": "expandmode",
1533
1501
  "inheritedFrom": {
1534
- "name": "AccordionItem",
1535
- "module": "src/accordion-item/accordion-item.ts"
1502
+ "name": "Accordion",
1503
+ "module": "src/accordion/accordion.ts"
1536
1504
  }
1537
- },
1505
+ }
1506
+ ],
1507
+ "members": [
1538
1508
  {
1509
+ "kind": "field",
1510
+ "name": "expandmode",
1539
1511
  "type": {
1540
- "text": "boolean"
1512
+ "text": "AccordionExpandMode"
1541
1513
  },
1542
- "default": "false",
1543
- "description": "Expands or collapses the item.",
1544
- "fieldName": "expanded",
1514
+ "privacy": "public",
1515
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1545
1516
  "inheritedFrom": {
1546
- "name": "AccordionItem",
1547
- "module": "src/accordion-item/accordion-item.ts"
1517
+ "name": "Accordion",
1518
+ "module": "src/accordion/accordion.ts"
1548
1519
  }
1549
1520
  },
1550
1521
  {
1551
- "name": "id",
1522
+ "kind": "field",
1523
+ "name": "activeid",
1552
1524
  "type": {
1553
- "text": "string"
1525
+ "text": "string | null"
1554
1526
  },
1555
- "description": "The item ID",
1556
- "fieldName": "id",
1527
+ "privacy": "private",
1557
1528
  "inheritedFrom": {
1558
- "name": "AccordionItem",
1559
- "module": "src/accordion-item/accordion-item.ts"
1529
+ "name": "Accordion",
1530
+ "module": "src/accordion/accordion.ts"
1560
1531
  }
1561
- }
1562
- ],
1563
- "members": [
1532
+ },
1564
1533
  {
1565
1534
  "kind": "field",
1566
- "name": "headinglevel",
1535
+ "name": "activeItemIndex",
1567
1536
  "type": {
1568
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1537
+ "text": "number"
1569
1538
  },
1570
- "privacy": "public",
1571
- "default": "2",
1572
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1539
+ "privacy": "private",
1540
+ "default": "0",
1573
1541
  "inheritedFrom": {
1574
- "name": "AccordionItem",
1575
- "module": "src/accordion-item/accordion-item.ts"
1542
+ "name": "Accordion",
1543
+ "module": "src/accordion/accordion.ts"
1576
1544
  }
1577
1545
  },
1578
1546
  {
1579
1547
  "kind": "field",
1580
- "name": "expanded",
1548
+ "name": "accordionIds",
1581
1549
  "type": {
1582
- "text": "boolean"
1550
+ "text": "Array<string | null>"
1583
1551
  },
1584
- "privacy": "public",
1585
- "default": "false",
1586
- "description": "Expands or collapses the item.",
1552
+ "privacy": "private",
1587
1553
  "inheritedFrom": {
1588
- "name": "AccordionItem",
1589
- "module": "src/accordion-item/accordion-item.ts"
1554
+ "name": "Accordion",
1555
+ "module": "src/accordion/accordion.ts"
1590
1556
  }
1591
1557
  },
1592
1558
  {
1593
1559
  "kind": "field",
1594
- "name": "id",
1595
- "type": {
1596
- "text": "string"
1560
+ "name": "change",
1561
+ "privacy": "private",
1562
+ "inheritedFrom": {
1563
+ "name": "Accordion",
1564
+ "module": "src/accordion/accordion.ts"
1565
+ }
1566
+ },
1567
+ {
1568
+ "kind": "method",
1569
+ "name": "findExpandedItem",
1570
+ "privacy": "private",
1571
+ "return": {
1572
+ "type": {
1573
+ "text": "AccordionItem | null"
1574
+ }
1597
1575
  },
1598
- "privacy": "public",
1599
- "description": "The item ID",
1600
1576
  "inheritedFrom": {
1601
- "name": "AccordionItem",
1602
- "module": "src/accordion-item/accordion-item.ts"
1577
+ "name": "Accordion",
1578
+ "module": "src/accordion/accordion.ts"
1603
1579
  }
1604
1580
  },
1605
1581
  {
1606
1582
  "kind": "field",
1607
- "name": "change",
1583
+ "name": "setItems",
1584
+ "privacy": "private",
1585
+ "inheritedFrom": {
1586
+ "name": "Accordion",
1587
+ "module": "src/accordion/accordion.ts"
1588
+ }
1589
+ },
1590
+ {
1591
+ "kind": "method",
1592
+ "name": "resetItems",
1593
+ "privacy": "private",
1594
+ "return": {
1595
+ "type": {
1596
+ "text": "void"
1597
+ }
1598
+ },
1599
+ "inheritedFrom": {
1600
+ "name": "Accordion",
1601
+ "module": "src/accordion/accordion.ts"
1602
+ }
1603
+ },
1604
+ {
1605
+ "kind": "field",
1606
+ "name": "removeItemListeners",
1607
+ "privacy": "private",
1608
+ "inheritedFrom": {
1609
+ "name": "Accordion",
1610
+ "module": "src/accordion/accordion.ts"
1611
+ }
1612
+ },
1613
+ {
1614
+ "kind": "field",
1615
+ "name": "activeItemChange",
1616
+ "privacy": "private",
1617
+ "inheritedFrom": {
1618
+ "name": "Accordion",
1619
+ "module": "src/accordion/accordion.ts"
1620
+ }
1621
+ },
1622
+ {
1623
+ "kind": "method",
1624
+ "name": "getItemIds",
1625
+ "privacy": "private",
1626
+ "return": {
1627
+ "type": {
1628
+ "text": "Array<string | null>"
1629
+ }
1630
+ },
1631
+ "inheritedFrom": {
1632
+ "name": "Accordion",
1633
+ "module": "src/accordion/accordion.ts"
1634
+ }
1635
+ },
1636
+ {
1637
+ "kind": "method",
1638
+ "name": "isSingleExpandMode",
1639
+ "privacy": "private",
1640
+ "return": {
1641
+ "type": {
1642
+ "text": "boolean"
1643
+ }
1644
+ },
1645
+ "inheritedFrom": {
1646
+ "name": "Accordion",
1647
+ "module": "src/accordion/accordion.ts"
1648
+ }
1649
+ },
1650
+ {
1651
+ "kind": "field",
1652
+ "name": "handleItemKeyDown",
1653
+ "privacy": "private",
1654
+ "inheritedFrom": {
1655
+ "name": "Accordion",
1656
+ "module": "src/accordion/accordion.ts"
1657
+ }
1658
+ },
1659
+ {
1660
+ "kind": "field",
1661
+ "name": "handleItemFocus",
1662
+ "privacy": "private",
1663
+ "inheritedFrom": {
1664
+ "name": "Accordion",
1665
+ "module": "src/accordion/accordion.ts"
1666
+ }
1667
+ },
1668
+ {
1669
+ "kind": "method",
1670
+ "name": "adjust",
1671
+ "privacy": "private",
1672
+ "return": {
1673
+ "type": {
1674
+ "text": "void"
1675
+ }
1676
+ },
1677
+ "parameters": [
1678
+ {
1679
+ "name": "adjustment",
1680
+ "type": {
1681
+ "text": "number"
1682
+ }
1683
+ }
1684
+ ],
1685
+ "inheritedFrom": {
1686
+ "name": "Accordion",
1687
+ "module": "src/accordion/accordion.ts"
1688
+ }
1689
+ },
1690
+ {
1691
+ "kind": "method",
1692
+ "name": "focusItem",
1608
1693
  "privacy": "private",
1694
+ "return": {
1695
+ "type": {
1696
+ "text": "void"
1697
+ }
1698
+ },
1609
1699
  "inheritedFrom": {
1610
- "name": "AccordionItem",
1611
- "module": "src/accordion-item/accordion-item.ts"
1700
+ "name": "Accordion",
1701
+ "module": "src/accordion/accordion.ts"
1612
1702
  }
1613
1703
  },
1614
1704
  {
@@ -1725,18 +1815,18 @@
1725
1815
  ],
1726
1816
  "events": [
1727
1817
  {
1728
- "description": "Fires a custom 'change' event when the button is invoked",
1818
+ "description": "Fires a custom 'change' event when the active item changes",
1729
1819
  "name": "change",
1730
1820
  "inheritedFrom": {
1731
- "name": "AccordionItem",
1732
- "module": "src/accordion-item/accordion-item.ts"
1821
+ "name": "Accordion",
1822
+ "module": "src/accordion/accordion.ts"
1733
1823
  }
1734
1824
  }
1735
1825
  ]
1736
1826
  },
1737
1827
  {
1738
1828
  "kind": "variable",
1739
- "name": "foundationAccordionItemShadowOptions",
1829
+ "name": "foundationAccordionShadowOptions",
1740
1830
  "type": {
1741
1831
  "text": "ShadowRootInit"
1742
1832
  },
@@ -1744,57 +1834,57 @@
1744
1834
  },
1745
1835
  {
1746
1836
  "kind": "variable",
1747
- "name": "defaultAccordionItemConfig",
1837
+ "name": "defaultAccordionConfig",
1748
1838
  "type": {
1749
1839
  "text": "object"
1750
1840
  },
1751
- "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}"
1841
+ "default": "{}"
1752
1842
  },
1753
1843
  {
1754
1844
  "kind": "variable",
1755
- "name": "foundationAccordionItem",
1756
- "description": "The Foundation Accordion Item",
1845
+ "name": "foundationAccordion",
1846
+ "description": "The Foundation Accordion",
1757
1847
  "privacy": "public"
1758
1848
  }
1759
1849
  ],
1760
1850
  "exports": [
1761
1851
  {
1762
1852
  "kind": "js",
1763
- "name": "AccordionItem",
1853
+ "name": "Accordion",
1764
1854
  "declaration": {
1765
- "name": "AccordionItem",
1766
- "module": "src/accordion-item/accordion-item.ts"
1855
+ "name": "Accordion",
1856
+ "module": "src/accordion/accordion.ts"
1767
1857
  }
1768
1858
  },
1769
1859
  {
1770
1860
  "kind": "js",
1771
- "name": "foundationAccordionItemShadowOptions",
1861
+ "name": "foundationAccordionShadowOptions",
1772
1862
  "declaration": {
1773
- "name": "foundationAccordionItemShadowOptions",
1774
- "module": "src/accordion-item/accordion-item.ts"
1863
+ "name": "foundationAccordionShadowOptions",
1864
+ "module": "src/accordion/accordion.ts"
1775
1865
  }
1776
1866
  },
1777
1867
  {
1778
1868
  "kind": "js",
1779
- "name": "defaultAccordionItemConfig",
1869
+ "name": "defaultAccordionConfig",
1780
1870
  "declaration": {
1781
- "name": "defaultAccordionItemConfig",
1782
- "module": "src/accordion-item/accordion-item.ts"
1871
+ "name": "defaultAccordionConfig",
1872
+ "module": "src/accordion/accordion.ts"
1783
1873
  }
1784
1874
  },
1785
1875
  {
1786
1876
  "kind": "js",
1787
- "name": "foundationAccordionItem",
1877
+ "name": "foundationAccordion",
1788
1878
  "declaration": {
1789
- "name": "foundationAccordionItem",
1790
- "module": "src/accordion-item/accordion-item.ts"
1879
+ "name": "foundationAccordion",
1880
+ "module": "src/accordion/accordion.ts"
1791
1881
  }
1792
1882
  }
1793
1883
  ]
1794
1884
  },
1795
1885
  {
1796
1886
  "kind": "javascript-module",
1797
- "path": "src/accordion-item/index.ts",
1887
+ "path": "src/accordion/index.ts",
1798
1888
  "declarations": [],
1799
1889
  "exports": [
1800
1890
  {
@@ -1802,7 +1892,7 @@
1802
1892
  "name": "*",
1803
1893
  "declaration": {
1804
1894
  "name": "*",
1805
- "package": "./accordion-item.template"
1895
+ "package": "./accordion.template"
1806
1896
  }
1807
1897
  },
1808
1898
  {
@@ -1810,7 +1900,7 @@
1810
1900
  "name": "*",
1811
1901
  "declaration": {
1812
1902
  "name": "*",
1813
- "package": "./accordion-item.styles"
1903
+ "package": "./accordion.styles"
1814
1904
  }
1815
1905
  },
1816
1906
  {
@@ -1818,60 +1908,52 @@
1818
1908
  "name": "*",
1819
1909
  "declaration": {
1820
1910
  "name": "*",
1821
- "package": "./accordion-item"
1911
+ "package": "./accordion"
1822
1912
  }
1823
1913
  }
1824
1914
  ]
1825
1915
  },
1826
1916
  {
1827
1917
  "kind": "javascript-module",
1828
- "path": "src/accordion/accordion.styles.ts",
1829
- "declarations": [
1830
- {
1831
- "kind": "function",
1832
- "name": "foundationAccordionStyles",
1833
- "return": {
1834
- "type": {
1835
- "text": "ElementStyles"
1836
- }
1837
- },
1838
- "parameters": [
1839
- {
1840
- "name": "context",
1841
- "type": {
1842
- "text": "ElementDefinitionContext"
1843
- }
1844
- },
1845
- {
1846
- "name": "definition",
1847
- "type": {
1848
- "text": "FoundationElementDefinition"
1849
- }
1850
- }
1851
- ]
1852
- }
1853
- ],
1918
+ "path": "src/_config/index.ts",
1919
+ "declarations": [],
1854
1920
  "exports": [
1855
1921
  {
1856
1922
  "kind": "js",
1857
- "name": "foundationAccordionStyles",
1923
+ "name": "*",
1858
1924
  "declaration": {
1859
- "name": "foundationAccordionStyles",
1860
- "module": "src/accordion/accordion.styles.ts"
1925
+ "name": "*",
1926
+ "package": "./styles"
1927
+ }
1928
+ },
1929
+ {
1930
+ "kind": "js",
1931
+ "name": "*",
1932
+ "declaration": {
1933
+ "name": "*",
1934
+ "package": "./tokens"
1935
+ }
1936
+ },
1937
+ {
1938
+ "kind": "js",
1939
+ "name": "*",
1940
+ "declaration": {
1941
+ "name": "*",
1942
+ "package": "./values"
1861
1943
  }
1862
1944
  }
1863
1945
  ]
1864
1946
  },
1865
1947
  {
1866
1948
  "kind": "javascript-module",
1867
- "path": "src/accordion/accordion.template.ts",
1949
+ "path": "src/accordion-item/accordion-item.styles.ts",
1868
1950
  "declarations": [
1869
1951
  {
1870
1952
  "kind": "function",
1871
- "name": "foundationAccordionTemplate",
1953
+ "name": "foundationAccordionItemStyles",
1872
1954
  "return": {
1873
1955
  "type": {
1874
- "text": "ViewTemplate<Accordion>"
1956
+ "text": "ElementStyles"
1875
1957
  }
1876
1958
  },
1877
1959
  "parameters": [
@@ -1893,237 +1975,155 @@
1893
1975
  "exports": [
1894
1976
  {
1895
1977
  "kind": "js",
1896
- "name": "foundationAccordionTemplate",
1978
+ "name": "foundationAccordionItemStyles",
1897
1979
  "declaration": {
1898
- "name": "foundationAccordionTemplate",
1899
- "module": "src/accordion/accordion.template.ts"
1980
+ "name": "foundationAccordionItemStyles",
1981
+ "module": "src/accordion-item/accordion-item.styles.ts"
1900
1982
  }
1901
1983
  }
1902
1984
  ]
1903
1985
  },
1904
1986
  {
1905
1987
  "kind": "javascript-module",
1906
- "path": "src/accordion/accordion.ts",
1988
+ "path": "src/accordion-item/accordion-item.template.ts",
1907
1989
  "declarations": [
1908
1990
  {
1909
- "kind": "class",
1910
- "description": "",
1911
- "name": "Accordion",
1912
- "superclass": {
1913
- "name": "FASTAccordion",
1914
- "package": "@microsoft/fast-foundation"
1915
- },
1916
- "tagName": "%%prefix%%-accordion",
1917
- "customElement": true,
1918
- "attributes": [
1919
- {
1920
- "name": "expand-mode",
1921
- "type": {
1922
- "text": "AccordionExpandMode"
1923
- },
1924
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1925
- "fieldName": "expandmode",
1926
- "inheritedFrom": {
1927
- "name": "Accordion",
1928
- "module": "src/accordion/accordion.ts"
1929
- }
1991
+ "kind": "function",
1992
+ "name": "foundationAccordionItemTemplate",
1993
+ "return": {
1994
+ "type": {
1995
+ "text": "ViewTemplate<AccordionItem>"
1930
1996
  }
1931
- ],
1932
- "members": [
1933
- {
1934
- "kind": "field",
1935
- "name": "expandmode",
1936
- "type": {
1937
- "text": "AccordionExpandMode"
1938
- },
1939
- "privacy": "public",
1940
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1941
- "inheritedFrom": {
1942
- "name": "Accordion",
1943
- "module": "src/accordion/accordion.ts"
1944
- }
1945
- },
1946
- {
1947
- "kind": "field",
1948
- "name": "activeid",
1949
- "type": {
1950
- "text": "string | null"
1951
- },
1952
- "privacy": "private",
1953
- "inheritedFrom": {
1954
- "name": "Accordion",
1955
- "module": "src/accordion/accordion.ts"
1956
- }
1957
- },
1958
- {
1959
- "kind": "field",
1960
- "name": "activeItemIndex",
1961
- "type": {
1962
- "text": "number"
1963
- },
1964
- "privacy": "private",
1965
- "default": "0",
1966
- "inheritedFrom": {
1967
- "name": "Accordion",
1968
- "module": "src/accordion/accordion.ts"
1969
- }
1970
- },
1997
+ },
1998
+ "parameters": [
1971
1999
  {
1972
- "kind": "field",
1973
- "name": "accordionIds",
2000
+ "name": "context",
1974
2001
  "type": {
1975
- "text": "Array<string | null>"
1976
- },
1977
- "privacy": "private",
1978
- "inheritedFrom": {
1979
- "name": "Accordion",
1980
- "module": "src/accordion/accordion.ts"
1981
- }
1982
- },
1983
- {
1984
- "kind": "field",
1985
- "name": "change",
1986
- "privacy": "private",
1987
- "inheritedFrom": {
1988
- "name": "Accordion",
1989
- "module": "src/accordion/accordion.ts"
1990
- }
1991
- },
1992
- {
1993
- "kind": "method",
1994
- "name": "findExpandedItem",
1995
- "privacy": "private",
1996
- "return": {
1997
- "type": {
1998
- "text": "AccordionItem | null"
1999
- }
2000
- },
2001
- "inheritedFrom": {
2002
- "name": "Accordion",
2003
- "module": "src/accordion/accordion.ts"
2004
- }
2005
- },
2006
- {
2007
- "kind": "field",
2008
- "name": "setItems",
2009
- "privacy": "private",
2010
- "inheritedFrom": {
2011
- "name": "Accordion",
2012
- "module": "src/accordion/accordion.ts"
2013
- }
2014
- },
2015
- {
2016
- "kind": "method",
2017
- "name": "resetItems",
2018
- "privacy": "private",
2019
- "return": {
2020
- "type": {
2021
- "text": "void"
2022
- }
2023
- },
2024
- "inheritedFrom": {
2025
- "name": "Accordion",
2026
- "module": "src/accordion/accordion.ts"
2027
- }
2028
- },
2029
- {
2030
- "kind": "field",
2031
- "name": "removeItemListeners",
2032
- "privacy": "private",
2033
- "inheritedFrom": {
2034
- "name": "Accordion",
2035
- "module": "src/accordion/accordion.ts"
2002
+ "text": "ElementDefinitionContext"
2036
2003
  }
2037
2004
  },
2038
2005
  {
2039
- "kind": "field",
2040
- "name": "activeItemChange",
2041
- "privacy": "private",
2006
+ "name": "definition",
2007
+ "type": {
2008
+ "text": "FoundationElementDefinition"
2009
+ }
2010
+ }
2011
+ ]
2012
+ }
2013
+ ],
2014
+ "exports": [
2015
+ {
2016
+ "kind": "js",
2017
+ "name": "foundationAccordionItemTemplate",
2018
+ "declaration": {
2019
+ "name": "foundationAccordionItemTemplate",
2020
+ "module": "src/accordion-item/accordion-item.template.ts"
2021
+ }
2022
+ }
2023
+ ]
2024
+ },
2025
+ {
2026
+ "kind": "javascript-module",
2027
+ "path": "src/accordion-item/accordion-item.ts",
2028
+ "declarations": [
2029
+ {
2030
+ "kind": "class",
2031
+ "description": "",
2032
+ "name": "AccordionItem",
2033
+ "superclass": {
2034
+ "name": "FASTAccordionItem",
2035
+ "package": "@microsoft/fast-components"
2036
+ },
2037
+ "tagName": "%%prefix%%-accordion-item",
2038
+ "customElement": true,
2039
+ "attributes": [
2040
+ {
2041
+ "name": "heading-level",
2042
+ "type": {
2043
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2044
+ },
2045
+ "default": "2",
2046
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2047
+ "fieldName": "headinglevel",
2042
2048
  "inheritedFrom": {
2043
- "name": "Accordion",
2044
- "module": "src/accordion/accordion.ts"
2049
+ "name": "AccordionItem",
2050
+ "module": "src/accordion-item/accordion-item.ts"
2045
2051
  }
2046
2052
  },
2047
2053
  {
2048
- "kind": "method",
2049
- "name": "getItemIds",
2050
- "privacy": "private",
2051
- "return": {
2052
- "type": {
2053
- "text": "Array<string | null>"
2054
- }
2054
+ "type": {
2055
+ "text": "boolean"
2055
2056
  },
2057
+ "default": "false",
2058
+ "description": "Expands or collapses the item.",
2059
+ "fieldName": "expanded",
2056
2060
  "inheritedFrom": {
2057
- "name": "Accordion",
2058
- "module": "src/accordion/accordion.ts"
2061
+ "name": "AccordionItem",
2062
+ "module": "src/accordion-item/accordion-item.ts"
2059
2063
  }
2060
2064
  },
2061
2065
  {
2062
- "kind": "method",
2063
- "name": "isSingleExpandMode",
2064
- "privacy": "private",
2065
- "return": {
2066
- "type": {
2067
- "text": "boolean"
2068
- }
2066
+ "name": "id",
2067
+ "type": {
2068
+ "text": "string"
2069
2069
  },
2070
+ "description": "The item ID",
2071
+ "fieldName": "id",
2070
2072
  "inheritedFrom": {
2071
- "name": "Accordion",
2072
- "module": "src/accordion/accordion.ts"
2073
+ "name": "AccordionItem",
2074
+ "module": "src/accordion-item/accordion-item.ts"
2073
2075
  }
2074
- },
2076
+ }
2077
+ ],
2078
+ "members": [
2075
2079
  {
2076
2080
  "kind": "field",
2077
- "name": "handleItemKeyDown",
2078
- "privacy": "private",
2081
+ "name": "headinglevel",
2082
+ "type": {
2083
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2084
+ },
2085
+ "privacy": "public",
2086
+ "default": "2",
2087
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2079
2088
  "inheritedFrom": {
2080
- "name": "Accordion",
2081
- "module": "src/accordion/accordion.ts"
2089
+ "name": "AccordionItem",
2090
+ "module": "src/accordion-item/accordion-item.ts"
2082
2091
  }
2083
2092
  },
2084
2093
  {
2085
2094
  "kind": "field",
2086
- "name": "handleItemFocus",
2087
- "privacy": "private",
2095
+ "name": "expanded",
2096
+ "type": {
2097
+ "text": "boolean"
2098
+ },
2099
+ "privacy": "public",
2100
+ "default": "false",
2101
+ "description": "Expands or collapses the item.",
2088
2102
  "inheritedFrom": {
2089
- "name": "Accordion",
2090
- "module": "src/accordion/accordion.ts"
2103
+ "name": "AccordionItem",
2104
+ "module": "src/accordion-item/accordion-item.ts"
2091
2105
  }
2092
2106
  },
2093
2107
  {
2094
- "kind": "method",
2095
- "name": "adjust",
2096
- "privacy": "private",
2097
- "return": {
2098
- "type": {
2099
- "text": "void"
2100
- }
2108
+ "kind": "field",
2109
+ "name": "id",
2110
+ "type": {
2111
+ "text": "string"
2101
2112
  },
2102
- "parameters": [
2103
- {
2104
- "name": "adjustment",
2105
- "type": {
2106
- "text": "number"
2107
- }
2108
- }
2109
- ],
2113
+ "privacy": "public",
2114
+ "description": "The item ID",
2110
2115
  "inheritedFrom": {
2111
- "name": "Accordion",
2112
- "module": "src/accordion/accordion.ts"
2116
+ "name": "AccordionItem",
2117
+ "module": "src/accordion-item/accordion-item.ts"
2113
2118
  }
2114
2119
  },
2115
2120
  {
2116
- "kind": "method",
2117
- "name": "focusItem",
2121
+ "kind": "field",
2122
+ "name": "change",
2118
2123
  "privacy": "private",
2119
- "return": {
2120
- "type": {
2121
- "text": "void"
2122
- }
2123
- },
2124
2124
  "inheritedFrom": {
2125
- "name": "Accordion",
2126
- "module": "src/accordion/accordion.ts"
2125
+ "name": "AccordionItem",
2126
+ "module": "src/accordion-item/accordion-item.ts"
2127
2127
  }
2128
2128
  },
2129
2129
  {
@@ -2240,18 +2240,18 @@
2240
2240
  ],
2241
2241
  "events": [
2242
2242
  {
2243
- "description": "Fires a custom 'change' event when the active item changes",
2243
+ "description": "Fires a custom 'change' event when the button is invoked",
2244
2244
  "name": "change",
2245
2245
  "inheritedFrom": {
2246
- "name": "Accordion",
2247
- "module": "src/accordion/accordion.ts"
2246
+ "name": "AccordionItem",
2247
+ "module": "src/accordion-item/accordion-item.ts"
2248
2248
  }
2249
2249
  }
2250
2250
  ]
2251
2251
  },
2252
2252
  {
2253
2253
  "kind": "variable",
2254
- "name": "foundationAccordionShadowOptions",
2254
+ "name": "foundationAccordionItemShadowOptions",
2255
2255
  "type": {
2256
2256
  "text": "ShadowRootInit"
2257
2257
  },
@@ -2259,57 +2259,57 @@
2259
2259
  },
2260
2260
  {
2261
2261
  "kind": "variable",
2262
- "name": "defaultAccordionConfig",
2262
+ "name": "defaultAccordionItemConfig",
2263
2263
  "type": {
2264
2264
  "text": "object"
2265
2265
  },
2266
- "default": "{}"
2266
+ "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}"
2267
2267
  },
2268
2268
  {
2269
2269
  "kind": "variable",
2270
- "name": "foundationAccordion",
2271
- "description": "The Foundation Accordion",
2270
+ "name": "foundationAccordionItem",
2271
+ "description": "The Foundation Accordion Item",
2272
2272
  "privacy": "public"
2273
2273
  }
2274
2274
  ],
2275
2275
  "exports": [
2276
2276
  {
2277
2277
  "kind": "js",
2278
- "name": "Accordion",
2278
+ "name": "AccordionItem",
2279
2279
  "declaration": {
2280
- "name": "Accordion",
2281
- "module": "src/accordion/accordion.ts"
2280
+ "name": "AccordionItem",
2281
+ "module": "src/accordion-item/accordion-item.ts"
2282
2282
  }
2283
2283
  },
2284
2284
  {
2285
2285
  "kind": "js",
2286
- "name": "foundationAccordionShadowOptions",
2286
+ "name": "foundationAccordionItemShadowOptions",
2287
2287
  "declaration": {
2288
- "name": "foundationAccordionShadowOptions",
2289
- "module": "src/accordion/accordion.ts"
2288
+ "name": "foundationAccordionItemShadowOptions",
2289
+ "module": "src/accordion-item/accordion-item.ts"
2290
2290
  }
2291
2291
  },
2292
2292
  {
2293
2293
  "kind": "js",
2294
- "name": "defaultAccordionConfig",
2294
+ "name": "defaultAccordionItemConfig",
2295
2295
  "declaration": {
2296
- "name": "defaultAccordionConfig",
2297
- "module": "src/accordion/accordion.ts"
2296
+ "name": "defaultAccordionItemConfig",
2297
+ "module": "src/accordion-item/accordion-item.ts"
2298
2298
  }
2299
2299
  },
2300
2300
  {
2301
2301
  "kind": "js",
2302
- "name": "foundationAccordion",
2302
+ "name": "foundationAccordionItem",
2303
2303
  "declaration": {
2304
- "name": "foundationAccordion",
2305
- "module": "src/accordion/accordion.ts"
2304
+ "name": "foundationAccordionItem",
2305
+ "module": "src/accordion-item/accordion-item.ts"
2306
2306
  }
2307
2307
  }
2308
2308
  ]
2309
2309
  },
2310
2310
  {
2311
2311
  "kind": "javascript-module",
2312
- "path": "src/accordion/index.ts",
2312
+ "path": "src/accordion-item/index.ts",
2313
2313
  "declarations": [],
2314
2314
  "exports": [
2315
2315
  {
@@ -2317,7 +2317,7 @@
2317
2317
  "name": "*",
2318
2318
  "declaration": {
2319
2319
  "name": "*",
2320
- "package": "./accordion.template"
2320
+ "package": "./accordion-item.template"
2321
2321
  }
2322
2322
  },
2323
2323
  {
@@ -2325,7 +2325,7 @@
2325
2325
  "name": "*",
2326
2326
  "declaration": {
2327
2327
  "name": "*",
2328
- "package": "./accordion.styles"
2328
+ "package": "./accordion-item.styles"
2329
2329
  }
2330
2330
  },
2331
2331
  {
@@ -2333,7 +2333,7 @@
2333
2333
  "name": "*",
2334
2334
  "declaration": {
2335
2335
  "name": "*",
2336
- "package": "./accordion"
2336
+ "package": "./accordion-item"
2337
2337
  }
2338
2338
  }
2339
2339
  ]
@@ -6067,11 +6067,11 @@
6067
6067
  },
6068
6068
  {
6069
6069
  "kind": "javascript-module",
6070
- "path": "src/avatar/avatar.styles.ts",
6070
+ "path": "src/badge/badge.styles.ts",
6071
6071
  "declarations": [
6072
6072
  {
6073
6073
  "kind": "function",
6074
- "name": "foundationAvatarStyles",
6074
+ "name": "foundationBadgeStyles",
6075
6075
  "return": {
6076
6076
  "type": {
6077
6077
  "text": "ElementStyles"
@@ -6096,24 +6096,24 @@
6096
6096
  "exports": [
6097
6097
  {
6098
6098
  "kind": "js",
6099
- "name": "foundationAvatarStyles",
6099
+ "name": "foundationBadgeStyles",
6100
6100
  "declaration": {
6101
- "name": "foundationAvatarStyles",
6102
- "module": "src/avatar/avatar.styles.ts"
6101
+ "name": "foundationBadgeStyles",
6102
+ "module": "src/badge/badge.styles.ts"
6103
6103
  }
6104
6104
  }
6105
6105
  ]
6106
6106
  },
6107
6107
  {
6108
6108
  "kind": "javascript-module",
6109
- "path": "src/avatar/avatar.template.ts",
6109
+ "path": "src/badge/badge.template.ts",
6110
6110
  "declarations": [
6111
6111
  {
6112
6112
  "kind": "function",
6113
- "name": "foundationAvatarTemplate",
6113
+ "name": "foundationBadgeTemplate",
6114
6114
  "return": {
6115
6115
  "type": {
6116
- "text": "ViewTemplate<Avatar>"
6116
+ "text": "ViewTemplate<Badge>"
6117
6117
  }
6118
6118
  },
6119
6119
  "parameters": [
@@ -6130,45 +6130,32 @@
6130
6130
  }
6131
6131
  }
6132
6132
  ]
6133
- },
6134
- {
6135
- "kind": "variable",
6136
- "name": "media",
6137
- "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`"
6138
6133
  }
6139
6134
  ],
6140
6135
  "exports": [
6141
6136
  {
6142
6137
  "kind": "js",
6143
- "name": "foundationAvatarTemplate",
6144
- "declaration": {
6145
- "name": "foundationAvatarTemplate",
6146
- "module": "src/avatar/avatar.template.ts"
6147
- }
6148
- },
6149
- {
6150
- "kind": "js",
6151
- "name": "media",
6138
+ "name": "foundationBadgeTemplate",
6152
6139
  "declaration": {
6153
- "name": "media",
6154
- "module": "src/avatar/avatar.template.ts"
6140
+ "name": "foundationBadgeTemplate",
6141
+ "module": "src/badge/badge.template.ts"
6155
6142
  }
6156
6143
  }
6157
6144
  ]
6158
6145
  },
6159
6146
  {
6160
6147
  "kind": "javascript-module",
6161
- "path": "src/avatar/avatar.ts",
6148
+ "path": "src/badge/badge.ts",
6162
6149
  "declarations": [
6163
6150
  {
6164
6151
  "kind": "class",
6165
6152
  "description": "",
6166
- "name": "Avatar",
6153
+ "name": "Badge",
6167
6154
  "superclass": {
6168
- "name": "FASTAvatar",
6155
+ "name": "FASTBadge",
6169
6156
  "package": "@microsoft/fast-components"
6170
6157
  },
6171
- "tagName": "%%prefix%%-avatar",
6158
+ "tagName": "%%prefix%%-badge",
6172
6159
  "customElement": true,
6173
6160
  "attributes": [
6174
6161
  {
@@ -6176,47 +6163,34 @@
6176
6163
  "type": {
6177
6164
  "text": "string"
6178
6165
  },
6179
- "description": "Indicates the Avatar should have a color fill.",
6180
- "fieldName": "fill",
6181
- "inheritedFrom": {
6182
- "name": "Avatar",
6183
- "module": "src/avatar/avatar.ts"
6184
- }
6185
- },
6186
- {
6187
- "name": "color",
6188
- "type": {
6189
- "text": "string"
6190
- },
6191
- "description": "Indicates the Avatar should have a text color.",
6192
- "fieldName": "color",
6166
+ "description": "Indicates the badge should have a filled style.",
6167
+ "fieldName": "fill",
6193
6168
  "inheritedFrom": {
6194
- "name": "Avatar",
6195
- "module": "src/avatar/avatar.ts"
6169
+ "name": "Badge",
6170
+ "module": "src/badge/badge.ts"
6196
6171
  }
6197
6172
  },
6198
6173
  {
6199
- "name": "link",
6174
+ "name": "color",
6200
6175
  "type": {
6201
6176
  "text": "string"
6202
6177
  },
6203
- "description": "Indicates the Avatar should have url link",
6204
- "fieldName": "link",
6178
+ "description": "Indicates the badge should have a filled style.",
6179
+ "fieldName": "color",
6205
6180
  "inheritedFrom": {
6206
- "name": "Avatar",
6207
- "module": "src/avatar/avatar.ts"
6181
+ "name": "Badge",
6182
+ "module": "src/badge/badge.ts"
6208
6183
  }
6209
6184
  },
6210
6185
  {
6211
- "name": "shape",
6212
6186
  "type": {
6213
- "text": "AvatarShape"
6187
+ "text": "boolean"
6214
6188
  },
6215
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6216
- "fieldName": "shape",
6189
+ "description": "Indicates the element should be circular",
6190
+ "fieldName": "circular",
6217
6191
  "inheritedFrom": {
6218
- "name": "Avatar",
6219
- "module": "src/avatar/avatar.ts"
6192
+ "name": "Badge",
6193
+ "module": "src/badge/badge.ts"
6220
6194
  }
6221
6195
  }
6222
6196
  ],
@@ -6228,10 +6202,10 @@
6228
6202
  "text": "string"
6229
6203
  },
6230
6204
  "privacy": "public",
6231
- "description": "Indicates the Avatar should have a color fill.",
6205
+ "description": "Indicates the badge should have a filled style.",
6232
6206
  "inheritedFrom": {
6233
- "name": "Avatar",
6234
- "module": "src/avatar/avatar.ts"
6207
+ "name": "Badge",
6208
+ "module": "src/badge/badge.ts"
6235
6209
  }
6236
6210
  },
6237
6211
  {
@@ -6241,36 +6215,32 @@
6241
6215
  "text": "string"
6242
6216
  },
6243
6217
  "privacy": "public",
6244
- "description": "Indicates the Avatar should have a text color.",
6218
+ "description": "Indicates the badge should have a filled style.",
6245
6219
  "inheritedFrom": {
6246
- "name": "Avatar",
6247
- "module": "src/avatar/avatar.ts"
6220
+ "name": "Badge",
6221
+ "module": "src/badge/badge.ts"
6248
6222
  }
6249
6223
  },
6250
6224
  {
6251
6225
  "kind": "field",
6252
- "name": "link",
6226
+ "name": "circular",
6253
6227
  "type": {
6254
- "text": "string"
6228
+ "text": "boolean"
6255
6229
  },
6256
6230
  "privacy": "public",
6257
- "description": "Indicates the Avatar should have url link",
6231
+ "description": "Indicates the element should be circular",
6258
6232
  "inheritedFrom": {
6259
- "name": "Avatar",
6260
- "module": "src/avatar/avatar.ts"
6233
+ "name": "Badge",
6234
+ "module": "src/badge/badge.ts"
6261
6235
  }
6262
6236
  },
6263
6237
  {
6264
6238
  "kind": "field",
6265
- "name": "shape",
6266
- "type": {
6267
- "text": "AvatarShape"
6268
- },
6239
+ "name": "generateBadgeStyle",
6269
6240
  "privacy": "public",
6270
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6271
6241
  "inheritedFrom": {
6272
- "name": "Avatar",
6273
- "module": "src/avatar/avatar.ts"
6242
+ "name": "Badge",
6243
+ "module": "src/badge/badge.ts"
6274
6244
  }
6275
6245
  },
6276
6246
  {
@@ -6388,65 +6358,65 @@
6388
6358
  },
6389
6359
  {
6390
6360
  "kind": "variable",
6391
- "name": "foundationAvatarShadowOptions",
6361
+ "name": "foundationBadgeShadowOptions",
6392
6362
  "type": {
6393
6363
  "text": "ShadowRootInit"
6394
6364
  },
6395
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
6365
+ "default": "undefined"
6396
6366
  },
6397
6367
  {
6398
6368
  "kind": "variable",
6399
- "name": "defaultAvatarConfig",
6369
+ "name": "defaultBadgeConfig",
6400
6370
  "type": {
6401
6371
  "text": "object"
6402
6372
  },
6403
- "default": "{\n media: mediaTemplate,\n}"
6373
+ "default": "{}"
6404
6374
  },
6405
6375
  {
6406
6376
  "kind": "variable",
6407
- "name": "foundationAvatar",
6408
- "description": "The Foundation Avatar",
6377
+ "name": "foundationBadge",
6378
+ "description": "The Foundation Badge",
6409
6379
  "privacy": "public"
6410
6380
  }
6411
6381
  ],
6412
6382
  "exports": [
6413
6383
  {
6414
6384
  "kind": "js",
6415
- "name": "Avatar",
6385
+ "name": "Badge",
6416
6386
  "declaration": {
6417
- "name": "Avatar",
6418
- "module": "src/avatar/avatar.ts"
6387
+ "name": "Badge",
6388
+ "module": "src/badge/badge.ts"
6419
6389
  }
6420
6390
  },
6421
6391
  {
6422
6392
  "kind": "js",
6423
- "name": "foundationAvatarShadowOptions",
6393
+ "name": "foundationBadgeShadowOptions",
6424
6394
  "declaration": {
6425
- "name": "foundationAvatarShadowOptions",
6426
- "module": "src/avatar/avatar.ts"
6395
+ "name": "foundationBadgeShadowOptions",
6396
+ "module": "src/badge/badge.ts"
6427
6397
  }
6428
6398
  },
6429
6399
  {
6430
6400
  "kind": "js",
6431
- "name": "defaultAvatarConfig",
6401
+ "name": "defaultBadgeConfig",
6432
6402
  "declaration": {
6433
- "name": "defaultAvatarConfig",
6434
- "module": "src/avatar/avatar.ts"
6403
+ "name": "defaultBadgeConfig",
6404
+ "module": "src/badge/badge.ts"
6435
6405
  }
6436
6406
  },
6437
6407
  {
6438
6408
  "kind": "js",
6439
- "name": "foundationAvatar",
6409
+ "name": "foundationBadge",
6440
6410
  "declaration": {
6441
- "name": "foundationAvatar",
6442
- "module": "src/avatar/avatar.ts"
6411
+ "name": "foundationBadge",
6412
+ "module": "src/badge/badge.ts"
6443
6413
  }
6444
6414
  }
6445
6415
  ]
6446
6416
  },
6447
6417
  {
6448
6418
  "kind": "javascript-module",
6449
- "path": "src/avatar/index.ts",
6419
+ "path": "src/badge/index.ts",
6450
6420
  "declarations": [],
6451
6421
  "exports": [
6452
6422
  {
@@ -6454,7 +6424,7 @@
6454
6424
  "name": "*",
6455
6425
  "declaration": {
6456
6426
  "name": "*",
6457
- "package": "./avatar.template"
6427
+ "package": "./badge.template"
6458
6428
  }
6459
6429
  },
6460
6430
  {
@@ -6462,7 +6432,7 @@
6462
6432
  "name": "*",
6463
6433
  "declaration": {
6464
6434
  "name": "*",
6465
- "package": "./avatar.styles"
6435
+ "package": "./badge.styles"
6466
6436
  }
6467
6437
  },
6468
6438
  {
@@ -6470,18 +6440,18 @@
6470
6440
  "name": "*",
6471
6441
  "declaration": {
6472
6442
  "name": "*",
6473
- "package": "./avatar"
6443
+ "package": "./badge"
6474
6444
  }
6475
6445
  }
6476
6446
  ]
6477
6447
  },
6478
6448
  {
6479
6449
  "kind": "javascript-module",
6480
- "path": "src/badge/badge.styles.ts",
6450
+ "path": "src/avatar/avatar.styles.ts",
6481
6451
  "declarations": [
6482
6452
  {
6483
6453
  "kind": "function",
6484
- "name": "foundationBadgeStyles",
6454
+ "name": "foundationAvatarStyles",
6485
6455
  "return": {
6486
6456
  "type": {
6487
6457
  "text": "ElementStyles"
@@ -6506,24 +6476,24 @@
6506
6476
  "exports": [
6507
6477
  {
6508
6478
  "kind": "js",
6509
- "name": "foundationBadgeStyles",
6479
+ "name": "foundationAvatarStyles",
6510
6480
  "declaration": {
6511
- "name": "foundationBadgeStyles",
6512
- "module": "src/badge/badge.styles.ts"
6481
+ "name": "foundationAvatarStyles",
6482
+ "module": "src/avatar/avatar.styles.ts"
6513
6483
  }
6514
6484
  }
6515
6485
  ]
6516
6486
  },
6517
6487
  {
6518
6488
  "kind": "javascript-module",
6519
- "path": "src/badge/badge.template.ts",
6489
+ "path": "src/avatar/avatar.template.ts",
6520
6490
  "declarations": [
6521
6491
  {
6522
6492
  "kind": "function",
6523
- "name": "foundationBadgeTemplate",
6493
+ "name": "foundationAvatarTemplate",
6524
6494
  "return": {
6525
6495
  "type": {
6526
- "text": "ViewTemplate<Badge>"
6496
+ "text": "ViewTemplate<Avatar>"
6527
6497
  }
6528
6498
  },
6529
6499
  "parameters": [
@@ -6540,32 +6510,45 @@
6540
6510
  }
6541
6511
  }
6542
6512
  ]
6513
+ },
6514
+ {
6515
+ "kind": "variable",
6516
+ "name": "media",
6517
+ "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`"
6543
6518
  }
6544
6519
  ],
6545
6520
  "exports": [
6546
6521
  {
6547
6522
  "kind": "js",
6548
- "name": "foundationBadgeTemplate",
6523
+ "name": "foundationAvatarTemplate",
6549
6524
  "declaration": {
6550
- "name": "foundationBadgeTemplate",
6551
- "module": "src/badge/badge.template.ts"
6525
+ "name": "foundationAvatarTemplate",
6526
+ "module": "src/avatar/avatar.template.ts"
6527
+ }
6528
+ },
6529
+ {
6530
+ "kind": "js",
6531
+ "name": "media",
6532
+ "declaration": {
6533
+ "name": "media",
6534
+ "module": "src/avatar/avatar.template.ts"
6552
6535
  }
6553
6536
  }
6554
6537
  ]
6555
6538
  },
6556
6539
  {
6557
6540
  "kind": "javascript-module",
6558
- "path": "src/badge/badge.ts",
6541
+ "path": "src/avatar/avatar.ts",
6559
6542
  "declarations": [
6560
6543
  {
6561
6544
  "kind": "class",
6562
6545
  "description": "",
6563
- "name": "Badge",
6546
+ "name": "Avatar",
6564
6547
  "superclass": {
6565
- "name": "FASTBadge",
6548
+ "name": "FASTAvatar",
6566
6549
  "package": "@microsoft/fast-components"
6567
6550
  },
6568
- "tagName": "%%prefix%%-badge",
6551
+ "tagName": "%%prefix%%-avatar",
6569
6552
  "customElement": true,
6570
6553
  "attributes": [
6571
6554
  {
@@ -6573,11 +6556,11 @@
6573
6556
  "type": {
6574
6557
  "text": "string"
6575
6558
  },
6576
- "description": "Indicates the badge should have a filled style.",
6559
+ "description": "Indicates the Avatar should have a color fill.",
6577
6560
  "fieldName": "fill",
6578
6561
  "inheritedFrom": {
6579
- "name": "Badge",
6580
- "module": "src/badge/badge.ts"
6562
+ "name": "Avatar",
6563
+ "module": "src/avatar/avatar.ts"
6581
6564
  }
6582
6565
  },
6583
6566
  {
@@ -6585,22 +6568,35 @@
6585
6568
  "type": {
6586
6569
  "text": "string"
6587
6570
  },
6588
- "description": "Indicates the badge should have a filled style.",
6571
+ "description": "Indicates the Avatar should have a text color.",
6589
6572
  "fieldName": "color",
6590
6573
  "inheritedFrom": {
6591
- "name": "Badge",
6592
- "module": "src/badge/badge.ts"
6574
+ "name": "Avatar",
6575
+ "module": "src/avatar/avatar.ts"
6593
6576
  }
6594
6577
  },
6595
6578
  {
6579
+ "name": "link",
6596
6580
  "type": {
6597
- "text": "boolean"
6581
+ "text": "string"
6598
6582
  },
6599
- "description": "Indicates the element should be circular",
6600
- "fieldName": "circular",
6583
+ "description": "Indicates the Avatar should have url link",
6584
+ "fieldName": "link",
6601
6585
  "inheritedFrom": {
6602
- "name": "Badge",
6603
- "module": "src/badge/badge.ts"
6586
+ "name": "Avatar",
6587
+ "module": "src/avatar/avatar.ts"
6588
+ }
6589
+ },
6590
+ {
6591
+ "name": "shape",
6592
+ "type": {
6593
+ "text": "AvatarShape"
6594
+ },
6595
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6596
+ "fieldName": "shape",
6597
+ "inheritedFrom": {
6598
+ "name": "Avatar",
6599
+ "module": "src/avatar/avatar.ts"
6604
6600
  }
6605
6601
  }
6606
6602
  ],
@@ -6612,10 +6608,10 @@
6612
6608
  "text": "string"
6613
6609
  },
6614
6610
  "privacy": "public",
6615
- "description": "Indicates the badge should have a filled style.",
6611
+ "description": "Indicates the Avatar should have a color fill.",
6616
6612
  "inheritedFrom": {
6617
- "name": "Badge",
6618
- "module": "src/badge/badge.ts"
6613
+ "name": "Avatar",
6614
+ "module": "src/avatar/avatar.ts"
6619
6615
  }
6620
6616
  },
6621
6617
  {
@@ -6625,32 +6621,36 @@
6625
6621
  "text": "string"
6626
6622
  },
6627
6623
  "privacy": "public",
6628
- "description": "Indicates the badge should have a filled style.",
6624
+ "description": "Indicates the Avatar should have a text color.",
6629
6625
  "inheritedFrom": {
6630
- "name": "Badge",
6631
- "module": "src/badge/badge.ts"
6626
+ "name": "Avatar",
6627
+ "module": "src/avatar/avatar.ts"
6632
6628
  }
6633
6629
  },
6634
6630
  {
6635
6631
  "kind": "field",
6636
- "name": "circular",
6632
+ "name": "link",
6637
6633
  "type": {
6638
- "text": "boolean"
6634
+ "text": "string"
6639
6635
  },
6640
6636
  "privacy": "public",
6641
- "description": "Indicates the element should be circular",
6637
+ "description": "Indicates the Avatar should have url link",
6642
6638
  "inheritedFrom": {
6643
- "name": "Badge",
6644
- "module": "src/badge/badge.ts"
6639
+ "name": "Avatar",
6640
+ "module": "src/avatar/avatar.ts"
6645
6641
  }
6646
6642
  },
6647
6643
  {
6648
6644
  "kind": "field",
6649
- "name": "generateBadgeStyle",
6645
+ "name": "shape",
6646
+ "type": {
6647
+ "text": "AvatarShape"
6648
+ },
6650
6649
  "privacy": "public",
6650
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
6651
6651
  "inheritedFrom": {
6652
- "name": "Badge",
6653
- "module": "src/badge/badge.ts"
6652
+ "name": "Avatar",
6653
+ "module": "src/avatar/avatar.ts"
6654
6654
  }
6655
6655
  },
6656
6656
  {
@@ -6768,65 +6768,65 @@
6768
6768
  },
6769
6769
  {
6770
6770
  "kind": "variable",
6771
- "name": "foundationBadgeShadowOptions",
6771
+ "name": "foundationAvatarShadowOptions",
6772
6772
  "type": {
6773
6773
  "text": "ShadowRootInit"
6774
6774
  },
6775
- "default": "undefined"
6775
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
6776
6776
  },
6777
6777
  {
6778
6778
  "kind": "variable",
6779
- "name": "defaultBadgeConfig",
6779
+ "name": "defaultAvatarConfig",
6780
6780
  "type": {
6781
6781
  "text": "object"
6782
6782
  },
6783
- "default": "{}"
6783
+ "default": "{\n media: mediaTemplate,\n}"
6784
6784
  },
6785
6785
  {
6786
6786
  "kind": "variable",
6787
- "name": "foundationBadge",
6788
- "description": "The Foundation Badge",
6787
+ "name": "foundationAvatar",
6788
+ "description": "The Foundation Avatar",
6789
6789
  "privacy": "public"
6790
6790
  }
6791
6791
  ],
6792
6792
  "exports": [
6793
6793
  {
6794
6794
  "kind": "js",
6795
- "name": "Badge",
6795
+ "name": "Avatar",
6796
6796
  "declaration": {
6797
- "name": "Badge",
6798
- "module": "src/badge/badge.ts"
6797
+ "name": "Avatar",
6798
+ "module": "src/avatar/avatar.ts"
6799
6799
  }
6800
6800
  },
6801
6801
  {
6802
6802
  "kind": "js",
6803
- "name": "foundationBadgeShadowOptions",
6803
+ "name": "foundationAvatarShadowOptions",
6804
6804
  "declaration": {
6805
- "name": "foundationBadgeShadowOptions",
6806
- "module": "src/badge/badge.ts"
6805
+ "name": "foundationAvatarShadowOptions",
6806
+ "module": "src/avatar/avatar.ts"
6807
6807
  }
6808
6808
  },
6809
6809
  {
6810
6810
  "kind": "js",
6811
- "name": "defaultBadgeConfig",
6811
+ "name": "defaultAvatarConfig",
6812
6812
  "declaration": {
6813
- "name": "defaultBadgeConfig",
6814
- "module": "src/badge/badge.ts"
6813
+ "name": "defaultAvatarConfig",
6814
+ "module": "src/avatar/avatar.ts"
6815
6815
  }
6816
6816
  },
6817
6817
  {
6818
6818
  "kind": "js",
6819
- "name": "foundationBadge",
6819
+ "name": "foundationAvatar",
6820
6820
  "declaration": {
6821
- "name": "foundationBadge",
6822
- "module": "src/badge/badge.ts"
6821
+ "name": "foundationAvatar",
6822
+ "module": "src/avatar/avatar.ts"
6823
6823
  }
6824
6824
  }
6825
6825
  ]
6826
6826
  },
6827
6827
  {
6828
6828
  "kind": "javascript-module",
6829
- "path": "src/badge/index.ts",
6829
+ "path": "src/avatar/index.ts",
6830
6830
  "declarations": [],
6831
6831
  "exports": [
6832
6832
  {
@@ -6834,7 +6834,7 @@
6834
6834
  "name": "*",
6835
6835
  "declaration": {
6836
6836
  "name": "*",
6837
- "package": "./badge.template"
6837
+ "package": "./avatar.template"
6838
6838
  }
6839
6839
  },
6840
6840
  {
@@ -6842,7 +6842,7 @@
6842
6842
  "name": "*",
6843
6843
  "declaration": {
6844
6844
  "name": "*",
6845
- "package": "./badge.styles"
6845
+ "package": "./avatar.styles"
6846
6846
  }
6847
6847
  },
6848
6848
  {
@@ -6850,7 +6850,7 @@
6850
6850
  "name": "*",
6851
6851
  "declaration": {
6852
6852
  "name": "*",
6853
- "package": "./badge"
6853
+ "package": "./avatar"
6854
6854
  }
6855
6855
  }
6856
6856
  ]