@genesislcap/foundation-ui 14.168.0 → 14.169.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -819,19 +819,28 @@
819
819
  },
820
820
  {
821
821
  "kind": "javascript-module",
822
- "path": "src/_common/icons.ts",
822
+ "path": "src/accordion/accordion.styles.ts",
823
823
  "declarations": [
824
824
  {
825
825
  "kind": "function",
826
- "name": "closeIcon",
826
+ "name": "foundationAccordionStyles",
827
+ "return": {
828
+ "type": {
829
+ "text": "ElementStyles"
830
+ }
831
+ },
827
832
  "parameters": [
828
833
  {
829
- "name": "slot",
830
- "default": "'start'"
834
+ "name": "context",
835
+ "type": {
836
+ "text": "ElementDefinitionContext"
837
+ }
831
838
  },
832
839
  {
833
- "name": "fill",
834
- "default": "'#879ba6'"
840
+ "name": "definition",
841
+ "type": {
842
+ "text": "FoundationElementDefinition"
843
+ }
835
844
  }
836
845
  ]
837
846
  }
@@ -839,17 +848,129 @@
839
848
  "exports": [
840
849
  {
841
850
  "kind": "js",
842
- "name": "closeIcon",
851
+ "name": "foundationAccordionStyles",
843
852
  "declaration": {
844
- "name": "closeIcon",
845
- "module": "src/_common/icons.ts"
853
+ "name": "foundationAccordionStyles",
854
+ "module": "src/accordion/accordion.styles.ts"
846
855
  }
847
856
  }
848
857
  ]
849
858
  },
850
859
  {
851
860
  "kind": "javascript-module",
852
- "path": "src/_common/index.ts",
861
+ "path": "src/accordion/accordion.template.ts",
862
+ "declarations": [
863
+ {
864
+ "kind": "function",
865
+ "name": "foundationAccordionTemplate",
866
+ "return": {
867
+ "type": {
868
+ "text": "ViewTemplate<Accordion>"
869
+ }
870
+ },
871
+ "parameters": [
872
+ {
873
+ "name": "context",
874
+ "type": {
875
+ "text": "ElementDefinitionContext"
876
+ }
877
+ },
878
+ {
879
+ "name": "definition",
880
+ "type": {
881
+ "text": "FoundationElementDefinition"
882
+ }
883
+ }
884
+ ]
885
+ }
886
+ ],
887
+ "exports": [
888
+ {
889
+ "kind": "js",
890
+ "name": "foundationAccordionTemplate",
891
+ "declaration": {
892
+ "name": "foundationAccordionTemplate",
893
+ "module": "src/accordion/accordion.template.ts"
894
+ }
895
+ }
896
+ ]
897
+ },
898
+ {
899
+ "kind": "javascript-module",
900
+ "path": "src/accordion/accordion.ts",
901
+ "declarations": [
902
+ {
903
+ "kind": "class",
904
+ "description": "",
905
+ "name": "Accordion",
906
+ "superclass": {
907
+ "name": "FASTAccordion",
908
+ "package": "@microsoft/fast-foundation"
909
+ },
910
+ "tagName": "%%prefix%%-accordion",
911
+ "customElement": true
912
+ },
913
+ {
914
+ "kind": "variable",
915
+ "name": "foundationAccordionShadowOptions",
916
+ "type": {
917
+ "text": "ShadowRootInit"
918
+ },
919
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
920
+ },
921
+ {
922
+ "kind": "variable",
923
+ "name": "defaultAccordionConfig",
924
+ "type": {
925
+ "text": "object"
926
+ },
927
+ "default": "{}"
928
+ },
929
+ {
930
+ "kind": "variable",
931
+ "name": "foundationAccordion",
932
+ "description": "The Foundation Accordion",
933
+ "privacy": "public"
934
+ }
935
+ ],
936
+ "exports": [
937
+ {
938
+ "kind": "js",
939
+ "name": "Accordion",
940
+ "declaration": {
941
+ "name": "Accordion",
942
+ "module": "src/accordion/accordion.ts"
943
+ }
944
+ },
945
+ {
946
+ "kind": "js",
947
+ "name": "foundationAccordionShadowOptions",
948
+ "declaration": {
949
+ "name": "foundationAccordionShadowOptions",
950
+ "module": "src/accordion/accordion.ts"
951
+ }
952
+ },
953
+ {
954
+ "kind": "js",
955
+ "name": "defaultAccordionConfig",
956
+ "declaration": {
957
+ "name": "defaultAccordionConfig",
958
+ "module": "src/accordion/accordion.ts"
959
+ }
960
+ },
961
+ {
962
+ "kind": "js",
963
+ "name": "foundationAccordion",
964
+ "declaration": {
965
+ "name": "foundationAccordion",
966
+ "module": "src/accordion/accordion.ts"
967
+ }
968
+ }
969
+ ]
970
+ },
971
+ {
972
+ "kind": "javascript-module",
973
+ "path": "src/accordion/index.ts",
853
974
  "declarations": [],
854
975
  "exports": [
855
976
  {
@@ -857,18 +978,34 @@
857
978
  "name": "*",
858
979
  "declaration": {
859
980
  "name": "*",
860
- "package": "./icons"
981
+ "package": "./accordion.template"
982
+ }
983
+ },
984
+ {
985
+ "kind": "js",
986
+ "name": "*",
987
+ "declaration": {
988
+ "name": "*",
989
+ "package": "./accordion.styles"
990
+ }
991
+ },
992
+ {
993
+ "kind": "js",
994
+ "name": "*",
995
+ "declaration": {
996
+ "name": "*",
997
+ "package": "./accordion"
861
998
  }
862
999
  }
863
1000
  ]
864
1001
  },
865
1002
  {
866
1003
  "kind": "javascript-module",
867
- "path": "src/accordion-item/accordion-item.styles.ts",
1004
+ "path": "src/actions-menu/actions-menu.styles.ts",
868
1005
  "declarations": [
869
1006
  {
870
1007
  "kind": "function",
871
- "name": "foundationAccordionItemStyles",
1008
+ "name": "actionsMenuBaseStyles",
872
1009
  "return": {
873
1010
  "type": {
874
1011
  "text": "ElementStyles"
@@ -888,29 +1025,13 @@
888
1025
  }
889
1026
  }
890
1027
  ]
891
- }
892
- ],
893
- "exports": [
894
- {
895
- "kind": "js",
896
- "name": "foundationAccordionItemStyles",
897
- "declaration": {
898
- "name": "foundationAccordionItemStyles",
899
- "module": "src/accordion-item/accordion-item.styles.ts"
900
- }
901
- }
902
- ]
903
- },
904
- {
905
- "kind": "javascript-module",
906
- "path": "src/accordion-item/accordion-item.template.ts",
907
- "declarations": [
1028
+ },
908
1029
  {
909
1030
  "kind": "function",
910
- "name": "foundationAccordionItemTemplate",
1031
+ "name": "foundationActionsMenuStyles",
911
1032
  "return": {
912
1033
  "type": {
913
- "text": "ViewTemplate<AccordionItem>"
1034
+ "text": "ElementStyles"
914
1035
  }
915
1036
  },
916
1037
  "parameters": [
@@ -932,118 +1053,270 @@
932
1053
  "exports": [
933
1054
  {
934
1055
  "kind": "js",
935
- "name": "foundationAccordionItemTemplate",
1056
+ "name": "actionsMenuBaseStyles",
936
1057
  "declaration": {
937
- "name": "foundationAccordionItemTemplate",
938
- "module": "src/accordion-item/accordion-item.template.ts"
1058
+ "name": "actionsMenuBaseStyles",
1059
+ "module": "src/actions-menu/actions-menu.styles.ts"
1060
+ }
1061
+ },
1062
+ {
1063
+ "kind": "js",
1064
+ "name": "foundationActionsMenuStyles",
1065
+ "declaration": {
1066
+ "name": "foundationActionsMenuStyles",
1067
+ "module": "src/actions-menu/actions-menu.styles.ts"
939
1068
  }
940
1069
  }
941
1070
  ]
942
1071
  },
943
1072
  {
944
1073
  "kind": "javascript-module",
945
- "path": "src/accordion-item/accordion-item.ts",
1074
+ "path": "src/actions-menu/actions-menu.template.ts",
946
1075
  "declarations": [
947
1076
  {
948
- "kind": "class",
949
- "description": "",
950
- "name": "AccordionItem",
951
- "superclass": {
952
- "name": "FASTAccordionItem",
953
- "package": "@microsoft/fast-components"
954
- },
955
- "tagName": "%%prefix%%-accordion-item",
956
- "customElement": true,
957
- "attributes": [
958
- {
959
- "name": "heading-level",
960
- "type": {
961
- "text": "1 | 2 | 3 | 4 | 5 | 6"
962
- },
963
- "default": "2",
964
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
965
- "fieldName": "headinglevel",
966
- "inheritedFrom": {
967
- "name": "AccordionItem",
968
- "module": "src/accordion-item/accordion-item.ts"
969
- }
970
- },
1077
+ "kind": "function",
1078
+ "name": "menuTemplate",
1079
+ "parameters": [
971
1080
  {
1081
+ "name": "prefix",
972
1082
  "type": {
973
- "text": "boolean"
974
- },
975
- "default": "false",
976
- "description": "Expands or collapses the item.",
977
- "fieldName": "expanded",
978
- "inheritedFrom": {
979
- "name": "AccordionItem",
980
- "module": "src/accordion-item/accordion-item.ts"
1083
+ "text": "string"
981
1084
  }
982
- },
1085
+ }
1086
+ ]
1087
+ },
1088
+ {
1089
+ "kind": "function",
1090
+ "name": "singleOptionTemplate",
1091
+ "parameters": [
983
1092
  {
984
- "name": "id",
1093
+ "name": "prefix",
985
1094
  "type": {
986
1095
  "text": "string"
987
- },
988
- "description": "The item ID",
989
- "fieldName": "id",
990
- "inheritedFrom": {
991
- "name": "AccordionItem",
992
- "module": "src/accordion-item/accordion-item.ts"
993
1096
  }
994
1097
  }
995
- ],
996
- "members": [
997
- {
1098
+ ]
1099
+ },
1100
+ {
1101
+ "kind": "variable",
1102
+ "name": "foundationActionsMenuTemplate",
1103
+ "type": {
1104
+ "text": "ViewTemplate<ActionsMenu>"
1105
+ },
1106
+ "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`"
1107
+ }
1108
+ ],
1109
+ "exports": [
1110
+ {
1111
+ "kind": "js",
1112
+ "name": "menuTemplate",
1113
+ "declaration": {
1114
+ "name": "menuTemplate",
1115
+ "module": "src/actions-menu/actions-menu.template.ts"
1116
+ }
1117
+ },
1118
+ {
1119
+ "kind": "js",
1120
+ "name": "singleOptionTemplate",
1121
+ "declaration": {
1122
+ "name": "singleOptionTemplate",
1123
+ "module": "src/actions-menu/actions-menu.template.ts"
1124
+ }
1125
+ },
1126
+ {
1127
+ "kind": "js",
1128
+ "name": "foundationActionsMenuTemplate",
1129
+ "declaration": {
1130
+ "name": "foundationActionsMenuTemplate",
1131
+ "module": "src/actions-menu/actions-menu.template.ts"
1132
+ }
1133
+ }
1134
+ ]
1135
+ },
1136
+ {
1137
+ "kind": "javascript-module",
1138
+ "path": "src/actions-menu/actions-menu.ts",
1139
+ "declarations": [
1140
+ {
1141
+ "kind": "class",
1142
+ "description": "",
1143
+ "name": "ActionsMenu",
1144
+ "members": [
1145
+ {
998
1146
  "kind": "field",
999
- "name": "headinglevel",
1147
+ "name": "actions",
1000
1148
  "type": {
1001
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1002
- },
1003
- "privacy": "public",
1004
- "default": "2",
1005
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1006
- "inheritedFrom": {
1007
- "name": "AccordionItem",
1008
- "module": "src/accordion-item/accordion-item.ts"
1149
+ "text": "ActionMenuItem[]"
1009
1150
  }
1010
1151
  },
1011
1152
  {
1012
1153
  "kind": "field",
1013
- "name": "expanded",
1154
+ "name": "isVertical",
1014
1155
  "type": {
1015
1156
  "text": "boolean"
1016
1157
  },
1017
- "privacy": "public",
1018
- "default": "false",
1019
- "description": "Expands or collapses the item.",
1020
- "inheritedFrom": {
1021
- "name": "AccordionItem",
1022
- "module": "src/accordion-item/accordion-item.ts"
1158
+ "default": "false"
1159
+ },
1160
+ {
1161
+ "kind": "field",
1162
+ "name": "addDefaultActions",
1163
+ "type": {
1164
+ "text": "boolean"
1165
+ },
1166
+ "default": "true"
1167
+ },
1168
+ {
1169
+ "kind": "field",
1170
+ "name": "autoCloseOnAction",
1171
+ "type": {
1172
+ "text": "boolean"
1173
+ },
1174
+ "default": "true"
1175
+ },
1176
+ {
1177
+ "kind": "field",
1178
+ "name": "classNames",
1179
+ "type": {
1180
+ "text": "string"
1023
1181
  }
1024
1182
  },
1025
1183
  {
1026
1184
  "kind": "field",
1027
- "name": "id",
1185
+ "name": "definition",
1186
+ "type": {
1187
+ "text": "any"
1188
+ }
1189
+ },
1190
+ {
1191
+ "kind": "field",
1192
+ "name": "name",
1028
1193
  "type": {
1029
1194
  "text": "string"
1030
1195
  },
1031
- "privacy": "public",
1032
- "description": "The item ID",
1033
- "inheritedFrom": {
1034
- "name": "AccordionItem",
1035
- "module": "src/accordion-item/accordion-item.ts"
1196
+ "default": "'Actions'"
1197
+ },
1198
+ {
1199
+ "kind": "field",
1200
+ "name": "open",
1201
+ "type": {
1202
+ "text": "boolean"
1203
+ },
1204
+ "default": "false"
1205
+ },
1206
+ {
1207
+ "kind": "field",
1208
+ "name": "buttonAppearance",
1209
+ "type": {
1210
+ "text": "string"
1036
1211
  }
1037
1212
  },
1038
1213
  {
1039
1214
  "kind": "field",
1040
- "name": "change",
1041
- "privacy": "private",
1042
- "inheritedFrom": {
1043
- "name": "AccordionItem",
1044
- "module": "src/accordion-item/accordion-item.ts"
1215
+ "name": "hideDisabled",
1216
+ "type": {
1217
+ "text": "boolean"
1218
+ },
1219
+ "default": "false"
1220
+ },
1221
+ {
1222
+ "kind": "field",
1223
+ "name": "hideMenuSingleOption",
1224
+ "type": {
1225
+ "text": "boolean"
1226
+ },
1227
+ "default": "false"
1228
+ },
1229
+ {
1230
+ "kind": "field",
1231
+ "name": "singleOption",
1232
+ "type": {
1233
+ "text": "ActionMenuItem"
1234
+ }
1235
+ },
1236
+ {
1237
+ "kind": "field",
1238
+ "name": "actionsMenu",
1239
+ "type": {
1240
+ "text": "HTMLElement"
1045
1241
  }
1046
1242
  },
1243
+ {
1244
+ "kind": "method",
1245
+ "name": "definitionChanged",
1246
+ "privacy": "protected",
1247
+ "parameters": [
1248
+ {
1249
+ "name": "oldValue",
1250
+ "type": {
1251
+ "text": "any"
1252
+ }
1253
+ },
1254
+ {
1255
+ "name": "newValue",
1256
+ "type": {
1257
+ "text": "any"
1258
+ }
1259
+ }
1260
+ ]
1261
+ },
1262
+ {
1263
+ "kind": "method",
1264
+ "name": "openChanged",
1265
+ "privacy": "protected"
1266
+ },
1267
+ {
1268
+ "kind": "method",
1269
+ "name": "toggleActionsMenuVisibility"
1270
+ },
1271
+ {
1272
+ "kind": "method",
1273
+ "name": "onActionMenuItemClick",
1274
+ "parameters": [
1275
+ {
1276
+ "name": "callback",
1277
+ "type": {
1278
+ "text": "(rowData) => void | any"
1279
+ }
1280
+ }
1281
+ ]
1282
+ },
1283
+ {
1284
+ "kind": "field",
1285
+ "name": "allActions",
1286
+ "type": {
1287
+ "text": "ActionMenuItem[]"
1288
+ },
1289
+ "readonly": true
1290
+ },
1291
+ {
1292
+ "kind": "field",
1293
+ "name": "rowData",
1294
+ "readonly": true
1295
+ },
1296
+ {
1297
+ "kind": "method",
1298
+ "name": "getLabel",
1299
+ "parameters": [
1300
+ {
1301
+ "name": "name",
1302
+ "type": {
1303
+ "text": "string | ((rowData: any) => string)"
1304
+ }
1305
+ }
1306
+ ]
1307
+ },
1308
+ {
1309
+ "kind": "method",
1310
+ "name": "getTemplate",
1311
+ "parameters": [
1312
+ {
1313
+ "name": "prefix",
1314
+ "type": {
1315
+ "text": "string"
1316
+ }
1317
+ }
1318
+ ]
1319
+ },
1047
1320
  {
1048
1321
  "kind": "field",
1049
1322
  "name": "_presentation",
@@ -1156,78 +1429,107 @@
1156
1429
  }
1157
1430
  }
1158
1431
  ],
1159
- "events": [
1432
+ "attributes": [
1160
1433
  {
1161
- "description": "Fires a custom 'change' event when the button is invoked",
1162
- "name": "change",
1163
- "inheritedFrom": {
1164
- "name": "AccordionItem",
1165
- "module": "src/accordion-item/accordion-item.ts"
1166
- }
1167
- }
1168
- ]
1169
- },
1170
- {
1171
- "kind": "variable",
1172
- "name": "foundationAccordionItemShadowOptions",
1173
- "type": {
1174
- "text": "ShadowRootInit"
1175
- },
1176
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1177
- },
1178
- {
1179
- "kind": "variable",
1180
- "name": "defaultAccordionItemConfig",
1181
- "type": {
1182
- "text": "object"
1183
- },
1184
- "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}"
1185
- },
1186
- {
1187
- "kind": "variable",
1188
- "name": "foundationAccordionItem",
1189
- "description": "The Foundation Accordion Item",
1434
+ "name": "is-vertical",
1435
+ "type": {
1436
+ "text": "boolean"
1437
+ },
1438
+ "default": "false",
1439
+ "fieldName": "isVertical"
1440
+ },
1441
+ {
1442
+ "name": "add-default-actions",
1443
+ "type": {
1444
+ "text": "boolean"
1445
+ },
1446
+ "default": "true",
1447
+ "fieldName": "addDefaultActions"
1448
+ },
1449
+ {
1450
+ "name": "auto-close-on-action",
1451
+ "type": {
1452
+ "text": "boolean"
1453
+ },
1454
+ "default": "true",
1455
+ "fieldName": "autoCloseOnAction"
1456
+ },
1457
+ {
1458
+ "name": "name",
1459
+ "type": {
1460
+ "text": "string"
1461
+ },
1462
+ "default": "'Actions'",
1463
+ "fieldName": "name"
1464
+ },
1465
+ {
1466
+ "name": "open",
1467
+ "type": {
1468
+ "text": "boolean"
1469
+ },
1470
+ "default": "false",
1471
+ "fieldName": "open"
1472
+ },
1473
+ {
1474
+ "name": "buttonAppearance",
1475
+ "type": {
1476
+ "text": "string"
1477
+ },
1478
+ "fieldName": "buttonAppearance"
1479
+ },
1480
+ {
1481
+ "name": "hide-disabled",
1482
+ "type": {
1483
+ "text": "boolean"
1484
+ },
1485
+ "default": "false",
1486
+ "fieldName": "hideDisabled"
1487
+ },
1488
+ {
1489
+ "name": "hide-menu-single-option",
1490
+ "type": {
1491
+ "text": "boolean"
1492
+ },
1493
+ "default": "false",
1494
+ "fieldName": "hideMenuSingleOption"
1495
+ }
1496
+ ],
1497
+ "superclass": {
1498
+ "name": "FoundationElement",
1499
+ "package": "@microsoft/fast-foundation"
1500
+ },
1501
+ "tagName": "%%prefix%%-actions-menu",
1502
+ "customElement": true
1503
+ },
1504
+ {
1505
+ "kind": "variable",
1506
+ "name": "foundationActionsMenu",
1507
+ "description": "The Foundation Actions Menu",
1190
1508
  "privacy": "public"
1191
1509
  }
1192
1510
  ],
1193
1511
  "exports": [
1194
1512
  {
1195
1513
  "kind": "js",
1196
- "name": "AccordionItem",
1197
- "declaration": {
1198
- "name": "AccordionItem",
1199
- "module": "src/accordion-item/accordion-item.ts"
1200
- }
1201
- },
1202
- {
1203
- "kind": "js",
1204
- "name": "foundationAccordionItemShadowOptions",
1205
- "declaration": {
1206
- "name": "foundationAccordionItemShadowOptions",
1207
- "module": "src/accordion-item/accordion-item.ts"
1208
- }
1209
- },
1210
- {
1211
- "kind": "js",
1212
- "name": "defaultAccordionItemConfig",
1514
+ "name": "ActionsMenu",
1213
1515
  "declaration": {
1214
- "name": "defaultAccordionItemConfig",
1215
- "module": "src/accordion-item/accordion-item.ts"
1516
+ "name": "ActionsMenu",
1517
+ "module": "src/actions-menu/actions-menu.ts"
1216
1518
  }
1217
1519
  },
1218
1520
  {
1219
1521
  "kind": "js",
1220
- "name": "foundationAccordionItem",
1522
+ "name": "foundationActionsMenu",
1221
1523
  "declaration": {
1222
- "name": "foundationAccordionItem",
1223
- "module": "src/accordion-item/accordion-item.ts"
1524
+ "name": "foundationActionsMenu",
1525
+ "module": "src/actions-menu/actions-menu.ts"
1224
1526
  }
1225
1527
  }
1226
1528
  ]
1227
1529
  },
1228
1530
  {
1229
1531
  "kind": "javascript-module",
1230
- "path": "src/accordion-item/index.ts",
1532
+ "path": "src/actions-menu/index.ts",
1231
1533
  "declarations": [],
1232
1534
  "exports": [
1233
1535
  {
@@ -1235,7 +1537,7 @@
1235
1537
  "name": "*",
1236
1538
  "declaration": {
1237
1539
  "name": "*",
1238
- "package": "./accordion-item.template"
1540
+ "package": "./actions-menu.styles"
1239
1541
  }
1240
1542
  },
1241
1543
  {
@@ -1243,7 +1545,7 @@
1243
1545
  "name": "*",
1244
1546
  "declaration": {
1245
1547
  "name": "*",
1246
- "package": "./accordion-item.styles"
1548
+ "package": "./actions-menu.template"
1247
1549
  }
1248
1550
  },
1249
1551
  {
@@ -1251,41 +1553,18 @@
1251
1553
  "name": "*",
1252
1554
  "declaration": {
1253
1555
  "name": "*",
1254
- "package": "./accordion-item"
1556
+ "package": "./actions-menu"
1255
1557
  }
1256
1558
  }
1257
1559
  ]
1258
1560
  },
1259
1561
  {
1260
1562
  "kind": "javascript-module",
1261
- "path": "src/actions-menu/actions-menu.styles.ts",
1563
+ "path": "src/anchor/anchor.styles.ts",
1262
1564
  "declarations": [
1263
1565
  {
1264
1566
  "kind": "function",
1265
- "name": "actionsMenuBaseStyles",
1266
- "return": {
1267
- "type": {
1268
- "text": "ElementStyles"
1269
- }
1270
- },
1271
- "parameters": [
1272
- {
1273
- "name": "context",
1274
- "type": {
1275
- "text": "ElementDefinitionContext"
1276
- }
1277
- },
1278
- {
1279
- "name": "definition",
1280
- "type": {
1281
- "text": "FoundationElementDefinition"
1282
- }
1283
- }
1284
- ]
1285
- },
1286
- {
1287
- "kind": "function",
1288
- "name": "foundationActionsMenuStyles",
1567
+ "name": "foundationAnchorStyles",
1289
1568
  "return": {
1290
1569
  "type": {
1291
1570
  "text": "ElementStyles"
@@ -1310,269 +1589,292 @@
1310
1589
  "exports": [
1311
1590
  {
1312
1591
  "kind": "js",
1313
- "name": "actionsMenuBaseStyles",
1314
- "declaration": {
1315
- "name": "actionsMenuBaseStyles",
1316
- "module": "src/actions-menu/actions-menu.styles.ts"
1317
- }
1318
- },
1319
- {
1320
- "kind": "js",
1321
- "name": "foundationActionsMenuStyles",
1592
+ "name": "foundationAnchorStyles",
1322
1593
  "declaration": {
1323
- "name": "foundationActionsMenuStyles",
1324
- "module": "src/actions-menu/actions-menu.styles.ts"
1594
+ "name": "foundationAnchorStyles",
1595
+ "module": "src/anchor/anchor.styles.ts"
1325
1596
  }
1326
1597
  }
1327
1598
  ]
1328
1599
  },
1329
1600
  {
1330
1601
  "kind": "javascript-module",
1331
- "path": "src/actions-menu/actions-menu.template.ts",
1602
+ "path": "src/anchor/anchor.template.ts",
1332
1603
  "declarations": [
1333
1604
  {
1334
1605
  "kind": "function",
1335
- "name": "menuTemplate",
1606
+ "name": "foundationAnchorTemplate",
1607
+ "return": {
1608
+ "type": {
1609
+ "text": "ViewTemplate<Anchor>"
1610
+ }
1611
+ },
1336
1612
  "parameters": [
1337
1613
  {
1338
- "name": "prefix",
1614
+ "name": "context",
1339
1615
  "type": {
1340
- "text": "string"
1616
+ "text": "ElementDefinitionContext"
1341
1617
  }
1342
- }
1343
- ]
1344
- },
1345
- {
1346
- "kind": "function",
1347
- "name": "singleOptionTemplate",
1348
- "parameters": [
1618
+ },
1349
1619
  {
1350
- "name": "prefix",
1620
+ "name": "definition",
1351
1621
  "type": {
1352
- "text": "string"
1622
+ "text": "FoundationElementDefinition"
1353
1623
  }
1354
1624
  }
1355
1625
  ]
1356
- },
1357
- {
1358
- "kind": "variable",
1359
- "name": "foundationActionsMenuTemplate",
1360
- "type": {
1361
- "text": "ViewTemplate<ActionsMenu>"
1362
- },
1363
- "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`"
1364
1626
  }
1365
1627
  ],
1366
1628
  "exports": [
1367
1629
  {
1368
1630
  "kind": "js",
1369
- "name": "menuTemplate",
1370
- "declaration": {
1371
- "name": "menuTemplate",
1372
- "module": "src/actions-menu/actions-menu.template.ts"
1373
- }
1374
- },
1375
- {
1376
- "kind": "js",
1377
- "name": "singleOptionTemplate",
1378
- "declaration": {
1379
- "name": "singleOptionTemplate",
1380
- "module": "src/actions-menu/actions-menu.template.ts"
1381
- }
1382
- },
1383
- {
1384
- "kind": "js",
1385
- "name": "foundationActionsMenuTemplate",
1631
+ "name": "foundationAnchorTemplate",
1386
1632
  "declaration": {
1387
- "name": "foundationActionsMenuTemplate",
1388
- "module": "src/actions-menu/actions-menu.template.ts"
1633
+ "name": "foundationAnchorTemplate",
1634
+ "module": "src/anchor/anchor.template.ts"
1389
1635
  }
1390
1636
  }
1391
1637
  ]
1392
1638
  },
1393
1639
  {
1394
1640
  "kind": "javascript-module",
1395
- "path": "src/actions-menu/actions-menu.ts",
1641
+ "path": "src/anchor/anchor.ts",
1396
1642
  "declarations": [
1397
1643
  {
1398
1644
  "kind": "class",
1399
1645
  "description": "",
1400
- "name": "ActionsMenu",
1401
- "members": [
1646
+ "name": "Anchor",
1647
+ "superclass": {
1648
+ "name": "FASTAnchor",
1649
+ "package": "@microsoft/fast-components"
1650
+ },
1651
+ "tagName": "%%prefix%%-anchor",
1652
+ "customElement": true,
1653
+ "attributes": [
1402
1654
  {
1403
- "kind": "field",
1404
- "name": "actions",
1655
+ "name": "download",
1405
1656
  "type": {
1406
- "text": "ActionMenuItem[]"
1657
+ "text": "string"
1658
+ },
1659
+ "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.",
1660
+ "fieldName": "download",
1661
+ "inheritedFrom": {
1662
+ "name": "Anchor",
1663
+ "module": "src/anchor/anchor.ts"
1407
1664
  }
1408
1665
  },
1409
1666
  {
1410
- "kind": "field",
1411
- "name": "isVertical",
1667
+ "name": "href",
1412
1668
  "type": {
1413
- "text": "boolean"
1669
+ "text": "string"
1414
1670
  },
1415
- "default": "false"
1671
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1672
+ "fieldName": "href",
1673
+ "inheritedFrom": {
1674
+ "name": "Anchor",
1675
+ "module": "src/anchor/anchor.ts"
1676
+ }
1416
1677
  },
1417
1678
  {
1418
- "kind": "field",
1419
- "name": "addDefaultActions",
1679
+ "name": "hreflang",
1420
1680
  "type": {
1421
- "text": "boolean"
1681
+ "text": "string"
1422
1682
  },
1423
- "default": "true"
1683
+ "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.",
1684
+ "fieldName": "hreflang",
1685
+ "inheritedFrom": {
1686
+ "name": "Anchor",
1687
+ "module": "src/anchor/anchor.ts"
1688
+ }
1424
1689
  },
1425
1690
  {
1426
- "kind": "field",
1427
- "name": "autoCloseOnAction",
1691
+ "name": "ping",
1428
1692
  "type": {
1429
- "text": "boolean"
1693
+ "text": "string"
1430
1694
  },
1431
- "default": "true"
1695
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1696
+ "fieldName": "ping",
1697
+ "inheritedFrom": {
1698
+ "name": "Anchor",
1699
+ "module": "src/anchor/anchor.ts"
1700
+ }
1432
1701
  },
1433
1702
  {
1434
- "kind": "field",
1435
- "name": "classNames",
1703
+ "name": "referrerpolicy",
1436
1704
  "type": {
1437
1705
  "text": "string"
1706
+ },
1707
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1708
+ "fieldName": "referrerpolicy",
1709
+ "inheritedFrom": {
1710
+ "name": "Anchor",
1711
+ "module": "src/anchor/anchor.ts"
1438
1712
  }
1439
1713
  },
1440
1714
  {
1441
- "kind": "field",
1442
- "name": "definition",
1715
+ "name": "rel",
1443
1716
  "type": {
1444
- "text": "any"
1717
+ "text": "string"
1718
+ },
1719
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1720
+ "fieldName": "rel",
1721
+ "inheritedFrom": {
1722
+ "name": "Anchor",
1723
+ "module": "src/anchor/anchor.ts"
1445
1724
  }
1446
1725
  },
1447
1726
  {
1448
- "kind": "field",
1449
- "name": "name",
1727
+ "name": "target",
1450
1728
  "type": {
1451
- "text": "string"
1729
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1452
1730
  },
1453
- "default": "'Actions'"
1731
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1732
+ "fieldName": "target",
1733
+ "inheritedFrom": {
1734
+ "name": "Anchor",
1735
+ "module": "src/anchor/anchor.ts"
1736
+ }
1454
1737
  },
1455
1738
  {
1456
- "kind": "field",
1457
- "name": "open",
1739
+ "name": "type",
1458
1740
  "type": {
1459
- "text": "boolean"
1741
+ "text": "string"
1460
1742
  },
1461
- "default": "false"
1462
- },
1743
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1744
+ "fieldName": "type",
1745
+ "inheritedFrom": {
1746
+ "name": "Anchor",
1747
+ "module": "src/anchor/anchor.ts"
1748
+ }
1749
+ }
1750
+ ],
1751
+ "members": [
1463
1752
  {
1464
1753
  "kind": "field",
1465
- "name": "buttonAppearance",
1754
+ "name": "download",
1466
1755
  "type": {
1467
1756
  "text": "string"
1757
+ },
1758
+ "privacy": "public",
1759
+ "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.",
1760
+ "inheritedFrom": {
1761
+ "name": "Anchor",
1762
+ "module": "src/anchor/anchor.ts"
1468
1763
  }
1469
1764
  },
1470
1765
  {
1471
1766
  "kind": "field",
1472
- "name": "hideDisabled",
1767
+ "name": "href",
1473
1768
  "type": {
1474
- "text": "boolean"
1769
+ "text": "string"
1475
1770
  },
1476
- "default": "false"
1771
+ "privacy": "public",
1772
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1773
+ "inheritedFrom": {
1774
+ "name": "Anchor",
1775
+ "module": "src/anchor/anchor.ts"
1776
+ }
1477
1777
  },
1478
1778
  {
1479
1779
  "kind": "field",
1480
- "name": "hideMenuSingleOption",
1780
+ "name": "hreflang",
1481
1781
  "type": {
1482
- "text": "boolean"
1782
+ "text": "string"
1483
1783
  },
1484
- "default": "false"
1784
+ "privacy": "public",
1785
+ "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.",
1786
+ "inheritedFrom": {
1787
+ "name": "Anchor",
1788
+ "module": "src/anchor/anchor.ts"
1789
+ }
1485
1790
  },
1486
1791
  {
1487
1792
  "kind": "field",
1488
- "name": "singleOption",
1793
+ "name": "ping",
1489
1794
  "type": {
1490
- "text": "ActionMenuItem"
1795
+ "text": "string"
1796
+ },
1797
+ "privacy": "public",
1798
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1799
+ "inheritedFrom": {
1800
+ "name": "Anchor",
1801
+ "module": "src/anchor/anchor.ts"
1491
1802
  }
1492
1803
  },
1493
1804
  {
1494
1805
  "kind": "field",
1495
- "name": "actionsMenu",
1806
+ "name": "referrerpolicy",
1496
1807
  "type": {
1497
- "text": "HTMLElement"
1808
+ "text": "string"
1809
+ },
1810
+ "privacy": "public",
1811
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1812
+ "inheritedFrom": {
1813
+ "name": "Anchor",
1814
+ "module": "src/anchor/anchor.ts"
1498
1815
  }
1499
1816
  },
1500
1817
  {
1501
- "kind": "method",
1502
- "name": "definitionChanged",
1503
- "privacy": "protected",
1504
- "parameters": [
1505
- {
1506
- "name": "oldValue",
1507
- "type": {
1508
- "text": "any"
1509
- }
1510
- },
1511
- {
1512
- "name": "newValue",
1513
- "type": {
1514
- "text": "any"
1515
- }
1516
- }
1517
- ]
1518
- },
1519
- {
1520
- "kind": "method",
1521
- "name": "openChanged",
1522
- "privacy": "protected"
1523
- },
1524
- {
1525
- "kind": "method",
1526
- "name": "toggleActionsMenuVisibility"
1527
- },
1528
- {
1529
- "kind": "method",
1530
- "name": "onActionMenuItemClick",
1531
- "parameters": [
1532
- {
1533
- "name": "callback",
1534
- "type": {
1535
- "text": "(rowData) => void | any"
1536
- }
1537
- }
1538
- ]
1818
+ "kind": "field",
1819
+ "name": "rel",
1820
+ "type": {
1821
+ "text": "string"
1822
+ },
1823
+ "privacy": "public",
1824
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1825
+ "inheritedFrom": {
1826
+ "name": "Anchor",
1827
+ "module": "src/anchor/anchor.ts"
1828
+ }
1539
1829
  },
1540
1830
  {
1541
1831
  "kind": "field",
1542
- "name": "allActions",
1832
+ "name": "target",
1543
1833
  "type": {
1544
- "text": "ActionMenuItem[]"
1834
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1545
1835
  },
1546
- "readonly": true
1836
+ "privacy": "public",
1837
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1838
+ "inheritedFrom": {
1839
+ "name": "Anchor",
1840
+ "module": "src/anchor/anchor.ts"
1841
+ }
1547
1842
  },
1548
1843
  {
1549
1844
  "kind": "field",
1550
- "name": "rowData",
1551
- "readonly": true
1845
+ "name": "type",
1846
+ "type": {
1847
+ "text": "string"
1848
+ },
1849
+ "privacy": "public",
1850
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1851
+ "inheritedFrom": {
1852
+ "name": "Anchor",
1853
+ "module": "src/anchor/anchor.ts"
1854
+ }
1552
1855
  },
1553
1856
  {
1554
- "kind": "method",
1555
- "name": "getLabel",
1556
- "parameters": [
1557
- {
1558
- "name": "name",
1559
- "type": {
1560
- "text": "string | ((rowData: any) => string)"
1561
- }
1562
- }
1563
- ]
1857
+ "kind": "field",
1858
+ "name": "control",
1859
+ "type": {
1860
+ "text": "HTMLAnchorElement | undefined"
1861
+ },
1862
+ "privacy": "public",
1863
+ "description": "References the root element",
1864
+ "inheritedFrom": {
1865
+ "name": "Anchor",
1866
+ "module": "src/anchor/anchor.ts"
1867
+ }
1564
1868
  },
1565
1869
  {
1566
- "kind": "method",
1567
- "name": "getTemplate",
1568
- "parameters": [
1569
- {
1570
- "name": "prefix",
1571
- "type": {
1572
- "text": "string"
1573
- }
1574
- }
1575
- ]
1870
+ "kind": "field",
1871
+ "name": "handleUnsupportedDelegatesFocus",
1872
+ "privacy": "private",
1873
+ "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",
1874
+ "inheritedFrom": {
1875
+ "name": "Anchor",
1876
+ "module": "src/anchor/anchor.ts"
1877
+ }
1576
1878
  },
1577
1879
  {
1578
1880
  "kind": "field",
@@ -1685,108 +1987,69 @@
1685
1987
  "module": "src/foundation-element/foundation-element.ts"
1686
1988
  }
1687
1989
  }
1688
- ],
1689
- "attributes": [
1690
- {
1691
- "name": "is-vertical",
1692
- "type": {
1693
- "text": "boolean"
1694
- },
1695
- "default": "false",
1696
- "fieldName": "isVertical"
1697
- },
1698
- {
1699
- "name": "add-default-actions",
1700
- "type": {
1701
- "text": "boolean"
1702
- },
1703
- "default": "true",
1704
- "fieldName": "addDefaultActions"
1705
- },
1706
- {
1707
- "name": "auto-close-on-action",
1708
- "type": {
1709
- "text": "boolean"
1710
- },
1711
- "default": "true",
1712
- "fieldName": "autoCloseOnAction"
1713
- },
1714
- {
1715
- "name": "name",
1716
- "type": {
1717
- "text": "string"
1718
- },
1719
- "default": "'Actions'",
1720
- "fieldName": "name"
1721
- },
1722
- {
1723
- "name": "open",
1724
- "type": {
1725
- "text": "boolean"
1726
- },
1727
- "default": "false",
1728
- "fieldName": "open"
1729
- },
1730
- {
1731
- "name": "buttonAppearance",
1732
- "type": {
1733
- "text": "string"
1734
- },
1735
- "fieldName": "buttonAppearance"
1736
- },
1737
- {
1738
- "name": "hide-disabled",
1739
- "type": {
1740
- "text": "boolean"
1741
- },
1742
- "default": "false",
1743
- "fieldName": "hideDisabled"
1744
- },
1745
- {
1746
- "name": "hide-menu-single-option",
1747
- "type": {
1748
- "text": "boolean"
1749
- },
1750
- "default": "false",
1751
- "fieldName": "hideMenuSingleOption"
1752
- }
1753
- ],
1754
- "superclass": {
1755
- "name": "FoundationElement",
1756
- "package": "@microsoft/fast-foundation"
1990
+ ]
1991
+ },
1992
+ {
1993
+ "kind": "variable",
1994
+ "name": "foundationAnchorShadowOptions",
1995
+ "type": {
1996
+ "text": "ShadowRootInit"
1757
1997
  },
1758
- "tagName": "%%prefix%%-actions-menu",
1759
- "customElement": true
1998
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1760
1999
  },
1761
2000
  {
1762
2001
  "kind": "variable",
1763
- "name": "foundationActionsMenu",
1764
- "description": "The Foundation Actions Menu",
2002
+ "name": "defaultAnchorConfig",
2003
+ "type": {
2004
+ "text": "object"
2005
+ },
2006
+ "default": "{}"
2007
+ },
2008
+ {
2009
+ "kind": "variable",
2010
+ "name": "foundationAnchor",
2011
+ "description": "The Foundation Anchor",
1765
2012
  "privacy": "public"
1766
2013
  }
1767
2014
  ],
1768
2015
  "exports": [
1769
2016
  {
1770
2017
  "kind": "js",
1771
- "name": "ActionsMenu",
2018
+ "name": "Anchor",
1772
2019
  "declaration": {
1773
- "name": "ActionsMenu",
1774
- "module": "src/actions-menu/actions-menu.ts"
2020
+ "name": "Anchor",
2021
+ "module": "src/anchor/anchor.ts"
1775
2022
  }
1776
2023
  },
1777
2024
  {
1778
2025
  "kind": "js",
1779
- "name": "foundationActionsMenu",
2026
+ "name": "foundationAnchorShadowOptions",
1780
2027
  "declaration": {
1781
- "name": "foundationActionsMenu",
1782
- "module": "src/actions-menu/actions-menu.ts"
2028
+ "name": "foundationAnchorShadowOptions",
2029
+ "module": "src/anchor/anchor.ts"
2030
+ }
2031
+ },
2032
+ {
2033
+ "kind": "js",
2034
+ "name": "defaultAnchorConfig",
2035
+ "declaration": {
2036
+ "name": "defaultAnchorConfig",
2037
+ "module": "src/anchor/anchor.ts"
2038
+ }
2039
+ },
2040
+ {
2041
+ "kind": "js",
2042
+ "name": "foundationAnchor",
2043
+ "declaration": {
2044
+ "name": "foundationAnchor",
2045
+ "module": "src/anchor/anchor.ts"
1783
2046
  }
1784
2047
  }
1785
2048
  ]
1786
2049
  },
1787
2050
  {
1788
2051
  "kind": "javascript-module",
1789
- "path": "src/actions-menu/index.ts",
2052
+ "path": "src/anchor/index.ts",
1790
2053
  "declarations": [],
1791
2054
  "exports": [
1792
2055
  {
@@ -1794,7 +2057,7 @@
1794
2057
  "name": "*",
1795
2058
  "declaration": {
1796
2059
  "name": "*",
1797
- "package": "./actions-menu.styles"
2060
+ "package": "./anchor.template"
1798
2061
  }
1799
2062
  },
1800
2063
  {
@@ -1802,7 +2065,7 @@
1802
2065
  "name": "*",
1803
2066
  "declaration": {
1804
2067
  "name": "*",
1805
- "package": "./actions-menu.template"
2068
+ "package": "./anchor.styles"
1806
2069
  }
1807
2070
  },
1808
2071
  {
@@ -1810,7 +2073,7 @@
1810
2073
  "name": "*",
1811
2074
  "declaration": {
1812
2075
  "name": "*",
1813
- "package": "./actions-menu"
2076
+ "package": "./anchor"
1814
2077
  }
1815
2078
  }
1816
2079
  ]
@@ -3407,11 +3670,42 @@
3407
3670
  },
3408
3671
  {
3409
3672
  "kind": "javascript-module",
3410
- "path": "src/accordion/accordion.styles.ts",
3673
+ "path": "src/_config/index.ts",
3674
+ "declarations": [],
3675
+ "exports": [
3676
+ {
3677
+ "kind": "js",
3678
+ "name": "*",
3679
+ "declaration": {
3680
+ "name": "*",
3681
+ "package": "./styles"
3682
+ }
3683
+ },
3684
+ {
3685
+ "kind": "js",
3686
+ "name": "*",
3687
+ "declaration": {
3688
+ "name": "*",
3689
+ "package": "./tokens"
3690
+ }
3691
+ },
3692
+ {
3693
+ "kind": "js",
3694
+ "name": "*",
3695
+ "declaration": {
3696
+ "name": "*",
3697
+ "package": "./values"
3698
+ }
3699
+ }
3700
+ ]
3701
+ },
3702
+ {
3703
+ "kind": "javascript-module",
3704
+ "path": "src/accordion-item/accordion-item.styles.ts",
3411
3705
  "declarations": [
3412
3706
  {
3413
3707
  "kind": "function",
3414
- "name": "foundationAccordionStyles",
3708
+ "name": "foundationAccordionItemStyles",
3415
3709
  "return": {
3416
3710
  "type": {
3417
3711
  "text": "ElementStyles"
@@ -3436,24 +3730,24 @@
3436
3730
  "exports": [
3437
3731
  {
3438
3732
  "kind": "js",
3439
- "name": "foundationAccordionStyles",
3733
+ "name": "foundationAccordionItemStyles",
3440
3734
  "declaration": {
3441
- "name": "foundationAccordionStyles",
3442
- "module": "src/accordion/accordion.styles.ts"
3735
+ "name": "foundationAccordionItemStyles",
3736
+ "module": "src/accordion-item/accordion-item.styles.ts"
3443
3737
  }
3444
3738
  }
3445
3739
  ]
3446
3740
  },
3447
3741
  {
3448
3742
  "kind": "javascript-module",
3449
- "path": "src/accordion/accordion.template.ts",
3743
+ "path": "src/accordion-item/accordion-item.template.ts",
3450
3744
  "declarations": [
3451
3745
  {
3452
3746
  "kind": "function",
3453
- "name": "foundationAccordionTemplate",
3747
+ "name": "foundationAccordionItemTemplate",
3454
3748
  "return": {
3455
3749
  "type": {
3456
- "text": "ViewTemplate<Accordion>"
3750
+ "text": "ViewTemplate<AccordionItem>"
3457
3751
  }
3458
3752
  },
3459
3753
  "parameters": [
@@ -3475,518 +3769,169 @@
3475
3769
  "exports": [
3476
3770
  {
3477
3771
  "kind": "js",
3478
- "name": "foundationAccordionTemplate",
3772
+ "name": "foundationAccordionItemTemplate",
3479
3773
  "declaration": {
3480
- "name": "foundationAccordionTemplate",
3481
- "module": "src/accordion/accordion.template.ts"
3774
+ "name": "foundationAccordionItemTemplate",
3775
+ "module": "src/accordion-item/accordion-item.template.ts"
3482
3776
  }
3483
3777
  }
3484
3778
  ]
3485
3779
  },
3486
3780
  {
3487
3781
  "kind": "javascript-module",
3488
- "path": "src/accordion/accordion.ts",
3782
+ "path": "src/accordion-item/accordion-item.ts",
3489
3783
  "declarations": [
3490
3784
  {
3491
3785
  "kind": "class",
3492
3786
  "description": "",
3493
- "name": "Accordion",
3787
+ "name": "AccordionItem",
3494
3788
  "superclass": {
3495
- "name": "FASTAccordion",
3496
- "package": "@microsoft/fast-foundation"
3497
- },
3498
- "tagName": "%%prefix%%-accordion",
3499
- "customElement": true
3500
- },
3501
- {
3502
- "kind": "variable",
3503
- "name": "foundationAccordionShadowOptions",
3504
- "type": {
3505
- "text": "ShadowRootInit"
3506
- },
3507
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3508
- },
3509
- {
3510
- "kind": "variable",
3511
- "name": "defaultAccordionConfig",
3512
- "type": {
3513
- "text": "object"
3789
+ "name": "FASTAccordionItem",
3790
+ "package": "@microsoft/fast-components"
3514
3791
  },
3515
- "default": "{}"
3516
- },
3517
- {
3518
- "kind": "variable",
3519
- "name": "foundationAccordion",
3520
- "description": "The Foundation Accordion",
3521
- "privacy": "public"
3522
- }
3523
- ],
3524
- "exports": [
3525
- {
3526
- "kind": "js",
3527
- "name": "Accordion",
3528
- "declaration": {
3529
- "name": "Accordion",
3530
- "module": "src/accordion/accordion.ts"
3531
- }
3532
- },
3533
- {
3534
- "kind": "js",
3535
- "name": "foundationAccordionShadowOptions",
3536
- "declaration": {
3537
- "name": "foundationAccordionShadowOptions",
3538
- "module": "src/accordion/accordion.ts"
3539
- }
3540
- },
3541
- {
3542
- "kind": "js",
3543
- "name": "defaultAccordionConfig",
3544
- "declaration": {
3545
- "name": "defaultAccordionConfig",
3546
- "module": "src/accordion/accordion.ts"
3547
- }
3548
- },
3549
- {
3550
- "kind": "js",
3551
- "name": "foundationAccordion",
3552
- "declaration": {
3553
- "name": "foundationAccordion",
3554
- "module": "src/accordion/accordion.ts"
3555
- }
3556
- }
3557
- ]
3558
- },
3559
- {
3560
- "kind": "javascript-module",
3561
- "path": "src/accordion/index.ts",
3562
- "declarations": [],
3563
- "exports": [
3564
- {
3565
- "kind": "js",
3566
- "name": "*",
3567
- "declaration": {
3568
- "name": "*",
3569
- "package": "./accordion.template"
3570
- }
3571
- },
3572
- {
3573
- "kind": "js",
3574
- "name": "*",
3575
- "declaration": {
3576
- "name": "*",
3577
- "package": "./accordion.styles"
3578
- }
3579
- },
3580
- {
3581
- "kind": "js",
3582
- "name": "*",
3583
- "declaration": {
3584
- "name": "*",
3585
- "package": "./accordion"
3586
- }
3587
- }
3588
- ]
3589
- },
3590
- {
3591
- "kind": "javascript-module",
3592
- "path": "src/_config/index.ts",
3593
- "declarations": [],
3594
- "exports": [
3595
- {
3596
- "kind": "js",
3597
- "name": "*",
3598
- "declaration": {
3599
- "name": "*",
3600
- "package": "./styles"
3601
- }
3602
- },
3603
- {
3604
- "kind": "js",
3605
- "name": "*",
3606
- "declaration": {
3607
- "name": "*",
3608
- "package": "./tokens"
3609
- }
3610
- },
3611
- {
3612
- "kind": "js",
3613
- "name": "*",
3614
- "declaration": {
3615
- "name": "*",
3616
- "package": "./values"
3617
- }
3618
- }
3619
- ]
3620
- },
3621
- {
3622
- "kind": "javascript-module",
3623
- "path": "src/anchor/anchor.styles.ts",
3624
- "declarations": [
3625
- {
3626
- "kind": "function",
3627
- "name": "foundationAnchorStyles",
3628
- "return": {
3629
- "type": {
3630
- "text": "ElementStyles"
3631
- }
3632
- },
3633
- "parameters": [
3634
- {
3635
- "name": "context",
3636
- "type": {
3637
- "text": "ElementDefinitionContext"
3638
- }
3639
- },
3640
- {
3641
- "name": "definition",
3642
- "type": {
3643
- "text": "FoundationElementDefinition"
3644
- }
3645
- }
3646
- ]
3647
- }
3648
- ],
3649
- "exports": [
3650
- {
3651
- "kind": "js",
3652
- "name": "foundationAnchorStyles",
3653
- "declaration": {
3654
- "name": "foundationAnchorStyles",
3655
- "module": "src/anchor/anchor.styles.ts"
3656
- }
3657
- }
3658
- ]
3659
- },
3660
- {
3661
- "kind": "javascript-module",
3662
- "path": "src/anchor/anchor.template.ts",
3663
- "declarations": [
3664
- {
3665
- "kind": "function",
3666
- "name": "foundationAnchorTemplate",
3667
- "return": {
3668
- "type": {
3669
- "text": "ViewTemplate<Anchor>"
3670
- }
3671
- },
3672
- "parameters": [
3673
- {
3674
- "name": "context",
3675
- "type": {
3676
- "text": "ElementDefinitionContext"
3677
- }
3678
- },
3679
- {
3680
- "name": "definition",
3681
- "type": {
3682
- "text": "FoundationElementDefinition"
3683
- }
3684
- }
3685
- ]
3686
- }
3687
- ],
3688
- "exports": [
3689
- {
3690
- "kind": "js",
3691
- "name": "foundationAnchorTemplate",
3692
- "declaration": {
3693
- "name": "foundationAnchorTemplate",
3694
- "module": "src/anchor/anchor.template.ts"
3695
- }
3696
- }
3697
- ]
3698
- },
3699
- {
3700
- "kind": "javascript-module",
3701
- "path": "src/anchor/anchor.ts",
3702
- "declarations": [
3703
- {
3704
- "kind": "class",
3705
- "description": "",
3706
- "name": "Anchor",
3707
- "superclass": {
3708
- "name": "FASTAnchor",
3709
- "package": "@microsoft/fast-components"
3710
- },
3711
- "tagName": "%%prefix%%-anchor",
3792
+ "tagName": "%%prefix%%-accordion-item",
3712
3793
  "customElement": true,
3713
3794
  "attributes": [
3714
3795
  {
3715
- "name": "download",
3796
+ "name": "heading-level",
3716
3797
  "type": {
3717
- "text": "string"
3798
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3718
3799
  },
3719
- "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.",
3720
- "fieldName": "download",
3800
+ "default": "2",
3801
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3802
+ "fieldName": "headinglevel",
3721
3803
  "inheritedFrom": {
3722
- "name": "Anchor",
3723
- "module": "src/anchor/anchor.ts"
3804
+ "name": "AccordionItem",
3805
+ "module": "src/accordion-item/accordion-item.ts"
3724
3806
  }
3725
3807
  },
3726
3808
  {
3727
- "name": "href",
3728
3809
  "type": {
3729
- "text": "string"
3810
+ "text": "boolean"
3730
3811
  },
3731
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3732
- "fieldName": "href",
3812
+ "default": "false",
3813
+ "description": "Expands or collapses the item.",
3814
+ "fieldName": "expanded",
3733
3815
  "inheritedFrom": {
3734
- "name": "Anchor",
3735
- "module": "src/anchor/anchor.ts"
3816
+ "name": "AccordionItem",
3817
+ "module": "src/accordion-item/accordion-item.ts"
3736
3818
  }
3737
3819
  },
3738
3820
  {
3739
- "name": "hreflang",
3821
+ "name": "id",
3740
3822
  "type": {
3741
3823
  "text": "string"
3742
3824
  },
3743
- "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.",
3744
- "fieldName": "hreflang",
3825
+ "description": "The item ID",
3826
+ "fieldName": "id",
3745
3827
  "inheritedFrom": {
3746
- "name": "Anchor",
3747
- "module": "src/anchor/anchor.ts"
3828
+ "name": "AccordionItem",
3829
+ "module": "src/accordion-item/accordion-item.ts"
3748
3830
  }
3749
- },
3831
+ }
3832
+ ],
3833
+ "members": [
3750
3834
  {
3751
- "name": "ping",
3835
+ "kind": "field",
3836
+ "name": "headinglevel",
3752
3837
  "type": {
3753
- "text": "string"
3838
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
3754
3839
  },
3755
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3756
- "fieldName": "ping",
3840
+ "privacy": "public",
3841
+ "default": "2",
3842
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3757
3843
  "inheritedFrom": {
3758
- "name": "Anchor",
3759
- "module": "src/anchor/anchor.ts"
3844
+ "name": "AccordionItem",
3845
+ "module": "src/accordion-item/accordion-item.ts"
3760
3846
  }
3761
3847
  },
3762
3848
  {
3763
- "name": "referrerpolicy",
3849
+ "kind": "field",
3850
+ "name": "expanded",
3764
3851
  "type": {
3765
- "text": "string"
3852
+ "text": "boolean"
3766
3853
  },
3767
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3768
- "fieldName": "referrerpolicy",
3854
+ "privacy": "public",
3855
+ "default": "false",
3856
+ "description": "Expands or collapses the item.",
3769
3857
  "inheritedFrom": {
3770
- "name": "Anchor",
3771
- "module": "src/anchor/anchor.ts"
3858
+ "name": "AccordionItem",
3859
+ "module": "src/accordion-item/accordion-item.ts"
3772
3860
  }
3773
3861
  },
3774
3862
  {
3775
- "name": "rel",
3863
+ "kind": "field",
3864
+ "name": "id",
3776
3865
  "type": {
3777
3866
  "text": "string"
3778
3867
  },
3779
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3780
- "fieldName": "rel",
3868
+ "privacy": "public",
3869
+ "description": "The item ID",
3781
3870
  "inheritedFrom": {
3782
- "name": "Anchor",
3783
- "module": "src/anchor/anchor.ts"
3871
+ "name": "AccordionItem",
3872
+ "module": "src/accordion-item/accordion-item.ts"
3784
3873
  }
3785
3874
  },
3786
3875
  {
3787
- "name": "target",
3788
- "type": {
3789
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
3790
- },
3791
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3792
- "fieldName": "target",
3876
+ "kind": "field",
3877
+ "name": "change",
3878
+ "privacy": "private",
3793
3879
  "inheritedFrom": {
3794
- "name": "Anchor",
3795
- "module": "src/anchor/anchor.ts"
3880
+ "name": "AccordionItem",
3881
+ "module": "src/accordion-item/accordion-item.ts"
3796
3882
  }
3797
3883
  },
3798
3884
  {
3799
- "name": "type",
3885
+ "kind": "field",
3886
+ "name": "_presentation",
3800
3887
  "type": {
3801
- "text": "string"
3888
+ "text": "ComponentPresentation | null | undefined"
3802
3889
  },
3803
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
3804
- "fieldName": "type",
3890
+ "privacy": "private",
3891
+ "default": "void 0",
3805
3892
  "inheritedFrom": {
3806
- "name": "Anchor",
3807
- "module": "src/anchor/anchor.ts"
3893
+ "name": "FoundationElement",
3894
+ "module": "src/foundation-element/foundation-element.ts"
3808
3895
  }
3809
- }
3810
- ],
3811
- "members": [
3896
+ },
3812
3897
  {
3813
3898
  "kind": "field",
3814
- "name": "download",
3899
+ "name": "$presentation",
3815
3900
  "type": {
3816
- "text": "string"
3901
+ "text": "ComponentPresentation | null"
3817
3902
  },
3818
3903
  "privacy": "public",
3819
- "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.",
3904
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3820
3905
  "inheritedFrom": {
3821
- "name": "Anchor",
3822
- "module": "src/anchor/anchor.ts"
3906
+ "name": "FoundationElement",
3907
+ "module": "src/foundation-element/foundation-element.ts"
3823
3908
  }
3824
3909
  },
3825
3910
  {
3826
3911
  "kind": "field",
3827
- "name": "href",
3912
+ "name": "template",
3828
3913
  "type": {
3829
- "text": "string"
3914
+ "text": "ElementViewTemplate | void | null"
3830
3915
  },
3831
3916
  "privacy": "public",
3832
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3917
+ "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.",
3833
3918
  "inheritedFrom": {
3834
- "name": "Anchor",
3835
- "module": "src/anchor/anchor.ts"
3919
+ "name": "FoundationElement",
3920
+ "module": "src/foundation-element/foundation-element.ts"
3836
3921
  }
3837
3922
  },
3838
3923
  {
3839
- "kind": "field",
3840
- "name": "hreflang",
3841
- "type": {
3842
- "text": "string"
3924
+ "kind": "method",
3925
+ "name": "templateChanged",
3926
+ "privacy": "protected",
3927
+ "return": {
3928
+ "type": {
3929
+ "text": "void"
3930
+ }
3843
3931
  },
3844
- "privacy": "public",
3845
- "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.",
3846
3932
  "inheritedFrom": {
3847
- "name": "Anchor",
3848
- "module": "src/anchor/anchor.ts"
3849
- }
3850
- },
3851
- {
3852
- "kind": "field",
3853
- "name": "ping",
3854
- "type": {
3855
- "text": "string"
3856
- },
3857
- "privacy": "public",
3858
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3859
- "inheritedFrom": {
3860
- "name": "Anchor",
3861
- "module": "src/anchor/anchor.ts"
3862
- }
3863
- },
3864
- {
3865
- "kind": "field",
3866
- "name": "referrerpolicy",
3867
- "type": {
3868
- "text": "string"
3869
- },
3870
- "privacy": "public",
3871
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3872
- "inheritedFrom": {
3873
- "name": "Anchor",
3874
- "module": "src/anchor/anchor.ts"
3875
- }
3876
- },
3877
- {
3878
- "kind": "field",
3879
- "name": "rel",
3880
- "type": {
3881
- "text": "string"
3882
- },
3883
- "privacy": "public",
3884
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3885
- "inheritedFrom": {
3886
- "name": "Anchor",
3887
- "module": "src/anchor/anchor.ts"
3888
- }
3889
- },
3890
- {
3891
- "kind": "field",
3892
- "name": "target",
3893
- "type": {
3894
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
3895
- },
3896
- "privacy": "public",
3897
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3898
- "inheritedFrom": {
3899
- "name": "Anchor",
3900
- "module": "src/anchor/anchor.ts"
3901
- }
3902
- },
3903
- {
3904
- "kind": "field",
3905
- "name": "type",
3906
- "type": {
3907
- "text": "string"
3908
- },
3909
- "privacy": "public",
3910
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
3911
- "inheritedFrom": {
3912
- "name": "Anchor",
3913
- "module": "src/anchor/anchor.ts"
3914
- }
3915
- },
3916
- {
3917
- "kind": "field",
3918
- "name": "control",
3919
- "type": {
3920
- "text": "HTMLAnchorElement | undefined"
3921
- },
3922
- "privacy": "public",
3923
- "description": "References the root element",
3924
- "inheritedFrom": {
3925
- "name": "Anchor",
3926
- "module": "src/anchor/anchor.ts"
3927
- }
3928
- },
3929
- {
3930
- "kind": "field",
3931
- "name": "handleUnsupportedDelegatesFocus",
3932
- "privacy": "private",
3933
- "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",
3934
- "inheritedFrom": {
3935
- "name": "Anchor",
3936
- "module": "src/anchor/anchor.ts"
3937
- }
3938
- },
3939
- {
3940
- "kind": "field",
3941
- "name": "_presentation",
3942
- "type": {
3943
- "text": "ComponentPresentation | null | undefined"
3944
- },
3945
- "privacy": "private",
3946
- "default": "void 0",
3947
- "inheritedFrom": {
3948
- "name": "FoundationElement",
3949
- "module": "src/foundation-element/foundation-element.ts"
3950
- }
3951
- },
3952
- {
3953
- "kind": "field",
3954
- "name": "$presentation",
3955
- "type": {
3956
- "text": "ComponentPresentation | null"
3957
- },
3958
- "privacy": "public",
3959
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3960
- "inheritedFrom": {
3961
- "name": "FoundationElement",
3962
- "module": "src/foundation-element/foundation-element.ts"
3963
- }
3964
- },
3965
- {
3966
- "kind": "field",
3967
- "name": "template",
3968
- "type": {
3969
- "text": "ElementViewTemplate | void | null"
3970
- },
3971
- "privacy": "public",
3972
- "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.",
3973
- "inheritedFrom": {
3974
- "name": "FoundationElement",
3975
- "module": "src/foundation-element/foundation-element.ts"
3976
- }
3977
- },
3978
- {
3979
- "kind": "method",
3980
- "name": "templateChanged",
3981
- "privacy": "protected",
3982
- "return": {
3983
- "type": {
3984
- "text": "void"
3985
- }
3986
- },
3987
- "inheritedFrom": {
3988
- "name": "FoundationElement",
3989
- "module": "src/foundation-element/foundation-element.ts"
3933
+ "name": "FoundationElement",
3934
+ "module": "src/foundation-element/foundation-element.ts"
3990
3935
  }
3991
3936
  },
3992
3937
  {
@@ -4047,11 +3992,21 @@
4047
3992
  "module": "src/foundation-element/foundation-element.ts"
4048
3993
  }
4049
3994
  }
3995
+ ],
3996
+ "events": [
3997
+ {
3998
+ "description": "Fires a custom 'change' event when the button is invoked",
3999
+ "name": "change",
4000
+ "inheritedFrom": {
4001
+ "name": "AccordionItem",
4002
+ "module": "src/accordion-item/accordion-item.ts"
4003
+ }
4004
+ }
4050
4005
  ]
4051
4006
  },
4052
4007
  {
4053
4008
  "kind": "variable",
4054
- "name": "foundationAnchorShadowOptions",
4009
+ "name": "foundationAccordionItemShadowOptions",
4055
4010
  "type": {
4056
4011
  "text": "ShadowRootInit"
4057
4012
  },
@@ -4059,57 +4014,57 @@
4059
4014
  },
4060
4015
  {
4061
4016
  "kind": "variable",
4062
- "name": "defaultAnchorConfig",
4017
+ "name": "defaultAccordionItemConfig",
4063
4018
  "type": {
4064
4019
  "text": "object"
4065
4020
  },
4066
- "default": "{}"
4021
+ "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}"
4067
4022
  },
4068
4023
  {
4069
4024
  "kind": "variable",
4070
- "name": "foundationAnchor",
4071
- "description": "The Foundation Anchor",
4025
+ "name": "foundationAccordionItem",
4026
+ "description": "The Foundation Accordion Item",
4072
4027
  "privacy": "public"
4073
4028
  }
4074
4029
  ],
4075
4030
  "exports": [
4076
4031
  {
4077
4032
  "kind": "js",
4078
- "name": "Anchor",
4033
+ "name": "AccordionItem",
4079
4034
  "declaration": {
4080
- "name": "Anchor",
4081
- "module": "src/anchor/anchor.ts"
4035
+ "name": "AccordionItem",
4036
+ "module": "src/accordion-item/accordion-item.ts"
4082
4037
  }
4083
4038
  },
4084
4039
  {
4085
4040
  "kind": "js",
4086
- "name": "foundationAnchorShadowOptions",
4041
+ "name": "foundationAccordionItemShadowOptions",
4087
4042
  "declaration": {
4088
- "name": "foundationAnchorShadowOptions",
4089
- "module": "src/anchor/anchor.ts"
4043
+ "name": "foundationAccordionItemShadowOptions",
4044
+ "module": "src/accordion-item/accordion-item.ts"
4090
4045
  }
4091
4046
  },
4092
4047
  {
4093
4048
  "kind": "js",
4094
- "name": "defaultAnchorConfig",
4049
+ "name": "defaultAccordionItemConfig",
4095
4050
  "declaration": {
4096
- "name": "defaultAnchorConfig",
4097
- "module": "src/anchor/anchor.ts"
4051
+ "name": "defaultAccordionItemConfig",
4052
+ "module": "src/accordion-item/accordion-item.ts"
4098
4053
  }
4099
4054
  },
4100
4055
  {
4101
4056
  "kind": "js",
4102
- "name": "foundationAnchor",
4057
+ "name": "foundationAccordionItem",
4103
4058
  "declaration": {
4104
- "name": "foundationAnchor",
4105
- "module": "src/anchor/anchor.ts"
4059
+ "name": "foundationAccordionItem",
4060
+ "module": "src/accordion-item/accordion-item.ts"
4106
4061
  }
4107
4062
  }
4108
4063
  ]
4109
4064
  },
4110
4065
  {
4111
4066
  "kind": "javascript-module",
4112
- "path": "src/anchor/index.ts",
4067
+ "path": "src/accordion-item/index.ts",
4113
4068
  "declarations": [],
4114
4069
  "exports": [
4115
4070
  {
@@ -4117,7 +4072,7 @@
4117
4072
  "name": "*",
4118
4073
  "declaration": {
4119
4074
  "name": "*",
4120
- "package": "./anchor.template"
4075
+ "package": "./accordion-item.template"
4121
4076
  }
4122
4077
  },
4123
4078
  {
@@ -4125,7 +4080,7 @@
4125
4080
  "name": "*",
4126
4081
  "declaration": {
4127
4082
  "name": "*",
4128
- "package": "./anchor.styles"
4083
+ "package": "./accordion-item.styles"
4129
4084
  }
4130
4085
  },
4131
4086
  {
@@ -4133,7 +4088,52 @@
4133
4088
  "name": "*",
4134
4089
  "declaration": {
4135
4090
  "name": "*",
4136
- "package": "./anchor"
4091
+ "package": "./accordion-item"
4092
+ }
4093
+ }
4094
+ ]
4095
+ },
4096
+ {
4097
+ "kind": "javascript-module",
4098
+ "path": "src/_common/icons.ts",
4099
+ "declarations": [
4100
+ {
4101
+ "kind": "function",
4102
+ "name": "closeIcon",
4103
+ "parameters": [
4104
+ {
4105
+ "name": "slot",
4106
+ "default": "'start'"
4107
+ },
4108
+ {
4109
+ "name": "fill",
4110
+ "default": "'#879ba6'"
4111
+ }
4112
+ ]
4113
+ }
4114
+ ],
4115
+ "exports": [
4116
+ {
4117
+ "kind": "js",
4118
+ "name": "closeIcon",
4119
+ "declaration": {
4120
+ "name": "closeIcon",
4121
+ "module": "src/_common/icons.ts"
4122
+ }
4123
+ }
4124
+ ]
4125
+ },
4126
+ {
4127
+ "kind": "javascript-module",
4128
+ "path": "src/_common/index.ts",
4129
+ "declarations": [],
4130
+ "exports": [
4131
+ {
4132
+ "kind": "js",
4133
+ "name": "*",
4134
+ "declaration": {
4135
+ "name": "*",
4136
+ "package": "./icons"
4137
4137
  }
4138
4138
  }
4139
4139
  ]
@@ -4930,185 +4930,125 @@
4930
4930
  },
4931
4931
  {
4932
4932
  "kind": "javascript-module",
4933
- "path": "src/breadcrumb/breadcrumb.styles.ts",
4933
+ "path": "src/banner/banner.styles.ts",
4934
4934
  "declarations": [
4935
4935
  {
4936
- "kind": "function",
4937
- "name": "foundationBreadcrumbStyles",
4938
- "return": {
4939
- "type": {
4940
- "text": "ElementStyles"
4941
- }
4936
+ "kind": "variable",
4937
+ "name": "foundationBannerStyles",
4938
+ "type": {
4939
+ "text": "ElementStyles"
4942
4940
  },
4943
- "parameters": [
4944
- {
4945
- "name": "context",
4946
- "type": {
4947
- "text": "ElementDefinitionContext"
4948
- }
4949
- },
4950
- {
4951
- "name": "definition",
4952
- "type": {
4953
- "text": "FoundationElementDefinition"
4954
- }
4955
- }
4956
- ]
4941
+ "default": "css`\n @keyframes delete-animate {\n from {\n height: 100px;\n opacity: 100%;\n }\n\n to {\n height: 0;\n opacity: 0%;\n }\n }\n\n @keyframes append-animate {\n from {\n height: 0;\n opacity: 0%;\n }\n\n to {\n height: var(--banner-height);\n opacity: 100%;\n }\n }\n\n :host {\n --banner-width: 100%;\n --banner-height: 65px;\n --flow: row;\n }\n\n @media screen and (max-width: 640px) {\n :host {\n --flow: column;\n --banner-height: 100px;\n }\n }\n\n .banner {\n animation: append-animate 0.3s linear;\n width: var(--banner-width);\n height: var(--banner-height);\n background-color: var(--fill-color);\n display: flex;\n flex-direction: var(--flow);\n padding: 5px 8px;\n box-sizing: border-box;\n overflow: hidden;\n }\n\n .banner-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .content {\n display: flex;\n align-items: center;\n flex: 2;\n font-size: 12px;\n overflow: hidden;\n }\n\n .action {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n gap: 10px;\n flex: 1;\n overflow: hidden;\n }\n`"
4957
4942
  }
4958
4943
  ],
4959
4944
  "exports": [
4960
4945
  {
4961
4946
  "kind": "js",
4962
- "name": "foundationBreadcrumbStyles",
4947
+ "name": "foundationBannerStyles",
4963
4948
  "declaration": {
4964
- "name": "foundationBreadcrumbStyles",
4965
- "module": "src/breadcrumb/breadcrumb.styles.ts"
4949
+ "name": "foundationBannerStyles",
4950
+ "module": "src/banner/banner.styles.ts"
4966
4951
  }
4967
4952
  }
4968
4953
  ]
4969
4954
  },
4970
4955
  {
4971
4956
  "kind": "javascript-module",
4972
- "path": "src/breadcrumb/breadcrumb.template.ts",
4957
+ "path": "src/banner/banner.template.ts",
4973
4958
  "declarations": [
4974
4959
  {
4975
4960
  "kind": "function",
4976
- "name": "foundationBreadcrumbTemplate",
4977
- "return": {
4978
- "type": {
4979
- "text": "ViewTemplate<Breadcrumb>"
4980
- }
4981
- },
4961
+ "name": "getBannerTemplate",
4982
4962
  "parameters": [
4983
4963
  {
4984
- "name": "context",
4985
- "type": {
4986
- "text": "ElementDefinitionContext"
4987
- }
4988
- },
4989
- {
4990
- "name": "definition",
4964
+ "name": "prefix",
4991
4965
  "type": {
4992
- "text": "FoundationElementDefinition"
4966
+ "text": "string"
4993
4967
  }
4994
4968
  }
4995
4969
  ]
4970
+ },
4971
+ {
4972
+ "kind": "variable",
4973
+ "name": "foundationBannerTemplate",
4974
+ "default": "html<Banner>`\n ${(x) => getBannerTemplate(getPrefix(x))}\n`"
4996
4975
  }
4997
4976
  ],
4998
4977
  "exports": [
4999
4978
  {
5000
4979
  "kind": "js",
5001
- "name": "foundationBreadcrumbTemplate",
4980
+ "name": "getBannerTemplate",
5002
4981
  "declaration": {
5003
- "name": "foundationBreadcrumbTemplate",
5004
- "module": "src/breadcrumb/breadcrumb.template.ts"
4982
+ "name": "getBannerTemplate",
4983
+ "module": "src/banner/banner.template.ts"
4984
+ }
4985
+ },
4986
+ {
4987
+ "kind": "js",
4988
+ "name": "foundationBannerTemplate",
4989
+ "declaration": {
4990
+ "name": "foundationBannerTemplate",
4991
+ "module": "src/banner/banner.template.ts"
5005
4992
  }
5006
4993
  }
5007
4994
  ]
5008
4995
  },
5009
4996
  {
5010
4997
  "kind": "javascript-module",
5011
- "path": "src/breadcrumb/breadcrumb.ts",
4998
+ "path": "src/banner/banner.ts",
5012
4999
  "declarations": [
5000
+ {
5001
+ "kind": "variable",
5002
+ "name": "foundationBannerShadowOptions",
5003
+ "type": {
5004
+ "text": "ShadowRootInit"
5005
+ },
5006
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
5007
+ },
5013
5008
  {
5014
5009
  "kind": "class",
5015
5010
  "description": "",
5016
- "name": "Breadcrumb",
5017
- "superclass": {
5018
- "name": "FASTBreadcrumb",
5019
- "package": "@microsoft/fast-components"
5020
- },
5021
- "tagName": "%%prefix%%-breadcrumb",
5022
- "customElement": true,
5011
+ "name": "Banner",
5023
5012
  "members": [
5024
5013
  {
5025
- "kind": "method",
5026
- "name": "slottedBreadcrumbItemsChanged",
5027
- "privacy": "public",
5028
- "inheritedFrom": {
5029
- "name": "Breadcrumb",
5030
- "module": "src/breadcrumb/breadcrumb.ts"
5031
- }
5014
+ "kind": "field",
5015
+ "name": "banner",
5016
+ "type": {
5017
+ "text": "HTMLElement"
5018
+ },
5019
+ "privacy": "public"
5032
5020
  },
5033
5021
  {
5034
- "kind": "method",
5035
- "name": "setItemSeparator",
5036
- "privacy": "private",
5037
- "return": {
5038
- "type": {
5039
- "text": "void"
5040
- }
5022
+ "kind": "field",
5023
+ "name": "dismissAnimation",
5024
+ "type": {
5025
+ "text": "'banner-delete' | ''"
5041
5026
  },
5042
- "parameters": [
5043
- {
5044
- "name": "item",
5045
- "type": {
5046
- "text": "HTMLElement"
5047
- }
5048
- },
5049
- {
5050
- "name": "isLastNode",
5051
- "type": {
5052
- "text": "boolean"
5053
- }
5054
- }
5055
- ],
5056
- "inheritedFrom": {
5057
- "name": "Breadcrumb",
5058
- "module": "src/breadcrumb/breadcrumb.ts"
5027
+ "default": "''"
5028
+ },
5029
+ {
5030
+ "kind": "field",
5031
+ "name": "notification",
5032
+ "type": {
5033
+ "text": "NotificationStructure"
5059
5034
  }
5060
5035
  },
5061
5036
  {
5062
5037
  "kind": "method",
5063
- "name": "findChildWithHref",
5064
- "privacy": "private",
5038
+ "name": "dismiss",
5039
+ "privacy": "public",
5065
5040
  "return": {
5066
5041
  "type": {
5067
- "text": "HTMLElement | null"
5042
+ "text": "Promise<void>"
5068
5043
  }
5069
5044
  },
5070
- "parameters": [
5071
- {
5072
- "name": "node",
5073
- "type": {
5074
- "text": "HTMLElement"
5075
- }
5076
- }
5077
- ],
5078
- "description": "Finds href on childnodes in the light DOM or shadow DOM.\nWe look in the shadow DOM because we insert an anchor when breadcrumb-item has an href.",
5079
- "inheritedFrom": {
5080
- "name": "Breadcrumb",
5081
- "module": "src/breadcrumb/breadcrumb.ts"
5082
- }
5045
+ "description": "Dismiss the Banner from display."
5083
5046
  },
5084
5047
  {
5085
5048
  "kind": "method",
5086
- "name": "setAriaCurrent",
5087
- "privacy": "private",
5088
- "return": {
5089
- "type": {
5090
- "text": "void"
5091
- }
5092
- },
5093
- "parameters": [
5094
- {
5095
- "name": "item",
5096
- "type": {
5097
- "text": "HTMLElement"
5098
- }
5099
- },
5100
- {
5101
- "name": "isLastNode",
5102
- "type": {
5103
- "text": "boolean"
5104
- }
5105
- }
5106
- ],
5107
- "description": "Sets ARIA Current for the current node\nIf child node with an anchor tag and with href is found then set aria-current to correct value for the child node,\notherwise apply aria-current to the host element, with an href",
5108
- "inheritedFrom": {
5109
- "name": "Breadcrumb",
5110
- "module": "src/breadcrumb/breadcrumb.ts"
5111
- }
5049
+ "name": "dismissNotification",
5050
+ "privacy": "public",
5051
+ "description": "Dismiss the Banner (NotificationStructure) from display."
5112
5052
  },
5113
5053
  {
5114
5054
  "kind": "field",
@@ -5221,69 +5161,51 @@
5221
5161
  "module": "src/foundation-element/foundation-element.ts"
5222
5162
  }
5223
5163
  }
5224
- ]
5225
- },
5226
- {
5227
- "kind": "variable",
5228
- "name": "foundationBreadcrumbShadowOptions",
5229
- "type": {
5230
- "text": "ShadowRootInit"
5231
- },
5232
- "default": "undefined"
5233
- },
5234
- {
5235
- "kind": "variable",
5236
- "name": "defaultBreadcrumbConfig",
5237
- "type": {
5238
- "text": "object"
5164
+ ],
5165
+ "superclass": {
5166
+ "name": "FoundationElement",
5167
+ "package": "@microsoft/fast-foundation"
5239
5168
  },
5240
- "default": "{}"
5169
+ "tagName": "%%prefix%%-banner",
5170
+ "customElement": true
5241
5171
  },
5242
5172
  {
5243
5173
  "kind": "variable",
5244
- "name": "foundationBreadcrumb",
5245
- "description": "The Foundation Breadcrumb",
5174
+ "name": "foundationBanner",
5175
+ "description": "The Foundation Banner",
5246
5176
  "privacy": "public"
5247
5177
  }
5248
5178
  ],
5249
5179
  "exports": [
5250
5180
  {
5251
5181
  "kind": "js",
5252
- "name": "Breadcrumb",
5253
- "declaration": {
5254
- "name": "Breadcrumb",
5255
- "module": "src/breadcrumb/breadcrumb.ts"
5256
- }
5257
- },
5258
- {
5259
- "kind": "js",
5260
- "name": "foundationBreadcrumbShadowOptions",
5182
+ "name": "foundationBannerShadowOptions",
5261
5183
  "declaration": {
5262
- "name": "foundationBreadcrumbShadowOptions",
5263
- "module": "src/breadcrumb/breadcrumb.ts"
5184
+ "name": "foundationBannerShadowOptions",
5185
+ "module": "src/banner/banner.ts"
5264
5186
  }
5265
5187
  },
5266
5188
  {
5267
5189
  "kind": "js",
5268
- "name": "defaultBreadcrumbConfig",
5190
+ "name": "Banner",
5269
5191
  "declaration": {
5270
- "name": "defaultBreadcrumbConfig",
5271
- "module": "src/breadcrumb/breadcrumb.ts"
5192
+ "name": "Banner",
5193
+ "module": "src/banner/banner.ts"
5272
5194
  }
5273
5195
  },
5274
5196
  {
5275
5197
  "kind": "js",
5276
- "name": "foundationBreadcrumb",
5198
+ "name": "foundationBanner",
5277
5199
  "declaration": {
5278
- "name": "foundationBreadcrumb",
5279
- "module": "src/breadcrumb/breadcrumb.ts"
5200
+ "name": "foundationBanner",
5201
+ "module": "src/banner/banner.ts"
5280
5202
  }
5281
5203
  }
5282
5204
  ]
5283
5205
  },
5284
5206
  {
5285
5207
  "kind": "javascript-module",
5286
- "path": "src/breadcrumb/index.ts",
5208
+ "path": "src/banner/index.ts",
5287
5209
  "declarations": [],
5288
5210
  "exports": [
5289
5211
  {
@@ -5291,7 +5213,7 @@
5291
5213
  "name": "*",
5292
5214
  "declaration": {
5293
5215
  "name": "*",
5294
- "package": "./breadcrumb.template"
5216
+ "package": "./banner.styles"
5295
5217
  }
5296
5218
  },
5297
5219
  {
@@ -5299,7 +5221,7 @@
5299
5221
  "name": "*",
5300
5222
  "declaration": {
5301
5223
  "name": "*",
5302
- "package": "./breadcrumb.styles"
5224
+ "package": "./banner.template"
5303
5225
  }
5304
5226
  },
5305
5227
  {
@@ -5307,132 +5229,192 @@
5307
5229
  "name": "*",
5308
5230
  "declaration": {
5309
5231
  "name": "*",
5310
- "package": "./breadcrumb"
5232
+ "package": "./banner"
5311
5233
  }
5312
5234
  }
5313
5235
  ]
5314
5236
  },
5315
5237
  {
5316
5238
  "kind": "javascript-module",
5317
- "path": "src/banner/banner.styles.ts",
5239
+ "path": "src/breadcrumb/breadcrumb.styles.ts",
5318
5240
  "declarations": [
5319
5241
  {
5320
- "kind": "variable",
5321
- "name": "foundationBannerStyles",
5322
- "type": {
5323
- "text": "ElementStyles"
5242
+ "kind": "function",
5243
+ "name": "foundationBreadcrumbStyles",
5244
+ "return": {
5245
+ "type": {
5246
+ "text": "ElementStyles"
5247
+ }
5324
5248
  },
5325
- "default": "css`\n @keyframes delete-animate {\n from {\n height: 100px;\n opacity: 100%;\n }\n\n to {\n height: 0;\n opacity: 0%;\n }\n }\n\n @keyframes append-animate {\n from {\n height: 0;\n opacity: 0%;\n }\n\n to {\n height: var(--banner-height);\n opacity: 100%;\n }\n }\n\n :host {\n --banner-width: 100%;\n --banner-height: 65px;\n --flow: row;\n }\n\n @media screen and (max-width: 640px) {\n :host {\n --flow: column;\n --banner-height: 100px;\n }\n }\n\n .banner {\n animation: append-animate 0.3s linear;\n width: var(--banner-width);\n height: var(--banner-height);\n background-color: var(--fill-color);\n display: flex;\n flex-direction: var(--flow);\n padding: 5px 8px;\n box-sizing: border-box;\n overflow: hidden;\n }\n\n .banner-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .content {\n display: flex;\n align-items: center;\n flex: 2;\n font-size: 12px;\n overflow: hidden;\n }\n\n .action {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n gap: 10px;\n flex: 1;\n overflow: hidden;\n }\n`"
5249
+ "parameters": [
5250
+ {
5251
+ "name": "context",
5252
+ "type": {
5253
+ "text": "ElementDefinitionContext"
5254
+ }
5255
+ },
5256
+ {
5257
+ "name": "definition",
5258
+ "type": {
5259
+ "text": "FoundationElementDefinition"
5260
+ }
5261
+ }
5262
+ ]
5326
5263
  }
5327
5264
  ],
5328
5265
  "exports": [
5329
5266
  {
5330
5267
  "kind": "js",
5331
- "name": "foundationBannerStyles",
5268
+ "name": "foundationBreadcrumbStyles",
5332
5269
  "declaration": {
5333
- "name": "foundationBannerStyles",
5334
- "module": "src/banner/banner.styles.ts"
5270
+ "name": "foundationBreadcrumbStyles",
5271
+ "module": "src/breadcrumb/breadcrumb.styles.ts"
5335
5272
  }
5336
5273
  }
5337
5274
  ]
5338
5275
  },
5339
5276
  {
5340
5277
  "kind": "javascript-module",
5341
- "path": "src/banner/banner.template.ts",
5278
+ "path": "src/breadcrumb/breadcrumb.template.ts",
5342
5279
  "declarations": [
5343
5280
  {
5344
5281
  "kind": "function",
5345
- "name": "getBannerTemplate",
5282
+ "name": "foundationBreadcrumbTemplate",
5283
+ "return": {
5284
+ "type": {
5285
+ "text": "ViewTemplate<Breadcrumb>"
5286
+ }
5287
+ },
5346
5288
  "parameters": [
5347
5289
  {
5348
- "name": "prefix",
5290
+ "name": "context",
5349
5291
  "type": {
5350
- "text": "string"
5292
+ "text": "ElementDefinitionContext"
5293
+ }
5294
+ },
5295
+ {
5296
+ "name": "definition",
5297
+ "type": {
5298
+ "text": "FoundationElementDefinition"
5351
5299
  }
5352
5300
  }
5353
5301
  ]
5354
- },
5355
- {
5356
- "kind": "variable",
5357
- "name": "foundationBannerTemplate",
5358
- "default": "html<Banner>`\n ${(x) => getBannerTemplate(getPrefix(x))}\n`"
5359
5302
  }
5360
5303
  ],
5361
5304
  "exports": [
5362
5305
  {
5363
5306
  "kind": "js",
5364
- "name": "getBannerTemplate",
5365
- "declaration": {
5366
- "name": "getBannerTemplate",
5367
- "module": "src/banner/banner.template.ts"
5368
- }
5369
- },
5370
- {
5371
- "kind": "js",
5372
- "name": "foundationBannerTemplate",
5307
+ "name": "foundationBreadcrumbTemplate",
5373
5308
  "declaration": {
5374
- "name": "foundationBannerTemplate",
5375
- "module": "src/banner/banner.template.ts"
5309
+ "name": "foundationBreadcrumbTemplate",
5310
+ "module": "src/breadcrumb/breadcrumb.template.ts"
5376
5311
  }
5377
5312
  }
5378
5313
  ]
5379
5314
  },
5380
5315
  {
5381
5316
  "kind": "javascript-module",
5382
- "path": "src/banner/banner.ts",
5317
+ "path": "src/breadcrumb/breadcrumb.ts",
5383
5318
  "declarations": [
5384
- {
5385
- "kind": "variable",
5386
- "name": "foundationBannerShadowOptions",
5387
- "type": {
5388
- "text": "ShadowRootInit"
5389
- },
5390
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
5391
- },
5392
5319
  {
5393
5320
  "kind": "class",
5394
5321
  "description": "",
5395
- "name": "Banner",
5322
+ "name": "Breadcrumb",
5323
+ "superclass": {
5324
+ "name": "FASTBreadcrumb",
5325
+ "package": "@microsoft/fast-components"
5326
+ },
5327
+ "tagName": "%%prefix%%-breadcrumb",
5328
+ "customElement": true,
5396
5329
  "members": [
5397
5330
  {
5398
- "kind": "field",
5399
- "name": "banner",
5400
- "type": {
5401
- "text": "HTMLElement"
5402
- },
5403
- "privacy": "public"
5331
+ "kind": "method",
5332
+ "name": "slottedBreadcrumbItemsChanged",
5333
+ "privacy": "public",
5334
+ "inheritedFrom": {
5335
+ "name": "Breadcrumb",
5336
+ "module": "src/breadcrumb/breadcrumb.ts"
5337
+ }
5404
5338
  },
5405
5339
  {
5406
- "kind": "field",
5407
- "name": "dismissAnimation",
5408
- "type": {
5409
- "text": "'banner-delete' | ''"
5340
+ "kind": "method",
5341
+ "name": "setItemSeparator",
5342
+ "privacy": "private",
5343
+ "return": {
5344
+ "type": {
5345
+ "text": "void"
5346
+ }
5410
5347
  },
5411
- "default": "''"
5412
- },
5413
- {
5414
- "kind": "field",
5415
- "name": "notification",
5416
- "type": {
5417
- "text": "NotificationStructure"
5348
+ "parameters": [
5349
+ {
5350
+ "name": "item",
5351
+ "type": {
5352
+ "text": "HTMLElement"
5353
+ }
5354
+ },
5355
+ {
5356
+ "name": "isLastNode",
5357
+ "type": {
5358
+ "text": "boolean"
5359
+ }
5360
+ }
5361
+ ],
5362
+ "inheritedFrom": {
5363
+ "name": "Breadcrumb",
5364
+ "module": "src/breadcrumb/breadcrumb.ts"
5418
5365
  }
5419
5366
  },
5420
5367
  {
5421
5368
  "kind": "method",
5422
- "name": "dismiss",
5423
- "privacy": "public",
5369
+ "name": "findChildWithHref",
5370
+ "privacy": "private",
5424
5371
  "return": {
5425
5372
  "type": {
5426
- "text": "Promise<void>"
5373
+ "text": "HTMLElement | null"
5427
5374
  }
5428
5375
  },
5429
- "description": "Dismiss the Banner from display."
5376
+ "parameters": [
5377
+ {
5378
+ "name": "node",
5379
+ "type": {
5380
+ "text": "HTMLElement"
5381
+ }
5382
+ }
5383
+ ],
5384
+ "description": "Finds href on childnodes in the light DOM or shadow DOM.\nWe look in the shadow DOM because we insert an anchor when breadcrumb-item has an href.",
5385
+ "inheritedFrom": {
5386
+ "name": "Breadcrumb",
5387
+ "module": "src/breadcrumb/breadcrumb.ts"
5388
+ }
5430
5389
  },
5431
5390
  {
5432
5391
  "kind": "method",
5433
- "name": "dismissNotification",
5434
- "privacy": "public",
5435
- "description": "Dismiss the Banner (NotificationStructure) from display."
5392
+ "name": "setAriaCurrent",
5393
+ "privacy": "private",
5394
+ "return": {
5395
+ "type": {
5396
+ "text": "void"
5397
+ }
5398
+ },
5399
+ "parameters": [
5400
+ {
5401
+ "name": "item",
5402
+ "type": {
5403
+ "text": "HTMLElement"
5404
+ }
5405
+ },
5406
+ {
5407
+ "name": "isLastNode",
5408
+ "type": {
5409
+ "text": "boolean"
5410
+ }
5411
+ }
5412
+ ],
5413
+ "description": "Sets ARIA Current for the current node\nIf child node with an anchor tag and with href is found then set aria-current to correct value for the child node,\notherwise apply aria-current to the host element, with an href",
5414
+ "inheritedFrom": {
5415
+ "name": "Breadcrumb",
5416
+ "module": "src/breadcrumb/breadcrumb.ts"
5417
+ }
5436
5418
  },
5437
5419
  {
5438
5420
  "kind": "field",
@@ -5545,51 +5527,69 @@
5545
5527
  "module": "src/foundation-element/foundation-element.ts"
5546
5528
  }
5547
5529
  }
5548
- ],
5549
- "superclass": {
5550
- "name": "FoundationElement",
5551
- "package": "@microsoft/fast-foundation"
5530
+ ]
5531
+ },
5532
+ {
5533
+ "kind": "variable",
5534
+ "name": "foundationBreadcrumbShadowOptions",
5535
+ "type": {
5536
+ "text": "ShadowRootInit"
5552
5537
  },
5553
- "tagName": "%%prefix%%-banner",
5554
- "customElement": true
5538
+ "default": "undefined"
5555
5539
  },
5556
5540
  {
5557
5541
  "kind": "variable",
5558
- "name": "foundationBanner",
5559
- "description": "The Foundation Banner",
5542
+ "name": "defaultBreadcrumbConfig",
5543
+ "type": {
5544
+ "text": "object"
5545
+ },
5546
+ "default": "{}"
5547
+ },
5548
+ {
5549
+ "kind": "variable",
5550
+ "name": "foundationBreadcrumb",
5551
+ "description": "The Foundation Breadcrumb",
5560
5552
  "privacy": "public"
5561
5553
  }
5562
5554
  ],
5563
5555
  "exports": [
5564
5556
  {
5565
5557
  "kind": "js",
5566
- "name": "foundationBannerShadowOptions",
5558
+ "name": "Breadcrumb",
5567
5559
  "declaration": {
5568
- "name": "foundationBannerShadowOptions",
5569
- "module": "src/banner/banner.ts"
5560
+ "name": "Breadcrumb",
5561
+ "module": "src/breadcrumb/breadcrumb.ts"
5570
5562
  }
5571
5563
  },
5572
5564
  {
5573
5565
  "kind": "js",
5574
- "name": "Banner",
5566
+ "name": "foundationBreadcrumbShadowOptions",
5575
5567
  "declaration": {
5576
- "name": "Banner",
5577
- "module": "src/banner/banner.ts"
5568
+ "name": "foundationBreadcrumbShadowOptions",
5569
+ "module": "src/breadcrumb/breadcrumb.ts"
5578
5570
  }
5579
5571
  },
5580
5572
  {
5581
5573
  "kind": "js",
5582
- "name": "foundationBanner",
5574
+ "name": "defaultBreadcrumbConfig",
5583
5575
  "declaration": {
5584
- "name": "foundationBanner",
5585
- "module": "src/banner/banner.ts"
5576
+ "name": "defaultBreadcrumbConfig",
5577
+ "module": "src/breadcrumb/breadcrumb.ts"
5578
+ }
5579
+ },
5580
+ {
5581
+ "kind": "js",
5582
+ "name": "foundationBreadcrumb",
5583
+ "declaration": {
5584
+ "name": "foundationBreadcrumb",
5585
+ "module": "src/breadcrumb/breadcrumb.ts"
5586
5586
  }
5587
5587
  }
5588
5588
  ]
5589
5589
  },
5590
5590
  {
5591
5591
  "kind": "javascript-module",
5592
- "path": "src/banner/index.ts",
5592
+ "path": "src/breadcrumb/index.ts",
5593
5593
  "declarations": [],
5594
5594
  "exports": [
5595
5595
  {
@@ -5597,7 +5597,7 @@
5597
5597
  "name": "*",
5598
5598
  "declaration": {
5599
5599
  "name": "*",
5600
- "package": "./banner.styles"
5600
+ "package": "./breadcrumb.template"
5601
5601
  }
5602
5602
  },
5603
5603
  {
@@ -5605,7 +5605,7 @@
5605
5605
  "name": "*",
5606
5606
  "declaration": {
5607
5607
  "name": "*",
5608
- "package": "./banner.template"
5608
+ "package": "./breadcrumb.styles"
5609
5609
  }
5610
5610
  },
5611
5611
  {
@@ -5613,7 +5613,7 @@
5613
5613
  "name": "*",
5614
5614
  "declaration": {
5615
5615
  "name": "*",
5616
- "package": "./banner"
5616
+ "package": "./breadcrumb"
5617
5617
  }
5618
5618
  }
5619
5619
  ]
@@ -9334,11 +9334,11 @@
9334
9334
  },
9335
9335
  {
9336
9336
  "kind": "javascript-module",
9337
- "path": "src/data-grid/data-grid.styles.ts",
9337
+ "path": "src/connection-indicator/connection-indicator.styles.ts",
9338
9338
  "declarations": [
9339
9339
  {
9340
9340
  "kind": "function",
9341
- "name": "foundationDataGridStyles",
9341
+ "name": "foundationConnectionIndicatorStyles",
9342
9342
  "return": {
9343
9343
  "type": {
9344
9344
  "text": "ElementStyles"
@@ -9352,7 +9352,7 @@
9352
9352
  }
9353
9353
  },
9354
9354
  {
9355
- "name": "defintion",
9355
+ "name": "definition",
9356
9356
  "type": {
9357
9357
  "text": "FoundationElementDefinition"
9358
9358
  }
@@ -9363,123 +9363,96 @@
9363
9363
  "exports": [
9364
9364
  {
9365
9365
  "kind": "js",
9366
- "name": "foundationDataGridStyles",
9366
+ "name": "foundationConnectionIndicatorStyles",
9367
9367
  "declaration": {
9368
- "name": "foundationDataGridStyles",
9369
- "module": "src/data-grid/data-grid.styles.ts"
9368
+ "name": "foundationConnectionIndicatorStyles",
9369
+ "module": "src/connection-indicator/connection-indicator.styles.ts"
9370
9370
  }
9371
9371
  }
9372
9372
  ]
9373
9373
  },
9374
9374
  {
9375
9375
  "kind": "javascript-module",
9376
- "path": "src/data-grid/data-grid.template.ts",
9376
+ "path": "src/connection-indicator/connection-indicator.template.ts",
9377
9377
  "declarations": [
9378
9378
  {
9379
- "kind": "function",
9380
- "name": "foundationDataGridTemplate",
9381
- "return": {
9382
- "type": {
9383
- "text": "ViewTemplate<DataGrid>"
9384
- }
9379
+ "kind": "variable",
9380
+ "name": "foundationConnectionIndicatorTemplate",
9381
+ "type": {
9382
+ "text": "ViewTemplate"
9385
9383
  },
9386
- "parameters": [
9387
- {
9388
- "name": "context",
9389
- "type": {
9390
- "text": "ElementDefinitionContext"
9391
- }
9392
- },
9393
- {
9394
- "name": "definition",
9395
- "type": {
9396
- "text": "FoundationElementDefinition"
9397
- }
9398
- }
9399
- ]
9384
+ "default": "html<ConnectionIndicator>`\n <div class=${(x) => classNames(['light', true], [x.colour, true])}></div>\n ${when(\n (x) => x.showLabel,\n html<ConnectionIndicator>`\n <div class=\"label\">${(x) => x.label}</div>\n `,\n )}\n`"
9400
9385
  }
9401
9386
  ],
9402
9387
  "exports": [
9403
9388
  {
9404
9389
  "kind": "js",
9405
- "name": "foundationDataGridTemplate",
9390
+ "name": "foundationConnectionIndicatorTemplate",
9406
9391
  "declaration": {
9407
- "name": "foundationDataGridTemplate",
9408
- "module": "src/data-grid/data-grid.template.ts"
9392
+ "name": "foundationConnectionIndicatorTemplate",
9393
+ "module": "src/connection-indicator/connection-indicator.template.ts"
9409
9394
  }
9410
9395
  }
9411
9396
  ]
9412
9397
  },
9413
9398
  {
9414
9399
  "kind": "javascript-module",
9415
- "path": "src/data-grid/data-grid.ts",
9400
+ "path": "src/connection-indicator/connection-indicator.ts",
9416
9401
  "declarations": [
9417
9402
  {
9418
9403
  "kind": "class",
9419
9404
  "description": "",
9420
- "name": "DataGrid",
9421
- "superclass": {
9422
- "name": "FASTDataGrid",
9423
- "package": "@microsoft/fast-components"
9424
- },
9425
- "tagName": "%%prefix%%-data-grid",
9426
- "customElement": true,
9427
- "attributes": [
9405
+ "name": "ConnectionIndicator",
9406
+ "members": [
9428
9407
  {
9429
- "name": "no-tabbing",
9408
+ "kind": "field",
9409
+ "name": "connect",
9430
9410
  "type": {
9431
- "text": "boolean"
9432
- },
9433
- "default": "false",
9434
- "description": "When true the component will not add itself to the tab queue.\nDefault is false.",
9435
- "fieldName": "noTabbing",
9436
- "inheritedFrom": {
9437
- "name": "DataGrid",
9438
- "module": "src/data-grid/data-grid.ts"
9411
+ "text": "Connect"
9439
9412
  }
9440
9413
  },
9441
9414
  {
9442
- "name": "generate-header",
9415
+ "kind": "field",
9416
+ "name": "session",
9443
9417
  "type": {
9444
- "text": "GenerateHeaderOptions"
9445
- },
9446
- "description": "Whether the grid should automatically generate a header row and its type",
9447
- "fieldName": "generateHeader",
9448
- "inheritedFrom": {
9449
- "name": "DataGrid",
9450
- "module": "src/data-grid/data-grid.ts"
9418
+ "text": "Session"
9451
9419
  }
9452
9420
  },
9453
9421
  {
9454
- "name": "grid-template-columns",
9422
+ "kind": "field",
9423
+ "name": "showLabel",
9424
+ "type": {
9425
+ "text": "boolean"
9426
+ },
9427
+ "default": "false"
9428
+ },
9429
+ {
9430
+ "kind": "field",
9431
+ "name": "label",
9455
9432
  "type": {
9456
9433
  "text": "string"
9457
9434
  },
9458
- "description": "String that gets applied to the the css gridTemplateColumns attribute of child rows",
9459
- "fieldName": "gridTemplateColumns",
9460
- "inheritedFrom": {
9461
- "name": "DataGrid",
9462
- "module": "src/data-grid/data-grid.ts"
9463
- }
9464
- }
9465
- ],
9466
- "members": [
9435
+ "default": "'disconnected'"
9436
+ },
9467
9437
  {
9468
9438
  "kind": "field",
9469
- "name": "generateColumns",
9470
- "privacy": "public",
9471
- "static": true,
9472
- "description": "generates a basic column definition by examining sample row data",
9473
- "inheritedFrom": {
9474
- "name": "DataGrid",
9475
- "module": "src/data-grid/data-grid.ts"
9476
- }
9439
+ "name": "colour",
9440
+ "type": {
9441
+ "text": "'red' | 'green'"
9442
+ },
9443
+ "default": "'red'"
9444
+ },
9445
+ {
9446
+ "kind": "field",
9447
+ "name": "subscription",
9448
+ "type": {
9449
+ "text": "Subscription"
9450
+ },
9451
+ "privacy": "private"
9477
9452
  },
9478
9453
  {
9479
9454
  "kind": "method",
9480
- "name": "generateTemplateColumns",
9481
- "privacy": "private",
9482
- "static": true,
9455
+ "name": "getLabel",
9483
9456
  "return": {
9484
9457
  "type": {
9485
9458
  "text": "string"
@@ -9487,190 +9460,337 @@
9487
9460
  },
9488
9461
  "parameters": [
9489
9462
  {
9490
- "name": "columnDefinitions",
9463
+ "name": "connected",
9491
9464
  "type": {
9492
- "text": "ColumnDefinition[]"
9465
+ "text": "boolean"
9493
9466
  }
9494
9467
  }
9495
- ],
9496
- "description": "generates a gridTemplateColumns based on columndata array",
9497
- "inheritedFrom": {
9498
- "name": "DataGrid",
9499
- "module": "src/data-grid/data-grid.ts"
9500
- }
9468
+ ]
9501
9469
  },
9502
9470
  {
9503
9471
  "kind": "field",
9504
- "name": "noTabbing",
9472
+ "name": "_presentation",
9505
9473
  "type": {
9506
- "text": "boolean"
9474
+ "text": "ComponentPresentation | null | undefined"
9507
9475
  },
9508
- "privacy": "public",
9509
- "default": "false",
9510
- "description": "When true the component will not add itself to the tab queue.\nDefault is false.",
9511
- "inheritedFrom": {
9512
- "name": "DataGrid",
9513
- "module": "src/data-grid/data-grid.ts"
9514
- }
9515
- },
9516
- {
9517
- "kind": "method",
9518
- "name": "noTabbingChanged",
9519
9476
  "privacy": "private",
9520
- "return": {
9521
- "type": {
9522
- "text": "void"
9523
- }
9524
- },
9477
+ "default": "void 0",
9525
9478
  "inheritedFrom": {
9526
- "name": "DataGrid",
9527
- "module": "src/data-grid/data-grid.ts"
9479
+ "name": "FoundationElement",
9480
+ "module": "src/foundation-element/foundation-element.ts"
9528
9481
  }
9529
9482
  },
9530
9483
  {
9531
9484
  "kind": "field",
9532
- "name": "generateHeader",
9485
+ "name": "$presentation",
9533
9486
  "type": {
9534
- "text": "GenerateHeaderOptions"
9487
+ "text": "ComponentPresentation | null"
9535
9488
  },
9536
9489
  "privacy": "public",
9537
- "description": "Whether the grid should automatically generate a header row and its type",
9538
- "inheritedFrom": {
9539
- "name": "DataGrid",
9540
- "module": "src/data-grid/data-grid.ts"
9541
- }
9542
- },
9543
- {
9544
- "kind": "method",
9545
- "name": "generateHeaderChanged",
9546
- "privacy": "private",
9547
- "return": {
9548
- "type": {
9549
- "text": "void"
9550
- }
9551
- },
9490
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
9552
9491
  "inheritedFrom": {
9553
- "name": "DataGrid",
9554
- "module": "src/data-grid/data-grid.ts"
9492
+ "name": "FoundationElement",
9493
+ "module": "src/foundation-element/foundation-element.ts"
9555
9494
  }
9556
9495
  },
9557
9496
  {
9558
9497
  "kind": "field",
9559
- "name": "gridTemplateColumns",
9498
+ "name": "template",
9560
9499
  "type": {
9561
- "text": "string"
9500
+ "text": "ElementViewTemplate | void | null"
9562
9501
  },
9563
9502
  "privacy": "public",
9564
- "description": "String that gets applied to the the css gridTemplateColumns attribute of child rows",
9503
+ "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.",
9565
9504
  "inheritedFrom": {
9566
- "name": "DataGrid",
9567
- "module": "src/data-grid/data-grid.ts"
9505
+ "name": "FoundationElement",
9506
+ "module": "src/foundation-element/foundation-element.ts"
9568
9507
  }
9569
9508
  },
9570
9509
  {
9571
9510
  "kind": "method",
9572
- "name": "gridTemplateColumnsChanged",
9573
- "privacy": "private",
9511
+ "name": "templateChanged",
9512
+ "privacy": "protected",
9574
9513
  "return": {
9575
9514
  "type": {
9576
9515
  "text": "void"
9577
9516
  }
9578
9517
  },
9579
9518
  "inheritedFrom": {
9580
- "name": "DataGrid",
9581
- "module": "src/data-grid/data-grid.ts"
9519
+ "name": "FoundationElement",
9520
+ "module": "src/foundation-element/foundation-element.ts"
9582
9521
  }
9583
9522
  },
9584
9523
  {
9585
9524
  "kind": "field",
9586
- "name": "rowsData",
9525
+ "name": "styles",
9587
9526
  "type": {
9588
- "text": "object[]"
9527
+ "text": "ElementStyles | void | null"
9589
9528
  },
9590
9529
  "privacy": "public",
9591
- "default": "[]",
9592
- "description": "The data being displayed in the grid",
9530
+ "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.",
9593
9531
  "inheritedFrom": {
9594
- "name": "DataGrid",
9595
- "module": "src/data-grid/data-grid.ts"
9532
+ "name": "FoundationElement",
9533
+ "module": "src/foundation-element/foundation-element.ts"
9596
9534
  }
9597
9535
  },
9598
9536
  {
9599
9537
  "kind": "method",
9600
- "name": "rowsDataChanged",
9601
- "privacy": "private",
9538
+ "name": "stylesChanged",
9539
+ "privacy": "protected",
9602
9540
  "return": {
9603
9541
  "type": {
9604
9542
  "text": "void"
9605
9543
  }
9606
9544
  },
9607
9545
  "inheritedFrom": {
9608
- "name": "DataGrid",
9609
- "module": "src/data-grid/data-grid.ts"
9610
- }
9611
- },
9612
- {
9613
- "kind": "field",
9614
- "name": "columnDefinitions",
9615
- "type": {
9616
- "text": "ColumnDefinition[] | null"
9617
- },
9618
- "privacy": "public",
9619
- "default": "null",
9620
- "description": "The column definitions of the grid",
9621
- "inheritedFrom": {
9622
- "name": "DataGrid",
9623
- "module": "src/data-grid/data-grid.ts"
9546
+ "name": "FoundationElement",
9547
+ "module": "src/foundation-element/foundation-element.ts"
9624
9548
  }
9625
9549
  },
9626
9550
  {
9627
9551
  "kind": "method",
9628
- "name": "columnDefinitionsChanged",
9629
- "privacy": "private",
9552
+ "name": "compose",
9553
+ "privacy": "public",
9554
+ "static": true,
9630
9555
  "return": {
9631
9556
  "type": {
9632
- "text": "void"
9557
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
9633
9558
  }
9634
9559
  },
9560
+ "parameters": [
9561
+ {
9562
+ "name": "this",
9563
+ "type": {
9564
+ "text": "K"
9565
+ }
9566
+ },
9567
+ {
9568
+ "name": "elementDefinition",
9569
+ "type": {
9570
+ "text": "T"
9571
+ },
9572
+ "description": "The definition of the element to create the registry\nfunction for."
9573
+ }
9574
+ ],
9575
+ "description": "Defines an element registry function with a set of element definition defaults.",
9635
9576
  "inheritedFrom": {
9636
- "name": "DataGrid",
9637
- "module": "src/data-grid/data-grid.ts"
9638
- }
9639
- },
9640
- {
9641
- "kind": "field",
9642
- "name": "rowItemTemplate",
9643
- "type": {
9644
- "text": "ViewTemplate"
9645
- },
9646
- "privacy": "public",
9647
- "description": "The template to use for the programmatic generation of rows",
9648
- "inheritedFrom": {
9649
- "name": "DataGrid",
9650
- "module": "src/data-grid/data-grid.ts"
9577
+ "name": "FoundationElement",
9578
+ "module": "src/foundation-element/foundation-element.ts"
9651
9579
  }
9652
- },
9580
+ }
9581
+ ],
9582
+ "attributes": [
9653
9583
  {
9654
- "kind": "field",
9655
- "name": "cellItemTemplate",
9584
+ "name": "show-label",
9656
9585
  "type": {
9657
- "text": "ViewTemplate | undefined"
9586
+ "text": "boolean"
9658
9587
  },
9659
- "privacy": "public",
9660
- "description": "The template used to render cells in generated rows.",
9661
- "inheritedFrom": {
9662
- "name": "DataGrid",
9663
- "module": "src/data-grid/data-grid.ts"
9664
- }
9665
- },
9588
+ "default": "false",
9589
+ "fieldName": "showLabel"
9590
+ }
9591
+ ],
9592
+ "superclass": {
9593
+ "name": "FoundationElement",
9594
+ "package": "@microsoft/fast-foundation"
9595
+ },
9596
+ "tagName": "%%prefix%%-connection-indicator",
9597
+ "customElement": true
9598
+ },
9599
+ {
9600
+ "kind": "variable",
9601
+ "name": "foundationConnectionIndicator",
9602
+ "description": "The Connection Indicator",
9603
+ "privacy": "public"
9604
+ }
9605
+ ],
9606
+ "exports": [
9607
+ {
9608
+ "kind": "js",
9609
+ "name": "ConnectionIndicator",
9610
+ "declaration": {
9611
+ "name": "ConnectionIndicator",
9612
+ "module": "src/connection-indicator/connection-indicator.ts"
9613
+ }
9614
+ },
9615
+ {
9616
+ "kind": "js",
9617
+ "name": "foundationConnectionIndicator",
9618
+ "declaration": {
9619
+ "name": "foundationConnectionIndicator",
9620
+ "module": "src/connection-indicator/connection-indicator.ts"
9621
+ }
9622
+ }
9623
+ ]
9624
+ },
9625
+ {
9626
+ "kind": "javascript-module",
9627
+ "path": "src/connection-indicator/index.ts",
9628
+ "declarations": [],
9629
+ "exports": [
9630
+ {
9631
+ "kind": "js",
9632
+ "name": "*",
9633
+ "declaration": {
9634
+ "name": "*",
9635
+ "package": "./connection-indicator"
9636
+ }
9637
+ },
9638
+ {
9639
+ "kind": "js",
9640
+ "name": "*",
9641
+ "declaration": {
9642
+ "name": "*",
9643
+ "package": "./connection-indicator.styles"
9644
+ }
9645
+ },
9646
+ {
9647
+ "kind": "js",
9648
+ "name": "*",
9649
+ "declaration": {
9650
+ "name": "*",
9651
+ "package": "./connection-indicator.template"
9652
+ }
9653
+ }
9654
+ ]
9655
+ },
9656
+ {
9657
+ "kind": "javascript-module",
9658
+ "path": "src/data-grid/data-grid.styles.ts",
9659
+ "declarations": [
9660
+ {
9661
+ "kind": "function",
9662
+ "name": "foundationDataGridStyles",
9663
+ "return": {
9664
+ "type": {
9665
+ "text": "ElementStyles"
9666
+ }
9667
+ },
9668
+ "parameters": [
9666
9669
  {
9667
- "kind": "field",
9668
- "name": "headerCellItemTemplate",
9670
+ "name": "context",
9669
9671
  "type": {
9670
- "text": "ViewTemplate | undefined"
9672
+ "text": "ElementDefinitionContext"
9673
+ }
9674
+ },
9675
+ {
9676
+ "name": "defintion",
9677
+ "type": {
9678
+ "text": "FoundationElementDefinition"
9679
+ }
9680
+ }
9681
+ ]
9682
+ }
9683
+ ],
9684
+ "exports": [
9685
+ {
9686
+ "kind": "js",
9687
+ "name": "foundationDataGridStyles",
9688
+ "declaration": {
9689
+ "name": "foundationDataGridStyles",
9690
+ "module": "src/data-grid/data-grid.styles.ts"
9691
+ }
9692
+ }
9693
+ ]
9694
+ },
9695
+ {
9696
+ "kind": "javascript-module",
9697
+ "path": "src/data-grid/data-grid.template.ts",
9698
+ "declarations": [
9699
+ {
9700
+ "kind": "function",
9701
+ "name": "foundationDataGridTemplate",
9702
+ "return": {
9703
+ "type": {
9704
+ "text": "ViewTemplate<DataGrid>"
9705
+ }
9706
+ },
9707
+ "parameters": [
9708
+ {
9709
+ "name": "context",
9710
+ "type": {
9711
+ "text": "ElementDefinitionContext"
9712
+ }
9713
+ },
9714
+ {
9715
+ "name": "definition",
9716
+ "type": {
9717
+ "text": "FoundationElementDefinition"
9718
+ }
9719
+ }
9720
+ ]
9721
+ }
9722
+ ],
9723
+ "exports": [
9724
+ {
9725
+ "kind": "js",
9726
+ "name": "foundationDataGridTemplate",
9727
+ "declaration": {
9728
+ "name": "foundationDataGridTemplate",
9729
+ "module": "src/data-grid/data-grid.template.ts"
9730
+ }
9731
+ }
9732
+ ]
9733
+ },
9734
+ {
9735
+ "kind": "javascript-module",
9736
+ "path": "src/data-grid/data-grid.ts",
9737
+ "declarations": [
9738
+ {
9739
+ "kind": "class",
9740
+ "description": "",
9741
+ "name": "DataGrid",
9742
+ "superclass": {
9743
+ "name": "FASTDataGrid",
9744
+ "package": "@microsoft/fast-components"
9745
+ },
9746
+ "tagName": "%%prefix%%-data-grid",
9747
+ "customElement": true,
9748
+ "attributes": [
9749
+ {
9750
+ "name": "no-tabbing",
9751
+ "type": {
9752
+ "text": "boolean"
9753
+ },
9754
+ "default": "false",
9755
+ "description": "When true the component will not add itself to the tab queue.\nDefault is false.",
9756
+ "fieldName": "noTabbing",
9757
+ "inheritedFrom": {
9758
+ "name": "DataGrid",
9759
+ "module": "src/data-grid/data-grid.ts"
9760
+ }
9761
+ },
9762
+ {
9763
+ "name": "generate-header",
9764
+ "type": {
9765
+ "text": "GenerateHeaderOptions"
9766
+ },
9767
+ "description": "Whether the grid should automatically generate a header row and its type",
9768
+ "fieldName": "generateHeader",
9769
+ "inheritedFrom": {
9770
+ "name": "DataGrid",
9771
+ "module": "src/data-grid/data-grid.ts"
9772
+ }
9773
+ },
9774
+ {
9775
+ "name": "grid-template-columns",
9776
+ "type": {
9777
+ "text": "string"
9671
9778
  },
9779
+ "description": "String that gets applied to the the css gridTemplateColumns attribute of child rows",
9780
+ "fieldName": "gridTemplateColumns",
9781
+ "inheritedFrom": {
9782
+ "name": "DataGrid",
9783
+ "module": "src/data-grid/data-grid.ts"
9784
+ }
9785
+ }
9786
+ ],
9787
+ "members": [
9788
+ {
9789
+ "kind": "field",
9790
+ "name": "generateColumns",
9672
9791
  "privacy": "public",
9673
- "description": "The template used to render header cells in generated rows.",
9792
+ "static": true,
9793
+ "description": "generates a basic column definition by examining sample row data",
9674
9794
  "inheritedFrom": {
9675
9795
  "name": "DataGrid",
9676
9796
  "module": "src/data-grid/data-grid.ts"
@@ -9678,13 +9798,23 @@
9678
9798
  },
9679
9799
  {
9680
9800
  "kind": "method",
9681
- "name": "headerCellItemTemplateChanged",
9801
+ "name": "generateTemplateColumns",
9682
9802
  "privacy": "private",
9803
+ "static": true,
9683
9804
  "return": {
9684
9805
  "type": {
9685
- "text": "void"
9806
+ "text": "string"
9686
9807
  }
9687
9808
  },
9809
+ "parameters": [
9810
+ {
9811
+ "name": "columnDefinitions",
9812
+ "type": {
9813
+ "text": "ColumnDefinition[]"
9814
+ }
9815
+ }
9816
+ ],
9817
+ "description": "generates a gridTemplateColumns based on columndata array",
9688
9818
  "inheritedFrom": {
9689
9819
  "name": "DataGrid",
9690
9820
  "module": "src/data-grid/data-grid.ts"
@@ -9692,13 +9822,13 @@
9692
9822
  },
9693
9823
  {
9694
9824
  "kind": "field",
9695
- "name": "focusRowIndex",
9825
+ "name": "noTabbing",
9696
9826
  "type": {
9697
- "text": "number"
9827
+ "text": "boolean"
9698
9828
  },
9699
9829
  "privacy": "public",
9700
- "default": "0",
9701
- "description": "The index of the row that will receive focus the next time the\ngrid is focused. This value changes as focus moves to different\nrows within the grid. Changing this value when focus is already\nwithin the grid moves focus to the specified row.",
9830
+ "default": "false",
9831
+ "description": "When true the component will not add itself to the tab queue.\nDefault is false.",
9702
9832
  "inheritedFrom": {
9703
9833
  "name": "DataGrid",
9704
9834
  "module": "src/data-grid/data-grid.ts"
@@ -9706,7 +9836,7 @@
9706
9836
  },
9707
9837
  {
9708
9838
  "kind": "method",
9709
- "name": "focusRowIndexChanged",
9839
+ "name": "noTabbingChanged",
9710
9840
  "privacy": "private",
9711
9841
  "return": {
9712
9842
  "type": {
@@ -9720,13 +9850,12 @@
9720
9850
  },
9721
9851
  {
9722
9852
  "kind": "field",
9723
- "name": "focusColumnIndex",
9853
+ "name": "generateHeader",
9724
9854
  "type": {
9725
- "text": "number"
9855
+ "text": "GenerateHeaderOptions"
9726
9856
  },
9727
9857
  "privacy": "public",
9728
- "default": "0",
9729
- "description": "The index of the column that will receive focus the next time the\ngrid is focused. This value changes as focus moves to different rows\nwithin the grid. Changing this value when focus is already within\nthe grid moves focus to the specified column.",
9858
+ "description": "Whether the grid should automatically generate a header row and its type",
9730
9859
  "inheritedFrom": {
9731
9860
  "name": "DataGrid",
9732
9861
  "module": "src/data-grid/data-grid.ts"
@@ -9734,7 +9863,7 @@
9734
9863
  },
9735
9864
  {
9736
9865
  "kind": "method",
9737
- "name": "focusColumnIndexChanged",
9866
+ "name": "generateHeaderChanged",
9738
9867
  "privacy": "private",
9739
9868
  "return": {
9740
9869
  "type": {
@@ -9748,24 +9877,26 @@
9748
9877
  },
9749
9878
  {
9750
9879
  "kind": "field",
9751
- "name": "rowElementTag",
9880
+ "name": "gridTemplateColumns",
9752
9881
  "type": {
9753
9882
  "text": "string"
9754
9883
  },
9755
9884
  "privacy": "public",
9756
- "description": "Set by the component templates.",
9885
+ "description": "String that gets applied to the the css gridTemplateColumns attribute of child rows",
9757
9886
  "inheritedFrom": {
9758
9887
  "name": "DataGrid",
9759
9888
  "module": "src/data-grid/data-grid.ts"
9760
9889
  }
9761
9890
  },
9762
9891
  {
9763
- "kind": "field",
9764
- "name": "rowsRepeatBehavior",
9765
- "type": {
9766
- "text": "RepeatBehavior | null"
9767
- },
9892
+ "kind": "method",
9893
+ "name": "gridTemplateColumnsChanged",
9768
9894
  "privacy": "private",
9895
+ "return": {
9896
+ "type": {
9897
+ "text": "void"
9898
+ }
9899
+ },
9769
9900
  "inheritedFrom": {
9770
9901
  "name": "DataGrid",
9771
9902
  "module": "src/data-grid/data-grid.ts"
@@ -9773,25 +9904,27 @@
9773
9904
  },
9774
9905
  {
9775
9906
  "kind": "field",
9776
- "name": "rowsPlaceholder",
9907
+ "name": "rowsData",
9777
9908
  "type": {
9778
- "text": "Node | null"
9909
+ "text": "object[]"
9779
9910
  },
9780
- "privacy": "private",
9781
- "default": "null",
9911
+ "privacy": "public",
9912
+ "default": "[]",
9913
+ "description": "The data being displayed in the grid",
9782
9914
  "inheritedFrom": {
9783
9915
  "name": "DataGrid",
9784
9916
  "module": "src/data-grid/data-grid.ts"
9785
9917
  }
9786
9918
  },
9787
9919
  {
9788
- "kind": "field",
9789
- "name": "generatedHeader",
9790
- "type": {
9791
- "text": "DataGridRow | null"
9792
- },
9920
+ "kind": "method",
9921
+ "name": "rowsDataChanged",
9793
9922
  "privacy": "private",
9794
- "default": "null",
9923
+ "return": {
9924
+ "type": {
9925
+ "text": "void"
9926
+ }
9927
+ },
9795
9928
  "inheritedFrom": {
9796
9929
  "name": "DataGrid",
9797
9930
  "module": "src/data-grid/data-grid.ts"
@@ -9799,25 +9932,27 @@
9799
9932
  },
9800
9933
  {
9801
9934
  "kind": "field",
9802
- "name": "isUpdatingFocus",
9935
+ "name": "columnDefinitions",
9803
9936
  "type": {
9804
- "text": "boolean"
9937
+ "text": "ColumnDefinition[] | null"
9805
9938
  },
9806
- "privacy": "private",
9807
- "default": "false",
9939
+ "privacy": "public",
9940
+ "default": "null",
9941
+ "description": "The column definitions of the grid",
9808
9942
  "inheritedFrom": {
9809
9943
  "name": "DataGrid",
9810
9944
  "module": "src/data-grid/data-grid.ts"
9811
9945
  }
9812
9946
  },
9813
9947
  {
9814
- "kind": "field",
9815
- "name": "pendingFocusUpdate",
9816
- "type": {
9817
- "text": "boolean"
9818
- },
9948
+ "kind": "method",
9949
+ "name": "columnDefinitionsChanged",
9819
9950
  "privacy": "private",
9820
- "default": "false",
9951
+ "return": {
9952
+ "type": {
9953
+ "text": "void"
9954
+ }
9955
+ },
9821
9956
  "inheritedFrom": {
9822
9957
  "name": "DataGrid",
9823
9958
  "module": "src/data-grid/data-grid.ts"
@@ -9825,11 +9960,12 @@
9825
9960
  },
9826
9961
  {
9827
9962
  "kind": "field",
9828
- "name": "observer",
9963
+ "name": "rowItemTemplate",
9829
9964
  "type": {
9830
- "text": "MutationObserver"
9965
+ "text": "ViewTemplate"
9831
9966
  },
9832
- "privacy": "private",
9967
+ "privacy": "public",
9968
+ "description": "The template to use for the programmatic generation of rows",
9833
9969
  "inheritedFrom": {
9834
9970
  "name": "DataGrid",
9835
9971
  "module": "src/data-grid/data-grid.ts"
@@ -9837,12 +9973,12 @@
9837
9973
  },
9838
9974
  {
9839
9975
  "kind": "field",
9840
- "name": "rowindexUpdateQueued",
9976
+ "name": "cellItemTemplate",
9841
9977
  "type": {
9842
- "text": "boolean"
9978
+ "text": "ViewTemplate | undefined"
9843
9979
  },
9844
- "privacy": "private",
9845
- "default": "false",
9980
+ "privacy": "public",
9981
+ "description": "The template used to render cells in generated rows.",
9846
9982
  "inheritedFrom": {
9847
9983
  "name": "DataGrid",
9848
9984
  "module": "src/data-grid/data-grid.ts"
@@ -9850,25 +9986,26 @@
9850
9986
  },
9851
9987
  {
9852
9988
  "kind": "field",
9853
- "name": "columnDefinitionsStale",
9989
+ "name": "headerCellItemTemplate",
9854
9990
  "type": {
9855
- "text": "boolean"
9991
+ "text": "ViewTemplate | undefined"
9856
9992
  },
9857
- "privacy": "private",
9858
- "default": "true",
9993
+ "privacy": "public",
9994
+ "description": "The template used to render header cells in generated rows.",
9859
9995
  "inheritedFrom": {
9860
9996
  "name": "DataGrid",
9861
9997
  "module": "src/data-grid/data-grid.ts"
9862
9998
  }
9863
9999
  },
9864
10000
  {
9865
- "kind": "field",
9866
- "name": "generatedGridTemplateColumns",
9867
- "type": {
9868
- "text": "string"
9869
- },
10001
+ "kind": "method",
10002
+ "name": "headerCellItemTemplateChanged",
9870
10003
  "privacy": "private",
9871
- "default": "\"\"",
10004
+ "return": {
10005
+ "type": {
10006
+ "text": "void"
10007
+ }
10008
+ },
9872
10009
  "inheritedFrom": {
9873
10010
  "name": "DataGrid",
9874
10011
  "module": "src/data-grid/data-grid.ts"
@@ -9876,8 +10013,13 @@
9876
10013
  },
9877
10014
  {
9878
10015
  "kind": "field",
9879
- "name": "focusOnCell",
9880
- "privacy": "private",
10016
+ "name": "focusRowIndex",
10017
+ "type": {
10018
+ "text": "number"
10019
+ },
10020
+ "privacy": "public",
10021
+ "default": "0",
10022
+ "description": "The index of the row that will receive focus the next time the\ngrid is focused. This value changes as focus moves to different\nrows within the grid. Changing this value when focus is already\nwithin the grid moves focus to the specified row.",
9881
10023
  "inheritedFrom": {
9882
10024
  "name": "DataGrid",
9883
10025
  "module": "src/data-grid/data-grid.ts"
@@ -9885,7 +10027,7 @@
9885
10027
  },
9886
10028
  {
9887
10029
  "kind": "method",
9888
- "name": "queueFocusUpdate",
10030
+ "name": "focusRowIndexChanged",
9889
10031
  "privacy": "private",
9890
10032
  "return": {
9891
10033
  "type": {
@@ -9898,14 +10040,14 @@
9898
10040
  }
9899
10041
  },
9900
10042
  {
9901
- "kind": "method",
9902
- "name": "updateFocus",
9903
- "privacy": "private",
9904
- "return": {
9905
- "type": {
9906
- "text": "void"
9907
- }
10043
+ "kind": "field",
10044
+ "name": "focusColumnIndex",
10045
+ "type": {
10046
+ "text": "number"
9908
10047
  },
10048
+ "privacy": "public",
10049
+ "default": "0",
10050
+ "description": "The index of the column that will receive focus the next time the\ngrid is focused. This value changes as focus moves to different rows\nwithin the grid. Changing this value when focus is already within\nthe grid moves focus to the specified column.",
9909
10051
  "inheritedFrom": {
9910
10052
  "name": "DataGrid",
9911
10053
  "module": "src/data-grid/data-grid.ts"
@@ -9913,7 +10055,7 @@
9913
10055
  },
9914
10056
  {
9915
10057
  "kind": "method",
9916
- "name": "toggleGeneratedHeader",
10058
+ "name": "focusColumnIndexChanged",
9917
10059
  "privacy": "private",
9918
10060
  "return": {
9919
10061
  "type": {
@@ -9927,8 +10069,12 @@
9927
10069
  },
9928
10070
  {
9929
10071
  "kind": "field",
9930
- "name": "onChildListChange",
9931
- "privacy": "private",
10072
+ "name": "rowElementTag",
10073
+ "type": {
10074
+ "text": "string"
10075
+ },
10076
+ "privacy": "public",
10077
+ "description": "Set by the component templates.",
9932
10078
  "inheritedFrom": {
9933
10079
  "name": "DataGrid",
9934
10080
  "module": "src/data-grid/data-grid.ts"
@@ -9936,7 +10082,10 @@
9936
10082
  },
9937
10083
  {
9938
10084
  "kind": "field",
9939
- "name": "queueRowIndexUpdate",
10085
+ "name": "rowsRepeatBehavior",
10086
+ "type": {
10087
+ "text": "RepeatBehavior | null"
10088
+ },
9940
10089
  "privacy": "private",
9941
10090
  "inheritedFrom": {
9942
10091
  "name": "DataGrid",
@@ -9945,8 +10094,12 @@
9945
10094
  },
9946
10095
  {
9947
10096
  "kind": "field",
9948
- "name": "updateRowIndexes",
10097
+ "name": "rowsPlaceholder",
10098
+ "type": {
10099
+ "text": "Node | null"
10100
+ },
9949
10101
  "privacy": "private",
10102
+ "default": "null",
9950
10103
  "inheritedFrom": {
9951
10104
  "name": "DataGrid",
9952
10105
  "module": "src/data-grid/data-grid.ts"
@@ -9954,340 +10107,171 @@
9954
10107
  },
9955
10108
  {
9956
10109
  "kind": "field",
9957
- "name": "_presentation",
10110
+ "name": "generatedHeader",
9958
10111
  "type": {
9959
- "text": "ComponentPresentation | null | undefined"
10112
+ "text": "DataGridRow | null"
9960
10113
  },
9961
10114
  "privacy": "private",
9962
- "default": "void 0",
9963
- "inheritedFrom": {
9964
- "name": "FoundationElement",
9965
- "module": "src/foundation-element/foundation-element.ts"
9966
- }
9967
- },
9968
- {
9969
- "kind": "field",
9970
- "name": "$presentation",
9971
- "type": {
9972
- "text": "ComponentPresentation | null"
9973
- },
9974
- "privacy": "public",
9975
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
9976
- "inheritedFrom": {
9977
- "name": "FoundationElement",
9978
- "module": "src/foundation-element/foundation-element.ts"
9979
- }
9980
- },
9981
- {
9982
- "kind": "field",
9983
- "name": "template",
9984
- "type": {
9985
- "text": "ElementViewTemplate | void | null"
9986
- },
9987
- "privacy": "public",
9988
- "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.",
9989
- "inheritedFrom": {
9990
- "name": "FoundationElement",
9991
- "module": "src/foundation-element/foundation-element.ts"
9992
- }
9993
- },
9994
- {
9995
- "kind": "method",
9996
- "name": "templateChanged",
9997
- "privacy": "protected",
9998
- "return": {
9999
- "type": {
10000
- "text": "void"
10001
- }
10002
- },
10115
+ "default": "null",
10003
10116
  "inheritedFrom": {
10004
- "name": "FoundationElement",
10005
- "module": "src/foundation-element/foundation-element.ts"
10117
+ "name": "DataGrid",
10118
+ "module": "src/data-grid/data-grid.ts"
10006
10119
  }
10007
10120
  },
10008
10121
  {
10009
10122
  "kind": "field",
10010
- "name": "styles",
10123
+ "name": "isUpdatingFocus",
10011
10124
  "type": {
10012
- "text": "ElementStyles | void | null"
10013
- },
10014
- "privacy": "public",
10015
- "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.",
10016
- "inheritedFrom": {
10017
- "name": "FoundationElement",
10018
- "module": "src/foundation-element/foundation-element.ts"
10019
- }
10020
- },
10021
- {
10022
- "kind": "method",
10023
- "name": "stylesChanged",
10024
- "privacy": "protected",
10025
- "return": {
10026
- "type": {
10027
- "text": "void"
10028
- }
10029
- },
10030
- "inheritedFrom": {
10031
- "name": "FoundationElement",
10032
- "module": "src/foundation-element/foundation-element.ts"
10033
- }
10034
- },
10035
- {
10036
- "kind": "method",
10037
- "name": "compose",
10038
- "privacy": "public",
10039
- "static": true,
10040
- "return": {
10041
- "type": {
10042
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
10043
- }
10125
+ "text": "boolean"
10044
10126
  },
10045
- "parameters": [
10046
- {
10047
- "name": "this",
10048
- "type": {
10049
- "text": "K"
10050
- }
10051
- },
10052
- {
10053
- "name": "elementDefinition",
10054
- "type": {
10055
- "text": "T"
10056
- },
10057
- "description": "The definition of the element to create the registry\nfunction for."
10058
- }
10059
- ],
10060
- "description": "Defines an element registry function with a set of element definition defaults.",
10127
+ "privacy": "private",
10128
+ "default": "false",
10061
10129
  "inheritedFrom": {
10062
- "name": "FoundationElement",
10063
- "module": "src/foundation-element/foundation-element.ts"
10064
- }
10065
- }
10066
- ]
10067
- },
10068
- {
10069
- "kind": "variable",
10070
- "name": "foundationDataGridShadowOptions",
10071
- "type": {
10072
- "text": "ShadowRootInit"
10073
- },
10074
- "default": "undefined"
10075
- },
10076
- {
10077
- "kind": "variable",
10078
- "name": "defaultDataGridConfig",
10079
- "type": {
10080
- "text": "object"
10081
- },
10082
- "default": "{}"
10083
- },
10084
- {
10085
- "kind": "variable",
10086
- "name": "foundationDataGrid",
10087
- "description": "The Foundation Data Grid Element.",
10088
- "privacy": "public"
10089
- }
10090
- ],
10091
- "exports": [
10092
- {
10093
- "kind": "js",
10094
- "name": "DataGrid",
10095
- "declaration": {
10096
- "name": "DataGrid",
10097
- "module": "src/data-grid/data-grid.ts"
10098
- }
10099
- },
10100
- {
10101
- "kind": "js",
10102
- "name": "foundationDataGridShadowOptions",
10103
- "declaration": {
10104
- "name": "foundationDataGridShadowOptions",
10105
- "module": "src/data-grid/data-grid.ts"
10106
- }
10107
- },
10108
- {
10109
- "kind": "js",
10110
- "name": "defaultDataGridConfig",
10111
- "declaration": {
10112
- "name": "defaultDataGridConfig",
10113
- "module": "src/data-grid/data-grid.ts"
10114
- }
10115
- },
10116
- {
10117
- "kind": "js",
10118
- "name": "foundationDataGrid",
10119
- "declaration": {
10120
- "name": "foundationDataGrid",
10121
- "module": "src/data-grid/data-grid.ts"
10122
- }
10123
- }
10124
- ]
10125
- },
10126
- {
10127
- "kind": "javascript-module",
10128
- "path": "src/data-grid/index.ts",
10129
- "declarations": [],
10130
- "exports": [
10131
- {
10132
- "kind": "js",
10133
- "name": "*",
10134
- "declaration": {
10135
- "name": "*",
10136
- "package": "./data-grid.template"
10137
- }
10138
- },
10139
- {
10140
- "kind": "js",
10141
- "name": "*",
10142
- "declaration": {
10143
- "name": "*",
10144
- "package": "./data-grid.styles"
10145
- }
10146
- },
10147
- {
10148
- "kind": "js",
10149
- "name": "*",
10150
- "declaration": {
10151
- "name": "*",
10152
- "package": "./data-grid"
10153
- }
10154
- }
10155
- ]
10156
- },
10157
- {
10158
- "kind": "javascript-module",
10159
- "path": "src/connection-indicator/connection-indicator.styles.ts",
10160
- "declarations": [
10161
- {
10162
- "kind": "function",
10163
- "name": "foundationConnectionIndicatorStyles",
10164
- "return": {
10165
- "type": {
10166
- "text": "ElementStyles"
10167
- }
10168
- },
10169
- "parameters": [
10170
- {
10171
- "name": "context",
10172
- "type": {
10173
- "text": "ElementDefinitionContext"
10130
+ "name": "DataGrid",
10131
+ "module": "src/data-grid/data-grid.ts"
10174
10132
  }
10175
10133
  },
10176
- {
10177
- "name": "definition",
10178
- "type": {
10179
- "text": "FoundationElementDefinition"
10180
- }
10181
- }
10182
- ]
10183
- }
10184
- ],
10185
- "exports": [
10186
- {
10187
- "kind": "js",
10188
- "name": "foundationConnectionIndicatorStyles",
10189
- "declaration": {
10190
- "name": "foundationConnectionIndicatorStyles",
10191
- "module": "src/connection-indicator/connection-indicator.styles.ts"
10192
- }
10193
- }
10194
- ]
10195
- },
10196
- {
10197
- "kind": "javascript-module",
10198
- "path": "src/connection-indicator/connection-indicator.template.ts",
10199
- "declarations": [
10200
- {
10201
- "kind": "variable",
10202
- "name": "foundationConnectionIndicatorTemplate",
10203
- "type": {
10204
- "text": "ViewTemplate"
10205
- },
10206
- "default": "html<ConnectionIndicator>`\n <div class=${(x) => classNames(['light', true], [x.colour, true])}></div>\n ${when(\n (x) => x.showLabel,\n html<ConnectionIndicator>`\n <div class=\"label\">${(x) => x.label}</div>\n `,\n )}\n`"
10207
- }
10208
- ],
10209
- "exports": [
10210
- {
10211
- "kind": "js",
10212
- "name": "foundationConnectionIndicatorTemplate",
10213
- "declaration": {
10214
- "name": "foundationConnectionIndicatorTemplate",
10215
- "module": "src/connection-indicator/connection-indicator.template.ts"
10216
- }
10217
- }
10218
- ]
10219
- },
10220
- {
10221
- "kind": "javascript-module",
10222
- "path": "src/connection-indicator/connection-indicator.ts",
10223
- "declarations": [
10224
- {
10225
- "kind": "class",
10226
- "description": "",
10227
- "name": "ConnectionIndicator",
10228
- "members": [
10229
10134
  {
10230
10135
  "kind": "field",
10231
- "name": "connect",
10136
+ "name": "pendingFocusUpdate",
10232
10137
  "type": {
10233
- "text": "Connect"
10138
+ "text": "boolean"
10139
+ },
10140
+ "privacy": "private",
10141
+ "default": "false",
10142
+ "inheritedFrom": {
10143
+ "name": "DataGrid",
10144
+ "module": "src/data-grid/data-grid.ts"
10234
10145
  }
10235
10146
  },
10236
10147
  {
10237
10148
  "kind": "field",
10238
- "name": "session",
10149
+ "name": "observer",
10239
10150
  "type": {
10240
- "text": "Session"
10151
+ "text": "MutationObserver"
10152
+ },
10153
+ "privacy": "private",
10154
+ "inheritedFrom": {
10155
+ "name": "DataGrid",
10156
+ "module": "src/data-grid/data-grid.ts"
10241
10157
  }
10242
10158
  },
10243
10159
  {
10244
10160
  "kind": "field",
10245
- "name": "showLabel",
10161
+ "name": "rowindexUpdateQueued",
10246
10162
  "type": {
10247
10163
  "text": "boolean"
10248
10164
  },
10249
- "default": "false"
10165
+ "privacy": "private",
10166
+ "default": "false",
10167
+ "inheritedFrom": {
10168
+ "name": "DataGrid",
10169
+ "module": "src/data-grid/data-grid.ts"
10170
+ }
10250
10171
  },
10251
10172
  {
10252
10173
  "kind": "field",
10253
- "name": "label",
10174
+ "name": "columnDefinitionsStale",
10254
10175
  "type": {
10255
- "text": "string"
10176
+ "text": "boolean"
10256
10177
  },
10257
- "default": "'disconnected'"
10178
+ "privacy": "private",
10179
+ "default": "true",
10180
+ "inheritedFrom": {
10181
+ "name": "DataGrid",
10182
+ "module": "src/data-grid/data-grid.ts"
10183
+ }
10258
10184
  },
10259
10185
  {
10260
10186
  "kind": "field",
10261
- "name": "colour",
10187
+ "name": "generatedGridTemplateColumns",
10262
10188
  "type": {
10263
- "text": "'red' | 'green'"
10189
+ "text": "string"
10264
10190
  },
10265
- "default": "'red'"
10191
+ "privacy": "private",
10192
+ "default": "\"\"",
10193
+ "inheritedFrom": {
10194
+ "name": "DataGrid",
10195
+ "module": "src/data-grid/data-grid.ts"
10196
+ }
10266
10197
  },
10267
10198
  {
10268
10199
  "kind": "field",
10269
- "name": "subscription",
10270
- "type": {
10271
- "text": "Subscription"
10200
+ "name": "focusOnCell",
10201
+ "privacy": "private",
10202
+ "inheritedFrom": {
10203
+ "name": "DataGrid",
10204
+ "module": "src/data-grid/data-grid.ts"
10205
+ }
10206
+ },
10207
+ {
10208
+ "kind": "method",
10209
+ "name": "queueFocusUpdate",
10210
+ "privacy": "private",
10211
+ "return": {
10212
+ "type": {
10213
+ "text": "void"
10214
+ }
10272
10215
  },
10273
- "privacy": "private"
10216
+ "inheritedFrom": {
10217
+ "name": "DataGrid",
10218
+ "module": "src/data-grid/data-grid.ts"
10219
+ }
10274
10220
  },
10275
10221
  {
10276
10222
  "kind": "method",
10277
- "name": "getLabel",
10223
+ "name": "updateFocus",
10224
+ "privacy": "private",
10278
10225
  "return": {
10279
10226
  "type": {
10280
- "text": "string"
10227
+ "text": "void"
10281
10228
  }
10282
10229
  },
10283
- "parameters": [
10284
- {
10285
- "name": "connected",
10286
- "type": {
10287
- "text": "boolean"
10288
- }
10230
+ "inheritedFrom": {
10231
+ "name": "DataGrid",
10232
+ "module": "src/data-grid/data-grid.ts"
10233
+ }
10234
+ },
10235
+ {
10236
+ "kind": "method",
10237
+ "name": "toggleGeneratedHeader",
10238
+ "privacy": "private",
10239
+ "return": {
10240
+ "type": {
10241
+ "text": "void"
10289
10242
  }
10290
- ]
10243
+ },
10244
+ "inheritedFrom": {
10245
+ "name": "DataGrid",
10246
+ "module": "src/data-grid/data-grid.ts"
10247
+ }
10248
+ },
10249
+ {
10250
+ "kind": "field",
10251
+ "name": "onChildListChange",
10252
+ "privacy": "private",
10253
+ "inheritedFrom": {
10254
+ "name": "DataGrid",
10255
+ "module": "src/data-grid/data-grid.ts"
10256
+ }
10257
+ },
10258
+ {
10259
+ "kind": "field",
10260
+ "name": "queueRowIndexUpdate",
10261
+ "privacy": "private",
10262
+ "inheritedFrom": {
10263
+ "name": "DataGrid",
10264
+ "module": "src/data-grid/data-grid.ts"
10265
+ }
10266
+ },
10267
+ {
10268
+ "kind": "field",
10269
+ "name": "updateRowIndexes",
10270
+ "privacy": "private",
10271
+ "inheritedFrom": {
10272
+ "name": "DataGrid",
10273
+ "module": "src/data-grid/data-grid.ts"
10274
+ }
10291
10275
  },
10292
10276
  {
10293
10277
  "kind": "field",
@@ -10400,53 +10384,69 @@
10400
10384
  "module": "src/foundation-element/foundation-element.ts"
10401
10385
  }
10402
10386
  }
10403
- ],
10404
- "attributes": [
10405
- {
10406
- "name": "show-label",
10407
- "type": {
10408
- "text": "boolean"
10409
- },
10410
- "default": "false",
10411
- "fieldName": "showLabel"
10412
- }
10413
- ],
10414
- "superclass": {
10415
- "name": "FoundationElement",
10416
- "package": "@microsoft/fast-foundation"
10387
+ ]
10388
+ },
10389
+ {
10390
+ "kind": "variable",
10391
+ "name": "foundationDataGridShadowOptions",
10392
+ "type": {
10393
+ "text": "ShadowRootInit"
10417
10394
  },
10418
- "tagName": "%%prefix%%-connection-indicator",
10419
- "customElement": true
10395
+ "default": "undefined"
10420
10396
  },
10421
10397
  {
10422
10398
  "kind": "variable",
10423
- "name": "foundationConnectionIndicator",
10424
- "description": "The Connection Indicator",
10399
+ "name": "defaultDataGridConfig",
10400
+ "type": {
10401
+ "text": "object"
10402
+ },
10403
+ "default": "{}"
10404
+ },
10405
+ {
10406
+ "kind": "variable",
10407
+ "name": "foundationDataGrid",
10408
+ "description": "The Foundation Data Grid Element.",
10425
10409
  "privacy": "public"
10426
10410
  }
10427
10411
  ],
10428
10412
  "exports": [
10429
10413
  {
10430
10414
  "kind": "js",
10431
- "name": "ConnectionIndicator",
10415
+ "name": "DataGrid",
10432
10416
  "declaration": {
10433
- "name": "ConnectionIndicator",
10434
- "module": "src/connection-indicator/connection-indicator.ts"
10417
+ "name": "DataGrid",
10418
+ "module": "src/data-grid/data-grid.ts"
10435
10419
  }
10436
10420
  },
10437
10421
  {
10438
10422
  "kind": "js",
10439
- "name": "foundationConnectionIndicator",
10423
+ "name": "foundationDataGridShadowOptions",
10440
10424
  "declaration": {
10441
- "name": "foundationConnectionIndicator",
10442
- "module": "src/connection-indicator/connection-indicator.ts"
10425
+ "name": "foundationDataGridShadowOptions",
10426
+ "module": "src/data-grid/data-grid.ts"
10427
+ }
10428
+ },
10429
+ {
10430
+ "kind": "js",
10431
+ "name": "defaultDataGridConfig",
10432
+ "declaration": {
10433
+ "name": "defaultDataGridConfig",
10434
+ "module": "src/data-grid/data-grid.ts"
10435
+ }
10436
+ },
10437
+ {
10438
+ "kind": "js",
10439
+ "name": "foundationDataGrid",
10440
+ "declaration": {
10441
+ "name": "foundationDataGrid",
10442
+ "module": "src/data-grid/data-grid.ts"
10443
10443
  }
10444
10444
  }
10445
10445
  ]
10446
10446
  },
10447
10447
  {
10448
10448
  "kind": "javascript-module",
10449
- "path": "src/connection-indicator/index.ts",
10449
+ "path": "src/data-grid/index.ts",
10450
10450
  "declarations": [],
10451
10451
  "exports": [
10452
10452
  {
@@ -10454,7 +10454,7 @@
10454
10454
  "name": "*",
10455
10455
  "declaration": {
10456
10456
  "name": "*",
10457
- "package": "./connection-indicator"
10457
+ "package": "./data-grid.template"
10458
10458
  }
10459
10459
  },
10460
10460
  {
@@ -10462,7 +10462,7 @@
10462
10462
  "name": "*",
10463
10463
  "declaration": {
10464
10464
  "name": "*",
10465
- "package": "./connection-indicator.styles"
10465
+ "package": "./data-grid.styles"
10466
10466
  }
10467
10467
  },
10468
10468
  {
@@ -10470,7 +10470,7 @@
10470
10470
  "name": "*",
10471
10471
  "declaration": {
10472
10472
  "name": "*",
10473
- "package": "./connection-indicator.template"
10473
+ "package": "./data-grid"
10474
10474
  }
10475
10475
  }
10476
10476
  ]
@@ -13709,7 +13709,7 @@
13709
13709
  "type": {
13710
13710
  "text": "ElementStyles"
13711
13711
  },
13712
- "default": "css`\n :host {\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n .close-icon {\n position: absolute;\n right: calc(var(--design-unit) * 2px);\n top: calc(var(--design-unit) * 2px);\n cursor: pointer;\n }\n\n .close-icon svg {\n border-radius: calc(var(--control-corner-radius) * 1px);\n padding: calc(var(--design-unit) * 2px);\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 4px);\n overflow: inherit;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n }\n`"
13712
+ "default": "css`\n dialog[type='error'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--color-error);\n }\n\n dialog[type='success']::before {\n background-color: var(--color-success);\n }\n\n :host {\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n .close-icon {\n position: absolute;\n right: calc(var(--design-unit) * 2px);\n top: calc(var(--design-unit) * 2px);\n cursor: pointer;\n }\n\n .close-icon svg {\n border-radius: calc(var(--control-corner-radius) * 1px);\n padding: calc(var(--design-unit) * 2px);\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 4px);\n overflow: inherit;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n }\n`"
13713
13713
  }
13714
13714
  ],
13715
13715
  "exports": [
@@ -13808,13 +13808,21 @@
13808
13808
  "kind": "method",
13809
13809
  "name": "notificationChanged"
13810
13810
  },
13811
+ {
13812
+ "kind": "field",
13813
+ "name": "type",
13814
+ "type": {
13815
+ "text": "DialogType"
13816
+ },
13817
+ "default": "'default'"
13818
+ },
13811
13819
  {
13812
13820
  "kind": "field",
13813
13821
  "name": "position",
13814
13822
  "type": {
13815
- "text": "'centre' | 'left' | 'right'"
13823
+ "text": "DialogPosition"
13816
13824
  },
13817
- "default": "'centre'"
13825
+ "default": "'center'"
13818
13826
  },
13819
13827
  {
13820
13828
  "kind": "field",
@@ -14000,12 +14008,20 @@
14000
14008
  }
14001
14009
  ],
14002
14010
  "attributes": [
14011
+ {
14012
+ "name": "type",
14013
+ "type": {
14014
+ "text": "DialogType"
14015
+ },
14016
+ "default": "'default'",
14017
+ "fieldName": "type"
14018
+ },
14003
14019
  {
14004
14020
  "name": "position",
14005
14021
  "type": {
14006
- "text": "'centre' | 'left' | 'right'"
14022
+ "text": "DialogPosition"
14007
14023
  },
14008
- "default": "'centre'",
14024
+ "default": "'center'",
14009
14025
  "fieldName": "position"
14010
14026
  },
14011
14027
  {
@@ -14073,13 +14089,25 @@
14073
14089
  "module": "src/dialog/dialog.ts"
14074
14090
  }
14075
14091
  },
14092
+ {
14093
+ "kind": "field",
14094
+ "name": "type",
14095
+ "type": {
14096
+ "text": "DialogType"
14097
+ },
14098
+ "default": "'default'",
14099
+ "inheritedFrom": {
14100
+ "name": "<local>_DialogElement",
14101
+ "module": "src/dialog/dialog.ts"
14102
+ }
14103
+ },
14076
14104
  {
14077
14105
  "kind": "field",
14078
14106
  "name": "position",
14079
14107
  "type": {
14080
- "text": "'centre' | 'left' | 'right'"
14108
+ "text": "DialogPosition"
14081
14109
  },
14082
- "default": "'centre'",
14110
+ "default": "'center'",
14083
14111
  "inheritedFrom": {
14084
14112
  "name": "<local>_DialogElement",
14085
14113
  "module": "src/dialog/dialog.ts"
@@ -14293,12 +14321,24 @@
14293
14321
  "tagName": "%%prefix%%-dialog",
14294
14322
  "customElement": true,
14295
14323
  "attributes": [
14324
+ {
14325
+ "name": "type",
14326
+ "type": {
14327
+ "text": "DialogType"
14328
+ },
14329
+ "default": "'default'",
14330
+ "fieldName": "type",
14331
+ "inheritedFrom": {
14332
+ "name": "<local>_DialogElement",
14333
+ "module": "src/dialog/dialog.ts"
14334
+ }
14335
+ },
14296
14336
  {
14297
14337
  "name": "position",
14298
14338
  "type": {
14299
- "text": "'centre' | 'left' | 'right'"
14339
+ "text": "DialogPosition"
14300
14340
  },
14301
- "default": "'centre'",
14341
+ "default": "'center'",
14302
14342
  "fieldName": "position",
14303
14343
  "inheritedFrom": {
14304
14344
  "name": "<local>_DialogElement",
@@ -14370,6 +14410,12 @@
14370
14410
  }
14371
14411
  ]
14372
14412
  },
14413
+ {
14414
+ "kind": "javascript-module",
14415
+ "path": "src/dialog/dialog.types.ts",
14416
+ "declarations": [],
14417
+ "exports": []
14418
+ },
14373
14419
  {
14374
14420
  "kind": "javascript-module",
14375
14421
  "path": "src/dialog/index.ts",
@@ -23308,13 +23354,25 @@
23308
23354
  "module": "src/dialog/dialog.ts"
23309
23355
  }
23310
23356
  },
23357
+ {
23358
+ "kind": "field",
23359
+ "name": "type",
23360
+ "type": {
23361
+ "text": "DialogType"
23362
+ },
23363
+ "default": "'default'",
23364
+ "inheritedFrom": {
23365
+ "name": "<local>_DialogElement",
23366
+ "module": "src/dialog/dialog.ts"
23367
+ }
23368
+ },
23311
23369
  {
23312
23370
  "kind": "field",
23313
23371
  "name": "position",
23314
23372
  "type": {
23315
- "text": "'centre' | 'left' | 'right'"
23373
+ "text": "DialogPosition"
23316
23374
  },
23317
- "default": "'centre'",
23375
+ "default": "'center'",
23318
23376
  "inheritedFrom": {
23319
23377
  "name": "<local>_DialogElement",
23320
23378
  "module": "src/dialog/dialog.ts"
@@ -23528,12 +23586,24 @@
23528
23586
  "tagName": "%%prefix%%-modal",
23529
23587
  "customElement": true,
23530
23588
  "attributes": [
23589
+ {
23590
+ "name": "type",
23591
+ "type": {
23592
+ "text": "DialogType"
23593
+ },
23594
+ "default": "'default'",
23595
+ "fieldName": "type",
23596
+ "inheritedFrom": {
23597
+ "name": "<local>_DialogElement",
23598
+ "module": "src/dialog/dialog.ts"
23599
+ }
23600
+ },
23531
23601
  {
23532
23602
  "name": "position",
23533
23603
  "type": {
23534
- "text": "'centre' | 'left' | 'right'"
23604
+ "text": "DialogPosition"
23535
23605
  },
23536
- "default": "'centre'",
23606
+ "default": "'center'",
23537
23607
  "fieldName": "position",
23538
23608
  "inheritedFrom": {
23539
23609
  "name": "<local>_DialogElement",