@genesislcap/foundation-zero 14.152.2-alpha-65be1bd.0 → 14.152.2
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.
- package/dist/custom-elements.json +576 -576
- package/package.json +12 -12
|
@@ -677,37 +677,6 @@
|
|
|
677
677
|
}
|
|
678
678
|
]
|
|
679
679
|
},
|
|
680
|
-
{
|
|
681
|
-
"kind": "javascript-module",
|
|
682
|
-
"path": "src/_config/index.ts",
|
|
683
|
-
"declarations": [],
|
|
684
|
-
"exports": [
|
|
685
|
-
{
|
|
686
|
-
"kind": "js",
|
|
687
|
-
"name": "*",
|
|
688
|
-
"declaration": {
|
|
689
|
-
"name": "*",
|
|
690
|
-
"package": "./styles"
|
|
691
|
-
}
|
|
692
|
-
},
|
|
693
|
-
{
|
|
694
|
-
"kind": "js",
|
|
695
|
-
"name": "*",
|
|
696
|
-
"declaration": {
|
|
697
|
-
"name": "*",
|
|
698
|
-
"package": "./tokens"
|
|
699
|
-
}
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
"kind": "js",
|
|
703
|
-
"name": "*",
|
|
704
|
-
"declaration": {
|
|
705
|
-
"name": "*",
|
|
706
|
-
"package": "./values"
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
]
|
|
710
|
-
},
|
|
711
680
|
{
|
|
712
681
|
"kind": "javascript-module",
|
|
713
682
|
"path": "src/_common/colors.hex.ts",
|
|
@@ -847,6 +816,37 @@
|
|
|
847
816
|
}
|
|
848
817
|
]
|
|
849
818
|
},
|
|
819
|
+
{
|
|
820
|
+
"kind": "javascript-module",
|
|
821
|
+
"path": "src/_config/index.ts",
|
|
822
|
+
"declarations": [],
|
|
823
|
+
"exports": [
|
|
824
|
+
{
|
|
825
|
+
"kind": "js",
|
|
826
|
+
"name": "*",
|
|
827
|
+
"declaration": {
|
|
828
|
+
"name": "*",
|
|
829
|
+
"package": "./styles"
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"kind": "js",
|
|
834
|
+
"name": "*",
|
|
835
|
+
"declaration": {
|
|
836
|
+
"name": "*",
|
|
837
|
+
"package": "./tokens"
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"kind": "js",
|
|
842
|
+
"name": "*",
|
|
843
|
+
"declaration": {
|
|
844
|
+
"name": "*",
|
|
845
|
+
"package": "./values"
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
]
|
|
849
|
+
},
|
|
850
850
|
{
|
|
851
851
|
"kind": "javascript-module",
|
|
852
852
|
"path": "src/accordion/accordion.stories.ts",
|
|
@@ -1037,53 +1037,70 @@
|
|
|
1037
1037
|
},
|
|
1038
1038
|
{
|
|
1039
1039
|
"kind": "javascript-module",
|
|
1040
|
-
"path": "src/
|
|
1040
|
+
"path": "src/actions-menu/actions-menu.stories.ts",
|
|
1041
1041
|
"declarations": [
|
|
1042
1042
|
{
|
|
1043
|
-
"kind": "
|
|
1044
|
-
"name": "
|
|
1045
|
-
"
|
|
1046
|
-
"
|
|
1047
|
-
"text": "ElementStyles"
|
|
1048
|
-
}
|
|
1043
|
+
"kind": "variable",
|
|
1044
|
+
"name": "meta",
|
|
1045
|
+
"type": {
|
|
1046
|
+
"text": "Meta"
|
|
1049
1047
|
},
|
|
1050
|
-
"
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1048
|
+
"default": "{\n title: 'Actions Menu',\n component: 'zero-actions-menu',\n}"
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"kind": "variable",
|
|
1052
|
+
"name": "Horizontal",
|
|
1053
|
+
"type": {
|
|
1054
|
+
"text": "StoryObj"
|
|
1055
|
+
},
|
|
1056
|
+
"default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Horizontal Actions',\n },\n render: (args) => html`\n <div style=\"${horizontalStyle}\">\n <zero-actions-menu\n name=\"${args.actionsOpenerText}\"\n .actions=${args.actions}\n ></zero-actions-menu>\n </div>\n `,\n}"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"kind": "variable",
|
|
1060
|
+
"name": "Vertical",
|
|
1061
|
+
"type": {
|
|
1062
|
+
"text": "StoryObj"
|
|
1063
|
+
},
|
|
1064
|
+
"default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Vertical Actions',\n },\n render: ({ actionsOpenerText, actions }) => html`\n <div style=\"${verticalStyle}\">\n <zero-actions-menu\n name=\"${actionsOpenerText}\"\n .actions=${actions}\n is-vertical\n ></zero-actions-menu>\n </div>\n `,\n}"
|
|
1064
1065
|
}
|
|
1065
1066
|
],
|
|
1066
1067
|
"exports": [
|
|
1067
1068
|
{
|
|
1068
1069
|
"kind": "js",
|
|
1069
|
-
"name": "
|
|
1070
|
+
"name": "default",
|
|
1070
1071
|
"declaration": {
|
|
1071
|
-
"name": "
|
|
1072
|
-
"module": "src/
|
|
1072
|
+
"name": "meta",
|
|
1073
|
+
"module": "src/actions-menu/actions-menu.stories.ts"
|
|
1074
|
+
}
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
"kind": "js",
|
|
1078
|
+
"name": "Horizontal",
|
|
1079
|
+
"declaration": {
|
|
1080
|
+
"name": "Horizontal",
|
|
1081
|
+
"module": "src/actions-menu/actions-menu.stories.ts"
|
|
1082
|
+
}
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"kind": "js",
|
|
1086
|
+
"name": "Vertical",
|
|
1087
|
+
"declaration": {
|
|
1088
|
+
"name": "Vertical",
|
|
1089
|
+
"module": "src/actions-menu/actions-menu.stories.ts"
|
|
1073
1090
|
}
|
|
1074
1091
|
}
|
|
1075
1092
|
]
|
|
1076
1093
|
},
|
|
1077
1094
|
{
|
|
1078
1095
|
"kind": "javascript-module",
|
|
1079
|
-
"path": "src/
|
|
1096
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1080
1097
|
"declarations": [
|
|
1081
1098
|
{
|
|
1082
1099
|
"kind": "function",
|
|
1083
|
-
"name": "
|
|
1100
|
+
"name": "zeroActionsMenuStyles",
|
|
1084
1101
|
"return": {
|
|
1085
1102
|
"type": {
|
|
1086
|
-
"text": "
|
|
1103
|
+
"text": "ElementStyles"
|
|
1087
1104
|
}
|
|
1088
1105
|
},
|
|
1089
1106
|
"parameters": [
|
|
@@ -1105,142 +1122,409 @@
|
|
|
1105
1122
|
"exports": [
|
|
1106
1123
|
{
|
|
1107
1124
|
"kind": "js",
|
|
1108
|
-
"name": "
|
|
1125
|
+
"name": "zeroActionsMenuStyles",
|
|
1109
1126
|
"declaration": {
|
|
1110
|
-
"name": "
|
|
1111
|
-
"module": "src/
|
|
1127
|
+
"name": "zeroActionsMenuStyles",
|
|
1128
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1112
1129
|
}
|
|
1113
1130
|
}
|
|
1114
1131
|
]
|
|
1115
1132
|
},
|
|
1116
1133
|
{
|
|
1117
1134
|
"kind": "javascript-module",
|
|
1118
|
-
"path": "src/
|
|
1135
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1119
1136
|
"declarations": [
|
|
1120
1137
|
{
|
|
1121
1138
|
"kind": "class",
|
|
1122
1139
|
"description": "",
|
|
1123
|
-
"name": "
|
|
1140
|
+
"name": "ActionsMenu",
|
|
1124
1141
|
"superclass": {
|
|
1125
|
-
"name": "
|
|
1142
|
+
"name": "FoundationActionsMenu",
|
|
1126
1143
|
"package": "@genesislcap/foundation-ui"
|
|
1127
1144
|
},
|
|
1128
|
-
"tagName": "%%prefix%%-
|
|
1145
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
1129
1146
|
"customElement": true,
|
|
1130
1147
|
"attributes": [
|
|
1131
1148
|
{
|
|
1132
|
-
"name": "
|
|
1149
|
+
"name": "is-vertical",
|
|
1133
1150
|
"type": {
|
|
1134
|
-
"text": "
|
|
1151
|
+
"text": "boolean"
|
|
1135
1152
|
},
|
|
1136
|
-
"default": "
|
|
1137
|
-
"
|
|
1138
|
-
"fieldName": "headinglevel",
|
|
1153
|
+
"default": "false",
|
|
1154
|
+
"fieldName": "isVertical",
|
|
1139
1155
|
"inheritedFrom": {
|
|
1140
|
-
"name": "
|
|
1141
|
-
"module": "src/
|
|
1156
|
+
"name": "ActionsMenu",
|
|
1157
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1142
1158
|
}
|
|
1143
1159
|
},
|
|
1144
1160
|
{
|
|
1161
|
+
"name": "add-default-actions",
|
|
1145
1162
|
"type": {
|
|
1146
1163
|
"text": "boolean"
|
|
1147
1164
|
},
|
|
1148
|
-
"default": "
|
|
1149
|
-
"
|
|
1150
|
-
"fieldName": "expanded",
|
|
1165
|
+
"default": "true",
|
|
1166
|
+
"fieldName": "addDefaultActions",
|
|
1151
1167
|
"inheritedFrom": {
|
|
1152
|
-
"name": "
|
|
1153
|
-
"module": "src/
|
|
1168
|
+
"name": "ActionsMenu",
|
|
1169
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1154
1170
|
}
|
|
1155
1171
|
},
|
|
1156
1172
|
{
|
|
1157
|
-
"name": "
|
|
1173
|
+
"name": "auto-close-on-action",
|
|
1158
1174
|
"type": {
|
|
1159
|
-
"text": "
|
|
1175
|
+
"text": "boolean"
|
|
1160
1176
|
},
|
|
1161
|
-
"
|
|
1162
|
-
"fieldName": "
|
|
1177
|
+
"default": "true",
|
|
1178
|
+
"fieldName": "autoCloseOnAction",
|
|
1163
1179
|
"inheritedFrom": {
|
|
1164
|
-
"name": "
|
|
1165
|
-
"module": "src/
|
|
1180
|
+
"name": "ActionsMenu",
|
|
1181
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1166
1182
|
}
|
|
1167
|
-
}
|
|
1168
|
-
],
|
|
1169
|
-
"members": [
|
|
1183
|
+
},
|
|
1170
1184
|
{
|
|
1171
|
-
"
|
|
1172
|
-
"name": "headinglevel",
|
|
1185
|
+
"name": "name",
|
|
1173
1186
|
"type": {
|
|
1174
|
-
"text": "
|
|
1187
|
+
"text": "string"
|
|
1175
1188
|
},
|
|
1176
|
-
"
|
|
1177
|
-
"
|
|
1178
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1189
|
+
"default": "'Actions'",
|
|
1190
|
+
"fieldName": "name",
|
|
1179
1191
|
"inheritedFrom": {
|
|
1180
|
-
"name": "
|
|
1181
|
-
"module": "src/
|
|
1192
|
+
"name": "ActionsMenu",
|
|
1193
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1182
1194
|
}
|
|
1183
1195
|
},
|
|
1184
1196
|
{
|
|
1185
|
-
"
|
|
1186
|
-
"name": "expanded",
|
|
1197
|
+
"name": "open",
|
|
1187
1198
|
"type": {
|
|
1188
1199
|
"text": "boolean"
|
|
1189
1200
|
},
|
|
1190
|
-
"privacy": "public",
|
|
1191
1201
|
"default": "false",
|
|
1192
|
-
"
|
|
1202
|
+
"fieldName": "open",
|
|
1193
1203
|
"inheritedFrom": {
|
|
1194
|
-
"name": "
|
|
1195
|
-
"module": "src/
|
|
1204
|
+
"name": "ActionsMenu",
|
|
1205
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1196
1206
|
}
|
|
1197
1207
|
},
|
|
1198
1208
|
{
|
|
1199
|
-
"
|
|
1200
|
-
"name": "id",
|
|
1209
|
+
"name": "buttonAppearance",
|
|
1201
1210
|
"type": {
|
|
1202
1211
|
"text": "string"
|
|
1203
1212
|
},
|
|
1204
|
-
"
|
|
1205
|
-
"description": "The item ID",
|
|
1213
|
+
"fieldName": "buttonAppearance",
|
|
1206
1214
|
"inheritedFrom": {
|
|
1207
|
-
"name": "
|
|
1208
|
-
"module": "src/
|
|
1215
|
+
"name": "ActionsMenu",
|
|
1216
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1209
1217
|
}
|
|
1210
1218
|
},
|
|
1211
1219
|
{
|
|
1212
|
-
"
|
|
1213
|
-
"
|
|
1214
|
-
|
|
1220
|
+
"name": "hide-disabled",
|
|
1221
|
+
"type": {
|
|
1222
|
+
"text": "boolean"
|
|
1223
|
+
},
|
|
1224
|
+
"default": "false",
|
|
1225
|
+
"fieldName": "hideDisabled",
|
|
1215
1226
|
"inheritedFrom": {
|
|
1216
|
-
"name": "
|
|
1217
|
-
"module": "src/
|
|
1227
|
+
"name": "ActionsMenu",
|
|
1228
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1218
1229
|
}
|
|
1219
1230
|
},
|
|
1220
1231
|
{
|
|
1221
|
-
"
|
|
1222
|
-
"name": "_presentation",
|
|
1232
|
+
"name": "hide-menu-single-option",
|
|
1223
1233
|
"type": {
|
|
1224
|
-
"text": "
|
|
1234
|
+
"text": "boolean"
|
|
1225
1235
|
},
|
|
1226
|
-
"
|
|
1227
|
-
"
|
|
1236
|
+
"default": "false",
|
|
1237
|
+
"fieldName": "hideMenuSingleOption",
|
|
1228
1238
|
"inheritedFrom": {
|
|
1229
|
-
"name": "
|
|
1230
|
-
"module": "src/
|
|
1239
|
+
"name": "ActionsMenu",
|
|
1240
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1231
1241
|
}
|
|
1232
|
-
}
|
|
1242
|
+
}
|
|
1243
|
+
],
|
|
1244
|
+
"members": [
|
|
1233
1245
|
{
|
|
1234
1246
|
"kind": "field",
|
|
1235
|
-
"name": "
|
|
1247
|
+
"name": "actions",
|
|
1236
1248
|
"type": {
|
|
1237
|
-
"text": "
|
|
1249
|
+
"text": "ActionMenuItem[]"
|
|
1238
1250
|
},
|
|
1239
|
-
"privacy": "public",
|
|
1240
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1241
1251
|
"inheritedFrom": {
|
|
1242
|
-
"name": "
|
|
1243
|
-
"module": "src/
|
|
1252
|
+
"name": "ActionsMenu",
|
|
1253
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1254
|
+
}
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"kind": "field",
|
|
1258
|
+
"name": "isVertical",
|
|
1259
|
+
"type": {
|
|
1260
|
+
"text": "boolean"
|
|
1261
|
+
},
|
|
1262
|
+
"default": "false",
|
|
1263
|
+
"inheritedFrom": {
|
|
1264
|
+
"name": "ActionsMenu",
|
|
1265
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1266
|
+
}
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
"kind": "field",
|
|
1270
|
+
"name": "addDefaultActions",
|
|
1271
|
+
"type": {
|
|
1272
|
+
"text": "boolean"
|
|
1273
|
+
},
|
|
1274
|
+
"default": "true",
|
|
1275
|
+
"inheritedFrom": {
|
|
1276
|
+
"name": "ActionsMenu",
|
|
1277
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1278
|
+
}
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"kind": "field",
|
|
1282
|
+
"name": "autoCloseOnAction",
|
|
1283
|
+
"type": {
|
|
1284
|
+
"text": "boolean"
|
|
1285
|
+
},
|
|
1286
|
+
"default": "true",
|
|
1287
|
+
"inheritedFrom": {
|
|
1288
|
+
"name": "ActionsMenu",
|
|
1289
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"kind": "field",
|
|
1294
|
+
"name": "classNames",
|
|
1295
|
+
"type": {
|
|
1296
|
+
"text": "string"
|
|
1297
|
+
},
|
|
1298
|
+
"inheritedFrom": {
|
|
1299
|
+
"name": "ActionsMenu",
|
|
1300
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1301
|
+
}
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
"kind": "field",
|
|
1305
|
+
"name": "definition",
|
|
1306
|
+
"type": {
|
|
1307
|
+
"text": "any"
|
|
1308
|
+
},
|
|
1309
|
+
"inheritedFrom": {
|
|
1310
|
+
"name": "ActionsMenu",
|
|
1311
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1312
|
+
}
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
"kind": "field",
|
|
1316
|
+
"name": "name",
|
|
1317
|
+
"type": {
|
|
1318
|
+
"text": "string"
|
|
1319
|
+
},
|
|
1320
|
+
"default": "'Actions'",
|
|
1321
|
+
"inheritedFrom": {
|
|
1322
|
+
"name": "ActionsMenu",
|
|
1323
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1324
|
+
}
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"kind": "field",
|
|
1328
|
+
"name": "open",
|
|
1329
|
+
"type": {
|
|
1330
|
+
"text": "boolean"
|
|
1331
|
+
},
|
|
1332
|
+
"default": "false",
|
|
1333
|
+
"inheritedFrom": {
|
|
1334
|
+
"name": "ActionsMenu",
|
|
1335
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1336
|
+
}
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
"kind": "field",
|
|
1340
|
+
"name": "buttonAppearance",
|
|
1341
|
+
"type": {
|
|
1342
|
+
"text": "string"
|
|
1343
|
+
},
|
|
1344
|
+
"inheritedFrom": {
|
|
1345
|
+
"name": "ActionsMenu",
|
|
1346
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1347
|
+
}
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
"kind": "field",
|
|
1351
|
+
"name": "hideDisabled",
|
|
1352
|
+
"type": {
|
|
1353
|
+
"text": "boolean"
|
|
1354
|
+
},
|
|
1355
|
+
"default": "false",
|
|
1356
|
+
"inheritedFrom": {
|
|
1357
|
+
"name": "ActionsMenu",
|
|
1358
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1359
|
+
}
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
"kind": "field",
|
|
1363
|
+
"name": "hideMenuSingleOption",
|
|
1364
|
+
"type": {
|
|
1365
|
+
"text": "boolean"
|
|
1366
|
+
},
|
|
1367
|
+
"default": "false",
|
|
1368
|
+
"inheritedFrom": {
|
|
1369
|
+
"name": "ActionsMenu",
|
|
1370
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
"kind": "field",
|
|
1375
|
+
"name": "singleOption",
|
|
1376
|
+
"type": {
|
|
1377
|
+
"text": "ActionMenuItem"
|
|
1378
|
+
},
|
|
1379
|
+
"inheritedFrom": {
|
|
1380
|
+
"name": "ActionsMenu",
|
|
1381
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1382
|
+
}
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"kind": "field",
|
|
1386
|
+
"name": "actionsMenu",
|
|
1387
|
+
"type": {
|
|
1388
|
+
"text": "HTMLElement"
|
|
1389
|
+
},
|
|
1390
|
+
"inheritedFrom": {
|
|
1391
|
+
"name": "ActionsMenu",
|
|
1392
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1393
|
+
}
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"kind": "method",
|
|
1397
|
+
"name": "definitionChanged",
|
|
1398
|
+
"privacy": "protected",
|
|
1399
|
+
"parameters": [
|
|
1400
|
+
{
|
|
1401
|
+
"name": "oldValue",
|
|
1402
|
+
"type": {
|
|
1403
|
+
"text": "any"
|
|
1404
|
+
}
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"name": "newValue",
|
|
1408
|
+
"type": {
|
|
1409
|
+
"text": "any"
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
],
|
|
1413
|
+
"inheritedFrom": {
|
|
1414
|
+
"name": "ActionsMenu",
|
|
1415
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1416
|
+
}
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"kind": "method",
|
|
1420
|
+
"name": "openChanged",
|
|
1421
|
+
"privacy": "protected",
|
|
1422
|
+
"inheritedFrom": {
|
|
1423
|
+
"name": "ActionsMenu",
|
|
1424
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1425
|
+
}
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"kind": "method",
|
|
1429
|
+
"name": "toggleActionsMenuVisibility",
|
|
1430
|
+
"inheritedFrom": {
|
|
1431
|
+
"name": "ActionsMenu",
|
|
1432
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1433
|
+
}
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"kind": "method",
|
|
1437
|
+
"name": "onActionMenuItemClick",
|
|
1438
|
+
"parameters": [
|
|
1439
|
+
{
|
|
1440
|
+
"name": "callback",
|
|
1441
|
+
"type": {
|
|
1442
|
+
"text": "(rowData) => void | any"
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
],
|
|
1446
|
+
"inheritedFrom": {
|
|
1447
|
+
"name": "ActionsMenu",
|
|
1448
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1449
|
+
}
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"kind": "field",
|
|
1453
|
+
"name": "allActions",
|
|
1454
|
+
"type": {
|
|
1455
|
+
"text": "ActionMenuItem[]"
|
|
1456
|
+
},
|
|
1457
|
+
"readonly": true,
|
|
1458
|
+
"inheritedFrom": {
|
|
1459
|
+
"name": "ActionsMenu",
|
|
1460
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1461
|
+
}
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"kind": "field",
|
|
1465
|
+
"name": "rowData",
|
|
1466
|
+
"readonly": true,
|
|
1467
|
+
"inheritedFrom": {
|
|
1468
|
+
"name": "ActionsMenu",
|
|
1469
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"kind": "method",
|
|
1474
|
+
"name": "getLabel",
|
|
1475
|
+
"parameters": [
|
|
1476
|
+
{
|
|
1477
|
+
"name": "name",
|
|
1478
|
+
"type": {
|
|
1479
|
+
"text": "string | ((rowData: any) => string)"
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
],
|
|
1483
|
+
"inheritedFrom": {
|
|
1484
|
+
"name": "ActionsMenu",
|
|
1485
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"kind": "method",
|
|
1490
|
+
"name": "getTemplate",
|
|
1491
|
+
"parameters": [
|
|
1492
|
+
{
|
|
1493
|
+
"name": "prefix",
|
|
1494
|
+
"type": {
|
|
1495
|
+
"text": "string"
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
],
|
|
1499
|
+
"inheritedFrom": {
|
|
1500
|
+
"name": "ActionsMenu",
|
|
1501
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1502
|
+
}
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"kind": "field",
|
|
1506
|
+
"name": "_presentation",
|
|
1507
|
+
"type": {
|
|
1508
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1509
|
+
},
|
|
1510
|
+
"privacy": "private",
|
|
1511
|
+
"default": "void 0",
|
|
1512
|
+
"inheritedFrom": {
|
|
1513
|
+
"name": "FoundationElement",
|
|
1514
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "field",
|
|
1519
|
+
"name": "$presentation",
|
|
1520
|
+
"type": {
|
|
1521
|
+
"text": "ComponentPresentation | null"
|
|
1522
|
+
},
|
|
1523
|
+
"privacy": "public",
|
|
1524
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1525
|
+
"inheritedFrom": {
|
|
1526
|
+
"name": "FoundationElement",
|
|
1527
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1244
1528
|
}
|
|
1245
1529
|
},
|
|
1246
1530
|
{
|
|
@@ -1252,8 +1536,8 @@
|
|
|
1252
1536
|
"privacy": "public",
|
|
1253
1537
|
"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
1538
|
"inheritedFrom": {
|
|
1255
|
-
"name": "
|
|
1256
|
-
"module": "src/
|
|
1539
|
+
"name": "FoundationElement",
|
|
1540
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1257
1541
|
}
|
|
1258
1542
|
},
|
|
1259
1543
|
{
|
|
@@ -1266,8 +1550,8 @@
|
|
|
1266
1550
|
}
|
|
1267
1551
|
},
|
|
1268
1552
|
"inheritedFrom": {
|
|
1269
|
-
"name": "
|
|
1270
|
-
"module": "src/
|
|
1553
|
+
"name": "FoundationElement",
|
|
1554
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1271
1555
|
}
|
|
1272
1556
|
},
|
|
1273
1557
|
{
|
|
@@ -1279,8 +1563,8 @@
|
|
|
1279
1563
|
"privacy": "public",
|
|
1280
1564
|
"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
1565
|
"inheritedFrom": {
|
|
1282
|
-
"name": "
|
|
1283
|
-
"module": "src/
|
|
1566
|
+
"name": "FoundationElement",
|
|
1567
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1284
1568
|
}
|
|
1285
1569
|
},
|
|
1286
1570
|
{
|
|
@@ -1293,8 +1577,8 @@
|
|
|
1293
1577
|
}
|
|
1294
1578
|
},
|
|
1295
1579
|
"inheritedFrom": {
|
|
1296
|
-
"name": "
|
|
1297
|
-
"module": "src/
|
|
1580
|
+
"name": "FoundationElement",
|
|
1581
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1298
1582
|
}
|
|
1299
1583
|
},
|
|
1300
1584
|
{
|
|
@@ -1324,140 +1608,68 @@
|
|
|
1324
1608
|
],
|
|
1325
1609
|
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1326
1610
|
"inheritedFrom": {
|
|
1327
|
-
"name": "
|
|
1328
|
-
"module": "src/
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
],
|
|
1332
|
-
"events": [
|
|
1333
|
-
{
|
|
1334
|
-
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1335
|
-
"name": "change",
|
|
1336
|
-
"inheritedFrom": {
|
|
1337
|
-
"name": "AccordionItem",
|
|
1338
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1611
|
+
"name": "FoundationElement",
|
|
1612
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1339
1613
|
}
|
|
1340
1614
|
}
|
|
1341
|
-
]
|
|
1342
|
-
},
|
|
1343
|
-
{
|
|
1344
|
-
"kind": "variable",
|
|
1345
|
-
"name": "zeroAccordionItem"
|
|
1346
|
-
}
|
|
1347
|
-
],
|
|
1348
|
-
"exports": [
|
|
1349
|
-
{
|
|
1350
|
-
"kind": "js",
|
|
1351
|
-
"name": "AccordionItem",
|
|
1352
|
-
"declaration": {
|
|
1353
|
-
"name": "AccordionItem",
|
|
1354
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1355
|
-
}
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
"kind": "js",
|
|
1359
|
-
"name": "zeroAccordionItem",
|
|
1360
|
-
"declaration": {
|
|
1361
|
-
"name": "zeroAccordionItem",
|
|
1362
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
|
-
]
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
"kind": "javascript-module",
|
|
1369
|
-
"path": "src/accordion-item/index.ts",
|
|
1370
|
-
"declarations": [],
|
|
1371
|
-
"exports": [
|
|
1372
|
-
{
|
|
1373
|
-
"kind": "js",
|
|
1374
|
-
"name": "*",
|
|
1375
|
-
"declaration": {
|
|
1376
|
-
"name": "*",
|
|
1377
|
-
"package": "./accordion-item"
|
|
1378
|
-
}
|
|
1379
|
-
},
|
|
1380
|
-
{
|
|
1381
|
-
"kind": "js",
|
|
1382
|
-
"name": "*",
|
|
1383
|
-
"declaration": {
|
|
1384
|
-
"name": "*",
|
|
1385
|
-
"package": "./accordion-item.styles"
|
|
1386
|
-
}
|
|
1387
|
-
},
|
|
1388
|
-
{
|
|
1389
|
-
"kind": "js",
|
|
1390
|
-
"name": "*",
|
|
1391
|
-
"declaration": {
|
|
1392
|
-
"name": "*",
|
|
1393
|
-
"package": "./accordion-item.template"
|
|
1394
|
-
}
|
|
1395
|
-
}
|
|
1396
|
-
]
|
|
1397
|
-
},
|
|
1398
|
-
{
|
|
1399
|
-
"kind": "javascript-module",
|
|
1400
|
-
"path": "src/actions-menu/actions-menu.stories.ts",
|
|
1401
|
-
"declarations": [
|
|
1402
|
-
{
|
|
1403
|
-
"kind": "variable",
|
|
1404
|
-
"name": "meta",
|
|
1405
|
-
"type": {
|
|
1406
|
-
"text": "Meta"
|
|
1407
|
-
},
|
|
1408
|
-
"default": "{\n title: 'Actions Menu',\n component: 'zero-actions-menu',\n}"
|
|
1409
|
-
},
|
|
1410
|
-
{
|
|
1411
|
-
"kind": "variable",
|
|
1412
|
-
"name": "Horizontal",
|
|
1413
|
-
"type": {
|
|
1414
|
-
"text": "StoryObj"
|
|
1415
|
-
},
|
|
1416
|
-
"default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Horizontal Actions',\n },\n render: (args) => html`\n <div style=\"${horizontalStyle}\">\n <zero-actions-menu\n name=\"${args.actionsOpenerText}\"\n .actions=${args.actions}\n ></zero-actions-menu>\n </div>\n `,\n}"
|
|
1615
|
+
]
|
|
1417
1616
|
},
|
|
1418
1617
|
{
|
|
1419
1618
|
"kind": "variable",
|
|
1420
|
-
"name": "
|
|
1421
|
-
"
|
|
1422
|
-
|
|
1423
|
-
},
|
|
1424
|
-
"default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Vertical Actions',\n },\n render: ({ actionsOpenerText, actions }) => html`\n <div style=\"${verticalStyle}\">\n <zero-actions-menu\n name=\"${actionsOpenerText}\"\n .actions=${actions}\n is-vertical\n ></zero-actions-menu>\n </div>\n `,\n}"
|
|
1619
|
+
"name": "zeroActionsMenu",
|
|
1620
|
+
"description": "The Zero Actions Menu",
|
|
1621
|
+
"privacy": "public"
|
|
1425
1622
|
}
|
|
1426
1623
|
],
|
|
1427
1624
|
"exports": [
|
|
1428
1625
|
{
|
|
1429
1626
|
"kind": "js",
|
|
1430
|
-
"name": "
|
|
1627
|
+
"name": "ActionsMenu",
|
|
1431
1628
|
"declaration": {
|
|
1432
|
-
"name": "
|
|
1433
|
-
"module": "src/actions-menu/actions-menu.
|
|
1629
|
+
"name": "ActionsMenu",
|
|
1630
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1434
1631
|
}
|
|
1435
1632
|
},
|
|
1436
1633
|
{
|
|
1437
1634
|
"kind": "js",
|
|
1438
|
-
"name": "
|
|
1635
|
+
"name": "zeroActionsMenu",
|
|
1439
1636
|
"declaration": {
|
|
1440
|
-
"name": "
|
|
1441
|
-
"module": "src/actions-menu/actions-menu.
|
|
1637
|
+
"name": "zeroActionsMenu",
|
|
1638
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
]
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"kind": "javascript-module",
|
|
1645
|
+
"path": "src/actions-menu/index.ts",
|
|
1646
|
+
"declarations": [],
|
|
1647
|
+
"exports": [
|
|
1648
|
+
{
|
|
1649
|
+
"kind": "js",
|
|
1650
|
+
"name": "*",
|
|
1651
|
+
"declaration": {
|
|
1652
|
+
"name": "*",
|
|
1653
|
+
"package": "./actions-menu"
|
|
1442
1654
|
}
|
|
1443
1655
|
},
|
|
1444
1656
|
{
|
|
1445
1657
|
"kind": "js",
|
|
1446
|
-
"name": "
|
|
1658
|
+
"name": "*",
|
|
1447
1659
|
"declaration": {
|
|
1448
|
-
"name": "
|
|
1449
|
-
"
|
|
1660
|
+
"name": "*",
|
|
1661
|
+
"package": "./actions-menu.styles"
|
|
1450
1662
|
}
|
|
1451
1663
|
}
|
|
1452
1664
|
]
|
|
1453
1665
|
},
|
|
1454
1666
|
{
|
|
1455
1667
|
"kind": "javascript-module",
|
|
1456
|
-
"path": "src/
|
|
1668
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1457
1669
|
"declarations": [
|
|
1458
1670
|
{
|
|
1459
1671
|
"kind": "function",
|
|
1460
|
-
"name": "
|
|
1672
|
+
"name": "zeroAccordionItemStyles",
|
|
1461
1673
|
"return": {
|
|
1462
1674
|
"type": {
|
|
1463
1675
|
"text": "ElementStyles"
|
|
@@ -1482,383 +1694,155 @@
|
|
|
1482
1694
|
"exports": [
|
|
1483
1695
|
{
|
|
1484
1696
|
"kind": "js",
|
|
1485
|
-
"name": "
|
|
1697
|
+
"name": "zeroAccordionItemStyles",
|
|
1486
1698
|
"declaration": {
|
|
1487
|
-
"name": "
|
|
1488
|
-
"module": "src/
|
|
1699
|
+
"name": "zeroAccordionItemStyles",
|
|
1700
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1489
1701
|
}
|
|
1490
1702
|
}
|
|
1491
1703
|
]
|
|
1492
1704
|
},
|
|
1493
1705
|
{
|
|
1494
1706
|
"kind": "javascript-module",
|
|
1495
|
-
"path": "src/
|
|
1707
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1496
1708
|
"declarations": [
|
|
1497
1709
|
{
|
|
1498
|
-
"kind": "
|
|
1499
|
-
"
|
|
1500
|
-
"
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
"package": "@genesislcap/foundation-ui"
|
|
1504
|
-
},
|
|
1505
|
-
"tagName": "%%prefix%%-actions-menu",
|
|
1506
|
-
"customElement": true,
|
|
1507
|
-
"attributes": [
|
|
1508
|
-
{
|
|
1509
|
-
"name": "is-vertical",
|
|
1510
|
-
"type": {
|
|
1511
|
-
"text": "boolean"
|
|
1512
|
-
},
|
|
1513
|
-
"default": "false",
|
|
1514
|
-
"fieldName": "isVertical",
|
|
1515
|
-
"inheritedFrom": {
|
|
1516
|
-
"name": "ActionsMenu",
|
|
1517
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1518
|
-
}
|
|
1519
|
-
},
|
|
1520
|
-
{
|
|
1521
|
-
"name": "add-default-actions",
|
|
1522
|
-
"type": {
|
|
1523
|
-
"text": "boolean"
|
|
1524
|
-
},
|
|
1525
|
-
"default": "true",
|
|
1526
|
-
"fieldName": "addDefaultActions",
|
|
1527
|
-
"inheritedFrom": {
|
|
1528
|
-
"name": "ActionsMenu",
|
|
1529
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1530
|
-
}
|
|
1531
|
-
},
|
|
1532
|
-
{
|
|
1533
|
-
"name": "auto-close-on-action",
|
|
1534
|
-
"type": {
|
|
1535
|
-
"text": "boolean"
|
|
1536
|
-
},
|
|
1537
|
-
"default": "true",
|
|
1538
|
-
"fieldName": "autoCloseOnAction",
|
|
1539
|
-
"inheritedFrom": {
|
|
1540
|
-
"name": "ActionsMenu",
|
|
1541
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1542
|
-
}
|
|
1543
|
-
},
|
|
1544
|
-
{
|
|
1545
|
-
"name": "name",
|
|
1546
|
-
"type": {
|
|
1547
|
-
"text": "string"
|
|
1548
|
-
},
|
|
1549
|
-
"default": "'Actions'",
|
|
1550
|
-
"fieldName": "name",
|
|
1551
|
-
"inheritedFrom": {
|
|
1552
|
-
"name": "ActionsMenu",
|
|
1553
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1554
|
-
}
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
"name": "open",
|
|
1558
|
-
"type": {
|
|
1559
|
-
"text": "boolean"
|
|
1560
|
-
},
|
|
1561
|
-
"default": "false",
|
|
1562
|
-
"fieldName": "open",
|
|
1563
|
-
"inheritedFrom": {
|
|
1564
|
-
"name": "ActionsMenu",
|
|
1565
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1566
|
-
}
|
|
1567
|
-
},
|
|
1568
|
-
{
|
|
1569
|
-
"name": "buttonAppearance",
|
|
1570
|
-
"type": {
|
|
1571
|
-
"text": "string"
|
|
1572
|
-
},
|
|
1573
|
-
"fieldName": "buttonAppearance",
|
|
1574
|
-
"inheritedFrom": {
|
|
1575
|
-
"name": "ActionsMenu",
|
|
1576
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1577
|
-
}
|
|
1578
|
-
},
|
|
1579
|
-
{
|
|
1580
|
-
"name": "hide-disabled",
|
|
1581
|
-
"type": {
|
|
1582
|
-
"text": "boolean"
|
|
1583
|
-
},
|
|
1584
|
-
"default": "false",
|
|
1585
|
-
"fieldName": "hideDisabled",
|
|
1586
|
-
"inheritedFrom": {
|
|
1587
|
-
"name": "ActionsMenu",
|
|
1588
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1589
|
-
}
|
|
1590
|
-
},
|
|
1591
|
-
{
|
|
1592
|
-
"name": "hide-menu-single-option",
|
|
1593
|
-
"type": {
|
|
1594
|
-
"text": "boolean"
|
|
1595
|
-
},
|
|
1596
|
-
"default": "false",
|
|
1597
|
-
"fieldName": "hideMenuSingleOption",
|
|
1598
|
-
"inheritedFrom": {
|
|
1599
|
-
"name": "ActionsMenu",
|
|
1600
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1601
|
-
}
|
|
1710
|
+
"kind": "function",
|
|
1711
|
+
"name": "zeroAccordionItemTemplate",
|
|
1712
|
+
"return": {
|
|
1713
|
+
"type": {
|
|
1714
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1602
1715
|
}
|
|
1603
|
-
|
|
1604
|
-
"
|
|
1605
|
-
{
|
|
1606
|
-
"kind": "field",
|
|
1607
|
-
"name": "actions",
|
|
1608
|
-
"type": {
|
|
1609
|
-
"text": "ActionMenuItem[]"
|
|
1610
|
-
},
|
|
1611
|
-
"inheritedFrom": {
|
|
1612
|
-
"name": "ActionsMenu",
|
|
1613
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1614
|
-
}
|
|
1615
|
-
},
|
|
1616
|
-
{
|
|
1617
|
-
"kind": "field",
|
|
1618
|
-
"name": "isVertical",
|
|
1619
|
-
"type": {
|
|
1620
|
-
"text": "boolean"
|
|
1621
|
-
},
|
|
1622
|
-
"default": "false",
|
|
1623
|
-
"inheritedFrom": {
|
|
1624
|
-
"name": "ActionsMenu",
|
|
1625
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1626
|
-
}
|
|
1627
|
-
},
|
|
1628
|
-
{
|
|
1629
|
-
"kind": "field",
|
|
1630
|
-
"name": "addDefaultActions",
|
|
1631
|
-
"type": {
|
|
1632
|
-
"text": "boolean"
|
|
1633
|
-
},
|
|
1634
|
-
"default": "true",
|
|
1635
|
-
"inheritedFrom": {
|
|
1636
|
-
"name": "ActionsMenu",
|
|
1637
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1638
|
-
}
|
|
1639
|
-
},
|
|
1640
|
-
{
|
|
1641
|
-
"kind": "field",
|
|
1642
|
-
"name": "autoCloseOnAction",
|
|
1643
|
-
"type": {
|
|
1644
|
-
"text": "boolean"
|
|
1645
|
-
},
|
|
1646
|
-
"default": "true",
|
|
1647
|
-
"inheritedFrom": {
|
|
1648
|
-
"name": "ActionsMenu",
|
|
1649
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1650
|
-
}
|
|
1651
|
-
},
|
|
1716
|
+
},
|
|
1717
|
+
"parameters": [
|
|
1652
1718
|
{
|
|
1653
|
-
"
|
|
1654
|
-
"name": "classNames",
|
|
1719
|
+
"name": "context",
|
|
1655
1720
|
"type": {
|
|
1656
|
-
"text": "
|
|
1657
|
-
},
|
|
1658
|
-
"inheritedFrom": {
|
|
1659
|
-
"name": "ActionsMenu",
|
|
1660
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1721
|
+
"text": "ElementDefinitionContext"
|
|
1661
1722
|
}
|
|
1662
1723
|
},
|
|
1663
1724
|
{
|
|
1664
|
-
"kind": "field",
|
|
1665
1725
|
"name": "definition",
|
|
1666
1726
|
"type": {
|
|
1667
|
-
"text": "
|
|
1668
|
-
},
|
|
1669
|
-
"inheritedFrom": {
|
|
1670
|
-
"name": "ActionsMenu",
|
|
1671
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1727
|
+
"text": "FoundationElementDefinition"
|
|
1672
1728
|
}
|
|
1673
|
-
}
|
|
1729
|
+
}
|
|
1730
|
+
]
|
|
1731
|
+
}
|
|
1732
|
+
],
|
|
1733
|
+
"exports": [
|
|
1734
|
+
{
|
|
1735
|
+
"kind": "js",
|
|
1736
|
+
"name": "zeroAccordionItemTemplate",
|
|
1737
|
+
"declaration": {
|
|
1738
|
+
"name": "zeroAccordionItemTemplate",
|
|
1739
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
]
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"kind": "javascript-module",
|
|
1746
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1747
|
+
"declarations": [
|
|
1748
|
+
{
|
|
1749
|
+
"kind": "class",
|
|
1750
|
+
"description": "",
|
|
1751
|
+
"name": "AccordionItem",
|
|
1752
|
+
"superclass": {
|
|
1753
|
+
"name": "FoundationAccordionItem",
|
|
1754
|
+
"package": "@genesislcap/foundation-ui"
|
|
1755
|
+
},
|
|
1756
|
+
"tagName": "%%prefix%%-card",
|
|
1757
|
+
"customElement": true,
|
|
1758
|
+
"attributes": [
|
|
1674
1759
|
{
|
|
1675
|
-
"
|
|
1676
|
-
"name": "name",
|
|
1760
|
+
"name": "heading-level",
|
|
1677
1761
|
"type": {
|
|
1678
|
-
"text": "
|
|
1762
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1679
1763
|
},
|
|
1680
|
-
"default": "
|
|
1764
|
+
"default": "2",
|
|
1765
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1766
|
+
"fieldName": "headinglevel",
|
|
1681
1767
|
"inheritedFrom": {
|
|
1682
|
-
"name": "
|
|
1683
|
-
"module": "src/
|
|
1768
|
+
"name": "AccordionItem",
|
|
1769
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1684
1770
|
}
|
|
1685
1771
|
},
|
|
1686
1772
|
{
|
|
1687
|
-
"kind": "field",
|
|
1688
|
-
"name": "open",
|
|
1689
1773
|
"type": {
|
|
1690
1774
|
"text": "boolean"
|
|
1691
1775
|
},
|
|
1692
1776
|
"default": "false",
|
|
1777
|
+
"description": "Expands or collapses the item.",
|
|
1778
|
+
"fieldName": "expanded",
|
|
1693
1779
|
"inheritedFrom": {
|
|
1694
|
-
"name": "
|
|
1695
|
-
"module": "src/
|
|
1780
|
+
"name": "AccordionItem",
|
|
1781
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1696
1782
|
}
|
|
1697
1783
|
},
|
|
1698
1784
|
{
|
|
1699
|
-
"
|
|
1700
|
-
"name": "buttonAppearance",
|
|
1785
|
+
"name": "id",
|
|
1701
1786
|
"type": {
|
|
1702
1787
|
"text": "string"
|
|
1703
1788
|
},
|
|
1789
|
+
"description": "The item ID",
|
|
1790
|
+
"fieldName": "id",
|
|
1704
1791
|
"inheritedFrom": {
|
|
1705
|
-
"name": "
|
|
1706
|
-
"module": "src/
|
|
1792
|
+
"name": "AccordionItem",
|
|
1793
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1707
1794
|
}
|
|
1708
|
-
}
|
|
1795
|
+
}
|
|
1796
|
+
],
|
|
1797
|
+
"members": [
|
|
1709
1798
|
{
|
|
1710
1799
|
"kind": "field",
|
|
1711
|
-
"name": "
|
|
1800
|
+
"name": "headinglevel",
|
|
1712
1801
|
"type": {
|
|
1713
|
-
"text": "
|
|
1802
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1714
1803
|
},
|
|
1715
|
-
"
|
|
1804
|
+
"privacy": "public",
|
|
1805
|
+
"default": "2",
|
|
1806
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1716
1807
|
"inheritedFrom": {
|
|
1717
|
-
"name": "
|
|
1718
|
-
"module": "src/
|
|
1808
|
+
"name": "AccordionItem",
|
|
1809
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1719
1810
|
}
|
|
1720
1811
|
},
|
|
1721
1812
|
{
|
|
1722
1813
|
"kind": "field",
|
|
1723
|
-
"name": "
|
|
1814
|
+
"name": "expanded",
|
|
1724
1815
|
"type": {
|
|
1725
1816
|
"text": "boolean"
|
|
1726
1817
|
},
|
|
1818
|
+
"privacy": "public",
|
|
1727
1819
|
"default": "false",
|
|
1820
|
+
"description": "Expands or collapses the item.",
|
|
1728
1821
|
"inheritedFrom": {
|
|
1729
|
-
"name": "
|
|
1730
|
-
"module": "src/
|
|
1731
|
-
}
|
|
1732
|
-
},
|
|
1733
|
-
{
|
|
1734
|
-
"kind": "field",
|
|
1735
|
-
"name": "singleOption",
|
|
1736
|
-
"type": {
|
|
1737
|
-
"text": "ActionMenuItem"
|
|
1738
|
-
},
|
|
1739
|
-
"inheritedFrom": {
|
|
1740
|
-
"name": "ActionsMenu",
|
|
1741
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1742
|
-
}
|
|
1743
|
-
},
|
|
1744
|
-
{
|
|
1745
|
-
"kind": "field",
|
|
1746
|
-
"name": "actionsMenu",
|
|
1747
|
-
"type": {
|
|
1748
|
-
"text": "HTMLElement"
|
|
1749
|
-
},
|
|
1750
|
-
"inheritedFrom": {
|
|
1751
|
-
"name": "ActionsMenu",
|
|
1752
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1753
|
-
}
|
|
1754
|
-
},
|
|
1755
|
-
{
|
|
1756
|
-
"kind": "method",
|
|
1757
|
-
"name": "definitionChanged",
|
|
1758
|
-
"privacy": "protected",
|
|
1759
|
-
"parameters": [
|
|
1760
|
-
{
|
|
1761
|
-
"name": "oldValue",
|
|
1762
|
-
"type": {
|
|
1763
|
-
"text": "any"
|
|
1764
|
-
}
|
|
1765
|
-
},
|
|
1766
|
-
{
|
|
1767
|
-
"name": "newValue",
|
|
1768
|
-
"type": {
|
|
1769
|
-
"text": "any"
|
|
1770
|
-
}
|
|
1771
|
-
}
|
|
1772
|
-
],
|
|
1773
|
-
"inheritedFrom": {
|
|
1774
|
-
"name": "ActionsMenu",
|
|
1775
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1776
|
-
}
|
|
1777
|
-
},
|
|
1778
|
-
{
|
|
1779
|
-
"kind": "method",
|
|
1780
|
-
"name": "openChanged",
|
|
1781
|
-
"privacy": "protected",
|
|
1782
|
-
"inheritedFrom": {
|
|
1783
|
-
"name": "ActionsMenu",
|
|
1784
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1785
|
-
}
|
|
1786
|
-
},
|
|
1787
|
-
{
|
|
1788
|
-
"kind": "method",
|
|
1789
|
-
"name": "toggleActionsMenuVisibility",
|
|
1790
|
-
"inheritedFrom": {
|
|
1791
|
-
"name": "ActionsMenu",
|
|
1792
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1793
|
-
}
|
|
1794
|
-
},
|
|
1795
|
-
{
|
|
1796
|
-
"kind": "method",
|
|
1797
|
-
"name": "onActionMenuItemClick",
|
|
1798
|
-
"parameters": [
|
|
1799
|
-
{
|
|
1800
|
-
"name": "callback",
|
|
1801
|
-
"type": {
|
|
1802
|
-
"text": "(rowData) => void | any"
|
|
1803
|
-
}
|
|
1804
|
-
}
|
|
1805
|
-
],
|
|
1806
|
-
"inheritedFrom": {
|
|
1807
|
-
"name": "ActionsMenu",
|
|
1808
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1822
|
+
"name": "AccordionItem",
|
|
1823
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1809
1824
|
}
|
|
1810
1825
|
},
|
|
1811
1826
|
{
|
|
1812
1827
|
"kind": "field",
|
|
1813
|
-
"name": "
|
|
1828
|
+
"name": "id",
|
|
1814
1829
|
"type": {
|
|
1815
|
-
"text": "
|
|
1830
|
+
"text": "string"
|
|
1816
1831
|
},
|
|
1817
|
-
"
|
|
1832
|
+
"privacy": "public",
|
|
1833
|
+
"description": "The item ID",
|
|
1818
1834
|
"inheritedFrom": {
|
|
1819
|
-
"name": "
|
|
1820
|
-
"module": "src/
|
|
1835
|
+
"name": "AccordionItem",
|
|
1836
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1821
1837
|
}
|
|
1822
1838
|
},
|
|
1823
1839
|
{
|
|
1824
1840
|
"kind": "field",
|
|
1825
|
-
"name": "
|
|
1826
|
-
"
|
|
1827
|
-
"inheritedFrom": {
|
|
1828
|
-
"name": "ActionsMenu",
|
|
1829
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1830
|
-
}
|
|
1831
|
-
},
|
|
1832
|
-
{
|
|
1833
|
-
"kind": "method",
|
|
1834
|
-
"name": "getLabel",
|
|
1835
|
-
"parameters": [
|
|
1836
|
-
{
|
|
1837
|
-
"name": "name",
|
|
1838
|
-
"type": {
|
|
1839
|
-
"text": "string | ((rowData: any) => string)"
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
|
-
],
|
|
1843
|
-
"inheritedFrom": {
|
|
1844
|
-
"name": "ActionsMenu",
|
|
1845
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1846
|
-
}
|
|
1847
|
-
},
|
|
1848
|
-
{
|
|
1849
|
-
"kind": "method",
|
|
1850
|
-
"name": "getTemplate",
|
|
1851
|
-
"parameters": [
|
|
1852
|
-
{
|
|
1853
|
-
"name": "prefix",
|
|
1854
|
-
"type": {
|
|
1855
|
-
"text": "string"
|
|
1856
|
-
}
|
|
1857
|
-
}
|
|
1858
|
-
],
|
|
1841
|
+
"name": "change",
|
|
1842
|
+
"privacy": "private",
|
|
1859
1843
|
"inheritedFrom": {
|
|
1860
|
-
"name": "
|
|
1861
|
-
"module": "src/
|
|
1844
|
+
"name": "AccordionItem",
|
|
1845
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1862
1846
|
}
|
|
1863
1847
|
},
|
|
1864
1848
|
{
|
|
@@ -1870,8 +1854,8 @@
|
|
|
1870
1854
|
"privacy": "private",
|
|
1871
1855
|
"default": "void 0",
|
|
1872
1856
|
"inheritedFrom": {
|
|
1873
|
-
"name": "
|
|
1874
|
-
"module": "src/
|
|
1857
|
+
"name": "AccordionItem",
|
|
1858
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1875
1859
|
}
|
|
1876
1860
|
},
|
|
1877
1861
|
{
|
|
@@ -1883,8 +1867,8 @@
|
|
|
1883
1867
|
"privacy": "public",
|
|
1884
1868
|
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1885
1869
|
"inheritedFrom": {
|
|
1886
|
-
"name": "
|
|
1887
|
-
"module": "src/
|
|
1870
|
+
"name": "AccordionItem",
|
|
1871
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1888
1872
|
}
|
|
1889
1873
|
},
|
|
1890
1874
|
{
|
|
@@ -1896,8 +1880,8 @@
|
|
|
1896
1880
|
"privacy": "public",
|
|
1897
1881
|
"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.",
|
|
1898
1882
|
"inheritedFrom": {
|
|
1899
|
-
"name": "
|
|
1900
|
-
"module": "src/
|
|
1883
|
+
"name": "AccordionItem",
|
|
1884
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1901
1885
|
}
|
|
1902
1886
|
},
|
|
1903
1887
|
{
|
|
@@ -1910,8 +1894,8 @@
|
|
|
1910
1894
|
}
|
|
1911
1895
|
},
|
|
1912
1896
|
"inheritedFrom": {
|
|
1913
|
-
"name": "
|
|
1914
|
-
"module": "src/
|
|
1897
|
+
"name": "AccordionItem",
|
|
1898
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1915
1899
|
}
|
|
1916
1900
|
},
|
|
1917
1901
|
{
|
|
@@ -1923,8 +1907,8 @@
|
|
|
1923
1907
|
"privacy": "public",
|
|
1924
1908
|
"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.",
|
|
1925
1909
|
"inheritedFrom": {
|
|
1926
|
-
"name": "
|
|
1927
|
-
"module": "src/
|
|
1910
|
+
"name": "AccordionItem",
|
|
1911
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1928
1912
|
}
|
|
1929
1913
|
},
|
|
1930
1914
|
{
|
|
@@ -1937,8 +1921,8 @@
|
|
|
1937
1921
|
}
|
|
1938
1922
|
},
|
|
1939
1923
|
"inheritedFrom": {
|
|
1940
|
-
"name": "
|
|
1941
|
-
"module": "src/
|
|
1924
|
+
"name": "AccordionItem",
|
|
1925
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1942
1926
|
}
|
|
1943
1927
|
},
|
|
1944
1928
|
{
|
|
@@ -1968,41 +1952,49 @@
|
|
|
1968
1952
|
],
|
|
1969
1953
|
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1970
1954
|
"inheritedFrom": {
|
|
1971
|
-
"name": "
|
|
1972
|
-
"module": "src/
|
|
1955
|
+
"name": "AccordionItem",
|
|
1956
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
],
|
|
1960
|
+
"events": [
|
|
1961
|
+
{
|
|
1962
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1963
|
+
"name": "change",
|
|
1964
|
+
"inheritedFrom": {
|
|
1965
|
+
"name": "AccordionItem",
|
|
1966
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1973
1967
|
}
|
|
1974
1968
|
}
|
|
1975
1969
|
]
|
|
1976
1970
|
},
|
|
1977
1971
|
{
|
|
1978
1972
|
"kind": "variable",
|
|
1979
|
-
"name": "
|
|
1980
|
-
"description": "The Zero Actions Menu",
|
|
1981
|
-
"privacy": "public"
|
|
1973
|
+
"name": "zeroAccordionItem"
|
|
1982
1974
|
}
|
|
1983
1975
|
],
|
|
1984
1976
|
"exports": [
|
|
1985
1977
|
{
|
|
1986
1978
|
"kind": "js",
|
|
1987
|
-
"name": "
|
|
1979
|
+
"name": "AccordionItem",
|
|
1988
1980
|
"declaration": {
|
|
1989
|
-
"name": "
|
|
1990
|
-
"module": "src/
|
|
1981
|
+
"name": "AccordionItem",
|
|
1982
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1991
1983
|
}
|
|
1992
1984
|
},
|
|
1993
1985
|
{
|
|
1994
1986
|
"kind": "js",
|
|
1995
|
-
"name": "
|
|
1987
|
+
"name": "zeroAccordionItem",
|
|
1996
1988
|
"declaration": {
|
|
1997
|
-
"name": "
|
|
1998
|
-
"module": "src/
|
|
1989
|
+
"name": "zeroAccordionItem",
|
|
1990
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1999
1991
|
}
|
|
2000
1992
|
}
|
|
2001
1993
|
]
|
|
2002
1994
|
},
|
|
2003
1995
|
{
|
|
2004
1996
|
"kind": "javascript-module",
|
|
2005
|
-
"path": "src/
|
|
1997
|
+
"path": "src/accordion-item/index.ts",
|
|
2006
1998
|
"declarations": [],
|
|
2007
1999
|
"exports": [
|
|
2008
2000
|
{
|
|
@@ -2010,7 +2002,7 @@
|
|
|
2010
2002
|
"name": "*",
|
|
2011
2003
|
"declaration": {
|
|
2012
2004
|
"name": "*",
|
|
2013
|
-
"package": "./
|
|
2005
|
+
"package": "./accordion-item"
|
|
2014
2006
|
}
|
|
2015
2007
|
},
|
|
2016
2008
|
{
|
|
@@ -2018,7 +2010,15 @@
|
|
|
2018
2010
|
"name": "*",
|
|
2019
2011
|
"declaration": {
|
|
2020
2012
|
"name": "*",
|
|
2021
|
-
"package": "./
|
|
2013
|
+
"package": "./accordion-item.styles"
|
|
2014
|
+
}
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
"kind": "js",
|
|
2018
|
+
"name": "*",
|
|
2019
|
+
"declaration": {
|
|
2020
|
+
"name": "*",
|
|
2021
|
+
"package": "./accordion-item.template"
|
|
2022
2022
|
}
|
|
2023
2023
|
}
|
|
2024
2024
|
]
|