@genesislcap/foundation-ui 14.496.0 → 14.496.1-GENC-1461.3

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.
@@ -942,44 +942,97 @@
942
942
  },
943
943
  {
944
944
  "kind": "javascript-module",
945
- "path": "src/_common/affix-mixin.ts",
945
+ "path": "src/_config/index.ts",
946
+ "declarations": [],
947
+ "exports": [
948
+ {
949
+ "kind": "js",
950
+ "name": "*",
951
+ "declaration": {
952
+ "name": "*",
953
+ "package": "./styles"
954
+ }
955
+ },
956
+ {
957
+ "kind": "js",
958
+ "name": "*",
959
+ "declaration": {
960
+ "name": "*",
961
+ "package": "./tokens"
962
+ }
963
+ },
964
+ {
965
+ "kind": "js",
966
+ "name": "*",
967
+ "declaration": {
968
+ "name": "*",
969
+ "package": "./values"
970
+ }
971
+ }
972
+ ]
973
+ },
974
+ {
975
+ "kind": "javascript-module",
976
+ "path": "src/accordion/accordion.styles.ts",
946
977
  "declarations": [
947
978
  {
948
- "kind": "mixin",
949
- "description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
950
- "name": "AffixMixin",
951
- "members": [
952
- {
953
- "kind": "field",
954
- "name": "prefix",
955
- "type": {
956
- "text": "string"
957
- },
958
- "description": "Optional non-editable label shown on the left inside the field, before the input."
959
- },
979
+ "kind": "function",
980
+ "name": "foundationAccordionStyles",
981
+ "return": {
982
+ "type": {
983
+ "text": "ElementStyles"
984
+ }
985
+ },
986
+ "parameters": [
960
987
  {
961
- "kind": "field",
962
- "name": "suffix",
988
+ "name": "context",
963
989
  "type": {
964
- "text": "string"
965
- },
966
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
990
+ "text": "ElementDefinitionContext"
991
+ }
967
992
  },
968
993
  {
969
- "kind": "field",
970
- "name": "hideAffixFromScreenReader",
994
+ "name": "definition",
971
995
  "type": {
972
- "text": "boolean"
973
- },
974
- "default": "false",
975
- "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
996
+ "text": "FoundationElementDefinition"
997
+ }
976
998
  }
977
- ],
999
+ ]
1000
+ }
1001
+ ],
1002
+ "exports": [
1003
+ {
1004
+ "kind": "js",
1005
+ "name": "foundationAccordionStyles",
1006
+ "declaration": {
1007
+ "name": "foundationAccordionStyles",
1008
+ "module": "src/accordion/accordion.styles.ts"
1009
+ }
1010
+ }
1011
+ ]
1012
+ },
1013
+ {
1014
+ "kind": "javascript-module",
1015
+ "path": "src/accordion/accordion.template.ts",
1016
+ "declarations": [
1017
+ {
1018
+ "kind": "function",
1019
+ "name": "foundationAccordionTemplate",
1020
+ "return": {
1021
+ "type": {
1022
+ "text": "ViewTemplate<Accordion>"
1023
+ }
1024
+ },
978
1025
  "parameters": [
979
1026
  {
980
- "name": "Base",
1027
+ "name": "context",
981
1028
  "type": {
982
- "text": "TBase"
1029
+ "text": "ElementDefinitionContext"
1030
+ }
1031
+ },
1032
+ {
1033
+ "name": "definition",
1034
+ "type": {
1035
+ "text": "FoundationElementDefinition"
983
1036
  }
984
1037
  }
985
1038
  ]
@@ -988,143 +1041,207 @@
988
1041
  "exports": [
989
1042
  {
990
1043
  "kind": "js",
991
- "name": "AffixMixin",
1044
+ "name": "foundationAccordionTemplate",
992
1045
  "declaration": {
993
- "name": "AffixMixin",
994
- "module": "src/_common/affix-mixin.ts"
1046
+ "name": "foundationAccordionTemplate",
1047
+ "module": "src/accordion/accordion.template.ts"
995
1048
  }
996
1049
  }
997
1050
  ]
998
1051
  },
999
1052
  {
1000
1053
  "kind": "javascript-module",
1001
- "path": "src/_common/base-file-component.ts",
1054
+ "path": "src/accordion/accordion.ts",
1002
1055
  "declarations": [
1003
1056
  {
1004
1057
  "kind": "class",
1005
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1006
- "name": "BaseFileComponent",
1058
+ "description": "",
1059
+ "name": "Accordion",
1060
+ "superclass": {
1061
+ "name": "FASTAccordion",
1062
+ "package": "@microsoft/fast-foundation"
1063
+ },
1064
+ "tagName": "%%prefix%%-accordion",
1065
+ "customElement": true,
1066
+ "attributes": [
1067
+ {
1068
+ "name": "expand-mode",
1069
+ "type": {
1070
+ "text": "AccordionExpandMode"
1071
+ },
1072
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1073
+ "fieldName": "expandmode",
1074
+ "inheritedFrom": {
1075
+ "name": "Accordion",
1076
+ "module": "src/accordion/accordion.ts"
1077
+ }
1078
+ }
1079
+ ],
1007
1080
  "members": [
1008
1081
  {
1009
1082
  "kind": "field",
1010
- "name": "fileInput",
1083
+ "name": "expandmode",
1011
1084
  "type": {
1012
- "text": "HTMLInputElement"
1085
+ "text": "AccordionExpandMode"
1013
1086
  },
1014
- "privacy": "public"
1087
+ "privacy": "public",
1088
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1089
+ "inheritedFrom": {
1090
+ "name": "Accordion",
1091
+ "module": "src/accordion/accordion.ts"
1092
+ }
1015
1093
  },
1016
1094
  {
1017
1095
  "kind": "field",
1018
- "name": "selectedFile",
1096
+ "name": "activeid",
1019
1097
  "type": {
1020
- "text": "File | null"
1098
+ "text": "string | null"
1021
1099
  },
1022
- "privacy": "protected",
1023
- "default": "null"
1100
+ "privacy": "private",
1101
+ "inheritedFrom": {
1102
+ "name": "Accordion",
1103
+ "module": "src/accordion/accordion.ts"
1104
+ }
1024
1105
  },
1025
1106
  {
1026
1107
  "kind": "field",
1027
- "name": "label",
1108
+ "name": "activeItemIndex",
1028
1109
  "type": {
1029
- "text": "string"
1110
+ "text": "number"
1111
+ },
1112
+ "privacy": "private",
1113
+ "default": "0",
1114
+ "inheritedFrom": {
1115
+ "name": "Accordion",
1116
+ "module": "src/accordion/accordion.ts"
1030
1117
  }
1031
1118
  },
1032
1119
  {
1033
1120
  "kind": "field",
1034
- "name": "accept",
1121
+ "name": "accordionIds",
1035
1122
  "type": {
1036
- "text": "string"
1123
+ "text": "Array<string | null>"
1037
1124
  },
1038
- "default": "''"
1125
+ "privacy": "private",
1126
+ "inheritedFrom": {
1127
+ "name": "Accordion",
1128
+ "module": "src/accordion/accordion.ts"
1129
+ }
1039
1130
  },
1040
1131
  {
1041
1132
  "kind": "field",
1042
- "name": "fileSizeLimitBytes",
1043
- "default": "10_485_760",
1044
- "type": {
1045
- "text": "number"
1133
+ "name": "change",
1134
+ "privacy": "private",
1135
+ "inheritedFrom": {
1136
+ "name": "Accordion",
1137
+ "module": "src/accordion/accordion.ts"
1046
1138
  }
1047
1139
  },
1048
1140
  {
1049
- "kind": "field",
1050
- "name": "fileName",
1051
- "type": {
1052
- "text": "string"
1141
+ "kind": "method",
1142
+ "name": "findExpandedItem",
1143
+ "privacy": "private",
1144
+ "return": {
1145
+ "type": {
1146
+ "text": "AccordionItem | null"
1147
+ }
1053
1148
  },
1054
- "default": "''"
1149
+ "inheritedFrom": {
1150
+ "name": "Accordion",
1151
+ "module": "src/accordion/accordion.ts"
1152
+ }
1055
1153
  },
1056
1154
  {
1057
1155
  "kind": "field",
1058
- "name": "isProcessing",
1059
- "type": {
1060
- "text": "boolean"
1061
- },
1062
- "default": "false"
1156
+ "name": "setItems",
1157
+ "privacy": "private",
1158
+ "inheritedFrom": {
1159
+ "name": "Accordion",
1160
+ "module": "src/accordion/accordion.ts"
1161
+ }
1063
1162
  },
1064
1163
  {
1065
1164
  "kind": "method",
1066
- "name": "handleClick",
1067
- "privacy": "public",
1068
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1165
+ "name": "resetItems",
1166
+ "privacy": "private",
1167
+ "return": {
1168
+ "type": {
1169
+ "text": "void"
1170
+ }
1171
+ },
1172
+ "inheritedFrom": {
1173
+ "name": "Accordion",
1174
+ "module": "src/accordion/accordion.ts"
1175
+ }
1069
1176
  },
1070
1177
  {
1071
- "kind": "method",
1072
- "name": "onInputChange",
1073
- "privacy": "public",
1074
- "parameters": [
1075
- {
1076
- "name": "e",
1077
- "type": {
1078
- "text": "Event"
1079
- },
1080
- "description": "The change event from the file input"
1081
- }
1082
- ],
1083
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1178
+ "kind": "field",
1179
+ "name": "removeItemListeners",
1180
+ "privacy": "private",
1181
+ "inheritedFrom": {
1182
+ "name": "Accordion",
1183
+ "module": "src/accordion/accordion.ts"
1184
+ }
1084
1185
  },
1085
1186
  {
1086
- "kind": "method",
1087
- "name": "clearSelection",
1088
- "privacy": "public",
1089
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
1187
+ "kind": "field",
1188
+ "name": "activeItemChange",
1189
+ "privacy": "private",
1190
+ "inheritedFrom": {
1191
+ "name": "Accordion",
1192
+ "module": "src/accordion/accordion.ts"
1193
+ }
1090
1194
  },
1091
1195
  {
1092
1196
  "kind": "method",
1093
- "name": "getSelectedFile",
1094
- "privacy": "public",
1095
- "description": "Gets the currently selected file object",
1197
+ "name": "getItemIds",
1198
+ "privacy": "private",
1096
1199
  "return": {
1097
1200
  "type": {
1098
- "text": ""
1201
+ "text": "Array<string | null>"
1099
1202
  }
1203
+ },
1204
+ "inheritedFrom": {
1205
+ "name": "Accordion",
1206
+ "module": "src/accordion/accordion.ts"
1100
1207
  }
1101
1208
  },
1102
1209
  {
1103
1210
  "kind": "method",
1104
- "name": "showError",
1105
- "privacy": "protected",
1106
- "parameters": [
1107
- {
1108
- "name": "title",
1109
- "type": {
1110
- "text": "string"
1111
- },
1112
- "description": "The error title"
1113
- },
1114
- {
1115
- "name": "message",
1116
- "type": {
1117
- "text": "string"
1118
- },
1119
- "description": "The error message"
1211
+ "name": "isSingleExpandMode",
1212
+ "privacy": "private",
1213
+ "return": {
1214
+ "type": {
1215
+ "text": "boolean"
1120
1216
  }
1121
- ],
1122
- "description": "Shows an error notification using the unified error handling system"
1217
+ },
1218
+ "inheritedFrom": {
1219
+ "name": "Accordion",
1220
+ "module": "src/accordion/accordion.ts"
1221
+ }
1222
+ },
1223
+ {
1224
+ "kind": "field",
1225
+ "name": "handleItemKeyDown",
1226
+ "privacy": "private",
1227
+ "inheritedFrom": {
1228
+ "name": "Accordion",
1229
+ "module": "src/accordion/accordion.ts"
1230
+ }
1231
+ },
1232
+ {
1233
+ "kind": "field",
1234
+ "name": "handleItemFocus",
1235
+ "privacy": "private",
1236
+ "inheritedFrom": {
1237
+ "name": "Accordion",
1238
+ "module": "src/accordion/accordion.ts"
1239
+ }
1123
1240
  },
1124
1241
  {
1125
1242
  "kind": "method",
1126
- "name": "onFileSelected",
1127
- "privacy": "protected",
1243
+ "name": "adjust",
1244
+ "privacy": "private",
1128
1245
  "return": {
1129
1246
  "type": {
1130
1247
  "text": "void"
@@ -1132,25 +1249,30 @@
1132
1249
  },
1133
1250
  "parameters": [
1134
1251
  {
1135
- "name": "files",
1252
+ "name": "adjustment",
1136
1253
  "type": {
1137
- "text": "File[]"
1138
- },
1139
- "description": "The selected file"
1254
+ "text": "number"
1255
+ }
1140
1256
  }
1141
1257
  ],
1142
- "description": "Abstract method called when a file is selected"
1258
+ "inheritedFrom": {
1259
+ "name": "Accordion",
1260
+ "module": "src/accordion/accordion.ts"
1261
+ }
1143
1262
  },
1144
1263
  {
1145
1264
  "kind": "method",
1146
- "name": "onFileCleared",
1147
- "privacy": "protected",
1265
+ "name": "focusItem",
1266
+ "privacy": "private",
1148
1267
  "return": {
1149
1268
  "type": {
1150
1269
  "text": "void"
1151
1270
  }
1152
1271
  },
1153
- "description": "Abstract method called when file selection is cleared"
1272
+ "inheritedFrom": {
1273
+ "name": "Accordion",
1274
+ "module": "src/accordion/accordion.ts"
1275
+ }
1154
1276
  },
1155
1277
  {
1156
1278
  "kind": "field",
@@ -1266,110 +1388,76 @@
1266
1388
  ],
1267
1389
  "events": [
1268
1390
  {
1269
- "description": "Fired when file size validation fails. detail: `Error`",
1270
- "name": "error"
1271
- },
1272
- {
1273
- "description": "Fired when selection is cleared",
1274
- "name": "clear"
1275
- }
1276
- ],
1277
- "attributes": [
1278
- {
1279
- "name": "label",
1280
- "type": {
1281
- "text": "string"
1282
- },
1283
- "fieldName": "label"
1284
- },
1285
- {
1286
- "name": "accept",
1287
- "type": {
1288
- "text": "string"
1289
- },
1290
- "default": "''",
1291
- "fieldName": "accept"
1292
- },
1293
- {
1294
- "name": "file-size-limit-bytes",
1295
- "default": "DEFAULT_FILE_SIZE_LIMIT",
1296
- "resolveInitializer": {
1297
- "module": "src/_common/base-file-component.ts"
1298
- },
1299
- "fieldName": "fileSizeLimitBytes"
1391
+ "description": "Fires a custom 'change' event when the active item changes",
1392
+ "name": "change",
1393
+ "inheritedFrom": {
1394
+ "name": "Accordion",
1395
+ "module": "src/accordion/accordion.ts"
1396
+ }
1300
1397
  }
1301
- ],
1302
- "superclass": {
1303
- "name": "FoundationElement",
1304
- "package": "@microsoft/fast-foundation"
1305
- }
1306
- }
1307
- ],
1308
- "exports": [
1398
+ ]
1399
+ },
1309
1400
  {
1310
- "kind": "js",
1311
- "name": "BaseFileComponent",
1312
- "declaration": {
1313
- "name": "BaseFileComponent",
1314
- "module": "src/_common/base-file-component.ts"
1315
- }
1316
- }
1317
- ]
1318
- },
1319
- {
1320
- "kind": "javascript-module",
1321
- "path": "src/_common/field-styles.ts",
1322
- "declarations": [
1401
+ "kind": "variable",
1402
+ "name": "foundationAccordionShadowOptions",
1403
+ "type": {
1404
+ "text": "ShadowRootInit"
1405
+ },
1406
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1407
+ },
1323
1408
  {
1324
1409
  "kind": "variable",
1325
- "name": "sharedFieldStyles",
1326
- "default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
1410
+ "name": "defaultAccordionConfig",
1411
+ "type": {
1412
+ "text": "object"
1413
+ },
1414
+ "default": "{}"
1415
+ },
1416
+ {
1417
+ "kind": "variable",
1418
+ "name": "foundationAccordion",
1419
+ "description": "The Foundation Accordion",
1420
+ "privacy": "public"
1327
1421
  }
1328
1422
  ],
1329
1423
  "exports": [
1330
1424
  {
1331
1425
  "kind": "js",
1332
- "name": "sharedFieldStyles",
1426
+ "name": "Accordion",
1333
1427
  "declaration": {
1334
- "name": "sharedFieldStyles",
1335
- "module": "src/_common/field-styles.ts"
1428
+ "name": "Accordion",
1429
+ "module": "src/accordion/accordion.ts"
1336
1430
  }
1337
- }
1338
- ]
1339
- },
1340
- {
1341
- "kind": "javascript-module",
1342
- "path": "src/_common/icons.ts",
1343
- "declarations": [
1344
- {
1345
- "kind": "function",
1346
- "name": "closeIcon",
1347
- "parameters": [
1348
- {
1349
- "name": "slot",
1350
- "default": "'start'"
1351
- },
1352
- {
1353
- "name": "fill",
1354
- "default": "'#879ba6'"
1355
- }
1356
- ]
1357
- }
1358
- ],
1359
- "exports": [
1431
+ },
1360
1432
  {
1361
1433
  "kind": "js",
1362
- "name": "closeIcon",
1434
+ "name": "foundationAccordionShadowOptions",
1363
1435
  "declaration": {
1364
- "name": "closeIcon",
1365
- "module": "src/_common/icons.ts"
1436
+ "name": "foundationAccordionShadowOptions",
1437
+ "module": "src/accordion/accordion.ts"
1438
+ }
1439
+ },
1440
+ {
1441
+ "kind": "js",
1442
+ "name": "defaultAccordionConfig",
1443
+ "declaration": {
1444
+ "name": "defaultAccordionConfig",
1445
+ "module": "src/accordion/accordion.ts"
1446
+ }
1447
+ },
1448
+ {
1449
+ "kind": "js",
1450
+ "name": "foundationAccordion",
1451
+ "declaration": {
1452
+ "name": "foundationAccordion",
1453
+ "module": "src/accordion/accordion.ts"
1366
1454
  }
1367
1455
  }
1368
1456
  ]
1369
1457
  },
1370
1458
  {
1371
1459
  "kind": "javascript-module",
1372
- "path": "src/_common/index.ts",
1460
+ "path": "src/accordion/index.ts",
1373
1461
  "declarations": [],
1374
1462
  "exports": [
1375
1463
  {
@@ -1377,15 +1465,7 @@
1377
1465
  "name": "*",
1378
1466
  "declaration": {
1379
1467
  "name": "*",
1380
- "package": "./affix-mixin"
1381
- }
1382
- },
1383
- {
1384
- "kind": "js",
1385
- "name": "*",
1386
- "declaration": {
1387
- "name": "*",
1388
- "package": "./base-file-component"
1468
+ "package": "./accordion.template"
1389
1469
  }
1390
1470
  },
1391
1471
  {
@@ -1393,7 +1473,7 @@
1393
1473
  "name": "*",
1394
1474
  "declaration": {
1395
1475
  "name": "*",
1396
- "package": "./field-styles"
1476
+ "package": "./accordion.styles"
1397
1477
  }
1398
1478
  },
1399
1479
  {
@@ -1401,73 +1481,51 @@
1401
1481
  "name": "*",
1402
1482
  "declaration": {
1403
1483
  "name": "*",
1404
- "package": "./icons"
1484
+ "package": "./accordion"
1405
1485
  }
1406
1486
  }
1407
1487
  ]
1408
1488
  },
1409
1489
  {
1410
1490
  "kind": "javascript-module",
1411
- "path": "src/accordion/accordion.styles.ts",
1491
+ "path": "src/_common/affix-mixin.ts",
1412
1492
  "declarations": [
1413
1493
  {
1414
- "kind": "function",
1415
- "name": "foundationAccordionStyles",
1416
- "return": {
1417
- "type": {
1418
- "text": "ElementStyles"
1419
- }
1420
- },
1421
- "parameters": [
1494
+ "kind": "mixin",
1495
+ "description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
1496
+ "name": "AffixMixin",
1497
+ "members": [
1422
1498
  {
1423
- "name": "context",
1499
+ "kind": "field",
1500
+ "name": "prefix",
1424
1501
  "type": {
1425
- "text": "ElementDefinitionContext"
1426
- }
1502
+ "text": "string"
1503
+ },
1504
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
1427
1505
  },
1428
1506
  {
1429
- "name": "definition",
1507
+ "kind": "field",
1508
+ "name": "suffix",
1430
1509
  "type": {
1431
- "text": "FoundationElementDefinition"
1432
- }
1433
- }
1434
- ]
1435
- }
1436
- ],
1437
- "exports": [
1438
- {
1439
- "kind": "js",
1440
- "name": "foundationAccordionStyles",
1441
- "declaration": {
1442
- "name": "foundationAccordionStyles",
1443
- "module": "src/accordion/accordion.styles.ts"
1444
- }
1445
- }
1446
- ]
1447
- },
1448
- {
1449
- "kind": "javascript-module",
1450
- "path": "src/accordion/accordion.template.ts",
1451
- "declarations": [
1452
- {
1453
- "kind": "function",
1454
- "name": "foundationAccordionTemplate",
1455
- "return": {
1456
- "type": {
1457
- "text": "ViewTemplate<Accordion>"
1458
- }
1459
- },
1460
- "parameters": [
1510
+ "text": "string"
1511
+ },
1512
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
1513
+ },
1461
1514
  {
1462
- "name": "context",
1515
+ "kind": "field",
1516
+ "name": "hideAffixFromScreenReader",
1463
1517
  "type": {
1464
- "text": "ElementDefinitionContext"
1465
- }
1466
- },
1518
+ "text": "boolean"
1519
+ },
1520
+ "default": "false",
1521
+ "description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
1522
+ }
1523
+ ],
1524
+ "parameters": [
1467
1525
  {
1468
- "name": "definition",
1526
+ "name": "Base",
1469
1527
  "type": {
1470
- "text": "FoundationElementDefinition"
1528
+ "text": "TBase"
1471
1529
  }
1472
1530
  }
1473
1531
  ]
@@ -1476,207 +1534,143 @@
1476
1534
  "exports": [
1477
1535
  {
1478
1536
  "kind": "js",
1479
- "name": "foundationAccordionTemplate",
1537
+ "name": "AffixMixin",
1480
1538
  "declaration": {
1481
- "name": "foundationAccordionTemplate",
1482
- "module": "src/accordion/accordion.template.ts"
1539
+ "name": "AffixMixin",
1540
+ "module": "src/_common/affix-mixin.ts"
1483
1541
  }
1484
1542
  }
1485
1543
  ]
1486
1544
  },
1487
1545
  {
1488
1546
  "kind": "javascript-module",
1489
- "path": "src/accordion/accordion.ts",
1547
+ "path": "src/_common/base-file-component.ts",
1490
1548
  "declarations": [
1491
1549
  {
1492
1550
  "kind": "class",
1493
- "description": "",
1494
- "name": "Accordion",
1495
- "superclass": {
1496
- "name": "FASTAccordion",
1497
- "package": "@microsoft/fast-foundation"
1498
- },
1499
- "tagName": "%%prefix%%-accordion",
1500
- "customElement": true,
1501
- "attributes": [
1502
- {
1503
- "name": "expand-mode",
1504
- "type": {
1505
- "text": "AccordionExpandMode"
1506
- },
1507
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1508
- "fieldName": "expandmode",
1509
- "inheritedFrom": {
1510
- "name": "Accordion",
1511
- "module": "src/accordion/accordion.ts"
1512
- }
1513
- }
1514
- ],
1551
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1552
+ "name": "BaseFileComponent",
1515
1553
  "members": [
1516
1554
  {
1517
1555
  "kind": "field",
1518
- "name": "expandmode",
1556
+ "name": "fileInput",
1519
1557
  "type": {
1520
- "text": "AccordionExpandMode"
1558
+ "text": "HTMLInputElement"
1521
1559
  },
1522
- "privacy": "public",
1523
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1524
- "inheritedFrom": {
1525
- "name": "Accordion",
1526
- "module": "src/accordion/accordion.ts"
1527
- }
1560
+ "privacy": "public"
1528
1561
  },
1529
1562
  {
1530
1563
  "kind": "field",
1531
- "name": "activeid",
1564
+ "name": "selectedFile",
1532
1565
  "type": {
1533
- "text": "string | null"
1566
+ "text": "File | null"
1534
1567
  },
1535
- "privacy": "private",
1536
- "inheritedFrom": {
1537
- "name": "Accordion",
1538
- "module": "src/accordion/accordion.ts"
1539
- }
1568
+ "privacy": "protected",
1569
+ "default": "null"
1540
1570
  },
1541
1571
  {
1542
1572
  "kind": "field",
1543
- "name": "activeItemIndex",
1573
+ "name": "label",
1544
1574
  "type": {
1545
- "text": "number"
1546
- },
1547
- "privacy": "private",
1548
- "default": "0",
1549
- "inheritedFrom": {
1550
- "name": "Accordion",
1551
- "module": "src/accordion/accordion.ts"
1575
+ "text": "string"
1552
1576
  }
1553
1577
  },
1554
1578
  {
1555
1579
  "kind": "field",
1556
- "name": "accordionIds",
1580
+ "name": "accept",
1557
1581
  "type": {
1558
- "text": "Array<string | null>"
1582
+ "text": "string"
1559
1583
  },
1560
- "privacy": "private",
1561
- "inheritedFrom": {
1562
- "name": "Accordion",
1563
- "module": "src/accordion/accordion.ts"
1564
- }
1584
+ "default": "''"
1565
1585
  },
1566
1586
  {
1567
1587
  "kind": "field",
1568
- "name": "change",
1569
- "privacy": "private",
1570
- "inheritedFrom": {
1571
- "name": "Accordion",
1572
- "module": "src/accordion/accordion.ts"
1573
- }
1574
- },
1575
- {
1576
- "kind": "method",
1577
- "name": "findExpandedItem",
1578
- "privacy": "private",
1579
- "return": {
1580
- "type": {
1581
- "text": "AccordionItem | null"
1582
- }
1583
- },
1584
- "inheritedFrom": {
1585
- "name": "Accordion",
1586
- "module": "src/accordion/accordion.ts"
1588
+ "name": "fileSizeLimitBytes",
1589
+ "default": "10_485_760",
1590
+ "type": {
1591
+ "text": "number"
1587
1592
  }
1588
1593
  },
1589
1594
  {
1590
1595
  "kind": "field",
1591
- "name": "setItems",
1592
- "privacy": "private",
1593
- "inheritedFrom": {
1594
- "name": "Accordion",
1595
- "module": "src/accordion/accordion.ts"
1596
- }
1597
- },
1598
- {
1599
- "kind": "method",
1600
- "name": "resetItems",
1601
- "privacy": "private",
1602
- "return": {
1603
- "type": {
1604
- "text": "void"
1605
- }
1596
+ "name": "fileName",
1597
+ "type": {
1598
+ "text": "string"
1606
1599
  },
1607
- "inheritedFrom": {
1608
- "name": "Accordion",
1609
- "module": "src/accordion/accordion.ts"
1610
- }
1600
+ "default": "''"
1611
1601
  },
1612
1602
  {
1613
1603
  "kind": "field",
1614
- "name": "removeItemListeners",
1615
- "privacy": "private",
1616
- "inheritedFrom": {
1617
- "name": "Accordion",
1618
- "module": "src/accordion/accordion.ts"
1619
- }
1604
+ "name": "isProcessing",
1605
+ "type": {
1606
+ "text": "boolean"
1607
+ },
1608
+ "default": "false"
1620
1609
  },
1621
1610
  {
1622
- "kind": "field",
1623
- "name": "activeItemChange",
1624
- "privacy": "private",
1625
- "inheritedFrom": {
1626
- "name": "Accordion",
1627
- "module": "src/accordion/accordion.ts"
1628
- }
1611
+ "kind": "method",
1612
+ "name": "handleClick",
1613
+ "privacy": "public",
1614
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1629
1615
  },
1630
1616
  {
1631
1617
  "kind": "method",
1632
- "name": "getItemIds",
1633
- "privacy": "private",
1634
- "return": {
1635
- "type": {
1636
- "text": "Array<string | null>"
1618
+ "name": "onInputChange",
1619
+ "privacy": "public",
1620
+ "parameters": [
1621
+ {
1622
+ "name": "e",
1623
+ "type": {
1624
+ "text": "Event"
1625
+ },
1626
+ "description": "The change event from the file input"
1637
1627
  }
1638
- },
1639
- "inheritedFrom": {
1640
- "name": "Accordion",
1641
- "module": "src/accordion/accordion.ts"
1642
- }
1628
+ ],
1629
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1643
1630
  },
1644
1631
  {
1645
1632
  "kind": "method",
1646
- "name": "isSingleExpandMode",
1647
- "privacy": "private",
1633
+ "name": "clearSelection",
1634
+ "privacy": "public",
1635
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1636
+ },
1637
+ {
1638
+ "kind": "method",
1639
+ "name": "getSelectedFile",
1640
+ "privacy": "public",
1641
+ "description": "Gets the currently selected file object",
1648
1642
  "return": {
1649
1643
  "type": {
1650
- "text": "boolean"
1644
+ "text": ""
1651
1645
  }
1652
- },
1653
- "inheritedFrom": {
1654
- "name": "Accordion",
1655
- "module": "src/accordion/accordion.ts"
1656
- }
1657
- },
1658
- {
1659
- "kind": "field",
1660
- "name": "handleItemKeyDown",
1661
- "privacy": "private",
1662
- "inheritedFrom": {
1663
- "name": "Accordion",
1664
- "module": "src/accordion/accordion.ts"
1665
1646
  }
1666
1647
  },
1667
1648
  {
1668
- "kind": "field",
1669
- "name": "handleItemFocus",
1670
- "privacy": "private",
1671
- "inheritedFrom": {
1672
- "name": "Accordion",
1673
- "module": "src/accordion/accordion.ts"
1674
- }
1649
+ "kind": "method",
1650
+ "name": "showError",
1651
+ "privacy": "protected",
1652
+ "parameters": [
1653
+ {
1654
+ "name": "title",
1655
+ "type": {
1656
+ "text": "string"
1657
+ },
1658
+ "description": "The error title"
1659
+ },
1660
+ {
1661
+ "name": "message",
1662
+ "type": {
1663
+ "text": "string"
1664
+ },
1665
+ "description": "The error message"
1666
+ }
1667
+ ],
1668
+ "description": "Shows an error notification using the unified error handling system"
1675
1669
  },
1676
1670
  {
1677
1671
  "kind": "method",
1678
- "name": "adjust",
1679
- "privacy": "private",
1672
+ "name": "onFileSelected",
1673
+ "privacy": "protected",
1680
1674
  "return": {
1681
1675
  "type": {
1682
1676
  "text": "void"
@@ -1684,30 +1678,25 @@
1684
1678
  },
1685
1679
  "parameters": [
1686
1680
  {
1687
- "name": "adjustment",
1681
+ "name": "files",
1688
1682
  "type": {
1689
- "text": "number"
1690
- }
1683
+ "text": "File[]"
1684
+ },
1685
+ "description": "The selected file"
1691
1686
  }
1692
1687
  ],
1693
- "inheritedFrom": {
1694
- "name": "Accordion",
1695
- "module": "src/accordion/accordion.ts"
1696
- }
1688
+ "description": "Abstract method called when a file is selected"
1697
1689
  },
1698
1690
  {
1699
1691
  "kind": "method",
1700
- "name": "focusItem",
1701
- "privacy": "private",
1692
+ "name": "onFileCleared",
1693
+ "privacy": "protected",
1702
1694
  "return": {
1703
1695
  "type": {
1704
1696
  "text": "void"
1705
1697
  }
1706
1698
  },
1707
- "inheritedFrom": {
1708
- "name": "Accordion",
1709
- "module": "src/accordion/accordion.ts"
1710
- }
1699
+ "description": "Abstract method called when file selection is cleared"
1711
1700
  },
1712
1701
  {
1713
1702
  "kind": "field",
@@ -1823,76 +1812,110 @@
1823
1812
  ],
1824
1813
  "events": [
1825
1814
  {
1826
- "description": "Fires a custom 'change' event when the active item changes",
1827
- "name": "change",
1828
- "inheritedFrom": {
1829
- "name": "Accordion",
1830
- "module": "src/accordion/accordion.ts"
1831
- }
1815
+ "description": "Fired when file size validation fails. detail: `Error`",
1816
+ "name": "error"
1817
+ },
1818
+ {
1819
+ "description": "Fired when selection is cleared",
1820
+ "name": "clear"
1832
1821
  }
1833
- ]
1834
- },
1835
- {
1836
- "kind": "variable",
1837
- "name": "foundationAccordionShadowOptions",
1838
- "type": {
1839
- "text": "ShadowRootInit"
1840
- },
1841
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1842
- },
1843
- {
1844
- "kind": "variable",
1845
- "name": "defaultAccordionConfig",
1846
- "type": {
1847
- "text": "object"
1848
- },
1849
- "default": "{}"
1850
- },
1851
- {
1852
- "kind": "variable",
1853
- "name": "foundationAccordion",
1854
- "description": "The Foundation Accordion",
1855
- "privacy": "public"
1822
+ ],
1823
+ "attributes": [
1824
+ {
1825
+ "name": "label",
1826
+ "type": {
1827
+ "text": "string"
1828
+ },
1829
+ "fieldName": "label"
1830
+ },
1831
+ {
1832
+ "name": "accept",
1833
+ "type": {
1834
+ "text": "string"
1835
+ },
1836
+ "default": "''",
1837
+ "fieldName": "accept"
1838
+ },
1839
+ {
1840
+ "name": "file-size-limit-bytes",
1841
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1842
+ "resolveInitializer": {
1843
+ "module": "src/_common/base-file-component.ts"
1844
+ },
1845
+ "fieldName": "fileSizeLimitBytes"
1846
+ }
1847
+ ],
1848
+ "superclass": {
1849
+ "name": "FoundationElement",
1850
+ "package": "@microsoft/fast-foundation"
1851
+ }
1856
1852
  }
1857
1853
  ],
1858
1854
  "exports": [
1859
1855
  {
1860
1856
  "kind": "js",
1861
- "name": "Accordion",
1857
+ "name": "BaseFileComponent",
1862
1858
  "declaration": {
1863
- "name": "Accordion",
1864
- "module": "src/accordion/accordion.ts"
1859
+ "name": "BaseFileComponent",
1860
+ "module": "src/_common/base-file-component.ts"
1865
1861
  }
1866
- },
1862
+ }
1863
+ ]
1864
+ },
1865
+ {
1866
+ "kind": "javascript-module",
1867
+ "path": "src/_common/field-styles.ts",
1868
+ "declarations": [
1867
1869
  {
1868
- "kind": "js",
1869
- "name": "foundationAccordionShadowOptions",
1870
- "declaration": {
1871
- "name": "foundationAccordionShadowOptions",
1872
- "module": "src/accordion/accordion.ts"
1873
- }
1874
- },
1870
+ "kind": "variable",
1871
+ "name": "sharedFieldStyles",
1872
+ "default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
1873
+ }
1874
+ ],
1875
+ "exports": [
1875
1876
  {
1876
1877
  "kind": "js",
1877
- "name": "defaultAccordionConfig",
1878
+ "name": "sharedFieldStyles",
1878
1879
  "declaration": {
1879
- "name": "defaultAccordionConfig",
1880
- "module": "src/accordion/accordion.ts"
1880
+ "name": "sharedFieldStyles",
1881
+ "module": "src/_common/field-styles.ts"
1881
1882
  }
1882
- },
1883
+ }
1884
+ ]
1885
+ },
1886
+ {
1887
+ "kind": "javascript-module",
1888
+ "path": "src/_common/icons.ts",
1889
+ "declarations": [
1890
+ {
1891
+ "kind": "function",
1892
+ "name": "closeIcon",
1893
+ "parameters": [
1894
+ {
1895
+ "name": "slot",
1896
+ "default": "'start'"
1897
+ },
1898
+ {
1899
+ "name": "fill",
1900
+ "default": "'#879ba6'"
1901
+ }
1902
+ ]
1903
+ }
1904
+ ],
1905
+ "exports": [
1883
1906
  {
1884
1907
  "kind": "js",
1885
- "name": "foundationAccordion",
1908
+ "name": "closeIcon",
1886
1909
  "declaration": {
1887
- "name": "foundationAccordion",
1888
- "module": "src/accordion/accordion.ts"
1910
+ "name": "closeIcon",
1911
+ "module": "src/_common/icons.ts"
1889
1912
  }
1890
1913
  }
1891
1914
  ]
1892
1915
  },
1893
1916
  {
1894
1917
  "kind": "javascript-module",
1895
- "path": "src/accordion/index.ts",
1918
+ "path": "src/_common/index.ts",
1896
1919
  "declarations": [],
1897
1920
  "exports": [
1898
1921
  {
@@ -1900,15 +1923,7 @@
1900
1923
  "name": "*",
1901
1924
  "declaration": {
1902
1925
  "name": "*",
1903
- "package": "./accordion.template"
1904
- }
1905
- },
1906
- {
1907
- "kind": "js",
1908
- "name": "*",
1909
- "declaration": {
1910
- "name": "*",
1911
- "package": "./accordion.styles"
1926
+ "package": "./affix-mixin"
1912
1927
  }
1913
1928
  },
1914
1929
  {
@@ -1916,22 +1931,7 @@
1916
1931
  "name": "*",
1917
1932
  "declaration": {
1918
1933
  "name": "*",
1919
- "package": "./accordion"
1920
- }
1921
- }
1922
- ]
1923
- },
1924
- {
1925
- "kind": "javascript-module",
1926
- "path": "src/_config/index.ts",
1927
- "declarations": [],
1928
- "exports": [
1929
- {
1930
- "kind": "js",
1931
- "name": "*",
1932
- "declaration": {
1933
- "name": "*",
1934
- "package": "./styles"
1934
+ "package": "./base-file-component"
1935
1935
  }
1936
1936
  },
1937
1937
  {
@@ -1939,7 +1939,7 @@
1939
1939
  "name": "*",
1940
1940
  "declaration": {
1941
1941
  "name": "*",
1942
- "package": "./tokens"
1942
+ "package": "./field-styles"
1943
1943
  }
1944
1944
  },
1945
1945
  {
@@ -1947,18 +1947,41 @@
1947
1947
  "name": "*",
1948
1948
  "declaration": {
1949
1949
  "name": "*",
1950
- "package": "./values"
1950
+ "package": "./icons"
1951
1951
  }
1952
1952
  }
1953
1953
  ]
1954
1954
  },
1955
1955
  {
1956
1956
  "kind": "javascript-module",
1957
- "path": "src/accordion-item/accordion-item.styles.ts",
1957
+ "path": "src/actions-menu/actions-menu.styles.ts",
1958
1958
  "declarations": [
1959
1959
  {
1960
1960
  "kind": "function",
1961
- "name": "foundationAccordionItemStyles",
1961
+ "name": "actionsMenuBaseStyles",
1962
+ "return": {
1963
+ "type": {
1964
+ "text": "ElementStyles"
1965
+ }
1966
+ },
1967
+ "parameters": [
1968
+ {
1969
+ "name": "context",
1970
+ "type": {
1971
+ "text": "ElementDefinitionContext"
1972
+ }
1973
+ },
1974
+ {
1975
+ "name": "definition",
1976
+ "type": {
1977
+ "text": "FoundationElementDefinition"
1978
+ }
1979
+ }
1980
+ ]
1981
+ },
1982
+ {
1983
+ "kind": "function",
1984
+ "name": "foundationActionsMenuStyles",
1962
1985
  "return": {
1963
1986
  "type": {
1964
1987
  "text": "ElementStyles"
@@ -1983,156 +2006,269 @@
1983
2006
  "exports": [
1984
2007
  {
1985
2008
  "kind": "js",
1986
- "name": "foundationAccordionItemStyles",
2009
+ "name": "actionsMenuBaseStyles",
1987
2010
  "declaration": {
1988
- "name": "foundationAccordionItemStyles",
1989
- "module": "src/accordion-item/accordion-item.styles.ts"
2011
+ "name": "actionsMenuBaseStyles",
2012
+ "module": "src/actions-menu/actions-menu.styles.ts"
2013
+ }
2014
+ },
2015
+ {
2016
+ "kind": "js",
2017
+ "name": "foundationActionsMenuStyles",
2018
+ "declaration": {
2019
+ "name": "foundationActionsMenuStyles",
2020
+ "module": "src/actions-menu/actions-menu.styles.ts"
1990
2021
  }
1991
2022
  }
1992
2023
  ]
1993
2024
  },
1994
2025
  {
1995
2026
  "kind": "javascript-module",
1996
- "path": "src/accordion-item/accordion-item.template.ts",
2027
+ "path": "src/actions-menu/actions-menu.template.ts",
1997
2028
  "declarations": [
1998
2029
  {
1999
2030
  "kind": "function",
2000
- "name": "foundationAccordionItemTemplate",
2001
- "return": {
2002
- "type": {
2003
- "text": "ViewTemplate<AccordionItem>"
2004
- }
2005
- },
2031
+ "name": "menuTemplate",
2006
2032
  "parameters": [
2007
2033
  {
2008
- "name": "context",
2034
+ "name": "prefix",
2009
2035
  "type": {
2010
- "text": "ElementDefinitionContext"
2036
+ "text": "string"
2011
2037
  }
2012
- },
2038
+ }
2039
+ ]
2040
+ },
2041
+ {
2042
+ "kind": "function",
2043
+ "name": "singleOptionTemplate",
2044
+ "parameters": [
2013
2045
  {
2014
- "name": "definition",
2046
+ "name": "prefix",
2015
2047
  "type": {
2016
- "text": "FoundationElementDefinition"
2048
+ "text": "string"
2017
2049
  }
2018
2050
  }
2019
2051
  ]
2052
+ },
2053
+ {
2054
+ "kind": "variable",
2055
+ "name": "foundationActionsMenuTemplate",
2056
+ "type": {
2057
+ "text": "ViewTemplate<ActionsMenu>"
2058
+ },
2059
+ "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`"
2020
2060
  }
2021
2061
  ],
2022
2062
  "exports": [
2023
2063
  {
2024
2064
  "kind": "js",
2025
- "name": "foundationAccordionItemTemplate",
2065
+ "name": "menuTemplate",
2026
2066
  "declaration": {
2027
- "name": "foundationAccordionItemTemplate",
2028
- "module": "src/accordion-item/accordion-item.template.ts"
2067
+ "name": "menuTemplate",
2068
+ "module": "src/actions-menu/actions-menu.template.ts"
2069
+ }
2070
+ },
2071
+ {
2072
+ "kind": "js",
2073
+ "name": "singleOptionTemplate",
2074
+ "declaration": {
2075
+ "name": "singleOptionTemplate",
2076
+ "module": "src/actions-menu/actions-menu.template.ts"
2077
+ }
2078
+ },
2079
+ {
2080
+ "kind": "js",
2081
+ "name": "foundationActionsMenuTemplate",
2082
+ "declaration": {
2083
+ "name": "foundationActionsMenuTemplate",
2084
+ "module": "src/actions-menu/actions-menu.template.ts"
2029
2085
  }
2030
2086
  }
2031
2087
  ]
2032
2088
  },
2033
2089
  {
2034
2090
  "kind": "javascript-module",
2035
- "path": "src/accordion-item/accordion-item.ts",
2091
+ "path": "src/actions-menu/actions-menu.ts",
2036
2092
  "declarations": [
2037
2093
  {
2038
2094
  "kind": "class",
2039
2095
  "description": "",
2040
- "name": "AccordionItem",
2041
- "superclass": {
2042
- "name": "FASTAccordionItem",
2043
- "package": "@microsoft/fast-components"
2044
- },
2045
- "tagName": "%%prefix%%-accordion-item",
2046
- "customElement": true,
2047
- "attributes": [
2096
+ "name": "ActionsMenu",
2097
+ "members": [
2048
2098
  {
2049
- "name": "heading-level",
2099
+ "kind": "field",
2100
+ "name": "actions",
2050
2101
  "type": {
2051
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2052
- },
2053
- "default": "2",
2054
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2055
- "fieldName": "headinglevel",
2056
- "inheritedFrom": {
2057
- "name": "AccordionItem",
2058
- "module": "src/accordion-item/accordion-item.ts"
2102
+ "text": "ActionMenuItem[]"
2059
2103
  }
2060
2104
  },
2061
2105
  {
2106
+ "kind": "field",
2107
+ "name": "isVertical",
2062
2108
  "type": {
2063
2109
  "text": "boolean"
2064
2110
  },
2065
- "default": "false",
2066
- "description": "Expands or collapses the item.",
2067
- "fieldName": "expanded",
2068
- "inheritedFrom": {
2069
- "name": "AccordionItem",
2070
- "module": "src/accordion-item/accordion-item.ts"
2111
+ "default": "false"
2112
+ },
2113
+ {
2114
+ "kind": "field",
2115
+ "name": "addDefaultActions",
2116
+ "type": {
2117
+ "text": "boolean"
2118
+ },
2119
+ "default": "true"
2120
+ },
2121
+ {
2122
+ "kind": "field",
2123
+ "name": "autoCloseOnAction",
2124
+ "type": {
2125
+ "text": "boolean"
2126
+ },
2127
+ "default": "true"
2128
+ },
2129
+ {
2130
+ "kind": "field",
2131
+ "name": "classNames",
2132
+ "type": {
2133
+ "text": "string"
2071
2134
  }
2072
2135
  },
2073
2136
  {
2074
- "name": "id",
2137
+ "kind": "field",
2138
+ "name": "definition",
2139
+ "type": {
2140
+ "text": "any"
2141
+ }
2142
+ },
2143
+ {
2144
+ "kind": "field",
2145
+ "name": "name",
2075
2146
  "type": {
2076
2147
  "text": "string"
2077
2148
  },
2078
- "description": "The item ID",
2079
- "fieldName": "id",
2080
- "inheritedFrom": {
2081
- "name": "AccordionItem",
2082
- "module": "src/accordion-item/accordion-item.ts"
2149
+ "default": "'Actions'"
2150
+ },
2151
+ {
2152
+ "kind": "field",
2153
+ "name": "open",
2154
+ "type": {
2155
+ "text": "boolean"
2156
+ },
2157
+ "default": "false"
2158
+ },
2159
+ {
2160
+ "kind": "field",
2161
+ "name": "buttonAppearance",
2162
+ "type": {
2163
+ "text": "string"
2083
2164
  }
2084
- }
2085
- ],
2086
- "members": [
2165
+ },
2087
2166
  {
2088
2167
  "kind": "field",
2089
- "name": "headinglevel",
2168
+ "name": "hideDisabled",
2090
2169
  "type": {
2091
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2170
+ "text": "boolean"
2092
2171
  },
2093
- "privacy": "public",
2094
- "default": "2",
2095
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2096
- "inheritedFrom": {
2097
- "name": "AccordionItem",
2098
- "module": "src/accordion-item/accordion-item.ts"
2172
+ "default": "false"
2173
+ },
2174
+ {
2175
+ "kind": "field",
2176
+ "name": "hideMenuSingleOption",
2177
+ "type": {
2178
+ "text": "boolean"
2179
+ },
2180
+ "default": "false"
2181
+ },
2182
+ {
2183
+ "kind": "field",
2184
+ "name": "singleOption",
2185
+ "type": {
2186
+ "text": "ActionMenuItem"
2187
+ }
2188
+ },
2189
+ {
2190
+ "kind": "field",
2191
+ "name": "actionsMenu",
2192
+ "type": {
2193
+ "text": "HTMLElement"
2099
2194
  }
2100
2195
  },
2196
+ {
2197
+ "kind": "method",
2198
+ "name": "definitionChanged",
2199
+ "privacy": "protected",
2200
+ "parameters": [
2201
+ {
2202
+ "name": "oldValue",
2203
+ "type": {
2204
+ "text": "any"
2205
+ }
2206
+ },
2207
+ {
2208
+ "name": "newValue",
2209
+ "type": {
2210
+ "text": "any"
2211
+ }
2212
+ }
2213
+ ]
2214
+ },
2215
+ {
2216
+ "kind": "method",
2217
+ "name": "openChanged",
2218
+ "privacy": "protected"
2219
+ },
2220
+ {
2221
+ "kind": "method",
2222
+ "name": "toggleActionsMenuVisibility"
2223
+ },
2224
+ {
2225
+ "kind": "method",
2226
+ "name": "onActionMenuItemClick",
2227
+ "parameters": [
2228
+ {
2229
+ "name": "callback",
2230
+ "type": {
2231
+ "text": "(rowData) => void | any"
2232
+ }
2233
+ }
2234
+ ]
2235
+ },
2101
2236
  {
2102
2237
  "kind": "field",
2103
- "name": "expanded",
2238
+ "name": "allActions",
2104
2239
  "type": {
2105
- "text": "boolean"
2240
+ "text": "ActionMenuItem[]"
2106
2241
  },
2107
- "privacy": "public",
2108
- "default": "false",
2109
- "description": "Expands or collapses the item.",
2110
- "inheritedFrom": {
2111
- "name": "AccordionItem",
2112
- "module": "src/accordion-item/accordion-item.ts"
2113
- }
2242
+ "readonly": true
2114
2243
  },
2115
2244
  {
2116
2245
  "kind": "field",
2117
- "name": "id",
2118
- "type": {
2119
- "text": "string"
2120
- },
2121
- "privacy": "public",
2122
- "description": "The item ID",
2123
- "inheritedFrom": {
2124
- "name": "AccordionItem",
2125
- "module": "src/accordion-item/accordion-item.ts"
2126
- }
2246
+ "name": "rowData",
2247
+ "readonly": true
2127
2248
  },
2128
2249
  {
2129
- "kind": "field",
2130
- "name": "change",
2131
- "privacy": "private",
2132
- "inheritedFrom": {
2133
- "name": "AccordionItem",
2134
- "module": "src/accordion-item/accordion-item.ts"
2135
- }
2250
+ "kind": "method",
2251
+ "name": "getLabel",
2252
+ "parameters": [
2253
+ {
2254
+ "name": "name",
2255
+ "type": {
2256
+ "text": "string | ((rowData: any) => string)"
2257
+ }
2258
+ }
2259
+ ]
2260
+ },
2261
+ {
2262
+ "kind": "method",
2263
+ "name": "getTemplate",
2264
+ "parameters": [
2265
+ {
2266
+ "name": "prefix",
2267
+ "type": {
2268
+ "text": "string"
2269
+ }
2270
+ }
2271
+ ]
2136
2272
  },
2137
2273
  {
2138
2274
  "kind": "field",
@@ -2246,78 +2382,107 @@
2246
2382
  }
2247
2383
  }
2248
2384
  ],
2249
- "events": [
2385
+ "attributes": [
2250
2386
  {
2251
- "description": "Fires a custom 'change' event when the button is invoked",
2252
- "name": "change",
2253
- "inheritedFrom": {
2254
- "name": "AccordionItem",
2255
- "module": "src/accordion-item/accordion-item.ts"
2256
- }
2387
+ "name": "is-vertical",
2388
+ "type": {
2389
+ "text": "boolean"
2390
+ },
2391
+ "default": "false",
2392
+ "fieldName": "isVertical"
2393
+ },
2394
+ {
2395
+ "name": "add-default-actions",
2396
+ "type": {
2397
+ "text": "boolean"
2398
+ },
2399
+ "default": "true",
2400
+ "fieldName": "addDefaultActions"
2401
+ },
2402
+ {
2403
+ "name": "auto-close-on-action",
2404
+ "type": {
2405
+ "text": "boolean"
2406
+ },
2407
+ "default": "true",
2408
+ "fieldName": "autoCloseOnAction"
2409
+ },
2410
+ {
2411
+ "name": "name",
2412
+ "type": {
2413
+ "text": "string"
2414
+ },
2415
+ "default": "'Actions'",
2416
+ "fieldName": "name"
2417
+ },
2418
+ {
2419
+ "name": "open",
2420
+ "type": {
2421
+ "text": "boolean"
2422
+ },
2423
+ "default": "false",
2424
+ "fieldName": "open"
2425
+ },
2426
+ {
2427
+ "name": "buttonAppearance",
2428
+ "type": {
2429
+ "text": "string"
2430
+ },
2431
+ "fieldName": "buttonAppearance"
2432
+ },
2433
+ {
2434
+ "name": "hide-disabled",
2435
+ "type": {
2436
+ "text": "boolean"
2437
+ },
2438
+ "default": "false",
2439
+ "fieldName": "hideDisabled"
2440
+ },
2441
+ {
2442
+ "name": "hide-menu-single-option",
2443
+ "type": {
2444
+ "text": "boolean"
2445
+ },
2446
+ "default": "false",
2447
+ "fieldName": "hideMenuSingleOption"
2257
2448
  }
2258
- ]
2259
- },
2260
- {
2261
- "kind": "variable",
2262
- "name": "foundationAccordionItemShadowOptions",
2263
- "type": {
2264
- "text": "ShadowRootInit"
2265
- },
2266
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2267
- },
2268
- {
2269
- "kind": "variable",
2270
- "name": "defaultAccordionItemConfig",
2271
- "type": {
2272
- "text": "object"
2449
+ ],
2450
+ "superclass": {
2451
+ "name": "FoundationElement",
2452
+ "package": "@microsoft/fast-foundation"
2273
2453
  },
2274
- "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}"
2454
+ "tagName": "%%prefix%%-actions-menu",
2455
+ "customElement": true
2275
2456
  },
2276
2457
  {
2277
2458
  "kind": "variable",
2278
- "name": "foundationAccordionItem",
2279
- "description": "The Foundation Accordion Item",
2459
+ "name": "foundationActionsMenu",
2460
+ "description": "The Foundation Actions Menu",
2280
2461
  "privacy": "public"
2281
2462
  }
2282
2463
  ],
2283
2464
  "exports": [
2284
2465
  {
2285
2466
  "kind": "js",
2286
- "name": "AccordionItem",
2287
- "declaration": {
2288
- "name": "AccordionItem",
2289
- "module": "src/accordion-item/accordion-item.ts"
2290
- }
2291
- },
2292
- {
2293
- "kind": "js",
2294
- "name": "foundationAccordionItemShadowOptions",
2295
- "declaration": {
2296
- "name": "foundationAccordionItemShadowOptions",
2297
- "module": "src/accordion-item/accordion-item.ts"
2298
- }
2299
- },
2300
- {
2301
- "kind": "js",
2302
- "name": "defaultAccordionItemConfig",
2467
+ "name": "ActionsMenu",
2303
2468
  "declaration": {
2304
- "name": "defaultAccordionItemConfig",
2305
- "module": "src/accordion-item/accordion-item.ts"
2469
+ "name": "ActionsMenu",
2470
+ "module": "src/actions-menu/actions-menu.ts"
2306
2471
  }
2307
2472
  },
2308
2473
  {
2309
2474
  "kind": "js",
2310
- "name": "foundationAccordionItem",
2475
+ "name": "foundationActionsMenu",
2311
2476
  "declaration": {
2312
- "name": "foundationAccordionItem",
2313
- "module": "src/accordion-item/accordion-item.ts"
2477
+ "name": "foundationActionsMenu",
2478
+ "module": "src/actions-menu/actions-menu.ts"
2314
2479
  }
2315
2480
  }
2316
2481
  ]
2317
2482
  },
2318
2483
  {
2319
2484
  "kind": "javascript-module",
2320
- "path": "src/accordion-item/index.ts",
2485
+ "path": "src/actions-menu/index.ts",
2321
2486
  "declarations": [],
2322
2487
  "exports": [
2323
2488
  {
@@ -2325,15 +2490,7 @@
2325
2490
  "name": "*",
2326
2491
  "declaration": {
2327
2492
  "name": "*",
2328
- "package": "./accordion-item.template"
2329
- }
2330
- },
2331
- {
2332
- "kind": "js",
2333
- "name": "*",
2334
- "declaration": {
2335
- "name": "*",
2336
- "package": "./accordion-item.styles"
2493
+ "package": "./actions-menu.styles"
2337
2494
  }
2338
2495
  },
2339
2496
  {
@@ -2341,210 +2498,130 @@
2341
2498
  "name": "*",
2342
2499
  "declaration": {
2343
2500
  "name": "*",
2344
- "package": "./accordion-item"
2345
- }
2346
- }
2347
- ]
2348
- },
2349
- {
2350
- "kind": "javascript-module",
2351
- "path": "src/actions-menu/actions-menu.styles.ts",
2352
- "declarations": [
2353
- {
2354
- "kind": "function",
2355
- "name": "actionsMenuBaseStyles",
2356
- "return": {
2357
- "type": {
2358
- "text": "ElementStyles"
2359
- }
2360
- },
2361
- "parameters": [
2362
- {
2363
- "name": "context",
2364
- "type": {
2365
- "text": "ElementDefinitionContext"
2366
- }
2367
- },
2368
- {
2369
- "name": "definition",
2370
- "type": {
2371
- "text": "FoundationElementDefinition"
2372
- }
2373
- }
2374
- ]
2375
- },
2376
- {
2377
- "kind": "function",
2378
- "name": "foundationActionsMenuStyles",
2379
- "return": {
2380
- "type": {
2381
- "text": "ElementStyles"
2382
- }
2383
- },
2384
- "parameters": [
2385
- {
2386
- "name": "context",
2387
- "type": {
2388
- "text": "ElementDefinitionContext"
2389
- }
2390
- },
2391
- {
2392
- "name": "definition",
2393
- "type": {
2394
- "text": "FoundationElementDefinition"
2395
- }
2396
- }
2397
- ]
2398
- }
2399
- ],
2400
- "exports": [
2401
- {
2402
- "kind": "js",
2403
- "name": "actionsMenuBaseStyles",
2404
- "declaration": {
2405
- "name": "actionsMenuBaseStyles",
2406
- "module": "src/actions-menu/actions-menu.styles.ts"
2501
+ "package": "./actions-menu.template"
2407
2502
  }
2408
2503
  },
2409
2504
  {
2410
2505
  "kind": "js",
2411
- "name": "foundationActionsMenuStyles",
2506
+ "name": "*",
2412
2507
  "declaration": {
2413
- "name": "foundationActionsMenuStyles",
2414
- "module": "src/actions-menu/actions-menu.styles.ts"
2508
+ "name": "*",
2509
+ "package": "./actions-menu"
2415
2510
  }
2416
2511
  }
2417
2512
  ]
2418
2513
  },
2419
2514
  {
2420
2515
  "kind": "javascript-module",
2421
- "path": "src/actions-menu/actions-menu.template.ts",
2516
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2422
2517
  "declarations": [
2423
- {
2424
- "kind": "function",
2425
- "name": "menuTemplate",
2426
- "parameters": [
2427
- {
2428
- "name": "prefix",
2429
- "type": {
2430
- "text": "string"
2431
- }
2432
- }
2433
- ]
2434
- },
2435
- {
2436
- "kind": "function",
2437
- "name": "singleOptionTemplate",
2438
- "parameters": [
2439
- {
2440
- "name": "prefix",
2441
- "type": {
2442
- "text": "string"
2443
- }
2444
- }
2445
- ]
2446
- },
2447
2518
  {
2448
2519
  "kind": "variable",
2449
- "name": "foundationActionsMenuTemplate",
2450
- "type": {
2451
- "text": "ViewTemplate<ActionsMenu>"
2452
- },
2453
- "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`"
2520
+ "name": "foundationAiCriteriaSearchStyles",
2521
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2454
2522
  }
2455
2523
  ],
2456
2524
  "exports": [
2457
2525
  {
2458
2526
  "kind": "js",
2459
- "name": "menuTemplate",
2527
+ "name": "foundationAiCriteriaSearchStyles",
2460
2528
  "declaration": {
2461
- "name": "menuTemplate",
2462
- "module": "src/actions-menu/actions-menu.template.ts"
2529
+ "name": "foundationAiCriteriaSearchStyles",
2530
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2463
2531
  }
2464
- },
2532
+ }
2533
+ ]
2534
+ },
2535
+ {
2536
+ "kind": "javascript-module",
2537
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2538
+ "declarations": [
2465
2539
  {
2466
- "kind": "js",
2467
- "name": "singleOptionTemplate",
2468
- "declaration": {
2469
- "name": "singleOptionTemplate",
2470
- "module": "src/actions-menu/actions-menu.template.ts"
2471
- }
2472
- },
2540
+ "kind": "variable",
2541
+ "name": "foundationAiCriteriaSearchTemplate",
2542
+ "type": {
2543
+ "text": "ViewTemplate<AiCriteriaSearch>"
2544
+ },
2545
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2546
+ }
2547
+ ],
2548
+ "exports": [
2473
2549
  {
2474
2550
  "kind": "js",
2475
- "name": "foundationActionsMenuTemplate",
2551
+ "name": "foundationAiCriteriaSearchTemplate",
2476
2552
  "declaration": {
2477
- "name": "foundationActionsMenuTemplate",
2478
- "module": "src/actions-menu/actions-menu.template.ts"
2553
+ "name": "foundationAiCriteriaSearchTemplate",
2554
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2479
2555
  }
2480
2556
  }
2481
2557
  ]
2482
2558
  },
2483
2559
  {
2484
2560
  "kind": "javascript-module",
2485
- "path": "src/actions-menu/actions-menu.ts",
2561
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2486
2562
  "declarations": [
2487
2563
  {
2488
2564
  "kind": "class",
2489
- "description": "",
2490
- "name": "ActionsMenu",
2565
+ "description": "Natural-language criteria search input with AI interpretation.",
2566
+ "name": "AiCriteriaSearch",
2491
2567
  "members": [
2492
2568
  {
2493
2569
  "kind": "field",
2494
- "name": "actions",
2570
+ "name": "providerRegistry",
2495
2571
  "type": {
2496
- "text": "ActionMenuItem[]"
2572
+ "text": "AIProviderRegistry"
2497
2573
  }
2498
2574
  },
2499
2575
  {
2500
2576
  "kind": "field",
2501
- "name": "isVertical",
2577
+ "name": "placeholder",
2502
2578
  "type": {
2503
- "text": "boolean"
2579
+ "text": "string"
2504
2580
  },
2505
- "default": "false"
2581
+ "default": "'Describe your search criteria in natural language...'"
2506
2582
  },
2507
2583
  {
2508
2584
  "kind": "field",
2509
- "name": "addDefaultActions",
2585
+ "name": "disabled",
2510
2586
  "type": {
2511
2587
  "text": "boolean"
2512
- },
2513
- "default": "true"
2588
+ }
2514
2589
  },
2515
2590
  {
2516
2591
  "kind": "field",
2517
- "name": "autoCloseOnAction",
2592
+ "name": "inputValue",
2518
2593
  "type": {
2519
- "text": "boolean"
2594
+ "text": "string"
2520
2595
  },
2521
- "default": "true"
2596
+ "default": "''"
2522
2597
  },
2523
2598
  {
2524
2599
  "kind": "field",
2525
- "name": "classNames",
2600
+ "name": "isInterpreting",
2526
2601
  "type": {
2527
- "text": "string"
2528
- }
2602
+ "text": "boolean"
2603
+ },
2604
+ "default": "false"
2529
2605
  },
2530
2606
  {
2531
2607
  "kind": "field",
2532
- "name": "definition",
2608
+ "name": "lastValidCriteria",
2533
2609
  "type": {
2534
- "text": "any"
2535
- }
2610
+ "text": "string | null"
2611
+ },
2612
+ "default": "null"
2536
2613
  },
2537
2614
  {
2538
2615
  "kind": "field",
2539
- "name": "name",
2616
+ "name": "activeGroups",
2540
2617
  "type": {
2541
- "text": "string"
2618
+ "text": "CriteriaGroup[]"
2542
2619
  },
2543
- "default": "'Actions'"
2620
+ "default": "[]"
2544
2621
  },
2545
2622
  {
2546
2623
  "kind": "field",
2547
- "name": "open",
2624
+ "name": "showingChips",
2548
2625
  "type": {
2549
2626
  "text": "boolean"
2550
2627
  },
@@ -2552,14 +2629,15 @@
2552
2629
  },
2553
2630
  {
2554
2631
  "kind": "field",
2555
- "name": "buttonAppearance",
2632
+ "name": "fieldMetadata",
2556
2633
  "type": {
2557
- "text": "string"
2558
- }
2634
+ "text": "MetadataDetail[] | string[]"
2635
+ },
2636
+ "default": "[]"
2559
2637
  },
2560
2638
  {
2561
2639
  "kind": "field",
2562
- "name": "hideDisabled",
2640
+ "name": "isRecording",
2563
2641
  "type": {
2564
2642
  "text": "boolean"
2565
2643
  },
@@ -2567,102 +2645,125 @@
2567
2645
  },
2568
2646
  {
2569
2647
  "kind": "field",
2570
- "name": "hideMenuSingleOption",
2648
+ "name": "textAreaRef",
2571
2649
  "type": {
2572
- "text": "boolean"
2650
+ "text": "HTMLTextAreaElement"
2573
2651
  },
2574
- "default": "false"
2652
+ "privacy": "public"
2575
2653
  },
2576
2654
  {
2577
2655
  "kind": "field",
2578
- "name": "singleOption",
2656
+ "name": "stopRecording",
2579
2657
  "type": {
2580
- "text": "ActionMenuItem"
2581
- }
2658
+ "text": "(() => void) | null"
2659
+ },
2660
+ "privacy": "private",
2661
+ "default": "null"
2582
2662
  },
2583
2663
  {
2584
2664
  "kind": "field",
2585
- "name": "actionsMenu",
2665
+ "name": "speechApplyDebounceTimer",
2586
2666
  "type": {
2587
- "text": "HTMLElement"
2588
- }
2667
+ "text": "ReturnType<typeof setTimeout> | null"
2668
+ },
2669
+ "privacy": "private",
2670
+ "default": "null"
2671
+ },
2672
+ {
2673
+ "kind": "field",
2674
+ "name": "speechAvailable",
2675
+ "type": {
2676
+ "text": "boolean"
2677
+ },
2678
+ "readonly": true
2679
+ },
2680
+ {
2681
+ "kind": "field",
2682
+ "name": "criteriaChips",
2683
+ "type": {
2684
+ "text": "CriteriaChip[]"
2685
+ },
2686
+ "readonly": true
2589
2687
  },
2590
2688
  {
2591
2689
  "kind": "method",
2592
- "name": "definitionChanged",
2593
- "privacy": "protected",
2690
+ "name": "getFieldLabel",
2691
+ "privacy": "private",
2692
+ "return": {
2693
+ "type": {
2694
+ "text": "string"
2695
+ }
2696
+ },
2594
2697
  "parameters": [
2595
2698
  {
2596
- "name": "oldValue",
2597
- "type": {
2598
- "text": "any"
2599
- }
2600
- },
2601
- {
2602
- "name": "newValue",
2699
+ "name": "fieldName",
2603
2700
  "type": {
2604
- "text": "any"
2701
+ "text": "string"
2605
2702
  }
2606
2703
  }
2607
2704
  ]
2608
2705
  },
2609
2706
  {
2610
2707
  "kind": "method",
2611
- "name": "openChanged",
2612
- "privacy": "protected"
2613
- },
2614
- {
2615
- "kind": "method",
2616
- "name": "toggleActionsMenuVisibility"
2708
+ "name": "toggleCriteriaView",
2709
+ "return": {
2710
+ "type": {
2711
+ "text": "void"
2712
+ }
2713
+ }
2617
2714
  },
2618
2715
  {
2619
2716
  "kind": "method",
2620
- "name": "onActionMenuItemClick",
2717
+ "name": "removeChip",
2718
+ "return": {
2719
+ "type": {
2720
+ "text": "void"
2721
+ }
2722
+ },
2621
2723
  "parameters": [
2622
2724
  {
2623
- "name": "callback",
2725
+ "name": "groupIndex",
2624
2726
  "type": {
2625
- "text": "(rowData) => void | any"
2727
+ "text": "number"
2728
+ }
2729
+ },
2730
+ {
2731
+ "name": "clauseIndex",
2732
+ "type": {
2733
+ "text": "number"
2626
2734
  }
2627
2735
  }
2628
2736
  ]
2629
2737
  },
2630
2738
  {
2631
- "kind": "field",
2632
- "name": "allActions",
2633
- "type": {
2634
- "text": "ActionMenuItem[]"
2635
- },
2636
- "readonly": true
2739
+ "kind": "method",
2740
+ "name": "clearChips",
2741
+ "return": {
2742
+ "type": {
2743
+ "text": "void"
2744
+ }
2745
+ }
2637
2746
  },
2638
2747
  {
2639
- "kind": "field",
2640
- "name": "rowData",
2641
- "readonly": true
2748
+ "kind": "method",
2749
+ "name": "handleSubmit"
2642
2750
  },
2643
2751
  {
2644
2752
  "kind": "method",
2645
- "name": "getLabel",
2646
- "parameters": [
2647
- {
2648
- "name": "name",
2649
- "type": {
2650
- "text": "string | ((rowData: any) => string)"
2651
- }
2652
- }
2653
- ]
2753
+ "name": "handleBlur"
2754
+ },
2755
+ {
2756
+ "kind": "method",
2757
+ "name": "clear"
2758
+ },
2759
+ {
2760
+ "kind": "method",
2761
+ "name": "toggleSpeechInput"
2654
2762
  },
2655
2763
  {
2656
2764
  "kind": "method",
2657
- "name": "getTemplate",
2658
- "parameters": [
2659
- {
2660
- "name": "prefix",
2661
- "type": {
2662
- "text": "string"
2663
- }
2664
- }
2665
- ]
2765
+ "name": "clearSpeechApplyDebounce",
2766
+ "privacy": "private"
2666
2767
  },
2667
2768
  {
2668
2769
  "kind": "field",
@@ -2776,115 +2877,154 @@
2776
2877
  }
2777
2878
  }
2778
2879
  ],
2779
- "attributes": [
2780
- {
2781
- "name": "is-vertical",
2782
- "type": {
2783
- "text": "boolean"
2784
- },
2785
- "default": "false",
2786
- "fieldName": "isVertical"
2787
- },
2788
- {
2789
- "name": "add-default-actions",
2790
- "type": {
2791
- "text": "boolean"
2792
- },
2793
- "default": "true",
2794
- "fieldName": "addDefaultActions"
2795
- },
2796
- {
2797
- "name": "auto-close-on-action",
2798
- "type": {
2799
- "text": "boolean"
2800
- },
2801
- "default": "true",
2802
- "fieldName": "autoCloseOnAction"
2803
- },
2880
+ "events": [
2804
2881
  {
2805
- "name": "name",
2806
- "type": {
2807
- "text": "string"
2808
- },
2809
- "default": "'Actions'",
2810
- "fieldName": "name"
2882
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2883
+ "name": "criteria-changed"
2811
2884
  },
2812
2885
  {
2813
- "name": "open",
2814
- "type": {
2815
- "text": "boolean"
2816
- },
2817
- "default": "false",
2818
- "fieldName": "open"
2819
- },
2886
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2887
+ "name": "validation-errors"
2888
+ }
2889
+ ],
2890
+ "attributes": [
2820
2891
  {
2821
- "name": "buttonAppearance",
2892
+ "name": "placeholder",
2822
2893
  "type": {
2823
2894
  "text": "string"
2824
2895
  },
2825
- "fieldName": "buttonAppearance"
2826
- },
2827
- {
2828
- "name": "hide-disabled",
2829
- "type": {
2830
- "text": "boolean"
2831
- },
2832
- "default": "false",
2833
- "fieldName": "hideDisabled"
2896
+ "default": "'Describe your search criteria in natural language...'",
2897
+ "fieldName": "placeholder"
2834
2898
  },
2835
2899
  {
2836
- "name": "hide-menu-single-option",
2837
2900
  "type": {
2838
2901
  "text": "boolean"
2839
2902
  },
2840
- "default": "false",
2841
- "fieldName": "hideMenuSingleOption"
2903
+ "fieldName": "disabled"
2842
2904
  }
2843
2905
  ],
2844
2906
  "superclass": {
2845
2907
  "name": "FoundationElement",
2846
2908
  "package": "@microsoft/fast-foundation"
2847
2909
  },
2848
- "tagName": "%%prefix%%-actions-menu",
2910
+ "tagName": "%%prefix%%-ai-criteria-search",
2849
2911
  "customElement": true
2850
2912
  },
2851
2913
  {
2852
2914
  "kind": "variable",
2853
- "name": "foundationActionsMenu",
2854
- "description": "The Foundation Actions Menu",
2855
- "privacy": "public"
2915
+ "name": "foundationAiCriteriaSearchShadowOptions",
2916
+ "type": {
2917
+ "text": "ShadowRootInit"
2918
+ },
2919
+ "default": "undefined"
2920
+ },
2921
+ {
2922
+ "kind": "variable",
2923
+ "name": "defaultAiCriteriaSearchConfig",
2924
+ "type": {
2925
+ "text": "object"
2926
+ },
2927
+ "default": "{}"
2928
+ },
2929
+ {
2930
+ "kind": "variable",
2931
+ "name": "foundationAiCriteriaSearch"
2856
2932
  }
2857
2933
  ],
2858
2934
  "exports": [
2859
2935
  {
2860
2936
  "kind": "js",
2861
- "name": "ActionsMenu",
2937
+ "name": "AiCriteriaSearch",
2862
2938
  "declaration": {
2863
- "name": "ActionsMenu",
2864
- "module": "src/actions-menu/actions-menu.ts"
2939
+ "name": "AiCriteriaSearch",
2940
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2865
2941
  }
2866
2942
  },
2867
2943
  {
2868
2944
  "kind": "js",
2869
- "name": "foundationActionsMenu",
2945
+ "name": "foundationAiCriteriaSearchShadowOptions",
2870
2946
  "declaration": {
2871
- "name": "foundationActionsMenu",
2872
- "module": "src/actions-menu/actions-menu.ts"
2947
+ "name": "foundationAiCriteriaSearchShadowOptions",
2948
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2949
+ }
2950
+ },
2951
+ {
2952
+ "kind": "js",
2953
+ "name": "defaultAiCriteriaSearchConfig",
2954
+ "declaration": {
2955
+ "name": "defaultAiCriteriaSearchConfig",
2956
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2957
+ }
2958
+ },
2959
+ {
2960
+ "kind": "js",
2961
+ "name": "foundationAiCriteriaSearch",
2962
+ "declaration": {
2963
+ "name": "foundationAiCriteriaSearch",
2964
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2873
2965
  }
2874
2966
  }
2875
2967
  ]
2876
2968
  },
2877
2969
  {
2878
2970
  "kind": "javascript-module",
2879
- "path": "src/actions-menu/index.ts",
2971
+ "path": "src/ai-criteria-search/index.ts",
2880
2972
  "declarations": [],
2881
2973
  "exports": [
2974
+ {
2975
+ "kind": "js",
2976
+ "name": "AiCriteriaSearch",
2977
+ "declaration": {
2978
+ "name": "AiCriteriaSearch",
2979
+ "module": "./ai-criteria-search"
2980
+ }
2981
+ },
2982
+ {
2983
+ "kind": "js",
2984
+ "name": "defaultAiCriteriaSearchConfig",
2985
+ "declaration": {
2986
+ "name": "defaultAiCriteriaSearchConfig",
2987
+ "module": "./ai-criteria-search"
2988
+ }
2989
+ },
2990
+ {
2991
+ "kind": "js",
2992
+ "name": "foundationAiCriteriaSearch",
2993
+ "declaration": {
2994
+ "name": "foundationAiCriteriaSearch",
2995
+ "module": "./ai-criteria-search"
2996
+ }
2997
+ },
2998
+ {
2999
+ "kind": "js",
3000
+ "name": "foundationAiCriteriaSearchShadowOptions",
3001
+ "declaration": {
3002
+ "name": "foundationAiCriteriaSearchShadowOptions",
3003
+ "module": "./ai-criteria-search"
3004
+ }
3005
+ },
3006
+ {
3007
+ "kind": "js",
3008
+ "name": "foundationAiCriteriaSearchStyles",
3009
+ "declaration": {
3010
+ "name": "foundationAiCriteriaSearchStyles",
3011
+ "module": "./ai-criteria-search.styles"
3012
+ }
3013
+ },
3014
+ {
3015
+ "kind": "js",
3016
+ "name": "foundationAiCriteriaSearchTemplate",
3017
+ "declaration": {
3018
+ "name": "foundationAiCriteriaSearchTemplate",
3019
+ "module": "./ai-criteria-search.template"
3020
+ }
3021
+ },
2882
3022
  {
2883
3023
  "kind": "js",
2884
3024
  "name": "*",
2885
3025
  "declaration": {
2886
3026
  "name": "*",
2887
- "package": "./actions-menu.styles"
3027
+ "package": "./validation/criteria-ir"
2888
3028
  }
2889
3029
  },
2890
3030
  {
@@ -2892,7 +3032,7 @@
2892
3032
  "name": "*",
2893
3033
  "declaration": {
2894
3034
  "name": "*",
2895
- "package": "./actions-menu.template"
3035
+ "package": "./validation/operator-map"
2896
3036
  }
2897
3037
  },
2898
3038
  {
@@ -2900,64 +3040,157 @@
2900
3040
  "name": "*",
2901
3041
  "declaration": {
2902
3042
  "name": "*",
2903
- "package": "./actions-menu"
3043
+ "package": "./validation/schema-validator"
2904
3044
  }
2905
3045
  }
2906
3046
  ]
2907
3047
  },
2908
3048
  {
2909
3049
  "kind": "javascript-module",
2910
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3050
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3051
+ "declarations": [
3052
+ {
3053
+ "kind": "function",
3054
+ "name": "formatValidationErrors",
3055
+ "return": {
3056
+ "type": {
3057
+ "text": "string"
3058
+ }
3059
+ },
3060
+ "parameters": [
3061
+ {
3062
+ "name": "errors",
3063
+ "type": {
3064
+ "text": "ValidationError[]"
3065
+ }
3066
+ }
3067
+ ],
3068
+ "description": "Formats validation errors into a user-friendly message."
3069
+ },
3070
+ {
3071
+ "kind": "function",
3072
+ "name": "showCriteriaError",
3073
+ "return": {
3074
+ "type": {
3075
+ "text": "void"
3076
+ }
3077
+ },
3078
+ "parameters": [
3079
+ {
3080
+ "name": "title",
3081
+ "type": {
3082
+ "text": "string"
3083
+ },
3084
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3085
+ },
3086
+ {
3087
+ "name": "body",
3088
+ "type": {
3089
+ "text": "string"
3090
+ },
3091
+ "description": "Error message to display"
3092
+ },
3093
+ {
3094
+ "name": "tagName",
3095
+ "type": {
3096
+ "text": "string"
3097
+ },
3098
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3099
+ }
3100
+ ],
3101
+ "description": "Shows a criteria error as a toast notification."
3102
+ }
3103
+ ],
3104
+ "exports": [
3105
+ {
3106
+ "kind": "js",
3107
+ "name": "formatValidationErrors",
3108
+ "declaration": {
3109
+ "name": "formatValidationErrors",
3110
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3111
+ }
3112
+ },
3113
+ {
3114
+ "kind": "js",
3115
+ "name": "showCriteriaError",
3116
+ "declaration": {
3117
+ "name": "showCriteriaError",
3118
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3119
+ }
3120
+ }
3121
+ ]
3122
+ },
3123
+ {
3124
+ "kind": "javascript-module",
3125
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2911
3126
  "declarations": [
2912
3127
  {
2913
- "kind": "variable",
2914
- "name": "foundationAiCriteriaSearchStyles",
2915
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
3128
+ "kind": "function",
3129
+ "name": "foundationAiIndicatorStyles",
3130
+ "return": {
3131
+ "type": {
3132
+ "text": "ElementStyles"
3133
+ }
3134
+ },
3135
+ "parameters": [
3136
+ {
3137
+ "name": "context",
3138
+ "type": {
3139
+ "text": "ElementDefinitionContext"
3140
+ }
3141
+ },
3142
+ {
3143
+ "name": "definition",
3144
+ "type": {
3145
+ "text": "FoundationElementDefinition"
3146
+ }
3147
+ }
3148
+ ]
2916
3149
  }
2917
3150
  ],
2918
3151
  "exports": [
2919
3152
  {
2920
3153
  "kind": "js",
2921
- "name": "foundationAiCriteriaSearchStyles",
3154
+ "name": "foundationAiIndicatorStyles",
2922
3155
  "declaration": {
2923
- "name": "foundationAiCriteriaSearchStyles",
2924
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3156
+ "name": "foundationAiIndicatorStyles",
3157
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2925
3158
  }
2926
3159
  }
2927
3160
  ]
2928
3161
  },
2929
3162
  {
2930
3163
  "kind": "javascript-module",
2931
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3164
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2932
3165
  "declarations": [
2933
3166
  {
2934
3167
  "kind": "variable",
2935
- "name": "foundationAiCriteriaSearchTemplate",
3168
+ "name": "foundationAiIndicatorTemplate",
2936
3169
  "type": {
2937
- "text": "ViewTemplate<AiCriteriaSearch>"
3170
+ "text": "ViewTemplate<AiIndicator>"
2938
3171
  },
2939
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3172
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2940
3173
  }
2941
3174
  ],
2942
3175
  "exports": [
2943
3176
  {
2944
3177
  "kind": "js",
2945
- "name": "foundationAiCriteriaSearchTemplate",
3178
+ "name": "foundationAiIndicatorTemplate",
2946
3179
  "declaration": {
2947
- "name": "foundationAiCriteriaSearchTemplate",
2948
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3180
+ "name": "foundationAiIndicatorTemplate",
3181
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2949
3182
  }
2950
3183
  }
2951
3184
  ]
2952
3185
  },
2953
3186
  {
2954
3187
  "kind": "javascript-module",
2955
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3188
+ "path": "src/ai-indicator/ai-indicator.ts",
2956
3189
  "declarations": [
2957
3190
  {
2958
3191
  "kind": "class",
2959
- "description": "Natural-language criteria search input with AI interpretation.",
2960
- "name": "AiCriteriaSearch",
3192
+ "description": "",
3193
+ "name": "AiIndicator",
2961
3194
  "members": [
2962
3195
  {
2963
3196
  "kind": "field",
@@ -2968,54 +3201,25 @@
2968
3201
  },
2969
3202
  {
2970
3203
  "kind": "field",
2971
- "name": "placeholder",
2972
- "type": {
2973
- "text": "string"
2974
- },
2975
- "default": "'Describe your search criteria in natural language...'"
2976
- },
2977
- {
2978
- "kind": "field",
2979
- "name": "disabled",
2980
- "type": {
2981
- "text": "boolean"
2982
- }
2983
- },
2984
- {
2985
- "kind": "field",
2986
- "name": "inputValue",
2987
- "type": {
2988
- "text": "string"
2989
- },
2990
- "default": "''"
2991
- },
2992
- {
2993
- "kind": "field",
2994
- "name": "isInterpreting",
3204
+ "name": "aiProvider",
2995
3205
  "type": {
2996
- "text": "boolean"
3206
+ "text": "AIProvider | undefined"
2997
3207
  },
2998
- "default": "false"
3208
+ "privacy": "private",
3209
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3210
+ "readonly": true
2999
3211
  },
3000
3212
  {
3001
3213
  "kind": "field",
3002
- "name": "lastValidCriteria",
3214
+ "name": "status",
3003
3215
  "type": {
3004
- "text": "string | null"
3216
+ "text": "AIStatus | null"
3005
3217
  },
3006
3218
  "default": "null"
3007
3219
  },
3008
3220
  {
3009
3221
  "kind": "field",
3010
- "name": "activeGroups",
3011
- "type": {
3012
- "text": "CriteriaGroup[]"
3013
- },
3014
- "default": "[]"
3015
- },
3016
- {
3017
- "kind": "field",
3018
- "name": "showingChips",
3222
+ "name": "open",
3019
3223
  "type": {
3020
3224
  "text": "boolean"
3021
3225
  },
@@ -3023,15 +3227,15 @@
3023
3227
  },
3024
3228
  {
3025
3229
  "kind": "field",
3026
- "name": "fieldMetadata",
3230
+ "name": "state",
3027
3231
  "type": {
3028
- "text": "MetadataDetail[] | string[]"
3232
+ "text": "AIIndicatorState"
3029
3233
  },
3030
- "default": "[]"
3234
+ "default": "'none'"
3031
3235
  },
3032
3236
  {
3033
3237
  "kind": "field",
3034
- "name": "isRecording",
3238
+ "name": "isInstalling",
3035
3239
  "type": {
3036
3240
  "text": "boolean"
3037
3241
  },
@@ -3039,33 +3243,29 @@
3039
3243
  },
3040
3244
  {
3041
3245
  "kind": "field",
3042
- "name": "textAreaRef",
3246
+ "name": "pollTimer",
3043
3247
  "type": {
3044
- "text": "HTMLTextAreaElement"
3248
+ "text": "ReturnType<typeof setInterval> | null"
3045
3249
  },
3046
- "privacy": "public"
3250
+ "privacy": "private",
3251
+ "default": "null"
3047
3252
  },
3048
3253
  {
3049
3254
  "kind": "field",
3050
- "name": "stopRecording",
3051
- "type": {
3052
- "text": "(() => void) | null"
3053
- },
3054
- "privacy": "private",
3055
- "default": "null"
3255
+ "name": "clickOutside",
3256
+ "privacy": "private"
3056
3257
  },
3057
3258
  {
3058
3259
  "kind": "field",
3059
- "name": "speechApplyDebounceTimer",
3260
+ "name": "chromeStatusLabel",
3060
3261
  "type": {
3061
- "text": "ReturnType<typeof setTimeout> | null"
3262
+ "text": "string | null"
3062
3263
  },
3063
- "privacy": "private",
3064
- "default": "null"
3264
+ "readonly": true
3065
3265
  },
3066
3266
  {
3067
3267
  "kind": "field",
3068
- "name": "speechAvailable",
3268
+ "name": "canInstall",
3069
3269
  "type": {
3070
3270
  "text": "boolean"
3071
3271
  },
@@ -3073,65 +3273,69 @@
3073
3273
  },
3074
3274
  {
3075
3275
  "kind": "field",
3076
- "name": "criteriaChips",
3276
+ "name": "isDownloading",
3077
3277
  "type": {
3078
- "text": "CriteriaChip[]"
3278
+ "text": "boolean"
3079
3279
  },
3080
3280
  "readonly": true
3081
3281
  },
3082
3282
  {
3083
3283
  "kind": "method",
3084
- "name": "getFieldLabel",
3085
- "privacy": "private",
3284
+ "name": "openChanged",
3086
3285
  "return": {
3087
3286
  "type": {
3088
- "text": "string"
3287
+ "text": "void"
3089
3288
  }
3090
- },
3289
+ }
3290
+ },
3291
+ {
3292
+ "kind": "method",
3293
+ "name": "handleClickOutside",
3294
+ "privacy": "private",
3091
3295
  "parameters": [
3092
3296
  {
3093
- "name": "fieldName",
3297
+ "name": "event",
3094
3298
  "type": {
3095
- "text": "string"
3299
+ "text": "MouseEvent"
3096
3300
  }
3097
3301
  }
3098
3302
  ]
3099
3303
  },
3100
3304
  {
3101
3305
  "kind": "method",
3102
- "name": "toggleCriteriaView",
3306
+ "name": "toggleDropdown"
3307
+ },
3308
+ {
3309
+ "kind": "method",
3310
+ "name": "refreshStatus",
3103
3311
  "return": {
3104
3312
  "type": {
3105
- "text": "void"
3313
+ "text": "Promise<void>"
3106
3314
  }
3107
3315
  }
3108
3316
  },
3109
3317
  {
3110
3318
  "kind": "method",
3111
- "name": "removeChip",
3319
+ "name": "deriveState",
3320
+ "privacy": "private",
3112
3321
  "return": {
3113
3322
  "type": {
3114
- "text": "void"
3323
+ "text": "AIIndicatorState"
3115
3324
  }
3116
3325
  },
3117
3326
  "parameters": [
3118
3327
  {
3119
- "name": "groupIndex",
3120
- "type": {
3121
- "text": "number"
3122
- }
3123
- },
3124
- {
3125
- "name": "clauseIndex",
3328
+ "name": "s",
3126
3329
  "type": {
3127
- "text": "number"
3330
+ "text": "AIStatus | null"
3128
3331
  }
3129
3332
  }
3130
3333
  ]
3131
3334
  },
3132
3335
  {
3133
3336
  "kind": "method",
3134
- "name": "clearChips",
3337
+ "name": "maybeStartPolling",
3338
+ "privacy": "private",
3135
3339
  "return": {
3136
3340
  "type": {
3137
3341
  "text": "void"
@@ -3140,24 +3344,32 @@
3140
3344
  },
3141
3345
  {
3142
3346
  "kind": "method",
3143
- "name": "handleSubmit"
3144
- },
3145
- {
3146
- "kind": "method",
3147
- "name": "handleBlur"
3148
- },
3149
- {
3150
- "kind": "method",
3151
- "name": "clear"
3347
+ "name": "startPolling",
3348
+ "privacy": "private",
3349
+ "return": {
3350
+ "type": {
3351
+ "text": "void"
3352
+ }
3353
+ }
3152
3354
  },
3153
3355
  {
3154
3356
  "kind": "method",
3155
- "name": "toggleSpeechInput"
3357
+ "name": "stopPolling",
3358
+ "privacy": "private",
3359
+ "return": {
3360
+ "type": {
3361
+ "text": "void"
3362
+ }
3363
+ }
3156
3364
  },
3157
3365
  {
3158
3366
  "kind": "method",
3159
- "name": "clearSpeechApplyDebounce",
3160
- "privacy": "private"
3367
+ "name": "onInstall",
3368
+ "return": {
3369
+ "type": {
3370
+ "text": "Promise<void>"
3371
+ }
3372
+ }
3161
3373
  },
3162
3374
  {
3163
3375
  "kind": "field",
@@ -3267,263 +3479,145 @@
3267
3479
  "description": "Defines an element registry function with a set of element definition defaults.",
3268
3480
  "inheritedFrom": {
3269
3481
  "name": "FoundationElement",
3270
- "module": "src/foundation-element/foundation-element.ts"
3271
- }
3272
- }
3273
- ],
3274
- "events": [
3275
- {
3276
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3277
- "name": "criteria-changed"
3278
- },
3279
- {
3280
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3281
- "name": "validation-errors"
3282
- }
3283
- ],
3284
- "attributes": [
3285
- {
3286
- "name": "placeholder",
3287
- "type": {
3288
- "text": "string"
3289
- },
3290
- "default": "'Describe your search criteria in natural language...'",
3291
- "fieldName": "placeholder"
3292
- },
3293
- {
3294
- "type": {
3295
- "text": "boolean"
3296
- },
3297
- "fieldName": "disabled"
3298
- }
3299
- ],
3300
- "superclass": {
3301
- "name": "FoundationElement",
3302
- "package": "@microsoft/fast-foundation"
3303
- },
3304
- "tagName": "%%prefix%%-ai-criteria-search",
3305
- "customElement": true
3306
- },
3307
- {
3308
- "kind": "variable",
3309
- "name": "foundationAiCriteriaSearchShadowOptions",
3310
- "type": {
3311
- "text": "ShadowRootInit"
3312
- },
3313
- "default": "undefined"
3314
- },
3315
- {
3316
- "kind": "variable",
3317
- "name": "defaultAiCriteriaSearchConfig",
3318
- "type": {
3319
- "text": "object"
3482
+ "module": "src/foundation-element/foundation-element.ts"
3483
+ }
3484
+ }
3485
+ ],
3486
+ "superclass": {
3487
+ "name": "FoundationElement",
3488
+ "package": "@microsoft/fast-foundation"
3320
3489
  },
3321
- "default": "{}"
3490
+ "tagName": "%%prefix%%-ai-indicator",
3491
+ "customElement": true
3322
3492
  },
3323
3493
  {
3324
3494
  "kind": "variable",
3325
- "name": "foundationAiCriteriaSearch"
3495
+ "name": "foundationAiIndicator"
3326
3496
  }
3327
3497
  ],
3328
3498
  "exports": [
3329
3499
  {
3330
3500
  "kind": "js",
3331
- "name": "AiCriteriaSearch",
3332
- "declaration": {
3333
- "name": "AiCriteriaSearch",
3334
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3335
- }
3336
- },
3337
- {
3338
- "kind": "js",
3339
- "name": "foundationAiCriteriaSearchShadowOptions",
3340
- "declaration": {
3341
- "name": "foundationAiCriteriaSearchShadowOptions",
3342
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3343
- }
3344
- },
3345
- {
3346
- "kind": "js",
3347
- "name": "defaultAiCriteriaSearchConfig",
3501
+ "name": "AiIndicator",
3348
3502
  "declaration": {
3349
- "name": "defaultAiCriteriaSearchConfig",
3350
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3503
+ "name": "AiIndicator",
3504
+ "module": "src/ai-indicator/ai-indicator.ts"
3351
3505
  }
3352
3506
  },
3353
3507
  {
3354
3508
  "kind": "js",
3355
- "name": "foundationAiCriteriaSearch",
3509
+ "name": "foundationAiIndicator",
3356
3510
  "declaration": {
3357
- "name": "foundationAiCriteriaSearch",
3358
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3511
+ "name": "foundationAiIndicator",
3512
+ "module": "src/ai-indicator/ai-indicator.ts"
3359
3513
  }
3360
3514
  }
3361
3515
  ]
3362
3516
  },
3363
3517
  {
3364
3518
  "kind": "javascript-module",
3365
- "path": "src/ai-criteria-search/index.ts",
3519
+ "path": "src/ai-indicator/index.ts",
3366
3520
  "declarations": [],
3367
3521
  "exports": [
3368
3522
  {
3369
3523
  "kind": "js",
3370
- "name": "AiCriteriaSearch",
3371
- "declaration": {
3372
- "name": "AiCriteriaSearch",
3373
- "module": "./ai-criteria-search"
3374
- }
3375
- },
3376
- {
3377
- "kind": "js",
3378
- "name": "defaultAiCriteriaSearchConfig",
3379
- "declaration": {
3380
- "name": "defaultAiCriteriaSearchConfig",
3381
- "module": "./ai-criteria-search"
3382
- }
3383
- },
3384
- {
3385
- "kind": "js",
3386
- "name": "foundationAiCriteriaSearch",
3387
- "declaration": {
3388
- "name": "foundationAiCriteriaSearch",
3389
- "module": "./ai-criteria-search"
3390
- }
3391
- },
3392
- {
3393
- "kind": "js",
3394
- "name": "foundationAiCriteriaSearchShadowOptions",
3524
+ "name": "AiIndicator",
3395
3525
  "declaration": {
3396
- "name": "foundationAiCriteriaSearchShadowOptions",
3397
- "module": "./ai-criteria-search"
3526
+ "name": "AiIndicator",
3527
+ "module": "./ai-indicator"
3398
3528
  }
3399
3529
  },
3400
3530
  {
3401
3531
  "kind": "js",
3402
- "name": "foundationAiCriteriaSearchStyles",
3532
+ "name": "foundationAiIndicator",
3403
3533
  "declaration": {
3404
- "name": "foundationAiCriteriaSearchStyles",
3405
- "module": "./ai-criteria-search.styles"
3534
+ "name": "foundationAiIndicator",
3535
+ "module": "./ai-indicator"
3406
3536
  }
3407
3537
  },
3408
3538
  {
3409
3539
  "kind": "js",
3410
- "name": "foundationAiCriteriaSearchTemplate",
3540
+ "name": "type",
3411
3541
  "declaration": {
3412
- "name": "foundationAiCriteriaSearchTemplate",
3413
- "module": "./ai-criteria-search.template"
3542
+ "name": "type",
3543
+ "module": "./ai-indicator"
3414
3544
  }
3415
3545
  },
3416
3546
  {
3417
3547
  "kind": "js",
3418
- "name": "*",
3548
+ "name": "AIIndicatorState",
3419
3549
  "declaration": {
3420
- "name": "*",
3421
- "package": "./validation/criteria-ir"
3550
+ "name": "AIIndicatorState",
3551
+ "module": "./ai-indicator"
3422
3552
  }
3423
3553
  },
3424
3554
  {
3425
3555
  "kind": "js",
3426
- "name": "*",
3556
+ "name": "foundationAiIndicatorTemplate",
3427
3557
  "declaration": {
3428
- "name": "*",
3429
- "package": "./validation/operator-map"
3558
+ "name": "foundationAiIndicatorTemplate",
3559
+ "module": "./ai-indicator.template"
3430
3560
  }
3431
3561
  },
3432
3562
  {
3433
3563
  "kind": "js",
3434
- "name": "*",
3564
+ "name": "foundationAiIndicatorStyles",
3435
3565
  "declaration": {
3436
- "name": "*",
3437
- "package": "./validation/schema-validator"
3566
+ "name": "foundationAiIndicatorStyles",
3567
+ "module": "./ai-indicator.styles"
3438
3568
  }
3439
3569
  }
3440
3570
  ]
3441
3571
  },
3442
3572
  {
3443
3573
  "kind": "javascript-module",
3444
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3574
+ "path": "src/accordion-item/accordion-item.styles.ts",
3445
3575
  "declarations": [
3446
3576
  {
3447
3577
  "kind": "function",
3448
- "name": "formatValidationErrors",
3578
+ "name": "foundationAccordionItemStyles",
3449
3579
  "return": {
3450
3580
  "type": {
3451
- "text": "string"
3581
+ "text": "ElementStyles"
3452
3582
  }
3453
3583
  },
3454
3584
  "parameters": [
3455
3585
  {
3456
- "name": "errors",
3586
+ "name": "context",
3457
3587
  "type": {
3458
- "text": "ValidationError[]"
3588
+ "text": "ElementDefinitionContext"
3459
3589
  }
3460
- }
3461
- ],
3462
- "description": "Formats validation errors into a user-friendly message."
3463
- },
3464
- {
3465
- "kind": "function",
3466
- "name": "showCriteriaError",
3467
- "return": {
3468
- "type": {
3469
- "text": "void"
3470
- }
3471
- },
3472
- "parameters": [
3473
- {
3474
- "name": "title",
3475
- "type": {
3476
- "text": "string"
3477
- },
3478
- "description": "Notification title (e.g. \"Criteria validation error\")"
3479
- },
3480
- {
3481
- "name": "body",
3482
- "type": {
3483
- "text": "string"
3484
- },
3485
- "description": "Error message to display"
3486
3590
  },
3487
3591
  {
3488
- "name": "tagName",
3592
+ "name": "definition",
3489
3593
  "type": {
3490
- "text": "string"
3491
- },
3492
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3594
+ "text": "FoundationElementDefinition"
3595
+ }
3493
3596
  }
3494
- ],
3495
- "description": "Shows a criteria error as a toast notification."
3597
+ ]
3496
3598
  }
3497
3599
  ],
3498
3600
  "exports": [
3499
3601
  {
3500
3602
  "kind": "js",
3501
- "name": "formatValidationErrors",
3502
- "declaration": {
3503
- "name": "formatValidationErrors",
3504
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3505
- }
3506
- },
3507
- {
3508
- "kind": "js",
3509
- "name": "showCriteriaError",
3603
+ "name": "foundationAccordionItemStyles",
3510
3604
  "declaration": {
3511
- "name": "showCriteriaError",
3512
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3605
+ "name": "foundationAccordionItemStyles",
3606
+ "module": "src/accordion-item/accordion-item.styles.ts"
3513
3607
  }
3514
3608
  }
3515
3609
  ]
3516
3610
  },
3517
3611
  {
3518
3612
  "kind": "javascript-module",
3519
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3613
+ "path": "src/accordion-item/accordion-item.template.ts",
3520
3614
  "declarations": [
3521
3615
  {
3522
3616
  "kind": "function",
3523
- "name": "foundationAiIndicatorStyles",
3617
+ "name": "foundationAccordionItemTemplate",
3524
3618
  "return": {
3525
3619
  "type": {
3526
- "text": "ElementStyles"
3620
+ "text": "ViewTemplate<AccordionItem>"
3527
3621
  }
3528
3622
  },
3529
3623
  "parameters": [
@@ -3545,224 +3639,116 @@
3545
3639
  "exports": [
3546
3640
  {
3547
3641
  "kind": "js",
3548
- "name": "foundationAiIndicatorStyles",
3549
- "declaration": {
3550
- "name": "foundationAiIndicatorStyles",
3551
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3552
- }
3553
- }
3554
- ]
3555
- },
3556
- {
3557
- "kind": "javascript-module",
3558
- "path": "src/ai-indicator/ai-indicator.template.ts",
3559
- "declarations": [
3560
- {
3561
- "kind": "variable",
3562
- "name": "foundationAiIndicatorTemplate",
3563
- "type": {
3564
- "text": "ViewTemplate<AiIndicator>"
3565
- },
3566
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3567
- }
3568
- ],
3569
- "exports": [
3570
- {
3571
- "kind": "js",
3572
- "name": "foundationAiIndicatorTemplate",
3642
+ "name": "foundationAccordionItemTemplate",
3573
3643
  "declaration": {
3574
- "name": "foundationAiIndicatorTemplate",
3575
- "module": "src/ai-indicator/ai-indicator.template.ts"
3644
+ "name": "foundationAccordionItemTemplate",
3645
+ "module": "src/accordion-item/accordion-item.template.ts"
3576
3646
  }
3577
3647
  }
3578
3648
  ]
3579
3649
  },
3580
3650
  {
3581
3651
  "kind": "javascript-module",
3582
- "path": "src/ai-indicator/ai-indicator.ts",
3652
+ "path": "src/accordion-item/accordion-item.ts",
3583
3653
  "declarations": [
3584
3654
  {
3585
3655
  "kind": "class",
3586
3656
  "description": "",
3587
- "name": "AiIndicator",
3588
- "members": [
3589
- {
3590
- "kind": "field",
3591
- "name": "providerRegistry",
3592
- "type": {
3593
- "text": "AIProviderRegistry"
3594
- }
3595
- },
3596
- {
3597
- "kind": "field",
3598
- "name": "aiProvider",
3599
- "type": {
3600
- "text": "AIProvider | undefined"
3601
- },
3602
- "privacy": "private",
3603
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3604
- "readonly": true
3605
- },
3606
- {
3607
- "kind": "field",
3608
- "name": "status",
3609
- "type": {
3610
- "text": "AIStatus | null"
3611
- },
3612
- "default": "null"
3613
- },
3614
- {
3615
- "kind": "field",
3616
- "name": "open",
3617
- "type": {
3618
- "text": "boolean"
3619
- },
3620
- "default": "false"
3621
- },
3657
+ "name": "AccordionItem",
3658
+ "superclass": {
3659
+ "name": "FASTAccordionItem",
3660
+ "package": "@microsoft/fast-components"
3661
+ },
3662
+ "tagName": "%%prefix%%-accordion-item",
3663
+ "customElement": true,
3664
+ "attributes": [
3622
3665
  {
3623
- "kind": "field",
3624
- "name": "state",
3666
+ "name": "heading-level",
3625
3667
  "type": {
3626
- "text": "AIIndicatorState"
3668
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3627
3669
  },
3628
- "default": "'none'"
3670
+ "default": "2",
3671
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3672
+ "fieldName": "headinglevel",
3673
+ "inheritedFrom": {
3674
+ "name": "AccordionItem",
3675
+ "module": "src/accordion-item/accordion-item.ts"
3676
+ }
3629
3677
  },
3630
3678
  {
3631
- "kind": "field",
3632
- "name": "isInstalling",
3633
3679
  "type": {
3634
3680
  "text": "boolean"
3635
3681
  },
3636
- "default": "false"
3682
+ "default": "false",
3683
+ "description": "Expands or collapses the item.",
3684
+ "fieldName": "expanded",
3685
+ "inheritedFrom": {
3686
+ "name": "AccordionItem",
3687
+ "module": "src/accordion-item/accordion-item.ts"
3688
+ }
3637
3689
  },
3638
3690
  {
3639
- "kind": "field",
3640
- "name": "pollTimer",
3691
+ "name": "id",
3641
3692
  "type": {
3642
- "text": "ReturnType<typeof setInterval> | null"
3693
+ "text": "string"
3643
3694
  },
3644
- "privacy": "private",
3645
- "default": "null"
3646
- },
3647
- {
3648
- "kind": "field",
3649
- "name": "clickOutside",
3650
- "privacy": "private"
3651
- },
3695
+ "description": "The item ID",
3696
+ "fieldName": "id",
3697
+ "inheritedFrom": {
3698
+ "name": "AccordionItem",
3699
+ "module": "src/accordion-item/accordion-item.ts"
3700
+ }
3701
+ }
3702
+ ],
3703
+ "members": [
3652
3704
  {
3653
3705
  "kind": "field",
3654
- "name": "chromeStatusLabel",
3706
+ "name": "headinglevel",
3655
3707
  "type": {
3656
- "text": "string | null"
3708
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3657
3709
  },
3658
- "readonly": true
3710
+ "privacy": "public",
3711
+ "default": "2",
3712
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3713
+ "inheritedFrom": {
3714
+ "name": "AccordionItem",
3715
+ "module": "src/accordion-item/accordion-item.ts"
3716
+ }
3659
3717
  },
3660
3718
  {
3661
3719
  "kind": "field",
3662
- "name": "canInstall",
3720
+ "name": "expanded",
3663
3721
  "type": {
3664
3722
  "text": "boolean"
3665
3723
  },
3666
- "readonly": true
3724
+ "privacy": "public",
3725
+ "default": "false",
3726
+ "description": "Expands or collapses the item.",
3727
+ "inheritedFrom": {
3728
+ "name": "AccordionItem",
3729
+ "module": "src/accordion-item/accordion-item.ts"
3730
+ }
3667
3731
  },
3668
3732
  {
3669
3733
  "kind": "field",
3670
- "name": "isDownloading",
3734
+ "name": "id",
3671
3735
  "type": {
3672
- "text": "boolean"
3673
- },
3674
- "readonly": true
3675
- },
3676
- {
3677
- "kind": "method",
3678
- "name": "openChanged",
3679
- "return": {
3680
- "type": {
3681
- "text": "void"
3682
- }
3683
- }
3684
- },
3685
- {
3686
- "kind": "method",
3687
- "name": "handleClickOutside",
3688
- "privacy": "private",
3689
- "parameters": [
3690
- {
3691
- "name": "event",
3692
- "type": {
3693
- "text": "MouseEvent"
3694
- }
3695
- }
3696
- ]
3697
- },
3698
- {
3699
- "kind": "method",
3700
- "name": "toggleDropdown"
3701
- },
3702
- {
3703
- "kind": "method",
3704
- "name": "refreshStatus",
3705
- "return": {
3706
- "type": {
3707
- "text": "Promise<void>"
3708
- }
3709
- }
3710
- },
3711
- {
3712
- "kind": "method",
3713
- "name": "deriveState",
3714
- "privacy": "private",
3715
- "return": {
3716
- "type": {
3717
- "text": "AIIndicatorState"
3718
- }
3736
+ "text": "string"
3719
3737
  },
3720
- "parameters": [
3721
- {
3722
- "name": "s",
3723
- "type": {
3724
- "text": "AIStatus | null"
3725
- }
3726
- }
3727
- ]
3728
- },
3729
- {
3730
- "kind": "method",
3731
- "name": "maybeStartPolling",
3732
- "privacy": "private",
3733
- "return": {
3734
- "type": {
3735
- "text": "void"
3736
- }
3737
- }
3738
- },
3739
- {
3740
- "kind": "method",
3741
- "name": "startPolling",
3742
- "privacy": "private",
3743
- "return": {
3744
- "type": {
3745
- "text": "void"
3746
- }
3738
+ "privacy": "public",
3739
+ "description": "The item ID",
3740
+ "inheritedFrom": {
3741
+ "name": "AccordionItem",
3742
+ "module": "src/accordion-item/accordion-item.ts"
3747
3743
  }
3748
3744
  },
3749
3745
  {
3750
- "kind": "method",
3751
- "name": "stopPolling",
3746
+ "kind": "field",
3747
+ "name": "change",
3752
3748
  "privacy": "private",
3753
- "return": {
3754
- "type": {
3755
- "text": "void"
3756
- }
3757
- }
3758
- },
3759
- {
3760
- "kind": "method",
3761
- "name": "onInstall",
3762
- "return": {
3763
- "type": {
3764
- "text": "Promise<void>"
3765
- }
3749
+ "inheritedFrom": {
3750
+ "name": "AccordionItem",
3751
+ "module": "src/accordion-item/accordion-item.ts"
3766
3752
  }
3767
3753
  },
3768
3754
  {
@@ -3877,88 +3863,102 @@
3877
3863
  }
3878
3864
  }
3879
3865
  ],
3880
- "superclass": {
3881
- "name": "FoundationElement",
3882
- "package": "@microsoft/fast-foundation"
3866
+ "events": [
3867
+ {
3868
+ "description": "Fires a custom 'change' event when the button is invoked",
3869
+ "name": "change",
3870
+ "inheritedFrom": {
3871
+ "name": "AccordionItem",
3872
+ "module": "src/accordion-item/accordion-item.ts"
3873
+ }
3874
+ }
3875
+ ]
3876
+ },
3877
+ {
3878
+ "kind": "variable",
3879
+ "name": "foundationAccordionItemShadowOptions",
3880
+ "type": {
3881
+ "text": "ShadowRootInit"
3883
3882
  },
3884
- "tagName": "%%prefix%%-ai-indicator",
3885
- "customElement": true
3883
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3886
3884
  },
3887
3885
  {
3888
3886
  "kind": "variable",
3889
- "name": "foundationAiIndicator"
3887
+ "name": "defaultAccordionItemConfig",
3888
+ "type": {
3889
+ "text": "object"
3890
+ },
3891
+ "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}"
3892
+ },
3893
+ {
3894
+ "kind": "variable",
3895
+ "name": "foundationAccordionItem",
3896
+ "description": "The Foundation Accordion Item",
3897
+ "privacy": "public"
3890
3898
  }
3891
3899
  ],
3892
3900
  "exports": [
3893
3901
  {
3894
3902
  "kind": "js",
3895
- "name": "AiIndicator",
3903
+ "name": "AccordionItem",
3896
3904
  "declaration": {
3897
- "name": "AiIndicator",
3898
- "module": "src/ai-indicator/ai-indicator.ts"
3905
+ "name": "AccordionItem",
3906
+ "module": "src/accordion-item/accordion-item.ts"
3899
3907
  }
3900
3908
  },
3901
3909
  {
3902
3910
  "kind": "js",
3903
- "name": "foundationAiIndicator",
3904
- "declaration": {
3905
- "name": "foundationAiIndicator",
3906
- "module": "src/ai-indicator/ai-indicator.ts"
3907
- }
3908
- }
3909
- ]
3910
- },
3911
- {
3912
- "kind": "javascript-module",
3913
- "path": "src/ai-indicator/index.ts",
3914
- "declarations": [],
3915
- "exports": [
3916
- {
3917
- "kind": "js",
3918
- "name": "AiIndicator",
3911
+ "name": "foundationAccordionItemShadowOptions",
3919
3912
  "declaration": {
3920
- "name": "AiIndicator",
3921
- "module": "./ai-indicator"
3913
+ "name": "foundationAccordionItemShadowOptions",
3914
+ "module": "src/accordion-item/accordion-item.ts"
3922
3915
  }
3923
3916
  },
3924
3917
  {
3925
3918
  "kind": "js",
3926
- "name": "foundationAiIndicator",
3919
+ "name": "defaultAccordionItemConfig",
3927
3920
  "declaration": {
3928
- "name": "foundationAiIndicator",
3929
- "module": "./ai-indicator"
3921
+ "name": "defaultAccordionItemConfig",
3922
+ "module": "src/accordion-item/accordion-item.ts"
3930
3923
  }
3931
3924
  },
3932
3925
  {
3933
3926
  "kind": "js",
3934
- "name": "type",
3927
+ "name": "foundationAccordionItem",
3935
3928
  "declaration": {
3936
- "name": "type",
3937
- "module": "./ai-indicator"
3929
+ "name": "foundationAccordionItem",
3930
+ "module": "src/accordion-item/accordion-item.ts"
3938
3931
  }
3939
- },
3932
+ }
3933
+ ]
3934
+ },
3935
+ {
3936
+ "kind": "javascript-module",
3937
+ "path": "src/accordion-item/index.ts",
3938
+ "declarations": [],
3939
+ "exports": [
3940
3940
  {
3941
3941
  "kind": "js",
3942
- "name": "AIIndicatorState",
3942
+ "name": "*",
3943
3943
  "declaration": {
3944
- "name": "AIIndicatorState",
3945
- "module": "./ai-indicator"
3944
+ "name": "*",
3945
+ "package": "./accordion-item.template"
3946
3946
  }
3947
3947
  },
3948
3948
  {
3949
3949
  "kind": "js",
3950
- "name": "foundationAiIndicatorTemplate",
3950
+ "name": "*",
3951
3951
  "declaration": {
3952
- "name": "foundationAiIndicatorTemplate",
3953
- "module": "./ai-indicator.template"
3952
+ "name": "*",
3953
+ "package": "./accordion-item.styles"
3954
3954
  }
3955
3955
  },
3956
3956
  {
3957
3957
  "kind": "js",
3958
- "name": "foundationAiIndicatorStyles",
3958
+ "name": "*",
3959
3959
  "declaration": {
3960
- "name": "foundationAiIndicatorStyles",
3961
- "module": "./ai-indicator.styles"
3960
+ "name": "*",
3961
+ "package": "./accordion-item"
3962
3962
  }
3963
3963
  }
3964
3964
  ]