@genesislcap/foundation-zero 15.57.0 → 15.58.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,60 +1390,52 @@
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/accordion/accordion.styles.ts",
1311
- "declarations": [
1312
- {
1313
- "kind": "function",
1314
- "name": "zeroAccordionStyles",
1315
- "return": {
1316
- "type": {
1317
- "text": "ElementStyles"
1318
- }
1319
- },
1320
- "parameters": [
1321
- {
1322
- "name": "context",
1323
- "type": {
1324
- "text": "ElementDefinitionContext"
1325
- }
1326
- },
1327
- {
1328
- "name": "definition",
1329
- "type": {
1330
- "text": "FoundationElementDefinition"
1331
- }
1332
- }
1333
- ]
1334
- }
1335
- ],
1400
+ "path": "src/_config/index.ts",
1401
+ "declarations": [],
1336
1402
  "exports": [
1337
1403
  {
1338
1404
  "kind": "js",
1339
- "name": "zeroAccordionStyles",
1405
+ "name": "*",
1340
1406
  "declaration": {
1341
- "name": "zeroAccordionStyles",
1342
- "module": "src/accordion/accordion.styles.ts"
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"
1343
1425
  }
1344
1426
  }
1345
1427
  ]
1346
1428
  },
1347
1429
  {
1348
1430
  "kind": "javascript-module",
1349
- "path": "src/accordion/accordion.template.ts",
1431
+ "path": "src/actions-menu/actions-menu.styles.ts",
1350
1432
  "declarations": [
1351
1433
  {
1352
1434
  "kind": "function",
1353
- "name": "zeroAccordionTemplate",
1435
+ "name": "zeroActionsMenuStyles",
1354
1436
  "return": {
1355
1437
  "type": {
1356
- "text": "ViewTemplate<Accordion>"
1438
+ "text": "ElementStyles"
1357
1439
  }
1358
1440
  },
1359
1441
  "parameters": [
@@ -1375,263 +1457,429 @@
1375
1457
  "exports": [
1376
1458
  {
1377
1459
  "kind": "js",
1378
- "name": "zeroAccordionTemplate",
1460
+ "name": "zeroActionsMenuStyles",
1379
1461
  "declaration": {
1380
- "name": "zeroAccordionTemplate",
1381
- "module": "src/accordion/accordion.template.ts"
1462
+ "name": "zeroActionsMenuStyles",
1463
+ "module": "src/actions-menu/actions-menu.styles.ts"
1382
1464
  }
1383
1465
  }
1384
1466
  ]
1385
1467
  },
1386
1468
  {
1387
1469
  "kind": "javascript-module",
1388
- "path": "src/accordion/accordion.ts",
1470
+ "path": "src/actions-menu/actions-menu.ts",
1389
1471
  "declarations": [
1390
1472
  {
1391
1473
  "kind": "class",
1392
1474
  "description": "",
1393
- "name": "Accordion",
1475
+ "name": "ActionsMenu",
1394
1476
  "superclass": {
1395
- "name": "FoundationAccordion",
1477
+ "name": "FoundationActionsMenu",
1396
1478
  "package": "@genesislcap/foundation-ui"
1397
1479
  },
1398
- "tagName": "%%prefix%%-card",
1480
+ "tagName": "%%prefix%%-actions-menu",
1399
1481
  "customElement": true,
1400
1482
  "attributes": [
1401
1483
  {
1402
- "name": "expand-mode",
1484
+ "name": "is-vertical",
1403
1485
  "type": {
1404
- "text": "AccordionExpandMode"
1486
+ "text": "boolean"
1405
1487
  },
1406
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1407
- "fieldName": "expandmode",
1488
+ "default": "false",
1489
+ "fieldName": "isVertical",
1408
1490
  "inheritedFrom": {
1409
- "name": "Accordion",
1410
- "module": "src/accordion/accordion.ts"
1491
+ "name": "ActionsMenu",
1492
+ "module": "src/actions-menu/actions-menu.ts"
1411
1493
  }
1412
- }
1413
- ],
1414
- "members": [
1494
+ },
1415
1495
  {
1416
- "kind": "field",
1417
- "name": "expandmode",
1496
+ "name": "add-default-actions",
1418
1497
  "type": {
1419
- "text": "AccordionExpandMode"
1498
+ "text": "boolean"
1420
1499
  },
1421
- "privacy": "public",
1422
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1500
+ "default": "true",
1501
+ "fieldName": "addDefaultActions",
1423
1502
  "inheritedFrom": {
1424
- "name": "Accordion",
1425
- "module": "src/accordion/accordion.ts"
1503
+ "name": "ActionsMenu",
1504
+ "module": "src/actions-menu/actions-menu.ts"
1426
1505
  }
1427
1506
  },
1428
1507
  {
1429
- "kind": "field",
1430
- "name": "activeid",
1508
+ "name": "auto-close-on-action",
1431
1509
  "type": {
1432
- "text": "string | null"
1510
+ "text": "boolean"
1433
1511
  },
1434
- "privacy": "private",
1512
+ "default": "true",
1513
+ "fieldName": "autoCloseOnAction",
1435
1514
  "inheritedFrom": {
1436
- "name": "Accordion",
1437
- "module": "src/accordion/accordion.ts"
1515
+ "name": "ActionsMenu",
1516
+ "module": "src/actions-menu/actions-menu.ts"
1438
1517
  }
1439
1518
  },
1440
1519
  {
1441
- "kind": "field",
1442
- "name": "activeItemIndex",
1520
+ "name": "name",
1443
1521
  "type": {
1444
- "text": "number"
1522
+ "text": "string"
1445
1523
  },
1446
- "privacy": "private",
1447
- "default": "0",
1524
+ "default": "'Actions'",
1525
+ "fieldName": "name",
1448
1526
  "inheritedFrom": {
1449
- "name": "Accordion",
1450
- "module": "src/accordion/accordion.ts"
1527
+ "name": "ActionsMenu",
1528
+ "module": "src/actions-menu/actions-menu.ts"
1451
1529
  }
1452
1530
  },
1453
1531
  {
1454
- "kind": "field",
1455
- "name": "accordionIds",
1532
+ "name": "open",
1456
1533
  "type": {
1457
- "text": "Array<string | null>"
1534
+ "text": "boolean"
1458
1535
  },
1459
- "privacy": "private",
1536
+ "default": "false",
1537
+ "fieldName": "open",
1460
1538
  "inheritedFrom": {
1461
- "name": "Accordion",
1462
- "module": "src/accordion/accordion.ts"
1539
+ "name": "ActionsMenu",
1540
+ "module": "src/actions-menu/actions-menu.ts"
1463
1541
  }
1464
1542
  },
1465
1543
  {
1466
- "kind": "field",
1467
- "name": "change",
1468
- "privacy": "private",
1544
+ "name": "buttonAppearance",
1545
+ "type": {
1546
+ "text": "string"
1547
+ },
1548
+ "fieldName": "buttonAppearance",
1469
1549
  "inheritedFrom": {
1470
- "name": "Accordion",
1471
- "module": "src/accordion/accordion.ts"
1550
+ "name": "ActionsMenu",
1551
+ "module": "src/actions-menu/actions-menu.ts"
1472
1552
  }
1473
1553
  },
1474
1554
  {
1475
- "kind": "method",
1476
- "name": "findExpandedItem",
1477
- "privacy": "private",
1478
- "return": {
1479
- "type": {
1480
- "text": "AccordionItem | null"
1481
- }
1555
+ "name": "hide-disabled",
1556
+ "type": {
1557
+ "text": "boolean"
1482
1558
  },
1559
+ "default": "false",
1560
+ "fieldName": "hideDisabled",
1483
1561
  "inheritedFrom": {
1484
- "name": "Accordion",
1485
- "module": "src/accordion/accordion.ts"
1562
+ "name": "ActionsMenu",
1563
+ "module": "src/actions-menu/actions-menu.ts"
1486
1564
  }
1487
1565
  },
1488
1566
  {
1489
- "kind": "field",
1490
- "name": "setItems",
1491
- "privacy": "private",
1567
+ "name": "hide-menu-single-option",
1568
+ "type": {
1569
+ "text": "boolean"
1570
+ },
1571
+ "default": "false",
1572
+ "fieldName": "hideMenuSingleOption",
1492
1573
  "inheritedFrom": {
1493
- "name": "Accordion",
1494
- "module": "src/accordion/accordion.ts"
1574
+ "name": "ActionsMenu",
1575
+ "module": "src/actions-menu/actions-menu.ts"
1495
1576
  }
1496
- },
1577
+ }
1578
+ ],
1579
+ "members": [
1497
1580
  {
1498
- "kind": "method",
1499
- "name": "resetItems",
1500
- "privacy": "private",
1501
- "return": {
1502
- "type": {
1503
- "text": "void"
1504
- }
1581
+ "kind": "field",
1582
+ "name": "actions",
1583
+ "type": {
1584
+ "text": "ActionMenuItem[]"
1505
1585
  },
1506
1586
  "inheritedFrom": {
1507
- "name": "Accordion",
1508
- "module": "src/accordion/accordion.ts"
1587
+ "name": "ActionsMenu",
1588
+ "module": "src/actions-menu/actions-menu.ts"
1509
1589
  }
1510
1590
  },
1511
1591
  {
1512
1592
  "kind": "field",
1513
- "name": "removeItemListeners",
1514
- "privacy": "private",
1593
+ "name": "isVertical",
1594
+ "type": {
1595
+ "text": "boolean"
1596
+ },
1597
+ "default": "false",
1515
1598
  "inheritedFrom": {
1516
- "name": "Accordion",
1517
- "module": "src/accordion/accordion.ts"
1599
+ "name": "ActionsMenu",
1600
+ "module": "src/actions-menu/actions-menu.ts"
1518
1601
  }
1519
1602
  },
1520
1603
  {
1521
1604
  "kind": "field",
1522
- "name": "activeItemChange",
1523
- "privacy": "private",
1605
+ "name": "addDefaultActions",
1606
+ "type": {
1607
+ "text": "boolean"
1608
+ },
1609
+ "default": "true",
1524
1610
  "inheritedFrom": {
1525
- "name": "Accordion",
1526
- "module": "src/accordion/accordion.ts"
1611
+ "name": "ActionsMenu",
1612
+ "module": "src/actions-menu/actions-menu.ts"
1527
1613
  }
1528
1614
  },
1529
1615
  {
1530
- "kind": "method",
1531
- "name": "getItemIds",
1532
- "privacy": "private",
1533
- "return": {
1534
- "type": {
1535
- "text": "Array<string | null>"
1536
- }
1616
+ "kind": "field",
1617
+ "name": "autoCloseOnAction",
1618
+ "type": {
1619
+ "text": "boolean"
1537
1620
  },
1621
+ "default": "true",
1538
1622
  "inheritedFrom": {
1539
- "name": "Accordion",
1540
- "module": "src/accordion/accordion.ts"
1623
+ "name": "ActionsMenu",
1624
+ "module": "src/actions-menu/actions-menu.ts"
1541
1625
  }
1542
1626
  },
1543
1627
  {
1544
- "kind": "method",
1545
- "name": "isSingleExpandMode",
1546
- "privacy": "private",
1547
- "return": {
1548
- "type": {
1549
- "text": "boolean"
1550
- }
1628
+ "kind": "field",
1629
+ "name": "classNames",
1630
+ "type": {
1631
+ "text": "string"
1551
1632
  },
1552
1633
  "inheritedFrom": {
1553
- "name": "Accordion",
1554
- "module": "src/accordion/accordion.ts"
1634
+ "name": "ActionsMenu",
1635
+ "module": "src/actions-menu/actions-menu.ts"
1555
1636
  }
1556
1637
  },
1557
1638
  {
1558
1639
  "kind": "field",
1559
- "name": "handleItemKeyDown",
1560
- "privacy": "private",
1640
+ "name": "definition",
1641
+ "type": {
1642
+ "text": "any"
1643
+ },
1561
1644
  "inheritedFrom": {
1562
- "name": "Accordion",
1563
- "module": "src/accordion/accordion.ts"
1645
+ "name": "ActionsMenu",
1646
+ "module": "src/actions-menu/actions-menu.ts"
1564
1647
  }
1565
1648
  },
1566
1649
  {
1567
1650
  "kind": "field",
1568
- "name": "handleItemFocus",
1569
- "privacy": "private",
1651
+ "name": "name",
1652
+ "type": {
1653
+ "text": "string"
1654
+ },
1655
+ "default": "'Actions'",
1570
1656
  "inheritedFrom": {
1571
- "name": "Accordion",
1572
- "module": "src/accordion/accordion.ts"
1657
+ "name": "ActionsMenu",
1658
+ "module": "src/actions-menu/actions-menu.ts"
1573
1659
  }
1574
1660
  },
1575
1661
  {
1576
- "kind": "method",
1577
- "name": "adjust",
1578
- "privacy": "private",
1579
- "return": {
1580
- "type": {
1581
- "text": "void"
1582
- }
1662
+ "kind": "field",
1663
+ "name": "open",
1664
+ "type": {
1665
+ "text": "boolean"
1583
1666
  },
1584
- "parameters": [
1585
- {
1586
- "name": "adjustment",
1587
- "type": {
1588
- "text": "number"
1589
- }
1590
- }
1591
- ],
1667
+ "default": "false",
1592
1668
  "inheritedFrom": {
1593
- "name": "Accordion",
1594
- "module": "src/accordion/accordion.ts"
1669
+ "name": "ActionsMenu",
1670
+ "module": "src/actions-menu/actions-menu.ts"
1595
1671
  }
1596
1672
  },
1597
1673
  {
1598
- "kind": "method",
1599
- "name": "focusItem",
1600
- "privacy": "private",
1601
- "return": {
1602
- "type": {
1603
- "text": "void"
1604
- }
1674
+ "kind": "field",
1675
+ "name": "buttonAppearance",
1676
+ "type": {
1677
+ "text": "string"
1605
1678
  },
1606
1679
  "inheritedFrom": {
1607
- "name": "Accordion",
1608
- "module": "src/accordion/accordion.ts"
1680
+ "name": "ActionsMenu",
1681
+ "module": "src/actions-menu/actions-menu.ts"
1609
1682
  }
1610
1683
  },
1611
1684
  {
1612
1685
  "kind": "field",
1613
- "name": "_presentation",
1686
+ "name": "hideDisabled",
1614
1687
  "type": {
1615
- "text": "ComponentPresentation | null | undefined"
1688
+ "text": "boolean"
1616
1689
  },
1617
- "privacy": "private",
1618
- "default": "void 0",
1690
+ "default": "false",
1619
1691
  "inheritedFrom": {
1620
- "name": "Accordion",
1621
- "module": "src/accordion/accordion.ts"
1692
+ "name": "ActionsMenu",
1693
+ "module": "src/actions-menu/actions-menu.ts"
1622
1694
  }
1623
1695
  },
1624
1696
  {
1625
1697
  "kind": "field",
1626
- "name": "$presentation",
1698
+ "name": "hideMenuSingleOption",
1699
+ "type": {
1700
+ "text": "boolean"
1701
+ },
1702
+ "default": "false",
1703
+ "inheritedFrom": {
1704
+ "name": "ActionsMenu",
1705
+ "module": "src/actions-menu/actions-menu.ts"
1706
+ }
1707
+ },
1708
+ {
1709
+ "kind": "field",
1710
+ "name": "singleOption",
1711
+ "type": {
1712
+ "text": "ActionMenuItem"
1713
+ },
1714
+ "inheritedFrom": {
1715
+ "name": "ActionsMenu",
1716
+ "module": "src/actions-menu/actions-menu.ts"
1717
+ }
1718
+ },
1719
+ {
1720
+ "kind": "field",
1721
+ "name": "actionsMenu",
1722
+ "type": {
1723
+ "text": "HTMLElement"
1724
+ },
1725
+ "inheritedFrom": {
1726
+ "name": "ActionsMenu",
1727
+ "module": "src/actions-menu/actions-menu.ts"
1728
+ }
1729
+ },
1730
+ {
1731
+ "kind": "field",
1732
+ "name": "actionsOpener",
1733
+ "type": {
1734
+ "text": "HTMLElement"
1735
+ },
1736
+ "inheritedFrom": {
1737
+ "name": "ActionsMenu",
1738
+ "module": "src/actions-menu/actions-menu.ts"
1739
+ }
1740
+ },
1741
+ {
1742
+ "kind": "method",
1743
+ "name": "updateMenuPosition",
1744
+ "privacy": "private",
1745
+ "inheritedFrom": {
1746
+ "name": "ActionsMenu",
1747
+ "module": "src/actions-menu/actions-menu.ts"
1748
+ }
1749
+ },
1750
+ {
1751
+ "kind": "method",
1752
+ "name": "definitionChanged",
1753
+ "privacy": "protected",
1754
+ "parameters": [
1755
+ {
1756
+ "name": "oldValue",
1757
+ "type": {
1758
+ "text": "any"
1759
+ }
1760
+ },
1761
+ {
1762
+ "name": "newValue",
1763
+ "type": {
1764
+ "text": "any"
1765
+ }
1766
+ }
1767
+ ],
1768
+ "inheritedFrom": {
1769
+ "name": "ActionsMenu",
1770
+ "module": "src/actions-menu/actions-menu.ts"
1771
+ }
1772
+ },
1773
+ {
1774
+ "kind": "method",
1775
+ "name": "openChanged",
1776
+ "privacy": "protected",
1777
+ "inheritedFrom": {
1778
+ "name": "ActionsMenu",
1779
+ "module": "src/actions-menu/actions-menu.ts"
1780
+ }
1781
+ },
1782
+ {
1783
+ "kind": "method",
1784
+ "name": "toggleActionsMenuVisibility",
1785
+ "inheritedFrom": {
1786
+ "name": "ActionsMenu",
1787
+ "module": "src/actions-menu/actions-menu.ts"
1788
+ }
1789
+ },
1790
+ {
1791
+ "kind": "method",
1792
+ "name": "onActionMenuItemClick",
1793
+ "parameters": [
1794
+ {
1795
+ "name": "callback",
1796
+ "type": {
1797
+ "text": "(rowData) => void | any"
1798
+ }
1799
+ }
1800
+ ],
1801
+ "inheritedFrom": {
1802
+ "name": "ActionsMenu",
1803
+ "module": "src/actions-menu/actions-menu.ts"
1804
+ }
1805
+ },
1806
+ {
1807
+ "kind": "field",
1808
+ "name": "allActions",
1809
+ "type": {
1810
+ "text": "ActionMenuItem[]"
1811
+ },
1812
+ "readonly": true,
1813
+ "inheritedFrom": {
1814
+ "name": "ActionsMenu",
1815
+ "module": "src/actions-menu/actions-menu.ts"
1816
+ }
1817
+ },
1818
+ {
1819
+ "kind": "field",
1820
+ "name": "rowData",
1821
+ "readonly": true,
1822
+ "inheritedFrom": {
1823
+ "name": "ActionsMenu",
1824
+ "module": "src/actions-menu/actions-menu.ts"
1825
+ }
1826
+ },
1827
+ {
1828
+ "kind": "method",
1829
+ "name": "getLabel",
1830
+ "parameters": [
1831
+ {
1832
+ "name": "name",
1833
+ "type": {
1834
+ "text": "string | ((rowData: any) => string)"
1835
+ }
1836
+ }
1837
+ ],
1838
+ "inheritedFrom": {
1839
+ "name": "ActionsMenu",
1840
+ "module": "src/actions-menu/actions-menu.ts"
1841
+ }
1842
+ },
1843
+ {
1844
+ "kind": "method",
1845
+ "name": "getTemplate",
1846
+ "parameters": [
1847
+ {
1848
+ "name": "prefix",
1849
+ "type": {
1850
+ "text": "string"
1851
+ }
1852
+ }
1853
+ ],
1854
+ "inheritedFrom": {
1855
+ "name": "ActionsMenu",
1856
+ "module": "src/actions-menu/actions-menu.ts"
1857
+ }
1858
+ },
1859
+ {
1860
+ "kind": "field",
1861
+ "name": "_presentation",
1862
+ "type": {
1863
+ "text": "ComponentPresentation | null | undefined"
1864
+ },
1865
+ "privacy": "private",
1866
+ "default": "void 0",
1867
+ "inheritedFrom": {
1868
+ "name": "FoundationElement",
1869
+ "module": "src/foundation-element/foundation-element.ts"
1870
+ }
1871
+ },
1872
+ {
1873
+ "kind": "field",
1874
+ "name": "$presentation",
1627
1875
  "type": {
1628
1876
  "text": "ComponentPresentation | null"
1629
1877
  },
1630
1878
  "privacy": "public",
1631
1879
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1632
1880
  "inheritedFrom": {
1633
- "name": "Accordion",
1634
- "module": "src/accordion/accordion.ts"
1881
+ "name": "FoundationElement",
1882
+ "module": "src/foundation-element/foundation-element.ts"
1635
1883
  }
1636
1884
  },
1637
1885
  {
@@ -1643,8 +1891,8 @@
1643
1891
  "privacy": "public",
1644
1892
  "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.",
1645
1893
  "inheritedFrom": {
1646
- "name": "Accordion",
1647
- "module": "src/accordion/accordion.ts"
1894
+ "name": "FoundationElement",
1895
+ "module": "src/foundation-element/foundation-element.ts"
1648
1896
  }
1649
1897
  },
1650
1898
  {
@@ -1657,8 +1905,8 @@
1657
1905
  }
1658
1906
  },
1659
1907
  "inheritedFrom": {
1660
- "name": "Accordion",
1661
- "module": "src/accordion/accordion.ts"
1908
+ "name": "FoundationElement",
1909
+ "module": "src/foundation-element/foundation-element.ts"
1662
1910
  }
1663
1911
  },
1664
1912
  {
@@ -1670,8 +1918,8 @@
1670
1918
  "privacy": "public",
1671
1919
  "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.",
1672
1920
  "inheritedFrom": {
1673
- "name": "Accordion",
1674
- "module": "src/accordion/accordion.ts"
1921
+ "name": "FoundationElement",
1922
+ "module": "src/foundation-element/foundation-element.ts"
1675
1923
  }
1676
1924
  },
1677
1925
  {
@@ -1684,8 +1932,8 @@
1684
1932
  }
1685
1933
  },
1686
1934
  "inheritedFrom": {
1687
- "name": "Accordion",
1688
- "module": "src/accordion/accordion.ts"
1935
+ "name": "FoundationElement",
1936
+ "module": "src/foundation-element/foundation-element.ts"
1689
1937
  }
1690
1938
  },
1691
1939
  {
@@ -1715,49 +1963,41 @@
1715
1963
  ],
1716
1964
  "description": "Defines an element registry function with a set of element definition defaults.",
1717
1965
  "inheritedFrom": {
1718
- "name": "Accordion",
1719
- "module": "src/accordion/accordion.ts"
1720
- }
1721
- }
1722
- ],
1723
- "events": [
1724
- {
1725
- "description": "Fires a custom 'change' event when the active item changes",
1726
- "name": "change",
1727
- "inheritedFrom": {
1728
- "name": "Accordion",
1729
- "module": "src/accordion/accordion.ts"
1966
+ "name": "FoundationElement",
1967
+ "module": "src/foundation-element/foundation-element.ts"
1730
1968
  }
1731
1969
  }
1732
1970
  ]
1733
1971
  },
1734
1972
  {
1735
1973
  "kind": "variable",
1736
- "name": "zeroAccordion"
1974
+ "name": "zeroActionsMenu",
1975
+ "description": "The Zero Actions Menu",
1976
+ "privacy": "public"
1737
1977
  }
1738
1978
  ],
1739
1979
  "exports": [
1740
1980
  {
1741
1981
  "kind": "js",
1742
- "name": "Accordion",
1982
+ "name": "ActionsMenu",
1743
1983
  "declaration": {
1744
- "name": "Accordion",
1745
- "module": "src/accordion/accordion.ts"
1984
+ "name": "ActionsMenu",
1985
+ "module": "src/actions-menu/actions-menu.ts"
1746
1986
  }
1747
1987
  },
1748
1988
  {
1749
1989
  "kind": "js",
1750
- "name": "zeroAccordion",
1990
+ "name": "zeroActionsMenu",
1751
1991
  "declaration": {
1752
- "name": "zeroAccordion",
1753
- "module": "src/accordion/accordion.ts"
1992
+ "name": "zeroActionsMenu",
1993
+ "module": "src/actions-menu/actions-menu.ts"
1754
1994
  }
1755
1995
  }
1756
1996
  ]
1757
1997
  },
1758
1998
  {
1759
1999
  "kind": "javascript-module",
1760
- "path": "src/accordion/index.ts",
2000
+ "path": "src/actions-menu/index.ts",
1761
2001
  "declarations": [],
1762
2002
  "exports": [
1763
2003
  {
@@ -1765,15 +2005,7 @@
1765
2005
  "name": "*",
1766
2006
  "declaration": {
1767
2007
  "name": "*",
1768
- "package": "./accordion"
1769
- }
1770
- },
1771
- {
1772
- "kind": "js",
1773
- "name": "*",
1774
- "declaration": {
1775
- "name": "*",
1776
- "package": "./accordion.styles"
2008
+ "package": "./actions-menu"
1777
2009
  }
1778
2010
  },
1779
2011
  {
@@ -1781,18 +2013,18 @@
1781
2013
  "name": "*",
1782
2014
  "declaration": {
1783
2015
  "name": "*",
1784
- "package": "./accordion.template"
2016
+ "package": "./actions-menu.styles"
1785
2017
  }
1786
2018
  }
1787
2019
  ]
1788
2020
  },
1789
2021
  {
1790
2022
  "kind": "javascript-module",
1791
- "path": "src/actions-menu/actions-menu.styles.ts",
2023
+ "path": "src/accordion-item/accordion-item.styles.ts",
1792
2024
  "declarations": [
1793
2025
  {
1794
2026
  "kind": "function",
1795
- "name": "zeroActionsMenuStyles",
2027
+ "name": "zeroAccordionItemStyles",
1796
2028
  "return": {
1797
2029
  "type": {
1798
2030
  "text": "ElementStyles"
@@ -1817,403 +2049,155 @@
1817
2049
  "exports": [
1818
2050
  {
1819
2051
  "kind": "js",
1820
- "name": "zeroActionsMenuStyles",
2052
+ "name": "zeroAccordionItemStyles",
1821
2053
  "declaration": {
1822
- "name": "zeroActionsMenuStyles",
1823
- "module": "src/actions-menu/actions-menu.styles.ts"
2054
+ "name": "zeroAccordionItemStyles",
2055
+ "module": "src/accordion-item/accordion-item.styles.ts"
1824
2056
  }
1825
2057
  }
1826
2058
  ]
1827
2059
  },
1828
2060
  {
1829
2061
  "kind": "javascript-module",
1830
- "path": "src/actions-menu/actions-menu.ts",
2062
+ "path": "src/accordion-item/accordion-item.template.ts",
1831
2063
  "declarations": [
1832
2064
  {
1833
- "kind": "class",
1834
- "description": "",
1835
- "name": "ActionsMenu",
1836
- "superclass": {
1837
- "name": "FoundationActionsMenu",
1838
- "package": "@genesislcap/foundation-ui"
1839
- },
1840
- "tagName": "%%prefix%%-actions-menu",
1841
- "customElement": true,
1842
- "attributes": [
1843
- {
1844
- "name": "is-vertical",
1845
- "type": {
1846
- "text": "boolean"
1847
- },
1848
- "default": "false",
1849
- "fieldName": "isVertical",
1850
- "inheritedFrom": {
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"
1936
- }
2065
+ "kind": "function",
2066
+ "name": "zeroAccordionItemTemplate",
2067
+ "return": {
2068
+ "type": {
2069
+ "text": "ViewTemplate<AccordionItem>"
1937
2070
  }
1938
- ],
1939
- "members": [
1940
- {
1941
- "kind": "field",
1942
- "name": "actions",
1943
- "type": {
1944
- "text": "ActionMenuItem[]"
1945
- },
1946
- "inheritedFrom": {
1947
- "name": "ActionsMenu",
1948
- "module": "src/actions-menu/actions-menu.ts"
1949
- }
1950
- },
1951
- {
1952
- "kind": "field",
1953
- "name": "isVertical",
1954
- "type": {
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
- },
2071
+ },
2072
+ "parameters": [
1987
2073
  {
1988
- "kind": "field",
1989
- "name": "classNames",
2074
+ "name": "context",
1990
2075
  "type": {
1991
- "text": "string"
1992
- },
1993
- "inheritedFrom": {
1994
- "name": "ActionsMenu",
1995
- "module": "src/actions-menu/actions-menu.ts"
2076
+ "text": "ElementDefinitionContext"
1996
2077
  }
1997
2078
  },
1998
2079
  {
1999
- "kind": "field",
2000
2080
  "name": "definition",
2001
2081
  "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"
2038
- },
2039
- "inheritedFrom": {
2040
- "name": "ActionsMenu",
2041
- "module": "src/actions-menu/actions-menu.ts"
2082
+ "text": "FoundationElementDefinition"
2042
2083
  }
2043
- },
2084
+ }
2085
+ ]
2086
+ }
2087
+ ],
2088
+ "exports": [
2089
+ {
2090
+ "kind": "js",
2091
+ "name": "zeroAccordionItemTemplate",
2092
+ "declaration": {
2093
+ "name": "zeroAccordionItemTemplate",
2094
+ "module": "src/accordion-item/accordion-item.template.ts"
2095
+ }
2096
+ }
2097
+ ]
2098
+ },
2099
+ {
2100
+ "kind": "javascript-module",
2101
+ "path": "src/accordion-item/accordion-item.ts",
2102
+ "declarations": [
2103
+ {
2104
+ "kind": "class",
2105
+ "description": "",
2106
+ "name": "AccordionItem",
2107
+ "superclass": {
2108
+ "name": "FoundationAccordionItem",
2109
+ "package": "@genesislcap/foundation-ui"
2110
+ },
2111
+ "tagName": "%%prefix%%-card",
2112
+ "customElement": true,
2113
+ "attributes": [
2044
2114
  {
2045
- "kind": "field",
2046
- "name": "hideDisabled",
2115
+ "name": "heading-level",
2047
2116
  "type": {
2048
- "text": "boolean"
2117
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2049
2118
  },
2050
- "default": "false",
2119
+ "default": "2",
2120
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2121
+ "fieldName": "headinglevel",
2051
2122
  "inheritedFrom": {
2052
- "name": "ActionsMenu",
2053
- "module": "src/actions-menu/actions-menu.ts"
2123
+ "name": "AccordionItem",
2124
+ "module": "src/accordion-item/accordion-item.ts"
2054
2125
  }
2055
2126
  },
2056
2127
  {
2057
- "kind": "field",
2058
- "name": "hideMenuSingleOption",
2059
2128
  "type": {
2060
2129
  "text": "boolean"
2061
2130
  },
2062
2131
  "default": "false",
2132
+ "description": "Expands or collapses the item.",
2133
+ "fieldName": "expanded",
2063
2134
  "inheritedFrom": {
2064
- "name": "ActionsMenu",
2065
- "module": "src/actions-menu/actions-menu.ts"
2135
+ "name": "AccordionItem",
2136
+ "module": "src/accordion-item/accordion-item.ts"
2066
2137
  }
2067
2138
  },
2068
2139
  {
2069
- "kind": "field",
2070
- "name": "singleOption",
2140
+ "name": "id",
2071
2141
  "type": {
2072
- "text": "ActionMenuItem"
2142
+ "text": "string"
2073
2143
  },
2144
+ "description": "The item ID",
2145
+ "fieldName": "id",
2074
2146
  "inheritedFrom": {
2075
- "name": "ActionsMenu",
2076
- "module": "src/actions-menu/actions-menu.ts"
2147
+ "name": "AccordionItem",
2148
+ "module": "src/accordion-item/accordion-item.ts"
2077
2149
  }
2078
- },
2150
+ }
2151
+ ],
2152
+ "members": [
2079
2153
  {
2080
2154
  "kind": "field",
2081
- "name": "actionsMenu",
2155
+ "name": "headinglevel",
2082
2156
  "type": {
2083
- "text": "HTMLElement"
2157
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2084
2158
  },
2159
+ "privacy": "public",
2160
+ "default": "2",
2161
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2085
2162
  "inheritedFrom": {
2086
- "name": "ActionsMenu",
2087
- "module": "src/actions-menu/actions-menu.ts"
2163
+ "name": "AccordionItem",
2164
+ "module": "src/accordion-item/accordion-item.ts"
2088
2165
  }
2089
2166
  },
2090
2167
  {
2091
2168
  "kind": "field",
2092
- "name": "actionsOpener",
2169
+ "name": "expanded",
2093
2170
  "type": {
2094
- "text": "HTMLElement"
2171
+ "text": "boolean"
2095
2172
  },
2173
+ "privacy": "public",
2174
+ "default": "false",
2175
+ "description": "Expands or collapses the item.",
2096
2176
  "inheritedFrom": {
2097
- "name": "ActionsMenu",
2098
- "module": "src/actions-menu/actions-menu.ts"
2099
- }
2100
- },
2101
- {
2102
- "kind": "method",
2103
- "name": "updateMenuPosition",
2104
- "privacy": "private",
2105
- "inheritedFrom": {
2106
- "name": "ActionsMenu",
2107
- "module": "src/actions-menu/actions-menu.ts"
2108
- }
2109
- },
2110
- {
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
- ],
2128
- "inheritedFrom": {
2129
- "name": "ActionsMenu",
2130
- "module": "src/actions-menu/actions-menu.ts"
2131
- }
2132
- },
2133
- {
2134
- "kind": "method",
2135
- "name": "openChanged",
2136
- "privacy": "protected",
2137
- "inheritedFrom": {
2138
- "name": "ActionsMenu",
2139
- "module": "src/actions-menu/actions-menu.ts"
2140
- }
2141
- },
2142
- {
2143
- "kind": "method",
2144
- "name": "toggleActionsMenuVisibility",
2145
- "inheritedFrom": {
2146
- "name": "ActionsMenu",
2147
- "module": "src/actions-menu/actions-menu.ts"
2148
- }
2149
- },
2150
- {
2151
- "kind": "method",
2152
- "name": "onActionMenuItemClick",
2153
- "parameters": [
2154
- {
2155
- "name": "callback",
2156
- "type": {
2157
- "text": "(rowData) => void | any"
2158
- }
2159
- }
2160
- ],
2161
- "inheritedFrom": {
2162
- "name": "ActionsMenu",
2163
- "module": "src/actions-menu/actions-menu.ts"
2177
+ "name": "AccordionItem",
2178
+ "module": "src/accordion-item/accordion-item.ts"
2164
2179
  }
2165
2180
  },
2166
2181
  {
2167
2182
  "kind": "field",
2168
- "name": "allActions",
2183
+ "name": "id",
2169
2184
  "type": {
2170
- "text": "ActionMenuItem[]"
2185
+ "text": "string"
2171
2186
  },
2172
- "readonly": true,
2187
+ "privacy": "public",
2188
+ "description": "The item ID",
2173
2189
  "inheritedFrom": {
2174
- "name": "ActionsMenu",
2175
- "module": "src/actions-menu/actions-menu.ts"
2190
+ "name": "AccordionItem",
2191
+ "module": "src/accordion-item/accordion-item.ts"
2176
2192
  }
2177
2193
  },
2178
2194
  {
2179
2195
  "kind": "field",
2180
- "name": "rowData",
2181
- "readonly": true,
2182
- "inheritedFrom": {
2183
- "name": "ActionsMenu",
2184
- "module": "src/actions-menu/actions-menu.ts"
2185
- }
2186
- },
2187
- {
2188
- "kind": "method",
2189
- "name": "getLabel",
2190
- "parameters": [
2191
- {
2192
- "name": "name",
2193
- "type": {
2194
- "text": "string | ((rowData: any) => string)"
2195
- }
2196
- }
2197
- ],
2198
- "inheritedFrom": {
2199
- "name": "ActionsMenu",
2200
- "module": "src/actions-menu/actions-menu.ts"
2201
- }
2202
- },
2203
- {
2204
- "kind": "method",
2205
- "name": "getTemplate",
2206
- "parameters": [
2207
- {
2208
- "name": "prefix",
2209
- "type": {
2210
- "text": "string"
2211
- }
2212
- }
2213
- ],
2196
+ "name": "change",
2197
+ "privacy": "private",
2214
2198
  "inheritedFrom": {
2215
- "name": "ActionsMenu",
2216
- "module": "src/actions-menu/actions-menu.ts"
2199
+ "name": "AccordionItem",
2200
+ "module": "src/accordion-item/accordion-item.ts"
2217
2201
  }
2218
2202
  },
2219
2203
  {
@@ -2225,8 +2209,8 @@
2225
2209
  "privacy": "private",
2226
2210
  "default": "void 0",
2227
2211
  "inheritedFrom": {
2228
- "name": "FoundationElement",
2229
- "module": "src/foundation-element/foundation-element.ts"
2212
+ "name": "AccordionItem",
2213
+ "module": "src/accordion-item/accordion-item.ts"
2230
2214
  }
2231
2215
  },
2232
2216
  {
@@ -2238,8 +2222,8 @@
2238
2222
  "privacy": "public",
2239
2223
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2240
2224
  "inheritedFrom": {
2241
- "name": "FoundationElement",
2242
- "module": "src/foundation-element/foundation-element.ts"
2225
+ "name": "AccordionItem",
2226
+ "module": "src/accordion-item/accordion-item.ts"
2243
2227
  }
2244
2228
  },
2245
2229
  {
@@ -2251,8 +2235,8 @@
2251
2235
  "privacy": "public",
2252
2236
  "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.",
2253
2237
  "inheritedFrom": {
2254
- "name": "FoundationElement",
2255
- "module": "src/foundation-element/foundation-element.ts"
2238
+ "name": "AccordionItem",
2239
+ "module": "src/accordion-item/accordion-item.ts"
2256
2240
  }
2257
2241
  },
2258
2242
  {
@@ -2265,8 +2249,8 @@
2265
2249
  }
2266
2250
  },
2267
2251
  "inheritedFrom": {
2268
- "name": "FoundationElement",
2269
- "module": "src/foundation-element/foundation-element.ts"
2252
+ "name": "AccordionItem",
2253
+ "module": "src/accordion-item/accordion-item.ts"
2270
2254
  }
2271
2255
  },
2272
2256
  {
@@ -2278,8 +2262,8 @@
2278
2262
  "privacy": "public",
2279
2263
  "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.",
2280
2264
  "inheritedFrom": {
2281
- "name": "FoundationElement",
2282
- "module": "src/foundation-element/foundation-element.ts"
2265
+ "name": "AccordionItem",
2266
+ "module": "src/accordion-item/accordion-item.ts"
2283
2267
  }
2284
2268
  },
2285
2269
  {
@@ -2292,8 +2276,8 @@
2292
2276
  }
2293
2277
  },
2294
2278
  "inheritedFrom": {
2295
- "name": "FoundationElement",
2296
- "module": "src/foundation-element/foundation-element.ts"
2279
+ "name": "AccordionItem",
2280
+ "module": "src/accordion-item/accordion-item.ts"
2297
2281
  }
2298
2282
  },
2299
2283
  {
@@ -2323,41 +2307,49 @@
2323
2307
  ],
2324
2308
  "description": "Defines an element registry function with a set of element definition defaults.",
2325
2309
  "inheritedFrom": {
2326
- "name": "FoundationElement",
2327
- "module": "src/foundation-element/foundation-element.ts"
2310
+ "name": "AccordionItem",
2311
+ "module": "src/accordion-item/accordion-item.ts"
2312
+ }
2313
+ }
2314
+ ],
2315
+ "events": [
2316
+ {
2317
+ "description": "Fires a custom 'change' event when the button is invoked",
2318
+ "name": "change",
2319
+ "inheritedFrom": {
2320
+ "name": "AccordionItem",
2321
+ "module": "src/accordion-item/accordion-item.ts"
2328
2322
  }
2329
2323
  }
2330
2324
  ]
2331
2325
  },
2332
2326
  {
2333
2327
  "kind": "variable",
2334
- "name": "zeroActionsMenu",
2335
- "description": "The Zero Actions Menu",
2336
- "privacy": "public"
2328
+ "name": "zeroAccordionItem"
2337
2329
  }
2338
2330
  ],
2339
2331
  "exports": [
2340
2332
  {
2341
2333
  "kind": "js",
2342
- "name": "ActionsMenu",
2334
+ "name": "AccordionItem",
2343
2335
  "declaration": {
2344
- "name": "ActionsMenu",
2345
- "module": "src/actions-menu/actions-menu.ts"
2336
+ "name": "AccordionItem",
2337
+ "module": "src/accordion-item/accordion-item.ts"
2346
2338
  }
2347
2339
  },
2348
2340
  {
2349
2341
  "kind": "js",
2350
- "name": "zeroActionsMenu",
2342
+ "name": "zeroAccordionItem",
2351
2343
  "declaration": {
2352
- "name": "zeroActionsMenu",
2353
- "module": "src/actions-menu/actions-menu.ts"
2344
+ "name": "zeroAccordionItem",
2345
+ "module": "src/accordion-item/accordion-item.ts"
2354
2346
  }
2355
2347
  }
2356
2348
  ]
2357
2349
  },
2358
2350
  {
2359
2351
  "kind": "javascript-module",
2360
- "path": "src/actions-menu/index.ts",
2352
+ "path": "src/accordion-item/index.ts",
2361
2353
  "declarations": [],
2362
2354
  "exports": [
2363
2355
  {
@@ -2365,7 +2357,7 @@
2365
2357
  "name": "*",
2366
2358
  "declaration": {
2367
2359
  "name": "*",
2368
- "package": "./actions-menu"
2360
+ "package": "./accordion-item"
2369
2361
  }
2370
2362
  },
2371
2363
  {
@@ -2373,7 +2365,15 @@
2373
2365
  "name": "*",
2374
2366
  "declaration": {
2375
2367
  "name": "*",
2376
- "package": "./actions-menu.styles"
2368
+ "package": "./accordion-item.styles"
2369
+ }
2370
+ },
2371
+ {
2372
+ "kind": "js",
2373
+ "name": "*",
2374
+ "declaration": {
2375
+ "name": "*",
2376
+ "package": "./accordion-item.template"
2377
2377
  }
2378
2378
  }
2379
2379
  ]