@genesislcap/foundation-ui 14.211.2 → 14.211.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +716 -716
  2. package/package.json +16 -16
@@ -862,6 +862,219 @@
862
862
  }
863
863
  ]
864
864
  },
865
+ {
866
+ "kind": "javascript-module",
867
+ "path": "src/accordion/accordion.styles.ts",
868
+ "declarations": [
869
+ {
870
+ "kind": "function",
871
+ "name": "foundationAccordionStyles",
872
+ "return": {
873
+ "type": {
874
+ "text": "ElementStyles"
875
+ }
876
+ },
877
+ "parameters": [
878
+ {
879
+ "name": "context",
880
+ "type": {
881
+ "text": "ElementDefinitionContext"
882
+ }
883
+ },
884
+ {
885
+ "name": "definition",
886
+ "type": {
887
+ "text": "FoundationElementDefinition"
888
+ }
889
+ }
890
+ ]
891
+ }
892
+ ],
893
+ "exports": [
894
+ {
895
+ "kind": "js",
896
+ "name": "foundationAccordionStyles",
897
+ "declaration": {
898
+ "name": "foundationAccordionStyles",
899
+ "module": "src/accordion/accordion.styles.ts"
900
+ }
901
+ }
902
+ ]
903
+ },
904
+ {
905
+ "kind": "javascript-module",
906
+ "path": "src/accordion/accordion.template.ts",
907
+ "declarations": [
908
+ {
909
+ "kind": "function",
910
+ "name": "foundationAccordionTemplate",
911
+ "return": {
912
+ "type": {
913
+ "text": "ViewTemplate<Accordion>"
914
+ }
915
+ },
916
+ "parameters": [
917
+ {
918
+ "name": "context",
919
+ "type": {
920
+ "text": "ElementDefinitionContext"
921
+ }
922
+ },
923
+ {
924
+ "name": "definition",
925
+ "type": {
926
+ "text": "FoundationElementDefinition"
927
+ }
928
+ }
929
+ ]
930
+ }
931
+ ],
932
+ "exports": [
933
+ {
934
+ "kind": "js",
935
+ "name": "foundationAccordionTemplate",
936
+ "declaration": {
937
+ "name": "foundationAccordionTemplate",
938
+ "module": "src/accordion/accordion.template.ts"
939
+ }
940
+ }
941
+ ]
942
+ },
943
+ {
944
+ "kind": "javascript-module",
945
+ "path": "src/accordion/accordion.ts",
946
+ "declarations": [
947
+ {
948
+ "kind": "class",
949
+ "description": "",
950
+ "name": "Accordion",
951
+ "superclass": {
952
+ "name": "FASTAccordion",
953
+ "package": "@microsoft/fast-foundation"
954
+ },
955
+ "tagName": "%%prefix%%-accordion",
956
+ "customElement": true
957
+ },
958
+ {
959
+ "kind": "variable",
960
+ "name": "foundationAccordionShadowOptions",
961
+ "type": {
962
+ "text": "ShadowRootInit"
963
+ },
964
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
965
+ },
966
+ {
967
+ "kind": "variable",
968
+ "name": "defaultAccordionConfig",
969
+ "type": {
970
+ "text": "object"
971
+ },
972
+ "default": "{}"
973
+ },
974
+ {
975
+ "kind": "variable",
976
+ "name": "foundationAccordion",
977
+ "description": "The Foundation Accordion",
978
+ "privacy": "public"
979
+ }
980
+ ],
981
+ "exports": [
982
+ {
983
+ "kind": "js",
984
+ "name": "Accordion",
985
+ "declaration": {
986
+ "name": "Accordion",
987
+ "module": "src/accordion/accordion.ts"
988
+ }
989
+ },
990
+ {
991
+ "kind": "js",
992
+ "name": "foundationAccordionShadowOptions",
993
+ "declaration": {
994
+ "name": "foundationAccordionShadowOptions",
995
+ "module": "src/accordion/accordion.ts"
996
+ }
997
+ },
998
+ {
999
+ "kind": "js",
1000
+ "name": "defaultAccordionConfig",
1001
+ "declaration": {
1002
+ "name": "defaultAccordionConfig",
1003
+ "module": "src/accordion/accordion.ts"
1004
+ }
1005
+ },
1006
+ {
1007
+ "kind": "js",
1008
+ "name": "foundationAccordion",
1009
+ "declaration": {
1010
+ "name": "foundationAccordion",
1011
+ "module": "src/accordion/accordion.ts"
1012
+ }
1013
+ }
1014
+ ]
1015
+ },
1016
+ {
1017
+ "kind": "javascript-module",
1018
+ "path": "src/accordion/index.ts",
1019
+ "declarations": [],
1020
+ "exports": [
1021
+ {
1022
+ "kind": "js",
1023
+ "name": "*",
1024
+ "declaration": {
1025
+ "name": "*",
1026
+ "package": "./accordion.template"
1027
+ }
1028
+ },
1029
+ {
1030
+ "kind": "js",
1031
+ "name": "*",
1032
+ "declaration": {
1033
+ "name": "*",
1034
+ "package": "./accordion.styles"
1035
+ }
1036
+ },
1037
+ {
1038
+ "kind": "js",
1039
+ "name": "*",
1040
+ "declaration": {
1041
+ "name": "*",
1042
+ "package": "./accordion"
1043
+ }
1044
+ }
1045
+ ]
1046
+ },
1047
+ {
1048
+ "kind": "javascript-module",
1049
+ "path": "src/_config/index.ts",
1050
+ "declarations": [],
1051
+ "exports": [
1052
+ {
1053
+ "kind": "js",
1054
+ "name": "*",
1055
+ "declaration": {
1056
+ "name": "*",
1057
+ "package": "./styles"
1058
+ }
1059
+ },
1060
+ {
1061
+ "kind": "js",
1062
+ "name": "*",
1063
+ "declaration": {
1064
+ "name": "*",
1065
+ "package": "./tokens"
1066
+ }
1067
+ },
1068
+ {
1069
+ "kind": "js",
1070
+ "name": "*",
1071
+ "declaration": {
1072
+ "name": "*",
1073
+ "package": "./values"
1074
+ }
1075
+ }
1076
+ ]
1077
+ },
865
1078
  {
866
1079
  "kind": "javascript-module",
867
1080
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -1423,42 +1636,11 @@
1423
1636
  },
1424
1637
  {
1425
1638
  "kind": "javascript-module",
1426
- "path": "src/_config/index.ts",
1427
- "declarations": [],
1428
- "exports": [
1429
- {
1430
- "kind": "js",
1431
- "name": "*",
1432
- "declaration": {
1433
- "name": "*",
1434
- "package": "./styles"
1435
- }
1436
- },
1437
- {
1438
- "kind": "js",
1439
- "name": "*",
1440
- "declaration": {
1441
- "name": "*",
1442
- "package": "./tokens"
1443
- }
1444
- },
1445
- {
1446
- "kind": "js",
1447
- "name": "*",
1448
- "declaration": {
1449
- "name": "*",
1450
- "package": "./values"
1451
- }
1452
- }
1453
- ]
1454
- },
1455
- {
1456
- "kind": "javascript-module",
1457
- "path": "src/anchor/anchor.styles.ts",
1639
+ "path": "src/accordion-item/accordion-item.styles.ts",
1458
1640
  "declarations": [
1459
1641
  {
1460
1642
  "kind": "function",
1461
- "name": "foundationAnchorStyles",
1643
+ "name": "foundationAccordionItemStyles",
1462
1644
  "return": {
1463
1645
  "type": {
1464
1646
  "text": "ElementStyles"
@@ -1483,24 +1665,24 @@
1483
1665
  "exports": [
1484
1666
  {
1485
1667
  "kind": "js",
1486
- "name": "foundationAnchorStyles",
1668
+ "name": "foundationAccordionItemStyles",
1487
1669
  "declaration": {
1488
- "name": "foundationAnchorStyles",
1489
- "module": "src/anchor/anchor.styles.ts"
1670
+ "name": "foundationAccordionItemStyles",
1671
+ "module": "src/accordion-item/accordion-item.styles.ts"
1490
1672
  }
1491
1673
  }
1492
1674
  ]
1493
1675
  },
1494
1676
  {
1495
1677
  "kind": "javascript-module",
1496
- "path": "src/anchor/anchor.template.ts",
1678
+ "path": "src/accordion-item/accordion-item.template.ts",
1497
1679
  "declarations": [
1498
1680
  {
1499
1681
  "kind": "function",
1500
- "name": "foundationAnchorTemplate",
1682
+ "name": "foundationAccordionItemTemplate",
1501
1683
  "return": {
1502
1684
  "type": {
1503
- "text": "ViewTemplate<Anchor>"
1685
+ "text": "ViewTemplate<AccordionItem>"
1504
1686
  }
1505
1687
  },
1506
1688
  "parameters": [
@@ -1522,252 +1704,116 @@
1522
1704
  "exports": [
1523
1705
  {
1524
1706
  "kind": "js",
1525
- "name": "foundationAnchorTemplate",
1707
+ "name": "foundationAccordionItemTemplate",
1526
1708
  "declaration": {
1527
- "name": "foundationAnchorTemplate",
1528
- "module": "src/anchor/anchor.template.ts"
1709
+ "name": "foundationAccordionItemTemplate",
1710
+ "module": "src/accordion-item/accordion-item.template.ts"
1529
1711
  }
1530
1712
  }
1531
1713
  ]
1532
1714
  },
1533
1715
  {
1534
1716
  "kind": "javascript-module",
1535
- "path": "src/anchor/anchor.ts",
1717
+ "path": "src/accordion-item/accordion-item.ts",
1536
1718
  "declarations": [
1537
1719
  {
1538
1720
  "kind": "class",
1539
1721
  "description": "",
1540
- "name": "Anchor",
1722
+ "name": "AccordionItem",
1541
1723
  "superclass": {
1542
- "name": "FASTAnchor",
1724
+ "name": "FASTAccordionItem",
1543
1725
  "package": "@microsoft/fast-components"
1544
1726
  },
1545
- "tagName": "%%prefix%%-anchor",
1727
+ "tagName": "%%prefix%%-accordion-item",
1546
1728
  "customElement": true,
1547
1729
  "attributes": [
1548
1730
  {
1549
- "name": "download",
1550
- "type": {
1551
- "text": "string"
1552
- },
1553
- "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1554
- "fieldName": "download",
1555
- "inheritedFrom": {
1556
- "name": "Anchor",
1557
- "module": "src/anchor/anchor.ts"
1558
- }
1559
- },
1560
- {
1561
- "name": "href",
1562
- "type": {
1563
- "text": "string"
1564
- },
1565
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1566
- "fieldName": "href",
1567
- "inheritedFrom": {
1568
- "name": "Anchor",
1569
- "module": "src/anchor/anchor.ts"
1570
- }
1571
- },
1572
- {
1573
- "name": "hreflang",
1574
- "type": {
1575
- "text": "string"
1576
- },
1577
- "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1578
- "fieldName": "hreflang",
1579
- "inheritedFrom": {
1580
- "name": "Anchor",
1581
- "module": "src/anchor/anchor.ts"
1582
- }
1583
- },
1584
- {
1585
- "name": "ping",
1586
- "type": {
1587
- "text": "string"
1588
- },
1589
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1590
- "fieldName": "ping",
1591
- "inheritedFrom": {
1592
- "name": "Anchor",
1593
- "module": "src/anchor/anchor.ts"
1594
- }
1595
- },
1596
- {
1597
- "name": "referrerpolicy",
1598
- "type": {
1599
- "text": "string"
1600
- },
1601
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1602
- "fieldName": "referrerpolicy",
1603
- "inheritedFrom": {
1604
- "name": "Anchor",
1605
- "module": "src/anchor/anchor.ts"
1606
- }
1607
- },
1608
- {
1609
- "name": "rel",
1731
+ "name": "heading-level",
1610
1732
  "type": {
1611
- "text": "string"
1733
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1612
1734
  },
1613
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1614
- "fieldName": "rel",
1735
+ "default": "2",
1736
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1737
+ "fieldName": "headinglevel",
1615
1738
  "inheritedFrom": {
1616
- "name": "Anchor",
1617
- "module": "src/anchor/anchor.ts"
1739
+ "name": "AccordionItem",
1740
+ "module": "src/accordion-item/accordion-item.ts"
1618
1741
  }
1619
1742
  },
1620
1743
  {
1621
- "name": "target",
1622
1744
  "type": {
1623
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1745
+ "text": "boolean"
1624
1746
  },
1625
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1626
- "fieldName": "target",
1747
+ "default": "false",
1748
+ "description": "Expands or collapses the item.",
1749
+ "fieldName": "expanded",
1627
1750
  "inheritedFrom": {
1628
- "name": "Anchor",
1629
- "module": "src/anchor/anchor.ts"
1751
+ "name": "AccordionItem",
1752
+ "module": "src/accordion-item/accordion-item.ts"
1630
1753
  }
1631
1754
  },
1632
1755
  {
1633
- "name": "type",
1756
+ "name": "id",
1634
1757
  "type": {
1635
1758
  "text": "string"
1636
1759
  },
1637
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1638
- "fieldName": "type",
1760
+ "description": "The item ID",
1761
+ "fieldName": "id",
1639
1762
  "inheritedFrom": {
1640
- "name": "Anchor",
1641
- "module": "src/anchor/anchor.ts"
1763
+ "name": "AccordionItem",
1764
+ "module": "src/accordion-item/accordion-item.ts"
1642
1765
  }
1643
1766
  }
1644
1767
  ],
1645
1768
  "members": [
1646
1769
  {
1647
1770
  "kind": "field",
1648
- "name": "download",
1649
- "type": {
1650
- "text": "string"
1651
- },
1652
- "privacy": "public",
1653
- "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1654
- "inheritedFrom": {
1655
- "name": "Anchor",
1656
- "module": "src/anchor/anchor.ts"
1657
- }
1658
- },
1659
- {
1660
- "kind": "field",
1661
- "name": "href",
1662
- "type": {
1663
- "text": "string"
1664
- },
1665
- "privacy": "public",
1666
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1667
- "inheritedFrom": {
1668
- "name": "Anchor",
1669
- "module": "src/anchor/anchor.ts"
1670
- }
1671
- },
1672
- {
1673
- "kind": "field",
1674
- "name": "hreflang",
1675
- "type": {
1676
- "text": "string"
1677
- },
1678
- "privacy": "public",
1679
- "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1680
- "inheritedFrom": {
1681
- "name": "Anchor",
1682
- "module": "src/anchor/anchor.ts"
1683
- }
1684
- },
1685
- {
1686
- "kind": "field",
1687
- "name": "ping",
1688
- "type": {
1689
- "text": "string"
1690
- },
1691
- "privacy": "public",
1692
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1693
- "inheritedFrom": {
1694
- "name": "Anchor",
1695
- "module": "src/anchor/anchor.ts"
1696
- }
1697
- },
1698
- {
1699
- "kind": "field",
1700
- "name": "referrerpolicy",
1701
- "type": {
1702
- "text": "string"
1703
- },
1704
- "privacy": "public",
1705
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1706
- "inheritedFrom": {
1707
- "name": "Anchor",
1708
- "module": "src/anchor/anchor.ts"
1709
- }
1710
- },
1711
- {
1712
- "kind": "field",
1713
- "name": "rel",
1771
+ "name": "headinglevel",
1714
1772
  "type": {
1715
- "text": "string"
1773
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1716
1774
  },
1717
1775
  "privacy": "public",
1718
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1776
+ "default": "2",
1777
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1719
1778
  "inheritedFrom": {
1720
- "name": "Anchor",
1721
- "module": "src/anchor/anchor.ts"
1779
+ "name": "AccordionItem",
1780
+ "module": "src/accordion-item/accordion-item.ts"
1722
1781
  }
1723
1782
  },
1724
1783
  {
1725
1784
  "kind": "field",
1726
- "name": "target",
1785
+ "name": "expanded",
1727
1786
  "type": {
1728
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1787
+ "text": "boolean"
1729
1788
  },
1730
1789
  "privacy": "public",
1731
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1790
+ "default": "false",
1791
+ "description": "Expands or collapses the item.",
1732
1792
  "inheritedFrom": {
1733
- "name": "Anchor",
1734
- "module": "src/anchor/anchor.ts"
1793
+ "name": "AccordionItem",
1794
+ "module": "src/accordion-item/accordion-item.ts"
1735
1795
  }
1736
1796
  },
1737
1797
  {
1738
1798
  "kind": "field",
1739
- "name": "type",
1799
+ "name": "id",
1740
1800
  "type": {
1741
1801
  "text": "string"
1742
1802
  },
1743
1803
  "privacy": "public",
1744
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1745
- "inheritedFrom": {
1746
- "name": "Anchor",
1747
- "module": "src/anchor/anchor.ts"
1748
- }
1749
- },
1750
- {
1751
- "kind": "field",
1752
- "name": "control",
1753
- "type": {
1754
- "text": "HTMLAnchorElement | undefined"
1755
- },
1756
- "privacy": "public",
1757
- "description": "References the root element",
1804
+ "description": "The item ID",
1758
1805
  "inheritedFrom": {
1759
- "name": "Anchor",
1760
- "module": "src/anchor/anchor.ts"
1806
+ "name": "AccordionItem",
1807
+ "module": "src/accordion-item/accordion-item.ts"
1761
1808
  }
1762
1809
  },
1763
1810
  {
1764
1811
  "kind": "field",
1765
- "name": "handleUnsupportedDelegatesFocus",
1812
+ "name": "change",
1766
1813
  "privacy": "private",
1767
- "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
1768
1814
  "inheritedFrom": {
1769
- "name": "Anchor",
1770
- "module": "src/anchor/anchor.ts"
1815
+ "name": "AccordionItem",
1816
+ "module": "src/accordion-item/accordion-item.ts"
1771
1817
  }
1772
1818
  },
1773
1819
  {
@@ -1881,11 +1927,21 @@
1881
1927
  "module": "src/foundation-element/foundation-element.ts"
1882
1928
  }
1883
1929
  }
1930
+ ],
1931
+ "events": [
1932
+ {
1933
+ "description": "Fires a custom 'change' event when the button is invoked",
1934
+ "name": "change",
1935
+ "inheritedFrom": {
1936
+ "name": "AccordionItem",
1937
+ "module": "src/accordion-item/accordion-item.ts"
1938
+ }
1939
+ }
1884
1940
  ]
1885
1941
  },
1886
1942
  {
1887
1943
  "kind": "variable",
1888
- "name": "foundationAnchorShadowOptions",
1944
+ "name": "foundationAccordionItemShadowOptions",
1889
1945
  "type": {
1890
1946
  "text": "ShadowRootInit"
1891
1947
  },
@@ -1893,57 +1949,57 @@
1893
1949
  },
1894
1950
  {
1895
1951
  "kind": "variable",
1896
- "name": "defaultAnchorConfig",
1952
+ "name": "defaultAccordionItemConfig",
1897
1953
  "type": {
1898
1954
  "text": "object"
1899
1955
  },
1900
- "default": "{}"
1956
+ "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}"
1901
1957
  },
1902
1958
  {
1903
1959
  "kind": "variable",
1904
- "name": "foundationAnchor",
1905
- "description": "The Foundation Anchor",
1960
+ "name": "foundationAccordionItem",
1961
+ "description": "The Foundation Accordion Item",
1906
1962
  "privacy": "public"
1907
1963
  }
1908
1964
  ],
1909
1965
  "exports": [
1910
1966
  {
1911
1967
  "kind": "js",
1912
- "name": "Anchor",
1968
+ "name": "AccordionItem",
1913
1969
  "declaration": {
1914
- "name": "Anchor",
1915
- "module": "src/anchor/anchor.ts"
1970
+ "name": "AccordionItem",
1971
+ "module": "src/accordion-item/accordion-item.ts"
1916
1972
  }
1917
1973
  },
1918
1974
  {
1919
1975
  "kind": "js",
1920
- "name": "foundationAnchorShadowOptions",
1976
+ "name": "foundationAccordionItemShadowOptions",
1921
1977
  "declaration": {
1922
- "name": "foundationAnchorShadowOptions",
1923
- "module": "src/anchor/anchor.ts"
1978
+ "name": "foundationAccordionItemShadowOptions",
1979
+ "module": "src/accordion-item/accordion-item.ts"
1924
1980
  }
1925
1981
  },
1926
1982
  {
1927
1983
  "kind": "js",
1928
- "name": "defaultAnchorConfig",
1984
+ "name": "defaultAccordionItemConfig",
1929
1985
  "declaration": {
1930
- "name": "defaultAnchorConfig",
1931
- "module": "src/anchor/anchor.ts"
1986
+ "name": "defaultAccordionItemConfig",
1987
+ "module": "src/accordion-item/accordion-item.ts"
1932
1988
  }
1933
1989
  },
1934
1990
  {
1935
1991
  "kind": "js",
1936
- "name": "foundationAnchor",
1992
+ "name": "foundationAccordionItem",
1937
1993
  "declaration": {
1938
- "name": "foundationAnchor",
1939
- "module": "src/anchor/anchor.ts"
1994
+ "name": "foundationAccordionItem",
1995
+ "module": "src/accordion-item/accordion-item.ts"
1940
1996
  }
1941
1997
  }
1942
1998
  ]
1943
1999
  },
1944
2000
  {
1945
2001
  "kind": "javascript-module",
1946
- "path": "src/anchor/index.ts",
2002
+ "path": "src/accordion-item/index.ts",
1947
2003
  "declarations": [],
1948
2004
  "exports": [
1949
2005
  {
@@ -1951,7 +2007,7 @@
1951
2007
  "name": "*",
1952
2008
  "declaration": {
1953
2009
  "name": "*",
1954
- "package": "./anchor.template"
2010
+ "package": "./accordion-item.template"
1955
2011
  }
1956
2012
  },
1957
2013
  {
@@ -1959,7 +2015,7 @@
1959
2015
  "name": "*",
1960
2016
  "declaration": {
1961
2017
  "name": "*",
1962
- "package": "./anchor.styles"
2018
+ "package": "./accordion-item.styles"
1963
2019
  }
1964
2020
  },
1965
2021
  {
@@ -1967,18 +2023,18 @@
1967
2023
  "name": "*",
1968
2024
  "declaration": {
1969
2025
  "name": "*",
1970
- "package": "./anchor"
2026
+ "package": "./accordion-item"
1971
2027
  }
1972
2028
  }
1973
2029
  ]
1974
2030
  },
1975
2031
  {
1976
2032
  "kind": "javascript-module",
1977
- "path": "src/accordion-item/accordion-item.styles.ts",
2033
+ "path": "src/anchor/anchor.styles.ts",
1978
2034
  "declarations": [
1979
2035
  {
1980
2036
  "kind": "function",
1981
- "name": "foundationAccordionItemStyles",
2037
+ "name": "foundationAnchorStyles",
1982
2038
  "return": {
1983
2039
  "type": {
1984
2040
  "text": "ElementStyles"
@@ -2003,24 +2059,24 @@
2003
2059
  "exports": [
2004
2060
  {
2005
2061
  "kind": "js",
2006
- "name": "foundationAccordionItemStyles",
2062
+ "name": "foundationAnchorStyles",
2007
2063
  "declaration": {
2008
- "name": "foundationAccordionItemStyles",
2009
- "module": "src/accordion-item/accordion-item.styles.ts"
2064
+ "name": "foundationAnchorStyles",
2065
+ "module": "src/anchor/anchor.styles.ts"
2010
2066
  }
2011
2067
  }
2012
2068
  ]
2013
2069
  },
2014
2070
  {
2015
2071
  "kind": "javascript-module",
2016
- "path": "src/accordion-item/accordion-item.template.ts",
2072
+ "path": "src/anchor/anchor.template.ts",
2017
2073
  "declarations": [
2018
2074
  {
2019
2075
  "kind": "function",
2020
- "name": "foundationAccordionItemTemplate",
2076
+ "name": "foundationAnchorTemplate",
2021
2077
  "return": {
2022
2078
  "type": {
2023
- "text": "ViewTemplate<AccordionItem>"
2079
+ "text": "ViewTemplate<Anchor>"
2024
2080
  }
2025
2081
  },
2026
2082
  "parameters": [
@@ -2042,426 +2098,370 @@
2042
2098
  "exports": [
2043
2099
  {
2044
2100
  "kind": "js",
2045
- "name": "foundationAccordionItemTemplate",
2101
+ "name": "foundationAnchorTemplate",
2046
2102
  "declaration": {
2047
- "name": "foundationAccordionItemTemplate",
2048
- "module": "src/accordion-item/accordion-item.template.ts"
2103
+ "name": "foundationAnchorTemplate",
2104
+ "module": "src/anchor/anchor.template.ts"
2049
2105
  }
2050
2106
  }
2051
2107
  ]
2052
2108
  },
2053
2109
  {
2054
2110
  "kind": "javascript-module",
2055
- "path": "src/accordion-item/accordion-item.ts",
2111
+ "path": "src/anchor/anchor.ts",
2056
2112
  "declarations": [
2057
2113
  {
2058
2114
  "kind": "class",
2059
2115
  "description": "",
2060
- "name": "AccordionItem",
2116
+ "name": "Anchor",
2061
2117
  "superclass": {
2062
- "name": "FASTAccordionItem",
2118
+ "name": "FASTAnchor",
2063
2119
  "package": "@microsoft/fast-components"
2064
2120
  },
2065
- "tagName": "%%prefix%%-accordion-item",
2121
+ "tagName": "%%prefix%%-anchor",
2066
2122
  "customElement": true,
2067
2123
  "attributes": [
2068
2124
  {
2069
- "name": "heading-level",
2125
+ "name": "download",
2070
2126
  "type": {
2071
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2127
+ "text": "string"
2072
2128
  },
2073
- "default": "2",
2074
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2075
- "fieldName": "headinglevel",
2129
+ "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2130
+ "fieldName": "download",
2076
2131
  "inheritedFrom": {
2077
- "name": "AccordionItem",
2078
- "module": "src/accordion-item/accordion-item.ts"
2132
+ "name": "Anchor",
2133
+ "module": "src/anchor/anchor.ts"
2079
2134
  }
2080
2135
  },
2081
2136
  {
2137
+ "name": "href",
2082
2138
  "type": {
2083
- "text": "boolean"
2139
+ "text": "string"
2084
2140
  },
2085
- "default": "false",
2086
- "description": "Expands or collapses the item.",
2087
- "fieldName": "expanded",
2141
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2142
+ "fieldName": "href",
2088
2143
  "inheritedFrom": {
2089
- "name": "AccordionItem",
2090
- "module": "src/accordion-item/accordion-item.ts"
2144
+ "name": "Anchor",
2145
+ "module": "src/anchor/anchor.ts"
2091
2146
  }
2092
2147
  },
2093
2148
  {
2094
- "name": "id",
2149
+ "name": "hreflang",
2095
2150
  "type": {
2096
2151
  "text": "string"
2097
2152
  },
2098
- "description": "The item ID",
2099
- "fieldName": "id",
2153
+ "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2154
+ "fieldName": "hreflang",
2100
2155
  "inheritedFrom": {
2101
- "name": "AccordionItem",
2102
- "module": "src/accordion-item/accordion-item.ts"
2156
+ "name": "Anchor",
2157
+ "module": "src/anchor/anchor.ts"
2103
2158
  }
2104
- }
2105
- ],
2106
- "members": [
2159
+ },
2107
2160
  {
2108
- "kind": "field",
2109
- "name": "headinglevel",
2161
+ "name": "ping",
2110
2162
  "type": {
2111
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2163
+ "text": "string"
2112
2164
  },
2113
- "privacy": "public",
2114
- "default": "2",
2115
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2165
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2166
+ "fieldName": "ping",
2116
2167
  "inheritedFrom": {
2117
- "name": "AccordionItem",
2118
- "module": "src/accordion-item/accordion-item.ts"
2168
+ "name": "Anchor",
2169
+ "module": "src/anchor/anchor.ts"
2119
2170
  }
2120
2171
  },
2121
2172
  {
2122
- "kind": "field",
2123
- "name": "expanded",
2173
+ "name": "referrerpolicy",
2124
2174
  "type": {
2125
- "text": "boolean"
2175
+ "text": "string"
2126
2176
  },
2127
- "privacy": "public",
2128
- "default": "false",
2129
- "description": "Expands or collapses the item.",
2177
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2178
+ "fieldName": "referrerpolicy",
2130
2179
  "inheritedFrom": {
2131
- "name": "AccordionItem",
2132
- "module": "src/accordion-item/accordion-item.ts"
2180
+ "name": "Anchor",
2181
+ "module": "src/anchor/anchor.ts"
2133
2182
  }
2134
2183
  },
2184
+ {
2185
+ "name": "rel",
2186
+ "type": {
2187
+ "text": "string"
2188
+ },
2189
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2190
+ "fieldName": "rel",
2191
+ "inheritedFrom": {
2192
+ "name": "Anchor",
2193
+ "module": "src/anchor/anchor.ts"
2194
+ }
2195
+ },
2196
+ {
2197
+ "name": "target",
2198
+ "type": {
2199
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2200
+ },
2201
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2202
+ "fieldName": "target",
2203
+ "inheritedFrom": {
2204
+ "name": "Anchor",
2205
+ "module": "src/anchor/anchor.ts"
2206
+ }
2207
+ },
2208
+ {
2209
+ "name": "type",
2210
+ "type": {
2211
+ "text": "string"
2212
+ },
2213
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2214
+ "fieldName": "type",
2215
+ "inheritedFrom": {
2216
+ "name": "Anchor",
2217
+ "module": "src/anchor/anchor.ts"
2218
+ }
2219
+ }
2220
+ ],
2221
+ "members": [
2135
2222
  {
2136
2223
  "kind": "field",
2137
- "name": "id",
2224
+ "name": "download",
2138
2225
  "type": {
2139
2226
  "text": "string"
2140
2227
  },
2141
2228
  "privacy": "public",
2142
- "description": "The item ID",
2229
+ "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2143
2230
  "inheritedFrom": {
2144
- "name": "AccordionItem",
2145
- "module": "src/accordion-item/accordion-item.ts"
2231
+ "name": "Anchor",
2232
+ "module": "src/anchor/anchor.ts"
2146
2233
  }
2147
2234
  },
2148
2235
  {
2149
2236
  "kind": "field",
2150
- "name": "change",
2151
- "privacy": "private",
2237
+ "name": "href",
2238
+ "type": {
2239
+ "text": "string"
2240
+ },
2241
+ "privacy": "public",
2242
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2152
2243
  "inheritedFrom": {
2153
- "name": "AccordionItem",
2154
- "module": "src/accordion-item/accordion-item.ts"
2244
+ "name": "Anchor",
2245
+ "module": "src/anchor/anchor.ts"
2155
2246
  }
2156
2247
  },
2157
2248
  {
2158
2249
  "kind": "field",
2159
- "name": "_presentation",
2250
+ "name": "hreflang",
2160
2251
  "type": {
2161
- "text": "ComponentPresentation | null | undefined"
2252
+ "text": "string"
2162
2253
  },
2163
- "privacy": "private",
2164
- "default": "void 0",
2254
+ "privacy": "public",
2255
+ "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2165
2256
  "inheritedFrom": {
2166
- "name": "FoundationElement",
2167
- "module": "src/foundation-element/foundation-element.ts"
2257
+ "name": "Anchor",
2258
+ "module": "src/anchor/anchor.ts"
2168
2259
  }
2169
2260
  },
2170
2261
  {
2171
2262
  "kind": "field",
2172
- "name": "$presentation",
2263
+ "name": "ping",
2173
2264
  "type": {
2174
- "text": "ComponentPresentation | null"
2265
+ "text": "string"
2175
2266
  },
2176
2267
  "privacy": "public",
2177
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2268
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2178
2269
  "inheritedFrom": {
2179
- "name": "FoundationElement",
2180
- "module": "src/foundation-element/foundation-element.ts"
2270
+ "name": "Anchor",
2271
+ "module": "src/anchor/anchor.ts"
2181
2272
  }
2182
2273
  },
2183
2274
  {
2184
2275
  "kind": "field",
2185
- "name": "template",
2276
+ "name": "referrerpolicy",
2186
2277
  "type": {
2187
- "text": "ElementViewTemplate | void | null"
2278
+ "text": "string"
2188
2279
  },
2189
2280
  "privacy": "public",
2190
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2281
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2191
2282
  "inheritedFrom": {
2192
- "name": "FoundationElement",
2193
- "module": "src/foundation-element/foundation-element.ts"
2283
+ "name": "Anchor",
2284
+ "module": "src/anchor/anchor.ts"
2194
2285
  }
2195
2286
  },
2196
2287
  {
2197
- "kind": "method",
2198
- "name": "templateChanged",
2199
- "privacy": "protected",
2200
- "return": {
2201
- "type": {
2202
- "text": "void"
2203
- }
2288
+ "kind": "field",
2289
+ "name": "rel",
2290
+ "type": {
2291
+ "text": "string"
2204
2292
  },
2293
+ "privacy": "public",
2294
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2205
2295
  "inheritedFrom": {
2206
- "name": "FoundationElement",
2207
- "module": "src/foundation-element/foundation-element.ts"
2296
+ "name": "Anchor",
2297
+ "module": "src/anchor/anchor.ts"
2208
2298
  }
2209
2299
  },
2210
2300
  {
2211
2301
  "kind": "field",
2212
- "name": "styles",
2302
+ "name": "target",
2213
2303
  "type": {
2214
- "text": "ElementStyles | void | null"
2304
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2215
2305
  },
2216
2306
  "privacy": "public",
2217
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2307
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2218
2308
  "inheritedFrom": {
2219
- "name": "FoundationElement",
2220
- "module": "src/foundation-element/foundation-element.ts"
2309
+ "name": "Anchor",
2310
+ "module": "src/anchor/anchor.ts"
2221
2311
  }
2222
2312
  },
2223
2313
  {
2224
- "kind": "method",
2225
- "name": "stylesChanged",
2226
- "privacy": "protected",
2227
- "return": {
2228
- "type": {
2229
- "text": "void"
2230
- }
2314
+ "kind": "field",
2315
+ "name": "type",
2316
+ "type": {
2317
+ "text": "string"
2231
2318
  },
2319
+ "privacy": "public",
2320
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2232
2321
  "inheritedFrom": {
2233
- "name": "FoundationElement",
2234
- "module": "src/foundation-element/foundation-element.ts"
2322
+ "name": "Anchor",
2323
+ "module": "src/anchor/anchor.ts"
2235
2324
  }
2236
2325
  },
2237
2326
  {
2238
- "kind": "method",
2239
- "name": "compose",
2240
- "privacy": "public",
2241
- "static": true,
2242
- "return": {
2243
- "type": {
2244
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2245
- }
2327
+ "kind": "field",
2328
+ "name": "control",
2329
+ "type": {
2330
+ "text": "HTMLAnchorElement | undefined"
2246
2331
  },
2247
- "parameters": [
2248
- {
2249
- "name": "this",
2250
- "type": {
2251
- "text": "K"
2252
- }
2253
- },
2254
- {
2255
- "name": "elementDefinition",
2256
- "type": {
2257
- "text": "T"
2258
- },
2259
- "description": "The definition of the element to create the registry\nfunction for."
2260
- }
2261
- ],
2262
- "description": "Defines an element registry function with a set of element definition defaults.",
2332
+ "privacy": "public",
2333
+ "description": "References the root element",
2263
2334
  "inheritedFrom": {
2264
- "name": "FoundationElement",
2265
- "module": "src/foundation-element/foundation-element.ts"
2335
+ "name": "Anchor",
2336
+ "module": "src/anchor/anchor.ts"
2266
2337
  }
2267
- }
2268
- ],
2269
- "events": [
2338
+ },
2270
2339
  {
2271
- "description": "Fires a custom 'change' event when the button is invoked",
2272
- "name": "change",
2340
+ "kind": "field",
2341
+ "name": "handleUnsupportedDelegatesFocus",
2342
+ "privacy": "private",
2343
+ "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
2273
2344
  "inheritedFrom": {
2274
- "name": "AccordionItem",
2275
- "module": "src/accordion-item/accordion-item.ts"
2345
+ "name": "Anchor",
2346
+ "module": "src/anchor/anchor.ts"
2276
2347
  }
2277
- }
2278
- ]
2279
- },
2280
- {
2281
- "kind": "variable",
2282
- "name": "foundationAccordionItemShadowOptions",
2283
- "type": {
2284
- "text": "ShadowRootInit"
2285
- },
2286
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2287
- },
2288
- {
2289
- "kind": "variable",
2290
- "name": "defaultAccordionItemConfig",
2291
- "type": {
2292
- "text": "object"
2293
- },
2294
- "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}"
2295
- },
2296
- {
2297
- "kind": "variable",
2298
- "name": "foundationAccordionItem",
2299
- "description": "The Foundation Accordion Item",
2300
- "privacy": "public"
2301
- }
2302
- ],
2303
- "exports": [
2304
- {
2305
- "kind": "js",
2306
- "name": "AccordionItem",
2307
- "declaration": {
2308
- "name": "AccordionItem",
2309
- "module": "src/accordion-item/accordion-item.ts"
2310
- }
2311
- },
2312
- {
2313
- "kind": "js",
2314
- "name": "foundationAccordionItemShadowOptions",
2315
- "declaration": {
2316
- "name": "foundationAccordionItemShadowOptions",
2317
- "module": "src/accordion-item/accordion-item.ts"
2318
- }
2319
- },
2320
- {
2321
- "kind": "js",
2322
- "name": "defaultAccordionItemConfig",
2323
- "declaration": {
2324
- "name": "defaultAccordionItemConfig",
2325
- "module": "src/accordion-item/accordion-item.ts"
2326
- }
2327
- },
2328
- {
2329
- "kind": "js",
2330
- "name": "foundationAccordionItem",
2331
- "declaration": {
2332
- "name": "foundationAccordionItem",
2333
- "module": "src/accordion-item/accordion-item.ts"
2334
- }
2335
- }
2336
- ]
2337
- },
2338
- {
2339
- "kind": "javascript-module",
2340
- "path": "src/accordion-item/index.ts",
2341
- "declarations": [],
2342
- "exports": [
2343
- {
2344
- "kind": "js",
2345
- "name": "*",
2346
- "declaration": {
2347
- "name": "*",
2348
- "package": "./accordion-item.template"
2349
- }
2350
- },
2351
- {
2352
- "kind": "js",
2353
- "name": "*",
2354
- "declaration": {
2355
- "name": "*",
2356
- "package": "./accordion-item.styles"
2357
- }
2358
- },
2359
- {
2360
- "kind": "js",
2361
- "name": "*",
2362
- "declaration": {
2363
- "name": "*",
2364
- "package": "./accordion-item"
2365
- }
2366
- }
2367
- ]
2368
- },
2369
- {
2370
- "kind": "javascript-module",
2371
- "path": "src/accordion/accordion.styles.ts",
2372
- "declarations": [
2373
- {
2374
- "kind": "function",
2375
- "name": "foundationAccordionStyles",
2376
- "return": {
2377
- "type": {
2378
- "text": "ElementStyles"
2379
- }
2380
- },
2381
- "parameters": [
2348
+ },
2382
2349
  {
2383
- "name": "context",
2350
+ "kind": "field",
2351
+ "name": "_presentation",
2384
2352
  "type": {
2385
- "text": "ElementDefinitionContext"
2353
+ "text": "ComponentPresentation | null | undefined"
2354
+ },
2355
+ "privacy": "private",
2356
+ "default": "void 0",
2357
+ "inheritedFrom": {
2358
+ "name": "FoundationElement",
2359
+ "module": "src/foundation-element/foundation-element.ts"
2386
2360
  }
2387
2361
  },
2388
2362
  {
2389
- "name": "definition",
2363
+ "kind": "field",
2364
+ "name": "$presentation",
2390
2365
  "type": {
2391
- "text": "FoundationElementDefinition"
2366
+ "text": "ComponentPresentation | null"
2367
+ },
2368
+ "privacy": "public",
2369
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2370
+ "inheritedFrom": {
2371
+ "name": "FoundationElement",
2372
+ "module": "src/foundation-element/foundation-element.ts"
2392
2373
  }
2393
- }
2394
- ]
2395
- }
2396
- ],
2397
- "exports": [
2398
- {
2399
- "kind": "js",
2400
- "name": "foundationAccordionStyles",
2401
- "declaration": {
2402
- "name": "foundationAccordionStyles",
2403
- "module": "src/accordion/accordion.styles.ts"
2404
- }
2405
- }
2406
- ]
2407
- },
2408
- {
2409
- "kind": "javascript-module",
2410
- "path": "src/accordion/accordion.template.ts",
2411
- "declarations": [
2412
- {
2413
- "kind": "function",
2414
- "name": "foundationAccordionTemplate",
2415
- "return": {
2416
- "type": {
2417
- "text": "ViewTemplate<Accordion>"
2418
- }
2419
- },
2420
- "parameters": [
2374
+ },
2421
2375
  {
2422
- "name": "context",
2376
+ "kind": "field",
2377
+ "name": "template",
2423
2378
  "type": {
2424
- "text": "ElementDefinitionContext"
2379
+ "text": "ElementViewTemplate | void | null"
2380
+ },
2381
+ "privacy": "public",
2382
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2383
+ "inheritedFrom": {
2384
+ "name": "FoundationElement",
2385
+ "module": "src/foundation-element/foundation-element.ts"
2425
2386
  }
2426
2387
  },
2427
2388
  {
2428
- "name": "definition",
2389
+ "kind": "method",
2390
+ "name": "templateChanged",
2391
+ "privacy": "protected",
2392
+ "return": {
2393
+ "type": {
2394
+ "text": "void"
2395
+ }
2396
+ },
2397
+ "inheritedFrom": {
2398
+ "name": "FoundationElement",
2399
+ "module": "src/foundation-element/foundation-element.ts"
2400
+ }
2401
+ },
2402
+ {
2403
+ "kind": "field",
2404
+ "name": "styles",
2429
2405
  "type": {
2430
- "text": "FoundationElementDefinition"
2406
+ "text": "ElementStyles | void | null"
2407
+ },
2408
+ "privacy": "public",
2409
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2410
+ "inheritedFrom": {
2411
+ "name": "FoundationElement",
2412
+ "module": "src/foundation-element/foundation-element.ts"
2413
+ }
2414
+ },
2415
+ {
2416
+ "kind": "method",
2417
+ "name": "stylesChanged",
2418
+ "privacy": "protected",
2419
+ "return": {
2420
+ "type": {
2421
+ "text": "void"
2422
+ }
2423
+ },
2424
+ "inheritedFrom": {
2425
+ "name": "FoundationElement",
2426
+ "module": "src/foundation-element/foundation-element.ts"
2427
+ }
2428
+ },
2429
+ {
2430
+ "kind": "method",
2431
+ "name": "compose",
2432
+ "privacy": "public",
2433
+ "static": true,
2434
+ "return": {
2435
+ "type": {
2436
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2437
+ }
2438
+ },
2439
+ "parameters": [
2440
+ {
2441
+ "name": "this",
2442
+ "type": {
2443
+ "text": "K"
2444
+ }
2445
+ },
2446
+ {
2447
+ "name": "elementDefinition",
2448
+ "type": {
2449
+ "text": "T"
2450
+ },
2451
+ "description": "The definition of the element to create the registry\nfunction for."
2452
+ }
2453
+ ],
2454
+ "description": "Defines an element registry function with a set of element definition defaults.",
2455
+ "inheritedFrom": {
2456
+ "name": "FoundationElement",
2457
+ "module": "src/foundation-element/foundation-element.ts"
2431
2458
  }
2432
2459
  }
2433
2460
  ]
2434
- }
2435
- ],
2436
- "exports": [
2437
- {
2438
- "kind": "js",
2439
- "name": "foundationAccordionTemplate",
2440
- "declaration": {
2441
- "name": "foundationAccordionTemplate",
2442
- "module": "src/accordion/accordion.template.ts"
2443
- }
2444
- }
2445
- ]
2446
- },
2447
- {
2448
- "kind": "javascript-module",
2449
- "path": "src/accordion/accordion.ts",
2450
- "declarations": [
2451
- {
2452
- "kind": "class",
2453
- "description": "",
2454
- "name": "Accordion",
2455
- "superclass": {
2456
- "name": "FASTAccordion",
2457
- "package": "@microsoft/fast-foundation"
2458
- },
2459
- "tagName": "%%prefix%%-accordion",
2460
- "customElement": true
2461
2461
  },
2462
2462
  {
2463
2463
  "kind": "variable",
2464
- "name": "foundationAccordionShadowOptions",
2464
+ "name": "foundationAnchorShadowOptions",
2465
2465
  "type": {
2466
2466
  "text": "ShadowRootInit"
2467
2467
  },
@@ -2469,7 +2469,7 @@
2469
2469
  },
2470
2470
  {
2471
2471
  "kind": "variable",
2472
- "name": "defaultAccordionConfig",
2472
+ "name": "defaultAnchorConfig",
2473
2473
  "type": {
2474
2474
  "text": "object"
2475
2475
  },
@@ -2477,49 +2477,49 @@
2477
2477
  },
2478
2478
  {
2479
2479
  "kind": "variable",
2480
- "name": "foundationAccordion",
2481
- "description": "The Foundation Accordion",
2480
+ "name": "foundationAnchor",
2481
+ "description": "The Foundation Anchor",
2482
2482
  "privacy": "public"
2483
2483
  }
2484
2484
  ],
2485
2485
  "exports": [
2486
2486
  {
2487
2487
  "kind": "js",
2488
- "name": "Accordion",
2488
+ "name": "Anchor",
2489
2489
  "declaration": {
2490
- "name": "Accordion",
2491
- "module": "src/accordion/accordion.ts"
2490
+ "name": "Anchor",
2491
+ "module": "src/anchor/anchor.ts"
2492
2492
  }
2493
2493
  },
2494
2494
  {
2495
2495
  "kind": "js",
2496
- "name": "foundationAccordionShadowOptions",
2496
+ "name": "foundationAnchorShadowOptions",
2497
2497
  "declaration": {
2498
- "name": "foundationAccordionShadowOptions",
2499
- "module": "src/accordion/accordion.ts"
2498
+ "name": "foundationAnchorShadowOptions",
2499
+ "module": "src/anchor/anchor.ts"
2500
2500
  }
2501
2501
  },
2502
2502
  {
2503
2503
  "kind": "js",
2504
- "name": "defaultAccordionConfig",
2504
+ "name": "defaultAnchorConfig",
2505
2505
  "declaration": {
2506
- "name": "defaultAccordionConfig",
2507
- "module": "src/accordion/accordion.ts"
2506
+ "name": "defaultAnchorConfig",
2507
+ "module": "src/anchor/anchor.ts"
2508
2508
  }
2509
2509
  },
2510
2510
  {
2511
2511
  "kind": "js",
2512
- "name": "foundationAccordion",
2512
+ "name": "foundationAnchor",
2513
2513
  "declaration": {
2514
- "name": "foundationAccordion",
2515
- "module": "src/accordion/accordion.ts"
2514
+ "name": "foundationAnchor",
2515
+ "module": "src/anchor/anchor.ts"
2516
2516
  }
2517
2517
  }
2518
2518
  ]
2519
2519
  },
2520
2520
  {
2521
2521
  "kind": "javascript-module",
2522
- "path": "src/accordion/index.ts",
2522
+ "path": "src/anchor/index.ts",
2523
2523
  "declarations": [],
2524
2524
  "exports": [
2525
2525
  {
@@ -2527,7 +2527,7 @@
2527
2527
  "name": "*",
2528
2528
  "declaration": {
2529
2529
  "name": "*",
2530
- "package": "./accordion.template"
2530
+ "package": "./anchor.template"
2531
2531
  }
2532
2532
  },
2533
2533
  {
@@ -2535,7 +2535,7 @@
2535
2535
  "name": "*",
2536
2536
  "declaration": {
2537
2537
  "name": "*",
2538
- "package": "./accordion.styles"
2538
+ "package": "./anchor.styles"
2539
2539
  }
2540
2540
  },
2541
2541
  {
@@ -2543,7 +2543,7 @@
2543
2543
  "name": "*",
2544
2544
  "declaration": {
2545
2545
  "name": "*",
2546
- "package": "./accordion"
2546
+ "package": "./anchor"
2547
2547
  }
2548
2548
  }
2549
2549
  ]
@@ -4140,11 +4140,11 @@
4140
4140
  },
4141
4141
  {
4142
4142
  "kind": "javascript-module",
4143
- "path": "src/badge/badge.styles.ts",
4143
+ "path": "src/avatar/avatar.styles.ts",
4144
4144
  "declarations": [
4145
4145
  {
4146
4146
  "kind": "function",
4147
- "name": "foundationBadgeStyles",
4147
+ "name": "foundationAvatarStyles",
4148
4148
  "return": {
4149
4149
  "type": {
4150
4150
  "text": "ElementStyles"
@@ -4169,24 +4169,24 @@
4169
4169
  "exports": [
4170
4170
  {
4171
4171
  "kind": "js",
4172
- "name": "foundationBadgeStyles",
4172
+ "name": "foundationAvatarStyles",
4173
4173
  "declaration": {
4174
- "name": "foundationBadgeStyles",
4175
- "module": "src/badge/badge.styles.ts"
4174
+ "name": "foundationAvatarStyles",
4175
+ "module": "src/avatar/avatar.styles.ts"
4176
4176
  }
4177
4177
  }
4178
4178
  ]
4179
4179
  },
4180
4180
  {
4181
4181
  "kind": "javascript-module",
4182
- "path": "src/badge/badge.template.ts",
4182
+ "path": "src/avatar/avatar.template.ts",
4183
4183
  "declarations": [
4184
4184
  {
4185
4185
  "kind": "function",
4186
- "name": "foundationBadgeTemplate",
4186
+ "name": "foundationAvatarTemplate",
4187
4187
  "return": {
4188
4188
  "type": {
4189
- "text": "ViewTemplate<Badge>"
4189
+ "text": "ViewTemplate<Avatar>"
4190
4190
  }
4191
4191
  },
4192
4192
  "parameters": [
@@ -4203,32 +4203,45 @@
4203
4203
  }
4204
4204
  }
4205
4205
  ]
4206
+ },
4207
+ {
4208
+ "kind": "variable",
4209
+ "name": "media",
4210
+ "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`"
4206
4211
  }
4207
4212
  ],
4208
4213
  "exports": [
4209
4214
  {
4210
4215
  "kind": "js",
4211
- "name": "foundationBadgeTemplate",
4216
+ "name": "foundationAvatarTemplate",
4212
4217
  "declaration": {
4213
- "name": "foundationBadgeTemplate",
4214
- "module": "src/badge/badge.template.ts"
4218
+ "name": "foundationAvatarTemplate",
4219
+ "module": "src/avatar/avatar.template.ts"
4220
+ }
4221
+ },
4222
+ {
4223
+ "kind": "js",
4224
+ "name": "media",
4225
+ "declaration": {
4226
+ "name": "media",
4227
+ "module": "src/avatar/avatar.template.ts"
4215
4228
  }
4216
4229
  }
4217
4230
  ]
4218
4231
  },
4219
4232
  {
4220
4233
  "kind": "javascript-module",
4221
- "path": "src/badge/badge.ts",
4234
+ "path": "src/avatar/avatar.ts",
4222
4235
  "declarations": [
4223
4236
  {
4224
4237
  "kind": "class",
4225
4238
  "description": "",
4226
- "name": "Badge",
4239
+ "name": "Avatar",
4227
4240
  "superclass": {
4228
- "name": "FASTBadge",
4241
+ "name": "FASTAvatar",
4229
4242
  "package": "@microsoft/fast-components"
4230
4243
  },
4231
- "tagName": "%%prefix%%-badge",
4244
+ "tagName": "%%prefix%%-avatar",
4232
4245
  "customElement": true,
4233
4246
  "attributes": [
4234
4247
  {
@@ -4236,34 +4249,47 @@
4236
4249
  "type": {
4237
4250
  "text": "string"
4238
4251
  },
4239
- "description": "Indicates the badge should have a filled style.",
4252
+ "description": "Indicates the Avatar should have a color fill.",
4240
4253
  "fieldName": "fill",
4241
4254
  "inheritedFrom": {
4242
- "name": "Badge",
4243
- "module": "src/badge/badge.ts"
4255
+ "name": "Avatar",
4256
+ "module": "src/avatar/avatar.ts"
4257
+ }
4258
+ },
4259
+ {
4260
+ "name": "color",
4261
+ "type": {
4262
+ "text": "string"
4263
+ },
4264
+ "description": "Indicates the Avatar should have a text color.",
4265
+ "fieldName": "color",
4266
+ "inheritedFrom": {
4267
+ "name": "Avatar",
4268
+ "module": "src/avatar/avatar.ts"
4244
4269
  }
4245
4270
  },
4246
4271
  {
4247
- "name": "color",
4272
+ "name": "link",
4248
4273
  "type": {
4249
4274
  "text": "string"
4250
4275
  },
4251
- "description": "Indicates the badge should have a filled style.",
4252
- "fieldName": "color",
4276
+ "description": "Indicates the Avatar should have url link",
4277
+ "fieldName": "link",
4253
4278
  "inheritedFrom": {
4254
- "name": "Badge",
4255
- "module": "src/badge/badge.ts"
4279
+ "name": "Avatar",
4280
+ "module": "src/avatar/avatar.ts"
4256
4281
  }
4257
4282
  },
4258
4283
  {
4284
+ "name": "shape",
4259
4285
  "type": {
4260
- "text": "boolean"
4286
+ "text": "AvatarShape"
4261
4287
  },
4262
- "description": "Indicates the element should be circular",
4263
- "fieldName": "circular",
4288
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
4289
+ "fieldName": "shape",
4264
4290
  "inheritedFrom": {
4265
- "name": "Badge",
4266
- "module": "src/badge/badge.ts"
4291
+ "name": "Avatar",
4292
+ "module": "src/avatar/avatar.ts"
4267
4293
  }
4268
4294
  }
4269
4295
  ],
@@ -4275,10 +4301,10 @@
4275
4301
  "text": "string"
4276
4302
  },
4277
4303
  "privacy": "public",
4278
- "description": "Indicates the badge should have a filled style.",
4304
+ "description": "Indicates the Avatar should have a color fill.",
4279
4305
  "inheritedFrom": {
4280
- "name": "Badge",
4281
- "module": "src/badge/badge.ts"
4306
+ "name": "Avatar",
4307
+ "module": "src/avatar/avatar.ts"
4282
4308
  }
4283
4309
  },
4284
4310
  {
@@ -4288,32 +4314,36 @@
4288
4314
  "text": "string"
4289
4315
  },
4290
4316
  "privacy": "public",
4291
- "description": "Indicates the badge should have a filled style.",
4317
+ "description": "Indicates the Avatar should have a text color.",
4292
4318
  "inheritedFrom": {
4293
- "name": "Badge",
4294
- "module": "src/badge/badge.ts"
4319
+ "name": "Avatar",
4320
+ "module": "src/avatar/avatar.ts"
4295
4321
  }
4296
4322
  },
4297
4323
  {
4298
4324
  "kind": "field",
4299
- "name": "circular",
4325
+ "name": "link",
4300
4326
  "type": {
4301
- "text": "boolean"
4327
+ "text": "string"
4302
4328
  },
4303
4329
  "privacy": "public",
4304
- "description": "Indicates the element should be circular",
4330
+ "description": "Indicates the Avatar should have url link",
4305
4331
  "inheritedFrom": {
4306
- "name": "Badge",
4307
- "module": "src/badge/badge.ts"
4332
+ "name": "Avatar",
4333
+ "module": "src/avatar/avatar.ts"
4308
4334
  }
4309
4335
  },
4310
4336
  {
4311
4337
  "kind": "field",
4312
- "name": "generateBadgeStyle",
4338
+ "name": "shape",
4339
+ "type": {
4340
+ "text": "AvatarShape"
4341
+ },
4313
4342
  "privacy": "public",
4343
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
4314
4344
  "inheritedFrom": {
4315
- "name": "Badge",
4316
- "module": "src/badge/badge.ts"
4345
+ "name": "Avatar",
4346
+ "module": "src/avatar/avatar.ts"
4317
4347
  }
4318
4348
  },
4319
4349
  {
@@ -4431,65 +4461,65 @@
4431
4461
  },
4432
4462
  {
4433
4463
  "kind": "variable",
4434
- "name": "foundationBadgeShadowOptions",
4464
+ "name": "foundationAvatarShadowOptions",
4435
4465
  "type": {
4436
4466
  "text": "ShadowRootInit"
4437
4467
  },
4438
- "default": "undefined"
4468
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4439
4469
  },
4440
4470
  {
4441
4471
  "kind": "variable",
4442
- "name": "defaultBadgeConfig",
4472
+ "name": "defaultAvatarConfig",
4443
4473
  "type": {
4444
4474
  "text": "object"
4445
4475
  },
4446
- "default": "{}"
4476
+ "default": "{\n media: mediaTemplate,\n}"
4447
4477
  },
4448
4478
  {
4449
4479
  "kind": "variable",
4450
- "name": "foundationBadge",
4451
- "description": "The Foundation Badge",
4480
+ "name": "foundationAvatar",
4481
+ "description": "The Foundation Avatar",
4452
4482
  "privacy": "public"
4453
4483
  }
4454
4484
  ],
4455
4485
  "exports": [
4456
4486
  {
4457
4487
  "kind": "js",
4458
- "name": "Badge",
4488
+ "name": "Avatar",
4459
4489
  "declaration": {
4460
- "name": "Badge",
4461
- "module": "src/badge/badge.ts"
4490
+ "name": "Avatar",
4491
+ "module": "src/avatar/avatar.ts"
4462
4492
  }
4463
4493
  },
4464
4494
  {
4465
4495
  "kind": "js",
4466
- "name": "foundationBadgeShadowOptions",
4496
+ "name": "foundationAvatarShadowOptions",
4467
4497
  "declaration": {
4468
- "name": "foundationBadgeShadowOptions",
4469
- "module": "src/badge/badge.ts"
4498
+ "name": "foundationAvatarShadowOptions",
4499
+ "module": "src/avatar/avatar.ts"
4470
4500
  }
4471
4501
  },
4472
4502
  {
4473
4503
  "kind": "js",
4474
- "name": "defaultBadgeConfig",
4504
+ "name": "defaultAvatarConfig",
4475
4505
  "declaration": {
4476
- "name": "defaultBadgeConfig",
4477
- "module": "src/badge/badge.ts"
4506
+ "name": "defaultAvatarConfig",
4507
+ "module": "src/avatar/avatar.ts"
4478
4508
  }
4479
4509
  },
4480
4510
  {
4481
4511
  "kind": "js",
4482
- "name": "foundationBadge",
4512
+ "name": "foundationAvatar",
4483
4513
  "declaration": {
4484
- "name": "foundationBadge",
4485
- "module": "src/badge/badge.ts"
4514
+ "name": "foundationAvatar",
4515
+ "module": "src/avatar/avatar.ts"
4486
4516
  }
4487
4517
  }
4488
4518
  ]
4489
4519
  },
4490
4520
  {
4491
4521
  "kind": "javascript-module",
4492
- "path": "src/badge/index.ts",
4522
+ "path": "src/avatar/index.ts",
4493
4523
  "declarations": [],
4494
4524
  "exports": [
4495
4525
  {
@@ -4497,7 +4527,7 @@
4497
4527
  "name": "*",
4498
4528
  "declaration": {
4499
4529
  "name": "*",
4500
- "package": "./badge.template"
4530
+ "package": "./avatar.template"
4501
4531
  }
4502
4532
  },
4503
4533
  {
@@ -4505,7 +4535,7 @@
4505
4535
  "name": "*",
4506
4536
  "declaration": {
4507
4537
  "name": "*",
4508
- "package": "./badge.styles"
4538
+ "package": "./avatar.styles"
4509
4539
  }
4510
4540
  },
4511
4541
  {
@@ -4513,18 +4543,18 @@
4513
4543
  "name": "*",
4514
4544
  "declaration": {
4515
4545
  "name": "*",
4516
- "package": "./badge"
4546
+ "package": "./avatar"
4517
4547
  }
4518
4548
  }
4519
4549
  ]
4520
4550
  },
4521
4551
  {
4522
4552
  "kind": "javascript-module",
4523
- "path": "src/avatar/avatar.styles.ts",
4553
+ "path": "src/badge/badge.styles.ts",
4524
4554
  "declarations": [
4525
4555
  {
4526
4556
  "kind": "function",
4527
- "name": "foundationAvatarStyles",
4557
+ "name": "foundationBadgeStyles",
4528
4558
  "return": {
4529
4559
  "type": {
4530
4560
  "text": "ElementStyles"
@@ -4549,24 +4579,24 @@
4549
4579
  "exports": [
4550
4580
  {
4551
4581
  "kind": "js",
4552
- "name": "foundationAvatarStyles",
4582
+ "name": "foundationBadgeStyles",
4553
4583
  "declaration": {
4554
- "name": "foundationAvatarStyles",
4555
- "module": "src/avatar/avatar.styles.ts"
4584
+ "name": "foundationBadgeStyles",
4585
+ "module": "src/badge/badge.styles.ts"
4556
4586
  }
4557
4587
  }
4558
4588
  ]
4559
4589
  },
4560
4590
  {
4561
4591
  "kind": "javascript-module",
4562
- "path": "src/avatar/avatar.template.ts",
4592
+ "path": "src/badge/badge.template.ts",
4563
4593
  "declarations": [
4564
4594
  {
4565
4595
  "kind": "function",
4566
- "name": "foundationAvatarTemplate",
4596
+ "name": "foundationBadgeTemplate",
4567
4597
  "return": {
4568
4598
  "type": {
4569
- "text": "ViewTemplate<Avatar>"
4599
+ "text": "ViewTemplate<Badge>"
4570
4600
  }
4571
4601
  },
4572
4602
  "parameters": [
@@ -4583,45 +4613,32 @@
4583
4613
  }
4584
4614
  }
4585
4615
  ]
4586
- },
4587
- {
4588
- "kind": "variable",
4589
- "name": "media",
4590
- "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`"
4591
4616
  }
4592
4617
  ],
4593
4618
  "exports": [
4594
4619
  {
4595
4620
  "kind": "js",
4596
- "name": "foundationAvatarTemplate",
4597
- "declaration": {
4598
- "name": "foundationAvatarTemplate",
4599
- "module": "src/avatar/avatar.template.ts"
4600
- }
4601
- },
4602
- {
4603
- "kind": "js",
4604
- "name": "media",
4621
+ "name": "foundationBadgeTemplate",
4605
4622
  "declaration": {
4606
- "name": "media",
4607
- "module": "src/avatar/avatar.template.ts"
4623
+ "name": "foundationBadgeTemplate",
4624
+ "module": "src/badge/badge.template.ts"
4608
4625
  }
4609
4626
  }
4610
4627
  ]
4611
4628
  },
4612
4629
  {
4613
4630
  "kind": "javascript-module",
4614
- "path": "src/avatar/avatar.ts",
4631
+ "path": "src/badge/badge.ts",
4615
4632
  "declarations": [
4616
4633
  {
4617
4634
  "kind": "class",
4618
4635
  "description": "",
4619
- "name": "Avatar",
4636
+ "name": "Badge",
4620
4637
  "superclass": {
4621
- "name": "FASTAvatar",
4638
+ "name": "FASTBadge",
4622
4639
  "package": "@microsoft/fast-components"
4623
4640
  },
4624
- "tagName": "%%prefix%%-avatar",
4641
+ "tagName": "%%prefix%%-badge",
4625
4642
  "customElement": true,
4626
4643
  "attributes": [
4627
4644
  {
@@ -4629,11 +4646,11 @@
4629
4646
  "type": {
4630
4647
  "text": "string"
4631
4648
  },
4632
- "description": "Indicates the Avatar should have a color fill.",
4649
+ "description": "Indicates the badge should have a filled style.",
4633
4650
  "fieldName": "fill",
4634
4651
  "inheritedFrom": {
4635
- "name": "Avatar",
4636
- "module": "src/avatar/avatar.ts"
4652
+ "name": "Badge",
4653
+ "module": "src/badge/badge.ts"
4637
4654
  }
4638
4655
  },
4639
4656
  {
@@ -4641,35 +4658,22 @@
4641
4658
  "type": {
4642
4659
  "text": "string"
4643
4660
  },
4644
- "description": "Indicates the Avatar should have a text color.",
4661
+ "description": "Indicates the badge should have a filled style.",
4645
4662
  "fieldName": "color",
4646
4663
  "inheritedFrom": {
4647
- "name": "Avatar",
4648
- "module": "src/avatar/avatar.ts"
4649
- }
4650
- },
4651
- {
4652
- "name": "link",
4653
- "type": {
4654
- "text": "string"
4655
- },
4656
- "description": "Indicates the Avatar should have url link",
4657
- "fieldName": "link",
4658
- "inheritedFrom": {
4659
- "name": "Avatar",
4660
- "module": "src/avatar/avatar.ts"
4664
+ "name": "Badge",
4665
+ "module": "src/badge/badge.ts"
4661
4666
  }
4662
4667
  },
4663
4668
  {
4664
- "name": "shape",
4665
4669
  "type": {
4666
- "text": "AvatarShape"
4670
+ "text": "boolean"
4667
4671
  },
4668
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
4669
- "fieldName": "shape",
4672
+ "description": "Indicates the element should be circular",
4673
+ "fieldName": "circular",
4670
4674
  "inheritedFrom": {
4671
- "name": "Avatar",
4672
- "module": "src/avatar/avatar.ts"
4675
+ "name": "Badge",
4676
+ "module": "src/badge/badge.ts"
4673
4677
  }
4674
4678
  }
4675
4679
  ],
@@ -4681,10 +4685,10 @@
4681
4685
  "text": "string"
4682
4686
  },
4683
4687
  "privacy": "public",
4684
- "description": "Indicates the Avatar should have a color fill.",
4688
+ "description": "Indicates the badge should have a filled style.",
4685
4689
  "inheritedFrom": {
4686
- "name": "Avatar",
4687
- "module": "src/avatar/avatar.ts"
4690
+ "name": "Badge",
4691
+ "module": "src/badge/badge.ts"
4688
4692
  }
4689
4693
  },
4690
4694
  {
@@ -4694,36 +4698,32 @@
4694
4698
  "text": "string"
4695
4699
  },
4696
4700
  "privacy": "public",
4697
- "description": "Indicates the Avatar should have a text color.",
4701
+ "description": "Indicates the badge should have a filled style.",
4698
4702
  "inheritedFrom": {
4699
- "name": "Avatar",
4700
- "module": "src/avatar/avatar.ts"
4703
+ "name": "Badge",
4704
+ "module": "src/badge/badge.ts"
4701
4705
  }
4702
4706
  },
4703
4707
  {
4704
4708
  "kind": "field",
4705
- "name": "link",
4709
+ "name": "circular",
4706
4710
  "type": {
4707
- "text": "string"
4711
+ "text": "boolean"
4708
4712
  },
4709
4713
  "privacy": "public",
4710
- "description": "Indicates the Avatar should have url link",
4714
+ "description": "Indicates the element should be circular",
4711
4715
  "inheritedFrom": {
4712
- "name": "Avatar",
4713
- "module": "src/avatar/avatar.ts"
4716
+ "name": "Badge",
4717
+ "module": "src/badge/badge.ts"
4714
4718
  }
4715
4719
  },
4716
4720
  {
4717
4721
  "kind": "field",
4718
- "name": "shape",
4719
- "type": {
4720
- "text": "AvatarShape"
4721
- },
4722
+ "name": "generateBadgeStyle",
4722
4723
  "privacy": "public",
4723
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
4724
4724
  "inheritedFrom": {
4725
- "name": "Avatar",
4726
- "module": "src/avatar/avatar.ts"
4725
+ "name": "Badge",
4726
+ "module": "src/badge/badge.ts"
4727
4727
  }
4728
4728
  },
4729
4729
  {
@@ -4841,65 +4841,65 @@
4841
4841
  },
4842
4842
  {
4843
4843
  "kind": "variable",
4844
- "name": "foundationAvatarShadowOptions",
4844
+ "name": "foundationBadgeShadowOptions",
4845
4845
  "type": {
4846
4846
  "text": "ShadowRootInit"
4847
4847
  },
4848
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4848
+ "default": "undefined"
4849
4849
  },
4850
4850
  {
4851
4851
  "kind": "variable",
4852
- "name": "defaultAvatarConfig",
4852
+ "name": "defaultBadgeConfig",
4853
4853
  "type": {
4854
4854
  "text": "object"
4855
4855
  },
4856
- "default": "{\n media: mediaTemplate,\n}"
4856
+ "default": "{}"
4857
4857
  },
4858
4858
  {
4859
4859
  "kind": "variable",
4860
- "name": "foundationAvatar",
4861
- "description": "The Foundation Avatar",
4860
+ "name": "foundationBadge",
4861
+ "description": "The Foundation Badge",
4862
4862
  "privacy": "public"
4863
4863
  }
4864
4864
  ],
4865
4865
  "exports": [
4866
4866
  {
4867
4867
  "kind": "js",
4868
- "name": "Avatar",
4868
+ "name": "Badge",
4869
4869
  "declaration": {
4870
- "name": "Avatar",
4871
- "module": "src/avatar/avatar.ts"
4870
+ "name": "Badge",
4871
+ "module": "src/badge/badge.ts"
4872
4872
  }
4873
4873
  },
4874
4874
  {
4875
4875
  "kind": "js",
4876
- "name": "foundationAvatarShadowOptions",
4876
+ "name": "foundationBadgeShadowOptions",
4877
4877
  "declaration": {
4878
- "name": "foundationAvatarShadowOptions",
4879
- "module": "src/avatar/avatar.ts"
4878
+ "name": "foundationBadgeShadowOptions",
4879
+ "module": "src/badge/badge.ts"
4880
4880
  }
4881
4881
  },
4882
4882
  {
4883
4883
  "kind": "js",
4884
- "name": "defaultAvatarConfig",
4884
+ "name": "defaultBadgeConfig",
4885
4885
  "declaration": {
4886
- "name": "defaultAvatarConfig",
4887
- "module": "src/avatar/avatar.ts"
4886
+ "name": "defaultBadgeConfig",
4887
+ "module": "src/badge/badge.ts"
4888
4888
  }
4889
4889
  },
4890
4890
  {
4891
4891
  "kind": "js",
4892
- "name": "foundationAvatar",
4892
+ "name": "foundationBadge",
4893
4893
  "declaration": {
4894
- "name": "foundationAvatar",
4895
- "module": "src/avatar/avatar.ts"
4894
+ "name": "foundationBadge",
4895
+ "module": "src/badge/badge.ts"
4896
4896
  }
4897
4897
  }
4898
4898
  ]
4899
4899
  },
4900
4900
  {
4901
4901
  "kind": "javascript-module",
4902
- "path": "src/avatar/index.ts",
4902
+ "path": "src/badge/index.ts",
4903
4903
  "declarations": [],
4904
4904
  "exports": [
4905
4905
  {
@@ -4907,7 +4907,7 @@
4907
4907
  "name": "*",
4908
4908
  "declaration": {
4909
4909
  "name": "*",
4910
- "package": "./avatar.template"
4910
+ "package": "./badge.template"
4911
4911
  }
4912
4912
  },
4913
4913
  {
@@ -4915,7 +4915,7 @@
4915
4915
  "name": "*",
4916
4916
  "declaration": {
4917
4917
  "name": "*",
4918
- "package": "./avatar.styles"
4918
+ "package": "./badge.styles"
4919
4919
  }
4920
4920
  },
4921
4921
  {
@@ -4923,7 +4923,7 @@
4923
4923
  "name": "*",
4924
4924
  "declaration": {
4925
4925
  "name": "*",
4926
- "package": "./avatar"
4926
+ "package": "./badge"
4927
4927
  }
4928
4928
  }
4929
4929
  ]