@genesislcap/foundation-ui 14.496.2-alpha-438fb6e.0 → 14.496.2-alpha-da9ccbd.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.
@@ -1833,34 +1833,11 @@
1833
1833
  },
1834
1834
  {
1835
1835
  "kind": "javascript-module",
1836
- "path": "src/actions-menu/actions-menu.styles.ts",
1836
+ "path": "src/accordion/accordion.styles.ts",
1837
1837
  "declarations": [
1838
1838
  {
1839
1839
  "kind": "function",
1840
- "name": "actionsMenuBaseStyles",
1841
- "return": {
1842
- "type": {
1843
- "text": "ElementStyles"
1844
- }
1845
- },
1846
- "parameters": [
1847
- {
1848
- "name": "context",
1849
- "type": {
1850
- "text": "ElementDefinitionContext"
1851
- }
1852
- },
1853
- {
1854
- "name": "definition",
1855
- "type": {
1856
- "text": "FoundationElementDefinition"
1857
- }
1858
- }
1859
- ]
1860
- },
1861
- {
1862
- "kind": "function",
1863
- "name": "foundationActionsMenuStyles",
1840
+ "name": "foundationAccordionStyles",
1864
1841
  "return": {
1865
1842
  "type": {
1866
1843
  "text": "ElementStyles"
@@ -1885,269 +1862,277 @@
1885
1862
  "exports": [
1886
1863
  {
1887
1864
  "kind": "js",
1888
- "name": "actionsMenuBaseStyles",
1889
- "declaration": {
1890
- "name": "actionsMenuBaseStyles",
1891
- "module": "src/actions-menu/actions-menu.styles.ts"
1892
- }
1893
- },
1894
- {
1895
- "kind": "js",
1896
- "name": "foundationActionsMenuStyles",
1865
+ "name": "foundationAccordionStyles",
1897
1866
  "declaration": {
1898
- "name": "foundationActionsMenuStyles",
1899
- "module": "src/actions-menu/actions-menu.styles.ts"
1867
+ "name": "foundationAccordionStyles",
1868
+ "module": "src/accordion/accordion.styles.ts"
1900
1869
  }
1901
1870
  }
1902
1871
  ]
1903
1872
  },
1904
1873
  {
1905
1874
  "kind": "javascript-module",
1906
- "path": "src/actions-menu/actions-menu.template.ts",
1875
+ "path": "src/accordion/accordion.template.ts",
1907
1876
  "declarations": [
1908
1877
  {
1909
1878
  "kind": "function",
1910
- "name": "menuTemplate",
1879
+ "name": "foundationAccordionTemplate",
1880
+ "return": {
1881
+ "type": {
1882
+ "text": "ViewTemplate<Accordion>"
1883
+ }
1884
+ },
1911
1885
  "parameters": [
1912
1886
  {
1913
- "name": "prefix",
1887
+ "name": "context",
1914
1888
  "type": {
1915
- "text": "string"
1889
+ "text": "ElementDefinitionContext"
1916
1890
  }
1917
- }
1918
- ]
1919
- },
1920
- {
1921
- "kind": "function",
1922
- "name": "singleOptionTemplate",
1923
- "parameters": [
1891
+ },
1924
1892
  {
1925
- "name": "prefix",
1893
+ "name": "definition",
1926
1894
  "type": {
1927
- "text": "string"
1895
+ "text": "FoundationElementDefinition"
1928
1896
  }
1929
1897
  }
1930
1898
  ]
1931
- },
1932
- {
1933
- "kind": "variable",
1934
- "name": "foundationActionsMenuTemplate",
1935
- "type": {
1936
- "text": "ViewTemplate<ActionsMenu>"
1937
- },
1938
- "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`"
1939
1899
  }
1940
1900
  ],
1941
1901
  "exports": [
1942
1902
  {
1943
1903
  "kind": "js",
1944
- "name": "menuTemplate",
1945
- "declaration": {
1946
- "name": "menuTemplate",
1947
- "module": "src/actions-menu/actions-menu.template.ts"
1948
- }
1949
- },
1950
- {
1951
- "kind": "js",
1952
- "name": "singleOptionTemplate",
1953
- "declaration": {
1954
- "name": "singleOptionTemplate",
1955
- "module": "src/actions-menu/actions-menu.template.ts"
1956
- }
1957
- },
1958
- {
1959
- "kind": "js",
1960
- "name": "foundationActionsMenuTemplate",
1904
+ "name": "foundationAccordionTemplate",
1961
1905
  "declaration": {
1962
- "name": "foundationActionsMenuTemplate",
1963
- "module": "src/actions-menu/actions-menu.template.ts"
1906
+ "name": "foundationAccordionTemplate",
1907
+ "module": "src/accordion/accordion.template.ts"
1964
1908
  }
1965
1909
  }
1966
1910
  ]
1967
1911
  },
1968
1912
  {
1969
1913
  "kind": "javascript-module",
1970
- "path": "src/actions-menu/actions-menu.ts",
1914
+ "path": "src/accordion/accordion.ts",
1971
1915
  "declarations": [
1972
1916
  {
1973
1917
  "kind": "class",
1974
1918
  "description": "",
1975
- "name": "ActionsMenu",
1976
- "members": [
1919
+ "name": "Accordion",
1920
+ "superclass": {
1921
+ "name": "FASTAccordion",
1922
+ "package": "@microsoft/fast-foundation"
1923
+ },
1924
+ "tagName": "%%prefix%%-accordion",
1925
+ "customElement": true,
1926
+ "attributes": [
1977
1927
  {
1978
- "kind": "field",
1979
- "name": "actions",
1928
+ "name": "expand-mode",
1980
1929
  "type": {
1981
- "text": "ActionMenuItem[]"
1930
+ "text": "AccordionExpandMode"
1931
+ },
1932
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1933
+ "fieldName": "expandmode",
1934
+ "inheritedFrom": {
1935
+ "name": "Accordion",
1936
+ "module": "src/accordion/accordion.ts"
1982
1937
  }
1983
- },
1938
+ }
1939
+ ],
1940
+ "members": [
1984
1941
  {
1985
1942
  "kind": "field",
1986
- "name": "isVertical",
1943
+ "name": "expandmode",
1987
1944
  "type": {
1988
- "text": "boolean"
1945
+ "text": "AccordionExpandMode"
1989
1946
  },
1990
- "default": "false"
1947
+ "privacy": "public",
1948
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1949
+ "inheritedFrom": {
1950
+ "name": "Accordion",
1951
+ "module": "src/accordion/accordion.ts"
1952
+ }
1991
1953
  },
1992
1954
  {
1993
1955
  "kind": "field",
1994
- "name": "addDefaultActions",
1956
+ "name": "activeid",
1995
1957
  "type": {
1996
- "text": "boolean"
1958
+ "text": "string | null"
1997
1959
  },
1998
- "default": "true"
1960
+ "privacy": "private",
1961
+ "inheritedFrom": {
1962
+ "name": "Accordion",
1963
+ "module": "src/accordion/accordion.ts"
1964
+ }
1999
1965
  },
2000
1966
  {
2001
1967
  "kind": "field",
2002
- "name": "autoCloseOnAction",
1968
+ "name": "activeItemIndex",
2003
1969
  "type": {
2004
- "text": "boolean"
1970
+ "text": "number"
2005
1971
  },
2006
- "default": "true"
2007
- },
2008
- {
2009
- "kind": "field",
2010
- "name": "classNames",
2011
- "type": {
2012
- "text": "string"
1972
+ "privacy": "private",
1973
+ "default": "0",
1974
+ "inheritedFrom": {
1975
+ "name": "Accordion",
1976
+ "module": "src/accordion/accordion.ts"
2013
1977
  }
2014
1978
  },
2015
1979
  {
2016
1980
  "kind": "field",
2017
- "name": "definition",
1981
+ "name": "accordionIds",
2018
1982
  "type": {
2019
- "text": "any"
1983
+ "text": "Array<string | null>"
1984
+ },
1985
+ "privacy": "private",
1986
+ "inheritedFrom": {
1987
+ "name": "Accordion",
1988
+ "module": "src/accordion/accordion.ts"
2020
1989
  }
2021
1990
  },
2022
1991
  {
2023
1992
  "kind": "field",
2024
- "name": "name",
2025
- "type": {
2026
- "text": "string"
2027
- },
2028
- "default": "'Actions'"
1993
+ "name": "change",
1994
+ "privacy": "private",
1995
+ "inheritedFrom": {
1996
+ "name": "Accordion",
1997
+ "module": "src/accordion/accordion.ts"
1998
+ }
2029
1999
  },
2030
2000
  {
2031
- "kind": "field",
2032
- "name": "open",
2033
- "type": {
2034
- "text": "boolean"
2001
+ "kind": "method",
2002
+ "name": "findExpandedItem",
2003
+ "privacy": "private",
2004
+ "return": {
2005
+ "type": {
2006
+ "text": "AccordionItem | null"
2007
+ }
2035
2008
  },
2036
- "default": "false"
2037
- },
2038
- {
2039
- "kind": "field",
2040
- "name": "buttonAppearance",
2041
- "type": {
2042
- "text": "string"
2009
+ "inheritedFrom": {
2010
+ "name": "Accordion",
2011
+ "module": "src/accordion/accordion.ts"
2043
2012
  }
2044
2013
  },
2045
2014
  {
2046
2015
  "kind": "field",
2047
- "name": "hideDisabled",
2048
- "type": {
2049
- "text": "boolean"
2050
- },
2051
- "default": "false"
2016
+ "name": "setItems",
2017
+ "privacy": "private",
2018
+ "inheritedFrom": {
2019
+ "name": "Accordion",
2020
+ "module": "src/accordion/accordion.ts"
2021
+ }
2052
2022
  },
2053
2023
  {
2054
- "kind": "field",
2055
- "name": "hideMenuSingleOption",
2056
- "type": {
2057
- "text": "boolean"
2024
+ "kind": "method",
2025
+ "name": "resetItems",
2026
+ "privacy": "private",
2027
+ "return": {
2028
+ "type": {
2029
+ "text": "void"
2030
+ }
2058
2031
  },
2059
- "default": "false"
2032
+ "inheritedFrom": {
2033
+ "name": "Accordion",
2034
+ "module": "src/accordion/accordion.ts"
2035
+ }
2060
2036
  },
2061
2037
  {
2062
2038
  "kind": "field",
2063
- "name": "singleOption",
2064
- "type": {
2065
- "text": "ActionMenuItem"
2039
+ "name": "removeItemListeners",
2040
+ "privacy": "private",
2041
+ "inheritedFrom": {
2042
+ "name": "Accordion",
2043
+ "module": "src/accordion/accordion.ts"
2066
2044
  }
2067
2045
  },
2068
2046
  {
2069
2047
  "kind": "field",
2070
- "name": "actionsMenu",
2071
- "type": {
2072
- "text": "HTMLElement"
2048
+ "name": "activeItemChange",
2049
+ "privacy": "private",
2050
+ "inheritedFrom": {
2051
+ "name": "Accordion",
2052
+ "module": "src/accordion/accordion.ts"
2073
2053
  }
2074
2054
  },
2075
2055
  {
2076
2056
  "kind": "method",
2077
- "name": "definitionChanged",
2078
- "privacy": "protected",
2079
- "parameters": [
2080
- {
2081
- "name": "oldValue",
2082
- "type": {
2083
- "text": "any"
2084
- }
2085
- },
2086
- {
2087
- "name": "newValue",
2088
- "type": {
2089
- "text": "any"
2090
- }
2057
+ "name": "getItemIds",
2058
+ "privacy": "private",
2059
+ "return": {
2060
+ "type": {
2061
+ "text": "Array<string | null>"
2091
2062
  }
2092
- ]
2093
- },
2094
- {
2095
- "kind": "method",
2096
- "name": "openChanged",
2097
- "privacy": "protected"
2098
- },
2099
- {
2100
- "kind": "method",
2101
- "name": "toggleActionsMenuVisibility"
2063
+ },
2064
+ "inheritedFrom": {
2065
+ "name": "Accordion",
2066
+ "module": "src/accordion/accordion.ts"
2067
+ }
2102
2068
  },
2103
2069
  {
2104
2070
  "kind": "method",
2105
- "name": "onActionMenuItemClick",
2106
- "parameters": [
2107
- {
2108
- "name": "callback",
2109
- "type": {
2110
- "text": "(rowData) => void | any"
2111
- }
2071
+ "name": "isSingleExpandMode",
2072
+ "privacy": "private",
2073
+ "return": {
2074
+ "type": {
2075
+ "text": "boolean"
2112
2076
  }
2113
- ]
2077
+ },
2078
+ "inheritedFrom": {
2079
+ "name": "Accordion",
2080
+ "module": "src/accordion/accordion.ts"
2081
+ }
2114
2082
  },
2115
2083
  {
2116
2084
  "kind": "field",
2117
- "name": "allActions",
2118
- "type": {
2119
- "text": "ActionMenuItem[]"
2120
- },
2121
- "readonly": true
2085
+ "name": "handleItemKeyDown",
2086
+ "privacy": "private",
2087
+ "inheritedFrom": {
2088
+ "name": "Accordion",
2089
+ "module": "src/accordion/accordion.ts"
2090
+ }
2122
2091
  },
2123
2092
  {
2124
2093
  "kind": "field",
2125
- "name": "rowData",
2126
- "readonly": true
2094
+ "name": "handleItemFocus",
2095
+ "privacy": "private",
2096
+ "inheritedFrom": {
2097
+ "name": "Accordion",
2098
+ "module": "src/accordion/accordion.ts"
2099
+ }
2127
2100
  },
2128
2101
  {
2129
2102
  "kind": "method",
2130
- "name": "getLabel",
2103
+ "name": "adjust",
2104
+ "privacy": "private",
2105
+ "return": {
2106
+ "type": {
2107
+ "text": "void"
2108
+ }
2109
+ },
2131
2110
  "parameters": [
2132
2111
  {
2133
- "name": "name",
2112
+ "name": "adjustment",
2134
2113
  "type": {
2135
- "text": "string | ((rowData: any) => string)"
2114
+ "text": "number"
2136
2115
  }
2137
2116
  }
2138
- ]
2117
+ ],
2118
+ "inheritedFrom": {
2119
+ "name": "Accordion",
2120
+ "module": "src/accordion/accordion.ts"
2121
+ }
2139
2122
  },
2140
2123
  {
2141
2124
  "kind": "method",
2142
- "name": "getTemplate",
2143
- "parameters": [
2144
- {
2145
- "name": "prefix",
2146
- "type": {
2147
- "text": "string"
2148
- }
2125
+ "name": "focusItem",
2126
+ "privacy": "private",
2127
+ "return": {
2128
+ "type": {
2129
+ "text": "void"
2149
2130
  }
2150
- ]
2131
+ },
2132
+ "inheritedFrom": {
2133
+ "name": "Accordion",
2134
+ "module": "src/accordion/accordion.ts"
2135
+ }
2151
2136
  },
2152
2137
  {
2153
2138
  "kind": "field",
@@ -2261,107 +2246,78 @@
2261
2246
  }
2262
2247
  }
2263
2248
  ],
2264
- "attributes": [
2265
- {
2266
- "name": "is-vertical",
2267
- "type": {
2268
- "text": "boolean"
2269
- },
2270
- "default": "false",
2271
- "fieldName": "isVertical"
2272
- },
2273
- {
2274
- "name": "add-default-actions",
2275
- "type": {
2276
- "text": "boolean"
2277
- },
2278
- "default": "true",
2279
- "fieldName": "addDefaultActions"
2280
- },
2281
- {
2282
- "name": "auto-close-on-action",
2283
- "type": {
2284
- "text": "boolean"
2285
- },
2286
- "default": "true",
2287
- "fieldName": "autoCloseOnAction"
2288
- },
2289
- {
2290
- "name": "name",
2291
- "type": {
2292
- "text": "string"
2293
- },
2294
- "default": "'Actions'",
2295
- "fieldName": "name"
2296
- },
2297
- {
2298
- "name": "open",
2299
- "type": {
2300
- "text": "boolean"
2301
- },
2302
- "default": "false",
2303
- "fieldName": "open"
2304
- },
2305
- {
2306
- "name": "buttonAppearance",
2307
- "type": {
2308
- "text": "string"
2309
- },
2310
- "fieldName": "buttonAppearance"
2311
- },
2312
- {
2313
- "name": "hide-disabled",
2314
- "type": {
2315
- "text": "boolean"
2316
- },
2317
- "default": "false",
2318
- "fieldName": "hideDisabled"
2319
- },
2249
+ "events": [
2320
2250
  {
2321
- "name": "hide-menu-single-option",
2322
- "type": {
2323
- "text": "boolean"
2324
- },
2325
- "default": "false",
2326
- "fieldName": "hideMenuSingleOption"
2251
+ "description": "Fires a custom 'change' event when the active item changes",
2252
+ "name": "change",
2253
+ "inheritedFrom": {
2254
+ "name": "Accordion",
2255
+ "module": "src/accordion/accordion.ts"
2256
+ }
2327
2257
  }
2328
- ],
2329
- "superclass": {
2330
- "name": "FoundationElement",
2331
- "package": "@microsoft/fast-foundation"
2258
+ ]
2259
+ },
2260
+ {
2261
+ "kind": "variable",
2262
+ "name": "foundationAccordionShadowOptions",
2263
+ "type": {
2264
+ "text": "ShadowRootInit"
2332
2265
  },
2333
- "tagName": "%%prefix%%-actions-menu",
2334
- "customElement": true
2266
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2267
+ },
2268
+ {
2269
+ "kind": "variable",
2270
+ "name": "defaultAccordionConfig",
2271
+ "type": {
2272
+ "text": "object"
2273
+ },
2274
+ "default": "{}"
2275
+ },
2276
+ {
2277
+ "kind": "variable",
2278
+ "name": "foundationAccordion",
2279
+ "description": "The Foundation Accordion",
2280
+ "privacy": "public"
2281
+ }
2282
+ ],
2283
+ "exports": [
2284
+ {
2285
+ "kind": "js",
2286
+ "name": "Accordion",
2287
+ "declaration": {
2288
+ "name": "Accordion",
2289
+ "module": "src/accordion/accordion.ts"
2290
+ }
2291
+ },
2292
+ {
2293
+ "kind": "js",
2294
+ "name": "foundationAccordionShadowOptions",
2295
+ "declaration": {
2296
+ "name": "foundationAccordionShadowOptions",
2297
+ "module": "src/accordion/accordion.ts"
2298
+ }
2335
2299
  },
2336
- {
2337
- "kind": "variable",
2338
- "name": "foundationActionsMenu",
2339
- "description": "The Foundation Actions Menu",
2340
- "privacy": "public"
2341
- }
2342
- ],
2343
- "exports": [
2344
2300
  {
2345
2301
  "kind": "js",
2346
- "name": "ActionsMenu",
2302
+ "name": "defaultAccordionConfig",
2347
2303
  "declaration": {
2348
- "name": "ActionsMenu",
2349
- "module": "src/actions-menu/actions-menu.ts"
2304
+ "name": "defaultAccordionConfig",
2305
+ "module": "src/accordion/accordion.ts"
2350
2306
  }
2351
2307
  },
2352
2308
  {
2353
2309
  "kind": "js",
2354
- "name": "foundationActionsMenu",
2310
+ "name": "foundationAccordion",
2355
2311
  "declaration": {
2356
- "name": "foundationActionsMenu",
2357
- "module": "src/actions-menu/actions-menu.ts"
2312
+ "name": "foundationAccordion",
2313
+ "module": "src/accordion/accordion.ts"
2358
2314
  }
2359
2315
  }
2360
2316
  ]
2361
2317
  },
2362
2318
  {
2363
2319
  "kind": "javascript-module",
2364
- "path": "src/actions-menu/index.ts",
2320
+ "path": "src/accordion/index.ts",
2365
2321
  "declarations": [],
2366
2322
  "exports": [
2367
2323
  {
@@ -2369,7 +2325,7 @@
2369
2325
  "name": "*",
2370
2326
  "declaration": {
2371
2327
  "name": "*",
2372
- "package": "./actions-menu.styles"
2328
+ "package": "./accordion.template"
2373
2329
  }
2374
2330
  },
2375
2331
  {
@@ -2377,7 +2333,7 @@
2377
2333
  "name": "*",
2378
2334
  "declaration": {
2379
2335
  "name": "*",
2380
- "package": "./actions-menu.template"
2336
+ "package": "./accordion.styles"
2381
2337
  }
2382
2338
  },
2383
2339
  {
@@ -2385,18 +2341,41 @@
2385
2341
  "name": "*",
2386
2342
  "declaration": {
2387
2343
  "name": "*",
2388
- "package": "./actions-menu"
2344
+ "package": "./accordion"
2389
2345
  }
2390
2346
  }
2391
2347
  ]
2392
2348
  },
2393
2349
  {
2394
2350
  "kind": "javascript-module",
2395
- "path": "src/accordion/accordion.styles.ts",
2351
+ "path": "src/actions-menu/actions-menu.styles.ts",
2396
2352
  "declarations": [
2397
2353
  {
2398
2354
  "kind": "function",
2399
- "name": "foundationAccordionStyles",
2355
+ "name": "actionsMenuBaseStyles",
2356
+ "return": {
2357
+ "type": {
2358
+ "text": "ElementStyles"
2359
+ }
2360
+ },
2361
+ "parameters": [
2362
+ {
2363
+ "name": "context",
2364
+ "type": {
2365
+ "text": "ElementDefinitionContext"
2366
+ }
2367
+ },
2368
+ {
2369
+ "name": "definition",
2370
+ "type": {
2371
+ "text": "FoundationElementDefinition"
2372
+ }
2373
+ }
2374
+ ]
2375
+ },
2376
+ {
2377
+ "kind": "function",
2378
+ "name": "foundationActionsMenuStyles",
2400
2379
  "return": {
2401
2380
  "type": {
2402
2381
  "text": "ElementStyles"
@@ -2421,277 +2400,269 @@
2421
2400
  "exports": [
2422
2401
  {
2423
2402
  "kind": "js",
2424
- "name": "foundationAccordionStyles",
2403
+ "name": "actionsMenuBaseStyles",
2425
2404
  "declaration": {
2426
- "name": "foundationAccordionStyles",
2427
- "module": "src/accordion/accordion.styles.ts"
2405
+ "name": "actionsMenuBaseStyles",
2406
+ "module": "src/actions-menu/actions-menu.styles.ts"
2407
+ }
2408
+ },
2409
+ {
2410
+ "kind": "js",
2411
+ "name": "foundationActionsMenuStyles",
2412
+ "declaration": {
2413
+ "name": "foundationActionsMenuStyles",
2414
+ "module": "src/actions-menu/actions-menu.styles.ts"
2428
2415
  }
2429
2416
  }
2430
2417
  ]
2431
2418
  },
2432
2419
  {
2433
2420
  "kind": "javascript-module",
2434
- "path": "src/accordion/accordion.template.ts",
2421
+ "path": "src/actions-menu/actions-menu.template.ts",
2435
2422
  "declarations": [
2436
2423
  {
2437
2424
  "kind": "function",
2438
- "name": "foundationAccordionTemplate",
2439
- "return": {
2440
- "type": {
2441
- "text": "ViewTemplate<Accordion>"
2442
- }
2443
- },
2425
+ "name": "menuTemplate",
2444
2426
  "parameters": [
2445
2427
  {
2446
- "name": "context",
2428
+ "name": "prefix",
2447
2429
  "type": {
2448
- "text": "ElementDefinitionContext"
2430
+ "text": "string"
2449
2431
  }
2450
- },
2432
+ }
2433
+ ]
2434
+ },
2435
+ {
2436
+ "kind": "function",
2437
+ "name": "singleOptionTemplate",
2438
+ "parameters": [
2451
2439
  {
2452
- "name": "definition",
2440
+ "name": "prefix",
2453
2441
  "type": {
2454
- "text": "FoundationElementDefinition"
2442
+ "text": "string"
2455
2443
  }
2456
2444
  }
2457
2445
  ]
2446
+ },
2447
+ {
2448
+ "kind": "variable",
2449
+ "name": "foundationActionsMenuTemplate",
2450
+ "type": {
2451
+ "text": "ViewTemplate<ActionsMenu>"
2452
+ },
2453
+ "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`"
2458
2454
  }
2459
2455
  ],
2460
2456
  "exports": [
2461
2457
  {
2462
2458
  "kind": "js",
2463
- "name": "foundationAccordionTemplate",
2459
+ "name": "menuTemplate",
2464
2460
  "declaration": {
2465
- "name": "foundationAccordionTemplate",
2466
- "module": "src/accordion/accordion.template.ts"
2461
+ "name": "menuTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "js",
2467
+ "name": "singleOptionTemplate",
2468
+ "declaration": {
2469
+ "name": "singleOptionTemplate",
2470
+ "module": "src/actions-menu/actions-menu.template.ts"
2471
+ }
2472
+ },
2473
+ {
2474
+ "kind": "js",
2475
+ "name": "foundationActionsMenuTemplate",
2476
+ "declaration": {
2477
+ "name": "foundationActionsMenuTemplate",
2478
+ "module": "src/actions-menu/actions-menu.template.ts"
2467
2479
  }
2468
2480
  }
2469
2481
  ]
2470
2482
  },
2471
2483
  {
2472
2484
  "kind": "javascript-module",
2473
- "path": "src/accordion/accordion.ts",
2485
+ "path": "src/actions-menu/actions-menu.ts",
2474
2486
  "declarations": [
2475
2487
  {
2476
2488
  "kind": "class",
2477
2489
  "description": "",
2478
- "name": "Accordion",
2479
- "superclass": {
2480
- "name": "FASTAccordion",
2481
- "package": "@microsoft/fast-foundation"
2482
- },
2483
- "tagName": "%%prefix%%-accordion",
2484
- "customElement": true,
2485
- "attributes": [
2490
+ "name": "ActionsMenu",
2491
+ "members": [
2486
2492
  {
2487
- "name": "expand-mode",
2493
+ "kind": "field",
2494
+ "name": "actions",
2488
2495
  "type": {
2489
- "text": "AccordionExpandMode"
2490
- },
2491
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2492
- "fieldName": "expandmode",
2493
- "inheritedFrom": {
2494
- "name": "Accordion",
2495
- "module": "src/accordion/accordion.ts"
2496
+ "text": "ActionMenuItem[]"
2496
2497
  }
2497
- }
2498
- ],
2499
- "members": [
2498
+ },
2500
2499
  {
2501
2500
  "kind": "field",
2502
- "name": "expandmode",
2501
+ "name": "isVertical",
2503
2502
  "type": {
2504
- "text": "AccordionExpandMode"
2503
+ "text": "boolean"
2505
2504
  },
2506
- "privacy": "public",
2507
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2508
- "inheritedFrom": {
2509
- "name": "Accordion",
2510
- "module": "src/accordion/accordion.ts"
2511
- }
2505
+ "default": "false"
2512
2506
  },
2513
2507
  {
2514
2508
  "kind": "field",
2515
- "name": "activeid",
2509
+ "name": "addDefaultActions",
2516
2510
  "type": {
2517
- "text": "string | null"
2511
+ "text": "boolean"
2518
2512
  },
2519
- "privacy": "private",
2520
- "inheritedFrom": {
2521
- "name": "Accordion",
2522
- "module": "src/accordion/accordion.ts"
2523
- }
2513
+ "default": "true"
2524
2514
  },
2525
2515
  {
2526
2516
  "kind": "field",
2527
- "name": "activeItemIndex",
2517
+ "name": "autoCloseOnAction",
2528
2518
  "type": {
2529
- "text": "number"
2519
+ "text": "boolean"
2530
2520
  },
2531
- "privacy": "private",
2532
- "default": "0",
2533
- "inheritedFrom": {
2534
- "name": "Accordion",
2535
- "module": "src/accordion/accordion.ts"
2536
- }
2521
+ "default": "true"
2537
2522
  },
2538
2523
  {
2539
2524
  "kind": "field",
2540
- "name": "accordionIds",
2525
+ "name": "classNames",
2541
2526
  "type": {
2542
- "text": "Array<string | null>"
2543
- },
2544
- "privacy": "private",
2545
- "inheritedFrom": {
2546
- "name": "Accordion",
2547
- "module": "src/accordion/accordion.ts"
2527
+ "text": "string"
2548
2528
  }
2549
2529
  },
2550
2530
  {
2551
2531
  "kind": "field",
2552
- "name": "change",
2553
- "privacy": "private",
2554
- "inheritedFrom": {
2555
- "name": "Accordion",
2556
- "module": "src/accordion/accordion.ts"
2532
+ "name": "definition",
2533
+ "type": {
2534
+ "text": "any"
2557
2535
  }
2558
2536
  },
2559
2537
  {
2560
- "kind": "method",
2561
- "name": "findExpandedItem",
2562
- "privacy": "private",
2563
- "return": {
2564
- "type": {
2565
- "text": "AccordionItem | null"
2566
- }
2538
+ "kind": "field",
2539
+ "name": "name",
2540
+ "type": {
2541
+ "text": "string"
2567
2542
  },
2568
- "inheritedFrom": {
2569
- "name": "Accordion",
2570
- "module": "src/accordion/accordion.ts"
2571
- }
2543
+ "default": "'Actions'"
2572
2544
  },
2573
2545
  {
2574
2546
  "kind": "field",
2575
- "name": "setItems",
2576
- "privacy": "private",
2577
- "inheritedFrom": {
2578
- "name": "Accordion",
2579
- "module": "src/accordion/accordion.ts"
2547
+ "name": "open",
2548
+ "type": {
2549
+ "text": "boolean"
2550
+ },
2551
+ "default": "false"
2552
+ },
2553
+ {
2554
+ "kind": "field",
2555
+ "name": "buttonAppearance",
2556
+ "type": {
2557
+ "text": "string"
2580
2558
  }
2581
2559
  },
2582
2560
  {
2583
- "kind": "method",
2584
- "name": "resetItems",
2585
- "privacy": "private",
2586
- "return": {
2587
- "type": {
2588
- "text": "void"
2589
- }
2561
+ "kind": "field",
2562
+ "name": "hideDisabled",
2563
+ "type": {
2564
+ "text": "boolean"
2590
2565
  },
2591
- "inheritedFrom": {
2592
- "name": "Accordion",
2593
- "module": "src/accordion/accordion.ts"
2594
- }
2566
+ "default": "false"
2567
+ },
2568
+ {
2569
+ "kind": "field",
2570
+ "name": "hideMenuSingleOption",
2571
+ "type": {
2572
+ "text": "boolean"
2573
+ },
2574
+ "default": "false"
2595
2575
  },
2596
2576
  {
2597
2577
  "kind": "field",
2598
- "name": "removeItemListeners",
2599
- "privacy": "private",
2600
- "inheritedFrom": {
2601
- "name": "Accordion",
2602
- "module": "src/accordion/accordion.ts"
2578
+ "name": "singleOption",
2579
+ "type": {
2580
+ "text": "ActionMenuItem"
2603
2581
  }
2604
2582
  },
2605
2583
  {
2606
2584
  "kind": "field",
2607
- "name": "activeItemChange",
2608
- "privacy": "private",
2609
- "inheritedFrom": {
2610
- "name": "Accordion",
2611
- "module": "src/accordion/accordion.ts"
2585
+ "name": "actionsMenu",
2586
+ "type": {
2587
+ "text": "HTMLElement"
2612
2588
  }
2613
2589
  },
2614
2590
  {
2615
2591
  "kind": "method",
2616
- "name": "getItemIds",
2617
- "privacy": "private",
2618
- "return": {
2619
- "type": {
2620
- "text": "Array<string | null>"
2592
+ "name": "definitionChanged",
2593
+ "privacy": "protected",
2594
+ "parameters": [
2595
+ {
2596
+ "name": "oldValue",
2597
+ "type": {
2598
+ "text": "any"
2599
+ }
2600
+ },
2601
+ {
2602
+ "name": "newValue",
2603
+ "type": {
2604
+ "text": "any"
2605
+ }
2621
2606
  }
2622
- },
2623
- "inheritedFrom": {
2624
- "name": "Accordion",
2625
- "module": "src/accordion/accordion.ts"
2626
- }
2607
+ ]
2627
2608
  },
2628
2609
  {
2629
2610
  "kind": "method",
2630
- "name": "isSingleExpandMode",
2631
- "privacy": "private",
2632
- "return": {
2633
- "type": {
2634
- "text": "boolean"
2611
+ "name": "openChanged",
2612
+ "privacy": "protected"
2613
+ },
2614
+ {
2615
+ "kind": "method",
2616
+ "name": "toggleActionsMenuVisibility"
2617
+ },
2618
+ {
2619
+ "kind": "method",
2620
+ "name": "onActionMenuItemClick",
2621
+ "parameters": [
2622
+ {
2623
+ "name": "callback",
2624
+ "type": {
2625
+ "text": "(rowData) => void | any"
2626
+ }
2635
2627
  }
2636
- },
2637
- "inheritedFrom": {
2638
- "name": "Accordion",
2639
- "module": "src/accordion/accordion.ts"
2640
- }
2628
+ ]
2641
2629
  },
2642
2630
  {
2643
2631
  "kind": "field",
2644
- "name": "handleItemKeyDown",
2645
- "privacy": "private",
2646
- "inheritedFrom": {
2647
- "name": "Accordion",
2648
- "module": "src/accordion/accordion.ts"
2649
- }
2632
+ "name": "allActions",
2633
+ "type": {
2634
+ "text": "ActionMenuItem[]"
2635
+ },
2636
+ "readonly": true
2650
2637
  },
2651
2638
  {
2652
2639
  "kind": "field",
2653
- "name": "handleItemFocus",
2654
- "privacy": "private",
2655
- "inheritedFrom": {
2656
- "name": "Accordion",
2657
- "module": "src/accordion/accordion.ts"
2658
- }
2640
+ "name": "rowData",
2641
+ "readonly": true
2659
2642
  },
2660
2643
  {
2661
2644
  "kind": "method",
2662
- "name": "adjust",
2663
- "privacy": "private",
2664
- "return": {
2665
- "type": {
2666
- "text": "void"
2667
- }
2668
- },
2645
+ "name": "getLabel",
2669
2646
  "parameters": [
2670
2647
  {
2671
- "name": "adjustment",
2648
+ "name": "name",
2672
2649
  "type": {
2673
- "text": "number"
2650
+ "text": "string | ((rowData: any) => string)"
2674
2651
  }
2675
2652
  }
2676
- ],
2677
- "inheritedFrom": {
2678
- "name": "Accordion",
2679
- "module": "src/accordion/accordion.ts"
2680
- }
2653
+ ]
2681
2654
  },
2682
2655
  {
2683
2656
  "kind": "method",
2684
- "name": "focusItem",
2685
- "privacy": "private",
2686
- "return": {
2687
- "type": {
2688
- "text": "void"
2657
+ "name": "getTemplate",
2658
+ "parameters": [
2659
+ {
2660
+ "name": "prefix",
2661
+ "type": {
2662
+ "text": "string"
2663
+ }
2689
2664
  }
2690
- },
2691
- "inheritedFrom": {
2692
- "name": "Accordion",
2693
- "module": "src/accordion/accordion.ts"
2694
- }
2665
+ ]
2695
2666
  },
2696
2667
  {
2697
2668
  "kind": "field",
@@ -2805,78 +2776,107 @@
2805
2776
  }
2806
2777
  }
2807
2778
  ],
2808
- "events": [
2779
+ "attributes": [
2809
2780
  {
2810
- "description": "Fires a custom 'change' event when the active item changes",
2811
- "name": "change",
2812
- "inheritedFrom": {
2813
- "name": "Accordion",
2814
- "module": "src/accordion/accordion.ts"
2815
- }
2781
+ "name": "is-vertical",
2782
+ "type": {
2783
+ "text": "boolean"
2784
+ },
2785
+ "default": "false",
2786
+ "fieldName": "isVertical"
2787
+ },
2788
+ {
2789
+ "name": "add-default-actions",
2790
+ "type": {
2791
+ "text": "boolean"
2792
+ },
2793
+ "default": "true",
2794
+ "fieldName": "addDefaultActions"
2795
+ },
2796
+ {
2797
+ "name": "auto-close-on-action",
2798
+ "type": {
2799
+ "text": "boolean"
2800
+ },
2801
+ "default": "true",
2802
+ "fieldName": "autoCloseOnAction"
2803
+ },
2804
+ {
2805
+ "name": "name",
2806
+ "type": {
2807
+ "text": "string"
2808
+ },
2809
+ "default": "'Actions'",
2810
+ "fieldName": "name"
2811
+ },
2812
+ {
2813
+ "name": "open",
2814
+ "type": {
2815
+ "text": "boolean"
2816
+ },
2817
+ "default": "false",
2818
+ "fieldName": "open"
2819
+ },
2820
+ {
2821
+ "name": "buttonAppearance",
2822
+ "type": {
2823
+ "text": "string"
2824
+ },
2825
+ "fieldName": "buttonAppearance"
2826
+ },
2827
+ {
2828
+ "name": "hide-disabled",
2829
+ "type": {
2830
+ "text": "boolean"
2831
+ },
2832
+ "default": "false",
2833
+ "fieldName": "hideDisabled"
2834
+ },
2835
+ {
2836
+ "name": "hide-menu-single-option",
2837
+ "type": {
2838
+ "text": "boolean"
2839
+ },
2840
+ "default": "false",
2841
+ "fieldName": "hideMenuSingleOption"
2816
2842
  }
2817
- ]
2818
- },
2819
- {
2820
- "kind": "variable",
2821
- "name": "foundationAccordionShadowOptions",
2822
- "type": {
2823
- "text": "ShadowRootInit"
2824
- },
2825
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2826
- },
2827
- {
2828
- "kind": "variable",
2829
- "name": "defaultAccordionConfig",
2830
- "type": {
2831
- "text": "object"
2843
+ ],
2844
+ "superclass": {
2845
+ "name": "FoundationElement",
2846
+ "package": "@microsoft/fast-foundation"
2832
2847
  },
2833
- "default": "{}"
2848
+ "tagName": "%%prefix%%-actions-menu",
2849
+ "customElement": true
2834
2850
  },
2835
2851
  {
2836
2852
  "kind": "variable",
2837
- "name": "foundationAccordion",
2838
- "description": "The Foundation Accordion",
2853
+ "name": "foundationActionsMenu",
2854
+ "description": "The Foundation Actions Menu",
2839
2855
  "privacy": "public"
2840
2856
  }
2841
2857
  ],
2842
2858
  "exports": [
2843
2859
  {
2844
2860
  "kind": "js",
2845
- "name": "Accordion",
2846
- "declaration": {
2847
- "name": "Accordion",
2848
- "module": "src/accordion/accordion.ts"
2849
- }
2850
- },
2851
- {
2852
- "kind": "js",
2853
- "name": "foundationAccordionShadowOptions",
2854
- "declaration": {
2855
- "name": "foundationAccordionShadowOptions",
2856
- "module": "src/accordion/accordion.ts"
2857
- }
2858
- },
2859
- {
2860
- "kind": "js",
2861
- "name": "defaultAccordionConfig",
2861
+ "name": "ActionsMenu",
2862
2862
  "declaration": {
2863
- "name": "defaultAccordionConfig",
2864
- "module": "src/accordion/accordion.ts"
2863
+ "name": "ActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
2865
2865
  }
2866
2866
  },
2867
2867
  {
2868
2868
  "kind": "js",
2869
- "name": "foundationAccordion",
2869
+ "name": "foundationActionsMenu",
2870
2870
  "declaration": {
2871
- "name": "foundationAccordion",
2872
- "module": "src/accordion/accordion.ts"
2871
+ "name": "foundationActionsMenu",
2872
+ "module": "src/actions-menu/actions-menu.ts"
2873
2873
  }
2874
2874
  }
2875
2875
  ]
2876
2876
  },
2877
2877
  {
2878
2878
  "kind": "javascript-module",
2879
- "path": "src/accordion/index.ts",
2879
+ "path": "src/actions-menu/index.ts",
2880
2880
  "declarations": [],
2881
2881
  "exports": [
2882
2882
  {
@@ -2884,7 +2884,7 @@
2884
2884
  "name": "*",
2885
2885
  "declaration": {
2886
2886
  "name": "*",
2887
- "package": "./accordion.template"
2887
+ "package": "./actions-menu.styles"
2888
2888
  }
2889
2889
  },
2890
2890
  {
@@ -2892,7 +2892,7 @@
2892
2892
  "name": "*",
2893
2893
  "declaration": {
2894
2894
  "name": "*",
2895
- "package": "./accordion.styles"
2895
+ "package": "./actions-menu.template"
2896
2896
  }
2897
2897
  },
2898
2898
  {
@@ -2900,7 +2900,7 @@
2900
2900
  "name": "*",
2901
2901
  "declaration": {
2902
2902
  "name": "*",
2903
- "package": "./accordion"
2903
+ "package": "./actions-menu"
2904
2904
  }
2905
2905
  }
2906
2906
  ]