@genesislcap/foundation-ui 14.408.0 → 14.409.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +596 -596
  2. package/package.json +19 -19
@@ -926,159 +926,185 @@
926
926
  },
927
927
  {
928
928
  "kind": "javascript-module",
929
- "path": "src/_common/base-file-component.ts",
929
+ "path": "src/accordion-item/accordion-item.styles.ts",
930
930
  "declarations": [
931
931
  {
932
- "kind": "class",
933
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
934
- "name": "BaseFileComponent",
935
- "members": [
932
+ "kind": "function",
933
+ "name": "foundationAccordionItemStyles",
934
+ "return": {
935
+ "type": {
936
+ "text": "ElementStyles"
937
+ }
938
+ },
939
+ "parameters": [
936
940
  {
937
- "kind": "field",
938
- "name": "fileInput",
941
+ "name": "context",
939
942
  "type": {
940
- "text": "HTMLInputElement"
941
- },
942
- "privacy": "public"
943
+ "text": "ElementDefinitionContext"
944
+ }
943
945
  },
944
946
  {
945
- "kind": "field",
946
- "name": "selectedFile",
947
+ "name": "definition",
947
948
  "type": {
948
- "text": "File | null"
949
- },
950
- "privacy": "protected",
951
- "default": "null"
952
- },
949
+ "text": "FoundationElementDefinition"
950
+ }
951
+ }
952
+ ]
953
+ }
954
+ ],
955
+ "exports": [
956
+ {
957
+ "kind": "js",
958
+ "name": "foundationAccordionItemStyles",
959
+ "declaration": {
960
+ "name": "foundationAccordionItemStyles",
961
+ "module": "src/accordion-item/accordion-item.styles.ts"
962
+ }
963
+ }
964
+ ]
965
+ },
966
+ {
967
+ "kind": "javascript-module",
968
+ "path": "src/accordion-item/accordion-item.template.ts",
969
+ "declarations": [
970
+ {
971
+ "kind": "function",
972
+ "name": "foundationAccordionItemTemplate",
973
+ "return": {
974
+ "type": {
975
+ "text": "ViewTemplate<AccordionItem>"
976
+ }
977
+ },
978
+ "parameters": [
953
979
  {
954
- "kind": "field",
955
- "name": "label",
980
+ "name": "context",
956
981
  "type": {
957
- "text": "string"
982
+ "text": "ElementDefinitionContext"
958
983
  }
959
984
  },
960
985
  {
961
- "kind": "field",
962
- "name": "accept",
986
+ "name": "definition",
963
987
  "type": {
964
- "text": "string"
988
+ "text": "FoundationElementDefinition"
989
+ }
990
+ }
991
+ ]
992
+ }
993
+ ],
994
+ "exports": [
995
+ {
996
+ "kind": "js",
997
+ "name": "foundationAccordionItemTemplate",
998
+ "declaration": {
999
+ "name": "foundationAccordionItemTemplate",
1000
+ "module": "src/accordion-item/accordion-item.template.ts"
1001
+ }
1002
+ }
1003
+ ]
1004
+ },
1005
+ {
1006
+ "kind": "javascript-module",
1007
+ "path": "src/accordion-item/accordion-item.ts",
1008
+ "declarations": [
1009
+ {
1010
+ "kind": "class",
1011
+ "description": "",
1012
+ "name": "AccordionItem",
1013
+ "superclass": {
1014
+ "name": "FASTAccordionItem",
1015
+ "package": "@microsoft/fast-components"
1016
+ },
1017
+ "tagName": "%%prefix%%-accordion-item",
1018
+ "customElement": true,
1019
+ "attributes": [
1020
+ {
1021
+ "name": "heading-level",
1022
+ "type": {
1023
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
965
1024
  },
966
- "default": "''"
1025
+ "default": "2",
1026
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1027
+ "fieldName": "headinglevel",
1028
+ "inheritedFrom": {
1029
+ "name": "AccordionItem",
1030
+ "module": "src/accordion-item/accordion-item.ts"
1031
+ }
967
1032
  },
968
1033
  {
969
- "kind": "field",
970
- "name": "fileSizeLimitBytes",
971
- "default": "10_485_760",
972
1034
  "type": {
973
- "text": "number"
1035
+ "text": "boolean"
1036
+ },
1037
+ "default": "false",
1038
+ "description": "Expands or collapses the item.",
1039
+ "fieldName": "expanded",
1040
+ "inheritedFrom": {
1041
+ "name": "AccordionItem",
1042
+ "module": "src/accordion-item/accordion-item.ts"
974
1043
  }
975
1044
  },
976
1045
  {
977
- "kind": "field",
978
- "name": "fileName",
1046
+ "name": "id",
979
1047
  "type": {
980
1048
  "text": "string"
981
1049
  },
982
- "default": "''"
983
- },
1050
+ "description": "The item ID",
1051
+ "fieldName": "id",
1052
+ "inheritedFrom": {
1053
+ "name": "AccordionItem",
1054
+ "module": "src/accordion-item/accordion-item.ts"
1055
+ }
1056
+ }
1057
+ ],
1058
+ "members": [
984
1059
  {
985
1060
  "kind": "field",
986
- "name": "isProcessing",
1061
+ "name": "headinglevel",
987
1062
  "type": {
988
- "text": "boolean"
1063
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
989
1064
  },
990
- "default": "false"
991
- },
992
- {
993
- "kind": "method",
994
- "name": "handleClick",
995
- "privacy": "public",
996
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
997
- },
998
- {
999
- "kind": "method",
1000
- "name": "onInputChange",
1001
- "privacy": "public",
1002
- "parameters": [
1003
- {
1004
- "name": "e",
1005
- "type": {
1006
- "text": "Event"
1007
- },
1008
- "description": "The change event from the file input"
1009
- }
1010
- ],
1011
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1012
- },
1013
- {
1014
- "kind": "method",
1015
- "name": "clearSelection",
1016
1065
  "privacy": "public",
1017
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
1066
+ "default": "2",
1067
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1068
+ "inheritedFrom": {
1069
+ "name": "AccordionItem",
1070
+ "module": "src/accordion-item/accordion-item.ts"
1071
+ }
1018
1072
  },
1019
1073
  {
1020
- "kind": "method",
1021
- "name": "getSelectedFile",
1074
+ "kind": "field",
1075
+ "name": "expanded",
1076
+ "type": {
1077
+ "text": "boolean"
1078
+ },
1022
1079
  "privacy": "public",
1023
- "description": "Gets the currently selected file object",
1024
- "return": {
1025
- "type": {
1026
- "text": ""
1027
- }
1080
+ "default": "false",
1081
+ "description": "Expands or collapses the item.",
1082
+ "inheritedFrom": {
1083
+ "name": "AccordionItem",
1084
+ "module": "src/accordion-item/accordion-item.ts"
1028
1085
  }
1029
1086
  },
1030
1087
  {
1031
- "kind": "method",
1032
- "name": "showError",
1033
- "privacy": "protected",
1034
- "parameters": [
1035
- {
1036
- "name": "title",
1037
- "type": {
1038
- "text": "string"
1039
- },
1040
- "description": "The error title"
1041
- },
1042
- {
1043
- "name": "message",
1044
- "type": {
1045
- "text": "string"
1046
- },
1047
- "description": "The error message"
1048
- }
1049
- ],
1050
- "description": "Shows an error notification using the unified error handling system"
1051
- },
1052
- {
1053
- "kind": "method",
1054
- "name": "onFileSelected",
1055
- "privacy": "protected",
1056
- "return": {
1057
- "type": {
1058
- "text": "void"
1059
- }
1088
+ "kind": "field",
1089
+ "name": "id",
1090
+ "type": {
1091
+ "text": "string"
1060
1092
  },
1061
- "parameters": [
1062
- {
1063
- "name": "files",
1064
- "type": {
1065
- "text": "File[]"
1066
- },
1067
- "description": "The selected file"
1068
- }
1069
- ],
1070
- "description": "Abstract method called when a file is selected"
1093
+ "privacy": "public",
1094
+ "description": "The item ID",
1095
+ "inheritedFrom": {
1096
+ "name": "AccordionItem",
1097
+ "module": "src/accordion-item/accordion-item.ts"
1098
+ }
1071
1099
  },
1072
1100
  {
1073
- "kind": "method",
1074
- "name": "onFileCleared",
1075
- "privacy": "protected",
1076
- "return": {
1077
- "type": {
1078
- "text": "void"
1079
- }
1080
- },
1081
- "description": "Abstract method called when file selection is cleared"
1101
+ "kind": "field",
1102
+ "name": "change",
1103
+ "privacy": "private",
1104
+ "inheritedFrom": {
1105
+ "name": "AccordionItem",
1106
+ "module": "src/accordion-item/accordion-item.ts"
1107
+ }
1082
1108
  },
1083
1109
  {
1084
1110
  "kind": "field",
@@ -1192,104 +1218,78 @@
1192
1218
  }
1193
1219
  }
1194
1220
  ],
1195
- "attributes": [
1196
- {
1197
- "name": "label",
1198
- "type": {
1199
- "text": "string"
1200
- },
1201
- "fieldName": "label"
1202
- },
1203
- {
1204
- "name": "accept",
1205
- "type": {
1206
- "text": "string"
1207
- },
1208
- "default": "''",
1209
- "fieldName": "accept"
1210
- },
1221
+ "events": [
1211
1222
  {
1212
- "name": "file-size-limit-bytes",
1213
- "default": "DEFAULT_FILE_SIZE_LIMIT",
1214
- "resolveInitializer": {
1215
- "module": "src/_common/base-file-component.ts"
1216
- },
1217
- "fieldName": "fileSizeLimitBytes"
1223
+ "description": "Fires a custom 'change' event when the button is invoked",
1224
+ "name": "change",
1225
+ "inheritedFrom": {
1226
+ "name": "AccordionItem",
1227
+ "module": "src/accordion-item/accordion-item.ts"
1228
+ }
1218
1229
  }
1219
- ],
1220
- "superclass": {
1221
- "name": "FoundationElement",
1222
- "package": "@microsoft/fast-foundation"
1223
- }
1230
+ ]
1231
+ },
1232
+ {
1233
+ "kind": "variable",
1234
+ "name": "foundationAccordionItemShadowOptions",
1235
+ "type": {
1236
+ "text": "ShadowRootInit"
1237
+ },
1238
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1239
+ },
1240
+ {
1241
+ "kind": "variable",
1242
+ "name": "defaultAccordionItemConfig",
1243
+ "type": {
1244
+ "text": "object"
1245
+ },
1246
+ "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}"
1247
+ },
1248
+ {
1249
+ "kind": "variable",
1250
+ "name": "foundationAccordionItem",
1251
+ "description": "The Foundation Accordion Item",
1252
+ "privacy": "public"
1224
1253
  }
1225
1254
  ],
1226
1255
  "exports": [
1227
1256
  {
1228
1257
  "kind": "js",
1229
- "name": "BaseFileComponent",
1258
+ "name": "AccordionItem",
1230
1259
  "declaration": {
1231
- "name": "BaseFileComponent",
1232
- "module": "src/_common/base-file-component.ts"
1260
+ "name": "AccordionItem",
1261
+ "module": "src/accordion-item/accordion-item.ts"
1233
1262
  }
1234
- }
1235
- ]
1236
- },
1237
- {
1238
- "kind": "javascript-module",
1239
- "path": "src/_common/icons.ts",
1240
- "declarations": [
1241
- {
1242
- "kind": "function",
1243
- "name": "closeIcon",
1244
- "parameters": [
1245
- {
1246
- "name": "slot",
1247
- "default": "'start'"
1248
- },
1249
- {
1250
- "name": "fill",
1251
- "default": "'#879ba6'"
1252
- }
1253
- ]
1254
- }
1255
- ],
1256
- "exports": [
1263
+ },
1257
1264
  {
1258
1265
  "kind": "js",
1259
- "name": "closeIcon",
1266
+ "name": "foundationAccordionItemShadowOptions",
1260
1267
  "declaration": {
1261
- "name": "closeIcon",
1262
- "module": "src/_common/icons.ts"
1268
+ "name": "foundationAccordionItemShadowOptions",
1269
+ "module": "src/accordion-item/accordion-item.ts"
1263
1270
  }
1264
- }
1265
- ]
1266
- },
1267
- {
1268
- "kind": "javascript-module",
1269
- "path": "src/_common/index.ts",
1270
- "declarations": [],
1271
- "exports": [
1271
+ },
1272
1272
  {
1273
1273
  "kind": "js",
1274
- "name": "*",
1274
+ "name": "defaultAccordionItemConfig",
1275
1275
  "declaration": {
1276
- "name": "*",
1277
- "package": "./base-file-component"
1276
+ "name": "defaultAccordionItemConfig",
1277
+ "module": "src/accordion-item/accordion-item.ts"
1278
1278
  }
1279
1279
  },
1280
1280
  {
1281
1281
  "kind": "js",
1282
- "name": "*",
1282
+ "name": "foundationAccordionItem",
1283
1283
  "declaration": {
1284
- "name": "*",
1285
- "package": "./icons"
1284
+ "name": "foundationAccordionItem",
1285
+ "module": "src/accordion-item/accordion-item.ts"
1286
1286
  }
1287
1287
  }
1288
1288
  ]
1289
1289
  },
1290
1290
  {
1291
1291
  "kind": "javascript-module",
1292
- "path": "src/_config/index.ts",
1292
+ "path": "src/accordion-item/index.ts",
1293
1293
  "declarations": [],
1294
1294
  "exports": [
1295
1295
  {
@@ -1297,209 +1297,183 @@
1297
1297
  "name": "*",
1298
1298
  "declaration": {
1299
1299
  "name": "*",
1300
- "package": "./styles"
1301
- }
1302
- },
1303
- {
1304
- "kind": "js",
1305
- "name": "*",
1306
- "declaration": {
1307
- "name": "*",
1308
- "package": "./tokens"
1309
- }
1310
- },
1311
- {
1312
- "kind": "js",
1313
- "name": "*",
1314
- "declaration": {
1315
- "name": "*",
1316
- "package": "./values"
1317
- }
1318
- }
1319
- ]
1320
- },
1321
- {
1322
- "kind": "javascript-module",
1323
- "path": "src/accordion-item/accordion-item.styles.ts",
1324
- "declarations": [
1325
- {
1326
- "kind": "function",
1327
- "name": "foundationAccordionItemStyles",
1328
- "return": {
1329
- "type": {
1330
- "text": "ElementStyles"
1331
- }
1332
- },
1333
- "parameters": [
1334
- {
1335
- "name": "context",
1336
- "type": {
1337
- "text": "ElementDefinitionContext"
1338
- }
1339
- },
1340
- {
1341
- "name": "definition",
1342
- "type": {
1343
- "text": "FoundationElementDefinition"
1344
- }
1345
- }
1346
- ]
1347
- }
1348
- ],
1349
- "exports": [
1300
+ "package": "./accordion-item.template"
1301
+ }
1302
+ },
1350
1303
  {
1351
1304
  "kind": "js",
1352
- "name": "foundationAccordionItemStyles",
1305
+ "name": "*",
1353
1306
  "declaration": {
1354
- "name": "foundationAccordionItemStyles",
1355
- "module": "src/accordion-item/accordion-item.styles.ts"
1307
+ "name": "*",
1308
+ "package": "./accordion-item.styles"
1356
1309
  }
1357
- }
1358
- ]
1359
- },
1360
- {
1361
- "kind": "javascript-module",
1362
- "path": "src/accordion-item/accordion-item.template.ts",
1363
- "declarations": [
1364
- {
1365
- "kind": "function",
1366
- "name": "foundationAccordionItemTemplate",
1367
- "return": {
1368
- "type": {
1369
- "text": "ViewTemplate<AccordionItem>"
1370
- }
1371
- },
1372
- "parameters": [
1373
- {
1374
- "name": "context",
1375
- "type": {
1376
- "text": "ElementDefinitionContext"
1377
- }
1378
- },
1379
- {
1380
- "name": "definition",
1381
- "type": {
1382
- "text": "FoundationElementDefinition"
1383
- }
1384
- }
1385
- ]
1386
- }
1387
- ],
1388
- "exports": [
1310
+ },
1389
1311
  {
1390
1312
  "kind": "js",
1391
- "name": "foundationAccordionItemTemplate",
1313
+ "name": "*",
1392
1314
  "declaration": {
1393
- "name": "foundationAccordionItemTemplate",
1394
- "module": "src/accordion-item/accordion-item.template.ts"
1315
+ "name": "*",
1316
+ "package": "./accordion-item"
1395
1317
  }
1396
1318
  }
1397
1319
  ]
1398
1320
  },
1399
1321
  {
1400
1322
  "kind": "javascript-module",
1401
- "path": "src/accordion-item/accordion-item.ts",
1323
+ "path": "src/_common/base-file-component.ts",
1402
1324
  "declarations": [
1403
1325
  {
1404
1326
  "kind": "class",
1405
- "description": "",
1406
- "name": "AccordionItem",
1407
- "superclass": {
1408
- "name": "FASTAccordionItem",
1409
- "package": "@microsoft/fast-components"
1410
- },
1411
- "tagName": "%%prefix%%-accordion-item",
1412
- "customElement": true,
1413
- "attributes": [
1327
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1328
+ "name": "BaseFileComponent",
1329
+ "members": [
1414
1330
  {
1415
- "name": "heading-level",
1331
+ "kind": "field",
1332
+ "name": "fileInput",
1416
1333
  "type": {
1417
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1334
+ "text": "HTMLInputElement"
1418
1335
  },
1419
- "default": "2",
1420
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1421
- "fieldName": "headinglevel",
1422
- "inheritedFrom": {
1423
- "name": "AccordionItem",
1424
- "module": "src/accordion-item/accordion-item.ts"
1425
- }
1336
+ "privacy": "public"
1426
1337
  },
1427
1338
  {
1339
+ "kind": "field",
1340
+ "name": "selectedFile",
1428
1341
  "type": {
1429
- "text": "boolean"
1342
+ "text": "File | null"
1430
1343
  },
1431
- "default": "false",
1432
- "description": "Expands or collapses the item.",
1433
- "fieldName": "expanded",
1434
- "inheritedFrom": {
1435
- "name": "AccordionItem",
1436
- "module": "src/accordion-item/accordion-item.ts"
1437
- }
1344
+ "privacy": "protected",
1345
+ "default": "null"
1438
1346
  },
1439
1347
  {
1440
- "name": "id",
1348
+ "kind": "field",
1349
+ "name": "label",
1441
1350
  "type": {
1442
1351
  "text": "string"
1443
- },
1444
- "description": "The item ID",
1445
- "fieldName": "id",
1446
- "inheritedFrom": {
1447
- "name": "AccordionItem",
1448
- "module": "src/accordion-item/accordion-item.ts"
1449
1352
  }
1450
- }
1451
- ],
1452
- "members": [
1353
+ },
1453
1354
  {
1454
1355
  "kind": "field",
1455
- "name": "headinglevel",
1356
+ "name": "accept",
1456
1357
  "type": {
1457
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1358
+ "text": "string"
1458
1359
  },
1459
- "privacy": "public",
1460
- "default": "2",
1461
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1462
- "inheritedFrom": {
1463
- "name": "AccordionItem",
1464
- "module": "src/accordion-item/accordion-item.ts"
1465
- }
1360
+ "default": "''"
1466
1361
  },
1467
1362
  {
1468
1363
  "kind": "field",
1469
- "name": "expanded",
1364
+ "name": "fileSizeLimitBytes",
1365
+ "default": "10_485_760",
1470
1366
  "type": {
1471
- "text": "boolean"
1472
- },
1473
- "privacy": "public",
1474
- "default": "false",
1475
- "description": "Expands or collapses the item.",
1476
- "inheritedFrom": {
1477
- "name": "AccordionItem",
1478
- "module": "src/accordion-item/accordion-item.ts"
1367
+ "text": "number"
1479
1368
  }
1480
1369
  },
1481
1370
  {
1482
1371
  "kind": "field",
1483
- "name": "id",
1372
+ "name": "fileName",
1484
1373
  "type": {
1485
1374
  "text": "string"
1486
1375
  },
1487
- "privacy": "public",
1488
- "description": "The item ID",
1489
- "inheritedFrom": {
1490
- "name": "AccordionItem",
1491
- "module": "src/accordion-item/accordion-item.ts"
1492
- }
1376
+ "default": "''"
1493
1377
  },
1494
1378
  {
1495
1379
  "kind": "field",
1496
- "name": "change",
1497
- "privacy": "private",
1498
- "inheritedFrom": {
1499
- "name": "AccordionItem",
1500
- "module": "src/accordion-item/accordion-item.ts"
1380
+ "name": "isProcessing",
1381
+ "type": {
1382
+ "text": "boolean"
1383
+ },
1384
+ "default": "false"
1385
+ },
1386
+ {
1387
+ "kind": "method",
1388
+ "name": "handleClick",
1389
+ "privacy": "public",
1390
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1391
+ },
1392
+ {
1393
+ "kind": "method",
1394
+ "name": "onInputChange",
1395
+ "privacy": "public",
1396
+ "parameters": [
1397
+ {
1398
+ "name": "e",
1399
+ "type": {
1400
+ "text": "Event"
1401
+ },
1402
+ "description": "The change event from the file input"
1403
+ }
1404
+ ],
1405
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1406
+ },
1407
+ {
1408
+ "kind": "method",
1409
+ "name": "clearSelection",
1410
+ "privacy": "public",
1411
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1412
+ },
1413
+ {
1414
+ "kind": "method",
1415
+ "name": "getSelectedFile",
1416
+ "privacy": "public",
1417
+ "description": "Gets the currently selected file object",
1418
+ "return": {
1419
+ "type": {
1420
+ "text": ""
1421
+ }
1501
1422
  }
1502
1423
  },
1424
+ {
1425
+ "kind": "method",
1426
+ "name": "showError",
1427
+ "privacy": "protected",
1428
+ "parameters": [
1429
+ {
1430
+ "name": "title",
1431
+ "type": {
1432
+ "text": "string"
1433
+ },
1434
+ "description": "The error title"
1435
+ },
1436
+ {
1437
+ "name": "message",
1438
+ "type": {
1439
+ "text": "string"
1440
+ },
1441
+ "description": "The error message"
1442
+ }
1443
+ ],
1444
+ "description": "Shows an error notification using the unified error handling system"
1445
+ },
1446
+ {
1447
+ "kind": "method",
1448
+ "name": "onFileSelected",
1449
+ "privacy": "protected",
1450
+ "return": {
1451
+ "type": {
1452
+ "text": "void"
1453
+ }
1454
+ },
1455
+ "parameters": [
1456
+ {
1457
+ "name": "files",
1458
+ "type": {
1459
+ "text": "File[]"
1460
+ },
1461
+ "description": "The selected file"
1462
+ }
1463
+ ],
1464
+ "description": "Abstract method called when a file is selected"
1465
+ },
1466
+ {
1467
+ "kind": "method",
1468
+ "name": "onFileCleared",
1469
+ "privacy": "protected",
1470
+ "return": {
1471
+ "type": {
1472
+ "text": "void"
1473
+ }
1474
+ },
1475
+ "description": "Abstract method called when file selection is cleared"
1476
+ },
1503
1477
  {
1504
1478
  "kind": "field",
1505
1479
  "name": "_presentation",
@@ -1612,78 +1586,81 @@
1612
1586
  }
1613
1587
  }
1614
1588
  ],
1615
- "events": [
1616
- {
1617
- "description": "Fires a custom 'change' event when the button is invoked",
1618
- "name": "change",
1619
- "inheritedFrom": {
1620
- "name": "AccordionItem",
1621
- "module": "src/accordion-item/accordion-item.ts"
1622
- }
1623
- }
1624
- ]
1625
- },
1626
- {
1627
- "kind": "variable",
1628
- "name": "foundationAccordionItemShadowOptions",
1629
- "type": {
1630
- "text": "ShadowRootInit"
1631
- },
1632
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1633
- },
1634
- {
1635
- "kind": "variable",
1636
- "name": "defaultAccordionItemConfig",
1637
- "type": {
1638
- "text": "object"
1639
- },
1640
- "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}"
1641
- },
1642
- {
1643
- "kind": "variable",
1644
- "name": "foundationAccordionItem",
1645
- "description": "The Foundation Accordion Item",
1646
- "privacy": "public"
1589
+ "attributes": [
1590
+ {
1591
+ "name": "label",
1592
+ "type": {
1593
+ "text": "string"
1594
+ },
1595
+ "fieldName": "label"
1596
+ },
1597
+ {
1598
+ "name": "accept",
1599
+ "type": {
1600
+ "text": "string"
1601
+ },
1602
+ "default": "''",
1603
+ "fieldName": "accept"
1604
+ },
1605
+ {
1606
+ "name": "file-size-limit-bytes",
1607
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1608
+ "resolveInitializer": {
1609
+ "module": "src/_common/base-file-component.ts"
1610
+ },
1611
+ "fieldName": "fileSizeLimitBytes"
1612
+ }
1613
+ ],
1614
+ "superclass": {
1615
+ "name": "FoundationElement",
1616
+ "package": "@microsoft/fast-foundation"
1617
+ }
1647
1618
  }
1648
1619
  ],
1649
1620
  "exports": [
1650
1621
  {
1651
1622
  "kind": "js",
1652
- "name": "AccordionItem",
1653
- "declaration": {
1654
- "name": "AccordionItem",
1655
- "module": "src/accordion-item/accordion-item.ts"
1656
- }
1657
- },
1658
- {
1659
- "kind": "js",
1660
- "name": "foundationAccordionItemShadowOptions",
1623
+ "name": "BaseFileComponent",
1661
1624
  "declaration": {
1662
- "name": "foundationAccordionItemShadowOptions",
1663
- "module": "src/accordion-item/accordion-item.ts"
1625
+ "name": "BaseFileComponent",
1626
+ "module": "src/_common/base-file-component.ts"
1664
1627
  }
1665
- },
1628
+ }
1629
+ ]
1630
+ },
1631
+ {
1632
+ "kind": "javascript-module",
1633
+ "path": "src/_common/icons.ts",
1634
+ "declarations": [
1666
1635
  {
1667
- "kind": "js",
1668
- "name": "defaultAccordionItemConfig",
1669
- "declaration": {
1670
- "name": "defaultAccordionItemConfig",
1671
- "module": "src/accordion-item/accordion-item.ts"
1672
- }
1673
- },
1636
+ "kind": "function",
1637
+ "name": "closeIcon",
1638
+ "parameters": [
1639
+ {
1640
+ "name": "slot",
1641
+ "default": "'start'"
1642
+ },
1643
+ {
1644
+ "name": "fill",
1645
+ "default": "'#879ba6'"
1646
+ }
1647
+ ]
1648
+ }
1649
+ ],
1650
+ "exports": [
1674
1651
  {
1675
1652
  "kind": "js",
1676
- "name": "foundationAccordionItem",
1653
+ "name": "closeIcon",
1677
1654
  "declaration": {
1678
- "name": "foundationAccordionItem",
1679
- "module": "src/accordion-item/accordion-item.ts"
1655
+ "name": "closeIcon",
1656
+ "module": "src/_common/icons.ts"
1680
1657
  }
1681
1658
  }
1682
1659
  ]
1683
1660
  },
1684
1661
  {
1685
1662
  "kind": "javascript-module",
1686
- "path": "src/accordion-item/index.ts",
1663
+ "path": "src/_common/index.ts",
1687
1664
  "declarations": [],
1688
1665
  "exports": [
1689
1666
  {
@@ -1691,15 +1668,7 @@
1691
1668
  "name": "*",
1692
1669
  "declaration": {
1693
1670
  "name": "*",
1694
- "package": "./accordion-item.template"
1695
- }
1696
- },
1697
- {
1698
- "kind": "js",
1699
- "name": "*",
1700
- "declaration": {
1701
- "name": "*",
1702
- "package": "./accordion-item.styles"
1671
+ "package": "./base-file-component"
1703
1672
  }
1704
1673
  },
1705
1674
  {
@@ -1707,7 +1676,7 @@
1707
1676
  "name": "*",
1708
1677
  "declaration": {
1709
1678
  "name": "*",
1710
- "package": "./accordion-item"
1679
+ "package": "./icons"
1711
1680
  }
1712
1681
  }
1713
1682
  ]
@@ -2204,227 +2173,76 @@
2204
2173
  "text": "boolean"
2205
2174
  },
2206
2175
  "default": "false",
2207
- "fieldName": "hideMenuSingleOption"
2208
- }
2209
- ],
2210
- "superclass": {
2211
- "name": "FoundationElement",
2212
- "package": "@microsoft/fast-foundation"
2213
- },
2214
- "tagName": "%%prefix%%-actions-menu",
2215
- "customElement": true
2216
- },
2217
- {
2218
- "kind": "variable",
2219
- "name": "foundationActionsMenu",
2220
- "description": "The Foundation Actions Menu",
2221
- "privacy": "public"
2222
- }
2223
- ],
2224
- "exports": [
2225
- {
2226
- "kind": "js",
2227
- "name": "ActionsMenu",
2228
- "declaration": {
2229
- "name": "ActionsMenu",
2230
- "module": "src/actions-menu/actions-menu.ts"
2231
- }
2232
- },
2233
- {
2234
- "kind": "js",
2235
- "name": "foundationActionsMenu",
2236
- "declaration": {
2237
- "name": "foundationActionsMenu",
2238
- "module": "src/actions-menu/actions-menu.ts"
2239
- }
2240
- }
2241
- ]
2242
- },
2243
- {
2244
- "kind": "javascript-module",
2245
- "path": "src/actions-menu/index.ts",
2246
- "declarations": [],
2247
- "exports": [
2248
- {
2249
- "kind": "js",
2250
- "name": "*",
2251
- "declaration": {
2252
- "name": "*",
2253
- "package": "./actions-menu.styles"
2254
- }
2255
- },
2256
- {
2257
- "kind": "js",
2258
- "name": "*",
2259
- "declaration": {
2260
- "name": "*",
2261
- "package": "./actions-menu.template"
2262
- }
2263
- },
2264
- {
2265
- "kind": "js",
2266
- "name": "*",
2267
- "declaration": {
2268
- "name": "*",
2269
- "package": "./actions-menu"
2270
- }
2271
- }
2272
- ]
2273
- },
2274
- {
2275
- "kind": "javascript-module",
2276
- "path": "src/accordion/accordion.styles.ts",
2277
- "declarations": [
2278
- {
2279
- "kind": "function",
2280
- "name": "foundationAccordionStyles",
2281
- "return": {
2282
- "type": {
2283
- "text": "ElementStyles"
2284
- }
2285
- },
2286
- "parameters": [
2287
- {
2288
- "name": "context",
2289
- "type": {
2290
- "text": "ElementDefinitionContext"
2291
- }
2292
- },
2293
- {
2294
- "name": "definition",
2295
- "type": {
2296
- "text": "FoundationElementDefinition"
2297
- }
2298
- }
2299
- ]
2300
- }
2301
- ],
2302
- "exports": [
2303
- {
2304
- "kind": "js",
2305
- "name": "foundationAccordionStyles",
2306
- "declaration": {
2307
- "name": "foundationAccordionStyles",
2308
- "module": "src/accordion/accordion.styles.ts"
2309
- }
2310
- }
2311
- ]
2312
- },
2313
- {
2314
- "kind": "javascript-module",
2315
- "path": "src/accordion/accordion.template.ts",
2316
- "declarations": [
2317
- {
2318
- "kind": "function",
2319
- "name": "foundationAccordionTemplate",
2320
- "return": {
2321
- "type": {
2322
- "text": "ViewTemplate<Accordion>"
2323
- }
2324
- },
2325
- "parameters": [
2326
- {
2327
- "name": "context",
2328
- "type": {
2329
- "text": "ElementDefinitionContext"
2330
- }
2331
- },
2332
- {
2333
- "name": "definition",
2334
- "type": {
2335
- "text": "FoundationElementDefinition"
2336
- }
2337
- }
2338
- ]
2339
- }
2340
- ],
2341
- "exports": [
2342
- {
2343
- "kind": "js",
2344
- "name": "foundationAccordionTemplate",
2345
- "declaration": {
2346
- "name": "foundationAccordionTemplate",
2347
- "module": "src/accordion/accordion.template.ts"
2348
- }
2349
- }
2350
- ]
2351
- },
2352
- {
2353
- "kind": "javascript-module",
2354
- "path": "src/accordion/accordion.ts",
2355
- "declarations": [
2356
- {
2357
- "kind": "class",
2358
- "description": "",
2359
- "name": "Accordion",
2176
+ "fieldName": "hideMenuSingleOption"
2177
+ }
2178
+ ],
2360
2179
  "superclass": {
2361
- "name": "FASTAccordion",
2180
+ "name": "FoundationElement",
2362
2181
  "package": "@microsoft/fast-foundation"
2363
2182
  },
2364
- "tagName": "%%prefix%%-accordion",
2183
+ "tagName": "%%prefix%%-actions-menu",
2365
2184
  "customElement": true
2366
2185
  },
2367
2186
  {
2368
2187
  "kind": "variable",
2369
- "name": "foundationAccordionShadowOptions",
2370
- "type": {
2371
- "text": "ShadowRootInit"
2372
- },
2373
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2374
- },
2375
- {
2376
- "kind": "variable",
2377
- "name": "defaultAccordionConfig",
2378
- "type": {
2379
- "text": "object"
2380
- },
2381
- "default": "{}"
2382
- },
2383
- {
2384
- "kind": "variable",
2385
- "name": "foundationAccordion",
2386
- "description": "The Foundation Accordion",
2188
+ "name": "foundationActionsMenu",
2189
+ "description": "The Foundation Actions Menu",
2387
2190
  "privacy": "public"
2388
2191
  }
2389
2192
  ],
2390
2193
  "exports": [
2391
2194
  {
2392
2195
  "kind": "js",
2393
- "name": "Accordion",
2196
+ "name": "ActionsMenu",
2394
2197
  "declaration": {
2395
- "name": "Accordion",
2396
- "module": "src/accordion/accordion.ts"
2198
+ "name": "ActionsMenu",
2199
+ "module": "src/actions-menu/actions-menu.ts"
2397
2200
  }
2398
2201
  },
2399
2202
  {
2400
2203
  "kind": "js",
2401
- "name": "foundationAccordionShadowOptions",
2204
+ "name": "foundationActionsMenu",
2402
2205
  "declaration": {
2403
- "name": "foundationAccordionShadowOptions",
2404
- "module": "src/accordion/accordion.ts"
2206
+ "name": "foundationActionsMenu",
2207
+ "module": "src/actions-menu/actions-menu.ts"
2208
+ }
2209
+ }
2210
+ ]
2211
+ },
2212
+ {
2213
+ "kind": "javascript-module",
2214
+ "path": "src/actions-menu/index.ts",
2215
+ "declarations": [],
2216
+ "exports": [
2217
+ {
2218
+ "kind": "js",
2219
+ "name": "*",
2220
+ "declaration": {
2221
+ "name": "*",
2222
+ "package": "./actions-menu.styles"
2405
2223
  }
2406
2224
  },
2407
2225
  {
2408
2226
  "kind": "js",
2409
- "name": "defaultAccordionConfig",
2227
+ "name": "*",
2410
2228
  "declaration": {
2411
- "name": "defaultAccordionConfig",
2412
- "module": "src/accordion/accordion.ts"
2229
+ "name": "*",
2230
+ "package": "./actions-menu.template"
2413
2231
  }
2414
2232
  },
2415
2233
  {
2416
2234
  "kind": "js",
2417
- "name": "foundationAccordion",
2235
+ "name": "*",
2418
2236
  "declaration": {
2419
- "name": "foundationAccordion",
2420
- "module": "src/accordion/accordion.ts"
2237
+ "name": "*",
2238
+ "package": "./actions-menu"
2421
2239
  }
2422
2240
  }
2423
2241
  ]
2424
2242
  },
2425
2243
  {
2426
2244
  "kind": "javascript-module",
2427
- "path": "src/accordion/index.ts",
2245
+ "path": "src/_config/index.ts",
2428
2246
  "declarations": [],
2429
2247
  "exports": [
2430
2248
  {
@@ -2432,7 +2250,7 @@
2432
2250
  "name": "*",
2433
2251
  "declaration": {
2434
2252
  "name": "*",
2435
- "package": "./accordion.template"
2253
+ "package": "./styles"
2436
2254
  }
2437
2255
  },
2438
2256
  {
@@ -2440,7 +2258,7 @@
2440
2258
  "name": "*",
2441
2259
  "declaration": {
2442
2260
  "name": "*",
2443
- "package": "./accordion.styles"
2261
+ "package": "./tokens"
2444
2262
  }
2445
2263
  },
2446
2264
  {
@@ -2448,7 +2266,7 @@
2448
2266
  "name": "*",
2449
2267
  "declaration": {
2450
2268
  "name": "*",
2451
- "package": "./accordion"
2269
+ "package": "./values"
2452
2270
  }
2453
2271
  }
2454
2272
  ]
@@ -3433,6 +3251,188 @@
3433
3251
  }
3434
3252
  ]
3435
3253
  },
3254
+ {
3255
+ "kind": "javascript-module",
3256
+ "path": "src/accordion/accordion.styles.ts",
3257
+ "declarations": [
3258
+ {
3259
+ "kind": "function",
3260
+ "name": "foundationAccordionStyles",
3261
+ "return": {
3262
+ "type": {
3263
+ "text": "ElementStyles"
3264
+ }
3265
+ },
3266
+ "parameters": [
3267
+ {
3268
+ "name": "context",
3269
+ "type": {
3270
+ "text": "ElementDefinitionContext"
3271
+ }
3272
+ },
3273
+ {
3274
+ "name": "definition",
3275
+ "type": {
3276
+ "text": "FoundationElementDefinition"
3277
+ }
3278
+ }
3279
+ ]
3280
+ }
3281
+ ],
3282
+ "exports": [
3283
+ {
3284
+ "kind": "js",
3285
+ "name": "foundationAccordionStyles",
3286
+ "declaration": {
3287
+ "name": "foundationAccordionStyles",
3288
+ "module": "src/accordion/accordion.styles.ts"
3289
+ }
3290
+ }
3291
+ ]
3292
+ },
3293
+ {
3294
+ "kind": "javascript-module",
3295
+ "path": "src/accordion/accordion.template.ts",
3296
+ "declarations": [
3297
+ {
3298
+ "kind": "function",
3299
+ "name": "foundationAccordionTemplate",
3300
+ "return": {
3301
+ "type": {
3302
+ "text": "ViewTemplate<Accordion>"
3303
+ }
3304
+ },
3305
+ "parameters": [
3306
+ {
3307
+ "name": "context",
3308
+ "type": {
3309
+ "text": "ElementDefinitionContext"
3310
+ }
3311
+ },
3312
+ {
3313
+ "name": "definition",
3314
+ "type": {
3315
+ "text": "FoundationElementDefinition"
3316
+ }
3317
+ }
3318
+ ]
3319
+ }
3320
+ ],
3321
+ "exports": [
3322
+ {
3323
+ "kind": "js",
3324
+ "name": "foundationAccordionTemplate",
3325
+ "declaration": {
3326
+ "name": "foundationAccordionTemplate",
3327
+ "module": "src/accordion/accordion.template.ts"
3328
+ }
3329
+ }
3330
+ ]
3331
+ },
3332
+ {
3333
+ "kind": "javascript-module",
3334
+ "path": "src/accordion/accordion.ts",
3335
+ "declarations": [
3336
+ {
3337
+ "kind": "class",
3338
+ "description": "",
3339
+ "name": "Accordion",
3340
+ "superclass": {
3341
+ "name": "FASTAccordion",
3342
+ "package": "@microsoft/fast-foundation"
3343
+ },
3344
+ "tagName": "%%prefix%%-accordion",
3345
+ "customElement": true
3346
+ },
3347
+ {
3348
+ "kind": "variable",
3349
+ "name": "foundationAccordionShadowOptions",
3350
+ "type": {
3351
+ "text": "ShadowRootInit"
3352
+ },
3353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3354
+ },
3355
+ {
3356
+ "kind": "variable",
3357
+ "name": "defaultAccordionConfig",
3358
+ "type": {
3359
+ "text": "object"
3360
+ },
3361
+ "default": "{}"
3362
+ },
3363
+ {
3364
+ "kind": "variable",
3365
+ "name": "foundationAccordion",
3366
+ "description": "The Foundation Accordion",
3367
+ "privacy": "public"
3368
+ }
3369
+ ],
3370
+ "exports": [
3371
+ {
3372
+ "kind": "js",
3373
+ "name": "Accordion",
3374
+ "declaration": {
3375
+ "name": "Accordion",
3376
+ "module": "src/accordion/accordion.ts"
3377
+ }
3378
+ },
3379
+ {
3380
+ "kind": "js",
3381
+ "name": "foundationAccordionShadowOptions",
3382
+ "declaration": {
3383
+ "name": "foundationAccordionShadowOptions",
3384
+ "module": "src/accordion/accordion.ts"
3385
+ }
3386
+ },
3387
+ {
3388
+ "kind": "js",
3389
+ "name": "defaultAccordionConfig",
3390
+ "declaration": {
3391
+ "name": "defaultAccordionConfig",
3392
+ "module": "src/accordion/accordion.ts"
3393
+ }
3394
+ },
3395
+ {
3396
+ "kind": "js",
3397
+ "name": "foundationAccordion",
3398
+ "declaration": {
3399
+ "name": "foundationAccordion",
3400
+ "module": "src/accordion/accordion.ts"
3401
+ }
3402
+ }
3403
+ ]
3404
+ },
3405
+ {
3406
+ "kind": "javascript-module",
3407
+ "path": "src/accordion/index.ts",
3408
+ "declarations": [],
3409
+ "exports": [
3410
+ {
3411
+ "kind": "js",
3412
+ "name": "*",
3413
+ "declaration": {
3414
+ "name": "*",
3415
+ "package": "./accordion.template"
3416
+ }
3417
+ },
3418
+ {
3419
+ "kind": "js",
3420
+ "name": "*",
3421
+ "declaration": {
3422
+ "name": "*",
3423
+ "package": "./accordion.styles"
3424
+ }
3425
+ },
3426
+ {
3427
+ "kind": "js",
3428
+ "name": "*",
3429
+ "declaration": {
3430
+ "name": "*",
3431
+ "package": "./accordion"
3432
+ }
3433
+ }
3434
+ ]
3435
+ },
3436
3436
  {
3437
3437
  "kind": "javascript-module",
3438
3438
  "path": "src/anchor/anchor.styles.ts",