@genesislcap/foundation-ui 15.92.0-HT-305.1 → 15.92.0-HT-305.3

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.
@@ -956,37 +956,6 @@
956
956
  }
957
957
  ]
958
958
  },
959
- {
960
- "kind": "javascript-module",
961
- "path": "src/_config/index.ts",
962
- "declarations": [],
963
- "exports": [
964
- {
965
- "kind": "js",
966
- "name": "*",
967
- "declaration": {
968
- "name": "*",
969
- "package": "./styles"
970
- }
971
- },
972
- {
973
- "kind": "js",
974
- "name": "*",
975
- "declaration": {
976
- "name": "*",
977
- "package": "./tokens"
978
- }
979
- },
980
- {
981
- "kind": "js",
982
- "name": "*",
983
- "declaration": {
984
- "name": "*",
985
- "package": "./values"
986
- }
987
- }
988
- ]
989
- },
990
959
  {
991
960
  "kind": "javascript-module",
992
961
  "path": "src/_common/affix-mixin.ts",
@@ -1524,6 +1493,37 @@
1524
1493
  }
1525
1494
  ]
1526
1495
  },
1496
+ {
1497
+ "kind": "javascript-module",
1498
+ "path": "src/_config/index.ts",
1499
+ "declarations": [],
1500
+ "exports": [
1501
+ {
1502
+ "kind": "js",
1503
+ "name": "*",
1504
+ "declaration": {
1505
+ "name": "*",
1506
+ "package": "./styles"
1507
+ }
1508
+ },
1509
+ {
1510
+ "kind": "js",
1511
+ "name": "*",
1512
+ "declaration": {
1513
+ "name": "*",
1514
+ "package": "./tokens"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "*",
1520
+ "declaration": {
1521
+ "name": "*",
1522
+ "package": "./values"
1523
+ }
1524
+ }
1525
+ ]
1526
+ },
1527
1527
  {
1528
1528
  "kind": "javascript-module",
1529
1529
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1920,11 +1920,11 @@
1920
1920
  },
1921
1921
  {
1922
1922
  "kind": "javascript-module",
1923
- "path": "src/accordion/accordion.styles.ts",
1923
+ "path": "src/actions-menu/actions-menu.styles.ts",
1924
1924
  "declarations": [
1925
1925
  {
1926
1926
  "kind": "function",
1927
- "name": "foundationAccordionStyles",
1927
+ "name": "actionsMenuBaseStyles",
1928
1928
  "return": {
1929
1929
  "type": {
1930
1930
  "text": "ElementStyles"
@@ -1944,29 +1944,13 @@
1944
1944
  }
1945
1945
  }
1946
1946
  ]
1947
- }
1948
- ],
1949
- "exports": [
1950
- {
1951
- "kind": "js",
1952
- "name": "foundationAccordionStyles",
1953
- "declaration": {
1954
- "name": "foundationAccordionStyles",
1955
- "module": "src/accordion/accordion.styles.ts"
1956
- }
1957
- }
1958
- ]
1959
- },
1960
- {
1961
- "kind": "javascript-module",
1962
- "path": "src/accordion/accordion.template.ts",
1963
- "declarations": [
1947
+ },
1964
1948
  {
1965
1949
  "kind": "function",
1966
- "name": "foundationAccordionTemplate",
1950
+ "name": "foundationActionsMenuStyles",
1967
1951
  "return": {
1968
1952
  "type": {
1969
- "text": "ViewTemplate<Accordion>"
1953
+ "text": "ElementStyles"
1970
1954
  }
1971
1955
  },
1972
1956
  "parameters": [
@@ -1988,423 +1972,641 @@
1988
1972
  "exports": [
1989
1973
  {
1990
1974
  "kind": "js",
1991
- "name": "foundationAccordionTemplate",
1975
+ "name": "actionsMenuBaseStyles",
1992
1976
  "declaration": {
1993
- "name": "foundationAccordionTemplate",
1994
- "module": "src/accordion/accordion.template.ts"
1977
+ "name": "actionsMenuBaseStyles",
1978
+ "module": "src/actions-menu/actions-menu.styles.ts"
1979
+ }
1980
+ },
1981
+ {
1982
+ "kind": "js",
1983
+ "name": "foundationActionsMenuStyles",
1984
+ "declaration": {
1985
+ "name": "foundationActionsMenuStyles",
1986
+ "module": "src/actions-menu/actions-menu.styles.ts"
1995
1987
  }
1996
1988
  }
1997
1989
  ]
1998
1990
  },
1999
1991
  {
2000
1992
  "kind": "javascript-module",
2001
- "path": "src/accordion/accordion.ts",
1993
+ "path": "src/actions-menu/actions-menu.template.ts",
1994
+ "declarations": [
1995
+ {
1996
+ "kind": "variable",
1997
+ "name": "menuTemplate"
1998
+ },
1999
+ {
2000
+ "kind": "variable",
2001
+ "name": "singleOptionTemplate"
2002
+ },
2003
+ {
2004
+ "kind": "variable",
2005
+ "name": "foundationActionsMenuTemplate",
2006
+ "type": {
2007
+ "text": "ViewTemplate<ActionsMenu>"
2008
+ },
2009
+ "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`"
2010
+ }
2011
+ ],
2012
+ "exports": [
2013
+ {
2014
+ "kind": "js",
2015
+ "name": "menuTemplate",
2016
+ "declaration": {
2017
+ "name": "menuTemplate",
2018
+ "module": "src/actions-menu/actions-menu.template.ts"
2019
+ }
2020
+ },
2021
+ {
2022
+ "kind": "js",
2023
+ "name": "singleOptionTemplate",
2024
+ "declaration": {
2025
+ "name": "singleOptionTemplate",
2026
+ "module": "src/actions-menu/actions-menu.template.ts"
2027
+ }
2028
+ },
2029
+ {
2030
+ "kind": "js",
2031
+ "name": "foundationActionsMenuTemplate",
2032
+ "declaration": {
2033
+ "name": "foundationActionsMenuTemplate",
2034
+ "module": "src/actions-menu/actions-menu.template.ts"
2035
+ }
2036
+ }
2037
+ ]
2038
+ },
2039
+ {
2040
+ "kind": "javascript-module",
2041
+ "path": "src/actions-menu/actions-menu.ts",
2002
2042
  "declarations": [
2003
2043
  {
2004
2044
  "kind": "class",
2005
2045
  "description": "",
2006
- "name": "Accordion",
2007
- "superclass": {
2008
- "name": "FASTAccordion",
2009
- "package": "@microsoft/fast-foundation"
2010
- },
2011
- "tagName": "%%prefix%%-accordion",
2012
- "customElement": true,
2013
- "attributes": [
2046
+ "name": "ActionsMenu",
2047
+ "members": [
2014
2048
  {
2015
- "name": "expand-mode",
2049
+ "kind": "field",
2050
+ "name": "actions",
2016
2051
  "type": {
2017
- "text": "AccordionExpandMode"
2018
- },
2019
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2020
- "fieldName": "expandmode",
2021
- "inheritedFrom": {
2022
- "name": "Accordion",
2023
- "module": "src/accordion/accordion.ts"
2052
+ "text": "ActionMenuItem[]"
2024
2053
  }
2025
- }
2026
- ],
2027
- "members": [
2054
+ },
2028
2055
  {
2029
2056
  "kind": "field",
2030
- "name": "expandmode",
2057
+ "name": "actionsResolver",
2031
2058
  "type": {
2032
- "text": "AccordionExpandMode"
2059
+ "text": "ActionMenuItemsResolver | undefined"
2033
2060
  },
2034
- "privacy": "public",
2035
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2036
- "inheritedFrom": {
2037
- "name": "Accordion",
2038
- "module": "src/accordion/accordion.ts"
2039
- }
2061
+ "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
2040
2062
  },
2041
2063
  {
2042
2064
  "kind": "field",
2043
- "name": "activeid",
2065
+ "name": "isVertical",
2044
2066
  "type": {
2045
- "text": "string | null"
2067
+ "text": "boolean"
2046
2068
  },
2047
- "privacy": "private",
2048
- "inheritedFrom": {
2049
- "name": "Accordion",
2050
- "module": "src/accordion/accordion.ts"
2051
- }
2069
+ "default": "false"
2052
2070
  },
2053
2071
  {
2054
2072
  "kind": "field",
2055
- "name": "activeItemIndex",
2073
+ "name": "addDefaultActions",
2056
2074
  "type": {
2057
- "text": "number"
2075
+ "text": "boolean"
2058
2076
  },
2059
- "privacy": "private",
2060
- "default": "0",
2061
- "inheritedFrom": {
2062
- "name": "Accordion",
2063
- "module": "src/accordion/accordion.ts"
2064
- }
2077
+ "default": "true"
2065
2078
  },
2066
2079
  {
2067
2080
  "kind": "field",
2068
- "name": "accordionIds",
2081
+ "name": "autoCloseOnAction",
2069
2082
  "type": {
2070
- "text": "Array<string | null>"
2083
+ "text": "boolean"
2071
2084
  },
2072
- "privacy": "private",
2073
- "inheritedFrom": {
2074
- "name": "Accordion",
2075
- "module": "src/accordion/accordion.ts"
2076
- }
2085
+ "default": "true"
2077
2086
  },
2078
2087
  {
2079
2088
  "kind": "field",
2080
- "name": "change",
2081
- "privacy": "private",
2082
- "inheritedFrom": {
2083
- "name": "Accordion",
2084
- "module": "src/accordion/accordion.ts"
2089
+ "name": "classNames",
2090
+ "type": {
2091
+ "text": "string"
2085
2092
  }
2086
2093
  },
2087
2094
  {
2088
- "kind": "method",
2089
- "name": "findExpandedItem",
2090
- "privacy": "private",
2091
- "return": {
2092
- "type": {
2093
- "text": "AccordionItem | null"
2094
- }
2095
- },
2096
- "inheritedFrom": {
2097
- "name": "Accordion",
2098
- "module": "src/accordion/accordion.ts"
2095
+ "kind": "field",
2096
+ "name": "definition",
2097
+ "type": {
2098
+ "text": "any"
2099
2099
  }
2100
2100
  },
2101
2101
  {
2102
2102
  "kind": "field",
2103
- "name": "setItems",
2104
- "privacy": "private",
2105
- "inheritedFrom": {
2106
- "name": "Accordion",
2107
- "module": "src/accordion/accordion.ts"
2108
- }
2103
+ "name": "name",
2104
+ "type": {
2105
+ "text": "string"
2106
+ },
2107
+ "default": "'Actions'"
2109
2108
  },
2110
2109
  {
2111
- "kind": "method",
2112
- "name": "resetItems",
2113
- "privacy": "private",
2114
- "return": {
2115
- "type": {
2116
- "text": "void"
2117
- }
2110
+ "kind": "field",
2111
+ "name": "iconName",
2112
+ "type": {
2113
+ "text": "string"
2118
2114
  },
2119
- "inheritedFrom": {
2120
- "name": "Accordion",
2121
- "module": "src/accordion/accordion.ts"
2122
- }
2115
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
2123
2116
  },
2124
2117
  {
2125
2118
  "kind": "field",
2126
- "name": "removeItemListeners",
2127
- "privacy": "private",
2128
- "inheritedFrom": {
2129
- "name": "Accordion",
2130
- "module": "src/accordion/accordion.ts"
2131
- }
2119
+ "name": "open",
2120
+ "type": {
2121
+ "text": "boolean"
2122
+ },
2123
+ "default": "false"
2132
2124
  },
2133
2125
  {
2134
2126
  "kind": "field",
2135
- "name": "activeItemChange",
2136
- "privacy": "private",
2137
- "inheritedFrom": {
2138
- "name": "Accordion",
2139
- "module": "src/accordion/accordion.ts"
2127
+ "name": "buttonAppearance",
2128
+ "type": {
2129
+ "text": "string"
2140
2130
  }
2141
2131
  },
2142
2132
  {
2143
- "kind": "method",
2144
- "name": "getItemIds",
2145
- "privacy": "private",
2146
- "return": {
2147
- "type": {
2148
- "text": "Array<string | null>"
2149
- }
2133
+ "kind": "field",
2134
+ "name": "hideDisabled",
2135
+ "type": {
2136
+ "text": "boolean"
2150
2137
  },
2151
- "inheritedFrom": {
2152
- "name": "Accordion",
2153
- "module": "src/accordion/accordion.ts"
2154
- }
2138
+ "default": "false"
2155
2139
  },
2156
2140
  {
2157
- "kind": "method",
2158
- "name": "isSingleExpandMode",
2159
- "privacy": "private",
2160
- "return": {
2161
- "type": {
2162
- "text": "boolean"
2163
- }
2141
+ "kind": "field",
2142
+ "name": "hideMenuSingleOption",
2143
+ "type": {
2144
+ "text": "boolean"
2164
2145
  },
2165
- "inheritedFrom": {
2166
- "name": "Accordion",
2167
- "module": "src/accordion/accordion.ts"
2168
- }
2146
+ "default": "false"
2169
2147
  },
2170
2148
  {
2171
2149
  "kind": "field",
2172
- "name": "handleItemKeyDown",
2173
- "privacy": "private",
2174
- "inheritedFrom": {
2175
- "name": "Accordion",
2176
- "module": "src/accordion/accordion.ts"
2150
+ "name": "singleOption",
2151
+ "type": {
2152
+ "text": "ActionMenuItem"
2177
2153
  }
2178
2154
  },
2179
2155
  {
2180
2156
  "kind": "field",
2181
- "name": "handleItemFocus",
2182
- "privacy": "private",
2183
- "inheritedFrom": {
2184
- "name": "Accordion",
2185
- "module": "src/accordion/accordion.ts"
2157
+ "name": "actionsMenu",
2158
+ "type": {
2159
+ "text": "HTMLElement"
2186
2160
  }
2187
2161
  },
2188
2162
  {
2189
- "kind": "method",
2190
- "name": "adjust",
2191
- "privacy": "private",
2192
- "return": {
2193
- "type": {
2194
- "text": "void"
2195
- }
2196
- },
2197
- "parameters": [
2198
- {
2199
- "name": "adjustment",
2200
- "type": {
2201
- "text": "number"
2202
- }
2203
- }
2204
- ],
2205
- "inheritedFrom": {
2206
- "name": "Accordion",
2207
- "module": "src/accordion/accordion.ts"
2163
+ "kind": "field",
2164
+ "name": "actionsOpener",
2165
+ "type": {
2166
+ "text": "HTMLElement"
2208
2167
  }
2209
2168
  },
2210
2169
  {
2211
- "kind": "method",
2212
- "name": "focusItem",
2213
- "privacy": "private",
2214
- "return": {
2215
- "type": {
2216
- "text": "void"
2217
- }
2170
+ "kind": "field",
2171
+ "name": "positionTracker",
2172
+ "type": {
2173
+ "text": "AnchoredPopoverPositionTracker | undefined"
2218
2174
  },
2219
- "inheritedFrom": {
2220
- "name": "Accordion",
2221
- "module": "src/accordion/accordion.ts"
2222
- }
2175
+ "privacy": "private"
2223
2176
  },
2224
2177
  {
2225
2178
  "kind": "field",
2226
- "name": "_presentation",
2179
+ "name": "focusMenuOnOpen",
2227
2180
  "type": {
2228
- "text": "ComponentPresentation | null | undefined"
2181
+ "text": "boolean"
2229
2182
  },
2230
2183
  "privacy": "private",
2231
- "default": "void 0",
2232
- "inheritedFrom": {
2233
- "name": "FoundationElement",
2234
- "module": "src/foundation-element/foundation-element.ts"
2235
- }
2184
+ "default": "false",
2185
+ "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
2236
2186
  },
2237
2187
  {
2238
- "kind": "field",
2239
- "name": "$presentation",
2240
- "type": {
2241
- "text": "ComponentPresentation | null"
2242
- },
2243
- "privacy": "public",
2244
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2245
- "inheritedFrom": {
2246
- "name": "FoundationElement",
2247
- "module": "src/foundation-element/foundation-element.ts"
2248
- }
2188
+ "kind": "method",
2189
+ "name": "updateMenuPosition",
2190
+ "privacy": "private"
2249
2191
  },
2250
2192
  {
2251
- "kind": "field",
2252
- "name": "template",
2253
- "type": {
2254
- "text": "ElementViewTemplate | void | null"
2255
- },
2256
- "privacy": "public",
2257
- "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.",
2258
- "inheritedFrom": {
2259
- "name": "FoundationElement",
2260
- "module": "src/foundation-element/foundation-element.ts"
2261
- }
2193
+ "kind": "method",
2194
+ "name": "startTrackingPosition",
2195
+ "privacy": "private"
2262
2196
  },
2263
2197
  {
2264
2198
  "kind": "method",
2265
- "name": "templateChanged",
2199
+ "name": "stopTrackingPosition",
2200
+ "privacy": "private"
2201
+ },
2202
+ {
2203
+ "kind": "method",
2204
+ "name": "definitionChanged",
2266
2205
  "privacy": "protected",
2267
- "return": {
2268
- "type": {
2269
- "text": "void"
2206
+ "parameters": [
2207
+ {
2208
+ "name": "oldValue",
2209
+ "type": {
2210
+ "text": "any"
2211
+ }
2212
+ },
2213
+ {
2214
+ "name": "newValue",
2215
+ "type": {
2216
+ "text": "any"
2217
+ }
2270
2218
  }
2271
- },
2272
- "inheritedFrom": {
2273
- "name": "FoundationElement",
2274
- "module": "src/foundation-element/foundation-element.ts"
2275
- }
2219
+ ]
2276
2220
  },
2277
2221
  {
2278
- "kind": "field",
2279
- "name": "styles",
2280
- "type": {
2281
- "text": "ElementStyles | void | null"
2282
- },
2283
- "privacy": "public",
2284
- "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.",
2285
- "inheritedFrom": {
2286
- "name": "FoundationElement",
2287
- "module": "src/foundation-element/foundation-element.ts"
2288
- }
2222
+ "kind": "method",
2223
+ "name": "openChanged",
2224
+ "privacy": "protected"
2289
2225
  },
2290
2226
  {
2291
2227
  "kind": "method",
2292
- "name": "stylesChanged",
2293
- "privacy": "protected",
2294
- "return": {
2295
- "type": {
2296
- "text": "void"
2228
+ "name": "toggleActionsMenuVisibility"
2229
+ },
2230
+ {
2231
+ "kind": "method",
2232
+ "name": "onPopoverToggle",
2233
+ "parameters": [
2234
+ {
2235
+ "name": "event",
2236
+ "type": {
2237
+ "text": "Event"
2238
+ }
2297
2239
  }
2298
- },
2299
- "inheritedFrom": {
2300
- "name": "FoundationElement",
2301
- "module": "src/foundation-element/foundation-element.ts"
2302
- }
2240
+ ],
2241
+ "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
2303
2242
  },
2304
2243
  {
2305
2244
  "kind": "method",
2306
- "name": "compose",
2307
- "privacy": "public",
2308
- "static": true,
2245
+ "name": "onIconOpenerKeydown",
2309
2246
  "return": {
2310
2247
  "type": {
2311
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2248
+ "text": "boolean"
2312
2249
  }
2313
2250
  },
2314
2251
  "parameters": [
2315
2252
  {
2316
- "name": "this",
2253
+ "name": "event",
2317
2254
  "type": {
2318
- "text": "K"
2255
+ "text": "KeyboardEvent"
2319
2256
  }
2320
- },
2321
- {
2322
- "name": "elementDefinition",
2323
- "type": {
2324
- "text": "T"
2325
- },
2326
- "description": "The definition of the element to create the registry\nfunction for."
2327
2257
  }
2328
2258
  ],
2329
- "description": "Defines an element registry function with a set of element definition defaults.",
2330
- "inheritedFrom": {
2331
- "name": "FoundationElement",
2332
- "module": "src/foundation-element/foundation-element.ts"
2333
- }
2334
- }
2335
- ],
2336
- "events": [
2259
+ "description": "Opens the icon-only opener from the keyboard, as a native button would."
2260
+ },
2337
2261
  {
2338
- "description": "Fires a custom 'change' event when the active item changes",
2339
- "name": "change",
2340
- "inheritedFrom": {
2341
- "name": "Accordion",
2342
- "module": "src/accordion/accordion.ts"
2343
- }
2262
+ "kind": "method",
2263
+ "name": "onActionMenuItemClick",
2264
+ "parameters": [
2265
+ {
2266
+ "name": "callback",
2267
+ "type": {
2268
+ "text": "(rowData) => void | any"
2269
+ }
2270
+ }
2271
+ ]
2272
+ },
2273
+ {
2274
+ "kind": "method",
2275
+ "name": "isActionDisabled",
2276
+ "return": {
2277
+ "type": {
2278
+ "text": "boolean"
2279
+ }
2280
+ },
2281
+ "parameters": [
2282
+ {
2283
+ "name": "action",
2284
+ "type": {
2285
+ "text": "ActionMenuItem"
2286
+ }
2287
+ }
2288
+ ],
2289
+ "description": "Resolves an action's `isDisabled` for the current row."
2290
+ },
2291
+ {
2292
+ "kind": "field",
2293
+ "name": "resolvedActions",
2294
+ "type": {
2295
+ "text": "ActionMenuItem[]"
2296
+ },
2297
+ "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
2298
+ "readonly": true
2299
+ },
2300
+ {
2301
+ "kind": "field",
2302
+ "name": "hasVisibleActions",
2303
+ "type": {
2304
+ "text": "boolean"
2305
+ },
2306
+ "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
2307
+ "readonly": true
2308
+ },
2309
+ {
2310
+ "kind": "field",
2311
+ "name": "allActions",
2312
+ "type": {
2313
+ "text": "ActionMenuItem[]"
2314
+ },
2315
+ "readonly": true
2316
+ },
2317
+ {
2318
+ "kind": "field",
2319
+ "name": "rowData",
2320
+ "readonly": true
2321
+ },
2322
+ {
2323
+ "kind": "method",
2324
+ "name": "getLabel",
2325
+ "parameters": [
2326
+ {
2327
+ "name": "name",
2328
+ "type": {
2329
+ "text": "string | ((rowData: any) => string)"
2330
+ }
2331
+ }
2332
+ ]
2333
+ },
2334
+ {
2335
+ "kind": "method",
2336
+ "name": "getTemplate",
2337
+ "parameters": [
2338
+ {
2339
+ "name": "prefix",
2340
+ "type": {
2341
+ "text": "string"
2342
+ }
2343
+ }
2344
+ ]
2345
+ },
2346
+ {
2347
+ "kind": "field",
2348
+ "name": "_presentation",
2349
+ "type": {
2350
+ "text": "ComponentPresentation | null | undefined"
2351
+ },
2352
+ "privacy": "private",
2353
+ "default": "void 0",
2354
+ "inheritedFrom": {
2355
+ "name": "FoundationElement",
2356
+ "module": "src/foundation-element/foundation-element.ts"
2357
+ }
2358
+ },
2359
+ {
2360
+ "kind": "field",
2361
+ "name": "$presentation",
2362
+ "type": {
2363
+ "text": "ComponentPresentation | null"
2364
+ },
2365
+ "privacy": "public",
2366
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2367
+ "inheritedFrom": {
2368
+ "name": "FoundationElement",
2369
+ "module": "src/foundation-element/foundation-element.ts"
2370
+ }
2371
+ },
2372
+ {
2373
+ "kind": "field",
2374
+ "name": "template",
2375
+ "type": {
2376
+ "text": "ElementViewTemplate | void | null"
2377
+ },
2378
+ "privacy": "public",
2379
+ "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.",
2380
+ "inheritedFrom": {
2381
+ "name": "FoundationElement",
2382
+ "module": "src/foundation-element/foundation-element.ts"
2383
+ }
2384
+ },
2385
+ {
2386
+ "kind": "method",
2387
+ "name": "templateChanged",
2388
+ "privacy": "protected",
2389
+ "return": {
2390
+ "type": {
2391
+ "text": "void"
2392
+ }
2393
+ },
2394
+ "inheritedFrom": {
2395
+ "name": "FoundationElement",
2396
+ "module": "src/foundation-element/foundation-element.ts"
2397
+ }
2398
+ },
2399
+ {
2400
+ "kind": "field",
2401
+ "name": "styles",
2402
+ "type": {
2403
+ "text": "ElementStyles | void | null"
2404
+ },
2405
+ "privacy": "public",
2406
+ "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.",
2407
+ "inheritedFrom": {
2408
+ "name": "FoundationElement",
2409
+ "module": "src/foundation-element/foundation-element.ts"
2410
+ }
2411
+ },
2412
+ {
2413
+ "kind": "method",
2414
+ "name": "stylesChanged",
2415
+ "privacy": "protected",
2416
+ "return": {
2417
+ "type": {
2418
+ "text": "void"
2419
+ }
2420
+ },
2421
+ "inheritedFrom": {
2422
+ "name": "FoundationElement",
2423
+ "module": "src/foundation-element/foundation-element.ts"
2424
+ }
2425
+ },
2426
+ {
2427
+ "kind": "method",
2428
+ "name": "compose",
2429
+ "privacy": "public",
2430
+ "static": true,
2431
+ "return": {
2432
+ "type": {
2433
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2434
+ }
2435
+ },
2436
+ "parameters": [
2437
+ {
2438
+ "name": "this",
2439
+ "type": {
2440
+ "text": "K"
2441
+ }
2442
+ },
2443
+ {
2444
+ "name": "elementDefinition",
2445
+ "type": {
2446
+ "text": "T"
2447
+ },
2448
+ "description": "The definition of the element to create the registry\nfunction for."
2449
+ }
2450
+ ],
2451
+ "description": "Defines an element registry function with a set of element definition defaults.",
2452
+ "inheritedFrom": {
2453
+ "name": "FoundationElement",
2454
+ "module": "src/foundation-element/foundation-element.ts"
2455
+ }
2344
2456
  }
2345
- ]
2346
- },
2347
- {
2348
- "kind": "variable",
2349
- "name": "foundationAccordionShadowOptions",
2350
- "type": {
2351
- "text": "ShadowRootInit"
2352
- },
2353
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2354
- },
2355
- {
2356
- "kind": "variable",
2357
- "name": "defaultAccordionConfig",
2358
- "type": {
2359
- "text": "object"
2457
+ ],
2458
+ "attributes": [
2459
+ {
2460
+ "name": "is-vertical",
2461
+ "type": {
2462
+ "text": "boolean"
2463
+ },
2464
+ "default": "false",
2465
+ "fieldName": "isVertical"
2466
+ },
2467
+ {
2468
+ "name": "add-default-actions",
2469
+ "type": {
2470
+ "text": "boolean"
2471
+ },
2472
+ "default": "true",
2473
+ "fieldName": "addDefaultActions"
2474
+ },
2475
+ {
2476
+ "name": "auto-close-on-action",
2477
+ "type": {
2478
+ "text": "boolean"
2479
+ },
2480
+ "default": "true",
2481
+ "fieldName": "autoCloseOnAction"
2482
+ },
2483
+ {
2484
+ "name": "name",
2485
+ "type": {
2486
+ "text": "string"
2487
+ },
2488
+ "default": "'Actions'",
2489
+ "fieldName": "name"
2490
+ },
2491
+ {
2492
+ "name": "icon-name",
2493
+ "type": {
2494
+ "text": "string"
2495
+ },
2496
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
2497
+ "fieldName": "iconName"
2498
+ },
2499
+ {
2500
+ "name": "open",
2501
+ "type": {
2502
+ "text": "boolean"
2503
+ },
2504
+ "default": "false",
2505
+ "fieldName": "open"
2506
+ },
2507
+ {
2508
+ "name": "buttonAppearance",
2509
+ "type": {
2510
+ "text": "string"
2511
+ },
2512
+ "fieldName": "buttonAppearance"
2513
+ },
2514
+ {
2515
+ "name": "hide-disabled",
2516
+ "type": {
2517
+ "text": "boolean"
2518
+ },
2519
+ "default": "false",
2520
+ "fieldName": "hideDisabled"
2521
+ },
2522
+ {
2523
+ "name": "hide-menu-single-option",
2524
+ "type": {
2525
+ "text": "boolean"
2526
+ },
2527
+ "default": "false",
2528
+ "fieldName": "hideMenuSingleOption"
2529
+ }
2530
+ ],
2531
+ "superclass": {
2532
+ "name": "FoundationElement",
2533
+ "package": "@microsoft/fast-foundation"
2360
2534
  },
2361
- "default": "{}"
2535
+ "tagName": "%%prefix%%-actions-menu",
2536
+ "customElement": true
2362
2537
  },
2363
2538
  {
2364
2539
  "kind": "variable",
2365
- "name": "foundationAccordion",
2366
- "description": "The Foundation Accordion",
2540
+ "name": "foundationActionsMenu",
2541
+ "description": "The Foundation Actions Menu",
2367
2542
  "privacy": "public"
2368
2543
  }
2369
2544
  ],
2370
2545
  "exports": [
2371
2546
  {
2372
2547
  "kind": "js",
2373
- "name": "Accordion",
2548
+ "name": "ActionsMenu",
2374
2549
  "declaration": {
2375
- "name": "Accordion",
2376
- "module": "src/accordion/accordion.ts"
2550
+ "name": "ActionsMenu",
2551
+ "module": "src/actions-menu/actions-menu.ts"
2377
2552
  }
2378
2553
  },
2379
2554
  {
2380
2555
  "kind": "js",
2381
- "name": "foundationAccordionShadowOptions",
2556
+ "name": "foundationActionsMenu",
2382
2557
  "declaration": {
2383
- "name": "foundationAccordionShadowOptions",
2384
- "module": "src/accordion/accordion.ts"
2558
+ "name": "foundationActionsMenu",
2559
+ "module": "src/actions-menu/actions-menu.ts"
2385
2560
  }
2386
- },
2561
+ }
2562
+ ]
2563
+ },
2564
+ {
2565
+ "kind": "javascript-module",
2566
+ "path": "src/actions-menu/ag-menu.styles.ts",
2567
+ "declarations": [
2387
2568
  {
2388
- "kind": "js",
2389
- "name": "defaultAccordionConfig",
2390
- "declaration": {
2391
- "name": "defaultAccordionConfig",
2392
- "module": "src/accordion/accordion.ts"
2393
- }
2394
- },
2569
+ "kind": "function",
2570
+ "name": "agMenuStyles",
2571
+ "return": {
2572
+ "type": {
2573
+ "text": ""
2574
+ }
2575
+ },
2576
+ "parameters": [
2577
+ {
2578
+ "name": "menuSelector",
2579
+ "type": {
2580
+ "text": "string"
2581
+ },
2582
+ "description": "Selects the menu surface. May be a selector list."
2583
+ },
2584
+ {
2585
+ "name": "itemSelector",
2586
+ "type": {
2587
+ "text": "string"
2588
+ },
2589
+ "description": "Selects a menu item. Must be a single selector, as states are appended to it."
2590
+ }
2591
+ ],
2592
+ "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
2593
+ "privacy": "public"
2594
+ }
2595
+ ],
2596
+ "exports": [
2395
2597
  {
2396
2598
  "kind": "js",
2397
- "name": "foundationAccordion",
2599
+ "name": "agMenuStyles",
2398
2600
  "declaration": {
2399
- "name": "foundationAccordion",
2400
- "module": "src/accordion/accordion.ts"
2601
+ "name": "agMenuStyles",
2602
+ "module": "src/actions-menu/ag-menu.styles.ts"
2401
2603
  }
2402
2604
  }
2403
2605
  ]
2404
2606
  },
2405
2607
  {
2406
2608
  "kind": "javascript-module",
2407
- "path": "src/accordion/index.ts",
2609
+ "path": "src/actions-menu/index.ts",
2408
2610
  "declarations": [],
2409
2611
  "exports": [
2410
2612
  {
@@ -2412,7 +2614,7 @@
2412
2614
  "name": "*",
2413
2615
  "declaration": {
2414
2616
  "name": "*",
2415
- "package": "./accordion.template"
2617
+ "package": "./actions-menu.styles"
2416
2618
  }
2417
2619
  },
2418
2620
  {
@@ -2420,7 +2622,7 @@
2420
2622
  "name": "*",
2421
2623
  "declaration": {
2422
2624
  "name": "*",
2423
- "package": "./accordion.styles"
2625
+ "package": "./actions-menu.template"
2424
2626
  }
2425
2627
  },
2426
2628
  {
@@ -2428,41 +2630,26 @@
2428
2630
  "name": "*",
2429
2631
  "declaration": {
2430
2632
  "name": "*",
2431
- "package": "./accordion"
2633
+ "package": "./actions-menu"
2634
+ }
2635
+ },
2636
+ {
2637
+ "kind": "js",
2638
+ "name": "*",
2639
+ "declaration": {
2640
+ "name": "*",
2641
+ "package": "./ag-menu.styles"
2432
2642
  }
2433
2643
  }
2434
2644
  ]
2435
2645
  },
2436
2646
  {
2437
2647
  "kind": "javascript-module",
2438
- "path": "src/actions-menu/actions-menu.styles.ts",
2648
+ "path": "src/accordion/accordion.styles.ts",
2439
2649
  "declarations": [
2440
2650
  {
2441
2651
  "kind": "function",
2442
- "name": "actionsMenuBaseStyles",
2443
- "return": {
2444
- "type": {
2445
- "text": "ElementStyles"
2446
- }
2447
- },
2448
- "parameters": [
2449
- {
2450
- "name": "context",
2451
- "type": {
2452
- "text": "ElementDefinitionContext"
2453
- }
2454
- },
2455
- {
2456
- "name": "definition",
2457
- "type": {
2458
- "text": "FoundationElementDefinition"
2459
- }
2460
- }
2461
- ]
2462
- },
2463
- {
2464
- "kind": "function",
2465
- "name": "foundationActionsMenuStyles",
2652
+ "name": "foundationAccordionStyles",
2466
2653
  "return": {
2467
2654
  "type": {
2468
2655
  "text": "ElementStyles"
@@ -2487,376 +2674,277 @@
2487
2674
  "exports": [
2488
2675
  {
2489
2676
  "kind": "js",
2490
- "name": "actionsMenuBaseStyles",
2491
- "declaration": {
2492
- "name": "actionsMenuBaseStyles",
2493
- "module": "src/actions-menu/actions-menu.styles.ts"
2494
- }
2495
- },
2496
- {
2497
- "kind": "js",
2498
- "name": "foundationActionsMenuStyles",
2499
- "declaration": {
2500
- "name": "foundationActionsMenuStyles",
2501
- "module": "src/actions-menu/actions-menu.styles.ts"
2502
- }
2503
- }
2504
- ]
2505
- },
2506
- {
2507
- "kind": "javascript-module",
2508
- "path": "src/actions-menu/actions-menu.template.ts",
2509
- "declarations": [
2510
- {
2511
- "kind": "variable",
2512
- "name": "menuTemplate"
2513
- },
2514
- {
2515
- "kind": "variable",
2516
- "name": "singleOptionTemplate"
2517
- },
2518
- {
2519
- "kind": "variable",
2520
- "name": "foundationActionsMenuTemplate",
2521
- "type": {
2522
- "text": "ViewTemplate<ActionsMenu>"
2523
- },
2524
- "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`"
2525
- }
2526
- ],
2527
- "exports": [
2528
- {
2529
- "kind": "js",
2530
- "name": "menuTemplate",
2531
- "declaration": {
2532
- "name": "menuTemplate",
2533
- "module": "src/actions-menu/actions-menu.template.ts"
2534
- }
2535
- },
2536
- {
2537
- "kind": "js",
2538
- "name": "singleOptionTemplate",
2539
- "declaration": {
2540
- "name": "singleOptionTemplate",
2541
- "module": "src/actions-menu/actions-menu.template.ts"
2542
- }
2543
- },
2544
- {
2545
- "kind": "js",
2546
- "name": "foundationActionsMenuTemplate",
2677
+ "name": "foundationAccordionStyles",
2547
2678
  "declaration": {
2548
- "name": "foundationActionsMenuTemplate",
2549
- "module": "src/actions-menu/actions-menu.template.ts"
2679
+ "name": "foundationAccordionStyles",
2680
+ "module": "src/accordion/accordion.styles.ts"
2550
2681
  }
2551
2682
  }
2552
2683
  ]
2553
2684
  },
2554
2685
  {
2555
2686
  "kind": "javascript-module",
2556
- "path": "src/actions-menu/actions-menu.ts",
2687
+ "path": "src/accordion/accordion.template.ts",
2557
2688
  "declarations": [
2558
2689
  {
2559
- "kind": "class",
2560
- "description": "",
2561
- "name": "ActionsMenu",
2562
- "members": [
2563
- {
2564
- "kind": "field",
2565
- "name": "actions",
2566
- "type": {
2567
- "text": "ActionMenuItem[]"
2568
- }
2569
- },
2570
- {
2571
- "kind": "field",
2572
- "name": "actionsResolver",
2573
- "type": {
2574
- "text": "ActionMenuItemsResolver | undefined"
2575
- },
2576
- "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
2577
- },
2578
- {
2579
- "kind": "field",
2580
- "name": "isVertical",
2581
- "type": {
2582
- "text": "boolean"
2583
- },
2584
- "default": "false"
2585
- },
2586
- {
2587
- "kind": "field",
2588
- "name": "addDefaultActions",
2589
- "type": {
2590
- "text": "boolean"
2591
- },
2592
- "default": "true"
2593
- },
2594
- {
2595
- "kind": "field",
2596
- "name": "autoCloseOnAction",
2597
- "type": {
2598
- "text": "boolean"
2599
- },
2600
- "default": "true"
2601
- },
2602
- {
2603
- "kind": "field",
2604
- "name": "classNames",
2605
- "type": {
2606
- "text": "string"
2607
- }
2608
- },
2609
- {
2610
- "kind": "field",
2611
- "name": "definition",
2612
- "type": {
2613
- "text": "any"
2614
- }
2615
- },
2616
- {
2617
- "kind": "field",
2618
- "name": "name",
2619
- "type": {
2620
- "text": "string"
2621
- },
2622
- "default": "'Actions'"
2623
- },
2624
- {
2625
- "kind": "field",
2626
- "name": "iconName",
2627
- "type": {
2628
- "text": "string"
2629
- },
2630
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
2631
- },
2690
+ "kind": "function",
2691
+ "name": "foundationAccordionTemplate",
2692
+ "return": {
2693
+ "type": {
2694
+ "text": "ViewTemplate<Accordion>"
2695
+ }
2696
+ },
2697
+ "parameters": [
2632
2698
  {
2633
- "kind": "field",
2634
- "name": "open",
2699
+ "name": "context",
2635
2700
  "type": {
2636
- "text": "boolean"
2637
- },
2638
- "default": "false"
2701
+ "text": "ElementDefinitionContext"
2702
+ }
2639
2703
  },
2640
2704
  {
2641
- "kind": "field",
2642
- "name": "buttonAppearance",
2705
+ "name": "definition",
2643
2706
  "type": {
2644
- "text": "string"
2707
+ "text": "FoundationElementDefinition"
2645
2708
  }
2646
- },
2709
+ }
2710
+ ]
2711
+ }
2712
+ ],
2713
+ "exports": [
2714
+ {
2715
+ "kind": "js",
2716
+ "name": "foundationAccordionTemplate",
2717
+ "declaration": {
2718
+ "name": "foundationAccordionTemplate",
2719
+ "module": "src/accordion/accordion.template.ts"
2720
+ }
2721
+ }
2722
+ ]
2723
+ },
2724
+ {
2725
+ "kind": "javascript-module",
2726
+ "path": "src/accordion/accordion.ts",
2727
+ "declarations": [
2728
+ {
2729
+ "kind": "class",
2730
+ "description": "",
2731
+ "name": "Accordion",
2732
+ "superclass": {
2733
+ "name": "FASTAccordion",
2734
+ "package": "@microsoft/fast-foundation"
2735
+ },
2736
+ "tagName": "%%prefix%%-accordion",
2737
+ "customElement": true,
2738
+ "attributes": [
2647
2739
  {
2648
- "kind": "field",
2649
- "name": "hideDisabled",
2740
+ "name": "expand-mode",
2650
2741
  "type": {
2651
- "text": "boolean"
2742
+ "text": "AccordionExpandMode"
2652
2743
  },
2653
- "default": "false"
2654
- },
2744
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2745
+ "fieldName": "expandmode",
2746
+ "inheritedFrom": {
2747
+ "name": "Accordion",
2748
+ "module": "src/accordion/accordion.ts"
2749
+ }
2750
+ }
2751
+ ],
2752
+ "members": [
2655
2753
  {
2656
2754
  "kind": "field",
2657
- "name": "hideMenuSingleOption",
2755
+ "name": "expandmode",
2658
2756
  "type": {
2659
- "text": "boolean"
2757
+ "text": "AccordionExpandMode"
2660
2758
  },
2661
- "default": "false"
2662
- },
2663
- {
2664
- "kind": "field",
2665
- "name": "singleOption",
2666
- "type": {
2667
- "text": "ActionMenuItem"
2759
+ "privacy": "public",
2760
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2761
+ "inheritedFrom": {
2762
+ "name": "Accordion",
2763
+ "module": "src/accordion/accordion.ts"
2668
2764
  }
2669
2765
  },
2670
2766
  {
2671
2767
  "kind": "field",
2672
- "name": "actionsMenu",
2768
+ "name": "activeid",
2673
2769
  "type": {
2674
- "text": "HTMLElement"
2770
+ "text": "string | null"
2771
+ },
2772
+ "privacy": "private",
2773
+ "inheritedFrom": {
2774
+ "name": "Accordion",
2775
+ "module": "src/accordion/accordion.ts"
2675
2776
  }
2676
2777
  },
2677
2778
  {
2678
2779
  "kind": "field",
2679
- "name": "actionsOpener",
2780
+ "name": "activeItemIndex",
2680
2781
  "type": {
2681
- "text": "HTMLElement"
2782
+ "text": "number"
2783
+ },
2784
+ "privacy": "private",
2785
+ "default": "0",
2786
+ "inheritedFrom": {
2787
+ "name": "Accordion",
2788
+ "module": "src/accordion/accordion.ts"
2682
2789
  }
2683
2790
  },
2684
2791
  {
2685
2792
  "kind": "field",
2686
- "name": "positionTracker",
2793
+ "name": "accordionIds",
2687
2794
  "type": {
2688
- "text": "AnchoredPopoverPositionTracker | undefined"
2795
+ "text": "Array<string | null>"
2689
2796
  },
2690
- "privacy": "private"
2797
+ "privacy": "private",
2798
+ "inheritedFrom": {
2799
+ "name": "Accordion",
2800
+ "module": "src/accordion/accordion.ts"
2801
+ }
2691
2802
  },
2692
2803
  {
2693
2804
  "kind": "field",
2694
- "name": "focusMenuOnOpen",
2695
- "type": {
2696
- "text": "boolean"
2697
- },
2805
+ "name": "change",
2698
2806
  "privacy": "private",
2699
- "default": "false",
2700
- "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
2701
- },
2702
- {
2703
- "kind": "method",
2704
- "name": "updateMenuPosition",
2705
- "privacy": "private"
2706
- },
2707
- {
2708
- "kind": "method",
2709
- "name": "startTrackingPosition",
2710
- "privacy": "private"
2711
- },
2712
- {
2713
- "kind": "method",
2714
- "name": "stopTrackingPosition",
2715
- "privacy": "private"
2807
+ "inheritedFrom": {
2808
+ "name": "Accordion",
2809
+ "module": "src/accordion/accordion.ts"
2810
+ }
2716
2811
  },
2717
2812
  {
2718
2813
  "kind": "method",
2719
- "name": "definitionChanged",
2720
- "privacy": "protected",
2721
- "parameters": [
2722
- {
2723
- "name": "oldValue",
2724
- "type": {
2725
- "text": "any"
2726
- }
2727
- },
2728
- {
2729
- "name": "newValue",
2730
- "type": {
2731
- "text": "any"
2732
- }
2814
+ "name": "findExpandedItem",
2815
+ "privacy": "private",
2816
+ "return": {
2817
+ "type": {
2818
+ "text": "AccordionItem | null"
2733
2819
  }
2734
- ]
2735
- },
2736
- {
2737
- "kind": "method",
2738
- "name": "openChanged",
2739
- "privacy": "protected"
2740
- },
2741
- {
2742
- "kind": "method",
2743
- "name": "toggleActionsMenuVisibility"
2820
+ },
2821
+ "inheritedFrom": {
2822
+ "name": "Accordion",
2823
+ "module": "src/accordion/accordion.ts"
2824
+ }
2744
2825
  },
2745
2826
  {
2746
- "kind": "method",
2747
- "name": "onPopoverToggle",
2748
- "parameters": [
2749
- {
2750
- "name": "event",
2751
- "type": {
2752
- "text": "Event"
2753
- }
2754
- }
2755
- ],
2756
- "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
2827
+ "kind": "field",
2828
+ "name": "setItems",
2829
+ "privacy": "private",
2830
+ "inheritedFrom": {
2831
+ "name": "Accordion",
2832
+ "module": "src/accordion/accordion.ts"
2833
+ }
2757
2834
  },
2758
2835
  {
2759
2836
  "kind": "method",
2760
- "name": "onIconOpenerKeydown",
2837
+ "name": "resetItems",
2838
+ "privacy": "private",
2761
2839
  "return": {
2762
2840
  "type": {
2763
- "text": "boolean"
2841
+ "text": "void"
2764
2842
  }
2765
2843
  },
2766
- "parameters": [
2767
- {
2768
- "name": "event",
2769
- "type": {
2770
- "text": "KeyboardEvent"
2771
- }
2772
- }
2773
- ],
2774
- "description": "Opens the icon-only opener from the keyboard, as a native button would."
2844
+ "inheritedFrom": {
2845
+ "name": "Accordion",
2846
+ "module": "src/accordion/accordion.ts"
2847
+ }
2775
2848
  },
2776
2849
  {
2777
- "kind": "method",
2778
- "name": "onActionMenuItemClick",
2779
- "parameters": [
2780
- {
2781
- "name": "callback",
2782
- "type": {
2783
- "text": "(rowData) => void | any"
2784
- }
2785
- }
2786
- ]
2850
+ "kind": "field",
2851
+ "name": "removeItemListeners",
2852
+ "privacy": "private",
2853
+ "inheritedFrom": {
2854
+ "name": "Accordion",
2855
+ "module": "src/accordion/accordion.ts"
2856
+ }
2857
+ },
2858
+ {
2859
+ "kind": "field",
2860
+ "name": "activeItemChange",
2861
+ "privacy": "private",
2862
+ "inheritedFrom": {
2863
+ "name": "Accordion",
2864
+ "module": "src/accordion/accordion.ts"
2865
+ }
2787
2866
  },
2788
2867
  {
2789
2868
  "kind": "method",
2790
- "name": "isActionDisabled",
2869
+ "name": "getItemIds",
2870
+ "privacy": "private",
2791
2871
  "return": {
2792
2872
  "type": {
2793
- "text": "boolean"
2794
- }
2795
- },
2796
- "parameters": [
2797
- {
2798
- "name": "action",
2799
- "type": {
2800
- "text": "ActionMenuItem"
2801
- }
2873
+ "text": "Array<string | null>"
2802
2874
  }
2803
- ],
2804
- "description": "Resolves an action's `isDisabled` for the current row."
2805
- },
2806
- {
2807
- "kind": "field",
2808
- "name": "resolvedActions",
2809
- "type": {
2810
- "text": "ActionMenuItem[]"
2811
2875
  },
2812
- "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
2813
- "readonly": true
2876
+ "inheritedFrom": {
2877
+ "name": "Accordion",
2878
+ "module": "src/accordion/accordion.ts"
2879
+ }
2814
2880
  },
2815
2881
  {
2816
- "kind": "field",
2817
- "name": "hasVisibleActions",
2818
- "type": {
2819
- "text": "boolean"
2882
+ "kind": "method",
2883
+ "name": "isSingleExpandMode",
2884
+ "privacy": "private",
2885
+ "return": {
2886
+ "type": {
2887
+ "text": "boolean"
2888
+ }
2820
2889
  },
2821
- "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
2822
- "readonly": true
2890
+ "inheritedFrom": {
2891
+ "name": "Accordion",
2892
+ "module": "src/accordion/accordion.ts"
2893
+ }
2823
2894
  },
2824
2895
  {
2825
2896
  "kind": "field",
2826
- "name": "allActions",
2827
- "type": {
2828
- "text": "ActionMenuItem[]"
2829
- },
2830
- "readonly": true
2897
+ "name": "handleItemKeyDown",
2898
+ "privacy": "private",
2899
+ "inheritedFrom": {
2900
+ "name": "Accordion",
2901
+ "module": "src/accordion/accordion.ts"
2902
+ }
2831
2903
  },
2832
2904
  {
2833
2905
  "kind": "field",
2834
- "name": "rowData",
2835
- "readonly": true
2906
+ "name": "handleItemFocus",
2907
+ "privacy": "private",
2908
+ "inheritedFrom": {
2909
+ "name": "Accordion",
2910
+ "module": "src/accordion/accordion.ts"
2911
+ }
2836
2912
  },
2837
2913
  {
2838
2914
  "kind": "method",
2839
- "name": "getLabel",
2915
+ "name": "adjust",
2916
+ "privacy": "private",
2917
+ "return": {
2918
+ "type": {
2919
+ "text": "void"
2920
+ }
2921
+ },
2840
2922
  "parameters": [
2841
2923
  {
2842
- "name": "name",
2924
+ "name": "adjustment",
2843
2925
  "type": {
2844
- "text": "string | ((rowData: any) => string)"
2926
+ "text": "number"
2845
2927
  }
2846
2928
  }
2847
- ]
2929
+ ],
2930
+ "inheritedFrom": {
2931
+ "name": "Accordion",
2932
+ "module": "src/accordion/accordion.ts"
2933
+ }
2848
2934
  },
2849
2935
  {
2850
2936
  "kind": "method",
2851
- "name": "getTemplate",
2852
- "parameters": [
2853
- {
2854
- "name": "prefix",
2855
- "type": {
2856
- "text": "string"
2857
- }
2937
+ "name": "focusItem",
2938
+ "privacy": "private",
2939
+ "return": {
2940
+ "type": {
2941
+ "text": "void"
2858
2942
  }
2859
- ]
2943
+ },
2944
+ "inheritedFrom": {
2945
+ "name": "Accordion",
2946
+ "module": "src/accordion/accordion.ts"
2947
+ }
2860
2948
  },
2861
2949
  {
2862
2950
  "kind": "field",
@@ -2970,158 +3058,78 @@
2970
3058
  }
2971
3059
  }
2972
3060
  ],
2973
- "attributes": [
2974
- {
2975
- "name": "is-vertical",
2976
- "type": {
2977
- "text": "boolean"
2978
- },
2979
- "default": "false",
2980
- "fieldName": "isVertical"
2981
- },
2982
- {
2983
- "name": "add-default-actions",
2984
- "type": {
2985
- "text": "boolean"
2986
- },
2987
- "default": "true",
2988
- "fieldName": "addDefaultActions"
2989
- },
2990
- {
2991
- "name": "auto-close-on-action",
2992
- "type": {
2993
- "text": "boolean"
2994
- },
2995
- "default": "true",
2996
- "fieldName": "autoCloseOnAction"
2997
- },
2998
- {
2999
- "name": "name",
3000
- "type": {
3001
- "text": "string"
3002
- },
3003
- "default": "'Actions'",
3004
- "fieldName": "name"
3005
- },
3006
- {
3007
- "name": "icon-name",
3008
- "type": {
3009
- "text": "string"
3010
- },
3011
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
3012
- "fieldName": "iconName"
3013
- },
3014
- {
3015
- "name": "open",
3016
- "type": {
3017
- "text": "boolean"
3018
- },
3019
- "default": "false",
3020
- "fieldName": "open"
3021
- },
3022
- {
3023
- "name": "buttonAppearance",
3024
- "type": {
3025
- "text": "string"
3026
- },
3027
- "fieldName": "buttonAppearance"
3028
- },
3029
- {
3030
- "name": "hide-disabled",
3031
- "type": {
3032
- "text": "boolean"
3033
- },
3034
- "default": "false",
3035
- "fieldName": "hideDisabled"
3036
- },
3061
+ "events": [
3037
3062
  {
3038
- "name": "hide-menu-single-option",
3039
- "type": {
3040
- "text": "boolean"
3041
- },
3042
- "default": "false",
3043
- "fieldName": "hideMenuSingleOption"
3063
+ "description": "Fires a custom 'change' event when the active item changes",
3064
+ "name": "change",
3065
+ "inheritedFrom": {
3066
+ "name": "Accordion",
3067
+ "module": "src/accordion/accordion.ts"
3068
+ }
3044
3069
  }
3045
- ],
3046
- "superclass": {
3047
- "name": "FoundationElement",
3048
- "package": "@microsoft/fast-foundation"
3070
+ ]
3071
+ },
3072
+ {
3073
+ "kind": "variable",
3074
+ "name": "foundationAccordionShadowOptions",
3075
+ "type": {
3076
+ "text": "ShadowRootInit"
3049
3077
  },
3050
- "tagName": "%%prefix%%-actions-menu",
3051
- "customElement": true
3078
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3052
3079
  },
3053
3080
  {
3054
3081
  "kind": "variable",
3055
- "name": "foundationActionsMenu",
3056
- "description": "The Foundation Actions Menu",
3082
+ "name": "defaultAccordionConfig",
3083
+ "type": {
3084
+ "text": "object"
3085
+ },
3086
+ "default": "{}"
3087
+ },
3088
+ {
3089
+ "kind": "variable",
3090
+ "name": "foundationAccordion",
3091
+ "description": "The Foundation Accordion",
3057
3092
  "privacy": "public"
3058
3093
  }
3059
3094
  ],
3060
3095
  "exports": [
3061
3096
  {
3062
3097
  "kind": "js",
3063
- "name": "ActionsMenu",
3098
+ "name": "Accordion",
3064
3099
  "declaration": {
3065
- "name": "ActionsMenu",
3066
- "module": "src/actions-menu/actions-menu.ts"
3100
+ "name": "Accordion",
3101
+ "module": "src/accordion/accordion.ts"
3067
3102
  }
3068
3103
  },
3069
3104
  {
3070
3105
  "kind": "js",
3071
- "name": "foundationActionsMenu",
3106
+ "name": "foundationAccordionShadowOptions",
3072
3107
  "declaration": {
3073
- "name": "foundationActionsMenu",
3074
- "module": "src/actions-menu/actions-menu.ts"
3108
+ "name": "foundationAccordionShadowOptions",
3109
+ "module": "src/accordion/accordion.ts"
3075
3110
  }
3076
- }
3077
- ]
3078
- },
3079
- {
3080
- "kind": "javascript-module",
3081
- "path": "src/actions-menu/ag-menu.styles.ts",
3082
- "declarations": [
3111
+ },
3083
3112
  {
3084
- "kind": "function",
3085
- "name": "agMenuStyles",
3086
- "return": {
3087
- "type": {
3088
- "text": ""
3089
- }
3090
- },
3091
- "parameters": [
3092
- {
3093
- "name": "menuSelector",
3094
- "type": {
3095
- "text": "string"
3096
- },
3097
- "description": "Selects the menu surface. May be a selector list."
3098
- },
3099
- {
3100
- "name": "itemSelector",
3101
- "type": {
3102
- "text": "string"
3103
- },
3104
- "description": "Selects a menu item. Must be a single selector, as states are appended to it."
3105
- }
3106
- ],
3107
- "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
3108
- "privacy": "public"
3109
- }
3110
- ],
3111
- "exports": [
3113
+ "kind": "js",
3114
+ "name": "defaultAccordionConfig",
3115
+ "declaration": {
3116
+ "name": "defaultAccordionConfig",
3117
+ "module": "src/accordion/accordion.ts"
3118
+ }
3119
+ },
3112
3120
  {
3113
3121
  "kind": "js",
3114
- "name": "agMenuStyles",
3122
+ "name": "foundationAccordion",
3115
3123
  "declaration": {
3116
- "name": "agMenuStyles",
3117
- "module": "src/actions-menu/ag-menu.styles.ts"
3124
+ "name": "foundationAccordion",
3125
+ "module": "src/accordion/accordion.ts"
3118
3126
  }
3119
3127
  }
3120
3128
  ]
3121
3129
  },
3122
3130
  {
3123
3131
  "kind": "javascript-module",
3124
- "path": "src/actions-menu/index.ts",
3132
+ "path": "src/accordion/index.ts",
3125
3133
  "declarations": [],
3126
3134
  "exports": [
3127
3135
  {
@@ -3129,15 +3137,7 @@
3129
3137
  "name": "*",
3130
3138
  "declaration": {
3131
3139
  "name": "*",
3132
- "package": "./actions-menu.styles"
3133
- }
3134
- },
3135
- {
3136
- "kind": "js",
3137
- "name": "*",
3138
- "declaration": {
3139
- "name": "*",
3140
- "package": "./actions-menu.template"
3140
+ "package": "./accordion.template"
3141
3141
  }
3142
3142
  },
3143
3143
  {
@@ -3145,7 +3145,7 @@
3145
3145
  "name": "*",
3146
3146
  "declaration": {
3147
3147
  "name": "*",
3148
- "package": "./actions-menu"
3148
+ "package": "./accordion.styles"
3149
3149
  }
3150
3150
  },
3151
3151
  {
@@ -3153,7 +3153,7 @@
3153
3153
  "name": "*",
3154
3154
  "declaration": {
3155
3155
  "name": "*",
3156
- "package": "./ag-menu.styles"
3156
+ "package": "./accordion"
3157
3157
  }
3158
3158
  }
3159
3159
  ]