@genesislcap/foundation-ui 14.211.3 → 14.211.4

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 +727 -727
  2. package/package.json +16 -16
@@ -819,42 +819,56 @@
819
819
  },
820
820
  {
821
821
  "kind": "javascript-module",
822
- "path": "src/_config/index.ts",
823
- "declarations": [],
824
- "exports": [
822
+ "path": "src/_common/icons.ts",
823
+ "declarations": [
825
824
  {
826
- "kind": "js",
827
- "name": "*",
828
- "declaration": {
829
- "name": "*",
830
- "package": "./styles"
831
- }
832
- },
825
+ "kind": "function",
826
+ "name": "closeIcon",
827
+ "parameters": [
828
+ {
829
+ "name": "slot",
830
+ "default": "'start'"
831
+ },
832
+ {
833
+ "name": "fill",
834
+ "default": "'#879ba6'"
835
+ }
836
+ ]
837
+ }
838
+ ],
839
+ "exports": [
833
840
  {
834
841
  "kind": "js",
835
- "name": "*",
842
+ "name": "closeIcon",
836
843
  "declaration": {
837
- "name": "*",
838
- "package": "./tokens"
844
+ "name": "closeIcon",
845
+ "module": "src/_common/icons.ts"
839
846
  }
840
- },
847
+ }
848
+ ]
849
+ },
850
+ {
851
+ "kind": "javascript-module",
852
+ "path": "src/_common/index.ts",
853
+ "declarations": [],
854
+ "exports": [
841
855
  {
842
856
  "kind": "js",
843
857
  "name": "*",
844
858
  "declaration": {
845
859
  "name": "*",
846
- "package": "./values"
860
+ "package": "./icons"
847
861
  }
848
862
  }
849
863
  ]
850
864
  },
851
865
  {
852
866
  "kind": "javascript-module",
853
- "path": "src/accordion-item/accordion-item.styles.ts",
867
+ "path": "src/accordion/accordion.styles.ts",
854
868
  "declarations": [
855
869
  {
856
870
  "kind": "function",
857
- "name": "foundationAccordionItemStyles",
871
+ "name": "foundationAccordionStyles",
858
872
  "return": {
859
873
  "type": {
860
874
  "text": "ElementStyles"
@@ -879,24 +893,24 @@
879
893
  "exports": [
880
894
  {
881
895
  "kind": "js",
882
- "name": "foundationAccordionItemStyles",
896
+ "name": "foundationAccordionStyles",
883
897
  "declaration": {
884
- "name": "foundationAccordionItemStyles",
885
- "module": "src/accordion-item/accordion-item.styles.ts"
898
+ "name": "foundationAccordionStyles",
899
+ "module": "src/accordion/accordion.styles.ts"
886
900
  }
887
901
  }
888
902
  ]
889
903
  },
890
904
  {
891
905
  "kind": "javascript-module",
892
- "path": "src/accordion-item/accordion-item.template.ts",
906
+ "path": "src/accordion/accordion.template.ts",
893
907
  "declarations": [
894
908
  {
895
909
  "kind": "function",
896
- "name": "foundationAccordionItemTemplate",
910
+ "name": "foundationAccordionTemplate",
897
911
  "return": {
898
912
  "type": {
899
- "text": "ViewTemplate<AccordionItem>"
913
+ "text": "ViewTemplate<Accordion>"
900
914
  }
901
915
  },
902
916
  "parameters": [
@@ -918,484 +932,680 @@
918
932
  "exports": [
919
933
  {
920
934
  "kind": "js",
921
- "name": "foundationAccordionItemTemplate",
935
+ "name": "foundationAccordionTemplate",
922
936
  "declaration": {
923
- "name": "foundationAccordionItemTemplate",
924
- "module": "src/accordion-item/accordion-item.template.ts"
937
+ "name": "foundationAccordionTemplate",
938
+ "module": "src/accordion/accordion.template.ts"
925
939
  }
926
940
  }
927
941
  ]
928
942
  },
929
943
  {
930
944
  "kind": "javascript-module",
931
- "path": "src/accordion-item/accordion-item.ts",
945
+ "path": "src/accordion/accordion.ts",
932
946
  "declarations": [
933
947
  {
934
948
  "kind": "class",
935
949
  "description": "",
936
- "name": "AccordionItem",
950
+ "name": "Accordion",
937
951
  "superclass": {
938
- "name": "FASTAccordionItem",
939
- "package": "@microsoft/fast-components"
952
+ "name": "FASTAccordion",
953
+ "package": "@microsoft/fast-foundation"
940
954
  },
941
- "tagName": "%%prefix%%-accordion-item",
942
- "customElement": true,
943
- "attributes": [
955
+ "tagName": "%%prefix%%-accordion",
956
+ "customElement": true
957
+ },
958
+ {
959
+ "kind": "variable",
960
+ "name": "foundationAccordionShadowOptions",
961
+ "type": {
962
+ "text": "ShadowRootInit"
963
+ },
964
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
965
+ },
966
+ {
967
+ "kind": "variable",
968
+ "name": "defaultAccordionConfig",
969
+ "type": {
970
+ "text": "object"
971
+ },
972
+ "default": "{}"
973
+ },
974
+ {
975
+ "kind": "variable",
976
+ "name": "foundationAccordion",
977
+ "description": "The Foundation Accordion",
978
+ "privacy": "public"
979
+ }
980
+ ],
981
+ "exports": [
982
+ {
983
+ "kind": "js",
984
+ "name": "Accordion",
985
+ "declaration": {
986
+ "name": "Accordion",
987
+ "module": "src/accordion/accordion.ts"
988
+ }
989
+ },
990
+ {
991
+ "kind": "js",
992
+ "name": "foundationAccordionShadowOptions",
993
+ "declaration": {
994
+ "name": "foundationAccordionShadowOptions",
995
+ "module": "src/accordion/accordion.ts"
996
+ }
997
+ },
998
+ {
999
+ "kind": "js",
1000
+ "name": "defaultAccordionConfig",
1001
+ "declaration": {
1002
+ "name": "defaultAccordionConfig",
1003
+ "module": "src/accordion/accordion.ts"
1004
+ }
1005
+ },
1006
+ {
1007
+ "kind": "js",
1008
+ "name": "foundationAccordion",
1009
+ "declaration": {
1010
+ "name": "foundationAccordion",
1011
+ "module": "src/accordion/accordion.ts"
1012
+ }
1013
+ }
1014
+ ]
1015
+ },
1016
+ {
1017
+ "kind": "javascript-module",
1018
+ "path": "src/accordion/index.ts",
1019
+ "declarations": [],
1020
+ "exports": [
1021
+ {
1022
+ "kind": "js",
1023
+ "name": "*",
1024
+ "declaration": {
1025
+ "name": "*",
1026
+ "package": "./accordion.template"
1027
+ }
1028
+ },
1029
+ {
1030
+ "kind": "js",
1031
+ "name": "*",
1032
+ "declaration": {
1033
+ "name": "*",
1034
+ "package": "./accordion.styles"
1035
+ }
1036
+ },
1037
+ {
1038
+ "kind": "js",
1039
+ "name": "*",
1040
+ "declaration": {
1041
+ "name": "*",
1042
+ "package": "./accordion"
1043
+ }
1044
+ }
1045
+ ]
1046
+ },
1047
+ {
1048
+ "kind": "javascript-module",
1049
+ "path": "src/_config/index.ts",
1050
+ "declarations": [],
1051
+ "exports": [
1052
+ {
1053
+ "kind": "js",
1054
+ "name": "*",
1055
+ "declaration": {
1056
+ "name": "*",
1057
+ "package": "./styles"
1058
+ }
1059
+ },
1060
+ {
1061
+ "kind": "js",
1062
+ "name": "*",
1063
+ "declaration": {
1064
+ "name": "*",
1065
+ "package": "./tokens"
1066
+ }
1067
+ },
1068
+ {
1069
+ "kind": "js",
1070
+ "name": "*",
1071
+ "declaration": {
1072
+ "name": "*",
1073
+ "package": "./values"
1074
+ }
1075
+ }
1076
+ ]
1077
+ },
1078
+ {
1079
+ "kind": "javascript-module",
1080
+ "path": "src/actions-menu/actions-menu.styles.ts",
1081
+ "declarations": [
1082
+ {
1083
+ "kind": "function",
1084
+ "name": "actionsMenuBaseStyles",
1085
+ "return": {
1086
+ "type": {
1087
+ "text": "ElementStyles"
1088
+ }
1089
+ },
1090
+ "parameters": [
944
1091
  {
945
- "name": "heading-level",
1092
+ "name": "context",
946
1093
  "type": {
947
- "text": "1 | 2 | 3 | 4 | 5 | 6"
948
- },
949
- "default": "2",
950
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
951
- "fieldName": "headinglevel",
952
- "inheritedFrom": {
953
- "name": "AccordionItem",
954
- "module": "src/accordion-item/accordion-item.ts"
1094
+ "text": "ElementDefinitionContext"
955
1095
  }
956
1096
  },
957
1097
  {
1098
+ "name": "definition",
958
1099
  "type": {
959
- "text": "boolean"
960
- },
961
- "default": "false",
962
- "description": "Expands or collapses the item.",
963
- "fieldName": "expanded",
964
- "inheritedFrom": {
965
- "name": "AccordionItem",
966
- "module": "src/accordion-item/accordion-item.ts"
1100
+ "text": "FoundationElementDefinition"
1101
+ }
1102
+ }
1103
+ ]
1104
+ },
1105
+ {
1106
+ "kind": "function",
1107
+ "name": "foundationActionsMenuStyles",
1108
+ "return": {
1109
+ "type": {
1110
+ "text": "ElementStyles"
1111
+ }
1112
+ },
1113
+ "parameters": [
1114
+ {
1115
+ "name": "context",
1116
+ "type": {
1117
+ "text": "ElementDefinitionContext"
967
1118
  }
968
1119
  },
969
1120
  {
970
- "name": "id",
1121
+ "name": "definition",
971
1122
  "type": {
972
- "text": "string"
973
- },
974
- "description": "The item ID",
975
- "fieldName": "id",
976
- "inheritedFrom": {
977
- "name": "AccordionItem",
978
- "module": "src/accordion-item/accordion-item.ts"
1123
+ "text": "FoundationElementDefinition"
979
1124
  }
980
1125
  }
981
- ],
1126
+ ]
1127
+ }
1128
+ ],
1129
+ "exports": [
1130
+ {
1131
+ "kind": "js",
1132
+ "name": "actionsMenuBaseStyles",
1133
+ "declaration": {
1134
+ "name": "actionsMenuBaseStyles",
1135
+ "module": "src/actions-menu/actions-menu.styles.ts"
1136
+ }
1137
+ },
1138
+ {
1139
+ "kind": "js",
1140
+ "name": "foundationActionsMenuStyles",
1141
+ "declaration": {
1142
+ "name": "foundationActionsMenuStyles",
1143
+ "module": "src/actions-menu/actions-menu.styles.ts"
1144
+ }
1145
+ }
1146
+ ]
1147
+ },
1148
+ {
1149
+ "kind": "javascript-module",
1150
+ "path": "src/actions-menu/actions-menu.template.ts",
1151
+ "declarations": [
1152
+ {
1153
+ "kind": "function",
1154
+ "name": "menuTemplate",
1155
+ "parameters": [
1156
+ {
1157
+ "name": "prefix",
1158
+ "type": {
1159
+ "text": "string"
1160
+ }
1161
+ }
1162
+ ]
1163
+ },
1164
+ {
1165
+ "kind": "function",
1166
+ "name": "singleOptionTemplate",
1167
+ "parameters": [
1168
+ {
1169
+ "name": "prefix",
1170
+ "type": {
1171
+ "text": "string"
1172
+ }
1173
+ }
1174
+ ]
1175
+ },
1176
+ {
1177
+ "kind": "variable",
1178
+ "name": "foundationActionsMenuTemplate",
1179
+ "type": {
1180
+ "text": "ViewTemplate<ActionsMenu>"
1181
+ },
1182
+ "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`"
1183
+ }
1184
+ ],
1185
+ "exports": [
1186
+ {
1187
+ "kind": "js",
1188
+ "name": "menuTemplate",
1189
+ "declaration": {
1190
+ "name": "menuTemplate",
1191
+ "module": "src/actions-menu/actions-menu.template.ts"
1192
+ }
1193
+ },
1194
+ {
1195
+ "kind": "js",
1196
+ "name": "singleOptionTemplate",
1197
+ "declaration": {
1198
+ "name": "singleOptionTemplate",
1199
+ "module": "src/actions-menu/actions-menu.template.ts"
1200
+ }
1201
+ },
1202
+ {
1203
+ "kind": "js",
1204
+ "name": "foundationActionsMenuTemplate",
1205
+ "declaration": {
1206
+ "name": "foundationActionsMenuTemplate",
1207
+ "module": "src/actions-menu/actions-menu.template.ts"
1208
+ }
1209
+ }
1210
+ ]
1211
+ },
1212
+ {
1213
+ "kind": "javascript-module",
1214
+ "path": "src/actions-menu/actions-menu.ts",
1215
+ "declarations": [
1216
+ {
1217
+ "kind": "class",
1218
+ "description": "",
1219
+ "name": "ActionsMenu",
982
1220
  "members": [
983
1221
  {
984
1222
  "kind": "field",
985
- "name": "headinglevel",
1223
+ "name": "actions",
986
1224
  "type": {
987
- "text": "1 | 2 | 3 | 4 | 5 | 6"
988
- },
989
- "privacy": "public",
990
- "default": "2",
991
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
992
- "inheritedFrom": {
993
- "name": "AccordionItem",
994
- "module": "src/accordion-item/accordion-item.ts"
1225
+ "text": "ActionMenuItem[]"
995
1226
  }
996
1227
  },
997
1228
  {
998
1229
  "kind": "field",
999
- "name": "expanded",
1230
+ "name": "isVertical",
1000
1231
  "type": {
1001
1232
  "text": "boolean"
1002
1233
  },
1003
- "privacy": "public",
1004
- "default": "false",
1005
- "description": "Expands or collapses the item.",
1006
- "inheritedFrom": {
1007
- "name": "AccordionItem",
1008
- "module": "src/accordion-item/accordion-item.ts"
1009
- }
1234
+ "default": "false"
1010
1235
  },
1011
1236
  {
1012
1237
  "kind": "field",
1013
- "name": "id",
1238
+ "name": "addDefaultActions",
1014
1239
  "type": {
1015
- "text": "string"
1240
+ "text": "boolean"
1016
1241
  },
1017
- "privacy": "public",
1018
- "description": "The item ID",
1019
- "inheritedFrom": {
1020
- "name": "AccordionItem",
1021
- "module": "src/accordion-item/accordion-item.ts"
1022
- }
1242
+ "default": "true"
1023
1243
  },
1024
1244
  {
1025
1245
  "kind": "field",
1026
- "name": "change",
1027
- "privacy": "private",
1028
- "inheritedFrom": {
1029
- "name": "AccordionItem",
1030
- "module": "src/accordion-item/accordion-item.ts"
1246
+ "name": "autoCloseOnAction",
1247
+ "type": {
1248
+ "text": "boolean"
1249
+ },
1250
+ "default": "true"
1251
+ },
1252
+ {
1253
+ "kind": "field",
1254
+ "name": "classNames",
1255
+ "type": {
1256
+ "text": "string"
1031
1257
  }
1032
1258
  },
1033
1259
  {
1034
1260
  "kind": "field",
1035
- "name": "_presentation",
1261
+ "name": "definition",
1036
1262
  "type": {
1037
- "text": "ComponentPresentation | null | undefined"
1038
- },
1039
- "privacy": "private",
1040
- "default": "void 0",
1041
- "inheritedFrom": {
1042
- "name": "FoundationElement",
1043
- "module": "src/foundation-element/foundation-element.ts"
1263
+ "text": "any"
1044
1264
  }
1045
1265
  },
1046
1266
  {
1047
1267
  "kind": "field",
1048
- "name": "$presentation",
1268
+ "name": "name",
1049
1269
  "type": {
1050
- "text": "ComponentPresentation | null"
1270
+ "text": "string"
1051
1271
  },
1052
- "privacy": "public",
1053
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1054
- "inheritedFrom": {
1055
- "name": "FoundationElement",
1056
- "module": "src/foundation-element/foundation-element.ts"
1057
- }
1272
+ "default": "'Actions'"
1058
1273
  },
1059
1274
  {
1060
1275
  "kind": "field",
1061
- "name": "template",
1276
+ "name": "open",
1062
1277
  "type": {
1063
- "text": "ElementViewTemplate | void | null"
1278
+ "text": "boolean"
1064
1279
  },
1065
- "privacy": "public",
1066
- "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.",
1067
- "inheritedFrom": {
1068
- "name": "FoundationElement",
1069
- "module": "src/foundation-element/foundation-element.ts"
1280
+ "default": "false"
1281
+ },
1282
+ {
1283
+ "kind": "field",
1284
+ "name": "buttonAppearance",
1285
+ "type": {
1286
+ "text": "string"
1070
1287
  }
1071
1288
  },
1072
1289
  {
1073
- "kind": "method",
1074
- "name": "templateChanged",
1075
- "privacy": "protected",
1076
- "return": {
1077
- "type": {
1078
- "text": "void"
1079
- }
1290
+ "kind": "field",
1291
+ "name": "hideDisabled",
1292
+ "type": {
1293
+ "text": "boolean"
1080
1294
  },
1081
- "inheritedFrom": {
1082
- "name": "FoundationElement",
1083
- "module": "src/foundation-element/foundation-element.ts"
1084
- }
1295
+ "default": "false"
1085
1296
  },
1086
1297
  {
1087
1298
  "kind": "field",
1088
- "name": "styles",
1299
+ "name": "hideMenuSingleOption",
1089
1300
  "type": {
1090
- "text": "ElementStyles | void | null"
1301
+ "text": "boolean"
1091
1302
  },
1092
- "privacy": "public",
1093
- "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.",
1094
- "inheritedFrom": {
1095
- "name": "FoundationElement",
1096
- "module": "src/foundation-element/foundation-element.ts"
1303
+ "default": "false"
1304
+ },
1305
+ {
1306
+ "kind": "field",
1307
+ "name": "singleOption",
1308
+ "type": {
1309
+ "text": "ActionMenuItem"
1097
1310
  }
1098
1311
  },
1099
1312
  {
1100
- "kind": "method",
1101
- "name": "stylesChanged",
1102
- "privacy": "protected",
1103
- "return": {
1104
- "type": {
1105
- "text": "void"
1106
- }
1107
- },
1108
- "inheritedFrom": {
1109
- "name": "FoundationElement",
1110
- "module": "src/foundation-element/foundation-element.ts"
1313
+ "kind": "field",
1314
+ "name": "actionsMenu",
1315
+ "type": {
1316
+ "text": "HTMLElement"
1111
1317
  }
1112
1318
  },
1113
1319
  {
1114
1320
  "kind": "method",
1115
- "name": "compose",
1116
- "privacy": "public",
1117
- "static": true,
1118
- "return": {
1119
- "type": {
1120
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1121
- }
1122
- },
1321
+ "name": "definitionChanged",
1322
+ "privacy": "protected",
1123
1323
  "parameters": [
1124
1324
  {
1125
- "name": "this",
1325
+ "name": "oldValue",
1126
1326
  "type": {
1127
- "text": "K"
1327
+ "text": "any"
1128
1328
  }
1129
1329
  },
1130
1330
  {
1131
- "name": "elementDefinition",
1331
+ "name": "newValue",
1132
1332
  "type": {
1133
- "text": "T"
1134
- },
1135
- "description": "The definition of the element to create the registry\nfunction for."
1333
+ "text": "any"
1334
+ }
1136
1335
  }
1137
- ],
1138
- "description": "Defines an element registry function with a set of element definition defaults.",
1139
- "inheritedFrom": {
1336
+ ]
1337
+ },
1338
+ {
1339
+ "kind": "method",
1340
+ "name": "openChanged",
1341
+ "privacy": "protected"
1342
+ },
1343
+ {
1344
+ "kind": "method",
1345
+ "name": "toggleActionsMenuVisibility"
1346
+ },
1347
+ {
1348
+ "kind": "method",
1349
+ "name": "onActionMenuItemClick",
1350
+ "parameters": [
1351
+ {
1352
+ "name": "callback",
1353
+ "type": {
1354
+ "text": "(rowData) => void | any"
1355
+ }
1356
+ }
1357
+ ]
1358
+ },
1359
+ {
1360
+ "kind": "field",
1361
+ "name": "allActions",
1362
+ "type": {
1363
+ "text": "ActionMenuItem[]"
1364
+ },
1365
+ "readonly": true
1366
+ },
1367
+ {
1368
+ "kind": "field",
1369
+ "name": "rowData",
1370
+ "readonly": true
1371
+ },
1372
+ {
1373
+ "kind": "method",
1374
+ "name": "getLabel",
1375
+ "parameters": [
1376
+ {
1377
+ "name": "name",
1378
+ "type": {
1379
+ "text": "string | ((rowData: any) => string)"
1380
+ }
1381
+ }
1382
+ ]
1383
+ },
1384
+ {
1385
+ "kind": "method",
1386
+ "name": "getTemplate",
1387
+ "parameters": [
1388
+ {
1389
+ "name": "prefix",
1390
+ "type": {
1391
+ "text": "string"
1392
+ }
1393
+ }
1394
+ ]
1395
+ },
1396
+ {
1397
+ "kind": "field",
1398
+ "name": "_presentation",
1399
+ "type": {
1400
+ "text": "ComponentPresentation | null | undefined"
1401
+ },
1402
+ "privacy": "private",
1403
+ "default": "void 0",
1404
+ "inheritedFrom": {
1140
1405
  "name": "FoundationElement",
1141
1406
  "module": "src/foundation-element/foundation-element.ts"
1142
1407
  }
1143
- }
1144
- ],
1145
- "events": [
1408
+ },
1146
1409
  {
1147
- "description": "Fires a custom 'change' event when the button is invoked",
1148
- "name": "change",
1410
+ "kind": "field",
1411
+ "name": "$presentation",
1412
+ "type": {
1413
+ "text": "ComponentPresentation | null"
1414
+ },
1415
+ "privacy": "public",
1416
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1149
1417
  "inheritedFrom": {
1150
- "name": "AccordionItem",
1151
- "module": "src/accordion-item/accordion-item.ts"
1418
+ "name": "FoundationElement",
1419
+ "module": "src/foundation-element/foundation-element.ts"
1152
1420
  }
1153
- }
1154
- ]
1155
- },
1156
- {
1157
- "kind": "variable",
1158
- "name": "foundationAccordionItemShadowOptions",
1159
- "type": {
1160
- "text": "ShadowRootInit"
1161
- },
1162
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1163
- },
1164
- {
1165
- "kind": "variable",
1166
- "name": "defaultAccordionItemConfig",
1167
- "type": {
1168
- "text": "object"
1169
- },
1170
- "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}"
1171
- },
1172
- {
1173
- "kind": "variable",
1174
- "name": "foundationAccordionItem",
1175
- "description": "The Foundation Accordion Item",
1176
- "privacy": "public"
1177
- }
1178
- ],
1179
- "exports": [
1180
- {
1181
- "kind": "js",
1182
- "name": "AccordionItem",
1183
- "declaration": {
1184
- "name": "AccordionItem",
1185
- "module": "src/accordion-item/accordion-item.ts"
1186
- }
1187
- },
1188
- {
1189
- "kind": "js",
1190
- "name": "foundationAccordionItemShadowOptions",
1191
- "declaration": {
1192
- "name": "foundationAccordionItemShadowOptions",
1193
- "module": "src/accordion-item/accordion-item.ts"
1194
- }
1195
- },
1196
- {
1197
- "kind": "js",
1198
- "name": "defaultAccordionItemConfig",
1199
- "declaration": {
1200
- "name": "defaultAccordionItemConfig",
1201
- "module": "src/accordion-item/accordion-item.ts"
1202
- }
1203
- },
1204
- {
1205
- "kind": "js",
1206
- "name": "foundationAccordionItem",
1207
- "declaration": {
1208
- "name": "foundationAccordionItem",
1209
- "module": "src/accordion-item/accordion-item.ts"
1210
- }
1211
- }
1212
- ]
1213
- },
1214
- {
1215
- "kind": "javascript-module",
1216
- "path": "src/accordion-item/index.ts",
1217
- "declarations": [],
1218
- "exports": [
1219
- {
1220
- "kind": "js",
1221
- "name": "*",
1222
- "declaration": {
1223
- "name": "*",
1224
- "package": "./accordion-item.template"
1225
- }
1226
- },
1227
- {
1228
- "kind": "js",
1229
- "name": "*",
1230
- "declaration": {
1231
- "name": "*",
1232
- "package": "./accordion-item.styles"
1233
- }
1234
- },
1235
- {
1236
- "kind": "js",
1237
- "name": "*",
1238
- "declaration": {
1239
- "name": "*",
1240
- "package": "./accordion-item"
1241
- }
1242
- }
1243
- ]
1244
- },
1245
- {
1246
- "kind": "javascript-module",
1247
- "path": "src/accordion/accordion.styles.ts",
1248
- "declarations": [
1249
- {
1250
- "kind": "function",
1251
- "name": "foundationAccordionStyles",
1252
- "return": {
1253
- "type": {
1254
- "text": "ElementStyles"
1255
- }
1256
- },
1257
- "parameters": [
1421
+ },
1258
1422
  {
1259
- "name": "context",
1423
+ "kind": "field",
1424
+ "name": "template",
1260
1425
  "type": {
1261
- "text": "ElementDefinitionContext"
1426
+ "text": "ElementViewTemplate | void | null"
1427
+ },
1428
+ "privacy": "public",
1429
+ "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.",
1430
+ "inheritedFrom": {
1431
+ "name": "FoundationElement",
1432
+ "module": "src/foundation-element/foundation-element.ts"
1262
1433
  }
1263
1434
  },
1264
1435
  {
1265
- "name": "definition",
1436
+ "kind": "method",
1437
+ "name": "templateChanged",
1438
+ "privacy": "protected",
1439
+ "return": {
1440
+ "type": {
1441
+ "text": "void"
1442
+ }
1443
+ },
1444
+ "inheritedFrom": {
1445
+ "name": "FoundationElement",
1446
+ "module": "src/foundation-element/foundation-element.ts"
1447
+ }
1448
+ },
1449
+ {
1450
+ "kind": "field",
1451
+ "name": "styles",
1266
1452
  "type": {
1267
- "text": "FoundationElementDefinition"
1453
+ "text": "ElementStyles | void | null"
1454
+ },
1455
+ "privacy": "public",
1456
+ "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.",
1457
+ "inheritedFrom": {
1458
+ "name": "FoundationElement",
1459
+ "module": "src/foundation-element/foundation-element.ts"
1460
+ }
1461
+ },
1462
+ {
1463
+ "kind": "method",
1464
+ "name": "stylesChanged",
1465
+ "privacy": "protected",
1466
+ "return": {
1467
+ "type": {
1468
+ "text": "void"
1469
+ }
1470
+ },
1471
+ "inheritedFrom": {
1472
+ "name": "FoundationElement",
1473
+ "module": "src/foundation-element/foundation-element.ts"
1474
+ }
1475
+ },
1476
+ {
1477
+ "kind": "method",
1478
+ "name": "compose",
1479
+ "privacy": "public",
1480
+ "static": true,
1481
+ "return": {
1482
+ "type": {
1483
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1484
+ }
1485
+ },
1486
+ "parameters": [
1487
+ {
1488
+ "name": "this",
1489
+ "type": {
1490
+ "text": "K"
1491
+ }
1492
+ },
1493
+ {
1494
+ "name": "elementDefinition",
1495
+ "type": {
1496
+ "text": "T"
1497
+ },
1498
+ "description": "The definition of the element to create the registry\nfunction for."
1499
+ }
1500
+ ],
1501
+ "description": "Defines an element registry function with a set of element definition defaults.",
1502
+ "inheritedFrom": {
1503
+ "name": "FoundationElement",
1504
+ "module": "src/foundation-element/foundation-element.ts"
1268
1505
  }
1269
1506
  }
1270
- ]
1271
- }
1272
- ],
1273
- "exports": [
1274
- {
1275
- "kind": "js",
1276
- "name": "foundationAccordionStyles",
1277
- "declaration": {
1278
- "name": "foundationAccordionStyles",
1279
- "module": "src/accordion/accordion.styles.ts"
1280
- }
1281
- }
1282
- ]
1283
- },
1284
- {
1285
- "kind": "javascript-module",
1286
- "path": "src/accordion/accordion.template.ts",
1287
- "declarations": [
1288
- {
1289
- "kind": "function",
1290
- "name": "foundationAccordionTemplate",
1291
- "return": {
1292
- "type": {
1293
- "text": "ViewTemplate<Accordion>"
1294
- }
1295
- },
1296
- "parameters": [
1507
+ ],
1508
+ "attributes": [
1297
1509
  {
1298
- "name": "context",
1510
+ "name": "is-vertical",
1299
1511
  "type": {
1300
- "text": "ElementDefinitionContext"
1301
- }
1512
+ "text": "boolean"
1513
+ },
1514
+ "default": "false",
1515
+ "fieldName": "isVertical"
1302
1516
  },
1303
1517
  {
1304
- "name": "definition",
1518
+ "name": "add-default-actions",
1305
1519
  "type": {
1306
- "text": "FoundationElementDefinition"
1307
- }
1520
+ "text": "boolean"
1521
+ },
1522
+ "default": "true",
1523
+ "fieldName": "addDefaultActions"
1524
+ },
1525
+ {
1526
+ "name": "auto-close-on-action",
1527
+ "type": {
1528
+ "text": "boolean"
1529
+ },
1530
+ "default": "true",
1531
+ "fieldName": "autoCloseOnAction"
1532
+ },
1533
+ {
1534
+ "name": "name",
1535
+ "type": {
1536
+ "text": "string"
1537
+ },
1538
+ "default": "'Actions'",
1539
+ "fieldName": "name"
1540
+ },
1541
+ {
1542
+ "name": "open",
1543
+ "type": {
1544
+ "text": "boolean"
1545
+ },
1546
+ "default": "false",
1547
+ "fieldName": "open"
1548
+ },
1549
+ {
1550
+ "name": "buttonAppearance",
1551
+ "type": {
1552
+ "text": "string"
1553
+ },
1554
+ "fieldName": "buttonAppearance"
1555
+ },
1556
+ {
1557
+ "name": "hide-disabled",
1558
+ "type": {
1559
+ "text": "boolean"
1560
+ },
1561
+ "default": "false",
1562
+ "fieldName": "hideDisabled"
1563
+ },
1564
+ {
1565
+ "name": "hide-menu-single-option",
1566
+ "type": {
1567
+ "text": "boolean"
1568
+ },
1569
+ "default": "false",
1570
+ "fieldName": "hideMenuSingleOption"
1308
1571
  }
1309
- ]
1310
- }
1311
- ],
1312
- "exports": [
1313
- {
1314
- "kind": "js",
1315
- "name": "foundationAccordionTemplate",
1316
- "declaration": {
1317
- "name": "foundationAccordionTemplate",
1318
- "module": "src/accordion/accordion.template.ts"
1319
- }
1320
- }
1321
- ]
1322
- },
1323
- {
1324
- "kind": "javascript-module",
1325
- "path": "src/accordion/accordion.ts",
1326
- "declarations": [
1327
- {
1328
- "kind": "class",
1329
- "description": "",
1330
- "name": "Accordion",
1572
+ ],
1331
1573
  "superclass": {
1332
- "name": "FASTAccordion",
1574
+ "name": "FoundationElement",
1333
1575
  "package": "@microsoft/fast-foundation"
1334
1576
  },
1335
- "tagName": "%%prefix%%-accordion",
1577
+ "tagName": "%%prefix%%-actions-menu",
1336
1578
  "customElement": true
1337
1579
  },
1338
1580
  {
1339
1581
  "kind": "variable",
1340
- "name": "foundationAccordionShadowOptions",
1341
- "type": {
1342
- "text": "ShadowRootInit"
1343
- },
1344
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1345
- },
1346
- {
1347
- "kind": "variable",
1348
- "name": "defaultAccordionConfig",
1349
- "type": {
1350
- "text": "object"
1351
- },
1352
- "default": "{}"
1353
- },
1354
- {
1355
- "kind": "variable",
1356
- "name": "foundationAccordion",
1357
- "description": "The Foundation Accordion",
1358
- "privacy": "public"
1359
- }
1360
- ],
1361
- "exports": [
1362
- {
1363
- "kind": "js",
1364
- "name": "Accordion",
1365
- "declaration": {
1366
- "name": "Accordion",
1367
- "module": "src/accordion/accordion.ts"
1368
- }
1369
- },
1370
- {
1371
- "kind": "js",
1372
- "name": "foundationAccordionShadowOptions",
1373
- "declaration": {
1374
- "name": "foundationAccordionShadowOptions",
1375
- "module": "src/accordion/accordion.ts"
1376
- }
1377
- },
1582
+ "name": "foundationActionsMenu",
1583
+ "description": "The Foundation Actions Menu",
1584
+ "privacy": "public"
1585
+ }
1586
+ ],
1587
+ "exports": [
1378
1588
  {
1379
1589
  "kind": "js",
1380
- "name": "defaultAccordionConfig",
1590
+ "name": "ActionsMenu",
1381
1591
  "declaration": {
1382
- "name": "defaultAccordionConfig",
1383
- "module": "src/accordion/accordion.ts"
1592
+ "name": "ActionsMenu",
1593
+ "module": "src/actions-menu/actions-menu.ts"
1384
1594
  }
1385
1595
  },
1386
1596
  {
1387
1597
  "kind": "js",
1388
- "name": "foundationAccordion",
1598
+ "name": "foundationActionsMenu",
1389
1599
  "declaration": {
1390
- "name": "foundationAccordion",
1391
- "module": "src/accordion/accordion.ts"
1600
+ "name": "foundationActionsMenu",
1601
+ "module": "src/actions-menu/actions-menu.ts"
1392
1602
  }
1393
1603
  }
1394
1604
  ]
1395
1605
  },
1396
1606
  {
1397
1607
  "kind": "javascript-module",
1398
- "path": "src/accordion/index.ts",
1608
+ "path": "src/actions-menu/index.ts",
1399
1609
  "declarations": [],
1400
1610
  "exports": [
1401
1611
  {
@@ -1403,7 +1613,7 @@
1403
1613
  "name": "*",
1404
1614
  "declaration": {
1405
1615
  "name": "*",
1406
- "package": "./accordion.template"
1616
+ "package": "./actions-menu.styles"
1407
1617
  }
1408
1618
  },
1409
1619
  {
@@ -1411,7 +1621,7 @@
1411
1621
  "name": "*",
1412
1622
  "declaration": {
1413
1623
  "name": "*",
1414
- "package": "./accordion.styles"
1624
+ "package": "./actions-menu.template"
1415
1625
  }
1416
1626
  },
1417
1627
  {
@@ -1419,86 +1629,18 @@
1419
1629
  "name": "*",
1420
1630
  "declaration": {
1421
1631
  "name": "*",
1422
- "package": "./accordion"
1423
- }
1424
- }
1425
- ]
1426
- },
1427
- {
1428
- "kind": "javascript-module",
1429
- "path": "src/_common/icons.ts",
1430
- "declarations": [
1431
- {
1432
- "kind": "function",
1433
- "name": "closeIcon",
1434
- "parameters": [
1435
- {
1436
- "name": "slot",
1437
- "default": "'start'"
1438
- },
1439
- {
1440
- "name": "fill",
1441
- "default": "'#879ba6'"
1442
- }
1443
- ]
1444
- }
1445
- ],
1446
- "exports": [
1447
- {
1448
- "kind": "js",
1449
- "name": "closeIcon",
1450
- "declaration": {
1451
- "name": "closeIcon",
1452
- "module": "src/_common/icons.ts"
1453
- }
1454
- }
1455
- ]
1456
- },
1457
- {
1458
- "kind": "javascript-module",
1459
- "path": "src/_common/index.ts",
1460
- "declarations": [],
1461
- "exports": [
1462
- {
1463
- "kind": "js",
1464
- "name": "*",
1465
- "declaration": {
1466
- "name": "*",
1467
- "package": "./icons"
1632
+ "package": "./actions-menu"
1468
1633
  }
1469
1634
  }
1470
1635
  ]
1471
1636
  },
1472
1637
  {
1473
1638
  "kind": "javascript-module",
1474
- "path": "src/actions-menu/actions-menu.styles.ts",
1639
+ "path": "src/accordion-item/accordion-item.styles.ts",
1475
1640
  "declarations": [
1476
1641
  {
1477
1642
  "kind": "function",
1478
- "name": "actionsMenuBaseStyles",
1479
- "return": {
1480
- "type": {
1481
- "text": "ElementStyles"
1482
- }
1483
- },
1484
- "parameters": [
1485
- {
1486
- "name": "context",
1487
- "type": {
1488
- "text": "ElementDefinitionContext"
1489
- }
1490
- },
1491
- {
1492
- "name": "definition",
1493
- "type": {
1494
- "text": "FoundationElementDefinition"
1495
- }
1496
- }
1497
- ]
1498
- },
1499
- {
1500
- "kind": "function",
1501
- "name": "foundationActionsMenuStyles",
1643
+ "name": "foundationAccordionItemStyles",
1502
1644
  "return": {
1503
1645
  "type": {
1504
1646
  "text": "ElementStyles"
@@ -1523,269 +1665,156 @@
1523
1665
  "exports": [
1524
1666
  {
1525
1667
  "kind": "js",
1526
- "name": "actionsMenuBaseStyles",
1527
- "declaration": {
1528
- "name": "actionsMenuBaseStyles",
1529
- "module": "src/actions-menu/actions-menu.styles.ts"
1530
- }
1531
- },
1532
- {
1533
- "kind": "js",
1534
- "name": "foundationActionsMenuStyles",
1668
+ "name": "foundationAccordionItemStyles",
1535
1669
  "declaration": {
1536
- "name": "foundationActionsMenuStyles",
1537
- "module": "src/actions-menu/actions-menu.styles.ts"
1670
+ "name": "foundationAccordionItemStyles",
1671
+ "module": "src/accordion-item/accordion-item.styles.ts"
1538
1672
  }
1539
1673
  }
1540
1674
  ]
1541
1675
  },
1542
1676
  {
1543
1677
  "kind": "javascript-module",
1544
- "path": "src/actions-menu/actions-menu.template.ts",
1678
+ "path": "src/accordion-item/accordion-item.template.ts",
1545
1679
  "declarations": [
1546
1680
  {
1547
1681
  "kind": "function",
1548
- "name": "menuTemplate",
1682
+ "name": "foundationAccordionItemTemplate",
1683
+ "return": {
1684
+ "type": {
1685
+ "text": "ViewTemplate<AccordionItem>"
1686
+ }
1687
+ },
1549
1688
  "parameters": [
1550
1689
  {
1551
- "name": "prefix",
1690
+ "name": "context",
1552
1691
  "type": {
1553
- "text": "string"
1692
+ "text": "ElementDefinitionContext"
1554
1693
  }
1555
- }
1556
- ]
1557
- },
1558
- {
1559
- "kind": "function",
1560
- "name": "singleOptionTemplate",
1561
- "parameters": [
1694
+ },
1562
1695
  {
1563
- "name": "prefix",
1696
+ "name": "definition",
1564
1697
  "type": {
1565
- "text": "string"
1698
+ "text": "FoundationElementDefinition"
1566
1699
  }
1567
1700
  }
1568
1701
  ]
1569
- },
1570
- {
1571
- "kind": "variable",
1572
- "name": "foundationActionsMenuTemplate",
1573
- "type": {
1574
- "text": "ViewTemplate<ActionsMenu>"
1575
- },
1576
- "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`"
1577
1702
  }
1578
1703
  ],
1579
1704
  "exports": [
1580
1705
  {
1581
1706
  "kind": "js",
1582
- "name": "menuTemplate",
1583
- "declaration": {
1584
- "name": "menuTemplate",
1585
- "module": "src/actions-menu/actions-menu.template.ts"
1586
- }
1587
- },
1588
- {
1589
- "kind": "js",
1590
- "name": "singleOptionTemplate",
1591
- "declaration": {
1592
- "name": "singleOptionTemplate",
1593
- "module": "src/actions-menu/actions-menu.template.ts"
1594
- }
1595
- },
1596
- {
1597
- "kind": "js",
1598
- "name": "foundationActionsMenuTemplate",
1707
+ "name": "foundationAccordionItemTemplate",
1599
1708
  "declaration": {
1600
- "name": "foundationActionsMenuTemplate",
1601
- "module": "src/actions-menu/actions-menu.template.ts"
1709
+ "name": "foundationAccordionItemTemplate",
1710
+ "module": "src/accordion-item/accordion-item.template.ts"
1602
1711
  }
1603
1712
  }
1604
1713
  ]
1605
1714
  },
1606
1715
  {
1607
1716
  "kind": "javascript-module",
1608
- "path": "src/actions-menu/actions-menu.ts",
1717
+ "path": "src/accordion-item/accordion-item.ts",
1609
1718
  "declarations": [
1610
1719
  {
1611
1720
  "kind": "class",
1612
1721
  "description": "",
1613
- "name": "ActionsMenu",
1614
- "members": [
1615
- {
1616
- "kind": "field",
1617
- "name": "actions",
1618
- "type": {
1619
- "text": "ActionMenuItem[]"
1620
- }
1621
- },
1622
- {
1623
- "kind": "field",
1624
- "name": "isVertical",
1625
- "type": {
1626
- "text": "boolean"
1627
- },
1628
- "default": "false"
1629
- },
1630
- {
1631
- "kind": "field",
1632
- "name": "addDefaultActions",
1633
- "type": {
1634
- "text": "boolean"
1635
- },
1636
- "default": "true"
1637
- },
1638
- {
1639
- "kind": "field",
1640
- "name": "autoCloseOnAction",
1641
- "type": {
1642
- "text": "boolean"
1643
- },
1644
- "default": "true"
1645
- },
1646
- {
1647
- "kind": "field",
1648
- "name": "classNames",
1649
- "type": {
1650
- "text": "string"
1651
- }
1652
- },
1653
- {
1654
- "kind": "field",
1655
- "name": "definition",
1656
- "type": {
1657
- "text": "any"
1658
- }
1659
- },
1660
- {
1661
- "kind": "field",
1662
- "name": "name",
1663
- "type": {
1664
- "text": "string"
1665
- },
1666
- "default": "'Actions'"
1667
- },
1722
+ "name": "AccordionItem",
1723
+ "superclass": {
1724
+ "name": "FASTAccordionItem",
1725
+ "package": "@microsoft/fast-components"
1726
+ },
1727
+ "tagName": "%%prefix%%-accordion-item",
1728
+ "customElement": true,
1729
+ "attributes": [
1668
1730
  {
1669
- "kind": "field",
1670
- "name": "open",
1731
+ "name": "heading-level",
1671
1732
  "type": {
1672
- "text": "boolean"
1733
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1673
1734
  },
1674
- "default": "false"
1675
- },
1676
- {
1677
- "kind": "field",
1678
- "name": "buttonAppearance",
1679
- "type": {
1680
- "text": "string"
1735
+ "default": "2",
1736
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1737
+ "fieldName": "headinglevel",
1738
+ "inheritedFrom": {
1739
+ "name": "AccordionItem",
1740
+ "module": "src/accordion-item/accordion-item.ts"
1681
1741
  }
1682
1742
  },
1683
1743
  {
1684
- "kind": "field",
1685
- "name": "hideDisabled",
1686
1744
  "type": {
1687
1745
  "text": "boolean"
1688
1746
  },
1689
- "default": "false"
1747
+ "default": "false",
1748
+ "description": "Expands or collapses the item.",
1749
+ "fieldName": "expanded",
1750
+ "inheritedFrom": {
1751
+ "name": "AccordionItem",
1752
+ "module": "src/accordion-item/accordion-item.ts"
1753
+ }
1690
1754
  },
1691
1755
  {
1692
- "kind": "field",
1693
- "name": "hideMenuSingleOption",
1756
+ "name": "id",
1694
1757
  "type": {
1695
- "text": "boolean"
1758
+ "text": "string"
1696
1759
  },
1697
- "default": "false"
1698
- },
1760
+ "description": "The item ID",
1761
+ "fieldName": "id",
1762
+ "inheritedFrom": {
1763
+ "name": "AccordionItem",
1764
+ "module": "src/accordion-item/accordion-item.ts"
1765
+ }
1766
+ }
1767
+ ],
1768
+ "members": [
1699
1769
  {
1700
1770
  "kind": "field",
1701
- "name": "singleOption",
1771
+ "name": "headinglevel",
1702
1772
  "type": {
1703
- "text": "ActionMenuItem"
1773
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1774
+ },
1775
+ "privacy": "public",
1776
+ "default": "2",
1777
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1778
+ "inheritedFrom": {
1779
+ "name": "AccordionItem",
1780
+ "module": "src/accordion-item/accordion-item.ts"
1704
1781
  }
1705
1782
  },
1706
1783
  {
1707
1784
  "kind": "field",
1708
- "name": "actionsMenu",
1785
+ "name": "expanded",
1709
1786
  "type": {
1710
- "text": "HTMLElement"
1787
+ "text": "boolean"
1788
+ },
1789
+ "privacy": "public",
1790
+ "default": "false",
1791
+ "description": "Expands or collapses the item.",
1792
+ "inheritedFrom": {
1793
+ "name": "AccordionItem",
1794
+ "module": "src/accordion-item/accordion-item.ts"
1711
1795
  }
1712
1796
  },
1713
- {
1714
- "kind": "method",
1715
- "name": "definitionChanged",
1716
- "privacy": "protected",
1717
- "parameters": [
1718
- {
1719
- "name": "oldValue",
1720
- "type": {
1721
- "text": "any"
1722
- }
1723
- },
1724
- {
1725
- "name": "newValue",
1726
- "type": {
1727
- "text": "any"
1728
- }
1729
- }
1730
- ]
1731
- },
1732
- {
1733
- "kind": "method",
1734
- "name": "openChanged",
1735
- "privacy": "protected"
1736
- },
1737
- {
1738
- "kind": "method",
1739
- "name": "toggleActionsMenuVisibility"
1740
- },
1741
- {
1742
- "kind": "method",
1743
- "name": "onActionMenuItemClick",
1744
- "parameters": [
1745
- {
1746
- "name": "callback",
1747
- "type": {
1748
- "text": "(rowData) => void | any"
1749
- }
1750
- }
1751
- ]
1752
- },
1753
1797
  {
1754
1798
  "kind": "field",
1755
- "name": "allActions",
1799
+ "name": "id",
1756
1800
  "type": {
1757
- "text": "ActionMenuItem[]"
1801
+ "text": "string"
1758
1802
  },
1759
- "readonly": true
1803
+ "privacy": "public",
1804
+ "description": "The item ID",
1805
+ "inheritedFrom": {
1806
+ "name": "AccordionItem",
1807
+ "module": "src/accordion-item/accordion-item.ts"
1808
+ }
1760
1809
  },
1761
1810
  {
1762
1811
  "kind": "field",
1763
- "name": "rowData",
1764
- "readonly": true
1765
- },
1766
- {
1767
- "kind": "method",
1768
- "name": "getLabel",
1769
- "parameters": [
1770
- {
1771
- "name": "name",
1772
- "type": {
1773
- "text": "string | ((rowData: any) => string)"
1774
- }
1775
- }
1776
- ]
1777
- },
1778
- {
1779
- "kind": "method",
1780
- "name": "getTemplate",
1781
- "parameters": [
1782
- {
1783
- "name": "prefix",
1784
- "type": {
1785
- "text": "string"
1786
- }
1787
- }
1788
- ]
1812
+ "name": "change",
1813
+ "privacy": "private",
1814
+ "inheritedFrom": {
1815
+ "name": "AccordionItem",
1816
+ "module": "src/accordion-item/accordion-item.ts"
1817
+ }
1789
1818
  },
1790
1819
  {
1791
1820
  "kind": "field",
@@ -1899,107 +1928,78 @@
1899
1928
  }
1900
1929
  }
1901
1930
  ],
1902
- "attributes": [
1903
- {
1904
- "name": "is-vertical",
1905
- "type": {
1906
- "text": "boolean"
1907
- },
1908
- "default": "false",
1909
- "fieldName": "isVertical"
1910
- },
1911
- {
1912
- "name": "add-default-actions",
1913
- "type": {
1914
- "text": "boolean"
1915
- },
1916
- "default": "true",
1917
- "fieldName": "addDefaultActions"
1918
- },
1919
- {
1920
- "name": "auto-close-on-action",
1921
- "type": {
1922
- "text": "boolean"
1923
- },
1924
- "default": "true",
1925
- "fieldName": "autoCloseOnAction"
1926
- },
1927
- {
1928
- "name": "name",
1929
- "type": {
1930
- "text": "string"
1931
- },
1932
- "default": "'Actions'",
1933
- "fieldName": "name"
1934
- },
1935
- {
1936
- "name": "open",
1937
- "type": {
1938
- "text": "boolean"
1939
- },
1940
- "default": "false",
1941
- "fieldName": "open"
1942
- },
1943
- {
1944
- "name": "buttonAppearance",
1945
- "type": {
1946
- "text": "string"
1947
- },
1948
- "fieldName": "buttonAppearance"
1949
- },
1950
- {
1951
- "name": "hide-disabled",
1952
- "type": {
1953
- "text": "boolean"
1954
- },
1955
- "default": "false",
1956
- "fieldName": "hideDisabled"
1957
- },
1931
+ "events": [
1958
1932
  {
1959
- "name": "hide-menu-single-option",
1960
- "type": {
1961
- "text": "boolean"
1962
- },
1963
- "default": "false",
1964
- "fieldName": "hideMenuSingleOption"
1933
+ "description": "Fires a custom 'change' event when the button is invoked",
1934
+ "name": "change",
1935
+ "inheritedFrom": {
1936
+ "name": "AccordionItem",
1937
+ "module": "src/accordion-item/accordion-item.ts"
1938
+ }
1965
1939
  }
1966
- ],
1967
- "superclass": {
1968
- "name": "FoundationElement",
1969
- "package": "@microsoft/fast-foundation"
1940
+ ]
1941
+ },
1942
+ {
1943
+ "kind": "variable",
1944
+ "name": "foundationAccordionItemShadowOptions",
1945
+ "type": {
1946
+ "text": "ShadowRootInit"
1970
1947
  },
1971
- "tagName": "%%prefix%%-actions-menu",
1972
- "customElement": true
1948
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1973
1949
  },
1974
1950
  {
1975
1951
  "kind": "variable",
1976
- "name": "foundationActionsMenu",
1977
- "description": "The Foundation Actions Menu",
1952
+ "name": "defaultAccordionItemConfig",
1953
+ "type": {
1954
+ "text": "object"
1955
+ },
1956
+ "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}"
1957
+ },
1958
+ {
1959
+ "kind": "variable",
1960
+ "name": "foundationAccordionItem",
1961
+ "description": "The Foundation Accordion Item",
1978
1962
  "privacy": "public"
1979
1963
  }
1980
1964
  ],
1981
1965
  "exports": [
1982
1966
  {
1983
1967
  "kind": "js",
1984
- "name": "ActionsMenu",
1968
+ "name": "AccordionItem",
1985
1969
  "declaration": {
1986
- "name": "ActionsMenu",
1987
- "module": "src/actions-menu/actions-menu.ts"
1970
+ "name": "AccordionItem",
1971
+ "module": "src/accordion-item/accordion-item.ts"
1988
1972
  }
1989
1973
  },
1990
1974
  {
1991
1975
  "kind": "js",
1992
- "name": "foundationActionsMenu",
1976
+ "name": "foundationAccordionItemShadowOptions",
1993
1977
  "declaration": {
1994
- "name": "foundationActionsMenu",
1995
- "module": "src/actions-menu/actions-menu.ts"
1978
+ "name": "foundationAccordionItemShadowOptions",
1979
+ "module": "src/accordion-item/accordion-item.ts"
1980
+ }
1981
+ },
1982
+ {
1983
+ "kind": "js",
1984
+ "name": "defaultAccordionItemConfig",
1985
+ "declaration": {
1986
+ "name": "defaultAccordionItemConfig",
1987
+ "module": "src/accordion-item/accordion-item.ts"
1988
+ }
1989
+ },
1990
+ {
1991
+ "kind": "js",
1992
+ "name": "foundationAccordionItem",
1993
+ "declaration": {
1994
+ "name": "foundationAccordionItem",
1995
+ "module": "src/accordion-item/accordion-item.ts"
1996
1996
  }
1997
1997
  }
1998
1998
  ]
1999
1999
  },
2000
2000
  {
2001
2001
  "kind": "javascript-module",
2002
- "path": "src/actions-menu/index.ts",
2002
+ "path": "src/accordion-item/index.ts",
2003
2003
  "declarations": [],
2004
2004
  "exports": [
2005
2005
  {
@@ -2007,7 +2007,7 @@
2007
2007
  "name": "*",
2008
2008
  "declaration": {
2009
2009
  "name": "*",
2010
- "package": "./actions-menu.styles"
2010
+ "package": "./accordion-item.template"
2011
2011
  }
2012
2012
  },
2013
2013
  {
@@ -2015,7 +2015,7 @@
2015
2015
  "name": "*",
2016
2016
  "declaration": {
2017
2017
  "name": "*",
2018
- "package": "./actions-menu.template"
2018
+ "package": "./accordion-item.styles"
2019
2019
  }
2020
2020
  },
2021
2021
  {
@@ -2023,7 +2023,7 @@
2023
2023
  "name": "*",
2024
2024
  "declaration": {
2025
2025
  "name": "*",
2026
- "package": "./actions-menu"
2026
+ "package": "./accordion-item"
2027
2027
  }
2028
2028
  }
2029
2029
  ]