@genesislcap/foundation-ui 15.35.4 → 15.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1495,42 +1495,11 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/_config/index.ts",
1499
- "declarations": [],
1500
- "exports": [
1501
- {
1502
- "kind": "js",
1503
- "name": "*",
1504
- "declaration": {
1505
- "name": "*",
1506
- "package": "./styles"
1507
- }
1508
- },
1509
- {
1510
- "kind": "js",
1511
- "name": "*",
1512
- "declaration": {
1513
- "name": "*",
1514
- "package": "./tokens"
1515
- }
1516
- },
1517
- {
1518
- "kind": "js",
1519
- "name": "*",
1520
- "declaration": {
1521
- "name": "*",
1522
- "package": "./values"
1523
- }
1524
- }
1525
- ]
1526
- },
1527
- {
1528
- "kind": "javascript-module",
1529
- "path": "src/accordion-item/accordion-item.styles.ts",
1498
+ "path": "src/accordion/accordion.styles.ts",
1530
1499
  "declarations": [
1531
1500
  {
1532
1501
  "kind": "function",
1533
- "name": "foundationAccordionItemStyles",
1502
+ "name": "foundationAccordionStyles",
1534
1503
  "return": {
1535
1504
  "type": {
1536
1505
  "text": "ElementStyles"
@@ -1555,24 +1524,24 @@
1555
1524
  "exports": [
1556
1525
  {
1557
1526
  "kind": "js",
1558
- "name": "foundationAccordionItemStyles",
1527
+ "name": "foundationAccordionStyles",
1559
1528
  "declaration": {
1560
- "name": "foundationAccordionItemStyles",
1561
- "module": "src/accordion-item/accordion-item.styles.ts"
1529
+ "name": "foundationAccordionStyles",
1530
+ "module": "src/accordion/accordion.styles.ts"
1562
1531
  }
1563
1532
  }
1564
1533
  ]
1565
1534
  },
1566
1535
  {
1567
1536
  "kind": "javascript-module",
1568
- "path": "src/accordion-item/accordion-item.template.ts",
1537
+ "path": "src/accordion/accordion.template.ts",
1569
1538
  "declarations": [
1570
1539
  {
1571
1540
  "kind": "function",
1572
- "name": "foundationAccordionItemTemplate",
1541
+ "name": "foundationAccordionTemplate",
1573
1542
  "return": {
1574
1543
  "type": {
1575
- "text": "ViewTemplate<AccordionItem>"
1544
+ "text": "ViewTemplate<Accordion>"
1576
1545
  }
1577
1546
  },
1578
1547
  "parameters": [
@@ -1594,244 +1563,365 @@
1594
1563
  "exports": [
1595
1564
  {
1596
1565
  "kind": "js",
1597
- "name": "foundationAccordionItemTemplate",
1566
+ "name": "foundationAccordionTemplate",
1598
1567
  "declaration": {
1599
- "name": "foundationAccordionItemTemplate",
1600
- "module": "src/accordion-item/accordion-item.template.ts"
1568
+ "name": "foundationAccordionTemplate",
1569
+ "module": "src/accordion/accordion.template.ts"
1601
1570
  }
1602
1571
  }
1603
1572
  ]
1604
1573
  },
1605
1574
  {
1606
1575
  "kind": "javascript-module",
1607
- "path": "src/accordion-item/accordion-item.ts",
1576
+ "path": "src/accordion/accordion.ts",
1608
1577
  "declarations": [
1609
1578
  {
1610
1579
  "kind": "class",
1611
1580
  "description": "",
1612
- "name": "AccordionItem",
1581
+ "name": "Accordion",
1613
1582
  "superclass": {
1614
- "name": "FASTAccordionItem",
1615
- "package": "@microsoft/fast-components"
1583
+ "name": "FASTAccordion",
1584
+ "package": "@microsoft/fast-foundation"
1616
1585
  },
1617
- "tagName": "%%prefix%%-accordion-item",
1586
+ "tagName": "%%prefix%%-accordion",
1618
1587
  "customElement": true,
1619
1588
  "attributes": [
1620
1589
  {
1621
- "name": "heading-level",
1622
- "type": {
1623
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1624
- },
1625
- "default": "2",
1626
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1627
- "fieldName": "headinglevel",
1628
- "inheritedFrom": {
1629
- "name": "AccordionItem",
1630
- "module": "src/accordion-item/accordion-item.ts"
1631
- }
1632
- },
1633
- {
1634
- "type": {
1635
- "text": "boolean"
1636
- },
1637
- "default": "false",
1638
- "description": "Expands or collapses the item.",
1639
- "fieldName": "expanded",
1640
- "inheritedFrom": {
1641
- "name": "AccordionItem",
1642
- "module": "src/accordion-item/accordion-item.ts"
1643
- }
1644
- },
1645
- {
1646
- "name": "id",
1590
+ "name": "expand-mode",
1647
1591
  "type": {
1648
- "text": "string"
1592
+ "text": "AccordionExpandMode"
1649
1593
  },
1650
- "description": "The item ID",
1651
- "fieldName": "id",
1594
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1595
+ "fieldName": "expandmode",
1652
1596
  "inheritedFrom": {
1653
- "name": "AccordionItem",
1654
- "module": "src/accordion-item/accordion-item.ts"
1597
+ "name": "Accordion",
1598
+ "module": "src/accordion/accordion.ts"
1655
1599
  }
1656
1600
  }
1657
1601
  ],
1658
1602
  "members": [
1659
1603
  {
1660
1604
  "kind": "field",
1661
- "name": "headinglevel",
1605
+ "name": "expandmode",
1662
1606
  "type": {
1663
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1607
+ "text": "AccordionExpandMode"
1664
1608
  },
1665
1609
  "privacy": "public",
1666
- "default": "2",
1667
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1610
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1668
1611
  "inheritedFrom": {
1669
- "name": "AccordionItem",
1670
- "module": "src/accordion-item/accordion-item.ts"
1612
+ "name": "Accordion",
1613
+ "module": "src/accordion/accordion.ts"
1671
1614
  }
1672
1615
  },
1673
1616
  {
1674
1617
  "kind": "field",
1675
- "name": "expanded",
1618
+ "name": "activeid",
1676
1619
  "type": {
1677
- "text": "boolean"
1620
+ "text": "string | null"
1678
1621
  },
1679
- "privacy": "public",
1680
- "default": "false",
1681
- "description": "Expands or collapses the item.",
1622
+ "privacy": "private",
1682
1623
  "inheritedFrom": {
1683
- "name": "AccordionItem",
1684
- "module": "src/accordion-item/accordion-item.ts"
1624
+ "name": "Accordion",
1625
+ "module": "src/accordion/accordion.ts"
1685
1626
  }
1686
1627
  },
1687
1628
  {
1688
1629
  "kind": "field",
1689
- "name": "id",
1630
+ "name": "activeItemIndex",
1690
1631
  "type": {
1691
- "text": "string"
1632
+ "text": "number"
1692
1633
  },
1693
- "privacy": "public",
1694
- "description": "The item ID",
1634
+ "privacy": "private",
1635
+ "default": "0",
1695
1636
  "inheritedFrom": {
1696
- "name": "AccordionItem",
1697
- "module": "src/accordion-item/accordion-item.ts"
1637
+ "name": "Accordion",
1638
+ "module": "src/accordion/accordion.ts"
1698
1639
  }
1699
1640
  },
1700
1641
  {
1701
1642
  "kind": "field",
1702
- "name": "change",
1643
+ "name": "accordionIds",
1644
+ "type": {
1645
+ "text": "Array<string | null>"
1646
+ },
1703
1647
  "privacy": "private",
1704
1648
  "inheritedFrom": {
1705
- "name": "AccordionItem",
1706
- "module": "src/accordion-item/accordion-item.ts"
1649
+ "name": "Accordion",
1650
+ "module": "src/accordion/accordion.ts"
1707
1651
  }
1708
1652
  },
1709
1653
  {
1710
1654
  "kind": "field",
1711
- "name": "_presentation",
1712
- "type": {
1713
- "text": "ComponentPresentation | null | undefined"
1714
- },
1655
+ "name": "change",
1715
1656
  "privacy": "private",
1716
- "default": "void 0",
1717
1657
  "inheritedFrom": {
1718
- "name": "FoundationElement",
1719
- "module": "src/foundation-element/foundation-element.ts"
1658
+ "name": "Accordion",
1659
+ "module": "src/accordion/accordion.ts"
1720
1660
  }
1721
1661
  },
1722
1662
  {
1723
- "kind": "field",
1724
- "name": "$presentation",
1725
- "type": {
1726
- "text": "ComponentPresentation | null"
1663
+ "kind": "method",
1664
+ "name": "findExpandedItem",
1665
+ "privacy": "private",
1666
+ "return": {
1667
+ "type": {
1668
+ "text": "AccordionItem | null"
1669
+ }
1727
1670
  },
1728
- "privacy": "public",
1729
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1730
1671
  "inheritedFrom": {
1731
- "name": "FoundationElement",
1732
- "module": "src/foundation-element/foundation-element.ts"
1672
+ "name": "Accordion",
1673
+ "module": "src/accordion/accordion.ts"
1733
1674
  }
1734
1675
  },
1735
1676
  {
1736
1677
  "kind": "field",
1737
- "name": "template",
1738
- "type": {
1739
- "text": "ElementViewTemplate | void | null"
1740
- },
1741
- "privacy": "public",
1742
- "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.",
1678
+ "name": "setItems",
1679
+ "privacy": "private",
1743
1680
  "inheritedFrom": {
1744
- "name": "FoundationElement",
1745
- "module": "src/foundation-element/foundation-element.ts"
1681
+ "name": "Accordion",
1682
+ "module": "src/accordion/accordion.ts"
1746
1683
  }
1747
1684
  },
1748
1685
  {
1749
1686
  "kind": "method",
1750
- "name": "templateChanged",
1751
- "privacy": "protected",
1687
+ "name": "resetItems",
1688
+ "privacy": "private",
1752
1689
  "return": {
1753
1690
  "type": {
1754
1691
  "text": "void"
1755
1692
  }
1756
1693
  },
1757
1694
  "inheritedFrom": {
1758
- "name": "FoundationElement",
1759
- "module": "src/foundation-element/foundation-element.ts"
1695
+ "name": "Accordion",
1696
+ "module": "src/accordion/accordion.ts"
1760
1697
  }
1761
1698
  },
1762
1699
  {
1763
1700
  "kind": "field",
1764
- "name": "styles",
1765
- "type": {
1766
- "text": "ElementStyles | void | null"
1767
- },
1768
- "privacy": "public",
1769
- "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.",
1701
+ "name": "removeItemListeners",
1702
+ "privacy": "private",
1770
1703
  "inheritedFrom": {
1771
- "name": "FoundationElement",
1772
- "module": "src/foundation-element/foundation-element.ts"
1704
+ "name": "Accordion",
1705
+ "module": "src/accordion/accordion.ts"
1706
+ }
1707
+ },
1708
+ {
1709
+ "kind": "field",
1710
+ "name": "activeItemChange",
1711
+ "privacy": "private",
1712
+ "inheritedFrom": {
1713
+ "name": "Accordion",
1714
+ "module": "src/accordion/accordion.ts"
1773
1715
  }
1774
1716
  },
1775
1717
  {
1776
1718
  "kind": "method",
1777
- "name": "stylesChanged",
1778
- "privacy": "protected",
1719
+ "name": "getItemIds",
1720
+ "privacy": "private",
1779
1721
  "return": {
1780
1722
  "type": {
1781
- "text": "void"
1723
+ "text": "Array<string | null>"
1782
1724
  }
1783
1725
  },
1784
1726
  "inheritedFrom": {
1785
- "name": "FoundationElement",
1786
- "module": "src/foundation-element/foundation-element.ts"
1727
+ "name": "Accordion",
1728
+ "module": "src/accordion/accordion.ts"
1787
1729
  }
1788
1730
  },
1789
1731
  {
1790
1732
  "kind": "method",
1791
- "name": "compose",
1792
- "privacy": "public",
1793
- "static": true,
1733
+ "name": "isSingleExpandMode",
1734
+ "privacy": "private",
1794
1735
  "return": {
1795
1736
  "type": {
1796
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1737
+ "text": "boolean"
1797
1738
  }
1798
1739
  },
1799
- "parameters": [
1800
- {
1801
- "name": "this",
1802
- "type": {
1803
- "text": "K"
1804
- }
1805
- },
1806
- {
1807
- "name": "elementDefinition",
1808
- "type": {
1809
- "text": "T"
1810
- },
1811
- "description": "The definition of the element to create the registry\nfunction for."
1812
- }
1813
- ],
1814
- "description": "Defines an element registry function with a set of element definition defaults.",
1815
1740
  "inheritedFrom": {
1816
- "name": "FoundationElement",
1817
- "module": "src/foundation-element/foundation-element.ts"
1741
+ "name": "Accordion",
1742
+ "module": "src/accordion/accordion.ts"
1818
1743
  }
1819
- }
1820
- ],
1821
- "events": [
1744
+ },
1822
1745
  {
1823
- "description": "Fires a custom 'change' event when the button is invoked",
1824
- "name": "change",
1825
- "inheritedFrom": {
1826
- "name": "AccordionItem",
1827
- "module": "src/accordion-item/accordion-item.ts"
1746
+ "kind": "field",
1747
+ "name": "handleItemKeyDown",
1748
+ "privacy": "private",
1749
+ "inheritedFrom": {
1750
+ "name": "Accordion",
1751
+ "module": "src/accordion/accordion.ts"
1752
+ }
1753
+ },
1754
+ {
1755
+ "kind": "field",
1756
+ "name": "handleItemFocus",
1757
+ "privacy": "private",
1758
+ "inheritedFrom": {
1759
+ "name": "Accordion",
1760
+ "module": "src/accordion/accordion.ts"
1761
+ }
1762
+ },
1763
+ {
1764
+ "kind": "method",
1765
+ "name": "adjust",
1766
+ "privacy": "private",
1767
+ "return": {
1768
+ "type": {
1769
+ "text": "void"
1770
+ }
1771
+ },
1772
+ "parameters": [
1773
+ {
1774
+ "name": "adjustment",
1775
+ "type": {
1776
+ "text": "number"
1777
+ }
1778
+ }
1779
+ ],
1780
+ "inheritedFrom": {
1781
+ "name": "Accordion",
1782
+ "module": "src/accordion/accordion.ts"
1783
+ }
1784
+ },
1785
+ {
1786
+ "kind": "method",
1787
+ "name": "focusItem",
1788
+ "privacy": "private",
1789
+ "return": {
1790
+ "type": {
1791
+ "text": "void"
1792
+ }
1793
+ },
1794
+ "inheritedFrom": {
1795
+ "name": "Accordion",
1796
+ "module": "src/accordion/accordion.ts"
1797
+ }
1798
+ },
1799
+ {
1800
+ "kind": "field",
1801
+ "name": "_presentation",
1802
+ "type": {
1803
+ "text": "ComponentPresentation | null | undefined"
1804
+ },
1805
+ "privacy": "private",
1806
+ "default": "void 0",
1807
+ "inheritedFrom": {
1808
+ "name": "FoundationElement",
1809
+ "module": "src/foundation-element/foundation-element.ts"
1810
+ }
1811
+ },
1812
+ {
1813
+ "kind": "field",
1814
+ "name": "$presentation",
1815
+ "type": {
1816
+ "text": "ComponentPresentation | null"
1817
+ },
1818
+ "privacy": "public",
1819
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1820
+ "inheritedFrom": {
1821
+ "name": "FoundationElement",
1822
+ "module": "src/foundation-element/foundation-element.ts"
1823
+ }
1824
+ },
1825
+ {
1826
+ "kind": "field",
1827
+ "name": "template",
1828
+ "type": {
1829
+ "text": "ElementViewTemplate | void | null"
1830
+ },
1831
+ "privacy": "public",
1832
+ "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.",
1833
+ "inheritedFrom": {
1834
+ "name": "FoundationElement",
1835
+ "module": "src/foundation-element/foundation-element.ts"
1836
+ }
1837
+ },
1838
+ {
1839
+ "kind": "method",
1840
+ "name": "templateChanged",
1841
+ "privacy": "protected",
1842
+ "return": {
1843
+ "type": {
1844
+ "text": "void"
1845
+ }
1846
+ },
1847
+ "inheritedFrom": {
1848
+ "name": "FoundationElement",
1849
+ "module": "src/foundation-element/foundation-element.ts"
1850
+ }
1851
+ },
1852
+ {
1853
+ "kind": "field",
1854
+ "name": "styles",
1855
+ "type": {
1856
+ "text": "ElementStyles | void | null"
1857
+ },
1858
+ "privacy": "public",
1859
+ "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.",
1860
+ "inheritedFrom": {
1861
+ "name": "FoundationElement",
1862
+ "module": "src/foundation-element/foundation-element.ts"
1863
+ }
1864
+ },
1865
+ {
1866
+ "kind": "method",
1867
+ "name": "stylesChanged",
1868
+ "privacy": "protected",
1869
+ "return": {
1870
+ "type": {
1871
+ "text": "void"
1872
+ }
1873
+ },
1874
+ "inheritedFrom": {
1875
+ "name": "FoundationElement",
1876
+ "module": "src/foundation-element/foundation-element.ts"
1877
+ }
1878
+ },
1879
+ {
1880
+ "kind": "method",
1881
+ "name": "compose",
1882
+ "privacy": "public",
1883
+ "static": true,
1884
+ "return": {
1885
+ "type": {
1886
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1887
+ }
1888
+ },
1889
+ "parameters": [
1890
+ {
1891
+ "name": "this",
1892
+ "type": {
1893
+ "text": "K"
1894
+ }
1895
+ },
1896
+ {
1897
+ "name": "elementDefinition",
1898
+ "type": {
1899
+ "text": "T"
1900
+ },
1901
+ "description": "The definition of the element to create the registry\nfunction for."
1902
+ }
1903
+ ],
1904
+ "description": "Defines an element registry function with a set of element definition defaults.",
1905
+ "inheritedFrom": {
1906
+ "name": "FoundationElement",
1907
+ "module": "src/foundation-element/foundation-element.ts"
1908
+ }
1909
+ }
1910
+ ],
1911
+ "events": [
1912
+ {
1913
+ "description": "Fires a custom 'change' event when the active item changes",
1914
+ "name": "change",
1915
+ "inheritedFrom": {
1916
+ "name": "Accordion",
1917
+ "module": "src/accordion/accordion.ts"
1828
1918
  }
1829
1919
  }
1830
1920
  ]
1831
1921
  },
1832
1922
  {
1833
1923
  "kind": "variable",
1834
- "name": "foundationAccordionItemShadowOptions",
1924
+ "name": "foundationAccordionShadowOptions",
1835
1925
  "type": {
1836
1926
  "text": "ShadowRootInit"
1837
1927
  },
@@ -1839,57 +1929,57 @@
1839
1929
  },
1840
1930
  {
1841
1931
  "kind": "variable",
1842
- "name": "defaultAccordionItemConfig",
1932
+ "name": "defaultAccordionConfig",
1843
1933
  "type": {
1844
1934
  "text": "object"
1845
1935
  },
1846
- "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}"
1936
+ "default": "{}"
1847
1937
  },
1848
1938
  {
1849
1939
  "kind": "variable",
1850
- "name": "foundationAccordionItem",
1851
- "description": "The Foundation Accordion Item",
1940
+ "name": "foundationAccordion",
1941
+ "description": "The Foundation Accordion",
1852
1942
  "privacy": "public"
1853
1943
  }
1854
1944
  ],
1855
1945
  "exports": [
1856
1946
  {
1857
1947
  "kind": "js",
1858
- "name": "AccordionItem",
1948
+ "name": "Accordion",
1859
1949
  "declaration": {
1860
- "name": "AccordionItem",
1861
- "module": "src/accordion-item/accordion-item.ts"
1950
+ "name": "Accordion",
1951
+ "module": "src/accordion/accordion.ts"
1862
1952
  }
1863
1953
  },
1864
1954
  {
1865
1955
  "kind": "js",
1866
- "name": "foundationAccordionItemShadowOptions",
1956
+ "name": "foundationAccordionShadowOptions",
1867
1957
  "declaration": {
1868
- "name": "foundationAccordionItemShadowOptions",
1869
- "module": "src/accordion-item/accordion-item.ts"
1958
+ "name": "foundationAccordionShadowOptions",
1959
+ "module": "src/accordion/accordion.ts"
1870
1960
  }
1871
1961
  },
1872
1962
  {
1873
1963
  "kind": "js",
1874
- "name": "defaultAccordionItemConfig",
1964
+ "name": "defaultAccordionConfig",
1875
1965
  "declaration": {
1876
- "name": "defaultAccordionItemConfig",
1877
- "module": "src/accordion-item/accordion-item.ts"
1966
+ "name": "defaultAccordionConfig",
1967
+ "module": "src/accordion/accordion.ts"
1878
1968
  }
1879
1969
  },
1880
1970
  {
1881
1971
  "kind": "js",
1882
- "name": "foundationAccordionItem",
1972
+ "name": "foundationAccordion",
1883
1973
  "declaration": {
1884
- "name": "foundationAccordionItem",
1885
- "module": "src/accordion-item/accordion-item.ts"
1974
+ "name": "foundationAccordion",
1975
+ "module": "src/accordion/accordion.ts"
1886
1976
  }
1887
1977
  }
1888
1978
  ]
1889
1979
  },
1890
1980
  {
1891
1981
  "kind": "javascript-module",
1892
- "path": "src/accordion-item/index.ts",
1982
+ "path": "src/accordion/index.ts",
1893
1983
  "declarations": [],
1894
1984
  "exports": [
1895
1985
  {
@@ -1897,7 +1987,7 @@
1897
1987
  "name": "*",
1898
1988
  "declaration": {
1899
1989
  "name": "*",
1900
- "package": "./accordion-item.template"
1990
+ "package": "./accordion.template"
1901
1991
  }
1902
1992
  },
1903
1993
  {
@@ -1905,7 +1995,7 @@
1905
1995
  "name": "*",
1906
1996
  "declaration": {
1907
1997
  "name": "*",
1908
- "package": "./accordion-item.styles"
1998
+ "package": "./accordion.styles"
1909
1999
  }
1910
2000
  },
1911
2001
  {
@@ -1913,18 +2003,72 @@
1913
2003
  "name": "*",
1914
2004
  "declaration": {
1915
2005
  "name": "*",
1916
- "package": "./accordion-item"
2006
+ "package": "./accordion"
1917
2007
  }
1918
2008
  }
1919
2009
  ]
1920
2010
  },
1921
2011
  {
1922
2012
  "kind": "javascript-module",
1923
- "path": "src/accordion/accordion.styles.ts",
2013
+ "path": "src/_config/index.ts",
2014
+ "declarations": [],
2015
+ "exports": [
2016
+ {
2017
+ "kind": "js",
2018
+ "name": "*",
2019
+ "declaration": {
2020
+ "name": "*",
2021
+ "package": "./styles"
2022
+ }
2023
+ },
2024
+ {
2025
+ "kind": "js",
2026
+ "name": "*",
2027
+ "declaration": {
2028
+ "name": "*",
2029
+ "package": "./tokens"
2030
+ }
2031
+ },
2032
+ {
2033
+ "kind": "js",
2034
+ "name": "*",
2035
+ "declaration": {
2036
+ "name": "*",
2037
+ "package": "./values"
2038
+ }
2039
+ }
2040
+ ]
2041
+ },
2042
+ {
2043
+ "kind": "javascript-module",
2044
+ "path": "src/actions-menu/actions-menu.styles.ts",
1924
2045
  "declarations": [
1925
2046
  {
1926
2047
  "kind": "function",
1927
- "name": "foundationAccordionStyles",
2048
+ "name": "actionsMenuBaseStyles",
2049
+ "return": {
2050
+ "type": {
2051
+ "text": "ElementStyles"
2052
+ }
2053
+ },
2054
+ "parameters": [
2055
+ {
2056
+ "name": "context",
2057
+ "type": {
2058
+ "text": "ElementDefinitionContext"
2059
+ }
2060
+ },
2061
+ {
2062
+ "name": "definition",
2063
+ "type": {
2064
+ "text": "FoundationElementDefinition"
2065
+ }
2066
+ }
2067
+ ]
2068
+ },
2069
+ {
2070
+ "kind": "function",
2071
+ "name": "foundationActionsMenuStyles",
1928
2072
  "return": {
1929
2073
  "type": {
1930
2074
  "text": "ElementStyles"
@@ -1949,277 +2093,281 @@
1949
2093
  "exports": [
1950
2094
  {
1951
2095
  "kind": "js",
1952
- "name": "foundationAccordionStyles",
2096
+ "name": "actionsMenuBaseStyles",
1953
2097
  "declaration": {
1954
- "name": "foundationAccordionStyles",
1955
- "module": "src/accordion/accordion.styles.ts"
2098
+ "name": "actionsMenuBaseStyles",
2099
+ "module": "src/actions-menu/actions-menu.styles.ts"
2100
+ }
2101
+ },
2102
+ {
2103
+ "kind": "js",
2104
+ "name": "foundationActionsMenuStyles",
2105
+ "declaration": {
2106
+ "name": "foundationActionsMenuStyles",
2107
+ "module": "src/actions-menu/actions-menu.styles.ts"
1956
2108
  }
1957
2109
  }
1958
2110
  ]
1959
2111
  },
1960
2112
  {
1961
2113
  "kind": "javascript-module",
1962
- "path": "src/accordion/accordion.template.ts",
2114
+ "path": "src/actions-menu/actions-menu.template.ts",
1963
2115
  "declarations": [
1964
2116
  {
1965
2117
  "kind": "function",
1966
- "name": "foundationAccordionTemplate",
1967
- "return": {
1968
- "type": {
1969
- "text": "ViewTemplate<Accordion>"
1970
- }
1971
- },
2118
+ "name": "menuTemplate",
1972
2119
  "parameters": [
1973
2120
  {
1974
- "name": "context",
2121
+ "name": "prefix",
1975
2122
  "type": {
1976
- "text": "ElementDefinitionContext"
2123
+ "text": "string"
1977
2124
  }
1978
- },
2125
+ }
2126
+ ]
2127
+ },
2128
+ {
2129
+ "kind": "function",
2130
+ "name": "singleOptionTemplate",
2131
+ "parameters": [
1979
2132
  {
1980
- "name": "definition",
2133
+ "name": "prefix",
1981
2134
  "type": {
1982
- "text": "FoundationElementDefinition"
2135
+ "text": "string"
1983
2136
  }
1984
2137
  }
1985
2138
  ]
2139
+ },
2140
+ {
2141
+ "kind": "variable",
2142
+ "name": "foundationActionsMenuTemplate",
2143
+ "type": {
2144
+ "text": "ViewTemplate<ActionsMenu>"
2145
+ },
2146
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1986
2147
  }
1987
2148
  ],
1988
2149
  "exports": [
1989
2150
  {
1990
2151
  "kind": "js",
1991
- "name": "foundationAccordionTemplate",
2152
+ "name": "menuTemplate",
1992
2153
  "declaration": {
1993
- "name": "foundationAccordionTemplate",
1994
- "module": "src/accordion/accordion.template.ts"
2154
+ "name": "menuTemplate",
2155
+ "module": "src/actions-menu/actions-menu.template.ts"
2156
+ }
2157
+ },
2158
+ {
2159
+ "kind": "js",
2160
+ "name": "singleOptionTemplate",
2161
+ "declaration": {
2162
+ "name": "singleOptionTemplate",
2163
+ "module": "src/actions-menu/actions-menu.template.ts"
2164
+ }
2165
+ },
2166
+ {
2167
+ "kind": "js",
2168
+ "name": "foundationActionsMenuTemplate",
2169
+ "declaration": {
2170
+ "name": "foundationActionsMenuTemplate",
2171
+ "module": "src/actions-menu/actions-menu.template.ts"
1995
2172
  }
1996
2173
  }
1997
2174
  ]
1998
2175
  },
1999
2176
  {
2000
2177
  "kind": "javascript-module",
2001
- "path": "src/accordion/accordion.ts",
2178
+ "path": "src/actions-menu/actions-menu.ts",
2002
2179
  "declarations": [
2003
2180
  {
2004
2181
  "kind": "class",
2005
2182
  "description": "",
2006
- "name": "Accordion",
2007
- "superclass": {
2008
- "name": "FASTAccordion",
2009
- "package": "@microsoft/fast-foundation"
2010
- },
2011
- "tagName": "%%prefix%%-accordion",
2012
- "customElement": true,
2013
- "attributes": [
2183
+ "name": "ActionsMenu",
2184
+ "members": [
2014
2185
  {
2015
- "name": "expand-mode",
2186
+ "kind": "field",
2187
+ "name": "actions",
2016
2188
  "type": {
2017
- "text": "AccordionExpandMode"
2018
- },
2019
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2020
- "fieldName": "expandmode",
2021
- "inheritedFrom": {
2022
- "name": "Accordion",
2023
- "module": "src/accordion/accordion.ts"
2189
+ "text": "ActionMenuItem[]"
2024
2190
  }
2025
- }
2026
- ],
2027
- "members": [
2191
+ },
2028
2192
  {
2029
2193
  "kind": "field",
2030
- "name": "expandmode",
2194
+ "name": "isVertical",
2031
2195
  "type": {
2032
- "text": "AccordionExpandMode"
2196
+ "text": "boolean"
2033
2197
  },
2034
- "privacy": "public",
2035
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2036
- "inheritedFrom": {
2037
- "name": "Accordion",
2038
- "module": "src/accordion/accordion.ts"
2039
- }
2198
+ "default": "false"
2040
2199
  },
2041
2200
  {
2042
2201
  "kind": "field",
2043
- "name": "activeid",
2202
+ "name": "addDefaultActions",
2044
2203
  "type": {
2045
- "text": "string | null"
2204
+ "text": "boolean"
2046
2205
  },
2047
- "privacy": "private",
2048
- "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2051
- }
2206
+ "default": "true"
2052
2207
  },
2053
2208
  {
2054
2209
  "kind": "field",
2055
- "name": "activeItemIndex",
2210
+ "name": "autoCloseOnAction",
2056
2211
  "type": {
2057
- "text": "number"
2212
+ "text": "boolean"
2058
2213
  },
2059
- "privacy": "private",
2060
- "default": "0",
2061
- "inheritedFrom": {
2062
- "name": "Accordion",
2063
- "module": "src/accordion/accordion.ts"
2214
+ "default": "true"
2215
+ },
2216
+ {
2217
+ "kind": "field",
2218
+ "name": "classNames",
2219
+ "type": {
2220
+ "text": "string"
2064
2221
  }
2065
2222
  },
2066
2223
  {
2067
2224
  "kind": "field",
2068
- "name": "accordionIds",
2225
+ "name": "definition",
2069
2226
  "type": {
2070
- "text": "Array<string | null>"
2071
- },
2072
- "privacy": "private",
2073
- "inheritedFrom": {
2074
- "name": "Accordion",
2075
- "module": "src/accordion/accordion.ts"
2227
+ "text": "any"
2076
2228
  }
2077
2229
  },
2078
2230
  {
2079
2231
  "kind": "field",
2080
- "name": "change",
2081
- "privacy": "private",
2082
- "inheritedFrom": {
2083
- "name": "Accordion",
2084
- "module": "src/accordion/accordion.ts"
2232
+ "name": "name",
2233
+ "type": {
2234
+ "text": "string"
2235
+ },
2236
+ "default": "'Actions'"
2237
+ },
2238
+ {
2239
+ "kind": "field",
2240
+ "name": "open",
2241
+ "type": {
2242
+ "text": "boolean"
2243
+ },
2244
+ "default": "false"
2245
+ },
2246
+ {
2247
+ "kind": "field",
2248
+ "name": "buttonAppearance",
2249
+ "type": {
2250
+ "text": "string"
2085
2251
  }
2086
2252
  },
2087
2253
  {
2088
- "kind": "method",
2089
- "name": "findExpandedItem",
2090
- "privacy": "private",
2091
- "return": {
2092
- "type": {
2093
- "text": "AccordionItem | null"
2094
- }
2254
+ "kind": "field",
2255
+ "name": "hideDisabled",
2256
+ "type": {
2257
+ "text": "boolean"
2095
2258
  },
2096
- "inheritedFrom": {
2097
- "name": "Accordion",
2098
- "module": "src/accordion/accordion.ts"
2099
- }
2259
+ "default": "false"
2100
2260
  },
2101
2261
  {
2102
2262
  "kind": "field",
2103
- "name": "setItems",
2104
- "privacy": "private",
2105
- "inheritedFrom": {
2106
- "name": "Accordion",
2107
- "module": "src/accordion/accordion.ts"
2108
- }
2263
+ "name": "hideMenuSingleOption",
2264
+ "type": {
2265
+ "text": "boolean"
2266
+ },
2267
+ "default": "false"
2109
2268
  },
2110
2269
  {
2111
- "kind": "method",
2112
- "name": "resetItems",
2113
- "privacy": "private",
2114
- "return": {
2115
- "type": {
2116
- "text": "void"
2117
- }
2118
- },
2119
- "inheritedFrom": {
2120
- "name": "Accordion",
2121
- "module": "src/accordion/accordion.ts"
2270
+ "kind": "field",
2271
+ "name": "singleOption",
2272
+ "type": {
2273
+ "text": "ActionMenuItem"
2122
2274
  }
2123
2275
  },
2124
2276
  {
2125
2277
  "kind": "field",
2126
- "name": "removeItemListeners",
2127
- "privacy": "private",
2128
- "inheritedFrom": {
2129
- "name": "Accordion",
2130
- "module": "src/accordion/accordion.ts"
2278
+ "name": "actionsMenu",
2279
+ "type": {
2280
+ "text": "HTMLElement"
2131
2281
  }
2132
2282
  },
2133
2283
  {
2134
2284
  "kind": "field",
2135
- "name": "activeItemChange",
2136
- "privacy": "private",
2137
- "inheritedFrom": {
2138
- "name": "Accordion",
2139
- "module": "src/accordion/accordion.ts"
2285
+ "name": "actionsOpener",
2286
+ "type": {
2287
+ "text": "HTMLElement"
2140
2288
  }
2141
2289
  },
2142
2290
  {
2143
2291
  "kind": "method",
2144
- "name": "getItemIds",
2145
- "privacy": "private",
2146
- "return": {
2147
- "type": {
2148
- "text": "Array<string | null>"
2292
+ "name": "updateMenuPosition",
2293
+ "privacy": "private"
2294
+ },
2295
+ {
2296
+ "kind": "method",
2297
+ "name": "definitionChanged",
2298
+ "privacy": "protected",
2299
+ "parameters": [
2300
+ {
2301
+ "name": "oldValue",
2302
+ "type": {
2303
+ "text": "any"
2304
+ }
2305
+ },
2306
+ {
2307
+ "name": "newValue",
2308
+ "type": {
2309
+ "text": "any"
2310
+ }
2149
2311
  }
2150
- },
2151
- "inheritedFrom": {
2152
- "name": "Accordion",
2153
- "module": "src/accordion/accordion.ts"
2154
- }
2312
+ ]
2155
2313
  },
2156
2314
  {
2157
2315
  "kind": "method",
2158
- "name": "isSingleExpandMode",
2159
- "privacy": "private",
2160
- "return": {
2161
- "type": {
2162
- "text": "boolean"
2316
+ "name": "openChanged",
2317
+ "privacy": "protected"
2318
+ },
2319
+ {
2320
+ "kind": "method",
2321
+ "name": "toggleActionsMenuVisibility"
2322
+ },
2323
+ {
2324
+ "kind": "method",
2325
+ "name": "onActionMenuItemClick",
2326
+ "parameters": [
2327
+ {
2328
+ "name": "callback",
2329
+ "type": {
2330
+ "text": "(rowData) => void | any"
2331
+ }
2163
2332
  }
2164
- },
2165
- "inheritedFrom": {
2166
- "name": "Accordion",
2167
- "module": "src/accordion/accordion.ts"
2168
- }
2333
+ ]
2169
2334
  },
2170
2335
  {
2171
2336
  "kind": "field",
2172
- "name": "handleItemKeyDown",
2173
- "privacy": "private",
2174
- "inheritedFrom": {
2175
- "name": "Accordion",
2176
- "module": "src/accordion/accordion.ts"
2177
- }
2337
+ "name": "allActions",
2338
+ "type": {
2339
+ "text": "ActionMenuItem[]"
2340
+ },
2341
+ "readonly": true
2178
2342
  },
2179
2343
  {
2180
2344
  "kind": "field",
2181
- "name": "handleItemFocus",
2182
- "privacy": "private",
2183
- "inheritedFrom": {
2184
- "name": "Accordion",
2185
- "module": "src/accordion/accordion.ts"
2186
- }
2345
+ "name": "rowData",
2346
+ "readonly": true
2187
2347
  },
2188
2348
  {
2189
2349
  "kind": "method",
2190
- "name": "adjust",
2191
- "privacy": "private",
2192
- "return": {
2193
- "type": {
2194
- "text": "void"
2195
- }
2196
- },
2350
+ "name": "getLabel",
2197
2351
  "parameters": [
2198
2352
  {
2199
- "name": "adjustment",
2353
+ "name": "name",
2200
2354
  "type": {
2201
- "text": "number"
2355
+ "text": "string | ((rowData: any) => string)"
2202
2356
  }
2203
2357
  }
2204
- ],
2205
- "inheritedFrom": {
2206
- "name": "Accordion",
2207
- "module": "src/accordion/accordion.ts"
2208
- }
2358
+ ]
2209
2359
  },
2210
2360
  {
2211
2361
  "kind": "method",
2212
- "name": "focusItem",
2213
- "privacy": "private",
2214
- "return": {
2215
- "type": {
2216
- "text": "void"
2362
+ "name": "getTemplate",
2363
+ "parameters": [
2364
+ {
2365
+ "name": "prefix",
2366
+ "type": {
2367
+ "text": "string"
2368
+ }
2217
2369
  }
2218
- },
2219
- "inheritedFrom": {
2220
- "name": "Accordion",
2221
- "module": "src/accordion/accordion.ts"
2222
- }
2370
+ ]
2223
2371
  },
2224
2372
  {
2225
2373
  "kind": "field",
@@ -2302,109 +2450,138 @@
2302
2450
  }
2303
2451
  },
2304
2452
  {
2305
- "kind": "method",
2306
- "name": "compose",
2307
- "privacy": "public",
2308
- "static": true,
2309
- "return": {
2310
- "type": {
2311
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2312
- }
2453
+ "kind": "method",
2454
+ "name": "compose",
2455
+ "privacy": "public",
2456
+ "static": true,
2457
+ "return": {
2458
+ "type": {
2459
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2460
+ }
2461
+ },
2462
+ "parameters": [
2463
+ {
2464
+ "name": "this",
2465
+ "type": {
2466
+ "text": "K"
2467
+ }
2468
+ },
2469
+ {
2470
+ "name": "elementDefinition",
2471
+ "type": {
2472
+ "text": "T"
2473
+ },
2474
+ "description": "The definition of the element to create the registry\nfunction for."
2475
+ }
2476
+ ],
2477
+ "description": "Defines an element registry function with a set of element definition defaults.",
2478
+ "inheritedFrom": {
2479
+ "name": "FoundationElement",
2480
+ "module": "src/foundation-element/foundation-element.ts"
2481
+ }
2482
+ }
2483
+ ],
2484
+ "attributes": [
2485
+ {
2486
+ "name": "is-vertical",
2487
+ "type": {
2488
+ "text": "boolean"
2489
+ },
2490
+ "default": "false",
2491
+ "fieldName": "isVertical"
2492
+ },
2493
+ {
2494
+ "name": "add-default-actions",
2495
+ "type": {
2496
+ "text": "boolean"
2497
+ },
2498
+ "default": "true",
2499
+ "fieldName": "addDefaultActions"
2500
+ },
2501
+ {
2502
+ "name": "auto-close-on-action",
2503
+ "type": {
2504
+ "text": "boolean"
2505
+ },
2506
+ "default": "true",
2507
+ "fieldName": "autoCloseOnAction"
2508
+ },
2509
+ {
2510
+ "name": "name",
2511
+ "type": {
2512
+ "text": "string"
2513
+ },
2514
+ "default": "'Actions'",
2515
+ "fieldName": "name"
2516
+ },
2517
+ {
2518
+ "name": "open",
2519
+ "type": {
2520
+ "text": "boolean"
2521
+ },
2522
+ "default": "false",
2523
+ "fieldName": "open"
2524
+ },
2525
+ {
2526
+ "name": "buttonAppearance",
2527
+ "type": {
2528
+ "text": "string"
2529
+ },
2530
+ "fieldName": "buttonAppearance"
2531
+ },
2532
+ {
2533
+ "name": "hide-disabled",
2534
+ "type": {
2535
+ "text": "boolean"
2536
+ },
2537
+ "default": "false",
2538
+ "fieldName": "hideDisabled"
2539
+ },
2540
+ {
2541
+ "name": "hide-menu-single-option",
2542
+ "type": {
2543
+ "text": "boolean"
2313
2544
  },
2314
- "parameters": [
2315
- {
2316
- "name": "this",
2317
- "type": {
2318
- "text": "K"
2319
- }
2320
- },
2321
- {
2322
- "name": "elementDefinition",
2323
- "type": {
2324
- "text": "T"
2325
- },
2326
- "description": "The definition of the element to create the registry\nfunction for."
2327
- }
2328
- ],
2329
- "description": "Defines an element registry function with a set of element definition defaults.",
2330
- "inheritedFrom": {
2331
- "name": "FoundationElement",
2332
- "module": "src/foundation-element/foundation-element.ts"
2333
- }
2545
+ "default": "false",
2546
+ "fieldName": "hideMenuSingleOption"
2334
2547
  }
2335
2548
  ],
2336
- "events": [
2337
- {
2338
- "description": "Fires a custom 'change' event when the active item changes",
2339
- "name": "change",
2340
- "inheritedFrom": {
2341
- "name": "Accordion",
2342
- "module": "src/accordion/accordion.ts"
2343
- }
2344
- }
2345
- ]
2346
- },
2347
- {
2348
- "kind": "variable",
2349
- "name": "foundationAccordionShadowOptions",
2350
- "type": {
2351
- "text": "ShadowRootInit"
2352
- },
2353
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2354
- },
2355
- {
2356
- "kind": "variable",
2357
- "name": "defaultAccordionConfig",
2358
- "type": {
2359
- "text": "object"
2549
+ "superclass": {
2550
+ "name": "FoundationElement",
2551
+ "package": "@microsoft/fast-foundation"
2360
2552
  },
2361
- "default": "{}"
2553
+ "tagName": "%%prefix%%-actions-menu",
2554
+ "customElement": true
2362
2555
  },
2363
2556
  {
2364
2557
  "kind": "variable",
2365
- "name": "foundationAccordion",
2366
- "description": "The Foundation Accordion",
2558
+ "name": "foundationActionsMenu",
2559
+ "description": "The Foundation Actions Menu",
2367
2560
  "privacy": "public"
2368
2561
  }
2369
2562
  ],
2370
2563
  "exports": [
2371
2564
  {
2372
2565
  "kind": "js",
2373
- "name": "Accordion",
2374
- "declaration": {
2375
- "name": "Accordion",
2376
- "module": "src/accordion/accordion.ts"
2377
- }
2378
- },
2379
- {
2380
- "kind": "js",
2381
- "name": "foundationAccordionShadowOptions",
2382
- "declaration": {
2383
- "name": "foundationAccordionShadowOptions",
2384
- "module": "src/accordion/accordion.ts"
2385
- }
2386
- },
2387
- {
2388
- "kind": "js",
2389
- "name": "defaultAccordionConfig",
2566
+ "name": "ActionsMenu",
2390
2567
  "declaration": {
2391
- "name": "defaultAccordionConfig",
2392
- "module": "src/accordion/accordion.ts"
2568
+ "name": "ActionsMenu",
2569
+ "module": "src/actions-menu/actions-menu.ts"
2393
2570
  }
2394
2571
  },
2395
2572
  {
2396
2573
  "kind": "js",
2397
- "name": "foundationAccordion",
2574
+ "name": "foundationActionsMenu",
2398
2575
  "declaration": {
2399
- "name": "foundationAccordion",
2400
- "module": "src/accordion/accordion.ts"
2576
+ "name": "foundationActionsMenu",
2577
+ "module": "src/actions-menu/actions-menu.ts"
2401
2578
  }
2402
2579
  }
2403
2580
  ]
2404
2581
  },
2405
2582
  {
2406
2583
  "kind": "javascript-module",
2407
- "path": "src/accordion/index.ts",
2584
+ "path": "src/actions-menu/index.ts",
2408
2585
  "declarations": [],
2409
2586
  "exports": [
2410
2587
  {
@@ -2412,7 +2589,7 @@
2412
2589
  "name": "*",
2413
2590
  "declaration": {
2414
2591
  "name": "*",
2415
- "package": "./accordion.template"
2592
+ "package": "./actions-menu.styles"
2416
2593
  }
2417
2594
  },
2418
2595
  {
@@ -2420,7 +2597,7 @@
2420
2597
  "name": "*",
2421
2598
  "declaration": {
2422
2599
  "name": "*",
2423
- "package": "./accordion.styles"
2600
+ "package": "./actions-menu.template"
2424
2601
  }
2425
2602
  },
2426
2603
  {
@@ -2428,41 +2605,18 @@
2428
2605
  "name": "*",
2429
2606
  "declaration": {
2430
2607
  "name": "*",
2431
- "package": "./accordion"
2608
+ "package": "./actions-menu"
2432
2609
  }
2433
2610
  }
2434
2611
  ]
2435
2612
  },
2436
2613
  {
2437
2614
  "kind": "javascript-module",
2438
- "path": "src/actions-menu/actions-menu.styles.ts",
2615
+ "path": "src/accordion-item/accordion-item.styles.ts",
2439
2616
  "declarations": [
2440
2617
  {
2441
2618
  "kind": "function",
2442
- "name": "actionsMenuBaseStyles",
2443
- "return": {
2444
- "type": {
2445
- "text": "ElementStyles"
2446
- }
2447
- },
2448
- "parameters": [
2449
- {
2450
- "name": "context",
2451
- "type": {
2452
- "text": "ElementDefinitionContext"
2453
- }
2454
- },
2455
- {
2456
- "name": "definition",
2457
- "type": {
2458
- "text": "FoundationElementDefinition"
2459
- }
2460
- }
2461
- ]
2462
- },
2463
- {
2464
- "kind": "function",
2465
- "name": "foundationActionsMenuStyles",
2619
+ "name": "foundationAccordionItemStyles",
2466
2620
  "return": {
2467
2621
  "type": {
2468
2622
  "text": "ElementStyles"
@@ -2487,282 +2641,157 @@
2487
2641
  "exports": [
2488
2642
  {
2489
2643
  "kind": "js",
2490
- "name": "actionsMenuBaseStyles",
2491
- "declaration": {
2492
- "name": "actionsMenuBaseStyles",
2493
- "module": "src/actions-menu/actions-menu.styles.ts"
2494
- }
2495
- },
2496
- {
2497
- "kind": "js",
2498
- "name": "foundationActionsMenuStyles",
2644
+ "name": "foundationAccordionItemStyles",
2499
2645
  "declaration": {
2500
- "name": "foundationActionsMenuStyles",
2501
- "module": "src/actions-menu/actions-menu.styles.ts"
2646
+ "name": "foundationAccordionItemStyles",
2647
+ "module": "src/accordion-item/accordion-item.styles.ts"
2502
2648
  }
2503
2649
  }
2504
2650
  ]
2505
2651
  },
2506
2652
  {
2507
2653
  "kind": "javascript-module",
2508
- "path": "src/actions-menu/actions-menu.template.ts",
2654
+ "path": "src/accordion-item/accordion-item.template.ts",
2509
2655
  "declarations": [
2510
2656
  {
2511
2657
  "kind": "function",
2512
- "name": "menuTemplate",
2658
+ "name": "foundationAccordionItemTemplate",
2659
+ "return": {
2660
+ "type": {
2661
+ "text": "ViewTemplate<AccordionItem>"
2662
+ }
2663
+ },
2513
2664
  "parameters": [
2514
2665
  {
2515
- "name": "prefix",
2666
+ "name": "context",
2516
2667
  "type": {
2517
- "text": "string"
2668
+ "text": "ElementDefinitionContext"
2518
2669
  }
2519
- }
2520
- ]
2521
- },
2522
- {
2523
- "kind": "function",
2524
- "name": "singleOptionTemplate",
2525
- "parameters": [
2670
+ },
2526
2671
  {
2527
- "name": "prefix",
2672
+ "name": "definition",
2528
2673
  "type": {
2529
- "text": "string"
2674
+ "text": "FoundationElementDefinition"
2530
2675
  }
2531
2676
  }
2532
2677
  ]
2533
- },
2534
- {
2535
- "kind": "variable",
2536
- "name": "foundationActionsMenuTemplate",
2537
- "type": {
2538
- "text": "ViewTemplate<ActionsMenu>"
2539
- },
2540
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2541
2678
  }
2542
2679
  ],
2543
2680
  "exports": [
2544
2681
  {
2545
2682
  "kind": "js",
2546
- "name": "menuTemplate",
2547
- "declaration": {
2548
- "name": "menuTemplate",
2549
- "module": "src/actions-menu/actions-menu.template.ts"
2550
- }
2551
- },
2552
- {
2553
- "kind": "js",
2554
- "name": "singleOptionTemplate",
2555
- "declaration": {
2556
- "name": "singleOptionTemplate",
2557
- "module": "src/actions-menu/actions-menu.template.ts"
2558
- }
2559
- },
2560
- {
2561
- "kind": "js",
2562
- "name": "foundationActionsMenuTemplate",
2683
+ "name": "foundationAccordionItemTemplate",
2563
2684
  "declaration": {
2564
- "name": "foundationActionsMenuTemplate",
2565
- "module": "src/actions-menu/actions-menu.template.ts"
2685
+ "name": "foundationAccordionItemTemplate",
2686
+ "module": "src/accordion-item/accordion-item.template.ts"
2566
2687
  }
2567
2688
  }
2568
2689
  ]
2569
2690
  },
2570
2691
  {
2571
2692
  "kind": "javascript-module",
2572
- "path": "src/actions-menu/actions-menu.ts",
2693
+ "path": "src/accordion-item/accordion-item.ts",
2573
2694
  "declarations": [
2574
2695
  {
2575
2696
  "kind": "class",
2576
2697
  "description": "",
2577
- "name": "ActionsMenu",
2578
- "members": [
2579
- {
2580
- "kind": "field",
2581
- "name": "actions",
2582
- "type": {
2583
- "text": "ActionMenuItem[]"
2584
- }
2585
- },
2586
- {
2587
- "kind": "field",
2588
- "name": "isVertical",
2589
- "type": {
2590
- "text": "boolean"
2591
- },
2592
- "default": "false"
2593
- },
2594
- {
2595
- "kind": "field",
2596
- "name": "addDefaultActions",
2597
- "type": {
2598
- "text": "boolean"
2599
- },
2600
- "default": "true"
2601
- },
2602
- {
2603
- "kind": "field",
2604
- "name": "autoCloseOnAction",
2605
- "type": {
2606
- "text": "boolean"
2607
- },
2608
- "default": "true"
2609
- },
2610
- {
2611
- "kind": "field",
2612
- "name": "classNames",
2613
- "type": {
2614
- "text": "string"
2615
- }
2616
- },
2617
- {
2618
- "kind": "field",
2619
- "name": "definition",
2620
- "type": {
2621
- "text": "any"
2622
- }
2623
- },
2698
+ "name": "AccordionItem",
2699
+ "superclass": {
2700
+ "name": "FASTAccordionItem",
2701
+ "package": "@microsoft/fast-components"
2702
+ },
2703
+ "tagName": "%%prefix%%-accordion-item",
2704
+ "customElement": true,
2705
+ "attributes": [
2624
2706
  {
2625
- "kind": "field",
2626
- "name": "name",
2707
+ "name": "heading-level",
2627
2708
  "type": {
2628
- "text": "string"
2709
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2629
2710
  },
2630
- "default": "'Actions'"
2711
+ "default": "2",
2712
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2713
+ "fieldName": "headinglevel",
2714
+ "inheritedFrom": {
2715
+ "name": "AccordionItem",
2716
+ "module": "src/accordion-item/accordion-item.ts"
2717
+ }
2631
2718
  },
2632
2719
  {
2633
- "kind": "field",
2634
- "name": "open",
2635
2720
  "type": {
2636
2721
  "text": "boolean"
2637
2722
  },
2638
- "default": "false"
2723
+ "default": "false",
2724
+ "description": "Expands or collapses the item.",
2725
+ "fieldName": "expanded",
2726
+ "inheritedFrom": {
2727
+ "name": "AccordionItem",
2728
+ "module": "src/accordion-item/accordion-item.ts"
2729
+ }
2639
2730
  },
2640
2731
  {
2641
- "kind": "field",
2642
- "name": "buttonAppearance",
2732
+ "name": "id",
2643
2733
  "type": {
2644
2734
  "text": "string"
2735
+ },
2736
+ "description": "The item ID",
2737
+ "fieldName": "id",
2738
+ "inheritedFrom": {
2739
+ "name": "AccordionItem",
2740
+ "module": "src/accordion-item/accordion-item.ts"
2645
2741
  }
2646
- },
2742
+ }
2743
+ ],
2744
+ "members": [
2647
2745
  {
2648
2746
  "kind": "field",
2649
- "name": "hideDisabled",
2747
+ "name": "headinglevel",
2650
2748
  "type": {
2651
- "text": "boolean"
2749
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2652
2750
  },
2653
- "default": "false"
2751
+ "privacy": "public",
2752
+ "default": "2",
2753
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2754
+ "inheritedFrom": {
2755
+ "name": "AccordionItem",
2756
+ "module": "src/accordion-item/accordion-item.ts"
2757
+ }
2654
2758
  },
2655
2759
  {
2656
2760
  "kind": "field",
2657
- "name": "hideMenuSingleOption",
2761
+ "name": "expanded",
2658
2762
  "type": {
2659
2763
  "text": "boolean"
2660
2764
  },
2661
- "default": "false"
2662
- },
2663
- {
2664
- "kind": "field",
2665
- "name": "singleOption",
2666
- "type": {
2667
- "text": "ActionMenuItem"
2765
+ "privacy": "public",
2766
+ "default": "false",
2767
+ "description": "Expands or collapses the item.",
2768
+ "inheritedFrom": {
2769
+ "name": "AccordionItem",
2770
+ "module": "src/accordion-item/accordion-item.ts"
2668
2771
  }
2669
2772
  },
2670
2773
  {
2671
2774
  "kind": "field",
2672
- "name": "actionsMenu",
2775
+ "name": "id",
2673
2776
  "type": {
2674
- "text": "HTMLElement"
2777
+ "text": "string"
2778
+ },
2779
+ "privacy": "public",
2780
+ "description": "The item ID",
2781
+ "inheritedFrom": {
2782
+ "name": "AccordionItem",
2783
+ "module": "src/accordion-item/accordion-item.ts"
2675
2784
  }
2676
2785
  },
2677
2786
  {
2678
2787
  "kind": "field",
2679
- "name": "actionsOpener",
2680
- "type": {
2681
- "text": "HTMLElement"
2788
+ "name": "change",
2789
+ "privacy": "private",
2790
+ "inheritedFrom": {
2791
+ "name": "AccordionItem",
2792
+ "module": "src/accordion-item/accordion-item.ts"
2682
2793
  }
2683
2794
  },
2684
- {
2685
- "kind": "method",
2686
- "name": "updateMenuPosition",
2687
- "privacy": "private"
2688
- },
2689
- {
2690
- "kind": "method",
2691
- "name": "definitionChanged",
2692
- "privacy": "protected",
2693
- "parameters": [
2694
- {
2695
- "name": "oldValue",
2696
- "type": {
2697
- "text": "any"
2698
- }
2699
- },
2700
- {
2701
- "name": "newValue",
2702
- "type": {
2703
- "text": "any"
2704
- }
2705
- }
2706
- ]
2707
- },
2708
- {
2709
- "kind": "method",
2710
- "name": "openChanged",
2711
- "privacy": "protected"
2712
- },
2713
- {
2714
- "kind": "method",
2715
- "name": "toggleActionsMenuVisibility"
2716
- },
2717
- {
2718
- "kind": "method",
2719
- "name": "onActionMenuItemClick",
2720
- "parameters": [
2721
- {
2722
- "name": "callback",
2723
- "type": {
2724
- "text": "(rowData) => void | any"
2725
- }
2726
- }
2727
- ]
2728
- },
2729
- {
2730
- "kind": "field",
2731
- "name": "allActions",
2732
- "type": {
2733
- "text": "ActionMenuItem[]"
2734
- },
2735
- "readonly": true
2736
- },
2737
- {
2738
- "kind": "field",
2739
- "name": "rowData",
2740
- "readonly": true
2741
- },
2742
- {
2743
- "kind": "method",
2744
- "name": "getLabel",
2745
- "parameters": [
2746
- {
2747
- "name": "name",
2748
- "type": {
2749
- "text": "string | ((rowData: any) => string)"
2750
- }
2751
- }
2752
- ]
2753
- },
2754
- {
2755
- "kind": "method",
2756
- "name": "getTemplate",
2757
- "parameters": [
2758
- {
2759
- "name": "prefix",
2760
- "type": {
2761
- "text": "string"
2762
- }
2763
- }
2764
- ]
2765
- },
2766
2795
  {
2767
2796
  "kind": "field",
2768
2797
  "name": "_presentation",
@@ -2875,107 +2904,78 @@
2875
2904
  }
2876
2905
  }
2877
2906
  ],
2878
- "attributes": [
2879
- {
2880
- "name": "is-vertical",
2881
- "type": {
2882
- "text": "boolean"
2883
- },
2884
- "default": "false",
2885
- "fieldName": "isVertical"
2886
- },
2887
- {
2888
- "name": "add-default-actions",
2889
- "type": {
2890
- "text": "boolean"
2891
- },
2892
- "default": "true",
2893
- "fieldName": "addDefaultActions"
2894
- },
2895
- {
2896
- "name": "auto-close-on-action",
2897
- "type": {
2898
- "text": "boolean"
2899
- },
2900
- "default": "true",
2901
- "fieldName": "autoCloseOnAction"
2902
- },
2903
- {
2904
- "name": "name",
2905
- "type": {
2906
- "text": "string"
2907
- },
2908
- "default": "'Actions'",
2909
- "fieldName": "name"
2910
- },
2911
- {
2912
- "name": "open",
2913
- "type": {
2914
- "text": "boolean"
2915
- },
2916
- "default": "false",
2917
- "fieldName": "open"
2918
- },
2919
- {
2920
- "name": "buttonAppearance",
2921
- "type": {
2922
- "text": "string"
2923
- },
2924
- "fieldName": "buttonAppearance"
2925
- },
2926
- {
2927
- "name": "hide-disabled",
2928
- "type": {
2929
- "text": "boolean"
2930
- },
2931
- "default": "false",
2932
- "fieldName": "hideDisabled"
2933
- },
2907
+ "events": [
2934
2908
  {
2935
- "name": "hide-menu-single-option",
2936
- "type": {
2937
- "text": "boolean"
2938
- },
2939
- "default": "false",
2940
- "fieldName": "hideMenuSingleOption"
2909
+ "description": "Fires a custom 'change' event when the button is invoked",
2910
+ "name": "change",
2911
+ "inheritedFrom": {
2912
+ "name": "AccordionItem",
2913
+ "module": "src/accordion-item/accordion-item.ts"
2914
+ }
2941
2915
  }
2942
- ],
2943
- "superclass": {
2944
- "name": "FoundationElement",
2945
- "package": "@microsoft/fast-foundation"
2916
+ ]
2917
+ },
2918
+ {
2919
+ "kind": "variable",
2920
+ "name": "foundationAccordionItemShadowOptions",
2921
+ "type": {
2922
+ "text": "ShadowRootInit"
2946
2923
  },
2947
- "tagName": "%%prefix%%-actions-menu",
2948
- "customElement": true
2924
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2925
+ },
2926
+ {
2927
+ "kind": "variable",
2928
+ "name": "defaultAccordionItemConfig",
2929
+ "type": {
2930
+ "text": "object"
2931
+ },
2932
+ "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}"
2949
2933
  },
2950
2934
  {
2951
2935
  "kind": "variable",
2952
- "name": "foundationActionsMenu",
2953
- "description": "The Foundation Actions Menu",
2936
+ "name": "foundationAccordionItem",
2937
+ "description": "The Foundation Accordion Item",
2954
2938
  "privacy": "public"
2955
2939
  }
2956
2940
  ],
2957
2941
  "exports": [
2958
2942
  {
2959
2943
  "kind": "js",
2960
- "name": "ActionsMenu",
2944
+ "name": "AccordionItem",
2961
2945
  "declaration": {
2962
- "name": "ActionsMenu",
2963
- "module": "src/actions-menu/actions-menu.ts"
2946
+ "name": "AccordionItem",
2947
+ "module": "src/accordion-item/accordion-item.ts"
2964
2948
  }
2965
2949
  },
2966
2950
  {
2967
2951
  "kind": "js",
2968
- "name": "foundationActionsMenu",
2952
+ "name": "foundationAccordionItemShadowOptions",
2969
2953
  "declaration": {
2970
- "name": "foundationActionsMenu",
2971
- "module": "src/actions-menu/actions-menu.ts"
2954
+ "name": "foundationAccordionItemShadowOptions",
2955
+ "module": "src/accordion-item/accordion-item.ts"
2956
+ }
2957
+ },
2958
+ {
2959
+ "kind": "js",
2960
+ "name": "defaultAccordionItemConfig",
2961
+ "declaration": {
2962
+ "name": "defaultAccordionItemConfig",
2963
+ "module": "src/accordion-item/accordion-item.ts"
2964
+ }
2965
+ },
2966
+ {
2967
+ "kind": "js",
2968
+ "name": "foundationAccordionItem",
2969
+ "declaration": {
2970
+ "name": "foundationAccordionItem",
2971
+ "module": "src/accordion-item/accordion-item.ts"
2972
2972
  }
2973
2973
  }
2974
2974
  ]
2975
2975
  },
2976
2976
  {
2977
2977
  "kind": "javascript-module",
2978
- "path": "src/actions-menu/index.ts",
2978
+ "path": "src/accordion-item/index.ts",
2979
2979
  "declarations": [],
2980
2980
  "exports": [
2981
2981
  {
@@ -2983,7 +2983,7 @@
2983
2983
  "name": "*",
2984
2984
  "declaration": {
2985
2985
  "name": "*",
2986
- "package": "./actions-menu.styles"
2986
+ "package": "./accordion-item.template"
2987
2987
  }
2988
2988
  },
2989
2989
  {
@@ -2991,7 +2991,7 @@
2991
2991
  "name": "*",
2992
2992
  "declaration": {
2993
2993
  "name": "*",
2994
- "package": "./actions-menu.template"
2994
+ "package": "./accordion-item.styles"
2995
2995
  }
2996
2996
  },
2997
2997
  {
@@ -2999,7 +2999,7 @@
2999
2999
  "name": "*",
3000
3000
  "declaration": {
3001
3001
  "name": "*",
3002
- "package": "./actions-menu"
3002
+ "package": "./accordion-item"
3003
3003
  }
3004
3004
  }
3005
3005
  ]
@@ -6584,181 +6584,125 @@
6584
6584
  },
6585
6585
  {
6586
6586
  "kind": "javascript-module",
6587
- "path": "src/badge/badge.styles.ts",
6587
+ "path": "src/banner/banner.styles.ts",
6588
6588
  "declarations": [
6589
6589
  {
6590
- "kind": "function",
6591
- "name": "foundationBadgeStyles",
6592
- "return": {
6593
- "type": {
6594
- "text": "ElementStyles"
6595
- }
6590
+ "kind": "variable",
6591
+ "name": "foundationBannerStyles",
6592
+ "type": {
6593
+ "text": "ElementStyles"
6596
6594
  },
6597
- "parameters": [
6598
- {
6599
- "name": "context",
6600
- "type": {
6601
- "text": "ElementDefinitionContext"
6602
- }
6603
- },
6604
- {
6605
- "name": "definition",
6606
- "type": {
6607
- "text": "FoundationElementDefinition"
6608
- }
6609
- }
6610
- ]
6595
+ "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`"
6611
6596
  }
6612
6597
  ],
6613
6598
  "exports": [
6614
6599
  {
6615
6600
  "kind": "js",
6616
- "name": "foundationBadgeStyles",
6601
+ "name": "foundationBannerStyles",
6617
6602
  "declaration": {
6618
- "name": "foundationBadgeStyles",
6619
- "module": "src/badge/badge.styles.ts"
6603
+ "name": "foundationBannerStyles",
6604
+ "module": "src/banner/banner.styles.ts"
6620
6605
  }
6621
6606
  }
6622
6607
  ]
6623
6608
  },
6624
6609
  {
6625
6610
  "kind": "javascript-module",
6626
- "path": "src/badge/badge.template.ts",
6611
+ "path": "src/banner/banner.template.ts",
6627
6612
  "declarations": [
6628
6613
  {
6629
6614
  "kind": "function",
6630
- "name": "foundationBadgeTemplate",
6631
- "return": {
6632
- "type": {
6633
- "text": "ViewTemplate<Badge>"
6634
- }
6635
- },
6615
+ "name": "getBannerTemplate",
6636
6616
  "parameters": [
6637
6617
  {
6638
- "name": "context",
6639
- "type": {
6640
- "text": "ElementDefinitionContext"
6641
- }
6642
- },
6643
- {
6644
- "name": "definition",
6618
+ "name": "prefix",
6645
6619
  "type": {
6646
- "text": "FoundationElementDefinition"
6620
+ "text": "string"
6647
6621
  }
6648
6622
  }
6649
6623
  ]
6624
+ },
6625
+ {
6626
+ "kind": "variable",
6627
+ "name": "foundationBannerTemplate",
6628
+ "default": "html<Banner>`\n ${(x) => getBannerTemplate(getPrefix(x))}\n`"
6650
6629
  }
6651
6630
  ],
6652
6631
  "exports": [
6653
6632
  {
6654
6633
  "kind": "js",
6655
- "name": "foundationBadgeTemplate",
6634
+ "name": "getBannerTemplate",
6656
6635
  "declaration": {
6657
- "name": "foundationBadgeTemplate",
6658
- "module": "src/badge/badge.template.ts"
6636
+ "name": "getBannerTemplate",
6637
+ "module": "src/banner/banner.template.ts"
6638
+ }
6639
+ },
6640
+ {
6641
+ "kind": "js",
6642
+ "name": "foundationBannerTemplate",
6643
+ "declaration": {
6644
+ "name": "foundationBannerTemplate",
6645
+ "module": "src/banner/banner.template.ts"
6659
6646
  }
6660
6647
  }
6661
6648
  ]
6662
6649
  },
6663
6650
  {
6664
6651
  "kind": "javascript-module",
6665
- "path": "src/badge/badge.ts",
6652
+ "path": "src/banner/banner.ts",
6666
6653
  "declarations": [
6654
+ {
6655
+ "kind": "variable",
6656
+ "name": "foundationBannerShadowOptions",
6657
+ "type": {
6658
+ "text": "ShadowRootInit"
6659
+ },
6660
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
6661
+ },
6667
6662
  {
6668
6663
  "kind": "class",
6669
6664
  "description": "",
6670
- "name": "Badge",
6671
- "superclass": {
6672
- "name": "FASTBadge",
6673
- "package": "@microsoft/fast-components"
6674
- },
6675
- "tagName": "%%prefix%%-badge",
6676
- "customElement": true,
6677
- "attributes": [
6678
- {
6679
- "name": "fill",
6680
- "type": {
6681
- "text": "string"
6682
- },
6683
- "description": "Indicates the badge should have a filled style.",
6684
- "fieldName": "fill",
6685
- "inheritedFrom": {
6686
- "name": "Badge",
6687
- "module": "src/badge/badge.ts"
6688
- }
6689
- },
6665
+ "name": "Banner",
6666
+ "members": [
6690
6667
  {
6691
- "name": "color",
6668
+ "kind": "field",
6669
+ "name": "banner",
6692
6670
  "type": {
6693
- "text": "string"
6671
+ "text": "HTMLElement"
6694
6672
  },
6695
- "description": "Indicates the badge should have a filled style.",
6696
- "fieldName": "color",
6697
- "inheritedFrom": {
6698
- "name": "Badge",
6699
- "module": "src/badge/badge.ts"
6700
- }
6673
+ "privacy": "public"
6701
6674
  },
6702
- {
6703
- "type": {
6704
- "text": "boolean"
6705
- },
6706
- "description": "Indicates the element should be circular",
6707
- "fieldName": "circular",
6708
- "inheritedFrom": {
6709
- "name": "Badge",
6710
- "module": "src/badge/badge.ts"
6711
- }
6712
- }
6713
- ],
6714
- "members": [
6715
6675
  {
6716
6676
  "kind": "field",
6717
- "name": "fill",
6677
+ "name": "dismissAnimation",
6718
6678
  "type": {
6719
- "text": "string"
6679
+ "text": "'banner-delete' | ''"
6720
6680
  },
6721
- "privacy": "public",
6722
- "description": "Indicates the badge should have a filled style.",
6723
- "inheritedFrom": {
6724
- "name": "Badge",
6725
- "module": "src/badge/badge.ts"
6726
- }
6681
+ "default": "''"
6727
6682
  },
6728
6683
  {
6729
6684
  "kind": "field",
6730
- "name": "color",
6685
+ "name": "notification",
6731
6686
  "type": {
6732
- "text": "string"
6733
- },
6734
- "privacy": "public",
6735
- "description": "Indicates the badge should have a filled style.",
6736
- "inheritedFrom": {
6737
- "name": "Badge",
6738
- "module": "src/badge/badge.ts"
6687
+ "text": "NotificationStructure"
6739
6688
  }
6740
6689
  },
6741
6690
  {
6742
- "kind": "field",
6743
- "name": "circular",
6744
- "type": {
6745
- "text": "boolean"
6746
- },
6691
+ "kind": "method",
6692
+ "name": "dismiss",
6747
6693
  "privacy": "public",
6748
- "description": "Indicates the element should be circular",
6749
- "inheritedFrom": {
6750
- "name": "Badge",
6751
- "module": "src/badge/badge.ts"
6752
- }
6694
+ "return": {
6695
+ "type": {
6696
+ "text": "Promise<void>"
6697
+ }
6698
+ },
6699
+ "description": "Dismiss the Banner from display."
6753
6700
  },
6754
6701
  {
6755
- "kind": "field",
6756
- "name": "generateBadgeStyle",
6702
+ "kind": "method",
6703
+ "name": "dismissNotification",
6757
6704
  "privacy": "public",
6758
- "inheritedFrom": {
6759
- "name": "Badge",
6760
- "module": "src/badge/badge.ts"
6761
- }
6705
+ "description": "Dismiss the Banner (NotificationStructure) from display."
6762
6706
  },
6763
6707
  {
6764
6708
  "kind": "field",
@@ -6871,69 +6815,51 @@
6871
6815
  "module": "src/foundation-element/foundation-element.ts"
6872
6816
  }
6873
6817
  }
6874
- ]
6875
- },
6876
- {
6877
- "kind": "variable",
6878
- "name": "foundationBadgeShadowOptions",
6879
- "type": {
6880
- "text": "ShadowRootInit"
6881
- },
6882
- "default": "undefined"
6883
- },
6884
- {
6885
- "kind": "variable",
6886
- "name": "defaultBadgeConfig",
6887
- "type": {
6888
- "text": "object"
6818
+ ],
6819
+ "superclass": {
6820
+ "name": "FoundationElement",
6821
+ "package": "@microsoft/fast-foundation"
6889
6822
  },
6890
- "default": "{}"
6823
+ "tagName": "%%prefix%%-banner",
6824
+ "customElement": true
6891
6825
  },
6892
6826
  {
6893
6827
  "kind": "variable",
6894
- "name": "foundationBadge",
6895
- "description": "The Foundation Badge",
6828
+ "name": "foundationBanner",
6829
+ "description": "The Foundation Banner",
6896
6830
  "privacy": "public"
6897
6831
  }
6898
6832
  ],
6899
6833
  "exports": [
6900
6834
  {
6901
6835
  "kind": "js",
6902
- "name": "Badge",
6903
- "declaration": {
6904
- "name": "Badge",
6905
- "module": "src/badge/badge.ts"
6906
- }
6907
- },
6908
- {
6909
- "kind": "js",
6910
- "name": "foundationBadgeShadowOptions",
6836
+ "name": "foundationBannerShadowOptions",
6911
6837
  "declaration": {
6912
- "name": "foundationBadgeShadowOptions",
6913
- "module": "src/badge/badge.ts"
6838
+ "name": "foundationBannerShadowOptions",
6839
+ "module": "src/banner/banner.ts"
6914
6840
  }
6915
6841
  },
6916
6842
  {
6917
6843
  "kind": "js",
6918
- "name": "defaultBadgeConfig",
6844
+ "name": "Banner",
6919
6845
  "declaration": {
6920
- "name": "defaultBadgeConfig",
6921
- "module": "src/badge/badge.ts"
6846
+ "name": "Banner",
6847
+ "module": "src/banner/banner.ts"
6922
6848
  }
6923
6849
  },
6924
6850
  {
6925
6851
  "kind": "js",
6926
- "name": "foundationBadge",
6852
+ "name": "foundationBanner",
6927
6853
  "declaration": {
6928
- "name": "foundationBadge",
6929
- "module": "src/badge/badge.ts"
6854
+ "name": "foundationBanner",
6855
+ "module": "src/banner/banner.ts"
6930
6856
  }
6931
6857
  }
6932
6858
  ]
6933
6859
  },
6934
6860
  {
6935
6861
  "kind": "javascript-module",
6936
- "path": "src/badge/index.ts",
6862
+ "path": "src/banner/index.ts",
6937
6863
  "declarations": [],
6938
6864
  "exports": [
6939
6865
  {
@@ -6941,7 +6867,7 @@
6941
6867
  "name": "*",
6942
6868
  "declaration": {
6943
6869
  "name": "*",
6944
- "package": "./badge.template"
6870
+ "package": "./banner.styles"
6945
6871
  }
6946
6872
  },
6947
6873
  {
@@ -6949,7 +6875,7 @@
6949
6875
  "name": "*",
6950
6876
  "declaration": {
6951
6877
  "name": "*",
6952
- "package": "./badge.styles"
6878
+ "package": "./banner.template"
6953
6879
  }
6954
6880
  },
6955
6881
  {
@@ -6957,132 +6883,188 @@
6957
6883
  "name": "*",
6958
6884
  "declaration": {
6959
6885
  "name": "*",
6960
- "package": "./badge"
6886
+ "package": "./banner"
6961
6887
  }
6962
6888
  }
6963
6889
  ]
6964
6890
  },
6965
6891
  {
6966
6892
  "kind": "javascript-module",
6967
- "path": "src/banner/banner.styles.ts",
6893
+ "path": "src/badge/badge.styles.ts",
6968
6894
  "declarations": [
6969
6895
  {
6970
- "kind": "variable",
6971
- "name": "foundationBannerStyles",
6972
- "type": {
6973
- "text": "ElementStyles"
6896
+ "kind": "function",
6897
+ "name": "foundationBadgeStyles",
6898
+ "return": {
6899
+ "type": {
6900
+ "text": "ElementStyles"
6901
+ }
6974
6902
  },
6975
- "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`"
6903
+ "parameters": [
6904
+ {
6905
+ "name": "context",
6906
+ "type": {
6907
+ "text": "ElementDefinitionContext"
6908
+ }
6909
+ },
6910
+ {
6911
+ "name": "definition",
6912
+ "type": {
6913
+ "text": "FoundationElementDefinition"
6914
+ }
6915
+ }
6916
+ ]
6976
6917
  }
6977
6918
  ],
6978
6919
  "exports": [
6979
6920
  {
6980
6921
  "kind": "js",
6981
- "name": "foundationBannerStyles",
6922
+ "name": "foundationBadgeStyles",
6982
6923
  "declaration": {
6983
- "name": "foundationBannerStyles",
6984
- "module": "src/banner/banner.styles.ts"
6924
+ "name": "foundationBadgeStyles",
6925
+ "module": "src/badge/badge.styles.ts"
6985
6926
  }
6986
6927
  }
6987
6928
  ]
6988
6929
  },
6989
6930
  {
6990
6931
  "kind": "javascript-module",
6991
- "path": "src/banner/banner.template.ts",
6932
+ "path": "src/badge/badge.template.ts",
6992
6933
  "declarations": [
6993
6934
  {
6994
6935
  "kind": "function",
6995
- "name": "getBannerTemplate",
6936
+ "name": "foundationBadgeTemplate",
6937
+ "return": {
6938
+ "type": {
6939
+ "text": "ViewTemplate<Badge>"
6940
+ }
6941
+ },
6996
6942
  "parameters": [
6997
6943
  {
6998
- "name": "prefix",
6944
+ "name": "context",
6999
6945
  "type": {
7000
- "text": "string"
6946
+ "text": "ElementDefinitionContext"
6947
+ }
6948
+ },
6949
+ {
6950
+ "name": "definition",
6951
+ "type": {
6952
+ "text": "FoundationElementDefinition"
7001
6953
  }
7002
6954
  }
7003
6955
  ]
7004
- },
7005
- {
7006
- "kind": "variable",
7007
- "name": "foundationBannerTemplate",
7008
- "default": "html<Banner>`\n ${(x) => getBannerTemplate(getPrefix(x))}\n`"
7009
6956
  }
7010
6957
  ],
7011
6958
  "exports": [
7012
6959
  {
7013
6960
  "kind": "js",
7014
- "name": "getBannerTemplate",
7015
- "declaration": {
7016
- "name": "getBannerTemplate",
7017
- "module": "src/banner/banner.template.ts"
7018
- }
7019
- },
7020
- {
7021
- "kind": "js",
7022
- "name": "foundationBannerTemplate",
6961
+ "name": "foundationBadgeTemplate",
7023
6962
  "declaration": {
7024
- "name": "foundationBannerTemplate",
7025
- "module": "src/banner/banner.template.ts"
6963
+ "name": "foundationBadgeTemplate",
6964
+ "module": "src/badge/badge.template.ts"
7026
6965
  }
7027
6966
  }
7028
6967
  ]
7029
6968
  },
7030
6969
  {
7031
6970
  "kind": "javascript-module",
7032
- "path": "src/banner/banner.ts",
6971
+ "path": "src/badge/badge.ts",
7033
6972
  "declarations": [
7034
- {
7035
- "kind": "variable",
7036
- "name": "foundationBannerShadowOptions",
7037
- "type": {
7038
- "text": "ShadowRootInit"
7039
- },
7040
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
7041
- },
7042
6973
  {
7043
6974
  "kind": "class",
7044
6975
  "description": "",
7045
- "name": "Banner",
7046
- "members": [
6976
+ "name": "Badge",
6977
+ "superclass": {
6978
+ "name": "FASTBadge",
6979
+ "package": "@microsoft/fast-components"
6980
+ },
6981
+ "tagName": "%%prefix%%-badge",
6982
+ "customElement": true,
6983
+ "attributes": [
7047
6984
  {
7048
- "kind": "field",
7049
- "name": "banner",
6985
+ "name": "fill",
7050
6986
  "type": {
7051
- "text": "HTMLElement"
6987
+ "text": "string"
7052
6988
  },
7053
- "privacy": "public"
6989
+ "description": "Indicates the badge should have a filled style.",
6990
+ "fieldName": "fill",
6991
+ "inheritedFrom": {
6992
+ "name": "Badge",
6993
+ "module": "src/badge/badge.ts"
6994
+ }
7054
6995
  },
7055
6996
  {
7056
- "kind": "field",
7057
- "name": "dismissAnimation",
6997
+ "name": "color",
7058
6998
  "type": {
7059
- "text": "'banner-delete' | ''"
6999
+ "text": "string"
7060
7000
  },
7061
- "default": "''"
7001
+ "description": "Indicates the badge should have a filled style.",
7002
+ "fieldName": "color",
7003
+ "inheritedFrom": {
7004
+ "name": "Badge",
7005
+ "module": "src/badge/badge.ts"
7006
+ }
7062
7007
  },
7008
+ {
7009
+ "type": {
7010
+ "text": "boolean"
7011
+ },
7012
+ "description": "Indicates the element should be circular",
7013
+ "fieldName": "circular",
7014
+ "inheritedFrom": {
7015
+ "name": "Badge",
7016
+ "module": "src/badge/badge.ts"
7017
+ }
7018
+ }
7019
+ ],
7020
+ "members": [
7063
7021
  {
7064
7022
  "kind": "field",
7065
- "name": "notification",
7023
+ "name": "fill",
7066
7024
  "type": {
7067
- "text": "NotificationStructure"
7025
+ "text": "string"
7026
+ },
7027
+ "privacy": "public",
7028
+ "description": "Indicates the badge should have a filled style.",
7029
+ "inheritedFrom": {
7030
+ "name": "Badge",
7031
+ "module": "src/badge/badge.ts"
7068
7032
  }
7069
7033
  },
7070
7034
  {
7071
- "kind": "method",
7072
- "name": "dismiss",
7035
+ "kind": "field",
7036
+ "name": "color",
7037
+ "type": {
7038
+ "text": "string"
7039
+ },
7073
7040
  "privacy": "public",
7074
- "return": {
7075
- "type": {
7076
- "text": "Promise<void>"
7077
- }
7041
+ "description": "Indicates the badge should have a filled style.",
7042
+ "inheritedFrom": {
7043
+ "name": "Badge",
7044
+ "module": "src/badge/badge.ts"
7045
+ }
7046
+ },
7047
+ {
7048
+ "kind": "field",
7049
+ "name": "circular",
7050
+ "type": {
7051
+ "text": "boolean"
7078
7052
  },
7079
- "description": "Dismiss the Banner from display."
7053
+ "privacy": "public",
7054
+ "description": "Indicates the element should be circular",
7055
+ "inheritedFrom": {
7056
+ "name": "Badge",
7057
+ "module": "src/badge/badge.ts"
7058
+ }
7080
7059
  },
7081
7060
  {
7082
- "kind": "method",
7083
- "name": "dismissNotification",
7061
+ "kind": "field",
7062
+ "name": "generateBadgeStyle",
7084
7063
  "privacy": "public",
7085
- "description": "Dismiss the Banner (NotificationStructure) from display."
7064
+ "inheritedFrom": {
7065
+ "name": "Badge",
7066
+ "module": "src/badge/badge.ts"
7067
+ }
7086
7068
  },
7087
7069
  {
7088
7070
  "kind": "field",
@@ -7195,51 +7177,69 @@
7195
7177
  "module": "src/foundation-element/foundation-element.ts"
7196
7178
  }
7197
7179
  }
7198
- ],
7199
- "superclass": {
7200
- "name": "FoundationElement",
7201
- "package": "@microsoft/fast-foundation"
7180
+ ]
7181
+ },
7182
+ {
7183
+ "kind": "variable",
7184
+ "name": "foundationBadgeShadowOptions",
7185
+ "type": {
7186
+ "text": "ShadowRootInit"
7202
7187
  },
7203
- "tagName": "%%prefix%%-banner",
7204
- "customElement": true
7188
+ "default": "undefined"
7205
7189
  },
7206
7190
  {
7207
7191
  "kind": "variable",
7208
- "name": "foundationBanner",
7209
- "description": "The Foundation Banner",
7192
+ "name": "defaultBadgeConfig",
7193
+ "type": {
7194
+ "text": "object"
7195
+ },
7196
+ "default": "{}"
7197
+ },
7198
+ {
7199
+ "kind": "variable",
7200
+ "name": "foundationBadge",
7201
+ "description": "The Foundation Badge",
7210
7202
  "privacy": "public"
7211
7203
  }
7212
7204
  ],
7213
7205
  "exports": [
7214
7206
  {
7215
7207
  "kind": "js",
7216
- "name": "foundationBannerShadowOptions",
7208
+ "name": "Badge",
7217
7209
  "declaration": {
7218
- "name": "foundationBannerShadowOptions",
7219
- "module": "src/banner/banner.ts"
7210
+ "name": "Badge",
7211
+ "module": "src/badge/badge.ts"
7220
7212
  }
7221
7213
  },
7222
7214
  {
7223
7215
  "kind": "js",
7224
- "name": "Banner",
7216
+ "name": "foundationBadgeShadowOptions",
7225
7217
  "declaration": {
7226
- "name": "Banner",
7227
- "module": "src/banner/banner.ts"
7218
+ "name": "foundationBadgeShadowOptions",
7219
+ "module": "src/badge/badge.ts"
7228
7220
  }
7229
7221
  },
7230
7222
  {
7231
7223
  "kind": "js",
7232
- "name": "foundationBanner",
7224
+ "name": "defaultBadgeConfig",
7233
7225
  "declaration": {
7234
- "name": "foundationBanner",
7235
- "module": "src/banner/banner.ts"
7226
+ "name": "defaultBadgeConfig",
7227
+ "module": "src/badge/badge.ts"
7228
+ }
7229
+ },
7230
+ {
7231
+ "kind": "js",
7232
+ "name": "foundationBadge",
7233
+ "declaration": {
7234
+ "name": "foundationBadge",
7235
+ "module": "src/badge/badge.ts"
7236
7236
  }
7237
7237
  }
7238
7238
  ]
7239
7239
  },
7240
7240
  {
7241
7241
  "kind": "javascript-module",
7242
- "path": "src/banner/index.ts",
7242
+ "path": "src/badge/index.ts",
7243
7243
  "declarations": [],
7244
7244
  "exports": [
7245
7245
  {
@@ -7247,7 +7247,7 @@
7247
7247
  "name": "*",
7248
7248
  "declaration": {
7249
7249
  "name": "*",
7250
- "package": "./banner.styles"
7250
+ "package": "./badge.template"
7251
7251
  }
7252
7252
  },
7253
7253
  {
@@ -7255,7 +7255,7 @@
7255
7255
  "name": "*",
7256
7256
  "declaration": {
7257
7257
  "name": "*",
7258
- "package": "./banner.template"
7258
+ "package": "./badge.styles"
7259
7259
  }
7260
7260
  },
7261
7261
  {
@@ -7263,7 +7263,7 @@
7263
7263
  "name": "*",
7264
7264
  "declaration": {
7265
7265
  "name": "*",
7266
- "package": "./banner"
7266
+ "package": "./badge"
7267
7267
  }
7268
7268
  }
7269
7269
  ]