@genesislcap/foundation-ui 14.447.0 → 14.447.1-canary.search-bar-3

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.
@@ -1431,11 +1431,11 @@
1431
1431
  },
1432
1432
  {
1433
1433
  "kind": "javascript-module",
1434
- "path": "src/accordion-item/accordion-item.styles.ts",
1434
+ "path": "src/accordion/accordion.styles.ts",
1435
1435
  "declarations": [
1436
1436
  {
1437
1437
  "kind": "function",
1438
- "name": "foundationAccordionItemStyles",
1438
+ "name": "foundationAccordionStyles",
1439
1439
  "return": {
1440
1440
  "type": {
1441
1441
  "text": "ElementStyles"
@@ -1460,24 +1460,24 @@
1460
1460
  "exports": [
1461
1461
  {
1462
1462
  "kind": "js",
1463
- "name": "foundationAccordionItemStyles",
1463
+ "name": "foundationAccordionStyles",
1464
1464
  "declaration": {
1465
- "name": "foundationAccordionItemStyles",
1466
- "module": "src/accordion-item/accordion-item.styles.ts"
1465
+ "name": "foundationAccordionStyles",
1466
+ "module": "src/accordion/accordion.styles.ts"
1467
1467
  }
1468
1468
  }
1469
1469
  ]
1470
1470
  },
1471
1471
  {
1472
1472
  "kind": "javascript-module",
1473
- "path": "src/accordion-item/accordion-item.template.ts",
1473
+ "path": "src/accordion/accordion.template.ts",
1474
1474
  "declarations": [
1475
1475
  {
1476
1476
  "kind": "function",
1477
- "name": "foundationAccordionItemTemplate",
1477
+ "name": "foundationAccordionTemplate",
1478
1478
  "return": {
1479
1479
  "type": {
1480
- "text": "ViewTemplate<AccordionItem>"
1480
+ "text": "ViewTemplate<Accordion>"
1481
1481
  }
1482
1482
  },
1483
1483
  "parameters": [
@@ -1499,116 +1499,237 @@
1499
1499
  "exports": [
1500
1500
  {
1501
1501
  "kind": "js",
1502
- "name": "foundationAccordionItemTemplate",
1502
+ "name": "foundationAccordionTemplate",
1503
1503
  "declaration": {
1504
- "name": "foundationAccordionItemTemplate",
1505
- "module": "src/accordion-item/accordion-item.template.ts"
1504
+ "name": "foundationAccordionTemplate",
1505
+ "module": "src/accordion/accordion.template.ts"
1506
1506
  }
1507
1507
  }
1508
1508
  ]
1509
1509
  },
1510
1510
  {
1511
1511
  "kind": "javascript-module",
1512
- "path": "src/accordion-item/accordion-item.ts",
1512
+ "path": "src/accordion/accordion.ts",
1513
1513
  "declarations": [
1514
1514
  {
1515
1515
  "kind": "class",
1516
1516
  "description": "",
1517
- "name": "AccordionItem",
1517
+ "name": "Accordion",
1518
1518
  "superclass": {
1519
- "name": "FASTAccordionItem",
1520
- "package": "@microsoft/fast-components"
1519
+ "name": "FASTAccordion",
1520
+ "package": "@microsoft/fast-foundation"
1521
1521
  },
1522
- "tagName": "%%prefix%%-accordion-item",
1522
+ "tagName": "%%prefix%%-accordion",
1523
1523
  "customElement": true,
1524
1524
  "attributes": [
1525
1525
  {
1526
- "name": "heading-level",
1526
+ "name": "expand-mode",
1527
1527
  "type": {
1528
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1528
+ "text": "AccordionExpandMode"
1529
1529
  },
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",
1530
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1531
+ "fieldName": "expandmode",
1533
1532
  "inheritedFrom": {
1534
- "name": "AccordionItem",
1535
- "module": "src/accordion-item/accordion-item.ts"
1533
+ "name": "Accordion",
1534
+ "module": "src/accordion/accordion.ts"
1536
1535
  }
1537
- },
1536
+ }
1537
+ ],
1538
+ "members": [
1538
1539
  {
1540
+ "kind": "field",
1541
+ "name": "expandmode",
1539
1542
  "type": {
1540
- "text": "boolean"
1543
+ "text": "AccordionExpandMode"
1541
1544
  },
1542
- "default": "false",
1543
- "description": "Expands or collapses the item.",
1544
- "fieldName": "expanded",
1545
+ "privacy": "public",
1546
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1545
1547
  "inheritedFrom": {
1546
- "name": "AccordionItem",
1547
- "module": "src/accordion-item/accordion-item.ts"
1548
+ "name": "Accordion",
1549
+ "module": "src/accordion/accordion.ts"
1548
1550
  }
1549
1551
  },
1550
1552
  {
1551
- "name": "id",
1553
+ "kind": "field",
1554
+ "name": "activeid",
1552
1555
  "type": {
1553
- "text": "string"
1556
+ "text": "string | null"
1554
1557
  },
1555
- "description": "The item ID",
1556
- "fieldName": "id",
1558
+ "privacy": "private",
1557
1559
  "inheritedFrom": {
1558
- "name": "AccordionItem",
1559
- "module": "src/accordion-item/accordion-item.ts"
1560
+ "name": "Accordion",
1561
+ "module": "src/accordion/accordion.ts"
1560
1562
  }
1561
- }
1562
- ],
1563
- "members": [
1563
+ },
1564
1564
  {
1565
1565
  "kind": "field",
1566
- "name": "headinglevel",
1566
+ "name": "activeItemIndex",
1567
1567
  "type": {
1568
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1568
+ "text": "number"
1569
1569
  },
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.",
1570
+ "privacy": "private",
1571
+ "default": "0",
1573
1572
  "inheritedFrom": {
1574
- "name": "AccordionItem",
1575
- "module": "src/accordion-item/accordion-item.ts"
1573
+ "name": "Accordion",
1574
+ "module": "src/accordion/accordion.ts"
1576
1575
  }
1577
1576
  },
1578
1577
  {
1579
1578
  "kind": "field",
1580
- "name": "expanded",
1579
+ "name": "accordionIds",
1581
1580
  "type": {
1582
- "text": "boolean"
1581
+ "text": "Array<string | null>"
1583
1582
  },
1584
- "privacy": "public",
1585
- "default": "false",
1586
- "description": "Expands or collapses the item.",
1583
+ "privacy": "private",
1587
1584
  "inheritedFrom": {
1588
- "name": "AccordionItem",
1589
- "module": "src/accordion-item/accordion-item.ts"
1585
+ "name": "Accordion",
1586
+ "module": "src/accordion/accordion.ts"
1590
1587
  }
1591
1588
  },
1592
1589
  {
1593
1590
  "kind": "field",
1594
- "name": "id",
1595
- "type": {
1596
- "text": "string"
1591
+ "name": "change",
1592
+ "privacy": "private",
1593
+ "inheritedFrom": {
1594
+ "name": "Accordion",
1595
+ "module": "src/accordion/accordion.ts"
1596
+ }
1597
+ },
1598
+ {
1599
+ "kind": "method",
1600
+ "name": "findExpandedItem",
1601
+ "privacy": "private",
1602
+ "return": {
1603
+ "type": {
1604
+ "text": "AccordionItem | null"
1605
+ }
1597
1606
  },
1598
- "privacy": "public",
1599
- "description": "The item ID",
1600
1607
  "inheritedFrom": {
1601
- "name": "AccordionItem",
1602
- "module": "src/accordion-item/accordion-item.ts"
1608
+ "name": "Accordion",
1609
+ "module": "src/accordion/accordion.ts"
1603
1610
  }
1604
1611
  },
1605
1612
  {
1606
1613
  "kind": "field",
1607
- "name": "change",
1614
+ "name": "setItems",
1608
1615
  "privacy": "private",
1609
1616
  "inheritedFrom": {
1610
- "name": "AccordionItem",
1611
- "module": "src/accordion-item/accordion-item.ts"
1617
+ "name": "Accordion",
1618
+ "module": "src/accordion/accordion.ts"
1619
+ }
1620
+ },
1621
+ {
1622
+ "kind": "method",
1623
+ "name": "resetItems",
1624
+ "privacy": "private",
1625
+ "return": {
1626
+ "type": {
1627
+ "text": "void"
1628
+ }
1629
+ },
1630
+ "inheritedFrom": {
1631
+ "name": "Accordion",
1632
+ "module": "src/accordion/accordion.ts"
1633
+ }
1634
+ },
1635
+ {
1636
+ "kind": "field",
1637
+ "name": "removeItemListeners",
1638
+ "privacy": "private",
1639
+ "inheritedFrom": {
1640
+ "name": "Accordion",
1641
+ "module": "src/accordion/accordion.ts"
1642
+ }
1643
+ },
1644
+ {
1645
+ "kind": "field",
1646
+ "name": "activeItemChange",
1647
+ "privacy": "private",
1648
+ "inheritedFrom": {
1649
+ "name": "Accordion",
1650
+ "module": "src/accordion/accordion.ts"
1651
+ }
1652
+ },
1653
+ {
1654
+ "kind": "method",
1655
+ "name": "getItemIds",
1656
+ "privacy": "private",
1657
+ "return": {
1658
+ "type": {
1659
+ "text": "Array<string | null>"
1660
+ }
1661
+ },
1662
+ "inheritedFrom": {
1663
+ "name": "Accordion",
1664
+ "module": "src/accordion/accordion.ts"
1665
+ }
1666
+ },
1667
+ {
1668
+ "kind": "method",
1669
+ "name": "isSingleExpandMode",
1670
+ "privacy": "private",
1671
+ "return": {
1672
+ "type": {
1673
+ "text": "boolean"
1674
+ }
1675
+ },
1676
+ "inheritedFrom": {
1677
+ "name": "Accordion",
1678
+ "module": "src/accordion/accordion.ts"
1679
+ }
1680
+ },
1681
+ {
1682
+ "kind": "field",
1683
+ "name": "handleItemKeyDown",
1684
+ "privacy": "private",
1685
+ "inheritedFrom": {
1686
+ "name": "Accordion",
1687
+ "module": "src/accordion/accordion.ts"
1688
+ }
1689
+ },
1690
+ {
1691
+ "kind": "field",
1692
+ "name": "handleItemFocus",
1693
+ "privacy": "private",
1694
+ "inheritedFrom": {
1695
+ "name": "Accordion",
1696
+ "module": "src/accordion/accordion.ts"
1697
+ }
1698
+ },
1699
+ {
1700
+ "kind": "method",
1701
+ "name": "adjust",
1702
+ "privacy": "private",
1703
+ "return": {
1704
+ "type": {
1705
+ "text": "void"
1706
+ }
1707
+ },
1708
+ "parameters": [
1709
+ {
1710
+ "name": "adjustment",
1711
+ "type": {
1712
+ "text": "number"
1713
+ }
1714
+ }
1715
+ ],
1716
+ "inheritedFrom": {
1717
+ "name": "Accordion",
1718
+ "module": "src/accordion/accordion.ts"
1719
+ }
1720
+ },
1721
+ {
1722
+ "kind": "method",
1723
+ "name": "focusItem",
1724
+ "privacy": "private",
1725
+ "return": {
1726
+ "type": {
1727
+ "text": "void"
1728
+ }
1729
+ },
1730
+ "inheritedFrom": {
1731
+ "name": "Accordion",
1732
+ "module": "src/accordion/accordion.ts"
1612
1733
  }
1613
1734
  },
1614
1735
  {
@@ -1725,18 +1846,18 @@
1725
1846
  ],
1726
1847
  "events": [
1727
1848
  {
1728
- "description": "Fires a custom 'change' event when the button is invoked",
1849
+ "description": "Fires a custom 'change' event when the active item changes",
1729
1850
  "name": "change",
1730
1851
  "inheritedFrom": {
1731
- "name": "AccordionItem",
1732
- "module": "src/accordion-item/accordion-item.ts"
1852
+ "name": "Accordion",
1853
+ "module": "src/accordion/accordion.ts"
1733
1854
  }
1734
1855
  }
1735
1856
  ]
1736
1857
  },
1737
1858
  {
1738
1859
  "kind": "variable",
1739
- "name": "foundationAccordionItemShadowOptions",
1860
+ "name": "foundationAccordionShadowOptions",
1740
1861
  "type": {
1741
1862
  "text": "ShadowRootInit"
1742
1863
  },
@@ -1744,57 +1865,57 @@
1744
1865
  },
1745
1866
  {
1746
1867
  "kind": "variable",
1747
- "name": "defaultAccordionItemConfig",
1868
+ "name": "defaultAccordionConfig",
1748
1869
  "type": {
1749
1870
  "text": "object"
1750
1871
  },
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}"
1872
+ "default": "{}"
1752
1873
  },
1753
1874
  {
1754
1875
  "kind": "variable",
1755
- "name": "foundationAccordionItem",
1756
- "description": "The Foundation Accordion Item",
1876
+ "name": "foundationAccordion",
1877
+ "description": "The Foundation Accordion",
1757
1878
  "privacy": "public"
1758
1879
  }
1759
1880
  ],
1760
1881
  "exports": [
1761
1882
  {
1762
1883
  "kind": "js",
1763
- "name": "AccordionItem",
1884
+ "name": "Accordion",
1764
1885
  "declaration": {
1765
- "name": "AccordionItem",
1766
- "module": "src/accordion-item/accordion-item.ts"
1886
+ "name": "Accordion",
1887
+ "module": "src/accordion/accordion.ts"
1767
1888
  }
1768
1889
  },
1769
1890
  {
1770
1891
  "kind": "js",
1771
- "name": "foundationAccordionItemShadowOptions",
1892
+ "name": "foundationAccordionShadowOptions",
1772
1893
  "declaration": {
1773
- "name": "foundationAccordionItemShadowOptions",
1774
- "module": "src/accordion-item/accordion-item.ts"
1894
+ "name": "foundationAccordionShadowOptions",
1895
+ "module": "src/accordion/accordion.ts"
1775
1896
  }
1776
1897
  },
1777
1898
  {
1778
1899
  "kind": "js",
1779
- "name": "defaultAccordionItemConfig",
1900
+ "name": "defaultAccordionConfig",
1780
1901
  "declaration": {
1781
- "name": "defaultAccordionItemConfig",
1782
- "module": "src/accordion-item/accordion-item.ts"
1902
+ "name": "defaultAccordionConfig",
1903
+ "module": "src/accordion/accordion.ts"
1783
1904
  }
1784
1905
  },
1785
1906
  {
1786
1907
  "kind": "js",
1787
- "name": "foundationAccordionItem",
1908
+ "name": "foundationAccordion",
1788
1909
  "declaration": {
1789
- "name": "foundationAccordionItem",
1790
- "module": "src/accordion-item/accordion-item.ts"
1910
+ "name": "foundationAccordion",
1911
+ "module": "src/accordion/accordion.ts"
1791
1912
  }
1792
1913
  }
1793
1914
  ]
1794
1915
  },
1795
1916
  {
1796
1917
  "kind": "javascript-module",
1797
- "path": "src/accordion-item/index.ts",
1918
+ "path": "src/accordion/index.ts",
1798
1919
  "declarations": [],
1799
1920
  "exports": [
1800
1921
  {
@@ -1802,7 +1923,7 @@
1802
1923
  "name": "*",
1803
1924
  "declaration": {
1804
1925
  "name": "*",
1805
- "package": "./accordion-item.template"
1926
+ "package": "./accordion.template"
1806
1927
  }
1807
1928
  },
1808
1929
  {
@@ -1810,7 +1931,7 @@
1810
1931
  "name": "*",
1811
1932
  "declaration": {
1812
1933
  "name": "*",
1813
- "package": "./accordion-item.styles"
1934
+ "package": "./accordion.styles"
1814
1935
  }
1815
1936
  },
1816
1937
  {
@@ -1818,18 +1939,18 @@
1818
1939
  "name": "*",
1819
1940
  "declaration": {
1820
1941
  "name": "*",
1821
- "package": "./accordion-item"
1942
+ "package": "./accordion"
1822
1943
  }
1823
1944
  }
1824
1945
  ]
1825
1946
  },
1826
1947
  {
1827
1948
  "kind": "javascript-module",
1828
- "path": "src/accordion/accordion.styles.ts",
1949
+ "path": "src/accordion-item/accordion-item.styles.ts",
1829
1950
  "declarations": [
1830
1951
  {
1831
1952
  "kind": "function",
1832
- "name": "foundationAccordionStyles",
1953
+ "name": "foundationAccordionItemStyles",
1833
1954
  "return": {
1834
1955
  "type": {
1835
1956
  "text": "ElementStyles"
@@ -1854,24 +1975,24 @@
1854
1975
  "exports": [
1855
1976
  {
1856
1977
  "kind": "js",
1857
- "name": "foundationAccordionStyles",
1978
+ "name": "foundationAccordionItemStyles",
1858
1979
  "declaration": {
1859
- "name": "foundationAccordionStyles",
1860
- "module": "src/accordion/accordion.styles.ts"
1980
+ "name": "foundationAccordionItemStyles",
1981
+ "module": "src/accordion-item/accordion-item.styles.ts"
1861
1982
  }
1862
1983
  }
1863
1984
  ]
1864
1985
  },
1865
1986
  {
1866
1987
  "kind": "javascript-module",
1867
- "path": "src/accordion/accordion.template.ts",
1988
+ "path": "src/accordion-item/accordion-item.template.ts",
1868
1989
  "declarations": [
1869
1990
  {
1870
1991
  "kind": "function",
1871
- "name": "foundationAccordionTemplate",
1992
+ "name": "foundationAccordionItemTemplate",
1872
1993
  "return": {
1873
1994
  "type": {
1874
- "text": "ViewTemplate<Accordion>"
1995
+ "text": "ViewTemplate<AccordionItem>"
1875
1996
  }
1876
1997
  },
1877
1998
  "parameters": [
@@ -1893,237 +2014,116 @@
1893
2014
  "exports": [
1894
2015
  {
1895
2016
  "kind": "js",
1896
- "name": "foundationAccordionTemplate",
2017
+ "name": "foundationAccordionItemTemplate",
1897
2018
  "declaration": {
1898
- "name": "foundationAccordionTemplate",
1899
- "module": "src/accordion/accordion.template.ts"
2019
+ "name": "foundationAccordionItemTemplate",
2020
+ "module": "src/accordion-item/accordion-item.template.ts"
1900
2021
  }
1901
2022
  }
1902
2023
  ]
1903
2024
  },
1904
2025
  {
1905
2026
  "kind": "javascript-module",
1906
- "path": "src/accordion/accordion.ts",
2027
+ "path": "src/accordion-item/accordion-item.ts",
1907
2028
  "declarations": [
1908
2029
  {
1909
2030
  "kind": "class",
1910
2031
  "description": "",
1911
- "name": "Accordion",
2032
+ "name": "AccordionItem",
1912
2033
  "superclass": {
1913
- "name": "FASTAccordion",
1914
- "package": "@microsoft/fast-foundation"
2034
+ "name": "FASTAccordionItem",
2035
+ "package": "@microsoft/fast-components"
1915
2036
  },
1916
- "tagName": "%%prefix%%-accordion",
2037
+ "tagName": "%%prefix%%-accordion-item",
1917
2038
  "customElement": true,
1918
2039
  "attributes": [
1919
2040
  {
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
- }
1930
- }
1931
- ],
1932
- "members": [
1933
- {
1934
- "kind": "field",
1935
- "name": "expandmode",
2041
+ "name": "heading-level",
1936
2042
  "type": {
1937
- "text": "AccordionExpandMode"
2043
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1938
2044
  },
1939
- "privacy": "public",
1940
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
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",
1941
2048
  "inheritedFrom": {
1942
- "name": "Accordion",
1943
- "module": "src/accordion/accordion.ts"
2049
+ "name": "AccordionItem",
2050
+ "module": "src/accordion-item/accordion-item.ts"
1944
2051
  }
1945
2052
  },
1946
2053
  {
1947
- "kind": "field",
1948
- "name": "activeid",
1949
2054
  "type": {
1950
- "text": "string | null"
2055
+ "text": "boolean"
1951
2056
  },
1952
- "privacy": "private",
2057
+ "default": "false",
2058
+ "description": "Expands or collapses the item.",
2059
+ "fieldName": "expanded",
1953
2060
  "inheritedFrom": {
1954
- "name": "Accordion",
1955
- "module": "src/accordion/accordion.ts"
2061
+ "name": "AccordionItem",
2062
+ "module": "src/accordion-item/accordion-item.ts"
1956
2063
  }
1957
2064
  },
1958
2065
  {
1959
- "kind": "field",
1960
- "name": "activeItemIndex",
2066
+ "name": "id",
1961
2067
  "type": {
1962
- "text": "number"
2068
+ "text": "string"
1963
2069
  },
1964
- "privacy": "private",
1965
- "default": "0",
2070
+ "description": "The item ID",
2071
+ "fieldName": "id",
1966
2072
  "inheritedFrom": {
1967
- "name": "Accordion",
1968
- "module": "src/accordion/accordion.ts"
2073
+ "name": "AccordionItem",
2074
+ "module": "src/accordion-item/accordion-item.ts"
1969
2075
  }
1970
- },
2076
+ }
2077
+ ],
2078
+ "members": [
1971
2079
  {
1972
2080
  "kind": "field",
1973
- "name": "accordionIds",
2081
+ "name": "headinglevel",
1974
2082
  "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
- }
2083
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2000
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.",
2001
2088
  "inheritedFrom": {
2002
- "name": "Accordion",
2003
- "module": "src/accordion/accordion.ts"
2089
+ "name": "AccordionItem",
2090
+ "module": "src/accordion-item/accordion-item.ts"
2004
2091
  }
2005
2092
  },
2006
2093
  {
2007
2094
  "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
- }
2095
+ "name": "expanded",
2096
+ "type": {
2097
+ "text": "boolean"
2023
2098
  },
2099
+ "privacy": "public",
2100
+ "default": "false",
2101
+ "description": "Expands or collapses the item.",
2024
2102
  "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"
2103
+ "name": "AccordionItem",
2104
+ "module": "src/accordion-item/accordion-item.ts"
2036
2105
  }
2037
2106
  },
2038
2107
  {
2039
2108
  "kind": "field",
2040
- "name": "activeItemChange",
2041
- "privacy": "private",
2042
- "inheritedFrom": {
2043
- "name": "Accordion",
2044
- "module": "src/accordion/accordion.ts"
2045
- }
2046
- },
2047
- {
2048
- "kind": "method",
2049
- "name": "getItemIds",
2050
- "privacy": "private",
2051
- "return": {
2052
- "type": {
2053
- "text": "Array<string | null>"
2054
- }
2055
- },
2056
- "inheritedFrom": {
2057
- "name": "Accordion",
2058
- "module": "src/accordion/accordion.ts"
2059
- }
2060
- },
2061
- {
2062
- "kind": "method",
2063
- "name": "isSingleExpandMode",
2064
- "privacy": "private",
2065
- "return": {
2066
- "type": {
2067
- "text": "boolean"
2068
- }
2109
+ "name": "id",
2110
+ "type": {
2111
+ "text": "string"
2069
2112
  },
2113
+ "privacy": "public",
2114
+ "description": "The item ID",
2070
2115
  "inheritedFrom": {
2071
- "name": "Accordion",
2072
- "module": "src/accordion/accordion.ts"
2073
- }
2074
- },
2075
- {
2076
- "kind": "field",
2077
- "name": "handleItemKeyDown",
2078
- "privacy": "private",
2079
- "inheritedFrom": {
2080
- "name": "Accordion",
2081
- "module": "src/accordion/accordion.ts"
2116
+ "name": "AccordionItem",
2117
+ "module": "src/accordion-item/accordion-item.ts"
2082
2118
  }
2083
2119
  },
2084
2120
  {
2085
2121
  "kind": "field",
2086
- "name": "handleItemFocus",
2087
- "privacy": "private",
2088
- "inheritedFrom": {
2089
- "name": "Accordion",
2090
- "module": "src/accordion/accordion.ts"
2091
- }
2092
- },
2093
- {
2094
- "kind": "method",
2095
- "name": "adjust",
2096
- "privacy": "private",
2097
- "return": {
2098
- "type": {
2099
- "text": "void"
2100
- }
2101
- },
2102
- "parameters": [
2103
- {
2104
- "name": "adjustment",
2105
- "type": {
2106
- "text": "number"
2107
- }
2108
- }
2109
- ],
2110
- "inheritedFrom": {
2111
- "name": "Accordion",
2112
- "module": "src/accordion/accordion.ts"
2113
- }
2114
- },
2115
- {
2116
- "kind": "method",
2117
- "name": "focusItem",
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
  ]
@@ -6477,181 +6477,125 @@
6477
6477
  },
6478
6478
  {
6479
6479
  "kind": "javascript-module",
6480
- "path": "src/badge/badge.styles.ts",
6480
+ "path": "src/banner/banner.styles.ts",
6481
6481
  "declarations": [
6482
6482
  {
6483
- "kind": "function",
6484
- "name": "foundationBadgeStyles",
6485
- "return": {
6486
- "type": {
6487
- "text": "ElementStyles"
6488
- }
6483
+ "kind": "variable",
6484
+ "name": "foundationBannerStyles",
6485
+ "type": {
6486
+ "text": "ElementStyles"
6489
6487
  },
6490
- "parameters": [
6491
- {
6492
- "name": "context",
6493
- "type": {
6494
- "text": "ElementDefinitionContext"
6495
- }
6496
- },
6497
- {
6498
- "name": "definition",
6499
- "type": {
6500
- "text": "FoundationElementDefinition"
6501
- }
6502
- }
6503
- ]
6488
+ "default": "css`\n @keyframes delete-animate {\n from {\n height: 100px;\n opacity: 100%;\n }\n\n to {\n height: 0;\n opacity: 0%;\n }\n }\n\n @keyframes append-animate {\n from {\n height: 0;\n opacity: 0%;\n }\n\n to {\n height: var(--banner-height);\n opacity: 100%;\n }\n }\n\n :host {\n --banner-width: 100%;\n --banner-height: 65px;\n --flow: row;\n }\n\n @media screen and (max-width: 640px) {\n :host {\n --flow: column;\n --banner-height: 100px;\n }\n }\n\n .banner {\n animation: append-animate 0.3s linear;\n width: var(--banner-width);\n height: var(--banner-height);\n background-color: var(--fill-color);\n display: flex;\n flex-direction: var(--flow);\n padding: 5px 8px;\n box-sizing: border-box;\n overflow: hidden;\n }\n\n .banner-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .content {\n display: flex;\n align-items: center;\n flex: 2;\n font-size: 12px;\n overflow: hidden;\n white-space: pre-line;\n }\n\n .action {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n gap: 10px;\n flex: 1;\n overflow: hidden;\n }\n`"
6504
6489
  }
6505
6490
  ],
6506
6491
  "exports": [
6507
6492
  {
6508
6493
  "kind": "js",
6509
- "name": "foundationBadgeStyles",
6494
+ "name": "foundationBannerStyles",
6510
6495
  "declaration": {
6511
- "name": "foundationBadgeStyles",
6512
- "module": "src/badge/badge.styles.ts"
6496
+ "name": "foundationBannerStyles",
6497
+ "module": "src/banner/banner.styles.ts"
6513
6498
  }
6514
6499
  }
6515
6500
  ]
6516
6501
  },
6517
6502
  {
6518
6503
  "kind": "javascript-module",
6519
- "path": "src/badge/badge.template.ts",
6504
+ "path": "src/banner/banner.template.ts",
6520
6505
  "declarations": [
6521
6506
  {
6522
6507
  "kind": "function",
6523
- "name": "foundationBadgeTemplate",
6524
- "return": {
6525
- "type": {
6526
- "text": "ViewTemplate<Badge>"
6527
- }
6528
- },
6508
+ "name": "getBannerTemplate",
6529
6509
  "parameters": [
6530
6510
  {
6531
- "name": "context",
6532
- "type": {
6533
- "text": "ElementDefinitionContext"
6534
- }
6535
- },
6536
- {
6537
- "name": "definition",
6511
+ "name": "prefix",
6538
6512
  "type": {
6539
- "text": "FoundationElementDefinition"
6513
+ "text": "string"
6540
6514
  }
6541
6515
  }
6542
6516
  ]
6517
+ },
6518
+ {
6519
+ "kind": "variable",
6520
+ "name": "foundationBannerTemplate",
6521
+ "default": "html<Banner>`\n ${(x) => getBannerTemplate(getPrefix(x))}\n`"
6543
6522
  }
6544
6523
  ],
6545
6524
  "exports": [
6546
6525
  {
6547
6526
  "kind": "js",
6548
- "name": "foundationBadgeTemplate",
6527
+ "name": "getBannerTemplate",
6549
6528
  "declaration": {
6550
- "name": "foundationBadgeTemplate",
6551
- "module": "src/badge/badge.template.ts"
6529
+ "name": "getBannerTemplate",
6530
+ "module": "src/banner/banner.template.ts"
6531
+ }
6532
+ },
6533
+ {
6534
+ "kind": "js",
6535
+ "name": "foundationBannerTemplate",
6536
+ "declaration": {
6537
+ "name": "foundationBannerTemplate",
6538
+ "module": "src/banner/banner.template.ts"
6552
6539
  }
6553
6540
  }
6554
6541
  ]
6555
6542
  },
6556
6543
  {
6557
6544
  "kind": "javascript-module",
6558
- "path": "src/badge/badge.ts",
6545
+ "path": "src/banner/banner.ts",
6559
6546
  "declarations": [
6547
+ {
6548
+ "kind": "variable",
6549
+ "name": "foundationBannerShadowOptions",
6550
+ "type": {
6551
+ "text": "ShadowRootInit"
6552
+ },
6553
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
6554
+ },
6560
6555
  {
6561
6556
  "kind": "class",
6562
6557
  "description": "",
6563
- "name": "Badge",
6564
- "superclass": {
6565
- "name": "FASTBadge",
6566
- "package": "@microsoft/fast-components"
6567
- },
6568
- "tagName": "%%prefix%%-badge",
6569
- "customElement": true,
6570
- "attributes": [
6571
- {
6572
- "name": "fill",
6573
- "type": {
6574
- "text": "string"
6575
- },
6576
- "description": "Indicates the badge should have a filled style.",
6577
- "fieldName": "fill",
6578
- "inheritedFrom": {
6579
- "name": "Badge",
6580
- "module": "src/badge/badge.ts"
6581
- }
6582
- },
6558
+ "name": "Banner",
6559
+ "members": [
6583
6560
  {
6584
- "name": "color",
6561
+ "kind": "field",
6562
+ "name": "banner",
6585
6563
  "type": {
6586
- "text": "string"
6564
+ "text": "HTMLElement"
6587
6565
  },
6588
- "description": "Indicates the badge should have a filled style.",
6589
- "fieldName": "color",
6590
- "inheritedFrom": {
6591
- "name": "Badge",
6592
- "module": "src/badge/badge.ts"
6593
- }
6566
+ "privacy": "public"
6594
6567
  },
6595
- {
6596
- "type": {
6597
- "text": "boolean"
6598
- },
6599
- "description": "Indicates the element should be circular",
6600
- "fieldName": "circular",
6601
- "inheritedFrom": {
6602
- "name": "Badge",
6603
- "module": "src/badge/badge.ts"
6604
- }
6605
- }
6606
- ],
6607
- "members": [
6608
6568
  {
6609
6569
  "kind": "field",
6610
- "name": "fill",
6570
+ "name": "dismissAnimation",
6611
6571
  "type": {
6612
- "text": "string"
6572
+ "text": "'banner-delete' | ''"
6613
6573
  },
6614
- "privacy": "public",
6615
- "description": "Indicates the badge should have a filled style.",
6616
- "inheritedFrom": {
6617
- "name": "Badge",
6618
- "module": "src/badge/badge.ts"
6619
- }
6574
+ "default": "''"
6620
6575
  },
6621
6576
  {
6622
6577
  "kind": "field",
6623
- "name": "color",
6578
+ "name": "notification",
6624
6579
  "type": {
6625
- "text": "string"
6626
- },
6627
- "privacy": "public",
6628
- "description": "Indicates the badge should have a filled style.",
6629
- "inheritedFrom": {
6630
- "name": "Badge",
6631
- "module": "src/badge/badge.ts"
6580
+ "text": "NotificationStructure"
6632
6581
  }
6633
6582
  },
6634
6583
  {
6635
- "kind": "field",
6636
- "name": "circular",
6637
- "type": {
6638
- "text": "boolean"
6639
- },
6584
+ "kind": "method",
6585
+ "name": "dismiss",
6640
6586
  "privacy": "public",
6641
- "description": "Indicates the element should be circular",
6642
- "inheritedFrom": {
6643
- "name": "Badge",
6644
- "module": "src/badge/badge.ts"
6645
- }
6587
+ "return": {
6588
+ "type": {
6589
+ "text": "Promise<void>"
6590
+ }
6591
+ },
6592
+ "description": "Dismiss the Banner from display."
6646
6593
  },
6647
6594
  {
6648
- "kind": "field",
6649
- "name": "generateBadgeStyle",
6595
+ "kind": "method",
6596
+ "name": "dismissNotification",
6650
6597
  "privacy": "public",
6651
- "inheritedFrom": {
6652
- "name": "Badge",
6653
- "module": "src/badge/badge.ts"
6654
- }
6598
+ "description": "Dismiss the Banner (NotificationStructure) from display."
6655
6599
  },
6656
6600
  {
6657
6601
  "kind": "field",
@@ -6764,69 +6708,51 @@
6764
6708
  "module": "src/foundation-element/foundation-element.ts"
6765
6709
  }
6766
6710
  }
6767
- ]
6768
- },
6769
- {
6770
- "kind": "variable",
6771
- "name": "foundationBadgeShadowOptions",
6772
- "type": {
6773
- "text": "ShadowRootInit"
6774
- },
6775
- "default": "undefined"
6776
- },
6777
- {
6778
- "kind": "variable",
6779
- "name": "defaultBadgeConfig",
6780
- "type": {
6781
- "text": "object"
6711
+ ],
6712
+ "superclass": {
6713
+ "name": "FoundationElement",
6714
+ "package": "@microsoft/fast-foundation"
6782
6715
  },
6783
- "default": "{}"
6716
+ "tagName": "%%prefix%%-banner",
6717
+ "customElement": true
6784
6718
  },
6785
6719
  {
6786
6720
  "kind": "variable",
6787
- "name": "foundationBadge",
6788
- "description": "The Foundation Badge",
6721
+ "name": "foundationBanner",
6722
+ "description": "The Foundation Banner",
6789
6723
  "privacy": "public"
6790
6724
  }
6791
6725
  ],
6792
6726
  "exports": [
6793
6727
  {
6794
6728
  "kind": "js",
6795
- "name": "Badge",
6796
- "declaration": {
6797
- "name": "Badge",
6798
- "module": "src/badge/badge.ts"
6799
- }
6800
- },
6801
- {
6802
- "kind": "js",
6803
- "name": "foundationBadgeShadowOptions",
6729
+ "name": "foundationBannerShadowOptions",
6804
6730
  "declaration": {
6805
- "name": "foundationBadgeShadowOptions",
6806
- "module": "src/badge/badge.ts"
6731
+ "name": "foundationBannerShadowOptions",
6732
+ "module": "src/banner/banner.ts"
6807
6733
  }
6808
6734
  },
6809
6735
  {
6810
6736
  "kind": "js",
6811
- "name": "defaultBadgeConfig",
6737
+ "name": "Banner",
6812
6738
  "declaration": {
6813
- "name": "defaultBadgeConfig",
6814
- "module": "src/badge/badge.ts"
6739
+ "name": "Banner",
6740
+ "module": "src/banner/banner.ts"
6815
6741
  }
6816
6742
  },
6817
6743
  {
6818
6744
  "kind": "js",
6819
- "name": "foundationBadge",
6745
+ "name": "foundationBanner",
6820
6746
  "declaration": {
6821
- "name": "foundationBadge",
6822
- "module": "src/badge/badge.ts"
6747
+ "name": "foundationBanner",
6748
+ "module": "src/banner/banner.ts"
6823
6749
  }
6824
6750
  }
6825
6751
  ]
6826
6752
  },
6827
6753
  {
6828
6754
  "kind": "javascript-module",
6829
- "path": "src/badge/index.ts",
6755
+ "path": "src/banner/index.ts",
6830
6756
  "declarations": [],
6831
6757
  "exports": [
6832
6758
  {
@@ -6834,7 +6760,7 @@
6834
6760
  "name": "*",
6835
6761
  "declaration": {
6836
6762
  "name": "*",
6837
- "package": "./badge.template"
6763
+ "package": "./banner.styles"
6838
6764
  }
6839
6765
  },
6840
6766
  {
@@ -6842,7 +6768,7 @@
6842
6768
  "name": "*",
6843
6769
  "declaration": {
6844
6770
  "name": "*",
6845
- "package": "./badge.styles"
6771
+ "package": "./banner.template"
6846
6772
  }
6847
6773
  },
6848
6774
  {
@@ -6850,132 +6776,188 @@
6850
6776
  "name": "*",
6851
6777
  "declaration": {
6852
6778
  "name": "*",
6853
- "package": "./badge"
6779
+ "package": "./banner"
6854
6780
  }
6855
6781
  }
6856
6782
  ]
6857
6783
  },
6858
6784
  {
6859
6785
  "kind": "javascript-module",
6860
- "path": "src/banner/banner.styles.ts",
6786
+ "path": "src/badge/badge.styles.ts",
6861
6787
  "declarations": [
6862
6788
  {
6863
- "kind": "variable",
6864
- "name": "foundationBannerStyles",
6865
- "type": {
6866
- "text": "ElementStyles"
6789
+ "kind": "function",
6790
+ "name": "foundationBadgeStyles",
6791
+ "return": {
6792
+ "type": {
6793
+ "text": "ElementStyles"
6794
+ }
6867
6795
  },
6868
- "default": "css`\n @keyframes delete-animate {\n from {\n height: 100px;\n opacity: 100%;\n }\n\n to {\n height: 0;\n opacity: 0%;\n }\n }\n\n @keyframes append-animate {\n from {\n height: 0;\n opacity: 0%;\n }\n\n to {\n height: var(--banner-height);\n opacity: 100%;\n }\n }\n\n :host {\n --banner-width: 100%;\n --banner-height: 65px;\n --flow: row;\n }\n\n @media screen and (max-width: 640px) {\n :host {\n --flow: column;\n --banner-height: 100px;\n }\n }\n\n .banner {\n animation: append-animate 0.3s linear;\n width: var(--banner-width);\n height: var(--banner-height);\n background-color: var(--fill-color);\n display: flex;\n flex-direction: var(--flow);\n padding: 5px 8px;\n box-sizing: border-box;\n overflow: hidden;\n }\n\n .banner-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .content {\n display: flex;\n align-items: center;\n flex: 2;\n font-size: 12px;\n overflow: hidden;\n white-space: pre-line;\n }\n\n .action {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n gap: 10px;\n flex: 1;\n overflow: hidden;\n }\n`"
6796
+ "parameters": [
6797
+ {
6798
+ "name": "context",
6799
+ "type": {
6800
+ "text": "ElementDefinitionContext"
6801
+ }
6802
+ },
6803
+ {
6804
+ "name": "definition",
6805
+ "type": {
6806
+ "text": "FoundationElementDefinition"
6807
+ }
6808
+ }
6809
+ ]
6869
6810
  }
6870
6811
  ],
6871
6812
  "exports": [
6872
6813
  {
6873
6814
  "kind": "js",
6874
- "name": "foundationBannerStyles",
6815
+ "name": "foundationBadgeStyles",
6875
6816
  "declaration": {
6876
- "name": "foundationBannerStyles",
6877
- "module": "src/banner/banner.styles.ts"
6817
+ "name": "foundationBadgeStyles",
6818
+ "module": "src/badge/badge.styles.ts"
6878
6819
  }
6879
6820
  }
6880
6821
  ]
6881
6822
  },
6882
6823
  {
6883
6824
  "kind": "javascript-module",
6884
- "path": "src/banner/banner.template.ts",
6825
+ "path": "src/badge/badge.template.ts",
6885
6826
  "declarations": [
6886
6827
  {
6887
6828
  "kind": "function",
6888
- "name": "getBannerTemplate",
6829
+ "name": "foundationBadgeTemplate",
6830
+ "return": {
6831
+ "type": {
6832
+ "text": "ViewTemplate<Badge>"
6833
+ }
6834
+ },
6889
6835
  "parameters": [
6890
6836
  {
6891
- "name": "prefix",
6837
+ "name": "context",
6892
6838
  "type": {
6893
- "text": "string"
6839
+ "text": "ElementDefinitionContext"
6840
+ }
6841
+ },
6842
+ {
6843
+ "name": "definition",
6844
+ "type": {
6845
+ "text": "FoundationElementDefinition"
6894
6846
  }
6895
6847
  }
6896
6848
  ]
6897
- },
6898
- {
6899
- "kind": "variable",
6900
- "name": "foundationBannerTemplate",
6901
- "default": "html<Banner>`\n ${(x) => getBannerTemplate(getPrefix(x))}\n`"
6902
6849
  }
6903
6850
  ],
6904
6851
  "exports": [
6905
6852
  {
6906
6853
  "kind": "js",
6907
- "name": "getBannerTemplate",
6908
- "declaration": {
6909
- "name": "getBannerTemplate",
6910
- "module": "src/banner/banner.template.ts"
6911
- }
6912
- },
6913
- {
6914
- "kind": "js",
6915
- "name": "foundationBannerTemplate",
6854
+ "name": "foundationBadgeTemplate",
6916
6855
  "declaration": {
6917
- "name": "foundationBannerTemplate",
6918
- "module": "src/banner/banner.template.ts"
6856
+ "name": "foundationBadgeTemplate",
6857
+ "module": "src/badge/badge.template.ts"
6919
6858
  }
6920
6859
  }
6921
6860
  ]
6922
6861
  },
6923
6862
  {
6924
6863
  "kind": "javascript-module",
6925
- "path": "src/banner/banner.ts",
6864
+ "path": "src/badge/badge.ts",
6926
6865
  "declarations": [
6927
- {
6928
- "kind": "variable",
6929
- "name": "foundationBannerShadowOptions",
6930
- "type": {
6931
- "text": "ShadowRootInit"
6932
- },
6933
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
6934
- },
6935
6866
  {
6936
6867
  "kind": "class",
6937
6868
  "description": "",
6938
- "name": "Banner",
6939
- "members": [
6869
+ "name": "Badge",
6870
+ "superclass": {
6871
+ "name": "FASTBadge",
6872
+ "package": "@microsoft/fast-components"
6873
+ },
6874
+ "tagName": "%%prefix%%-badge",
6875
+ "customElement": true,
6876
+ "attributes": [
6940
6877
  {
6941
- "kind": "field",
6942
- "name": "banner",
6878
+ "name": "fill",
6943
6879
  "type": {
6944
- "text": "HTMLElement"
6880
+ "text": "string"
6945
6881
  },
6946
- "privacy": "public"
6882
+ "description": "Indicates the badge should have a filled style.",
6883
+ "fieldName": "fill",
6884
+ "inheritedFrom": {
6885
+ "name": "Badge",
6886
+ "module": "src/badge/badge.ts"
6887
+ }
6947
6888
  },
6948
6889
  {
6949
- "kind": "field",
6950
- "name": "dismissAnimation",
6890
+ "name": "color",
6951
6891
  "type": {
6952
- "text": "'banner-delete' | ''"
6892
+ "text": "string"
6953
6893
  },
6954
- "default": "''"
6894
+ "description": "Indicates the badge should have a filled style.",
6895
+ "fieldName": "color",
6896
+ "inheritedFrom": {
6897
+ "name": "Badge",
6898
+ "module": "src/badge/badge.ts"
6899
+ }
6955
6900
  },
6901
+ {
6902
+ "type": {
6903
+ "text": "boolean"
6904
+ },
6905
+ "description": "Indicates the element should be circular",
6906
+ "fieldName": "circular",
6907
+ "inheritedFrom": {
6908
+ "name": "Badge",
6909
+ "module": "src/badge/badge.ts"
6910
+ }
6911
+ }
6912
+ ],
6913
+ "members": [
6956
6914
  {
6957
6915
  "kind": "field",
6958
- "name": "notification",
6916
+ "name": "fill",
6959
6917
  "type": {
6960
- "text": "NotificationStructure"
6918
+ "text": "string"
6919
+ },
6920
+ "privacy": "public",
6921
+ "description": "Indicates the badge should have a filled style.",
6922
+ "inheritedFrom": {
6923
+ "name": "Badge",
6924
+ "module": "src/badge/badge.ts"
6961
6925
  }
6962
6926
  },
6963
6927
  {
6964
- "kind": "method",
6965
- "name": "dismiss",
6928
+ "kind": "field",
6929
+ "name": "color",
6930
+ "type": {
6931
+ "text": "string"
6932
+ },
6966
6933
  "privacy": "public",
6967
- "return": {
6968
- "type": {
6969
- "text": "Promise<void>"
6970
- }
6934
+ "description": "Indicates the badge should have a filled style.",
6935
+ "inheritedFrom": {
6936
+ "name": "Badge",
6937
+ "module": "src/badge/badge.ts"
6938
+ }
6939
+ },
6940
+ {
6941
+ "kind": "field",
6942
+ "name": "circular",
6943
+ "type": {
6944
+ "text": "boolean"
6971
6945
  },
6972
- "description": "Dismiss the Banner from display."
6946
+ "privacy": "public",
6947
+ "description": "Indicates the element should be circular",
6948
+ "inheritedFrom": {
6949
+ "name": "Badge",
6950
+ "module": "src/badge/badge.ts"
6951
+ }
6973
6952
  },
6974
6953
  {
6975
- "kind": "method",
6976
- "name": "dismissNotification",
6954
+ "kind": "field",
6955
+ "name": "generateBadgeStyle",
6977
6956
  "privacy": "public",
6978
- "description": "Dismiss the Banner (NotificationStructure) from display."
6957
+ "inheritedFrom": {
6958
+ "name": "Badge",
6959
+ "module": "src/badge/badge.ts"
6960
+ }
6979
6961
  },
6980
6962
  {
6981
6963
  "kind": "field",
@@ -7088,51 +7070,69 @@
7088
7070
  "module": "src/foundation-element/foundation-element.ts"
7089
7071
  }
7090
7072
  }
7091
- ],
7092
- "superclass": {
7093
- "name": "FoundationElement",
7094
- "package": "@microsoft/fast-foundation"
7073
+ ]
7074
+ },
7075
+ {
7076
+ "kind": "variable",
7077
+ "name": "foundationBadgeShadowOptions",
7078
+ "type": {
7079
+ "text": "ShadowRootInit"
7095
7080
  },
7096
- "tagName": "%%prefix%%-banner",
7097
- "customElement": true
7081
+ "default": "undefined"
7098
7082
  },
7099
7083
  {
7100
7084
  "kind": "variable",
7101
- "name": "foundationBanner",
7102
- "description": "The Foundation Banner",
7085
+ "name": "defaultBadgeConfig",
7086
+ "type": {
7087
+ "text": "object"
7088
+ },
7089
+ "default": "{}"
7090
+ },
7091
+ {
7092
+ "kind": "variable",
7093
+ "name": "foundationBadge",
7094
+ "description": "The Foundation Badge",
7103
7095
  "privacy": "public"
7104
7096
  }
7105
7097
  ],
7106
7098
  "exports": [
7107
7099
  {
7108
7100
  "kind": "js",
7109
- "name": "foundationBannerShadowOptions",
7101
+ "name": "Badge",
7110
7102
  "declaration": {
7111
- "name": "foundationBannerShadowOptions",
7112
- "module": "src/banner/banner.ts"
7103
+ "name": "Badge",
7104
+ "module": "src/badge/badge.ts"
7113
7105
  }
7114
7106
  },
7115
7107
  {
7116
7108
  "kind": "js",
7117
- "name": "Banner",
7109
+ "name": "foundationBadgeShadowOptions",
7118
7110
  "declaration": {
7119
- "name": "Banner",
7120
- "module": "src/banner/banner.ts"
7111
+ "name": "foundationBadgeShadowOptions",
7112
+ "module": "src/badge/badge.ts"
7121
7113
  }
7122
7114
  },
7123
7115
  {
7124
7116
  "kind": "js",
7125
- "name": "foundationBanner",
7117
+ "name": "defaultBadgeConfig",
7126
7118
  "declaration": {
7127
- "name": "foundationBanner",
7128
- "module": "src/banner/banner.ts"
7119
+ "name": "defaultBadgeConfig",
7120
+ "module": "src/badge/badge.ts"
7121
+ }
7122
+ },
7123
+ {
7124
+ "kind": "js",
7125
+ "name": "foundationBadge",
7126
+ "declaration": {
7127
+ "name": "foundationBadge",
7128
+ "module": "src/badge/badge.ts"
7129
7129
  }
7130
7130
  }
7131
7131
  ]
7132
7132
  },
7133
7133
  {
7134
7134
  "kind": "javascript-module",
7135
- "path": "src/banner/index.ts",
7135
+ "path": "src/badge/index.ts",
7136
7136
  "declarations": [],
7137
7137
  "exports": [
7138
7138
  {
@@ -7140,7 +7140,7 @@
7140
7140
  "name": "*",
7141
7141
  "declaration": {
7142
7142
  "name": "*",
7143
- "package": "./banner.styles"
7143
+ "package": "./badge.template"
7144
7144
  }
7145
7145
  },
7146
7146
  {
@@ -7148,7 +7148,7 @@
7148
7148
  "name": "*",
7149
7149
  "declaration": {
7150
7150
  "name": "*",
7151
- "package": "./banner.template"
7151
+ "package": "./badge.styles"
7152
7152
  }
7153
7153
  },
7154
7154
  {
@@ -7156,7 +7156,7 @@
7156
7156
  "name": "*",
7157
7157
  "declaration": {
7158
7158
  "name": "*",
7159
- "package": "./banner"
7159
+ "package": "./badge"
7160
7160
  }
7161
7161
  }
7162
7162
  ]
@@ -42037,20 +42037,6 @@
42037
42037
  }
42038
42038
  }
42039
42039
  ],
42040
- "events": [
42041
- {
42042
- "description": "Fired when the combobox value changes",
42043
- "name": "change",
42044
- "inheritedFrom": {
42045
- "name": "Combobox",
42046
- "module": "src/combobox/combobox.ts"
42047
- }
42048
- },
42049
- {
42050
- "description": "Fired when the input is cleared by the user",
42051
- "name": "inputdeleted"
42052
- }
42053
- ],
42054
42040
  "attributes": [
42055
42041
  {
42056
42042
  "name": "minlength",
@@ -42128,8 +42114,16 @@
42128
42114
  "name": "Combobox",
42129
42115
  "package": "@microsoft/fast-components"
42130
42116
  },
42131
- "tagName": "%%prefix%%-search-bar-combobox",
42132
- "customElement": true
42117
+ "events": [
42118
+ {
42119
+ "description": "Fires a custom 'change' event when the value updates",
42120
+ "name": "change",
42121
+ "inheritedFrom": {
42122
+ "name": "Combobox",
42123
+ "module": "src/combobox/combobox.ts"
42124
+ }
42125
+ }
42126
+ ]
42133
42127
  },
42134
42128
  {
42135
42129
  "kind": "variable",
@@ -42196,7 +42190,7 @@
42196
42190
  {
42197
42191
  "kind": "variable",
42198
42192
  "name": "foundationSearchBarStyles",
42199
- "default": "css`\n .search-bar-combobox {\n width: 100%;\n min-width: auto;\n }\n\n .padding {\n padding-left: calc(${designUnit} * 1px);\n }\n\n .selected-options {\n display: flex;\n align-items: center;\n overflow: hidden;\n gap: calc(${designUnit} * 1px);\n padding-right: calc(${designUnit} * 1px);\n }\n\n .selected-options:hover {\n overflow-x: overlay;\n }\n\n .selected-options::-webkit-scrollbar {\n height: 7px;\n }\n\n .selected-options::-webkit-scrollbar-thumb {\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);\n background-color: #484848;\n border: 1px solid #7e7e7e;\n }\n\n .selected-options-divider {\n border-right: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);\n }\n\n .options-button {\n height: fit-content;\n min-width: fit-content;\n }\n\n .label {\n display: block;\n font-size: var(--type-ramp-base-font-size);\n margin: calc(${designUnit} * 2px) 2px;\n }\n\n .label-hidden {\n display: none;\n }\n\n .search-clear-button {\n min-width: 28px;\n min-height: 28px;\n height: 28px;\n margin: 0;\n }\n\n .search-clear-button svg {\n rotate: 45deg;\n }\n\n .search-clear-button::part(control) {\n padding: 0;\n }\n\n .search-clear-button .svg-container {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .tooltip {\n position: absolute;\n z-index: 999;\n }\n\n .tooltip::part(tooltip) {\n background-color: rgb(18 18 18 / 100%);\n border: 1px solid #2e3339;\n display: flex;\n justify-content: center;\n align-items: center;\n box-shadow: 0 4px 10px rgb(0 0 0 / 25%);\n font-size: 10px;\n color: #f1f1f1;\n height: 26px;\n }\n\n .close-icon {\n color: var(--accent-fill-rest);\n }\n`"
42193
+ "default": "css`\n .search-bar-combobox {\n width: 100%;\n min-width: auto;\n }\n\n .padding {\n padding-left: calc(${designUnit} * 1px);\n }\n\n .selected-options {\n display: flex;\n align-items: center;\n overflow: hidden;\n gap: calc(${designUnit} * 1px);\n padding-right: calc(${designUnit} * 1px);\n }\n\n .selected-options:hover {\n overflow-x: overlay;\n }\n\n .selected-options::-webkit-scrollbar {\n height: 7px;\n }\n\n .selected-options::-webkit-scrollbar-thumb {\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);\n background-color: #484848;\n border: 1px solid #7e7e7e;\n }\n\n .selected-options-divider {\n border-right: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-rest);\n }\n\n .options-button {\n height: fit-content;\n min-width: fit-content;\n }\n\n .label {\n display: block;\n font-size: var(--type-ramp-base-font-size);\n margin: calc(${designUnit} * 2px) 2px;\n }\n\n .label-hidden {\n display: none;\n }\n\n .search-clear-button {\n min-width: 28px;\n min-height: 28px;\n height: 28px;\n margin: 0;\n }\n\n .search-clear-button svg {\n rotate: 45deg;\n }\n\n .search-clear-button::part(control) {\n padding: 0;\n }\n\n .search-clear-button .svg-container {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .close-icon {\n color: var(--accent-fill-rest);\n }\n`"
42200
42194
  }
42201
42195
  ],
42202
42196
  "exports": [
@@ -42355,6 +42349,15 @@
42355
42349
  "text": "boolean"
42356
42350
  }
42357
42351
  },
42352
+ {
42353
+ "kind": "field",
42354
+ "name": "clearButton",
42355
+ "type": {
42356
+ "text": "boolean"
42357
+ },
42358
+ "default": "true",
42359
+ "attribute": "clear-button"
42360
+ },
42358
42361
  {
42359
42362
  "kind": "field",
42360
42363
  "name": "loading",
@@ -42388,7 +42391,8 @@
42388
42391
  {
42389
42392
  "kind": "method",
42390
42393
  "name": "clear",
42391
- "privacy": "public"
42394
+ "privacy": "public",
42395
+ "description": "Clears all search chips and the current input, and emits `selectionChange` with an empty array."
42392
42396
  },
42393
42397
  {
42394
42398
  "kind": "method",
@@ -42398,7 +42402,21 @@
42398
42402
  "type": {
42399
42403
  "text": "void"
42400
42404
  }
42401
- }
42405
+ },
42406
+ "description": "Alias for SearchBar.clear."
42407
+ },
42408
+ {
42409
+ "kind": "method",
42410
+ "name": "selectedOptionsChanged"
42411
+ },
42412
+ {
42413
+ "kind": "method",
42414
+ "name": "optionsChanged"
42415
+ },
42416
+ {
42417
+ "kind": "method",
42418
+ "name": "applySearchInputLock",
42419
+ "privacy": "private"
42402
42420
  },
42403
42421
  {
42404
42422
  "kind": "method",
@@ -42602,6 +42620,15 @@
42602
42620
  }
42603
42621
  ],
42604
42622
  "attributes": [
42623
+ {
42624
+ "name": "clear-button",
42625
+ "type": {
42626
+ "text": "boolean"
42627
+ },
42628
+ "default": "true",
42629
+ "fieldName": "clearButton",
42630
+ "description": "when true, shows the end clear control when there are chips or typed text. When false, use {@link SearchBar.clear} or {@link SearchBar.clearSearch} to reset programmatically."
42631
+ },
42605
42632
  {
42606
42633
  "name": "appearance",
42607
42634
  "type": {
@@ -42642,6 +42669,15 @@
42642
42669
  "text": "boolean"
42643
42670
  },
42644
42671
  "fieldName": "disabled"
42672
+ },
42673
+ {
42674
+ "name": "clear-button",
42675
+ "type": {
42676
+ "text": "boolean"
42677
+ },
42678
+ "default": "true",
42679
+ "attribute": "clear-button",
42680
+ "fieldName": "clearButton"
42645
42681
  }
42646
42682
  ],
42647
42683
  "superclass": {