@genesislcap/foundation-ui 15.19.2-FUI-2596.1 → 15.19.2-canary.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,116 +1563,237 @@
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",
1590
+ "name": "expand-mode",
1622
1591
  "type": {
1623
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1592
+ "text": "AccordionExpandMode"
1624
1593
  },
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",
1594
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1595
+ "fieldName": "expandmode",
1628
1596
  "inheritedFrom": {
1629
- "name": "AccordionItem",
1630
- "module": "src/accordion-item/accordion-item.ts"
1597
+ "name": "Accordion",
1598
+ "module": "src/accordion/accordion.ts"
1631
1599
  }
1632
- },
1600
+ }
1601
+ ],
1602
+ "members": [
1633
1603
  {
1604
+ "kind": "field",
1605
+ "name": "expandmode",
1634
1606
  "type": {
1635
- "text": "boolean"
1607
+ "text": "AccordionExpandMode"
1636
1608
  },
1637
- "default": "false",
1638
- "description": "Expands or collapses the item.",
1639
- "fieldName": "expanded",
1609
+ "privacy": "public",
1610
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1640
1611
  "inheritedFrom": {
1641
- "name": "AccordionItem",
1642
- "module": "src/accordion-item/accordion-item.ts"
1612
+ "name": "Accordion",
1613
+ "module": "src/accordion/accordion.ts"
1643
1614
  }
1644
1615
  },
1645
1616
  {
1646
- "name": "id",
1617
+ "kind": "field",
1618
+ "name": "activeid",
1647
1619
  "type": {
1648
- "text": "string"
1620
+ "text": "string | null"
1649
1621
  },
1650
- "description": "The item ID",
1651
- "fieldName": "id",
1622
+ "privacy": "private",
1652
1623
  "inheritedFrom": {
1653
- "name": "AccordionItem",
1654
- "module": "src/accordion-item/accordion-item.ts"
1624
+ "name": "Accordion",
1625
+ "module": "src/accordion/accordion.ts"
1655
1626
  }
1656
- }
1657
- ],
1658
- "members": [
1627
+ },
1659
1628
  {
1660
1629
  "kind": "field",
1661
- "name": "headinglevel",
1630
+ "name": "activeItemIndex",
1662
1631
  "type": {
1663
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1632
+ "text": "number"
1664
1633
  },
1665
- "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.",
1634
+ "privacy": "private",
1635
+ "default": "0",
1668
1636
  "inheritedFrom": {
1669
- "name": "AccordionItem",
1670
- "module": "src/accordion-item/accordion-item.ts"
1637
+ "name": "Accordion",
1638
+ "module": "src/accordion/accordion.ts"
1671
1639
  }
1672
1640
  },
1673
1641
  {
1674
1642
  "kind": "field",
1675
- "name": "expanded",
1643
+ "name": "accordionIds",
1676
1644
  "type": {
1677
- "text": "boolean"
1645
+ "text": "Array<string | null>"
1678
1646
  },
1679
- "privacy": "public",
1680
- "default": "false",
1681
- "description": "Expands or collapses the item.",
1647
+ "privacy": "private",
1682
1648
  "inheritedFrom": {
1683
- "name": "AccordionItem",
1684
- "module": "src/accordion-item/accordion-item.ts"
1649
+ "name": "Accordion",
1650
+ "module": "src/accordion/accordion.ts"
1685
1651
  }
1686
1652
  },
1687
1653
  {
1688
1654
  "kind": "field",
1689
- "name": "id",
1690
- "type": {
1691
- "text": "string"
1655
+ "name": "change",
1656
+ "privacy": "private",
1657
+ "inheritedFrom": {
1658
+ "name": "Accordion",
1659
+ "module": "src/accordion/accordion.ts"
1660
+ }
1661
+ },
1662
+ {
1663
+ "kind": "method",
1664
+ "name": "findExpandedItem",
1665
+ "privacy": "private",
1666
+ "return": {
1667
+ "type": {
1668
+ "text": "AccordionItem | null"
1669
+ }
1692
1670
  },
1693
- "privacy": "public",
1694
- "description": "The item ID",
1695
1671
  "inheritedFrom": {
1696
- "name": "AccordionItem",
1697
- "module": "src/accordion-item/accordion-item.ts"
1672
+ "name": "Accordion",
1673
+ "module": "src/accordion/accordion.ts"
1698
1674
  }
1699
1675
  },
1700
1676
  {
1701
1677
  "kind": "field",
1702
- "name": "change",
1678
+ "name": "setItems",
1703
1679
  "privacy": "private",
1704
1680
  "inheritedFrom": {
1705
- "name": "AccordionItem",
1706
- "module": "src/accordion-item/accordion-item.ts"
1681
+ "name": "Accordion",
1682
+ "module": "src/accordion/accordion.ts"
1683
+ }
1684
+ },
1685
+ {
1686
+ "kind": "method",
1687
+ "name": "resetItems",
1688
+ "privacy": "private",
1689
+ "return": {
1690
+ "type": {
1691
+ "text": "void"
1692
+ }
1693
+ },
1694
+ "inheritedFrom": {
1695
+ "name": "Accordion",
1696
+ "module": "src/accordion/accordion.ts"
1697
+ }
1698
+ },
1699
+ {
1700
+ "kind": "field",
1701
+ "name": "removeItemListeners",
1702
+ "privacy": "private",
1703
+ "inheritedFrom": {
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"
1715
+ }
1716
+ },
1717
+ {
1718
+ "kind": "method",
1719
+ "name": "getItemIds",
1720
+ "privacy": "private",
1721
+ "return": {
1722
+ "type": {
1723
+ "text": "Array<string | null>"
1724
+ }
1725
+ },
1726
+ "inheritedFrom": {
1727
+ "name": "Accordion",
1728
+ "module": "src/accordion/accordion.ts"
1729
+ }
1730
+ },
1731
+ {
1732
+ "kind": "method",
1733
+ "name": "isSingleExpandMode",
1734
+ "privacy": "private",
1735
+ "return": {
1736
+ "type": {
1737
+ "text": "boolean"
1738
+ }
1739
+ },
1740
+ "inheritedFrom": {
1741
+ "name": "Accordion",
1742
+ "module": "src/accordion/accordion.ts"
1743
+ }
1744
+ },
1745
+ {
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"
1707
1797
  }
1708
1798
  },
1709
1799
  {
@@ -1820,18 +1910,18 @@
1820
1910
  ],
1821
1911
  "events": [
1822
1912
  {
1823
- "description": "Fires a custom 'change' event when the button is invoked",
1913
+ "description": "Fires a custom 'change' event when the active item changes",
1824
1914
  "name": "change",
1825
1915
  "inheritedFrom": {
1826
- "name": "AccordionItem",
1827
- "module": "src/accordion-item/accordion-item.ts"
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,312 +2003,222 @@
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",
1924
- "declarations": [
1925
- {
1926
- "kind": "function",
1927
- "name": "foundationAccordionStyles",
1928
- "return": {
1929
- "type": {
1930
- "text": "ElementStyles"
1931
- }
1932
- },
1933
- "parameters": [
1934
- {
1935
- "name": "context",
1936
- "type": {
1937
- "text": "ElementDefinitionContext"
1938
- }
1939
- },
1940
- {
1941
- "name": "definition",
1942
- "type": {
1943
- "text": "FoundationElementDefinition"
1944
- }
1945
- }
1946
- ]
1947
- }
1948
- ],
2013
+ "path": "src/_config/index.ts",
2014
+ "declarations": [],
1949
2015
  "exports": [
1950
2016
  {
1951
2017
  "kind": "js",
1952
- "name": "foundationAccordionStyles",
2018
+ "name": "*",
1953
2019
  "declaration": {
1954
- "name": "foundationAccordionStyles",
1955
- "module": "src/accordion/accordion.styles.ts"
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"
1956
2038
  }
1957
2039
  }
1958
2040
  ]
1959
2041
  },
1960
2042
  {
1961
2043
  "kind": "javascript-module",
1962
- "path": "src/accordion/accordion.template.ts",
2044
+ "path": "src/accordion-item/accordion-item.styles.ts",
1963
2045
  "declarations": [
1964
2046
  {
1965
2047
  "kind": "function",
1966
- "name": "foundationAccordionTemplate",
2048
+ "name": "foundationAccordionItemStyles",
1967
2049
  "return": {
1968
2050
  "type": {
1969
- "text": "ViewTemplate<Accordion>"
2051
+ "text": "ElementStyles"
1970
2052
  }
1971
2053
  },
1972
2054
  "parameters": [
1973
2055
  {
1974
2056
  "name": "context",
1975
- "type": {
1976
- "text": "ElementDefinitionContext"
1977
- }
1978
- },
1979
- {
1980
- "name": "definition",
1981
- "type": {
1982
- "text": "FoundationElementDefinition"
1983
- }
1984
- }
1985
- ]
1986
- }
1987
- ],
1988
- "exports": [
1989
- {
1990
- "kind": "js",
1991
- "name": "foundationAccordionTemplate",
1992
- "declaration": {
1993
- "name": "foundationAccordionTemplate",
1994
- "module": "src/accordion/accordion.template.ts"
1995
- }
1996
- }
1997
- ]
1998
- },
1999
- {
2000
- "kind": "javascript-module",
2001
- "path": "src/accordion/accordion.ts",
2002
- "declarations": [
2003
- {
2004
- "kind": "class",
2005
- "description": "",
2006
- "name": "Accordion",
2007
- "superclass": {
2008
- "name": "FASTAccordion",
2009
- "package": "@microsoft/fast-foundation"
2010
- },
2011
- "tagName": "%%prefix%%-accordion",
2012
- "customElement": true,
2013
- "attributes": [
2014
- {
2015
- "name": "expand-mode",
2016
- "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"
2024
- }
2025
- }
2026
- ],
2027
- "members": [
2028
- {
2029
- "kind": "field",
2030
- "name": "expandmode",
2031
- "type": {
2032
- "text": "AccordionExpandMode"
2033
- },
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
- }
2040
- },
2041
- {
2042
- "kind": "field",
2043
- "name": "activeid",
2044
- "type": {
2045
- "text": "string | null"
2046
- },
2047
- "privacy": "private",
2048
- "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2051
- }
2052
- },
2053
- {
2054
- "kind": "field",
2055
- "name": "activeItemIndex",
2056
- "type": {
2057
- "text": "number"
2058
- },
2059
- "privacy": "private",
2060
- "default": "0",
2061
- "inheritedFrom": {
2062
- "name": "Accordion",
2063
- "module": "src/accordion/accordion.ts"
2064
- }
2065
- },
2066
- {
2067
- "kind": "field",
2068
- "name": "accordionIds",
2069
- "type": {
2070
- "text": "Array<string | null>"
2071
- },
2072
- "privacy": "private",
2073
- "inheritedFrom": {
2074
- "name": "Accordion",
2075
- "module": "src/accordion/accordion.ts"
2076
- }
2077
- },
2078
- {
2079
- "kind": "field",
2080
- "name": "change",
2081
- "privacy": "private",
2082
- "inheritedFrom": {
2083
- "name": "Accordion",
2084
- "module": "src/accordion/accordion.ts"
2085
- }
2086
- },
2087
- {
2088
- "kind": "method",
2089
- "name": "findExpandedItem",
2090
- "privacy": "private",
2091
- "return": {
2092
- "type": {
2093
- "text": "AccordionItem | null"
2094
- }
2095
- },
2096
- "inheritedFrom": {
2097
- "name": "Accordion",
2098
- "module": "src/accordion/accordion.ts"
2057
+ "type": {
2058
+ "text": "ElementDefinitionContext"
2099
2059
  }
2100
2060
  },
2101
2061
  {
2102
- "kind": "field",
2103
- "name": "setItems",
2104
- "privacy": "private",
2105
- "inheritedFrom": {
2106
- "name": "Accordion",
2107
- "module": "src/accordion/accordion.ts"
2062
+ "name": "definition",
2063
+ "type": {
2064
+ "text": "FoundationElementDefinition"
2108
2065
  }
2109
- },
2066
+ }
2067
+ ]
2068
+ }
2069
+ ],
2070
+ "exports": [
2071
+ {
2072
+ "kind": "js",
2073
+ "name": "foundationAccordionItemStyles",
2074
+ "declaration": {
2075
+ "name": "foundationAccordionItemStyles",
2076
+ "module": "src/accordion-item/accordion-item.styles.ts"
2077
+ }
2078
+ }
2079
+ ]
2080
+ },
2081
+ {
2082
+ "kind": "javascript-module",
2083
+ "path": "src/accordion-item/accordion-item.template.ts",
2084
+ "declarations": [
2085
+ {
2086
+ "kind": "function",
2087
+ "name": "foundationAccordionItemTemplate",
2088
+ "return": {
2089
+ "type": {
2090
+ "text": "ViewTemplate<AccordionItem>"
2091
+ }
2092
+ },
2093
+ "parameters": [
2110
2094
  {
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"
2095
+ "name": "context",
2096
+ "type": {
2097
+ "text": "ElementDefinitionContext"
2122
2098
  }
2123
2099
  },
2124
2100
  {
2125
- "kind": "field",
2126
- "name": "removeItemListeners",
2127
- "privacy": "private",
2128
- "inheritedFrom": {
2129
- "name": "Accordion",
2130
- "module": "src/accordion/accordion.ts"
2101
+ "name": "definition",
2102
+ "type": {
2103
+ "text": "FoundationElementDefinition"
2131
2104
  }
2132
- },
2105
+ }
2106
+ ]
2107
+ }
2108
+ ],
2109
+ "exports": [
2110
+ {
2111
+ "kind": "js",
2112
+ "name": "foundationAccordionItemTemplate",
2113
+ "declaration": {
2114
+ "name": "foundationAccordionItemTemplate",
2115
+ "module": "src/accordion-item/accordion-item.template.ts"
2116
+ }
2117
+ }
2118
+ ]
2119
+ },
2120
+ {
2121
+ "kind": "javascript-module",
2122
+ "path": "src/accordion-item/accordion-item.ts",
2123
+ "declarations": [
2124
+ {
2125
+ "kind": "class",
2126
+ "description": "",
2127
+ "name": "AccordionItem",
2128
+ "superclass": {
2129
+ "name": "FASTAccordionItem",
2130
+ "package": "@microsoft/fast-components"
2131
+ },
2132
+ "tagName": "%%prefix%%-accordion-item",
2133
+ "customElement": true,
2134
+ "attributes": [
2133
2135
  {
2134
- "kind": "field",
2135
- "name": "activeItemChange",
2136
- "privacy": "private",
2136
+ "name": "heading-level",
2137
+ "type": {
2138
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2139
+ },
2140
+ "default": "2",
2141
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2142
+ "fieldName": "headinglevel",
2137
2143
  "inheritedFrom": {
2138
- "name": "Accordion",
2139
- "module": "src/accordion/accordion.ts"
2144
+ "name": "AccordionItem",
2145
+ "module": "src/accordion-item/accordion-item.ts"
2140
2146
  }
2141
2147
  },
2142
2148
  {
2143
- "kind": "method",
2144
- "name": "getItemIds",
2145
- "privacy": "private",
2146
- "return": {
2147
- "type": {
2148
- "text": "Array<string | null>"
2149
- }
2149
+ "type": {
2150
+ "text": "boolean"
2150
2151
  },
2152
+ "default": "false",
2153
+ "description": "Expands or collapses the item.",
2154
+ "fieldName": "expanded",
2151
2155
  "inheritedFrom": {
2152
- "name": "Accordion",
2153
- "module": "src/accordion/accordion.ts"
2156
+ "name": "AccordionItem",
2157
+ "module": "src/accordion-item/accordion-item.ts"
2154
2158
  }
2155
2159
  },
2156
2160
  {
2157
- "kind": "method",
2158
- "name": "isSingleExpandMode",
2159
- "privacy": "private",
2160
- "return": {
2161
- "type": {
2162
- "text": "boolean"
2163
- }
2161
+ "name": "id",
2162
+ "type": {
2163
+ "text": "string"
2164
2164
  },
2165
+ "description": "The item ID",
2166
+ "fieldName": "id",
2165
2167
  "inheritedFrom": {
2166
- "name": "Accordion",
2167
- "module": "src/accordion/accordion.ts"
2168
+ "name": "AccordionItem",
2169
+ "module": "src/accordion-item/accordion-item.ts"
2168
2170
  }
2169
- },
2171
+ }
2172
+ ],
2173
+ "members": [
2170
2174
  {
2171
2175
  "kind": "field",
2172
- "name": "handleItemKeyDown",
2173
- "privacy": "private",
2176
+ "name": "headinglevel",
2177
+ "type": {
2178
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2179
+ },
2180
+ "privacy": "public",
2181
+ "default": "2",
2182
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2174
2183
  "inheritedFrom": {
2175
- "name": "Accordion",
2176
- "module": "src/accordion/accordion.ts"
2184
+ "name": "AccordionItem",
2185
+ "module": "src/accordion-item/accordion-item.ts"
2177
2186
  }
2178
2187
  },
2179
2188
  {
2180
2189
  "kind": "field",
2181
- "name": "handleItemFocus",
2182
- "privacy": "private",
2190
+ "name": "expanded",
2191
+ "type": {
2192
+ "text": "boolean"
2193
+ },
2194
+ "privacy": "public",
2195
+ "default": "false",
2196
+ "description": "Expands or collapses the item.",
2183
2197
  "inheritedFrom": {
2184
- "name": "Accordion",
2185
- "module": "src/accordion/accordion.ts"
2198
+ "name": "AccordionItem",
2199
+ "module": "src/accordion-item/accordion-item.ts"
2186
2200
  }
2187
2201
  },
2188
2202
  {
2189
- "kind": "method",
2190
- "name": "adjust",
2191
- "privacy": "private",
2192
- "return": {
2193
- "type": {
2194
- "text": "void"
2195
- }
2203
+ "kind": "field",
2204
+ "name": "id",
2205
+ "type": {
2206
+ "text": "string"
2196
2207
  },
2197
- "parameters": [
2198
- {
2199
- "name": "adjustment",
2200
- "type": {
2201
- "text": "number"
2202
- }
2203
- }
2204
- ],
2208
+ "privacy": "public",
2209
+ "description": "The item ID",
2205
2210
  "inheritedFrom": {
2206
- "name": "Accordion",
2207
- "module": "src/accordion/accordion.ts"
2211
+ "name": "AccordionItem",
2212
+ "module": "src/accordion-item/accordion-item.ts"
2208
2213
  }
2209
2214
  },
2210
2215
  {
2211
- "kind": "method",
2212
- "name": "focusItem",
2216
+ "kind": "field",
2217
+ "name": "change",
2213
2218
  "privacy": "private",
2214
- "return": {
2215
- "type": {
2216
- "text": "void"
2217
- }
2218
- },
2219
2219
  "inheritedFrom": {
2220
- "name": "Accordion",
2221
- "module": "src/accordion/accordion.ts"
2220
+ "name": "AccordionItem",
2221
+ "module": "src/accordion-item/accordion-item.ts"
2222
2222
  }
2223
2223
  },
2224
2224
  {
@@ -2335,18 +2335,18 @@
2335
2335
  ],
2336
2336
  "events": [
2337
2337
  {
2338
- "description": "Fires a custom 'change' event when the active item changes",
2338
+ "description": "Fires a custom 'change' event when the button is invoked",
2339
2339
  "name": "change",
2340
2340
  "inheritedFrom": {
2341
- "name": "Accordion",
2342
- "module": "src/accordion/accordion.ts"
2341
+ "name": "AccordionItem",
2342
+ "module": "src/accordion-item/accordion-item.ts"
2343
2343
  }
2344
2344
  }
2345
2345
  ]
2346
2346
  },
2347
2347
  {
2348
2348
  "kind": "variable",
2349
- "name": "foundationAccordionShadowOptions",
2349
+ "name": "foundationAccordionItemShadowOptions",
2350
2350
  "type": {
2351
2351
  "text": "ShadowRootInit"
2352
2352
  },
@@ -2354,57 +2354,57 @@
2354
2354
  },
2355
2355
  {
2356
2356
  "kind": "variable",
2357
- "name": "defaultAccordionConfig",
2357
+ "name": "defaultAccordionItemConfig",
2358
2358
  "type": {
2359
2359
  "text": "object"
2360
2360
  },
2361
- "default": "{}"
2361
+ "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}"
2362
2362
  },
2363
2363
  {
2364
2364
  "kind": "variable",
2365
- "name": "foundationAccordion",
2366
- "description": "The Foundation Accordion",
2365
+ "name": "foundationAccordionItem",
2366
+ "description": "The Foundation Accordion Item",
2367
2367
  "privacy": "public"
2368
2368
  }
2369
2369
  ],
2370
2370
  "exports": [
2371
2371
  {
2372
2372
  "kind": "js",
2373
- "name": "Accordion",
2373
+ "name": "AccordionItem",
2374
2374
  "declaration": {
2375
- "name": "Accordion",
2376
- "module": "src/accordion/accordion.ts"
2375
+ "name": "AccordionItem",
2376
+ "module": "src/accordion-item/accordion-item.ts"
2377
2377
  }
2378
2378
  },
2379
2379
  {
2380
2380
  "kind": "js",
2381
- "name": "foundationAccordionShadowOptions",
2381
+ "name": "foundationAccordionItemShadowOptions",
2382
2382
  "declaration": {
2383
- "name": "foundationAccordionShadowOptions",
2384
- "module": "src/accordion/accordion.ts"
2383
+ "name": "foundationAccordionItemShadowOptions",
2384
+ "module": "src/accordion-item/accordion-item.ts"
2385
2385
  }
2386
2386
  },
2387
2387
  {
2388
2388
  "kind": "js",
2389
- "name": "defaultAccordionConfig",
2389
+ "name": "defaultAccordionItemConfig",
2390
2390
  "declaration": {
2391
- "name": "defaultAccordionConfig",
2392
- "module": "src/accordion/accordion.ts"
2391
+ "name": "defaultAccordionItemConfig",
2392
+ "module": "src/accordion-item/accordion-item.ts"
2393
2393
  }
2394
2394
  },
2395
2395
  {
2396
2396
  "kind": "js",
2397
- "name": "foundationAccordion",
2397
+ "name": "foundationAccordionItem",
2398
2398
  "declaration": {
2399
- "name": "foundationAccordion",
2400
- "module": "src/accordion/accordion.ts"
2399
+ "name": "foundationAccordionItem",
2400
+ "module": "src/accordion-item/accordion-item.ts"
2401
2401
  }
2402
2402
  }
2403
2403
  ]
2404
2404
  },
2405
2405
  {
2406
2406
  "kind": "javascript-module",
2407
- "path": "src/accordion/index.ts",
2407
+ "path": "src/accordion-item/index.ts",
2408
2408
  "declarations": [],
2409
2409
  "exports": [
2410
2410
  {
@@ -2412,7 +2412,7 @@
2412
2412
  "name": "*",
2413
2413
  "declaration": {
2414
2414
  "name": "*",
2415
- "package": "./accordion.template"
2415
+ "package": "./accordion-item.template"
2416
2416
  }
2417
2417
  },
2418
2418
  {
@@ -2420,7 +2420,7 @@
2420
2420
  "name": "*",
2421
2421
  "declaration": {
2422
2422
  "name": "*",
2423
- "package": "./accordion.styles"
2423
+ "package": "./accordion-item.styles"
2424
2424
  }
2425
2425
  },
2426
2426
  {
@@ -2428,7 +2428,7 @@
2428
2428
  "name": "*",
2429
2429
  "declaration": {
2430
2430
  "name": "*",
2431
- "package": "./accordion"
2431
+ "package": "./accordion-item"
2432
2432
  }
2433
2433
  }
2434
2434
  ]
@@ -133,23 +133,23 @@ interface HTMLWCProps extends React.AriaAttributes {
133
133
  onInput?(e: Event): void;
134
134
  }
135
135
 
136
- export declare const AccordionItem: React.ForwardRefExoticComponent<
136
+ export declare const Accordion: React.ForwardRefExoticComponent<
137
137
  React.PropsWithChildren<
138
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
138
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
139
139
  HTMLWCProps & {
140
140
  }
141
- > & React.RefAttributes<AccordionItemWC>
141
+ > & React.RefAttributes<AccordionWC>
142
142
  >;
143
- export type AccordionItemRef = AccordionItemWC;
143
+ export type AccordionRef = AccordionWC;
144
144
 
145
- export declare const Accordion: React.ForwardRefExoticComponent<
145
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
146
146
  React.PropsWithChildren<
147
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
147
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
148
148
  HTMLWCProps & {
149
149
  }
150
- > & React.RefAttributes<AccordionWC>
150
+ > & React.RefAttributes<AccordionItemWC>
151
151
  >;
152
- export type AccordionRef = AccordionWC;
152
+ export type AccordionItemRef = AccordionItemWC;
153
153
 
154
154
  export declare const ActionsMenu: React.ForwardRefExoticComponent<
155
155
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -113,14 +113,14 @@ function _mergeRefs(...refs) {
113
113
  };
114
114
  }
115
115
 
116
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
116
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
117
117
  const { children, ...rest } = props;
118
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
118
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
119
119
  });
120
120
 
121
- const Accordion = React.forwardRef(function Accordion(props, ref) {
121
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
122
122
  const { children, ...rest } = props;
123
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
123
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
124
124
  });
125
125
 
126
126
  const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
@@ -1143,8 +1143,8 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1143
1143
  });
1144
1144
 
1145
1145
  module.exports = {
1146
- AccordionItem,
1147
1146
  Accordion,
1147
+ AccordionItem,
1148
1148
  ActionsMenu,
1149
1149
  AiCriteriaSearch,
1150
1150
  AiIndicator,
package/dist/react.mjs CHANGED
@@ -111,14 +111,14 @@ function _mergeRefs(...refs) {
111
111
  };
112
112
  }
113
113
 
114
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
114
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
115
115
  const { children, ...rest } = props;
116
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
116
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
117
117
  });
118
118
 
119
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
119
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
120
120
  const { children, ...rest } = props;
121
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
121
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
122
122
  });
123
123
 
124
124
  export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "15.19.2-FUI-2596.1",
4
+ "version": "15.19.2-canary.2",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -85,13 +85,13 @@
85
85
  }
86
86
  },
87
87
  "devDependencies": {
88
- "@genesislcap/foundation-testing": "15.19.2-FUI-2596.1",
89
- "@genesislcap/genx": "15.19.2-FUI-2596.1",
90
- "@genesislcap/rollup-builder": "15.19.2-FUI-2596.1",
91
- "@genesislcap/ts-builder": "15.19.2-FUI-2596.1",
92
- "@genesislcap/uvu-playwright-builder": "15.19.2-FUI-2596.1",
93
- "@genesislcap/vite-builder": "15.19.2-FUI-2596.1",
94
- "@genesislcap/webpack-builder": "15.19.2-FUI-2596.1",
88
+ "@genesislcap/foundation-testing": "15.19.2-canary.2",
89
+ "@genesislcap/genx": "15.19.2-canary.2",
90
+ "@genesislcap/rollup-builder": "15.19.2-canary.2",
91
+ "@genesislcap/ts-builder": "15.19.2-canary.2",
92
+ "@genesislcap/uvu-playwright-builder": "15.19.2-canary.2",
93
+ "@genesislcap/vite-builder": "15.19.2-canary.2",
94
+ "@genesislcap/webpack-builder": "15.19.2-canary.2",
95
95
  "copyfiles": "^2.4.1"
96
96
  },
97
97
  "dependencies": {
@@ -100,16 +100,16 @@
100
100
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
101
101
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
102
102
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
103
- "@genesislcap/expression-builder": "15.19.2-FUI-2596.1",
104
- "@genesislcap/foundation-ai": "15.19.2-FUI-2596.1",
105
- "@genesislcap/foundation-comms": "15.19.2-FUI-2596.1",
106
- "@genesislcap/foundation-criteria": "15.19.2-FUI-2596.1",
107
- "@genesislcap/foundation-errors": "15.19.2-FUI-2596.1",
108
- "@genesislcap/foundation-events": "15.19.2-FUI-2596.1",
109
- "@genesislcap/foundation-logger": "15.19.2-FUI-2596.1",
110
- "@genesislcap/foundation-notifications": "15.19.2-FUI-2596.1",
111
- "@genesislcap/foundation-user": "15.19.2-FUI-2596.1",
112
- "@genesislcap/foundation-utils": "15.19.2-FUI-2596.1",
103
+ "@genesislcap/expression-builder": "15.19.2-canary.2",
104
+ "@genesislcap/foundation-ai": "15.19.2-canary.2",
105
+ "@genesislcap/foundation-comms": "15.19.2-canary.2",
106
+ "@genesislcap/foundation-criteria": "15.19.2-canary.2",
107
+ "@genesislcap/foundation-errors": "15.19.2-canary.2",
108
+ "@genesislcap/foundation-events": "15.19.2-canary.2",
109
+ "@genesislcap/foundation-logger": "15.19.2-canary.2",
110
+ "@genesislcap/foundation-notifications": "15.19.2-canary.2",
111
+ "@genesislcap/foundation-user": "15.19.2-canary.2",
112
+ "@genesislcap/foundation-utils": "15.19.2-canary.2",
113
113
  "@microsoft/fast-colors": "5.3.1",
114
114
  "@microsoft/fast-components": "2.30.6",
115
115
  "@microsoft/fast-element": "1.14.0",