@genesislcap/foundation-ui 14.428.2-alpha-38d32a0.0 → 14.428.2-alpha-257ebec.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -934,66 +934,44 @@
934
934
  },
935
935
  {
936
936
  "kind": "javascript-module",
937
- "path": "src/accordion-item/accordion-item.styles.ts",
937
+ "path": "src/_common/affix-mixin.ts",
938
938
  "declarations": [
939
939
  {
940
- "kind": "function",
941
- "name": "foundationAccordionItemStyles",
942
- "return": {
943
- "type": {
944
- "text": "ElementStyles"
945
- }
946
- },
947
- "parameters": [
940
+ "kind": "mixin",
941
+ "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.",
942
+ "name": "AffixMixin",
943
+ "members": [
948
944
  {
949
- "name": "context",
945
+ "kind": "field",
946
+ "name": "prefix",
950
947
  "type": {
951
- "text": "ElementDefinitionContext"
952
- }
948
+ "text": "string"
949
+ },
950
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
953
951
  },
954
952
  {
955
- "name": "definition",
953
+ "kind": "field",
954
+ "name": "suffix",
956
955
  "type": {
957
- "text": "FoundationElementDefinition"
958
- }
959
- }
960
- ]
961
- }
962
- ],
963
- "exports": [
964
- {
965
- "kind": "js",
966
- "name": "foundationAccordionItemStyles",
967
- "declaration": {
968
- "name": "foundationAccordionItemStyles",
969
- "module": "src/accordion-item/accordion-item.styles.ts"
970
- }
971
- }
972
- ]
973
- },
974
- {
975
- "kind": "javascript-module",
976
- "path": "src/accordion-item/accordion-item.template.ts",
977
- "declarations": [
978
- {
979
- "kind": "function",
980
- "name": "foundationAccordionItemTemplate",
981
- "return": {
982
- "type": {
983
- "text": "ViewTemplate<AccordionItem>"
984
- }
985
- },
986
- "parameters": [
956
+ "text": "string"
957
+ },
958
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
959
+ },
987
960
  {
988
- "name": "context",
961
+ "kind": "field",
962
+ "name": "hideAffixFromScreenReader",
989
963
  "type": {
990
- "text": "ElementDefinitionContext"
991
- }
992
- },
964
+ "text": "boolean"
965
+ },
966
+ "default": "false",
967
+ "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."
968
+ }
969
+ ],
970
+ "parameters": [
993
971
  {
994
- "name": "definition",
972
+ "name": "Base",
995
973
  "type": {
996
- "text": "FoundationElementDefinition"
974
+ "text": "TBase"
997
975
  }
998
976
  }
999
977
  ]
@@ -1002,118 +980,170 @@
1002
980
  "exports": [
1003
981
  {
1004
982
  "kind": "js",
1005
- "name": "foundationAccordionItemTemplate",
983
+ "name": "AffixMixin",
1006
984
  "declaration": {
1007
- "name": "foundationAccordionItemTemplate",
1008
- "module": "src/accordion-item/accordion-item.template.ts"
985
+ "name": "AffixMixin",
986
+ "module": "src/_common/affix-mixin.ts"
1009
987
  }
1010
988
  }
1011
989
  ]
1012
990
  },
1013
991
  {
1014
992
  "kind": "javascript-module",
1015
- "path": "src/accordion-item/accordion-item.ts",
993
+ "path": "src/_common/base-file-component.ts",
1016
994
  "declarations": [
1017
995
  {
1018
996
  "kind": "class",
1019
- "description": "",
1020
- "name": "AccordionItem",
1021
- "superclass": {
1022
- "name": "FASTAccordionItem",
1023
- "package": "@microsoft/fast-components"
1024
- },
1025
- "tagName": "%%prefix%%-accordion-item",
1026
- "customElement": true,
1027
- "attributes": [
997
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
998
+ "name": "BaseFileComponent",
999
+ "members": [
1028
1000
  {
1029
- "name": "heading-level",
1001
+ "kind": "field",
1002
+ "name": "fileInput",
1030
1003
  "type": {
1031
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1004
+ "text": "HTMLInputElement"
1032
1005
  },
1033
- "default": "2",
1034
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1035
- "fieldName": "headinglevel",
1036
- "inheritedFrom": {
1037
- "name": "AccordionItem",
1038
- "module": "src/accordion-item/accordion-item.ts"
1039
- }
1006
+ "privacy": "public"
1040
1007
  },
1041
1008
  {
1009
+ "kind": "field",
1010
+ "name": "selectedFile",
1042
1011
  "type": {
1043
- "text": "boolean"
1012
+ "text": "File | null"
1044
1013
  },
1045
- "default": "false",
1046
- "description": "Expands or collapses the item.",
1047
- "fieldName": "expanded",
1048
- "inheritedFrom": {
1049
- "name": "AccordionItem",
1050
- "module": "src/accordion-item/accordion-item.ts"
1051
- }
1014
+ "privacy": "protected",
1015
+ "default": "null"
1052
1016
  },
1053
1017
  {
1054
- "name": "id",
1018
+ "kind": "field",
1019
+ "name": "label",
1055
1020
  "type": {
1056
1021
  "text": "string"
1057
- },
1058
- "description": "The item ID",
1059
- "fieldName": "id",
1060
- "inheritedFrom": {
1061
- "name": "AccordionItem",
1062
- "module": "src/accordion-item/accordion-item.ts"
1063
1022
  }
1064
- }
1065
- ],
1066
- "members": [
1023
+ },
1067
1024
  {
1068
1025
  "kind": "field",
1069
- "name": "headinglevel",
1026
+ "name": "accept",
1070
1027
  "type": {
1071
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1028
+ "text": "string"
1072
1029
  },
1073
- "privacy": "public",
1074
- "default": "2",
1075
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1076
- "inheritedFrom": {
1077
- "name": "AccordionItem",
1078
- "module": "src/accordion-item/accordion-item.ts"
1079
- }
1030
+ "default": "''"
1080
1031
  },
1081
1032
  {
1082
1033
  "kind": "field",
1083
- "name": "expanded",
1034
+ "name": "fileSizeLimitBytes",
1035
+ "default": "10_485_760",
1084
1036
  "type": {
1085
- "text": "boolean"
1086
- },
1087
- "privacy": "public",
1088
- "default": "false",
1089
- "description": "Expands or collapses the item.",
1090
- "inheritedFrom": {
1091
- "name": "AccordionItem",
1092
- "module": "src/accordion-item/accordion-item.ts"
1037
+ "text": "number"
1093
1038
  }
1094
1039
  },
1095
1040
  {
1096
1041
  "kind": "field",
1097
- "name": "id",
1042
+ "name": "fileName",
1098
1043
  "type": {
1099
1044
  "text": "string"
1100
1045
  },
1101
- "privacy": "public",
1102
- "description": "The item ID",
1103
- "inheritedFrom": {
1104
- "name": "AccordionItem",
1105
- "module": "src/accordion-item/accordion-item.ts"
1106
- }
1046
+ "default": "''"
1107
1047
  },
1108
1048
  {
1109
1049
  "kind": "field",
1110
- "name": "change",
1111
- "privacy": "private",
1112
- "inheritedFrom": {
1113
- "name": "AccordionItem",
1114
- "module": "src/accordion-item/accordion-item.ts"
1050
+ "name": "isProcessing",
1051
+ "type": {
1052
+ "text": "boolean"
1053
+ },
1054
+ "default": "false"
1055
+ },
1056
+ {
1057
+ "kind": "method",
1058
+ "name": "handleClick",
1059
+ "privacy": "public",
1060
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1061
+ },
1062
+ {
1063
+ "kind": "method",
1064
+ "name": "onInputChange",
1065
+ "privacy": "public",
1066
+ "parameters": [
1067
+ {
1068
+ "name": "e",
1069
+ "type": {
1070
+ "text": "Event"
1071
+ },
1072
+ "description": "The change event from the file input"
1073
+ }
1074
+ ],
1075
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1076
+ },
1077
+ {
1078
+ "kind": "method",
1079
+ "name": "clearSelection",
1080
+ "privacy": "public",
1081
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1082
+ },
1083
+ {
1084
+ "kind": "method",
1085
+ "name": "getSelectedFile",
1086
+ "privacy": "public",
1087
+ "description": "Gets the currently selected file object",
1088
+ "return": {
1089
+ "type": {
1090
+ "text": ""
1091
+ }
1115
1092
  }
1116
1093
  },
1094
+ {
1095
+ "kind": "method",
1096
+ "name": "showError",
1097
+ "privacy": "protected",
1098
+ "parameters": [
1099
+ {
1100
+ "name": "title",
1101
+ "type": {
1102
+ "text": "string"
1103
+ },
1104
+ "description": "The error title"
1105
+ },
1106
+ {
1107
+ "name": "message",
1108
+ "type": {
1109
+ "text": "string"
1110
+ },
1111
+ "description": "The error message"
1112
+ }
1113
+ ],
1114
+ "description": "Shows an error notification using the unified error handling system"
1115
+ },
1116
+ {
1117
+ "kind": "method",
1118
+ "name": "onFileSelected",
1119
+ "privacy": "protected",
1120
+ "return": {
1121
+ "type": {
1122
+ "text": "void"
1123
+ }
1124
+ },
1125
+ "parameters": [
1126
+ {
1127
+ "name": "files",
1128
+ "type": {
1129
+ "text": "File[]"
1130
+ },
1131
+ "description": "The selected file"
1132
+ }
1133
+ ],
1134
+ "description": "Abstract method called when a file is selected"
1135
+ },
1136
+ {
1137
+ "kind": "method",
1138
+ "name": "onFileCleared",
1139
+ "privacy": "protected",
1140
+ "return": {
1141
+ "type": {
1142
+ "text": "void"
1143
+ }
1144
+ },
1145
+ "description": "Abstract method called when file selection is cleared"
1146
+ },
1117
1147
  {
1118
1148
  "kind": "field",
1119
1149
  "name": "_presentation",
@@ -1228,76 +1258,110 @@
1228
1258
  ],
1229
1259
  "events": [
1230
1260
  {
1231
- "description": "Fires a custom 'change' event when the button is invoked",
1232
- "name": "change",
1233
- "inheritedFrom": {
1234
- "name": "AccordionItem",
1235
- "module": "src/accordion-item/accordion-item.ts"
1236
- }
1261
+ "description": "Fired when file size validation fails",
1262
+ "name": "error"
1263
+ },
1264
+ {
1265
+ "description": "Fired when selection is cleared",
1266
+ "name": "clear"
1237
1267
  }
1238
- ]
1239
- },
1240
- {
1241
- "kind": "variable",
1242
- "name": "foundationAccordionItemShadowOptions",
1243
- "type": {
1244
- "text": "ShadowRootInit"
1245
- },
1246
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1247
- },
1248
- {
1249
- "kind": "variable",
1250
- "name": "defaultAccordionItemConfig",
1251
- "type": {
1252
- "text": "object"
1253
- },
1254
- "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}"
1255
- },
1256
- {
1257
- "kind": "variable",
1258
- "name": "foundationAccordionItem",
1259
- "description": "The Foundation Accordion Item",
1260
- "privacy": "public"
1268
+ ],
1269
+ "attributes": [
1270
+ {
1271
+ "name": "label",
1272
+ "type": {
1273
+ "text": "string"
1274
+ },
1275
+ "fieldName": "label"
1276
+ },
1277
+ {
1278
+ "name": "accept",
1279
+ "type": {
1280
+ "text": "string"
1281
+ },
1282
+ "default": "''",
1283
+ "fieldName": "accept"
1284
+ },
1285
+ {
1286
+ "name": "file-size-limit-bytes",
1287
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1288
+ "resolveInitializer": {
1289
+ "module": "src/_common/base-file-component.ts"
1290
+ },
1291
+ "fieldName": "fileSizeLimitBytes"
1292
+ }
1293
+ ],
1294
+ "superclass": {
1295
+ "name": "FoundationElement",
1296
+ "package": "@microsoft/fast-foundation"
1297
+ }
1261
1298
  }
1262
1299
  ],
1263
1300
  "exports": [
1264
1301
  {
1265
1302
  "kind": "js",
1266
- "name": "AccordionItem",
1303
+ "name": "BaseFileComponent",
1267
1304
  "declaration": {
1268
- "name": "AccordionItem",
1269
- "module": "src/accordion-item/accordion-item.ts"
1305
+ "name": "BaseFileComponent",
1306
+ "module": "src/_common/base-file-component.ts"
1270
1307
  }
1271
- },
1308
+ }
1309
+ ]
1310
+ },
1311
+ {
1312
+ "kind": "javascript-module",
1313
+ "path": "src/_common/field-styles.ts",
1314
+ "declarations": [
1272
1315
  {
1273
- "kind": "js",
1274
- "name": "foundationAccordionItemShadowOptions",
1275
- "declaration": {
1276
- "name": "foundationAccordionItemShadowOptions",
1277
- "module": "src/accordion-item/accordion-item.ts"
1278
- }
1279
- },
1316
+ "kind": "variable",
1317
+ "name": "sharedFieldStyles",
1318
+ "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`"
1319
+ }
1320
+ ],
1321
+ "exports": [
1280
1322
  {
1281
1323
  "kind": "js",
1282
- "name": "defaultAccordionItemConfig",
1324
+ "name": "sharedFieldStyles",
1283
1325
  "declaration": {
1284
- "name": "defaultAccordionItemConfig",
1285
- "module": "src/accordion-item/accordion-item.ts"
1326
+ "name": "sharedFieldStyles",
1327
+ "module": "src/_common/field-styles.ts"
1286
1328
  }
1287
- },
1329
+ }
1330
+ ]
1331
+ },
1332
+ {
1333
+ "kind": "javascript-module",
1334
+ "path": "src/_common/icons.ts",
1335
+ "declarations": [
1336
+ {
1337
+ "kind": "function",
1338
+ "name": "closeIcon",
1339
+ "parameters": [
1340
+ {
1341
+ "name": "slot",
1342
+ "default": "'start'"
1343
+ },
1344
+ {
1345
+ "name": "fill",
1346
+ "default": "'#879ba6'"
1347
+ }
1348
+ ]
1349
+ }
1350
+ ],
1351
+ "exports": [
1288
1352
  {
1289
1353
  "kind": "js",
1290
- "name": "foundationAccordionItem",
1354
+ "name": "closeIcon",
1291
1355
  "declaration": {
1292
- "name": "foundationAccordionItem",
1293
- "module": "src/accordion-item/accordion-item.ts"
1356
+ "name": "closeIcon",
1357
+ "module": "src/_common/icons.ts"
1294
1358
  }
1295
1359
  }
1296
1360
  ]
1297
1361
  },
1298
1362
  {
1299
1363
  "kind": "javascript-module",
1300
- "path": "src/accordion-item/index.ts",
1364
+ "path": "src/_common/index.ts",
1301
1365
  "declarations": [],
1302
1366
  "exports": [
1303
1367
  {
@@ -1305,7 +1369,7 @@
1305
1369
  "name": "*",
1306
1370
  "declaration": {
1307
1371
  "name": "*",
1308
- "package": "./accordion-item.template"
1372
+ "package": "./affix-mixin"
1309
1373
  }
1310
1374
  },
1311
1375
  {
@@ -1313,7 +1377,7 @@
1313
1377
  "name": "*",
1314
1378
  "declaration": {
1315
1379
  "name": "*",
1316
- "package": "./accordion-item.styles"
1380
+ "package": "./base-file-component"
1317
1381
  }
1318
1382
  },
1319
1383
  {
@@ -1321,51 +1385,81 @@
1321
1385
  "name": "*",
1322
1386
  "declaration": {
1323
1387
  "name": "*",
1324
- "package": "./accordion-item"
1388
+ "package": "./field-styles"
1389
+ }
1390
+ },
1391
+ {
1392
+ "kind": "js",
1393
+ "name": "*",
1394
+ "declaration": {
1395
+ "name": "*",
1396
+ "package": "./icons"
1325
1397
  }
1326
1398
  }
1327
1399
  ]
1328
1400
  },
1329
1401
  {
1330
1402
  "kind": "javascript-module",
1331
- "path": "src/_common/affix-mixin.ts",
1403
+ "path": "src/accordion-item/accordion-item.styles.ts",
1332
1404
  "declarations": [
1333
1405
  {
1334
- "kind": "mixin",
1335
- "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.",
1336
- "name": "AffixMixin",
1337
- "members": [
1338
- {
1339
- "kind": "field",
1340
- "name": "prefix",
1341
- "type": {
1342
- "text": "string"
1343
- },
1344
- "description": "Optional non-editable label shown on the left inside the field, before the input."
1345
- },
1406
+ "kind": "function",
1407
+ "name": "foundationAccordionItemStyles",
1408
+ "return": {
1409
+ "type": {
1410
+ "text": "ElementStyles"
1411
+ }
1412
+ },
1413
+ "parameters": [
1346
1414
  {
1347
- "kind": "field",
1348
- "name": "suffix",
1415
+ "name": "context",
1349
1416
  "type": {
1350
- "text": "string"
1351
- },
1352
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
1417
+ "text": "ElementDefinitionContext"
1418
+ }
1353
1419
  },
1354
1420
  {
1355
- "kind": "field",
1356
- "name": "hideAffixFromScreenReader",
1421
+ "name": "definition",
1357
1422
  "type": {
1358
- "text": "boolean"
1359
- },
1360
- "default": "false",
1361
- "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."
1423
+ "text": "FoundationElementDefinition"
1424
+ }
1362
1425
  }
1363
- ],
1426
+ ]
1427
+ }
1428
+ ],
1429
+ "exports": [
1430
+ {
1431
+ "kind": "js",
1432
+ "name": "foundationAccordionItemStyles",
1433
+ "declaration": {
1434
+ "name": "foundationAccordionItemStyles",
1435
+ "module": "src/accordion-item/accordion-item.styles.ts"
1436
+ }
1437
+ }
1438
+ ]
1439
+ },
1440
+ {
1441
+ "kind": "javascript-module",
1442
+ "path": "src/accordion-item/accordion-item.template.ts",
1443
+ "declarations": [
1444
+ {
1445
+ "kind": "function",
1446
+ "name": "foundationAccordionItemTemplate",
1447
+ "return": {
1448
+ "type": {
1449
+ "text": "ViewTemplate<AccordionItem>"
1450
+ }
1451
+ },
1364
1452
  "parameters": [
1365
1453
  {
1366
- "name": "Base",
1454
+ "name": "context",
1367
1455
  "type": {
1368
- "text": "TBase"
1456
+ "text": "ElementDefinitionContext"
1457
+ }
1458
+ },
1459
+ {
1460
+ "name": "definition",
1461
+ "type": {
1462
+ "text": "FoundationElementDefinition"
1369
1463
  }
1370
1464
  }
1371
1465
  ]
@@ -1374,169 +1468,117 @@
1374
1468
  "exports": [
1375
1469
  {
1376
1470
  "kind": "js",
1377
- "name": "AffixMixin",
1471
+ "name": "foundationAccordionItemTemplate",
1378
1472
  "declaration": {
1379
- "name": "AffixMixin",
1380
- "module": "src/_common/affix-mixin.ts"
1473
+ "name": "foundationAccordionItemTemplate",
1474
+ "module": "src/accordion-item/accordion-item.template.ts"
1381
1475
  }
1382
1476
  }
1383
1477
  ]
1384
1478
  },
1385
1479
  {
1386
1480
  "kind": "javascript-module",
1387
- "path": "src/_common/base-file-component.ts",
1481
+ "path": "src/accordion-item/accordion-item.ts",
1388
1482
  "declarations": [
1389
1483
  {
1390
1484
  "kind": "class",
1391
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1392
- "name": "BaseFileComponent",
1393
- "members": [
1394
- {
1395
- "kind": "field",
1396
- "name": "fileInput",
1397
- "type": {
1398
- "text": "HTMLInputElement"
1399
- },
1400
- "privacy": "public"
1401
- },
1485
+ "description": "",
1486
+ "name": "AccordionItem",
1487
+ "superclass": {
1488
+ "name": "FASTAccordionItem",
1489
+ "package": "@microsoft/fast-components"
1490
+ },
1491
+ "tagName": "%%prefix%%-accordion-item",
1492
+ "customElement": true,
1493
+ "attributes": [
1402
1494
  {
1403
- "kind": "field",
1404
- "name": "selectedFile",
1495
+ "name": "heading-level",
1405
1496
  "type": {
1406
- "text": "File | null"
1497
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1407
1498
  },
1408
- "privacy": "protected",
1409
- "default": "null"
1410
- },
1411
- {
1412
- "kind": "field",
1413
- "name": "label",
1414
- "type": {
1415
- "text": "string"
1499
+ "default": "2",
1500
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1501
+ "fieldName": "headinglevel",
1502
+ "inheritedFrom": {
1503
+ "name": "AccordionItem",
1504
+ "module": "src/accordion-item/accordion-item.ts"
1416
1505
  }
1417
1506
  },
1418
1507
  {
1419
- "kind": "field",
1420
- "name": "accept",
1421
1508
  "type": {
1422
- "text": "string"
1509
+ "text": "boolean"
1423
1510
  },
1424
- "default": "''"
1425
- },
1426
- {
1427
- "kind": "field",
1428
- "name": "fileSizeLimitBytes",
1429
- "default": "10_485_760",
1430
- "type": {
1431
- "text": "number"
1511
+ "default": "false",
1512
+ "description": "Expands or collapses the item.",
1513
+ "fieldName": "expanded",
1514
+ "inheritedFrom": {
1515
+ "name": "AccordionItem",
1516
+ "module": "src/accordion-item/accordion-item.ts"
1432
1517
  }
1433
1518
  },
1434
1519
  {
1435
- "kind": "field",
1436
- "name": "fileName",
1520
+ "name": "id",
1437
1521
  "type": {
1438
1522
  "text": "string"
1439
1523
  },
1440
- "default": "''"
1441
- },
1524
+ "description": "The item ID",
1525
+ "fieldName": "id",
1526
+ "inheritedFrom": {
1527
+ "name": "AccordionItem",
1528
+ "module": "src/accordion-item/accordion-item.ts"
1529
+ }
1530
+ }
1531
+ ],
1532
+ "members": [
1442
1533
  {
1443
1534
  "kind": "field",
1444
- "name": "isProcessing",
1535
+ "name": "headinglevel",
1445
1536
  "type": {
1446
- "text": "boolean"
1537
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1447
1538
  },
1448
- "default": "false"
1449
- },
1450
- {
1451
- "kind": "method",
1452
- "name": "handleClick",
1453
- "privacy": "public",
1454
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1455
- },
1456
- {
1457
- "kind": "method",
1458
- "name": "onInputChange",
1459
- "privacy": "public",
1460
- "parameters": [
1461
- {
1462
- "name": "e",
1463
- "type": {
1464
- "text": "Event"
1465
- },
1466
- "description": "The change event from the file input"
1467
- }
1468
- ],
1469
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1470
- },
1471
- {
1472
- "kind": "method",
1473
- "name": "clearSelection",
1474
- "privacy": "public",
1475
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
1476
- },
1477
- {
1478
- "kind": "method",
1479
- "name": "getSelectedFile",
1480
- "privacy": "public",
1481
- "description": "Gets the currently selected file object",
1482
- "return": {
1483
- "type": {
1484
- "text": ""
1485
- }
1486
- }
1487
- },
1488
- {
1489
- "kind": "method",
1490
- "name": "showError",
1491
- "privacy": "protected",
1492
- "parameters": [
1493
- {
1494
- "name": "title",
1495
- "type": {
1496
- "text": "string"
1497
- },
1498
- "description": "The error title"
1499
- },
1500
- {
1501
- "name": "message",
1502
- "type": {
1503
- "text": "string"
1504
- },
1505
- "description": "The error message"
1506
- }
1507
- ],
1508
- "description": "Shows an error notification using the unified error handling system"
1539
+ "privacy": "public",
1540
+ "default": "2",
1541
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1542
+ "inheritedFrom": {
1543
+ "name": "AccordionItem",
1544
+ "module": "src/accordion-item/accordion-item.ts"
1545
+ }
1509
1546
  },
1510
1547
  {
1511
- "kind": "method",
1512
- "name": "onFileSelected",
1513
- "privacy": "protected",
1514
- "return": {
1515
- "type": {
1516
- "text": "void"
1517
- }
1548
+ "kind": "field",
1549
+ "name": "expanded",
1550
+ "type": {
1551
+ "text": "boolean"
1518
1552
  },
1519
- "parameters": [
1520
- {
1521
- "name": "files",
1522
- "type": {
1523
- "text": "File[]"
1524
- },
1525
- "description": "The selected file"
1526
- }
1527
- ],
1528
- "description": "Abstract method called when a file is selected"
1553
+ "privacy": "public",
1554
+ "default": "false",
1555
+ "description": "Expands or collapses the item.",
1556
+ "inheritedFrom": {
1557
+ "name": "AccordionItem",
1558
+ "module": "src/accordion-item/accordion-item.ts"
1559
+ }
1529
1560
  },
1530
1561
  {
1531
- "kind": "method",
1532
- "name": "onFileCleared",
1533
- "privacy": "protected",
1534
- "return": {
1535
- "type": {
1536
- "text": "void"
1537
- }
1562
+ "kind": "field",
1563
+ "name": "id",
1564
+ "type": {
1565
+ "text": "string"
1538
1566
  },
1539
- "description": "Abstract method called when file selection is cleared"
1567
+ "privacy": "public",
1568
+ "description": "The item ID",
1569
+ "inheritedFrom": {
1570
+ "name": "AccordionItem",
1571
+ "module": "src/accordion-item/accordion-item.ts"
1572
+ }
1573
+ },
1574
+ {
1575
+ "kind": "field",
1576
+ "name": "change",
1577
+ "privacy": "private",
1578
+ "inheritedFrom": {
1579
+ "name": "AccordionItem",
1580
+ "module": "src/accordion-item/accordion-item.ts"
1581
+ }
1540
1582
  },
1541
1583
  {
1542
1584
  "kind": "field",
@@ -1652,110 +1694,76 @@
1652
1694
  ],
1653
1695
  "events": [
1654
1696
  {
1655
- "description": "Fired when file size validation fails",
1656
- "name": "error"
1657
- },
1658
- {
1659
- "description": "Fired when selection is cleared",
1660
- "name": "clear"
1661
- }
1662
- ],
1663
- "attributes": [
1664
- {
1665
- "name": "label",
1666
- "type": {
1667
- "text": "string"
1668
- },
1669
- "fieldName": "label"
1670
- },
1671
- {
1672
- "name": "accept",
1673
- "type": {
1674
- "text": "string"
1675
- },
1676
- "default": "''",
1677
- "fieldName": "accept"
1678
- },
1679
- {
1680
- "name": "file-size-limit-bytes",
1681
- "default": "DEFAULT_FILE_SIZE_LIMIT",
1682
- "resolveInitializer": {
1683
- "module": "src/_common/base-file-component.ts"
1684
- },
1685
- "fieldName": "fileSizeLimitBytes"
1697
+ "description": "Fires a custom 'change' event when the button is invoked",
1698
+ "name": "change",
1699
+ "inheritedFrom": {
1700
+ "name": "AccordionItem",
1701
+ "module": "src/accordion-item/accordion-item.ts"
1702
+ }
1686
1703
  }
1687
- ],
1688
- "superclass": {
1689
- "name": "FoundationElement",
1690
- "package": "@microsoft/fast-foundation"
1691
- }
1704
+ ]
1705
+ },
1706
+ {
1707
+ "kind": "variable",
1708
+ "name": "foundationAccordionItemShadowOptions",
1709
+ "type": {
1710
+ "text": "ShadowRootInit"
1711
+ },
1712
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1713
+ },
1714
+ {
1715
+ "kind": "variable",
1716
+ "name": "defaultAccordionItemConfig",
1717
+ "type": {
1718
+ "text": "object"
1719
+ },
1720
+ "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}"
1721
+ },
1722
+ {
1723
+ "kind": "variable",
1724
+ "name": "foundationAccordionItem",
1725
+ "description": "The Foundation Accordion Item",
1726
+ "privacy": "public"
1692
1727
  }
1693
1728
  ],
1694
1729
  "exports": [
1695
1730
  {
1696
1731
  "kind": "js",
1697
- "name": "BaseFileComponent",
1732
+ "name": "AccordionItem",
1698
1733
  "declaration": {
1699
- "name": "BaseFileComponent",
1700
- "module": "src/_common/base-file-component.ts"
1734
+ "name": "AccordionItem",
1735
+ "module": "src/accordion-item/accordion-item.ts"
1701
1736
  }
1702
- }
1703
- ]
1704
- },
1705
- {
1706
- "kind": "javascript-module",
1707
- "path": "src/_common/field-styles.ts",
1708
- "declarations": [
1709
- {
1710
- "kind": "variable",
1711
- "name": "sharedFieldStyles",
1712
- "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`"
1713
- }
1714
- ],
1715
- "exports": [
1737
+ },
1716
1738
  {
1717
1739
  "kind": "js",
1718
- "name": "sharedFieldStyles",
1740
+ "name": "foundationAccordionItemShadowOptions",
1719
1741
  "declaration": {
1720
- "name": "sharedFieldStyles",
1721
- "module": "src/_common/field-styles.ts"
1742
+ "name": "foundationAccordionItemShadowOptions",
1743
+ "module": "src/accordion-item/accordion-item.ts"
1722
1744
  }
1723
- }
1724
- ]
1725
- },
1726
- {
1727
- "kind": "javascript-module",
1728
- "path": "src/_common/icons.ts",
1729
- "declarations": [
1745
+ },
1730
1746
  {
1731
- "kind": "function",
1732
- "name": "closeIcon",
1733
- "parameters": [
1734
- {
1735
- "name": "slot",
1736
- "default": "'start'"
1737
- },
1738
- {
1739
- "name": "fill",
1740
- "default": "'#879ba6'"
1741
- }
1742
- ]
1743
- }
1744
- ],
1745
- "exports": [
1747
+ "kind": "js",
1748
+ "name": "defaultAccordionItemConfig",
1749
+ "declaration": {
1750
+ "name": "defaultAccordionItemConfig",
1751
+ "module": "src/accordion-item/accordion-item.ts"
1752
+ }
1753
+ },
1746
1754
  {
1747
1755
  "kind": "js",
1748
- "name": "closeIcon",
1756
+ "name": "foundationAccordionItem",
1749
1757
  "declaration": {
1750
- "name": "closeIcon",
1751
- "module": "src/_common/icons.ts"
1758
+ "name": "foundationAccordionItem",
1759
+ "module": "src/accordion-item/accordion-item.ts"
1752
1760
  }
1753
1761
  }
1754
1762
  ]
1755
1763
  },
1756
1764
  {
1757
1765
  "kind": "javascript-module",
1758
- "path": "src/_common/index.ts",
1766
+ "path": "src/accordion-item/index.ts",
1759
1767
  "declarations": [],
1760
1768
  "exports": [
1761
1769
  {
@@ -1763,15 +1771,7 @@
1763
1771
  "name": "*",
1764
1772
  "declaration": {
1765
1773
  "name": "*",
1766
- "package": "./affix-mixin"
1767
- }
1768
- },
1769
- {
1770
- "kind": "js",
1771
- "name": "*",
1772
- "declaration": {
1773
- "name": "*",
1774
- "package": "./base-file-component"
1774
+ "package": "./accordion-item.template"
1775
1775
  }
1776
1776
  },
1777
1777
  {
@@ -1779,7 +1779,7 @@
1779
1779
  "name": "*",
1780
1780
  "declaration": {
1781
1781
  "name": "*",
1782
- "package": "./field-styles"
1782
+ "package": "./accordion-item.styles"
1783
1783
  }
1784
1784
  },
1785
1785
  {
@@ -1787,7 +1787,7 @@
1787
1787
  "name": "*",
1788
1788
  "declaration": {
1789
1789
  "name": "*",
1790
- "package": "./icons"
1790
+ "package": "./accordion-item"
1791
1791
  }
1792
1792
  }
1793
1793
  ]
@@ -2353,57 +2353,75 @@
2353
2353
  },
2354
2354
  {
2355
2355
  "kind": "javascript-module",
2356
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2356
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2357
2357
  "declarations": [
2358
2358
  {
2359
- "kind": "variable",
2360
- "name": "foundationAiCriteriaSearchStyles",
2361
- "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2359
+ "kind": "function",
2360
+ "name": "foundationAiIndicatorStyles",
2361
+ "return": {
2362
+ "type": {
2363
+ "text": "ElementStyles"
2364
+ }
2365
+ },
2366
+ "parameters": [
2367
+ {
2368
+ "name": "context",
2369
+ "type": {
2370
+ "text": "ElementDefinitionContext"
2371
+ }
2372
+ },
2373
+ {
2374
+ "name": "definition",
2375
+ "type": {
2376
+ "text": "FoundationElementDefinition"
2377
+ }
2378
+ }
2379
+ ]
2362
2380
  }
2363
2381
  ],
2364
2382
  "exports": [
2365
2383
  {
2366
2384
  "kind": "js",
2367
- "name": "foundationAiCriteriaSearchStyles",
2385
+ "name": "foundationAiIndicatorStyles",
2368
2386
  "declaration": {
2369
- "name": "foundationAiCriteriaSearchStyles",
2370
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2387
+ "name": "foundationAiIndicatorStyles",
2388
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2371
2389
  }
2372
2390
  }
2373
2391
  ]
2374
2392
  },
2375
2393
  {
2376
2394
  "kind": "javascript-module",
2377
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2395
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2378
2396
  "declarations": [
2379
2397
  {
2380
2398
  "kind": "variable",
2381
- "name": "foundationAiCriteriaSearchTemplate",
2399
+ "name": "foundationAiIndicatorTemplate",
2382
2400
  "type": {
2383
- "text": "ViewTemplate<AiCriteriaSearch>"
2401
+ "text": "ViewTemplate<AiIndicator>"
2384
2402
  },
2385
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2403
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2386
2404
  }
2387
2405
  ],
2388
2406
  "exports": [
2389
2407
  {
2390
2408
  "kind": "js",
2391
- "name": "foundationAiCriteriaSearchTemplate",
2409
+ "name": "foundationAiIndicatorTemplate",
2392
2410
  "declaration": {
2393
- "name": "foundationAiCriteriaSearchTemplate",
2394
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2411
+ "name": "foundationAiIndicatorTemplate",
2412
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2395
2413
  }
2396
2414
  }
2397
2415
  ]
2398
2416
  },
2399
2417
  {
2400
2418
  "kind": "javascript-module",
2401
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2419
+ "path": "src/ai-indicator/ai-indicator.ts",
2402
2420
  "declarations": [
2403
2421
  {
2404
2422
  "kind": "class",
2405
- "description": "Natural-language criteria search input with AI interpretation.",
2406
- "name": "AiCriteriaSearch",
2423
+ "description": "",
2424
+ "name": "AiIndicator",
2407
2425
  "members": [
2408
2426
  {
2409
2427
  "kind": "field",
@@ -2414,38 +2432,31 @@
2414
2432
  },
2415
2433
  {
2416
2434
  "kind": "field",
2417
- "name": "placeholder",
2435
+ "name": "status",
2418
2436
  "type": {
2419
- "text": "string"
2437
+ "text": "AIStatus | null"
2420
2438
  },
2421
- "default": "'Describe your search criteria in natural language...'"
2439
+ "default": "null"
2422
2440
  },
2423
2441
  {
2424
2442
  "kind": "field",
2425
- "name": "disabled",
2443
+ "name": "open",
2426
2444
  "type": {
2427
2445
  "text": "boolean"
2428
- }
2429
- },
2430
- {
2431
- "kind": "field",
2432
- "name": "mode",
2433
- "type": {
2434
- "text": "'append' | 'replace'"
2435
2446
  },
2436
- "default": "'replace'"
2447
+ "default": "false"
2437
2448
  },
2438
2449
  {
2439
2450
  "kind": "field",
2440
- "name": "inputValue",
2451
+ "name": "state",
2441
2452
  "type": {
2442
- "text": "string"
2453
+ "text": "AIIndicatorState"
2443
2454
  },
2444
- "default": "''"
2455
+ "default": "'none'"
2445
2456
  },
2446
2457
  {
2447
2458
  "kind": "field",
2448
- "name": "isInterpreting",
2459
+ "name": "isInstalling",
2449
2460
  "type": {
2450
2461
  "text": "boolean"
2451
2462
  },
@@ -2453,91 +2464,133 @@
2453
2464
  },
2454
2465
  {
2455
2466
  "kind": "field",
2456
- "name": "lastValidCriteria",
2467
+ "name": "pollTimer",
2457
2468
  "type": {
2458
- "text": "string | null"
2469
+ "text": "ReturnType<typeof setInterval> | null"
2459
2470
  },
2471
+ "privacy": "private",
2460
2472
  "default": "null"
2461
2473
  },
2462
2474
  {
2463
2475
  "kind": "field",
2464
- "name": "fieldMetadata",
2465
- "type": {
2466
- "text": "MetadataDetail[] | string[]"
2467
- },
2468
- "default": "[]"
2476
+ "name": "clickOutside",
2477
+ "privacy": "private"
2469
2478
  },
2470
2479
  {
2471
2480
  "kind": "field",
2472
- "name": "isRecording",
2481
+ "name": "chromeStatusLabel",
2473
2482
  "type": {
2474
- "text": "boolean"
2483
+ "text": "string | null"
2475
2484
  },
2476
- "default": "false"
2485
+ "readonly": true
2477
2486
  },
2478
2487
  {
2479
2488
  "kind": "field",
2480
- "name": "textAreaRef",
2489
+ "name": "canInstall",
2481
2490
  "type": {
2482
- "text": "HTMLTextAreaElement"
2491
+ "text": "boolean"
2483
2492
  },
2484
- "privacy": "public"
2493
+ "readonly": true
2485
2494
  },
2486
2495
  {
2487
2496
  "kind": "field",
2488
- "name": "stopRecording",
2497
+ "name": "isDownloading",
2489
2498
  "type": {
2490
- "text": "(() => void) | null"
2499
+ "text": "boolean"
2491
2500
  },
2492
- "privacy": "private",
2493
- "default": "null"
2501
+ "readonly": true
2494
2502
  },
2495
2503
  {
2496
- "kind": "field",
2497
- "name": "speechApplyDebounceTimer",
2498
- "type": {
2499
- "text": "ReturnType<typeof setTimeout> | null"
2500
- },
2501
- "privacy": "private",
2502
- "default": "null"
2504
+ "kind": "method",
2505
+ "name": "openChanged",
2506
+ "return": {
2507
+ "type": {
2508
+ "text": "void"
2509
+ }
2510
+ }
2503
2511
  },
2504
2512
  {
2505
- "kind": "field",
2506
- "name": "baseInputForAppend",
2507
- "type": {
2508
- "text": "string"
2509
- },
2513
+ "kind": "method",
2514
+ "name": "handleClickOutside",
2510
2515
  "privacy": "private",
2511
- "default": "''"
2516
+ "parameters": [
2517
+ {
2518
+ "name": "event",
2519
+ "type": {
2520
+ "text": "MouseEvent"
2521
+ }
2522
+ }
2523
+ ]
2512
2524
  },
2513
2525
  {
2514
- "kind": "field",
2515
- "name": "speechAvailable",
2516
- "type": {
2517
- "text": "boolean"
2518
- },
2519
- "readonly": true
2526
+ "kind": "method",
2527
+ "name": "toggleDropdown"
2520
2528
  },
2521
2529
  {
2522
2530
  "kind": "method",
2523
- "name": "handleSubmit"
2531
+ "name": "refreshStatus",
2532
+ "return": {
2533
+ "type": {
2534
+ "text": "Promise<void>"
2535
+ }
2536
+ }
2524
2537
  },
2525
2538
  {
2526
2539
  "kind": "method",
2527
- "name": "handleBlur"
2540
+ "name": "deriveState",
2541
+ "privacy": "private",
2542
+ "return": {
2543
+ "type": {
2544
+ "text": "AIIndicatorState"
2545
+ }
2546
+ },
2547
+ "parameters": [
2548
+ {
2549
+ "name": "s",
2550
+ "type": {
2551
+ "text": "AIStatus | null"
2552
+ }
2553
+ }
2554
+ ]
2528
2555
  },
2529
2556
  {
2530
2557
  "kind": "method",
2531
- "name": "clear"
2558
+ "name": "maybeStartPolling",
2559
+ "privacy": "private",
2560
+ "return": {
2561
+ "type": {
2562
+ "text": "void"
2563
+ }
2564
+ }
2532
2565
  },
2533
2566
  {
2534
2567
  "kind": "method",
2535
- "name": "toggleSpeechInput"
2568
+ "name": "startPolling",
2569
+ "privacy": "private",
2570
+ "return": {
2571
+ "type": {
2572
+ "text": "void"
2573
+ }
2574
+ }
2536
2575
  },
2537
2576
  {
2538
2577
  "kind": "method",
2539
- "name": "clearSpeechApplyDebounce",
2540
- "privacy": "private"
2578
+ "name": "stopPolling",
2579
+ "privacy": "private",
2580
+ "return": {
2581
+ "type": {
2582
+ "text": "void"
2583
+ }
2584
+ }
2585
+ },
2586
+ {
2587
+ "kind": "method",
2588
+ "name": "onInstall",
2589
+ "return": {
2590
+ "type": {
2591
+ "text": "Promise<void>"
2592
+ }
2593
+ }
2541
2594
  },
2542
2595
  {
2543
2596
  "kind": "field",
@@ -2651,559 +2704,279 @@
2651
2704
  }
2652
2705
  }
2653
2706
  ],
2654
- "events": [
2655
- {
2656
- "description": "Fired when interpreted criteria is applied or cleared",
2657
- "name": "criteria-changed"
2658
- },
2659
- {
2660
- "description": "Fired when interpreted criteria contains invalid clauses",
2661
- "name": "validation-errors"
2662
- }
2663
- ],
2664
- "attributes": [
2665
- {
2666
- "name": "placeholder",
2667
- "type": {
2668
- "text": "string"
2669
- },
2670
- "default": "'Describe your search criteria in natural language...'",
2671
- "fieldName": "placeholder"
2672
- },
2673
- {
2674
- "type": {
2675
- "text": "boolean"
2676
- },
2677
- "fieldName": "disabled"
2678
- },
2679
- {
2680
- "name": "mode",
2681
- "type": {
2682
- "text": "'append' | 'replace'"
2683
- },
2684
- "default": "'replace'",
2685
- "fieldName": "mode"
2686
- }
2687
- ],
2688
2707
  "superclass": {
2689
2708
  "name": "FoundationElement",
2690
2709
  "package": "@microsoft/fast-foundation"
2691
2710
  },
2692
- "tagName": "%%prefix%%-ai-criteria-search",
2711
+ "tagName": "%%prefix%%-ai-indicator",
2693
2712
  "customElement": true
2694
2713
  },
2695
2714
  {
2696
2715
  "kind": "variable",
2697
- "name": "foundationAiCriteriaSearchShadowOptions",
2698
- "type": {
2699
- "text": "ShadowRootInit"
2700
- },
2701
- "default": "undefined"
2702
- },
2703
- {
2704
- "kind": "variable",
2705
- "name": "defaultAiCriteriaSearchConfig",
2706
- "type": {
2707
- "text": "object"
2708
- },
2709
- "default": "{}"
2710
- },
2711
- {
2712
- "kind": "variable",
2713
- "name": "foundationAiCriteriaSearch"
2714
- }
2715
- ],
2716
- "exports": [
2717
- {
2718
- "kind": "js",
2719
- "name": "AiCriteriaSearch",
2720
- "declaration": {
2721
- "name": "AiCriteriaSearch",
2722
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2723
- }
2724
- },
2725
- {
2726
- "kind": "js",
2727
- "name": "foundationAiCriteriaSearchShadowOptions",
2728
- "declaration": {
2729
- "name": "foundationAiCriteriaSearchShadowOptions",
2730
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2731
- }
2732
- },
2733
- {
2734
- "kind": "js",
2735
- "name": "defaultAiCriteriaSearchConfig",
2736
- "declaration": {
2737
- "name": "defaultAiCriteriaSearchConfig",
2738
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2739
- }
2740
- },
2741
- {
2742
- "kind": "js",
2743
- "name": "foundationAiCriteriaSearch",
2744
- "declaration": {
2745
- "name": "foundationAiCriteriaSearch",
2746
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2747
- }
2716
+ "name": "foundationAiIndicator"
2748
2717
  }
2749
- ]
2750
- },
2751
- {
2752
- "kind": "javascript-module",
2753
- "path": "src/ai-criteria-search/index.ts",
2754
- "declarations": [],
2755
- "exports": [
2756
- {
2757
- "kind": "js",
2758
- "name": "AiCriteriaSearch",
2759
- "declaration": {
2760
- "name": "AiCriteriaSearch",
2761
- "module": "./ai-criteria-search"
2762
- }
2763
- },
2718
+ ],
2719
+ "exports": [
2764
2720
  {
2765
2721
  "kind": "js",
2766
- "name": "defaultAiCriteriaSearchConfig",
2722
+ "name": "AiIndicator",
2767
2723
  "declaration": {
2768
- "name": "defaultAiCriteriaSearchConfig",
2769
- "module": "./ai-criteria-search"
2724
+ "name": "AiIndicator",
2725
+ "module": "src/ai-indicator/ai-indicator.ts"
2770
2726
  }
2771
2727
  },
2772
2728
  {
2773
2729
  "kind": "js",
2774
- "name": "foundationAiCriteriaSearch",
2730
+ "name": "foundationAiIndicator",
2775
2731
  "declaration": {
2776
- "name": "foundationAiCriteriaSearch",
2777
- "module": "./ai-criteria-search"
2732
+ "name": "foundationAiIndicator",
2733
+ "module": "src/ai-indicator/ai-indicator.ts"
2778
2734
  }
2779
- },
2735
+ }
2736
+ ]
2737
+ },
2738
+ {
2739
+ "kind": "javascript-module",
2740
+ "path": "src/ai-indicator/index.ts",
2741
+ "declarations": [],
2742
+ "exports": [
2780
2743
  {
2781
2744
  "kind": "js",
2782
- "name": "foundationAiCriteriaSearchShadowOptions",
2745
+ "name": "AiIndicator",
2783
2746
  "declaration": {
2784
- "name": "foundationAiCriteriaSearchShadowOptions",
2785
- "module": "./ai-criteria-search"
2747
+ "name": "AiIndicator",
2748
+ "module": "./ai-indicator"
2786
2749
  }
2787
2750
  },
2788
2751
  {
2789
2752
  "kind": "js",
2790
- "name": "foundationAiCriteriaSearchStyles",
2753
+ "name": "foundationAiIndicator",
2791
2754
  "declaration": {
2792
- "name": "foundationAiCriteriaSearchStyles",
2793
- "module": "./ai-criteria-search.styles"
2755
+ "name": "foundationAiIndicator",
2756
+ "module": "./ai-indicator"
2794
2757
  }
2795
2758
  },
2796
2759
  {
2797
2760
  "kind": "js",
2798
- "name": "foundationAiCriteriaSearchTemplate",
2761
+ "name": "type",
2799
2762
  "declaration": {
2800
- "name": "foundationAiCriteriaSearchTemplate",
2801
- "module": "./ai-criteria-search.template"
2763
+ "name": "type",
2764
+ "module": "./ai-indicator"
2802
2765
  }
2803
2766
  },
2804
2767
  {
2805
2768
  "kind": "js",
2806
- "name": "*",
2769
+ "name": "AIIndicatorState",
2807
2770
  "declaration": {
2808
- "name": "*",
2809
- "package": "./validation/criteria-ir"
2771
+ "name": "AIIndicatorState",
2772
+ "module": "./ai-indicator"
2810
2773
  }
2811
2774
  },
2812
2775
  {
2813
2776
  "kind": "js",
2814
- "name": "*",
2777
+ "name": "foundationAiIndicatorTemplate",
2815
2778
  "declaration": {
2816
- "name": "*",
2817
- "package": "./validation/operator-map"
2779
+ "name": "foundationAiIndicatorTemplate",
2780
+ "module": "./ai-indicator.template"
2818
2781
  }
2819
2782
  },
2820
2783
  {
2821
2784
  "kind": "js",
2822
- "name": "*",
2785
+ "name": "foundationAiIndicatorStyles",
2823
2786
  "declaration": {
2824
- "name": "*",
2825
- "package": "./validation/schema-validator"
2787
+ "name": "foundationAiIndicatorStyles",
2788
+ "module": "./ai-indicator.styles"
2826
2789
  }
2827
2790
  }
2828
2791
  ]
2829
2792
  },
2830
2793
  {
2831
2794
  "kind": "javascript-module",
2832
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2795
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2833
2796
  "declarations": [
2834
2797
  {
2835
- "kind": "function",
2836
- "name": "formatValidationErrors",
2837
- "return": {
2838
- "type": {
2839
- "text": "string"
2840
- }
2841
- },
2842
- "parameters": [
2843
- {
2844
- "name": "errors",
2845
- "type": {
2846
- "text": "ValidationError[]"
2847
- }
2848
- }
2849
- ],
2850
- "description": "Formats validation errors into a user-friendly message."
2851
- },
2852
- {
2853
- "kind": "function",
2854
- "name": "showCriteriaError",
2855
- "return": {
2856
- "type": {
2857
- "text": "void"
2858
- }
2859
- },
2860
- "parameters": [
2861
- {
2862
- "name": "title",
2863
- "type": {
2864
- "text": "string"
2865
- },
2866
- "description": "Notification title (e.g. \"Criteria validation error\")"
2867
- },
2868
- {
2869
- "name": "body",
2870
- "type": {
2871
- "text": "string"
2872
- },
2873
- "description": "Error message to display"
2874
- },
2875
- {
2876
- "name": "tagName",
2877
- "type": {
2878
- "text": "string"
2879
- },
2880
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2881
- }
2882
- ],
2883
- "description": "Shows a criteria error as a toast notification."
2798
+ "kind": "variable",
2799
+ "name": "foundationAiCriteriaSearchStyles",
2800
+ "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2884
2801
  }
2885
2802
  ],
2886
2803
  "exports": [
2887
2804
  {
2888
2805
  "kind": "js",
2889
- "name": "formatValidationErrors",
2890
- "declaration": {
2891
- "name": "formatValidationErrors",
2892
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2893
- }
2894
- },
2895
- {
2896
- "kind": "js",
2897
- "name": "showCriteriaError",
2806
+ "name": "foundationAiCriteriaSearchStyles",
2898
2807
  "declaration": {
2899
- "name": "showCriteriaError",
2900
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2808
+ "name": "foundationAiCriteriaSearchStyles",
2809
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2901
2810
  }
2902
2811
  }
2903
2812
  ]
2904
2813
  },
2905
2814
  {
2906
2815
  "kind": "javascript-module",
2907
- "path": "src/accordion/accordion.styles.ts",
2816
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2908
2817
  "declarations": [
2909
2818
  {
2910
- "kind": "function",
2911
- "name": "foundationAccordionStyles",
2912
- "return": {
2913
- "type": {
2914
- "text": "ElementStyles"
2915
- }
2819
+ "kind": "variable",
2820
+ "name": "foundationAiCriteriaSearchTemplate",
2821
+ "type": {
2822
+ "text": "ViewTemplate<AiCriteriaSearch>"
2916
2823
  },
2917
- "parameters": [
2918
- {
2919
- "name": "context",
2920
- "type": {
2921
- "text": "ElementDefinitionContext"
2922
- }
2923
- },
2924
- {
2925
- "name": "definition",
2926
- "type": {
2927
- "text": "FoundationElementDefinition"
2928
- }
2929
- }
2930
- ]
2824
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2931
2825
  }
2932
2826
  ],
2933
2827
  "exports": [
2934
2828
  {
2935
2829
  "kind": "js",
2936
- "name": "foundationAccordionStyles",
2830
+ "name": "foundationAiCriteriaSearchTemplate",
2937
2831
  "declaration": {
2938
- "name": "foundationAccordionStyles",
2939
- "module": "src/accordion/accordion.styles.ts"
2832
+ "name": "foundationAiCriteriaSearchTemplate",
2833
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2940
2834
  }
2941
2835
  }
2942
2836
  ]
2943
2837
  },
2944
2838
  {
2945
2839
  "kind": "javascript-module",
2946
- "path": "src/accordion/accordion.template.ts",
2840
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2947
2841
  "declarations": [
2948
2842
  {
2949
- "kind": "function",
2950
- "name": "foundationAccordionTemplate",
2951
- "return": {
2952
- "type": {
2953
- "text": "ViewTemplate<Accordion>"
2954
- }
2955
- },
2956
- "parameters": [
2843
+ "kind": "class",
2844
+ "description": "Natural-language criteria search input with AI interpretation.",
2845
+ "name": "AiCriteriaSearch",
2846
+ "members": [
2957
2847
  {
2958
- "name": "context",
2848
+ "kind": "field",
2849
+ "name": "aiProvider",
2959
2850
  "type": {
2960
- "text": "ElementDefinitionContext"
2851
+ "text": "AIProvider"
2961
2852
  }
2962
2853
  },
2963
2854
  {
2964
- "name": "definition",
2855
+ "kind": "field",
2856
+ "name": "placeholder",
2965
2857
  "type": {
2966
- "text": "FoundationElementDefinition"
2858
+ "text": "string"
2859
+ },
2860
+ "default": "'Describe your search criteria in natural language...'"
2861
+ },
2862
+ {
2863
+ "kind": "field",
2864
+ "name": "disabled",
2865
+ "type": {
2866
+ "text": "boolean"
2967
2867
  }
2968
- }
2969
- ]
2970
- }
2971
- ],
2972
- "exports": [
2973
- {
2974
- "kind": "js",
2975
- "name": "foundationAccordionTemplate",
2976
- "declaration": {
2977
- "name": "foundationAccordionTemplate",
2978
- "module": "src/accordion/accordion.template.ts"
2979
- }
2980
- }
2981
- ]
2982
- },
2983
- {
2984
- "kind": "javascript-module",
2985
- "path": "src/accordion/accordion.ts",
2986
- "declarations": [
2987
- {
2988
- "kind": "class",
2989
- "description": "",
2990
- "name": "Accordion",
2991
- "superclass": {
2992
- "name": "FASTAccordion",
2993
- "package": "@microsoft/fast-foundation"
2994
- },
2995
- "tagName": "%%prefix%%-accordion",
2996
- "customElement": true,
2997
- "attributes": [
2868
+ },
2998
2869
  {
2999
- "name": "expand-mode",
2870
+ "kind": "field",
2871
+ "name": "mode",
3000
2872
  "type": {
3001
- "text": "AccordionExpandMode"
2873
+ "text": "'append' | 'replace'"
3002
2874
  },
3003
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3004
- "fieldName": "expandmode",
3005
- "inheritedFrom": {
3006
- "name": "Accordion",
3007
- "module": "src/accordion/accordion.ts"
3008
- }
3009
- }
3010
- ],
3011
- "members": [
2875
+ "default": "'replace'"
2876
+ },
3012
2877
  {
3013
2878
  "kind": "field",
3014
- "name": "expandmode",
2879
+ "name": "inputValue",
3015
2880
  "type": {
3016
- "text": "AccordionExpandMode"
2881
+ "text": "string"
3017
2882
  },
3018
- "privacy": "public",
3019
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3020
- "inheritedFrom": {
3021
- "name": "Accordion",
3022
- "module": "src/accordion/accordion.ts"
3023
- }
2883
+ "default": "''"
2884
+ },
2885
+ {
2886
+ "kind": "field",
2887
+ "name": "isInterpreting",
2888
+ "type": {
2889
+ "text": "boolean"
2890
+ },
2891
+ "default": "false"
3024
2892
  },
3025
2893
  {
3026
2894
  "kind": "field",
3027
- "name": "activeid",
2895
+ "name": "lastValidCriteria",
3028
2896
  "type": {
3029
2897
  "text": "string | null"
3030
2898
  },
3031
- "privacy": "private",
3032
- "inheritedFrom": {
3033
- "name": "Accordion",
3034
- "module": "src/accordion/accordion.ts"
3035
- }
2899
+ "default": "null"
3036
2900
  },
3037
2901
  {
3038
2902
  "kind": "field",
3039
- "name": "activeItemIndex",
2903
+ "name": "fieldMetadata",
3040
2904
  "type": {
3041
- "text": "number"
2905
+ "text": "MetadataDetail[] | string[]"
3042
2906
  },
3043
- "privacy": "private",
3044
- "default": "0",
3045
- "inheritedFrom": {
3046
- "name": "Accordion",
3047
- "module": "src/accordion/accordion.ts"
3048
- }
2907
+ "default": "[]"
3049
2908
  },
3050
2909
  {
3051
2910
  "kind": "field",
3052
- "name": "accordionIds",
2911
+ "name": "isRecording",
3053
2912
  "type": {
3054
- "text": "Array<string | null>"
2913
+ "text": "boolean"
3055
2914
  },
3056
- "privacy": "private",
3057
- "inheritedFrom": {
3058
- "name": "Accordion",
3059
- "module": "src/accordion/accordion.ts"
3060
- }
2915
+ "default": "false"
3061
2916
  },
3062
2917
  {
3063
2918
  "kind": "field",
3064
- "name": "change",
3065
- "privacy": "private",
3066
- "inheritedFrom": {
3067
- "name": "Accordion",
3068
- "module": "src/accordion/accordion.ts"
3069
- }
3070
- },
3071
- {
3072
- "kind": "method",
3073
- "name": "findExpandedItem",
3074
- "privacy": "private",
3075
- "return": {
3076
- "type": {
3077
- "text": "AccordionItem | null"
3078
- }
2919
+ "name": "textAreaRef",
2920
+ "type": {
2921
+ "text": "HTMLTextAreaElement"
3079
2922
  },
3080
- "inheritedFrom": {
3081
- "name": "Accordion",
3082
- "module": "src/accordion/accordion.ts"
3083
- }
2923
+ "privacy": "public"
3084
2924
  },
3085
2925
  {
3086
2926
  "kind": "field",
3087
- "name": "setItems",
3088
- "privacy": "private",
3089
- "inheritedFrom": {
3090
- "name": "Accordion",
3091
- "module": "src/accordion/accordion.ts"
3092
- }
3093
- },
3094
- {
3095
- "kind": "method",
3096
- "name": "resetItems",
3097
- "privacy": "private",
3098
- "return": {
3099
- "type": {
3100
- "text": "void"
3101
- }
2927
+ "name": "stopRecording",
2928
+ "type": {
2929
+ "text": "(() => void) | null"
3102
2930
  },
3103
- "inheritedFrom": {
3104
- "name": "Accordion",
3105
- "module": "src/accordion/accordion.ts"
3106
- }
2931
+ "privacy": "private",
2932
+ "default": "null"
3107
2933
  },
3108
2934
  {
3109
2935
  "kind": "field",
3110
- "name": "removeItemListeners",
2936
+ "name": "speechApplyDebounceTimer",
2937
+ "type": {
2938
+ "text": "ReturnType<typeof setTimeout> | null"
2939
+ },
3111
2940
  "privacy": "private",
3112
- "inheritedFrom": {
3113
- "name": "Accordion",
3114
- "module": "src/accordion/accordion.ts"
3115
- }
2941
+ "default": "null"
3116
2942
  },
3117
2943
  {
3118
2944
  "kind": "field",
3119
- "name": "activeItemChange",
2945
+ "name": "baseInputForAppend",
2946
+ "type": {
2947
+ "text": "string"
2948
+ },
3120
2949
  "privacy": "private",
3121
- "inheritedFrom": {
3122
- "name": "Accordion",
3123
- "module": "src/accordion/accordion.ts"
3124
- }
2950
+ "default": "''"
3125
2951
  },
3126
2952
  {
3127
- "kind": "method",
3128
- "name": "getItemIds",
3129
- "privacy": "private",
3130
- "return": {
3131
- "type": {
3132
- "text": "Array<string | null>"
3133
- }
2953
+ "kind": "field",
2954
+ "name": "speechAvailable",
2955
+ "type": {
2956
+ "text": "boolean"
3134
2957
  },
3135
- "inheritedFrom": {
3136
- "name": "Accordion",
3137
- "module": "src/accordion/accordion.ts"
3138
- }
2958
+ "readonly": true
3139
2959
  },
3140
2960
  {
3141
2961
  "kind": "method",
3142
- "name": "isSingleExpandMode",
3143
- "privacy": "private",
3144
- "return": {
3145
- "type": {
3146
- "text": "boolean"
3147
- }
3148
- },
3149
- "inheritedFrom": {
3150
- "name": "Accordion",
3151
- "module": "src/accordion/accordion.ts"
3152
- }
2962
+ "name": "handleSubmit"
3153
2963
  },
3154
2964
  {
3155
- "kind": "field",
3156
- "name": "handleItemKeyDown",
3157
- "privacy": "private",
3158
- "inheritedFrom": {
3159
- "name": "Accordion",
3160
- "module": "src/accordion/accordion.ts"
3161
- }
2965
+ "kind": "method",
2966
+ "name": "handleBlur"
3162
2967
  },
3163
2968
  {
3164
- "kind": "field",
3165
- "name": "handleItemFocus",
3166
- "privacy": "private",
3167
- "inheritedFrom": {
3168
- "name": "Accordion",
3169
- "module": "src/accordion/accordion.ts"
3170
- }
2969
+ "kind": "method",
2970
+ "name": "clear"
3171
2971
  },
3172
2972
  {
3173
2973
  "kind": "method",
3174
- "name": "adjust",
3175
- "privacy": "private",
3176
- "return": {
3177
- "type": {
3178
- "text": "void"
3179
- }
3180
- },
3181
- "parameters": [
3182
- {
3183
- "name": "adjustment",
3184
- "type": {
3185
- "text": "number"
3186
- }
3187
- }
3188
- ],
3189
- "inheritedFrom": {
3190
- "name": "Accordion",
3191
- "module": "src/accordion/accordion.ts"
3192
- }
2974
+ "name": "toggleSpeechInput"
3193
2975
  },
3194
2976
  {
3195
2977
  "kind": "method",
3196
- "name": "focusItem",
3197
- "privacy": "private",
3198
- "return": {
3199
- "type": {
3200
- "text": "void"
3201
- }
3202
- },
3203
- "inheritedFrom": {
3204
- "name": "Accordion",
3205
- "module": "src/accordion/accordion.ts"
3206
- }
2978
+ "name": "clearSpeechApplyDebounce",
2979
+ "privacy": "private"
3207
2980
  },
3208
2981
  {
3209
2982
  "kind": "field",
@@ -3319,84 +3092,160 @@
3319
3092
  ],
3320
3093
  "events": [
3321
3094
  {
3322
- "description": "Fires a custom 'change' event when the active item changes",
3323
- "name": "change",
3324
- "inheritedFrom": {
3325
- "name": "Accordion",
3326
- "module": "src/accordion/accordion.ts"
3327
- }
3095
+ "description": "Fired when interpreted criteria is applied or cleared",
3096
+ "name": "criteria-changed"
3097
+ },
3098
+ {
3099
+ "description": "Fired when interpreted criteria contains invalid clauses",
3100
+ "name": "validation-errors"
3328
3101
  }
3329
- ]
3102
+ ],
3103
+ "attributes": [
3104
+ {
3105
+ "name": "placeholder",
3106
+ "type": {
3107
+ "text": "string"
3108
+ },
3109
+ "default": "'Describe your search criteria in natural language...'",
3110
+ "fieldName": "placeholder"
3111
+ },
3112
+ {
3113
+ "type": {
3114
+ "text": "boolean"
3115
+ },
3116
+ "fieldName": "disabled"
3117
+ },
3118
+ {
3119
+ "name": "mode",
3120
+ "type": {
3121
+ "text": "'append' | 'replace'"
3122
+ },
3123
+ "default": "'replace'",
3124
+ "fieldName": "mode"
3125
+ }
3126
+ ],
3127
+ "superclass": {
3128
+ "name": "FoundationElement",
3129
+ "package": "@microsoft/fast-foundation"
3130
+ },
3131
+ "tagName": "%%prefix%%-ai-criteria-search",
3132
+ "customElement": true
3330
3133
  },
3331
3134
  {
3332
3135
  "kind": "variable",
3333
- "name": "foundationAccordionShadowOptions",
3136
+ "name": "foundationAiCriteriaSearchShadowOptions",
3334
3137
  "type": {
3335
3138
  "text": "ShadowRootInit"
3336
3139
  },
3337
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3140
+ "default": "undefined"
3338
3141
  },
3339
3142
  {
3340
3143
  "kind": "variable",
3341
- "name": "defaultAccordionConfig",
3144
+ "name": "defaultAiCriteriaSearchConfig",
3342
3145
  "type": {
3343
3146
  "text": "object"
3344
3147
  },
3345
3148
  "default": "{}"
3346
3149
  },
3347
3150
  {
3348
- "kind": "variable",
3349
- "name": "foundationAccordion",
3350
- "description": "The Foundation Accordion",
3351
- "privacy": "public"
3151
+ "kind": "variable",
3152
+ "name": "foundationAiCriteriaSearch"
3153
+ }
3154
+ ],
3155
+ "exports": [
3156
+ {
3157
+ "kind": "js",
3158
+ "name": "AiCriteriaSearch",
3159
+ "declaration": {
3160
+ "name": "AiCriteriaSearch",
3161
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3162
+ }
3163
+ },
3164
+ {
3165
+ "kind": "js",
3166
+ "name": "foundationAiCriteriaSearchShadowOptions",
3167
+ "declaration": {
3168
+ "name": "foundationAiCriteriaSearchShadowOptions",
3169
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3170
+ }
3171
+ },
3172
+ {
3173
+ "kind": "js",
3174
+ "name": "defaultAiCriteriaSearchConfig",
3175
+ "declaration": {
3176
+ "name": "defaultAiCriteriaSearchConfig",
3177
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3178
+ }
3179
+ },
3180
+ {
3181
+ "kind": "js",
3182
+ "name": "foundationAiCriteriaSearch",
3183
+ "declaration": {
3184
+ "name": "foundationAiCriteriaSearch",
3185
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3186
+ }
3352
3187
  }
3353
- ],
3188
+ ]
3189
+ },
3190
+ {
3191
+ "kind": "javascript-module",
3192
+ "path": "src/ai-criteria-search/index.ts",
3193
+ "declarations": [],
3354
3194
  "exports": [
3355
3195
  {
3356
3196
  "kind": "js",
3357
- "name": "Accordion",
3197
+ "name": "AiCriteriaSearch",
3358
3198
  "declaration": {
3359
- "name": "Accordion",
3360
- "module": "src/accordion/accordion.ts"
3199
+ "name": "AiCriteriaSearch",
3200
+ "module": "./ai-criteria-search"
3361
3201
  }
3362
3202
  },
3363
3203
  {
3364
3204
  "kind": "js",
3365
- "name": "foundationAccordionShadowOptions",
3205
+ "name": "defaultAiCriteriaSearchConfig",
3366
3206
  "declaration": {
3367
- "name": "foundationAccordionShadowOptions",
3368
- "module": "src/accordion/accordion.ts"
3207
+ "name": "defaultAiCriteriaSearchConfig",
3208
+ "module": "./ai-criteria-search"
3369
3209
  }
3370
3210
  },
3371
3211
  {
3372
3212
  "kind": "js",
3373
- "name": "defaultAccordionConfig",
3213
+ "name": "foundationAiCriteriaSearch",
3374
3214
  "declaration": {
3375
- "name": "defaultAccordionConfig",
3376
- "module": "src/accordion/accordion.ts"
3215
+ "name": "foundationAiCriteriaSearch",
3216
+ "module": "./ai-criteria-search"
3377
3217
  }
3378
3218
  },
3379
3219
  {
3380
3220
  "kind": "js",
3381
- "name": "foundationAccordion",
3221
+ "name": "foundationAiCriteriaSearchShadowOptions",
3382
3222
  "declaration": {
3383
- "name": "foundationAccordion",
3384
- "module": "src/accordion/accordion.ts"
3223
+ "name": "foundationAiCriteriaSearchShadowOptions",
3224
+ "module": "./ai-criteria-search"
3385
3225
  }
3386
- }
3387
- ]
3388
- },
3389
- {
3390
- "kind": "javascript-module",
3391
- "path": "src/accordion/index.ts",
3392
- "declarations": [],
3393
- "exports": [
3226
+ },
3227
+ {
3228
+ "kind": "js",
3229
+ "name": "foundationAiCriteriaSearchStyles",
3230
+ "declaration": {
3231
+ "name": "foundationAiCriteriaSearchStyles",
3232
+ "module": "./ai-criteria-search.styles"
3233
+ }
3234
+ },
3235
+ {
3236
+ "kind": "js",
3237
+ "name": "foundationAiCriteriaSearchTemplate",
3238
+ "declaration": {
3239
+ "name": "foundationAiCriteriaSearchTemplate",
3240
+ "module": "./ai-criteria-search.template"
3241
+ }
3242
+ },
3394
3243
  {
3395
3244
  "kind": "js",
3396
3245
  "name": "*",
3397
3246
  "declaration": {
3398
3247
  "name": "*",
3399
- "package": "./accordion.template"
3248
+ "package": "./validation/criteria-ir"
3400
3249
  }
3401
3250
  },
3402
3251
  {
@@ -3404,7 +3253,7 @@
3404
3253
  "name": "*",
3405
3254
  "declaration": {
3406
3255
  "name": "*",
3407
- "package": "./accordion.styles"
3256
+ "package": "./validation/operator-map"
3408
3257
  }
3409
3258
  },
3410
3259
  {
@@ -3412,18 +3261,93 @@
3412
3261
  "name": "*",
3413
3262
  "declaration": {
3414
3263
  "name": "*",
3415
- "package": "./accordion"
3264
+ "package": "./validation/schema-validator"
3416
3265
  }
3417
3266
  }
3418
3267
  ]
3419
3268
  },
3420
3269
  {
3421
3270
  "kind": "javascript-module",
3422
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3271
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3423
3272
  "declarations": [
3424
3273
  {
3425
3274
  "kind": "function",
3426
- "name": "foundationAiIndicatorStyles",
3275
+ "name": "formatValidationErrors",
3276
+ "return": {
3277
+ "type": {
3278
+ "text": "string"
3279
+ }
3280
+ },
3281
+ "parameters": [
3282
+ {
3283
+ "name": "errors",
3284
+ "type": {
3285
+ "text": "ValidationError[]"
3286
+ }
3287
+ }
3288
+ ],
3289
+ "description": "Formats validation errors into a user-friendly message."
3290
+ },
3291
+ {
3292
+ "kind": "function",
3293
+ "name": "showCriteriaError",
3294
+ "return": {
3295
+ "type": {
3296
+ "text": "void"
3297
+ }
3298
+ },
3299
+ "parameters": [
3300
+ {
3301
+ "name": "title",
3302
+ "type": {
3303
+ "text": "string"
3304
+ },
3305
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3306
+ },
3307
+ {
3308
+ "name": "body",
3309
+ "type": {
3310
+ "text": "string"
3311
+ },
3312
+ "description": "Error message to display"
3313
+ },
3314
+ {
3315
+ "name": "tagName",
3316
+ "type": {
3317
+ "text": "string"
3318
+ },
3319
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3320
+ }
3321
+ ],
3322
+ "description": "Shows a criteria error as a toast notification."
3323
+ }
3324
+ ],
3325
+ "exports": [
3326
+ {
3327
+ "kind": "js",
3328
+ "name": "formatValidationErrors",
3329
+ "declaration": {
3330
+ "name": "formatValidationErrors",
3331
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3332
+ }
3333
+ },
3334
+ {
3335
+ "kind": "js",
3336
+ "name": "showCriteriaError",
3337
+ "declaration": {
3338
+ "name": "showCriteriaError",
3339
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3340
+ }
3341
+ }
3342
+ ]
3343
+ },
3344
+ {
3345
+ "kind": "javascript-module",
3346
+ "path": "src/accordion/accordion.styles.ts",
3347
+ "declarations": [
3348
+ {
3349
+ "kind": "function",
3350
+ "name": "foundationAccordionStyles",
3427
3351
  "return": {
3428
3352
  "type": {
3429
3353
  "text": "ElementStyles"
@@ -3448,214 +3372,276 @@
3448
3372
  "exports": [
3449
3373
  {
3450
3374
  "kind": "js",
3451
- "name": "foundationAiIndicatorStyles",
3375
+ "name": "foundationAccordionStyles",
3452
3376
  "declaration": {
3453
- "name": "foundationAiIndicatorStyles",
3454
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3377
+ "name": "foundationAccordionStyles",
3378
+ "module": "src/accordion/accordion.styles.ts"
3455
3379
  }
3456
3380
  }
3457
3381
  ]
3458
3382
  },
3459
3383
  {
3460
3384
  "kind": "javascript-module",
3461
- "path": "src/ai-indicator/ai-indicator.template.ts",
3385
+ "path": "src/accordion/accordion.template.ts",
3462
3386
  "declarations": [
3463
3387
  {
3464
- "kind": "variable",
3465
- "name": "foundationAiIndicatorTemplate",
3466
- "type": {
3467
- "text": "ViewTemplate<AiIndicator>"
3388
+ "kind": "function",
3389
+ "name": "foundationAccordionTemplate",
3390
+ "return": {
3391
+ "type": {
3392
+ "text": "ViewTemplate<Accordion>"
3393
+ }
3468
3394
  },
3469
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3395
+ "parameters": [
3396
+ {
3397
+ "name": "context",
3398
+ "type": {
3399
+ "text": "ElementDefinitionContext"
3400
+ }
3401
+ },
3402
+ {
3403
+ "name": "definition",
3404
+ "type": {
3405
+ "text": "FoundationElementDefinition"
3406
+ }
3407
+ }
3408
+ ]
3470
3409
  }
3471
3410
  ],
3472
3411
  "exports": [
3473
3412
  {
3474
3413
  "kind": "js",
3475
- "name": "foundationAiIndicatorTemplate",
3414
+ "name": "foundationAccordionTemplate",
3476
3415
  "declaration": {
3477
- "name": "foundationAiIndicatorTemplate",
3478
- "module": "src/ai-indicator/ai-indicator.template.ts"
3416
+ "name": "foundationAccordionTemplate",
3417
+ "module": "src/accordion/accordion.template.ts"
3479
3418
  }
3480
3419
  }
3481
3420
  ]
3482
3421
  },
3483
3422
  {
3484
3423
  "kind": "javascript-module",
3485
- "path": "src/ai-indicator/ai-indicator.ts",
3424
+ "path": "src/accordion/accordion.ts",
3486
3425
  "declarations": [
3487
3426
  {
3488
3427
  "kind": "class",
3489
3428
  "description": "",
3490
- "name": "AiIndicator",
3491
- "members": [
3492
- {
3493
- "kind": "field",
3494
- "name": "aiProvider",
3495
- "type": {
3496
- "text": "AIProvider"
3497
- }
3498
- },
3429
+ "name": "Accordion",
3430
+ "superclass": {
3431
+ "name": "FASTAccordion",
3432
+ "package": "@microsoft/fast-foundation"
3433
+ },
3434
+ "tagName": "%%prefix%%-accordion",
3435
+ "customElement": true,
3436
+ "attributes": [
3499
3437
  {
3500
- "kind": "field",
3501
- "name": "status",
3438
+ "name": "expand-mode",
3502
3439
  "type": {
3503
- "text": "AIStatus | null"
3440
+ "text": "AccordionExpandMode"
3504
3441
  },
3505
- "default": "null"
3506
- },
3442
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3443
+ "fieldName": "expandmode",
3444
+ "inheritedFrom": {
3445
+ "name": "Accordion",
3446
+ "module": "src/accordion/accordion.ts"
3447
+ }
3448
+ }
3449
+ ],
3450
+ "members": [
3507
3451
  {
3508
3452
  "kind": "field",
3509
- "name": "open",
3453
+ "name": "expandmode",
3510
3454
  "type": {
3511
- "text": "boolean"
3455
+ "text": "AccordionExpandMode"
3512
3456
  },
3513
- "default": "false"
3457
+ "privacy": "public",
3458
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3459
+ "inheritedFrom": {
3460
+ "name": "Accordion",
3461
+ "module": "src/accordion/accordion.ts"
3462
+ }
3514
3463
  },
3515
3464
  {
3516
3465
  "kind": "field",
3517
- "name": "state",
3466
+ "name": "activeid",
3518
3467
  "type": {
3519
- "text": "AIIndicatorState"
3468
+ "text": "string | null"
3520
3469
  },
3521
- "default": "'none'"
3470
+ "privacy": "private",
3471
+ "inheritedFrom": {
3472
+ "name": "Accordion",
3473
+ "module": "src/accordion/accordion.ts"
3474
+ }
3522
3475
  },
3523
3476
  {
3524
3477
  "kind": "field",
3525
- "name": "isInstalling",
3478
+ "name": "activeItemIndex",
3526
3479
  "type": {
3527
- "text": "boolean"
3480
+ "text": "number"
3528
3481
  },
3529
- "default": "false"
3482
+ "privacy": "private",
3483
+ "default": "0",
3484
+ "inheritedFrom": {
3485
+ "name": "Accordion",
3486
+ "module": "src/accordion/accordion.ts"
3487
+ }
3530
3488
  },
3531
3489
  {
3532
3490
  "kind": "field",
3533
- "name": "pollTimer",
3491
+ "name": "accordionIds",
3534
3492
  "type": {
3535
- "text": "ReturnType<typeof setInterval> | null"
3493
+ "text": "Array<string | null>"
3536
3494
  },
3537
3495
  "privacy": "private",
3538
- "default": "null"
3539
- },
3540
- {
3541
- "kind": "field",
3542
- "name": "clickOutside",
3543
- "privacy": "private"
3496
+ "inheritedFrom": {
3497
+ "name": "Accordion",
3498
+ "module": "src/accordion/accordion.ts"
3499
+ }
3544
3500
  },
3545
3501
  {
3546
3502
  "kind": "field",
3547
- "name": "chromeStatusLabel",
3548
- "type": {
3549
- "text": "string | null"
3550
- },
3551
- "readonly": true
3503
+ "name": "change",
3504
+ "privacy": "private",
3505
+ "inheritedFrom": {
3506
+ "name": "Accordion",
3507
+ "module": "src/accordion/accordion.ts"
3508
+ }
3552
3509
  },
3553
3510
  {
3554
- "kind": "field",
3555
- "name": "canInstall",
3556
- "type": {
3557
- "text": "boolean"
3511
+ "kind": "method",
3512
+ "name": "findExpandedItem",
3513
+ "privacy": "private",
3514
+ "return": {
3515
+ "type": {
3516
+ "text": "AccordionItem | null"
3517
+ }
3558
3518
  },
3559
- "readonly": true
3519
+ "inheritedFrom": {
3520
+ "name": "Accordion",
3521
+ "module": "src/accordion/accordion.ts"
3522
+ }
3560
3523
  },
3561
3524
  {
3562
3525
  "kind": "field",
3563
- "name": "isDownloading",
3564
- "type": {
3565
- "text": "boolean"
3566
- },
3567
- "readonly": true
3526
+ "name": "setItems",
3527
+ "privacy": "private",
3528
+ "inheritedFrom": {
3529
+ "name": "Accordion",
3530
+ "module": "src/accordion/accordion.ts"
3531
+ }
3568
3532
  },
3569
3533
  {
3570
3534
  "kind": "method",
3571
- "name": "openChanged",
3535
+ "name": "resetItems",
3536
+ "privacy": "private",
3572
3537
  "return": {
3573
3538
  "type": {
3574
3539
  "text": "void"
3575
3540
  }
3541
+ },
3542
+ "inheritedFrom": {
3543
+ "name": "Accordion",
3544
+ "module": "src/accordion/accordion.ts"
3576
3545
  }
3577
3546
  },
3578
3547
  {
3579
- "kind": "method",
3580
- "name": "handleClickOutside",
3548
+ "kind": "field",
3549
+ "name": "removeItemListeners",
3581
3550
  "privacy": "private",
3582
- "parameters": [
3583
- {
3584
- "name": "event",
3585
- "type": {
3586
- "text": "MouseEvent"
3587
- }
3588
- }
3589
- ]
3551
+ "inheritedFrom": {
3552
+ "name": "Accordion",
3553
+ "module": "src/accordion/accordion.ts"
3554
+ }
3590
3555
  },
3591
3556
  {
3592
- "kind": "method",
3593
- "name": "toggleDropdown"
3557
+ "kind": "field",
3558
+ "name": "activeItemChange",
3559
+ "privacy": "private",
3560
+ "inheritedFrom": {
3561
+ "name": "Accordion",
3562
+ "module": "src/accordion/accordion.ts"
3563
+ }
3594
3564
  },
3595
3565
  {
3596
3566
  "kind": "method",
3597
- "name": "refreshStatus",
3567
+ "name": "getItemIds",
3568
+ "privacy": "private",
3598
3569
  "return": {
3599
3570
  "type": {
3600
- "text": "Promise<void>"
3571
+ "text": "Array<string | null>"
3601
3572
  }
3573
+ },
3574
+ "inheritedFrom": {
3575
+ "name": "Accordion",
3576
+ "module": "src/accordion/accordion.ts"
3602
3577
  }
3603
3578
  },
3604
3579
  {
3605
3580
  "kind": "method",
3606
- "name": "deriveState",
3581
+ "name": "isSingleExpandMode",
3607
3582
  "privacy": "private",
3608
3583
  "return": {
3609
3584
  "type": {
3610
- "text": "AIIndicatorState"
3585
+ "text": "boolean"
3611
3586
  }
3612
3587
  },
3613
- "parameters": [
3614
- {
3615
- "name": "s",
3616
- "type": {
3617
- "text": "AIStatus | null"
3618
- }
3619
- }
3620
- ]
3588
+ "inheritedFrom": {
3589
+ "name": "Accordion",
3590
+ "module": "src/accordion/accordion.ts"
3591
+ }
3621
3592
  },
3622
3593
  {
3623
- "kind": "method",
3624
- "name": "maybeStartPolling",
3594
+ "kind": "field",
3595
+ "name": "handleItemKeyDown",
3625
3596
  "privacy": "private",
3626
- "return": {
3627
- "type": {
3628
- "text": "void"
3629
- }
3597
+ "inheritedFrom": {
3598
+ "name": "Accordion",
3599
+ "module": "src/accordion/accordion.ts"
3630
3600
  }
3631
3601
  },
3632
3602
  {
3633
- "kind": "method",
3634
- "name": "startPolling",
3603
+ "kind": "field",
3604
+ "name": "handleItemFocus",
3635
3605
  "privacy": "private",
3636
- "return": {
3637
- "type": {
3638
- "text": "void"
3639
- }
3606
+ "inheritedFrom": {
3607
+ "name": "Accordion",
3608
+ "module": "src/accordion/accordion.ts"
3640
3609
  }
3641
3610
  },
3642
3611
  {
3643
3612
  "kind": "method",
3644
- "name": "stopPolling",
3613
+ "name": "adjust",
3645
3614
  "privacy": "private",
3646
3615
  "return": {
3647
3616
  "type": {
3648
3617
  "text": "void"
3649
3618
  }
3619
+ },
3620
+ "parameters": [
3621
+ {
3622
+ "name": "adjustment",
3623
+ "type": {
3624
+ "text": "number"
3625
+ }
3626
+ }
3627
+ ],
3628
+ "inheritedFrom": {
3629
+ "name": "Accordion",
3630
+ "module": "src/accordion/accordion.ts"
3650
3631
  }
3651
3632
  },
3652
3633
  {
3653
3634
  "kind": "method",
3654
- "name": "onInstall",
3635
+ "name": "focusItem",
3636
+ "privacy": "private",
3655
3637
  "return": {
3656
3638
  "type": {
3657
- "text": "Promise<void>"
3639
+ "text": "void"
3658
3640
  }
3641
+ },
3642
+ "inheritedFrom": {
3643
+ "name": "Accordion",
3644
+ "module": "src/accordion/accordion.ts"
3659
3645
  }
3660
3646
  },
3661
3647
  {
@@ -3770,88 +3756,102 @@
3770
3756
  }
3771
3757
  }
3772
3758
  ],
3773
- "superclass": {
3774
- "name": "FoundationElement",
3775
- "package": "@microsoft/fast-foundation"
3759
+ "events": [
3760
+ {
3761
+ "description": "Fires a custom 'change' event when the active item changes",
3762
+ "name": "change",
3763
+ "inheritedFrom": {
3764
+ "name": "Accordion",
3765
+ "module": "src/accordion/accordion.ts"
3766
+ }
3767
+ }
3768
+ ]
3769
+ },
3770
+ {
3771
+ "kind": "variable",
3772
+ "name": "foundationAccordionShadowOptions",
3773
+ "type": {
3774
+ "text": "ShadowRootInit"
3776
3775
  },
3777
- "tagName": "%%prefix%%-ai-indicator",
3778
- "customElement": true
3776
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3779
3777
  },
3780
3778
  {
3781
3779
  "kind": "variable",
3782
- "name": "foundationAiIndicator"
3780
+ "name": "defaultAccordionConfig",
3781
+ "type": {
3782
+ "text": "object"
3783
+ },
3784
+ "default": "{}"
3785
+ },
3786
+ {
3787
+ "kind": "variable",
3788
+ "name": "foundationAccordion",
3789
+ "description": "The Foundation Accordion",
3790
+ "privacy": "public"
3783
3791
  }
3784
3792
  ],
3785
3793
  "exports": [
3786
3794
  {
3787
3795
  "kind": "js",
3788
- "name": "AiIndicator",
3796
+ "name": "Accordion",
3789
3797
  "declaration": {
3790
- "name": "AiIndicator",
3791
- "module": "src/ai-indicator/ai-indicator.ts"
3798
+ "name": "Accordion",
3799
+ "module": "src/accordion/accordion.ts"
3792
3800
  }
3793
3801
  },
3794
3802
  {
3795
3803
  "kind": "js",
3796
- "name": "foundationAiIndicator",
3797
- "declaration": {
3798
- "name": "foundationAiIndicator",
3799
- "module": "src/ai-indicator/ai-indicator.ts"
3800
- }
3801
- }
3802
- ]
3803
- },
3804
- {
3805
- "kind": "javascript-module",
3806
- "path": "src/ai-indicator/index.ts",
3807
- "declarations": [],
3808
- "exports": [
3809
- {
3810
- "kind": "js",
3811
- "name": "AiIndicator",
3804
+ "name": "foundationAccordionShadowOptions",
3812
3805
  "declaration": {
3813
- "name": "AiIndicator",
3814
- "module": "./ai-indicator"
3806
+ "name": "foundationAccordionShadowOptions",
3807
+ "module": "src/accordion/accordion.ts"
3815
3808
  }
3816
3809
  },
3817
3810
  {
3818
3811
  "kind": "js",
3819
- "name": "foundationAiIndicator",
3812
+ "name": "defaultAccordionConfig",
3820
3813
  "declaration": {
3821
- "name": "foundationAiIndicator",
3822
- "module": "./ai-indicator"
3814
+ "name": "defaultAccordionConfig",
3815
+ "module": "src/accordion/accordion.ts"
3823
3816
  }
3824
3817
  },
3825
3818
  {
3826
3819
  "kind": "js",
3827
- "name": "type",
3820
+ "name": "foundationAccordion",
3828
3821
  "declaration": {
3829
- "name": "type",
3830
- "module": "./ai-indicator"
3822
+ "name": "foundationAccordion",
3823
+ "module": "src/accordion/accordion.ts"
3831
3824
  }
3832
- },
3825
+ }
3826
+ ]
3827
+ },
3828
+ {
3829
+ "kind": "javascript-module",
3830
+ "path": "src/accordion/index.ts",
3831
+ "declarations": [],
3832
+ "exports": [
3833
3833
  {
3834
3834
  "kind": "js",
3835
- "name": "AIIndicatorState",
3835
+ "name": "*",
3836
3836
  "declaration": {
3837
- "name": "AIIndicatorState",
3838
- "module": "./ai-indicator"
3837
+ "name": "*",
3838
+ "package": "./accordion.template"
3839
3839
  }
3840
3840
  },
3841
3841
  {
3842
3842
  "kind": "js",
3843
- "name": "foundationAiIndicatorTemplate",
3843
+ "name": "*",
3844
3844
  "declaration": {
3845
- "name": "foundationAiIndicatorTemplate",
3846
- "module": "./ai-indicator.template"
3845
+ "name": "*",
3846
+ "package": "./accordion.styles"
3847
3847
  }
3848
3848
  },
3849
3849
  {
3850
3850
  "kind": "js",
3851
- "name": "foundationAiIndicatorStyles",
3851
+ "name": "*",
3852
3852
  "declaration": {
3853
- "name": "foundationAiIndicatorStyles",
3854
- "module": "./ai-indicator.styles"
3853
+ "name": "*",
3854
+ "package": "./accordion"
3855
3855
  }
3856
3856
  }
3857
3857
  ]