@genesislcap/foundation-ui 15.88.2-canary.1 → 15.89.0-canary.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -958,27 +958,44 @@
958
958
  },
959
959
  {
960
960
  "kind": "javascript-module",
961
- "path": "src/accordion-item/accordion-item.styles.ts",
961
+ "path": "src/_common/affix-mixin.ts",
962
962
  "declarations": [
963
963
  {
964
- "kind": "function",
965
- "name": "foundationAccordionItemStyles",
966
- "return": {
967
- "type": {
968
- "text": "ElementStyles"
969
- }
970
- },
971
- "parameters": [
964
+ "kind": "mixin",
965
+ "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.",
966
+ "name": "AffixMixin",
967
+ "members": [
972
968
  {
973
- "name": "context",
969
+ "kind": "field",
970
+ "name": "prefix",
974
971
  "type": {
975
- "text": "ElementDefinitionContext"
976
- }
972
+ "text": "string"
973
+ },
974
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
977
975
  },
978
976
  {
979
- "name": "definition",
977
+ "kind": "field",
978
+ "name": "suffix",
980
979
  "type": {
981
- "text": "FoundationElementDefinition"
980
+ "text": "string"
981
+ },
982
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
983
+ },
984
+ {
985
+ "kind": "field",
986
+ "name": "hideAffixFromScreenReader",
987
+ "type": {
988
+ "text": "boolean"
989
+ },
990
+ "default": "false",
991
+ "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."
992
+ }
993
+ ],
994
+ "parameters": [
995
+ {
996
+ "name": "Base",
997
+ "type": {
998
+ "text": "TBase"
982
999
  }
983
1000
  }
984
1001
  ]
@@ -987,195 +1004,271 @@
987
1004
  "exports": [
988
1005
  {
989
1006
  "kind": "js",
990
- "name": "foundationAccordionItemStyles",
1007
+ "name": "AffixMixin",
991
1008
  "declaration": {
992
- "name": "foundationAccordionItemStyles",
993
- "module": "src/accordion-item/accordion-item.styles.ts"
1009
+ "name": "AffixMixin",
1010
+ "module": "src/_common/affix-mixin.ts"
994
1011
  }
995
1012
  }
996
1013
  ]
997
1014
  },
998
1015
  {
999
1016
  "kind": "javascript-module",
1000
- "path": "src/accordion-item/accordion-item.template.ts",
1017
+ "path": "src/_common/alert-flash-clock.ts",
1001
1018
  "declarations": [
1019
+ {
1020
+ "kind": "variable",
1021
+ "name": "alertFlashPhaseProperty",
1022
+ "type": {
1023
+ "text": "string"
1024
+ },
1025
+ "default": "'--alert-flash-t'",
1026
+ "description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
1027
+ "privacy": "public"
1028
+ },
1029
+ {
1030
+ "kind": "variable",
1031
+ "name": "alertFlashDurationProperty",
1032
+ "type": {
1033
+ "text": "string"
1034
+ },
1035
+ "default": "'--alert-flash-duration'",
1036
+ "description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
1037
+ "privacy": "public"
1038
+ },
1002
1039
  {
1003
1040
  "kind": "function",
1004
- "name": "foundationAccordionItemTemplate",
1041
+ "name": "installAlertFlashClock",
1005
1042
  "return": {
1006
1043
  "type": {
1007
- "text": "ViewTemplate<AccordionItem>"
1044
+ "text": "void"
1008
1045
  }
1009
1046
  },
1010
- "parameters": [
1011
- {
1012
- "name": "context",
1013
- "type": {
1014
- "text": "ElementDefinitionContext"
1015
- }
1016
- },
1017
- {
1018
- "name": "definition",
1019
- "type": {
1020
- "text": "FoundationElementDefinition"
1021
- }
1022
- }
1023
- ]
1047
+ "description": "Starts the document-level clock that alert flashes sample.\n\nSafe to call repeatedly and from any number of components — the first call does the work. Called\nautomatically by the components that flash, so apps only need this to start the clock earlier.\n\nDoes nothing where `CSS.registerProperty` or constructable stylesheets are unavailable, which\nleaves alerting surfaces on their static fallback colour rather than breaking them.",
1048
+ "privacy": "public"
1024
1049
  }
1025
1050
  ],
1026
1051
  "exports": [
1027
1052
  {
1028
1053
  "kind": "js",
1029
- "name": "foundationAccordionItemTemplate",
1054
+ "name": "alertFlashPhaseProperty",
1030
1055
  "declaration": {
1031
- "name": "foundationAccordionItemTemplate",
1032
- "module": "src/accordion-item/accordion-item.template.ts"
1056
+ "name": "alertFlashPhaseProperty",
1057
+ "module": "src/_common/alert-flash-clock.ts"
1058
+ }
1059
+ },
1060
+ {
1061
+ "kind": "js",
1062
+ "name": "alertFlashDurationProperty",
1063
+ "declaration": {
1064
+ "name": "alertFlashDurationProperty",
1065
+ "module": "src/_common/alert-flash-clock.ts"
1066
+ }
1067
+ },
1068
+ {
1069
+ "kind": "js",
1070
+ "name": "installAlertFlashClock",
1071
+ "declaration": {
1072
+ "name": "installAlertFlashClock",
1073
+ "module": "src/_common/alert-flash-clock.ts"
1033
1074
  }
1034
1075
  }
1035
1076
  ]
1036
1077
  },
1037
1078
  {
1038
1079
  "kind": "javascript-module",
1039
- "path": "src/accordion-item/accordion-item.ts",
1080
+ "path": "src/_common/base-file-component.ts",
1040
1081
  "declarations": [
1041
1082
  {
1042
1083
  "kind": "class",
1043
- "description": "",
1044
- "name": "AccordionItem",
1045
- "superclass": {
1046
- "name": "FASTAccordionItem",
1047
- "package": "@microsoft/fast-components"
1048
- },
1049
- "tagName": "%%prefix%%-accordion-item",
1050
- "customElement": true,
1051
- "attributes": [
1084
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1085
+ "name": "BaseFileComponent",
1086
+ "members": [
1052
1087
  {
1053
- "name": "heading-level",
1088
+ "kind": "field",
1089
+ "name": "fileInput",
1054
1090
  "type": {
1055
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1091
+ "text": "HTMLInputElement"
1056
1092
  },
1057
- "default": "2",
1058
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1059
- "fieldName": "headinglevel",
1060
- "inheritedFrom": {
1061
- "name": "AccordionItem",
1062
- "module": "src/accordion-item/accordion-item.ts"
1063
- }
1093
+ "privacy": "public"
1064
1094
  },
1065
1095
  {
1096
+ "kind": "field",
1097
+ "name": "selectedFile",
1066
1098
  "type": {
1067
- "text": "boolean"
1099
+ "text": "File | null"
1068
1100
  },
1069
- "default": "false",
1070
- "description": "Expands or collapses the item.",
1071
- "fieldName": "expanded",
1072
- "inheritedFrom": {
1073
- "name": "AccordionItem",
1074
- "module": "src/accordion-item/accordion-item.ts"
1075
- }
1101
+ "privacy": "protected",
1102
+ "default": "null"
1076
1103
  },
1077
1104
  {
1078
- "name": "id",
1105
+ "kind": "field",
1106
+ "name": "label",
1079
1107
  "type": {
1080
1108
  "text": "string"
1081
- },
1082
- "description": "The item ID",
1083
- "fieldName": "id",
1084
- "inheritedFrom": {
1085
- "name": "AccordionItem",
1086
- "module": "src/accordion-item/accordion-item.ts"
1087
1109
  }
1088
- }
1089
- ],
1090
- "members": [
1110
+ },
1091
1111
  {
1092
1112
  "kind": "field",
1093
- "name": "headinglevel",
1113
+ "name": "accept",
1094
1114
  "type": {
1095
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1115
+ "text": "string"
1096
1116
  },
1097
- "privacy": "public",
1098
- "default": "2",
1099
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1100
- "inheritedFrom": {
1101
- "name": "AccordionItem",
1102
- "module": "src/accordion-item/accordion-item.ts"
1103
- }
1117
+ "default": "''"
1104
1118
  },
1105
1119
  {
1106
1120
  "kind": "field",
1107
- "name": "expanded",
1121
+ "name": "fileSizeLimitBytes",
1122
+ "default": "10_485_760",
1108
1123
  "type": {
1109
- "text": "boolean"
1110
- },
1111
- "privacy": "public",
1112
- "default": "false",
1113
- "description": "Expands or collapses the item.",
1114
- "inheritedFrom": {
1115
- "name": "AccordionItem",
1116
- "module": "src/accordion-item/accordion-item.ts"
1124
+ "text": "number"
1117
1125
  }
1118
1126
  },
1119
1127
  {
1120
1128
  "kind": "field",
1121
- "name": "id",
1129
+ "name": "fileName",
1122
1130
  "type": {
1123
1131
  "text": "string"
1124
1132
  },
1125
- "privacy": "public",
1126
- "description": "The item ID",
1127
- "inheritedFrom": {
1128
- "name": "AccordionItem",
1129
- "module": "src/accordion-item/accordion-item.ts"
1130
- }
1131
- },
1132
- {
1133
- "kind": "field",
1134
- "name": "change",
1135
- "privacy": "private",
1136
- "inheritedFrom": {
1137
- "name": "AccordionItem",
1138
- "module": "src/accordion-item/accordion-item.ts"
1139
- }
1133
+ "default": "''"
1140
1134
  },
1141
1135
  {
1142
1136
  "kind": "field",
1143
- "name": "_presentation",
1137
+ "name": "isProcessing",
1144
1138
  "type": {
1145
- "text": "ComponentPresentation | null | undefined"
1139
+ "text": "boolean"
1146
1140
  },
1147
- "privacy": "private",
1148
- "default": "void 0",
1149
- "inheritedFrom": {
1150
- "name": "FoundationElement",
1151
- "module": "src/foundation-element/foundation-element.ts"
1152
- }
1141
+ "default": "false"
1153
1142
  },
1154
1143
  {
1155
- "kind": "field",
1156
- "name": "$presentation",
1157
- "type": {
1158
- "text": "ComponentPresentation | null"
1159
- },
1144
+ "kind": "method",
1145
+ "name": "handleClick",
1160
1146
  "privacy": "public",
1161
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1162
- "inheritedFrom": {
1163
- "name": "FoundationElement",
1164
- "module": "src/foundation-element/foundation-element.ts"
1165
- }
1147
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1166
1148
  },
1167
1149
  {
1168
- "kind": "field",
1169
- "name": "template",
1170
- "type": {
1171
- "text": "ElementViewTemplate | void | null"
1172
- },
1150
+ "kind": "method",
1151
+ "name": "onInputChange",
1173
1152
  "privacy": "public",
1174
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1175
- "inheritedFrom": {
1176
- "name": "FoundationElement",
1177
- "module": "src/foundation-element/foundation-element.ts"
1178
- }
1153
+ "parameters": [
1154
+ {
1155
+ "name": "e",
1156
+ "type": {
1157
+ "text": "Event"
1158
+ },
1159
+ "description": "The change event from the file input"
1160
+ }
1161
+ ],
1162
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1163
+ },
1164
+ {
1165
+ "kind": "method",
1166
+ "name": "clearSelection",
1167
+ "privacy": "public",
1168
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1169
+ },
1170
+ {
1171
+ "kind": "method",
1172
+ "name": "getSelectedFile",
1173
+ "privacy": "public",
1174
+ "description": "Gets the currently selected file object",
1175
+ "return": {
1176
+ "type": {
1177
+ "text": ""
1178
+ }
1179
+ }
1180
+ },
1181
+ {
1182
+ "kind": "method",
1183
+ "name": "showError",
1184
+ "privacy": "protected",
1185
+ "parameters": [
1186
+ {
1187
+ "name": "title",
1188
+ "type": {
1189
+ "text": "string"
1190
+ },
1191
+ "description": "The error title"
1192
+ },
1193
+ {
1194
+ "name": "message",
1195
+ "type": {
1196
+ "text": "string"
1197
+ },
1198
+ "description": "The error message"
1199
+ }
1200
+ ],
1201
+ "description": "Shows an error notification using the unified error handling system"
1202
+ },
1203
+ {
1204
+ "kind": "method",
1205
+ "name": "onFileSelected",
1206
+ "privacy": "protected",
1207
+ "return": {
1208
+ "type": {
1209
+ "text": "void"
1210
+ }
1211
+ },
1212
+ "parameters": [
1213
+ {
1214
+ "name": "files",
1215
+ "type": {
1216
+ "text": "File[]"
1217
+ },
1218
+ "description": "The selected file"
1219
+ }
1220
+ ],
1221
+ "description": "Abstract method called when a file is selected"
1222
+ },
1223
+ {
1224
+ "kind": "method",
1225
+ "name": "onFileCleared",
1226
+ "privacy": "protected",
1227
+ "return": {
1228
+ "type": {
1229
+ "text": "void"
1230
+ }
1231
+ },
1232
+ "description": "Abstract method called when file selection is cleared"
1233
+ },
1234
+ {
1235
+ "kind": "field",
1236
+ "name": "_presentation",
1237
+ "type": {
1238
+ "text": "ComponentPresentation | null | undefined"
1239
+ },
1240
+ "privacy": "private",
1241
+ "default": "void 0",
1242
+ "inheritedFrom": {
1243
+ "name": "FoundationElement",
1244
+ "module": "src/foundation-element/foundation-element.ts"
1245
+ }
1246
+ },
1247
+ {
1248
+ "kind": "field",
1249
+ "name": "$presentation",
1250
+ "type": {
1251
+ "text": "ComponentPresentation | null"
1252
+ },
1253
+ "privacy": "public",
1254
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1255
+ "inheritedFrom": {
1256
+ "name": "FoundationElement",
1257
+ "module": "src/foundation-element/foundation-element.ts"
1258
+ }
1259
+ },
1260
+ {
1261
+ "kind": "field",
1262
+ "name": "template",
1263
+ "type": {
1264
+ "text": "ElementViewTemplate | void | null"
1265
+ },
1266
+ "privacy": "public",
1267
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1268
+ "inheritedFrom": {
1269
+ "name": "FoundationElement",
1270
+ "module": "src/foundation-element/foundation-element.ts"
1271
+ }
1179
1272
  },
1180
1273
  {
1181
1274
  "kind": "method",
@@ -1252,76 +1345,110 @@
1252
1345
  ],
1253
1346
  "events": [
1254
1347
  {
1255
- "description": "Fires a custom 'change' event when the button is invoked",
1256
- "name": "change",
1257
- "inheritedFrom": {
1258
- "name": "AccordionItem",
1259
- "module": "src/accordion-item/accordion-item.ts"
1260
- }
1348
+ "description": "Fired when file size validation fails. detail: `Error`",
1349
+ "name": "error"
1350
+ },
1351
+ {
1352
+ "description": "Fired when selection is cleared",
1353
+ "name": "clear"
1261
1354
  }
1262
- ]
1263
- },
1264
- {
1265
- "kind": "variable",
1266
- "name": "foundationAccordionItemShadowOptions",
1267
- "type": {
1268
- "text": "ShadowRootInit"
1269
- },
1270
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1271
- },
1272
- {
1273
- "kind": "variable",
1274
- "name": "defaultAccordionItemConfig",
1275
- "type": {
1276
- "text": "object"
1277
- },
1278
- "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}"
1279
- },
1280
- {
1281
- "kind": "variable",
1282
- "name": "foundationAccordionItem",
1283
- "description": "The Foundation Accordion Item",
1284
- "privacy": "public"
1355
+ ],
1356
+ "attributes": [
1357
+ {
1358
+ "name": "label",
1359
+ "type": {
1360
+ "text": "string"
1361
+ },
1362
+ "fieldName": "label"
1363
+ },
1364
+ {
1365
+ "name": "accept",
1366
+ "type": {
1367
+ "text": "string"
1368
+ },
1369
+ "default": "''",
1370
+ "fieldName": "accept"
1371
+ },
1372
+ {
1373
+ "name": "file-size-limit-bytes",
1374
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1375
+ "resolveInitializer": {
1376
+ "module": "src/_common/base-file-component.ts"
1377
+ },
1378
+ "fieldName": "fileSizeLimitBytes"
1379
+ }
1380
+ ],
1381
+ "superclass": {
1382
+ "name": "FoundationElement",
1383
+ "package": "@microsoft/fast-foundation"
1384
+ }
1285
1385
  }
1286
1386
  ],
1287
1387
  "exports": [
1288
1388
  {
1289
1389
  "kind": "js",
1290
- "name": "AccordionItem",
1390
+ "name": "BaseFileComponent",
1291
1391
  "declaration": {
1292
- "name": "AccordionItem",
1293
- "module": "src/accordion-item/accordion-item.ts"
1392
+ "name": "BaseFileComponent",
1393
+ "module": "src/_common/base-file-component.ts"
1294
1394
  }
1295
- },
1395
+ }
1396
+ ]
1397
+ },
1398
+ {
1399
+ "kind": "javascript-module",
1400
+ "path": "src/_common/field-styles.ts",
1401
+ "declarations": [
1296
1402
  {
1297
- "kind": "js",
1298
- "name": "foundationAccordionItemShadowOptions",
1299
- "declaration": {
1300
- "name": "foundationAccordionItemShadowOptions",
1301
- "module": "src/accordion-item/accordion-item.ts"
1302
- }
1303
- },
1403
+ "kind": "variable",
1404
+ "name": "sharedFieldStyles",
1405
+ "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`"
1406
+ }
1407
+ ],
1408
+ "exports": [
1304
1409
  {
1305
1410
  "kind": "js",
1306
- "name": "defaultAccordionItemConfig",
1411
+ "name": "sharedFieldStyles",
1307
1412
  "declaration": {
1308
- "name": "defaultAccordionItemConfig",
1309
- "module": "src/accordion-item/accordion-item.ts"
1413
+ "name": "sharedFieldStyles",
1414
+ "module": "src/_common/field-styles.ts"
1310
1415
  }
1311
- },
1416
+ }
1417
+ ]
1418
+ },
1419
+ {
1420
+ "kind": "javascript-module",
1421
+ "path": "src/_common/icons.ts",
1422
+ "declarations": [
1423
+ {
1424
+ "kind": "function",
1425
+ "name": "closeIcon",
1426
+ "parameters": [
1427
+ {
1428
+ "name": "slot",
1429
+ "default": "'start'"
1430
+ },
1431
+ {
1432
+ "name": "fill",
1433
+ "default": "'#879ba6'"
1434
+ }
1435
+ ]
1436
+ }
1437
+ ],
1438
+ "exports": [
1312
1439
  {
1313
1440
  "kind": "js",
1314
- "name": "foundationAccordionItem",
1441
+ "name": "closeIcon",
1315
1442
  "declaration": {
1316
- "name": "foundationAccordionItem",
1317
- "module": "src/accordion-item/accordion-item.ts"
1443
+ "name": "closeIcon",
1444
+ "module": "src/_common/icons.ts"
1318
1445
  }
1319
1446
  }
1320
1447
  ]
1321
1448
  },
1322
1449
  {
1323
1450
  "kind": "javascript-module",
1324
- "path": "src/accordion-item/index.ts",
1451
+ "path": "src/_common/index.ts",
1325
1452
  "declarations": [],
1326
1453
  "exports": [
1327
1454
  {
@@ -1329,7 +1456,7 @@
1329
1456
  "name": "*",
1330
1457
  "declaration": {
1331
1458
  "name": "*",
1332
- "package": "./accordion-item.template"
1459
+ "package": "./affix-mixin"
1333
1460
  }
1334
1461
  },
1335
1462
  {
@@ -1337,7 +1464,7 @@
1337
1464
  "name": "*",
1338
1465
  "declaration": {
1339
1466
  "name": "*",
1340
- "package": "./accordion-item.styles"
1467
+ "package": "./alert-flash-clock"
1341
1468
  }
1342
1469
  },
1343
1470
  {
@@ -1345,19 +1472,66 @@
1345
1472
  "name": "*",
1346
1473
  "declaration": {
1347
1474
  "name": "*",
1348
- "package": "./accordion-item"
1475
+ "package": "./base-file-component"
1349
1476
  }
1350
- }
1351
- ]
1352
- },
1353
- {
1354
- "kind": "javascript-module",
1355
- "path": "src/actions-menu/actions-menu.styles.ts",
1356
- "declarations": [
1477
+ },
1357
1478
  {
1358
- "kind": "function",
1359
- "name": "actionsMenuBaseStyles",
1360
- "return": {
1479
+ "kind": "js",
1480
+ "name": "*",
1481
+ "declaration": {
1482
+ "name": "*",
1483
+ "package": "./field-styles"
1484
+ }
1485
+ },
1486
+ {
1487
+ "kind": "js",
1488
+ "name": "*",
1489
+ "declaration": {
1490
+ "name": "*",
1491
+ "package": "./icons"
1492
+ }
1493
+ }
1494
+ ]
1495
+ },
1496
+ {
1497
+ "kind": "javascript-module",
1498
+ "path": "src/_config/index.ts",
1499
+ "declarations": [],
1500
+ "exports": [
1501
+ {
1502
+ "kind": "js",
1503
+ "name": "*",
1504
+ "declaration": {
1505
+ "name": "*",
1506
+ "package": "./styles"
1507
+ }
1508
+ },
1509
+ {
1510
+ "kind": "js",
1511
+ "name": "*",
1512
+ "declaration": {
1513
+ "name": "*",
1514
+ "package": "./tokens"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "*",
1520
+ "declaration": {
1521
+ "name": "*",
1522
+ "package": "./values"
1523
+ }
1524
+ }
1525
+ ]
1526
+ },
1527
+ {
1528
+ "kind": "javascript-module",
1529
+ "path": "src/accordion-item/accordion-item.styles.ts",
1530
+ "declarations": [
1531
+ {
1532
+ "kind": "function",
1533
+ "name": "foundationAccordionItemStyles",
1534
+ "return": {
1361
1535
  "type": {
1362
1536
  "text": "ElementStyles"
1363
1537
  }
@@ -1376,13 +1550,29 @@
1376
1550
  }
1377
1551
  }
1378
1552
  ]
1379
- },
1553
+ }
1554
+ ],
1555
+ "exports": [
1556
+ {
1557
+ "kind": "js",
1558
+ "name": "foundationAccordionItemStyles",
1559
+ "declaration": {
1560
+ "name": "foundationAccordionItemStyles",
1561
+ "module": "src/accordion-item/accordion-item.styles.ts"
1562
+ }
1563
+ }
1564
+ ]
1565
+ },
1566
+ {
1567
+ "kind": "javascript-module",
1568
+ "path": "src/accordion-item/accordion-item.template.ts",
1569
+ "declarations": [
1380
1570
  {
1381
1571
  "kind": "function",
1382
- "name": "foundationActionsMenuStyles",
1572
+ "name": "foundationAccordionItemTemplate",
1383
1573
  "return": {
1384
1574
  "type": {
1385
- "text": "ElementStyles"
1575
+ "text": "ViewTemplate<AccordionItem>"
1386
1576
  }
1387
1577
  },
1388
1578
  "parameters": [
@@ -1404,408 +1594,149 @@
1404
1594
  "exports": [
1405
1595
  {
1406
1596
  "kind": "js",
1407
- "name": "actionsMenuBaseStyles",
1408
- "declaration": {
1409
- "name": "actionsMenuBaseStyles",
1410
- "module": "src/actions-menu/actions-menu.styles.ts"
1411
- }
1412
- },
1413
- {
1414
- "kind": "js",
1415
- "name": "foundationActionsMenuStyles",
1416
- "declaration": {
1417
- "name": "foundationActionsMenuStyles",
1418
- "module": "src/actions-menu/actions-menu.styles.ts"
1419
- }
1420
- }
1421
- ]
1422
- },
1423
- {
1424
- "kind": "javascript-module",
1425
- "path": "src/actions-menu/actions-menu.template.ts",
1426
- "declarations": [
1427
- {
1428
- "kind": "variable",
1429
- "name": "menuTemplate"
1430
- },
1431
- {
1432
- "kind": "variable",
1433
- "name": "singleOptionTemplate"
1434
- },
1435
- {
1436
- "kind": "variable",
1437
- "name": "foundationActionsMenuTemplate",
1438
- "type": {
1439
- "text": "ViewTemplate<ActionsMenu>"
1440
- },
1441
- "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`"
1442
- }
1443
- ],
1444
- "exports": [
1445
- {
1446
- "kind": "js",
1447
- "name": "menuTemplate",
1448
- "declaration": {
1449
- "name": "menuTemplate",
1450
- "module": "src/actions-menu/actions-menu.template.ts"
1451
- }
1452
- },
1453
- {
1454
- "kind": "js",
1455
- "name": "singleOptionTemplate",
1456
- "declaration": {
1457
- "name": "singleOptionTemplate",
1458
- "module": "src/actions-menu/actions-menu.template.ts"
1459
- }
1460
- },
1461
- {
1462
- "kind": "js",
1463
- "name": "foundationActionsMenuTemplate",
1597
+ "name": "foundationAccordionItemTemplate",
1464
1598
  "declaration": {
1465
- "name": "foundationActionsMenuTemplate",
1466
- "module": "src/actions-menu/actions-menu.template.ts"
1599
+ "name": "foundationAccordionItemTemplate",
1600
+ "module": "src/accordion-item/accordion-item.template.ts"
1467
1601
  }
1468
1602
  }
1469
1603
  ]
1470
1604
  },
1471
1605
  {
1472
1606
  "kind": "javascript-module",
1473
- "path": "src/actions-menu/actions-menu.ts",
1607
+ "path": "src/accordion-item/accordion-item.ts",
1474
1608
  "declarations": [
1475
1609
  {
1476
1610
  "kind": "class",
1477
1611
  "description": "",
1478
- "name": "ActionsMenu",
1479
- "members": [
1612
+ "name": "AccordionItem",
1613
+ "superclass": {
1614
+ "name": "FASTAccordionItem",
1615
+ "package": "@microsoft/fast-components"
1616
+ },
1617
+ "tagName": "%%prefix%%-accordion-item",
1618
+ "customElement": true,
1619
+ "attributes": [
1480
1620
  {
1481
- "kind": "field",
1482
- "name": "actions",
1621
+ "name": "heading-level",
1483
1622
  "type": {
1484
- "text": "ActionMenuItem[]"
1623
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1624
+ },
1625
+ "default": "2",
1626
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1627
+ "fieldName": "headinglevel",
1628
+ "inheritedFrom": {
1629
+ "name": "AccordionItem",
1630
+ "module": "src/accordion-item/accordion-item.ts"
1485
1631
  }
1486
1632
  },
1487
1633
  {
1488
- "kind": "field",
1489
- "name": "actionsResolver",
1490
1634
  "type": {
1491
- "text": "ActionMenuItemsResolver | undefined"
1635
+ "text": "boolean"
1492
1636
  },
1493
- "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
1637
+ "default": "false",
1638
+ "description": "Expands or collapses the item.",
1639
+ "fieldName": "expanded",
1640
+ "inheritedFrom": {
1641
+ "name": "AccordionItem",
1642
+ "module": "src/accordion-item/accordion-item.ts"
1643
+ }
1494
1644
  },
1495
1645
  {
1496
- "kind": "field",
1497
- "name": "isVertical",
1646
+ "name": "id",
1498
1647
  "type": {
1499
- "text": "boolean"
1648
+ "text": "string"
1500
1649
  },
1501
- "default": "false"
1502
- },
1650
+ "description": "The item ID",
1651
+ "fieldName": "id",
1652
+ "inheritedFrom": {
1653
+ "name": "AccordionItem",
1654
+ "module": "src/accordion-item/accordion-item.ts"
1655
+ }
1656
+ }
1657
+ ],
1658
+ "members": [
1503
1659
  {
1504
1660
  "kind": "field",
1505
- "name": "addDefaultActions",
1661
+ "name": "headinglevel",
1506
1662
  "type": {
1507
- "text": "boolean"
1663
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1508
1664
  },
1509
- "default": "true"
1665
+ "privacy": "public",
1666
+ "default": "2",
1667
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1668
+ "inheritedFrom": {
1669
+ "name": "AccordionItem",
1670
+ "module": "src/accordion-item/accordion-item.ts"
1671
+ }
1510
1672
  },
1511
1673
  {
1512
1674
  "kind": "field",
1513
- "name": "autoCloseOnAction",
1675
+ "name": "expanded",
1514
1676
  "type": {
1515
1677
  "text": "boolean"
1516
1678
  },
1517
- "default": "true"
1679
+ "privacy": "public",
1680
+ "default": "false",
1681
+ "description": "Expands or collapses the item.",
1682
+ "inheritedFrom": {
1683
+ "name": "AccordionItem",
1684
+ "module": "src/accordion-item/accordion-item.ts"
1685
+ }
1518
1686
  },
1519
1687
  {
1520
1688
  "kind": "field",
1521
- "name": "classNames",
1689
+ "name": "id",
1522
1690
  "type": {
1523
1691
  "text": "string"
1692
+ },
1693
+ "privacy": "public",
1694
+ "description": "The item ID",
1695
+ "inheritedFrom": {
1696
+ "name": "AccordionItem",
1697
+ "module": "src/accordion-item/accordion-item.ts"
1524
1698
  }
1525
1699
  },
1526
1700
  {
1527
1701
  "kind": "field",
1528
- "name": "definition",
1529
- "type": {
1530
- "text": "any"
1702
+ "name": "change",
1703
+ "privacy": "private",
1704
+ "inheritedFrom": {
1705
+ "name": "AccordionItem",
1706
+ "module": "src/accordion-item/accordion-item.ts"
1531
1707
  }
1532
1708
  },
1533
1709
  {
1534
1710
  "kind": "field",
1535
- "name": "name",
1711
+ "name": "_presentation",
1536
1712
  "type": {
1537
- "text": "string"
1713
+ "text": "ComponentPresentation | null | undefined"
1538
1714
  },
1539
- "default": "'Actions'"
1715
+ "privacy": "private",
1716
+ "default": "void 0",
1717
+ "inheritedFrom": {
1718
+ "name": "FoundationElement",
1719
+ "module": "src/foundation-element/foundation-element.ts"
1720
+ }
1540
1721
  },
1541
1722
  {
1542
1723
  "kind": "field",
1543
- "name": "iconName",
1724
+ "name": "$presentation",
1544
1725
  "type": {
1545
- "text": "string"
1726
+ "text": "ComponentPresentation | null"
1546
1727
  },
1547
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
1728
+ "privacy": "public",
1729
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1730
+ "inheritedFrom": {
1731
+ "name": "FoundationElement",
1732
+ "module": "src/foundation-element/foundation-element.ts"
1733
+ }
1548
1734
  },
1549
1735
  {
1550
1736
  "kind": "field",
1551
- "name": "open",
1737
+ "name": "template",
1552
1738
  "type": {
1553
- "text": "boolean"
1554
- },
1555
- "default": "false"
1556
- },
1557
- {
1558
- "kind": "field",
1559
- "name": "buttonAppearance",
1560
- "type": {
1561
- "text": "string"
1562
- }
1563
- },
1564
- {
1565
- "kind": "field",
1566
- "name": "hideDisabled",
1567
- "type": {
1568
- "text": "boolean"
1569
- },
1570
- "default": "false"
1571
- },
1572
- {
1573
- "kind": "field",
1574
- "name": "hideMenuSingleOption",
1575
- "type": {
1576
- "text": "boolean"
1577
- },
1578
- "default": "false"
1579
- },
1580
- {
1581
- "kind": "field",
1582
- "name": "singleOption",
1583
- "type": {
1584
- "text": "ActionMenuItem"
1585
- }
1586
- },
1587
- {
1588
- "kind": "field",
1589
- "name": "actionsMenu",
1590
- "type": {
1591
- "text": "HTMLElement"
1592
- }
1593
- },
1594
- {
1595
- "kind": "field",
1596
- "name": "actionsOpener",
1597
- "type": {
1598
- "text": "HTMLElement"
1599
- }
1600
- },
1601
- {
1602
- "kind": "field",
1603
- "name": "positionTracker",
1604
- "type": {
1605
- "text": "AnchoredPopoverPositionTracker | undefined"
1606
- },
1607
- "privacy": "private"
1608
- },
1609
- {
1610
- "kind": "field",
1611
- "name": "focusMenuOnOpen",
1612
- "type": {
1613
- "text": "boolean"
1614
- },
1615
- "privacy": "private",
1616
- "default": "false",
1617
- "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
1618
- },
1619
- {
1620
- "kind": "method",
1621
- "name": "updateMenuPosition",
1622
- "privacy": "private"
1623
- },
1624
- {
1625
- "kind": "method",
1626
- "name": "startTrackingPosition",
1627
- "privacy": "private"
1628
- },
1629
- {
1630
- "kind": "method",
1631
- "name": "stopTrackingPosition",
1632
- "privacy": "private"
1633
- },
1634
- {
1635
- "kind": "method",
1636
- "name": "definitionChanged",
1637
- "privacy": "protected",
1638
- "parameters": [
1639
- {
1640
- "name": "oldValue",
1641
- "type": {
1642
- "text": "any"
1643
- }
1644
- },
1645
- {
1646
- "name": "newValue",
1647
- "type": {
1648
- "text": "any"
1649
- }
1650
- }
1651
- ]
1652
- },
1653
- {
1654
- "kind": "method",
1655
- "name": "openChanged",
1656
- "privacy": "protected"
1657
- },
1658
- {
1659
- "kind": "method",
1660
- "name": "toggleActionsMenuVisibility"
1661
- },
1662
- {
1663
- "kind": "method",
1664
- "name": "onPopoverToggle",
1665
- "parameters": [
1666
- {
1667
- "name": "event",
1668
- "type": {
1669
- "text": "Event"
1670
- }
1671
- }
1672
- ],
1673
- "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
1674
- },
1675
- {
1676
- "kind": "method",
1677
- "name": "onIconOpenerKeydown",
1678
- "return": {
1679
- "type": {
1680
- "text": "boolean"
1681
- }
1682
- },
1683
- "parameters": [
1684
- {
1685
- "name": "event",
1686
- "type": {
1687
- "text": "KeyboardEvent"
1688
- }
1689
- }
1690
- ],
1691
- "description": "Opens the icon-only opener from the keyboard, as a native button would."
1692
- },
1693
- {
1694
- "kind": "method",
1695
- "name": "onActionMenuItemClick",
1696
- "parameters": [
1697
- {
1698
- "name": "callback",
1699
- "type": {
1700
- "text": "(rowData) => void | any"
1701
- }
1702
- }
1703
- ]
1704
- },
1705
- {
1706
- "kind": "method",
1707
- "name": "isActionDisabled",
1708
- "return": {
1709
- "type": {
1710
- "text": "boolean"
1711
- }
1712
- },
1713
- "parameters": [
1714
- {
1715
- "name": "action",
1716
- "type": {
1717
- "text": "ActionMenuItem"
1718
- }
1719
- }
1720
- ],
1721
- "description": "Resolves an action's `isDisabled` for the current row."
1722
- },
1723
- {
1724
- "kind": "field",
1725
- "name": "resolvedActions",
1726
- "type": {
1727
- "text": "ActionMenuItem[]"
1728
- },
1729
- "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
1730
- "readonly": true
1731
- },
1732
- {
1733
- "kind": "field",
1734
- "name": "hasVisibleActions",
1735
- "type": {
1736
- "text": "boolean"
1737
- },
1738
- "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
1739
- "readonly": true
1740
- },
1741
- {
1742
- "kind": "field",
1743
- "name": "allActions",
1744
- "type": {
1745
- "text": "ActionMenuItem[]"
1746
- },
1747
- "readonly": true
1748
- },
1749
- {
1750
- "kind": "field",
1751
- "name": "rowData",
1752
- "readonly": true
1753
- },
1754
- {
1755
- "kind": "method",
1756
- "name": "getLabel",
1757
- "parameters": [
1758
- {
1759
- "name": "name",
1760
- "type": {
1761
- "text": "string | ((rowData: any) => string)"
1762
- }
1763
- }
1764
- ]
1765
- },
1766
- {
1767
- "kind": "method",
1768
- "name": "getTemplate",
1769
- "parameters": [
1770
- {
1771
- "name": "prefix",
1772
- "type": {
1773
- "text": "string"
1774
- }
1775
- }
1776
- ]
1777
- },
1778
- {
1779
- "kind": "field",
1780
- "name": "_presentation",
1781
- "type": {
1782
- "text": "ComponentPresentation | null | undefined"
1783
- },
1784
- "privacy": "private",
1785
- "default": "void 0",
1786
- "inheritedFrom": {
1787
- "name": "FoundationElement",
1788
- "module": "src/foundation-element/foundation-element.ts"
1789
- }
1790
- },
1791
- {
1792
- "kind": "field",
1793
- "name": "$presentation",
1794
- "type": {
1795
- "text": "ComponentPresentation | null"
1796
- },
1797
- "privacy": "public",
1798
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1799
- "inheritedFrom": {
1800
- "name": "FoundationElement",
1801
- "module": "src/foundation-element/foundation-element.ts"
1802
- }
1803
- },
1804
- {
1805
- "kind": "field",
1806
- "name": "template",
1807
- "type": {
1808
- "text": "ElementViewTemplate | void | null"
1739
+ "text": "ElementViewTemplate | void | null"
1809
1740
  },
1810
1741
  "privacy": "public",
1811
1742
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
@@ -1887,197 +1818,78 @@
1887
1818
  }
1888
1819
  }
1889
1820
  ],
1890
- "attributes": [
1891
- {
1892
- "name": "is-vertical",
1893
- "type": {
1894
- "text": "boolean"
1895
- },
1896
- "default": "false",
1897
- "fieldName": "isVertical"
1898
- },
1899
- {
1900
- "name": "add-default-actions",
1901
- "type": {
1902
- "text": "boolean"
1903
- },
1904
- "default": "true",
1905
- "fieldName": "addDefaultActions"
1906
- },
1907
- {
1908
- "name": "auto-close-on-action",
1909
- "type": {
1910
- "text": "boolean"
1911
- },
1912
- "default": "true",
1913
- "fieldName": "autoCloseOnAction"
1914
- },
1915
- {
1916
- "name": "name",
1917
- "type": {
1918
- "text": "string"
1919
- },
1920
- "default": "'Actions'",
1921
- "fieldName": "name"
1922
- },
1923
- {
1924
- "name": "icon-name",
1925
- "type": {
1926
- "text": "string"
1927
- },
1928
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
1929
- "fieldName": "iconName"
1930
- },
1931
- {
1932
- "name": "open",
1933
- "type": {
1934
- "text": "boolean"
1935
- },
1936
- "default": "false",
1937
- "fieldName": "open"
1938
- },
1939
- {
1940
- "name": "buttonAppearance",
1941
- "type": {
1942
- "text": "string"
1943
- },
1944
- "fieldName": "buttonAppearance"
1945
- },
1946
- {
1947
- "name": "hide-disabled",
1948
- "type": {
1949
- "text": "boolean"
1950
- },
1951
- "default": "false",
1952
- "fieldName": "hideDisabled"
1953
- },
1821
+ "events": [
1954
1822
  {
1955
- "name": "hide-menu-single-option",
1956
- "type": {
1957
- "text": "boolean"
1958
- },
1959
- "default": "false",
1960
- "fieldName": "hideMenuSingleOption"
1823
+ "description": "Fires a custom 'change' event when the button is invoked",
1824
+ "name": "change",
1825
+ "inheritedFrom": {
1826
+ "name": "AccordionItem",
1827
+ "module": "src/accordion-item/accordion-item.ts"
1828
+ }
1961
1829
  }
1962
- ],
1963
- "superclass": {
1964
- "name": "FoundationElement",
1965
- "package": "@microsoft/fast-foundation"
1966
- },
1967
- "tagName": "%%prefix%%-actions-menu",
1968
- "customElement": true
1830
+ ]
1969
1831
  },
1970
1832
  {
1971
1833
  "kind": "variable",
1972
- "name": "foundationActionsMenu",
1973
- "description": "The Foundation Actions Menu",
1974
- "privacy": "public"
1975
- }
1976
- ],
1977
- "exports": [
1978
- {
1979
- "kind": "js",
1980
- "name": "ActionsMenu",
1981
- "declaration": {
1982
- "name": "ActionsMenu",
1983
- "module": "src/actions-menu/actions-menu.ts"
1984
- }
1834
+ "name": "foundationAccordionItemShadowOptions",
1835
+ "type": {
1836
+ "text": "ShadowRootInit"
1837
+ },
1838
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1985
1839
  },
1986
1840
  {
1987
- "kind": "js",
1988
- "name": "foundationActionsMenu",
1989
- "declaration": {
1990
- "name": "foundationActionsMenu",
1991
- "module": "src/actions-menu/actions-menu.ts"
1992
- }
1993
- }
1994
- ]
1995
- },
1996
- {
1997
- "kind": "javascript-module",
1998
- "path": "src/actions-menu/ag-menu.styles.ts",
1999
- "declarations": [
2000
- {
2001
- "kind": "function",
2002
- "name": "agMenuStyles",
2003
- "return": {
2004
- "type": {
2005
- "text": ""
2006
- }
1841
+ "kind": "variable",
1842
+ "name": "defaultAccordionItemConfig",
1843
+ "type": {
1844
+ "text": "object"
2007
1845
  },
2008
- "parameters": [
2009
- {
2010
- "name": "menuSelector",
2011
- "type": {
2012
- "text": "string"
2013
- },
2014
- "description": "Selects the menu surface. May be a selector list."
2015
- },
2016
- {
2017
- "name": "itemSelector",
2018
- "type": {
2019
- "text": "string"
2020
- },
2021
- "description": "Selects a menu item. Must be a single selector, as states are appended to it."
2022
- }
2023
- ],
2024
- "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
1846
+ "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}"
1847
+ },
1848
+ {
1849
+ "kind": "variable",
1850
+ "name": "foundationAccordionItem",
1851
+ "description": "The Foundation Accordion Item",
2025
1852
  "privacy": "public"
2026
1853
  }
2027
1854
  ],
2028
1855
  "exports": [
2029
1856
  {
2030
1857
  "kind": "js",
2031
- "name": "agMenuStyles",
2032
- "declaration": {
2033
- "name": "agMenuStyles",
2034
- "module": "src/actions-menu/ag-menu.styles.ts"
2035
- }
2036
- }
2037
- ]
2038
- },
2039
- {
2040
- "kind": "javascript-module",
2041
- "path": "src/actions-menu/index.ts",
2042
- "declarations": [],
2043
- "exports": [
2044
- {
2045
- "kind": "js",
2046
- "name": "*",
1858
+ "name": "AccordionItem",
2047
1859
  "declaration": {
2048
- "name": "*",
2049
- "package": "./actions-menu.styles"
1860
+ "name": "AccordionItem",
1861
+ "module": "src/accordion-item/accordion-item.ts"
2050
1862
  }
2051
1863
  },
2052
1864
  {
2053
1865
  "kind": "js",
2054
- "name": "*",
1866
+ "name": "foundationAccordionItemShadowOptions",
2055
1867
  "declaration": {
2056
- "name": "*",
2057
- "package": "./actions-menu.template"
1868
+ "name": "foundationAccordionItemShadowOptions",
1869
+ "module": "src/accordion-item/accordion-item.ts"
2058
1870
  }
2059
1871
  },
2060
1872
  {
2061
1873
  "kind": "js",
2062
- "name": "*",
1874
+ "name": "defaultAccordionItemConfig",
2063
1875
  "declaration": {
2064
- "name": "*",
2065
- "package": "./actions-menu"
1876
+ "name": "defaultAccordionItemConfig",
1877
+ "module": "src/accordion-item/accordion-item.ts"
2066
1878
  }
2067
1879
  },
2068
1880
  {
2069
1881
  "kind": "js",
2070
- "name": "*",
1882
+ "name": "foundationAccordionItem",
2071
1883
  "declaration": {
2072
- "name": "*",
2073
- "package": "./ag-menu.styles"
1884
+ "name": "foundationAccordionItem",
1885
+ "module": "src/accordion-item/accordion-item.ts"
2074
1886
  }
2075
1887
  }
2076
1888
  ]
2077
1889
  },
2078
1890
  {
2079
1891
  "kind": "javascript-module",
2080
- "path": "src/_config/index.ts",
1892
+ "path": "src/accordion-item/index.ts",
2081
1893
  "declarations": [],
2082
1894
  "exports": [
2083
1895
  {
@@ -2085,7 +1897,7 @@
2085
1897
  "name": "*",
2086
1898
  "declaration": {
2087
1899
  "name": "*",
2088
- "package": "./styles"
1900
+ "package": "./accordion-item.template"
2089
1901
  }
2090
1902
  },
2091
1903
  {
@@ -2093,7 +1905,7 @@
2093
1905
  "name": "*",
2094
1906
  "declaration": {
2095
1907
  "name": "*",
2096
- "package": "./tokens"
1908
+ "package": "./accordion-item.styles"
2097
1909
  }
2098
1910
  },
2099
1911
  {
@@ -2101,18 +1913,18 @@
2101
1913
  "name": "*",
2102
1914
  "declaration": {
2103
1915
  "name": "*",
2104
- "package": "./values"
1916
+ "package": "./accordion-item"
2105
1917
  }
2106
1918
  }
2107
1919
  ]
2108
1920
  },
2109
1921
  {
2110
1922
  "kind": "javascript-module",
2111
- "path": "src/accordion/accordion.styles.ts",
1923
+ "path": "src/actions-menu/actions-menu.styles.ts",
2112
1924
  "declarations": [
2113
1925
  {
2114
1926
  "kind": "function",
2115
- "name": "foundationAccordionStyles",
1927
+ "name": "actionsMenuBaseStyles",
2116
1928
  "return": {
2117
1929
  "type": {
2118
1930
  "text": "ElementStyles"
@@ -2132,29 +1944,13 @@
2132
1944
  }
2133
1945
  }
2134
1946
  ]
2135
- }
2136
- ],
2137
- "exports": [
2138
- {
2139
- "kind": "js",
2140
- "name": "foundationAccordionStyles",
2141
- "declaration": {
2142
- "name": "foundationAccordionStyles",
2143
- "module": "src/accordion/accordion.styles.ts"
2144
- }
2145
- }
2146
- ]
2147
- },
2148
- {
2149
- "kind": "javascript-module",
2150
- "path": "src/accordion/accordion.template.ts",
2151
- "declarations": [
1947
+ },
2152
1948
  {
2153
1949
  "kind": "function",
2154
- "name": "foundationAccordionTemplate",
1950
+ "name": "foundationActionsMenuStyles",
2155
1951
  "return": {
2156
1952
  "type": {
2157
- "text": "ViewTemplate<Accordion>"
1953
+ "text": "ElementStyles"
2158
1954
  }
2159
1955
  },
2160
1956
  "parameters": [
@@ -2176,238 +1972,376 @@
2176
1972
  "exports": [
2177
1973
  {
2178
1974
  "kind": "js",
2179
- "name": "foundationAccordionTemplate",
1975
+ "name": "actionsMenuBaseStyles",
2180
1976
  "declaration": {
2181
- "name": "foundationAccordionTemplate",
2182
- "module": "src/accordion/accordion.template.ts"
1977
+ "name": "actionsMenuBaseStyles",
1978
+ "module": "src/actions-menu/actions-menu.styles.ts"
1979
+ }
1980
+ },
1981
+ {
1982
+ "kind": "js",
1983
+ "name": "foundationActionsMenuStyles",
1984
+ "declaration": {
1985
+ "name": "foundationActionsMenuStyles",
1986
+ "module": "src/actions-menu/actions-menu.styles.ts"
2183
1987
  }
2184
1988
  }
2185
1989
  ]
2186
1990
  },
2187
1991
  {
2188
1992
  "kind": "javascript-module",
2189
- "path": "src/accordion/accordion.ts",
1993
+ "path": "src/actions-menu/actions-menu.template.ts",
2190
1994
  "declarations": [
2191
1995
  {
2192
- "kind": "class",
2193
- "description": "",
2194
- "name": "Accordion",
2195
- "superclass": {
2196
- "name": "FASTAccordion",
2197
- "package": "@microsoft/fast-foundation"
1996
+ "kind": "variable",
1997
+ "name": "menuTemplate"
1998
+ },
1999
+ {
2000
+ "kind": "variable",
2001
+ "name": "singleOptionTemplate"
2002
+ },
2003
+ {
2004
+ "kind": "variable",
2005
+ "name": "foundationActionsMenuTemplate",
2006
+ "type": {
2007
+ "text": "ViewTemplate<ActionsMenu>"
2198
2008
  },
2199
- "tagName": "%%prefix%%-accordion",
2200
- "customElement": true,
2201
- "attributes": [
2009
+ "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`"
2010
+ }
2011
+ ],
2012
+ "exports": [
2013
+ {
2014
+ "kind": "js",
2015
+ "name": "menuTemplate",
2016
+ "declaration": {
2017
+ "name": "menuTemplate",
2018
+ "module": "src/actions-menu/actions-menu.template.ts"
2019
+ }
2020
+ },
2021
+ {
2022
+ "kind": "js",
2023
+ "name": "singleOptionTemplate",
2024
+ "declaration": {
2025
+ "name": "singleOptionTemplate",
2026
+ "module": "src/actions-menu/actions-menu.template.ts"
2027
+ }
2028
+ },
2029
+ {
2030
+ "kind": "js",
2031
+ "name": "foundationActionsMenuTemplate",
2032
+ "declaration": {
2033
+ "name": "foundationActionsMenuTemplate",
2034
+ "module": "src/actions-menu/actions-menu.template.ts"
2035
+ }
2036
+ }
2037
+ ]
2038
+ },
2039
+ {
2040
+ "kind": "javascript-module",
2041
+ "path": "src/actions-menu/actions-menu.ts",
2042
+ "declarations": [
2043
+ {
2044
+ "kind": "class",
2045
+ "description": "",
2046
+ "name": "ActionsMenu",
2047
+ "members": [
2202
2048
  {
2203
- "name": "expand-mode",
2049
+ "kind": "field",
2050
+ "name": "actions",
2204
2051
  "type": {
2205
- "text": "AccordionExpandMode"
2206
- },
2207
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2208
- "fieldName": "expandmode",
2209
- "inheritedFrom": {
2210
- "name": "Accordion",
2211
- "module": "src/accordion/accordion.ts"
2052
+ "text": "ActionMenuItem[]"
2212
2053
  }
2213
- }
2214
- ],
2215
- "members": [
2054
+ },
2216
2055
  {
2217
2056
  "kind": "field",
2218
- "name": "expandmode",
2057
+ "name": "actionsResolver",
2219
2058
  "type": {
2220
- "text": "AccordionExpandMode"
2059
+ "text": "ActionMenuItemsResolver | undefined"
2221
2060
  },
2222
- "privacy": "public",
2223
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2224
- "inheritedFrom": {
2225
- "name": "Accordion",
2226
- "module": "src/accordion/accordion.ts"
2227
- }
2061
+ "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
2228
2062
  },
2229
2063
  {
2230
2064
  "kind": "field",
2231
- "name": "activeid",
2065
+ "name": "isVertical",
2232
2066
  "type": {
2233
- "text": "string | null"
2067
+ "text": "boolean"
2234
2068
  },
2235
- "privacy": "private",
2236
- "inheritedFrom": {
2237
- "name": "Accordion",
2238
- "module": "src/accordion/accordion.ts"
2239
- }
2069
+ "default": "false"
2240
2070
  },
2241
2071
  {
2242
2072
  "kind": "field",
2243
- "name": "activeItemIndex",
2073
+ "name": "addDefaultActions",
2244
2074
  "type": {
2245
- "text": "number"
2075
+ "text": "boolean"
2246
2076
  },
2247
- "privacy": "private",
2248
- "default": "0",
2249
- "inheritedFrom": {
2250
- "name": "Accordion",
2251
- "module": "src/accordion/accordion.ts"
2252
- }
2077
+ "default": "true"
2253
2078
  },
2254
2079
  {
2255
2080
  "kind": "field",
2256
- "name": "accordionIds",
2081
+ "name": "autoCloseOnAction",
2257
2082
  "type": {
2258
- "text": "Array<string | null>"
2083
+ "text": "boolean"
2259
2084
  },
2260
- "privacy": "private",
2261
- "inheritedFrom": {
2262
- "name": "Accordion",
2263
- "module": "src/accordion/accordion.ts"
2085
+ "default": "true"
2086
+ },
2087
+ {
2088
+ "kind": "field",
2089
+ "name": "classNames",
2090
+ "type": {
2091
+ "text": "string"
2264
2092
  }
2265
2093
  },
2266
2094
  {
2267
2095
  "kind": "field",
2268
- "name": "change",
2269
- "privacy": "private",
2270
- "inheritedFrom": {
2271
- "name": "Accordion",
2272
- "module": "src/accordion/accordion.ts"
2096
+ "name": "definition",
2097
+ "type": {
2098
+ "text": "any"
2273
2099
  }
2274
2100
  },
2275
2101
  {
2276
- "kind": "method",
2277
- "name": "findExpandedItem",
2278
- "privacy": "private",
2279
- "return": {
2280
- "type": {
2281
- "text": "AccordionItem | null"
2282
- }
2102
+ "kind": "field",
2103
+ "name": "name",
2104
+ "type": {
2105
+ "text": "string"
2283
2106
  },
2284
- "inheritedFrom": {
2285
- "name": "Accordion",
2286
- "module": "src/accordion/accordion.ts"
2287
- }
2107
+ "default": "'Actions'"
2288
2108
  },
2289
2109
  {
2290
2110
  "kind": "field",
2291
- "name": "setItems",
2292
- "privacy": "private",
2293
- "inheritedFrom": {
2294
- "name": "Accordion",
2295
- "module": "src/accordion/accordion.ts"
2111
+ "name": "iconName",
2112
+ "type": {
2113
+ "text": "string"
2114
+ },
2115
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
2116
+ },
2117
+ {
2118
+ "kind": "field",
2119
+ "name": "open",
2120
+ "type": {
2121
+ "text": "boolean"
2122
+ },
2123
+ "default": "false"
2124
+ },
2125
+ {
2126
+ "kind": "field",
2127
+ "name": "buttonAppearance",
2128
+ "type": {
2129
+ "text": "string"
2296
2130
  }
2297
2131
  },
2298
2132
  {
2299
- "kind": "method",
2300
- "name": "resetItems",
2301
- "privacy": "private",
2302
- "return": {
2303
- "type": {
2304
- "text": "void"
2305
- }
2133
+ "kind": "field",
2134
+ "name": "hideDisabled",
2135
+ "type": {
2136
+ "text": "boolean"
2306
2137
  },
2307
- "inheritedFrom": {
2308
- "name": "Accordion",
2309
- "module": "src/accordion/accordion.ts"
2138
+ "default": "false"
2139
+ },
2140
+ {
2141
+ "kind": "field",
2142
+ "name": "hideMenuSingleOption",
2143
+ "type": {
2144
+ "text": "boolean"
2145
+ },
2146
+ "default": "false"
2147
+ },
2148
+ {
2149
+ "kind": "field",
2150
+ "name": "singleOption",
2151
+ "type": {
2152
+ "text": "ActionMenuItem"
2310
2153
  }
2311
2154
  },
2312
2155
  {
2313
2156
  "kind": "field",
2314
- "name": "removeItemListeners",
2315
- "privacy": "private",
2316
- "inheritedFrom": {
2317
- "name": "Accordion",
2318
- "module": "src/accordion/accordion.ts"
2157
+ "name": "actionsMenu",
2158
+ "type": {
2159
+ "text": "HTMLElement"
2319
2160
  }
2320
2161
  },
2321
2162
  {
2322
2163
  "kind": "field",
2323
- "name": "activeItemChange",
2324
- "privacy": "private",
2325
- "inheritedFrom": {
2326
- "name": "Accordion",
2327
- "module": "src/accordion/accordion.ts"
2164
+ "name": "actionsOpener",
2165
+ "type": {
2166
+ "text": "HTMLElement"
2328
2167
  }
2329
2168
  },
2330
2169
  {
2331
- "kind": "method",
2332
- "name": "getItemIds",
2170
+ "kind": "field",
2171
+ "name": "positionTracker",
2172
+ "type": {
2173
+ "text": "AnchoredPopoverPositionTracker | undefined"
2174
+ },
2175
+ "privacy": "private"
2176
+ },
2177
+ {
2178
+ "kind": "field",
2179
+ "name": "focusMenuOnOpen",
2180
+ "type": {
2181
+ "text": "boolean"
2182
+ },
2333
2183
  "privacy": "private",
2184
+ "default": "false",
2185
+ "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
2186
+ },
2187
+ {
2188
+ "kind": "method",
2189
+ "name": "updateMenuPosition",
2190
+ "privacy": "private"
2191
+ },
2192
+ {
2193
+ "kind": "method",
2194
+ "name": "startTrackingPosition",
2195
+ "privacy": "private"
2196
+ },
2197
+ {
2198
+ "kind": "method",
2199
+ "name": "stopTrackingPosition",
2200
+ "privacy": "private"
2201
+ },
2202
+ {
2203
+ "kind": "method",
2204
+ "name": "definitionChanged",
2205
+ "privacy": "protected",
2206
+ "parameters": [
2207
+ {
2208
+ "name": "oldValue",
2209
+ "type": {
2210
+ "text": "any"
2211
+ }
2212
+ },
2213
+ {
2214
+ "name": "newValue",
2215
+ "type": {
2216
+ "text": "any"
2217
+ }
2218
+ }
2219
+ ]
2220
+ },
2221
+ {
2222
+ "kind": "method",
2223
+ "name": "openChanged",
2224
+ "privacy": "protected"
2225
+ },
2226
+ {
2227
+ "kind": "method",
2228
+ "name": "toggleActionsMenuVisibility"
2229
+ },
2230
+ {
2231
+ "kind": "method",
2232
+ "name": "onPopoverToggle",
2233
+ "parameters": [
2234
+ {
2235
+ "name": "event",
2236
+ "type": {
2237
+ "text": "Event"
2238
+ }
2239
+ }
2240
+ ],
2241
+ "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
2242
+ },
2243
+ {
2244
+ "kind": "method",
2245
+ "name": "onIconOpenerKeydown",
2334
2246
  "return": {
2335
2247
  "type": {
2336
- "text": "Array<string | null>"
2248
+ "text": "boolean"
2337
2249
  }
2338
2250
  },
2339
- "inheritedFrom": {
2340
- "name": "Accordion",
2341
- "module": "src/accordion/accordion.ts"
2342
- }
2251
+ "parameters": [
2252
+ {
2253
+ "name": "event",
2254
+ "type": {
2255
+ "text": "KeyboardEvent"
2256
+ }
2257
+ }
2258
+ ],
2259
+ "description": "Opens the icon-only opener from the keyboard, as a native button would."
2343
2260
  },
2344
2261
  {
2345
2262
  "kind": "method",
2346
- "name": "isSingleExpandMode",
2347
- "privacy": "private",
2263
+ "name": "onActionMenuItemClick",
2264
+ "parameters": [
2265
+ {
2266
+ "name": "callback",
2267
+ "type": {
2268
+ "text": "(rowData) => void | any"
2269
+ }
2270
+ }
2271
+ ]
2272
+ },
2273
+ {
2274
+ "kind": "method",
2275
+ "name": "isActionDisabled",
2348
2276
  "return": {
2349
2277
  "type": {
2350
2278
  "text": "boolean"
2351
2279
  }
2352
2280
  },
2353
- "inheritedFrom": {
2354
- "name": "Accordion",
2355
- "module": "src/accordion/accordion.ts"
2356
- }
2281
+ "parameters": [
2282
+ {
2283
+ "name": "action",
2284
+ "type": {
2285
+ "text": "ActionMenuItem"
2286
+ }
2287
+ }
2288
+ ],
2289
+ "description": "Resolves an action's `isDisabled` for the current row."
2357
2290
  },
2358
2291
  {
2359
2292
  "kind": "field",
2360
- "name": "handleItemKeyDown",
2361
- "privacy": "private",
2362
- "inheritedFrom": {
2363
- "name": "Accordion",
2364
- "module": "src/accordion/accordion.ts"
2365
- }
2293
+ "name": "resolvedActions",
2294
+ "type": {
2295
+ "text": "ActionMenuItem[]"
2296
+ },
2297
+ "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
2298
+ "readonly": true
2366
2299
  },
2367
2300
  {
2368
2301
  "kind": "field",
2369
- "name": "handleItemFocus",
2370
- "privacy": "private",
2371
- "inheritedFrom": {
2372
- "name": "Accordion",
2373
- "module": "src/accordion/accordion.ts"
2374
- }
2302
+ "name": "hasVisibleActions",
2303
+ "type": {
2304
+ "text": "boolean"
2305
+ },
2306
+ "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
2307
+ "readonly": true
2375
2308
  },
2376
2309
  {
2377
- "kind": "method",
2378
- "name": "adjust",
2379
- "privacy": "private",
2380
- "return": {
2381
- "type": {
2382
- "text": "void"
2383
- }
2310
+ "kind": "field",
2311
+ "name": "allActions",
2312
+ "type": {
2313
+ "text": "ActionMenuItem[]"
2384
2314
  },
2315
+ "readonly": true
2316
+ },
2317
+ {
2318
+ "kind": "field",
2319
+ "name": "rowData",
2320
+ "readonly": true
2321
+ },
2322
+ {
2323
+ "kind": "method",
2324
+ "name": "getLabel",
2385
2325
  "parameters": [
2386
2326
  {
2387
- "name": "adjustment",
2327
+ "name": "name",
2388
2328
  "type": {
2389
- "text": "number"
2329
+ "text": "string | ((rowData: any) => string)"
2390
2330
  }
2391
2331
  }
2392
- ],
2393
- "inheritedFrom": {
2394
- "name": "Accordion",
2395
- "module": "src/accordion/accordion.ts"
2396
- }
2332
+ ]
2397
2333
  },
2398
2334
  {
2399
2335
  "kind": "method",
2400
- "name": "focusItem",
2401
- "privacy": "private",
2402
- "return": {
2403
- "type": {
2404
- "text": "void"
2336
+ "name": "getTemplate",
2337
+ "parameters": [
2338
+ {
2339
+ "name": "prefix",
2340
+ "type": {
2341
+ "text": "string"
2342
+ }
2405
2343
  }
2406
- },
2407
- "inheritedFrom": {
2408
- "name": "Accordion",
2409
- "module": "src/accordion/accordion.ts"
2410
- }
2344
+ ]
2411
2345
  },
2412
2346
  {
2413
2347
  "kind": "field",
@@ -2521,78 +2455,158 @@
2521
2455
  }
2522
2456
  }
2523
2457
  ],
2524
- "events": [
2458
+ "attributes": [
2525
2459
  {
2526
- "description": "Fires a custom 'change' event when the active item changes",
2527
- "name": "change",
2528
- "inheritedFrom": {
2529
- "name": "Accordion",
2530
- "module": "src/accordion/accordion.ts"
2531
- }
2460
+ "name": "is-vertical",
2461
+ "type": {
2462
+ "text": "boolean"
2463
+ },
2464
+ "default": "false",
2465
+ "fieldName": "isVertical"
2466
+ },
2467
+ {
2468
+ "name": "add-default-actions",
2469
+ "type": {
2470
+ "text": "boolean"
2471
+ },
2472
+ "default": "true",
2473
+ "fieldName": "addDefaultActions"
2474
+ },
2475
+ {
2476
+ "name": "auto-close-on-action",
2477
+ "type": {
2478
+ "text": "boolean"
2479
+ },
2480
+ "default": "true",
2481
+ "fieldName": "autoCloseOnAction"
2482
+ },
2483
+ {
2484
+ "name": "name",
2485
+ "type": {
2486
+ "text": "string"
2487
+ },
2488
+ "default": "'Actions'",
2489
+ "fieldName": "name"
2490
+ },
2491
+ {
2492
+ "name": "icon-name",
2493
+ "type": {
2494
+ "text": "string"
2495
+ },
2496
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
2497
+ "fieldName": "iconName"
2498
+ },
2499
+ {
2500
+ "name": "open",
2501
+ "type": {
2502
+ "text": "boolean"
2503
+ },
2504
+ "default": "false",
2505
+ "fieldName": "open"
2506
+ },
2507
+ {
2508
+ "name": "buttonAppearance",
2509
+ "type": {
2510
+ "text": "string"
2511
+ },
2512
+ "fieldName": "buttonAppearance"
2513
+ },
2514
+ {
2515
+ "name": "hide-disabled",
2516
+ "type": {
2517
+ "text": "boolean"
2518
+ },
2519
+ "default": "false",
2520
+ "fieldName": "hideDisabled"
2521
+ },
2522
+ {
2523
+ "name": "hide-menu-single-option",
2524
+ "type": {
2525
+ "text": "boolean"
2526
+ },
2527
+ "default": "false",
2528
+ "fieldName": "hideMenuSingleOption"
2532
2529
  }
2533
- ]
2534
- },
2535
- {
2536
- "kind": "variable",
2537
- "name": "foundationAccordionShadowOptions",
2538
- "type": {
2539
- "text": "ShadowRootInit"
2540
- },
2541
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2542
- },
2543
- {
2544
- "kind": "variable",
2545
- "name": "defaultAccordionConfig",
2546
- "type": {
2547
- "text": "object"
2530
+ ],
2531
+ "superclass": {
2532
+ "name": "FoundationElement",
2533
+ "package": "@microsoft/fast-foundation"
2548
2534
  },
2549
- "default": "{}"
2535
+ "tagName": "%%prefix%%-actions-menu",
2536
+ "customElement": true
2550
2537
  },
2551
2538
  {
2552
2539
  "kind": "variable",
2553
- "name": "foundationAccordion",
2554
- "description": "The Foundation Accordion",
2540
+ "name": "foundationActionsMenu",
2541
+ "description": "The Foundation Actions Menu",
2555
2542
  "privacy": "public"
2556
2543
  }
2557
2544
  ],
2558
2545
  "exports": [
2559
2546
  {
2560
2547
  "kind": "js",
2561
- "name": "Accordion",
2548
+ "name": "ActionsMenu",
2562
2549
  "declaration": {
2563
- "name": "Accordion",
2564
- "module": "src/accordion/accordion.ts"
2550
+ "name": "ActionsMenu",
2551
+ "module": "src/actions-menu/actions-menu.ts"
2565
2552
  }
2566
2553
  },
2567
2554
  {
2568
2555
  "kind": "js",
2569
- "name": "foundationAccordionShadowOptions",
2556
+ "name": "foundationActionsMenu",
2570
2557
  "declaration": {
2571
- "name": "foundationAccordionShadowOptions",
2572
- "module": "src/accordion/accordion.ts"
2558
+ "name": "foundationActionsMenu",
2559
+ "module": "src/actions-menu/actions-menu.ts"
2573
2560
  }
2574
- },
2561
+ }
2562
+ ]
2563
+ },
2564
+ {
2565
+ "kind": "javascript-module",
2566
+ "path": "src/actions-menu/ag-menu.styles.ts",
2567
+ "declarations": [
2575
2568
  {
2576
- "kind": "js",
2577
- "name": "defaultAccordionConfig",
2578
- "declaration": {
2579
- "name": "defaultAccordionConfig",
2580
- "module": "src/accordion/accordion.ts"
2581
- }
2582
- },
2569
+ "kind": "function",
2570
+ "name": "agMenuStyles",
2571
+ "return": {
2572
+ "type": {
2573
+ "text": ""
2574
+ }
2575
+ },
2576
+ "parameters": [
2577
+ {
2578
+ "name": "menuSelector",
2579
+ "type": {
2580
+ "text": "string"
2581
+ },
2582
+ "description": "Selects the menu surface. May be a selector list."
2583
+ },
2584
+ {
2585
+ "name": "itemSelector",
2586
+ "type": {
2587
+ "text": "string"
2588
+ },
2589
+ "description": "Selects a menu item. Must be a single selector, as states are appended to it."
2590
+ }
2591
+ ],
2592
+ "description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
2593
+ "privacy": "public"
2594
+ }
2595
+ ],
2596
+ "exports": [
2583
2597
  {
2584
2598
  "kind": "js",
2585
- "name": "foundationAccordion",
2599
+ "name": "agMenuStyles",
2586
2600
  "declaration": {
2587
- "name": "foundationAccordion",
2588
- "module": "src/accordion/accordion.ts"
2601
+ "name": "agMenuStyles",
2602
+ "module": "src/actions-menu/ag-menu.styles.ts"
2589
2603
  }
2590
2604
  }
2591
2605
  ]
2592
2606
  },
2593
2607
  {
2594
2608
  "kind": "javascript-module",
2595
- "path": "src/accordion/index.ts",
2609
+ "path": "src/actions-menu/index.ts",
2596
2610
  "declarations": [],
2597
2611
  "exports": [
2598
2612
  {
@@ -2600,7 +2614,15 @@
2600
2614
  "name": "*",
2601
2615
  "declaration": {
2602
2616
  "name": "*",
2603
- "package": "./accordion.template"
2617
+ "package": "./actions-menu.styles"
2618
+ }
2619
+ },
2620
+ {
2621
+ "kind": "js",
2622
+ "name": "*",
2623
+ "declaration": {
2624
+ "name": "*",
2625
+ "package": "./actions-menu.template"
2604
2626
  }
2605
2627
  },
2606
2628
  {
@@ -2608,7 +2630,7 @@
2608
2630
  "name": "*",
2609
2631
  "declaration": {
2610
2632
  "name": "*",
2611
- "package": "./accordion.styles"
2633
+ "package": "./actions-menu"
2612
2634
  }
2613
2635
  },
2614
2636
  {
@@ -2616,7 +2638,7 @@
2616
2638
  "name": "*",
2617
2639
  "declaration": {
2618
2640
  "name": "*",
2619
- "package": "./accordion"
2641
+ "package": "./ag-menu.styles"
2620
2642
  }
2621
2643
  }
2622
2644
  ]
@@ -3681,44 +3703,27 @@
3681
3703
  },
3682
3704
  {
3683
3705
  "kind": "javascript-module",
3684
- "path": "src/_common/affix-mixin.ts",
3706
+ "path": "src/accordion/accordion.styles.ts",
3685
3707
  "declarations": [
3686
3708
  {
3687
- "kind": "mixin",
3688
- "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.",
3689
- "name": "AffixMixin",
3690
- "members": [
3691
- {
3692
- "kind": "field",
3693
- "name": "prefix",
3694
- "type": {
3695
- "text": "string"
3696
- },
3697
- "description": "Optional non-editable label shown on the left inside the field, before the input."
3698
- },
3709
+ "kind": "function",
3710
+ "name": "foundationAccordionStyles",
3711
+ "return": {
3712
+ "type": {
3713
+ "text": "ElementStyles"
3714
+ }
3715
+ },
3716
+ "parameters": [
3699
3717
  {
3700
- "kind": "field",
3701
- "name": "suffix",
3718
+ "name": "context",
3702
3719
  "type": {
3703
- "text": "string"
3704
- },
3705
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
3720
+ "text": "ElementDefinitionContext"
3721
+ }
3706
3722
  },
3707
3723
  {
3708
- "kind": "field",
3709
- "name": "hideAffixFromScreenReader",
3710
- "type": {
3711
- "text": "boolean"
3712
- },
3713
- "default": "false",
3714
- "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."
3715
- }
3716
- ],
3717
- "parameters": [
3718
- {
3719
- "name": "Base",
3724
+ "name": "definition",
3720
3725
  "type": {
3721
- "text": "TBase"
3726
+ "text": "FoundationElementDefinition"
3722
3727
  }
3723
3728
  }
3724
3729
  ]
@@ -3727,206 +3732,246 @@
3727
3732
  "exports": [
3728
3733
  {
3729
3734
  "kind": "js",
3730
- "name": "AffixMixin",
3735
+ "name": "foundationAccordionStyles",
3731
3736
  "declaration": {
3732
- "name": "AffixMixin",
3733
- "module": "src/_common/affix-mixin.ts"
3737
+ "name": "foundationAccordionStyles",
3738
+ "module": "src/accordion/accordion.styles.ts"
3734
3739
  }
3735
3740
  }
3736
3741
  ]
3737
3742
  },
3738
3743
  {
3739
3744
  "kind": "javascript-module",
3740
- "path": "src/_common/alert-flash-clock.ts",
3745
+ "path": "src/accordion/accordion.template.ts",
3741
3746
  "declarations": [
3742
- {
3743
- "kind": "variable",
3744
- "name": "alertFlashPhaseProperty",
3745
- "type": {
3746
- "text": "string"
3747
- },
3748
- "default": "'--alert-flash-t'",
3749
- "description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
3750
- "privacy": "public"
3751
- },
3752
- {
3753
- "kind": "variable",
3754
- "name": "alertFlashDurationProperty",
3755
- "type": {
3756
- "text": "string"
3757
- },
3758
- "default": "'--alert-flash-duration'",
3759
- "description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
3760
- "privacy": "public"
3761
- },
3762
3747
  {
3763
3748
  "kind": "function",
3764
- "name": "installAlertFlashClock",
3749
+ "name": "foundationAccordionTemplate",
3765
3750
  "return": {
3766
3751
  "type": {
3767
- "text": "void"
3752
+ "text": "ViewTemplate<Accordion>"
3768
3753
  }
3769
3754
  },
3770
- "description": "Starts the document-level clock that alert flashes sample.\n\nSafe to call repeatedly and from any number of components — the first call does the work. Called\nautomatically by the components that flash, so apps only need this to start the clock earlier.\n\nDoes nothing where `CSS.registerProperty` or constructable stylesheets are unavailable, which\nleaves alerting surfaces on their static fallback colour rather than breaking them.",
3771
- "privacy": "public"
3755
+ "parameters": [
3756
+ {
3757
+ "name": "context",
3758
+ "type": {
3759
+ "text": "ElementDefinitionContext"
3760
+ }
3761
+ },
3762
+ {
3763
+ "name": "definition",
3764
+ "type": {
3765
+ "text": "FoundationElementDefinition"
3766
+ }
3767
+ }
3768
+ ]
3772
3769
  }
3773
3770
  ],
3774
3771
  "exports": [
3775
3772
  {
3776
3773
  "kind": "js",
3777
- "name": "alertFlashPhaseProperty",
3778
- "declaration": {
3779
- "name": "alertFlashPhaseProperty",
3780
- "module": "src/_common/alert-flash-clock.ts"
3781
- }
3782
- },
3783
- {
3784
- "kind": "js",
3785
- "name": "alertFlashDurationProperty",
3786
- "declaration": {
3787
- "name": "alertFlashDurationProperty",
3788
- "module": "src/_common/alert-flash-clock.ts"
3789
- }
3790
- },
3791
- {
3792
- "kind": "js",
3793
- "name": "installAlertFlashClock",
3774
+ "name": "foundationAccordionTemplate",
3794
3775
  "declaration": {
3795
- "name": "installAlertFlashClock",
3796
- "module": "src/_common/alert-flash-clock.ts"
3776
+ "name": "foundationAccordionTemplate",
3777
+ "module": "src/accordion/accordion.template.ts"
3797
3778
  }
3798
3779
  }
3799
3780
  ]
3800
3781
  },
3801
3782
  {
3802
3783
  "kind": "javascript-module",
3803
- "path": "src/_common/base-file-component.ts",
3784
+ "path": "src/accordion/accordion.ts",
3804
3785
  "declarations": [
3805
3786
  {
3806
3787
  "kind": "class",
3807
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
3808
- "name": "BaseFileComponent",
3809
- "members": [
3788
+ "description": "",
3789
+ "name": "Accordion",
3790
+ "superclass": {
3791
+ "name": "FASTAccordion",
3792
+ "package": "@microsoft/fast-foundation"
3793
+ },
3794
+ "tagName": "%%prefix%%-accordion",
3795
+ "customElement": true,
3796
+ "attributes": [
3810
3797
  {
3811
- "kind": "field",
3812
- "name": "fileInput",
3798
+ "name": "expand-mode",
3813
3799
  "type": {
3814
- "text": "HTMLInputElement"
3800
+ "text": "AccordionExpandMode"
3815
3801
  },
3816
- "privacy": "public"
3817
- },
3802
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3803
+ "fieldName": "expandmode",
3804
+ "inheritedFrom": {
3805
+ "name": "Accordion",
3806
+ "module": "src/accordion/accordion.ts"
3807
+ }
3808
+ }
3809
+ ],
3810
+ "members": [
3818
3811
  {
3819
3812
  "kind": "field",
3820
- "name": "selectedFile",
3813
+ "name": "expandmode",
3821
3814
  "type": {
3822
- "text": "File | null"
3815
+ "text": "AccordionExpandMode"
3823
3816
  },
3824
- "privacy": "protected",
3825
- "default": "null"
3826
- },
3827
- {
3828
- "kind": "field",
3829
- "name": "label",
3830
- "type": {
3831
- "text": "string"
3817
+ "privacy": "public",
3818
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3819
+ "inheritedFrom": {
3820
+ "name": "Accordion",
3821
+ "module": "src/accordion/accordion.ts"
3832
3822
  }
3833
3823
  },
3834
3824
  {
3835
3825
  "kind": "field",
3836
- "name": "accept",
3826
+ "name": "activeid",
3837
3827
  "type": {
3838
- "text": "string"
3828
+ "text": "string | null"
3839
3829
  },
3840
- "default": "''"
3830
+ "privacy": "private",
3831
+ "inheritedFrom": {
3832
+ "name": "Accordion",
3833
+ "module": "src/accordion/accordion.ts"
3834
+ }
3841
3835
  },
3842
3836
  {
3843
3837
  "kind": "field",
3844
- "name": "fileSizeLimitBytes",
3845
- "default": "10_485_760",
3838
+ "name": "activeItemIndex",
3846
3839
  "type": {
3847
3840
  "text": "number"
3841
+ },
3842
+ "privacy": "private",
3843
+ "default": "0",
3844
+ "inheritedFrom": {
3845
+ "name": "Accordion",
3846
+ "module": "src/accordion/accordion.ts"
3848
3847
  }
3849
3848
  },
3850
3849
  {
3851
3850
  "kind": "field",
3852
- "name": "fileName",
3851
+ "name": "accordionIds",
3853
3852
  "type": {
3854
- "text": "string"
3853
+ "text": "Array<string | null>"
3855
3854
  },
3856
- "default": "''"
3855
+ "privacy": "private",
3856
+ "inheritedFrom": {
3857
+ "name": "Accordion",
3858
+ "module": "src/accordion/accordion.ts"
3859
+ }
3857
3860
  },
3858
3861
  {
3859
3862
  "kind": "field",
3860
- "name": "isProcessing",
3861
- "type": {
3862
- "text": "boolean"
3863
- },
3864
- "default": "false"
3863
+ "name": "change",
3864
+ "privacy": "private",
3865
+ "inheritedFrom": {
3866
+ "name": "Accordion",
3867
+ "module": "src/accordion/accordion.ts"
3868
+ }
3865
3869
  },
3866
3870
  {
3867
3871
  "kind": "method",
3868
- "name": "handleClick",
3869
- "privacy": "public",
3870
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
3872
+ "name": "findExpandedItem",
3873
+ "privacy": "private",
3874
+ "return": {
3875
+ "type": {
3876
+ "text": "AccordionItem | null"
3877
+ }
3878
+ },
3879
+ "inheritedFrom": {
3880
+ "name": "Accordion",
3881
+ "module": "src/accordion/accordion.ts"
3882
+ }
3883
+ },
3884
+ {
3885
+ "kind": "field",
3886
+ "name": "setItems",
3887
+ "privacy": "private",
3888
+ "inheritedFrom": {
3889
+ "name": "Accordion",
3890
+ "module": "src/accordion/accordion.ts"
3891
+ }
3871
3892
  },
3872
3893
  {
3873
3894
  "kind": "method",
3874
- "name": "onInputChange",
3875
- "privacy": "public",
3876
- "parameters": [
3877
- {
3878
- "name": "e",
3879
- "type": {
3880
- "text": "Event"
3881
- },
3882
- "description": "The change event from the file input"
3895
+ "name": "resetItems",
3896
+ "privacy": "private",
3897
+ "return": {
3898
+ "type": {
3899
+ "text": "void"
3883
3900
  }
3884
- ],
3885
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
3901
+ },
3902
+ "inheritedFrom": {
3903
+ "name": "Accordion",
3904
+ "module": "src/accordion/accordion.ts"
3905
+ }
3886
3906
  },
3887
3907
  {
3888
- "kind": "method",
3889
- "name": "clearSelection",
3890
- "privacy": "public",
3891
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
3908
+ "kind": "field",
3909
+ "name": "removeItemListeners",
3910
+ "privacy": "private",
3911
+ "inheritedFrom": {
3912
+ "name": "Accordion",
3913
+ "module": "src/accordion/accordion.ts"
3914
+ }
3915
+ },
3916
+ {
3917
+ "kind": "field",
3918
+ "name": "activeItemChange",
3919
+ "privacy": "private",
3920
+ "inheritedFrom": {
3921
+ "name": "Accordion",
3922
+ "module": "src/accordion/accordion.ts"
3923
+ }
3892
3924
  },
3893
3925
  {
3894
3926
  "kind": "method",
3895
- "name": "getSelectedFile",
3896
- "privacy": "public",
3897
- "description": "Gets the currently selected file object",
3927
+ "name": "getItemIds",
3928
+ "privacy": "private",
3898
3929
  "return": {
3899
3930
  "type": {
3900
- "text": ""
3931
+ "text": "Array<string | null>"
3901
3932
  }
3933
+ },
3934
+ "inheritedFrom": {
3935
+ "name": "Accordion",
3936
+ "module": "src/accordion/accordion.ts"
3902
3937
  }
3903
3938
  },
3904
3939
  {
3905
3940
  "kind": "method",
3906
- "name": "showError",
3907
- "privacy": "protected",
3908
- "parameters": [
3909
- {
3910
- "name": "title",
3911
- "type": {
3912
- "text": "string"
3913
- },
3914
- "description": "The error title"
3915
- },
3916
- {
3917
- "name": "message",
3918
- "type": {
3919
- "text": "string"
3920
- },
3921
- "description": "The error message"
3941
+ "name": "isSingleExpandMode",
3942
+ "privacy": "private",
3943
+ "return": {
3944
+ "type": {
3945
+ "text": "boolean"
3922
3946
  }
3923
- ],
3924
- "description": "Shows an error notification using the unified error handling system"
3947
+ },
3948
+ "inheritedFrom": {
3949
+ "name": "Accordion",
3950
+ "module": "src/accordion/accordion.ts"
3951
+ }
3952
+ },
3953
+ {
3954
+ "kind": "field",
3955
+ "name": "handleItemKeyDown",
3956
+ "privacy": "private",
3957
+ "inheritedFrom": {
3958
+ "name": "Accordion",
3959
+ "module": "src/accordion/accordion.ts"
3960
+ }
3961
+ },
3962
+ {
3963
+ "kind": "field",
3964
+ "name": "handleItemFocus",
3965
+ "privacy": "private",
3966
+ "inheritedFrom": {
3967
+ "name": "Accordion",
3968
+ "module": "src/accordion/accordion.ts"
3969
+ }
3925
3970
  },
3926
3971
  {
3927
3972
  "kind": "method",
3928
- "name": "onFileSelected",
3929
- "privacy": "protected",
3973
+ "name": "adjust",
3974
+ "privacy": "private",
3930
3975
  "return": {
3931
3976
  "type": {
3932
3977
  "text": "void"
@@ -3934,25 +3979,30 @@
3934
3979
  },
3935
3980
  "parameters": [
3936
3981
  {
3937
- "name": "files",
3982
+ "name": "adjustment",
3938
3983
  "type": {
3939
- "text": "File[]"
3940
- },
3941
- "description": "The selected file"
3984
+ "text": "number"
3985
+ }
3942
3986
  }
3943
3987
  ],
3944
- "description": "Abstract method called when a file is selected"
3988
+ "inheritedFrom": {
3989
+ "name": "Accordion",
3990
+ "module": "src/accordion/accordion.ts"
3991
+ }
3945
3992
  },
3946
3993
  {
3947
3994
  "kind": "method",
3948
- "name": "onFileCleared",
3949
- "privacy": "protected",
3995
+ "name": "focusItem",
3996
+ "privacy": "private",
3950
3997
  "return": {
3951
3998
  "type": {
3952
3999
  "text": "void"
3953
4000
  }
3954
4001
  },
3955
- "description": "Abstract method called when file selection is cleared"
4002
+ "inheritedFrom": {
4003
+ "name": "Accordion",
4004
+ "module": "src/accordion/accordion.ts"
4005
+ }
3956
4006
  },
3957
4007
  {
3958
4008
  "kind": "field",
@@ -4068,134 +4118,84 @@
4068
4118
  ],
4069
4119
  "events": [
4070
4120
  {
4071
- "description": "Fired when file size validation fails. detail: `Error`",
4072
- "name": "error"
4073
- },
4074
- {
4075
- "description": "Fired when selection is cleared",
4076
- "name": "clear"
4077
- }
4078
- ],
4079
- "attributes": [
4080
- {
4081
- "name": "label",
4082
- "type": {
4083
- "text": "string"
4084
- },
4085
- "fieldName": "label"
4086
- },
4087
- {
4088
- "name": "accept",
4089
- "type": {
4090
- "text": "string"
4091
- },
4092
- "default": "''",
4093
- "fieldName": "accept"
4094
- },
4095
- {
4096
- "name": "file-size-limit-bytes",
4097
- "default": "DEFAULT_FILE_SIZE_LIMIT",
4098
- "resolveInitializer": {
4099
- "module": "src/_common/base-file-component.ts"
4100
- },
4101
- "fieldName": "fileSizeLimitBytes"
4121
+ "description": "Fires a custom 'change' event when the active item changes",
4122
+ "name": "change",
4123
+ "inheritedFrom": {
4124
+ "name": "Accordion",
4125
+ "module": "src/accordion/accordion.ts"
4126
+ }
4102
4127
  }
4103
- ],
4104
- "superclass": {
4105
- "name": "FoundationElement",
4106
- "package": "@microsoft/fast-foundation"
4107
- }
4108
- }
4109
- ],
4110
- "exports": [
4128
+ ]
4129
+ },
4111
4130
  {
4112
- "kind": "js",
4113
- "name": "BaseFileComponent",
4114
- "declaration": {
4115
- "name": "BaseFileComponent",
4116
- "module": "src/_common/base-file-component.ts"
4117
- }
4118
- }
4119
- ]
4120
- },
4121
- {
4122
- "kind": "javascript-module",
4123
- "path": "src/_common/field-styles.ts",
4124
- "declarations": [
4131
+ "kind": "variable",
4132
+ "name": "foundationAccordionShadowOptions",
4133
+ "type": {
4134
+ "text": "ShadowRootInit"
4135
+ },
4136
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4137
+ },
4125
4138
  {
4126
4139
  "kind": "variable",
4127
- "name": "sharedFieldStyles",
4128
- "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`"
4140
+ "name": "defaultAccordionConfig",
4141
+ "type": {
4142
+ "text": "object"
4143
+ },
4144
+ "default": "{}"
4145
+ },
4146
+ {
4147
+ "kind": "variable",
4148
+ "name": "foundationAccordion",
4149
+ "description": "The Foundation Accordion",
4150
+ "privacy": "public"
4129
4151
  }
4130
4152
  ],
4131
4153
  "exports": [
4132
4154
  {
4133
4155
  "kind": "js",
4134
- "name": "sharedFieldStyles",
4156
+ "name": "Accordion",
4135
4157
  "declaration": {
4136
- "name": "sharedFieldStyles",
4137
- "module": "src/_common/field-styles.ts"
4158
+ "name": "Accordion",
4159
+ "module": "src/accordion/accordion.ts"
4138
4160
  }
4139
- }
4140
- ]
4141
- },
4142
- {
4143
- "kind": "javascript-module",
4144
- "path": "src/_common/icons.ts",
4145
- "declarations": [
4146
- {
4147
- "kind": "function",
4148
- "name": "closeIcon",
4149
- "parameters": [
4150
- {
4151
- "name": "slot",
4152
- "default": "'start'"
4153
- },
4154
- {
4155
- "name": "fill",
4156
- "default": "'#879ba6'"
4157
- }
4158
- ]
4159
- }
4160
- ],
4161
- "exports": [
4161
+ },
4162
4162
  {
4163
4163
  "kind": "js",
4164
- "name": "closeIcon",
4164
+ "name": "foundationAccordionShadowOptions",
4165
4165
  "declaration": {
4166
- "name": "closeIcon",
4167
- "module": "src/_common/icons.ts"
4166
+ "name": "foundationAccordionShadowOptions",
4167
+ "module": "src/accordion/accordion.ts"
4168
4168
  }
4169
- }
4170
- ]
4171
- },
4172
- {
4173
- "kind": "javascript-module",
4174
- "path": "src/_common/index.ts",
4175
- "declarations": [],
4176
- "exports": [
4169
+ },
4177
4170
  {
4178
4171
  "kind": "js",
4179
- "name": "*",
4172
+ "name": "defaultAccordionConfig",
4180
4173
  "declaration": {
4181
- "name": "*",
4182
- "package": "./affix-mixin"
4174
+ "name": "defaultAccordionConfig",
4175
+ "module": "src/accordion/accordion.ts"
4183
4176
  }
4184
4177
  },
4185
4178
  {
4186
4179
  "kind": "js",
4187
- "name": "*",
4180
+ "name": "foundationAccordion",
4188
4181
  "declaration": {
4189
- "name": "*",
4190
- "package": "./alert-flash-clock"
4182
+ "name": "foundationAccordion",
4183
+ "module": "src/accordion/accordion.ts"
4191
4184
  }
4192
- },
4185
+ }
4186
+ ]
4187
+ },
4188
+ {
4189
+ "kind": "javascript-module",
4190
+ "path": "src/accordion/index.ts",
4191
+ "declarations": [],
4192
+ "exports": [
4193
4193
  {
4194
4194
  "kind": "js",
4195
4195
  "name": "*",
4196
4196
  "declaration": {
4197
4197
  "name": "*",
4198
- "package": "./base-file-component"
4198
+ "package": "./accordion.template"
4199
4199
  }
4200
4200
  },
4201
4201
  {
@@ -4203,7 +4203,7 @@
4203
4203
  "name": "*",
4204
4204
  "declaration": {
4205
4205
  "name": "*",
4206
- "package": "./field-styles"
4206
+ "package": "./accordion.styles"
4207
4207
  }
4208
4208
  },
4209
4209
  {
@@ -4211,7 +4211,7 @@
4211
4211
  "name": "*",
4212
4212
  "declaration": {
4213
4213
  "name": "*",
4214
- "package": "./icons"
4214
+ "package": "./accordion"
4215
4215
  }
4216
4216
  }
4217
4217
  ]