@genesislcap/foundation-ui 14.211.2 → 14.211.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1081 -1081
  2. package/package.json +16 -16
@@ -819,79 +819,42 @@
819
819
  },
820
820
  {
821
821
  "kind": "javascript-module",
822
- "path": "src/_common/icons.ts",
823
- "declarations": [
824
- {
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
- ],
822
+ "path": "src/_config/index.ts",
823
+ "declarations": [],
839
824
  "exports": [
840
825
  {
841
826
  "kind": "js",
842
- "name": "closeIcon",
827
+ "name": "*",
843
828
  "declaration": {
844
- "name": "closeIcon",
845
- "module": "src/_common/icons.ts"
829
+ "name": "*",
830
+ "package": "./styles"
846
831
  }
847
- }
848
- ]
849
- },
850
- {
851
- "kind": "javascript-module",
852
- "path": "src/_common/index.ts",
853
- "declarations": [],
854
- "exports": [
832
+ },
855
833
  {
856
834
  "kind": "js",
857
835
  "name": "*",
858
836
  "declaration": {
859
837
  "name": "*",
860
- "package": "./icons"
838
+ "package": "./tokens"
839
+ }
840
+ },
841
+ {
842
+ "kind": "js",
843
+ "name": "*",
844
+ "declaration": {
845
+ "name": "*",
846
+ "package": "./values"
861
847
  }
862
848
  }
863
849
  ]
864
850
  },
865
851
  {
866
852
  "kind": "javascript-module",
867
- "path": "src/actions-menu/actions-menu.styles.ts",
853
+ "path": "src/accordion-item/accordion-item.styles.ts",
868
854
  "declarations": [
869
855
  {
870
856
  "kind": "function",
871
- "name": "actionsMenuBaseStyles",
872
- "return": {
873
- "type": {
874
- "text": "ElementStyles"
875
- }
876
- },
877
- "parameters": [
878
- {
879
- "name": "context",
880
- "type": {
881
- "text": "ElementDefinitionContext"
882
- }
883
- },
884
- {
885
- "name": "definition",
886
- "type": {
887
- "text": "FoundationElementDefinition"
888
- }
889
- }
890
- ]
891
- },
892
- {
893
- "kind": "function",
894
- "name": "foundationActionsMenuStyles",
857
+ "name": "foundationAccordionItemStyles",
895
858
  "return": {
896
859
  "type": {
897
860
  "text": "ElementStyles"
@@ -916,299 +879,186 @@
916
879
  "exports": [
917
880
  {
918
881
  "kind": "js",
919
- "name": "actionsMenuBaseStyles",
920
- "declaration": {
921
- "name": "actionsMenuBaseStyles",
922
- "module": "src/actions-menu/actions-menu.styles.ts"
923
- }
924
- },
925
- {
926
- "kind": "js",
927
- "name": "foundationActionsMenuStyles",
882
+ "name": "foundationAccordionItemStyles",
928
883
  "declaration": {
929
- "name": "foundationActionsMenuStyles",
930
- "module": "src/actions-menu/actions-menu.styles.ts"
884
+ "name": "foundationAccordionItemStyles",
885
+ "module": "src/accordion-item/accordion-item.styles.ts"
931
886
  }
932
887
  }
933
888
  ]
934
889
  },
935
890
  {
936
891
  "kind": "javascript-module",
937
- "path": "src/actions-menu/actions-menu.template.ts",
892
+ "path": "src/accordion-item/accordion-item.template.ts",
938
893
  "declarations": [
939
894
  {
940
895
  "kind": "function",
941
- "name": "menuTemplate",
896
+ "name": "foundationAccordionItemTemplate",
897
+ "return": {
898
+ "type": {
899
+ "text": "ViewTemplate<AccordionItem>"
900
+ }
901
+ },
942
902
  "parameters": [
943
903
  {
944
- "name": "prefix",
904
+ "name": "context",
945
905
  "type": {
946
- "text": "string"
906
+ "text": "ElementDefinitionContext"
947
907
  }
948
- }
949
- ]
950
- },
951
- {
952
- "kind": "function",
953
- "name": "singleOptionTemplate",
954
- "parameters": [
908
+ },
955
909
  {
956
- "name": "prefix",
910
+ "name": "definition",
957
911
  "type": {
958
- "text": "string"
912
+ "text": "FoundationElementDefinition"
959
913
  }
960
914
  }
961
915
  ]
962
- },
963
- {
964
- "kind": "variable",
965
- "name": "foundationActionsMenuTemplate",
966
- "type": {
967
- "text": "ViewTemplate<ActionsMenu>"
968
- },
969
- "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`"
970
916
  }
971
917
  ],
972
918
  "exports": [
973
919
  {
974
920
  "kind": "js",
975
- "name": "menuTemplate",
976
- "declaration": {
977
- "name": "menuTemplate",
978
- "module": "src/actions-menu/actions-menu.template.ts"
979
- }
980
- },
981
- {
982
- "kind": "js",
983
- "name": "singleOptionTemplate",
984
- "declaration": {
985
- "name": "singleOptionTemplate",
986
- "module": "src/actions-menu/actions-menu.template.ts"
987
- }
988
- },
989
- {
990
- "kind": "js",
991
- "name": "foundationActionsMenuTemplate",
921
+ "name": "foundationAccordionItemTemplate",
992
922
  "declaration": {
993
- "name": "foundationActionsMenuTemplate",
994
- "module": "src/actions-menu/actions-menu.template.ts"
923
+ "name": "foundationAccordionItemTemplate",
924
+ "module": "src/accordion-item/accordion-item.template.ts"
995
925
  }
996
926
  }
997
927
  ]
998
928
  },
999
929
  {
1000
930
  "kind": "javascript-module",
1001
- "path": "src/actions-menu/actions-menu.ts",
931
+ "path": "src/accordion-item/accordion-item.ts",
1002
932
  "declarations": [
1003
933
  {
1004
934
  "kind": "class",
1005
935
  "description": "",
1006
- "name": "ActionsMenu",
1007
- "members": [
936
+ "name": "AccordionItem",
937
+ "superclass": {
938
+ "name": "FASTAccordionItem",
939
+ "package": "@microsoft/fast-components"
940
+ },
941
+ "tagName": "%%prefix%%-accordion-item",
942
+ "customElement": true,
943
+ "attributes": [
1008
944
  {
1009
- "kind": "field",
1010
- "name": "actions",
945
+ "name": "heading-level",
1011
946
  "type": {
1012
- "text": "ActionMenuItem[]"
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"
1013
955
  }
1014
956
  },
1015
957
  {
1016
- "kind": "field",
1017
- "name": "isVertical",
1018
958
  "type": {
1019
959
  "text": "boolean"
1020
960
  },
1021
- "default": "false"
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"
967
+ }
1022
968
  },
969
+ {
970
+ "name": "id",
971
+ "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"
979
+ }
980
+ }
981
+ ],
982
+ "members": [
1023
983
  {
1024
984
  "kind": "field",
1025
- "name": "addDefaultActions",
985
+ "name": "headinglevel",
1026
986
  "type": {
1027
- "text": "boolean"
987
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1028
988
  },
1029
- "default": "true"
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"
995
+ }
1030
996
  },
1031
997
  {
1032
998
  "kind": "field",
1033
- "name": "autoCloseOnAction",
999
+ "name": "expanded",
1034
1000
  "type": {
1035
1001
  "text": "boolean"
1036
1002
  },
1037
- "default": "true"
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
+ }
1038
1010
  },
1039
1011
  {
1040
1012
  "kind": "field",
1041
- "name": "classNames",
1013
+ "name": "id",
1042
1014
  "type": {
1043
1015
  "text": "string"
1016
+ },
1017
+ "privacy": "public",
1018
+ "description": "The item ID",
1019
+ "inheritedFrom": {
1020
+ "name": "AccordionItem",
1021
+ "module": "src/accordion-item/accordion-item.ts"
1044
1022
  }
1045
1023
  },
1046
1024
  {
1047
1025
  "kind": "field",
1048
- "name": "definition",
1049
- "type": {
1050
- "text": "any"
1026
+ "name": "change",
1027
+ "privacy": "private",
1028
+ "inheritedFrom": {
1029
+ "name": "AccordionItem",
1030
+ "module": "src/accordion-item/accordion-item.ts"
1051
1031
  }
1052
1032
  },
1053
1033
  {
1054
1034
  "kind": "field",
1055
- "name": "name",
1035
+ "name": "_presentation",
1056
1036
  "type": {
1057
- "text": "string"
1037
+ "text": "ComponentPresentation | null | undefined"
1058
1038
  },
1059
- "default": "'Actions'"
1039
+ "privacy": "private",
1040
+ "default": "void 0",
1041
+ "inheritedFrom": {
1042
+ "name": "FoundationElement",
1043
+ "module": "src/foundation-element/foundation-element.ts"
1044
+ }
1060
1045
  },
1061
1046
  {
1062
1047
  "kind": "field",
1063
- "name": "open",
1048
+ "name": "$presentation",
1064
1049
  "type": {
1065
- "text": "boolean"
1050
+ "text": "ComponentPresentation | null"
1066
1051
  },
1067
- "default": "false"
1068
- },
1069
- {
1070
- "kind": "field",
1071
- "name": "buttonAppearance",
1072
- "type": {
1073
- "text": "string"
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"
1074
1057
  }
1075
1058
  },
1076
1059
  {
1077
1060
  "kind": "field",
1078
- "name": "hideDisabled",
1079
- "type": {
1080
- "text": "boolean"
1081
- },
1082
- "default": "false"
1083
- },
1084
- {
1085
- "kind": "field",
1086
- "name": "hideMenuSingleOption",
1087
- "type": {
1088
- "text": "boolean"
1089
- },
1090
- "default": "false"
1091
- },
1092
- {
1093
- "kind": "field",
1094
- "name": "singleOption",
1095
- "type": {
1096
- "text": "ActionMenuItem"
1097
- }
1098
- },
1099
- {
1100
- "kind": "field",
1101
- "name": "actionsMenu",
1102
- "type": {
1103
- "text": "HTMLElement"
1104
- }
1105
- },
1106
- {
1107
- "kind": "method",
1108
- "name": "definitionChanged",
1109
- "privacy": "protected",
1110
- "parameters": [
1111
- {
1112
- "name": "oldValue",
1113
- "type": {
1114
- "text": "any"
1115
- }
1116
- },
1117
- {
1118
- "name": "newValue",
1119
- "type": {
1120
- "text": "any"
1121
- }
1122
- }
1123
- ]
1124
- },
1125
- {
1126
- "kind": "method",
1127
- "name": "openChanged",
1128
- "privacy": "protected"
1129
- },
1130
- {
1131
- "kind": "method",
1132
- "name": "toggleActionsMenuVisibility"
1133
- },
1134
- {
1135
- "kind": "method",
1136
- "name": "onActionMenuItemClick",
1137
- "parameters": [
1138
- {
1139
- "name": "callback",
1140
- "type": {
1141
- "text": "(rowData) => void | any"
1142
- }
1143
- }
1144
- ]
1145
- },
1146
- {
1147
- "kind": "field",
1148
- "name": "allActions",
1149
- "type": {
1150
- "text": "ActionMenuItem[]"
1151
- },
1152
- "readonly": true
1153
- },
1154
- {
1155
- "kind": "field",
1156
- "name": "rowData",
1157
- "readonly": true
1158
- },
1159
- {
1160
- "kind": "method",
1161
- "name": "getLabel",
1162
- "parameters": [
1163
- {
1164
- "name": "name",
1165
- "type": {
1166
- "text": "string | ((rowData: any) => string)"
1167
- }
1168
- }
1169
- ]
1170
- },
1171
- {
1172
- "kind": "method",
1173
- "name": "getTemplate",
1174
- "parameters": [
1175
- {
1176
- "name": "prefix",
1177
- "type": {
1178
- "text": "string"
1179
- }
1180
- }
1181
- ]
1182
- },
1183
- {
1184
- "kind": "field",
1185
- "name": "_presentation",
1186
- "type": {
1187
- "text": "ComponentPresentation | null | undefined"
1188
- },
1189
- "privacy": "private",
1190
- "default": "void 0",
1191
- "inheritedFrom": {
1192
- "name": "FoundationElement",
1193
- "module": "src/foundation-element/foundation-element.ts"
1194
- }
1195
- },
1196
- {
1197
- "kind": "field",
1198
- "name": "$presentation",
1199
- "type": {
1200
- "text": "ComponentPresentation | null"
1201
- },
1202
- "privacy": "public",
1203
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1204
- "inheritedFrom": {
1205
- "name": "FoundationElement",
1206
- "module": "src/foundation-element/foundation-element.ts"
1207
- }
1208
- },
1209
- {
1210
- "kind": "field",
1211
- "name": "template",
1061
+ "name": "template",
1212
1062
  "type": {
1213
1063
  "text": "ElementViewTemplate | void | null"
1214
1064
  },
@@ -1292,138 +1142,78 @@
1292
1142
  }
1293
1143
  }
1294
1144
  ],
1295
- "attributes": [
1296
- {
1297
- "name": "is-vertical",
1298
- "type": {
1299
- "text": "boolean"
1300
- },
1301
- "default": "false",
1302
- "fieldName": "isVertical"
1303
- },
1304
- {
1305
- "name": "add-default-actions",
1306
- "type": {
1307
- "text": "boolean"
1308
- },
1309
- "default": "true",
1310
- "fieldName": "addDefaultActions"
1311
- },
1312
- {
1313
- "name": "auto-close-on-action",
1314
- "type": {
1315
- "text": "boolean"
1316
- },
1317
- "default": "true",
1318
- "fieldName": "autoCloseOnAction"
1319
- },
1320
- {
1321
- "name": "name",
1322
- "type": {
1323
- "text": "string"
1324
- },
1325
- "default": "'Actions'",
1326
- "fieldName": "name"
1327
- },
1328
- {
1329
- "name": "open",
1330
- "type": {
1331
- "text": "boolean"
1332
- },
1333
- "default": "false",
1334
- "fieldName": "open"
1335
- },
1336
- {
1337
- "name": "buttonAppearance",
1338
- "type": {
1339
- "text": "string"
1340
- },
1341
- "fieldName": "buttonAppearance"
1342
- },
1343
- {
1344
- "name": "hide-disabled",
1345
- "type": {
1346
- "text": "boolean"
1347
- },
1348
- "default": "false",
1349
- "fieldName": "hideDisabled"
1350
- },
1145
+ "events": [
1351
1146
  {
1352
- "name": "hide-menu-single-option",
1353
- "type": {
1354
- "text": "boolean"
1355
- },
1356
- "default": "false",
1357
- "fieldName": "hideMenuSingleOption"
1147
+ "description": "Fires a custom 'change' event when the button is invoked",
1148
+ "name": "change",
1149
+ "inheritedFrom": {
1150
+ "name": "AccordionItem",
1151
+ "module": "src/accordion-item/accordion-item.ts"
1152
+ }
1358
1153
  }
1359
- ],
1360
- "superclass": {
1361
- "name": "FoundationElement",
1362
- "package": "@microsoft/fast-foundation"
1154
+ ]
1155
+ },
1156
+ {
1157
+ "kind": "variable",
1158
+ "name": "foundationAccordionItemShadowOptions",
1159
+ "type": {
1160
+ "text": "ShadowRootInit"
1363
1161
  },
1364
- "tagName": "%%prefix%%-actions-menu",
1365
- "customElement": true
1162
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1366
1163
  },
1367
1164
  {
1368
1165
  "kind": "variable",
1369
- "name": "foundationActionsMenu",
1370
- "description": "The Foundation Actions Menu",
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",
1371
1176
  "privacy": "public"
1372
1177
  }
1373
1178
  ],
1374
1179
  "exports": [
1375
1180
  {
1376
1181
  "kind": "js",
1377
- "name": "ActionsMenu",
1182
+ "name": "AccordionItem",
1378
1183
  "declaration": {
1379
- "name": "ActionsMenu",
1380
- "module": "src/actions-menu/actions-menu.ts"
1184
+ "name": "AccordionItem",
1185
+ "module": "src/accordion-item/accordion-item.ts"
1381
1186
  }
1382
1187
  },
1383
1188
  {
1384
1189
  "kind": "js",
1385
- "name": "foundationActionsMenu",
1190
+ "name": "foundationAccordionItemShadowOptions",
1386
1191
  "declaration": {
1387
- "name": "foundationActionsMenu",
1388
- "module": "src/actions-menu/actions-menu.ts"
1192
+ "name": "foundationAccordionItemShadowOptions",
1193
+ "module": "src/accordion-item/accordion-item.ts"
1389
1194
  }
1390
- }
1391
- ]
1392
- },
1393
- {
1394
- "kind": "javascript-module",
1395
- "path": "src/actions-menu/index.ts",
1396
- "declarations": [],
1397
- "exports": [
1195
+ },
1398
1196
  {
1399
1197
  "kind": "js",
1400
- "name": "*",
1198
+ "name": "defaultAccordionItemConfig",
1401
1199
  "declaration": {
1402
- "name": "*",
1403
- "package": "./actions-menu.styles"
1200
+ "name": "defaultAccordionItemConfig",
1201
+ "module": "src/accordion-item/accordion-item.ts"
1404
1202
  }
1405
1203
  },
1406
1204
  {
1407
1205
  "kind": "js",
1408
- "name": "*",
1206
+ "name": "foundationAccordionItem",
1409
1207
  "declaration": {
1410
- "name": "*",
1411
- "package": "./actions-menu.template"
1412
- }
1413
- },
1414
- {
1415
- "kind": "js",
1416
- "name": "*",
1417
- "declaration": {
1418
- "name": "*",
1419
- "package": "./actions-menu"
1208
+ "name": "foundationAccordionItem",
1209
+ "module": "src/accordion-item/accordion-item.ts"
1420
1210
  }
1421
1211
  }
1422
1212
  ]
1423
1213
  },
1424
1214
  {
1425
1215
  "kind": "javascript-module",
1426
- "path": "src/_config/index.ts",
1216
+ "path": "src/accordion-item/index.ts",
1427
1217
  "declarations": [],
1428
1218
  "exports": [
1429
1219
  {
@@ -1431,7 +1221,7 @@
1431
1221
  "name": "*",
1432
1222
  "declaration": {
1433
1223
  "name": "*",
1434
- "package": "./styles"
1224
+ "package": "./accordion-item.template"
1435
1225
  }
1436
1226
  },
1437
1227
  {
@@ -1439,7 +1229,7 @@
1439
1229
  "name": "*",
1440
1230
  "declaration": {
1441
1231
  "name": "*",
1442
- "package": "./tokens"
1232
+ "package": "./accordion-item.styles"
1443
1233
  }
1444
1234
  },
1445
1235
  {
@@ -1447,18 +1237,18 @@
1447
1237
  "name": "*",
1448
1238
  "declaration": {
1449
1239
  "name": "*",
1450
- "package": "./values"
1240
+ "package": "./accordion-item"
1451
1241
  }
1452
1242
  }
1453
1243
  ]
1454
1244
  },
1455
1245
  {
1456
1246
  "kind": "javascript-module",
1457
- "path": "src/anchor/anchor.styles.ts",
1247
+ "path": "src/accordion/accordion.styles.ts",
1458
1248
  "declarations": [
1459
1249
  {
1460
1250
  "kind": "function",
1461
- "name": "foundationAnchorStyles",
1251
+ "name": "foundationAccordionStyles",
1462
1252
  "return": {
1463
1253
  "type": {
1464
1254
  "text": "ElementStyles"
@@ -1483,24 +1273,24 @@
1483
1273
  "exports": [
1484
1274
  {
1485
1275
  "kind": "js",
1486
- "name": "foundationAnchorStyles",
1276
+ "name": "foundationAccordionStyles",
1487
1277
  "declaration": {
1488
- "name": "foundationAnchorStyles",
1489
- "module": "src/anchor/anchor.styles.ts"
1278
+ "name": "foundationAccordionStyles",
1279
+ "module": "src/accordion/accordion.styles.ts"
1490
1280
  }
1491
1281
  }
1492
1282
  ]
1493
1283
  },
1494
1284
  {
1495
1285
  "kind": "javascript-module",
1496
- "path": "src/anchor/anchor.template.ts",
1286
+ "path": "src/accordion/accordion.template.ts",
1497
1287
  "declarations": [
1498
1288
  {
1499
1289
  "kind": "function",
1500
- "name": "foundationAnchorTemplate",
1290
+ "name": "foundationAccordionTemplate",
1501
1291
  "return": {
1502
1292
  "type": {
1503
- "text": "ViewTemplate<Anchor>"
1293
+ "text": "ViewTemplate<Accordion>"
1504
1294
  }
1505
1295
  },
1506
1296
  "parameters": [
@@ -1522,289 +1312,516 @@
1522
1312
  "exports": [
1523
1313
  {
1524
1314
  "kind": "js",
1525
- "name": "foundationAnchorTemplate",
1315
+ "name": "foundationAccordionTemplate",
1526
1316
  "declaration": {
1527
- "name": "foundationAnchorTemplate",
1528
- "module": "src/anchor/anchor.template.ts"
1317
+ "name": "foundationAccordionTemplate",
1318
+ "module": "src/accordion/accordion.template.ts"
1529
1319
  }
1530
1320
  }
1531
1321
  ]
1532
1322
  },
1533
1323
  {
1534
1324
  "kind": "javascript-module",
1535
- "path": "src/anchor/anchor.ts",
1325
+ "path": "src/accordion/accordion.ts",
1536
1326
  "declarations": [
1537
1327
  {
1538
1328
  "kind": "class",
1539
1329
  "description": "",
1540
- "name": "Anchor",
1330
+ "name": "Accordion",
1541
1331
  "superclass": {
1542
- "name": "FASTAnchor",
1543
- "package": "@microsoft/fast-components"
1332
+ "name": "FASTAccordion",
1333
+ "package": "@microsoft/fast-foundation"
1544
1334
  },
1545
- "tagName": "%%prefix%%-anchor",
1546
- "customElement": true,
1547
- "attributes": [
1335
+ "tagName": "%%prefix%%-accordion",
1336
+ "customElement": true
1337
+ },
1338
+ {
1339
+ "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
+ },
1378
+ {
1379
+ "kind": "js",
1380
+ "name": "defaultAccordionConfig",
1381
+ "declaration": {
1382
+ "name": "defaultAccordionConfig",
1383
+ "module": "src/accordion/accordion.ts"
1384
+ }
1385
+ },
1386
+ {
1387
+ "kind": "js",
1388
+ "name": "foundationAccordion",
1389
+ "declaration": {
1390
+ "name": "foundationAccordion",
1391
+ "module": "src/accordion/accordion.ts"
1392
+ }
1393
+ }
1394
+ ]
1395
+ },
1396
+ {
1397
+ "kind": "javascript-module",
1398
+ "path": "src/accordion/index.ts",
1399
+ "declarations": [],
1400
+ "exports": [
1401
+ {
1402
+ "kind": "js",
1403
+ "name": "*",
1404
+ "declaration": {
1405
+ "name": "*",
1406
+ "package": "./accordion.template"
1407
+ }
1408
+ },
1409
+ {
1410
+ "kind": "js",
1411
+ "name": "*",
1412
+ "declaration": {
1413
+ "name": "*",
1414
+ "package": "./accordion.styles"
1415
+ }
1416
+ },
1417
+ {
1418
+ "kind": "js",
1419
+ "name": "*",
1420
+ "declaration": {
1421
+ "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": [
1548
1435
  {
1549
- "name": "download",
1550
- "type": {
1551
- "text": "string"
1552
- },
1553
- "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1554
- "fieldName": "download",
1555
- "inheritedFrom": {
1556
- "name": "Anchor",
1557
- "module": "src/anchor/anchor.ts"
1558
- }
1436
+ "name": "slot",
1437
+ "default": "'start'"
1559
1438
  },
1560
1439
  {
1561
- "name": "href",
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"
1468
+ }
1469
+ }
1470
+ ]
1471
+ },
1472
+ {
1473
+ "kind": "javascript-module",
1474
+ "path": "src/actions-menu/actions-menu.styles.ts",
1475
+ "declarations": [
1476
+ {
1477
+ "kind": "function",
1478
+ "name": "actionsMenuBaseStyles",
1479
+ "return": {
1480
+ "type": {
1481
+ "text": "ElementStyles"
1482
+ }
1483
+ },
1484
+ "parameters": [
1485
+ {
1486
+ "name": "context",
1562
1487
  "type": {
1563
- "text": "string"
1564
- },
1565
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1566
- "fieldName": "href",
1567
- "inheritedFrom": {
1568
- "name": "Anchor",
1569
- "module": "src/anchor/anchor.ts"
1488
+ "text": "ElementDefinitionContext"
1570
1489
  }
1571
1490
  },
1572
1491
  {
1573
- "name": "hreflang",
1492
+ "name": "definition",
1574
1493
  "type": {
1575
- "text": "string"
1576
- },
1577
- "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1578
- "fieldName": "hreflang",
1579
- "inheritedFrom": {
1580
- "name": "Anchor",
1581
- "module": "src/anchor/anchor.ts"
1494
+ "text": "FoundationElementDefinition"
1582
1495
  }
1583
- },
1496
+ }
1497
+ ]
1498
+ },
1499
+ {
1500
+ "kind": "function",
1501
+ "name": "foundationActionsMenuStyles",
1502
+ "return": {
1503
+ "type": {
1504
+ "text": "ElementStyles"
1505
+ }
1506
+ },
1507
+ "parameters": [
1584
1508
  {
1585
- "name": "ping",
1509
+ "name": "context",
1586
1510
  "type": {
1587
- "text": "string"
1588
- },
1589
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1590
- "fieldName": "ping",
1591
- "inheritedFrom": {
1592
- "name": "Anchor",
1593
- "module": "src/anchor/anchor.ts"
1511
+ "text": "ElementDefinitionContext"
1594
1512
  }
1595
1513
  },
1596
1514
  {
1597
- "name": "referrerpolicy",
1515
+ "name": "definition",
1598
1516
  "type": {
1599
- "text": "string"
1600
- },
1601
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1602
- "fieldName": "referrerpolicy",
1603
- "inheritedFrom": {
1604
- "name": "Anchor",
1605
- "module": "src/anchor/anchor.ts"
1517
+ "text": "FoundationElementDefinition"
1606
1518
  }
1607
- },
1519
+ }
1520
+ ]
1521
+ }
1522
+ ],
1523
+ "exports": [
1524
+ {
1525
+ "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",
1535
+ "declaration": {
1536
+ "name": "foundationActionsMenuStyles",
1537
+ "module": "src/actions-menu/actions-menu.styles.ts"
1538
+ }
1539
+ }
1540
+ ]
1541
+ },
1542
+ {
1543
+ "kind": "javascript-module",
1544
+ "path": "src/actions-menu/actions-menu.template.ts",
1545
+ "declarations": [
1546
+ {
1547
+ "kind": "function",
1548
+ "name": "menuTemplate",
1549
+ "parameters": [
1608
1550
  {
1609
- "name": "rel",
1551
+ "name": "prefix",
1610
1552
  "type": {
1611
1553
  "text": "string"
1612
- },
1613
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1614
- "fieldName": "rel",
1615
- "inheritedFrom": {
1616
- "name": "Anchor",
1617
- "module": "src/anchor/anchor.ts"
1618
1554
  }
1619
- },
1620
- {
1621
- "name": "target",
1622
- "type": {
1623
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1624
- },
1625
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1626
- "fieldName": "target",
1627
- "inheritedFrom": {
1628
- "name": "Anchor",
1629
- "module": "src/anchor/anchor.ts"
1630
- }
1631
- },
1555
+ }
1556
+ ]
1557
+ },
1558
+ {
1559
+ "kind": "function",
1560
+ "name": "singleOptionTemplate",
1561
+ "parameters": [
1632
1562
  {
1633
- "name": "type",
1563
+ "name": "prefix",
1634
1564
  "type": {
1635
1565
  "text": "string"
1636
- },
1637
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1638
- "fieldName": "type",
1639
- "inheritedFrom": {
1640
- "name": "Anchor",
1641
- "module": "src/anchor/anchor.ts"
1642
1566
  }
1643
1567
  }
1644
- ],
1568
+ ]
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
+ }
1578
+ ],
1579
+ "exports": [
1580
+ {
1581
+ "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",
1599
+ "declaration": {
1600
+ "name": "foundationActionsMenuTemplate",
1601
+ "module": "src/actions-menu/actions-menu.template.ts"
1602
+ }
1603
+ }
1604
+ ]
1605
+ },
1606
+ {
1607
+ "kind": "javascript-module",
1608
+ "path": "src/actions-menu/actions-menu.ts",
1609
+ "declarations": [
1610
+ {
1611
+ "kind": "class",
1612
+ "description": "",
1613
+ "name": "ActionsMenu",
1645
1614
  "members": [
1646
1615
  {
1647
1616
  "kind": "field",
1648
- "name": "download",
1617
+ "name": "actions",
1649
1618
  "type": {
1650
- "text": "string"
1651
- },
1652
- "privacy": "public",
1653
- "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1654
- "inheritedFrom": {
1655
- "name": "Anchor",
1656
- "module": "src/anchor/anchor.ts"
1619
+ "text": "ActionMenuItem[]"
1657
1620
  }
1658
1621
  },
1659
1622
  {
1660
1623
  "kind": "field",
1661
- "name": "href",
1624
+ "name": "isVertical",
1662
1625
  "type": {
1663
- "text": "string"
1626
+ "text": "boolean"
1664
1627
  },
1665
- "privacy": "public",
1666
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1667
- "inheritedFrom": {
1668
- "name": "Anchor",
1669
- "module": "src/anchor/anchor.ts"
1670
- }
1628
+ "default": "false"
1671
1629
  },
1672
1630
  {
1673
1631
  "kind": "field",
1674
- "name": "hreflang",
1632
+ "name": "addDefaultActions",
1675
1633
  "type": {
1676
- "text": "string"
1634
+ "text": "boolean"
1677
1635
  },
1678
- "privacy": "public",
1679
- "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1680
- "inheritedFrom": {
1681
- "name": "Anchor",
1682
- "module": "src/anchor/anchor.ts"
1683
- }
1636
+ "default": "true"
1684
1637
  },
1685
1638
  {
1686
1639
  "kind": "field",
1687
- "name": "ping",
1640
+ "name": "autoCloseOnAction",
1688
1641
  "type": {
1689
- "text": "string"
1642
+ "text": "boolean"
1690
1643
  },
1691
- "privacy": "public",
1692
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1693
- "inheritedFrom": {
1694
- "name": "Anchor",
1695
- "module": "src/anchor/anchor.ts"
1696
- }
1644
+ "default": "true"
1697
1645
  },
1698
1646
  {
1699
1647
  "kind": "field",
1700
- "name": "referrerpolicy",
1648
+ "name": "classNames",
1701
1649
  "type": {
1702
1650
  "text": "string"
1703
- },
1704
- "privacy": "public",
1705
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1706
- "inheritedFrom": {
1707
- "name": "Anchor",
1708
- "module": "src/anchor/anchor.ts"
1709
1651
  }
1710
1652
  },
1711
1653
  {
1712
1654
  "kind": "field",
1713
- "name": "rel",
1655
+ "name": "definition",
1714
1656
  "type": {
1715
- "text": "string"
1716
- },
1717
- "privacy": "public",
1718
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1719
- "inheritedFrom": {
1720
- "name": "Anchor",
1721
- "module": "src/anchor/anchor.ts"
1657
+ "text": "any"
1722
1658
  }
1723
1659
  },
1724
1660
  {
1725
1661
  "kind": "field",
1726
- "name": "target",
1662
+ "name": "name",
1727
1663
  "type": {
1728
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1664
+ "text": "string"
1729
1665
  },
1730
- "privacy": "public",
1731
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1732
- "inheritedFrom": {
1733
- "name": "Anchor",
1734
- "module": "src/anchor/anchor.ts"
1735
- }
1666
+ "default": "'Actions'"
1736
1667
  },
1737
1668
  {
1738
1669
  "kind": "field",
1739
- "name": "type",
1670
+ "name": "open",
1740
1671
  "type": {
1741
- "text": "string"
1672
+ "text": "boolean"
1742
1673
  },
1743
- "privacy": "public",
1744
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1745
- "inheritedFrom": {
1746
- "name": "Anchor",
1747
- "module": "src/anchor/anchor.ts"
1748
- }
1674
+ "default": "false"
1749
1675
  },
1750
1676
  {
1751
1677
  "kind": "field",
1752
- "name": "control",
1678
+ "name": "buttonAppearance",
1753
1679
  "type": {
1754
- "text": "HTMLAnchorElement | undefined"
1755
- },
1756
- "privacy": "public",
1757
- "description": "References the root element",
1758
- "inheritedFrom": {
1759
- "name": "Anchor",
1760
- "module": "src/anchor/anchor.ts"
1680
+ "text": "string"
1761
1681
  }
1762
1682
  },
1763
1683
  {
1764
1684
  "kind": "field",
1765
- "name": "handleUnsupportedDelegatesFocus",
1766
- "privacy": "private",
1767
- "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
1768
- "inheritedFrom": {
1769
- "name": "Anchor",
1770
- "module": "src/anchor/anchor.ts"
1771
- }
1685
+ "name": "hideDisabled",
1686
+ "type": {
1687
+ "text": "boolean"
1688
+ },
1689
+ "default": "false"
1772
1690
  },
1773
1691
  {
1774
1692
  "kind": "field",
1775
- "name": "_presentation",
1693
+ "name": "hideMenuSingleOption",
1776
1694
  "type": {
1777
- "text": "ComponentPresentation | null | undefined"
1695
+ "text": "boolean"
1778
1696
  },
1779
- "privacy": "private",
1780
- "default": "void 0",
1781
- "inheritedFrom": {
1782
- "name": "FoundationElement",
1783
- "module": "src/foundation-element/foundation-element.ts"
1784
- }
1697
+ "default": "false"
1785
1698
  },
1786
1699
  {
1787
1700
  "kind": "field",
1788
- "name": "$presentation",
1701
+ "name": "singleOption",
1789
1702
  "type": {
1790
- "text": "ComponentPresentation | null"
1791
- },
1792
- "privacy": "public",
1793
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1794
- "inheritedFrom": {
1795
- "name": "FoundationElement",
1796
- "module": "src/foundation-element/foundation-element.ts"
1703
+ "text": "ActionMenuItem"
1797
1704
  }
1798
1705
  },
1799
1706
  {
1800
1707
  "kind": "field",
1801
- "name": "template",
1708
+ "name": "actionsMenu",
1802
1709
  "type": {
1803
- "text": "ElementViewTemplate | void | null"
1804
- },
1805
- "privacy": "public",
1806
- "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.",
1807
- "inheritedFrom": {
1710
+ "text": "HTMLElement"
1711
+ }
1712
+ },
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
+ {
1754
+ "kind": "field",
1755
+ "name": "allActions",
1756
+ "type": {
1757
+ "text": "ActionMenuItem[]"
1758
+ },
1759
+ "readonly": true
1760
+ },
1761
+ {
1762
+ "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
+ ]
1789
+ },
1790
+ {
1791
+ "kind": "field",
1792
+ "name": "_presentation",
1793
+ "type": {
1794
+ "text": "ComponentPresentation | null | undefined"
1795
+ },
1796
+ "privacy": "private",
1797
+ "default": "void 0",
1798
+ "inheritedFrom": {
1799
+ "name": "FoundationElement",
1800
+ "module": "src/foundation-element/foundation-element.ts"
1801
+ }
1802
+ },
1803
+ {
1804
+ "kind": "field",
1805
+ "name": "$presentation",
1806
+ "type": {
1807
+ "text": "ComponentPresentation | null"
1808
+ },
1809
+ "privacy": "public",
1810
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1811
+ "inheritedFrom": {
1812
+ "name": "FoundationElement",
1813
+ "module": "src/foundation-element/foundation-element.ts"
1814
+ }
1815
+ },
1816
+ {
1817
+ "kind": "field",
1818
+ "name": "template",
1819
+ "type": {
1820
+ "text": "ElementViewTemplate | void | null"
1821
+ },
1822
+ "privacy": "public",
1823
+ "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.",
1824
+ "inheritedFrom": {
1808
1825
  "name": "FoundationElement",
1809
1826
  "module": "src/foundation-element/foundation-element.ts"
1810
1827
  }
@@ -1881,69 +1898,108 @@
1881
1898
  "module": "src/foundation-element/foundation-element.ts"
1882
1899
  }
1883
1900
  }
1884
- ]
1885
- },
1886
- {
1887
- "kind": "variable",
1888
- "name": "foundationAnchorShadowOptions",
1889
- "type": {
1890
- "text": "ShadowRootInit"
1891
- },
1892
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1893
- },
1894
- {
1895
- "kind": "variable",
1896
- "name": "defaultAnchorConfig",
1897
- "type": {
1898
- "text": "object"
1901
+ ],
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
+ },
1958
+ {
1959
+ "name": "hide-menu-single-option",
1960
+ "type": {
1961
+ "text": "boolean"
1962
+ },
1963
+ "default": "false",
1964
+ "fieldName": "hideMenuSingleOption"
1965
+ }
1966
+ ],
1967
+ "superclass": {
1968
+ "name": "FoundationElement",
1969
+ "package": "@microsoft/fast-foundation"
1899
1970
  },
1900
- "default": "{}"
1971
+ "tagName": "%%prefix%%-actions-menu",
1972
+ "customElement": true
1901
1973
  },
1902
1974
  {
1903
1975
  "kind": "variable",
1904
- "name": "foundationAnchor",
1905
- "description": "The Foundation Anchor",
1976
+ "name": "foundationActionsMenu",
1977
+ "description": "The Foundation Actions Menu",
1906
1978
  "privacy": "public"
1907
1979
  }
1908
1980
  ],
1909
1981
  "exports": [
1910
1982
  {
1911
1983
  "kind": "js",
1912
- "name": "Anchor",
1913
- "declaration": {
1914
- "name": "Anchor",
1915
- "module": "src/anchor/anchor.ts"
1916
- }
1917
- },
1918
- {
1919
- "kind": "js",
1920
- "name": "foundationAnchorShadowOptions",
1921
- "declaration": {
1922
- "name": "foundationAnchorShadowOptions",
1923
- "module": "src/anchor/anchor.ts"
1924
- }
1925
- },
1926
- {
1927
- "kind": "js",
1928
- "name": "defaultAnchorConfig",
1984
+ "name": "ActionsMenu",
1929
1985
  "declaration": {
1930
- "name": "defaultAnchorConfig",
1931
- "module": "src/anchor/anchor.ts"
1986
+ "name": "ActionsMenu",
1987
+ "module": "src/actions-menu/actions-menu.ts"
1932
1988
  }
1933
1989
  },
1934
1990
  {
1935
1991
  "kind": "js",
1936
- "name": "foundationAnchor",
1992
+ "name": "foundationActionsMenu",
1937
1993
  "declaration": {
1938
- "name": "foundationAnchor",
1939
- "module": "src/anchor/anchor.ts"
1994
+ "name": "foundationActionsMenu",
1995
+ "module": "src/actions-menu/actions-menu.ts"
1940
1996
  }
1941
1997
  }
1942
1998
  ]
1943
1999
  },
1944
2000
  {
1945
2001
  "kind": "javascript-module",
1946
- "path": "src/anchor/index.ts",
2002
+ "path": "src/actions-menu/index.ts",
1947
2003
  "declarations": [],
1948
2004
  "exports": [
1949
2005
  {
@@ -1951,7 +2007,7 @@
1951
2007
  "name": "*",
1952
2008
  "declaration": {
1953
2009
  "name": "*",
1954
- "package": "./anchor.template"
2010
+ "package": "./actions-menu.styles"
1955
2011
  }
1956
2012
  },
1957
2013
  {
@@ -1959,7 +2015,7 @@
1959
2015
  "name": "*",
1960
2016
  "declaration": {
1961
2017
  "name": "*",
1962
- "package": "./anchor.styles"
2018
+ "package": "./actions-menu.template"
1963
2019
  }
1964
2020
  },
1965
2021
  {
@@ -1967,18 +2023,18 @@
1967
2023
  "name": "*",
1968
2024
  "declaration": {
1969
2025
  "name": "*",
1970
- "package": "./anchor"
2026
+ "package": "./actions-menu"
1971
2027
  }
1972
2028
  }
1973
2029
  ]
1974
2030
  },
1975
2031
  {
1976
2032
  "kind": "javascript-module",
1977
- "path": "src/accordion-item/accordion-item.styles.ts",
2033
+ "path": "src/anchor/anchor.styles.ts",
1978
2034
  "declarations": [
1979
2035
  {
1980
2036
  "kind": "function",
1981
- "name": "foundationAccordionItemStyles",
2037
+ "name": "foundationAnchorStyles",
1982
2038
  "return": {
1983
2039
  "type": {
1984
2040
  "text": "ElementStyles"
@@ -2003,24 +2059,24 @@
2003
2059
  "exports": [
2004
2060
  {
2005
2061
  "kind": "js",
2006
- "name": "foundationAccordionItemStyles",
2062
+ "name": "foundationAnchorStyles",
2007
2063
  "declaration": {
2008
- "name": "foundationAccordionItemStyles",
2009
- "module": "src/accordion-item/accordion-item.styles.ts"
2064
+ "name": "foundationAnchorStyles",
2065
+ "module": "src/anchor/anchor.styles.ts"
2010
2066
  }
2011
2067
  }
2012
2068
  ]
2013
2069
  },
2014
2070
  {
2015
2071
  "kind": "javascript-module",
2016
- "path": "src/accordion-item/accordion-item.template.ts",
2072
+ "path": "src/anchor/anchor.template.ts",
2017
2073
  "declarations": [
2018
2074
  {
2019
2075
  "kind": "function",
2020
- "name": "foundationAccordionItemTemplate",
2076
+ "name": "foundationAnchorTemplate",
2021
2077
  "return": {
2022
2078
  "type": {
2023
- "text": "ViewTemplate<AccordionItem>"
2079
+ "text": "ViewTemplate<Anchor>"
2024
2080
  }
2025
2081
  },
2026
2082
  "parameters": [
@@ -2042,426 +2098,370 @@
2042
2098
  "exports": [
2043
2099
  {
2044
2100
  "kind": "js",
2045
- "name": "foundationAccordionItemTemplate",
2101
+ "name": "foundationAnchorTemplate",
2046
2102
  "declaration": {
2047
- "name": "foundationAccordionItemTemplate",
2048
- "module": "src/accordion-item/accordion-item.template.ts"
2103
+ "name": "foundationAnchorTemplate",
2104
+ "module": "src/anchor/anchor.template.ts"
2049
2105
  }
2050
2106
  }
2051
2107
  ]
2052
2108
  },
2053
2109
  {
2054
2110
  "kind": "javascript-module",
2055
- "path": "src/accordion-item/accordion-item.ts",
2111
+ "path": "src/anchor/anchor.ts",
2056
2112
  "declarations": [
2057
2113
  {
2058
2114
  "kind": "class",
2059
2115
  "description": "",
2060
- "name": "AccordionItem",
2116
+ "name": "Anchor",
2061
2117
  "superclass": {
2062
- "name": "FASTAccordionItem",
2118
+ "name": "FASTAnchor",
2063
2119
  "package": "@microsoft/fast-components"
2064
2120
  },
2065
- "tagName": "%%prefix%%-accordion-item",
2121
+ "tagName": "%%prefix%%-anchor",
2066
2122
  "customElement": true,
2067
2123
  "attributes": [
2068
2124
  {
2069
- "name": "heading-level",
2125
+ "name": "download",
2070
2126
  "type": {
2071
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2127
+ "text": "string"
2072
2128
  },
2073
- "default": "2",
2074
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2075
- "fieldName": "headinglevel",
2129
+ "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2130
+ "fieldName": "download",
2076
2131
  "inheritedFrom": {
2077
- "name": "AccordionItem",
2078
- "module": "src/accordion-item/accordion-item.ts"
2132
+ "name": "Anchor",
2133
+ "module": "src/anchor/anchor.ts"
2079
2134
  }
2080
2135
  },
2081
2136
  {
2137
+ "name": "href",
2082
2138
  "type": {
2083
- "text": "boolean"
2139
+ "text": "string"
2084
2140
  },
2085
- "default": "false",
2086
- "description": "Expands or collapses the item.",
2087
- "fieldName": "expanded",
2141
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2142
+ "fieldName": "href",
2088
2143
  "inheritedFrom": {
2089
- "name": "AccordionItem",
2090
- "module": "src/accordion-item/accordion-item.ts"
2144
+ "name": "Anchor",
2145
+ "module": "src/anchor/anchor.ts"
2091
2146
  }
2092
2147
  },
2093
2148
  {
2094
- "name": "id",
2149
+ "name": "hreflang",
2095
2150
  "type": {
2096
2151
  "text": "string"
2097
2152
  },
2098
- "description": "The item ID",
2099
- "fieldName": "id",
2153
+ "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2154
+ "fieldName": "hreflang",
2100
2155
  "inheritedFrom": {
2101
- "name": "AccordionItem",
2102
- "module": "src/accordion-item/accordion-item.ts"
2156
+ "name": "Anchor",
2157
+ "module": "src/anchor/anchor.ts"
2103
2158
  }
2104
- }
2105
- ],
2106
- "members": [
2159
+ },
2107
2160
  {
2108
- "kind": "field",
2109
- "name": "headinglevel",
2161
+ "name": "ping",
2110
2162
  "type": {
2111
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2163
+ "text": "string"
2112
2164
  },
2113
- "privacy": "public",
2114
- "default": "2",
2115
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2165
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2166
+ "fieldName": "ping",
2116
2167
  "inheritedFrom": {
2117
- "name": "AccordionItem",
2118
- "module": "src/accordion-item/accordion-item.ts"
2168
+ "name": "Anchor",
2169
+ "module": "src/anchor/anchor.ts"
2119
2170
  }
2120
2171
  },
2121
2172
  {
2122
- "kind": "field",
2123
- "name": "expanded",
2173
+ "name": "referrerpolicy",
2124
2174
  "type": {
2125
- "text": "boolean"
2175
+ "text": "string"
2126
2176
  },
2127
- "privacy": "public",
2128
- "default": "false",
2129
- "description": "Expands or collapses the item.",
2177
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2178
+ "fieldName": "referrerpolicy",
2130
2179
  "inheritedFrom": {
2131
- "name": "AccordionItem",
2132
- "module": "src/accordion-item/accordion-item.ts"
2180
+ "name": "Anchor",
2181
+ "module": "src/anchor/anchor.ts"
2133
2182
  }
2134
2183
  },
2184
+ {
2185
+ "name": "rel",
2186
+ "type": {
2187
+ "text": "string"
2188
+ },
2189
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2190
+ "fieldName": "rel",
2191
+ "inheritedFrom": {
2192
+ "name": "Anchor",
2193
+ "module": "src/anchor/anchor.ts"
2194
+ }
2195
+ },
2196
+ {
2197
+ "name": "target",
2198
+ "type": {
2199
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2200
+ },
2201
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2202
+ "fieldName": "target",
2203
+ "inheritedFrom": {
2204
+ "name": "Anchor",
2205
+ "module": "src/anchor/anchor.ts"
2206
+ }
2207
+ },
2208
+ {
2209
+ "name": "type",
2210
+ "type": {
2211
+ "text": "string"
2212
+ },
2213
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2214
+ "fieldName": "type",
2215
+ "inheritedFrom": {
2216
+ "name": "Anchor",
2217
+ "module": "src/anchor/anchor.ts"
2218
+ }
2219
+ }
2220
+ ],
2221
+ "members": [
2135
2222
  {
2136
2223
  "kind": "field",
2137
- "name": "id",
2224
+ "name": "download",
2138
2225
  "type": {
2139
2226
  "text": "string"
2140
2227
  },
2141
2228
  "privacy": "public",
2142
- "description": "The item ID",
2229
+ "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2143
2230
  "inheritedFrom": {
2144
- "name": "AccordionItem",
2145
- "module": "src/accordion-item/accordion-item.ts"
2231
+ "name": "Anchor",
2232
+ "module": "src/anchor/anchor.ts"
2146
2233
  }
2147
2234
  },
2148
2235
  {
2149
2236
  "kind": "field",
2150
- "name": "change",
2151
- "privacy": "private",
2237
+ "name": "href",
2238
+ "type": {
2239
+ "text": "string"
2240
+ },
2241
+ "privacy": "public",
2242
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2152
2243
  "inheritedFrom": {
2153
- "name": "AccordionItem",
2154
- "module": "src/accordion-item/accordion-item.ts"
2244
+ "name": "Anchor",
2245
+ "module": "src/anchor/anchor.ts"
2155
2246
  }
2156
2247
  },
2157
2248
  {
2158
2249
  "kind": "field",
2159
- "name": "_presentation",
2250
+ "name": "hreflang",
2160
2251
  "type": {
2161
- "text": "ComponentPresentation | null | undefined"
2252
+ "text": "string"
2162
2253
  },
2163
- "privacy": "private",
2164
- "default": "void 0",
2254
+ "privacy": "public",
2255
+ "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2165
2256
  "inheritedFrom": {
2166
- "name": "FoundationElement",
2167
- "module": "src/foundation-element/foundation-element.ts"
2257
+ "name": "Anchor",
2258
+ "module": "src/anchor/anchor.ts"
2168
2259
  }
2169
2260
  },
2170
2261
  {
2171
2262
  "kind": "field",
2172
- "name": "$presentation",
2263
+ "name": "ping",
2173
2264
  "type": {
2174
- "text": "ComponentPresentation | null"
2265
+ "text": "string"
2175
2266
  },
2176
2267
  "privacy": "public",
2177
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2268
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2178
2269
  "inheritedFrom": {
2179
- "name": "FoundationElement",
2180
- "module": "src/foundation-element/foundation-element.ts"
2270
+ "name": "Anchor",
2271
+ "module": "src/anchor/anchor.ts"
2181
2272
  }
2182
2273
  },
2183
2274
  {
2184
2275
  "kind": "field",
2185
- "name": "template",
2276
+ "name": "referrerpolicy",
2186
2277
  "type": {
2187
- "text": "ElementViewTemplate | void | null"
2278
+ "text": "string"
2188
2279
  },
2189
2280
  "privacy": "public",
2190
- "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.",
2281
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2191
2282
  "inheritedFrom": {
2192
- "name": "FoundationElement",
2193
- "module": "src/foundation-element/foundation-element.ts"
2283
+ "name": "Anchor",
2284
+ "module": "src/anchor/anchor.ts"
2194
2285
  }
2195
2286
  },
2196
2287
  {
2197
- "kind": "method",
2198
- "name": "templateChanged",
2199
- "privacy": "protected",
2200
- "return": {
2201
- "type": {
2202
- "text": "void"
2203
- }
2288
+ "kind": "field",
2289
+ "name": "rel",
2290
+ "type": {
2291
+ "text": "string"
2204
2292
  },
2293
+ "privacy": "public",
2294
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2205
2295
  "inheritedFrom": {
2206
- "name": "FoundationElement",
2207
- "module": "src/foundation-element/foundation-element.ts"
2296
+ "name": "Anchor",
2297
+ "module": "src/anchor/anchor.ts"
2208
2298
  }
2209
2299
  },
2210
2300
  {
2211
2301
  "kind": "field",
2212
- "name": "styles",
2302
+ "name": "target",
2213
2303
  "type": {
2214
- "text": "ElementStyles | void | null"
2304
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2215
2305
  },
2216
2306
  "privacy": "public",
2217
- "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.",
2307
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2218
2308
  "inheritedFrom": {
2219
- "name": "FoundationElement",
2220
- "module": "src/foundation-element/foundation-element.ts"
2309
+ "name": "Anchor",
2310
+ "module": "src/anchor/anchor.ts"
2221
2311
  }
2222
2312
  },
2223
2313
  {
2224
- "kind": "method",
2225
- "name": "stylesChanged",
2226
- "privacy": "protected",
2227
- "return": {
2228
- "type": {
2229
- "text": "void"
2230
- }
2314
+ "kind": "field",
2315
+ "name": "type",
2316
+ "type": {
2317
+ "text": "string"
2231
2318
  },
2319
+ "privacy": "public",
2320
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2232
2321
  "inheritedFrom": {
2233
- "name": "FoundationElement",
2234
- "module": "src/foundation-element/foundation-element.ts"
2322
+ "name": "Anchor",
2323
+ "module": "src/anchor/anchor.ts"
2235
2324
  }
2236
2325
  },
2237
2326
  {
2238
- "kind": "method",
2239
- "name": "compose",
2240
- "privacy": "public",
2241
- "static": true,
2242
- "return": {
2243
- "type": {
2244
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2245
- }
2327
+ "kind": "field",
2328
+ "name": "control",
2329
+ "type": {
2330
+ "text": "HTMLAnchorElement | undefined"
2246
2331
  },
2247
- "parameters": [
2248
- {
2249
- "name": "this",
2250
- "type": {
2251
- "text": "K"
2252
- }
2253
- },
2254
- {
2255
- "name": "elementDefinition",
2256
- "type": {
2257
- "text": "T"
2258
- },
2259
- "description": "The definition of the element to create the registry\nfunction for."
2260
- }
2261
- ],
2262
- "description": "Defines an element registry function with a set of element definition defaults.",
2332
+ "privacy": "public",
2333
+ "description": "References the root element",
2263
2334
  "inheritedFrom": {
2264
- "name": "FoundationElement",
2265
- "module": "src/foundation-element/foundation-element.ts"
2335
+ "name": "Anchor",
2336
+ "module": "src/anchor/anchor.ts"
2266
2337
  }
2267
- }
2268
- ],
2269
- "events": [
2338
+ },
2270
2339
  {
2271
- "description": "Fires a custom 'change' event when the button is invoked",
2272
- "name": "change",
2340
+ "kind": "field",
2341
+ "name": "handleUnsupportedDelegatesFocus",
2342
+ "privacy": "private",
2343
+ "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
2273
2344
  "inheritedFrom": {
2274
- "name": "AccordionItem",
2275
- "module": "src/accordion-item/accordion-item.ts"
2345
+ "name": "Anchor",
2346
+ "module": "src/anchor/anchor.ts"
2276
2347
  }
2277
- }
2278
- ]
2279
- },
2280
- {
2281
- "kind": "variable",
2282
- "name": "foundationAccordionItemShadowOptions",
2283
- "type": {
2284
- "text": "ShadowRootInit"
2285
- },
2286
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2287
- },
2288
- {
2289
- "kind": "variable",
2290
- "name": "defaultAccordionItemConfig",
2291
- "type": {
2292
- "text": "object"
2293
- },
2294
- "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}"
2295
- },
2296
- {
2297
- "kind": "variable",
2298
- "name": "foundationAccordionItem",
2299
- "description": "The Foundation Accordion Item",
2300
- "privacy": "public"
2301
- }
2302
- ],
2303
- "exports": [
2304
- {
2305
- "kind": "js",
2306
- "name": "AccordionItem",
2307
- "declaration": {
2308
- "name": "AccordionItem",
2309
- "module": "src/accordion-item/accordion-item.ts"
2310
- }
2311
- },
2312
- {
2313
- "kind": "js",
2314
- "name": "foundationAccordionItemShadowOptions",
2315
- "declaration": {
2316
- "name": "foundationAccordionItemShadowOptions",
2317
- "module": "src/accordion-item/accordion-item.ts"
2318
- }
2319
- },
2320
- {
2321
- "kind": "js",
2322
- "name": "defaultAccordionItemConfig",
2323
- "declaration": {
2324
- "name": "defaultAccordionItemConfig",
2325
- "module": "src/accordion-item/accordion-item.ts"
2326
- }
2327
- },
2328
- {
2329
- "kind": "js",
2330
- "name": "foundationAccordionItem",
2331
- "declaration": {
2332
- "name": "foundationAccordionItem",
2333
- "module": "src/accordion-item/accordion-item.ts"
2334
- }
2335
- }
2336
- ]
2337
- },
2338
- {
2339
- "kind": "javascript-module",
2340
- "path": "src/accordion-item/index.ts",
2341
- "declarations": [],
2342
- "exports": [
2343
- {
2344
- "kind": "js",
2345
- "name": "*",
2346
- "declaration": {
2347
- "name": "*",
2348
- "package": "./accordion-item.template"
2349
- }
2350
- },
2351
- {
2352
- "kind": "js",
2353
- "name": "*",
2354
- "declaration": {
2355
- "name": "*",
2356
- "package": "./accordion-item.styles"
2357
- }
2358
- },
2359
- {
2360
- "kind": "js",
2361
- "name": "*",
2362
- "declaration": {
2363
- "name": "*",
2364
- "package": "./accordion-item"
2365
- }
2366
- }
2367
- ]
2368
- },
2369
- {
2370
- "kind": "javascript-module",
2371
- "path": "src/accordion/accordion.styles.ts",
2372
- "declarations": [
2373
- {
2374
- "kind": "function",
2375
- "name": "foundationAccordionStyles",
2376
- "return": {
2377
- "type": {
2378
- "text": "ElementStyles"
2379
- }
2380
- },
2381
- "parameters": [
2348
+ },
2382
2349
  {
2383
- "name": "context",
2350
+ "kind": "field",
2351
+ "name": "_presentation",
2384
2352
  "type": {
2385
- "text": "ElementDefinitionContext"
2353
+ "text": "ComponentPresentation | null | undefined"
2354
+ },
2355
+ "privacy": "private",
2356
+ "default": "void 0",
2357
+ "inheritedFrom": {
2358
+ "name": "FoundationElement",
2359
+ "module": "src/foundation-element/foundation-element.ts"
2386
2360
  }
2387
2361
  },
2388
2362
  {
2389
- "name": "definition",
2363
+ "kind": "field",
2364
+ "name": "$presentation",
2390
2365
  "type": {
2391
- "text": "FoundationElementDefinition"
2366
+ "text": "ComponentPresentation | null"
2367
+ },
2368
+ "privacy": "public",
2369
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2370
+ "inheritedFrom": {
2371
+ "name": "FoundationElement",
2372
+ "module": "src/foundation-element/foundation-element.ts"
2392
2373
  }
2393
- }
2394
- ]
2395
- }
2396
- ],
2397
- "exports": [
2398
- {
2399
- "kind": "js",
2400
- "name": "foundationAccordionStyles",
2401
- "declaration": {
2402
- "name": "foundationAccordionStyles",
2403
- "module": "src/accordion/accordion.styles.ts"
2404
- }
2405
- }
2406
- ]
2407
- },
2408
- {
2409
- "kind": "javascript-module",
2410
- "path": "src/accordion/accordion.template.ts",
2411
- "declarations": [
2412
- {
2413
- "kind": "function",
2414
- "name": "foundationAccordionTemplate",
2415
- "return": {
2416
- "type": {
2417
- "text": "ViewTemplate<Accordion>"
2418
- }
2419
- },
2420
- "parameters": [
2374
+ },
2421
2375
  {
2422
- "name": "context",
2376
+ "kind": "field",
2377
+ "name": "template",
2423
2378
  "type": {
2424
- "text": "ElementDefinitionContext"
2379
+ "text": "ElementViewTemplate | void | null"
2380
+ },
2381
+ "privacy": "public",
2382
+ "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.",
2383
+ "inheritedFrom": {
2384
+ "name": "FoundationElement",
2385
+ "module": "src/foundation-element/foundation-element.ts"
2425
2386
  }
2426
2387
  },
2427
2388
  {
2428
- "name": "definition",
2389
+ "kind": "method",
2390
+ "name": "templateChanged",
2391
+ "privacy": "protected",
2392
+ "return": {
2393
+ "type": {
2394
+ "text": "void"
2395
+ }
2396
+ },
2397
+ "inheritedFrom": {
2398
+ "name": "FoundationElement",
2399
+ "module": "src/foundation-element/foundation-element.ts"
2400
+ }
2401
+ },
2402
+ {
2403
+ "kind": "field",
2404
+ "name": "styles",
2429
2405
  "type": {
2430
- "text": "FoundationElementDefinition"
2406
+ "text": "ElementStyles | void | null"
2407
+ },
2408
+ "privacy": "public",
2409
+ "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.",
2410
+ "inheritedFrom": {
2411
+ "name": "FoundationElement",
2412
+ "module": "src/foundation-element/foundation-element.ts"
2413
+ }
2414
+ },
2415
+ {
2416
+ "kind": "method",
2417
+ "name": "stylesChanged",
2418
+ "privacy": "protected",
2419
+ "return": {
2420
+ "type": {
2421
+ "text": "void"
2422
+ }
2423
+ },
2424
+ "inheritedFrom": {
2425
+ "name": "FoundationElement",
2426
+ "module": "src/foundation-element/foundation-element.ts"
2427
+ }
2428
+ },
2429
+ {
2430
+ "kind": "method",
2431
+ "name": "compose",
2432
+ "privacy": "public",
2433
+ "static": true,
2434
+ "return": {
2435
+ "type": {
2436
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2437
+ }
2438
+ },
2439
+ "parameters": [
2440
+ {
2441
+ "name": "this",
2442
+ "type": {
2443
+ "text": "K"
2444
+ }
2445
+ },
2446
+ {
2447
+ "name": "elementDefinition",
2448
+ "type": {
2449
+ "text": "T"
2450
+ },
2451
+ "description": "The definition of the element to create the registry\nfunction for."
2452
+ }
2453
+ ],
2454
+ "description": "Defines an element registry function with a set of element definition defaults.",
2455
+ "inheritedFrom": {
2456
+ "name": "FoundationElement",
2457
+ "module": "src/foundation-element/foundation-element.ts"
2431
2458
  }
2432
2459
  }
2433
2460
  ]
2434
- }
2435
- ],
2436
- "exports": [
2437
- {
2438
- "kind": "js",
2439
- "name": "foundationAccordionTemplate",
2440
- "declaration": {
2441
- "name": "foundationAccordionTemplate",
2442
- "module": "src/accordion/accordion.template.ts"
2443
- }
2444
- }
2445
- ]
2446
- },
2447
- {
2448
- "kind": "javascript-module",
2449
- "path": "src/accordion/accordion.ts",
2450
- "declarations": [
2451
- {
2452
- "kind": "class",
2453
- "description": "",
2454
- "name": "Accordion",
2455
- "superclass": {
2456
- "name": "FASTAccordion",
2457
- "package": "@microsoft/fast-foundation"
2458
- },
2459
- "tagName": "%%prefix%%-accordion",
2460
- "customElement": true
2461
2461
  },
2462
2462
  {
2463
2463
  "kind": "variable",
2464
- "name": "foundationAccordionShadowOptions",
2464
+ "name": "foundationAnchorShadowOptions",
2465
2465
  "type": {
2466
2466
  "text": "ShadowRootInit"
2467
2467
  },
@@ -2469,7 +2469,7 @@
2469
2469
  },
2470
2470
  {
2471
2471
  "kind": "variable",
2472
- "name": "defaultAccordionConfig",
2472
+ "name": "defaultAnchorConfig",
2473
2473
  "type": {
2474
2474
  "text": "object"
2475
2475
  },
@@ -2477,49 +2477,49 @@
2477
2477
  },
2478
2478
  {
2479
2479
  "kind": "variable",
2480
- "name": "foundationAccordion",
2481
- "description": "The Foundation Accordion",
2480
+ "name": "foundationAnchor",
2481
+ "description": "The Foundation Anchor",
2482
2482
  "privacy": "public"
2483
2483
  }
2484
2484
  ],
2485
2485
  "exports": [
2486
2486
  {
2487
2487
  "kind": "js",
2488
- "name": "Accordion",
2488
+ "name": "Anchor",
2489
2489
  "declaration": {
2490
- "name": "Accordion",
2491
- "module": "src/accordion/accordion.ts"
2490
+ "name": "Anchor",
2491
+ "module": "src/anchor/anchor.ts"
2492
2492
  }
2493
2493
  },
2494
2494
  {
2495
2495
  "kind": "js",
2496
- "name": "foundationAccordionShadowOptions",
2496
+ "name": "foundationAnchorShadowOptions",
2497
2497
  "declaration": {
2498
- "name": "foundationAccordionShadowOptions",
2499
- "module": "src/accordion/accordion.ts"
2498
+ "name": "foundationAnchorShadowOptions",
2499
+ "module": "src/anchor/anchor.ts"
2500
2500
  }
2501
2501
  },
2502
2502
  {
2503
2503
  "kind": "js",
2504
- "name": "defaultAccordionConfig",
2504
+ "name": "defaultAnchorConfig",
2505
2505
  "declaration": {
2506
- "name": "defaultAccordionConfig",
2507
- "module": "src/accordion/accordion.ts"
2506
+ "name": "defaultAnchorConfig",
2507
+ "module": "src/anchor/anchor.ts"
2508
2508
  }
2509
2509
  },
2510
2510
  {
2511
2511
  "kind": "js",
2512
- "name": "foundationAccordion",
2512
+ "name": "foundationAnchor",
2513
2513
  "declaration": {
2514
- "name": "foundationAccordion",
2515
- "module": "src/accordion/accordion.ts"
2514
+ "name": "foundationAnchor",
2515
+ "module": "src/anchor/anchor.ts"
2516
2516
  }
2517
2517
  }
2518
2518
  ]
2519
2519
  },
2520
2520
  {
2521
2521
  "kind": "javascript-module",
2522
- "path": "src/accordion/index.ts",
2522
+ "path": "src/anchor/index.ts",
2523
2523
  "declarations": [],
2524
2524
  "exports": [
2525
2525
  {
@@ -2527,7 +2527,7 @@
2527
2527
  "name": "*",
2528
2528
  "declaration": {
2529
2529
  "name": "*",
2530
- "package": "./accordion.template"
2530
+ "package": "./anchor.template"
2531
2531
  }
2532
2532
  },
2533
2533
  {
@@ -2535,7 +2535,7 @@
2535
2535
  "name": "*",
2536
2536
  "declaration": {
2537
2537
  "name": "*",
2538
- "package": "./accordion.styles"
2538
+ "package": "./anchor.styles"
2539
2539
  }
2540
2540
  },
2541
2541
  {
@@ -2543,7 +2543,7 @@
2543
2543
  "name": "*",
2544
2544
  "declaration": {
2545
2545
  "name": "*",
2546
- "package": "./accordion"
2546
+ "package": "./anchor"
2547
2547
  }
2548
2548
  }
2549
2549
  ]
@@ -4140,11 +4140,11 @@
4140
4140
  },
4141
4141
  {
4142
4142
  "kind": "javascript-module",
4143
- "path": "src/badge/badge.styles.ts",
4143
+ "path": "src/avatar/avatar.styles.ts",
4144
4144
  "declarations": [
4145
4145
  {
4146
4146
  "kind": "function",
4147
- "name": "foundationBadgeStyles",
4147
+ "name": "foundationAvatarStyles",
4148
4148
  "return": {
4149
4149
  "type": {
4150
4150
  "text": "ElementStyles"
@@ -4169,24 +4169,24 @@
4169
4169
  "exports": [
4170
4170
  {
4171
4171
  "kind": "js",
4172
- "name": "foundationBadgeStyles",
4172
+ "name": "foundationAvatarStyles",
4173
4173
  "declaration": {
4174
- "name": "foundationBadgeStyles",
4175
- "module": "src/badge/badge.styles.ts"
4174
+ "name": "foundationAvatarStyles",
4175
+ "module": "src/avatar/avatar.styles.ts"
4176
4176
  }
4177
4177
  }
4178
4178
  ]
4179
4179
  },
4180
4180
  {
4181
4181
  "kind": "javascript-module",
4182
- "path": "src/badge/badge.template.ts",
4182
+ "path": "src/avatar/avatar.template.ts",
4183
4183
  "declarations": [
4184
4184
  {
4185
4185
  "kind": "function",
4186
- "name": "foundationBadgeTemplate",
4186
+ "name": "foundationAvatarTemplate",
4187
4187
  "return": {
4188
4188
  "type": {
4189
- "text": "ViewTemplate<Badge>"
4189
+ "text": "ViewTemplate<Avatar>"
4190
4190
  }
4191
4191
  },
4192
4192
  "parameters": [
@@ -4203,32 +4203,45 @@
4203
4203
  }
4204
4204
  }
4205
4205
  ]
4206
+ },
4207
+ {
4208
+ "kind": "variable",
4209
+ "name": "media",
4210
+ "default": "html<Avatar>`\n ${when(\n (x) => x.imgSrc,\n html<Avatar>`\n <img src=\"${(x) => x.imgSrc}\" alt=\"${(x) => x.alt}\" slot=\"media\" class=\"media\" part=\"media\" />\n `,\n )}\n`"
4206
4211
  }
4207
4212
  ],
4208
4213
  "exports": [
4209
4214
  {
4210
4215
  "kind": "js",
4211
- "name": "foundationBadgeTemplate",
4216
+ "name": "foundationAvatarTemplate",
4212
4217
  "declaration": {
4213
- "name": "foundationBadgeTemplate",
4214
- "module": "src/badge/badge.template.ts"
4218
+ "name": "foundationAvatarTemplate",
4219
+ "module": "src/avatar/avatar.template.ts"
4220
+ }
4221
+ },
4222
+ {
4223
+ "kind": "js",
4224
+ "name": "media",
4225
+ "declaration": {
4226
+ "name": "media",
4227
+ "module": "src/avatar/avatar.template.ts"
4215
4228
  }
4216
4229
  }
4217
4230
  ]
4218
4231
  },
4219
4232
  {
4220
4233
  "kind": "javascript-module",
4221
- "path": "src/badge/badge.ts",
4234
+ "path": "src/avatar/avatar.ts",
4222
4235
  "declarations": [
4223
4236
  {
4224
4237
  "kind": "class",
4225
4238
  "description": "",
4226
- "name": "Badge",
4239
+ "name": "Avatar",
4227
4240
  "superclass": {
4228
- "name": "FASTBadge",
4241
+ "name": "FASTAvatar",
4229
4242
  "package": "@microsoft/fast-components"
4230
4243
  },
4231
- "tagName": "%%prefix%%-badge",
4244
+ "tagName": "%%prefix%%-avatar",
4232
4245
  "customElement": true,
4233
4246
  "attributes": [
4234
4247
  {
@@ -4236,34 +4249,47 @@
4236
4249
  "type": {
4237
4250
  "text": "string"
4238
4251
  },
4239
- "description": "Indicates the badge should have a filled style.",
4252
+ "description": "Indicates the Avatar should have a color fill.",
4240
4253
  "fieldName": "fill",
4241
4254
  "inheritedFrom": {
4242
- "name": "Badge",
4243
- "module": "src/badge/badge.ts"
4255
+ "name": "Avatar",
4256
+ "module": "src/avatar/avatar.ts"
4257
+ }
4258
+ },
4259
+ {
4260
+ "name": "color",
4261
+ "type": {
4262
+ "text": "string"
4263
+ },
4264
+ "description": "Indicates the Avatar should have a text color.",
4265
+ "fieldName": "color",
4266
+ "inheritedFrom": {
4267
+ "name": "Avatar",
4268
+ "module": "src/avatar/avatar.ts"
4244
4269
  }
4245
4270
  },
4246
4271
  {
4247
- "name": "color",
4272
+ "name": "link",
4248
4273
  "type": {
4249
4274
  "text": "string"
4250
4275
  },
4251
- "description": "Indicates the badge should have a filled style.",
4252
- "fieldName": "color",
4276
+ "description": "Indicates the Avatar should have url link",
4277
+ "fieldName": "link",
4253
4278
  "inheritedFrom": {
4254
- "name": "Badge",
4255
- "module": "src/badge/badge.ts"
4279
+ "name": "Avatar",
4280
+ "module": "src/avatar/avatar.ts"
4256
4281
  }
4257
4282
  },
4258
4283
  {
4284
+ "name": "shape",
4259
4285
  "type": {
4260
- "text": "boolean"
4286
+ "text": "AvatarShape"
4261
4287
  },
4262
- "description": "Indicates the element should be circular",
4263
- "fieldName": "circular",
4288
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
4289
+ "fieldName": "shape",
4264
4290
  "inheritedFrom": {
4265
- "name": "Badge",
4266
- "module": "src/badge/badge.ts"
4291
+ "name": "Avatar",
4292
+ "module": "src/avatar/avatar.ts"
4267
4293
  }
4268
4294
  }
4269
4295
  ],
@@ -4275,10 +4301,10 @@
4275
4301
  "text": "string"
4276
4302
  },
4277
4303
  "privacy": "public",
4278
- "description": "Indicates the badge should have a filled style.",
4304
+ "description": "Indicates the Avatar should have a color fill.",
4279
4305
  "inheritedFrom": {
4280
- "name": "Badge",
4281
- "module": "src/badge/badge.ts"
4306
+ "name": "Avatar",
4307
+ "module": "src/avatar/avatar.ts"
4282
4308
  }
4283
4309
  },
4284
4310
  {
@@ -4288,32 +4314,36 @@
4288
4314
  "text": "string"
4289
4315
  },
4290
4316
  "privacy": "public",
4291
- "description": "Indicates the badge should have a filled style.",
4317
+ "description": "Indicates the Avatar should have a text color.",
4292
4318
  "inheritedFrom": {
4293
- "name": "Badge",
4294
- "module": "src/badge/badge.ts"
4319
+ "name": "Avatar",
4320
+ "module": "src/avatar/avatar.ts"
4295
4321
  }
4296
4322
  },
4297
4323
  {
4298
4324
  "kind": "field",
4299
- "name": "circular",
4325
+ "name": "link",
4300
4326
  "type": {
4301
- "text": "boolean"
4327
+ "text": "string"
4302
4328
  },
4303
4329
  "privacy": "public",
4304
- "description": "Indicates the element should be circular",
4330
+ "description": "Indicates the Avatar should have url link",
4305
4331
  "inheritedFrom": {
4306
- "name": "Badge",
4307
- "module": "src/badge/badge.ts"
4332
+ "name": "Avatar",
4333
+ "module": "src/avatar/avatar.ts"
4308
4334
  }
4309
4335
  },
4310
4336
  {
4311
4337
  "kind": "field",
4312
- "name": "generateBadgeStyle",
4338
+ "name": "shape",
4339
+ "type": {
4340
+ "text": "AvatarShape"
4341
+ },
4313
4342
  "privacy": "public",
4343
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
4314
4344
  "inheritedFrom": {
4315
- "name": "Badge",
4316
- "module": "src/badge/badge.ts"
4345
+ "name": "Avatar",
4346
+ "module": "src/avatar/avatar.ts"
4317
4347
  }
4318
4348
  },
4319
4349
  {
@@ -4431,65 +4461,65 @@
4431
4461
  },
4432
4462
  {
4433
4463
  "kind": "variable",
4434
- "name": "foundationBadgeShadowOptions",
4464
+ "name": "foundationAvatarShadowOptions",
4435
4465
  "type": {
4436
4466
  "text": "ShadowRootInit"
4437
4467
  },
4438
- "default": "undefined"
4468
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4439
4469
  },
4440
4470
  {
4441
4471
  "kind": "variable",
4442
- "name": "defaultBadgeConfig",
4472
+ "name": "defaultAvatarConfig",
4443
4473
  "type": {
4444
4474
  "text": "object"
4445
4475
  },
4446
- "default": "{}"
4476
+ "default": "{\n media: mediaTemplate,\n}"
4447
4477
  },
4448
4478
  {
4449
4479
  "kind": "variable",
4450
- "name": "foundationBadge",
4451
- "description": "The Foundation Badge",
4480
+ "name": "foundationAvatar",
4481
+ "description": "The Foundation Avatar",
4452
4482
  "privacy": "public"
4453
4483
  }
4454
4484
  ],
4455
4485
  "exports": [
4456
4486
  {
4457
4487
  "kind": "js",
4458
- "name": "Badge",
4488
+ "name": "Avatar",
4459
4489
  "declaration": {
4460
- "name": "Badge",
4461
- "module": "src/badge/badge.ts"
4490
+ "name": "Avatar",
4491
+ "module": "src/avatar/avatar.ts"
4462
4492
  }
4463
4493
  },
4464
4494
  {
4465
4495
  "kind": "js",
4466
- "name": "foundationBadgeShadowOptions",
4496
+ "name": "foundationAvatarShadowOptions",
4467
4497
  "declaration": {
4468
- "name": "foundationBadgeShadowOptions",
4469
- "module": "src/badge/badge.ts"
4498
+ "name": "foundationAvatarShadowOptions",
4499
+ "module": "src/avatar/avatar.ts"
4470
4500
  }
4471
4501
  },
4472
4502
  {
4473
4503
  "kind": "js",
4474
- "name": "defaultBadgeConfig",
4504
+ "name": "defaultAvatarConfig",
4475
4505
  "declaration": {
4476
- "name": "defaultBadgeConfig",
4477
- "module": "src/badge/badge.ts"
4506
+ "name": "defaultAvatarConfig",
4507
+ "module": "src/avatar/avatar.ts"
4478
4508
  }
4479
4509
  },
4480
4510
  {
4481
4511
  "kind": "js",
4482
- "name": "foundationBadge",
4512
+ "name": "foundationAvatar",
4483
4513
  "declaration": {
4484
- "name": "foundationBadge",
4485
- "module": "src/badge/badge.ts"
4514
+ "name": "foundationAvatar",
4515
+ "module": "src/avatar/avatar.ts"
4486
4516
  }
4487
4517
  }
4488
4518
  ]
4489
4519
  },
4490
4520
  {
4491
4521
  "kind": "javascript-module",
4492
- "path": "src/badge/index.ts",
4522
+ "path": "src/avatar/index.ts",
4493
4523
  "declarations": [],
4494
4524
  "exports": [
4495
4525
  {
@@ -4497,7 +4527,7 @@
4497
4527
  "name": "*",
4498
4528
  "declaration": {
4499
4529
  "name": "*",
4500
- "package": "./badge.template"
4530
+ "package": "./avatar.template"
4501
4531
  }
4502
4532
  },
4503
4533
  {
@@ -4505,7 +4535,7 @@
4505
4535
  "name": "*",
4506
4536
  "declaration": {
4507
4537
  "name": "*",
4508
- "package": "./badge.styles"
4538
+ "package": "./avatar.styles"
4509
4539
  }
4510
4540
  },
4511
4541
  {
@@ -4513,18 +4543,18 @@
4513
4543
  "name": "*",
4514
4544
  "declaration": {
4515
4545
  "name": "*",
4516
- "package": "./badge"
4546
+ "package": "./avatar"
4517
4547
  }
4518
4548
  }
4519
4549
  ]
4520
4550
  },
4521
4551
  {
4522
4552
  "kind": "javascript-module",
4523
- "path": "src/avatar/avatar.styles.ts",
4553
+ "path": "src/badge/badge.styles.ts",
4524
4554
  "declarations": [
4525
4555
  {
4526
4556
  "kind": "function",
4527
- "name": "foundationAvatarStyles",
4557
+ "name": "foundationBadgeStyles",
4528
4558
  "return": {
4529
4559
  "type": {
4530
4560
  "text": "ElementStyles"
@@ -4549,24 +4579,24 @@
4549
4579
  "exports": [
4550
4580
  {
4551
4581
  "kind": "js",
4552
- "name": "foundationAvatarStyles",
4582
+ "name": "foundationBadgeStyles",
4553
4583
  "declaration": {
4554
- "name": "foundationAvatarStyles",
4555
- "module": "src/avatar/avatar.styles.ts"
4584
+ "name": "foundationBadgeStyles",
4585
+ "module": "src/badge/badge.styles.ts"
4556
4586
  }
4557
4587
  }
4558
4588
  ]
4559
4589
  },
4560
4590
  {
4561
4591
  "kind": "javascript-module",
4562
- "path": "src/avatar/avatar.template.ts",
4592
+ "path": "src/badge/badge.template.ts",
4563
4593
  "declarations": [
4564
4594
  {
4565
4595
  "kind": "function",
4566
- "name": "foundationAvatarTemplate",
4596
+ "name": "foundationBadgeTemplate",
4567
4597
  "return": {
4568
4598
  "type": {
4569
- "text": "ViewTemplate<Avatar>"
4599
+ "text": "ViewTemplate<Badge>"
4570
4600
  }
4571
4601
  },
4572
4602
  "parameters": [
@@ -4583,45 +4613,32 @@
4583
4613
  }
4584
4614
  }
4585
4615
  ]
4586
- },
4587
- {
4588
- "kind": "variable",
4589
- "name": "media",
4590
- "default": "html<Avatar>`\n ${when(\n (x) => x.imgSrc,\n html<Avatar>`\n <img src=\"${(x) => x.imgSrc}\" alt=\"${(x) => x.alt}\" slot=\"media\" class=\"media\" part=\"media\" />\n `,\n )}\n`"
4591
4616
  }
4592
4617
  ],
4593
4618
  "exports": [
4594
4619
  {
4595
4620
  "kind": "js",
4596
- "name": "foundationAvatarTemplate",
4597
- "declaration": {
4598
- "name": "foundationAvatarTemplate",
4599
- "module": "src/avatar/avatar.template.ts"
4600
- }
4601
- },
4602
- {
4603
- "kind": "js",
4604
- "name": "media",
4621
+ "name": "foundationBadgeTemplate",
4605
4622
  "declaration": {
4606
- "name": "media",
4607
- "module": "src/avatar/avatar.template.ts"
4623
+ "name": "foundationBadgeTemplate",
4624
+ "module": "src/badge/badge.template.ts"
4608
4625
  }
4609
4626
  }
4610
4627
  ]
4611
4628
  },
4612
4629
  {
4613
4630
  "kind": "javascript-module",
4614
- "path": "src/avatar/avatar.ts",
4631
+ "path": "src/badge/badge.ts",
4615
4632
  "declarations": [
4616
4633
  {
4617
4634
  "kind": "class",
4618
4635
  "description": "",
4619
- "name": "Avatar",
4636
+ "name": "Badge",
4620
4637
  "superclass": {
4621
- "name": "FASTAvatar",
4638
+ "name": "FASTBadge",
4622
4639
  "package": "@microsoft/fast-components"
4623
4640
  },
4624
- "tagName": "%%prefix%%-avatar",
4641
+ "tagName": "%%prefix%%-badge",
4625
4642
  "customElement": true,
4626
4643
  "attributes": [
4627
4644
  {
@@ -4629,11 +4646,11 @@
4629
4646
  "type": {
4630
4647
  "text": "string"
4631
4648
  },
4632
- "description": "Indicates the Avatar should have a color fill.",
4649
+ "description": "Indicates the badge should have a filled style.",
4633
4650
  "fieldName": "fill",
4634
4651
  "inheritedFrom": {
4635
- "name": "Avatar",
4636
- "module": "src/avatar/avatar.ts"
4652
+ "name": "Badge",
4653
+ "module": "src/badge/badge.ts"
4637
4654
  }
4638
4655
  },
4639
4656
  {
@@ -4641,35 +4658,22 @@
4641
4658
  "type": {
4642
4659
  "text": "string"
4643
4660
  },
4644
- "description": "Indicates the Avatar should have a text color.",
4661
+ "description": "Indicates the badge should have a filled style.",
4645
4662
  "fieldName": "color",
4646
4663
  "inheritedFrom": {
4647
- "name": "Avatar",
4648
- "module": "src/avatar/avatar.ts"
4649
- }
4650
- },
4651
- {
4652
- "name": "link",
4653
- "type": {
4654
- "text": "string"
4655
- },
4656
- "description": "Indicates the Avatar should have url link",
4657
- "fieldName": "link",
4658
- "inheritedFrom": {
4659
- "name": "Avatar",
4660
- "module": "src/avatar/avatar.ts"
4664
+ "name": "Badge",
4665
+ "module": "src/badge/badge.ts"
4661
4666
  }
4662
4667
  },
4663
4668
  {
4664
- "name": "shape",
4665
4669
  "type": {
4666
- "text": "AvatarShape"
4670
+ "text": "boolean"
4667
4671
  },
4668
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
4669
- "fieldName": "shape",
4672
+ "description": "Indicates the element should be circular",
4673
+ "fieldName": "circular",
4670
4674
  "inheritedFrom": {
4671
- "name": "Avatar",
4672
- "module": "src/avatar/avatar.ts"
4675
+ "name": "Badge",
4676
+ "module": "src/badge/badge.ts"
4673
4677
  }
4674
4678
  }
4675
4679
  ],
@@ -4681,10 +4685,10 @@
4681
4685
  "text": "string"
4682
4686
  },
4683
4687
  "privacy": "public",
4684
- "description": "Indicates the Avatar should have a color fill.",
4688
+ "description": "Indicates the badge should have a filled style.",
4685
4689
  "inheritedFrom": {
4686
- "name": "Avatar",
4687
- "module": "src/avatar/avatar.ts"
4690
+ "name": "Badge",
4691
+ "module": "src/badge/badge.ts"
4688
4692
  }
4689
4693
  },
4690
4694
  {
@@ -4694,36 +4698,32 @@
4694
4698
  "text": "string"
4695
4699
  },
4696
4700
  "privacy": "public",
4697
- "description": "Indicates the Avatar should have a text color.",
4701
+ "description": "Indicates the badge should have a filled style.",
4698
4702
  "inheritedFrom": {
4699
- "name": "Avatar",
4700
- "module": "src/avatar/avatar.ts"
4703
+ "name": "Badge",
4704
+ "module": "src/badge/badge.ts"
4701
4705
  }
4702
4706
  },
4703
4707
  {
4704
4708
  "kind": "field",
4705
- "name": "link",
4709
+ "name": "circular",
4706
4710
  "type": {
4707
- "text": "string"
4711
+ "text": "boolean"
4708
4712
  },
4709
4713
  "privacy": "public",
4710
- "description": "Indicates the Avatar should have url link",
4714
+ "description": "Indicates the element should be circular",
4711
4715
  "inheritedFrom": {
4712
- "name": "Avatar",
4713
- "module": "src/avatar/avatar.ts"
4716
+ "name": "Badge",
4717
+ "module": "src/badge/badge.ts"
4714
4718
  }
4715
4719
  },
4716
4720
  {
4717
4721
  "kind": "field",
4718
- "name": "shape",
4719
- "type": {
4720
- "text": "AvatarShape"
4721
- },
4722
+ "name": "generateBadgeStyle",
4722
4723
  "privacy": "public",
4723
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
4724
4724
  "inheritedFrom": {
4725
- "name": "Avatar",
4726
- "module": "src/avatar/avatar.ts"
4725
+ "name": "Badge",
4726
+ "module": "src/badge/badge.ts"
4727
4727
  }
4728
4728
  },
4729
4729
  {
@@ -4841,65 +4841,65 @@
4841
4841
  },
4842
4842
  {
4843
4843
  "kind": "variable",
4844
- "name": "foundationAvatarShadowOptions",
4844
+ "name": "foundationBadgeShadowOptions",
4845
4845
  "type": {
4846
4846
  "text": "ShadowRootInit"
4847
4847
  },
4848
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4848
+ "default": "undefined"
4849
4849
  },
4850
4850
  {
4851
4851
  "kind": "variable",
4852
- "name": "defaultAvatarConfig",
4852
+ "name": "defaultBadgeConfig",
4853
4853
  "type": {
4854
4854
  "text": "object"
4855
4855
  },
4856
- "default": "{\n media: mediaTemplate,\n}"
4856
+ "default": "{}"
4857
4857
  },
4858
4858
  {
4859
4859
  "kind": "variable",
4860
- "name": "foundationAvatar",
4861
- "description": "The Foundation Avatar",
4860
+ "name": "foundationBadge",
4861
+ "description": "The Foundation Badge",
4862
4862
  "privacy": "public"
4863
4863
  }
4864
4864
  ],
4865
4865
  "exports": [
4866
4866
  {
4867
4867
  "kind": "js",
4868
- "name": "Avatar",
4868
+ "name": "Badge",
4869
4869
  "declaration": {
4870
- "name": "Avatar",
4871
- "module": "src/avatar/avatar.ts"
4870
+ "name": "Badge",
4871
+ "module": "src/badge/badge.ts"
4872
4872
  }
4873
4873
  },
4874
4874
  {
4875
4875
  "kind": "js",
4876
- "name": "foundationAvatarShadowOptions",
4876
+ "name": "foundationBadgeShadowOptions",
4877
4877
  "declaration": {
4878
- "name": "foundationAvatarShadowOptions",
4879
- "module": "src/avatar/avatar.ts"
4878
+ "name": "foundationBadgeShadowOptions",
4879
+ "module": "src/badge/badge.ts"
4880
4880
  }
4881
4881
  },
4882
4882
  {
4883
4883
  "kind": "js",
4884
- "name": "defaultAvatarConfig",
4884
+ "name": "defaultBadgeConfig",
4885
4885
  "declaration": {
4886
- "name": "defaultAvatarConfig",
4887
- "module": "src/avatar/avatar.ts"
4886
+ "name": "defaultBadgeConfig",
4887
+ "module": "src/badge/badge.ts"
4888
4888
  }
4889
4889
  },
4890
4890
  {
4891
4891
  "kind": "js",
4892
- "name": "foundationAvatar",
4892
+ "name": "foundationBadge",
4893
4893
  "declaration": {
4894
- "name": "foundationAvatar",
4895
- "module": "src/avatar/avatar.ts"
4894
+ "name": "foundationBadge",
4895
+ "module": "src/badge/badge.ts"
4896
4896
  }
4897
4897
  }
4898
4898
  ]
4899
4899
  },
4900
4900
  {
4901
4901
  "kind": "javascript-module",
4902
- "path": "src/avatar/index.ts",
4902
+ "path": "src/badge/index.ts",
4903
4903
  "declarations": [],
4904
4904
  "exports": [
4905
4905
  {
@@ -4907,7 +4907,7 @@
4907
4907
  "name": "*",
4908
4908
  "declaration": {
4909
4909
  "name": "*",
4910
- "package": "./avatar.template"
4910
+ "package": "./badge.template"
4911
4911
  }
4912
4912
  },
4913
4913
  {
@@ -4915,7 +4915,7 @@
4915
4915
  "name": "*",
4916
4916
  "declaration": {
4917
4917
  "name": "*",
4918
- "package": "./avatar.styles"
4918
+ "package": "./badge.styles"
4919
4919
  }
4920
4920
  },
4921
4921
  {
@@ -4923,7 +4923,7 @@
4923
4923
  "name": "*",
4924
4924
  "declaration": {
4925
4925
  "name": "*",
4926
- "package": "./avatar"
4926
+ "package": "./badge"
4927
4927
  }
4928
4928
  }
4929
4929
  ]