@genesislcap/foundation-ui 15.92.0-HT-305.2 → 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.
@@ -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,238 +1972,376 @@
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"
2085
+ "default": "true"
2086
+ },
2087
+ {
2088
+ "kind": "field",
2089
+ "name": "classNames",
2090
+ "type": {
2091
+ "text": "string"
2076
2092
  }
2077
2093
  },
2078
2094
  {
2079
2095
  "kind": "field",
2080
- "name": "change",
2081
- "privacy": "private",
2082
- "inheritedFrom": {
2083
- "name": "Accordion",
2084
- "module": "src/accordion/accordion.ts"
2096
+ "name": "definition",
2097
+ "type": {
2098
+ "text": "any"
2085
2099
  }
2086
2100
  },
2087
2101
  {
2088
- "kind": "method",
2089
- "name": "findExpandedItem",
2090
- "privacy": "private",
2091
- "return": {
2092
- "type": {
2093
- "text": "AccordionItem | null"
2094
- }
2102
+ "kind": "field",
2103
+ "name": "name",
2104
+ "type": {
2105
+ "text": "string"
2095
2106
  },
2096
- "inheritedFrom": {
2097
- "name": "Accordion",
2098
- "module": "src/accordion/accordion.ts"
2099
- }
2107
+ "default": "'Actions'"
2100
2108
  },
2101
2109
  {
2102
2110
  "kind": "field",
2103
- "name": "setItems",
2104
- "privacy": "private",
2105
- "inheritedFrom": {
2106
- "name": "Accordion",
2107
- "module": "src/accordion/accordion.ts"
2108
- }
2111
+ "name": "iconName",
2112
+ "type": {
2113
+ "text": "string"
2114
+ },
2115
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
2109
2116
  },
2110
2117
  {
2111
- "kind": "method",
2112
- "name": "resetItems",
2113
- "privacy": "private",
2114
- "return": {
2115
- "type": {
2116
- "text": "void"
2117
- }
2118
+ "kind": "field",
2119
+ "name": "open",
2120
+ "type": {
2121
+ "text": "boolean"
2118
2122
  },
2119
- "inheritedFrom": {
2120
- "name": "Accordion",
2121
- "module": "src/accordion/accordion.ts"
2122
- }
2123
+ "default": "false"
2123
2124
  },
2124
2125
  {
2125
2126
  "kind": "field",
2126
- "name": "removeItemListeners",
2127
- "privacy": "private",
2128
- "inheritedFrom": {
2129
- "name": "Accordion",
2130
- "module": "src/accordion/accordion.ts"
2127
+ "name": "buttonAppearance",
2128
+ "type": {
2129
+ "text": "string"
2131
2130
  }
2132
2131
  },
2133
2132
  {
2134
2133
  "kind": "field",
2135
- "name": "activeItemChange",
2136
- "privacy": "private",
2137
- "inheritedFrom": {
2138
- "name": "Accordion",
2139
- "module": "src/accordion/accordion.ts"
2140
- }
2134
+ "name": "hideDisabled",
2135
+ "type": {
2136
+ "text": "boolean"
2137
+ },
2138
+ "default": "false"
2141
2139
  },
2142
2140
  {
2143
- "kind": "method",
2144
- "name": "getItemIds",
2145
- "privacy": "private",
2146
- "return": {
2147
- "type": {
2148
- "text": "Array<string | null>"
2149
- }
2141
+ "kind": "field",
2142
+ "name": "hideMenuSingleOption",
2143
+ "type": {
2144
+ "text": "boolean"
2150
2145
  },
2151
- "inheritedFrom": {
2152
- "name": "Accordion",
2153
- "module": "src/accordion/accordion.ts"
2146
+ "default": "false"
2147
+ },
2148
+ {
2149
+ "kind": "field",
2150
+ "name": "singleOption",
2151
+ "type": {
2152
+ "text": "ActionMenuItem"
2154
2153
  }
2155
2154
  },
2156
2155
  {
2157
- "kind": "method",
2158
- "name": "isSingleExpandMode",
2159
- "privacy": "private",
2160
- "return": {
2161
- "type": {
2162
- "text": "boolean"
2163
- }
2164
- },
2165
- "inheritedFrom": {
2166
- "name": "Accordion",
2167
- "module": "src/accordion/accordion.ts"
2156
+ "kind": "field",
2157
+ "name": "actionsMenu",
2158
+ "type": {
2159
+ "text": "HTMLElement"
2168
2160
  }
2169
2161
  },
2170
2162
  {
2171
2163
  "kind": "field",
2172
- "name": "handleItemKeyDown",
2173
- "privacy": "private",
2174
- "inheritedFrom": {
2175
- "name": "Accordion",
2176
- "module": "src/accordion/accordion.ts"
2164
+ "name": "actionsOpener",
2165
+ "type": {
2166
+ "text": "HTMLElement"
2177
2167
  }
2178
2168
  },
2179
2169
  {
2180
2170
  "kind": "field",
2181
- "name": "handleItemFocus",
2171
+ "name": "positionTracker",
2172
+ "type": {
2173
+ "text": "AnchoredPopoverPositionTracker | undefined"
2174
+ },
2175
+ "privacy": "private"
2176
+ },
2177
+ {
2178
+ "kind": "field",
2179
+ "name": "focusMenuOnOpen",
2180
+ "type": {
2181
+ "text": "boolean"
2182
+ },
2182
2183
  "privacy": "private",
2183
- "inheritedFrom": {
2184
- "name": "Accordion",
2185
- "module": "src/accordion/accordion.ts"
2186
- }
2184
+ "default": "false",
2185
+ "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
2187
2186
  },
2188
2187
  {
2189
2188
  "kind": "method",
2190
- "name": "adjust",
2191
- "privacy": "private",
2189
+ "name": "updateMenuPosition",
2190
+ "privacy": "private"
2191
+ },
2192
+ {
2193
+ "kind": "method",
2194
+ "name": "startTrackingPosition",
2195
+ "privacy": "private"
2196
+ },
2197
+ {
2198
+ "kind": "method",
2199
+ "name": "stopTrackingPosition",
2200
+ "privacy": "private"
2201
+ },
2202
+ {
2203
+ "kind": "method",
2204
+ "name": "definitionChanged",
2205
+ "privacy": "protected",
2206
+ "parameters": [
2207
+ {
2208
+ "name": "oldValue",
2209
+ "type": {
2210
+ "text": "any"
2211
+ }
2212
+ },
2213
+ {
2214
+ "name": "newValue",
2215
+ "type": {
2216
+ "text": "any"
2217
+ }
2218
+ }
2219
+ ]
2220
+ },
2221
+ {
2222
+ "kind": "method",
2223
+ "name": "openChanged",
2224
+ "privacy": "protected"
2225
+ },
2226
+ {
2227
+ "kind": "method",
2228
+ "name": "toggleActionsMenuVisibility"
2229
+ },
2230
+ {
2231
+ "kind": "method",
2232
+ "name": "onPopoverToggle",
2233
+ "parameters": [
2234
+ {
2235
+ "name": "event",
2236
+ "type": {
2237
+ "text": "Event"
2238
+ }
2239
+ }
2240
+ ],
2241
+ "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
2242
+ },
2243
+ {
2244
+ "kind": "method",
2245
+ "name": "onIconOpenerKeydown",
2192
2246
  "return": {
2193
2247
  "type": {
2194
- "text": "void"
2248
+ "text": "boolean"
2195
2249
  }
2196
2250
  },
2197
2251
  "parameters": [
2198
2252
  {
2199
- "name": "adjustment",
2253
+ "name": "event",
2200
2254
  "type": {
2201
- "text": "number"
2255
+ "text": "KeyboardEvent"
2202
2256
  }
2203
2257
  }
2204
2258
  ],
2205
- "inheritedFrom": {
2206
- "name": "Accordion",
2207
- "module": "src/accordion/accordion.ts"
2208
- }
2259
+ "description": "Opens the icon-only opener from the keyboard, as a native button would."
2209
2260
  },
2210
2261
  {
2211
2262
  "kind": "method",
2212
- "name": "focusItem",
2213
- "privacy": "private",
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",
2214
2276
  "return": {
2215
2277
  "type": {
2216
- "text": "void"
2278
+ "text": "boolean"
2217
2279
  }
2218
2280
  },
2219
- "inheritedFrom": {
2220
- "name": "Accordion",
2221
- "module": "src/accordion/accordion.ts"
2222
- }
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
+ ]
2223
2345
  },
2224
2346
  {
2225
2347
  "kind": "field",
@@ -2333,78 +2455,158 @@
2333
2455
  }
2334
2456
  }
2335
2457
  ],
2336
- "events": [
2458
+ "attributes": [
2337
2459
  {
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
- }
2344
- }
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"
2360
- },
2361
- "default": "{}"
2362
- },
2363
- {
2364
- "kind": "variable",
2365
- "name": "foundationAccordion",
2366
- "description": "The Foundation Accordion",
2367
- "privacy": "public"
2368
- }
2369
- ],
2370
- "exports": [
2371
- {
2372
- "kind": "js",
2373
- "name": "Accordion",
2374
- "declaration": {
2375
- "name": "Accordion",
2376
- "module": "src/accordion/accordion.ts"
2377
- }
2378
- },
2379
- {
2380
- "kind": "js",
2381
- "name": "foundationAccordionShadowOptions",
2382
- "declaration": {
2383
- "name": "foundationAccordionShadowOptions",
2384
- "module": "src/accordion/accordion.ts"
2385
- }
2386
- },
2387
- {
2388
- "kind": "js",
2389
- "name": "defaultAccordionConfig",
2390
- "declaration": {
2391
- "name": "defaultAccordionConfig",
2392
- "module": "src/accordion/accordion.ts"
2393
- }
2394
- },
2395
- {
2396
- "kind": "js",
2397
- "name": "foundationAccordion",
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"
2534
+ },
2535
+ "tagName": "%%prefix%%-actions-menu",
2536
+ "customElement": true
2537
+ },
2538
+ {
2539
+ "kind": "variable",
2540
+ "name": "foundationActionsMenu",
2541
+ "description": "The Foundation Actions Menu",
2542
+ "privacy": "public"
2543
+ }
2544
+ ],
2545
+ "exports": [
2546
+ {
2547
+ "kind": "js",
2548
+ "name": "ActionsMenu",
2398
2549
  "declaration": {
2399
- "name": "foundationAccordion",
2400
- "module": "src/accordion/accordion.ts"
2550
+ "name": "ActionsMenu",
2551
+ "module": "src/actions-menu/actions-menu.ts"
2552
+ }
2553
+ },
2554
+ {
2555
+ "kind": "js",
2556
+ "name": "foundationActionsMenu",
2557
+ "declaration": {
2558
+ "name": "foundationActionsMenu",
2559
+ "module": "src/actions-menu/actions-menu.ts"
2401
2560
  }
2402
2561
  }
2403
2562
  ]
2404
2563
  },
2405
2564
  {
2406
2565
  "kind": "javascript-module",
2407
- "path": "src/accordion/index.ts",
2566
+ "path": "src/actions-menu/ag-menu.styles.ts",
2567
+ "declarations": [
2568
+ {
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": [
2597
+ {
2598
+ "kind": "js",
2599
+ "name": "agMenuStyles",
2600
+ "declaration": {
2601
+ "name": "agMenuStyles",
2602
+ "module": "src/actions-menu/ag-menu.styles.ts"
2603
+ }
2604
+ }
2605
+ ]
2606
+ },
2607
+ {
2608
+ "kind": "javascript-module",
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,18 +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",
2652
+ "name": "foundationAccordionStyles",
2443
2653
  "return": {
2444
2654
  "type": {
2445
2655
  "text": "ElementStyles"
@@ -2459,13 +2669,29 @@
2459
2669
  }
2460
2670
  }
2461
2671
  ]
2462
- },
2672
+ }
2673
+ ],
2674
+ "exports": [
2675
+ {
2676
+ "kind": "js",
2677
+ "name": "foundationAccordionStyles",
2678
+ "declaration": {
2679
+ "name": "foundationAccordionStyles",
2680
+ "module": "src/accordion/accordion.styles.ts"
2681
+ }
2682
+ }
2683
+ ]
2684
+ },
2685
+ {
2686
+ "kind": "javascript-module",
2687
+ "path": "src/accordion/accordion.template.ts",
2688
+ "declarations": [
2463
2689
  {
2464
2690
  "kind": "function",
2465
- "name": "foundationActionsMenuStyles",
2691
+ "name": "foundationAccordionTemplate",
2466
2692
  "return": {
2467
2693
  "type": {
2468
- "text": "ElementStyles"
2694
+ "text": "ViewTemplate<Accordion>"
2469
2695
  }
2470
2696
  },
2471
2697
  "parameters": [
@@ -2487,376 +2713,238 @@
2487
2713
  "exports": [
2488
2714
  {
2489
2715
  "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",
2716
+ "name": "foundationAccordionTemplate",
2547
2717
  "declaration": {
2548
- "name": "foundationActionsMenuTemplate",
2549
- "module": "src/actions-menu/actions-menu.template.ts"
2718
+ "name": "foundationAccordionTemplate",
2719
+ "module": "src/accordion/accordion.template.ts"
2550
2720
  }
2551
2721
  }
2552
2722
  ]
2553
2723
  },
2554
2724
  {
2555
2725
  "kind": "javascript-module",
2556
- "path": "src/actions-menu/actions-menu.ts",
2726
+ "path": "src/accordion/accordion.ts",
2557
2727
  "declarations": [
2558
2728
  {
2559
2729
  "kind": "class",
2560
2730
  "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
- },
2731
+ "name": "Accordion",
2732
+ "superclass": {
2733
+ "name": "FASTAccordion",
2734
+ "package": "@microsoft/fast-foundation"
2735
+ },
2736
+ "tagName": "%%prefix%%-accordion",
2737
+ "customElement": true,
2738
+ "attributes": [
2594
2739
  {
2595
- "kind": "field",
2596
- "name": "autoCloseOnAction",
2740
+ "name": "expand-mode",
2597
2741
  "type": {
2598
- "text": "boolean"
2742
+ "text": "AccordionExpandMode"
2599
2743
  },
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"
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"
2614
2749
  }
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
- },
2750
+ }
2751
+ ],
2752
+ "members": [
2632
2753
  {
2633
2754
  "kind": "field",
2634
- "name": "open",
2755
+ "name": "expandmode",
2635
2756
  "type": {
2636
- "text": "boolean"
2757
+ "text": "AccordionExpandMode"
2637
2758
  },
2638
- "default": "false"
2639
- },
2640
- {
2641
- "kind": "field",
2642
- "name": "buttonAppearance",
2643
- "type": {
2644
- "text": "string"
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"
2645
2764
  }
2646
2765
  },
2647
2766
  {
2648
2767
  "kind": "field",
2649
- "name": "hideDisabled",
2768
+ "name": "activeid",
2650
2769
  "type": {
2651
- "text": "boolean"
2770
+ "text": "string | null"
2652
2771
  },
2653
- "default": "false"
2772
+ "privacy": "private",
2773
+ "inheritedFrom": {
2774
+ "name": "Accordion",
2775
+ "module": "src/accordion/accordion.ts"
2776
+ }
2654
2777
  },
2655
2778
  {
2656
2779
  "kind": "field",
2657
- "name": "hideMenuSingleOption",
2780
+ "name": "activeItemIndex",
2658
2781
  "type": {
2659
- "text": "boolean"
2782
+ "text": "number"
2660
2783
  },
2661
- "default": "false"
2662
- },
2663
- {
2664
- "kind": "field",
2665
- "name": "singleOption",
2666
- "type": {
2667
- "text": "ActionMenuItem"
2784
+ "privacy": "private",
2785
+ "default": "0",
2786
+ "inheritedFrom": {
2787
+ "name": "Accordion",
2788
+ "module": "src/accordion/accordion.ts"
2668
2789
  }
2669
2790
  },
2670
2791
  {
2671
2792
  "kind": "field",
2672
- "name": "actionsMenu",
2793
+ "name": "accordionIds",
2673
2794
  "type": {
2674
- "text": "HTMLElement"
2795
+ "text": "Array<string | null>"
2796
+ },
2797
+ "privacy": "private",
2798
+ "inheritedFrom": {
2799
+ "name": "Accordion",
2800
+ "module": "src/accordion/accordion.ts"
2675
2801
  }
2676
2802
  },
2677
2803
  {
2678
2804
  "kind": "field",
2679
- "name": "actionsOpener",
2680
- "type": {
2681
- "text": "HTMLElement"
2805
+ "name": "change",
2806
+ "privacy": "private",
2807
+ "inheritedFrom": {
2808
+ "name": "Accordion",
2809
+ "module": "src/accordion/accordion.ts"
2682
2810
  }
2683
2811
  },
2684
2812
  {
2685
- "kind": "field",
2686
- "name": "positionTracker",
2687
- "type": {
2688
- "text": "AnchoredPopoverPositionTracker | undefined"
2813
+ "kind": "method",
2814
+ "name": "findExpandedItem",
2815
+ "privacy": "private",
2816
+ "return": {
2817
+ "type": {
2818
+ "text": "AccordionItem | null"
2819
+ }
2689
2820
  },
2690
- "privacy": "private"
2821
+ "inheritedFrom": {
2822
+ "name": "Accordion",
2823
+ "module": "src/accordion/accordion.ts"
2824
+ }
2691
2825
  },
2692
2826
  {
2693
2827
  "kind": "field",
2694
- "name": "focusMenuOnOpen",
2695
- "type": {
2696
- "text": "boolean"
2697
- },
2828
+ "name": "setItems",
2698
2829
  "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"
2716
- },
2717
- {
2718
- "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
- }
2733
- }
2734
- ]
2735
- },
2736
- {
2737
- "kind": "method",
2738
- "name": "openChanged",
2739
- "privacy": "protected"
2740
- },
2741
- {
2742
- "kind": "method",
2743
- "name": "toggleActionsMenuVisibility"
2744
- },
2745
- {
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()`."
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
  ]