@genesislcap/foundation-ui 15.28.2-alpha-43a95ab92.0 → 15.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1493,6 +1493,577 @@
1493
1493
  }
1494
1494
  ]
1495
1495
  },
1496
+ {
1497
+ "kind": "javascript-module",
1498
+ "path": "src/actions-menu/actions-menu.styles.ts",
1499
+ "declarations": [
1500
+ {
1501
+ "kind": "function",
1502
+ "name": "actionsMenuBaseStyles",
1503
+ "return": {
1504
+ "type": {
1505
+ "text": "ElementStyles"
1506
+ }
1507
+ },
1508
+ "parameters": [
1509
+ {
1510
+ "name": "context",
1511
+ "type": {
1512
+ "text": "ElementDefinitionContext"
1513
+ }
1514
+ },
1515
+ {
1516
+ "name": "definition",
1517
+ "type": {
1518
+ "text": "FoundationElementDefinition"
1519
+ }
1520
+ }
1521
+ ]
1522
+ },
1523
+ {
1524
+ "kind": "function",
1525
+ "name": "foundationActionsMenuStyles",
1526
+ "return": {
1527
+ "type": {
1528
+ "text": "ElementStyles"
1529
+ }
1530
+ },
1531
+ "parameters": [
1532
+ {
1533
+ "name": "context",
1534
+ "type": {
1535
+ "text": "ElementDefinitionContext"
1536
+ }
1537
+ },
1538
+ {
1539
+ "name": "definition",
1540
+ "type": {
1541
+ "text": "FoundationElementDefinition"
1542
+ }
1543
+ }
1544
+ ]
1545
+ }
1546
+ ],
1547
+ "exports": [
1548
+ {
1549
+ "kind": "js",
1550
+ "name": "actionsMenuBaseStyles",
1551
+ "declaration": {
1552
+ "name": "actionsMenuBaseStyles",
1553
+ "module": "src/actions-menu/actions-menu.styles.ts"
1554
+ }
1555
+ },
1556
+ {
1557
+ "kind": "js",
1558
+ "name": "foundationActionsMenuStyles",
1559
+ "declaration": {
1560
+ "name": "foundationActionsMenuStyles",
1561
+ "module": "src/actions-menu/actions-menu.styles.ts"
1562
+ }
1563
+ }
1564
+ ]
1565
+ },
1566
+ {
1567
+ "kind": "javascript-module",
1568
+ "path": "src/actions-menu/actions-menu.template.ts",
1569
+ "declarations": [
1570
+ {
1571
+ "kind": "function",
1572
+ "name": "menuTemplate",
1573
+ "parameters": [
1574
+ {
1575
+ "name": "prefix",
1576
+ "type": {
1577
+ "text": "string"
1578
+ }
1579
+ }
1580
+ ]
1581
+ },
1582
+ {
1583
+ "kind": "function",
1584
+ "name": "singleOptionTemplate",
1585
+ "parameters": [
1586
+ {
1587
+ "name": "prefix",
1588
+ "type": {
1589
+ "text": "string"
1590
+ }
1591
+ }
1592
+ ]
1593
+ },
1594
+ {
1595
+ "kind": "variable",
1596
+ "name": "foundationActionsMenuTemplate",
1597
+ "type": {
1598
+ "text": "ViewTemplate<ActionsMenu>"
1599
+ },
1600
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1601
+ }
1602
+ ],
1603
+ "exports": [
1604
+ {
1605
+ "kind": "js",
1606
+ "name": "menuTemplate",
1607
+ "declaration": {
1608
+ "name": "menuTemplate",
1609
+ "module": "src/actions-menu/actions-menu.template.ts"
1610
+ }
1611
+ },
1612
+ {
1613
+ "kind": "js",
1614
+ "name": "singleOptionTemplate",
1615
+ "declaration": {
1616
+ "name": "singleOptionTemplate",
1617
+ "module": "src/actions-menu/actions-menu.template.ts"
1618
+ }
1619
+ },
1620
+ {
1621
+ "kind": "js",
1622
+ "name": "foundationActionsMenuTemplate",
1623
+ "declaration": {
1624
+ "name": "foundationActionsMenuTemplate",
1625
+ "module": "src/actions-menu/actions-menu.template.ts"
1626
+ }
1627
+ }
1628
+ ]
1629
+ },
1630
+ {
1631
+ "kind": "javascript-module",
1632
+ "path": "src/actions-menu/actions-menu.ts",
1633
+ "declarations": [
1634
+ {
1635
+ "kind": "class",
1636
+ "description": "",
1637
+ "name": "ActionsMenu",
1638
+ "members": [
1639
+ {
1640
+ "kind": "field",
1641
+ "name": "actions",
1642
+ "type": {
1643
+ "text": "ActionMenuItem[]"
1644
+ }
1645
+ },
1646
+ {
1647
+ "kind": "field",
1648
+ "name": "isVertical",
1649
+ "type": {
1650
+ "text": "boolean"
1651
+ },
1652
+ "default": "false"
1653
+ },
1654
+ {
1655
+ "kind": "field",
1656
+ "name": "addDefaultActions",
1657
+ "type": {
1658
+ "text": "boolean"
1659
+ },
1660
+ "default": "true"
1661
+ },
1662
+ {
1663
+ "kind": "field",
1664
+ "name": "autoCloseOnAction",
1665
+ "type": {
1666
+ "text": "boolean"
1667
+ },
1668
+ "default": "true"
1669
+ },
1670
+ {
1671
+ "kind": "field",
1672
+ "name": "classNames",
1673
+ "type": {
1674
+ "text": "string"
1675
+ }
1676
+ },
1677
+ {
1678
+ "kind": "field",
1679
+ "name": "definition",
1680
+ "type": {
1681
+ "text": "any"
1682
+ }
1683
+ },
1684
+ {
1685
+ "kind": "field",
1686
+ "name": "name",
1687
+ "type": {
1688
+ "text": "string"
1689
+ },
1690
+ "default": "'Actions'"
1691
+ },
1692
+ {
1693
+ "kind": "field",
1694
+ "name": "open",
1695
+ "type": {
1696
+ "text": "boolean"
1697
+ },
1698
+ "default": "false"
1699
+ },
1700
+ {
1701
+ "kind": "field",
1702
+ "name": "buttonAppearance",
1703
+ "type": {
1704
+ "text": "string"
1705
+ }
1706
+ },
1707
+ {
1708
+ "kind": "field",
1709
+ "name": "hideDisabled",
1710
+ "type": {
1711
+ "text": "boolean"
1712
+ },
1713
+ "default": "false"
1714
+ },
1715
+ {
1716
+ "kind": "field",
1717
+ "name": "hideMenuSingleOption",
1718
+ "type": {
1719
+ "text": "boolean"
1720
+ },
1721
+ "default": "false"
1722
+ },
1723
+ {
1724
+ "kind": "field",
1725
+ "name": "singleOption",
1726
+ "type": {
1727
+ "text": "ActionMenuItem"
1728
+ }
1729
+ },
1730
+ {
1731
+ "kind": "field",
1732
+ "name": "actionsMenu",
1733
+ "type": {
1734
+ "text": "HTMLElement"
1735
+ }
1736
+ },
1737
+ {
1738
+ "kind": "field",
1739
+ "name": "actionsOpener",
1740
+ "type": {
1741
+ "text": "HTMLElement"
1742
+ }
1743
+ },
1744
+ {
1745
+ "kind": "method",
1746
+ "name": "updateMenuPosition",
1747
+ "privacy": "private"
1748
+ },
1749
+ {
1750
+ "kind": "method",
1751
+ "name": "definitionChanged",
1752
+ "privacy": "protected",
1753
+ "parameters": [
1754
+ {
1755
+ "name": "oldValue",
1756
+ "type": {
1757
+ "text": "any"
1758
+ }
1759
+ },
1760
+ {
1761
+ "name": "newValue",
1762
+ "type": {
1763
+ "text": "any"
1764
+ }
1765
+ }
1766
+ ]
1767
+ },
1768
+ {
1769
+ "kind": "method",
1770
+ "name": "openChanged",
1771
+ "privacy": "protected"
1772
+ },
1773
+ {
1774
+ "kind": "method",
1775
+ "name": "toggleActionsMenuVisibility"
1776
+ },
1777
+ {
1778
+ "kind": "method",
1779
+ "name": "onActionMenuItemClick",
1780
+ "parameters": [
1781
+ {
1782
+ "name": "callback",
1783
+ "type": {
1784
+ "text": "(rowData) => void | any"
1785
+ }
1786
+ }
1787
+ ]
1788
+ },
1789
+ {
1790
+ "kind": "field",
1791
+ "name": "allActions",
1792
+ "type": {
1793
+ "text": "ActionMenuItem[]"
1794
+ },
1795
+ "readonly": true
1796
+ },
1797
+ {
1798
+ "kind": "field",
1799
+ "name": "rowData",
1800
+ "readonly": true
1801
+ },
1802
+ {
1803
+ "kind": "method",
1804
+ "name": "getLabel",
1805
+ "parameters": [
1806
+ {
1807
+ "name": "name",
1808
+ "type": {
1809
+ "text": "string | ((rowData: any) => string)"
1810
+ }
1811
+ }
1812
+ ]
1813
+ },
1814
+ {
1815
+ "kind": "method",
1816
+ "name": "getTemplate",
1817
+ "parameters": [
1818
+ {
1819
+ "name": "prefix",
1820
+ "type": {
1821
+ "text": "string"
1822
+ }
1823
+ }
1824
+ ]
1825
+ },
1826
+ {
1827
+ "kind": "field",
1828
+ "name": "_presentation",
1829
+ "type": {
1830
+ "text": "ComponentPresentation | null | undefined"
1831
+ },
1832
+ "privacy": "private",
1833
+ "default": "void 0",
1834
+ "inheritedFrom": {
1835
+ "name": "FoundationElement",
1836
+ "module": "src/foundation-element/foundation-element.ts"
1837
+ }
1838
+ },
1839
+ {
1840
+ "kind": "field",
1841
+ "name": "$presentation",
1842
+ "type": {
1843
+ "text": "ComponentPresentation | null"
1844
+ },
1845
+ "privacy": "public",
1846
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1847
+ "inheritedFrom": {
1848
+ "name": "FoundationElement",
1849
+ "module": "src/foundation-element/foundation-element.ts"
1850
+ }
1851
+ },
1852
+ {
1853
+ "kind": "field",
1854
+ "name": "template",
1855
+ "type": {
1856
+ "text": "ElementViewTemplate | void | null"
1857
+ },
1858
+ "privacy": "public",
1859
+ "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.",
1860
+ "inheritedFrom": {
1861
+ "name": "FoundationElement",
1862
+ "module": "src/foundation-element/foundation-element.ts"
1863
+ }
1864
+ },
1865
+ {
1866
+ "kind": "method",
1867
+ "name": "templateChanged",
1868
+ "privacy": "protected",
1869
+ "return": {
1870
+ "type": {
1871
+ "text": "void"
1872
+ }
1873
+ },
1874
+ "inheritedFrom": {
1875
+ "name": "FoundationElement",
1876
+ "module": "src/foundation-element/foundation-element.ts"
1877
+ }
1878
+ },
1879
+ {
1880
+ "kind": "field",
1881
+ "name": "styles",
1882
+ "type": {
1883
+ "text": "ElementStyles | void | null"
1884
+ },
1885
+ "privacy": "public",
1886
+ "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.",
1887
+ "inheritedFrom": {
1888
+ "name": "FoundationElement",
1889
+ "module": "src/foundation-element/foundation-element.ts"
1890
+ }
1891
+ },
1892
+ {
1893
+ "kind": "method",
1894
+ "name": "stylesChanged",
1895
+ "privacy": "protected",
1896
+ "return": {
1897
+ "type": {
1898
+ "text": "void"
1899
+ }
1900
+ },
1901
+ "inheritedFrom": {
1902
+ "name": "FoundationElement",
1903
+ "module": "src/foundation-element/foundation-element.ts"
1904
+ }
1905
+ },
1906
+ {
1907
+ "kind": "method",
1908
+ "name": "compose",
1909
+ "privacy": "public",
1910
+ "static": true,
1911
+ "return": {
1912
+ "type": {
1913
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1914
+ }
1915
+ },
1916
+ "parameters": [
1917
+ {
1918
+ "name": "this",
1919
+ "type": {
1920
+ "text": "K"
1921
+ }
1922
+ },
1923
+ {
1924
+ "name": "elementDefinition",
1925
+ "type": {
1926
+ "text": "T"
1927
+ },
1928
+ "description": "The definition of the element to create the registry\nfunction for."
1929
+ }
1930
+ ],
1931
+ "description": "Defines an element registry function with a set of element definition defaults.",
1932
+ "inheritedFrom": {
1933
+ "name": "FoundationElement",
1934
+ "module": "src/foundation-element/foundation-element.ts"
1935
+ }
1936
+ }
1937
+ ],
1938
+ "attributes": [
1939
+ {
1940
+ "name": "is-vertical",
1941
+ "type": {
1942
+ "text": "boolean"
1943
+ },
1944
+ "default": "false",
1945
+ "fieldName": "isVertical"
1946
+ },
1947
+ {
1948
+ "name": "add-default-actions",
1949
+ "type": {
1950
+ "text": "boolean"
1951
+ },
1952
+ "default": "true",
1953
+ "fieldName": "addDefaultActions"
1954
+ },
1955
+ {
1956
+ "name": "auto-close-on-action",
1957
+ "type": {
1958
+ "text": "boolean"
1959
+ },
1960
+ "default": "true",
1961
+ "fieldName": "autoCloseOnAction"
1962
+ },
1963
+ {
1964
+ "name": "name",
1965
+ "type": {
1966
+ "text": "string"
1967
+ },
1968
+ "default": "'Actions'",
1969
+ "fieldName": "name"
1970
+ },
1971
+ {
1972
+ "name": "open",
1973
+ "type": {
1974
+ "text": "boolean"
1975
+ },
1976
+ "default": "false",
1977
+ "fieldName": "open"
1978
+ },
1979
+ {
1980
+ "name": "buttonAppearance",
1981
+ "type": {
1982
+ "text": "string"
1983
+ },
1984
+ "fieldName": "buttonAppearance"
1985
+ },
1986
+ {
1987
+ "name": "hide-disabled",
1988
+ "type": {
1989
+ "text": "boolean"
1990
+ },
1991
+ "default": "false",
1992
+ "fieldName": "hideDisabled"
1993
+ },
1994
+ {
1995
+ "name": "hide-menu-single-option",
1996
+ "type": {
1997
+ "text": "boolean"
1998
+ },
1999
+ "default": "false",
2000
+ "fieldName": "hideMenuSingleOption"
2001
+ }
2002
+ ],
2003
+ "superclass": {
2004
+ "name": "FoundationElement",
2005
+ "package": "@microsoft/fast-foundation"
2006
+ },
2007
+ "tagName": "%%prefix%%-actions-menu",
2008
+ "customElement": true
2009
+ },
2010
+ {
2011
+ "kind": "variable",
2012
+ "name": "foundationActionsMenu",
2013
+ "description": "The Foundation Actions Menu",
2014
+ "privacy": "public"
2015
+ }
2016
+ ],
2017
+ "exports": [
2018
+ {
2019
+ "kind": "js",
2020
+ "name": "ActionsMenu",
2021
+ "declaration": {
2022
+ "name": "ActionsMenu",
2023
+ "module": "src/actions-menu/actions-menu.ts"
2024
+ }
2025
+ },
2026
+ {
2027
+ "kind": "js",
2028
+ "name": "foundationActionsMenu",
2029
+ "declaration": {
2030
+ "name": "foundationActionsMenu",
2031
+ "module": "src/actions-menu/actions-menu.ts"
2032
+ }
2033
+ }
2034
+ ]
2035
+ },
2036
+ {
2037
+ "kind": "javascript-module",
2038
+ "path": "src/actions-menu/index.ts",
2039
+ "declarations": [],
2040
+ "exports": [
2041
+ {
2042
+ "kind": "js",
2043
+ "name": "*",
2044
+ "declaration": {
2045
+ "name": "*",
2046
+ "package": "./actions-menu.styles"
2047
+ }
2048
+ },
2049
+ {
2050
+ "kind": "js",
2051
+ "name": "*",
2052
+ "declaration": {
2053
+ "name": "*",
2054
+ "package": "./actions-menu.template"
2055
+ }
2056
+ },
2057
+ {
2058
+ "kind": "js",
2059
+ "name": "*",
2060
+ "declaration": {
2061
+ "name": "*",
2062
+ "package": "./actions-menu"
2063
+ }
2064
+ }
2065
+ ]
2066
+ },
1496
2067
  {
1497
2068
  "kind": "javascript-module",
1498
2069
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1889,65 +2460,11 @@
1889
2460
  },
1890
2461
  {
1891
2462
  "kind": "javascript-module",
1892
- "path": "src/_config/index.ts",
1893
- "declarations": [],
1894
- "exports": [
1895
- {
1896
- "kind": "js",
1897
- "name": "*",
1898
- "declaration": {
1899
- "name": "*",
1900
- "package": "./styles"
1901
- }
1902
- },
1903
- {
1904
- "kind": "js",
1905
- "name": "*",
1906
- "declaration": {
1907
- "name": "*",
1908
- "package": "./tokens"
1909
- }
1910
- },
1911
- {
1912
- "kind": "js",
1913
- "name": "*",
1914
- "declaration": {
1915
- "name": "*",
1916
- "package": "./values"
1917
- }
1918
- }
1919
- ]
1920
- },
1921
- {
1922
- "kind": "javascript-module",
1923
- "path": "src/actions-menu/actions-menu.styles.ts",
2463
+ "path": "src/accordion/accordion.styles.ts",
1924
2464
  "declarations": [
1925
2465
  {
1926
2466
  "kind": "function",
1927
- "name": "actionsMenuBaseStyles",
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
- {
1949
- "kind": "function",
1950
- "name": "foundationActionsMenuStyles",
2467
+ "name": "foundationAccordionStyles",
1951
2468
  "return": {
1952
2469
  "type": {
1953
2470
  "text": "ElementStyles"
@@ -1972,281 +2489,277 @@
1972
2489
  "exports": [
1973
2490
  {
1974
2491
  "kind": "js",
1975
- "name": "actionsMenuBaseStyles",
1976
- "declaration": {
1977
- "name": "actionsMenuBaseStyles",
1978
- "module": "src/actions-menu/actions-menu.styles.ts"
1979
- }
1980
- },
1981
- {
1982
- "kind": "js",
1983
- "name": "foundationActionsMenuStyles",
2492
+ "name": "foundationAccordionStyles",
1984
2493
  "declaration": {
1985
- "name": "foundationActionsMenuStyles",
1986
- "module": "src/actions-menu/actions-menu.styles.ts"
2494
+ "name": "foundationAccordionStyles",
2495
+ "module": "src/accordion/accordion.styles.ts"
1987
2496
  }
1988
2497
  }
1989
2498
  ]
1990
2499
  },
1991
2500
  {
1992
2501
  "kind": "javascript-module",
1993
- "path": "src/actions-menu/actions-menu.template.ts",
2502
+ "path": "src/accordion/accordion.template.ts",
1994
2503
  "declarations": [
1995
2504
  {
1996
2505
  "kind": "function",
1997
- "name": "menuTemplate",
2506
+ "name": "foundationAccordionTemplate",
2507
+ "return": {
2508
+ "type": {
2509
+ "text": "ViewTemplate<Accordion>"
2510
+ }
2511
+ },
1998
2512
  "parameters": [
1999
2513
  {
2000
- "name": "prefix",
2514
+ "name": "context",
2001
2515
  "type": {
2002
- "text": "string"
2516
+ "text": "ElementDefinitionContext"
2003
2517
  }
2004
- }
2005
- ]
2006
- },
2007
- {
2008
- "kind": "function",
2009
- "name": "singleOptionTemplate",
2010
- "parameters": [
2518
+ },
2011
2519
  {
2012
- "name": "prefix",
2520
+ "name": "definition",
2013
2521
  "type": {
2014
- "text": "string"
2522
+ "text": "FoundationElementDefinition"
2015
2523
  }
2016
2524
  }
2017
2525
  ]
2018
- },
2019
- {
2020
- "kind": "variable",
2021
- "name": "foundationActionsMenuTemplate",
2022
- "type": {
2023
- "text": "ViewTemplate<ActionsMenu>"
2024
- },
2025
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2026
2526
  }
2027
2527
  ],
2028
2528
  "exports": [
2029
2529
  {
2030
2530
  "kind": "js",
2031
- "name": "menuTemplate",
2032
- "declaration": {
2033
- "name": "menuTemplate",
2034
- "module": "src/actions-menu/actions-menu.template.ts"
2035
- }
2036
- },
2037
- {
2038
- "kind": "js",
2039
- "name": "singleOptionTemplate",
2040
- "declaration": {
2041
- "name": "singleOptionTemplate",
2042
- "module": "src/actions-menu/actions-menu.template.ts"
2043
- }
2044
- },
2045
- {
2046
- "kind": "js",
2047
- "name": "foundationActionsMenuTemplate",
2531
+ "name": "foundationAccordionTemplate",
2048
2532
  "declaration": {
2049
- "name": "foundationActionsMenuTemplate",
2050
- "module": "src/actions-menu/actions-menu.template.ts"
2533
+ "name": "foundationAccordionTemplate",
2534
+ "module": "src/accordion/accordion.template.ts"
2051
2535
  }
2052
2536
  }
2053
2537
  ]
2054
2538
  },
2055
2539
  {
2056
2540
  "kind": "javascript-module",
2057
- "path": "src/actions-menu/actions-menu.ts",
2541
+ "path": "src/accordion/accordion.ts",
2058
2542
  "declarations": [
2059
2543
  {
2060
2544
  "kind": "class",
2061
2545
  "description": "",
2062
- "name": "ActionsMenu",
2063
- "members": [
2546
+ "name": "Accordion",
2547
+ "superclass": {
2548
+ "name": "FASTAccordion",
2549
+ "package": "@microsoft/fast-foundation"
2550
+ },
2551
+ "tagName": "%%prefix%%-accordion",
2552
+ "customElement": true,
2553
+ "attributes": [
2064
2554
  {
2065
- "kind": "field",
2066
- "name": "actions",
2555
+ "name": "expand-mode",
2067
2556
  "type": {
2068
- "text": "ActionMenuItem[]"
2557
+ "text": "AccordionExpandMode"
2558
+ },
2559
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2560
+ "fieldName": "expandmode",
2561
+ "inheritedFrom": {
2562
+ "name": "Accordion",
2563
+ "module": "src/accordion/accordion.ts"
2069
2564
  }
2070
- },
2565
+ }
2566
+ ],
2567
+ "members": [
2071
2568
  {
2072
2569
  "kind": "field",
2073
- "name": "isVertical",
2570
+ "name": "expandmode",
2074
2571
  "type": {
2075
- "text": "boolean"
2572
+ "text": "AccordionExpandMode"
2076
2573
  },
2077
- "default": "false"
2574
+ "privacy": "public",
2575
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2576
+ "inheritedFrom": {
2577
+ "name": "Accordion",
2578
+ "module": "src/accordion/accordion.ts"
2579
+ }
2078
2580
  },
2079
2581
  {
2080
2582
  "kind": "field",
2081
- "name": "addDefaultActions",
2583
+ "name": "activeid",
2082
2584
  "type": {
2083
- "text": "boolean"
2585
+ "text": "string | null"
2084
2586
  },
2085
- "default": "true"
2587
+ "privacy": "private",
2588
+ "inheritedFrom": {
2589
+ "name": "Accordion",
2590
+ "module": "src/accordion/accordion.ts"
2591
+ }
2086
2592
  },
2087
2593
  {
2088
2594
  "kind": "field",
2089
- "name": "autoCloseOnAction",
2595
+ "name": "activeItemIndex",
2090
2596
  "type": {
2091
- "text": "boolean"
2597
+ "text": "number"
2092
2598
  },
2093
- "default": "true"
2094
- },
2095
- {
2096
- "kind": "field",
2097
- "name": "classNames",
2098
- "type": {
2099
- "text": "string"
2599
+ "privacy": "private",
2600
+ "default": "0",
2601
+ "inheritedFrom": {
2602
+ "name": "Accordion",
2603
+ "module": "src/accordion/accordion.ts"
2100
2604
  }
2101
2605
  },
2102
2606
  {
2103
2607
  "kind": "field",
2104
- "name": "definition",
2608
+ "name": "accordionIds",
2105
2609
  "type": {
2106
- "text": "any"
2610
+ "text": "Array<string | null>"
2611
+ },
2612
+ "privacy": "private",
2613
+ "inheritedFrom": {
2614
+ "name": "Accordion",
2615
+ "module": "src/accordion/accordion.ts"
2107
2616
  }
2108
2617
  },
2109
2618
  {
2110
2619
  "kind": "field",
2111
- "name": "name",
2112
- "type": {
2113
- "text": "string"
2114
- },
2115
- "default": "'Actions'"
2620
+ "name": "change",
2621
+ "privacy": "private",
2622
+ "inheritedFrom": {
2623
+ "name": "Accordion",
2624
+ "module": "src/accordion/accordion.ts"
2625
+ }
2116
2626
  },
2117
2627
  {
2118
- "kind": "field",
2119
- "name": "open",
2120
- "type": {
2121
- "text": "boolean"
2628
+ "kind": "method",
2629
+ "name": "findExpandedItem",
2630
+ "privacy": "private",
2631
+ "return": {
2632
+ "type": {
2633
+ "text": "AccordionItem | null"
2634
+ }
2122
2635
  },
2123
- "default": "false"
2124
- },
2125
- {
2126
- "kind": "field",
2127
- "name": "buttonAppearance",
2128
- "type": {
2129
- "text": "string"
2636
+ "inheritedFrom": {
2637
+ "name": "Accordion",
2638
+ "module": "src/accordion/accordion.ts"
2130
2639
  }
2131
2640
  },
2132
2641
  {
2133
2642
  "kind": "field",
2134
- "name": "hideDisabled",
2135
- "type": {
2136
- "text": "boolean"
2137
- },
2138
- "default": "false"
2643
+ "name": "setItems",
2644
+ "privacy": "private",
2645
+ "inheritedFrom": {
2646
+ "name": "Accordion",
2647
+ "module": "src/accordion/accordion.ts"
2648
+ }
2139
2649
  },
2140
2650
  {
2141
- "kind": "field",
2142
- "name": "hideMenuSingleOption",
2143
- "type": {
2144
- "text": "boolean"
2651
+ "kind": "method",
2652
+ "name": "resetItems",
2653
+ "privacy": "private",
2654
+ "return": {
2655
+ "type": {
2656
+ "text": "void"
2657
+ }
2145
2658
  },
2146
- "default": "false"
2147
- },
2148
- {
2149
- "kind": "field",
2150
- "name": "singleOption",
2151
- "type": {
2152
- "text": "ActionMenuItem"
2659
+ "inheritedFrom": {
2660
+ "name": "Accordion",
2661
+ "module": "src/accordion/accordion.ts"
2153
2662
  }
2154
2663
  },
2155
2664
  {
2156
2665
  "kind": "field",
2157
- "name": "actionsMenu",
2158
- "type": {
2159
- "text": "HTMLElement"
2666
+ "name": "removeItemListeners",
2667
+ "privacy": "private",
2668
+ "inheritedFrom": {
2669
+ "name": "Accordion",
2670
+ "module": "src/accordion/accordion.ts"
2160
2671
  }
2161
2672
  },
2162
2673
  {
2163
2674
  "kind": "field",
2164
- "name": "actionsOpener",
2165
- "type": {
2166
- "text": "HTMLElement"
2675
+ "name": "activeItemChange",
2676
+ "privacy": "private",
2677
+ "inheritedFrom": {
2678
+ "name": "Accordion",
2679
+ "module": "src/accordion/accordion.ts"
2167
2680
  }
2168
2681
  },
2169
2682
  {
2170
2683
  "kind": "method",
2171
- "name": "updateMenuPosition",
2172
- "privacy": "private"
2173
- },
2174
- {
2175
- "kind": "method",
2176
- "name": "definitionChanged",
2177
- "privacy": "protected",
2178
- "parameters": [
2179
- {
2180
- "name": "oldValue",
2181
- "type": {
2182
- "text": "any"
2183
- }
2184
- },
2185
- {
2186
- "name": "newValue",
2187
- "type": {
2188
- "text": "any"
2189
- }
2684
+ "name": "getItemIds",
2685
+ "privacy": "private",
2686
+ "return": {
2687
+ "type": {
2688
+ "text": "Array<string | null>"
2190
2689
  }
2191
- ]
2192
- },
2193
- {
2194
- "kind": "method",
2195
- "name": "openChanged",
2196
- "privacy": "protected"
2197
- },
2198
- {
2199
- "kind": "method",
2200
- "name": "toggleActionsMenuVisibility"
2690
+ },
2691
+ "inheritedFrom": {
2692
+ "name": "Accordion",
2693
+ "module": "src/accordion/accordion.ts"
2694
+ }
2201
2695
  },
2202
2696
  {
2203
2697
  "kind": "method",
2204
- "name": "onActionMenuItemClick",
2205
- "parameters": [
2206
- {
2207
- "name": "callback",
2208
- "type": {
2209
- "text": "(rowData) => void | any"
2210
- }
2698
+ "name": "isSingleExpandMode",
2699
+ "privacy": "private",
2700
+ "return": {
2701
+ "type": {
2702
+ "text": "boolean"
2211
2703
  }
2212
- ]
2704
+ },
2705
+ "inheritedFrom": {
2706
+ "name": "Accordion",
2707
+ "module": "src/accordion/accordion.ts"
2708
+ }
2213
2709
  },
2214
2710
  {
2215
2711
  "kind": "field",
2216
- "name": "allActions",
2217
- "type": {
2218
- "text": "ActionMenuItem[]"
2219
- },
2220
- "readonly": true
2712
+ "name": "handleItemKeyDown",
2713
+ "privacy": "private",
2714
+ "inheritedFrom": {
2715
+ "name": "Accordion",
2716
+ "module": "src/accordion/accordion.ts"
2717
+ }
2221
2718
  },
2222
2719
  {
2223
2720
  "kind": "field",
2224
- "name": "rowData",
2225
- "readonly": true
2721
+ "name": "handleItemFocus",
2722
+ "privacy": "private",
2723
+ "inheritedFrom": {
2724
+ "name": "Accordion",
2725
+ "module": "src/accordion/accordion.ts"
2726
+ }
2226
2727
  },
2227
2728
  {
2228
2729
  "kind": "method",
2229
- "name": "getLabel",
2730
+ "name": "adjust",
2731
+ "privacy": "private",
2732
+ "return": {
2733
+ "type": {
2734
+ "text": "void"
2735
+ }
2736
+ },
2230
2737
  "parameters": [
2231
2738
  {
2232
- "name": "name",
2739
+ "name": "adjustment",
2233
2740
  "type": {
2234
- "text": "string | ((rowData: any) => string)"
2741
+ "text": "number"
2235
2742
  }
2236
2743
  }
2237
- ]
2744
+ ],
2745
+ "inheritedFrom": {
2746
+ "name": "Accordion",
2747
+ "module": "src/accordion/accordion.ts"
2748
+ }
2238
2749
  },
2239
2750
  {
2240
2751
  "kind": "method",
2241
- "name": "getTemplate",
2242
- "parameters": [
2243
- {
2244
- "name": "prefix",
2245
- "type": {
2246
- "text": "string"
2247
- }
2752
+ "name": "focusItem",
2753
+ "privacy": "private",
2754
+ "return": {
2755
+ "type": {
2756
+ "text": "void"
2248
2757
  }
2249
- ]
2758
+ },
2759
+ "inheritedFrom": {
2760
+ "name": "Accordion",
2761
+ "module": "src/accordion/accordion.ts"
2762
+ }
2250
2763
  },
2251
2764
  {
2252
2765
  "kind": "field",
@@ -2360,107 +2873,78 @@
2360
2873
  }
2361
2874
  }
2362
2875
  ],
2363
- "attributes": [
2364
- {
2365
- "name": "is-vertical",
2366
- "type": {
2367
- "text": "boolean"
2368
- },
2369
- "default": "false",
2370
- "fieldName": "isVertical"
2371
- },
2372
- {
2373
- "name": "add-default-actions",
2374
- "type": {
2375
- "text": "boolean"
2376
- },
2377
- "default": "true",
2378
- "fieldName": "addDefaultActions"
2379
- },
2380
- {
2381
- "name": "auto-close-on-action",
2382
- "type": {
2383
- "text": "boolean"
2384
- },
2385
- "default": "true",
2386
- "fieldName": "autoCloseOnAction"
2387
- },
2388
- {
2389
- "name": "name",
2390
- "type": {
2391
- "text": "string"
2392
- },
2393
- "default": "'Actions'",
2394
- "fieldName": "name"
2395
- },
2396
- {
2397
- "name": "open",
2398
- "type": {
2399
- "text": "boolean"
2400
- },
2401
- "default": "false",
2402
- "fieldName": "open"
2403
- },
2404
- {
2405
- "name": "buttonAppearance",
2406
- "type": {
2407
- "text": "string"
2408
- },
2409
- "fieldName": "buttonAppearance"
2410
- },
2411
- {
2412
- "name": "hide-disabled",
2413
- "type": {
2414
- "text": "boolean"
2415
- },
2416
- "default": "false",
2417
- "fieldName": "hideDisabled"
2418
- },
2876
+ "events": [
2419
2877
  {
2420
- "name": "hide-menu-single-option",
2421
- "type": {
2422
- "text": "boolean"
2423
- },
2424
- "default": "false",
2425
- "fieldName": "hideMenuSingleOption"
2878
+ "description": "Fires a custom 'change' event when the active item changes",
2879
+ "name": "change",
2880
+ "inheritedFrom": {
2881
+ "name": "Accordion",
2882
+ "module": "src/accordion/accordion.ts"
2883
+ }
2426
2884
  }
2427
- ],
2428
- "superclass": {
2429
- "name": "FoundationElement",
2430
- "package": "@microsoft/fast-foundation"
2885
+ ]
2886
+ },
2887
+ {
2888
+ "kind": "variable",
2889
+ "name": "foundationAccordionShadowOptions",
2890
+ "type": {
2891
+ "text": "ShadowRootInit"
2431
2892
  },
2432
- "tagName": "%%prefix%%-actions-menu",
2433
- "customElement": true
2893
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2434
2894
  },
2435
2895
  {
2436
2896
  "kind": "variable",
2437
- "name": "foundationActionsMenu",
2438
- "description": "The Foundation Actions Menu",
2897
+ "name": "defaultAccordionConfig",
2898
+ "type": {
2899
+ "text": "object"
2900
+ },
2901
+ "default": "{}"
2902
+ },
2903
+ {
2904
+ "kind": "variable",
2905
+ "name": "foundationAccordion",
2906
+ "description": "The Foundation Accordion",
2439
2907
  "privacy": "public"
2440
2908
  }
2441
2909
  ],
2442
2910
  "exports": [
2443
2911
  {
2444
2912
  "kind": "js",
2445
- "name": "ActionsMenu",
2913
+ "name": "Accordion",
2914
+ "declaration": {
2915
+ "name": "Accordion",
2916
+ "module": "src/accordion/accordion.ts"
2917
+ }
2918
+ },
2919
+ {
2920
+ "kind": "js",
2921
+ "name": "foundationAccordionShadowOptions",
2922
+ "declaration": {
2923
+ "name": "foundationAccordionShadowOptions",
2924
+ "module": "src/accordion/accordion.ts"
2925
+ }
2926
+ },
2927
+ {
2928
+ "kind": "js",
2929
+ "name": "defaultAccordionConfig",
2446
2930
  "declaration": {
2447
- "name": "ActionsMenu",
2448
- "module": "src/actions-menu/actions-menu.ts"
2931
+ "name": "defaultAccordionConfig",
2932
+ "module": "src/accordion/accordion.ts"
2449
2933
  }
2450
2934
  },
2451
2935
  {
2452
2936
  "kind": "js",
2453
- "name": "foundationActionsMenu",
2937
+ "name": "foundationAccordion",
2454
2938
  "declaration": {
2455
- "name": "foundationActionsMenu",
2456
- "module": "src/actions-menu/actions-menu.ts"
2939
+ "name": "foundationAccordion",
2940
+ "module": "src/accordion/accordion.ts"
2457
2941
  }
2458
2942
  }
2459
2943
  ]
2460
2944
  },
2461
2945
  {
2462
2946
  "kind": "javascript-module",
2463
- "path": "src/actions-menu/index.ts",
2947
+ "path": "src/accordion/index.ts",
2464
2948
  "declarations": [],
2465
2949
  "exports": [
2466
2950
  {
@@ -2468,7 +2952,7 @@
2468
2952
  "name": "*",
2469
2953
  "declaration": {
2470
2954
  "name": "*",
2471
- "package": "./actions-menu.styles"
2955
+ "package": "./accordion.template"
2472
2956
  }
2473
2957
  },
2474
2958
  {
@@ -2476,7 +2960,7 @@
2476
2960
  "name": "*",
2477
2961
  "declaration": {
2478
2962
  "name": "*",
2479
- "package": "./actions-menu.template"
2963
+ "package": "./accordion.styles"
2480
2964
  }
2481
2965
  },
2482
2966
  {
@@ -2484,7 +2968,7 @@
2484
2968
  "name": "*",
2485
2969
  "declaration": {
2486
2970
  "name": "*",
2487
- "package": "./actions-menu"
2971
+ "package": "./accordion"
2488
2972
  }
2489
2973
  }
2490
2974
  ]
@@ -3100,491 +3584,7 @@
3100
3584
  },
3101
3585
  {
3102
3586
  "kind": "javascript-module",
3103
- "path": "src/accordion/accordion.styles.ts",
3104
- "declarations": [
3105
- {
3106
- "kind": "function",
3107
- "name": "foundationAccordionStyles",
3108
- "return": {
3109
- "type": {
3110
- "text": "ElementStyles"
3111
- }
3112
- },
3113
- "parameters": [
3114
- {
3115
- "name": "context",
3116
- "type": {
3117
- "text": "ElementDefinitionContext"
3118
- }
3119
- },
3120
- {
3121
- "name": "definition",
3122
- "type": {
3123
- "text": "FoundationElementDefinition"
3124
- }
3125
- }
3126
- ]
3127
- }
3128
- ],
3129
- "exports": [
3130
- {
3131
- "kind": "js",
3132
- "name": "foundationAccordionStyles",
3133
- "declaration": {
3134
- "name": "foundationAccordionStyles",
3135
- "module": "src/accordion/accordion.styles.ts"
3136
- }
3137
- }
3138
- ]
3139
- },
3140
- {
3141
- "kind": "javascript-module",
3142
- "path": "src/accordion/accordion.template.ts",
3143
- "declarations": [
3144
- {
3145
- "kind": "function",
3146
- "name": "foundationAccordionTemplate",
3147
- "return": {
3148
- "type": {
3149
- "text": "ViewTemplate<Accordion>"
3150
- }
3151
- },
3152
- "parameters": [
3153
- {
3154
- "name": "context",
3155
- "type": {
3156
- "text": "ElementDefinitionContext"
3157
- }
3158
- },
3159
- {
3160
- "name": "definition",
3161
- "type": {
3162
- "text": "FoundationElementDefinition"
3163
- }
3164
- }
3165
- ]
3166
- }
3167
- ],
3168
- "exports": [
3169
- {
3170
- "kind": "js",
3171
- "name": "foundationAccordionTemplate",
3172
- "declaration": {
3173
- "name": "foundationAccordionTemplate",
3174
- "module": "src/accordion/accordion.template.ts"
3175
- }
3176
- }
3177
- ]
3178
- },
3179
- {
3180
- "kind": "javascript-module",
3181
- "path": "src/accordion/accordion.ts",
3182
- "declarations": [
3183
- {
3184
- "kind": "class",
3185
- "description": "",
3186
- "name": "Accordion",
3187
- "superclass": {
3188
- "name": "FASTAccordion",
3189
- "package": "@microsoft/fast-foundation"
3190
- },
3191
- "tagName": "%%prefix%%-accordion",
3192
- "customElement": true,
3193
- "attributes": [
3194
- {
3195
- "name": "expand-mode",
3196
- "type": {
3197
- "text": "AccordionExpandMode"
3198
- },
3199
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3200
- "fieldName": "expandmode",
3201
- "inheritedFrom": {
3202
- "name": "Accordion",
3203
- "module": "src/accordion/accordion.ts"
3204
- }
3205
- }
3206
- ],
3207
- "members": [
3208
- {
3209
- "kind": "field",
3210
- "name": "expandmode",
3211
- "type": {
3212
- "text": "AccordionExpandMode"
3213
- },
3214
- "privacy": "public",
3215
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3216
- "inheritedFrom": {
3217
- "name": "Accordion",
3218
- "module": "src/accordion/accordion.ts"
3219
- }
3220
- },
3221
- {
3222
- "kind": "field",
3223
- "name": "activeid",
3224
- "type": {
3225
- "text": "string | null"
3226
- },
3227
- "privacy": "private",
3228
- "inheritedFrom": {
3229
- "name": "Accordion",
3230
- "module": "src/accordion/accordion.ts"
3231
- }
3232
- },
3233
- {
3234
- "kind": "field",
3235
- "name": "activeItemIndex",
3236
- "type": {
3237
- "text": "number"
3238
- },
3239
- "privacy": "private",
3240
- "default": "0",
3241
- "inheritedFrom": {
3242
- "name": "Accordion",
3243
- "module": "src/accordion/accordion.ts"
3244
- }
3245
- },
3246
- {
3247
- "kind": "field",
3248
- "name": "accordionIds",
3249
- "type": {
3250
- "text": "Array<string | null>"
3251
- },
3252
- "privacy": "private",
3253
- "inheritedFrom": {
3254
- "name": "Accordion",
3255
- "module": "src/accordion/accordion.ts"
3256
- }
3257
- },
3258
- {
3259
- "kind": "field",
3260
- "name": "change",
3261
- "privacy": "private",
3262
- "inheritedFrom": {
3263
- "name": "Accordion",
3264
- "module": "src/accordion/accordion.ts"
3265
- }
3266
- },
3267
- {
3268
- "kind": "method",
3269
- "name": "findExpandedItem",
3270
- "privacy": "private",
3271
- "return": {
3272
- "type": {
3273
- "text": "AccordionItem | null"
3274
- }
3275
- },
3276
- "inheritedFrom": {
3277
- "name": "Accordion",
3278
- "module": "src/accordion/accordion.ts"
3279
- }
3280
- },
3281
- {
3282
- "kind": "field",
3283
- "name": "setItems",
3284
- "privacy": "private",
3285
- "inheritedFrom": {
3286
- "name": "Accordion",
3287
- "module": "src/accordion/accordion.ts"
3288
- }
3289
- },
3290
- {
3291
- "kind": "method",
3292
- "name": "resetItems",
3293
- "privacy": "private",
3294
- "return": {
3295
- "type": {
3296
- "text": "void"
3297
- }
3298
- },
3299
- "inheritedFrom": {
3300
- "name": "Accordion",
3301
- "module": "src/accordion/accordion.ts"
3302
- }
3303
- },
3304
- {
3305
- "kind": "field",
3306
- "name": "removeItemListeners",
3307
- "privacy": "private",
3308
- "inheritedFrom": {
3309
- "name": "Accordion",
3310
- "module": "src/accordion/accordion.ts"
3311
- }
3312
- },
3313
- {
3314
- "kind": "field",
3315
- "name": "activeItemChange",
3316
- "privacy": "private",
3317
- "inheritedFrom": {
3318
- "name": "Accordion",
3319
- "module": "src/accordion/accordion.ts"
3320
- }
3321
- },
3322
- {
3323
- "kind": "method",
3324
- "name": "getItemIds",
3325
- "privacy": "private",
3326
- "return": {
3327
- "type": {
3328
- "text": "Array<string | null>"
3329
- }
3330
- },
3331
- "inheritedFrom": {
3332
- "name": "Accordion",
3333
- "module": "src/accordion/accordion.ts"
3334
- }
3335
- },
3336
- {
3337
- "kind": "method",
3338
- "name": "isSingleExpandMode",
3339
- "privacy": "private",
3340
- "return": {
3341
- "type": {
3342
- "text": "boolean"
3343
- }
3344
- },
3345
- "inheritedFrom": {
3346
- "name": "Accordion",
3347
- "module": "src/accordion/accordion.ts"
3348
- }
3349
- },
3350
- {
3351
- "kind": "field",
3352
- "name": "handleItemKeyDown",
3353
- "privacy": "private",
3354
- "inheritedFrom": {
3355
- "name": "Accordion",
3356
- "module": "src/accordion/accordion.ts"
3357
- }
3358
- },
3359
- {
3360
- "kind": "field",
3361
- "name": "handleItemFocus",
3362
- "privacy": "private",
3363
- "inheritedFrom": {
3364
- "name": "Accordion",
3365
- "module": "src/accordion/accordion.ts"
3366
- }
3367
- },
3368
- {
3369
- "kind": "method",
3370
- "name": "adjust",
3371
- "privacy": "private",
3372
- "return": {
3373
- "type": {
3374
- "text": "void"
3375
- }
3376
- },
3377
- "parameters": [
3378
- {
3379
- "name": "adjustment",
3380
- "type": {
3381
- "text": "number"
3382
- }
3383
- }
3384
- ],
3385
- "inheritedFrom": {
3386
- "name": "Accordion",
3387
- "module": "src/accordion/accordion.ts"
3388
- }
3389
- },
3390
- {
3391
- "kind": "method",
3392
- "name": "focusItem",
3393
- "privacy": "private",
3394
- "return": {
3395
- "type": {
3396
- "text": "void"
3397
- }
3398
- },
3399
- "inheritedFrom": {
3400
- "name": "Accordion",
3401
- "module": "src/accordion/accordion.ts"
3402
- }
3403
- },
3404
- {
3405
- "kind": "field",
3406
- "name": "_presentation",
3407
- "type": {
3408
- "text": "ComponentPresentation | null | undefined"
3409
- },
3410
- "privacy": "private",
3411
- "default": "void 0",
3412
- "inheritedFrom": {
3413
- "name": "FoundationElement",
3414
- "module": "src/foundation-element/foundation-element.ts"
3415
- }
3416
- },
3417
- {
3418
- "kind": "field",
3419
- "name": "$presentation",
3420
- "type": {
3421
- "text": "ComponentPresentation | null"
3422
- },
3423
- "privacy": "public",
3424
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3425
- "inheritedFrom": {
3426
- "name": "FoundationElement",
3427
- "module": "src/foundation-element/foundation-element.ts"
3428
- }
3429
- },
3430
- {
3431
- "kind": "field",
3432
- "name": "template",
3433
- "type": {
3434
- "text": "ElementViewTemplate | void | null"
3435
- },
3436
- "privacy": "public",
3437
- "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.",
3438
- "inheritedFrom": {
3439
- "name": "FoundationElement",
3440
- "module": "src/foundation-element/foundation-element.ts"
3441
- }
3442
- },
3443
- {
3444
- "kind": "method",
3445
- "name": "templateChanged",
3446
- "privacy": "protected",
3447
- "return": {
3448
- "type": {
3449
- "text": "void"
3450
- }
3451
- },
3452
- "inheritedFrom": {
3453
- "name": "FoundationElement",
3454
- "module": "src/foundation-element/foundation-element.ts"
3455
- }
3456
- },
3457
- {
3458
- "kind": "field",
3459
- "name": "styles",
3460
- "type": {
3461
- "text": "ElementStyles | void | null"
3462
- },
3463
- "privacy": "public",
3464
- "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.",
3465
- "inheritedFrom": {
3466
- "name": "FoundationElement",
3467
- "module": "src/foundation-element/foundation-element.ts"
3468
- }
3469
- },
3470
- {
3471
- "kind": "method",
3472
- "name": "stylesChanged",
3473
- "privacy": "protected",
3474
- "return": {
3475
- "type": {
3476
- "text": "void"
3477
- }
3478
- },
3479
- "inheritedFrom": {
3480
- "name": "FoundationElement",
3481
- "module": "src/foundation-element/foundation-element.ts"
3482
- }
3483
- },
3484
- {
3485
- "kind": "method",
3486
- "name": "compose",
3487
- "privacy": "public",
3488
- "static": true,
3489
- "return": {
3490
- "type": {
3491
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3492
- }
3493
- },
3494
- "parameters": [
3495
- {
3496
- "name": "this",
3497
- "type": {
3498
- "text": "K"
3499
- }
3500
- },
3501
- {
3502
- "name": "elementDefinition",
3503
- "type": {
3504
- "text": "T"
3505
- },
3506
- "description": "The definition of the element to create the registry\nfunction for."
3507
- }
3508
- ],
3509
- "description": "Defines an element registry function with a set of element definition defaults.",
3510
- "inheritedFrom": {
3511
- "name": "FoundationElement",
3512
- "module": "src/foundation-element/foundation-element.ts"
3513
- }
3514
- }
3515
- ],
3516
- "events": [
3517
- {
3518
- "description": "Fires a custom 'change' event when the active item changes",
3519
- "name": "change",
3520
- "inheritedFrom": {
3521
- "name": "Accordion",
3522
- "module": "src/accordion/accordion.ts"
3523
- }
3524
- }
3525
- ]
3526
- },
3527
- {
3528
- "kind": "variable",
3529
- "name": "foundationAccordionShadowOptions",
3530
- "type": {
3531
- "text": "ShadowRootInit"
3532
- },
3533
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3534
- },
3535
- {
3536
- "kind": "variable",
3537
- "name": "defaultAccordionConfig",
3538
- "type": {
3539
- "text": "object"
3540
- },
3541
- "default": "{}"
3542
- },
3543
- {
3544
- "kind": "variable",
3545
- "name": "foundationAccordion",
3546
- "description": "The Foundation Accordion",
3547
- "privacy": "public"
3548
- }
3549
- ],
3550
- "exports": [
3551
- {
3552
- "kind": "js",
3553
- "name": "Accordion",
3554
- "declaration": {
3555
- "name": "Accordion",
3556
- "module": "src/accordion/accordion.ts"
3557
- }
3558
- },
3559
- {
3560
- "kind": "js",
3561
- "name": "foundationAccordionShadowOptions",
3562
- "declaration": {
3563
- "name": "foundationAccordionShadowOptions",
3564
- "module": "src/accordion/accordion.ts"
3565
- }
3566
- },
3567
- {
3568
- "kind": "js",
3569
- "name": "defaultAccordionConfig",
3570
- "declaration": {
3571
- "name": "defaultAccordionConfig",
3572
- "module": "src/accordion/accordion.ts"
3573
- }
3574
- },
3575
- {
3576
- "kind": "js",
3577
- "name": "foundationAccordion",
3578
- "declaration": {
3579
- "name": "foundationAccordion",
3580
- "module": "src/accordion/accordion.ts"
3581
- }
3582
- }
3583
- ]
3584
- },
3585
- {
3586
- "kind": "javascript-module",
3587
- "path": "src/accordion/index.ts",
3587
+ "path": "src/_config/index.ts",
3588
3588
  "declarations": [],
3589
3589
  "exports": [
3590
3590
  {
@@ -3592,7 +3592,7 @@
3592
3592
  "name": "*",
3593
3593
  "declaration": {
3594
3594
  "name": "*",
3595
- "package": "./accordion.template"
3595
+ "package": "./styles"
3596
3596
  }
3597
3597
  },
3598
3598
  {
@@ -3600,7 +3600,7 @@
3600
3600
  "name": "*",
3601
3601
  "declaration": {
3602
3602
  "name": "*",
3603
- "package": "./accordion.styles"
3603
+ "package": "./tokens"
3604
3604
  }
3605
3605
  },
3606
3606
  {
@@ -3608,7 +3608,7 @@
3608
3608
  "name": "*",
3609
3609
  "declaration": {
3610
3610
  "name": "*",
3611
- "package": "./accordion"
3611
+ "package": "./values"
3612
3612
  }
3613
3613
  }
3614
3614
  ]
@@ -60120,6 +60120,197 @@
60120
60120
  }
60121
60121
  ]
60122
60122
  },
60123
+ {
60124
+ "kind": "javascript-module",
60125
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60126
+ "declarations": [],
60127
+ "exports": []
60128
+ },
60129
+ {
60130
+ "kind": "javascript-module",
60131
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
60132
+ "declarations": [
60133
+ {
60134
+ "kind": "function",
60135
+ "name": "groupsToCriteria",
60136
+ "return": {
60137
+ "type": {
60138
+ "text": "string"
60139
+ }
60140
+ },
60141
+ "parameters": [
60142
+ {
60143
+ "name": "groups",
60144
+ "type": {
60145
+ "text": "CriteriaGroup[]"
60146
+ }
60147
+ }
60148
+ ],
60149
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
60150
+ },
60151
+ {
60152
+ "kind": "variable",
60153
+ "name": "STRING_OPERATORS",
60154
+ "type": {
60155
+ "text": "CriteriaOperator[]"
60156
+ },
60157
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60158
+ },
60159
+ {
60160
+ "kind": "variable",
60161
+ "name": "NUMERIC_OPERATORS",
60162
+ "type": {
60163
+ "text": "CriteriaOperator[]"
60164
+ },
60165
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60166
+ },
60167
+ {
60168
+ "kind": "variable",
60169
+ "name": "DATE_OPERATORS",
60170
+ "type": {
60171
+ "text": "CriteriaOperator[]"
60172
+ },
60173
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60174
+ },
60175
+ {
60176
+ "kind": "variable",
60177
+ "name": "DATETIME_OPERATORS",
60178
+ "type": {
60179
+ "text": "CriteriaOperator[]"
60180
+ },
60181
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60182
+ },
60183
+ {
60184
+ "kind": "variable",
60185
+ "name": "OPERATOR_DISPLAY_LABEL",
60186
+ "type": {
60187
+ "text": "Record<CriteriaOperator, string>"
60188
+ },
60189
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
60190
+ }
60191
+ ],
60192
+ "exports": [
60193
+ {
60194
+ "kind": "js",
60195
+ "name": "groupsToCriteria",
60196
+ "declaration": {
60197
+ "name": "groupsToCriteria",
60198
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60199
+ }
60200
+ },
60201
+ {
60202
+ "kind": "js",
60203
+ "name": "STRING_OPERATORS",
60204
+ "declaration": {
60205
+ "name": "STRING_OPERATORS",
60206
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60207
+ }
60208
+ },
60209
+ {
60210
+ "kind": "js",
60211
+ "name": "NUMERIC_OPERATORS",
60212
+ "declaration": {
60213
+ "name": "NUMERIC_OPERATORS",
60214
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60215
+ }
60216
+ },
60217
+ {
60218
+ "kind": "js",
60219
+ "name": "DATE_OPERATORS",
60220
+ "declaration": {
60221
+ "name": "DATE_OPERATORS",
60222
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60223
+ }
60224
+ },
60225
+ {
60226
+ "kind": "js",
60227
+ "name": "DATETIME_OPERATORS",
60228
+ "declaration": {
60229
+ "name": "DATETIME_OPERATORS",
60230
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60231
+ }
60232
+ },
60233
+ {
60234
+ "kind": "js",
60235
+ "name": "OPERATOR_DISPLAY_LABEL",
60236
+ "declaration": {
60237
+ "name": "OPERATOR_DISPLAY_LABEL",
60238
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60239
+ }
60240
+ }
60241
+ ]
60242
+ },
60243
+ {
60244
+ "kind": "javascript-module",
60245
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
60246
+ "declarations": [
60247
+ {
60248
+ "kind": "function",
60249
+ "name": "validateClauses",
60250
+ "return": {
60251
+ "type": {
60252
+ "text": "ValidationResult"
60253
+ }
60254
+ },
60255
+ "parameters": [
60256
+ {
60257
+ "name": "clauses",
60258
+ "type": {
60259
+ "text": "CriteriaClause[]"
60260
+ }
60261
+ },
60262
+ {
60263
+ "name": "fieldMetadata",
60264
+ "type": {
60265
+ "text": "MetadataDetail[] | string[]"
60266
+ }
60267
+ }
60268
+ ]
60269
+ },
60270
+ {
60271
+ "kind": "function",
60272
+ "name": "validateGroups",
60273
+ "return": {
60274
+ "type": {
60275
+ "text": "GroupsValidationResult"
60276
+ }
60277
+ },
60278
+ "parameters": [
60279
+ {
60280
+ "name": "groups",
60281
+ "type": {
60282
+ "text": "CriteriaGroup[]"
60283
+ }
60284
+ },
60285
+ {
60286
+ "name": "fieldMetadata",
60287
+ "type": {
60288
+ "text": "MetadataDetail[] | string[]"
60289
+ }
60290
+ }
60291
+ ],
60292
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60293
+ }
60294
+ ],
60295
+ "exports": [
60296
+ {
60297
+ "kind": "js",
60298
+ "name": "validateClauses",
60299
+ "declaration": {
60300
+ "name": "validateClauses",
60301
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60302
+ }
60303
+ },
60304
+ {
60305
+ "kind": "js",
60306
+ "name": "validateGroups",
60307
+ "declaration": {
60308
+ "name": "validateGroups",
60309
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60310
+ }
60311
+ }
60312
+ ]
60313
+ },
60123
60314
  {
60124
60315
  "kind": "javascript-module",
60125
60316
  "path": "src/_config/styles/colors.ts",
@@ -61492,197 +61683,6 @@
61492
61683
  "declarations": [],
61493
61684
  "exports": []
61494
61685
  },
61495
- {
61496
- "kind": "javascript-module",
61497
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61498
- "declarations": [],
61499
- "exports": []
61500
- },
61501
- {
61502
- "kind": "javascript-module",
61503
- "path": "src/ai-criteria-search/validation/operator-map.ts",
61504
- "declarations": [
61505
- {
61506
- "kind": "function",
61507
- "name": "groupsToCriteria",
61508
- "return": {
61509
- "type": {
61510
- "text": "string"
61511
- }
61512
- },
61513
- "parameters": [
61514
- {
61515
- "name": "groups",
61516
- "type": {
61517
- "text": "CriteriaGroup[]"
61518
- }
61519
- }
61520
- ],
61521
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
61522
- },
61523
- {
61524
- "kind": "variable",
61525
- "name": "STRING_OPERATORS",
61526
- "type": {
61527
- "text": "CriteriaOperator[]"
61528
- },
61529
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61530
- },
61531
- {
61532
- "kind": "variable",
61533
- "name": "NUMERIC_OPERATORS",
61534
- "type": {
61535
- "text": "CriteriaOperator[]"
61536
- },
61537
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61538
- },
61539
- {
61540
- "kind": "variable",
61541
- "name": "DATE_OPERATORS",
61542
- "type": {
61543
- "text": "CriteriaOperator[]"
61544
- },
61545
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61546
- },
61547
- {
61548
- "kind": "variable",
61549
- "name": "DATETIME_OPERATORS",
61550
- "type": {
61551
- "text": "CriteriaOperator[]"
61552
- },
61553
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61554
- },
61555
- {
61556
- "kind": "variable",
61557
- "name": "OPERATOR_DISPLAY_LABEL",
61558
- "type": {
61559
- "text": "Record<CriteriaOperator, string>"
61560
- },
61561
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
61562
- }
61563
- ],
61564
- "exports": [
61565
- {
61566
- "kind": "js",
61567
- "name": "groupsToCriteria",
61568
- "declaration": {
61569
- "name": "groupsToCriteria",
61570
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61571
- }
61572
- },
61573
- {
61574
- "kind": "js",
61575
- "name": "STRING_OPERATORS",
61576
- "declaration": {
61577
- "name": "STRING_OPERATORS",
61578
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61579
- }
61580
- },
61581
- {
61582
- "kind": "js",
61583
- "name": "NUMERIC_OPERATORS",
61584
- "declaration": {
61585
- "name": "NUMERIC_OPERATORS",
61586
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61587
- }
61588
- },
61589
- {
61590
- "kind": "js",
61591
- "name": "DATE_OPERATORS",
61592
- "declaration": {
61593
- "name": "DATE_OPERATORS",
61594
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61595
- }
61596
- },
61597
- {
61598
- "kind": "js",
61599
- "name": "DATETIME_OPERATORS",
61600
- "declaration": {
61601
- "name": "DATETIME_OPERATORS",
61602
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61603
- }
61604
- },
61605
- {
61606
- "kind": "js",
61607
- "name": "OPERATOR_DISPLAY_LABEL",
61608
- "declaration": {
61609
- "name": "OPERATOR_DISPLAY_LABEL",
61610
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61611
- }
61612
- }
61613
- ]
61614
- },
61615
- {
61616
- "kind": "javascript-module",
61617
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
61618
- "declarations": [
61619
- {
61620
- "kind": "function",
61621
- "name": "validateClauses",
61622
- "return": {
61623
- "type": {
61624
- "text": "ValidationResult"
61625
- }
61626
- },
61627
- "parameters": [
61628
- {
61629
- "name": "clauses",
61630
- "type": {
61631
- "text": "CriteriaClause[]"
61632
- }
61633
- },
61634
- {
61635
- "name": "fieldMetadata",
61636
- "type": {
61637
- "text": "MetadataDetail[] | string[]"
61638
- }
61639
- }
61640
- ]
61641
- },
61642
- {
61643
- "kind": "function",
61644
- "name": "validateGroups",
61645
- "return": {
61646
- "type": {
61647
- "text": "GroupsValidationResult"
61648
- }
61649
- },
61650
- "parameters": [
61651
- {
61652
- "name": "groups",
61653
- "type": {
61654
- "text": "CriteriaGroup[]"
61655
- }
61656
- },
61657
- {
61658
- "name": "fieldMetadata",
61659
- "type": {
61660
- "text": "MetadataDetail[] | string[]"
61661
- }
61662
- }
61663
- ],
61664
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61665
- }
61666
- ],
61667
- "exports": [
61668
- {
61669
- "kind": "js",
61670
- "name": "validateClauses",
61671
- "declaration": {
61672
- "name": "validateClauses",
61673
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61674
- }
61675
- },
61676
- {
61677
- "kind": "js",
61678
- "name": "validateGroups",
61679
- "declaration": {
61680
- "name": "validateGroups",
61681
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61682
- }
61683
- }
61684
- ]
61685
- },
61686
61686
  {
61687
61687
  "kind": "javascript-module",
61688
61688
  "path": "src/environment-indicator/utils/configure.ts",