@genesislcap/foundation-ui 14.360.1 → 14.361.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1680 -1680
  2. package/package.json +18 -18
@@ -902,271 +902,245 @@
902
902
  },
903
903
  {
904
904
  "kind": "javascript-module",
905
- "path": "src/accordion-item/accordion-item.styles.ts",
906
- "declarations": [
907
- {
908
- "kind": "function",
909
- "name": "foundationAccordionItemStyles",
910
- "return": {
911
- "type": {
912
- "text": "ElementStyles"
913
- }
914
- },
915
- "parameters": [
916
- {
917
- "name": "context",
918
- "type": {
919
- "text": "ElementDefinitionContext"
920
- }
921
- },
922
- {
923
- "name": "definition",
924
- "type": {
925
- "text": "FoundationElementDefinition"
926
- }
927
- }
928
- ]
929
- }
930
- ],
931
- "exports": [
932
- {
933
- "kind": "js",
934
- "name": "foundationAccordionItemStyles",
935
- "declaration": {
936
- "name": "foundationAccordionItemStyles",
937
- "module": "src/accordion-item/accordion-item.styles.ts"
938
- }
939
- }
940
- ]
941
- },
942
- {
943
- "kind": "javascript-module",
944
- "path": "src/accordion-item/accordion-item.template.ts",
945
- "declarations": [
946
- {
947
- "kind": "function",
948
- "name": "foundationAccordionItemTemplate",
949
- "return": {
950
- "type": {
951
- "text": "ViewTemplate<AccordionItem>"
952
- }
953
- },
954
- "parameters": [
955
- {
956
- "name": "context",
957
- "type": {
958
- "text": "ElementDefinitionContext"
959
- }
960
- },
961
- {
962
- "name": "definition",
963
- "type": {
964
- "text": "FoundationElementDefinition"
965
- }
966
- }
967
- ]
968
- }
969
- ],
970
- "exports": [
971
- {
972
- "kind": "js",
973
- "name": "foundationAccordionItemTemplate",
974
- "declaration": {
975
- "name": "foundationAccordionItemTemplate",
976
- "module": "src/accordion-item/accordion-item.template.ts"
977
- }
978
- }
979
- ]
980
- },
981
- {
982
- "kind": "javascript-module",
983
- "path": "src/accordion-item/accordion-item.ts",
905
+ "path": "src/_common/base-file-component.ts",
984
906
  "declarations": [
985
907
  {
986
908
  "kind": "class",
987
- "description": "",
988
- "name": "AccordionItem",
989
- "superclass": {
990
- "name": "FASTAccordionItem",
991
- "package": "@microsoft/fast-components"
992
- },
993
- "tagName": "%%prefix%%-accordion-item",
994
- "customElement": true,
995
- "attributes": [
996
- {
997
- "name": "heading-level",
998
- "type": {
999
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1000
- },
1001
- "default": "2",
1002
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1003
- "fieldName": "headinglevel",
1004
- "inheritedFrom": {
1005
- "name": "AccordionItem",
1006
- "module": "src/accordion-item/accordion-item.ts"
1007
- }
1008
- },
909
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
910
+ "name": "BaseFileComponent",
911
+ "members": [
1009
912
  {
913
+ "kind": "field",
914
+ "name": "fileInput",
1010
915
  "type": {
1011
- "text": "boolean"
916
+ "text": "HTMLInputElement"
1012
917
  },
1013
- "default": "false",
1014
- "description": "Expands or collapses the item.",
1015
- "fieldName": "expanded",
1016
- "inheritedFrom": {
1017
- "name": "AccordionItem",
1018
- "module": "src/accordion-item/accordion-item.ts"
1019
- }
918
+ "privacy": "public"
1020
919
  },
1021
- {
1022
- "name": "id",
1023
- "type": {
1024
- "text": "string"
1025
- },
1026
- "description": "The item ID",
1027
- "fieldName": "id",
1028
- "inheritedFrom": {
1029
- "name": "AccordionItem",
1030
- "module": "src/accordion-item/accordion-item.ts"
1031
- }
1032
- }
1033
- ],
1034
- "members": [
1035
920
  {
1036
921
  "kind": "field",
1037
- "name": "headinglevel",
922
+ "name": "selectedFile",
1038
923
  "type": {
1039
- "text": "1 | 2 | 3 | 4 | 5 | 6"
924
+ "text": "File | null"
1040
925
  },
1041
- "privacy": "public",
1042
- "default": "2",
1043
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1044
- "inheritedFrom": {
1045
- "name": "AccordionItem",
1046
- "module": "src/accordion-item/accordion-item.ts"
1047
- }
926
+ "privacy": "protected",
927
+ "default": "null"
1048
928
  },
1049
929
  {
1050
930
  "kind": "field",
1051
- "name": "expanded",
931
+ "name": "label",
1052
932
  "type": {
1053
- "text": "boolean"
1054
- },
1055
- "privacy": "public",
1056
- "default": "false",
1057
- "description": "Expands or collapses the item.",
1058
- "inheritedFrom": {
1059
- "name": "AccordionItem",
1060
- "module": "src/accordion-item/accordion-item.ts"
933
+ "text": "string"
1061
934
  }
1062
935
  },
1063
936
  {
1064
937
  "kind": "field",
1065
- "name": "id",
938
+ "name": "accept",
1066
939
  "type": {
1067
940
  "text": "string"
1068
941
  },
1069
- "privacy": "public",
1070
- "description": "The item ID",
1071
- "inheritedFrom": {
1072
- "name": "AccordionItem",
1073
- "module": "src/accordion-item/accordion-item.ts"
1074
- }
942
+ "default": "''"
1075
943
  },
1076
944
  {
1077
945
  "kind": "field",
1078
- "name": "change",
1079
- "privacy": "private",
1080
- "inheritedFrom": {
1081
- "name": "AccordionItem",
1082
- "module": "src/accordion-item/accordion-item.ts"
946
+ "name": "fileSizeLimitBytes",
947
+ "default": "10_485_760",
948
+ "type": {
949
+ "text": "number"
1083
950
  }
1084
951
  },
1085
952
  {
1086
953
  "kind": "field",
1087
- "name": "_presentation",
954
+ "name": "fileName",
1088
955
  "type": {
1089
- "text": "ComponentPresentation | null | undefined"
956
+ "text": "string"
1090
957
  },
1091
- "privacy": "private",
1092
- "default": "void 0",
1093
- "inheritedFrom": {
1094
- "name": "FoundationElement",
1095
- "module": "src/foundation-element/foundation-element.ts"
1096
- }
958
+ "default": "''"
1097
959
  },
1098
960
  {
1099
961
  "kind": "field",
1100
- "name": "$presentation",
962
+ "name": "isProcessing",
1101
963
  "type": {
1102
- "text": "ComponentPresentation | null"
964
+ "text": "boolean"
1103
965
  },
1104
- "privacy": "public",
1105
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1106
- "inheritedFrom": {
1107
- "name": "FoundationElement",
1108
- "module": "src/foundation-element/foundation-element.ts"
1109
- }
966
+ "default": "false"
1110
967
  },
1111
968
  {
1112
- "kind": "field",
1113
- "name": "template",
1114
- "type": {
1115
- "text": "ElementViewTemplate | void | null"
1116
- },
969
+ "kind": "method",
970
+ "name": "handleClick",
1117
971
  "privacy": "public",
1118
- "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.",
1119
- "inheritedFrom": {
1120
- "name": "FoundationElement",
1121
- "module": "src/foundation-element/foundation-element.ts"
1122
- }
972
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1123
973
  },
1124
974
  {
1125
975
  "kind": "method",
1126
- "name": "templateChanged",
1127
- "privacy": "protected",
1128
- "return": {
1129
- "type": {
1130
- "text": "void"
976
+ "name": "onInputChange",
977
+ "privacy": "public",
978
+ "parameters": [
979
+ {
980
+ "name": "e",
981
+ "type": {
982
+ "text": "Event"
983
+ },
984
+ "description": "The change event from the file input"
1131
985
  }
1132
- },
1133
- "inheritedFrom": {
1134
- "name": "FoundationElement",
1135
- "module": "src/foundation-element/foundation-element.ts"
1136
- }
986
+ ],
987
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1137
988
  },
1138
989
  {
1139
- "kind": "field",
1140
- "name": "styles",
1141
- "type": {
1142
- "text": "ElementStyles | void | null"
1143
- },
990
+ "kind": "method",
991
+ "name": "clearSelection",
1144
992
  "privacy": "public",
1145
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1146
- "inheritedFrom": {
1147
- "name": "FoundationElement",
1148
- "module": "src/foundation-element/foundation-element.ts"
1149
- }
993
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
1150
994
  },
1151
995
  {
1152
996
  "kind": "method",
1153
- "name": "stylesChanged",
1154
- "privacy": "protected",
997
+ "name": "getSelectedFile",
998
+ "privacy": "public",
999
+ "description": "Gets the currently selected file object",
1155
1000
  "return": {
1156
1001
  "type": {
1157
- "text": "void"
1002
+ "text": ""
1158
1003
  }
1159
- },
1160
- "inheritedFrom": {
1161
- "name": "FoundationElement",
1162
- "module": "src/foundation-element/foundation-element.ts"
1163
1004
  }
1164
1005
  },
1165
1006
  {
1166
1007
  "kind": "method",
1167
- "name": "compose",
1168
- "privacy": "public",
1169
- "static": true,
1008
+ "name": "showError",
1009
+ "privacy": "protected",
1010
+ "parameters": [
1011
+ {
1012
+ "name": "title",
1013
+ "type": {
1014
+ "text": "string"
1015
+ },
1016
+ "description": "The error title"
1017
+ },
1018
+ {
1019
+ "name": "message",
1020
+ "type": {
1021
+ "text": "string"
1022
+ },
1023
+ "description": "The error message"
1024
+ }
1025
+ ],
1026
+ "description": "Shows an error notification using the unified error handling system"
1027
+ },
1028
+ {
1029
+ "kind": "method",
1030
+ "name": "onFileSelected",
1031
+ "privacy": "protected",
1032
+ "return": {
1033
+ "type": {
1034
+ "text": "void"
1035
+ }
1036
+ },
1037
+ "parameters": [
1038
+ {
1039
+ "name": "files",
1040
+ "type": {
1041
+ "text": "File[]"
1042
+ },
1043
+ "description": "The selected file"
1044
+ }
1045
+ ],
1046
+ "description": "Abstract method called when a file is selected"
1047
+ },
1048
+ {
1049
+ "kind": "method",
1050
+ "name": "onFileCleared",
1051
+ "privacy": "protected",
1052
+ "return": {
1053
+ "type": {
1054
+ "text": "void"
1055
+ }
1056
+ },
1057
+ "description": "Abstract method called when file selection is cleared"
1058
+ },
1059
+ {
1060
+ "kind": "field",
1061
+ "name": "_presentation",
1062
+ "type": {
1063
+ "text": "ComponentPresentation | null | undefined"
1064
+ },
1065
+ "privacy": "private",
1066
+ "default": "void 0",
1067
+ "inheritedFrom": {
1068
+ "name": "FoundationElement",
1069
+ "module": "src/foundation-element/foundation-element.ts"
1070
+ }
1071
+ },
1072
+ {
1073
+ "kind": "field",
1074
+ "name": "$presentation",
1075
+ "type": {
1076
+ "text": "ComponentPresentation | null"
1077
+ },
1078
+ "privacy": "public",
1079
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1080
+ "inheritedFrom": {
1081
+ "name": "FoundationElement",
1082
+ "module": "src/foundation-element/foundation-element.ts"
1083
+ }
1084
+ },
1085
+ {
1086
+ "kind": "field",
1087
+ "name": "template",
1088
+ "type": {
1089
+ "text": "ElementViewTemplate | void | null"
1090
+ },
1091
+ "privacy": "public",
1092
+ "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.",
1093
+ "inheritedFrom": {
1094
+ "name": "FoundationElement",
1095
+ "module": "src/foundation-element/foundation-element.ts"
1096
+ }
1097
+ },
1098
+ {
1099
+ "kind": "method",
1100
+ "name": "templateChanged",
1101
+ "privacy": "protected",
1102
+ "return": {
1103
+ "type": {
1104
+ "text": "void"
1105
+ }
1106
+ },
1107
+ "inheritedFrom": {
1108
+ "name": "FoundationElement",
1109
+ "module": "src/foundation-element/foundation-element.ts"
1110
+ }
1111
+ },
1112
+ {
1113
+ "kind": "field",
1114
+ "name": "styles",
1115
+ "type": {
1116
+ "text": "ElementStyles | void | null"
1117
+ },
1118
+ "privacy": "public",
1119
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1120
+ "inheritedFrom": {
1121
+ "name": "FoundationElement",
1122
+ "module": "src/foundation-element/foundation-element.ts"
1123
+ }
1124
+ },
1125
+ {
1126
+ "kind": "method",
1127
+ "name": "stylesChanged",
1128
+ "privacy": "protected",
1129
+ "return": {
1130
+ "type": {
1131
+ "text": "void"
1132
+ }
1133
+ },
1134
+ "inheritedFrom": {
1135
+ "name": "FoundationElement",
1136
+ "module": "src/foundation-element/foundation-element.ts"
1137
+ }
1138
+ },
1139
+ {
1140
+ "kind": "method",
1141
+ "name": "compose",
1142
+ "privacy": "public",
1143
+ "static": true,
1170
1144
  "return": {
1171
1145
  "type": {
1172
1146
  "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
@@ -1194,78 +1168,104 @@
1194
1168
  }
1195
1169
  }
1196
1170
  ],
1197
- "events": [
1171
+ "attributes": [
1198
1172
  {
1199
- "description": "Fires a custom 'change' event when the button is invoked",
1200
- "name": "change",
1201
- "inheritedFrom": {
1202
- "name": "AccordionItem",
1203
- "module": "src/accordion-item/accordion-item.ts"
1204
- }
1173
+ "name": "label",
1174
+ "type": {
1175
+ "text": "string"
1176
+ },
1177
+ "fieldName": "label"
1178
+ },
1179
+ {
1180
+ "name": "accept",
1181
+ "type": {
1182
+ "text": "string"
1183
+ },
1184
+ "default": "''",
1185
+ "fieldName": "accept"
1186
+ },
1187
+ {
1188
+ "name": "file-size-limit-bytes",
1189
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
1190
+ "resolveInitializer": {
1191
+ "module": "src/_common/base-file-component.ts"
1192
+ },
1193
+ "fieldName": "fileSizeLimitBytes"
1205
1194
  }
1206
- ]
1207
- },
1208
- {
1209
- "kind": "variable",
1210
- "name": "foundationAccordionItemShadowOptions",
1211
- "type": {
1212
- "text": "ShadowRootInit"
1213
- },
1214
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1215
- },
1216
- {
1217
- "kind": "variable",
1218
- "name": "defaultAccordionItemConfig",
1219
- "type": {
1220
- "text": "object"
1221
- },
1222
- "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}"
1223
- },
1224
- {
1225
- "kind": "variable",
1226
- "name": "foundationAccordionItem",
1227
- "description": "The Foundation Accordion Item",
1228
- "privacy": "public"
1195
+ ],
1196
+ "superclass": {
1197
+ "name": "FoundationElement",
1198
+ "package": "@microsoft/fast-foundation"
1199
+ }
1229
1200
  }
1230
1201
  ],
1231
1202
  "exports": [
1232
1203
  {
1233
1204
  "kind": "js",
1234
- "name": "AccordionItem",
1205
+ "name": "BaseFileComponent",
1235
1206
  "declaration": {
1236
- "name": "AccordionItem",
1237
- "module": "src/accordion-item/accordion-item.ts"
1207
+ "name": "BaseFileComponent",
1208
+ "module": "src/_common/base-file-component.ts"
1238
1209
  }
1239
- },
1210
+ }
1211
+ ]
1212
+ },
1213
+ {
1214
+ "kind": "javascript-module",
1215
+ "path": "src/_common/icons.ts",
1216
+ "declarations": [
1217
+ {
1218
+ "kind": "function",
1219
+ "name": "closeIcon",
1220
+ "parameters": [
1221
+ {
1222
+ "name": "slot",
1223
+ "default": "'start'"
1224
+ },
1225
+ {
1226
+ "name": "fill",
1227
+ "default": "'#879ba6'"
1228
+ }
1229
+ ]
1230
+ }
1231
+ ],
1232
+ "exports": [
1240
1233
  {
1241
1234
  "kind": "js",
1242
- "name": "foundationAccordionItemShadowOptions",
1235
+ "name": "closeIcon",
1243
1236
  "declaration": {
1244
- "name": "foundationAccordionItemShadowOptions",
1245
- "module": "src/accordion-item/accordion-item.ts"
1237
+ "name": "closeIcon",
1238
+ "module": "src/_common/icons.ts"
1246
1239
  }
1247
- },
1240
+ }
1241
+ ]
1242
+ },
1243
+ {
1244
+ "kind": "javascript-module",
1245
+ "path": "src/_common/index.ts",
1246
+ "declarations": [],
1247
+ "exports": [
1248
1248
  {
1249
1249
  "kind": "js",
1250
- "name": "defaultAccordionItemConfig",
1250
+ "name": "*",
1251
1251
  "declaration": {
1252
- "name": "defaultAccordionItemConfig",
1253
- "module": "src/accordion-item/accordion-item.ts"
1252
+ "name": "*",
1253
+ "package": "./base-file-component"
1254
1254
  }
1255
1255
  },
1256
1256
  {
1257
1257
  "kind": "js",
1258
- "name": "foundationAccordionItem",
1258
+ "name": "*",
1259
1259
  "declaration": {
1260
- "name": "foundationAccordionItem",
1261
- "module": "src/accordion-item/accordion-item.ts"
1260
+ "name": "*",
1261
+ "package": "./icons"
1262
1262
  }
1263
1263
  }
1264
1264
  ]
1265
1265
  },
1266
1266
  {
1267
1267
  "kind": "javascript-module",
1268
- "path": "src/accordion-item/index.ts",
1268
+ "path": "src/_config/index.ts",
1269
1269
  "declarations": [],
1270
1270
  "exports": [
1271
1271
  {
@@ -1273,7 +1273,7 @@
1273
1273
  "name": "*",
1274
1274
  "declaration": {
1275
1275
  "name": "*",
1276
- "package": "./accordion-item.template"
1276
+ "package": "./styles"
1277
1277
  }
1278
1278
  },
1279
1279
  {
@@ -1281,7 +1281,7 @@
1281
1281
  "name": "*",
1282
1282
  "declaration": {
1283
1283
  "name": "*",
1284
- "package": "./accordion-item.styles"
1284
+ "package": "./tokens"
1285
1285
  }
1286
1286
  },
1287
1287
  {
@@ -1289,41 +1289,18 @@
1289
1289
  "name": "*",
1290
1290
  "declaration": {
1291
1291
  "name": "*",
1292
- "package": "./accordion-item"
1292
+ "package": "./values"
1293
1293
  }
1294
1294
  }
1295
1295
  ]
1296
1296
  },
1297
1297
  {
1298
1298
  "kind": "javascript-module",
1299
- "path": "src/actions-menu/actions-menu.styles.ts",
1299
+ "path": "src/accordion-item/accordion-item.styles.ts",
1300
1300
  "declarations": [
1301
1301
  {
1302
1302
  "kind": "function",
1303
- "name": "actionsMenuBaseStyles",
1304
- "return": {
1305
- "type": {
1306
- "text": "ElementStyles"
1307
- }
1308
- },
1309
- "parameters": [
1310
- {
1311
- "name": "context",
1312
- "type": {
1313
- "text": "ElementDefinitionContext"
1314
- }
1315
- },
1316
- {
1317
- "name": "definition",
1318
- "type": {
1319
- "text": "FoundationElementDefinition"
1320
- }
1321
- }
1322
- ]
1323
- },
1324
- {
1325
- "kind": "function",
1326
- "name": "foundationActionsMenuStyles",
1303
+ "name": "foundationAccordionItemStyles",
1327
1304
  "return": {
1328
1305
  "type": {
1329
1306
  "text": "ElementStyles"
@@ -1348,339 +1325,226 @@
1348
1325
  "exports": [
1349
1326
  {
1350
1327
  "kind": "js",
1351
- "name": "actionsMenuBaseStyles",
1352
- "declaration": {
1353
- "name": "actionsMenuBaseStyles",
1354
- "module": "src/actions-menu/actions-menu.styles.ts"
1355
- }
1356
- },
1357
- {
1358
- "kind": "js",
1359
- "name": "foundationActionsMenuStyles",
1328
+ "name": "foundationAccordionItemStyles",
1360
1329
  "declaration": {
1361
- "name": "foundationActionsMenuStyles",
1362
- "module": "src/actions-menu/actions-menu.styles.ts"
1330
+ "name": "foundationAccordionItemStyles",
1331
+ "module": "src/accordion-item/accordion-item.styles.ts"
1363
1332
  }
1364
1333
  }
1365
1334
  ]
1366
1335
  },
1367
1336
  {
1368
1337
  "kind": "javascript-module",
1369
- "path": "src/actions-menu/actions-menu.template.ts",
1338
+ "path": "src/accordion-item/accordion-item.template.ts",
1370
1339
  "declarations": [
1371
1340
  {
1372
1341
  "kind": "function",
1373
- "name": "menuTemplate",
1342
+ "name": "foundationAccordionItemTemplate",
1343
+ "return": {
1344
+ "type": {
1345
+ "text": "ViewTemplate<AccordionItem>"
1346
+ }
1347
+ },
1374
1348
  "parameters": [
1375
1349
  {
1376
- "name": "prefix",
1350
+ "name": "context",
1377
1351
  "type": {
1378
- "text": "string"
1352
+ "text": "ElementDefinitionContext"
1379
1353
  }
1380
- }
1381
- ]
1382
- },
1383
- {
1384
- "kind": "function",
1385
- "name": "singleOptionTemplate",
1386
- "parameters": [
1354
+ },
1387
1355
  {
1388
- "name": "prefix",
1356
+ "name": "definition",
1389
1357
  "type": {
1390
- "text": "string"
1358
+ "text": "FoundationElementDefinition"
1391
1359
  }
1392
1360
  }
1393
1361
  ]
1394
- },
1395
- {
1396
- "kind": "variable",
1397
- "name": "foundationActionsMenuTemplate",
1398
- "type": {
1399
- "text": "ViewTemplate<ActionsMenu>"
1400
- },
1401
- "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`"
1402
1362
  }
1403
1363
  ],
1404
1364
  "exports": [
1405
1365
  {
1406
1366
  "kind": "js",
1407
- "name": "menuTemplate",
1408
- "declaration": {
1409
- "name": "menuTemplate",
1410
- "module": "src/actions-menu/actions-menu.template.ts"
1411
- }
1412
- },
1413
- {
1414
- "kind": "js",
1415
- "name": "singleOptionTemplate",
1416
- "declaration": {
1417
- "name": "singleOptionTemplate",
1418
- "module": "src/actions-menu/actions-menu.template.ts"
1419
- }
1420
- },
1421
- {
1422
- "kind": "js",
1423
- "name": "foundationActionsMenuTemplate",
1367
+ "name": "foundationAccordionItemTemplate",
1424
1368
  "declaration": {
1425
- "name": "foundationActionsMenuTemplate",
1426
- "module": "src/actions-menu/actions-menu.template.ts"
1369
+ "name": "foundationAccordionItemTemplate",
1370
+ "module": "src/accordion-item/accordion-item.template.ts"
1427
1371
  }
1428
1372
  }
1429
1373
  ]
1430
1374
  },
1431
1375
  {
1432
1376
  "kind": "javascript-module",
1433
- "path": "src/actions-menu/actions-menu.ts",
1377
+ "path": "src/accordion-item/accordion-item.ts",
1434
1378
  "declarations": [
1435
1379
  {
1436
1380
  "kind": "class",
1437
1381
  "description": "",
1438
- "name": "ActionsMenu",
1439
- "members": [
1382
+ "name": "AccordionItem",
1383
+ "superclass": {
1384
+ "name": "FASTAccordionItem",
1385
+ "package": "@microsoft/fast-components"
1386
+ },
1387
+ "tagName": "%%prefix%%-accordion-item",
1388
+ "customElement": true,
1389
+ "attributes": [
1440
1390
  {
1441
- "kind": "field",
1442
- "name": "actions",
1391
+ "name": "heading-level",
1443
1392
  "type": {
1444
- "text": "ActionMenuItem[]"
1393
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1394
+ },
1395
+ "default": "2",
1396
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1397
+ "fieldName": "headinglevel",
1398
+ "inheritedFrom": {
1399
+ "name": "AccordionItem",
1400
+ "module": "src/accordion-item/accordion-item.ts"
1445
1401
  }
1446
1402
  },
1447
1403
  {
1448
- "kind": "field",
1449
- "name": "isVertical",
1450
1404
  "type": {
1451
1405
  "text": "boolean"
1452
1406
  },
1453
- "default": "false"
1407
+ "default": "false",
1408
+ "description": "Expands or collapses the item.",
1409
+ "fieldName": "expanded",
1410
+ "inheritedFrom": {
1411
+ "name": "AccordionItem",
1412
+ "module": "src/accordion-item/accordion-item.ts"
1413
+ }
1454
1414
  },
1455
1415
  {
1456
- "kind": "field",
1457
- "name": "addDefaultActions",
1416
+ "name": "id",
1458
1417
  "type": {
1459
- "text": "boolean"
1418
+ "text": "string"
1460
1419
  },
1461
- "default": "true"
1462
- },
1420
+ "description": "The item ID",
1421
+ "fieldName": "id",
1422
+ "inheritedFrom": {
1423
+ "name": "AccordionItem",
1424
+ "module": "src/accordion-item/accordion-item.ts"
1425
+ }
1426
+ }
1427
+ ],
1428
+ "members": [
1463
1429
  {
1464
1430
  "kind": "field",
1465
- "name": "autoCloseOnAction",
1431
+ "name": "headinglevel",
1466
1432
  "type": {
1467
- "text": "boolean"
1433
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1468
1434
  },
1469
- "default": "true"
1470
- },
1471
- {
1472
- "kind": "field",
1473
- "name": "classNames",
1474
- "type": {
1475
- "text": "string"
1435
+ "privacy": "public",
1436
+ "default": "2",
1437
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1438
+ "inheritedFrom": {
1439
+ "name": "AccordionItem",
1440
+ "module": "src/accordion-item/accordion-item.ts"
1476
1441
  }
1477
1442
  },
1478
1443
  {
1479
1444
  "kind": "field",
1480
- "name": "definition",
1445
+ "name": "expanded",
1481
1446
  "type": {
1482
- "text": "any"
1447
+ "text": "boolean"
1448
+ },
1449
+ "privacy": "public",
1450
+ "default": "false",
1451
+ "description": "Expands or collapses the item.",
1452
+ "inheritedFrom": {
1453
+ "name": "AccordionItem",
1454
+ "module": "src/accordion-item/accordion-item.ts"
1483
1455
  }
1484
1456
  },
1485
1457
  {
1486
1458
  "kind": "field",
1487
- "name": "name",
1459
+ "name": "id",
1488
1460
  "type": {
1489
1461
  "text": "string"
1490
1462
  },
1491
- "default": "'Actions'"
1463
+ "privacy": "public",
1464
+ "description": "The item ID",
1465
+ "inheritedFrom": {
1466
+ "name": "AccordionItem",
1467
+ "module": "src/accordion-item/accordion-item.ts"
1468
+ }
1492
1469
  },
1493
1470
  {
1494
1471
  "kind": "field",
1495
- "name": "open",
1496
- "type": {
1497
- "text": "boolean"
1498
- },
1499
- "default": "false"
1472
+ "name": "change",
1473
+ "privacy": "private",
1474
+ "inheritedFrom": {
1475
+ "name": "AccordionItem",
1476
+ "module": "src/accordion-item/accordion-item.ts"
1477
+ }
1500
1478
  },
1501
1479
  {
1502
1480
  "kind": "field",
1503
- "name": "buttonAppearance",
1481
+ "name": "_presentation",
1504
1482
  "type": {
1505
- "text": "string"
1483
+ "text": "ComponentPresentation | null | undefined"
1484
+ },
1485
+ "privacy": "private",
1486
+ "default": "void 0",
1487
+ "inheritedFrom": {
1488
+ "name": "FoundationElement",
1489
+ "module": "src/foundation-element/foundation-element.ts"
1506
1490
  }
1507
1491
  },
1508
1492
  {
1509
1493
  "kind": "field",
1510
- "name": "hideDisabled",
1494
+ "name": "$presentation",
1511
1495
  "type": {
1512
- "text": "boolean"
1496
+ "text": "ComponentPresentation | null"
1513
1497
  },
1514
- "default": "false"
1498
+ "privacy": "public",
1499
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1500
+ "inheritedFrom": {
1501
+ "name": "FoundationElement",
1502
+ "module": "src/foundation-element/foundation-element.ts"
1503
+ }
1515
1504
  },
1516
1505
  {
1517
1506
  "kind": "field",
1518
- "name": "hideMenuSingleOption",
1507
+ "name": "template",
1519
1508
  "type": {
1520
- "text": "boolean"
1509
+ "text": "ElementViewTemplate | void | null"
1521
1510
  },
1522
- "default": "false"
1511
+ "privacy": "public",
1512
+ "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.",
1513
+ "inheritedFrom": {
1514
+ "name": "FoundationElement",
1515
+ "module": "src/foundation-element/foundation-element.ts"
1516
+ }
1523
1517
  },
1524
1518
  {
1525
- "kind": "field",
1526
- "name": "singleOption",
1527
- "type": {
1528
- "text": "ActionMenuItem"
1519
+ "kind": "method",
1520
+ "name": "templateChanged",
1521
+ "privacy": "protected",
1522
+ "return": {
1523
+ "type": {
1524
+ "text": "void"
1525
+ }
1526
+ },
1527
+ "inheritedFrom": {
1528
+ "name": "FoundationElement",
1529
+ "module": "src/foundation-element/foundation-element.ts"
1529
1530
  }
1530
1531
  },
1531
1532
  {
1532
1533
  "kind": "field",
1533
- "name": "actionsMenu",
1534
+ "name": "styles",
1534
1535
  "type": {
1535
- "text": "HTMLElement"
1536
+ "text": "ElementStyles | void | null"
1537
+ },
1538
+ "privacy": "public",
1539
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1540
+ "inheritedFrom": {
1541
+ "name": "FoundationElement",
1542
+ "module": "src/foundation-element/foundation-element.ts"
1536
1543
  }
1537
1544
  },
1538
1545
  {
1539
1546
  "kind": "method",
1540
- "name": "definitionChanged",
1541
- "privacy": "protected",
1542
- "parameters": [
1543
- {
1544
- "name": "oldValue",
1545
- "type": {
1546
- "text": "any"
1547
- }
1548
- },
1549
- {
1550
- "name": "newValue",
1551
- "type": {
1552
- "text": "any"
1553
- }
1554
- }
1555
- ]
1556
- },
1557
- {
1558
- "kind": "method",
1559
- "name": "openChanged",
1560
- "privacy": "protected"
1561
- },
1562
- {
1563
- "kind": "method",
1564
- "name": "toggleActionsMenuVisibility"
1565
- },
1566
- {
1567
- "kind": "method",
1568
- "name": "onActionMenuItemClick",
1569
- "parameters": [
1570
- {
1571
- "name": "callback",
1572
- "type": {
1573
- "text": "(rowData) => void | any"
1574
- }
1575
- }
1576
- ]
1577
- },
1578
- {
1579
- "kind": "field",
1580
- "name": "allActions",
1581
- "type": {
1582
- "text": "ActionMenuItem[]"
1583
- },
1584
- "readonly": true
1585
- },
1586
- {
1587
- "kind": "field",
1588
- "name": "rowData",
1589
- "readonly": true
1590
- },
1591
- {
1592
- "kind": "method",
1593
- "name": "getLabel",
1594
- "parameters": [
1595
- {
1596
- "name": "name",
1597
- "type": {
1598
- "text": "string | ((rowData: any) => string)"
1599
- }
1600
- }
1601
- ]
1602
- },
1603
- {
1604
- "kind": "method",
1605
- "name": "getTemplate",
1606
- "parameters": [
1607
- {
1608
- "name": "prefix",
1609
- "type": {
1610
- "text": "string"
1611
- }
1612
- }
1613
- ]
1614
- },
1615
- {
1616
- "kind": "field",
1617
- "name": "_presentation",
1618
- "type": {
1619
- "text": "ComponentPresentation | null | undefined"
1620
- },
1621
- "privacy": "private",
1622
- "default": "void 0",
1623
- "inheritedFrom": {
1624
- "name": "FoundationElement",
1625
- "module": "src/foundation-element/foundation-element.ts"
1626
- }
1627
- },
1628
- {
1629
- "kind": "field",
1630
- "name": "$presentation",
1631
- "type": {
1632
- "text": "ComponentPresentation | null"
1633
- },
1634
- "privacy": "public",
1635
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1636
- "inheritedFrom": {
1637
- "name": "FoundationElement",
1638
- "module": "src/foundation-element/foundation-element.ts"
1639
- }
1640
- },
1641
- {
1642
- "kind": "field",
1643
- "name": "template",
1644
- "type": {
1645
- "text": "ElementViewTemplate | void | null"
1646
- },
1647
- "privacy": "public",
1648
- "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.",
1649
- "inheritedFrom": {
1650
- "name": "FoundationElement",
1651
- "module": "src/foundation-element/foundation-element.ts"
1652
- }
1653
- },
1654
- {
1655
- "kind": "method",
1656
- "name": "templateChanged",
1657
- "privacy": "protected",
1658
- "return": {
1659
- "type": {
1660
- "text": "void"
1661
- }
1662
- },
1663
- "inheritedFrom": {
1664
- "name": "FoundationElement",
1665
- "module": "src/foundation-element/foundation-element.ts"
1666
- }
1667
- },
1668
- {
1669
- "kind": "field",
1670
- "name": "styles",
1671
- "type": {
1672
- "text": "ElementStyles | void | null"
1673
- },
1674
- "privacy": "public",
1675
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1676
- "inheritedFrom": {
1677
- "name": "FoundationElement",
1678
- "module": "src/foundation-element/foundation-element.ts"
1679
- }
1680
- },
1681
- {
1682
- "kind": "method",
1683
- "name": "stylesChanged",
1547
+ "name": "stylesChanged",
1684
1548
  "privacy": "protected",
1685
1549
  "return": {
1686
1550
  "type": {
@@ -1724,289 +1588,78 @@
1724
1588
  }
1725
1589
  }
1726
1590
  ],
1727
- "attributes": [
1728
- {
1729
- "name": "is-vertical",
1730
- "type": {
1731
- "text": "boolean"
1732
- },
1733
- "default": "false",
1734
- "fieldName": "isVertical"
1735
- },
1736
- {
1737
- "name": "add-default-actions",
1738
- "type": {
1739
- "text": "boolean"
1740
- },
1741
- "default": "true",
1742
- "fieldName": "addDefaultActions"
1743
- },
1744
- {
1745
- "name": "auto-close-on-action",
1746
- "type": {
1747
- "text": "boolean"
1748
- },
1749
- "default": "true",
1750
- "fieldName": "autoCloseOnAction"
1751
- },
1752
- {
1753
- "name": "name",
1754
- "type": {
1755
- "text": "string"
1756
- },
1757
- "default": "'Actions'",
1758
- "fieldName": "name"
1759
- },
1760
- {
1761
- "name": "open",
1762
- "type": {
1763
- "text": "boolean"
1764
- },
1765
- "default": "false",
1766
- "fieldName": "open"
1767
- },
1768
- {
1769
- "name": "buttonAppearance",
1770
- "type": {
1771
- "text": "string"
1772
- },
1773
- "fieldName": "buttonAppearance"
1774
- },
1775
- {
1776
- "name": "hide-disabled",
1777
- "type": {
1778
- "text": "boolean"
1779
- },
1780
- "default": "false",
1781
- "fieldName": "hideDisabled"
1782
- },
1591
+ "events": [
1783
1592
  {
1784
- "name": "hide-menu-single-option",
1785
- "type": {
1786
- "text": "boolean"
1787
- },
1788
- "default": "false",
1789
- "fieldName": "hideMenuSingleOption"
1593
+ "description": "Fires a custom 'change' event when the button is invoked",
1594
+ "name": "change",
1595
+ "inheritedFrom": {
1596
+ "name": "AccordionItem",
1597
+ "module": "src/accordion-item/accordion-item.ts"
1598
+ }
1790
1599
  }
1791
- ],
1792
- "superclass": {
1793
- "name": "FoundationElement",
1794
- "package": "@microsoft/fast-foundation"
1600
+ ]
1601
+ },
1602
+ {
1603
+ "kind": "variable",
1604
+ "name": "foundationAccordionItemShadowOptions",
1605
+ "type": {
1606
+ "text": "ShadowRootInit"
1795
1607
  },
1796
- "tagName": "%%prefix%%-actions-menu",
1797
- "customElement": true
1608
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1798
1609
  },
1799
1610
  {
1800
1611
  "kind": "variable",
1801
- "name": "foundationActionsMenu",
1802
- "description": "The Foundation Actions Menu",
1612
+ "name": "defaultAccordionItemConfig",
1613
+ "type": {
1614
+ "text": "object"
1615
+ },
1616
+ "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}"
1617
+ },
1618
+ {
1619
+ "kind": "variable",
1620
+ "name": "foundationAccordionItem",
1621
+ "description": "The Foundation Accordion Item",
1803
1622
  "privacy": "public"
1804
1623
  }
1805
1624
  ],
1806
1625
  "exports": [
1807
1626
  {
1808
1627
  "kind": "js",
1809
- "name": "ActionsMenu",
1628
+ "name": "AccordionItem",
1810
1629
  "declaration": {
1811
- "name": "ActionsMenu",
1812
- "module": "src/actions-menu/actions-menu.ts"
1630
+ "name": "AccordionItem",
1631
+ "module": "src/accordion-item/accordion-item.ts"
1813
1632
  }
1814
1633
  },
1815
1634
  {
1816
1635
  "kind": "js",
1817
- "name": "foundationActionsMenu",
1636
+ "name": "foundationAccordionItemShadowOptions",
1818
1637
  "declaration": {
1819
- "name": "foundationActionsMenu",
1820
- "module": "src/actions-menu/actions-menu.ts"
1821
- }
1822
- }
1823
- ]
1824
- },
1825
- {
1826
- "kind": "javascript-module",
1827
- "path": "src/actions-menu/index.ts",
1828
- "declarations": [],
1829
- "exports": [
1830
- {
1831
- "kind": "js",
1832
- "name": "*",
1833
- "declaration": {
1834
- "name": "*",
1835
- "package": "./actions-menu.styles"
1836
- }
1837
- },
1838
- {
1839
- "kind": "js",
1840
- "name": "*",
1841
- "declaration": {
1842
- "name": "*",
1843
- "package": "./actions-menu.template"
1844
- }
1845
- },
1846
- {
1847
- "kind": "js",
1848
- "name": "*",
1849
- "declaration": {
1850
- "name": "*",
1851
- "package": "./actions-menu"
1852
- }
1853
- }
1854
- ]
1855
- },
1856
- {
1857
- "kind": "javascript-module",
1858
- "path": "src/accordion/accordion.styles.ts",
1859
- "declarations": [
1860
- {
1861
- "kind": "function",
1862
- "name": "foundationAccordionStyles",
1863
- "return": {
1864
- "type": {
1865
- "text": "ElementStyles"
1866
- }
1867
- },
1868
- "parameters": [
1869
- {
1870
- "name": "context",
1871
- "type": {
1872
- "text": "ElementDefinitionContext"
1873
- }
1874
- },
1875
- {
1876
- "name": "definition",
1877
- "type": {
1878
- "text": "FoundationElementDefinition"
1879
- }
1880
- }
1881
- ]
1882
- }
1883
- ],
1884
- "exports": [
1885
- {
1886
- "kind": "js",
1887
- "name": "foundationAccordionStyles",
1888
- "declaration": {
1889
- "name": "foundationAccordionStyles",
1890
- "module": "src/accordion/accordion.styles.ts"
1891
- }
1892
- }
1893
- ]
1894
- },
1895
- {
1896
- "kind": "javascript-module",
1897
- "path": "src/accordion/accordion.template.ts",
1898
- "declarations": [
1899
- {
1900
- "kind": "function",
1901
- "name": "foundationAccordionTemplate",
1902
- "return": {
1903
- "type": {
1904
- "text": "ViewTemplate<Accordion>"
1905
- }
1906
- },
1907
- "parameters": [
1908
- {
1909
- "name": "context",
1910
- "type": {
1911
- "text": "ElementDefinitionContext"
1912
- }
1913
- },
1914
- {
1915
- "name": "definition",
1916
- "type": {
1917
- "text": "FoundationElementDefinition"
1918
- }
1919
- }
1920
- ]
1921
- }
1922
- ],
1923
- "exports": [
1924
- {
1925
- "kind": "js",
1926
- "name": "foundationAccordionTemplate",
1927
- "declaration": {
1928
- "name": "foundationAccordionTemplate",
1929
- "module": "src/accordion/accordion.template.ts"
1930
- }
1931
- }
1932
- ]
1933
- },
1934
- {
1935
- "kind": "javascript-module",
1936
- "path": "src/accordion/accordion.ts",
1937
- "declarations": [
1938
- {
1939
- "kind": "class",
1940
- "description": "",
1941
- "name": "Accordion",
1942
- "superclass": {
1943
- "name": "FASTAccordion",
1944
- "package": "@microsoft/fast-foundation"
1945
- },
1946
- "tagName": "%%prefix%%-accordion",
1947
- "customElement": true
1948
- },
1949
- {
1950
- "kind": "variable",
1951
- "name": "foundationAccordionShadowOptions",
1952
- "type": {
1953
- "text": "ShadowRootInit"
1954
- },
1955
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1956
- },
1957
- {
1958
- "kind": "variable",
1959
- "name": "defaultAccordionConfig",
1960
- "type": {
1961
- "text": "object"
1962
- },
1963
- "default": "{}"
1964
- },
1965
- {
1966
- "kind": "variable",
1967
- "name": "foundationAccordion",
1968
- "description": "The Foundation Accordion",
1969
- "privacy": "public"
1970
- }
1971
- ],
1972
- "exports": [
1973
- {
1974
- "kind": "js",
1975
- "name": "Accordion",
1976
- "declaration": {
1977
- "name": "Accordion",
1978
- "module": "src/accordion/accordion.ts"
1979
- }
1980
- },
1981
- {
1982
- "kind": "js",
1983
- "name": "foundationAccordionShadowOptions",
1984
- "declaration": {
1985
- "name": "foundationAccordionShadowOptions",
1986
- "module": "src/accordion/accordion.ts"
1638
+ "name": "foundationAccordionItemShadowOptions",
1639
+ "module": "src/accordion-item/accordion-item.ts"
1987
1640
  }
1988
1641
  },
1989
1642
  {
1990
1643
  "kind": "js",
1991
- "name": "defaultAccordionConfig",
1644
+ "name": "defaultAccordionItemConfig",
1992
1645
  "declaration": {
1993
- "name": "defaultAccordionConfig",
1994
- "module": "src/accordion/accordion.ts"
1646
+ "name": "defaultAccordionItemConfig",
1647
+ "module": "src/accordion-item/accordion-item.ts"
1995
1648
  }
1996
1649
  },
1997
1650
  {
1998
1651
  "kind": "js",
1999
- "name": "foundationAccordion",
1652
+ "name": "foundationAccordionItem",
2000
1653
  "declaration": {
2001
- "name": "foundationAccordion",
2002
- "module": "src/accordion/accordion.ts"
1654
+ "name": "foundationAccordionItem",
1655
+ "module": "src/accordion-item/accordion-item.ts"
2003
1656
  }
2004
1657
  }
2005
1658
  ]
2006
1659
  },
2007
1660
  {
2008
1661
  "kind": "javascript-module",
2009
- "path": "src/accordion/index.ts",
1662
+ "path": "src/accordion-item/index.ts",
2010
1663
  "declarations": [],
2011
1664
  "exports": [
2012
1665
  {
@@ -2014,7 +1667,7 @@
2014
1667
  "name": "*",
2015
1668
  "declaration": {
2016
1669
  "name": "*",
2017
- "package": "./accordion.template"
1670
+ "package": "./accordion-item.template"
2018
1671
  }
2019
1672
  },
2020
1673
  {
@@ -2022,7 +1675,7 @@
2022
1675
  "name": "*",
2023
1676
  "declaration": {
2024
1677
  "name": "*",
2025
- "package": "./accordion.styles"
1678
+ "package": "./accordion-item.styles"
2026
1679
  }
2027
1680
  },
2028
1681
  {
@@ -2030,7 +1683,7 @@
2030
1683
  "name": "*",
2031
1684
  "declaration": {
2032
1685
  "name": "*",
2033
- "package": "./accordion"
1686
+ "package": "./accordion-item"
2034
1687
  }
2035
1688
  }
2036
1689
  ]
@@ -2557,14 +2210,14 @@
2557
2210
  },
2558
2211
  {
2559
2212
  "kind": "javascript-module",
2560
- "path": "src/anchored-region/anchor-region.template.ts",
2213
+ "path": "src/actions-menu/actions-menu.styles.ts",
2561
2214
  "declarations": [
2562
2215
  {
2563
2216
  "kind": "function",
2564
- "name": "foundationAnchoredRegionTemplate",
2217
+ "name": "actionsMenuBaseStyles",
2565
2218
  "return": {
2566
2219
  "type": {
2567
- "text": "ViewTemplate<AnchoredRegion>"
2220
+ "text": "ElementStyles"
2568
2221
  }
2569
2222
  },
2570
2223
  "parameters": [
@@ -2581,26 +2234,10 @@
2581
2234
  }
2582
2235
  }
2583
2236
  ]
2584
- }
2585
- ],
2586
- "exports": [
2587
- {
2588
- "kind": "js",
2589
- "name": "foundationAnchoredRegionTemplate",
2590
- "declaration": {
2591
- "name": "foundationAnchoredRegionTemplate",
2592
- "module": "src/anchored-region/anchor-region.template.ts"
2593
- }
2594
- }
2595
- ]
2596
- },
2597
- {
2598
- "kind": "javascript-module",
2599
- "path": "src/anchored-region/anchored-region.styles.ts",
2600
- "declarations": [
2237
+ },
2601
2238
  {
2602
2239
  "kind": "function",
2603
- "name": "foundationAnchoredRegionStyles",
2240
+ "name": "foundationActionsMenuStyles",
2604
2241
  "return": {
2605
2242
  "type": {
2606
2243
  "text": "ElementStyles"
@@ -2625,477 +2262,1234 @@
2625
2262
  "exports": [
2626
2263
  {
2627
2264
  "kind": "js",
2628
- "name": "foundationAnchoredRegionStyles",
2265
+ "name": "actionsMenuBaseStyles",
2629
2266
  "declaration": {
2630
- "name": "foundationAnchoredRegionStyles",
2631
- "module": "src/anchored-region/anchored-region.styles.ts"
2267
+ "name": "actionsMenuBaseStyles",
2268
+ "module": "src/actions-menu/actions-menu.styles.ts"
2269
+ }
2270
+ },
2271
+ {
2272
+ "kind": "js",
2273
+ "name": "foundationActionsMenuStyles",
2274
+ "declaration": {
2275
+ "name": "foundationActionsMenuStyles",
2276
+ "module": "src/actions-menu/actions-menu.styles.ts"
2632
2277
  }
2633
2278
  }
2634
2279
  ]
2635
2280
  },
2636
2281
  {
2637
2282
  "kind": "javascript-module",
2638
- "path": "src/anchored-region/anchored-region.ts",
2283
+ "path": "src/actions-menu/actions-menu.template.ts",
2639
2284
  "declarations": [
2640
2285
  {
2641
- "kind": "class",
2642
- "description": "",
2643
- "name": "AnchoredRegion",
2644
- "superclass": {
2645
- "name": "FASTAnchoredRegion",
2646
- "package": "@microsoft/fast-components"
2647
- },
2648
- "tagName": "%%prefix%%-anchored-region",
2649
- "customElement": true,
2650
- "attributes": [
2286
+ "kind": "function",
2287
+ "name": "menuTemplate",
2288
+ "parameters": [
2651
2289
  {
2652
- "name": "anchor",
2290
+ "name": "prefix",
2653
2291
  "type": {
2654
2292
  "text": "string"
2655
- },
2656
- "default": "\"\"",
2657
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2658
- "fieldName": "anchor",
2659
- "inheritedFrom": {
2660
- "name": "AnchoredRegion",
2661
- "module": "src/anchored-region/anchored-region.ts"
2662
2293
  }
2663
- },
2294
+ }
2295
+ ]
2296
+ },
2297
+ {
2298
+ "kind": "function",
2299
+ "name": "singleOptionTemplate",
2300
+ "parameters": [
2664
2301
  {
2665
- "name": "viewport",
2302
+ "name": "prefix",
2666
2303
  "type": {
2667
2304
  "text": "string"
2668
- },
2669
- "default": "\"\"",
2670
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2671
- "fieldName": "viewport",
2672
- "inheritedFrom": {
2673
- "name": "AnchoredRegion",
2674
- "module": "src/anchored-region/anchored-region.ts"
2675
2305
  }
2676
- },
2306
+ }
2307
+ ]
2308
+ },
2309
+ {
2310
+ "kind": "variable",
2311
+ "name": "foundationActionsMenuTemplate",
2312
+ "type": {
2313
+ "text": "ViewTemplate<ActionsMenu>"
2314
+ },
2315
+ "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`"
2316
+ }
2317
+ ],
2318
+ "exports": [
2319
+ {
2320
+ "kind": "js",
2321
+ "name": "menuTemplate",
2322
+ "declaration": {
2323
+ "name": "menuTemplate",
2324
+ "module": "src/actions-menu/actions-menu.template.ts"
2325
+ }
2326
+ },
2327
+ {
2328
+ "kind": "js",
2329
+ "name": "singleOptionTemplate",
2330
+ "declaration": {
2331
+ "name": "singleOptionTemplate",
2332
+ "module": "src/actions-menu/actions-menu.template.ts"
2333
+ }
2334
+ },
2335
+ {
2336
+ "kind": "js",
2337
+ "name": "foundationActionsMenuTemplate",
2338
+ "declaration": {
2339
+ "name": "foundationActionsMenuTemplate",
2340
+ "module": "src/actions-menu/actions-menu.template.ts"
2341
+ }
2342
+ }
2343
+ ]
2344
+ },
2345
+ {
2346
+ "kind": "javascript-module",
2347
+ "path": "src/actions-menu/actions-menu.ts",
2348
+ "declarations": [
2349
+ {
2350
+ "kind": "class",
2351
+ "description": "",
2352
+ "name": "ActionsMenu",
2353
+ "members": [
2677
2354
  {
2678
- "name": "horizontal-positioning-mode",
2355
+ "kind": "field",
2356
+ "name": "actions",
2679
2357
  "type": {
2680
- "text": "AxisPositioningMode"
2681
- },
2682
- "default": "\"uncontrolled\"",
2683
- "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
2684
- "fieldName": "horizontalPositioningMode",
2685
- "inheritedFrom": {
2686
- "name": "AnchoredRegion",
2687
- "module": "src/anchored-region/anchored-region.ts"
2358
+ "text": "ActionMenuItem[]"
2688
2359
  }
2689
2360
  },
2690
2361
  {
2691
- "name": "horizontal-default-position",
2362
+ "kind": "field",
2363
+ "name": "isVertical",
2692
2364
  "type": {
2693
- "text": "HorizontalPosition"
2365
+ "text": "boolean"
2694
2366
  },
2695
- "default": "\"unset\"",
2696
- "description": "The default horizontal position of the region relative to the anchor element",
2697
- "fieldName": "horizontalDefaultPosition",
2698
- "inheritedFrom": {
2699
- "name": "AnchoredRegion",
2700
- "module": "src/anchored-region/anchored-region.ts"
2701
- }
2367
+ "default": "false"
2702
2368
  },
2703
2369
  {
2704
- "name": "horizontal-viewport-lock",
2370
+ "kind": "field",
2371
+ "name": "addDefaultActions",
2705
2372
  "type": {
2706
2373
  "text": "boolean"
2707
2374
  },
2708
- "default": "false",
2709
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2710
- "fieldName": "horizontalViewportLock",
2711
- "inheritedFrom": {
2712
- "name": "AnchoredRegion",
2713
- "module": "src/anchored-region/anchored-region.ts"
2714
- }
2375
+ "default": "true"
2715
2376
  },
2716
2377
  {
2717
- "name": "horizontal-inset",
2378
+ "kind": "field",
2379
+ "name": "autoCloseOnAction",
2718
2380
  "type": {
2719
2381
  "text": "boolean"
2720
2382
  },
2721
- "default": "false",
2722
- "description": "Whether the region overlaps the anchor on the horizontal axis",
2723
- "fieldName": "horizontalInset",
2724
- "inheritedFrom": {
2725
- "name": "AnchoredRegion",
2726
- "module": "src/anchored-region/anchored-region.ts"
2727
- }
2383
+ "default": "true"
2728
2384
  },
2729
2385
  {
2730
- "name": "horizontal-threshold",
2386
+ "kind": "field",
2387
+ "name": "classNames",
2731
2388
  "type": {
2732
- "text": "number"
2733
- },
2734
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
2735
- "fieldName": "horizontalThreshold",
2736
- "inheritedFrom": {
2737
- "name": "AnchoredRegion",
2738
- "module": "src/anchored-region/anchored-region.ts"
2389
+ "text": "string"
2739
2390
  }
2740
2391
  },
2741
2392
  {
2742
- "name": "horizontal-scaling",
2393
+ "kind": "field",
2394
+ "name": "definition",
2743
2395
  "type": {
2744
- "text": "AxisScalingMode"
2745
- },
2746
- "default": "\"content\"",
2747
- "description": "Defines how the width of the region is calculated",
2748
- "fieldName": "horizontalScaling",
2749
- "inheritedFrom": {
2750
- "name": "AnchoredRegion",
2751
- "module": "src/anchored-region/anchored-region.ts"
2396
+ "text": "any"
2752
2397
  }
2753
2398
  },
2754
2399
  {
2755
- "name": "vertical-positioning-mode",
2400
+ "kind": "field",
2401
+ "name": "name",
2756
2402
  "type": {
2757
- "text": "AxisPositioningMode"
2403
+ "text": "string"
2758
2404
  },
2759
- "default": "\"uncontrolled\"",
2760
- "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
2761
- "fieldName": "verticalPositioningMode",
2762
- "inheritedFrom": {
2763
- "name": "AnchoredRegion",
2764
- "module": "src/anchored-region/anchored-region.ts"
2765
- }
2405
+ "default": "'Actions'"
2766
2406
  },
2767
2407
  {
2768
- "name": "vertical-default-position",
2408
+ "kind": "field",
2409
+ "name": "open",
2769
2410
  "type": {
2770
- "text": "VerticalPosition"
2411
+ "text": "boolean"
2771
2412
  },
2772
- "default": "\"unset\"",
2773
- "description": "The default vertical position of the region relative to the anchor element",
2774
- "fieldName": "verticalDefaultPosition",
2775
- "inheritedFrom": {
2776
- "name": "AnchoredRegion",
2777
- "module": "src/anchored-region/anchored-region.ts"
2778
- }
2413
+ "default": "false"
2779
2414
  },
2780
2415
  {
2781
- "name": "vertical-viewport-lock",
2416
+ "kind": "field",
2417
+ "name": "buttonAppearance",
2782
2418
  "type": {
2783
- "text": "boolean"
2784
- },
2785
- "default": "false",
2786
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
2787
- "fieldName": "verticalViewportLock",
2788
- "inheritedFrom": {
2789
- "name": "AnchoredRegion",
2790
- "module": "src/anchored-region/anchored-region.ts"
2419
+ "text": "string"
2791
2420
  }
2792
2421
  },
2793
2422
  {
2794
- "name": "vertical-inset",
2423
+ "kind": "field",
2424
+ "name": "hideDisabled",
2795
2425
  "type": {
2796
2426
  "text": "boolean"
2797
2427
  },
2798
- "default": "false",
2799
- "description": "Whether the region overlaps the anchor on the vertical axis",
2800
- "fieldName": "verticalInset",
2801
- "inheritedFrom": {
2802
- "name": "AnchoredRegion",
2803
- "module": "src/anchored-region/anchored-region.ts"
2804
- }
2428
+ "default": "false"
2805
2429
  },
2806
2430
  {
2807
- "name": "vertical-threshold",
2431
+ "kind": "field",
2432
+ "name": "hideMenuSingleOption",
2808
2433
  "type": {
2809
- "text": "number"
2434
+ "text": "boolean"
2810
2435
  },
2811
- "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
2812
- "fieldName": "verticalThreshold",
2813
- "inheritedFrom": {
2814
- "name": "AnchoredRegion",
2815
- "module": "src/anchored-region/anchored-region.ts"
2816
- }
2436
+ "default": "false"
2817
2437
  },
2818
2438
  {
2819
- "name": "vertical-scaling",
2439
+ "kind": "field",
2440
+ "name": "singleOption",
2820
2441
  "type": {
2821
- "text": "AxisScalingMode"
2822
- },
2823
- "default": "\"content\"",
2824
- "description": "Defines how the height of the region is calculated",
2825
- "fieldName": "verticalScaling",
2826
- "inheritedFrom": {
2827
- "name": "AnchoredRegion",
2828
- "module": "src/anchored-region/anchored-region.ts"
2442
+ "text": "ActionMenuItem"
2829
2443
  }
2830
2444
  },
2831
2445
  {
2832
- "name": "fixed-placement",
2446
+ "kind": "field",
2447
+ "name": "actionsMenu",
2833
2448
  "type": {
2834
- "text": "boolean"
2835
- },
2836
- "default": "false",
2837
- "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
2838
- "fieldName": "fixedPlacement",
2839
- "inheritedFrom": {
2840
- "name": "AnchoredRegion",
2841
- "module": "src/anchored-region/anchored-region.ts"
2449
+ "text": "HTMLElement"
2842
2450
  }
2843
2451
  },
2844
2452
  {
2845
- "name": "auto-update-mode",
2846
- "type": {
2847
- "text": "AutoUpdateMode"
2848
- },
2849
- "default": "\"anchor\"",
2850
- "description": "Defines what triggers the anchored region to revaluate positioning",
2851
- "fieldName": "autoUpdateMode",
2852
- "inheritedFrom": {
2853
- "name": "AnchoredRegion",
2854
- "module": "src/anchored-region/anchored-region.ts"
2855
- }
2856
- }
2857
- ],
2858
- "members": [
2453
+ "kind": "method",
2454
+ "name": "definitionChanged",
2455
+ "privacy": "protected",
2456
+ "parameters": [
2457
+ {
2458
+ "name": "oldValue",
2459
+ "type": {
2460
+ "text": "any"
2461
+ }
2462
+ },
2463
+ {
2464
+ "name": "newValue",
2465
+ "type": {
2466
+ "text": "any"
2467
+ }
2468
+ }
2469
+ ]
2470
+ },
2859
2471
  {
2860
- "kind": "field",
2861
- "name": "anchor",
2862
- "type": {
2863
- "text": "string"
2864
- },
2865
- "privacy": "public",
2866
- "default": "\"\"",
2867
- "description": "The HTML ID of the anchor element this region is positioned relative to",
2868
- "inheritedFrom": {
2869
- "name": "AnchoredRegion",
2870
- "module": "src/anchored-region/anchored-region.ts"
2871
- }
2472
+ "kind": "method",
2473
+ "name": "openChanged",
2474
+ "privacy": "protected"
2872
2475
  },
2873
2476
  {
2874
2477
  "kind": "method",
2875
- "name": "anchorChanged",
2876
- "privacy": "private",
2877
- "return": {
2878
- "type": {
2879
- "text": "void"
2478
+ "name": "toggleActionsMenuVisibility"
2479
+ },
2480
+ {
2481
+ "kind": "method",
2482
+ "name": "onActionMenuItemClick",
2483
+ "parameters": [
2484
+ {
2485
+ "name": "callback",
2486
+ "type": {
2487
+ "text": "(rowData) => void | any"
2488
+ }
2880
2489
  }
2881
- },
2882
- "inheritedFrom": {
2883
- "name": "AnchoredRegion",
2884
- "module": "src/anchored-region/anchored-region.ts"
2885
- }
2490
+ ]
2886
2491
  },
2887
2492
  {
2888
2493
  "kind": "field",
2889
- "name": "viewport",
2494
+ "name": "allActions",
2890
2495
  "type": {
2891
- "text": "string"
2496
+ "text": "ActionMenuItem[]"
2892
2497
  },
2893
- "privacy": "public",
2894
- "default": "\"\"",
2895
- "description": "The HTML ID of the viewport element this region is positioned relative to",
2896
- "inheritedFrom": {
2897
- "name": "AnchoredRegion",
2898
- "module": "src/anchored-region/anchored-region.ts"
2899
- }
2498
+ "readonly": true
2499
+ },
2500
+ {
2501
+ "kind": "field",
2502
+ "name": "rowData",
2503
+ "readonly": true
2900
2504
  },
2901
2505
  {
2902
2506
  "kind": "method",
2903
- "name": "viewportChanged",
2904
- "privacy": "private",
2905
- "return": {
2906
- "type": {
2907
- "text": "void"
2507
+ "name": "getLabel",
2508
+ "parameters": [
2509
+ {
2510
+ "name": "name",
2511
+ "type": {
2512
+ "text": "string | ((rowData: any) => string)"
2513
+ }
2908
2514
  }
2909
- },
2910
- "inheritedFrom": {
2911
- "name": "AnchoredRegion",
2912
- "module": "src/anchored-region/anchored-region.ts"
2913
- }
2515
+ ]
2516
+ },
2517
+ {
2518
+ "kind": "method",
2519
+ "name": "getTemplate",
2520
+ "parameters": [
2521
+ {
2522
+ "name": "prefix",
2523
+ "type": {
2524
+ "text": "string"
2525
+ }
2526
+ }
2527
+ ]
2914
2528
  },
2915
2529
  {
2916
2530
  "kind": "field",
2917
- "name": "horizontalPositioningMode",
2531
+ "name": "_presentation",
2918
2532
  "type": {
2919
- "text": "AxisPositioningMode"
2533
+ "text": "ComponentPresentation | null | undefined"
2920
2534
  },
2921
- "privacy": "public",
2922
- "default": "\"uncontrolled\"",
2923
- "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
2535
+ "privacy": "private",
2536
+ "default": "void 0",
2924
2537
  "inheritedFrom": {
2925
- "name": "AnchoredRegion",
2926
- "module": "src/anchored-region/anchored-region.ts"
2538
+ "name": "FoundationElement",
2539
+ "module": "src/foundation-element/foundation-element.ts"
2927
2540
  }
2928
2541
  },
2929
2542
  {
2930
- "kind": "method",
2931
- "name": "horizontalPositioningModeChanged",
2932
- "privacy": "private",
2933
- "return": {
2934
- "type": {
2935
- "text": "void"
2936
- }
2543
+ "kind": "field",
2544
+ "name": "$presentation",
2545
+ "type": {
2546
+ "text": "ComponentPresentation | null"
2937
2547
  },
2548
+ "privacy": "public",
2549
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2938
2550
  "inheritedFrom": {
2939
- "name": "AnchoredRegion",
2940
- "module": "src/anchored-region/anchored-region.ts"
2551
+ "name": "FoundationElement",
2552
+ "module": "src/foundation-element/foundation-element.ts"
2941
2553
  }
2942
2554
  },
2943
2555
  {
2944
2556
  "kind": "field",
2945
- "name": "horizontalDefaultPosition",
2557
+ "name": "template",
2946
2558
  "type": {
2947
- "text": "HorizontalPosition"
2559
+ "text": "ElementViewTemplate | void | null"
2948
2560
  },
2949
2561
  "privacy": "public",
2950
- "default": "\"unset\"",
2951
- "description": "The default horizontal position of the region relative to the anchor element",
2562
+ "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.",
2952
2563
  "inheritedFrom": {
2953
- "name": "AnchoredRegion",
2954
- "module": "src/anchored-region/anchored-region.ts"
2564
+ "name": "FoundationElement",
2565
+ "module": "src/foundation-element/foundation-element.ts"
2955
2566
  }
2956
2567
  },
2957
2568
  {
2958
2569
  "kind": "method",
2959
- "name": "horizontalDefaultPositionChanged",
2960
- "privacy": "private",
2570
+ "name": "templateChanged",
2571
+ "privacy": "protected",
2961
2572
  "return": {
2962
2573
  "type": {
2963
2574
  "text": "void"
2964
2575
  }
2965
2576
  },
2966
2577
  "inheritedFrom": {
2967
- "name": "AnchoredRegion",
2968
- "module": "src/anchored-region/anchored-region.ts"
2578
+ "name": "FoundationElement",
2579
+ "module": "src/foundation-element/foundation-element.ts"
2969
2580
  }
2970
2581
  },
2971
2582
  {
2972
2583
  "kind": "field",
2973
- "name": "horizontalViewportLock",
2584
+ "name": "styles",
2974
2585
  "type": {
2975
- "text": "boolean"
2586
+ "text": "ElementStyles | void | null"
2976
2587
  },
2977
2588
  "privacy": "public",
2978
- "default": "false",
2979
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
2589
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2980
2590
  "inheritedFrom": {
2981
- "name": "AnchoredRegion",
2982
- "module": "src/anchored-region/anchored-region.ts"
2591
+ "name": "FoundationElement",
2592
+ "module": "src/foundation-element/foundation-element.ts"
2983
2593
  }
2984
2594
  },
2985
2595
  {
2986
2596
  "kind": "method",
2987
- "name": "horizontalViewportLockChanged",
2988
- "privacy": "private",
2597
+ "name": "stylesChanged",
2598
+ "privacy": "protected",
2989
2599
  "return": {
2990
2600
  "type": {
2991
2601
  "text": "void"
2992
2602
  }
2993
2603
  },
2994
2604
  "inheritedFrom": {
2995
- "name": "AnchoredRegion",
2996
- "module": "src/anchored-region/anchored-region.ts"
2997
- }
2998
- },
2999
- {
3000
- "kind": "field",
3001
- "name": "horizontalInset",
3002
- "type": {
3003
- "text": "boolean"
3004
- },
3005
- "privacy": "public",
3006
- "default": "false",
3007
- "description": "Whether the region overlaps the anchor on the horizontal axis",
3008
- "inheritedFrom": {
3009
- "name": "AnchoredRegion",
3010
- "module": "src/anchored-region/anchored-region.ts"
2605
+ "name": "FoundationElement",
2606
+ "module": "src/foundation-element/foundation-element.ts"
3011
2607
  }
3012
2608
  },
3013
2609
  {
3014
2610
  "kind": "method",
3015
- "name": "horizontalInsetChanged",
3016
- "privacy": "private",
2611
+ "name": "compose",
2612
+ "privacy": "public",
2613
+ "static": true,
3017
2614
  "return": {
3018
2615
  "type": {
3019
- "text": "void"
2616
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3020
2617
  }
3021
2618
  },
2619
+ "parameters": [
2620
+ {
2621
+ "name": "this",
2622
+ "type": {
2623
+ "text": "K"
2624
+ }
2625
+ },
2626
+ {
2627
+ "name": "elementDefinition",
2628
+ "type": {
2629
+ "text": "T"
2630
+ },
2631
+ "description": "The definition of the element to create the registry\nfunction for."
2632
+ }
2633
+ ],
2634
+ "description": "Defines an element registry function with a set of element definition defaults.",
3022
2635
  "inheritedFrom": {
3023
- "name": "AnchoredRegion",
3024
- "module": "src/anchored-region/anchored-region.ts"
2636
+ "name": "FoundationElement",
2637
+ "module": "src/foundation-element/foundation-element.ts"
3025
2638
  }
3026
- },
2639
+ }
2640
+ ],
2641
+ "attributes": [
3027
2642
  {
3028
- "kind": "field",
3029
- "name": "horizontalThreshold",
2643
+ "name": "is-vertical",
3030
2644
  "type": {
3031
- "text": "number"
2645
+ "text": "boolean"
3032
2646
  },
3033
- "privacy": "public",
3034
- "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
3035
- "inheritedFrom": {
3036
- "name": "AnchoredRegion",
3037
- "module": "src/anchored-region/anchored-region.ts"
3038
- }
2647
+ "default": "false",
2648
+ "fieldName": "isVertical"
3039
2649
  },
3040
2650
  {
3041
- "kind": "method",
3042
- "name": "horizontalThresholdChanged",
3043
- "privacy": "private",
3044
- "return": {
3045
- "type": {
3046
- "text": "void"
3047
- }
2651
+ "name": "add-default-actions",
2652
+ "type": {
2653
+ "text": "boolean"
3048
2654
  },
3049
- "inheritedFrom": {
3050
- "name": "AnchoredRegion",
3051
- "module": "src/anchored-region/anchored-region.ts"
3052
- }
2655
+ "default": "true",
2656
+ "fieldName": "addDefaultActions"
3053
2657
  },
3054
2658
  {
3055
- "kind": "field",
3056
- "name": "horizontalScaling",
2659
+ "name": "auto-close-on-action",
3057
2660
  "type": {
3058
- "text": "AxisScalingMode"
2661
+ "text": "boolean"
3059
2662
  },
3060
- "privacy": "public",
3061
- "default": "\"content\"",
3062
- "description": "Defines how the width of the region is calculated",
3063
- "inheritedFrom": {
3064
- "name": "AnchoredRegion",
3065
- "module": "src/anchored-region/anchored-region.ts"
3066
- }
2663
+ "default": "true",
2664
+ "fieldName": "autoCloseOnAction"
3067
2665
  },
3068
2666
  {
3069
- "kind": "method",
3070
- "name": "horizontalScalingChanged",
3071
- "privacy": "private",
3072
- "return": {
3073
- "type": {
3074
- "text": "void"
3075
- }
2667
+ "name": "name",
2668
+ "type": {
2669
+ "text": "string"
3076
2670
  },
3077
- "inheritedFrom": {
3078
- "name": "AnchoredRegion",
3079
- "module": "src/anchored-region/anchored-region.ts"
3080
- }
2671
+ "default": "'Actions'",
2672
+ "fieldName": "name"
3081
2673
  },
3082
2674
  {
3083
- "kind": "field",
3084
- "name": "verticalPositioningMode",
2675
+ "name": "open",
3085
2676
  "type": {
3086
- "text": "AxisPositioningMode"
2677
+ "text": "boolean"
3087
2678
  },
3088
- "privacy": "public",
3089
- "default": "\"uncontrolled\"",
3090
- "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
3091
- "inheritedFrom": {
3092
- "name": "AnchoredRegion",
3093
- "module": "src/anchored-region/anchored-region.ts"
3094
- }
2679
+ "default": "false",
2680
+ "fieldName": "open"
3095
2681
  },
3096
2682
  {
3097
- "kind": "method",
3098
- "name": "verticalPositioningModeChanged",
2683
+ "name": "buttonAppearance",
2684
+ "type": {
2685
+ "text": "string"
2686
+ },
2687
+ "fieldName": "buttonAppearance"
2688
+ },
2689
+ {
2690
+ "name": "hide-disabled",
2691
+ "type": {
2692
+ "text": "boolean"
2693
+ },
2694
+ "default": "false",
2695
+ "fieldName": "hideDisabled"
2696
+ },
2697
+ {
2698
+ "name": "hide-menu-single-option",
2699
+ "type": {
2700
+ "text": "boolean"
2701
+ },
2702
+ "default": "false",
2703
+ "fieldName": "hideMenuSingleOption"
2704
+ }
2705
+ ],
2706
+ "superclass": {
2707
+ "name": "FoundationElement",
2708
+ "package": "@microsoft/fast-foundation"
2709
+ },
2710
+ "tagName": "%%prefix%%-actions-menu",
2711
+ "customElement": true
2712
+ },
2713
+ {
2714
+ "kind": "variable",
2715
+ "name": "foundationActionsMenu",
2716
+ "description": "The Foundation Actions Menu",
2717
+ "privacy": "public"
2718
+ }
2719
+ ],
2720
+ "exports": [
2721
+ {
2722
+ "kind": "js",
2723
+ "name": "ActionsMenu",
2724
+ "declaration": {
2725
+ "name": "ActionsMenu",
2726
+ "module": "src/actions-menu/actions-menu.ts"
2727
+ }
2728
+ },
2729
+ {
2730
+ "kind": "js",
2731
+ "name": "foundationActionsMenu",
2732
+ "declaration": {
2733
+ "name": "foundationActionsMenu",
2734
+ "module": "src/actions-menu/actions-menu.ts"
2735
+ }
2736
+ }
2737
+ ]
2738
+ },
2739
+ {
2740
+ "kind": "javascript-module",
2741
+ "path": "src/actions-menu/index.ts",
2742
+ "declarations": [],
2743
+ "exports": [
2744
+ {
2745
+ "kind": "js",
2746
+ "name": "*",
2747
+ "declaration": {
2748
+ "name": "*",
2749
+ "package": "./actions-menu.styles"
2750
+ }
2751
+ },
2752
+ {
2753
+ "kind": "js",
2754
+ "name": "*",
2755
+ "declaration": {
2756
+ "name": "*",
2757
+ "package": "./actions-menu.template"
2758
+ }
2759
+ },
2760
+ {
2761
+ "kind": "js",
2762
+ "name": "*",
2763
+ "declaration": {
2764
+ "name": "*",
2765
+ "package": "./actions-menu"
2766
+ }
2767
+ }
2768
+ ]
2769
+ },
2770
+ {
2771
+ "kind": "javascript-module",
2772
+ "path": "src/accordion/accordion.styles.ts",
2773
+ "declarations": [
2774
+ {
2775
+ "kind": "function",
2776
+ "name": "foundationAccordionStyles",
2777
+ "return": {
2778
+ "type": {
2779
+ "text": "ElementStyles"
2780
+ }
2781
+ },
2782
+ "parameters": [
2783
+ {
2784
+ "name": "context",
2785
+ "type": {
2786
+ "text": "ElementDefinitionContext"
2787
+ }
2788
+ },
2789
+ {
2790
+ "name": "definition",
2791
+ "type": {
2792
+ "text": "FoundationElementDefinition"
2793
+ }
2794
+ }
2795
+ ]
2796
+ }
2797
+ ],
2798
+ "exports": [
2799
+ {
2800
+ "kind": "js",
2801
+ "name": "foundationAccordionStyles",
2802
+ "declaration": {
2803
+ "name": "foundationAccordionStyles",
2804
+ "module": "src/accordion/accordion.styles.ts"
2805
+ }
2806
+ }
2807
+ ]
2808
+ },
2809
+ {
2810
+ "kind": "javascript-module",
2811
+ "path": "src/accordion/accordion.template.ts",
2812
+ "declarations": [
2813
+ {
2814
+ "kind": "function",
2815
+ "name": "foundationAccordionTemplate",
2816
+ "return": {
2817
+ "type": {
2818
+ "text": "ViewTemplate<Accordion>"
2819
+ }
2820
+ },
2821
+ "parameters": [
2822
+ {
2823
+ "name": "context",
2824
+ "type": {
2825
+ "text": "ElementDefinitionContext"
2826
+ }
2827
+ },
2828
+ {
2829
+ "name": "definition",
2830
+ "type": {
2831
+ "text": "FoundationElementDefinition"
2832
+ }
2833
+ }
2834
+ ]
2835
+ }
2836
+ ],
2837
+ "exports": [
2838
+ {
2839
+ "kind": "js",
2840
+ "name": "foundationAccordionTemplate",
2841
+ "declaration": {
2842
+ "name": "foundationAccordionTemplate",
2843
+ "module": "src/accordion/accordion.template.ts"
2844
+ }
2845
+ }
2846
+ ]
2847
+ },
2848
+ {
2849
+ "kind": "javascript-module",
2850
+ "path": "src/accordion/accordion.ts",
2851
+ "declarations": [
2852
+ {
2853
+ "kind": "class",
2854
+ "description": "",
2855
+ "name": "Accordion",
2856
+ "superclass": {
2857
+ "name": "FASTAccordion",
2858
+ "package": "@microsoft/fast-foundation"
2859
+ },
2860
+ "tagName": "%%prefix%%-accordion",
2861
+ "customElement": true
2862
+ },
2863
+ {
2864
+ "kind": "variable",
2865
+ "name": "foundationAccordionShadowOptions",
2866
+ "type": {
2867
+ "text": "ShadowRootInit"
2868
+ },
2869
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2870
+ },
2871
+ {
2872
+ "kind": "variable",
2873
+ "name": "defaultAccordionConfig",
2874
+ "type": {
2875
+ "text": "object"
2876
+ },
2877
+ "default": "{}"
2878
+ },
2879
+ {
2880
+ "kind": "variable",
2881
+ "name": "foundationAccordion",
2882
+ "description": "The Foundation Accordion",
2883
+ "privacy": "public"
2884
+ }
2885
+ ],
2886
+ "exports": [
2887
+ {
2888
+ "kind": "js",
2889
+ "name": "Accordion",
2890
+ "declaration": {
2891
+ "name": "Accordion",
2892
+ "module": "src/accordion/accordion.ts"
2893
+ }
2894
+ },
2895
+ {
2896
+ "kind": "js",
2897
+ "name": "foundationAccordionShadowOptions",
2898
+ "declaration": {
2899
+ "name": "foundationAccordionShadowOptions",
2900
+ "module": "src/accordion/accordion.ts"
2901
+ }
2902
+ },
2903
+ {
2904
+ "kind": "js",
2905
+ "name": "defaultAccordionConfig",
2906
+ "declaration": {
2907
+ "name": "defaultAccordionConfig",
2908
+ "module": "src/accordion/accordion.ts"
2909
+ }
2910
+ },
2911
+ {
2912
+ "kind": "js",
2913
+ "name": "foundationAccordion",
2914
+ "declaration": {
2915
+ "name": "foundationAccordion",
2916
+ "module": "src/accordion/accordion.ts"
2917
+ }
2918
+ }
2919
+ ]
2920
+ },
2921
+ {
2922
+ "kind": "javascript-module",
2923
+ "path": "src/accordion/index.ts",
2924
+ "declarations": [],
2925
+ "exports": [
2926
+ {
2927
+ "kind": "js",
2928
+ "name": "*",
2929
+ "declaration": {
2930
+ "name": "*",
2931
+ "package": "./accordion.template"
2932
+ }
2933
+ },
2934
+ {
2935
+ "kind": "js",
2936
+ "name": "*",
2937
+ "declaration": {
2938
+ "name": "*",
2939
+ "package": "./accordion.styles"
2940
+ }
2941
+ },
2942
+ {
2943
+ "kind": "js",
2944
+ "name": "*",
2945
+ "declaration": {
2946
+ "name": "*",
2947
+ "package": "./accordion"
2948
+ }
2949
+ }
2950
+ ]
2951
+ },
2952
+ {
2953
+ "kind": "javascript-module",
2954
+ "path": "src/anchored-region/anchor-region.template.ts",
2955
+ "declarations": [
2956
+ {
2957
+ "kind": "function",
2958
+ "name": "foundationAnchoredRegionTemplate",
2959
+ "return": {
2960
+ "type": {
2961
+ "text": "ViewTemplate<AnchoredRegion>"
2962
+ }
2963
+ },
2964
+ "parameters": [
2965
+ {
2966
+ "name": "context",
2967
+ "type": {
2968
+ "text": "ElementDefinitionContext"
2969
+ }
2970
+ },
2971
+ {
2972
+ "name": "definition",
2973
+ "type": {
2974
+ "text": "FoundationElementDefinition"
2975
+ }
2976
+ }
2977
+ ]
2978
+ }
2979
+ ],
2980
+ "exports": [
2981
+ {
2982
+ "kind": "js",
2983
+ "name": "foundationAnchoredRegionTemplate",
2984
+ "declaration": {
2985
+ "name": "foundationAnchoredRegionTemplate",
2986
+ "module": "src/anchored-region/anchor-region.template.ts"
2987
+ }
2988
+ }
2989
+ ]
2990
+ },
2991
+ {
2992
+ "kind": "javascript-module",
2993
+ "path": "src/anchored-region/anchored-region.styles.ts",
2994
+ "declarations": [
2995
+ {
2996
+ "kind": "function",
2997
+ "name": "foundationAnchoredRegionStyles",
2998
+ "return": {
2999
+ "type": {
3000
+ "text": "ElementStyles"
3001
+ }
3002
+ },
3003
+ "parameters": [
3004
+ {
3005
+ "name": "context",
3006
+ "type": {
3007
+ "text": "ElementDefinitionContext"
3008
+ }
3009
+ },
3010
+ {
3011
+ "name": "definition",
3012
+ "type": {
3013
+ "text": "FoundationElementDefinition"
3014
+ }
3015
+ }
3016
+ ]
3017
+ }
3018
+ ],
3019
+ "exports": [
3020
+ {
3021
+ "kind": "js",
3022
+ "name": "foundationAnchoredRegionStyles",
3023
+ "declaration": {
3024
+ "name": "foundationAnchoredRegionStyles",
3025
+ "module": "src/anchored-region/anchored-region.styles.ts"
3026
+ }
3027
+ }
3028
+ ]
3029
+ },
3030
+ {
3031
+ "kind": "javascript-module",
3032
+ "path": "src/anchored-region/anchored-region.ts",
3033
+ "declarations": [
3034
+ {
3035
+ "kind": "class",
3036
+ "description": "",
3037
+ "name": "AnchoredRegion",
3038
+ "superclass": {
3039
+ "name": "FASTAnchoredRegion",
3040
+ "package": "@microsoft/fast-components"
3041
+ },
3042
+ "tagName": "%%prefix%%-anchored-region",
3043
+ "customElement": true,
3044
+ "attributes": [
3045
+ {
3046
+ "name": "anchor",
3047
+ "type": {
3048
+ "text": "string"
3049
+ },
3050
+ "default": "\"\"",
3051
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
3052
+ "fieldName": "anchor",
3053
+ "inheritedFrom": {
3054
+ "name": "AnchoredRegion",
3055
+ "module": "src/anchored-region/anchored-region.ts"
3056
+ }
3057
+ },
3058
+ {
3059
+ "name": "viewport",
3060
+ "type": {
3061
+ "text": "string"
3062
+ },
3063
+ "default": "\"\"",
3064
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
3065
+ "fieldName": "viewport",
3066
+ "inheritedFrom": {
3067
+ "name": "AnchoredRegion",
3068
+ "module": "src/anchored-region/anchored-region.ts"
3069
+ }
3070
+ },
3071
+ {
3072
+ "name": "horizontal-positioning-mode",
3073
+ "type": {
3074
+ "text": "AxisPositioningMode"
3075
+ },
3076
+ "default": "\"uncontrolled\"",
3077
+ "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
3078
+ "fieldName": "horizontalPositioningMode",
3079
+ "inheritedFrom": {
3080
+ "name": "AnchoredRegion",
3081
+ "module": "src/anchored-region/anchored-region.ts"
3082
+ }
3083
+ },
3084
+ {
3085
+ "name": "horizontal-default-position",
3086
+ "type": {
3087
+ "text": "HorizontalPosition"
3088
+ },
3089
+ "default": "\"unset\"",
3090
+ "description": "The default horizontal position of the region relative to the anchor element",
3091
+ "fieldName": "horizontalDefaultPosition",
3092
+ "inheritedFrom": {
3093
+ "name": "AnchoredRegion",
3094
+ "module": "src/anchored-region/anchored-region.ts"
3095
+ }
3096
+ },
3097
+ {
3098
+ "name": "horizontal-viewport-lock",
3099
+ "type": {
3100
+ "text": "boolean"
3101
+ },
3102
+ "default": "false",
3103
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
3104
+ "fieldName": "horizontalViewportLock",
3105
+ "inheritedFrom": {
3106
+ "name": "AnchoredRegion",
3107
+ "module": "src/anchored-region/anchored-region.ts"
3108
+ }
3109
+ },
3110
+ {
3111
+ "name": "horizontal-inset",
3112
+ "type": {
3113
+ "text": "boolean"
3114
+ },
3115
+ "default": "false",
3116
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
3117
+ "fieldName": "horizontalInset",
3118
+ "inheritedFrom": {
3119
+ "name": "AnchoredRegion",
3120
+ "module": "src/anchored-region/anchored-region.ts"
3121
+ }
3122
+ },
3123
+ {
3124
+ "name": "horizontal-threshold",
3125
+ "type": {
3126
+ "text": "number"
3127
+ },
3128
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
3129
+ "fieldName": "horizontalThreshold",
3130
+ "inheritedFrom": {
3131
+ "name": "AnchoredRegion",
3132
+ "module": "src/anchored-region/anchored-region.ts"
3133
+ }
3134
+ },
3135
+ {
3136
+ "name": "horizontal-scaling",
3137
+ "type": {
3138
+ "text": "AxisScalingMode"
3139
+ },
3140
+ "default": "\"content\"",
3141
+ "description": "Defines how the width of the region is calculated",
3142
+ "fieldName": "horizontalScaling",
3143
+ "inheritedFrom": {
3144
+ "name": "AnchoredRegion",
3145
+ "module": "src/anchored-region/anchored-region.ts"
3146
+ }
3147
+ },
3148
+ {
3149
+ "name": "vertical-positioning-mode",
3150
+ "type": {
3151
+ "text": "AxisPositioningMode"
3152
+ },
3153
+ "default": "\"uncontrolled\"",
3154
+ "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
3155
+ "fieldName": "verticalPositioningMode",
3156
+ "inheritedFrom": {
3157
+ "name": "AnchoredRegion",
3158
+ "module": "src/anchored-region/anchored-region.ts"
3159
+ }
3160
+ },
3161
+ {
3162
+ "name": "vertical-default-position",
3163
+ "type": {
3164
+ "text": "VerticalPosition"
3165
+ },
3166
+ "default": "\"unset\"",
3167
+ "description": "The default vertical position of the region relative to the anchor element",
3168
+ "fieldName": "verticalDefaultPosition",
3169
+ "inheritedFrom": {
3170
+ "name": "AnchoredRegion",
3171
+ "module": "src/anchored-region/anchored-region.ts"
3172
+ }
3173
+ },
3174
+ {
3175
+ "name": "vertical-viewport-lock",
3176
+ "type": {
3177
+ "text": "boolean"
3178
+ },
3179
+ "default": "false",
3180
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the vertical axis",
3181
+ "fieldName": "verticalViewportLock",
3182
+ "inheritedFrom": {
3183
+ "name": "AnchoredRegion",
3184
+ "module": "src/anchored-region/anchored-region.ts"
3185
+ }
3186
+ },
3187
+ {
3188
+ "name": "vertical-inset",
3189
+ "type": {
3190
+ "text": "boolean"
3191
+ },
3192
+ "default": "false",
3193
+ "description": "Whether the region overlaps the anchor on the vertical axis",
3194
+ "fieldName": "verticalInset",
3195
+ "inheritedFrom": {
3196
+ "name": "AnchoredRegion",
3197
+ "module": "src/anchored-region/anchored-region.ts"
3198
+ }
3199
+ },
3200
+ {
3201
+ "name": "vertical-threshold",
3202
+ "type": {
3203
+ "text": "number"
3204
+ },
3205
+ "description": "How short the space allocated to the default position has to be before the tallest area\nis selected for layout",
3206
+ "fieldName": "verticalThreshold",
3207
+ "inheritedFrom": {
3208
+ "name": "AnchoredRegion",
3209
+ "module": "src/anchored-region/anchored-region.ts"
3210
+ }
3211
+ },
3212
+ {
3213
+ "name": "vertical-scaling",
3214
+ "type": {
3215
+ "text": "AxisScalingMode"
3216
+ },
3217
+ "default": "\"content\"",
3218
+ "description": "Defines how the height of the region is calculated",
3219
+ "fieldName": "verticalScaling",
3220
+ "inheritedFrom": {
3221
+ "name": "AnchoredRegion",
3222
+ "module": "src/anchored-region/anchored-region.ts"
3223
+ }
3224
+ },
3225
+ {
3226
+ "name": "fixed-placement",
3227
+ "type": {
3228
+ "text": "boolean"
3229
+ },
3230
+ "default": "false",
3231
+ "description": "Whether the region is positioned using css \"position: fixed\".\nOtherwise the region uses \"position: absolute\".\nFixed placement allows the region to break out of parent containers,",
3232
+ "fieldName": "fixedPlacement",
3233
+ "inheritedFrom": {
3234
+ "name": "AnchoredRegion",
3235
+ "module": "src/anchored-region/anchored-region.ts"
3236
+ }
3237
+ },
3238
+ {
3239
+ "name": "auto-update-mode",
3240
+ "type": {
3241
+ "text": "AutoUpdateMode"
3242
+ },
3243
+ "default": "\"anchor\"",
3244
+ "description": "Defines what triggers the anchored region to revaluate positioning",
3245
+ "fieldName": "autoUpdateMode",
3246
+ "inheritedFrom": {
3247
+ "name": "AnchoredRegion",
3248
+ "module": "src/anchored-region/anchored-region.ts"
3249
+ }
3250
+ }
3251
+ ],
3252
+ "members": [
3253
+ {
3254
+ "kind": "field",
3255
+ "name": "anchor",
3256
+ "type": {
3257
+ "text": "string"
3258
+ },
3259
+ "privacy": "public",
3260
+ "default": "\"\"",
3261
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
3262
+ "inheritedFrom": {
3263
+ "name": "AnchoredRegion",
3264
+ "module": "src/anchored-region/anchored-region.ts"
3265
+ }
3266
+ },
3267
+ {
3268
+ "kind": "method",
3269
+ "name": "anchorChanged",
3270
+ "privacy": "private",
3271
+ "return": {
3272
+ "type": {
3273
+ "text": "void"
3274
+ }
3275
+ },
3276
+ "inheritedFrom": {
3277
+ "name": "AnchoredRegion",
3278
+ "module": "src/anchored-region/anchored-region.ts"
3279
+ }
3280
+ },
3281
+ {
3282
+ "kind": "field",
3283
+ "name": "viewport",
3284
+ "type": {
3285
+ "text": "string"
3286
+ },
3287
+ "privacy": "public",
3288
+ "default": "\"\"",
3289
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
3290
+ "inheritedFrom": {
3291
+ "name": "AnchoredRegion",
3292
+ "module": "src/anchored-region/anchored-region.ts"
3293
+ }
3294
+ },
3295
+ {
3296
+ "kind": "method",
3297
+ "name": "viewportChanged",
3298
+ "privacy": "private",
3299
+ "return": {
3300
+ "type": {
3301
+ "text": "void"
3302
+ }
3303
+ },
3304
+ "inheritedFrom": {
3305
+ "name": "AnchoredRegion",
3306
+ "module": "src/anchored-region/anchored-region.ts"
3307
+ }
3308
+ },
3309
+ {
3310
+ "kind": "field",
3311
+ "name": "horizontalPositioningMode",
3312
+ "type": {
3313
+ "text": "AxisPositioningMode"
3314
+ },
3315
+ "privacy": "public",
3316
+ "default": "\"uncontrolled\"",
3317
+ "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
3318
+ "inheritedFrom": {
3319
+ "name": "AnchoredRegion",
3320
+ "module": "src/anchored-region/anchored-region.ts"
3321
+ }
3322
+ },
3323
+ {
3324
+ "kind": "method",
3325
+ "name": "horizontalPositioningModeChanged",
3326
+ "privacy": "private",
3327
+ "return": {
3328
+ "type": {
3329
+ "text": "void"
3330
+ }
3331
+ },
3332
+ "inheritedFrom": {
3333
+ "name": "AnchoredRegion",
3334
+ "module": "src/anchored-region/anchored-region.ts"
3335
+ }
3336
+ },
3337
+ {
3338
+ "kind": "field",
3339
+ "name": "horizontalDefaultPosition",
3340
+ "type": {
3341
+ "text": "HorizontalPosition"
3342
+ },
3343
+ "privacy": "public",
3344
+ "default": "\"unset\"",
3345
+ "description": "The default horizontal position of the region relative to the anchor element",
3346
+ "inheritedFrom": {
3347
+ "name": "AnchoredRegion",
3348
+ "module": "src/anchored-region/anchored-region.ts"
3349
+ }
3350
+ },
3351
+ {
3352
+ "kind": "method",
3353
+ "name": "horizontalDefaultPositionChanged",
3354
+ "privacy": "private",
3355
+ "return": {
3356
+ "type": {
3357
+ "text": "void"
3358
+ }
3359
+ },
3360
+ "inheritedFrom": {
3361
+ "name": "AnchoredRegion",
3362
+ "module": "src/anchored-region/anchored-region.ts"
3363
+ }
3364
+ },
3365
+ {
3366
+ "kind": "field",
3367
+ "name": "horizontalViewportLock",
3368
+ "type": {
3369
+ "text": "boolean"
3370
+ },
3371
+ "privacy": "public",
3372
+ "default": "false",
3373
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
3374
+ "inheritedFrom": {
3375
+ "name": "AnchoredRegion",
3376
+ "module": "src/anchored-region/anchored-region.ts"
3377
+ }
3378
+ },
3379
+ {
3380
+ "kind": "method",
3381
+ "name": "horizontalViewportLockChanged",
3382
+ "privacy": "private",
3383
+ "return": {
3384
+ "type": {
3385
+ "text": "void"
3386
+ }
3387
+ },
3388
+ "inheritedFrom": {
3389
+ "name": "AnchoredRegion",
3390
+ "module": "src/anchored-region/anchored-region.ts"
3391
+ }
3392
+ },
3393
+ {
3394
+ "kind": "field",
3395
+ "name": "horizontalInset",
3396
+ "type": {
3397
+ "text": "boolean"
3398
+ },
3399
+ "privacy": "public",
3400
+ "default": "false",
3401
+ "description": "Whether the region overlaps the anchor on the horizontal axis",
3402
+ "inheritedFrom": {
3403
+ "name": "AnchoredRegion",
3404
+ "module": "src/anchored-region/anchored-region.ts"
3405
+ }
3406
+ },
3407
+ {
3408
+ "kind": "method",
3409
+ "name": "horizontalInsetChanged",
3410
+ "privacy": "private",
3411
+ "return": {
3412
+ "type": {
3413
+ "text": "void"
3414
+ }
3415
+ },
3416
+ "inheritedFrom": {
3417
+ "name": "AnchoredRegion",
3418
+ "module": "src/anchored-region/anchored-region.ts"
3419
+ }
3420
+ },
3421
+ {
3422
+ "kind": "field",
3423
+ "name": "horizontalThreshold",
3424
+ "type": {
3425
+ "text": "number"
3426
+ },
3427
+ "privacy": "public",
3428
+ "description": "How narrow the space allocated to the default position has to be before the widest area\nis selected for layout",
3429
+ "inheritedFrom": {
3430
+ "name": "AnchoredRegion",
3431
+ "module": "src/anchored-region/anchored-region.ts"
3432
+ }
3433
+ },
3434
+ {
3435
+ "kind": "method",
3436
+ "name": "horizontalThresholdChanged",
3437
+ "privacy": "private",
3438
+ "return": {
3439
+ "type": {
3440
+ "text": "void"
3441
+ }
3442
+ },
3443
+ "inheritedFrom": {
3444
+ "name": "AnchoredRegion",
3445
+ "module": "src/anchored-region/anchored-region.ts"
3446
+ }
3447
+ },
3448
+ {
3449
+ "kind": "field",
3450
+ "name": "horizontalScaling",
3451
+ "type": {
3452
+ "text": "AxisScalingMode"
3453
+ },
3454
+ "privacy": "public",
3455
+ "default": "\"content\"",
3456
+ "description": "Defines how the width of the region is calculated",
3457
+ "inheritedFrom": {
3458
+ "name": "AnchoredRegion",
3459
+ "module": "src/anchored-region/anchored-region.ts"
3460
+ }
3461
+ },
3462
+ {
3463
+ "kind": "method",
3464
+ "name": "horizontalScalingChanged",
3465
+ "privacy": "private",
3466
+ "return": {
3467
+ "type": {
3468
+ "text": "void"
3469
+ }
3470
+ },
3471
+ "inheritedFrom": {
3472
+ "name": "AnchoredRegion",
3473
+ "module": "src/anchored-region/anchored-region.ts"
3474
+ }
3475
+ },
3476
+ {
3477
+ "kind": "field",
3478
+ "name": "verticalPositioningMode",
3479
+ "type": {
3480
+ "text": "AxisPositioningMode"
3481
+ },
3482
+ "privacy": "public",
3483
+ "default": "\"uncontrolled\"",
3484
+ "description": "Sets what logic the component uses to determine vertical placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the vertical axis",
3485
+ "inheritedFrom": {
3486
+ "name": "AnchoredRegion",
3487
+ "module": "src/anchored-region/anchored-region.ts"
3488
+ }
3489
+ },
3490
+ {
3491
+ "kind": "method",
3492
+ "name": "verticalPositioningModeChanged",
3099
3493
  "privacy": "private",
3100
3494
  "return": {
3101
3495
  "type": {
@@ -3741,565 +4135,189 @@
3741
4135
  "privacy": "private",
3742
4136
  "description": "stops observers",
3743
4137
  "inheritedFrom": {
3744
- "name": "AnchoredRegion",
3745
- "module": "src/anchored-region/anchored-region.ts"
3746
- }
3747
- },
3748
- {
3749
- "kind": "field",
3750
- "name": "getViewport",
3751
- "privacy": "private",
3752
- "description": "Gets the viewport element by id, or defaults to document root",
3753
- "inheritedFrom": {
3754
- "name": "AnchoredRegion",
3755
- "module": "src/anchored-region/anchored-region.ts"
3756
- }
3757
- },
3758
- {
3759
- "kind": "field",
3760
- "name": "getAnchor",
3761
- "privacy": "private",
3762
- "description": "Gets the anchor element by id",
3763
- "inheritedFrom": {
3764
- "name": "AnchoredRegion",
3765
- "module": "src/anchored-region/anchored-region.ts"
3766
- }
3767
- },
3768
- {
3769
- "kind": "field",
3770
- "name": "handleIntersection",
3771
- "privacy": "private",
3772
- "description": "Handle intersections",
3773
- "inheritedFrom": {
3774
- "name": "AnchoredRegion",
3775
- "module": "src/anchored-region/anchored-region.ts"
3776
- }
3777
- },
3778
- {
3779
- "kind": "field",
3780
- "name": "applyIntersectionEntries",
3781
- "privacy": "private",
3782
- "description": "iterate through intersection entries and apply data",
3783
- "inheritedFrom": {
3784
- "name": "AnchoredRegion",
3785
- "module": "src/anchored-region/anchored-region.ts"
3786
- }
3787
- },
3788
- {
3789
- "kind": "field",
3790
- "name": "updateRegionOffset",
3791
- "privacy": "private",
3792
- "description": "Update the offset values",
3793
- "inheritedFrom": {
3794
- "name": "AnchoredRegion",
3795
- "module": "src/anchored-region/anchored-region.ts"
3796
- }
3797
- },
3798
- {
3799
- "kind": "field",
3800
- "name": "isRectDifferent",
3801
- "privacy": "private",
3802
- "description": "compare rects to see if there is enough change to justify a DOM update",
3803
- "inheritedFrom": {
3804
- "name": "AnchoredRegion",
3805
- "module": "src/anchored-region/anchored-region.ts"
3806
- }
3807
- },
3808
- {
3809
- "kind": "field",
3810
- "name": "handleResize",
3811
- "privacy": "private",
3812
- "description": "Handle resize events",
3813
- "inheritedFrom": {
3814
- "name": "AnchoredRegion",
3815
- "module": "src/anchored-region/anchored-region.ts"
3816
- }
3817
- },
3818
- {
3819
- "kind": "field",
3820
- "name": "reset",
3821
- "privacy": "private",
3822
- "description": "resets the component",
3823
- "inheritedFrom": {
3824
- "name": "AnchoredRegion",
3825
- "module": "src/anchored-region/anchored-region.ts"
3826
- }
3827
- },
3828
- {
3829
- "kind": "field",
3830
- "name": "updateLayout",
3831
- "privacy": "private",
3832
- "description": "Recalculate layout related state values",
3833
- "inheritedFrom": {
3834
- "name": "AnchoredRegion",
3835
- "module": "src/anchored-region/anchored-region.ts"
3836
- }
3837
- },
3838
- {
3839
- "kind": "field",
3840
- "name": "updateRegionStyle",
3841
- "privacy": "private",
3842
- "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
3843
- "inheritedFrom": {
3844
- "name": "AnchoredRegion",
3845
- "module": "src/anchored-region/anchored-region.ts"
3846
- }
3847
- },
3848
- {
3849
- "kind": "field",
3850
- "name": "updatePositionClasses",
3851
- "privacy": "private",
3852
- "description": "Updates the css classes that reflect the current position of the element",
3853
- "inheritedFrom": {
3854
- "name": "AnchoredRegion",
3855
- "module": "src/anchored-region/anchored-region.ts"
3856
- }
3857
- },
3858
- {
3859
- "kind": "field",
3860
- "name": "setHorizontalPosition",
3861
- "privacy": "private",
3862
- "description": "Get horizontal positioning state based on desired position",
3863
- "inheritedFrom": {
3864
- "name": "AnchoredRegion",
3865
- "module": "src/anchored-region/anchored-region.ts"
3866
- }
3867
- },
3868
- {
3869
- "kind": "field",
3870
- "name": "setVerticalPosition",
3871
- "privacy": "private",
3872
- "description": "Set vertical positioning state based on desired position",
3873
- "inheritedFrom": {
3874
- "name": "AnchoredRegion",
3875
- "module": "src/anchored-region/anchored-region.ts"
3876
- }
3877
- },
3878
- {
3879
- "kind": "field",
3880
- "name": "getPositioningOptions",
3881
- "privacy": "private",
3882
- "description": "Get available positions based on positioning mode",
3883
- "inheritedFrom": {
3884
- "name": "AnchoredRegion",
3885
- "module": "src/anchored-region/anchored-region.ts"
3886
- }
3887
- },
3888
- {
3889
- "kind": "field",
3890
- "name": "getAvailableSpace",
3891
- "privacy": "private",
3892
- "description": "Get the space available for a particular relative position",
3893
- "inheritedFrom": {
3894
- "name": "AnchoredRegion",
3895
- "module": "src/anchored-region/anchored-region.ts"
3896
- }
3897
- },
3898
- {
3899
- "kind": "field",
3900
- "name": "getNextRegionDimension",
3901
- "privacy": "private",
3902
- "description": "Get region dimensions",
3903
- "inheritedFrom": {
3904
- "name": "AnchoredRegion",
3905
- "module": "src/anchored-region/anchored-region.ts"
3906
- }
3907
- },
3908
- {
3909
- "kind": "field",
3910
- "name": "startAutoUpdateEventListeners",
3911
- "privacy": "private",
3912
- "description": "starts event listeners that can trigger auto updating",
3913
- "inheritedFrom": {
3914
- "name": "AnchoredRegion",
3915
- "module": "src/anchored-region/anchored-region.ts"
3916
- }
3917
- },
3918
- {
3919
- "kind": "field",
3920
- "name": "stopAutoUpdateEventListeners",
3921
- "privacy": "private",
3922
- "description": "stops event listeners that can trigger auto updating",
3923
- "inheritedFrom": {
3924
- "name": "AnchoredRegion",
3925
- "module": "src/anchored-region/anchored-region.ts"
3926
- }
3927
- },
3928
- {
3929
- "kind": "field",
3930
- "name": "_presentation",
3931
- "type": {
3932
- "text": "ComponentPresentation | null | undefined"
3933
- },
3934
- "privacy": "private",
3935
- "default": "void 0",
3936
- "inheritedFrom": {
3937
- "name": "FoundationElement",
3938
- "module": "src/foundation-element/foundation-element.ts"
3939
- }
3940
- },
3941
- {
3942
- "kind": "field",
3943
- "name": "$presentation",
3944
- "type": {
3945
- "text": "ComponentPresentation | null"
3946
- },
3947
- "privacy": "public",
3948
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3949
- "inheritedFrom": {
3950
- "name": "FoundationElement",
3951
- "module": "src/foundation-element/foundation-element.ts"
3952
- }
3953
- },
3954
- {
3955
- "kind": "field",
3956
- "name": "template",
3957
- "type": {
3958
- "text": "ElementViewTemplate | void | null"
3959
- },
3960
- "privacy": "public",
3961
- "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.",
3962
- "inheritedFrom": {
3963
- "name": "FoundationElement",
3964
- "module": "src/foundation-element/foundation-element.ts"
3965
- }
3966
- },
3967
- {
3968
- "kind": "method",
3969
- "name": "templateChanged",
3970
- "privacy": "protected",
3971
- "return": {
3972
- "type": {
3973
- "text": "void"
3974
- }
3975
- },
3976
- "inheritedFrom": {
3977
- "name": "FoundationElement",
3978
- "module": "src/foundation-element/foundation-element.ts"
3979
- }
3980
- },
3981
- {
3982
- "kind": "field",
3983
- "name": "styles",
3984
- "type": {
3985
- "text": "ElementStyles | void | null"
3986
- },
3987
- "privacy": "public",
3988
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
3989
- "inheritedFrom": {
3990
- "name": "FoundationElement",
3991
- "module": "src/foundation-element/foundation-element.ts"
4138
+ "name": "AnchoredRegion",
4139
+ "module": "src/anchored-region/anchored-region.ts"
3992
4140
  }
3993
4141
  },
3994
4142
  {
3995
- "kind": "method",
3996
- "name": "stylesChanged",
3997
- "privacy": "protected",
3998
- "return": {
3999
- "type": {
4000
- "text": "void"
4001
- }
4002
- },
4143
+ "kind": "field",
4144
+ "name": "getViewport",
4145
+ "privacy": "private",
4146
+ "description": "Gets the viewport element by id, or defaults to document root",
4003
4147
  "inheritedFrom": {
4004
- "name": "FoundationElement",
4005
- "module": "src/foundation-element/foundation-element.ts"
4148
+ "name": "AnchoredRegion",
4149
+ "module": "src/anchored-region/anchored-region.ts"
4006
4150
  }
4007
4151
  },
4008
4152
  {
4009
- "kind": "method",
4010
- "name": "compose",
4011
- "privacy": "public",
4012
- "static": true,
4013
- "return": {
4014
- "type": {
4015
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
4016
- }
4017
- },
4018
- "parameters": [
4019
- {
4020
- "name": "this",
4021
- "type": {
4022
- "text": "K"
4023
- }
4024
- },
4025
- {
4026
- "name": "elementDefinition",
4027
- "type": {
4028
- "text": "T"
4029
- },
4030
- "description": "The definition of the element to create the registry\nfunction for."
4031
- }
4032
- ],
4033
- "description": "Defines an element registry function with a set of element definition defaults.",
4153
+ "kind": "field",
4154
+ "name": "getAnchor",
4155
+ "privacy": "private",
4156
+ "description": "Gets the anchor element by id",
4034
4157
  "inheritedFrom": {
4035
- "name": "FoundationElement",
4036
- "module": "src/foundation-element/foundation-element.ts"
4158
+ "name": "AnchoredRegion",
4159
+ "module": "src/anchored-region/anchored-region.ts"
4037
4160
  }
4038
- }
4039
- ],
4040
- "events": [
4161
+ },
4041
4162
  {
4042
- "description": "Fires a custom 'loaded' event when the region is loaded and visible",
4043
- "name": "loaded",
4163
+ "kind": "field",
4164
+ "name": "handleIntersection",
4165
+ "privacy": "private",
4166
+ "description": "Handle intersections",
4044
4167
  "inheritedFrom": {
4045
4168
  "name": "AnchoredRegion",
4046
4169
  "module": "src/anchored-region/anchored-region.ts"
4047
4170
  }
4048
4171
  },
4049
4172
  {
4050
- "description": "Fires a custom 'positionchange' event when the position has changed",
4051
- "name": "positionchange",
4173
+ "kind": "field",
4174
+ "name": "applyIntersectionEntries",
4175
+ "privacy": "private",
4176
+ "description": "iterate through intersection entries and apply data",
4052
4177
  "inheritedFrom": {
4053
4178
  "name": "AnchoredRegion",
4054
4179
  "module": "src/anchored-region/anchored-region.ts"
4055
4180
  }
4056
- }
4057
- ]
4058
- },
4059
- {
4060
- "kind": "variable",
4061
- "name": "foundationAnchoredRegionShadowOptions",
4062
- "type": {
4063
- "text": "ShadowRootInit"
4064
- },
4065
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4066
- },
4067
- {
4068
- "kind": "variable",
4069
- "name": "defaultAnchoredRegionConfig",
4070
- "type": {
4071
- "text": "object"
4072
- },
4073
- "default": "{}"
4074
- },
4075
- {
4076
- "kind": "variable",
4077
- "name": "foundationAnchoredRegion",
4078
- "description": "The Foundation Anchored Region",
4079
- "privacy": "public"
4080
- }
4081
- ],
4082
- "exports": [
4083
- {
4084
- "kind": "js",
4085
- "name": "AnchoredRegion",
4086
- "declaration": {
4087
- "name": "AnchoredRegion",
4088
- "module": "src/anchored-region/anchored-region.ts"
4089
- }
4090
- },
4091
- {
4092
- "kind": "js",
4093
- "name": "foundationAnchoredRegionShadowOptions",
4094
- "declaration": {
4095
- "name": "foundationAnchoredRegionShadowOptions",
4096
- "module": "src/anchored-region/anchored-region.ts"
4097
- }
4098
- },
4099
- {
4100
- "kind": "js",
4101
- "name": "defaultAnchoredRegionConfig",
4102
- "declaration": {
4103
- "name": "defaultAnchoredRegionConfig",
4104
- "module": "src/anchored-region/anchored-region.ts"
4105
- }
4106
- },
4107
- {
4108
- "kind": "js",
4109
- "name": "foundationAnchoredRegion",
4110
- "declaration": {
4111
- "name": "foundationAnchoredRegion",
4112
- "module": "src/anchored-region/anchored-region.ts"
4113
- }
4114
- }
4115
- ]
4116
- },
4117
- {
4118
- "kind": "javascript-module",
4119
- "path": "src/anchored-region/index.ts",
4120
- "declarations": [],
4121
- "exports": [
4122
- {
4123
- "kind": "js",
4124
- "name": "*",
4125
- "declaration": {
4126
- "name": "*",
4127
- "package": "./anchor-region.template"
4128
- }
4129
- },
4130
- {
4131
- "kind": "js",
4132
- "name": "*",
4133
- "declaration": {
4134
- "name": "*",
4135
- "package": "./anchored-region.styles"
4136
- }
4137
- },
4138
- {
4139
- "kind": "js",
4140
- "name": "*",
4141
- "declaration": {
4142
- "name": "*",
4143
- "package": "./anchored-region"
4144
- }
4145
- }
4146
- ]
4147
- },
4148
- {
4149
- "kind": "javascript-module",
4150
- "path": "src/_common/base-file-component.ts",
4151
- "declarations": [
4152
- {
4153
- "kind": "class",
4154
- "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
4155
- "name": "BaseFileComponent",
4156
- "members": [
4157
- {
4158
- "kind": "field",
4159
- "name": "fileInput",
4160
- "type": {
4161
- "text": "HTMLInputElement"
4162
- },
4163
- "privacy": "public"
4164
4181
  },
4165
4182
  {
4166
4183
  "kind": "field",
4167
- "name": "selectedFile",
4168
- "type": {
4169
- "text": "File | null"
4170
- },
4171
- "privacy": "protected",
4172
- "default": "null"
4184
+ "name": "updateRegionOffset",
4185
+ "privacy": "private",
4186
+ "description": "Update the offset values",
4187
+ "inheritedFrom": {
4188
+ "name": "AnchoredRegion",
4189
+ "module": "src/anchored-region/anchored-region.ts"
4190
+ }
4173
4191
  },
4174
4192
  {
4175
4193
  "kind": "field",
4176
- "name": "label",
4177
- "type": {
4178
- "text": "string"
4194
+ "name": "isRectDifferent",
4195
+ "privacy": "private",
4196
+ "description": "compare rects to see if there is enough change to justify a DOM update",
4197
+ "inheritedFrom": {
4198
+ "name": "AnchoredRegion",
4199
+ "module": "src/anchored-region/anchored-region.ts"
4179
4200
  }
4180
4201
  },
4181
4202
  {
4182
4203
  "kind": "field",
4183
- "name": "accept",
4184
- "type": {
4185
- "text": "string"
4186
- },
4187
- "default": "''"
4204
+ "name": "handleResize",
4205
+ "privacy": "private",
4206
+ "description": "Handle resize events",
4207
+ "inheritedFrom": {
4208
+ "name": "AnchoredRegion",
4209
+ "module": "src/anchored-region/anchored-region.ts"
4210
+ }
4188
4211
  },
4189
4212
  {
4190
4213
  "kind": "field",
4191
- "name": "fileSizeLimitBytes",
4192
- "default": "10_485_760",
4193
- "type": {
4194
- "text": "number"
4214
+ "name": "reset",
4215
+ "privacy": "private",
4216
+ "description": "resets the component",
4217
+ "inheritedFrom": {
4218
+ "name": "AnchoredRegion",
4219
+ "module": "src/anchored-region/anchored-region.ts"
4195
4220
  }
4196
4221
  },
4197
4222
  {
4198
4223
  "kind": "field",
4199
- "name": "fileName",
4200
- "type": {
4201
- "text": "string"
4202
- },
4203
- "default": "''"
4224
+ "name": "updateLayout",
4225
+ "privacy": "private",
4226
+ "description": "Recalculate layout related state values",
4227
+ "inheritedFrom": {
4228
+ "name": "AnchoredRegion",
4229
+ "module": "src/anchored-region/anchored-region.ts"
4230
+ }
4204
4231
  },
4205
4232
  {
4206
4233
  "kind": "field",
4207
- "name": "isProcessing",
4208
- "type": {
4209
- "text": "boolean"
4210
- },
4211
- "default": "false"
4234
+ "name": "updateRegionStyle",
4235
+ "privacy": "private",
4236
+ "description": "Updates the style string applied to the region element as well as the css classes attached\nto the root element",
4237
+ "inheritedFrom": {
4238
+ "name": "AnchoredRegion",
4239
+ "module": "src/anchored-region/anchored-region.ts"
4240
+ }
4212
4241
  },
4213
4242
  {
4214
- "kind": "method",
4215
- "name": "handleClick",
4216
- "privacy": "public",
4217
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
4243
+ "kind": "field",
4244
+ "name": "updatePositionClasses",
4245
+ "privacy": "private",
4246
+ "description": "Updates the css classes that reflect the current position of the element",
4247
+ "inheritedFrom": {
4248
+ "name": "AnchoredRegion",
4249
+ "module": "src/anchored-region/anchored-region.ts"
4250
+ }
4218
4251
  },
4219
4252
  {
4220
- "kind": "method",
4221
- "name": "onInputChange",
4222
- "privacy": "public",
4223
- "parameters": [
4224
- {
4225
- "name": "e",
4226
- "type": {
4227
- "text": "Event"
4228
- },
4229
- "description": "The change event from the file input"
4230
- }
4231
- ],
4232
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
4253
+ "kind": "field",
4254
+ "name": "setHorizontalPosition",
4255
+ "privacy": "private",
4256
+ "description": "Get horizontal positioning state based on desired position",
4257
+ "inheritedFrom": {
4258
+ "name": "AnchoredRegion",
4259
+ "module": "src/anchored-region/anchored-region.ts"
4260
+ }
4233
4261
  },
4234
4262
  {
4235
- "kind": "method",
4236
- "name": "clearSelection",
4237
- "privacy": "public",
4238
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
4263
+ "kind": "field",
4264
+ "name": "setVerticalPosition",
4265
+ "privacy": "private",
4266
+ "description": "Set vertical positioning state based on desired position",
4267
+ "inheritedFrom": {
4268
+ "name": "AnchoredRegion",
4269
+ "module": "src/anchored-region/anchored-region.ts"
4270
+ }
4239
4271
  },
4240
4272
  {
4241
- "kind": "method",
4242
- "name": "getSelectedFile",
4243
- "privacy": "public",
4244
- "description": "Gets the currently selected file object",
4245
- "return": {
4246
- "type": {
4247
- "text": ""
4248
- }
4273
+ "kind": "field",
4274
+ "name": "getPositioningOptions",
4275
+ "privacy": "private",
4276
+ "description": "Get available positions based on positioning mode",
4277
+ "inheritedFrom": {
4278
+ "name": "AnchoredRegion",
4279
+ "module": "src/anchored-region/anchored-region.ts"
4249
4280
  }
4250
4281
  },
4251
4282
  {
4252
- "kind": "method",
4253
- "name": "showError",
4254
- "privacy": "protected",
4255
- "parameters": [
4256
- {
4257
- "name": "title",
4258
- "type": {
4259
- "text": "string"
4260
- },
4261
- "description": "The error title"
4262
- },
4263
- {
4264
- "name": "message",
4265
- "type": {
4266
- "text": "string"
4267
- },
4268
- "description": "The error message"
4269
- }
4270
- ],
4271
- "description": "Shows an error notification using the unified error handling system"
4283
+ "kind": "field",
4284
+ "name": "getAvailableSpace",
4285
+ "privacy": "private",
4286
+ "description": "Get the space available for a particular relative position",
4287
+ "inheritedFrom": {
4288
+ "name": "AnchoredRegion",
4289
+ "module": "src/anchored-region/anchored-region.ts"
4290
+ }
4272
4291
  },
4273
4292
  {
4274
- "kind": "method",
4275
- "name": "onFileSelected",
4276
- "privacy": "protected",
4277
- "return": {
4278
- "type": {
4279
- "text": "void"
4280
- }
4281
- },
4282
- "parameters": [
4283
- {
4284
- "name": "files",
4285
- "type": {
4286
- "text": "File[]"
4287
- },
4288
- "description": "The selected file"
4289
- }
4290
- ],
4291
- "description": "Abstract method called when a file is selected"
4293
+ "kind": "field",
4294
+ "name": "getNextRegionDimension",
4295
+ "privacy": "private",
4296
+ "description": "Get region dimensions",
4297
+ "inheritedFrom": {
4298
+ "name": "AnchoredRegion",
4299
+ "module": "src/anchored-region/anchored-region.ts"
4300
+ }
4292
4301
  },
4293
4302
  {
4294
- "kind": "method",
4295
- "name": "onFileCleared",
4296
- "privacy": "protected",
4297
- "return": {
4298
- "type": {
4299
- "text": "void"
4300
- }
4301
- },
4302
- "description": "Abstract method called when file selection is cleared"
4303
+ "kind": "field",
4304
+ "name": "startAutoUpdateEventListeners",
4305
+ "privacy": "private",
4306
+ "description": "starts event listeners that can trigger auto updating",
4307
+ "inheritedFrom": {
4308
+ "name": "AnchoredRegion",
4309
+ "module": "src/anchored-region/anchored-region.ts"
4310
+ }
4311
+ },
4312
+ {
4313
+ "kind": "field",
4314
+ "name": "stopAutoUpdateEventListeners",
4315
+ "privacy": "private",
4316
+ "description": "stops event listeners that can trigger auto updating",
4317
+ "inheritedFrom": {
4318
+ "name": "AnchoredRegion",
4319
+ "module": "src/anchored-region/anchored-region.ts"
4320
+ }
4303
4321
  },
4304
4322
  {
4305
4323
  "kind": "field",
@@ -4413,104 +4431,86 @@
4413
4431
  }
4414
4432
  }
4415
4433
  ],
4416
- "attributes": [
4417
- {
4418
- "name": "label",
4419
- "type": {
4420
- "text": "string"
4421
- },
4422
- "fieldName": "label"
4423
- },
4434
+ "events": [
4424
4435
  {
4425
- "name": "accept",
4426
- "type": {
4427
- "text": "string"
4428
- },
4429
- "default": "''",
4430
- "fieldName": "accept"
4436
+ "description": "Fires a custom 'loaded' event when the region is loaded and visible",
4437
+ "name": "loaded",
4438
+ "inheritedFrom": {
4439
+ "name": "AnchoredRegion",
4440
+ "module": "src/anchored-region/anchored-region.ts"
4441
+ }
4431
4442
  },
4432
4443
  {
4433
- "name": "file-size-limit-bytes",
4434
- "default": "DEFAULT_FILE_SIZE_LIMIT",
4435
- "resolveInitializer": {
4436
- "module": "src/_common/base-file-component.ts"
4437
- },
4438
- "fieldName": "fileSizeLimitBytes"
4444
+ "description": "Fires a custom 'positionchange' event when the position has changed",
4445
+ "name": "positionchange",
4446
+ "inheritedFrom": {
4447
+ "name": "AnchoredRegion",
4448
+ "module": "src/anchored-region/anchored-region.ts"
4449
+ }
4439
4450
  }
4440
- ],
4441
- "superclass": {
4442
- "name": "FoundationElement",
4443
- "package": "@microsoft/fast-foundation"
4444
- }
4451
+ ]
4452
+ },
4453
+ {
4454
+ "kind": "variable",
4455
+ "name": "foundationAnchoredRegionShadowOptions",
4456
+ "type": {
4457
+ "text": "ShadowRootInit"
4458
+ },
4459
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4460
+ },
4461
+ {
4462
+ "kind": "variable",
4463
+ "name": "defaultAnchoredRegionConfig",
4464
+ "type": {
4465
+ "text": "object"
4466
+ },
4467
+ "default": "{}"
4468
+ },
4469
+ {
4470
+ "kind": "variable",
4471
+ "name": "foundationAnchoredRegion",
4472
+ "description": "The Foundation Anchored Region",
4473
+ "privacy": "public"
4445
4474
  }
4446
4475
  ],
4447
4476
  "exports": [
4448
4477
  {
4449
4478
  "kind": "js",
4450
- "name": "BaseFileComponent",
4479
+ "name": "AnchoredRegion",
4451
4480
  "declaration": {
4452
- "name": "BaseFileComponent",
4453
- "module": "src/_common/base-file-component.ts"
4481
+ "name": "AnchoredRegion",
4482
+ "module": "src/anchored-region/anchored-region.ts"
4454
4483
  }
4455
- }
4456
- ]
4457
- },
4458
- {
4459
- "kind": "javascript-module",
4460
- "path": "src/_common/icons.ts",
4461
- "declarations": [
4462
- {
4463
- "kind": "function",
4464
- "name": "closeIcon",
4465
- "parameters": [
4466
- {
4467
- "name": "slot",
4468
- "default": "'start'"
4469
- },
4470
- {
4471
- "name": "fill",
4472
- "default": "'#879ba6'"
4473
- }
4474
- ]
4475
- }
4476
- ],
4477
- "exports": [
4484
+ },
4478
4485
  {
4479
4486
  "kind": "js",
4480
- "name": "closeIcon",
4487
+ "name": "foundationAnchoredRegionShadowOptions",
4481
4488
  "declaration": {
4482
- "name": "closeIcon",
4483
- "module": "src/_common/icons.ts"
4489
+ "name": "foundationAnchoredRegionShadowOptions",
4490
+ "module": "src/anchored-region/anchored-region.ts"
4484
4491
  }
4485
- }
4486
- ]
4487
- },
4488
- {
4489
- "kind": "javascript-module",
4490
- "path": "src/_common/index.ts",
4491
- "declarations": [],
4492
- "exports": [
4492
+ },
4493
4493
  {
4494
4494
  "kind": "js",
4495
- "name": "*",
4495
+ "name": "defaultAnchoredRegionConfig",
4496
4496
  "declaration": {
4497
- "name": "*",
4498
- "package": "./base-file-component"
4497
+ "name": "defaultAnchoredRegionConfig",
4498
+ "module": "src/anchored-region/anchored-region.ts"
4499
4499
  }
4500
4500
  },
4501
4501
  {
4502
4502
  "kind": "js",
4503
- "name": "*",
4503
+ "name": "foundationAnchoredRegion",
4504
4504
  "declaration": {
4505
- "name": "*",
4506
- "package": "./icons"
4505
+ "name": "foundationAnchoredRegion",
4506
+ "module": "src/anchored-region/anchored-region.ts"
4507
4507
  }
4508
4508
  }
4509
4509
  ]
4510
4510
  },
4511
4511
  {
4512
4512
  "kind": "javascript-module",
4513
- "path": "src/_config/index.ts",
4513
+ "path": "src/anchored-region/index.ts",
4514
4514
  "declarations": [],
4515
4515
  "exports": [
4516
4516
  {
@@ -4518,7 +4518,7 @@
4518
4518
  "name": "*",
4519
4519
  "declaration": {
4520
4520
  "name": "*",
4521
- "package": "./styles"
4521
+ "package": "./anchor-region.template"
4522
4522
  }
4523
4523
  },
4524
4524
  {
@@ -4526,7 +4526,7 @@
4526
4526
  "name": "*",
4527
4527
  "declaration": {
4528
4528
  "name": "*",
4529
- "package": "./tokens"
4529
+ "package": "./anchored-region.styles"
4530
4530
  }
4531
4531
  },
4532
4532
  {
@@ -4534,7 +4534,7 @@
4534
4534
  "name": "*",
4535
4535
  "declaration": {
4536
4536
  "name": "*",
4537
- "package": "./values"
4537
+ "package": "./anchored-region"
4538
4538
  }
4539
4539
  }
4540
4540
  ]