@genesislcap/foundation-ui 14.204.1 → 14.205.0-jsdom.1
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 +720 -720
- package/package.json +17 -16
|
@@ -1077,11 +1077,34 @@
|
|
|
1077
1077
|
},
|
|
1078
1078
|
{
|
|
1079
1079
|
"kind": "javascript-module",
|
|
1080
|
-
"path": "src/
|
|
1080
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1081
1081
|
"declarations": [
|
|
1082
1082
|
{
|
|
1083
1083
|
"kind": "function",
|
|
1084
|
-
"name": "
|
|
1084
|
+
"name": "actionsMenuBaseStyles",
|
|
1085
|
+
"return": {
|
|
1086
|
+
"type": {
|
|
1087
|
+
"text": "ElementStyles"
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
"parameters": [
|
|
1091
|
+
{
|
|
1092
|
+
"name": "context",
|
|
1093
|
+
"type": {
|
|
1094
|
+
"text": "ElementDefinitionContext"
|
|
1095
|
+
}
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"name": "definition",
|
|
1099
|
+
"type": {
|
|
1100
|
+
"text": "FoundationElementDefinition"
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
]
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"kind": "function",
|
|
1107
|
+
"name": "foundationActionsMenuStyles",
|
|
1085
1108
|
"return": {
|
|
1086
1109
|
"type": {
|
|
1087
1110
|
"text": "ElementStyles"
|
|
@@ -1106,230 +1129,343 @@
|
|
|
1106
1129
|
"exports": [
|
|
1107
1130
|
{
|
|
1108
1131
|
"kind": "js",
|
|
1109
|
-
"name": "
|
|
1132
|
+
"name": "actionsMenuBaseStyles",
|
|
1110
1133
|
"declaration": {
|
|
1111
|
-
"name": "
|
|
1112
|
-
"module": "src/
|
|
1134
|
+
"name": "actionsMenuBaseStyles",
|
|
1135
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"kind": "js",
|
|
1140
|
+
"name": "foundationActionsMenuStyles",
|
|
1141
|
+
"declaration": {
|
|
1142
|
+
"name": "foundationActionsMenuStyles",
|
|
1143
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1113
1144
|
}
|
|
1114
1145
|
}
|
|
1115
1146
|
]
|
|
1116
1147
|
},
|
|
1117
1148
|
{
|
|
1118
1149
|
"kind": "javascript-module",
|
|
1119
|
-
"path": "src/
|
|
1150
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1120
1151
|
"declarations": [
|
|
1121
1152
|
{
|
|
1122
1153
|
"kind": "function",
|
|
1123
|
-
"name": "
|
|
1124
|
-
"return": {
|
|
1125
|
-
"type": {
|
|
1126
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1127
|
-
}
|
|
1128
|
-
},
|
|
1154
|
+
"name": "menuTemplate",
|
|
1129
1155
|
"parameters": [
|
|
1130
1156
|
{
|
|
1131
|
-
"name": "
|
|
1157
|
+
"name": "prefix",
|
|
1132
1158
|
"type": {
|
|
1133
|
-
"text": "
|
|
1159
|
+
"text": "string"
|
|
1134
1160
|
}
|
|
1135
|
-
}
|
|
1161
|
+
}
|
|
1162
|
+
]
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"kind": "function",
|
|
1166
|
+
"name": "singleOptionTemplate",
|
|
1167
|
+
"parameters": [
|
|
1136
1168
|
{
|
|
1137
|
-
"name": "
|
|
1169
|
+
"name": "prefix",
|
|
1138
1170
|
"type": {
|
|
1139
|
-
"text": "
|
|
1171
|
+
"text": "string"
|
|
1140
1172
|
}
|
|
1141
1173
|
}
|
|
1142
1174
|
]
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"kind": "variable",
|
|
1178
|
+
"name": "foundationActionsMenuTemplate",
|
|
1179
|
+
"type": {
|
|
1180
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1181
|
+
},
|
|
1182
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1143
1183
|
}
|
|
1144
1184
|
],
|
|
1145
1185
|
"exports": [
|
|
1146
1186
|
{
|
|
1147
1187
|
"kind": "js",
|
|
1148
|
-
"name": "
|
|
1188
|
+
"name": "menuTemplate",
|
|
1149
1189
|
"declaration": {
|
|
1150
|
-
"name": "
|
|
1151
|
-
"module": "src/
|
|
1190
|
+
"name": "menuTemplate",
|
|
1191
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"kind": "js",
|
|
1196
|
+
"name": "singleOptionTemplate",
|
|
1197
|
+
"declaration": {
|
|
1198
|
+
"name": "singleOptionTemplate",
|
|
1199
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"kind": "js",
|
|
1204
|
+
"name": "foundationActionsMenuTemplate",
|
|
1205
|
+
"declaration": {
|
|
1206
|
+
"name": "foundationActionsMenuTemplate",
|
|
1207
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1152
1208
|
}
|
|
1153
1209
|
}
|
|
1154
1210
|
]
|
|
1155
1211
|
},
|
|
1156
1212
|
{
|
|
1157
1213
|
"kind": "javascript-module",
|
|
1158
|
-
"path": "src/
|
|
1214
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1159
1215
|
"declarations": [
|
|
1160
1216
|
{
|
|
1161
1217
|
"kind": "class",
|
|
1162
1218
|
"description": "",
|
|
1163
|
-
"name": "
|
|
1164
|
-
"
|
|
1165
|
-
"name": "FASTAccordionItem",
|
|
1166
|
-
"package": "@microsoft/fast-components"
|
|
1167
|
-
},
|
|
1168
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1169
|
-
"customElement": true,
|
|
1170
|
-
"attributes": [
|
|
1219
|
+
"name": "ActionsMenu",
|
|
1220
|
+
"members": [
|
|
1171
1221
|
{
|
|
1172
|
-
"
|
|
1222
|
+
"kind": "field",
|
|
1223
|
+
"name": "actions",
|
|
1173
1224
|
"type": {
|
|
1174
|
-
"text": "
|
|
1175
|
-
},
|
|
1176
|
-
"default": "2",
|
|
1177
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1178
|
-
"fieldName": "headinglevel",
|
|
1179
|
-
"inheritedFrom": {
|
|
1180
|
-
"name": "AccordionItem",
|
|
1181
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1225
|
+
"text": "ActionMenuItem[]"
|
|
1182
1226
|
}
|
|
1183
1227
|
},
|
|
1184
1228
|
{
|
|
1229
|
+
"kind": "field",
|
|
1230
|
+
"name": "isVertical",
|
|
1185
1231
|
"type": {
|
|
1186
1232
|
"text": "boolean"
|
|
1187
1233
|
},
|
|
1188
|
-
"default": "false"
|
|
1189
|
-
"description": "Expands or collapses the item.",
|
|
1190
|
-
"fieldName": "expanded",
|
|
1191
|
-
"inheritedFrom": {
|
|
1192
|
-
"name": "AccordionItem",
|
|
1193
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1194
|
-
}
|
|
1234
|
+
"default": "false"
|
|
1195
1235
|
},
|
|
1196
|
-
{
|
|
1197
|
-
"name": "id",
|
|
1198
|
-
"type": {
|
|
1199
|
-
"text": "string"
|
|
1200
|
-
},
|
|
1201
|
-
"description": "The item ID",
|
|
1202
|
-
"fieldName": "id",
|
|
1203
|
-
"inheritedFrom": {
|
|
1204
|
-
"name": "AccordionItem",
|
|
1205
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1206
|
-
}
|
|
1207
|
-
}
|
|
1208
|
-
],
|
|
1209
|
-
"members": [
|
|
1210
1236
|
{
|
|
1211
1237
|
"kind": "field",
|
|
1212
|
-
"name": "
|
|
1238
|
+
"name": "addDefaultActions",
|
|
1213
1239
|
"type": {
|
|
1214
|
-
"text": "
|
|
1240
|
+
"text": "boolean"
|
|
1215
1241
|
},
|
|
1216
|
-
"
|
|
1217
|
-
"default": "2",
|
|
1218
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1219
|
-
"inheritedFrom": {
|
|
1220
|
-
"name": "AccordionItem",
|
|
1221
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1222
|
-
}
|
|
1242
|
+
"default": "true"
|
|
1223
1243
|
},
|
|
1224
1244
|
{
|
|
1225
1245
|
"kind": "field",
|
|
1226
|
-
"name": "
|
|
1246
|
+
"name": "autoCloseOnAction",
|
|
1227
1247
|
"type": {
|
|
1228
1248
|
"text": "boolean"
|
|
1229
1249
|
},
|
|
1230
|
-
"
|
|
1231
|
-
"default": "false",
|
|
1232
|
-
"description": "Expands or collapses the item.",
|
|
1233
|
-
"inheritedFrom": {
|
|
1234
|
-
"name": "AccordionItem",
|
|
1235
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1236
|
-
}
|
|
1250
|
+
"default": "true"
|
|
1237
1251
|
},
|
|
1238
1252
|
{
|
|
1239
1253
|
"kind": "field",
|
|
1240
|
-
"name": "
|
|
1254
|
+
"name": "classNames",
|
|
1241
1255
|
"type": {
|
|
1242
1256
|
"text": "string"
|
|
1243
|
-
},
|
|
1244
|
-
"privacy": "public",
|
|
1245
|
-
"description": "The item ID",
|
|
1246
|
-
"inheritedFrom": {
|
|
1247
|
-
"name": "AccordionItem",
|
|
1248
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1249
1257
|
}
|
|
1250
1258
|
},
|
|
1251
1259
|
{
|
|
1252
1260
|
"kind": "field",
|
|
1253
|
-
"name": "
|
|
1254
|
-
"
|
|
1255
|
-
|
|
1256
|
-
"name": "AccordionItem",
|
|
1257
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1261
|
+
"name": "definition",
|
|
1262
|
+
"type": {
|
|
1263
|
+
"text": "any"
|
|
1258
1264
|
}
|
|
1259
1265
|
},
|
|
1260
1266
|
{
|
|
1261
1267
|
"kind": "field",
|
|
1262
|
-
"name": "
|
|
1268
|
+
"name": "name",
|
|
1263
1269
|
"type": {
|
|
1264
|
-
"text": "
|
|
1270
|
+
"text": "string"
|
|
1265
1271
|
},
|
|
1266
|
-
"
|
|
1267
|
-
"default": "void 0",
|
|
1268
|
-
"inheritedFrom": {
|
|
1269
|
-
"name": "FoundationElement",
|
|
1270
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1271
|
-
}
|
|
1272
|
+
"default": "'Actions'"
|
|
1272
1273
|
},
|
|
1273
1274
|
{
|
|
1274
1275
|
"kind": "field",
|
|
1275
|
-
"name": "
|
|
1276
|
+
"name": "open",
|
|
1276
1277
|
"type": {
|
|
1277
|
-
"text": "
|
|
1278
|
+
"text": "boolean"
|
|
1278
1279
|
},
|
|
1279
|
-
"
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1280
|
+
"default": "false"
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
"kind": "field",
|
|
1284
|
+
"name": "buttonAppearance",
|
|
1285
|
+
"type": {
|
|
1286
|
+
"text": "string"
|
|
1284
1287
|
}
|
|
1285
1288
|
},
|
|
1286
1289
|
{
|
|
1287
1290
|
"kind": "field",
|
|
1288
|
-
"name": "
|
|
1291
|
+
"name": "hideDisabled",
|
|
1289
1292
|
"type": {
|
|
1290
|
-
"text": "
|
|
1293
|
+
"text": "boolean"
|
|
1291
1294
|
},
|
|
1292
|
-
"
|
|
1293
|
-
"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.",
|
|
1294
|
-
"inheritedFrom": {
|
|
1295
|
-
"name": "FoundationElement",
|
|
1296
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1297
|
-
}
|
|
1295
|
+
"default": "false"
|
|
1298
1296
|
},
|
|
1299
1297
|
{
|
|
1300
|
-
"kind": "
|
|
1301
|
-
"name": "
|
|
1302
|
-
"
|
|
1303
|
-
|
|
1304
|
-
"type": {
|
|
1305
|
-
"text": "void"
|
|
1306
|
-
}
|
|
1298
|
+
"kind": "field",
|
|
1299
|
+
"name": "hideMenuSingleOption",
|
|
1300
|
+
"type": {
|
|
1301
|
+
"text": "boolean"
|
|
1307
1302
|
},
|
|
1308
|
-
"
|
|
1309
|
-
|
|
1310
|
-
|
|
1303
|
+
"default": "false"
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"kind": "field",
|
|
1307
|
+
"name": "singleOption",
|
|
1308
|
+
"type": {
|
|
1309
|
+
"text": "ActionMenuItem"
|
|
1311
1310
|
}
|
|
1312
1311
|
},
|
|
1313
1312
|
{
|
|
1314
1313
|
"kind": "field",
|
|
1315
|
-
"name": "
|
|
1314
|
+
"name": "actionsMenu",
|
|
1316
1315
|
"type": {
|
|
1317
|
-
"text": "
|
|
1318
|
-
},
|
|
1319
|
-
"privacy": "public",
|
|
1320
|
-
"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.",
|
|
1321
|
-
"inheritedFrom": {
|
|
1322
|
-
"name": "FoundationElement",
|
|
1323
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1316
|
+
"text": "HTMLElement"
|
|
1324
1317
|
}
|
|
1325
1318
|
},
|
|
1326
1319
|
{
|
|
1327
1320
|
"kind": "method",
|
|
1328
|
-
"name": "
|
|
1321
|
+
"name": "definitionChanged",
|
|
1329
1322
|
"privacy": "protected",
|
|
1330
|
-
"
|
|
1331
|
-
|
|
1332
|
-
"
|
|
1323
|
+
"parameters": [
|
|
1324
|
+
{
|
|
1325
|
+
"name": "oldValue",
|
|
1326
|
+
"type": {
|
|
1327
|
+
"text": "any"
|
|
1328
|
+
}
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"name": "newValue",
|
|
1332
|
+
"type": {
|
|
1333
|
+
"text": "any"
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
]
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
"kind": "method",
|
|
1340
|
+
"name": "openChanged",
|
|
1341
|
+
"privacy": "protected"
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"kind": "method",
|
|
1345
|
+
"name": "toggleActionsMenuVisibility"
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
"kind": "method",
|
|
1349
|
+
"name": "onActionMenuItemClick",
|
|
1350
|
+
"parameters": [
|
|
1351
|
+
{
|
|
1352
|
+
"name": "callback",
|
|
1353
|
+
"type": {
|
|
1354
|
+
"text": "(rowData) => void | any"
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
]
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
"kind": "field",
|
|
1361
|
+
"name": "allActions",
|
|
1362
|
+
"type": {
|
|
1363
|
+
"text": "ActionMenuItem[]"
|
|
1364
|
+
},
|
|
1365
|
+
"readonly": true
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
"kind": "field",
|
|
1369
|
+
"name": "rowData",
|
|
1370
|
+
"readonly": true
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"kind": "method",
|
|
1374
|
+
"name": "getLabel",
|
|
1375
|
+
"parameters": [
|
|
1376
|
+
{
|
|
1377
|
+
"name": "name",
|
|
1378
|
+
"type": {
|
|
1379
|
+
"text": "string | ((rowData: any) => string)"
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
]
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"kind": "method",
|
|
1386
|
+
"name": "getTemplate",
|
|
1387
|
+
"parameters": [
|
|
1388
|
+
{
|
|
1389
|
+
"name": "prefix",
|
|
1390
|
+
"type": {
|
|
1391
|
+
"text": "string"
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
]
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"kind": "field",
|
|
1398
|
+
"name": "_presentation",
|
|
1399
|
+
"type": {
|
|
1400
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1401
|
+
},
|
|
1402
|
+
"privacy": "private",
|
|
1403
|
+
"default": "void 0",
|
|
1404
|
+
"inheritedFrom": {
|
|
1405
|
+
"name": "FoundationElement",
|
|
1406
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1407
|
+
}
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
"kind": "field",
|
|
1411
|
+
"name": "$presentation",
|
|
1412
|
+
"type": {
|
|
1413
|
+
"text": "ComponentPresentation | null"
|
|
1414
|
+
},
|
|
1415
|
+
"privacy": "public",
|
|
1416
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1417
|
+
"inheritedFrom": {
|
|
1418
|
+
"name": "FoundationElement",
|
|
1419
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"kind": "field",
|
|
1424
|
+
"name": "template",
|
|
1425
|
+
"type": {
|
|
1426
|
+
"text": "ElementViewTemplate | void | null"
|
|
1427
|
+
},
|
|
1428
|
+
"privacy": "public",
|
|
1429
|
+
"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.",
|
|
1430
|
+
"inheritedFrom": {
|
|
1431
|
+
"name": "FoundationElement",
|
|
1432
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1433
|
+
}
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"kind": "method",
|
|
1437
|
+
"name": "templateChanged",
|
|
1438
|
+
"privacy": "protected",
|
|
1439
|
+
"return": {
|
|
1440
|
+
"type": {
|
|
1441
|
+
"text": "void"
|
|
1442
|
+
}
|
|
1443
|
+
},
|
|
1444
|
+
"inheritedFrom": {
|
|
1445
|
+
"name": "FoundationElement",
|
|
1446
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
"kind": "field",
|
|
1451
|
+
"name": "styles",
|
|
1452
|
+
"type": {
|
|
1453
|
+
"text": "ElementStyles | void | null"
|
|
1454
|
+
},
|
|
1455
|
+
"privacy": "public",
|
|
1456
|
+
"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.",
|
|
1457
|
+
"inheritedFrom": {
|
|
1458
|
+
"name": "FoundationElement",
|
|
1459
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1460
|
+
}
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
"kind": "method",
|
|
1464
|
+
"name": "stylesChanged",
|
|
1465
|
+
"privacy": "protected",
|
|
1466
|
+
"return": {
|
|
1467
|
+
"type": {
|
|
1468
|
+
"text": "void"
|
|
1333
1469
|
}
|
|
1334
1470
|
},
|
|
1335
1471
|
"inheritedFrom": {
|
|
@@ -1369,78 +1505,107 @@
|
|
|
1369
1505
|
}
|
|
1370
1506
|
}
|
|
1371
1507
|
],
|
|
1372
|
-
"
|
|
1508
|
+
"attributes": [
|
|
1373
1509
|
{
|
|
1374
|
-
"
|
|
1375
|
-
"
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1510
|
+
"name": "is-vertical",
|
|
1511
|
+
"type": {
|
|
1512
|
+
"text": "boolean"
|
|
1513
|
+
},
|
|
1514
|
+
"default": "false",
|
|
1515
|
+
"fieldName": "isVertical"
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"name": "add-default-actions",
|
|
1519
|
+
"type": {
|
|
1520
|
+
"text": "boolean"
|
|
1521
|
+
},
|
|
1522
|
+
"default": "true",
|
|
1523
|
+
"fieldName": "addDefaultActions"
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
"name": "auto-close-on-action",
|
|
1527
|
+
"type": {
|
|
1528
|
+
"text": "boolean"
|
|
1529
|
+
},
|
|
1530
|
+
"default": "true",
|
|
1531
|
+
"fieldName": "autoCloseOnAction"
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
"name": "name",
|
|
1535
|
+
"type": {
|
|
1536
|
+
"text": "string"
|
|
1537
|
+
},
|
|
1538
|
+
"default": "'Actions'",
|
|
1539
|
+
"fieldName": "name"
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"name": "open",
|
|
1543
|
+
"type": {
|
|
1544
|
+
"text": "boolean"
|
|
1545
|
+
},
|
|
1546
|
+
"default": "false",
|
|
1547
|
+
"fieldName": "open"
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"name": "buttonAppearance",
|
|
1551
|
+
"type": {
|
|
1552
|
+
"text": "string"
|
|
1553
|
+
},
|
|
1554
|
+
"fieldName": "buttonAppearance"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"name": "hide-disabled",
|
|
1558
|
+
"type": {
|
|
1559
|
+
"text": "boolean"
|
|
1560
|
+
},
|
|
1561
|
+
"default": "false",
|
|
1562
|
+
"fieldName": "hideDisabled"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"name": "hide-menu-single-option",
|
|
1566
|
+
"type": {
|
|
1567
|
+
"text": "boolean"
|
|
1568
|
+
},
|
|
1569
|
+
"default": "false",
|
|
1570
|
+
"fieldName": "hideMenuSingleOption"
|
|
1380
1571
|
}
|
|
1381
|
-
]
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1386
|
-
"type": {
|
|
1387
|
-
"text": "ShadowRootInit"
|
|
1388
|
-
},
|
|
1389
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1390
|
-
},
|
|
1391
|
-
{
|
|
1392
|
-
"kind": "variable",
|
|
1393
|
-
"name": "defaultAccordionItemConfig",
|
|
1394
|
-
"type": {
|
|
1395
|
-
"text": "object"
|
|
1572
|
+
],
|
|
1573
|
+
"superclass": {
|
|
1574
|
+
"name": "FoundationElement",
|
|
1575
|
+
"package": "@microsoft/fast-foundation"
|
|
1396
1576
|
},
|
|
1397
|
-
"
|
|
1577
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
1578
|
+
"customElement": true
|
|
1398
1579
|
},
|
|
1399
1580
|
{
|
|
1400
1581
|
"kind": "variable",
|
|
1401
|
-
"name": "
|
|
1402
|
-
"description": "The Foundation
|
|
1582
|
+
"name": "foundationActionsMenu",
|
|
1583
|
+
"description": "The Foundation Actions Menu",
|
|
1403
1584
|
"privacy": "public"
|
|
1404
1585
|
}
|
|
1405
1586
|
],
|
|
1406
1587
|
"exports": [
|
|
1407
1588
|
{
|
|
1408
1589
|
"kind": "js",
|
|
1409
|
-
"name": "
|
|
1410
|
-
"declaration": {
|
|
1411
|
-
"name": "AccordionItem",
|
|
1412
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1413
|
-
}
|
|
1414
|
-
},
|
|
1415
|
-
{
|
|
1416
|
-
"kind": "js",
|
|
1417
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1418
|
-
"declaration": {
|
|
1419
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1420
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1421
|
-
}
|
|
1422
|
-
},
|
|
1423
|
-
{
|
|
1424
|
-
"kind": "js",
|
|
1425
|
-
"name": "defaultAccordionItemConfig",
|
|
1590
|
+
"name": "ActionsMenu",
|
|
1426
1591
|
"declaration": {
|
|
1427
|
-
"name": "
|
|
1428
|
-
"module": "src/
|
|
1592
|
+
"name": "ActionsMenu",
|
|
1593
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1429
1594
|
}
|
|
1430
1595
|
},
|
|
1431
1596
|
{
|
|
1432
1597
|
"kind": "js",
|
|
1433
|
-
"name": "
|
|
1598
|
+
"name": "foundationActionsMenu",
|
|
1434
1599
|
"declaration": {
|
|
1435
|
-
"name": "
|
|
1436
|
-
"module": "src/
|
|
1600
|
+
"name": "foundationActionsMenu",
|
|
1601
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1437
1602
|
}
|
|
1438
1603
|
}
|
|
1439
1604
|
]
|
|
1440
1605
|
},
|
|
1441
1606
|
{
|
|
1442
1607
|
"kind": "javascript-module",
|
|
1443
|
-
"path": "src/
|
|
1608
|
+
"path": "src/actions-menu/index.ts",
|
|
1444
1609
|
"declarations": [],
|
|
1445
1610
|
"exports": [
|
|
1446
1611
|
{
|
|
@@ -1448,7 +1613,7 @@
|
|
|
1448
1613
|
"name": "*",
|
|
1449
1614
|
"declaration": {
|
|
1450
1615
|
"name": "*",
|
|
1451
|
-
"package": "./
|
|
1616
|
+
"package": "./actions-menu.styles"
|
|
1452
1617
|
}
|
|
1453
1618
|
},
|
|
1454
1619
|
{
|
|
@@ -1456,7 +1621,7 @@
|
|
|
1456
1621
|
"name": "*",
|
|
1457
1622
|
"declaration": {
|
|
1458
1623
|
"name": "*",
|
|
1459
|
-
"package": "./
|
|
1624
|
+
"package": "./actions-menu.template"
|
|
1460
1625
|
}
|
|
1461
1626
|
},
|
|
1462
1627
|
{
|
|
@@ -1464,41 +1629,18 @@
|
|
|
1464
1629
|
"name": "*",
|
|
1465
1630
|
"declaration": {
|
|
1466
1631
|
"name": "*",
|
|
1467
|
-
"package": "./
|
|
1632
|
+
"package": "./actions-menu"
|
|
1468
1633
|
}
|
|
1469
1634
|
}
|
|
1470
1635
|
]
|
|
1471
1636
|
},
|
|
1472
1637
|
{
|
|
1473
1638
|
"kind": "javascript-module",
|
|
1474
|
-
"path": "src/
|
|
1639
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1475
1640
|
"declarations": [
|
|
1476
1641
|
{
|
|
1477
1642
|
"kind": "function",
|
|
1478
|
-
"name": "
|
|
1479
|
-
"return": {
|
|
1480
|
-
"type": {
|
|
1481
|
-
"text": "ElementStyles"
|
|
1482
|
-
}
|
|
1483
|
-
},
|
|
1484
|
-
"parameters": [
|
|
1485
|
-
{
|
|
1486
|
-
"name": "context",
|
|
1487
|
-
"type": {
|
|
1488
|
-
"text": "ElementDefinitionContext"
|
|
1489
|
-
}
|
|
1490
|
-
},
|
|
1491
|
-
{
|
|
1492
|
-
"name": "definition",
|
|
1493
|
-
"type": {
|
|
1494
|
-
"text": "FoundationElementDefinition"
|
|
1495
|
-
}
|
|
1496
|
-
}
|
|
1497
|
-
]
|
|
1498
|
-
},
|
|
1499
|
-
{
|
|
1500
|
-
"kind": "function",
|
|
1501
|
-
"name": "foundationActionsMenuStyles",
|
|
1643
|
+
"name": "foundationAccordionItemStyles",
|
|
1502
1644
|
"return": {
|
|
1503
1645
|
"type": {
|
|
1504
1646
|
"text": "ElementStyles"
|
|
@@ -1523,270 +1665,157 @@
|
|
|
1523
1665
|
"exports": [
|
|
1524
1666
|
{
|
|
1525
1667
|
"kind": "js",
|
|
1526
|
-
"name": "
|
|
1527
|
-
"declaration": {
|
|
1528
|
-
"name": "actionsMenuBaseStyles",
|
|
1529
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1530
|
-
}
|
|
1531
|
-
},
|
|
1532
|
-
{
|
|
1533
|
-
"kind": "js",
|
|
1534
|
-
"name": "foundationActionsMenuStyles",
|
|
1668
|
+
"name": "foundationAccordionItemStyles",
|
|
1535
1669
|
"declaration": {
|
|
1536
|
-
"name": "
|
|
1537
|
-
"module": "src/
|
|
1670
|
+
"name": "foundationAccordionItemStyles",
|
|
1671
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1538
1672
|
}
|
|
1539
1673
|
}
|
|
1540
1674
|
]
|
|
1541
1675
|
},
|
|
1542
1676
|
{
|
|
1543
1677
|
"kind": "javascript-module",
|
|
1544
|
-
"path": "src/
|
|
1678
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1545
1679
|
"declarations": [
|
|
1546
1680
|
{
|
|
1547
1681
|
"kind": "function",
|
|
1548
|
-
"name": "
|
|
1682
|
+
"name": "foundationAccordionItemTemplate",
|
|
1683
|
+
"return": {
|
|
1684
|
+
"type": {
|
|
1685
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1686
|
+
}
|
|
1687
|
+
},
|
|
1549
1688
|
"parameters": [
|
|
1550
1689
|
{
|
|
1551
|
-
"name": "
|
|
1690
|
+
"name": "context",
|
|
1552
1691
|
"type": {
|
|
1553
|
-
"text": "
|
|
1692
|
+
"text": "ElementDefinitionContext"
|
|
1554
1693
|
}
|
|
1555
|
-
}
|
|
1556
|
-
]
|
|
1557
|
-
},
|
|
1558
|
-
{
|
|
1559
|
-
"kind": "function",
|
|
1560
|
-
"name": "singleOptionTemplate",
|
|
1561
|
-
"parameters": [
|
|
1694
|
+
},
|
|
1562
1695
|
{
|
|
1563
|
-
"name": "
|
|
1696
|
+
"name": "definition",
|
|
1564
1697
|
"type": {
|
|
1565
|
-
"text": "
|
|
1698
|
+
"text": "FoundationElementDefinition"
|
|
1566
1699
|
}
|
|
1567
1700
|
}
|
|
1568
1701
|
]
|
|
1569
|
-
},
|
|
1570
|
-
{
|
|
1571
|
-
"kind": "variable",
|
|
1572
|
-
"name": "foundationActionsMenuTemplate",
|
|
1573
|
-
"type": {
|
|
1574
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1575
|
-
},
|
|
1576
|
-
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
1577
1702
|
}
|
|
1578
1703
|
],
|
|
1579
1704
|
"exports": [
|
|
1580
1705
|
{
|
|
1581
1706
|
"kind": "js",
|
|
1582
|
-
"name": "
|
|
1583
|
-
"declaration": {
|
|
1584
|
-
"name": "menuTemplate",
|
|
1585
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1586
|
-
}
|
|
1587
|
-
},
|
|
1588
|
-
{
|
|
1589
|
-
"kind": "js",
|
|
1590
|
-
"name": "singleOptionTemplate",
|
|
1591
|
-
"declaration": {
|
|
1592
|
-
"name": "singleOptionTemplate",
|
|
1593
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1594
|
-
}
|
|
1595
|
-
},
|
|
1596
|
-
{
|
|
1597
|
-
"kind": "js",
|
|
1598
|
-
"name": "foundationActionsMenuTemplate",
|
|
1707
|
+
"name": "foundationAccordionItemTemplate",
|
|
1599
1708
|
"declaration": {
|
|
1600
|
-
"name": "
|
|
1601
|
-
"module": "src/
|
|
1709
|
+
"name": "foundationAccordionItemTemplate",
|
|
1710
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1602
1711
|
}
|
|
1603
1712
|
}
|
|
1604
1713
|
]
|
|
1605
1714
|
},
|
|
1606
1715
|
{
|
|
1607
1716
|
"kind": "javascript-module",
|
|
1608
|
-
"path": "src/
|
|
1717
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1609
1718
|
"declarations": [
|
|
1610
1719
|
{
|
|
1611
1720
|
"kind": "class",
|
|
1612
1721
|
"description": "",
|
|
1613
|
-
"name": "
|
|
1614
|
-
"
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
"kind": "field",
|
|
1624
|
-
"name": "isVertical",
|
|
1625
|
-
"type": {
|
|
1626
|
-
"text": "boolean"
|
|
1627
|
-
},
|
|
1628
|
-
"default": "false"
|
|
1629
|
-
},
|
|
1630
|
-
{
|
|
1631
|
-
"kind": "field",
|
|
1632
|
-
"name": "addDefaultActions",
|
|
1633
|
-
"type": {
|
|
1634
|
-
"text": "boolean"
|
|
1635
|
-
},
|
|
1636
|
-
"default": "true"
|
|
1637
|
-
},
|
|
1638
|
-
{
|
|
1639
|
-
"kind": "field",
|
|
1640
|
-
"name": "autoCloseOnAction",
|
|
1641
|
-
"type": {
|
|
1642
|
-
"text": "boolean"
|
|
1643
|
-
},
|
|
1644
|
-
"default": "true"
|
|
1645
|
-
},
|
|
1722
|
+
"name": "AccordionItem",
|
|
1723
|
+
"superclass": {
|
|
1724
|
+
"name": "FASTAccordionItem",
|
|
1725
|
+
"package": "@microsoft/fast-components"
|
|
1726
|
+
},
|
|
1727
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1728
|
+
"customElement": true,
|
|
1729
|
+
"attributes": [
|
|
1646
1730
|
{
|
|
1647
|
-
"
|
|
1648
|
-
"name": "classNames",
|
|
1731
|
+
"name": "heading-level",
|
|
1649
1732
|
"type": {
|
|
1650
|
-
"text": "
|
|
1733
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1734
|
+
},
|
|
1735
|
+
"default": "2",
|
|
1736
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1737
|
+
"fieldName": "headinglevel",
|
|
1738
|
+
"inheritedFrom": {
|
|
1739
|
+
"name": "AccordionItem",
|
|
1740
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1651
1741
|
}
|
|
1652
1742
|
},
|
|
1653
1743
|
{
|
|
1654
|
-
"kind": "field",
|
|
1655
|
-
"name": "definition",
|
|
1656
1744
|
"type": {
|
|
1657
|
-
"text": "
|
|
1745
|
+
"text": "boolean"
|
|
1746
|
+
},
|
|
1747
|
+
"default": "false",
|
|
1748
|
+
"description": "Expands or collapses the item.",
|
|
1749
|
+
"fieldName": "expanded",
|
|
1750
|
+
"inheritedFrom": {
|
|
1751
|
+
"name": "AccordionItem",
|
|
1752
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1658
1753
|
}
|
|
1659
1754
|
},
|
|
1660
1755
|
{
|
|
1661
|
-
"
|
|
1662
|
-
"name": "name",
|
|
1756
|
+
"name": "id",
|
|
1663
1757
|
"type": {
|
|
1664
1758
|
"text": "string"
|
|
1665
1759
|
},
|
|
1666
|
-
"
|
|
1667
|
-
|
|
1760
|
+
"description": "The item ID",
|
|
1761
|
+
"fieldName": "id",
|
|
1762
|
+
"inheritedFrom": {
|
|
1763
|
+
"name": "AccordionItem",
|
|
1764
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
],
|
|
1768
|
+
"members": [
|
|
1668
1769
|
{
|
|
1669
1770
|
"kind": "field",
|
|
1670
|
-
"name": "
|
|
1771
|
+
"name": "headinglevel",
|
|
1671
1772
|
"type": {
|
|
1672
|
-
"text": "
|
|
1773
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1673
1774
|
},
|
|
1674
|
-
"
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
"
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
"text": "string"
|
|
1775
|
+
"privacy": "public",
|
|
1776
|
+
"default": "2",
|
|
1777
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1778
|
+
"inheritedFrom": {
|
|
1779
|
+
"name": "AccordionItem",
|
|
1780
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1681
1781
|
}
|
|
1682
1782
|
},
|
|
1683
1783
|
{
|
|
1684
1784
|
"kind": "field",
|
|
1685
|
-
"name": "
|
|
1785
|
+
"name": "expanded",
|
|
1686
1786
|
"type": {
|
|
1687
1787
|
"text": "boolean"
|
|
1688
1788
|
},
|
|
1689
|
-
"
|
|
1789
|
+
"privacy": "public",
|
|
1790
|
+
"default": "false",
|
|
1791
|
+
"description": "Expands or collapses the item.",
|
|
1792
|
+
"inheritedFrom": {
|
|
1793
|
+
"name": "AccordionItem",
|
|
1794
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1795
|
+
}
|
|
1690
1796
|
},
|
|
1691
1797
|
{
|
|
1692
1798
|
"kind": "field",
|
|
1693
|
-
"name": "
|
|
1799
|
+
"name": "id",
|
|
1694
1800
|
"type": {
|
|
1695
|
-
"text": "
|
|
1801
|
+
"text": "string"
|
|
1696
1802
|
},
|
|
1697
|
-
"
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
"type": {
|
|
1703
|
-
"text": "ActionMenuItem"
|
|
1803
|
+
"privacy": "public",
|
|
1804
|
+
"description": "The item ID",
|
|
1805
|
+
"inheritedFrom": {
|
|
1806
|
+
"name": "AccordionItem",
|
|
1807
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1704
1808
|
}
|
|
1705
1809
|
},
|
|
1706
1810
|
{
|
|
1707
1811
|
"kind": "field",
|
|
1708
|
-
"name": "
|
|
1709
|
-
"
|
|
1710
|
-
|
|
1812
|
+
"name": "change",
|
|
1813
|
+
"privacy": "private",
|
|
1814
|
+
"inheritedFrom": {
|
|
1815
|
+
"name": "AccordionItem",
|
|
1816
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1711
1817
|
}
|
|
1712
1818
|
},
|
|
1713
|
-
{
|
|
1714
|
-
"kind": "method",
|
|
1715
|
-
"name": "definitionChanged",
|
|
1716
|
-
"privacy": "protected",
|
|
1717
|
-
"parameters": [
|
|
1718
|
-
{
|
|
1719
|
-
"name": "oldValue",
|
|
1720
|
-
"type": {
|
|
1721
|
-
"text": "any"
|
|
1722
|
-
}
|
|
1723
|
-
},
|
|
1724
|
-
{
|
|
1725
|
-
"name": "newValue",
|
|
1726
|
-
"type": {
|
|
1727
|
-
"text": "any"
|
|
1728
|
-
}
|
|
1729
|
-
}
|
|
1730
|
-
]
|
|
1731
|
-
},
|
|
1732
|
-
{
|
|
1733
|
-
"kind": "method",
|
|
1734
|
-
"name": "openChanged",
|
|
1735
|
-
"privacy": "protected"
|
|
1736
|
-
},
|
|
1737
|
-
{
|
|
1738
|
-
"kind": "method",
|
|
1739
|
-
"name": "toggleActionsMenuVisibility"
|
|
1740
|
-
},
|
|
1741
|
-
{
|
|
1742
|
-
"kind": "method",
|
|
1743
|
-
"name": "onActionMenuItemClick",
|
|
1744
|
-
"parameters": [
|
|
1745
|
-
{
|
|
1746
|
-
"name": "callback",
|
|
1747
|
-
"type": {
|
|
1748
|
-
"text": "(rowData) => void | any"
|
|
1749
|
-
}
|
|
1750
|
-
}
|
|
1751
|
-
]
|
|
1752
|
-
},
|
|
1753
|
-
{
|
|
1754
|
-
"kind": "field",
|
|
1755
|
-
"name": "allActions",
|
|
1756
|
-
"type": {
|
|
1757
|
-
"text": "ActionMenuItem[]"
|
|
1758
|
-
},
|
|
1759
|
-
"readonly": true
|
|
1760
|
-
},
|
|
1761
|
-
{
|
|
1762
|
-
"kind": "field",
|
|
1763
|
-
"name": "rowData",
|
|
1764
|
-
"readonly": true
|
|
1765
|
-
},
|
|
1766
|
-
{
|
|
1767
|
-
"kind": "method",
|
|
1768
|
-
"name": "getLabel",
|
|
1769
|
-
"parameters": [
|
|
1770
|
-
{
|
|
1771
|
-
"name": "name",
|
|
1772
|
-
"type": {
|
|
1773
|
-
"text": "string | ((rowData: any) => string)"
|
|
1774
|
-
}
|
|
1775
|
-
}
|
|
1776
|
-
]
|
|
1777
|
-
},
|
|
1778
|
-
{
|
|
1779
|
-
"kind": "method",
|
|
1780
|
-
"name": "getTemplate",
|
|
1781
|
-
"parameters": [
|
|
1782
|
-
{
|
|
1783
|
-
"name": "prefix",
|
|
1784
|
-
"type": {
|
|
1785
|
-
"text": "string"
|
|
1786
|
-
}
|
|
1787
|
-
}
|
|
1788
|
-
]
|
|
1789
|
-
},
|
|
1790
1819
|
{
|
|
1791
1820
|
"kind": "field",
|
|
1792
1821
|
"name": "_presentation",
|
|
@@ -1899,107 +1928,78 @@
|
|
|
1899
1928
|
}
|
|
1900
1929
|
}
|
|
1901
1930
|
],
|
|
1902
|
-
"
|
|
1903
|
-
{
|
|
1904
|
-
"name": "is-vertical",
|
|
1905
|
-
"type": {
|
|
1906
|
-
"text": "boolean"
|
|
1907
|
-
},
|
|
1908
|
-
"default": "false",
|
|
1909
|
-
"fieldName": "isVertical"
|
|
1910
|
-
},
|
|
1911
|
-
{
|
|
1912
|
-
"name": "add-default-actions",
|
|
1913
|
-
"type": {
|
|
1914
|
-
"text": "boolean"
|
|
1915
|
-
},
|
|
1916
|
-
"default": "true",
|
|
1917
|
-
"fieldName": "addDefaultActions"
|
|
1918
|
-
},
|
|
1919
|
-
{
|
|
1920
|
-
"name": "auto-close-on-action",
|
|
1921
|
-
"type": {
|
|
1922
|
-
"text": "boolean"
|
|
1923
|
-
},
|
|
1924
|
-
"default": "true",
|
|
1925
|
-
"fieldName": "autoCloseOnAction"
|
|
1926
|
-
},
|
|
1927
|
-
{
|
|
1928
|
-
"name": "name",
|
|
1929
|
-
"type": {
|
|
1930
|
-
"text": "string"
|
|
1931
|
-
},
|
|
1932
|
-
"default": "'Actions'",
|
|
1933
|
-
"fieldName": "name"
|
|
1934
|
-
},
|
|
1935
|
-
{
|
|
1936
|
-
"name": "open",
|
|
1937
|
-
"type": {
|
|
1938
|
-
"text": "boolean"
|
|
1939
|
-
},
|
|
1940
|
-
"default": "false",
|
|
1941
|
-
"fieldName": "open"
|
|
1942
|
-
},
|
|
1943
|
-
{
|
|
1944
|
-
"name": "buttonAppearance",
|
|
1945
|
-
"type": {
|
|
1946
|
-
"text": "string"
|
|
1947
|
-
},
|
|
1948
|
-
"fieldName": "buttonAppearance"
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
"name": "hide-disabled",
|
|
1952
|
-
"type": {
|
|
1953
|
-
"text": "boolean"
|
|
1954
|
-
},
|
|
1955
|
-
"default": "false",
|
|
1956
|
-
"fieldName": "hideDisabled"
|
|
1957
|
-
},
|
|
1931
|
+
"events": [
|
|
1958
1932
|
{
|
|
1959
|
-
"
|
|
1960
|
-
"
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1933
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1934
|
+
"name": "change",
|
|
1935
|
+
"inheritedFrom": {
|
|
1936
|
+
"name": "AccordionItem",
|
|
1937
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1938
|
+
}
|
|
1965
1939
|
}
|
|
1966
|
-
]
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1940
|
+
]
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"kind": "variable",
|
|
1944
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1945
|
+
"type": {
|
|
1946
|
+
"text": "ShadowRootInit"
|
|
1970
1947
|
},
|
|
1971
|
-
"
|
|
1972
|
-
|
|
1948
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"kind": "variable",
|
|
1952
|
+
"name": "defaultAccordionItemConfig",
|
|
1953
|
+
"type": {
|
|
1954
|
+
"text": "object"
|
|
1955
|
+
},
|
|
1956
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
1973
1957
|
},
|
|
1974
1958
|
{
|
|
1975
1959
|
"kind": "variable",
|
|
1976
|
-
"name": "
|
|
1977
|
-
"description": "The Foundation
|
|
1960
|
+
"name": "foundationAccordionItem",
|
|
1961
|
+
"description": "The Foundation Accordion Item",
|
|
1978
1962
|
"privacy": "public"
|
|
1979
1963
|
}
|
|
1980
1964
|
],
|
|
1981
1965
|
"exports": [
|
|
1982
1966
|
{
|
|
1983
1967
|
"kind": "js",
|
|
1984
|
-
"name": "
|
|
1968
|
+
"name": "AccordionItem",
|
|
1985
1969
|
"declaration": {
|
|
1986
|
-
"name": "
|
|
1987
|
-
"module": "src/
|
|
1970
|
+
"name": "AccordionItem",
|
|
1971
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1988
1972
|
}
|
|
1989
1973
|
},
|
|
1990
1974
|
{
|
|
1991
1975
|
"kind": "js",
|
|
1992
|
-
"name": "
|
|
1976
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1993
1977
|
"declaration": {
|
|
1994
|
-
"name": "
|
|
1995
|
-
"module": "src/
|
|
1978
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1979
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1980
|
+
}
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
"kind": "js",
|
|
1984
|
+
"name": "defaultAccordionItemConfig",
|
|
1985
|
+
"declaration": {
|
|
1986
|
+
"name": "defaultAccordionItemConfig",
|
|
1987
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1988
|
+
}
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"kind": "js",
|
|
1992
|
+
"name": "foundationAccordionItem",
|
|
1993
|
+
"declaration": {
|
|
1994
|
+
"name": "foundationAccordionItem",
|
|
1995
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1996
1996
|
}
|
|
1997
1997
|
}
|
|
1998
1998
|
]
|
|
1999
1999
|
},
|
|
2000
2000
|
{
|
|
2001
2001
|
"kind": "javascript-module",
|
|
2002
|
-
"path": "src/
|
|
2002
|
+
"path": "src/accordion-item/index.ts",
|
|
2003
2003
|
"declarations": [],
|
|
2004
2004
|
"exports": [
|
|
2005
2005
|
{
|
|
@@ -2007,7 +2007,7 @@
|
|
|
2007
2007
|
"name": "*",
|
|
2008
2008
|
"declaration": {
|
|
2009
2009
|
"name": "*",
|
|
2010
|
-
"package": "./
|
|
2010
|
+
"package": "./accordion-item.template"
|
|
2011
2011
|
}
|
|
2012
2012
|
},
|
|
2013
2013
|
{
|
|
@@ -2015,7 +2015,7 @@
|
|
|
2015
2015
|
"name": "*",
|
|
2016
2016
|
"declaration": {
|
|
2017
2017
|
"name": "*",
|
|
2018
|
-
"package": "./
|
|
2018
|
+
"package": "./accordion-item.styles"
|
|
2019
2019
|
}
|
|
2020
2020
|
},
|
|
2021
2021
|
{
|
|
@@ -2023,7 +2023,7 @@
|
|
|
2023
2023
|
"name": "*",
|
|
2024
2024
|
"declaration": {
|
|
2025
2025
|
"name": "*",
|
|
2026
|
-
"package": "./
|
|
2026
|
+
"package": "./accordion-item"
|
|
2027
2027
|
}
|
|
2028
2028
|
}
|
|
2029
2029
|
]
|
|
@@ -4550,181 +4550,125 @@
|
|
|
4550
4550
|
},
|
|
4551
4551
|
{
|
|
4552
4552
|
"kind": "javascript-module",
|
|
4553
|
-
"path": "src/
|
|
4553
|
+
"path": "src/banner/banner.styles.ts",
|
|
4554
4554
|
"declarations": [
|
|
4555
4555
|
{
|
|
4556
|
-
"kind": "
|
|
4557
|
-
"name": "
|
|
4558
|
-
"
|
|
4559
|
-
"
|
|
4560
|
-
"text": "ElementStyles"
|
|
4561
|
-
}
|
|
4556
|
+
"kind": "variable",
|
|
4557
|
+
"name": "foundationBannerStyles",
|
|
4558
|
+
"type": {
|
|
4559
|
+
"text": "ElementStyles"
|
|
4562
4560
|
},
|
|
4563
|
-
"
|
|
4564
|
-
{
|
|
4565
|
-
"name": "context",
|
|
4566
|
-
"type": {
|
|
4567
|
-
"text": "ElementDefinitionContext"
|
|
4568
|
-
}
|
|
4569
|
-
},
|
|
4570
|
-
{
|
|
4571
|
-
"name": "definition",
|
|
4572
|
-
"type": {
|
|
4573
|
-
"text": "FoundationElementDefinition"
|
|
4574
|
-
}
|
|
4575
|
-
}
|
|
4576
|
-
]
|
|
4561
|
+
"default": "css`\n @keyframes delete-animate {\n from {\n height: 100px;\n opacity: 100%;\n }\n\n to {\n height: 0;\n opacity: 0%;\n }\n }\n\n @keyframes append-animate {\n from {\n height: 0;\n opacity: 0%;\n }\n\n to {\n height: var(--banner-height);\n opacity: 100%;\n }\n }\n\n :host {\n --banner-width: 100%;\n --banner-height: 65px;\n --flow: row;\n }\n\n @media screen and (max-width: 640px) {\n :host {\n --flow: column;\n --banner-height: 100px;\n }\n }\n\n .banner {\n animation: append-animate 0.3s linear;\n width: var(--banner-width);\n height: var(--banner-height);\n background-color: var(--fill-color);\n display: flex;\n flex-direction: var(--flow);\n padding: 5px 8px;\n box-sizing: border-box;\n overflow: hidden;\n }\n\n .banner-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .content {\n display: flex;\n align-items: center;\n flex: 2;\n font-size: 12px;\n overflow: hidden;\n }\n\n .action {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n gap: 10px;\n flex: 1;\n overflow: hidden;\n }\n`"
|
|
4577
4562
|
}
|
|
4578
4563
|
],
|
|
4579
4564
|
"exports": [
|
|
4580
4565
|
{
|
|
4581
4566
|
"kind": "js",
|
|
4582
|
-
"name": "
|
|
4567
|
+
"name": "foundationBannerStyles",
|
|
4583
4568
|
"declaration": {
|
|
4584
|
-
"name": "
|
|
4585
|
-
"module": "src/
|
|
4569
|
+
"name": "foundationBannerStyles",
|
|
4570
|
+
"module": "src/banner/banner.styles.ts"
|
|
4586
4571
|
}
|
|
4587
4572
|
}
|
|
4588
4573
|
]
|
|
4589
4574
|
},
|
|
4590
4575
|
{
|
|
4591
4576
|
"kind": "javascript-module",
|
|
4592
|
-
"path": "src/
|
|
4577
|
+
"path": "src/banner/banner.template.ts",
|
|
4593
4578
|
"declarations": [
|
|
4594
4579
|
{
|
|
4595
4580
|
"kind": "function",
|
|
4596
|
-
"name": "
|
|
4597
|
-
"return": {
|
|
4598
|
-
"type": {
|
|
4599
|
-
"text": "ViewTemplate<Badge>"
|
|
4600
|
-
}
|
|
4601
|
-
},
|
|
4581
|
+
"name": "getBannerTemplate",
|
|
4602
4582
|
"parameters": [
|
|
4603
4583
|
{
|
|
4604
|
-
"name": "
|
|
4605
|
-
"type": {
|
|
4606
|
-
"text": "ElementDefinitionContext"
|
|
4607
|
-
}
|
|
4608
|
-
},
|
|
4609
|
-
{
|
|
4610
|
-
"name": "definition",
|
|
4584
|
+
"name": "prefix",
|
|
4611
4585
|
"type": {
|
|
4612
|
-
"text": "
|
|
4586
|
+
"text": "string"
|
|
4613
4587
|
}
|
|
4614
4588
|
}
|
|
4615
4589
|
]
|
|
4590
|
+
},
|
|
4591
|
+
{
|
|
4592
|
+
"kind": "variable",
|
|
4593
|
+
"name": "foundationBannerTemplate",
|
|
4594
|
+
"default": "html<Banner>`\n ${(x) => getBannerTemplate(getPrefix(x))}\n`"
|
|
4616
4595
|
}
|
|
4617
4596
|
],
|
|
4618
4597
|
"exports": [
|
|
4619
4598
|
{
|
|
4620
4599
|
"kind": "js",
|
|
4621
|
-
"name": "
|
|
4600
|
+
"name": "getBannerTemplate",
|
|
4622
4601
|
"declaration": {
|
|
4623
|
-
"name": "
|
|
4624
|
-
"module": "src/
|
|
4602
|
+
"name": "getBannerTemplate",
|
|
4603
|
+
"module": "src/banner/banner.template.ts"
|
|
4604
|
+
}
|
|
4605
|
+
},
|
|
4606
|
+
{
|
|
4607
|
+
"kind": "js",
|
|
4608
|
+
"name": "foundationBannerTemplate",
|
|
4609
|
+
"declaration": {
|
|
4610
|
+
"name": "foundationBannerTemplate",
|
|
4611
|
+
"module": "src/banner/banner.template.ts"
|
|
4625
4612
|
}
|
|
4626
4613
|
}
|
|
4627
4614
|
]
|
|
4628
4615
|
},
|
|
4629
4616
|
{
|
|
4630
4617
|
"kind": "javascript-module",
|
|
4631
|
-
"path": "src/
|
|
4618
|
+
"path": "src/banner/banner.ts",
|
|
4632
4619
|
"declarations": [
|
|
4620
|
+
{
|
|
4621
|
+
"kind": "variable",
|
|
4622
|
+
"name": "foundationBannerShadowOptions",
|
|
4623
|
+
"type": {
|
|
4624
|
+
"text": "ShadowRootInit"
|
|
4625
|
+
},
|
|
4626
|
+
"default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
|
|
4627
|
+
},
|
|
4633
4628
|
{
|
|
4634
4629
|
"kind": "class",
|
|
4635
4630
|
"description": "",
|
|
4636
|
-
"name": "
|
|
4637
|
-
"
|
|
4638
|
-
"name": "FASTBadge",
|
|
4639
|
-
"package": "@microsoft/fast-components"
|
|
4640
|
-
},
|
|
4641
|
-
"tagName": "%%prefix%%-badge",
|
|
4642
|
-
"customElement": true,
|
|
4643
|
-
"attributes": [
|
|
4644
|
-
{
|
|
4645
|
-
"name": "fill",
|
|
4646
|
-
"type": {
|
|
4647
|
-
"text": "string"
|
|
4648
|
-
},
|
|
4649
|
-
"description": "Indicates the badge should have a filled style.",
|
|
4650
|
-
"fieldName": "fill",
|
|
4651
|
-
"inheritedFrom": {
|
|
4652
|
-
"name": "Badge",
|
|
4653
|
-
"module": "src/badge/badge.ts"
|
|
4654
|
-
}
|
|
4655
|
-
},
|
|
4631
|
+
"name": "Banner",
|
|
4632
|
+
"members": [
|
|
4656
4633
|
{
|
|
4657
|
-
"
|
|
4634
|
+
"kind": "field",
|
|
4635
|
+
"name": "banner",
|
|
4658
4636
|
"type": {
|
|
4659
|
-
"text": "
|
|
4637
|
+
"text": "HTMLElement"
|
|
4660
4638
|
},
|
|
4661
|
-
"
|
|
4662
|
-
"fieldName": "color",
|
|
4663
|
-
"inheritedFrom": {
|
|
4664
|
-
"name": "Badge",
|
|
4665
|
-
"module": "src/badge/badge.ts"
|
|
4666
|
-
}
|
|
4639
|
+
"privacy": "public"
|
|
4667
4640
|
},
|
|
4668
|
-
{
|
|
4669
|
-
"type": {
|
|
4670
|
-
"text": "boolean"
|
|
4671
|
-
},
|
|
4672
|
-
"description": "Indicates the element should be circular",
|
|
4673
|
-
"fieldName": "circular",
|
|
4674
|
-
"inheritedFrom": {
|
|
4675
|
-
"name": "Badge",
|
|
4676
|
-
"module": "src/badge/badge.ts"
|
|
4677
|
-
}
|
|
4678
|
-
}
|
|
4679
|
-
],
|
|
4680
|
-
"members": [
|
|
4681
4641
|
{
|
|
4682
4642
|
"kind": "field",
|
|
4683
|
-
"name": "
|
|
4643
|
+
"name": "dismissAnimation",
|
|
4684
4644
|
"type": {
|
|
4685
|
-
"text": "
|
|
4645
|
+
"text": "'banner-delete' | ''"
|
|
4686
4646
|
},
|
|
4687
|
-
"
|
|
4688
|
-
"description": "Indicates the badge should have a filled style.",
|
|
4689
|
-
"inheritedFrom": {
|
|
4690
|
-
"name": "Badge",
|
|
4691
|
-
"module": "src/badge/badge.ts"
|
|
4692
|
-
}
|
|
4647
|
+
"default": "''"
|
|
4693
4648
|
},
|
|
4694
4649
|
{
|
|
4695
4650
|
"kind": "field",
|
|
4696
|
-
"name": "
|
|
4651
|
+
"name": "notification",
|
|
4697
4652
|
"type": {
|
|
4698
|
-
"text": "
|
|
4699
|
-
},
|
|
4700
|
-
"privacy": "public",
|
|
4701
|
-
"description": "Indicates the badge should have a filled style.",
|
|
4702
|
-
"inheritedFrom": {
|
|
4703
|
-
"name": "Badge",
|
|
4704
|
-
"module": "src/badge/badge.ts"
|
|
4653
|
+
"text": "NotificationStructure"
|
|
4705
4654
|
}
|
|
4706
4655
|
},
|
|
4707
4656
|
{
|
|
4708
|
-
"kind": "
|
|
4709
|
-
"name": "
|
|
4710
|
-
"type": {
|
|
4711
|
-
"text": "boolean"
|
|
4712
|
-
},
|
|
4657
|
+
"kind": "method",
|
|
4658
|
+
"name": "dismiss",
|
|
4713
4659
|
"privacy": "public",
|
|
4714
|
-
"
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
}
|
|
4660
|
+
"return": {
|
|
4661
|
+
"type": {
|
|
4662
|
+
"text": "Promise<void>"
|
|
4663
|
+
}
|
|
4664
|
+
},
|
|
4665
|
+
"description": "Dismiss the Banner from display."
|
|
4719
4666
|
},
|
|
4720
4667
|
{
|
|
4721
|
-
"kind": "
|
|
4722
|
-
"name": "
|
|
4668
|
+
"kind": "method",
|
|
4669
|
+
"name": "dismissNotification",
|
|
4723
4670
|
"privacy": "public",
|
|
4724
|
-
"
|
|
4725
|
-
"name": "Badge",
|
|
4726
|
-
"module": "src/badge/badge.ts"
|
|
4727
|
-
}
|
|
4671
|
+
"description": "Dismiss the Banner (NotificationStructure) from display."
|
|
4728
4672
|
},
|
|
4729
4673
|
{
|
|
4730
4674
|
"kind": "field",
|
|
@@ -4837,69 +4781,51 @@
|
|
|
4837
4781
|
"module": "src/foundation-element/foundation-element.ts"
|
|
4838
4782
|
}
|
|
4839
4783
|
}
|
|
4840
|
-
]
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
"name": "foundationBadgeShadowOptions",
|
|
4845
|
-
"type": {
|
|
4846
|
-
"text": "ShadowRootInit"
|
|
4847
|
-
},
|
|
4848
|
-
"default": "undefined"
|
|
4849
|
-
},
|
|
4850
|
-
{
|
|
4851
|
-
"kind": "variable",
|
|
4852
|
-
"name": "defaultBadgeConfig",
|
|
4853
|
-
"type": {
|
|
4854
|
-
"text": "object"
|
|
4784
|
+
],
|
|
4785
|
+
"superclass": {
|
|
4786
|
+
"name": "FoundationElement",
|
|
4787
|
+
"package": "@microsoft/fast-foundation"
|
|
4855
4788
|
},
|
|
4856
|
-
"
|
|
4789
|
+
"tagName": "%%prefix%%-banner",
|
|
4790
|
+
"customElement": true
|
|
4857
4791
|
},
|
|
4858
4792
|
{
|
|
4859
4793
|
"kind": "variable",
|
|
4860
|
-
"name": "
|
|
4861
|
-
"description": "The Foundation
|
|
4794
|
+
"name": "foundationBanner",
|
|
4795
|
+
"description": "The Foundation Banner",
|
|
4862
4796
|
"privacy": "public"
|
|
4863
4797
|
}
|
|
4864
4798
|
],
|
|
4865
4799
|
"exports": [
|
|
4866
4800
|
{
|
|
4867
4801
|
"kind": "js",
|
|
4868
|
-
"name": "
|
|
4869
|
-
"declaration": {
|
|
4870
|
-
"name": "Badge",
|
|
4871
|
-
"module": "src/badge/badge.ts"
|
|
4872
|
-
}
|
|
4873
|
-
},
|
|
4874
|
-
{
|
|
4875
|
-
"kind": "js",
|
|
4876
|
-
"name": "foundationBadgeShadowOptions",
|
|
4802
|
+
"name": "foundationBannerShadowOptions",
|
|
4877
4803
|
"declaration": {
|
|
4878
|
-
"name": "
|
|
4879
|
-
"module": "src/
|
|
4804
|
+
"name": "foundationBannerShadowOptions",
|
|
4805
|
+
"module": "src/banner/banner.ts"
|
|
4880
4806
|
}
|
|
4881
4807
|
},
|
|
4882
4808
|
{
|
|
4883
4809
|
"kind": "js",
|
|
4884
|
-
"name": "
|
|
4810
|
+
"name": "Banner",
|
|
4885
4811
|
"declaration": {
|
|
4886
|
-
"name": "
|
|
4887
|
-
"module": "src/
|
|
4812
|
+
"name": "Banner",
|
|
4813
|
+
"module": "src/banner/banner.ts"
|
|
4888
4814
|
}
|
|
4889
4815
|
},
|
|
4890
4816
|
{
|
|
4891
4817
|
"kind": "js",
|
|
4892
|
-
"name": "
|
|
4818
|
+
"name": "foundationBanner",
|
|
4893
4819
|
"declaration": {
|
|
4894
|
-
"name": "
|
|
4895
|
-
"module": "src/
|
|
4820
|
+
"name": "foundationBanner",
|
|
4821
|
+
"module": "src/banner/banner.ts"
|
|
4896
4822
|
}
|
|
4897
4823
|
}
|
|
4898
4824
|
]
|
|
4899
4825
|
},
|
|
4900
4826
|
{
|
|
4901
4827
|
"kind": "javascript-module",
|
|
4902
|
-
"path": "src/
|
|
4828
|
+
"path": "src/banner/index.ts",
|
|
4903
4829
|
"declarations": [],
|
|
4904
4830
|
"exports": [
|
|
4905
4831
|
{
|
|
@@ -4907,7 +4833,7 @@
|
|
|
4907
4833
|
"name": "*",
|
|
4908
4834
|
"declaration": {
|
|
4909
4835
|
"name": "*",
|
|
4910
|
-
"package": "./
|
|
4836
|
+
"package": "./banner.styles"
|
|
4911
4837
|
}
|
|
4912
4838
|
},
|
|
4913
4839
|
{
|
|
@@ -4915,7 +4841,7 @@
|
|
|
4915
4841
|
"name": "*",
|
|
4916
4842
|
"declaration": {
|
|
4917
4843
|
"name": "*",
|
|
4918
|
-
"package": "./
|
|
4844
|
+
"package": "./banner.template"
|
|
4919
4845
|
}
|
|
4920
4846
|
},
|
|
4921
4847
|
{
|
|
@@ -4923,132 +4849,188 @@
|
|
|
4923
4849
|
"name": "*",
|
|
4924
4850
|
"declaration": {
|
|
4925
4851
|
"name": "*",
|
|
4926
|
-
"package": "./
|
|
4852
|
+
"package": "./banner"
|
|
4927
4853
|
}
|
|
4928
4854
|
}
|
|
4929
4855
|
]
|
|
4930
4856
|
},
|
|
4931
4857
|
{
|
|
4932
4858
|
"kind": "javascript-module",
|
|
4933
|
-
"path": "src/
|
|
4859
|
+
"path": "src/badge/badge.styles.ts",
|
|
4934
4860
|
"declarations": [
|
|
4935
4861
|
{
|
|
4936
|
-
"kind": "
|
|
4937
|
-
"name": "
|
|
4938
|
-
"
|
|
4939
|
-
"
|
|
4862
|
+
"kind": "function",
|
|
4863
|
+
"name": "foundationBadgeStyles",
|
|
4864
|
+
"return": {
|
|
4865
|
+
"type": {
|
|
4866
|
+
"text": "ElementStyles"
|
|
4867
|
+
}
|
|
4940
4868
|
},
|
|
4941
|
-
"
|
|
4869
|
+
"parameters": [
|
|
4870
|
+
{
|
|
4871
|
+
"name": "context",
|
|
4872
|
+
"type": {
|
|
4873
|
+
"text": "ElementDefinitionContext"
|
|
4874
|
+
}
|
|
4875
|
+
},
|
|
4876
|
+
{
|
|
4877
|
+
"name": "definition",
|
|
4878
|
+
"type": {
|
|
4879
|
+
"text": "FoundationElementDefinition"
|
|
4880
|
+
}
|
|
4881
|
+
}
|
|
4882
|
+
]
|
|
4942
4883
|
}
|
|
4943
4884
|
],
|
|
4944
4885
|
"exports": [
|
|
4945
4886
|
{
|
|
4946
4887
|
"kind": "js",
|
|
4947
|
-
"name": "
|
|
4888
|
+
"name": "foundationBadgeStyles",
|
|
4948
4889
|
"declaration": {
|
|
4949
|
-
"name": "
|
|
4950
|
-
"module": "src/
|
|
4890
|
+
"name": "foundationBadgeStyles",
|
|
4891
|
+
"module": "src/badge/badge.styles.ts"
|
|
4951
4892
|
}
|
|
4952
4893
|
}
|
|
4953
4894
|
]
|
|
4954
4895
|
},
|
|
4955
4896
|
{
|
|
4956
4897
|
"kind": "javascript-module",
|
|
4957
|
-
"path": "src/
|
|
4898
|
+
"path": "src/badge/badge.template.ts",
|
|
4958
4899
|
"declarations": [
|
|
4959
4900
|
{
|
|
4960
4901
|
"kind": "function",
|
|
4961
|
-
"name": "
|
|
4902
|
+
"name": "foundationBadgeTemplate",
|
|
4903
|
+
"return": {
|
|
4904
|
+
"type": {
|
|
4905
|
+
"text": "ViewTemplate<Badge>"
|
|
4906
|
+
}
|
|
4907
|
+
},
|
|
4962
4908
|
"parameters": [
|
|
4963
4909
|
{
|
|
4964
|
-
"name": "
|
|
4910
|
+
"name": "context",
|
|
4965
4911
|
"type": {
|
|
4966
|
-
"text": "
|
|
4912
|
+
"text": "ElementDefinitionContext"
|
|
4913
|
+
}
|
|
4914
|
+
},
|
|
4915
|
+
{
|
|
4916
|
+
"name": "definition",
|
|
4917
|
+
"type": {
|
|
4918
|
+
"text": "FoundationElementDefinition"
|
|
4967
4919
|
}
|
|
4968
4920
|
}
|
|
4969
4921
|
]
|
|
4970
|
-
},
|
|
4971
|
-
{
|
|
4972
|
-
"kind": "variable",
|
|
4973
|
-
"name": "foundationBannerTemplate",
|
|
4974
|
-
"default": "html<Banner>`\n ${(x) => getBannerTemplate(getPrefix(x))}\n`"
|
|
4975
4922
|
}
|
|
4976
4923
|
],
|
|
4977
4924
|
"exports": [
|
|
4978
4925
|
{
|
|
4979
4926
|
"kind": "js",
|
|
4980
|
-
"name": "
|
|
4981
|
-
"declaration": {
|
|
4982
|
-
"name": "getBannerTemplate",
|
|
4983
|
-
"module": "src/banner/banner.template.ts"
|
|
4984
|
-
}
|
|
4985
|
-
},
|
|
4986
|
-
{
|
|
4987
|
-
"kind": "js",
|
|
4988
|
-
"name": "foundationBannerTemplate",
|
|
4927
|
+
"name": "foundationBadgeTemplate",
|
|
4989
4928
|
"declaration": {
|
|
4990
|
-
"name": "
|
|
4991
|
-
"module": "src/
|
|
4929
|
+
"name": "foundationBadgeTemplate",
|
|
4930
|
+
"module": "src/badge/badge.template.ts"
|
|
4992
4931
|
}
|
|
4993
4932
|
}
|
|
4994
4933
|
]
|
|
4995
4934
|
},
|
|
4996
4935
|
{
|
|
4997
4936
|
"kind": "javascript-module",
|
|
4998
|
-
"path": "src/
|
|
4937
|
+
"path": "src/badge/badge.ts",
|
|
4999
4938
|
"declarations": [
|
|
5000
|
-
{
|
|
5001
|
-
"kind": "variable",
|
|
5002
|
-
"name": "foundationBannerShadowOptions",
|
|
5003
|
-
"type": {
|
|
5004
|
-
"text": "ShadowRootInit"
|
|
5005
|
-
},
|
|
5006
|
-
"default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
|
|
5007
|
-
},
|
|
5008
4939
|
{
|
|
5009
4940
|
"kind": "class",
|
|
5010
4941
|
"description": "",
|
|
5011
|
-
"name": "
|
|
5012
|
-
"
|
|
4942
|
+
"name": "Badge",
|
|
4943
|
+
"superclass": {
|
|
4944
|
+
"name": "FASTBadge",
|
|
4945
|
+
"package": "@microsoft/fast-components"
|
|
4946
|
+
},
|
|
4947
|
+
"tagName": "%%prefix%%-badge",
|
|
4948
|
+
"customElement": true,
|
|
4949
|
+
"attributes": [
|
|
5013
4950
|
{
|
|
5014
|
-
"
|
|
5015
|
-
"name": "banner",
|
|
4951
|
+
"name": "fill",
|
|
5016
4952
|
"type": {
|
|
5017
|
-
"text": "
|
|
4953
|
+
"text": "string"
|
|
5018
4954
|
},
|
|
5019
|
-
"
|
|
4955
|
+
"description": "Indicates the badge should have a filled style.",
|
|
4956
|
+
"fieldName": "fill",
|
|
4957
|
+
"inheritedFrom": {
|
|
4958
|
+
"name": "Badge",
|
|
4959
|
+
"module": "src/badge/badge.ts"
|
|
4960
|
+
}
|
|
5020
4961
|
},
|
|
5021
4962
|
{
|
|
5022
|
-
"
|
|
5023
|
-
"name": "dismissAnimation",
|
|
4963
|
+
"name": "color",
|
|
5024
4964
|
"type": {
|
|
5025
|
-
"text": "
|
|
4965
|
+
"text": "string"
|
|
5026
4966
|
},
|
|
5027
|
-
"
|
|
4967
|
+
"description": "Indicates the badge should have a filled style.",
|
|
4968
|
+
"fieldName": "color",
|
|
4969
|
+
"inheritedFrom": {
|
|
4970
|
+
"name": "Badge",
|
|
4971
|
+
"module": "src/badge/badge.ts"
|
|
4972
|
+
}
|
|
5028
4973
|
},
|
|
4974
|
+
{
|
|
4975
|
+
"type": {
|
|
4976
|
+
"text": "boolean"
|
|
4977
|
+
},
|
|
4978
|
+
"description": "Indicates the element should be circular",
|
|
4979
|
+
"fieldName": "circular",
|
|
4980
|
+
"inheritedFrom": {
|
|
4981
|
+
"name": "Badge",
|
|
4982
|
+
"module": "src/badge/badge.ts"
|
|
4983
|
+
}
|
|
4984
|
+
}
|
|
4985
|
+
],
|
|
4986
|
+
"members": [
|
|
5029
4987
|
{
|
|
5030
4988
|
"kind": "field",
|
|
5031
|
-
"name": "
|
|
4989
|
+
"name": "fill",
|
|
5032
4990
|
"type": {
|
|
5033
|
-
"text": "
|
|
4991
|
+
"text": "string"
|
|
4992
|
+
},
|
|
4993
|
+
"privacy": "public",
|
|
4994
|
+
"description": "Indicates the badge should have a filled style.",
|
|
4995
|
+
"inheritedFrom": {
|
|
4996
|
+
"name": "Badge",
|
|
4997
|
+
"module": "src/badge/badge.ts"
|
|
5034
4998
|
}
|
|
5035
4999
|
},
|
|
5036
5000
|
{
|
|
5037
|
-
"kind": "
|
|
5038
|
-
"name": "
|
|
5001
|
+
"kind": "field",
|
|
5002
|
+
"name": "color",
|
|
5003
|
+
"type": {
|
|
5004
|
+
"text": "string"
|
|
5005
|
+
},
|
|
5039
5006
|
"privacy": "public",
|
|
5040
|
-
"
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5007
|
+
"description": "Indicates the badge should have a filled style.",
|
|
5008
|
+
"inheritedFrom": {
|
|
5009
|
+
"name": "Badge",
|
|
5010
|
+
"module": "src/badge/badge.ts"
|
|
5011
|
+
}
|
|
5012
|
+
},
|
|
5013
|
+
{
|
|
5014
|
+
"kind": "field",
|
|
5015
|
+
"name": "circular",
|
|
5016
|
+
"type": {
|
|
5017
|
+
"text": "boolean"
|
|
5044
5018
|
},
|
|
5045
|
-
"
|
|
5019
|
+
"privacy": "public",
|
|
5020
|
+
"description": "Indicates the element should be circular",
|
|
5021
|
+
"inheritedFrom": {
|
|
5022
|
+
"name": "Badge",
|
|
5023
|
+
"module": "src/badge/badge.ts"
|
|
5024
|
+
}
|
|
5046
5025
|
},
|
|
5047
5026
|
{
|
|
5048
|
-
"kind": "
|
|
5049
|
-
"name": "
|
|
5027
|
+
"kind": "field",
|
|
5028
|
+
"name": "generateBadgeStyle",
|
|
5050
5029
|
"privacy": "public",
|
|
5051
|
-
"
|
|
5030
|
+
"inheritedFrom": {
|
|
5031
|
+
"name": "Badge",
|
|
5032
|
+
"module": "src/badge/badge.ts"
|
|
5033
|
+
}
|
|
5052
5034
|
},
|
|
5053
5035
|
{
|
|
5054
5036
|
"kind": "field",
|
|
@@ -5161,51 +5143,69 @@
|
|
|
5161
5143
|
"module": "src/foundation-element/foundation-element.ts"
|
|
5162
5144
|
}
|
|
5163
5145
|
}
|
|
5164
|
-
]
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5146
|
+
]
|
|
5147
|
+
},
|
|
5148
|
+
{
|
|
5149
|
+
"kind": "variable",
|
|
5150
|
+
"name": "foundationBadgeShadowOptions",
|
|
5151
|
+
"type": {
|
|
5152
|
+
"text": "ShadowRootInit"
|
|
5168
5153
|
},
|
|
5169
|
-
"
|
|
5170
|
-
"customElement": true
|
|
5154
|
+
"default": "undefined"
|
|
5171
5155
|
},
|
|
5172
5156
|
{
|
|
5173
5157
|
"kind": "variable",
|
|
5174
|
-
"name": "
|
|
5175
|
-
"
|
|
5158
|
+
"name": "defaultBadgeConfig",
|
|
5159
|
+
"type": {
|
|
5160
|
+
"text": "object"
|
|
5161
|
+
},
|
|
5162
|
+
"default": "{}"
|
|
5163
|
+
},
|
|
5164
|
+
{
|
|
5165
|
+
"kind": "variable",
|
|
5166
|
+
"name": "foundationBadge",
|
|
5167
|
+
"description": "The Foundation Badge",
|
|
5176
5168
|
"privacy": "public"
|
|
5177
5169
|
}
|
|
5178
5170
|
],
|
|
5179
5171
|
"exports": [
|
|
5180
5172
|
{
|
|
5181
5173
|
"kind": "js",
|
|
5182
|
-
"name": "
|
|
5174
|
+
"name": "Badge",
|
|
5183
5175
|
"declaration": {
|
|
5184
|
-
"name": "
|
|
5185
|
-
"module": "src/
|
|
5176
|
+
"name": "Badge",
|
|
5177
|
+
"module": "src/badge/badge.ts"
|
|
5186
5178
|
}
|
|
5187
5179
|
},
|
|
5188
5180
|
{
|
|
5189
5181
|
"kind": "js",
|
|
5190
|
-
"name": "
|
|
5182
|
+
"name": "foundationBadgeShadowOptions",
|
|
5191
5183
|
"declaration": {
|
|
5192
|
-
"name": "
|
|
5193
|
-
"module": "src/
|
|
5184
|
+
"name": "foundationBadgeShadowOptions",
|
|
5185
|
+
"module": "src/badge/badge.ts"
|
|
5194
5186
|
}
|
|
5195
5187
|
},
|
|
5196
5188
|
{
|
|
5197
5189
|
"kind": "js",
|
|
5198
|
-
"name": "
|
|
5190
|
+
"name": "defaultBadgeConfig",
|
|
5199
5191
|
"declaration": {
|
|
5200
|
-
"name": "
|
|
5201
|
-
"module": "src/
|
|
5192
|
+
"name": "defaultBadgeConfig",
|
|
5193
|
+
"module": "src/badge/badge.ts"
|
|
5194
|
+
}
|
|
5195
|
+
},
|
|
5196
|
+
{
|
|
5197
|
+
"kind": "js",
|
|
5198
|
+
"name": "foundationBadge",
|
|
5199
|
+
"declaration": {
|
|
5200
|
+
"name": "foundationBadge",
|
|
5201
|
+
"module": "src/badge/badge.ts"
|
|
5202
5202
|
}
|
|
5203
5203
|
}
|
|
5204
5204
|
]
|
|
5205
5205
|
},
|
|
5206
5206
|
{
|
|
5207
5207
|
"kind": "javascript-module",
|
|
5208
|
-
"path": "src/
|
|
5208
|
+
"path": "src/badge/index.ts",
|
|
5209
5209
|
"declarations": [],
|
|
5210
5210
|
"exports": [
|
|
5211
5211
|
{
|
|
@@ -5213,7 +5213,7 @@
|
|
|
5213
5213
|
"name": "*",
|
|
5214
5214
|
"declaration": {
|
|
5215
5215
|
"name": "*",
|
|
5216
|
-
"package": "./
|
|
5216
|
+
"package": "./badge.template"
|
|
5217
5217
|
}
|
|
5218
5218
|
},
|
|
5219
5219
|
{
|
|
@@ -5221,7 +5221,7 @@
|
|
|
5221
5221
|
"name": "*",
|
|
5222
5222
|
"declaration": {
|
|
5223
5223
|
"name": "*",
|
|
5224
|
-
"package": "./
|
|
5224
|
+
"package": "./badge.styles"
|
|
5225
5225
|
}
|
|
5226
5226
|
},
|
|
5227
5227
|
{
|
|
@@ -5229,7 +5229,7 @@
|
|
|
5229
5229
|
"name": "*",
|
|
5230
5230
|
"declaration": {
|
|
5231
5231
|
"name": "*",
|
|
5232
|
-
"package": "./
|
|
5232
|
+
"package": "./badge"
|
|
5233
5233
|
}
|
|
5234
5234
|
}
|
|
5235
5235
|
]
|