@genesislcap/foundation-ui 14.178.0 → 14.179.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1229 -1229
  2. package/package.json +16 -16
@@ -848,6 +848,51 @@
848
848
  }
849
849
  ]
850
850
  },
851
+ {
852
+ "kind": "javascript-module",
853
+ "path": "src/_common/icons.ts",
854
+ "declarations": [
855
+ {
856
+ "kind": "function",
857
+ "name": "closeIcon",
858
+ "parameters": [
859
+ {
860
+ "name": "slot",
861
+ "default": "'start'"
862
+ },
863
+ {
864
+ "name": "fill",
865
+ "default": "'#879ba6'"
866
+ }
867
+ ]
868
+ }
869
+ ],
870
+ "exports": [
871
+ {
872
+ "kind": "js",
873
+ "name": "closeIcon",
874
+ "declaration": {
875
+ "name": "closeIcon",
876
+ "module": "src/_common/icons.ts"
877
+ }
878
+ }
879
+ ]
880
+ },
881
+ {
882
+ "kind": "javascript-module",
883
+ "path": "src/_common/index.ts",
884
+ "declarations": [],
885
+ "exports": [
886
+ {
887
+ "kind": "js",
888
+ "name": "*",
889
+ "declaration": {
890
+ "name": "*",
891
+ "package": "./icons"
892
+ }
893
+ }
894
+ ]
895
+ },
851
896
  {
852
897
  "kind": "javascript-module",
853
898
  "path": "src/accordion/accordion.styles.ts",
@@ -1032,79 +1077,11 @@
1032
1077
  },
1033
1078
  {
1034
1079
  "kind": "javascript-module",
1035
- "path": "src/_common/icons.ts",
1036
- "declarations": [
1037
- {
1038
- "kind": "function",
1039
- "name": "closeIcon",
1040
- "parameters": [
1041
- {
1042
- "name": "slot",
1043
- "default": "'start'"
1044
- },
1045
- {
1046
- "name": "fill",
1047
- "default": "'#879ba6'"
1048
- }
1049
- ]
1050
- }
1051
- ],
1052
- "exports": [
1053
- {
1054
- "kind": "js",
1055
- "name": "closeIcon",
1056
- "declaration": {
1057
- "name": "closeIcon",
1058
- "module": "src/_common/icons.ts"
1059
- }
1060
- }
1061
- ]
1062
- },
1063
- {
1064
- "kind": "javascript-module",
1065
- "path": "src/_common/index.ts",
1066
- "declarations": [],
1067
- "exports": [
1068
- {
1069
- "kind": "js",
1070
- "name": "*",
1071
- "declaration": {
1072
- "name": "*",
1073
- "package": "./icons"
1074
- }
1075
- }
1076
- ]
1077
- },
1078
- {
1079
- "kind": "javascript-module",
1080
- "path": "src/actions-menu/actions-menu.styles.ts",
1080
+ "path": "src/accordion-item/accordion-item.styles.ts",
1081
1081
  "declarations": [
1082
1082
  {
1083
1083
  "kind": "function",
1084
- "name": "actionsMenuBaseStyles",
1085
- "return": {
1086
- "type": {
1087
- "text": "ElementStyles"
1088
- }
1089
- },
1090
- "parameters": [
1091
- {
1092
- "name": "context",
1093
- "type": {
1094
- "text": "ElementDefinitionContext"
1095
- }
1096
- },
1097
- {
1098
- "name": "definition",
1099
- "type": {
1100
- "text": "FoundationElementDefinition"
1101
- }
1102
- }
1103
- ]
1104
- },
1105
- {
1106
- "kind": "function",
1107
- "name": "foundationActionsMenuStyles",
1084
+ "name": "foundationAccordionItemStyles",
1108
1085
  "return": {
1109
1086
  "type": {
1110
1087
  "text": "ElementStyles"
@@ -1129,270 +1106,157 @@
1129
1106
  "exports": [
1130
1107
  {
1131
1108
  "kind": "js",
1132
- "name": "actionsMenuBaseStyles",
1133
- "declaration": {
1134
- "name": "actionsMenuBaseStyles",
1135
- "module": "src/actions-menu/actions-menu.styles.ts"
1136
- }
1137
- },
1138
- {
1139
- "kind": "js",
1140
- "name": "foundationActionsMenuStyles",
1109
+ "name": "foundationAccordionItemStyles",
1141
1110
  "declaration": {
1142
- "name": "foundationActionsMenuStyles",
1143
- "module": "src/actions-menu/actions-menu.styles.ts"
1111
+ "name": "foundationAccordionItemStyles",
1112
+ "module": "src/accordion-item/accordion-item.styles.ts"
1144
1113
  }
1145
1114
  }
1146
1115
  ]
1147
1116
  },
1148
1117
  {
1149
1118
  "kind": "javascript-module",
1150
- "path": "src/actions-menu/actions-menu.template.ts",
1119
+ "path": "src/accordion-item/accordion-item.template.ts",
1151
1120
  "declarations": [
1152
1121
  {
1153
1122
  "kind": "function",
1154
- "name": "menuTemplate",
1123
+ "name": "foundationAccordionItemTemplate",
1124
+ "return": {
1125
+ "type": {
1126
+ "text": "ViewTemplate<AccordionItem>"
1127
+ }
1128
+ },
1155
1129
  "parameters": [
1156
1130
  {
1157
- "name": "prefix",
1131
+ "name": "context",
1158
1132
  "type": {
1159
- "text": "string"
1133
+ "text": "ElementDefinitionContext"
1160
1134
  }
1161
- }
1162
- ]
1163
- },
1164
- {
1165
- "kind": "function",
1166
- "name": "singleOptionTemplate",
1167
- "parameters": [
1135
+ },
1168
1136
  {
1169
- "name": "prefix",
1137
+ "name": "definition",
1170
1138
  "type": {
1171
- "text": "string"
1139
+ "text": "FoundationElementDefinition"
1172
1140
  }
1173
1141
  }
1174
1142
  ]
1175
- },
1176
- {
1177
- "kind": "variable",
1178
- "name": "foundationActionsMenuTemplate",
1179
- "type": {
1180
- "text": "ViewTemplate<ActionsMenu>"
1181
- },
1182
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1183
1143
  }
1184
1144
  ],
1185
1145
  "exports": [
1186
1146
  {
1187
1147
  "kind": "js",
1188
- "name": "menuTemplate",
1189
- "declaration": {
1190
- "name": "menuTemplate",
1191
- "module": "src/actions-menu/actions-menu.template.ts"
1192
- }
1193
- },
1194
- {
1195
- "kind": "js",
1196
- "name": "singleOptionTemplate",
1197
- "declaration": {
1198
- "name": "singleOptionTemplate",
1199
- "module": "src/actions-menu/actions-menu.template.ts"
1200
- }
1201
- },
1202
- {
1203
- "kind": "js",
1204
- "name": "foundationActionsMenuTemplate",
1148
+ "name": "foundationAccordionItemTemplate",
1205
1149
  "declaration": {
1206
- "name": "foundationActionsMenuTemplate",
1207
- "module": "src/actions-menu/actions-menu.template.ts"
1150
+ "name": "foundationAccordionItemTemplate",
1151
+ "module": "src/accordion-item/accordion-item.template.ts"
1208
1152
  }
1209
1153
  }
1210
1154
  ]
1211
1155
  },
1212
1156
  {
1213
1157
  "kind": "javascript-module",
1214
- "path": "src/actions-menu/actions-menu.ts",
1158
+ "path": "src/accordion-item/accordion-item.ts",
1215
1159
  "declarations": [
1216
1160
  {
1217
1161
  "kind": "class",
1218
1162
  "description": "",
1219
- "name": "ActionsMenu",
1220
- "members": [
1163
+ "name": "AccordionItem",
1164
+ "superclass": {
1165
+ "name": "FASTAccordionItem",
1166
+ "package": "@microsoft/fast-components"
1167
+ },
1168
+ "tagName": "%%prefix%%-accordion-item",
1169
+ "customElement": true,
1170
+ "attributes": [
1221
1171
  {
1222
- "kind": "field",
1223
- "name": "actions",
1172
+ "name": "heading-level",
1224
1173
  "type": {
1225
- "text": "ActionMenuItem[]"
1174
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1175
+ },
1176
+ "default": "2",
1177
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1178
+ "fieldName": "headinglevel",
1179
+ "inheritedFrom": {
1180
+ "name": "AccordionItem",
1181
+ "module": "src/accordion-item/accordion-item.ts"
1226
1182
  }
1227
1183
  },
1228
1184
  {
1229
- "kind": "field",
1230
- "name": "isVertical",
1231
1185
  "type": {
1232
1186
  "text": "boolean"
1233
1187
  },
1234
- "default": "false"
1188
+ "default": "false",
1189
+ "description": "Expands or collapses the item.",
1190
+ "fieldName": "expanded",
1191
+ "inheritedFrom": {
1192
+ "name": "AccordionItem",
1193
+ "module": "src/accordion-item/accordion-item.ts"
1194
+ }
1235
1195
  },
1196
+ {
1197
+ "name": "id",
1198
+ "type": {
1199
+ "text": "string"
1200
+ },
1201
+ "description": "The item ID",
1202
+ "fieldName": "id",
1203
+ "inheritedFrom": {
1204
+ "name": "AccordionItem",
1205
+ "module": "src/accordion-item/accordion-item.ts"
1206
+ }
1207
+ }
1208
+ ],
1209
+ "members": [
1236
1210
  {
1237
1211
  "kind": "field",
1238
- "name": "addDefaultActions",
1212
+ "name": "headinglevel",
1239
1213
  "type": {
1240
- "text": "boolean"
1214
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1241
1215
  },
1242
- "default": "true"
1216
+ "privacy": "public",
1217
+ "default": "2",
1218
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1219
+ "inheritedFrom": {
1220
+ "name": "AccordionItem",
1221
+ "module": "src/accordion-item/accordion-item.ts"
1222
+ }
1243
1223
  },
1244
1224
  {
1245
1225
  "kind": "field",
1246
- "name": "autoCloseOnAction",
1226
+ "name": "expanded",
1247
1227
  "type": {
1248
1228
  "text": "boolean"
1249
1229
  },
1250
- "default": "true"
1230
+ "privacy": "public",
1231
+ "default": "false",
1232
+ "description": "Expands or collapses the item.",
1233
+ "inheritedFrom": {
1234
+ "name": "AccordionItem",
1235
+ "module": "src/accordion-item/accordion-item.ts"
1236
+ }
1251
1237
  },
1252
1238
  {
1253
1239
  "kind": "field",
1254
- "name": "classNames",
1255
- "type": {
1256
- "text": "string"
1257
- }
1258
- },
1259
- {
1260
- "kind": "field",
1261
- "name": "definition",
1262
- "type": {
1263
- "text": "any"
1264
- }
1265
- },
1266
- {
1267
- "kind": "field",
1268
- "name": "name",
1269
- "type": {
1270
- "text": "string"
1271
- },
1272
- "default": "'Actions'"
1273
- },
1274
- {
1275
- "kind": "field",
1276
- "name": "open",
1277
- "type": {
1278
- "text": "boolean"
1279
- },
1280
- "default": "false"
1281
- },
1282
- {
1283
- "kind": "field",
1284
- "name": "buttonAppearance",
1240
+ "name": "id",
1285
1241
  "type": {
1286
1242
  "text": "string"
1287
- }
1288
- },
1289
- {
1290
- "kind": "field",
1291
- "name": "hideDisabled",
1292
- "type": {
1293
- "text": "boolean"
1294
- },
1295
- "default": "false"
1296
- },
1297
- {
1298
- "kind": "field",
1299
- "name": "hideMenuSingleOption",
1300
- "type": {
1301
- "text": "boolean"
1302
1243
  },
1303
- "default": "false"
1304
- },
1305
- {
1306
- "kind": "field",
1307
- "name": "singleOption",
1308
- "type": {
1309
- "text": "ActionMenuItem"
1244
+ "privacy": "public",
1245
+ "description": "The item ID",
1246
+ "inheritedFrom": {
1247
+ "name": "AccordionItem",
1248
+ "module": "src/accordion-item/accordion-item.ts"
1310
1249
  }
1311
1250
  },
1312
1251
  {
1313
1252
  "kind": "field",
1314
- "name": "actionsMenu",
1315
- "type": {
1316
- "text": "HTMLElement"
1253
+ "name": "change",
1254
+ "privacy": "private",
1255
+ "inheritedFrom": {
1256
+ "name": "AccordionItem",
1257
+ "module": "src/accordion-item/accordion-item.ts"
1317
1258
  }
1318
1259
  },
1319
- {
1320
- "kind": "method",
1321
- "name": "definitionChanged",
1322
- "privacy": "protected",
1323
- "parameters": [
1324
- {
1325
- "name": "oldValue",
1326
- "type": {
1327
- "text": "any"
1328
- }
1329
- },
1330
- {
1331
- "name": "newValue",
1332
- "type": {
1333
- "text": "any"
1334
- }
1335
- }
1336
- ]
1337
- },
1338
- {
1339
- "kind": "method",
1340
- "name": "openChanged",
1341
- "privacy": "protected"
1342
- },
1343
- {
1344
- "kind": "method",
1345
- "name": "toggleActionsMenuVisibility"
1346
- },
1347
- {
1348
- "kind": "method",
1349
- "name": "onActionMenuItemClick",
1350
- "parameters": [
1351
- {
1352
- "name": "callback",
1353
- "type": {
1354
- "text": "(rowData) => void | any"
1355
- }
1356
- }
1357
- ]
1358
- },
1359
- {
1360
- "kind": "field",
1361
- "name": "allActions",
1362
- "type": {
1363
- "text": "ActionMenuItem[]"
1364
- },
1365
- "readonly": true
1366
- },
1367
- {
1368
- "kind": "field",
1369
- "name": "rowData",
1370
- "readonly": true
1371
- },
1372
- {
1373
- "kind": "method",
1374
- "name": "getLabel",
1375
- "parameters": [
1376
- {
1377
- "name": "name",
1378
- "type": {
1379
- "text": "string | ((rowData: any) => string)"
1380
- }
1381
- }
1382
- ]
1383
- },
1384
- {
1385
- "kind": "method",
1386
- "name": "getTemplate",
1387
- "parameters": [
1388
- {
1389
- "name": "prefix",
1390
- "type": {
1391
- "text": "string"
1392
- }
1393
- }
1394
- ]
1395
- },
1396
1260
  {
1397
1261
  "kind": "field",
1398
1262
  "name": "_presentation",
@@ -1505,107 +1369,78 @@
1505
1369
  }
1506
1370
  }
1507
1371
  ],
1508
- "attributes": [
1509
- {
1510
- "name": "is-vertical",
1511
- "type": {
1512
- "text": "boolean"
1513
- },
1514
- "default": "false",
1515
- "fieldName": "isVertical"
1516
- },
1517
- {
1518
- "name": "add-default-actions",
1519
- "type": {
1520
- "text": "boolean"
1521
- },
1522
- "default": "true",
1523
- "fieldName": "addDefaultActions"
1524
- },
1525
- {
1526
- "name": "auto-close-on-action",
1527
- "type": {
1528
- "text": "boolean"
1529
- },
1530
- "default": "true",
1531
- "fieldName": "autoCloseOnAction"
1532
- },
1533
- {
1534
- "name": "name",
1535
- "type": {
1536
- "text": "string"
1537
- },
1538
- "default": "'Actions'",
1539
- "fieldName": "name"
1540
- },
1541
- {
1542
- "name": "open",
1543
- "type": {
1544
- "text": "boolean"
1545
- },
1546
- "default": "false",
1547
- "fieldName": "open"
1548
- },
1549
- {
1550
- "name": "buttonAppearance",
1551
- "type": {
1552
- "text": "string"
1553
- },
1554
- "fieldName": "buttonAppearance"
1555
- },
1556
- {
1557
- "name": "hide-disabled",
1558
- "type": {
1559
- "text": "boolean"
1560
- },
1561
- "default": "false",
1562
- "fieldName": "hideDisabled"
1563
- },
1372
+ "events": [
1564
1373
  {
1565
- "name": "hide-menu-single-option",
1566
- "type": {
1567
- "text": "boolean"
1568
- },
1569
- "default": "false",
1570
- "fieldName": "hideMenuSingleOption"
1374
+ "description": "Fires a custom 'change' event when the button is invoked",
1375
+ "name": "change",
1376
+ "inheritedFrom": {
1377
+ "name": "AccordionItem",
1378
+ "module": "src/accordion-item/accordion-item.ts"
1379
+ }
1571
1380
  }
1572
- ],
1573
- "superclass": {
1574
- "name": "FoundationElement",
1575
- "package": "@microsoft/fast-foundation"
1381
+ ]
1382
+ },
1383
+ {
1384
+ "kind": "variable",
1385
+ "name": "foundationAccordionItemShadowOptions",
1386
+ "type": {
1387
+ "text": "ShadowRootInit"
1576
1388
  },
1577
- "tagName": "%%prefix%%-actions-menu",
1578
- "customElement": true
1389
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1579
1390
  },
1580
1391
  {
1581
1392
  "kind": "variable",
1582
- "name": "foundationActionsMenu",
1583
- "description": "The Foundation Actions Menu",
1393
+ "name": "defaultAccordionItemConfig",
1394
+ "type": {
1395
+ "text": "object"
1396
+ },
1397
+ "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}"
1398
+ },
1399
+ {
1400
+ "kind": "variable",
1401
+ "name": "foundationAccordionItem",
1402
+ "description": "The Foundation Accordion Item",
1584
1403
  "privacy": "public"
1585
1404
  }
1586
1405
  ],
1587
1406
  "exports": [
1588
1407
  {
1589
1408
  "kind": "js",
1590
- "name": "ActionsMenu",
1409
+ "name": "AccordionItem",
1591
1410
  "declaration": {
1592
- "name": "ActionsMenu",
1593
- "module": "src/actions-menu/actions-menu.ts"
1411
+ "name": "AccordionItem",
1412
+ "module": "src/accordion-item/accordion-item.ts"
1594
1413
  }
1595
1414
  },
1596
1415
  {
1597
1416
  "kind": "js",
1598
- "name": "foundationActionsMenu",
1417
+ "name": "foundationAccordionItemShadowOptions",
1599
1418
  "declaration": {
1600
- "name": "foundationActionsMenu",
1601
- "module": "src/actions-menu/actions-menu.ts"
1419
+ "name": "foundationAccordionItemShadowOptions",
1420
+ "module": "src/accordion-item/accordion-item.ts"
1602
1421
  }
1603
- }
1604
- ]
1605
- },
1606
- {
1607
- "kind": "javascript-module",
1608
- "path": "src/actions-menu/index.ts",
1422
+ },
1423
+ {
1424
+ "kind": "js",
1425
+ "name": "defaultAccordionItemConfig",
1426
+ "declaration": {
1427
+ "name": "defaultAccordionItemConfig",
1428
+ "module": "src/accordion-item/accordion-item.ts"
1429
+ }
1430
+ },
1431
+ {
1432
+ "kind": "js",
1433
+ "name": "foundationAccordionItem",
1434
+ "declaration": {
1435
+ "name": "foundationAccordionItem",
1436
+ "module": "src/accordion-item/accordion-item.ts"
1437
+ }
1438
+ }
1439
+ ]
1440
+ },
1441
+ {
1442
+ "kind": "javascript-module",
1443
+ "path": "src/accordion-item/index.ts",
1609
1444
  "declarations": [],
1610
1445
  "exports": [
1611
1446
  {
@@ -1613,7 +1448,7 @@
1613
1448
  "name": "*",
1614
1449
  "declaration": {
1615
1450
  "name": "*",
1616
- "package": "./actions-menu.styles"
1451
+ "package": "./accordion-item.template"
1617
1452
  }
1618
1453
  },
1619
1454
  {
@@ -1621,7 +1456,7 @@
1621
1456
  "name": "*",
1622
1457
  "declaration": {
1623
1458
  "name": "*",
1624
- "package": "./actions-menu.template"
1459
+ "package": "./accordion-item.styles"
1625
1460
  }
1626
1461
  },
1627
1462
  {
@@ -1629,18 +1464,41 @@
1629
1464
  "name": "*",
1630
1465
  "declaration": {
1631
1466
  "name": "*",
1632
- "package": "./actions-menu"
1467
+ "package": "./accordion-item"
1633
1468
  }
1634
1469
  }
1635
1470
  ]
1636
1471
  },
1637
1472
  {
1638
1473
  "kind": "javascript-module",
1639
- "path": "src/anchor/anchor.styles.ts",
1474
+ "path": "src/actions-menu/actions-menu.styles.ts",
1640
1475
  "declarations": [
1641
1476
  {
1642
1477
  "kind": "function",
1643
- "name": "foundationAnchorStyles",
1478
+ "name": "actionsMenuBaseStyles",
1479
+ "return": {
1480
+ "type": {
1481
+ "text": "ElementStyles"
1482
+ }
1483
+ },
1484
+ "parameters": [
1485
+ {
1486
+ "name": "context",
1487
+ "type": {
1488
+ "text": "ElementDefinitionContext"
1489
+ }
1490
+ },
1491
+ {
1492
+ "name": "definition",
1493
+ "type": {
1494
+ "text": "FoundationElementDefinition"
1495
+ }
1496
+ }
1497
+ ]
1498
+ },
1499
+ {
1500
+ "kind": "function",
1501
+ "name": "foundationActionsMenuStyles",
1644
1502
  "return": {
1645
1503
  "type": {
1646
1504
  "text": "ElementStyles"
@@ -1665,292 +1523,269 @@
1665
1523
  "exports": [
1666
1524
  {
1667
1525
  "kind": "js",
1668
- "name": "foundationAnchorStyles",
1526
+ "name": "actionsMenuBaseStyles",
1669
1527
  "declaration": {
1670
- "name": "foundationAnchorStyles",
1671
- "module": "src/anchor/anchor.styles.ts"
1528
+ "name": "actionsMenuBaseStyles",
1529
+ "module": "src/actions-menu/actions-menu.styles.ts"
1530
+ }
1531
+ },
1532
+ {
1533
+ "kind": "js",
1534
+ "name": "foundationActionsMenuStyles",
1535
+ "declaration": {
1536
+ "name": "foundationActionsMenuStyles",
1537
+ "module": "src/actions-menu/actions-menu.styles.ts"
1672
1538
  }
1673
1539
  }
1674
1540
  ]
1675
1541
  },
1676
1542
  {
1677
1543
  "kind": "javascript-module",
1678
- "path": "src/anchor/anchor.template.ts",
1544
+ "path": "src/actions-menu/actions-menu.template.ts",
1679
1545
  "declarations": [
1680
1546
  {
1681
1547
  "kind": "function",
1682
- "name": "foundationAnchorTemplate",
1683
- "return": {
1684
- "type": {
1685
- "text": "ViewTemplate<Anchor>"
1686
- }
1687
- },
1548
+ "name": "menuTemplate",
1688
1549
  "parameters": [
1689
1550
  {
1690
- "name": "context",
1551
+ "name": "prefix",
1691
1552
  "type": {
1692
- "text": "ElementDefinitionContext"
1553
+ "text": "string"
1693
1554
  }
1694
- },
1555
+ }
1556
+ ]
1557
+ },
1558
+ {
1559
+ "kind": "function",
1560
+ "name": "singleOptionTemplate",
1561
+ "parameters": [
1695
1562
  {
1696
- "name": "definition",
1563
+ "name": "prefix",
1697
1564
  "type": {
1698
- "text": "FoundationElementDefinition"
1565
+ "text": "string"
1699
1566
  }
1700
1567
  }
1701
1568
  ]
1569
+ },
1570
+ {
1571
+ "kind": "variable",
1572
+ "name": "foundationActionsMenuTemplate",
1573
+ "type": {
1574
+ "text": "ViewTemplate<ActionsMenu>"
1575
+ },
1576
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1702
1577
  }
1703
1578
  ],
1704
1579
  "exports": [
1705
1580
  {
1706
1581
  "kind": "js",
1707
- "name": "foundationAnchorTemplate",
1582
+ "name": "menuTemplate",
1708
1583
  "declaration": {
1709
- "name": "foundationAnchorTemplate",
1710
- "module": "src/anchor/anchor.template.ts"
1584
+ "name": "menuTemplate",
1585
+ "module": "src/actions-menu/actions-menu.template.ts"
1586
+ }
1587
+ },
1588
+ {
1589
+ "kind": "js",
1590
+ "name": "singleOptionTemplate",
1591
+ "declaration": {
1592
+ "name": "singleOptionTemplate",
1593
+ "module": "src/actions-menu/actions-menu.template.ts"
1594
+ }
1595
+ },
1596
+ {
1597
+ "kind": "js",
1598
+ "name": "foundationActionsMenuTemplate",
1599
+ "declaration": {
1600
+ "name": "foundationActionsMenuTemplate",
1601
+ "module": "src/actions-menu/actions-menu.template.ts"
1711
1602
  }
1712
1603
  }
1713
1604
  ]
1714
1605
  },
1715
1606
  {
1716
1607
  "kind": "javascript-module",
1717
- "path": "src/anchor/anchor.ts",
1608
+ "path": "src/actions-menu/actions-menu.ts",
1718
1609
  "declarations": [
1719
1610
  {
1720
1611
  "kind": "class",
1721
1612
  "description": "",
1722
- "name": "Anchor",
1723
- "superclass": {
1724
- "name": "FASTAnchor",
1725
- "package": "@microsoft/fast-components"
1726
- },
1727
- "tagName": "%%prefix%%-anchor",
1728
- "customElement": true,
1729
- "attributes": [
1613
+ "name": "ActionsMenu",
1614
+ "members": [
1730
1615
  {
1731
- "name": "download",
1616
+ "kind": "field",
1617
+ "name": "actions",
1732
1618
  "type": {
1733
- "text": "string"
1734
- },
1735
- "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.",
1736
- "fieldName": "download",
1737
- "inheritedFrom": {
1738
- "name": "Anchor",
1739
- "module": "src/anchor/anchor.ts"
1619
+ "text": "ActionMenuItem[]"
1740
1620
  }
1741
1621
  },
1742
1622
  {
1743
- "name": "href",
1623
+ "kind": "field",
1624
+ "name": "isVertical",
1744
1625
  "type": {
1745
- "text": "string"
1626
+ "text": "boolean"
1746
1627
  },
1747
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1748
- "fieldName": "href",
1749
- "inheritedFrom": {
1750
- "name": "Anchor",
1751
- "module": "src/anchor/anchor.ts"
1752
- }
1628
+ "default": "false"
1753
1629
  },
1754
1630
  {
1755
- "name": "hreflang",
1631
+ "kind": "field",
1632
+ "name": "addDefaultActions",
1756
1633
  "type": {
1757
- "text": "string"
1634
+ "text": "boolean"
1758
1635
  },
1759
- "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.",
1760
- "fieldName": "hreflang",
1761
- "inheritedFrom": {
1762
- "name": "Anchor",
1763
- "module": "src/anchor/anchor.ts"
1764
- }
1636
+ "default": "true"
1765
1637
  },
1766
1638
  {
1767
- "name": "ping",
1639
+ "kind": "field",
1640
+ "name": "autoCloseOnAction",
1768
1641
  "type": {
1769
- "text": "string"
1642
+ "text": "boolean"
1770
1643
  },
1771
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1772
- "fieldName": "ping",
1773
- "inheritedFrom": {
1774
- "name": "Anchor",
1775
- "module": "src/anchor/anchor.ts"
1776
- }
1644
+ "default": "true"
1777
1645
  },
1778
1646
  {
1779
- "name": "referrerpolicy",
1647
+ "kind": "field",
1648
+ "name": "classNames",
1780
1649
  "type": {
1781
1650
  "text": "string"
1782
- },
1783
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1784
- "fieldName": "referrerpolicy",
1785
- "inheritedFrom": {
1786
- "name": "Anchor",
1787
- "module": "src/anchor/anchor.ts"
1788
1651
  }
1789
1652
  },
1790
1653
  {
1791
- "name": "rel",
1654
+ "kind": "field",
1655
+ "name": "definition",
1792
1656
  "type": {
1793
- "text": "string"
1794
- },
1795
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1796
- "fieldName": "rel",
1797
- "inheritedFrom": {
1798
- "name": "Anchor",
1799
- "module": "src/anchor/anchor.ts"
1657
+ "text": "any"
1800
1658
  }
1801
1659
  },
1802
1660
  {
1803
- "name": "target",
1661
+ "kind": "field",
1662
+ "name": "name",
1804
1663
  "type": {
1805
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1664
+ "text": "string"
1806
1665
  },
1807
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1808
- "fieldName": "target",
1809
- "inheritedFrom": {
1810
- "name": "Anchor",
1811
- "module": "src/anchor/anchor.ts"
1812
- }
1666
+ "default": "'Actions'"
1813
1667
  },
1814
1668
  {
1815
- "name": "type",
1669
+ "kind": "field",
1670
+ "name": "open",
1816
1671
  "type": {
1817
- "text": "string"
1672
+ "text": "boolean"
1818
1673
  },
1819
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1820
- "fieldName": "type",
1821
- "inheritedFrom": {
1822
- "name": "Anchor",
1823
- "module": "src/anchor/anchor.ts"
1824
- }
1825
- }
1826
- ],
1827
- "members": [
1674
+ "default": "false"
1675
+ },
1828
1676
  {
1829
1677
  "kind": "field",
1830
- "name": "download",
1678
+ "name": "buttonAppearance",
1831
1679
  "type": {
1832
1680
  "text": "string"
1833
- },
1834
- "privacy": "public",
1835
- "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.",
1836
- "inheritedFrom": {
1837
- "name": "Anchor",
1838
- "module": "src/anchor/anchor.ts"
1839
1681
  }
1840
1682
  },
1841
1683
  {
1842
1684
  "kind": "field",
1843
- "name": "href",
1685
+ "name": "hideDisabled",
1844
1686
  "type": {
1845
- "text": "string"
1687
+ "text": "boolean"
1846
1688
  },
1847
- "privacy": "public",
1848
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1849
- "inheritedFrom": {
1850
- "name": "Anchor",
1851
- "module": "src/anchor/anchor.ts"
1852
- }
1689
+ "default": "false"
1853
1690
  },
1854
1691
  {
1855
1692
  "kind": "field",
1856
- "name": "hreflang",
1693
+ "name": "hideMenuSingleOption",
1857
1694
  "type": {
1858
- "text": "string"
1695
+ "text": "boolean"
1859
1696
  },
1860
- "privacy": "public",
1861
- "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.",
1862
- "inheritedFrom": {
1863
- "name": "Anchor",
1864
- "module": "src/anchor/anchor.ts"
1865
- }
1697
+ "default": "false"
1866
1698
  },
1867
1699
  {
1868
1700
  "kind": "field",
1869
- "name": "ping",
1701
+ "name": "singleOption",
1870
1702
  "type": {
1871
- "text": "string"
1872
- },
1873
- "privacy": "public",
1874
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1875
- "inheritedFrom": {
1876
- "name": "Anchor",
1877
- "module": "src/anchor/anchor.ts"
1703
+ "text": "ActionMenuItem"
1878
1704
  }
1879
1705
  },
1880
1706
  {
1881
1707
  "kind": "field",
1882
- "name": "referrerpolicy",
1708
+ "name": "actionsMenu",
1883
1709
  "type": {
1884
- "text": "string"
1885
- },
1886
- "privacy": "public",
1887
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1888
- "inheritedFrom": {
1889
- "name": "Anchor",
1890
- "module": "src/anchor/anchor.ts"
1710
+ "text": "HTMLElement"
1891
1711
  }
1892
1712
  },
1893
1713
  {
1894
- "kind": "field",
1895
- "name": "rel",
1896
- "type": {
1897
- "text": "string"
1898
- },
1899
- "privacy": "public",
1900
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1901
- "inheritedFrom": {
1902
- "name": "Anchor",
1903
- "module": "src/anchor/anchor.ts"
1904
- }
1714
+ "kind": "method",
1715
+ "name": "definitionChanged",
1716
+ "privacy": "protected",
1717
+ "parameters": [
1718
+ {
1719
+ "name": "oldValue",
1720
+ "type": {
1721
+ "text": "any"
1722
+ }
1723
+ },
1724
+ {
1725
+ "name": "newValue",
1726
+ "type": {
1727
+ "text": "any"
1728
+ }
1729
+ }
1730
+ ]
1905
1731
  },
1906
1732
  {
1907
- "kind": "field",
1908
- "name": "target",
1909
- "type": {
1910
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1911
- },
1912
- "privacy": "public",
1913
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1914
- "inheritedFrom": {
1915
- "name": "Anchor",
1916
- "module": "src/anchor/anchor.ts"
1917
- }
1733
+ "kind": "method",
1734
+ "name": "openChanged",
1735
+ "privacy": "protected"
1918
1736
  },
1919
1737
  {
1920
- "kind": "field",
1921
- "name": "type",
1922
- "type": {
1923
- "text": "string"
1924
- },
1925
- "privacy": "public",
1926
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1927
- "inheritedFrom": {
1928
- "name": "Anchor",
1929
- "module": "src/anchor/anchor.ts"
1930
- }
1738
+ "kind": "method",
1739
+ "name": "toggleActionsMenuVisibility"
1740
+ },
1741
+ {
1742
+ "kind": "method",
1743
+ "name": "onActionMenuItemClick",
1744
+ "parameters": [
1745
+ {
1746
+ "name": "callback",
1747
+ "type": {
1748
+ "text": "(rowData) => void | any"
1749
+ }
1750
+ }
1751
+ ]
1931
1752
  },
1932
1753
  {
1933
1754
  "kind": "field",
1934
- "name": "control",
1755
+ "name": "allActions",
1935
1756
  "type": {
1936
- "text": "HTMLAnchorElement | undefined"
1757
+ "text": "ActionMenuItem[]"
1937
1758
  },
1938
- "privacy": "public",
1939
- "description": "References the root element",
1940
- "inheritedFrom": {
1941
- "name": "Anchor",
1942
- "module": "src/anchor/anchor.ts"
1943
- }
1759
+ "readonly": true
1944
1760
  },
1945
1761
  {
1946
1762
  "kind": "field",
1947
- "name": "handleUnsupportedDelegatesFocus",
1948
- "privacy": "private",
1949
- "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",
1950
- "inheritedFrom": {
1951
- "name": "Anchor",
1952
- "module": "src/anchor/anchor.ts"
1953
- }
1763
+ "name": "rowData",
1764
+ "readonly": true
1765
+ },
1766
+ {
1767
+ "kind": "method",
1768
+ "name": "getLabel",
1769
+ "parameters": [
1770
+ {
1771
+ "name": "name",
1772
+ "type": {
1773
+ "text": "string | ((rowData: any) => string)"
1774
+ }
1775
+ }
1776
+ ]
1777
+ },
1778
+ {
1779
+ "kind": "method",
1780
+ "name": "getTemplate",
1781
+ "parameters": [
1782
+ {
1783
+ "name": "prefix",
1784
+ "type": {
1785
+ "text": "string"
1786
+ }
1787
+ }
1788
+ ]
1954
1789
  },
1955
1790
  {
1956
1791
  "kind": "field",
@@ -2063,77 +1898,116 @@
2063
1898
  "module": "src/foundation-element/foundation-element.ts"
2064
1899
  }
2065
1900
  }
2066
- ]
2067
- },
2068
- {
2069
- "kind": "variable",
2070
- "name": "foundationAnchorShadowOptions",
2071
- "type": {
2072
- "text": "ShadowRootInit"
2073
- },
2074
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2075
- },
2076
- {
2077
- "kind": "variable",
2078
- "name": "defaultAnchorConfig",
2079
- "type": {
2080
- "text": "object"
1901
+ ],
1902
+ "attributes": [
1903
+ {
1904
+ "name": "is-vertical",
1905
+ "type": {
1906
+ "text": "boolean"
1907
+ },
1908
+ "default": "false",
1909
+ "fieldName": "isVertical"
1910
+ },
1911
+ {
1912
+ "name": "add-default-actions",
1913
+ "type": {
1914
+ "text": "boolean"
1915
+ },
1916
+ "default": "true",
1917
+ "fieldName": "addDefaultActions"
1918
+ },
1919
+ {
1920
+ "name": "auto-close-on-action",
1921
+ "type": {
1922
+ "text": "boolean"
1923
+ },
1924
+ "default": "true",
1925
+ "fieldName": "autoCloseOnAction"
1926
+ },
1927
+ {
1928
+ "name": "name",
1929
+ "type": {
1930
+ "text": "string"
1931
+ },
1932
+ "default": "'Actions'",
1933
+ "fieldName": "name"
1934
+ },
1935
+ {
1936
+ "name": "open",
1937
+ "type": {
1938
+ "text": "boolean"
1939
+ },
1940
+ "default": "false",
1941
+ "fieldName": "open"
1942
+ },
1943
+ {
1944
+ "name": "buttonAppearance",
1945
+ "type": {
1946
+ "text": "string"
1947
+ },
1948
+ "fieldName": "buttonAppearance"
1949
+ },
1950
+ {
1951
+ "name": "hide-disabled",
1952
+ "type": {
1953
+ "text": "boolean"
1954
+ },
1955
+ "default": "false",
1956
+ "fieldName": "hideDisabled"
1957
+ },
1958
+ {
1959
+ "name": "hide-menu-single-option",
1960
+ "type": {
1961
+ "text": "boolean"
1962
+ },
1963
+ "default": "false",
1964
+ "fieldName": "hideMenuSingleOption"
1965
+ }
1966
+ ],
1967
+ "superclass": {
1968
+ "name": "FoundationElement",
1969
+ "package": "@microsoft/fast-foundation"
2081
1970
  },
2082
- "default": "{}"
1971
+ "tagName": "%%prefix%%-actions-menu",
1972
+ "customElement": true
2083
1973
  },
2084
1974
  {
2085
1975
  "kind": "variable",
2086
- "name": "foundationAnchor",
2087
- "description": "The Foundation Anchor",
1976
+ "name": "foundationActionsMenu",
1977
+ "description": "The Foundation Actions Menu",
2088
1978
  "privacy": "public"
2089
1979
  }
2090
1980
  ],
2091
1981
  "exports": [
2092
1982
  {
2093
1983
  "kind": "js",
2094
- "name": "Anchor",
1984
+ "name": "ActionsMenu",
2095
1985
  "declaration": {
2096
- "name": "Anchor",
2097
- "module": "src/anchor/anchor.ts"
1986
+ "name": "ActionsMenu",
1987
+ "module": "src/actions-menu/actions-menu.ts"
2098
1988
  }
2099
1989
  },
2100
1990
  {
2101
1991
  "kind": "js",
2102
- "name": "foundationAnchorShadowOptions",
1992
+ "name": "foundationActionsMenu",
2103
1993
  "declaration": {
2104
- "name": "foundationAnchorShadowOptions",
2105
- "module": "src/anchor/anchor.ts"
1994
+ "name": "foundationActionsMenu",
1995
+ "module": "src/actions-menu/actions-menu.ts"
2106
1996
  }
2107
- },
1997
+ }
1998
+ ]
1999
+ },
2000
+ {
2001
+ "kind": "javascript-module",
2002
+ "path": "src/actions-menu/index.ts",
2003
+ "declarations": [],
2004
+ "exports": [
2108
2005
  {
2109
2006
  "kind": "js",
2110
- "name": "defaultAnchorConfig",
2007
+ "name": "*",
2111
2008
  "declaration": {
2112
- "name": "defaultAnchorConfig",
2113
- "module": "src/anchor/anchor.ts"
2114
- }
2115
- },
2116
- {
2117
- "kind": "js",
2118
- "name": "foundationAnchor",
2119
- "declaration": {
2120
- "name": "foundationAnchor",
2121
- "module": "src/anchor/anchor.ts"
2122
- }
2123
- }
2124
- ]
2125
- },
2126
- {
2127
- "kind": "javascript-module",
2128
- "path": "src/anchor/index.ts",
2129
- "declarations": [],
2130
- "exports": [
2131
- {
2132
- "kind": "js",
2133
- "name": "*",
2134
- "declaration": {
2135
- "name": "*",
2136
- "package": "./anchor.template"
2009
+ "name": "*",
2010
+ "package": "./actions-menu.styles"
2137
2011
  }
2138
2012
  },
2139
2013
  {
@@ -2141,7 +2015,7 @@
2141
2015
  "name": "*",
2142
2016
  "declaration": {
2143
2017
  "name": "*",
2144
- "package": "./anchor.styles"
2018
+ "package": "./actions-menu.template"
2145
2019
  }
2146
2020
  },
2147
2021
  {
@@ -2149,18 +2023,18 @@
2149
2023
  "name": "*",
2150
2024
  "declaration": {
2151
2025
  "name": "*",
2152
- "package": "./anchor"
2026
+ "package": "./actions-menu"
2153
2027
  }
2154
2028
  }
2155
2029
  ]
2156
2030
  },
2157
2031
  {
2158
2032
  "kind": "javascript-module",
2159
- "path": "src/accordion-item/accordion-item.styles.ts",
2033
+ "path": "src/anchor/anchor.styles.ts",
2160
2034
  "declarations": [
2161
2035
  {
2162
2036
  "kind": "function",
2163
- "name": "foundationAccordionItemStyles",
2037
+ "name": "foundationAnchorStyles",
2164
2038
  "return": {
2165
2039
  "type": {
2166
2040
  "text": "ElementStyles"
@@ -2185,24 +2059,24 @@
2185
2059
  "exports": [
2186
2060
  {
2187
2061
  "kind": "js",
2188
- "name": "foundationAccordionItemStyles",
2062
+ "name": "foundationAnchorStyles",
2189
2063
  "declaration": {
2190
- "name": "foundationAccordionItemStyles",
2191
- "module": "src/accordion-item/accordion-item.styles.ts"
2064
+ "name": "foundationAnchorStyles",
2065
+ "module": "src/anchor/anchor.styles.ts"
2192
2066
  }
2193
2067
  }
2194
2068
  ]
2195
2069
  },
2196
2070
  {
2197
2071
  "kind": "javascript-module",
2198
- "path": "src/accordion-item/accordion-item.template.ts",
2072
+ "path": "src/anchor/anchor.template.ts",
2199
2073
  "declarations": [
2200
2074
  {
2201
2075
  "kind": "function",
2202
- "name": "foundationAccordionItemTemplate",
2076
+ "name": "foundationAnchorTemplate",
2203
2077
  "return": {
2204
2078
  "type": {
2205
- "text": "ViewTemplate<AccordionItem>"
2079
+ "text": "ViewTemplate<Anchor>"
2206
2080
  }
2207
2081
  },
2208
2082
  "parameters": [
@@ -2224,189 +2098,325 @@
2224
2098
  "exports": [
2225
2099
  {
2226
2100
  "kind": "js",
2227
- "name": "foundationAccordionItemTemplate",
2101
+ "name": "foundationAnchorTemplate",
2228
2102
  "declaration": {
2229
- "name": "foundationAccordionItemTemplate",
2230
- "module": "src/accordion-item/accordion-item.template.ts"
2103
+ "name": "foundationAnchorTemplate",
2104
+ "module": "src/anchor/anchor.template.ts"
2231
2105
  }
2232
2106
  }
2233
2107
  ]
2234
2108
  },
2235
2109
  {
2236
2110
  "kind": "javascript-module",
2237
- "path": "src/accordion-item/accordion-item.ts",
2111
+ "path": "src/anchor/anchor.ts",
2238
2112
  "declarations": [
2239
2113
  {
2240
2114
  "kind": "class",
2241
2115
  "description": "",
2242
- "name": "AccordionItem",
2116
+ "name": "Anchor",
2243
2117
  "superclass": {
2244
- "name": "FASTAccordionItem",
2118
+ "name": "FASTAnchor",
2245
2119
  "package": "@microsoft/fast-components"
2246
2120
  },
2247
- "tagName": "%%prefix%%-accordion-item",
2121
+ "tagName": "%%prefix%%-anchor",
2248
2122
  "customElement": true,
2249
2123
  "attributes": [
2250
2124
  {
2251
- "name": "heading-level",
2125
+ "name": "download",
2252
2126
  "type": {
2253
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2127
+ "text": "string"
2254
2128
  },
2255
- "default": "2",
2256
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2257
- "fieldName": "headinglevel",
2129
+ "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2130
+ "fieldName": "download",
2258
2131
  "inheritedFrom": {
2259
- "name": "AccordionItem",
2260
- "module": "src/accordion-item/accordion-item.ts"
2132
+ "name": "Anchor",
2133
+ "module": "src/anchor/anchor.ts"
2261
2134
  }
2262
2135
  },
2263
2136
  {
2137
+ "name": "href",
2264
2138
  "type": {
2265
- "text": "boolean"
2139
+ "text": "string"
2266
2140
  },
2267
- "default": "false",
2268
- "description": "Expands or collapses the item.",
2269
- "fieldName": "expanded",
2141
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2142
+ "fieldName": "href",
2270
2143
  "inheritedFrom": {
2271
- "name": "AccordionItem",
2272
- "module": "src/accordion-item/accordion-item.ts"
2144
+ "name": "Anchor",
2145
+ "module": "src/anchor/anchor.ts"
2273
2146
  }
2274
2147
  },
2275
2148
  {
2276
- "name": "id",
2149
+ "name": "hreflang",
2277
2150
  "type": {
2278
2151
  "text": "string"
2279
2152
  },
2280
- "description": "The item ID",
2281
- "fieldName": "id",
2153
+ "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2154
+ "fieldName": "hreflang",
2282
2155
  "inheritedFrom": {
2283
- "name": "AccordionItem",
2284
- "module": "src/accordion-item/accordion-item.ts"
2156
+ "name": "Anchor",
2157
+ "module": "src/anchor/anchor.ts"
2158
+ }
2159
+ },
2160
+ {
2161
+ "name": "ping",
2162
+ "type": {
2163
+ "text": "string"
2164
+ },
2165
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2166
+ "fieldName": "ping",
2167
+ "inheritedFrom": {
2168
+ "name": "Anchor",
2169
+ "module": "src/anchor/anchor.ts"
2170
+ }
2171
+ },
2172
+ {
2173
+ "name": "referrerpolicy",
2174
+ "type": {
2175
+ "text": "string"
2176
+ },
2177
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2178
+ "fieldName": "referrerpolicy",
2179
+ "inheritedFrom": {
2180
+ "name": "Anchor",
2181
+ "module": "src/anchor/anchor.ts"
2182
+ }
2183
+ },
2184
+ {
2185
+ "name": "rel",
2186
+ "type": {
2187
+ "text": "string"
2188
+ },
2189
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2190
+ "fieldName": "rel",
2191
+ "inheritedFrom": {
2192
+ "name": "Anchor",
2193
+ "module": "src/anchor/anchor.ts"
2194
+ }
2195
+ },
2196
+ {
2197
+ "name": "target",
2198
+ "type": {
2199
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2200
+ },
2201
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2202
+ "fieldName": "target",
2203
+ "inheritedFrom": {
2204
+ "name": "Anchor",
2205
+ "module": "src/anchor/anchor.ts"
2206
+ }
2207
+ },
2208
+ {
2209
+ "name": "type",
2210
+ "type": {
2211
+ "text": "string"
2212
+ },
2213
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2214
+ "fieldName": "type",
2215
+ "inheritedFrom": {
2216
+ "name": "Anchor",
2217
+ "module": "src/anchor/anchor.ts"
2285
2218
  }
2286
2219
  }
2287
2220
  ],
2288
2221
  "members": [
2289
2222
  {
2290
2223
  "kind": "field",
2291
- "name": "headinglevel",
2224
+ "name": "download",
2292
2225
  "type": {
2293
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2226
+ "text": "string"
2294
2227
  },
2295
2228
  "privacy": "public",
2296
- "default": "2",
2297
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2229
+ "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2298
2230
  "inheritedFrom": {
2299
- "name": "AccordionItem",
2300
- "module": "src/accordion-item/accordion-item.ts"
2231
+ "name": "Anchor",
2232
+ "module": "src/anchor/anchor.ts"
2301
2233
  }
2302
2234
  },
2303
2235
  {
2304
2236
  "kind": "field",
2305
- "name": "expanded",
2237
+ "name": "href",
2306
2238
  "type": {
2307
- "text": "boolean"
2239
+ "text": "string"
2308
2240
  },
2309
2241
  "privacy": "public",
2310
- "default": "false",
2311
- "description": "Expands or collapses the item.",
2242
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2312
2243
  "inheritedFrom": {
2313
- "name": "AccordionItem",
2314
- "module": "src/accordion-item/accordion-item.ts"
2244
+ "name": "Anchor",
2245
+ "module": "src/anchor/anchor.ts"
2315
2246
  }
2316
2247
  },
2317
2248
  {
2318
2249
  "kind": "field",
2319
- "name": "id",
2250
+ "name": "hreflang",
2320
2251
  "type": {
2321
2252
  "text": "string"
2322
2253
  },
2323
2254
  "privacy": "public",
2324
- "description": "The item ID",
2255
+ "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2325
2256
  "inheritedFrom": {
2326
- "name": "AccordionItem",
2327
- "module": "src/accordion-item/accordion-item.ts"
2257
+ "name": "Anchor",
2258
+ "module": "src/anchor/anchor.ts"
2328
2259
  }
2329
2260
  },
2330
2261
  {
2331
2262
  "kind": "field",
2332
- "name": "change",
2333
- "privacy": "private",
2263
+ "name": "ping",
2264
+ "type": {
2265
+ "text": "string"
2266
+ },
2267
+ "privacy": "public",
2268
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2334
2269
  "inheritedFrom": {
2335
- "name": "AccordionItem",
2336
- "module": "src/accordion-item/accordion-item.ts"
2270
+ "name": "Anchor",
2271
+ "module": "src/anchor/anchor.ts"
2337
2272
  }
2338
2273
  },
2339
2274
  {
2340
2275
  "kind": "field",
2341
- "name": "_presentation",
2276
+ "name": "referrerpolicy",
2342
2277
  "type": {
2343
- "text": "ComponentPresentation | null | undefined"
2278
+ "text": "string"
2344
2279
  },
2345
- "privacy": "private",
2346
- "default": "void 0",
2280
+ "privacy": "public",
2281
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2347
2282
  "inheritedFrom": {
2348
- "name": "FoundationElement",
2349
- "module": "src/foundation-element/foundation-element.ts"
2283
+ "name": "Anchor",
2284
+ "module": "src/anchor/anchor.ts"
2350
2285
  }
2351
2286
  },
2352
2287
  {
2353
2288
  "kind": "field",
2354
- "name": "$presentation",
2289
+ "name": "rel",
2355
2290
  "type": {
2356
- "text": "ComponentPresentation | null"
2291
+ "text": "string"
2357
2292
  },
2358
2293
  "privacy": "public",
2359
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2294
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2360
2295
  "inheritedFrom": {
2361
- "name": "FoundationElement",
2362
- "module": "src/foundation-element/foundation-element.ts"
2296
+ "name": "Anchor",
2297
+ "module": "src/anchor/anchor.ts"
2363
2298
  }
2364
2299
  },
2365
2300
  {
2366
2301
  "kind": "field",
2367
- "name": "template",
2302
+ "name": "target",
2368
2303
  "type": {
2369
- "text": "ElementViewTemplate | void | null"
2304
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2370
2305
  },
2371
2306
  "privacy": "public",
2372
- "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.",
2307
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2373
2308
  "inheritedFrom": {
2374
- "name": "FoundationElement",
2375
- "module": "src/foundation-element/foundation-element.ts"
2309
+ "name": "Anchor",
2310
+ "module": "src/anchor/anchor.ts"
2376
2311
  }
2377
2312
  },
2378
2313
  {
2379
- "kind": "method",
2380
- "name": "templateChanged",
2381
- "privacy": "protected",
2382
- "return": {
2383
- "type": {
2384
- "text": "void"
2385
- }
2314
+ "kind": "field",
2315
+ "name": "type",
2316
+ "type": {
2317
+ "text": "string"
2386
2318
  },
2319
+ "privacy": "public",
2320
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2387
2321
  "inheritedFrom": {
2388
- "name": "FoundationElement",
2389
- "module": "src/foundation-element/foundation-element.ts"
2322
+ "name": "Anchor",
2323
+ "module": "src/anchor/anchor.ts"
2390
2324
  }
2391
2325
  },
2392
2326
  {
2393
2327
  "kind": "field",
2394
- "name": "styles",
2328
+ "name": "control",
2395
2329
  "type": {
2396
- "text": "ElementStyles | void | null"
2330
+ "text": "HTMLAnchorElement | undefined"
2397
2331
  },
2398
2332
  "privacy": "public",
2399
- "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.",
2333
+ "description": "References the root element",
2400
2334
  "inheritedFrom": {
2401
- "name": "FoundationElement",
2402
- "module": "src/foundation-element/foundation-element.ts"
2335
+ "name": "Anchor",
2336
+ "module": "src/anchor/anchor.ts"
2403
2337
  }
2404
2338
  },
2405
2339
  {
2406
- "kind": "method",
2407
- "name": "stylesChanged",
2408
- "privacy": "protected",
2409
- "return": {
2340
+ "kind": "field",
2341
+ "name": "handleUnsupportedDelegatesFocus",
2342
+ "privacy": "private",
2343
+ "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
2344
+ "inheritedFrom": {
2345
+ "name": "Anchor",
2346
+ "module": "src/anchor/anchor.ts"
2347
+ }
2348
+ },
2349
+ {
2350
+ "kind": "field",
2351
+ "name": "_presentation",
2352
+ "type": {
2353
+ "text": "ComponentPresentation | null | undefined"
2354
+ },
2355
+ "privacy": "private",
2356
+ "default": "void 0",
2357
+ "inheritedFrom": {
2358
+ "name": "FoundationElement",
2359
+ "module": "src/foundation-element/foundation-element.ts"
2360
+ }
2361
+ },
2362
+ {
2363
+ "kind": "field",
2364
+ "name": "$presentation",
2365
+ "type": {
2366
+ "text": "ComponentPresentation | null"
2367
+ },
2368
+ "privacy": "public",
2369
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2370
+ "inheritedFrom": {
2371
+ "name": "FoundationElement",
2372
+ "module": "src/foundation-element/foundation-element.ts"
2373
+ }
2374
+ },
2375
+ {
2376
+ "kind": "field",
2377
+ "name": "template",
2378
+ "type": {
2379
+ "text": "ElementViewTemplate | void | null"
2380
+ },
2381
+ "privacy": "public",
2382
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2383
+ "inheritedFrom": {
2384
+ "name": "FoundationElement",
2385
+ "module": "src/foundation-element/foundation-element.ts"
2386
+ }
2387
+ },
2388
+ {
2389
+ "kind": "method",
2390
+ "name": "templateChanged",
2391
+ "privacy": "protected",
2392
+ "return": {
2393
+ "type": {
2394
+ "text": "void"
2395
+ }
2396
+ },
2397
+ "inheritedFrom": {
2398
+ "name": "FoundationElement",
2399
+ "module": "src/foundation-element/foundation-element.ts"
2400
+ }
2401
+ },
2402
+ {
2403
+ "kind": "field",
2404
+ "name": "styles",
2405
+ "type": {
2406
+ "text": "ElementStyles | void | null"
2407
+ },
2408
+ "privacy": "public",
2409
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2410
+ "inheritedFrom": {
2411
+ "name": "FoundationElement",
2412
+ "module": "src/foundation-element/foundation-element.ts"
2413
+ }
2414
+ },
2415
+ {
2416
+ "kind": "method",
2417
+ "name": "stylesChanged",
2418
+ "privacy": "protected",
2419
+ "return": {
2410
2420
  "type": {
2411
2421
  "text": "void"
2412
2422
  }
@@ -2447,21 +2457,11 @@
2447
2457
  "module": "src/foundation-element/foundation-element.ts"
2448
2458
  }
2449
2459
  }
2450
- ],
2451
- "events": [
2452
- {
2453
- "description": "Fires a custom 'change' event when the button is invoked",
2454
- "name": "change",
2455
- "inheritedFrom": {
2456
- "name": "AccordionItem",
2457
- "module": "src/accordion-item/accordion-item.ts"
2458
- }
2459
- }
2460
2460
  ]
2461
2461
  },
2462
2462
  {
2463
2463
  "kind": "variable",
2464
- "name": "foundationAccordionItemShadowOptions",
2464
+ "name": "foundationAnchorShadowOptions",
2465
2465
  "type": {
2466
2466
  "text": "ShadowRootInit"
2467
2467
  },
@@ -2469,57 +2469,57 @@
2469
2469
  },
2470
2470
  {
2471
2471
  "kind": "variable",
2472
- "name": "defaultAccordionItemConfig",
2472
+ "name": "defaultAnchorConfig",
2473
2473
  "type": {
2474
2474
  "text": "object"
2475
2475
  },
2476
- "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}"
2476
+ "default": "{}"
2477
2477
  },
2478
2478
  {
2479
2479
  "kind": "variable",
2480
- "name": "foundationAccordionItem",
2481
- "description": "The Foundation Accordion Item",
2480
+ "name": "foundationAnchor",
2481
+ "description": "The Foundation Anchor",
2482
2482
  "privacy": "public"
2483
2483
  }
2484
2484
  ],
2485
2485
  "exports": [
2486
2486
  {
2487
2487
  "kind": "js",
2488
- "name": "AccordionItem",
2488
+ "name": "Anchor",
2489
2489
  "declaration": {
2490
- "name": "AccordionItem",
2491
- "module": "src/accordion-item/accordion-item.ts"
2490
+ "name": "Anchor",
2491
+ "module": "src/anchor/anchor.ts"
2492
2492
  }
2493
2493
  },
2494
2494
  {
2495
2495
  "kind": "js",
2496
- "name": "foundationAccordionItemShadowOptions",
2496
+ "name": "foundationAnchorShadowOptions",
2497
2497
  "declaration": {
2498
- "name": "foundationAccordionItemShadowOptions",
2499
- "module": "src/accordion-item/accordion-item.ts"
2498
+ "name": "foundationAnchorShadowOptions",
2499
+ "module": "src/anchor/anchor.ts"
2500
2500
  }
2501
2501
  },
2502
2502
  {
2503
2503
  "kind": "js",
2504
- "name": "defaultAccordionItemConfig",
2504
+ "name": "defaultAnchorConfig",
2505
2505
  "declaration": {
2506
- "name": "defaultAccordionItemConfig",
2507
- "module": "src/accordion-item/accordion-item.ts"
2506
+ "name": "defaultAnchorConfig",
2507
+ "module": "src/anchor/anchor.ts"
2508
2508
  }
2509
2509
  },
2510
2510
  {
2511
2511
  "kind": "js",
2512
- "name": "foundationAccordionItem",
2512
+ "name": "foundationAnchor",
2513
2513
  "declaration": {
2514
- "name": "foundationAccordionItem",
2515
- "module": "src/accordion-item/accordion-item.ts"
2514
+ "name": "foundationAnchor",
2515
+ "module": "src/anchor/anchor.ts"
2516
2516
  }
2517
2517
  }
2518
2518
  ]
2519
2519
  },
2520
2520
  {
2521
2521
  "kind": "javascript-module",
2522
- "path": "src/accordion-item/index.ts",
2522
+ "path": "src/anchor/index.ts",
2523
2523
  "declarations": [],
2524
2524
  "exports": [
2525
2525
  {
@@ -2527,7 +2527,7 @@
2527
2527
  "name": "*",
2528
2528
  "declaration": {
2529
2529
  "name": "*",
2530
- "package": "./accordion-item.template"
2530
+ "package": "./anchor.template"
2531
2531
  }
2532
2532
  },
2533
2533
  {
@@ -2535,7 +2535,7 @@
2535
2535
  "name": "*",
2536
2536
  "declaration": {
2537
2537
  "name": "*",
2538
- "package": "./accordion-item.styles"
2538
+ "package": "./anchor.styles"
2539
2539
  }
2540
2540
  },
2541
2541
  {
@@ -2543,7 +2543,7 @@
2543
2543
  "name": "*",
2544
2544
  "declaration": {
2545
2545
  "name": "*",
2546
- "package": "./accordion-item"
2546
+ "package": "./anchor"
2547
2547
  }
2548
2548
  }
2549
2549
  ]
@@ -14653,23 +14653,17 @@
14653
14653
  },
14654
14654
  {
14655
14655
  "kind": "javascript-module",
14656
- "path": "src/dropdown-menu/dropdown-menu.styles.ts",
14656
+ "path": "src/divider/divider.styles.ts",
14657
14657
  "declarations": [
14658
14658
  {
14659
14659
  "kind": "function",
14660
- "name": "dropdownMenuBaseStyles",
14660
+ "name": "foundationDividerStyles",
14661
14661
  "return": {
14662
14662
  "type": {
14663
14663
  "text": "ElementStyles"
14664
14664
  }
14665
14665
  },
14666
14666
  "parameters": [
14667
- {
14668
- "name": "prefix",
14669
- "type": {
14670
- "text": "string"
14671
- }
14672
- },
14673
14667
  {
14674
14668
  "name": "context",
14675
14669
  "type": {
@@ -14683,13 +14677,29 @@
14683
14677
  }
14684
14678
  }
14685
14679
  ]
14686
- },
14680
+ }
14681
+ ],
14682
+ "exports": [
14683
+ {
14684
+ "kind": "js",
14685
+ "name": "foundationDividerStyles",
14686
+ "declaration": {
14687
+ "name": "foundationDividerStyles",
14688
+ "module": "src/divider/divider.styles.ts"
14689
+ }
14690
+ }
14691
+ ]
14692
+ },
14693
+ {
14694
+ "kind": "javascript-module",
14695
+ "path": "src/divider/divider.template.ts",
14696
+ "declarations": [
14687
14697
  {
14688
14698
  "kind": "function",
14689
- "name": "foundationDropdownMenuStyles",
14699
+ "name": "foundationDividerTemplate",
14690
14700
  "return": {
14691
14701
  "type": {
14692
- "text": "ElementStyles"
14702
+ "text": "ViewTemplate<Divider>"
14693
14703
  }
14694
14704
  },
14695
14705
  "parameters": [
@@ -14711,193 +14721,203 @@
14711
14721
  "exports": [
14712
14722
  {
14713
14723
  "kind": "js",
14714
- "name": "dropdownMenuBaseStyles",
14715
- "declaration": {
14716
- "name": "dropdownMenuBaseStyles",
14717
- "module": "src/dropdown-menu/dropdown-menu.styles.ts"
14718
- }
14719
- },
14720
- {
14721
- "kind": "js",
14722
- "name": "foundationDropdownMenuStyles",
14724
+ "name": "foundationDividerTemplate",
14723
14725
  "declaration": {
14724
- "name": "foundationDropdownMenuStyles",
14725
- "module": "src/dropdown-menu/dropdown-menu.styles.ts"
14726
+ "name": "foundationDividerTemplate",
14727
+ "module": "src/divider/divider.template.ts"
14726
14728
  }
14727
14729
  }
14728
14730
  ]
14729
14731
  },
14730
14732
  {
14731
14733
  "kind": "javascript-module",
14732
- "path": "src/dropdown-menu/dropdown-menu.template.ts",
14734
+ "path": "src/divider/divider.ts",
14733
14735
  "declarations": [
14734
14736
  {
14735
- "kind": "function",
14736
- "name": "extractMenuItems",
14737
- "parameters": [
14738
- {
14739
- "name": "items",
14740
- "type": {
14741
- "text": "DropdownMenuItem[]"
14742
- }
14743
- },
14744
- {
14745
- "name": "prefix",
14746
- "type": {
14747
- "text": "string"
14748
- }
14749
- }
14750
- ]
14737
+ "kind": "class",
14738
+ "description": "",
14739
+ "name": "Divider",
14740
+ "superclass": {
14741
+ "name": "FASTDivider",
14742
+ "package": "@microsoft/fast-foundation"
14743
+ },
14744
+ "tagName": "%%prefix%%-divider",
14745
+ "customElement": true
14751
14746
  },
14752
14747
  {
14753
- "kind": "function",
14754
- "name": "getDropdownMenuTemplate",
14755
- "parameters": [
14756
- {
14757
- "name": "prefix"
14758
- }
14759
- ]
14748
+ "kind": "variable",
14749
+ "name": "foundationDividerShadowOptions",
14750
+ "type": {
14751
+ "text": "ShadowRootInit"
14752
+ },
14753
+ "default": "undefined"
14760
14754
  },
14761
14755
  {
14762
14756
  "kind": "variable",
14763
- "name": "foundationDropdownMenuTemplate",
14764
- "default": "html<DropdownMenu>`\n ${(x) => getDropdownMenuTemplate(getPrefix(x))}\n`"
14757
+ "name": "defaultDividerConfig",
14758
+ "type": {
14759
+ "text": "object"
14760
+ },
14761
+ "default": "{}"
14762
+ },
14763
+ {
14764
+ "kind": "variable",
14765
+ "name": "foundationDivider",
14766
+ "description": "The Foundation Divider",
14767
+ "privacy": "public"
14765
14768
  }
14766
14769
  ],
14767
14770
  "exports": [
14768
14771
  {
14769
14772
  "kind": "js",
14770
- "name": "extractMenuItems",
14773
+ "name": "Divider",
14771
14774
  "declaration": {
14772
- "name": "extractMenuItems",
14773
- "module": "src/dropdown-menu/dropdown-menu.template.ts"
14775
+ "name": "Divider",
14776
+ "module": "src/divider/divider.ts"
14774
14777
  }
14775
14778
  },
14776
14779
  {
14777
14780
  "kind": "js",
14778
- "name": "getDropdownMenuTemplate",
14781
+ "name": "foundationDividerShadowOptions",
14779
14782
  "declaration": {
14780
- "name": "getDropdownMenuTemplate",
14781
- "module": "src/dropdown-menu/dropdown-menu.template.ts"
14783
+ "name": "foundationDividerShadowOptions",
14784
+ "module": "src/divider/divider.ts"
14782
14785
  }
14783
14786
  },
14784
14787
  {
14785
14788
  "kind": "js",
14786
- "name": "foundationDropdownMenuTemplate",
14789
+ "name": "defaultDividerConfig",
14787
14790
  "declaration": {
14788
- "name": "foundationDropdownMenuTemplate",
14789
- "module": "src/dropdown-menu/dropdown-menu.template.ts"
14791
+ "name": "defaultDividerConfig",
14792
+ "module": "src/divider/divider.ts"
14790
14793
  }
14791
- }
14792
- ]
14793
- },
14794
- {
14795
- "kind": "javascript-module",
14796
- "path": "src/dropdown-menu/dropdown-menu.ts",
14797
- "declarations": [
14794
+ },
14798
14795
  {
14799
- "kind": "class",
14800
- "description": "",
14801
- "name": "DropdownMenu",
14802
- "members": [
14803
- {
14804
- "kind": "field",
14805
- "name": "items",
14806
- "type": {
14807
- "text": "DropdownMenuItem[]"
14808
- }
14809
- },
14810
- {
14811
- "kind": "field",
14812
- "name": "autoClose",
14813
- "type": {
14814
- "text": "boolean"
14815
- },
14816
- "default": "true"
14817
- },
14818
- {
14819
- "kind": "field",
14820
- "name": "disabled",
14821
- "type": {
14822
- "text": "boolean"
14823
- },
14824
- "default": "false"
14825
- },
14796
+ "kind": "js",
14797
+ "name": "foundationDivider",
14798
+ "declaration": {
14799
+ "name": "foundationDivider",
14800
+ "module": "src/divider/divider.ts"
14801
+ }
14802
+ }
14803
+ ]
14804
+ },
14805
+ {
14806
+ "kind": "javascript-module",
14807
+ "path": "src/divider/index.ts",
14808
+ "declarations": [],
14809
+ "exports": [
14810
+ {
14811
+ "kind": "js",
14812
+ "name": "*",
14813
+ "declaration": {
14814
+ "name": "*",
14815
+ "package": "./divider.template"
14816
+ }
14817
+ },
14818
+ {
14819
+ "kind": "js",
14820
+ "name": "*",
14821
+ "declaration": {
14822
+ "name": "*",
14823
+ "package": "./divider.styles"
14824
+ }
14825
+ },
14826
+ {
14827
+ "kind": "js",
14828
+ "name": "*",
14829
+ "declaration": {
14830
+ "name": "*",
14831
+ "package": "./divider"
14832
+ }
14833
+ }
14834
+ ]
14835
+ },
14836
+ {
14837
+ "kind": "javascript-module",
14838
+ "path": "src/error-banner/error-banner.template.ts",
14839
+ "declarations": [
14840
+ {
14841
+ "kind": "function",
14842
+ "name": "getPrefixedErrorBanner",
14843
+ "parameters": [
14826
14844
  {
14827
- "kind": "field",
14828
- "name": "classNames",
14845
+ "name": "prefix",
14829
14846
  "type": {
14830
14847
  "text": "string"
14831
14848
  }
14832
- },
14833
- {
14834
- "kind": "field",
14835
- "name": "name",
14836
- "type": {
14837
- "text": "string"
14838
- },
14839
- "default": "'Dropdown Menu'"
14840
- },
14849
+ }
14850
+ ]
14851
+ },
14852
+ {
14853
+ "kind": "variable",
14854
+ "name": "foundationErrorBannerTemplate",
14855
+ "default": "html<ErrorBanner>`\n ${(x) => getPrefixedErrorBanner(getPrefix(x))}\n`"
14856
+ }
14857
+ ],
14858
+ "exports": [
14859
+ {
14860
+ "kind": "js",
14861
+ "name": "getPrefixedErrorBanner",
14862
+ "declaration": {
14863
+ "name": "getPrefixedErrorBanner",
14864
+ "module": "src/error-banner/error-banner.template.ts"
14865
+ }
14866
+ },
14867
+ {
14868
+ "kind": "js",
14869
+ "name": "foundationErrorBannerTemplate",
14870
+ "declaration": {
14871
+ "name": "foundationErrorBannerTemplate",
14872
+ "module": "src/error-banner/error-banner.template.ts"
14873
+ }
14874
+ }
14875
+ ]
14876
+ },
14877
+ {
14878
+ "kind": "javascript-module",
14879
+ "path": "src/error-banner/error-banner.ts",
14880
+ "declarations": [
14881
+ {
14882
+ "kind": "variable",
14883
+ "name": "foundationErrorBannerShadowOptions",
14884
+ "type": {
14885
+ "text": "ShadowRootInit"
14886
+ },
14887
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
14888
+ },
14889
+ {
14890
+ "kind": "class",
14891
+ "description": "",
14892
+ "name": "ErrorBanner",
14893
+ "members": [
14841
14894
  {
14842
14895
  "kind": "field",
14843
- "name": "open",
14896
+ "name": "banner",
14844
14897
  "type": {
14845
- "text": "boolean"
14898
+ "text": "HTMLElement & { dismiss: () => Promise<void> }"
14846
14899
  },
14847
- "default": "false"
14900
+ "privacy": "public"
14848
14901
  },
14849
14902
  {
14850
14903
  "kind": "field",
14851
- "name": "buttonAppearance",
14904
+ "name": "error",
14852
14905
  "type": {
14853
- "text": "string"
14906
+ "text": "ErrorStructure"
14854
14907
  }
14855
14908
  },
14856
14909
  {
14857
14910
  "kind": "field",
14858
- "name": "dropdownMenu",
14911
+ "name": "notification",
14859
14912
  "type": {
14860
- "text": "HTMLElement"
14913
+ "text": "NotificationStructure"
14861
14914
  }
14862
14915
  },
14863
- {
14864
- "kind": "field",
14865
- "name": "clickOutside",
14866
- "privacy": "private"
14867
- },
14868
- {
14869
- "kind": "method",
14870
- "name": "handleClickOutside",
14871
- "privacy": "private",
14872
- "parameters": [
14873
- {
14874
- "name": "event",
14875
- "type": {
14876
- "text": "MouseEvent"
14877
- }
14878
- }
14879
- ]
14880
- },
14881
- {
14882
- "kind": "method",
14883
- "name": "openChanged",
14884
- "privacy": "protected"
14885
- },
14886
- {
14887
- "kind": "method",
14888
- "name": "toggleDropdownMenuVisibility"
14889
- },
14890
14916
  {
14891
14917
  "kind": "method",
14892
- "name": "onDropdownMenuItemClick"
14893
- },
14894
- {
14895
- "kind": "field",
14896
- "name": "allItems",
14897
- "type": {
14898
- "text": "DropdownMenuItem[]"
14899
- },
14900
- "readonly": true
14918
+ "name": "dismiss",
14919
+ "privacy": "public",
14920
+ "description": "Dismiss the Error Banner from display."
14901
14921
  },
14902
14922
  {
14903
14923
  "kind": "field",
@@ -15011,265 +15031,51 @@
15011
15031
  }
15012
15032
  }
15013
15033
  ],
15014
- "attributes": [
15015
- {
15016
- "name": "auto-close",
15017
- "type": {
15018
- "text": "boolean"
15019
- },
15020
- "default": "true",
15021
- "fieldName": "autoClose"
15022
- },
15023
- {
15024
- "name": "disable-button",
15025
- "type": {
15026
- "text": "boolean"
15027
- },
15028
- "default": "false",
15029
- "fieldName": "disabled"
15030
- },
15031
- {
15032
- "name": "name",
15033
- "type": {
15034
- "text": "string"
15035
- },
15036
- "default": "'Dropdown Menu'",
15037
- "fieldName": "name"
15038
- },
15039
- {
15040
- "name": "open",
15041
- "type": {
15042
- "text": "boolean"
15043
- },
15044
- "default": "false",
15045
- "fieldName": "open"
15046
- },
15047
- {
15048
- "name": "buttonAppearance",
15049
- "type": {
15050
- "text": "string"
15051
- },
15052
- "fieldName": "buttonAppearance"
15053
- }
15054
- ],
15055
15034
  "superclass": {
15056
15035
  "name": "FoundationElement",
15057
15036
  "package": "@microsoft/fast-foundation"
15058
15037
  },
15059
- "tagName": "%%prefix%%-dropdown-menu",
15060
- "customElement": true
15061
- },
15062
- {
15063
- "kind": "variable",
15064
- "name": "foundationDropdownMenu",
15065
- "description": "The Foundation Dropdown Menu",
15066
- "privacy": "public"
15067
- }
15068
- ],
15069
- "exports": [
15070
- {
15071
- "kind": "js",
15072
- "name": "DropdownMenu",
15073
- "declaration": {
15074
- "name": "DropdownMenu",
15075
- "module": "src/dropdown-menu/dropdown-menu.ts"
15076
- }
15077
- },
15078
- {
15079
- "kind": "js",
15080
- "name": "foundationDropdownMenu",
15081
- "declaration": {
15082
- "name": "foundationDropdownMenu",
15083
- "module": "src/dropdown-menu/dropdown-menu.ts"
15084
- }
15085
- }
15086
- ]
15087
- },
15088
- {
15089
- "kind": "javascript-module",
15090
- "path": "src/dropdown-menu/index.ts",
15091
- "declarations": [],
15092
- "exports": [
15093
- {
15094
- "kind": "js",
15095
- "name": "*",
15096
- "declaration": {
15097
- "name": "*",
15098
- "package": "./dropdown-menu.styles"
15099
- }
15100
- },
15101
- {
15102
- "kind": "js",
15103
- "name": "*",
15104
- "declaration": {
15105
- "name": "*",
15106
- "package": "./dropdown-menu.template"
15107
- }
15108
- },
15109
- {
15110
- "kind": "js",
15111
- "name": "*",
15112
- "declaration": {
15113
- "name": "*",
15114
- "package": "./dropdown-menu"
15115
- }
15116
- }
15117
- ]
15118
- },
15119
- {
15120
- "kind": "javascript-module",
15121
- "path": "src/divider/divider.styles.ts",
15122
- "declarations": [
15123
- {
15124
- "kind": "function",
15125
- "name": "foundationDividerStyles",
15126
- "return": {
15127
- "type": {
15128
- "text": "ElementStyles"
15129
- }
15130
- },
15131
- "parameters": [
15132
- {
15133
- "name": "context",
15134
- "type": {
15135
- "text": "ElementDefinitionContext"
15136
- }
15137
- },
15138
- {
15139
- "name": "definition",
15140
- "type": {
15141
- "text": "FoundationElementDefinition"
15142
- }
15143
- }
15144
- ]
15145
- }
15146
- ],
15147
- "exports": [
15148
- {
15149
- "kind": "js",
15150
- "name": "foundationDividerStyles",
15151
- "declaration": {
15152
- "name": "foundationDividerStyles",
15153
- "module": "src/divider/divider.styles.ts"
15154
- }
15155
- }
15156
- ]
15157
- },
15158
- {
15159
- "kind": "javascript-module",
15160
- "path": "src/divider/divider.template.ts",
15161
- "declarations": [
15162
- {
15163
- "kind": "function",
15164
- "name": "foundationDividerTemplate",
15165
- "return": {
15166
- "type": {
15167
- "text": "ViewTemplate<Divider>"
15168
- }
15169
- },
15170
- "parameters": [
15171
- {
15172
- "name": "context",
15173
- "type": {
15174
- "text": "ElementDefinitionContext"
15175
- }
15176
- },
15177
- {
15178
- "name": "definition",
15179
- "type": {
15180
- "text": "FoundationElementDefinition"
15181
- }
15182
- }
15183
- ]
15184
- }
15185
- ],
15186
- "exports": [
15187
- {
15188
- "kind": "js",
15189
- "name": "foundationDividerTemplate",
15190
- "declaration": {
15191
- "name": "foundationDividerTemplate",
15192
- "module": "src/divider/divider.template.ts"
15193
- }
15194
- }
15195
- ]
15196
- },
15197
- {
15198
- "kind": "javascript-module",
15199
- "path": "src/divider/divider.ts",
15200
- "declarations": [
15201
- {
15202
- "kind": "class",
15203
- "description": "",
15204
- "name": "Divider",
15205
- "superclass": {
15206
- "name": "FASTDivider",
15207
- "package": "@microsoft/fast-foundation"
15208
- },
15209
- "tagName": "%%prefix%%-divider",
15038
+ "tagName": "%%prefix%%-error-banner",
15039
+ "deprecated": "true",
15210
15040
  "customElement": true
15211
15041
  },
15212
15042
  {
15213
15043
  "kind": "variable",
15214
- "name": "foundationDividerShadowOptions",
15215
- "type": {
15216
- "text": "ShadowRootInit"
15217
- },
15218
- "default": "undefined"
15219
- },
15220
- {
15221
- "kind": "variable",
15222
- "name": "defaultDividerConfig",
15223
- "type": {
15224
- "text": "object"
15225
- },
15226
- "default": "{}"
15227
- },
15228
- {
15229
- "kind": "variable",
15230
- "name": "foundationDivider",
15231
- "description": "The Foundation Divider",
15232
- "privacy": "public"
15233
- }
15234
- ],
15235
- "exports": [
15236
- {
15237
- "kind": "js",
15238
- "name": "Divider",
15239
- "declaration": {
15240
- "name": "Divider",
15241
- "module": "src/divider/divider.ts"
15242
- }
15243
- },
15044
+ "name": "foundationErrorBanner",
15045
+ "description": "The Foundation Error Banner",
15046
+ "privacy": "public"
15047
+ }
15048
+ ],
15049
+ "exports": [
15244
15050
  {
15245
15051
  "kind": "js",
15246
- "name": "foundationDividerShadowOptions",
15052
+ "name": "foundationErrorBannerShadowOptions",
15247
15053
  "declaration": {
15248
- "name": "foundationDividerShadowOptions",
15249
- "module": "src/divider/divider.ts"
15054
+ "name": "foundationErrorBannerShadowOptions",
15055
+ "module": "src/error-banner/error-banner.ts"
15250
15056
  }
15251
15057
  },
15252
15058
  {
15253
15059
  "kind": "js",
15254
- "name": "defaultDividerConfig",
15060
+ "name": "ErrorBanner",
15255
15061
  "declaration": {
15256
- "name": "defaultDividerConfig",
15257
- "module": "src/divider/divider.ts"
15062
+ "name": "ErrorBanner",
15063
+ "module": "src/error-banner/error-banner.ts"
15258
15064
  }
15259
15065
  },
15260
15066
  {
15261
15067
  "kind": "js",
15262
- "name": "foundationDivider",
15068
+ "name": "foundationErrorBanner",
15263
15069
  "declaration": {
15264
- "name": "foundationDivider",
15265
- "module": "src/divider/divider.ts"
15070
+ "name": "foundationErrorBanner",
15071
+ "module": "src/error-banner/error-banner.ts"
15266
15072
  }
15267
15073
  }
15268
15074
  ]
15269
15075
  },
15270
15076
  {
15271
15077
  "kind": "javascript-module",
15272
- "path": "src/divider/index.ts",
15078
+ "path": "src/error-banner/index.ts",
15273
15079
  "declarations": [],
15274
15080
  "exports": [
15275
15081
  {
@@ -15277,15 +15083,7 @@
15277
15083
  "name": "*",
15278
15084
  "declaration": {
15279
15085
  "name": "*",
15280
- "package": "./divider.template"
15281
- }
15282
- },
15283
- {
15284
- "kind": "js",
15285
- "name": "*",
15286
- "declaration": {
15287
- "name": "*",
15288
- "package": "./divider.styles"
15086
+ "package": "./error-banner.template"
15289
15087
  }
15290
15088
  },
15291
15089
  {
@@ -15293,59 +15091,42 @@
15293
15091
  "name": "*",
15294
15092
  "declaration": {
15295
15093
  "name": "*",
15296
- "package": "./divider"
15094
+ "package": "./error-banner"
15297
15095
  }
15298
15096
  }
15299
15097
  ]
15300
15098
  },
15301
15099
  {
15302
15100
  "kind": "javascript-module",
15303
- "path": "src/error-banner/error-banner.template.ts",
15101
+ "path": "src/error-boundary/error-boundary.template.ts",
15304
15102
  "declarations": [
15305
- {
15306
- "kind": "function",
15307
- "name": "getPrefixedErrorBanner",
15308
- "parameters": [
15309
- {
15310
- "name": "prefix",
15311
- "type": {
15312
- "text": "string"
15313
- }
15314
- }
15315
- ]
15316
- },
15317
15103
  {
15318
15104
  "kind": "variable",
15319
- "name": "foundationErrorBannerTemplate",
15320
- "default": "html<ErrorBanner>`\n ${(x) => getPrefixedErrorBanner(getPrefix(x))}\n`"
15105
+ "name": "foundationErrorBoundaryTemplate",
15106
+ "type": {
15107
+ "text": "ViewTemplate<ErrorBoundary>"
15108
+ },
15109
+ "default": "html`\n <template ${ref('errorBoundary')}>\n <slot></slot>\n </template>\n`"
15321
15110
  }
15322
15111
  ],
15323
15112
  "exports": [
15324
15113
  {
15325
15114
  "kind": "js",
15326
- "name": "getPrefixedErrorBanner",
15327
- "declaration": {
15328
- "name": "getPrefixedErrorBanner",
15329
- "module": "src/error-banner/error-banner.template.ts"
15330
- }
15331
- },
15332
- {
15333
- "kind": "js",
15334
- "name": "foundationErrorBannerTemplate",
15115
+ "name": "foundationErrorBoundaryTemplate",
15335
15116
  "declaration": {
15336
- "name": "foundationErrorBannerTemplate",
15337
- "module": "src/error-banner/error-banner.template.ts"
15117
+ "name": "foundationErrorBoundaryTemplate",
15118
+ "module": "src/error-boundary/error-boundary.template.ts"
15338
15119
  }
15339
15120
  }
15340
15121
  ]
15341
15122
  },
15342
15123
  {
15343
15124
  "kind": "javascript-module",
15344
- "path": "src/error-banner/error-banner.ts",
15125
+ "path": "src/error-boundary/error-boundary.ts",
15345
15126
  "declarations": [
15346
15127
  {
15347
15128
  "kind": "variable",
15348
- "name": "foundationErrorBannerShadowOptions",
15129
+ "name": "foundationErrorBoundaryShadowOptions",
15349
15130
  "type": {
15350
15131
  "text": "ShadowRootInit"
15351
15132
  },
@@ -15354,35 +15135,51 @@
15354
15135
  {
15355
15136
  "kind": "class",
15356
15137
  "description": "",
15357
- "name": "ErrorBanner",
15138
+ "name": "ErrorBoundary",
15358
15139
  "members": [
15359
15140
  {
15360
15141
  "kind": "field",
15361
- "name": "banner",
15142
+ "name": "logger",
15143
+ "privacy": "private"
15144
+ },
15145
+ {
15146
+ "kind": "field",
15147
+ "name": "errorBoundary",
15362
15148
  "type": {
15363
- "text": "HTMLElement & { dismiss: () => Promise<void> }"
15364
- },
15149
+ "text": "HTMLElement"
15150
+ }
15151
+ },
15152
+ {
15153
+ "kind": "field",
15154
+ "name": "resourceName",
15155
+ "description": "The resource name holding new and existing notifications",
15365
15156
  "privacy": "public"
15366
15157
  },
15367
15158
  {
15368
15159
  "kind": "field",
15369
- "name": "error",
15160
+ "name": "closeTimeout",
15370
15161
  "type": {
15371
- "text": "ErrorStructure"
15372
- }
15162
+ "text": "number"
15163
+ },
15164
+ "default": "0",
15165
+ "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
15166
+ "privacy": "public"
15373
15167
  },
15374
15168
  {
15375
15169
  "kind": "field",
15376
- "name": "notification",
15170
+ "name": "dataSub",
15377
15171
  "type": {
15378
- "text": "NotificationStructure"
15379
- }
15172
+ "text": "Subscription"
15173
+ },
15174
+ "privacy": "protected"
15380
15175
  },
15381
15176
  {
15382
- "kind": "method",
15383
- "name": "dismiss",
15384
- "privacy": "public",
15385
- "description": "Dismiss the Error Banner from display."
15177
+ "kind": "field",
15178
+ "name": "datasource",
15179
+ "type": {
15180
+ "text": "Datasource"
15181
+ },
15182
+ "privacy": "private"
15386
15183
  },
15387
15184
  {
15388
15185
  "kind": "field",
@@ -15496,51 +15293,67 @@
15496
15293
  }
15497
15294
  }
15498
15295
  ],
15296
+ "attributes": [
15297
+ {
15298
+ "name": "resource-name",
15299
+ "description": "The resource name holding new and existing notifications",
15300
+ "fieldName": "resourceName"
15301
+ },
15302
+ {
15303
+ "name": "close-timeout",
15304
+ "type": {
15305
+ "text": "number"
15306
+ },
15307
+ "default": "0",
15308
+ "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
15309
+ "fieldName": "closeTimeout"
15310
+ }
15311
+ ],
15499
15312
  "superclass": {
15500
15313
  "name": "FoundationElement",
15501
15314
  "package": "@microsoft/fast-foundation"
15502
15315
  },
15503
- "tagName": "%%prefix%%-error-banner",
15504
15316
  "deprecated": "true",
15317
+ "tagName": "%%prefix%%-error-boundary",
15505
15318
  "customElement": true
15506
15319
  },
15507
15320
  {
15508
15321
  "kind": "variable",
15509
- "name": "foundationErrorBanner",
15510
- "description": "The Foundation Error Banner",
15322
+ "name": "foundationErrorBoundary",
15323
+ "description": "The Foundation Error Boundary",
15511
15324
  "privacy": "public"
15512
15325
  }
15513
15326
  ],
15514
15327
  "exports": [
15515
15328
  {
15516
15329
  "kind": "js",
15517
- "name": "foundationErrorBannerShadowOptions",
15330
+ "name": "foundationErrorBoundaryShadowOptions",
15518
15331
  "declaration": {
15519
- "name": "foundationErrorBannerShadowOptions",
15520
- "module": "src/error-banner/error-banner.ts"
15332
+ "name": "foundationErrorBoundaryShadowOptions",
15333
+ "module": "src/error-boundary/error-boundary.ts"
15521
15334
  }
15522
15335
  },
15523
15336
  {
15524
15337
  "kind": "js",
15525
- "name": "ErrorBanner",
15338
+ "name": "ErrorBoundary",
15526
15339
  "declaration": {
15527
- "name": "ErrorBanner",
15528
- "module": "src/error-banner/error-banner.ts"
15340
+ "name": "ErrorBoundary",
15341
+ "module": "src/error-boundary/error-boundary.ts"
15529
15342
  }
15530
15343
  },
15531
15344
  {
15532
15345
  "kind": "js",
15533
- "name": "foundationErrorBanner",
15346
+ "name": "foundationErrorBoundary",
15534
15347
  "declaration": {
15535
- "name": "foundationErrorBanner",
15536
- "module": "src/error-banner/error-banner.ts"
15348
+ "name": "foundationErrorBoundary",
15349
+ "module": "src/error-boundary/error-boundary.ts"
15537
15350
  }
15538
15351
  }
15539
15352
  ]
15540
15353
  },
15541
15354
  {
15542
15355
  "kind": "javascript-module",
15543
- "path": "src/error-banner/index.ts",
15356
+ "path": "src/error-boundary/index.ts",
15544
15357
  "declarations": [],
15545
15358
  "exports": [
15546
15359
  {
@@ -15548,103 +15361,282 @@
15548
15361
  "name": "*",
15549
15362
  "declaration": {
15550
15363
  "name": "*",
15551
- "package": "./error-banner.template"
15364
+ "package": "./error-boundary.template"
15365
+ }
15366
+ },
15367
+ {
15368
+ "kind": "js",
15369
+ "name": "*",
15370
+ "declaration": {
15371
+ "name": "*",
15372
+ "package": "./error-boundary"
15373
+ }
15374
+ },
15375
+ {
15376
+ "kind": "js",
15377
+ "name": "ErrorBoundaryEvent",
15378
+ "declaration": {
15379
+ "name": "ErrorBoundaryEvent",
15380
+ "package": "@genesislcap/foundation-errors"
15381
+ }
15382
+ },
15383
+ {
15384
+ "kind": "js",
15385
+ "name": "ErrorStructure",
15386
+ "declaration": {
15387
+ "name": "ErrorStructure",
15388
+ "package": "@genesislcap/foundation-errors"
15389
+ }
15390
+ }
15391
+ ]
15392
+ },
15393
+ {
15394
+ "kind": "javascript-module",
15395
+ "path": "src/dropdown-menu/dropdown-menu.styles.ts",
15396
+ "declarations": [
15397
+ {
15398
+ "kind": "function",
15399
+ "name": "dropdownMenuBaseStyles",
15400
+ "return": {
15401
+ "type": {
15402
+ "text": "ElementStyles"
15403
+ }
15404
+ },
15405
+ "parameters": [
15406
+ {
15407
+ "name": "prefix",
15408
+ "type": {
15409
+ "text": "string"
15410
+ }
15411
+ },
15412
+ {
15413
+ "name": "context",
15414
+ "type": {
15415
+ "text": "ElementDefinitionContext"
15416
+ }
15417
+ },
15418
+ {
15419
+ "name": "definition",
15420
+ "type": {
15421
+ "text": "FoundationElementDefinition"
15422
+ }
15423
+ }
15424
+ ]
15425
+ },
15426
+ {
15427
+ "kind": "function",
15428
+ "name": "foundationDropdownMenuStyles",
15429
+ "return": {
15430
+ "type": {
15431
+ "text": "ElementStyles"
15432
+ }
15433
+ },
15434
+ "parameters": [
15435
+ {
15436
+ "name": "context",
15437
+ "type": {
15438
+ "text": "ElementDefinitionContext"
15439
+ }
15440
+ },
15441
+ {
15442
+ "name": "definition",
15443
+ "type": {
15444
+ "text": "FoundationElementDefinition"
15445
+ }
15446
+ }
15447
+ ]
15448
+ }
15449
+ ],
15450
+ "exports": [
15451
+ {
15452
+ "kind": "js",
15453
+ "name": "dropdownMenuBaseStyles",
15454
+ "declaration": {
15455
+ "name": "dropdownMenuBaseStyles",
15456
+ "module": "src/dropdown-menu/dropdown-menu.styles.ts"
15552
15457
  }
15553
15458
  },
15554
15459
  {
15555
15460
  "kind": "js",
15556
- "name": "*",
15461
+ "name": "foundationDropdownMenuStyles",
15557
15462
  "declaration": {
15558
- "name": "*",
15559
- "package": "./error-banner"
15463
+ "name": "foundationDropdownMenuStyles",
15464
+ "module": "src/dropdown-menu/dropdown-menu.styles.ts"
15560
15465
  }
15561
15466
  }
15562
15467
  ]
15563
15468
  },
15564
15469
  {
15565
15470
  "kind": "javascript-module",
15566
- "path": "src/error-boundary/error-boundary.template.ts",
15471
+ "path": "src/dropdown-menu/dropdown-menu.template.ts",
15567
15472
  "declarations": [
15473
+ {
15474
+ "kind": "function",
15475
+ "name": "extractMenuItems",
15476
+ "parameters": [
15477
+ {
15478
+ "name": "items",
15479
+ "type": {
15480
+ "text": "DropdownMenuItem[]"
15481
+ }
15482
+ },
15483
+ {
15484
+ "name": "prefix",
15485
+ "type": {
15486
+ "text": "string"
15487
+ }
15488
+ }
15489
+ ]
15490
+ },
15491
+ {
15492
+ "kind": "function",
15493
+ "name": "getDropdownMenuTemplate",
15494
+ "parameters": [
15495
+ {
15496
+ "name": "prefix"
15497
+ }
15498
+ ]
15499
+ },
15568
15500
  {
15569
15501
  "kind": "variable",
15570
- "name": "foundationErrorBoundaryTemplate",
15571
- "type": {
15572
- "text": "ViewTemplate<ErrorBoundary>"
15573
- },
15574
- "default": "html`\n <template ${ref('errorBoundary')}>\n <slot></slot>\n </template>\n`"
15502
+ "name": "foundationDropdownMenuTemplate",
15503
+ "default": "html<DropdownMenu>`\n ${(x) => getDropdownMenuTemplate(getPrefix(x))}\n`"
15575
15504
  }
15576
15505
  ],
15577
15506
  "exports": [
15578
15507
  {
15579
15508
  "kind": "js",
15580
- "name": "foundationErrorBoundaryTemplate",
15509
+ "name": "extractMenuItems",
15581
15510
  "declaration": {
15582
- "name": "foundationErrorBoundaryTemplate",
15583
- "module": "src/error-boundary/error-boundary.template.ts"
15511
+ "name": "extractMenuItems",
15512
+ "module": "src/dropdown-menu/dropdown-menu.template.ts"
15513
+ }
15514
+ },
15515
+ {
15516
+ "kind": "js",
15517
+ "name": "getDropdownMenuTemplate",
15518
+ "declaration": {
15519
+ "name": "getDropdownMenuTemplate",
15520
+ "module": "src/dropdown-menu/dropdown-menu.template.ts"
15521
+ }
15522
+ },
15523
+ {
15524
+ "kind": "js",
15525
+ "name": "foundationDropdownMenuTemplate",
15526
+ "declaration": {
15527
+ "name": "foundationDropdownMenuTemplate",
15528
+ "module": "src/dropdown-menu/dropdown-menu.template.ts"
15584
15529
  }
15585
15530
  }
15586
15531
  ]
15587
15532
  },
15588
15533
  {
15589
15534
  "kind": "javascript-module",
15590
- "path": "src/error-boundary/error-boundary.ts",
15535
+ "path": "src/dropdown-menu/dropdown-menu.ts",
15591
15536
  "declarations": [
15592
- {
15593
- "kind": "variable",
15594
- "name": "foundationErrorBoundaryShadowOptions",
15595
- "type": {
15596
- "text": "ShadowRootInit"
15597
- },
15598
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
15599
- },
15600
15537
  {
15601
15538
  "kind": "class",
15602
15539
  "description": "",
15603
- "name": "ErrorBoundary",
15540
+ "name": "DropdownMenu",
15604
15541
  "members": [
15605
15542
  {
15606
15543
  "kind": "field",
15607
- "name": "logger",
15608
- "privacy": "private"
15544
+ "name": "items",
15545
+ "type": {
15546
+ "text": "DropdownMenuItem[]"
15547
+ }
15609
15548
  },
15610
15549
  {
15611
15550
  "kind": "field",
15612
- "name": "errorBoundary",
15551
+ "name": "autoClose",
15613
15552
  "type": {
15614
- "text": "HTMLElement"
15615
- }
15553
+ "text": "boolean"
15554
+ },
15555
+ "default": "true"
15616
15556
  },
15617
15557
  {
15618
15558
  "kind": "field",
15619
- "name": "resourceName",
15620
- "description": "The resource name holding new and existing notifications",
15621
- "privacy": "public"
15559
+ "name": "disabled",
15560
+ "type": {
15561
+ "text": "boolean"
15562
+ },
15563
+ "default": "false"
15622
15564
  },
15623
15565
  {
15624
15566
  "kind": "field",
15625
- "name": "closeTimeout",
15567
+ "name": "classNames",
15626
15568
  "type": {
15627
- "text": "number"
15569
+ "text": "string"
15570
+ }
15571
+ },
15572
+ {
15573
+ "kind": "field",
15574
+ "name": "name",
15575
+ "type": {
15576
+ "text": "string"
15628
15577
  },
15629
- "default": "0",
15630
- "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
15631
- "privacy": "public"
15578
+ "default": "'Dropdown Menu'"
15632
15579
  },
15633
15580
  {
15634
15581
  "kind": "field",
15635
- "name": "dataSub",
15582
+ "name": "open",
15636
15583
  "type": {
15637
- "text": "Subscription"
15584
+ "text": "boolean"
15638
15585
  },
15586
+ "default": "false"
15587
+ },
15588
+ {
15589
+ "kind": "field",
15590
+ "name": "buttonAppearance",
15591
+ "type": {
15592
+ "text": "string"
15593
+ }
15594
+ },
15595
+ {
15596
+ "kind": "field",
15597
+ "name": "dropdownMenu",
15598
+ "type": {
15599
+ "text": "HTMLElement"
15600
+ }
15601
+ },
15602
+ {
15603
+ "kind": "field",
15604
+ "name": "clickOutside",
15605
+ "privacy": "private"
15606
+ },
15607
+ {
15608
+ "kind": "method",
15609
+ "name": "handleClickOutside",
15610
+ "privacy": "private",
15611
+ "parameters": [
15612
+ {
15613
+ "name": "event",
15614
+ "type": {
15615
+ "text": "MouseEvent"
15616
+ }
15617
+ }
15618
+ ]
15619
+ },
15620
+ {
15621
+ "kind": "method",
15622
+ "name": "openChanged",
15639
15623
  "privacy": "protected"
15640
15624
  },
15625
+ {
15626
+ "kind": "method",
15627
+ "name": "toggleDropdownMenuVisibility"
15628
+ },
15629
+ {
15630
+ "kind": "method",
15631
+ "name": "onDropdownMenuItemClick"
15632
+ },
15641
15633
  {
15642
15634
  "kind": "field",
15643
- "name": "datasource",
15635
+ "name": "allItems",
15644
15636
  "type": {
15645
- "text": "Datasource"
15637
+ "text": "DropdownMenuItem[]"
15646
15638
  },
15647
- "privacy": "private"
15639
+ "readonly": true
15648
15640
  },
15649
15641
  {
15650
15642
  "kind": "field",
@@ -15760,65 +15752,81 @@
15760
15752
  ],
15761
15753
  "attributes": [
15762
15754
  {
15763
- "name": "resource-name",
15764
- "description": "The resource name holding new and existing notifications",
15765
- "fieldName": "resourceName"
15755
+ "name": "auto-close",
15756
+ "type": {
15757
+ "text": "boolean"
15758
+ },
15759
+ "default": "true",
15760
+ "fieldName": "autoClose"
15766
15761
  },
15767
15762
  {
15768
- "name": "close-timeout",
15763
+ "name": "disable-button",
15769
15764
  "type": {
15770
- "text": "number"
15765
+ "text": "boolean"
15771
15766
  },
15772
- "default": "0",
15773
- "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
15774
- "fieldName": "closeTimeout"
15767
+ "default": "false",
15768
+ "fieldName": "disabled"
15769
+ },
15770
+ {
15771
+ "name": "name",
15772
+ "type": {
15773
+ "text": "string"
15774
+ },
15775
+ "default": "'Dropdown Menu'",
15776
+ "fieldName": "name"
15777
+ },
15778
+ {
15779
+ "name": "open",
15780
+ "type": {
15781
+ "text": "boolean"
15782
+ },
15783
+ "default": "false",
15784
+ "fieldName": "open"
15785
+ },
15786
+ {
15787
+ "name": "buttonAppearance",
15788
+ "type": {
15789
+ "text": "string"
15790
+ },
15791
+ "fieldName": "buttonAppearance"
15775
15792
  }
15776
15793
  ],
15777
15794
  "superclass": {
15778
15795
  "name": "FoundationElement",
15779
15796
  "package": "@microsoft/fast-foundation"
15780
15797
  },
15781
- "deprecated": "true",
15782
- "tagName": "%%prefix%%-error-boundary",
15798
+ "tagName": "%%prefix%%-dropdown-menu",
15783
15799
  "customElement": true
15784
15800
  },
15785
15801
  {
15786
15802
  "kind": "variable",
15787
- "name": "foundationErrorBoundary",
15788
- "description": "The Foundation Error Boundary",
15803
+ "name": "foundationDropdownMenu",
15804
+ "description": "The Foundation Dropdown Menu",
15789
15805
  "privacy": "public"
15790
15806
  }
15791
15807
  ],
15792
15808
  "exports": [
15793
15809
  {
15794
15810
  "kind": "js",
15795
- "name": "foundationErrorBoundaryShadowOptions",
15796
- "declaration": {
15797
- "name": "foundationErrorBoundaryShadowOptions",
15798
- "module": "src/error-boundary/error-boundary.ts"
15799
- }
15800
- },
15801
- {
15802
- "kind": "js",
15803
- "name": "ErrorBoundary",
15811
+ "name": "DropdownMenu",
15804
15812
  "declaration": {
15805
- "name": "ErrorBoundary",
15806
- "module": "src/error-boundary/error-boundary.ts"
15813
+ "name": "DropdownMenu",
15814
+ "module": "src/dropdown-menu/dropdown-menu.ts"
15807
15815
  }
15808
15816
  },
15809
15817
  {
15810
15818
  "kind": "js",
15811
- "name": "foundationErrorBoundary",
15819
+ "name": "foundationDropdownMenu",
15812
15820
  "declaration": {
15813
- "name": "foundationErrorBoundary",
15814
- "module": "src/error-boundary/error-boundary.ts"
15821
+ "name": "foundationDropdownMenu",
15822
+ "module": "src/dropdown-menu/dropdown-menu.ts"
15815
15823
  }
15816
15824
  }
15817
15825
  ]
15818
15826
  },
15819
15827
  {
15820
15828
  "kind": "javascript-module",
15821
- "path": "src/error-boundary/index.ts",
15829
+ "path": "src/dropdown-menu/index.ts",
15822
15830
  "declarations": [],
15823
15831
  "exports": [
15824
15832
  {
@@ -15826,7 +15834,7 @@
15826
15834
  "name": "*",
15827
15835
  "declaration": {
15828
15836
  "name": "*",
15829
- "package": "./error-boundary.template"
15837
+ "package": "./dropdown-menu.styles"
15830
15838
  }
15831
15839
  },
15832
15840
  {
@@ -15834,23 +15842,15 @@
15834
15842
  "name": "*",
15835
15843
  "declaration": {
15836
15844
  "name": "*",
15837
- "package": "./error-boundary"
15838
- }
15839
- },
15840
- {
15841
- "kind": "js",
15842
- "name": "ErrorBoundaryEvent",
15843
- "declaration": {
15844
- "name": "ErrorBoundaryEvent",
15845
- "package": "@genesislcap/foundation-errors"
15845
+ "package": "./dropdown-menu.template"
15846
15846
  }
15847
15847
  },
15848
15848
  {
15849
15849
  "kind": "js",
15850
- "name": "ErrorStructure",
15850
+ "name": "*",
15851
15851
  "declaration": {
15852
- "name": "ErrorStructure",
15853
- "package": "@genesislcap/foundation-errors"
15852
+ "name": "*",
15853
+ "package": "./dropdown-menu"
15854
15854
  }
15855
15855
  }
15856
15856
  ]