@genesislcap/foundation-ui 14.482.0 → 14.482.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1400,916 +1400,7 @@
1400
1400
  },
1401
1401
  {
1402
1402
  "kind": "javascript-module",
1403
- "path": "src/accordion-item/accordion-item.styles.ts",
1404
- "declarations": [
1405
- {
1406
- "kind": "function",
1407
- "name": "foundationAccordionItemStyles",
1408
- "return": {
1409
- "type": {
1410
- "text": "ElementStyles"
1411
- }
1412
- },
1413
- "parameters": [
1414
- {
1415
- "name": "context",
1416
- "type": {
1417
- "text": "ElementDefinitionContext"
1418
- }
1419
- },
1420
- {
1421
- "name": "definition",
1422
- "type": {
1423
- "text": "FoundationElementDefinition"
1424
- }
1425
- }
1426
- ]
1427
- }
1428
- ],
1429
- "exports": [
1430
- {
1431
- "kind": "js",
1432
- "name": "foundationAccordionItemStyles",
1433
- "declaration": {
1434
- "name": "foundationAccordionItemStyles",
1435
- "module": "src/accordion-item/accordion-item.styles.ts"
1436
- }
1437
- }
1438
- ]
1439
- },
1440
- {
1441
- "kind": "javascript-module",
1442
- "path": "src/accordion-item/accordion-item.template.ts",
1443
- "declarations": [
1444
- {
1445
- "kind": "function",
1446
- "name": "foundationAccordionItemTemplate",
1447
- "return": {
1448
- "type": {
1449
- "text": "ViewTemplate<AccordionItem>"
1450
- }
1451
- },
1452
- "parameters": [
1453
- {
1454
- "name": "context",
1455
- "type": {
1456
- "text": "ElementDefinitionContext"
1457
- }
1458
- },
1459
- {
1460
- "name": "definition",
1461
- "type": {
1462
- "text": "FoundationElementDefinition"
1463
- }
1464
- }
1465
- ]
1466
- }
1467
- ],
1468
- "exports": [
1469
- {
1470
- "kind": "js",
1471
- "name": "foundationAccordionItemTemplate",
1472
- "declaration": {
1473
- "name": "foundationAccordionItemTemplate",
1474
- "module": "src/accordion-item/accordion-item.template.ts"
1475
- }
1476
- }
1477
- ]
1478
- },
1479
- {
1480
- "kind": "javascript-module",
1481
- "path": "src/accordion-item/accordion-item.ts",
1482
- "declarations": [
1483
- {
1484
- "kind": "class",
1485
- "description": "",
1486
- "name": "AccordionItem",
1487
- "superclass": {
1488
- "name": "FASTAccordionItem",
1489
- "package": "@microsoft/fast-components"
1490
- },
1491
- "tagName": "%%prefix%%-accordion-item",
1492
- "customElement": true,
1493
- "attributes": [
1494
- {
1495
- "name": "heading-level",
1496
- "type": {
1497
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1498
- },
1499
- "default": "2",
1500
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1501
- "fieldName": "headinglevel",
1502
- "inheritedFrom": {
1503
- "name": "AccordionItem",
1504
- "module": "src/accordion-item/accordion-item.ts"
1505
- }
1506
- },
1507
- {
1508
- "type": {
1509
- "text": "boolean"
1510
- },
1511
- "default": "false",
1512
- "description": "Expands or collapses the item.",
1513
- "fieldName": "expanded",
1514
- "inheritedFrom": {
1515
- "name": "AccordionItem",
1516
- "module": "src/accordion-item/accordion-item.ts"
1517
- }
1518
- },
1519
- {
1520
- "name": "id",
1521
- "type": {
1522
- "text": "string"
1523
- },
1524
- "description": "The item ID",
1525
- "fieldName": "id",
1526
- "inheritedFrom": {
1527
- "name": "AccordionItem",
1528
- "module": "src/accordion-item/accordion-item.ts"
1529
- }
1530
- }
1531
- ],
1532
- "members": [
1533
- {
1534
- "kind": "field",
1535
- "name": "headinglevel",
1536
- "type": {
1537
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1538
- },
1539
- "privacy": "public",
1540
- "default": "2",
1541
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1542
- "inheritedFrom": {
1543
- "name": "AccordionItem",
1544
- "module": "src/accordion-item/accordion-item.ts"
1545
- }
1546
- },
1547
- {
1548
- "kind": "field",
1549
- "name": "expanded",
1550
- "type": {
1551
- "text": "boolean"
1552
- },
1553
- "privacy": "public",
1554
- "default": "false",
1555
- "description": "Expands or collapses the item.",
1556
- "inheritedFrom": {
1557
- "name": "AccordionItem",
1558
- "module": "src/accordion-item/accordion-item.ts"
1559
- }
1560
- },
1561
- {
1562
- "kind": "field",
1563
- "name": "id",
1564
- "type": {
1565
- "text": "string"
1566
- },
1567
- "privacy": "public",
1568
- "description": "The item ID",
1569
- "inheritedFrom": {
1570
- "name": "AccordionItem",
1571
- "module": "src/accordion-item/accordion-item.ts"
1572
- }
1573
- },
1574
- {
1575
- "kind": "field",
1576
- "name": "change",
1577
- "privacy": "private",
1578
- "inheritedFrom": {
1579
- "name": "AccordionItem",
1580
- "module": "src/accordion-item/accordion-item.ts"
1581
- }
1582
- },
1583
- {
1584
- "kind": "field",
1585
- "name": "_presentation",
1586
- "type": {
1587
- "text": "ComponentPresentation | null | undefined"
1588
- },
1589
- "privacy": "private",
1590
- "default": "void 0",
1591
- "inheritedFrom": {
1592
- "name": "FoundationElement",
1593
- "module": "src/foundation-element/foundation-element.ts"
1594
- }
1595
- },
1596
- {
1597
- "kind": "field",
1598
- "name": "$presentation",
1599
- "type": {
1600
- "text": "ComponentPresentation | null"
1601
- },
1602
- "privacy": "public",
1603
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1604
- "inheritedFrom": {
1605
- "name": "FoundationElement",
1606
- "module": "src/foundation-element/foundation-element.ts"
1607
- }
1608
- },
1609
- {
1610
- "kind": "field",
1611
- "name": "template",
1612
- "type": {
1613
- "text": "ElementViewTemplate | void | null"
1614
- },
1615
- "privacy": "public",
1616
- "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.",
1617
- "inheritedFrom": {
1618
- "name": "FoundationElement",
1619
- "module": "src/foundation-element/foundation-element.ts"
1620
- }
1621
- },
1622
- {
1623
- "kind": "method",
1624
- "name": "templateChanged",
1625
- "privacy": "protected",
1626
- "return": {
1627
- "type": {
1628
- "text": "void"
1629
- }
1630
- },
1631
- "inheritedFrom": {
1632
- "name": "FoundationElement",
1633
- "module": "src/foundation-element/foundation-element.ts"
1634
- }
1635
- },
1636
- {
1637
- "kind": "field",
1638
- "name": "styles",
1639
- "type": {
1640
- "text": "ElementStyles | void | null"
1641
- },
1642
- "privacy": "public",
1643
- "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.",
1644
- "inheritedFrom": {
1645
- "name": "FoundationElement",
1646
- "module": "src/foundation-element/foundation-element.ts"
1647
- }
1648
- },
1649
- {
1650
- "kind": "method",
1651
- "name": "stylesChanged",
1652
- "privacy": "protected",
1653
- "return": {
1654
- "type": {
1655
- "text": "void"
1656
- }
1657
- },
1658
- "inheritedFrom": {
1659
- "name": "FoundationElement",
1660
- "module": "src/foundation-element/foundation-element.ts"
1661
- }
1662
- },
1663
- {
1664
- "kind": "method",
1665
- "name": "compose",
1666
- "privacy": "public",
1667
- "static": true,
1668
- "return": {
1669
- "type": {
1670
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1671
- }
1672
- },
1673
- "parameters": [
1674
- {
1675
- "name": "this",
1676
- "type": {
1677
- "text": "K"
1678
- }
1679
- },
1680
- {
1681
- "name": "elementDefinition",
1682
- "type": {
1683
- "text": "T"
1684
- },
1685
- "description": "The definition of the element to create the registry\nfunction for."
1686
- }
1687
- ],
1688
- "description": "Defines an element registry function with a set of element definition defaults.",
1689
- "inheritedFrom": {
1690
- "name": "FoundationElement",
1691
- "module": "src/foundation-element/foundation-element.ts"
1692
- }
1693
- }
1694
- ],
1695
- "events": [
1696
- {
1697
- "description": "Fires a custom 'change' event when the button is invoked",
1698
- "name": "change",
1699
- "inheritedFrom": {
1700
- "name": "AccordionItem",
1701
- "module": "src/accordion-item/accordion-item.ts"
1702
- }
1703
- }
1704
- ]
1705
- },
1706
- {
1707
- "kind": "variable",
1708
- "name": "foundationAccordionItemShadowOptions",
1709
- "type": {
1710
- "text": "ShadowRootInit"
1711
- },
1712
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1713
- },
1714
- {
1715
- "kind": "variable",
1716
- "name": "defaultAccordionItemConfig",
1717
- "type": {
1718
- "text": "object"
1719
- },
1720
- "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}"
1721
- },
1722
- {
1723
- "kind": "variable",
1724
- "name": "foundationAccordionItem",
1725
- "description": "The Foundation Accordion Item",
1726
- "privacy": "public"
1727
- }
1728
- ],
1729
- "exports": [
1730
- {
1731
- "kind": "js",
1732
- "name": "AccordionItem",
1733
- "declaration": {
1734
- "name": "AccordionItem",
1735
- "module": "src/accordion-item/accordion-item.ts"
1736
- }
1737
- },
1738
- {
1739
- "kind": "js",
1740
- "name": "foundationAccordionItemShadowOptions",
1741
- "declaration": {
1742
- "name": "foundationAccordionItemShadowOptions",
1743
- "module": "src/accordion-item/accordion-item.ts"
1744
- }
1745
- },
1746
- {
1747
- "kind": "js",
1748
- "name": "defaultAccordionItemConfig",
1749
- "declaration": {
1750
- "name": "defaultAccordionItemConfig",
1751
- "module": "src/accordion-item/accordion-item.ts"
1752
- }
1753
- },
1754
- {
1755
- "kind": "js",
1756
- "name": "foundationAccordionItem",
1757
- "declaration": {
1758
- "name": "foundationAccordionItem",
1759
- "module": "src/accordion-item/accordion-item.ts"
1760
- }
1761
- }
1762
- ]
1763
- },
1764
- {
1765
- "kind": "javascript-module",
1766
- "path": "src/accordion-item/index.ts",
1767
- "declarations": [],
1768
- "exports": [
1769
- {
1770
- "kind": "js",
1771
- "name": "*",
1772
- "declaration": {
1773
- "name": "*",
1774
- "package": "./accordion-item.template"
1775
- }
1776
- },
1777
- {
1778
- "kind": "js",
1779
- "name": "*",
1780
- "declaration": {
1781
- "name": "*",
1782
- "package": "./accordion-item.styles"
1783
- }
1784
- },
1785
- {
1786
- "kind": "js",
1787
- "name": "*",
1788
- "declaration": {
1789
- "name": "*",
1790
- "package": "./accordion-item"
1791
- }
1792
- }
1793
- ]
1794
- },
1795
- {
1796
- "kind": "javascript-module",
1797
- "path": "src/_config/index.ts",
1798
- "declarations": [],
1799
- "exports": [
1800
- {
1801
- "kind": "js",
1802
- "name": "*",
1803
- "declaration": {
1804
- "name": "*",
1805
- "package": "./styles"
1806
- }
1807
- },
1808
- {
1809
- "kind": "js",
1810
- "name": "*",
1811
- "declaration": {
1812
- "name": "*",
1813
- "package": "./tokens"
1814
- }
1815
- },
1816
- {
1817
- "kind": "js",
1818
- "name": "*",
1819
- "declaration": {
1820
- "name": "*",
1821
- "package": "./values"
1822
- }
1823
- }
1824
- ]
1825
- },
1826
- {
1827
- "kind": "javascript-module",
1828
- "path": "src/accordion/accordion.styles.ts",
1829
- "declarations": [
1830
- {
1831
- "kind": "function",
1832
- "name": "foundationAccordionStyles",
1833
- "return": {
1834
- "type": {
1835
- "text": "ElementStyles"
1836
- }
1837
- },
1838
- "parameters": [
1839
- {
1840
- "name": "context",
1841
- "type": {
1842
- "text": "ElementDefinitionContext"
1843
- }
1844
- },
1845
- {
1846
- "name": "definition",
1847
- "type": {
1848
- "text": "FoundationElementDefinition"
1849
- }
1850
- }
1851
- ]
1852
- }
1853
- ],
1854
- "exports": [
1855
- {
1856
- "kind": "js",
1857
- "name": "foundationAccordionStyles",
1858
- "declaration": {
1859
- "name": "foundationAccordionStyles",
1860
- "module": "src/accordion/accordion.styles.ts"
1861
- }
1862
- }
1863
- ]
1864
- },
1865
- {
1866
- "kind": "javascript-module",
1867
- "path": "src/accordion/accordion.template.ts",
1868
- "declarations": [
1869
- {
1870
- "kind": "function",
1871
- "name": "foundationAccordionTemplate",
1872
- "return": {
1873
- "type": {
1874
- "text": "ViewTemplate<Accordion>"
1875
- }
1876
- },
1877
- "parameters": [
1878
- {
1879
- "name": "context",
1880
- "type": {
1881
- "text": "ElementDefinitionContext"
1882
- }
1883
- },
1884
- {
1885
- "name": "definition",
1886
- "type": {
1887
- "text": "FoundationElementDefinition"
1888
- }
1889
- }
1890
- ]
1891
- }
1892
- ],
1893
- "exports": [
1894
- {
1895
- "kind": "js",
1896
- "name": "foundationAccordionTemplate",
1897
- "declaration": {
1898
- "name": "foundationAccordionTemplate",
1899
- "module": "src/accordion/accordion.template.ts"
1900
- }
1901
- }
1902
- ]
1903
- },
1904
- {
1905
- "kind": "javascript-module",
1906
- "path": "src/accordion/accordion.ts",
1907
- "declarations": [
1908
- {
1909
- "kind": "class",
1910
- "description": "",
1911
- "name": "Accordion",
1912
- "superclass": {
1913
- "name": "FASTAccordion",
1914
- "package": "@microsoft/fast-foundation"
1915
- },
1916
- "tagName": "%%prefix%%-accordion",
1917
- "customElement": true,
1918
- "attributes": [
1919
- {
1920
- "name": "expand-mode",
1921
- "type": {
1922
- "text": "AccordionExpandMode"
1923
- },
1924
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1925
- "fieldName": "expandmode",
1926
- "inheritedFrom": {
1927
- "name": "Accordion",
1928
- "module": "src/accordion/accordion.ts"
1929
- }
1930
- }
1931
- ],
1932
- "members": [
1933
- {
1934
- "kind": "field",
1935
- "name": "expandmode",
1936
- "type": {
1937
- "text": "AccordionExpandMode"
1938
- },
1939
- "privacy": "public",
1940
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1941
- "inheritedFrom": {
1942
- "name": "Accordion",
1943
- "module": "src/accordion/accordion.ts"
1944
- }
1945
- },
1946
- {
1947
- "kind": "field",
1948
- "name": "activeid",
1949
- "type": {
1950
- "text": "string | null"
1951
- },
1952
- "privacy": "private",
1953
- "inheritedFrom": {
1954
- "name": "Accordion",
1955
- "module": "src/accordion/accordion.ts"
1956
- }
1957
- },
1958
- {
1959
- "kind": "field",
1960
- "name": "activeItemIndex",
1961
- "type": {
1962
- "text": "number"
1963
- },
1964
- "privacy": "private",
1965
- "default": "0",
1966
- "inheritedFrom": {
1967
- "name": "Accordion",
1968
- "module": "src/accordion/accordion.ts"
1969
- }
1970
- },
1971
- {
1972
- "kind": "field",
1973
- "name": "accordionIds",
1974
- "type": {
1975
- "text": "Array<string | null>"
1976
- },
1977
- "privacy": "private",
1978
- "inheritedFrom": {
1979
- "name": "Accordion",
1980
- "module": "src/accordion/accordion.ts"
1981
- }
1982
- },
1983
- {
1984
- "kind": "field",
1985
- "name": "change",
1986
- "privacy": "private",
1987
- "inheritedFrom": {
1988
- "name": "Accordion",
1989
- "module": "src/accordion/accordion.ts"
1990
- }
1991
- },
1992
- {
1993
- "kind": "method",
1994
- "name": "findExpandedItem",
1995
- "privacy": "private",
1996
- "return": {
1997
- "type": {
1998
- "text": "AccordionItem | null"
1999
- }
2000
- },
2001
- "inheritedFrom": {
2002
- "name": "Accordion",
2003
- "module": "src/accordion/accordion.ts"
2004
- }
2005
- },
2006
- {
2007
- "kind": "field",
2008
- "name": "setItems",
2009
- "privacy": "private",
2010
- "inheritedFrom": {
2011
- "name": "Accordion",
2012
- "module": "src/accordion/accordion.ts"
2013
- }
2014
- },
2015
- {
2016
- "kind": "method",
2017
- "name": "resetItems",
2018
- "privacy": "private",
2019
- "return": {
2020
- "type": {
2021
- "text": "void"
2022
- }
2023
- },
2024
- "inheritedFrom": {
2025
- "name": "Accordion",
2026
- "module": "src/accordion/accordion.ts"
2027
- }
2028
- },
2029
- {
2030
- "kind": "field",
2031
- "name": "removeItemListeners",
2032
- "privacy": "private",
2033
- "inheritedFrom": {
2034
- "name": "Accordion",
2035
- "module": "src/accordion/accordion.ts"
2036
- }
2037
- },
2038
- {
2039
- "kind": "field",
2040
- "name": "activeItemChange",
2041
- "privacy": "private",
2042
- "inheritedFrom": {
2043
- "name": "Accordion",
2044
- "module": "src/accordion/accordion.ts"
2045
- }
2046
- },
2047
- {
2048
- "kind": "method",
2049
- "name": "getItemIds",
2050
- "privacy": "private",
2051
- "return": {
2052
- "type": {
2053
- "text": "Array<string | null>"
2054
- }
2055
- },
2056
- "inheritedFrom": {
2057
- "name": "Accordion",
2058
- "module": "src/accordion/accordion.ts"
2059
- }
2060
- },
2061
- {
2062
- "kind": "method",
2063
- "name": "isSingleExpandMode",
2064
- "privacy": "private",
2065
- "return": {
2066
- "type": {
2067
- "text": "boolean"
2068
- }
2069
- },
2070
- "inheritedFrom": {
2071
- "name": "Accordion",
2072
- "module": "src/accordion/accordion.ts"
2073
- }
2074
- },
2075
- {
2076
- "kind": "field",
2077
- "name": "handleItemKeyDown",
2078
- "privacy": "private",
2079
- "inheritedFrom": {
2080
- "name": "Accordion",
2081
- "module": "src/accordion/accordion.ts"
2082
- }
2083
- },
2084
- {
2085
- "kind": "field",
2086
- "name": "handleItemFocus",
2087
- "privacy": "private",
2088
- "inheritedFrom": {
2089
- "name": "Accordion",
2090
- "module": "src/accordion/accordion.ts"
2091
- }
2092
- },
2093
- {
2094
- "kind": "method",
2095
- "name": "adjust",
2096
- "privacy": "private",
2097
- "return": {
2098
- "type": {
2099
- "text": "void"
2100
- }
2101
- },
2102
- "parameters": [
2103
- {
2104
- "name": "adjustment",
2105
- "type": {
2106
- "text": "number"
2107
- }
2108
- }
2109
- ],
2110
- "inheritedFrom": {
2111
- "name": "Accordion",
2112
- "module": "src/accordion/accordion.ts"
2113
- }
2114
- },
2115
- {
2116
- "kind": "method",
2117
- "name": "focusItem",
2118
- "privacy": "private",
2119
- "return": {
2120
- "type": {
2121
- "text": "void"
2122
- }
2123
- },
2124
- "inheritedFrom": {
2125
- "name": "Accordion",
2126
- "module": "src/accordion/accordion.ts"
2127
- }
2128
- },
2129
- {
2130
- "kind": "field",
2131
- "name": "_presentation",
2132
- "type": {
2133
- "text": "ComponentPresentation | null | undefined"
2134
- },
2135
- "privacy": "private",
2136
- "default": "void 0",
2137
- "inheritedFrom": {
2138
- "name": "FoundationElement",
2139
- "module": "src/foundation-element/foundation-element.ts"
2140
- }
2141
- },
2142
- {
2143
- "kind": "field",
2144
- "name": "$presentation",
2145
- "type": {
2146
- "text": "ComponentPresentation | null"
2147
- },
2148
- "privacy": "public",
2149
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2150
- "inheritedFrom": {
2151
- "name": "FoundationElement",
2152
- "module": "src/foundation-element/foundation-element.ts"
2153
- }
2154
- },
2155
- {
2156
- "kind": "field",
2157
- "name": "template",
2158
- "type": {
2159
- "text": "ElementViewTemplate | void | null"
2160
- },
2161
- "privacy": "public",
2162
- "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.",
2163
- "inheritedFrom": {
2164
- "name": "FoundationElement",
2165
- "module": "src/foundation-element/foundation-element.ts"
2166
- }
2167
- },
2168
- {
2169
- "kind": "method",
2170
- "name": "templateChanged",
2171
- "privacy": "protected",
2172
- "return": {
2173
- "type": {
2174
- "text": "void"
2175
- }
2176
- },
2177
- "inheritedFrom": {
2178
- "name": "FoundationElement",
2179
- "module": "src/foundation-element/foundation-element.ts"
2180
- }
2181
- },
2182
- {
2183
- "kind": "field",
2184
- "name": "styles",
2185
- "type": {
2186
- "text": "ElementStyles | void | null"
2187
- },
2188
- "privacy": "public",
2189
- "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.",
2190
- "inheritedFrom": {
2191
- "name": "FoundationElement",
2192
- "module": "src/foundation-element/foundation-element.ts"
2193
- }
2194
- },
2195
- {
2196
- "kind": "method",
2197
- "name": "stylesChanged",
2198
- "privacy": "protected",
2199
- "return": {
2200
- "type": {
2201
- "text": "void"
2202
- }
2203
- },
2204
- "inheritedFrom": {
2205
- "name": "FoundationElement",
2206
- "module": "src/foundation-element/foundation-element.ts"
2207
- }
2208
- },
2209
- {
2210
- "kind": "method",
2211
- "name": "compose",
2212
- "privacy": "public",
2213
- "static": true,
2214
- "return": {
2215
- "type": {
2216
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2217
- }
2218
- },
2219
- "parameters": [
2220
- {
2221
- "name": "this",
2222
- "type": {
2223
- "text": "K"
2224
- }
2225
- },
2226
- {
2227
- "name": "elementDefinition",
2228
- "type": {
2229
- "text": "T"
2230
- },
2231
- "description": "The definition of the element to create the registry\nfunction for."
2232
- }
2233
- ],
2234
- "description": "Defines an element registry function with a set of element definition defaults.",
2235
- "inheritedFrom": {
2236
- "name": "FoundationElement",
2237
- "module": "src/foundation-element/foundation-element.ts"
2238
- }
2239
- }
2240
- ],
2241
- "events": [
2242
- {
2243
- "description": "Fires a custom 'change' event when the active item changes",
2244
- "name": "change",
2245
- "inheritedFrom": {
2246
- "name": "Accordion",
2247
- "module": "src/accordion/accordion.ts"
2248
- }
2249
- }
2250
- ]
2251
- },
2252
- {
2253
- "kind": "variable",
2254
- "name": "foundationAccordionShadowOptions",
2255
- "type": {
2256
- "text": "ShadowRootInit"
2257
- },
2258
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2259
- },
2260
- {
2261
- "kind": "variable",
2262
- "name": "defaultAccordionConfig",
2263
- "type": {
2264
- "text": "object"
2265
- },
2266
- "default": "{}"
2267
- },
2268
- {
2269
- "kind": "variable",
2270
- "name": "foundationAccordion",
2271
- "description": "The Foundation Accordion",
2272
- "privacy": "public"
2273
- }
2274
- ],
2275
- "exports": [
2276
- {
2277
- "kind": "js",
2278
- "name": "Accordion",
2279
- "declaration": {
2280
- "name": "Accordion",
2281
- "module": "src/accordion/accordion.ts"
2282
- }
2283
- },
2284
- {
2285
- "kind": "js",
2286
- "name": "foundationAccordionShadowOptions",
2287
- "declaration": {
2288
- "name": "foundationAccordionShadowOptions",
2289
- "module": "src/accordion/accordion.ts"
2290
- }
2291
- },
2292
- {
2293
- "kind": "js",
2294
- "name": "defaultAccordionConfig",
2295
- "declaration": {
2296
- "name": "defaultAccordionConfig",
2297
- "module": "src/accordion/accordion.ts"
2298
- }
2299
- },
2300
- {
2301
- "kind": "js",
2302
- "name": "foundationAccordion",
2303
- "declaration": {
2304
- "name": "foundationAccordion",
2305
- "module": "src/accordion/accordion.ts"
2306
- }
2307
- }
2308
- ]
2309
- },
2310
- {
2311
- "kind": "javascript-module",
2312
- "path": "src/accordion/index.ts",
1403
+ "path": "src/_config/index.ts",
2313
1404
  "declarations": [],
2314
1405
  "exports": [
2315
1406
  {
@@ -2317,7 +1408,7 @@
2317
1408
  "name": "*",
2318
1409
  "declaration": {
2319
1410
  "name": "*",
2320
- "package": "./accordion.template"
1411
+ "package": "./styles"
2321
1412
  }
2322
1413
  },
2323
1414
  {
@@ -2325,7 +1416,7 @@
2325
1416
  "name": "*",
2326
1417
  "declaration": {
2327
1418
  "name": "*",
2328
- "package": "./accordion.styles"
1419
+ "package": "./tokens"
2329
1420
  }
2330
1421
  },
2331
1422
  {
@@ -2333,7 +1424,7 @@
2333
1424
  "name": "*",
2334
1425
  "declaration": {
2335
1426
  "name": "*",
2336
- "package": "./accordion"
1427
+ "package": "./values"
2337
1428
  }
2338
1429
  }
2339
1430
  ]
@@ -2868,7 +1959,401 @@
2868
1959
  },
2869
1960
  {
2870
1961
  "kind": "javascript-module",
2871
- "path": "src/actions-menu/index.ts",
1962
+ "path": "src/actions-menu/index.ts",
1963
+ "declarations": [],
1964
+ "exports": [
1965
+ {
1966
+ "kind": "js",
1967
+ "name": "*",
1968
+ "declaration": {
1969
+ "name": "*",
1970
+ "package": "./actions-menu.styles"
1971
+ }
1972
+ },
1973
+ {
1974
+ "kind": "js",
1975
+ "name": "*",
1976
+ "declaration": {
1977
+ "name": "*",
1978
+ "package": "./actions-menu.template"
1979
+ }
1980
+ },
1981
+ {
1982
+ "kind": "js",
1983
+ "name": "*",
1984
+ "declaration": {
1985
+ "name": "*",
1986
+ "package": "./actions-menu"
1987
+ }
1988
+ }
1989
+ ]
1990
+ },
1991
+ {
1992
+ "kind": "javascript-module",
1993
+ "path": "src/accordion-item/accordion-item.styles.ts",
1994
+ "declarations": [
1995
+ {
1996
+ "kind": "function",
1997
+ "name": "foundationAccordionItemStyles",
1998
+ "return": {
1999
+ "type": {
2000
+ "text": "ElementStyles"
2001
+ }
2002
+ },
2003
+ "parameters": [
2004
+ {
2005
+ "name": "context",
2006
+ "type": {
2007
+ "text": "ElementDefinitionContext"
2008
+ }
2009
+ },
2010
+ {
2011
+ "name": "definition",
2012
+ "type": {
2013
+ "text": "FoundationElementDefinition"
2014
+ }
2015
+ }
2016
+ ]
2017
+ }
2018
+ ],
2019
+ "exports": [
2020
+ {
2021
+ "kind": "js",
2022
+ "name": "foundationAccordionItemStyles",
2023
+ "declaration": {
2024
+ "name": "foundationAccordionItemStyles",
2025
+ "module": "src/accordion-item/accordion-item.styles.ts"
2026
+ }
2027
+ }
2028
+ ]
2029
+ },
2030
+ {
2031
+ "kind": "javascript-module",
2032
+ "path": "src/accordion-item/accordion-item.template.ts",
2033
+ "declarations": [
2034
+ {
2035
+ "kind": "function",
2036
+ "name": "foundationAccordionItemTemplate",
2037
+ "return": {
2038
+ "type": {
2039
+ "text": "ViewTemplate<AccordionItem>"
2040
+ }
2041
+ },
2042
+ "parameters": [
2043
+ {
2044
+ "name": "context",
2045
+ "type": {
2046
+ "text": "ElementDefinitionContext"
2047
+ }
2048
+ },
2049
+ {
2050
+ "name": "definition",
2051
+ "type": {
2052
+ "text": "FoundationElementDefinition"
2053
+ }
2054
+ }
2055
+ ]
2056
+ }
2057
+ ],
2058
+ "exports": [
2059
+ {
2060
+ "kind": "js",
2061
+ "name": "foundationAccordionItemTemplate",
2062
+ "declaration": {
2063
+ "name": "foundationAccordionItemTemplate",
2064
+ "module": "src/accordion-item/accordion-item.template.ts"
2065
+ }
2066
+ }
2067
+ ]
2068
+ },
2069
+ {
2070
+ "kind": "javascript-module",
2071
+ "path": "src/accordion-item/accordion-item.ts",
2072
+ "declarations": [
2073
+ {
2074
+ "kind": "class",
2075
+ "description": "",
2076
+ "name": "AccordionItem",
2077
+ "superclass": {
2078
+ "name": "FASTAccordionItem",
2079
+ "package": "@microsoft/fast-components"
2080
+ },
2081
+ "tagName": "%%prefix%%-accordion-item",
2082
+ "customElement": true,
2083
+ "attributes": [
2084
+ {
2085
+ "name": "heading-level",
2086
+ "type": {
2087
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2088
+ },
2089
+ "default": "2",
2090
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2091
+ "fieldName": "headinglevel",
2092
+ "inheritedFrom": {
2093
+ "name": "AccordionItem",
2094
+ "module": "src/accordion-item/accordion-item.ts"
2095
+ }
2096
+ },
2097
+ {
2098
+ "type": {
2099
+ "text": "boolean"
2100
+ },
2101
+ "default": "false",
2102
+ "description": "Expands or collapses the item.",
2103
+ "fieldName": "expanded",
2104
+ "inheritedFrom": {
2105
+ "name": "AccordionItem",
2106
+ "module": "src/accordion-item/accordion-item.ts"
2107
+ }
2108
+ },
2109
+ {
2110
+ "name": "id",
2111
+ "type": {
2112
+ "text": "string"
2113
+ },
2114
+ "description": "The item ID",
2115
+ "fieldName": "id",
2116
+ "inheritedFrom": {
2117
+ "name": "AccordionItem",
2118
+ "module": "src/accordion-item/accordion-item.ts"
2119
+ }
2120
+ }
2121
+ ],
2122
+ "members": [
2123
+ {
2124
+ "kind": "field",
2125
+ "name": "headinglevel",
2126
+ "type": {
2127
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2128
+ },
2129
+ "privacy": "public",
2130
+ "default": "2",
2131
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2132
+ "inheritedFrom": {
2133
+ "name": "AccordionItem",
2134
+ "module": "src/accordion-item/accordion-item.ts"
2135
+ }
2136
+ },
2137
+ {
2138
+ "kind": "field",
2139
+ "name": "expanded",
2140
+ "type": {
2141
+ "text": "boolean"
2142
+ },
2143
+ "privacy": "public",
2144
+ "default": "false",
2145
+ "description": "Expands or collapses the item.",
2146
+ "inheritedFrom": {
2147
+ "name": "AccordionItem",
2148
+ "module": "src/accordion-item/accordion-item.ts"
2149
+ }
2150
+ },
2151
+ {
2152
+ "kind": "field",
2153
+ "name": "id",
2154
+ "type": {
2155
+ "text": "string"
2156
+ },
2157
+ "privacy": "public",
2158
+ "description": "The item ID",
2159
+ "inheritedFrom": {
2160
+ "name": "AccordionItem",
2161
+ "module": "src/accordion-item/accordion-item.ts"
2162
+ }
2163
+ },
2164
+ {
2165
+ "kind": "field",
2166
+ "name": "change",
2167
+ "privacy": "private",
2168
+ "inheritedFrom": {
2169
+ "name": "AccordionItem",
2170
+ "module": "src/accordion-item/accordion-item.ts"
2171
+ }
2172
+ },
2173
+ {
2174
+ "kind": "field",
2175
+ "name": "_presentation",
2176
+ "type": {
2177
+ "text": "ComponentPresentation | null | undefined"
2178
+ },
2179
+ "privacy": "private",
2180
+ "default": "void 0",
2181
+ "inheritedFrom": {
2182
+ "name": "FoundationElement",
2183
+ "module": "src/foundation-element/foundation-element.ts"
2184
+ }
2185
+ },
2186
+ {
2187
+ "kind": "field",
2188
+ "name": "$presentation",
2189
+ "type": {
2190
+ "text": "ComponentPresentation | null"
2191
+ },
2192
+ "privacy": "public",
2193
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2194
+ "inheritedFrom": {
2195
+ "name": "FoundationElement",
2196
+ "module": "src/foundation-element/foundation-element.ts"
2197
+ }
2198
+ },
2199
+ {
2200
+ "kind": "field",
2201
+ "name": "template",
2202
+ "type": {
2203
+ "text": "ElementViewTemplate | void | null"
2204
+ },
2205
+ "privacy": "public",
2206
+ "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.",
2207
+ "inheritedFrom": {
2208
+ "name": "FoundationElement",
2209
+ "module": "src/foundation-element/foundation-element.ts"
2210
+ }
2211
+ },
2212
+ {
2213
+ "kind": "method",
2214
+ "name": "templateChanged",
2215
+ "privacy": "protected",
2216
+ "return": {
2217
+ "type": {
2218
+ "text": "void"
2219
+ }
2220
+ },
2221
+ "inheritedFrom": {
2222
+ "name": "FoundationElement",
2223
+ "module": "src/foundation-element/foundation-element.ts"
2224
+ }
2225
+ },
2226
+ {
2227
+ "kind": "field",
2228
+ "name": "styles",
2229
+ "type": {
2230
+ "text": "ElementStyles | void | null"
2231
+ },
2232
+ "privacy": "public",
2233
+ "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.",
2234
+ "inheritedFrom": {
2235
+ "name": "FoundationElement",
2236
+ "module": "src/foundation-element/foundation-element.ts"
2237
+ }
2238
+ },
2239
+ {
2240
+ "kind": "method",
2241
+ "name": "stylesChanged",
2242
+ "privacy": "protected",
2243
+ "return": {
2244
+ "type": {
2245
+ "text": "void"
2246
+ }
2247
+ },
2248
+ "inheritedFrom": {
2249
+ "name": "FoundationElement",
2250
+ "module": "src/foundation-element/foundation-element.ts"
2251
+ }
2252
+ },
2253
+ {
2254
+ "kind": "method",
2255
+ "name": "compose",
2256
+ "privacy": "public",
2257
+ "static": true,
2258
+ "return": {
2259
+ "type": {
2260
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2261
+ }
2262
+ },
2263
+ "parameters": [
2264
+ {
2265
+ "name": "this",
2266
+ "type": {
2267
+ "text": "K"
2268
+ }
2269
+ },
2270
+ {
2271
+ "name": "elementDefinition",
2272
+ "type": {
2273
+ "text": "T"
2274
+ },
2275
+ "description": "The definition of the element to create the registry\nfunction for."
2276
+ }
2277
+ ],
2278
+ "description": "Defines an element registry function with a set of element definition defaults.",
2279
+ "inheritedFrom": {
2280
+ "name": "FoundationElement",
2281
+ "module": "src/foundation-element/foundation-element.ts"
2282
+ }
2283
+ }
2284
+ ],
2285
+ "events": [
2286
+ {
2287
+ "description": "Fires a custom 'change' event when the button is invoked",
2288
+ "name": "change",
2289
+ "inheritedFrom": {
2290
+ "name": "AccordionItem",
2291
+ "module": "src/accordion-item/accordion-item.ts"
2292
+ }
2293
+ }
2294
+ ]
2295
+ },
2296
+ {
2297
+ "kind": "variable",
2298
+ "name": "foundationAccordionItemShadowOptions",
2299
+ "type": {
2300
+ "text": "ShadowRootInit"
2301
+ },
2302
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2303
+ },
2304
+ {
2305
+ "kind": "variable",
2306
+ "name": "defaultAccordionItemConfig",
2307
+ "type": {
2308
+ "text": "object"
2309
+ },
2310
+ "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}"
2311
+ },
2312
+ {
2313
+ "kind": "variable",
2314
+ "name": "foundationAccordionItem",
2315
+ "description": "The Foundation Accordion Item",
2316
+ "privacy": "public"
2317
+ }
2318
+ ],
2319
+ "exports": [
2320
+ {
2321
+ "kind": "js",
2322
+ "name": "AccordionItem",
2323
+ "declaration": {
2324
+ "name": "AccordionItem",
2325
+ "module": "src/accordion-item/accordion-item.ts"
2326
+ }
2327
+ },
2328
+ {
2329
+ "kind": "js",
2330
+ "name": "foundationAccordionItemShadowOptions",
2331
+ "declaration": {
2332
+ "name": "foundationAccordionItemShadowOptions",
2333
+ "module": "src/accordion-item/accordion-item.ts"
2334
+ }
2335
+ },
2336
+ {
2337
+ "kind": "js",
2338
+ "name": "defaultAccordionItemConfig",
2339
+ "declaration": {
2340
+ "name": "defaultAccordionItemConfig",
2341
+ "module": "src/accordion-item/accordion-item.ts"
2342
+ }
2343
+ },
2344
+ {
2345
+ "kind": "js",
2346
+ "name": "foundationAccordionItem",
2347
+ "declaration": {
2348
+ "name": "foundationAccordionItem",
2349
+ "module": "src/accordion-item/accordion-item.ts"
2350
+ }
2351
+ }
2352
+ ]
2353
+ },
2354
+ {
2355
+ "kind": "javascript-module",
2356
+ "path": "src/accordion-item/index.ts",
2872
2357
  "declarations": [],
2873
2358
  "exports": [
2874
2359
  {
@@ -2876,7 +2361,7 @@
2876
2361
  "name": "*",
2877
2362
  "declaration": {
2878
2363
  "name": "*",
2879
- "package": "./actions-menu.styles"
2364
+ "package": "./accordion-item.template"
2880
2365
  }
2881
2366
  },
2882
2367
  {
@@ -2884,7 +2369,7 @@
2884
2369
  "name": "*",
2885
2370
  "declaration": {
2886
2371
  "name": "*",
2887
- "package": "./actions-menu.template"
2372
+ "package": "./accordion-item.styles"
2888
2373
  }
2889
2374
  },
2890
2375
  {
@@ -2892,7 +2377,7 @@
2892
2377
  "name": "*",
2893
2378
  "declaration": {
2894
2379
  "name": "*",
2895
- "package": "./actions-menu"
2380
+ "package": "./accordion-item"
2896
2381
  }
2897
2382
  }
2898
2383
  ]
@@ -3869,88 +3354,603 @@
3869
3354
  }
3870
3355
  }
3871
3356
  ],
3872
- "superclass": {
3873
- "name": "FoundationElement",
3874
- "package": "@microsoft/fast-foundation"
3357
+ "superclass": {
3358
+ "name": "FoundationElement",
3359
+ "package": "@microsoft/fast-foundation"
3360
+ },
3361
+ "tagName": "%%prefix%%-ai-indicator",
3362
+ "customElement": true
3363
+ },
3364
+ {
3365
+ "kind": "variable",
3366
+ "name": "foundationAiIndicator"
3367
+ }
3368
+ ],
3369
+ "exports": [
3370
+ {
3371
+ "kind": "js",
3372
+ "name": "AiIndicator",
3373
+ "declaration": {
3374
+ "name": "AiIndicator",
3375
+ "module": "src/ai-indicator/ai-indicator.ts"
3376
+ }
3377
+ },
3378
+ {
3379
+ "kind": "js",
3380
+ "name": "foundationAiIndicator",
3381
+ "declaration": {
3382
+ "name": "foundationAiIndicator",
3383
+ "module": "src/ai-indicator/ai-indicator.ts"
3384
+ }
3385
+ }
3386
+ ]
3387
+ },
3388
+ {
3389
+ "kind": "javascript-module",
3390
+ "path": "src/ai-indicator/index.ts",
3391
+ "declarations": [],
3392
+ "exports": [
3393
+ {
3394
+ "kind": "js",
3395
+ "name": "AiIndicator",
3396
+ "declaration": {
3397
+ "name": "AiIndicator",
3398
+ "module": "./ai-indicator"
3399
+ }
3400
+ },
3401
+ {
3402
+ "kind": "js",
3403
+ "name": "foundationAiIndicator",
3404
+ "declaration": {
3405
+ "name": "foundationAiIndicator",
3406
+ "module": "./ai-indicator"
3407
+ }
3408
+ },
3409
+ {
3410
+ "kind": "js",
3411
+ "name": "type",
3412
+ "declaration": {
3413
+ "name": "type",
3414
+ "module": "./ai-indicator"
3415
+ }
3416
+ },
3417
+ {
3418
+ "kind": "js",
3419
+ "name": "AIIndicatorState",
3420
+ "declaration": {
3421
+ "name": "AIIndicatorState",
3422
+ "module": "./ai-indicator"
3423
+ }
3424
+ },
3425
+ {
3426
+ "kind": "js",
3427
+ "name": "foundationAiIndicatorTemplate",
3428
+ "declaration": {
3429
+ "name": "foundationAiIndicatorTemplate",
3430
+ "module": "./ai-indicator.template"
3431
+ }
3432
+ },
3433
+ {
3434
+ "kind": "js",
3435
+ "name": "foundationAiIndicatorStyles",
3436
+ "declaration": {
3437
+ "name": "foundationAiIndicatorStyles",
3438
+ "module": "./ai-indicator.styles"
3439
+ }
3440
+ }
3441
+ ]
3442
+ },
3443
+ {
3444
+ "kind": "javascript-module",
3445
+ "path": "src/accordion/accordion.styles.ts",
3446
+ "declarations": [
3447
+ {
3448
+ "kind": "function",
3449
+ "name": "foundationAccordionStyles",
3450
+ "return": {
3451
+ "type": {
3452
+ "text": "ElementStyles"
3453
+ }
3454
+ },
3455
+ "parameters": [
3456
+ {
3457
+ "name": "context",
3458
+ "type": {
3459
+ "text": "ElementDefinitionContext"
3460
+ }
3461
+ },
3462
+ {
3463
+ "name": "definition",
3464
+ "type": {
3465
+ "text": "FoundationElementDefinition"
3466
+ }
3467
+ }
3468
+ ]
3469
+ }
3470
+ ],
3471
+ "exports": [
3472
+ {
3473
+ "kind": "js",
3474
+ "name": "foundationAccordionStyles",
3475
+ "declaration": {
3476
+ "name": "foundationAccordionStyles",
3477
+ "module": "src/accordion/accordion.styles.ts"
3478
+ }
3479
+ }
3480
+ ]
3481
+ },
3482
+ {
3483
+ "kind": "javascript-module",
3484
+ "path": "src/accordion/accordion.template.ts",
3485
+ "declarations": [
3486
+ {
3487
+ "kind": "function",
3488
+ "name": "foundationAccordionTemplate",
3489
+ "return": {
3490
+ "type": {
3491
+ "text": "ViewTemplate<Accordion>"
3492
+ }
3493
+ },
3494
+ "parameters": [
3495
+ {
3496
+ "name": "context",
3497
+ "type": {
3498
+ "text": "ElementDefinitionContext"
3499
+ }
3500
+ },
3501
+ {
3502
+ "name": "definition",
3503
+ "type": {
3504
+ "text": "FoundationElementDefinition"
3505
+ }
3506
+ }
3507
+ ]
3508
+ }
3509
+ ],
3510
+ "exports": [
3511
+ {
3512
+ "kind": "js",
3513
+ "name": "foundationAccordionTemplate",
3514
+ "declaration": {
3515
+ "name": "foundationAccordionTemplate",
3516
+ "module": "src/accordion/accordion.template.ts"
3517
+ }
3518
+ }
3519
+ ]
3520
+ },
3521
+ {
3522
+ "kind": "javascript-module",
3523
+ "path": "src/accordion/accordion.ts",
3524
+ "declarations": [
3525
+ {
3526
+ "kind": "class",
3527
+ "description": "",
3528
+ "name": "Accordion",
3529
+ "superclass": {
3530
+ "name": "FASTAccordion",
3531
+ "package": "@microsoft/fast-foundation"
3532
+ },
3533
+ "tagName": "%%prefix%%-accordion",
3534
+ "customElement": true,
3535
+ "attributes": [
3536
+ {
3537
+ "name": "expand-mode",
3538
+ "type": {
3539
+ "text": "AccordionExpandMode"
3540
+ },
3541
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3542
+ "fieldName": "expandmode",
3543
+ "inheritedFrom": {
3544
+ "name": "Accordion",
3545
+ "module": "src/accordion/accordion.ts"
3546
+ }
3547
+ }
3548
+ ],
3549
+ "members": [
3550
+ {
3551
+ "kind": "field",
3552
+ "name": "expandmode",
3553
+ "type": {
3554
+ "text": "AccordionExpandMode"
3555
+ },
3556
+ "privacy": "public",
3557
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3558
+ "inheritedFrom": {
3559
+ "name": "Accordion",
3560
+ "module": "src/accordion/accordion.ts"
3561
+ }
3562
+ },
3563
+ {
3564
+ "kind": "field",
3565
+ "name": "activeid",
3566
+ "type": {
3567
+ "text": "string | null"
3568
+ },
3569
+ "privacy": "private",
3570
+ "inheritedFrom": {
3571
+ "name": "Accordion",
3572
+ "module": "src/accordion/accordion.ts"
3573
+ }
3574
+ },
3575
+ {
3576
+ "kind": "field",
3577
+ "name": "activeItemIndex",
3578
+ "type": {
3579
+ "text": "number"
3580
+ },
3581
+ "privacy": "private",
3582
+ "default": "0",
3583
+ "inheritedFrom": {
3584
+ "name": "Accordion",
3585
+ "module": "src/accordion/accordion.ts"
3586
+ }
3587
+ },
3588
+ {
3589
+ "kind": "field",
3590
+ "name": "accordionIds",
3591
+ "type": {
3592
+ "text": "Array<string | null>"
3593
+ },
3594
+ "privacy": "private",
3595
+ "inheritedFrom": {
3596
+ "name": "Accordion",
3597
+ "module": "src/accordion/accordion.ts"
3598
+ }
3599
+ },
3600
+ {
3601
+ "kind": "field",
3602
+ "name": "change",
3603
+ "privacy": "private",
3604
+ "inheritedFrom": {
3605
+ "name": "Accordion",
3606
+ "module": "src/accordion/accordion.ts"
3607
+ }
3608
+ },
3609
+ {
3610
+ "kind": "method",
3611
+ "name": "findExpandedItem",
3612
+ "privacy": "private",
3613
+ "return": {
3614
+ "type": {
3615
+ "text": "AccordionItem | null"
3616
+ }
3617
+ },
3618
+ "inheritedFrom": {
3619
+ "name": "Accordion",
3620
+ "module": "src/accordion/accordion.ts"
3621
+ }
3622
+ },
3623
+ {
3624
+ "kind": "field",
3625
+ "name": "setItems",
3626
+ "privacy": "private",
3627
+ "inheritedFrom": {
3628
+ "name": "Accordion",
3629
+ "module": "src/accordion/accordion.ts"
3630
+ }
3631
+ },
3632
+ {
3633
+ "kind": "method",
3634
+ "name": "resetItems",
3635
+ "privacy": "private",
3636
+ "return": {
3637
+ "type": {
3638
+ "text": "void"
3639
+ }
3640
+ },
3641
+ "inheritedFrom": {
3642
+ "name": "Accordion",
3643
+ "module": "src/accordion/accordion.ts"
3644
+ }
3645
+ },
3646
+ {
3647
+ "kind": "field",
3648
+ "name": "removeItemListeners",
3649
+ "privacy": "private",
3650
+ "inheritedFrom": {
3651
+ "name": "Accordion",
3652
+ "module": "src/accordion/accordion.ts"
3653
+ }
3654
+ },
3655
+ {
3656
+ "kind": "field",
3657
+ "name": "activeItemChange",
3658
+ "privacy": "private",
3659
+ "inheritedFrom": {
3660
+ "name": "Accordion",
3661
+ "module": "src/accordion/accordion.ts"
3662
+ }
3663
+ },
3664
+ {
3665
+ "kind": "method",
3666
+ "name": "getItemIds",
3667
+ "privacy": "private",
3668
+ "return": {
3669
+ "type": {
3670
+ "text": "Array<string | null>"
3671
+ }
3672
+ },
3673
+ "inheritedFrom": {
3674
+ "name": "Accordion",
3675
+ "module": "src/accordion/accordion.ts"
3676
+ }
3677
+ },
3678
+ {
3679
+ "kind": "method",
3680
+ "name": "isSingleExpandMode",
3681
+ "privacy": "private",
3682
+ "return": {
3683
+ "type": {
3684
+ "text": "boolean"
3685
+ }
3686
+ },
3687
+ "inheritedFrom": {
3688
+ "name": "Accordion",
3689
+ "module": "src/accordion/accordion.ts"
3690
+ }
3691
+ },
3692
+ {
3693
+ "kind": "field",
3694
+ "name": "handleItemKeyDown",
3695
+ "privacy": "private",
3696
+ "inheritedFrom": {
3697
+ "name": "Accordion",
3698
+ "module": "src/accordion/accordion.ts"
3699
+ }
3700
+ },
3701
+ {
3702
+ "kind": "field",
3703
+ "name": "handleItemFocus",
3704
+ "privacy": "private",
3705
+ "inheritedFrom": {
3706
+ "name": "Accordion",
3707
+ "module": "src/accordion/accordion.ts"
3708
+ }
3709
+ },
3710
+ {
3711
+ "kind": "method",
3712
+ "name": "adjust",
3713
+ "privacy": "private",
3714
+ "return": {
3715
+ "type": {
3716
+ "text": "void"
3717
+ }
3718
+ },
3719
+ "parameters": [
3720
+ {
3721
+ "name": "adjustment",
3722
+ "type": {
3723
+ "text": "number"
3724
+ }
3725
+ }
3726
+ ],
3727
+ "inheritedFrom": {
3728
+ "name": "Accordion",
3729
+ "module": "src/accordion/accordion.ts"
3730
+ }
3731
+ },
3732
+ {
3733
+ "kind": "method",
3734
+ "name": "focusItem",
3735
+ "privacy": "private",
3736
+ "return": {
3737
+ "type": {
3738
+ "text": "void"
3739
+ }
3740
+ },
3741
+ "inheritedFrom": {
3742
+ "name": "Accordion",
3743
+ "module": "src/accordion/accordion.ts"
3744
+ }
3745
+ },
3746
+ {
3747
+ "kind": "field",
3748
+ "name": "_presentation",
3749
+ "type": {
3750
+ "text": "ComponentPresentation | null | undefined"
3751
+ },
3752
+ "privacy": "private",
3753
+ "default": "void 0",
3754
+ "inheritedFrom": {
3755
+ "name": "FoundationElement",
3756
+ "module": "src/foundation-element/foundation-element.ts"
3757
+ }
3758
+ },
3759
+ {
3760
+ "kind": "field",
3761
+ "name": "$presentation",
3762
+ "type": {
3763
+ "text": "ComponentPresentation | null"
3764
+ },
3765
+ "privacy": "public",
3766
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3767
+ "inheritedFrom": {
3768
+ "name": "FoundationElement",
3769
+ "module": "src/foundation-element/foundation-element.ts"
3770
+ }
3771
+ },
3772
+ {
3773
+ "kind": "field",
3774
+ "name": "template",
3775
+ "type": {
3776
+ "text": "ElementViewTemplate | void | null"
3777
+ },
3778
+ "privacy": "public",
3779
+ "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.",
3780
+ "inheritedFrom": {
3781
+ "name": "FoundationElement",
3782
+ "module": "src/foundation-element/foundation-element.ts"
3783
+ }
3784
+ },
3785
+ {
3786
+ "kind": "method",
3787
+ "name": "templateChanged",
3788
+ "privacy": "protected",
3789
+ "return": {
3790
+ "type": {
3791
+ "text": "void"
3792
+ }
3793
+ },
3794
+ "inheritedFrom": {
3795
+ "name": "FoundationElement",
3796
+ "module": "src/foundation-element/foundation-element.ts"
3797
+ }
3798
+ },
3799
+ {
3800
+ "kind": "field",
3801
+ "name": "styles",
3802
+ "type": {
3803
+ "text": "ElementStyles | void | null"
3804
+ },
3805
+ "privacy": "public",
3806
+ "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.",
3807
+ "inheritedFrom": {
3808
+ "name": "FoundationElement",
3809
+ "module": "src/foundation-element/foundation-element.ts"
3810
+ }
3811
+ },
3812
+ {
3813
+ "kind": "method",
3814
+ "name": "stylesChanged",
3815
+ "privacy": "protected",
3816
+ "return": {
3817
+ "type": {
3818
+ "text": "void"
3819
+ }
3820
+ },
3821
+ "inheritedFrom": {
3822
+ "name": "FoundationElement",
3823
+ "module": "src/foundation-element/foundation-element.ts"
3824
+ }
3825
+ },
3826
+ {
3827
+ "kind": "method",
3828
+ "name": "compose",
3829
+ "privacy": "public",
3830
+ "static": true,
3831
+ "return": {
3832
+ "type": {
3833
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3834
+ }
3835
+ },
3836
+ "parameters": [
3837
+ {
3838
+ "name": "this",
3839
+ "type": {
3840
+ "text": "K"
3841
+ }
3842
+ },
3843
+ {
3844
+ "name": "elementDefinition",
3845
+ "type": {
3846
+ "text": "T"
3847
+ },
3848
+ "description": "The definition of the element to create the registry\nfunction for."
3849
+ }
3850
+ ],
3851
+ "description": "Defines an element registry function with a set of element definition defaults.",
3852
+ "inheritedFrom": {
3853
+ "name": "FoundationElement",
3854
+ "module": "src/foundation-element/foundation-element.ts"
3855
+ }
3856
+ }
3857
+ ],
3858
+ "events": [
3859
+ {
3860
+ "description": "Fires a custom 'change' event when the active item changes",
3861
+ "name": "change",
3862
+ "inheritedFrom": {
3863
+ "name": "Accordion",
3864
+ "module": "src/accordion/accordion.ts"
3865
+ }
3866
+ }
3867
+ ]
3868
+ },
3869
+ {
3870
+ "kind": "variable",
3871
+ "name": "foundationAccordionShadowOptions",
3872
+ "type": {
3873
+ "text": "ShadowRootInit"
3875
3874
  },
3876
- "tagName": "%%prefix%%-ai-indicator",
3877
- "customElement": true
3875
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3878
3876
  },
3879
3877
  {
3880
3878
  "kind": "variable",
3881
- "name": "foundationAiIndicator"
3879
+ "name": "defaultAccordionConfig",
3880
+ "type": {
3881
+ "text": "object"
3882
+ },
3883
+ "default": "{}"
3884
+ },
3885
+ {
3886
+ "kind": "variable",
3887
+ "name": "foundationAccordion",
3888
+ "description": "The Foundation Accordion",
3889
+ "privacy": "public"
3882
3890
  }
3883
3891
  ],
3884
3892
  "exports": [
3885
3893
  {
3886
3894
  "kind": "js",
3887
- "name": "AiIndicator",
3895
+ "name": "Accordion",
3888
3896
  "declaration": {
3889
- "name": "AiIndicator",
3890
- "module": "src/ai-indicator/ai-indicator.ts"
3897
+ "name": "Accordion",
3898
+ "module": "src/accordion/accordion.ts"
3891
3899
  }
3892
3900
  },
3893
3901
  {
3894
3902
  "kind": "js",
3895
- "name": "foundationAiIndicator",
3896
- "declaration": {
3897
- "name": "foundationAiIndicator",
3898
- "module": "src/ai-indicator/ai-indicator.ts"
3899
- }
3900
- }
3901
- ]
3902
- },
3903
- {
3904
- "kind": "javascript-module",
3905
- "path": "src/ai-indicator/index.ts",
3906
- "declarations": [],
3907
- "exports": [
3908
- {
3909
- "kind": "js",
3910
- "name": "AiIndicator",
3903
+ "name": "foundationAccordionShadowOptions",
3911
3904
  "declaration": {
3912
- "name": "AiIndicator",
3913
- "module": "./ai-indicator"
3905
+ "name": "foundationAccordionShadowOptions",
3906
+ "module": "src/accordion/accordion.ts"
3914
3907
  }
3915
3908
  },
3916
3909
  {
3917
3910
  "kind": "js",
3918
- "name": "foundationAiIndicator",
3911
+ "name": "defaultAccordionConfig",
3919
3912
  "declaration": {
3920
- "name": "foundationAiIndicator",
3921
- "module": "./ai-indicator"
3913
+ "name": "defaultAccordionConfig",
3914
+ "module": "src/accordion/accordion.ts"
3922
3915
  }
3923
3916
  },
3924
3917
  {
3925
3918
  "kind": "js",
3926
- "name": "type",
3919
+ "name": "foundationAccordion",
3927
3920
  "declaration": {
3928
- "name": "type",
3929
- "module": "./ai-indicator"
3921
+ "name": "foundationAccordion",
3922
+ "module": "src/accordion/accordion.ts"
3930
3923
  }
3931
- },
3924
+ }
3925
+ ]
3926
+ },
3927
+ {
3928
+ "kind": "javascript-module",
3929
+ "path": "src/accordion/index.ts",
3930
+ "declarations": [],
3931
+ "exports": [
3932
3932
  {
3933
3933
  "kind": "js",
3934
- "name": "AIIndicatorState",
3934
+ "name": "*",
3935
3935
  "declaration": {
3936
- "name": "AIIndicatorState",
3937
- "module": "./ai-indicator"
3936
+ "name": "*",
3937
+ "package": "./accordion.template"
3938
3938
  }
3939
3939
  },
3940
3940
  {
3941
3941
  "kind": "js",
3942
- "name": "foundationAiIndicatorTemplate",
3942
+ "name": "*",
3943
3943
  "declaration": {
3944
- "name": "foundationAiIndicatorTemplate",
3945
- "module": "./ai-indicator.template"
3944
+ "name": "*",
3945
+ "package": "./accordion.styles"
3946
3946
  }
3947
3947
  },
3948
3948
  {
3949
3949
  "kind": "js",
3950
- "name": "foundationAiIndicatorStyles",
3950
+ "name": "*",
3951
3951
  "declaration": {
3952
- "name": "foundationAiIndicatorStyles",
3953
- "module": "./ai-indicator.styles"
3952
+ "name": "*",
3953
+ "package": "./accordion"
3954
3954
  }
3955
3955
  }
3956
3956
  ]
@@ -33889,6 +33889,16 @@
33889
33889
  "kind": "method",
33890
33890
  "name": "hasSeparatorWithoutDecimals"
33891
33891
  },
33892
+ {
33893
+ "kind": "method",
33894
+ "name": "restoreControlToCommittedValue",
33895
+ "privacy": "private",
33896
+ "return": {
33897
+ "type": {
33898
+ "text": "void"
33899
+ }
33900
+ }
33901
+ },
33892
33902
  {
33893
33903
  "kind": "method",
33894
33904
  "name": "handleTextInput",
@@ -34301,12 +34311,16 @@
34301
34311
  }
34302
34312
  },
34303
34313
  {
34304
- "name": "value",
34305
34314
  "type": {
34306
- "text": "string"
34315
+ "text": "number"
34307
34316
  },
34308
- "default": "''",
34309
- "fieldName": "value"
34317
+ "description": "Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information.",
34318
+ "fieldName": "hideStep",
34319
+ "default": "false",
34320
+ "inheritedFrom": {
34321
+ "name": "NumberField",
34322
+ "module": "src/number-field/number-field.ts"
34323
+ }
34310
34324
  },
34311
34325
  {
34312
34326
  "type": {
@@ -34499,6 +34513,143 @@
34499
34513
  }
34500
34514
  ]
34501
34515
  },
34516
+ {
34517
+ "kind": "function",
34518
+ "name": "normalizeLocaleNumberString",
34519
+ "return": {
34520
+ "type": {
34521
+ "text": "string"
34522
+ }
34523
+ },
34524
+ "parameters": [
34525
+ {
34526
+ "name": "inputVal",
34527
+ "type": {
34528
+ "text": "string"
34529
+ }
34530
+ },
34531
+ {
34532
+ "name": "locale",
34533
+ "type": {
34534
+ "text": "string"
34535
+ }
34536
+ }
34537
+ ],
34538
+ "description": "Strips locale grouping and normalizes the decimal separator to `.` without using `Number`\n(so integers beyond `Number.MAX_SAFE_INTEGER` keep every digit)."
34539
+ },
34540
+ {
34541
+ "kind": "function",
34542
+ "name": "countLocaleDecimalSeparators",
34543
+ "return": {
34544
+ "type": {
34545
+ "text": "number"
34546
+ }
34547
+ },
34548
+ "parameters": [
34549
+ {
34550
+ "name": "input",
34551
+ "type": {
34552
+ "text": "string"
34553
+ }
34554
+ },
34555
+ {
34556
+ "name": "locale",
34557
+ "type": {
34558
+ "text": "string"
34559
+ }
34560
+ }
34561
+ ],
34562
+ "description": "Counts locale decimal separator characters in the raw control text (ignores grouping)."
34563
+ },
34564
+ {
34565
+ "kind": "function",
34566
+ "name": "hasMultipleDecimalSeparators",
34567
+ "return": {
34568
+ "type": {
34569
+ "text": "boolean"
34570
+ }
34571
+ },
34572
+ "parameters": [
34573
+ {
34574
+ "name": "input",
34575
+ "type": {
34576
+ "text": "string"
34577
+ }
34578
+ },
34579
+ {
34580
+ "name": "locale",
34581
+ "type": {
34582
+ "text": "string"
34583
+ }
34584
+ }
34585
+ ]
34586
+ },
34587
+ {
34588
+ "kind": "function",
34589
+ "name": "isIntegerAtMaximumInputPrecision",
34590
+ "return": {
34591
+ "type": {
34592
+ "text": "boolean"
34593
+ }
34594
+ },
34595
+ "parameters": [
34596
+ {
34597
+ "name": "value",
34598
+ "type": {
34599
+ "text": "string"
34600
+ }
34601
+ },
34602
+ {
34603
+ "name": "locale",
34604
+ "type": {
34605
+ "text": "string"
34606
+ }
34607
+ },
34608
+ {
34609
+ "name": "precision",
34610
+ "type": {
34611
+ "text": "number"
34612
+ }
34613
+ }
34614
+ ],
34615
+ "description": "True when the committed value is a whole number already using the full significant-digit budget."
34616
+ },
34617
+ {
34618
+ "kind": "function",
34619
+ "name": "rejectsDecimalAtMaximumIntegerPrecision",
34620
+ "return": {
34621
+ "type": {
34622
+ "text": "boolean"
34623
+ }
34624
+ },
34625
+ "parameters": [
34626
+ {
34627
+ "name": "committedValue",
34628
+ "type": {
34629
+ "text": "string"
34630
+ }
34631
+ },
34632
+ {
34633
+ "name": "controlText",
34634
+ "type": {
34635
+ "text": "string"
34636
+ }
34637
+ },
34638
+ {
34639
+ "name": "locale",
34640
+ "type": {
34641
+ "text": "string"
34642
+ }
34643
+ },
34644
+ {
34645
+ "name": "precision",
34646
+ "type": {
34647
+ "text": "number"
34648
+ }
34649
+ }
34650
+ ],
34651
+ "description": "User typed a decimal separator while the integer part is already at max precision."
34652
+ },
34502
34653
  {
34503
34654
  "kind": "function",
34504
34655
  "name": "formatControlValue",
@@ -34695,6 +34846,13 @@
34695
34846
  "type": {
34696
34847
  "text": "number"
34697
34848
  }
34849
+ },
34850
+ {
34851
+ "name": "committedValue",
34852
+ "optional": true,
34853
+ "type": {
34854
+ "text": "string"
34855
+ }
34698
34856
  }
34699
34857
  ]
34700
34858
  },
@@ -34877,6 +35035,46 @@
34877
35035
  "module": "src/number-field/utils.ts"
34878
35036
  }
34879
35037
  },
35038
+ {
35039
+ "kind": "js",
35040
+ "name": "normalizeLocaleNumberString",
35041
+ "declaration": {
35042
+ "name": "normalizeLocaleNumberString",
35043
+ "module": "src/number-field/utils.ts"
35044
+ }
35045
+ },
35046
+ {
35047
+ "kind": "js",
35048
+ "name": "countLocaleDecimalSeparators",
35049
+ "declaration": {
35050
+ "name": "countLocaleDecimalSeparators",
35051
+ "module": "src/number-field/utils.ts"
35052
+ }
35053
+ },
35054
+ {
35055
+ "kind": "js",
35056
+ "name": "hasMultipleDecimalSeparators",
35057
+ "declaration": {
35058
+ "name": "hasMultipleDecimalSeparators",
35059
+ "module": "src/number-field/utils.ts"
35060
+ }
35061
+ },
35062
+ {
35063
+ "kind": "js",
35064
+ "name": "isIntegerAtMaximumInputPrecision",
35065
+ "declaration": {
35066
+ "name": "isIntegerAtMaximumInputPrecision",
35067
+ "module": "src/number-field/utils.ts"
35068
+ }
35069
+ },
35070
+ {
35071
+ "kind": "js",
35072
+ "name": "rejectsDecimalAtMaximumIntegerPrecision",
35073
+ "declaration": {
35074
+ "name": "rejectsDecimalAtMaximumIntegerPrecision",
35075
+ "module": "src/number-field/utils.ts"
35076
+ }
35077
+ },
34880
35078
  {
34881
35079
  "kind": "js",
34882
35080
  "name": "formatControlValue",