@genesislcap/foundation-zero 15.11.0 → 15.12.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.
@@ -916,42 +916,11 @@
916
916
  },
917
917
  {
918
918
  "kind": "javascript-module",
919
- "path": "src/_config/index.ts",
920
- "declarations": [],
921
- "exports": [
922
- {
923
- "kind": "js",
924
- "name": "*",
925
- "declaration": {
926
- "name": "*",
927
- "package": "./styles"
928
- }
929
- },
930
- {
931
- "kind": "js",
932
- "name": "*",
933
- "declaration": {
934
- "name": "*",
935
- "package": "./tokens"
936
- }
937
- },
938
- {
939
- "kind": "js",
940
- "name": "*",
941
- "declaration": {
942
- "name": "*",
943
- "package": "./values"
944
- }
945
- }
946
- ]
947
- },
948
- {
949
- "kind": "javascript-module",
950
- "path": "src/accordion-item/accordion-item.styles.ts",
919
+ "path": "src/accordion/accordion.styles.ts",
951
920
  "declarations": [
952
921
  {
953
922
  "kind": "function",
954
- "name": "zeroAccordionItemStyles",
923
+ "name": "zeroAccordionStyles",
955
924
  "return": {
956
925
  "type": {
957
926
  "text": "ElementStyles"
@@ -976,24 +945,24 @@
976
945
  "exports": [
977
946
  {
978
947
  "kind": "js",
979
- "name": "zeroAccordionItemStyles",
948
+ "name": "zeroAccordionStyles",
980
949
  "declaration": {
981
- "name": "zeroAccordionItemStyles",
982
- "module": "src/accordion-item/accordion-item.styles.ts"
950
+ "name": "zeroAccordionStyles",
951
+ "module": "src/accordion/accordion.styles.ts"
983
952
  }
984
953
  }
985
954
  ]
986
955
  },
987
956
  {
988
957
  "kind": "javascript-module",
989
- "path": "src/accordion-item/accordion-item.template.ts",
958
+ "path": "src/accordion/accordion.template.ts",
990
959
  "declarations": [
991
960
  {
992
961
  "kind": "function",
993
- "name": "zeroAccordionItemTemplate",
962
+ "name": "zeroAccordionTemplate",
994
963
  "return": {
995
964
  "type": {
996
- "text": "ViewTemplate<AccordionItem>"
965
+ "text": "ViewTemplate<Accordion>"
997
966
  }
998
967
  },
999
968
  "parameters": [
@@ -1015,268 +984,389 @@
1015
984
  "exports": [
1016
985
  {
1017
986
  "kind": "js",
1018
- "name": "zeroAccordionItemTemplate",
987
+ "name": "zeroAccordionTemplate",
1019
988
  "declaration": {
1020
- "name": "zeroAccordionItemTemplate",
1021
- "module": "src/accordion-item/accordion-item.template.ts"
989
+ "name": "zeroAccordionTemplate",
990
+ "module": "src/accordion/accordion.template.ts"
1022
991
  }
1023
992
  }
1024
993
  ]
1025
994
  },
1026
995
  {
1027
996
  "kind": "javascript-module",
1028
- "path": "src/accordion-item/accordion-item.ts",
997
+ "path": "src/accordion/accordion.ts",
1029
998
  "declarations": [
1030
999
  {
1031
1000
  "kind": "class",
1032
1001
  "description": "",
1033
- "name": "AccordionItem",
1002
+ "name": "Accordion",
1034
1003
  "superclass": {
1035
- "name": "FoundationAccordionItem",
1004
+ "name": "FoundationAccordion",
1036
1005
  "package": "@genesislcap/foundation-ui"
1037
1006
  },
1038
1007
  "tagName": "%%prefix%%-card",
1039
1008
  "customElement": true,
1040
1009
  "attributes": [
1041
1010
  {
1042
- "name": "heading-level",
1043
- "type": {
1044
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1045
- },
1046
- "default": "2",
1047
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1048
- "fieldName": "headinglevel",
1049
- "inheritedFrom": {
1050
- "name": "AccordionItem",
1051
- "module": "src/accordion-item/accordion-item.ts"
1052
- }
1053
- },
1054
- {
1055
- "type": {
1056
- "text": "boolean"
1057
- },
1058
- "default": "false",
1059
- "description": "Expands or collapses the item.",
1060
- "fieldName": "expanded",
1061
- "inheritedFrom": {
1062
- "name": "AccordionItem",
1063
- "module": "src/accordion-item/accordion-item.ts"
1064
- }
1065
- },
1066
- {
1067
- "name": "id",
1011
+ "name": "expand-mode",
1068
1012
  "type": {
1069
- "text": "string"
1013
+ "text": "AccordionExpandMode"
1070
1014
  },
1071
- "description": "The item ID",
1072
- "fieldName": "id",
1015
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1016
+ "fieldName": "expandmode",
1073
1017
  "inheritedFrom": {
1074
- "name": "AccordionItem",
1075
- "module": "src/accordion-item/accordion-item.ts"
1018
+ "name": "Accordion",
1019
+ "module": "src/accordion/accordion.ts"
1076
1020
  }
1077
1021
  }
1078
1022
  ],
1079
1023
  "members": [
1080
1024
  {
1081
1025
  "kind": "field",
1082
- "name": "headinglevel",
1026
+ "name": "expandmode",
1083
1027
  "type": {
1084
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1028
+ "text": "AccordionExpandMode"
1085
1029
  },
1086
1030
  "privacy": "public",
1087
- "default": "2",
1088
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1031
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1089
1032
  "inheritedFrom": {
1090
- "name": "AccordionItem",
1091
- "module": "src/accordion-item/accordion-item.ts"
1033
+ "name": "Accordion",
1034
+ "module": "src/accordion/accordion.ts"
1092
1035
  }
1093
1036
  },
1094
1037
  {
1095
1038
  "kind": "field",
1096
- "name": "expanded",
1039
+ "name": "activeid",
1097
1040
  "type": {
1098
- "text": "boolean"
1041
+ "text": "string | null"
1099
1042
  },
1100
- "privacy": "public",
1101
- "default": "false",
1102
- "description": "Expands or collapses the item.",
1043
+ "privacy": "private",
1103
1044
  "inheritedFrom": {
1104
- "name": "AccordionItem",
1105
- "module": "src/accordion-item/accordion-item.ts"
1045
+ "name": "Accordion",
1046
+ "module": "src/accordion/accordion.ts"
1106
1047
  }
1107
1048
  },
1108
1049
  {
1109
1050
  "kind": "field",
1110
- "name": "id",
1051
+ "name": "activeItemIndex",
1111
1052
  "type": {
1112
- "text": "string"
1053
+ "text": "number"
1113
1054
  },
1114
- "privacy": "public",
1115
- "description": "The item ID",
1055
+ "privacy": "private",
1056
+ "default": "0",
1116
1057
  "inheritedFrom": {
1117
- "name": "AccordionItem",
1118
- "module": "src/accordion-item/accordion-item.ts"
1058
+ "name": "Accordion",
1059
+ "module": "src/accordion/accordion.ts"
1119
1060
  }
1120
1061
  },
1121
1062
  {
1122
1063
  "kind": "field",
1123
- "name": "change",
1064
+ "name": "accordionIds",
1065
+ "type": {
1066
+ "text": "Array<string | null>"
1067
+ },
1124
1068
  "privacy": "private",
1125
1069
  "inheritedFrom": {
1126
- "name": "AccordionItem",
1127
- "module": "src/accordion-item/accordion-item.ts"
1070
+ "name": "Accordion",
1071
+ "module": "src/accordion/accordion.ts"
1128
1072
  }
1129
1073
  },
1130
1074
  {
1131
1075
  "kind": "field",
1132
- "name": "_presentation",
1133
- "type": {
1134
- "text": "ComponentPresentation | null | undefined"
1135
- },
1076
+ "name": "change",
1136
1077
  "privacy": "private",
1137
- "default": "void 0",
1138
1078
  "inheritedFrom": {
1139
- "name": "AccordionItem",
1140
- "module": "src/accordion-item/accordion-item.ts"
1079
+ "name": "Accordion",
1080
+ "module": "src/accordion/accordion.ts"
1141
1081
  }
1142
1082
  },
1143
1083
  {
1144
- "kind": "field",
1145
- "name": "$presentation",
1146
- "type": {
1147
- "text": "ComponentPresentation | null"
1084
+ "kind": "method",
1085
+ "name": "findExpandedItem",
1086
+ "privacy": "private",
1087
+ "return": {
1088
+ "type": {
1089
+ "text": "AccordionItem | null"
1090
+ }
1148
1091
  },
1149
- "privacy": "public",
1150
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1151
1092
  "inheritedFrom": {
1152
- "name": "AccordionItem",
1153
- "module": "src/accordion-item/accordion-item.ts"
1093
+ "name": "Accordion",
1094
+ "module": "src/accordion/accordion.ts"
1154
1095
  }
1155
1096
  },
1156
1097
  {
1157
1098
  "kind": "field",
1158
- "name": "template",
1159
- "type": {
1160
- "text": "ElementViewTemplate | void | null"
1161
- },
1162
- "privacy": "public",
1163
- "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.",
1099
+ "name": "setItems",
1100
+ "privacy": "private",
1164
1101
  "inheritedFrom": {
1165
- "name": "AccordionItem",
1166
- "module": "src/accordion-item/accordion-item.ts"
1102
+ "name": "Accordion",
1103
+ "module": "src/accordion/accordion.ts"
1167
1104
  }
1168
1105
  },
1169
1106
  {
1170
1107
  "kind": "method",
1171
- "name": "templateChanged",
1172
- "privacy": "protected",
1108
+ "name": "resetItems",
1109
+ "privacy": "private",
1173
1110
  "return": {
1174
1111
  "type": {
1175
1112
  "text": "void"
1176
1113
  }
1177
1114
  },
1178
1115
  "inheritedFrom": {
1179
- "name": "AccordionItem",
1180
- "module": "src/accordion-item/accordion-item.ts"
1116
+ "name": "Accordion",
1117
+ "module": "src/accordion/accordion.ts"
1181
1118
  }
1182
1119
  },
1183
1120
  {
1184
1121
  "kind": "field",
1185
- "name": "styles",
1186
- "type": {
1187
- "text": "ElementStyles | void | null"
1188
- },
1189
- "privacy": "public",
1190
- "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.",
1122
+ "name": "removeItemListeners",
1123
+ "privacy": "private",
1191
1124
  "inheritedFrom": {
1192
- "name": "AccordionItem",
1193
- "module": "src/accordion-item/accordion-item.ts"
1125
+ "name": "Accordion",
1126
+ "module": "src/accordion/accordion.ts"
1127
+ }
1128
+ },
1129
+ {
1130
+ "kind": "field",
1131
+ "name": "activeItemChange",
1132
+ "privacy": "private",
1133
+ "inheritedFrom": {
1134
+ "name": "Accordion",
1135
+ "module": "src/accordion/accordion.ts"
1194
1136
  }
1195
1137
  },
1196
1138
  {
1197
1139
  "kind": "method",
1198
- "name": "stylesChanged",
1199
- "privacy": "protected",
1140
+ "name": "getItemIds",
1141
+ "privacy": "private",
1200
1142
  "return": {
1201
1143
  "type": {
1202
- "text": "void"
1144
+ "text": "Array<string | null>"
1203
1145
  }
1204
1146
  },
1205
1147
  "inheritedFrom": {
1206
- "name": "AccordionItem",
1207
- "module": "src/accordion-item/accordion-item.ts"
1148
+ "name": "Accordion",
1149
+ "module": "src/accordion/accordion.ts"
1208
1150
  }
1209
1151
  },
1210
1152
  {
1211
1153
  "kind": "method",
1212
- "name": "compose",
1213
- "privacy": "public",
1214
- "static": true,
1154
+ "name": "isSingleExpandMode",
1155
+ "privacy": "private",
1215
1156
  "return": {
1216
1157
  "type": {
1217
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1158
+ "text": "boolean"
1218
1159
  }
1219
1160
  },
1220
- "parameters": [
1221
- {
1222
- "name": "this",
1223
- "type": {
1224
- "text": "K"
1225
- }
1226
- },
1227
- {
1228
- "name": "elementDefinition",
1229
- "type": {
1230
- "text": "T"
1231
- },
1232
- "description": "The definition of the element to create the registry\nfunction for."
1233
- }
1234
- ],
1235
- "description": "Defines an element registry function with a set of element definition defaults.",
1236
1161
  "inheritedFrom": {
1237
- "name": "AccordionItem",
1238
- "module": "src/accordion-item/accordion-item.ts"
1162
+ "name": "Accordion",
1163
+ "module": "src/accordion/accordion.ts"
1239
1164
  }
1240
- }
1241
- ],
1242
- "events": [
1165
+ },
1243
1166
  {
1244
- "description": "Fires a custom 'change' event when the button is invoked",
1245
- "name": "change",
1167
+ "kind": "field",
1168
+ "name": "handleItemKeyDown",
1169
+ "privacy": "private",
1246
1170
  "inheritedFrom": {
1247
- "name": "AccordionItem",
1248
- "module": "src/accordion-item/accordion-item.ts"
1171
+ "name": "Accordion",
1172
+ "module": "src/accordion/accordion.ts"
1173
+ }
1174
+ },
1175
+ {
1176
+ "kind": "field",
1177
+ "name": "handleItemFocus",
1178
+ "privacy": "private",
1179
+ "inheritedFrom": {
1180
+ "name": "Accordion",
1181
+ "module": "src/accordion/accordion.ts"
1182
+ }
1183
+ },
1184
+ {
1185
+ "kind": "method",
1186
+ "name": "adjust",
1187
+ "privacy": "private",
1188
+ "return": {
1189
+ "type": {
1190
+ "text": "void"
1191
+ }
1192
+ },
1193
+ "parameters": [
1194
+ {
1195
+ "name": "adjustment",
1196
+ "type": {
1197
+ "text": "number"
1198
+ }
1199
+ }
1200
+ ],
1201
+ "inheritedFrom": {
1202
+ "name": "Accordion",
1203
+ "module": "src/accordion/accordion.ts"
1204
+ }
1205
+ },
1206
+ {
1207
+ "kind": "method",
1208
+ "name": "focusItem",
1209
+ "privacy": "private",
1210
+ "return": {
1211
+ "type": {
1212
+ "text": "void"
1213
+ }
1214
+ },
1215
+ "inheritedFrom": {
1216
+ "name": "Accordion",
1217
+ "module": "src/accordion/accordion.ts"
1218
+ }
1219
+ },
1220
+ {
1221
+ "kind": "field",
1222
+ "name": "_presentation",
1223
+ "type": {
1224
+ "text": "ComponentPresentation | null | undefined"
1225
+ },
1226
+ "privacy": "private",
1227
+ "default": "void 0",
1228
+ "inheritedFrom": {
1229
+ "name": "Accordion",
1230
+ "module": "src/accordion/accordion.ts"
1231
+ }
1232
+ },
1233
+ {
1234
+ "kind": "field",
1235
+ "name": "$presentation",
1236
+ "type": {
1237
+ "text": "ComponentPresentation | null"
1238
+ },
1239
+ "privacy": "public",
1240
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1241
+ "inheritedFrom": {
1242
+ "name": "Accordion",
1243
+ "module": "src/accordion/accordion.ts"
1244
+ }
1245
+ },
1246
+ {
1247
+ "kind": "field",
1248
+ "name": "template",
1249
+ "type": {
1250
+ "text": "ElementViewTemplate | void | null"
1251
+ },
1252
+ "privacy": "public",
1253
+ "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.",
1254
+ "inheritedFrom": {
1255
+ "name": "Accordion",
1256
+ "module": "src/accordion/accordion.ts"
1257
+ }
1258
+ },
1259
+ {
1260
+ "kind": "method",
1261
+ "name": "templateChanged",
1262
+ "privacy": "protected",
1263
+ "return": {
1264
+ "type": {
1265
+ "text": "void"
1266
+ }
1267
+ },
1268
+ "inheritedFrom": {
1269
+ "name": "Accordion",
1270
+ "module": "src/accordion/accordion.ts"
1271
+ }
1272
+ },
1273
+ {
1274
+ "kind": "field",
1275
+ "name": "styles",
1276
+ "type": {
1277
+ "text": "ElementStyles | void | null"
1278
+ },
1279
+ "privacy": "public",
1280
+ "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.",
1281
+ "inheritedFrom": {
1282
+ "name": "Accordion",
1283
+ "module": "src/accordion/accordion.ts"
1284
+ }
1285
+ },
1286
+ {
1287
+ "kind": "method",
1288
+ "name": "stylesChanged",
1289
+ "privacy": "protected",
1290
+ "return": {
1291
+ "type": {
1292
+ "text": "void"
1293
+ }
1294
+ },
1295
+ "inheritedFrom": {
1296
+ "name": "Accordion",
1297
+ "module": "src/accordion/accordion.ts"
1298
+ }
1299
+ },
1300
+ {
1301
+ "kind": "method",
1302
+ "name": "compose",
1303
+ "privacy": "public",
1304
+ "static": true,
1305
+ "return": {
1306
+ "type": {
1307
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1308
+ }
1309
+ },
1310
+ "parameters": [
1311
+ {
1312
+ "name": "this",
1313
+ "type": {
1314
+ "text": "K"
1315
+ }
1316
+ },
1317
+ {
1318
+ "name": "elementDefinition",
1319
+ "type": {
1320
+ "text": "T"
1321
+ },
1322
+ "description": "The definition of the element to create the registry\nfunction for."
1323
+ }
1324
+ ],
1325
+ "description": "Defines an element registry function with a set of element definition defaults.",
1326
+ "inheritedFrom": {
1327
+ "name": "Accordion",
1328
+ "module": "src/accordion/accordion.ts"
1329
+ }
1330
+ }
1331
+ ],
1332
+ "events": [
1333
+ {
1334
+ "description": "Fires a custom 'change' event when the active item changes",
1335
+ "name": "change",
1336
+ "inheritedFrom": {
1337
+ "name": "Accordion",
1338
+ "module": "src/accordion/accordion.ts"
1249
1339
  }
1250
1340
  }
1251
1341
  ]
1252
1342
  },
1253
1343
  {
1254
1344
  "kind": "variable",
1255
- "name": "zeroAccordionItem"
1345
+ "name": "zeroAccordion"
1256
1346
  }
1257
1347
  ],
1258
1348
  "exports": [
1259
1349
  {
1260
1350
  "kind": "js",
1261
- "name": "AccordionItem",
1351
+ "name": "Accordion",
1262
1352
  "declaration": {
1263
- "name": "AccordionItem",
1264
- "module": "src/accordion-item/accordion-item.ts"
1353
+ "name": "Accordion",
1354
+ "module": "src/accordion/accordion.ts"
1265
1355
  }
1266
1356
  },
1267
1357
  {
1268
1358
  "kind": "js",
1269
- "name": "zeroAccordionItem",
1359
+ "name": "zeroAccordion",
1270
1360
  "declaration": {
1271
- "name": "zeroAccordionItem",
1272
- "module": "src/accordion-item/accordion-item.ts"
1361
+ "name": "zeroAccordion",
1362
+ "module": "src/accordion/accordion.ts"
1273
1363
  }
1274
1364
  }
1275
1365
  ]
1276
1366
  },
1277
1367
  {
1278
1368
  "kind": "javascript-module",
1279
- "path": "src/accordion-item/index.ts",
1369
+ "path": "src/accordion/index.ts",
1280
1370
  "declarations": [],
1281
1371
  "exports": [
1282
1372
  {
@@ -1284,7 +1374,7 @@
1284
1374
  "name": "*",
1285
1375
  "declaration": {
1286
1376
  "name": "*",
1287
- "package": "./accordion-item"
1377
+ "package": "./accordion"
1288
1378
  }
1289
1379
  },
1290
1380
  {
@@ -1292,7 +1382,7 @@
1292
1382
  "name": "*",
1293
1383
  "declaration": {
1294
1384
  "name": "*",
1295
- "package": "./accordion-item.styles"
1385
+ "package": "./accordion.styles"
1296
1386
  }
1297
1387
  },
1298
1388
  {
@@ -1300,18 +1390,49 @@
1300
1390
  "name": "*",
1301
1391
  "declaration": {
1302
1392
  "name": "*",
1303
- "package": "./accordion-item.template"
1393
+ "package": "./accordion.template"
1304
1394
  }
1305
1395
  }
1306
1396
  ]
1307
1397
  },
1308
1398
  {
1309
1399
  "kind": "javascript-module",
1310
- "path": "src/actions-menu/actions-menu.styles.ts",
1400
+ "path": "src/_config/index.ts",
1401
+ "declarations": [],
1402
+ "exports": [
1403
+ {
1404
+ "kind": "js",
1405
+ "name": "*",
1406
+ "declaration": {
1407
+ "name": "*",
1408
+ "package": "./styles"
1409
+ }
1410
+ },
1411
+ {
1412
+ "kind": "js",
1413
+ "name": "*",
1414
+ "declaration": {
1415
+ "name": "*",
1416
+ "package": "./tokens"
1417
+ }
1418
+ },
1419
+ {
1420
+ "kind": "js",
1421
+ "name": "*",
1422
+ "declaration": {
1423
+ "name": "*",
1424
+ "package": "./values"
1425
+ }
1426
+ }
1427
+ ]
1428
+ },
1429
+ {
1430
+ "kind": "javascript-module",
1431
+ "path": "src/accordion-item/accordion-item.styles.ts",
1311
1432
  "declarations": [
1312
1433
  {
1313
1434
  "kind": "function",
1314
- "name": "zeroActionsMenuStyles",
1435
+ "name": "zeroAccordionItemStyles",
1315
1436
  "return": {
1316
1437
  "type": {
1317
1438
  "text": "ElementStyles"
@@ -1336,547 +1457,307 @@
1336
1457
  "exports": [
1337
1458
  {
1338
1459
  "kind": "js",
1339
- "name": "zeroActionsMenuStyles",
1460
+ "name": "zeroAccordionItemStyles",
1340
1461
  "declaration": {
1341
- "name": "zeroActionsMenuStyles",
1342
- "module": "src/actions-menu/actions-menu.styles.ts"
1462
+ "name": "zeroAccordionItemStyles",
1463
+ "module": "src/accordion-item/accordion-item.styles.ts"
1343
1464
  }
1344
1465
  }
1345
1466
  ]
1346
1467
  },
1347
1468
  {
1348
1469
  "kind": "javascript-module",
1349
- "path": "src/actions-menu/actions-menu.ts",
1470
+ "path": "src/accordion-item/accordion-item.template.ts",
1350
1471
  "declarations": [
1351
1472
  {
1352
- "kind": "class",
1353
- "description": "",
1354
- "name": "ActionsMenu",
1355
- "superclass": {
1356
- "name": "FoundationActionsMenu",
1357
- "package": "@genesislcap/foundation-ui"
1473
+ "kind": "function",
1474
+ "name": "zeroAccordionItemTemplate",
1475
+ "return": {
1476
+ "type": {
1477
+ "text": "ViewTemplate<AccordionItem>"
1478
+ }
1358
1479
  },
1359
- "tagName": "%%prefix%%-actions-menu",
1360
- "customElement": true,
1361
- "attributes": [
1480
+ "parameters": [
1362
1481
  {
1363
- "name": "is-vertical",
1482
+ "name": "context",
1364
1483
  "type": {
1365
- "text": "boolean"
1366
- },
1367
- "default": "false",
1368
- "fieldName": "isVertical",
1369
- "inheritedFrom": {
1370
- "name": "ActionsMenu",
1371
- "module": "src/actions-menu/actions-menu.ts"
1372
- }
1373
- },
1374
- {
1375
- "name": "add-default-actions",
1376
- "type": {
1377
- "text": "boolean"
1378
- },
1379
- "default": "true",
1380
- "fieldName": "addDefaultActions",
1381
- "inheritedFrom": {
1382
- "name": "ActionsMenu",
1383
- "module": "src/actions-menu/actions-menu.ts"
1484
+ "text": "ElementDefinitionContext"
1384
1485
  }
1385
1486
  },
1386
1487
  {
1387
- "name": "auto-close-on-action",
1488
+ "name": "definition",
1388
1489
  "type": {
1389
- "text": "boolean"
1390
- },
1391
- "default": "true",
1392
- "fieldName": "autoCloseOnAction",
1393
- "inheritedFrom": {
1394
- "name": "ActionsMenu",
1395
- "module": "src/actions-menu/actions-menu.ts"
1490
+ "text": "FoundationElementDefinition"
1396
1491
  }
1397
- },
1492
+ }
1493
+ ]
1494
+ }
1495
+ ],
1496
+ "exports": [
1497
+ {
1498
+ "kind": "js",
1499
+ "name": "zeroAccordionItemTemplate",
1500
+ "declaration": {
1501
+ "name": "zeroAccordionItemTemplate",
1502
+ "module": "src/accordion-item/accordion-item.template.ts"
1503
+ }
1504
+ }
1505
+ ]
1506
+ },
1507
+ {
1508
+ "kind": "javascript-module",
1509
+ "path": "src/accordion-item/accordion-item.ts",
1510
+ "declarations": [
1511
+ {
1512
+ "kind": "class",
1513
+ "description": "",
1514
+ "name": "AccordionItem",
1515
+ "superclass": {
1516
+ "name": "FoundationAccordionItem",
1517
+ "package": "@genesislcap/foundation-ui"
1518
+ },
1519
+ "tagName": "%%prefix%%-card",
1520
+ "customElement": true,
1521
+ "attributes": [
1398
1522
  {
1399
- "name": "name",
1523
+ "name": "heading-level",
1400
1524
  "type": {
1401
- "text": "string"
1525
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1402
1526
  },
1403
- "default": "'Actions'",
1404
- "fieldName": "name",
1527
+ "default": "2",
1528
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1529
+ "fieldName": "headinglevel",
1405
1530
  "inheritedFrom": {
1406
- "name": "ActionsMenu",
1407
- "module": "src/actions-menu/actions-menu.ts"
1531
+ "name": "AccordionItem",
1532
+ "module": "src/accordion-item/accordion-item.ts"
1408
1533
  }
1409
1534
  },
1410
1535
  {
1411
- "name": "open",
1412
1536
  "type": {
1413
1537
  "text": "boolean"
1414
1538
  },
1415
1539
  "default": "false",
1416
- "fieldName": "open",
1540
+ "description": "Expands or collapses the item.",
1541
+ "fieldName": "expanded",
1417
1542
  "inheritedFrom": {
1418
- "name": "ActionsMenu",
1419
- "module": "src/actions-menu/actions-menu.ts"
1543
+ "name": "AccordionItem",
1544
+ "module": "src/accordion-item/accordion-item.ts"
1420
1545
  }
1421
1546
  },
1422
1547
  {
1423
- "name": "buttonAppearance",
1548
+ "name": "id",
1424
1549
  "type": {
1425
1550
  "text": "string"
1426
1551
  },
1427
- "fieldName": "buttonAppearance",
1428
- "inheritedFrom": {
1429
- "name": "ActionsMenu",
1430
- "module": "src/actions-menu/actions-menu.ts"
1431
- }
1432
- },
1433
- {
1434
- "name": "hide-disabled",
1435
- "type": {
1436
- "text": "boolean"
1437
- },
1438
- "default": "false",
1439
- "fieldName": "hideDisabled",
1440
- "inheritedFrom": {
1441
- "name": "ActionsMenu",
1442
- "module": "src/actions-menu/actions-menu.ts"
1443
- }
1444
- },
1445
- {
1446
- "name": "hide-menu-single-option",
1447
- "type": {
1448
- "text": "boolean"
1449
- },
1450
- "default": "false",
1451
- "fieldName": "hideMenuSingleOption",
1552
+ "description": "The item ID",
1553
+ "fieldName": "id",
1452
1554
  "inheritedFrom": {
1453
- "name": "ActionsMenu",
1454
- "module": "src/actions-menu/actions-menu.ts"
1555
+ "name": "AccordionItem",
1556
+ "module": "src/accordion-item/accordion-item.ts"
1455
1557
  }
1456
1558
  }
1457
1559
  ],
1458
1560
  "members": [
1459
1561
  {
1460
1562
  "kind": "field",
1461
- "name": "actions",
1563
+ "name": "headinglevel",
1462
1564
  "type": {
1463
- "text": "ActionMenuItem[]"
1565
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1464
1566
  },
1567
+ "privacy": "public",
1568
+ "default": "2",
1569
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1465
1570
  "inheritedFrom": {
1466
- "name": "ActionsMenu",
1467
- "module": "src/actions-menu/actions-menu.ts"
1571
+ "name": "AccordionItem",
1572
+ "module": "src/accordion-item/accordion-item.ts"
1468
1573
  }
1469
1574
  },
1470
1575
  {
1471
1576
  "kind": "field",
1472
- "name": "isVertical",
1577
+ "name": "expanded",
1473
1578
  "type": {
1474
1579
  "text": "boolean"
1475
1580
  },
1581
+ "privacy": "public",
1476
1582
  "default": "false",
1583
+ "description": "Expands or collapses the item.",
1477
1584
  "inheritedFrom": {
1478
- "name": "ActionsMenu",
1479
- "module": "src/actions-menu/actions-menu.ts"
1585
+ "name": "AccordionItem",
1586
+ "module": "src/accordion-item/accordion-item.ts"
1480
1587
  }
1481
1588
  },
1482
1589
  {
1483
1590
  "kind": "field",
1484
- "name": "addDefaultActions",
1591
+ "name": "id",
1485
1592
  "type": {
1486
- "text": "boolean"
1593
+ "text": "string"
1487
1594
  },
1488
- "default": "true",
1595
+ "privacy": "public",
1596
+ "description": "The item ID",
1489
1597
  "inheritedFrom": {
1490
- "name": "ActionsMenu",
1491
- "module": "src/actions-menu/actions-menu.ts"
1598
+ "name": "AccordionItem",
1599
+ "module": "src/accordion-item/accordion-item.ts"
1492
1600
  }
1493
1601
  },
1494
1602
  {
1495
1603
  "kind": "field",
1496
- "name": "autoCloseOnAction",
1497
- "type": {
1498
- "text": "boolean"
1499
- },
1500
- "default": "true",
1604
+ "name": "change",
1605
+ "privacy": "private",
1501
1606
  "inheritedFrom": {
1502
- "name": "ActionsMenu",
1503
- "module": "src/actions-menu/actions-menu.ts"
1607
+ "name": "AccordionItem",
1608
+ "module": "src/accordion-item/accordion-item.ts"
1504
1609
  }
1505
1610
  },
1506
1611
  {
1507
1612
  "kind": "field",
1508
- "name": "classNames",
1613
+ "name": "_presentation",
1509
1614
  "type": {
1510
- "text": "string"
1615
+ "text": "ComponentPresentation | null | undefined"
1511
1616
  },
1617
+ "privacy": "private",
1618
+ "default": "void 0",
1512
1619
  "inheritedFrom": {
1513
- "name": "ActionsMenu",
1514
- "module": "src/actions-menu/actions-menu.ts"
1620
+ "name": "AccordionItem",
1621
+ "module": "src/accordion-item/accordion-item.ts"
1515
1622
  }
1516
1623
  },
1517
1624
  {
1518
1625
  "kind": "field",
1519
- "name": "definition",
1626
+ "name": "$presentation",
1520
1627
  "type": {
1521
- "text": "any"
1628
+ "text": "ComponentPresentation | null"
1522
1629
  },
1630
+ "privacy": "public",
1631
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1523
1632
  "inheritedFrom": {
1524
- "name": "ActionsMenu",
1525
- "module": "src/actions-menu/actions-menu.ts"
1633
+ "name": "AccordionItem",
1634
+ "module": "src/accordion-item/accordion-item.ts"
1526
1635
  }
1527
1636
  },
1528
1637
  {
1529
1638
  "kind": "field",
1530
- "name": "name",
1639
+ "name": "template",
1531
1640
  "type": {
1532
- "text": "string"
1641
+ "text": "ElementViewTemplate | void | null"
1533
1642
  },
1534
- "default": "'Actions'",
1643
+ "privacy": "public",
1644
+ "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.",
1535
1645
  "inheritedFrom": {
1536
- "name": "ActionsMenu",
1537
- "module": "src/actions-menu/actions-menu.ts"
1646
+ "name": "AccordionItem",
1647
+ "module": "src/accordion-item/accordion-item.ts"
1538
1648
  }
1539
1649
  },
1540
1650
  {
1541
- "kind": "field",
1542
- "name": "open",
1543
- "type": {
1544
- "text": "boolean"
1651
+ "kind": "method",
1652
+ "name": "templateChanged",
1653
+ "privacy": "protected",
1654
+ "return": {
1655
+ "type": {
1656
+ "text": "void"
1657
+ }
1545
1658
  },
1546
- "default": "false",
1547
1659
  "inheritedFrom": {
1548
- "name": "ActionsMenu",
1549
- "module": "src/actions-menu/actions-menu.ts"
1660
+ "name": "AccordionItem",
1661
+ "module": "src/accordion-item/accordion-item.ts"
1550
1662
  }
1551
1663
  },
1552
1664
  {
1553
1665
  "kind": "field",
1554
- "name": "buttonAppearance",
1666
+ "name": "styles",
1555
1667
  "type": {
1556
- "text": "string"
1668
+ "text": "ElementStyles | void | null"
1557
1669
  },
1670
+ "privacy": "public",
1671
+ "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.",
1558
1672
  "inheritedFrom": {
1559
- "name": "ActionsMenu",
1560
- "module": "src/actions-menu/actions-menu.ts"
1673
+ "name": "AccordionItem",
1674
+ "module": "src/accordion-item/accordion-item.ts"
1561
1675
  }
1562
1676
  },
1563
1677
  {
1564
- "kind": "field",
1565
- "name": "hideDisabled",
1566
- "type": {
1567
- "text": "boolean"
1678
+ "kind": "method",
1679
+ "name": "stylesChanged",
1680
+ "privacy": "protected",
1681
+ "return": {
1682
+ "type": {
1683
+ "text": "void"
1684
+ }
1568
1685
  },
1569
- "default": "false",
1570
1686
  "inheritedFrom": {
1571
- "name": "ActionsMenu",
1572
- "module": "src/actions-menu/actions-menu.ts"
1687
+ "name": "AccordionItem",
1688
+ "module": "src/accordion-item/accordion-item.ts"
1573
1689
  }
1574
1690
  },
1575
1691
  {
1576
- "kind": "field",
1577
- "name": "hideMenuSingleOption",
1578
- "type": {
1579
- "text": "boolean"
1692
+ "kind": "method",
1693
+ "name": "compose",
1694
+ "privacy": "public",
1695
+ "static": true,
1696
+ "return": {
1697
+ "type": {
1698
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1699
+ }
1580
1700
  },
1581
- "default": "false",
1701
+ "parameters": [
1702
+ {
1703
+ "name": "this",
1704
+ "type": {
1705
+ "text": "K"
1706
+ }
1707
+ },
1708
+ {
1709
+ "name": "elementDefinition",
1710
+ "type": {
1711
+ "text": "T"
1712
+ },
1713
+ "description": "The definition of the element to create the registry\nfunction for."
1714
+ }
1715
+ ],
1716
+ "description": "Defines an element registry function with a set of element definition defaults.",
1582
1717
  "inheritedFrom": {
1583
- "name": "ActionsMenu",
1584
- "module": "src/actions-menu/actions-menu.ts"
1585
- }
1586
- },
1587
- {
1588
- "kind": "field",
1589
- "name": "singleOption",
1590
- "type": {
1591
- "text": "ActionMenuItem"
1592
- },
1593
- "inheritedFrom": {
1594
- "name": "ActionsMenu",
1595
- "module": "src/actions-menu/actions-menu.ts"
1596
- }
1597
- },
1598
- {
1599
- "kind": "field",
1600
- "name": "actionsMenu",
1601
- "type": {
1602
- "text": "HTMLElement"
1603
- },
1604
- "inheritedFrom": {
1605
- "name": "ActionsMenu",
1606
- "module": "src/actions-menu/actions-menu.ts"
1607
- }
1608
- },
1609
- {
1610
- "kind": "field",
1611
- "name": "actionsOpener",
1612
- "type": {
1613
- "text": "HTMLElement"
1614
- },
1615
- "inheritedFrom": {
1616
- "name": "ActionsMenu",
1617
- "module": "src/actions-menu/actions-menu.ts"
1618
- }
1619
- },
1620
- {
1621
- "kind": "method",
1622
- "name": "updateMenuPosition",
1623
- "privacy": "private",
1624
- "inheritedFrom": {
1625
- "name": "ActionsMenu",
1626
- "module": "src/actions-menu/actions-menu.ts"
1627
- }
1628
- },
1629
- {
1630
- "kind": "method",
1631
- "name": "definitionChanged",
1632
- "privacy": "protected",
1633
- "parameters": [
1634
- {
1635
- "name": "oldValue",
1636
- "type": {
1637
- "text": "any"
1638
- }
1639
- },
1640
- {
1641
- "name": "newValue",
1642
- "type": {
1643
- "text": "any"
1644
- }
1645
- }
1646
- ],
1647
- "inheritedFrom": {
1648
- "name": "ActionsMenu",
1649
- "module": "src/actions-menu/actions-menu.ts"
1650
- }
1651
- },
1652
- {
1653
- "kind": "method",
1654
- "name": "openChanged",
1655
- "privacy": "protected",
1656
- "inheritedFrom": {
1657
- "name": "ActionsMenu",
1658
- "module": "src/actions-menu/actions-menu.ts"
1659
- }
1660
- },
1661
- {
1662
- "kind": "method",
1663
- "name": "toggleActionsMenuVisibility",
1664
- "inheritedFrom": {
1665
- "name": "ActionsMenu",
1666
- "module": "src/actions-menu/actions-menu.ts"
1667
- }
1668
- },
1669
- {
1670
- "kind": "method",
1671
- "name": "onActionMenuItemClick",
1672
- "parameters": [
1673
- {
1674
- "name": "callback",
1675
- "type": {
1676
- "text": "(rowData) => void | any"
1677
- }
1678
- }
1679
- ],
1680
- "inheritedFrom": {
1681
- "name": "ActionsMenu",
1682
- "module": "src/actions-menu/actions-menu.ts"
1683
- }
1684
- },
1685
- {
1686
- "kind": "field",
1687
- "name": "allActions",
1688
- "type": {
1689
- "text": "ActionMenuItem[]"
1690
- },
1691
- "readonly": true,
1692
- "inheritedFrom": {
1693
- "name": "ActionsMenu",
1694
- "module": "src/actions-menu/actions-menu.ts"
1695
- }
1696
- },
1697
- {
1698
- "kind": "field",
1699
- "name": "rowData",
1700
- "readonly": true,
1701
- "inheritedFrom": {
1702
- "name": "ActionsMenu",
1703
- "module": "src/actions-menu/actions-menu.ts"
1704
- }
1705
- },
1706
- {
1707
- "kind": "method",
1708
- "name": "getLabel",
1709
- "parameters": [
1710
- {
1711
- "name": "name",
1712
- "type": {
1713
- "text": "string | ((rowData: any) => string)"
1714
- }
1715
- }
1716
- ],
1717
- "inheritedFrom": {
1718
- "name": "ActionsMenu",
1719
- "module": "src/actions-menu/actions-menu.ts"
1720
- }
1721
- },
1722
- {
1723
- "kind": "method",
1724
- "name": "getTemplate",
1725
- "parameters": [
1726
- {
1727
- "name": "prefix",
1728
- "type": {
1729
- "text": "string"
1730
- }
1731
- }
1732
- ],
1733
- "inheritedFrom": {
1734
- "name": "ActionsMenu",
1735
- "module": "src/actions-menu/actions-menu.ts"
1736
- }
1737
- },
1738
- {
1739
- "kind": "field",
1740
- "name": "_presentation",
1741
- "type": {
1742
- "text": "ComponentPresentation | null | undefined"
1743
- },
1744
- "privacy": "private",
1745
- "default": "void 0",
1746
- "inheritedFrom": {
1747
- "name": "FoundationElement",
1748
- "module": "src/foundation-element/foundation-element.ts"
1749
- }
1750
- },
1751
- {
1752
- "kind": "field",
1753
- "name": "$presentation",
1754
- "type": {
1755
- "text": "ComponentPresentation | null"
1756
- },
1757
- "privacy": "public",
1758
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1759
- "inheritedFrom": {
1760
- "name": "FoundationElement",
1761
- "module": "src/foundation-element/foundation-element.ts"
1762
- }
1763
- },
1764
- {
1765
- "kind": "field",
1766
- "name": "template",
1767
- "type": {
1768
- "text": "ElementViewTemplate | void | null"
1769
- },
1770
- "privacy": "public",
1771
- "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.",
1772
- "inheritedFrom": {
1773
- "name": "FoundationElement",
1774
- "module": "src/foundation-element/foundation-element.ts"
1775
- }
1776
- },
1777
- {
1778
- "kind": "method",
1779
- "name": "templateChanged",
1780
- "privacy": "protected",
1781
- "return": {
1782
- "type": {
1783
- "text": "void"
1784
- }
1785
- },
1786
- "inheritedFrom": {
1787
- "name": "FoundationElement",
1788
- "module": "src/foundation-element/foundation-element.ts"
1789
- }
1790
- },
1791
- {
1792
- "kind": "field",
1793
- "name": "styles",
1794
- "type": {
1795
- "text": "ElementStyles | void | null"
1796
- },
1797
- "privacy": "public",
1798
- "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.",
1799
- "inheritedFrom": {
1800
- "name": "FoundationElement",
1801
- "module": "src/foundation-element/foundation-element.ts"
1802
- }
1803
- },
1804
- {
1805
- "kind": "method",
1806
- "name": "stylesChanged",
1807
- "privacy": "protected",
1808
- "return": {
1809
- "type": {
1810
- "text": "void"
1811
- }
1812
- },
1813
- "inheritedFrom": {
1814
- "name": "FoundationElement",
1815
- "module": "src/foundation-element/foundation-element.ts"
1718
+ "name": "AccordionItem",
1719
+ "module": "src/accordion-item/accordion-item.ts"
1816
1720
  }
1817
- },
1721
+ }
1722
+ ],
1723
+ "events": [
1818
1724
  {
1819
- "kind": "method",
1820
- "name": "compose",
1821
- "privacy": "public",
1822
- "static": true,
1823
- "return": {
1824
- "type": {
1825
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1826
- }
1827
- },
1828
- "parameters": [
1829
- {
1830
- "name": "this",
1831
- "type": {
1832
- "text": "K"
1833
- }
1834
- },
1835
- {
1836
- "name": "elementDefinition",
1837
- "type": {
1838
- "text": "T"
1839
- },
1840
- "description": "The definition of the element to create the registry\nfunction for."
1841
- }
1842
- ],
1843
- "description": "Defines an element registry function with a set of element definition defaults.",
1725
+ "description": "Fires a custom 'change' event when the button is invoked",
1726
+ "name": "change",
1844
1727
  "inheritedFrom": {
1845
- "name": "FoundationElement",
1846
- "module": "src/foundation-element/foundation-element.ts"
1728
+ "name": "AccordionItem",
1729
+ "module": "src/accordion-item/accordion-item.ts"
1847
1730
  }
1848
1731
  }
1849
1732
  ]
1850
1733
  },
1851
1734
  {
1852
1735
  "kind": "variable",
1853
- "name": "zeroActionsMenu",
1854
- "description": "The Zero Actions Menu",
1855
- "privacy": "public"
1736
+ "name": "zeroAccordionItem"
1856
1737
  }
1857
1738
  ],
1858
1739
  "exports": [
1859
1740
  {
1860
1741
  "kind": "js",
1861
- "name": "ActionsMenu",
1742
+ "name": "AccordionItem",
1862
1743
  "declaration": {
1863
- "name": "ActionsMenu",
1864
- "module": "src/actions-menu/actions-menu.ts"
1744
+ "name": "AccordionItem",
1745
+ "module": "src/accordion-item/accordion-item.ts"
1865
1746
  }
1866
1747
  },
1867
1748
  {
1868
1749
  "kind": "js",
1869
- "name": "zeroActionsMenu",
1750
+ "name": "zeroAccordionItem",
1870
1751
  "declaration": {
1871
- "name": "zeroActionsMenu",
1872
- "module": "src/actions-menu/actions-menu.ts"
1752
+ "name": "zeroAccordionItem",
1753
+ "module": "src/accordion-item/accordion-item.ts"
1873
1754
  }
1874
1755
  }
1875
1756
  ]
1876
1757
  },
1877
1758
  {
1878
1759
  "kind": "javascript-module",
1879
- "path": "src/actions-menu/index.ts",
1760
+ "path": "src/accordion-item/index.ts",
1880
1761
  "declarations": [],
1881
1762
  "exports": [
1882
1763
  {
@@ -1884,7 +1765,7 @@
1884
1765
  "name": "*",
1885
1766
  "declaration": {
1886
1767
  "name": "*",
1887
- "package": "./actions-menu"
1768
+ "package": "./accordion-item"
1888
1769
  }
1889
1770
  },
1890
1771
  {
@@ -1892,60 +1773,29 @@
1892
1773
  "name": "*",
1893
1774
  "declaration": {
1894
1775
  "name": "*",
1895
- "package": "./actions-menu.styles"
1776
+ "package": "./accordion-item.styles"
1896
1777
  }
1897
- }
1898
- ]
1899
- },
1900
- {
1901
- "kind": "javascript-module",
1902
- "path": "src/accordion/accordion.styles.ts",
1903
- "declarations": [
1904
- {
1905
- "kind": "function",
1906
- "name": "zeroAccordionStyles",
1907
- "return": {
1908
- "type": {
1909
- "text": "ElementStyles"
1910
- }
1911
- },
1912
- "parameters": [
1913
- {
1914
- "name": "context",
1915
- "type": {
1916
- "text": "ElementDefinitionContext"
1917
- }
1918
- },
1919
- {
1920
- "name": "definition",
1921
- "type": {
1922
- "text": "FoundationElementDefinition"
1923
- }
1924
- }
1925
- ]
1926
- }
1927
- ],
1928
- "exports": [
1778
+ },
1929
1779
  {
1930
1780
  "kind": "js",
1931
- "name": "zeroAccordionStyles",
1781
+ "name": "*",
1932
1782
  "declaration": {
1933
- "name": "zeroAccordionStyles",
1934
- "module": "src/accordion/accordion.styles.ts"
1783
+ "name": "*",
1784
+ "package": "./accordion-item.template"
1935
1785
  }
1936
1786
  }
1937
1787
  ]
1938
1788
  },
1939
1789
  {
1940
1790
  "kind": "javascript-module",
1941
- "path": "src/accordion/accordion.template.ts",
1791
+ "path": "src/actions-menu/actions-menu.styles.ts",
1942
1792
  "declarations": [
1943
1793
  {
1944
1794
  "kind": "function",
1945
- "name": "zeroAccordionTemplate",
1795
+ "name": "zeroActionsMenuStyles",
1946
1796
  "return": {
1947
1797
  "type": {
1948
- "text": "ViewTemplate<Accordion>"
1798
+ "text": "ElementStyles"
1949
1799
  }
1950
1800
  },
1951
1801
  "parameters": [
@@ -1967,237 +1817,403 @@
1967
1817
  "exports": [
1968
1818
  {
1969
1819
  "kind": "js",
1970
- "name": "zeroAccordionTemplate",
1820
+ "name": "zeroActionsMenuStyles",
1971
1821
  "declaration": {
1972
- "name": "zeroAccordionTemplate",
1973
- "module": "src/accordion/accordion.template.ts"
1822
+ "name": "zeroActionsMenuStyles",
1823
+ "module": "src/actions-menu/actions-menu.styles.ts"
1974
1824
  }
1975
1825
  }
1976
1826
  ]
1977
1827
  },
1978
1828
  {
1979
1829
  "kind": "javascript-module",
1980
- "path": "src/accordion/accordion.ts",
1830
+ "path": "src/actions-menu/actions-menu.ts",
1981
1831
  "declarations": [
1982
1832
  {
1983
1833
  "kind": "class",
1984
1834
  "description": "",
1985
- "name": "Accordion",
1835
+ "name": "ActionsMenu",
1986
1836
  "superclass": {
1987
- "name": "FoundationAccordion",
1837
+ "name": "FoundationActionsMenu",
1988
1838
  "package": "@genesislcap/foundation-ui"
1989
1839
  },
1990
- "tagName": "%%prefix%%-card",
1840
+ "tagName": "%%prefix%%-actions-menu",
1991
1841
  "customElement": true,
1992
1842
  "attributes": [
1993
1843
  {
1994
- "name": "expand-mode",
1844
+ "name": "is-vertical",
1995
1845
  "type": {
1996
- "text": "AccordionExpandMode"
1846
+ "text": "boolean"
1997
1847
  },
1998
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1999
- "fieldName": "expandmode",
1848
+ "default": "false",
1849
+ "fieldName": "isVertical",
2000
1850
  "inheritedFrom": {
2001
- "name": "Accordion",
2002
- "module": "src/accordion/accordion.ts"
1851
+ "name": "ActionsMenu",
1852
+ "module": "src/actions-menu/actions-menu.ts"
1853
+ }
1854
+ },
1855
+ {
1856
+ "name": "add-default-actions",
1857
+ "type": {
1858
+ "text": "boolean"
1859
+ },
1860
+ "default": "true",
1861
+ "fieldName": "addDefaultActions",
1862
+ "inheritedFrom": {
1863
+ "name": "ActionsMenu",
1864
+ "module": "src/actions-menu/actions-menu.ts"
1865
+ }
1866
+ },
1867
+ {
1868
+ "name": "auto-close-on-action",
1869
+ "type": {
1870
+ "text": "boolean"
1871
+ },
1872
+ "default": "true",
1873
+ "fieldName": "autoCloseOnAction",
1874
+ "inheritedFrom": {
1875
+ "name": "ActionsMenu",
1876
+ "module": "src/actions-menu/actions-menu.ts"
1877
+ }
1878
+ },
1879
+ {
1880
+ "name": "name",
1881
+ "type": {
1882
+ "text": "string"
1883
+ },
1884
+ "default": "'Actions'",
1885
+ "fieldName": "name",
1886
+ "inheritedFrom": {
1887
+ "name": "ActionsMenu",
1888
+ "module": "src/actions-menu/actions-menu.ts"
1889
+ }
1890
+ },
1891
+ {
1892
+ "name": "open",
1893
+ "type": {
1894
+ "text": "boolean"
1895
+ },
1896
+ "default": "false",
1897
+ "fieldName": "open",
1898
+ "inheritedFrom": {
1899
+ "name": "ActionsMenu",
1900
+ "module": "src/actions-menu/actions-menu.ts"
1901
+ }
1902
+ },
1903
+ {
1904
+ "name": "buttonAppearance",
1905
+ "type": {
1906
+ "text": "string"
1907
+ },
1908
+ "fieldName": "buttonAppearance",
1909
+ "inheritedFrom": {
1910
+ "name": "ActionsMenu",
1911
+ "module": "src/actions-menu/actions-menu.ts"
1912
+ }
1913
+ },
1914
+ {
1915
+ "name": "hide-disabled",
1916
+ "type": {
1917
+ "text": "boolean"
1918
+ },
1919
+ "default": "false",
1920
+ "fieldName": "hideDisabled",
1921
+ "inheritedFrom": {
1922
+ "name": "ActionsMenu",
1923
+ "module": "src/actions-menu/actions-menu.ts"
1924
+ }
1925
+ },
1926
+ {
1927
+ "name": "hide-menu-single-option",
1928
+ "type": {
1929
+ "text": "boolean"
1930
+ },
1931
+ "default": "false",
1932
+ "fieldName": "hideMenuSingleOption",
1933
+ "inheritedFrom": {
1934
+ "name": "ActionsMenu",
1935
+ "module": "src/actions-menu/actions-menu.ts"
2003
1936
  }
2004
1937
  }
2005
1938
  ],
2006
1939
  "members": [
2007
1940
  {
2008
1941
  "kind": "field",
2009
- "name": "expandmode",
1942
+ "name": "actions",
2010
1943
  "type": {
2011
- "text": "AccordionExpandMode"
1944
+ "text": "ActionMenuItem[]"
2012
1945
  },
2013
- "privacy": "public",
2014
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2015
1946
  "inheritedFrom": {
2016
- "name": "Accordion",
2017
- "module": "src/accordion/accordion.ts"
1947
+ "name": "ActionsMenu",
1948
+ "module": "src/actions-menu/actions-menu.ts"
2018
1949
  }
2019
1950
  },
2020
1951
  {
2021
1952
  "kind": "field",
2022
- "name": "activeid",
1953
+ "name": "isVertical",
2023
1954
  "type": {
2024
- "text": "string | null"
1955
+ "text": "boolean"
1956
+ },
1957
+ "default": "false",
1958
+ "inheritedFrom": {
1959
+ "name": "ActionsMenu",
1960
+ "module": "src/actions-menu/actions-menu.ts"
1961
+ }
1962
+ },
1963
+ {
1964
+ "kind": "field",
1965
+ "name": "addDefaultActions",
1966
+ "type": {
1967
+ "text": "boolean"
1968
+ },
1969
+ "default": "true",
1970
+ "inheritedFrom": {
1971
+ "name": "ActionsMenu",
1972
+ "module": "src/actions-menu/actions-menu.ts"
1973
+ }
1974
+ },
1975
+ {
1976
+ "kind": "field",
1977
+ "name": "autoCloseOnAction",
1978
+ "type": {
1979
+ "text": "boolean"
1980
+ },
1981
+ "default": "true",
1982
+ "inheritedFrom": {
1983
+ "name": "ActionsMenu",
1984
+ "module": "src/actions-menu/actions-menu.ts"
1985
+ }
1986
+ },
1987
+ {
1988
+ "kind": "field",
1989
+ "name": "classNames",
1990
+ "type": {
1991
+ "text": "string"
1992
+ },
1993
+ "inheritedFrom": {
1994
+ "name": "ActionsMenu",
1995
+ "module": "src/actions-menu/actions-menu.ts"
1996
+ }
1997
+ },
1998
+ {
1999
+ "kind": "field",
2000
+ "name": "definition",
2001
+ "type": {
2002
+ "text": "any"
2003
+ },
2004
+ "inheritedFrom": {
2005
+ "name": "ActionsMenu",
2006
+ "module": "src/actions-menu/actions-menu.ts"
2007
+ }
2008
+ },
2009
+ {
2010
+ "kind": "field",
2011
+ "name": "name",
2012
+ "type": {
2013
+ "text": "string"
2014
+ },
2015
+ "default": "'Actions'",
2016
+ "inheritedFrom": {
2017
+ "name": "ActionsMenu",
2018
+ "module": "src/actions-menu/actions-menu.ts"
2019
+ }
2020
+ },
2021
+ {
2022
+ "kind": "field",
2023
+ "name": "open",
2024
+ "type": {
2025
+ "text": "boolean"
2026
+ },
2027
+ "default": "false",
2028
+ "inheritedFrom": {
2029
+ "name": "ActionsMenu",
2030
+ "module": "src/actions-menu/actions-menu.ts"
2031
+ }
2032
+ },
2033
+ {
2034
+ "kind": "field",
2035
+ "name": "buttonAppearance",
2036
+ "type": {
2037
+ "text": "string"
2025
2038
  },
2026
- "privacy": "private",
2027
2039
  "inheritedFrom": {
2028
- "name": "Accordion",
2029
- "module": "src/accordion/accordion.ts"
2040
+ "name": "ActionsMenu",
2041
+ "module": "src/actions-menu/actions-menu.ts"
2030
2042
  }
2031
2043
  },
2032
2044
  {
2033
2045
  "kind": "field",
2034
- "name": "activeItemIndex",
2046
+ "name": "hideDisabled",
2035
2047
  "type": {
2036
- "text": "number"
2048
+ "text": "boolean"
2037
2049
  },
2038
- "privacy": "private",
2039
- "default": "0",
2050
+ "default": "false",
2040
2051
  "inheritedFrom": {
2041
- "name": "Accordion",
2042
- "module": "src/accordion/accordion.ts"
2052
+ "name": "ActionsMenu",
2053
+ "module": "src/actions-menu/actions-menu.ts"
2043
2054
  }
2044
2055
  },
2045
2056
  {
2046
2057
  "kind": "field",
2047
- "name": "accordionIds",
2058
+ "name": "hideMenuSingleOption",
2048
2059
  "type": {
2049
- "text": "Array<string | null>"
2060
+ "text": "boolean"
2050
2061
  },
2051
- "privacy": "private",
2062
+ "default": "false",
2052
2063
  "inheritedFrom": {
2053
- "name": "Accordion",
2054
- "module": "src/accordion/accordion.ts"
2064
+ "name": "ActionsMenu",
2065
+ "module": "src/actions-menu/actions-menu.ts"
2055
2066
  }
2056
2067
  },
2057
2068
  {
2058
2069
  "kind": "field",
2059
- "name": "change",
2060
- "privacy": "private",
2070
+ "name": "singleOption",
2071
+ "type": {
2072
+ "text": "ActionMenuItem"
2073
+ },
2061
2074
  "inheritedFrom": {
2062
- "name": "Accordion",
2063
- "module": "src/accordion/accordion.ts"
2075
+ "name": "ActionsMenu",
2076
+ "module": "src/actions-menu/actions-menu.ts"
2064
2077
  }
2065
2078
  },
2066
2079
  {
2067
- "kind": "method",
2068
- "name": "findExpandedItem",
2069
- "privacy": "private",
2070
- "return": {
2071
- "type": {
2072
- "text": "AccordionItem | null"
2073
- }
2080
+ "kind": "field",
2081
+ "name": "actionsMenu",
2082
+ "type": {
2083
+ "text": "HTMLElement"
2074
2084
  },
2075
2085
  "inheritedFrom": {
2076
- "name": "Accordion",
2077
- "module": "src/accordion/accordion.ts"
2086
+ "name": "ActionsMenu",
2087
+ "module": "src/actions-menu/actions-menu.ts"
2078
2088
  }
2079
2089
  },
2080
2090
  {
2081
2091
  "kind": "field",
2082
- "name": "setItems",
2083
- "privacy": "private",
2092
+ "name": "actionsOpener",
2093
+ "type": {
2094
+ "text": "HTMLElement"
2095
+ },
2084
2096
  "inheritedFrom": {
2085
- "name": "Accordion",
2086
- "module": "src/accordion/accordion.ts"
2097
+ "name": "ActionsMenu",
2098
+ "module": "src/actions-menu/actions-menu.ts"
2087
2099
  }
2088
2100
  },
2089
2101
  {
2090
2102
  "kind": "method",
2091
- "name": "resetItems",
2103
+ "name": "updateMenuPosition",
2092
2104
  "privacy": "private",
2093
- "return": {
2094
- "type": {
2095
- "text": "void"
2096
- }
2097
- },
2098
2105
  "inheritedFrom": {
2099
- "name": "Accordion",
2100
- "module": "src/accordion/accordion.ts"
2106
+ "name": "ActionsMenu",
2107
+ "module": "src/actions-menu/actions-menu.ts"
2101
2108
  }
2102
2109
  },
2103
2110
  {
2104
- "kind": "field",
2105
- "name": "removeItemListeners",
2106
- "privacy": "private",
2111
+ "kind": "method",
2112
+ "name": "definitionChanged",
2113
+ "privacy": "protected",
2114
+ "parameters": [
2115
+ {
2116
+ "name": "oldValue",
2117
+ "type": {
2118
+ "text": "any"
2119
+ }
2120
+ },
2121
+ {
2122
+ "name": "newValue",
2123
+ "type": {
2124
+ "text": "any"
2125
+ }
2126
+ }
2127
+ ],
2107
2128
  "inheritedFrom": {
2108
- "name": "Accordion",
2109
- "module": "src/accordion/accordion.ts"
2129
+ "name": "ActionsMenu",
2130
+ "module": "src/actions-menu/actions-menu.ts"
2110
2131
  }
2111
2132
  },
2112
2133
  {
2113
- "kind": "field",
2114
- "name": "activeItemChange",
2115
- "privacy": "private",
2134
+ "kind": "method",
2135
+ "name": "openChanged",
2136
+ "privacy": "protected",
2116
2137
  "inheritedFrom": {
2117
- "name": "Accordion",
2118
- "module": "src/accordion/accordion.ts"
2138
+ "name": "ActionsMenu",
2139
+ "module": "src/actions-menu/actions-menu.ts"
2119
2140
  }
2120
2141
  },
2121
2142
  {
2122
2143
  "kind": "method",
2123
- "name": "getItemIds",
2124
- "privacy": "private",
2125
- "return": {
2126
- "type": {
2127
- "text": "Array<string | null>"
2128
- }
2129
- },
2144
+ "name": "toggleActionsMenuVisibility",
2130
2145
  "inheritedFrom": {
2131
- "name": "Accordion",
2132
- "module": "src/accordion/accordion.ts"
2146
+ "name": "ActionsMenu",
2147
+ "module": "src/actions-menu/actions-menu.ts"
2133
2148
  }
2134
2149
  },
2135
2150
  {
2136
2151
  "kind": "method",
2137
- "name": "isSingleExpandMode",
2138
- "privacy": "private",
2139
- "return": {
2140
- "type": {
2141
- "text": "boolean"
2152
+ "name": "onActionMenuItemClick",
2153
+ "parameters": [
2154
+ {
2155
+ "name": "callback",
2156
+ "type": {
2157
+ "text": "(rowData) => void | any"
2158
+ }
2142
2159
  }
2143
- },
2160
+ ],
2144
2161
  "inheritedFrom": {
2145
- "name": "Accordion",
2146
- "module": "src/accordion/accordion.ts"
2162
+ "name": "ActionsMenu",
2163
+ "module": "src/actions-menu/actions-menu.ts"
2147
2164
  }
2148
2165
  },
2149
2166
  {
2150
2167
  "kind": "field",
2151
- "name": "handleItemKeyDown",
2152
- "privacy": "private",
2168
+ "name": "allActions",
2169
+ "type": {
2170
+ "text": "ActionMenuItem[]"
2171
+ },
2172
+ "readonly": true,
2153
2173
  "inheritedFrom": {
2154
- "name": "Accordion",
2155
- "module": "src/accordion/accordion.ts"
2174
+ "name": "ActionsMenu",
2175
+ "module": "src/actions-menu/actions-menu.ts"
2156
2176
  }
2157
2177
  },
2158
2178
  {
2159
2179
  "kind": "field",
2160
- "name": "handleItemFocus",
2161
- "privacy": "private",
2180
+ "name": "rowData",
2181
+ "readonly": true,
2162
2182
  "inheritedFrom": {
2163
- "name": "Accordion",
2164
- "module": "src/accordion/accordion.ts"
2183
+ "name": "ActionsMenu",
2184
+ "module": "src/actions-menu/actions-menu.ts"
2165
2185
  }
2166
2186
  },
2167
2187
  {
2168
2188
  "kind": "method",
2169
- "name": "adjust",
2170
- "privacy": "private",
2171
- "return": {
2172
- "type": {
2173
- "text": "void"
2174
- }
2175
- },
2189
+ "name": "getLabel",
2176
2190
  "parameters": [
2177
2191
  {
2178
- "name": "adjustment",
2192
+ "name": "name",
2179
2193
  "type": {
2180
- "text": "number"
2194
+ "text": "string | ((rowData: any) => string)"
2181
2195
  }
2182
2196
  }
2183
2197
  ],
2184
2198
  "inheritedFrom": {
2185
- "name": "Accordion",
2186
- "module": "src/accordion/accordion.ts"
2199
+ "name": "ActionsMenu",
2200
+ "module": "src/actions-menu/actions-menu.ts"
2187
2201
  }
2188
2202
  },
2189
2203
  {
2190
2204
  "kind": "method",
2191
- "name": "focusItem",
2192
- "privacy": "private",
2193
- "return": {
2194
- "type": {
2195
- "text": "void"
2205
+ "name": "getTemplate",
2206
+ "parameters": [
2207
+ {
2208
+ "name": "prefix",
2209
+ "type": {
2210
+ "text": "string"
2211
+ }
2196
2212
  }
2197
- },
2213
+ ],
2198
2214
  "inheritedFrom": {
2199
- "name": "Accordion",
2200
- "module": "src/accordion/accordion.ts"
2215
+ "name": "ActionsMenu",
2216
+ "module": "src/actions-menu/actions-menu.ts"
2201
2217
  }
2202
2218
  },
2203
2219
  {
@@ -2209,8 +2225,8 @@
2209
2225
  "privacy": "private",
2210
2226
  "default": "void 0",
2211
2227
  "inheritedFrom": {
2212
- "name": "Accordion",
2213
- "module": "src/accordion/accordion.ts"
2228
+ "name": "FoundationElement",
2229
+ "module": "src/foundation-element/foundation-element.ts"
2214
2230
  }
2215
2231
  },
2216
2232
  {
@@ -2222,8 +2238,8 @@
2222
2238
  "privacy": "public",
2223
2239
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2224
2240
  "inheritedFrom": {
2225
- "name": "Accordion",
2226
- "module": "src/accordion/accordion.ts"
2241
+ "name": "FoundationElement",
2242
+ "module": "src/foundation-element/foundation-element.ts"
2227
2243
  }
2228
2244
  },
2229
2245
  {
@@ -2235,8 +2251,8 @@
2235
2251
  "privacy": "public",
2236
2252
  "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.",
2237
2253
  "inheritedFrom": {
2238
- "name": "Accordion",
2239
- "module": "src/accordion/accordion.ts"
2254
+ "name": "FoundationElement",
2255
+ "module": "src/foundation-element/foundation-element.ts"
2240
2256
  }
2241
2257
  },
2242
2258
  {
@@ -2249,8 +2265,8 @@
2249
2265
  }
2250
2266
  },
2251
2267
  "inheritedFrom": {
2252
- "name": "Accordion",
2253
- "module": "src/accordion/accordion.ts"
2268
+ "name": "FoundationElement",
2269
+ "module": "src/foundation-element/foundation-element.ts"
2254
2270
  }
2255
2271
  },
2256
2272
  {
@@ -2262,8 +2278,8 @@
2262
2278
  "privacy": "public",
2263
2279
  "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.",
2264
2280
  "inheritedFrom": {
2265
- "name": "Accordion",
2266
- "module": "src/accordion/accordion.ts"
2281
+ "name": "FoundationElement",
2282
+ "module": "src/foundation-element/foundation-element.ts"
2267
2283
  }
2268
2284
  },
2269
2285
  {
@@ -2276,8 +2292,8 @@
2276
2292
  }
2277
2293
  },
2278
2294
  "inheritedFrom": {
2279
- "name": "Accordion",
2280
- "module": "src/accordion/accordion.ts"
2295
+ "name": "FoundationElement",
2296
+ "module": "src/foundation-element/foundation-element.ts"
2281
2297
  }
2282
2298
  },
2283
2299
  {
@@ -2307,49 +2323,41 @@
2307
2323
  ],
2308
2324
  "description": "Defines an element registry function with a set of element definition defaults.",
2309
2325
  "inheritedFrom": {
2310
- "name": "Accordion",
2311
- "module": "src/accordion/accordion.ts"
2312
- }
2313
- }
2314
- ],
2315
- "events": [
2316
- {
2317
- "description": "Fires a custom 'change' event when the active item changes",
2318
- "name": "change",
2319
- "inheritedFrom": {
2320
- "name": "Accordion",
2321
- "module": "src/accordion/accordion.ts"
2326
+ "name": "FoundationElement",
2327
+ "module": "src/foundation-element/foundation-element.ts"
2322
2328
  }
2323
2329
  }
2324
2330
  ]
2325
2331
  },
2326
2332
  {
2327
2333
  "kind": "variable",
2328
- "name": "zeroAccordion"
2334
+ "name": "zeroActionsMenu",
2335
+ "description": "The Zero Actions Menu",
2336
+ "privacy": "public"
2329
2337
  }
2330
2338
  ],
2331
2339
  "exports": [
2332
2340
  {
2333
2341
  "kind": "js",
2334
- "name": "Accordion",
2342
+ "name": "ActionsMenu",
2335
2343
  "declaration": {
2336
- "name": "Accordion",
2337
- "module": "src/accordion/accordion.ts"
2344
+ "name": "ActionsMenu",
2345
+ "module": "src/actions-menu/actions-menu.ts"
2338
2346
  }
2339
2347
  },
2340
2348
  {
2341
2349
  "kind": "js",
2342
- "name": "zeroAccordion",
2350
+ "name": "zeroActionsMenu",
2343
2351
  "declaration": {
2344
- "name": "zeroAccordion",
2345
- "module": "src/accordion/accordion.ts"
2352
+ "name": "zeroActionsMenu",
2353
+ "module": "src/actions-menu/actions-menu.ts"
2346
2354
  }
2347
2355
  }
2348
2356
  ]
2349
2357
  },
2350
2358
  {
2351
2359
  "kind": "javascript-module",
2352
- "path": "src/accordion/index.ts",
2360
+ "path": "src/actions-menu/index.ts",
2353
2361
  "declarations": [],
2354
2362
  "exports": [
2355
2363
  {
@@ -2357,15 +2365,7 @@
2357
2365
  "name": "*",
2358
2366
  "declaration": {
2359
2367
  "name": "*",
2360
- "package": "./accordion"
2361
- }
2362
- },
2363
- {
2364
- "kind": "js",
2365
- "name": "*",
2366
- "declaration": {
2367
- "name": "*",
2368
- "package": "./accordion.styles"
2368
+ "package": "./actions-menu"
2369
2369
  }
2370
2370
  },
2371
2371
  {
@@ -2373,7 +2373,7 @@
2373
2373
  "name": "*",
2374
2374
  "declaration": {
2375
2375
  "name": "*",
2376
- "package": "./accordion.template"
2376
+ "package": "./actions-menu.styles"
2377
2377
  }
2378
2378
  }
2379
2379
  ]