@genesislcap/foundation-ui 14.177.2-alpha-ca0c7658ab2.0 → 14.177.2

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 +924 -924
  2. package/package.json +16 -16
@@ -1077,11 +1077,34 @@
1077
1077
  },
1078
1078
  {
1079
1079
  "kind": "javascript-module",
1080
- "path": "src/accordion-item/accordion-item.styles.ts",
1080
+ "path": "src/actions-menu/actions-menu.styles.ts",
1081
1081
  "declarations": [
1082
1082
  {
1083
1083
  "kind": "function",
1084
- "name": "foundationAccordionItemStyles",
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",
1085
1108
  "return": {
1086
1109
  "type": {
1087
1110
  "text": "ElementStyles"
@@ -1106,230 +1129,343 @@
1106
1129
  "exports": [
1107
1130
  {
1108
1131
  "kind": "js",
1109
- "name": "foundationAccordionItemStyles",
1132
+ "name": "actionsMenuBaseStyles",
1110
1133
  "declaration": {
1111
- "name": "foundationAccordionItemStyles",
1112
- "module": "src/accordion-item/accordion-item.styles.ts"
1134
+ "name": "actionsMenuBaseStyles",
1135
+ "module": "src/actions-menu/actions-menu.styles.ts"
1136
+ }
1137
+ },
1138
+ {
1139
+ "kind": "js",
1140
+ "name": "foundationActionsMenuStyles",
1141
+ "declaration": {
1142
+ "name": "foundationActionsMenuStyles",
1143
+ "module": "src/actions-menu/actions-menu.styles.ts"
1113
1144
  }
1114
1145
  }
1115
1146
  ]
1116
1147
  },
1117
1148
  {
1118
1149
  "kind": "javascript-module",
1119
- "path": "src/accordion-item/accordion-item.template.ts",
1150
+ "path": "src/actions-menu/actions-menu.template.ts",
1120
1151
  "declarations": [
1121
1152
  {
1122
1153
  "kind": "function",
1123
- "name": "foundationAccordionItemTemplate",
1124
- "return": {
1125
- "type": {
1126
- "text": "ViewTemplate<AccordionItem>"
1127
- }
1128
- },
1154
+ "name": "menuTemplate",
1129
1155
  "parameters": [
1130
1156
  {
1131
- "name": "context",
1157
+ "name": "prefix",
1132
1158
  "type": {
1133
- "text": "ElementDefinitionContext"
1159
+ "text": "string"
1134
1160
  }
1135
- },
1161
+ }
1162
+ ]
1163
+ },
1164
+ {
1165
+ "kind": "function",
1166
+ "name": "singleOptionTemplate",
1167
+ "parameters": [
1136
1168
  {
1137
- "name": "definition",
1169
+ "name": "prefix",
1138
1170
  "type": {
1139
- "text": "FoundationElementDefinition"
1171
+ "text": "string"
1140
1172
  }
1141
1173
  }
1142
1174
  ]
1175
+ },
1176
+ {
1177
+ "kind": "variable",
1178
+ "name": "foundationActionsMenuTemplate",
1179
+ "type": {
1180
+ "text": "ViewTemplate<ActionsMenu>"
1181
+ },
1182
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1143
1183
  }
1144
1184
  ],
1145
1185
  "exports": [
1146
1186
  {
1147
1187
  "kind": "js",
1148
- "name": "foundationAccordionItemTemplate",
1188
+ "name": "menuTemplate",
1149
1189
  "declaration": {
1150
- "name": "foundationAccordionItemTemplate",
1151
- "module": "src/accordion-item/accordion-item.template.ts"
1190
+ "name": "menuTemplate",
1191
+ "module": "src/actions-menu/actions-menu.template.ts"
1192
+ }
1193
+ },
1194
+ {
1195
+ "kind": "js",
1196
+ "name": "singleOptionTemplate",
1197
+ "declaration": {
1198
+ "name": "singleOptionTemplate",
1199
+ "module": "src/actions-menu/actions-menu.template.ts"
1200
+ }
1201
+ },
1202
+ {
1203
+ "kind": "js",
1204
+ "name": "foundationActionsMenuTemplate",
1205
+ "declaration": {
1206
+ "name": "foundationActionsMenuTemplate",
1207
+ "module": "src/actions-menu/actions-menu.template.ts"
1152
1208
  }
1153
1209
  }
1154
1210
  ]
1155
1211
  },
1156
1212
  {
1157
1213
  "kind": "javascript-module",
1158
- "path": "src/accordion-item/accordion-item.ts",
1214
+ "path": "src/actions-menu/actions-menu.ts",
1159
1215
  "declarations": [
1160
1216
  {
1161
1217
  "kind": "class",
1162
1218
  "description": "",
1163
- "name": "AccordionItem",
1164
- "superclass": {
1165
- "name": "FASTAccordionItem",
1166
- "package": "@microsoft/fast-components"
1167
- },
1168
- "tagName": "%%prefix%%-accordion-item",
1169
- "customElement": true,
1170
- "attributes": [
1219
+ "name": "ActionsMenu",
1220
+ "members": [
1171
1221
  {
1172
- "name": "heading-level",
1222
+ "kind": "field",
1223
+ "name": "actions",
1173
1224
  "type": {
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"
1225
+ "text": "ActionMenuItem[]"
1182
1226
  }
1183
1227
  },
1184
1228
  {
1229
+ "kind": "field",
1230
+ "name": "isVertical",
1185
1231
  "type": {
1186
1232
  "text": "boolean"
1187
1233
  },
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
- }
1234
+ "default": "false"
1195
1235
  },
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": [
1210
1236
  {
1211
1237
  "kind": "field",
1212
- "name": "headinglevel",
1238
+ "name": "addDefaultActions",
1213
1239
  "type": {
1214
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1240
+ "text": "boolean"
1215
1241
  },
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
- }
1242
+ "default": "true"
1223
1243
  },
1224
1244
  {
1225
1245
  "kind": "field",
1226
- "name": "expanded",
1246
+ "name": "autoCloseOnAction",
1227
1247
  "type": {
1228
1248
  "text": "boolean"
1229
1249
  },
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
- }
1250
+ "default": "true"
1237
1251
  },
1238
1252
  {
1239
1253
  "kind": "field",
1240
- "name": "id",
1254
+ "name": "classNames",
1241
1255
  "type": {
1242
1256
  "text": "string"
1243
- },
1244
- "privacy": "public",
1245
- "description": "The item ID",
1246
- "inheritedFrom": {
1247
- "name": "AccordionItem",
1248
- "module": "src/accordion-item/accordion-item.ts"
1249
1257
  }
1250
1258
  },
1251
1259
  {
1252
1260
  "kind": "field",
1253
- "name": "change",
1254
- "privacy": "private",
1255
- "inheritedFrom": {
1256
- "name": "AccordionItem",
1257
- "module": "src/accordion-item/accordion-item.ts"
1261
+ "name": "definition",
1262
+ "type": {
1263
+ "text": "any"
1258
1264
  }
1259
1265
  },
1260
1266
  {
1261
1267
  "kind": "field",
1262
- "name": "_presentation",
1268
+ "name": "name",
1263
1269
  "type": {
1264
- "text": "ComponentPresentation | null | undefined"
1270
+ "text": "string"
1265
1271
  },
1266
- "privacy": "private",
1267
- "default": "void 0",
1268
- "inheritedFrom": {
1269
- "name": "FoundationElement",
1270
- "module": "src/foundation-element/foundation-element.ts"
1271
- }
1272
+ "default": "'Actions'"
1272
1273
  },
1273
1274
  {
1274
1275
  "kind": "field",
1275
- "name": "$presentation",
1276
+ "name": "open",
1276
1277
  "type": {
1277
- "text": "ComponentPresentation | null"
1278
+ "text": "boolean"
1278
1279
  },
1279
- "privacy": "public",
1280
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1281
- "inheritedFrom": {
1282
- "name": "FoundationElement",
1283
- "module": "src/foundation-element/foundation-element.ts"
1280
+ "default": "false"
1281
+ },
1282
+ {
1283
+ "kind": "field",
1284
+ "name": "buttonAppearance",
1285
+ "type": {
1286
+ "text": "string"
1284
1287
  }
1285
1288
  },
1286
1289
  {
1287
1290
  "kind": "field",
1288
- "name": "template",
1291
+ "name": "hideDisabled",
1289
1292
  "type": {
1290
- "text": "ElementViewTemplate | void | null"
1293
+ "text": "boolean"
1291
1294
  },
1292
- "privacy": "public",
1293
- "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.",
1294
- "inheritedFrom": {
1295
- "name": "FoundationElement",
1296
- "module": "src/foundation-element/foundation-element.ts"
1297
- }
1295
+ "default": "false"
1298
1296
  },
1299
1297
  {
1300
- "kind": "method",
1301
- "name": "templateChanged",
1302
- "privacy": "protected",
1303
- "return": {
1304
- "type": {
1305
- "text": "void"
1306
- }
1298
+ "kind": "field",
1299
+ "name": "hideMenuSingleOption",
1300
+ "type": {
1301
+ "text": "boolean"
1307
1302
  },
1308
- "inheritedFrom": {
1309
- "name": "FoundationElement",
1310
- "module": "src/foundation-element/foundation-element.ts"
1303
+ "default": "false"
1304
+ },
1305
+ {
1306
+ "kind": "field",
1307
+ "name": "singleOption",
1308
+ "type": {
1309
+ "text": "ActionMenuItem"
1311
1310
  }
1312
1311
  },
1313
1312
  {
1314
1313
  "kind": "field",
1315
- "name": "styles",
1314
+ "name": "actionsMenu",
1316
1315
  "type": {
1317
- "text": "ElementStyles | void | null"
1318
- },
1319
- "privacy": "public",
1320
- "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.",
1321
- "inheritedFrom": {
1322
- "name": "FoundationElement",
1323
- "module": "src/foundation-element/foundation-element.ts"
1316
+ "text": "HTMLElement"
1324
1317
  }
1325
1318
  },
1326
1319
  {
1327
1320
  "kind": "method",
1328
- "name": "stylesChanged",
1321
+ "name": "definitionChanged",
1329
1322
  "privacy": "protected",
1330
- "return": {
1331
- "type": {
1332
- "text": "void"
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
+ {
1397
+ "kind": "field",
1398
+ "name": "_presentation",
1399
+ "type": {
1400
+ "text": "ComponentPresentation | null | undefined"
1401
+ },
1402
+ "privacy": "private",
1403
+ "default": "void 0",
1404
+ "inheritedFrom": {
1405
+ "name": "FoundationElement",
1406
+ "module": "src/foundation-element/foundation-element.ts"
1407
+ }
1408
+ },
1409
+ {
1410
+ "kind": "field",
1411
+ "name": "$presentation",
1412
+ "type": {
1413
+ "text": "ComponentPresentation | null"
1414
+ },
1415
+ "privacy": "public",
1416
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1417
+ "inheritedFrom": {
1418
+ "name": "FoundationElement",
1419
+ "module": "src/foundation-element/foundation-element.ts"
1420
+ }
1421
+ },
1422
+ {
1423
+ "kind": "field",
1424
+ "name": "template",
1425
+ "type": {
1426
+ "text": "ElementViewTemplate | void | null"
1427
+ },
1428
+ "privacy": "public",
1429
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1430
+ "inheritedFrom": {
1431
+ "name": "FoundationElement",
1432
+ "module": "src/foundation-element/foundation-element.ts"
1433
+ }
1434
+ },
1435
+ {
1436
+ "kind": "method",
1437
+ "name": "templateChanged",
1438
+ "privacy": "protected",
1439
+ "return": {
1440
+ "type": {
1441
+ "text": "void"
1442
+ }
1443
+ },
1444
+ "inheritedFrom": {
1445
+ "name": "FoundationElement",
1446
+ "module": "src/foundation-element/foundation-element.ts"
1447
+ }
1448
+ },
1449
+ {
1450
+ "kind": "field",
1451
+ "name": "styles",
1452
+ "type": {
1453
+ "text": "ElementStyles | void | null"
1454
+ },
1455
+ "privacy": "public",
1456
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1457
+ "inheritedFrom": {
1458
+ "name": "FoundationElement",
1459
+ "module": "src/foundation-element/foundation-element.ts"
1460
+ }
1461
+ },
1462
+ {
1463
+ "kind": "method",
1464
+ "name": "stylesChanged",
1465
+ "privacy": "protected",
1466
+ "return": {
1467
+ "type": {
1468
+ "text": "void"
1333
1469
  }
1334
1470
  },
1335
1471
  "inheritedFrom": {
@@ -1369,78 +1505,107 @@
1369
1505
  }
1370
1506
  }
1371
1507
  ],
1372
- "events": [
1508
+ "attributes": [
1373
1509
  {
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
- }
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
+ },
1564
+ {
1565
+ "name": "hide-menu-single-option",
1566
+ "type": {
1567
+ "text": "boolean"
1568
+ },
1569
+ "default": "false",
1570
+ "fieldName": "hideMenuSingleOption"
1380
1571
  }
1381
- ]
1382
- },
1383
- {
1384
- "kind": "variable",
1385
- "name": "foundationAccordionItemShadowOptions",
1386
- "type": {
1387
- "text": "ShadowRootInit"
1388
- },
1389
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1390
- },
1391
- {
1392
- "kind": "variable",
1393
- "name": "defaultAccordionItemConfig",
1394
- "type": {
1395
- "text": "object"
1572
+ ],
1573
+ "superclass": {
1574
+ "name": "FoundationElement",
1575
+ "package": "@microsoft/fast-foundation"
1396
1576
  },
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}"
1577
+ "tagName": "%%prefix%%-actions-menu",
1578
+ "customElement": true
1398
1579
  },
1399
1580
  {
1400
1581
  "kind": "variable",
1401
- "name": "foundationAccordionItem",
1402
- "description": "The Foundation Accordion Item",
1582
+ "name": "foundationActionsMenu",
1583
+ "description": "The Foundation Actions Menu",
1403
1584
  "privacy": "public"
1404
1585
  }
1405
1586
  ],
1406
1587
  "exports": [
1407
1588
  {
1408
1589
  "kind": "js",
1409
- "name": "AccordionItem",
1590
+ "name": "ActionsMenu",
1410
1591
  "declaration": {
1411
- "name": "AccordionItem",
1412
- "module": "src/accordion-item/accordion-item.ts"
1592
+ "name": "ActionsMenu",
1593
+ "module": "src/actions-menu/actions-menu.ts"
1413
1594
  }
1414
1595
  },
1415
1596
  {
1416
1597
  "kind": "js",
1417
- "name": "foundationAccordionItemShadowOptions",
1598
+ "name": "foundationActionsMenu",
1418
1599
  "declaration": {
1419
- "name": "foundationAccordionItemShadowOptions",
1420
- "module": "src/accordion-item/accordion-item.ts"
1421
- }
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"
1600
+ "name": "foundationActionsMenu",
1601
+ "module": "src/actions-menu/actions-menu.ts"
1437
1602
  }
1438
1603
  }
1439
1604
  ]
1440
1605
  },
1441
1606
  {
1442
1607
  "kind": "javascript-module",
1443
- "path": "src/accordion-item/index.ts",
1608
+ "path": "src/actions-menu/index.ts",
1444
1609
  "declarations": [],
1445
1610
  "exports": [
1446
1611
  {
@@ -1448,7 +1613,7 @@
1448
1613
  "name": "*",
1449
1614
  "declaration": {
1450
1615
  "name": "*",
1451
- "package": "./accordion-item.template"
1616
+ "package": "./actions-menu.styles"
1452
1617
  }
1453
1618
  },
1454
1619
  {
@@ -1456,7 +1621,7 @@
1456
1621
  "name": "*",
1457
1622
  "declaration": {
1458
1623
  "name": "*",
1459
- "package": "./accordion-item.styles"
1624
+ "package": "./actions-menu.template"
1460
1625
  }
1461
1626
  },
1462
1627
  {
@@ -1464,41 +1629,18 @@
1464
1629
  "name": "*",
1465
1630
  "declaration": {
1466
1631
  "name": "*",
1467
- "package": "./accordion-item"
1632
+ "package": "./actions-menu"
1468
1633
  }
1469
1634
  }
1470
1635
  ]
1471
1636
  },
1472
1637
  {
1473
1638
  "kind": "javascript-module",
1474
- "path": "src/actions-menu/actions-menu.styles.ts",
1639
+ "path": "src/accordion-item/accordion-item.styles.ts",
1475
1640
  "declarations": [
1476
1641
  {
1477
1642
  "kind": "function",
1478
- "name": "actionsMenuBaseStyles",
1479
- "return": {
1480
- "type": {
1481
- "text": "ElementStyles"
1482
- }
1483
- },
1484
- "parameters": [
1485
- {
1486
- "name": "context",
1487
- "type": {
1488
- "text": "ElementDefinitionContext"
1489
- }
1490
- },
1491
- {
1492
- "name": "definition",
1493
- "type": {
1494
- "text": "FoundationElementDefinition"
1495
- }
1496
- }
1497
- ]
1498
- },
1499
- {
1500
- "kind": "function",
1501
- "name": "foundationActionsMenuStyles",
1643
+ "name": "foundationAccordionItemStyles",
1502
1644
  "return": {
1503
1645
  "type": {
1504
1646
  "text": "ElementStyles"
@@ -1523,328 +1665,215 @@
1523
1665
  "exports": [
1524
1666
  {
1525
1667
  "kind": "js",
1526
- "name": "actionsMenuBaseStyles",
1527
- "declaration": {
1528
- "name": "actionsMenuBaseStyles",
1529
- "module": "src/actions-menu/actions-menu.styles.ts"
1530
- }
1531
- },
1532
- {
1533
- "kind": "js",
1534
- "name": "foundationActionsMenuStyles",
1668
+ "name": "foundationAccordionItemStyles",
1535
1669
  "declaration": {
1536
- "name": "foundationActionsMenuStyles",
1537
- "module": "src/actions-menu/actions-menu.styles.ts"
1670
+ "name": "foundationAccordionItemStyles",
1671
+ "module": "src/accordion-item/accordion-item.styles.ts"
1538
1672
  }
1539
1673
  }
1540
1674
  ]
1541
1675
  },
1542
1676
  {
1543
1677
  "kind": "javascript-module",
1544
- "path": "src/actions-menu/actions-menu.template.ts",
1678
+ "path": "src/accordion-item/accordion-item.template.ts",
1545
1679
  "declarations": [
1546
1680
  {
1547
1681
  "kind": "function",
1548
- "name": "menuTemplate",
1682
+ "name": "foundationAccordionItemTemplate",
1683
+ "return": {
1684
+ "type": {
1685
+ "text": "ViewTemplate<AccordionItem>"
1686
+ }
1687
+ },
1549
1688
  "parameters": [
1550
1689
  {
1551
- "name": "prefix",
1690
+ "name": "context",
1552
1691
  "type": {
1553
- "text": "string"
1692
+ "text": "ElementDefinitionContext"
1554
1693
  }
1555
- }
1556
- ]
1557
- },
1558
- {
1559
- "kind": "function",
1560
- "name": "singleOptionTemplate",
1561
- "parameters": [
1694
+ },
1562
1695
  {
1563
- "name": "prefix",
1696
+ "name": "definition",
1564
1697
  "type": {
1565
- "text": "string"
1698
+ "text": "FoundationElementDefinition"
1566
1699
  }
1567
1700
  }
1568
1701
  ]
1569
- },
1570
- {
1571
- "kind": "variable",
1572
- "name": "foundationActionsMenuTemplate",
1573
- "type": {
1574
- "text": "ViewTemplate<ActionsMenu>"
1575
- },
1576
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1577
1702
  }
1578
1703
  ],
1579
1704
  "exports": [
1580
1705
  {
1581
1706
  "kind": "js",
1582
- "name": "menuTemplate",
1583
- "declaration": {
1584
- "name": "menuTemplate",
1585
- "module": "src/actions-menu/actions-menu.template.ts"
1586
- }
1587
- },
1588
- {
1589
- "kind": "js",
1590
- "name": "singleOptionTemplate",
1591
- "declaration": {
1592
- "name": "singleOptionTemplate",
1593
- "module": "src/actions-menu/actions-menu.template.ts"
1594
- }
1595
- },
1596
- {
1597
- "kind": "js",
1598
- "name": "foundationActionsMenuTemplate",
1707
+ "name": "foundationAccordionItemTemplate",
1599
1708
  "declaration": {
1600
- "name": "foundationActionsMenuTemplate",
1601
- "module": "src/actions-menu/actions-menu.template.ts"
1709
+ "name": "foundationAccordionItemTemplate",
1710
+ "module": "src/accordion-item/accordion-item.template.ts"
1602
1711
  }
1603
1712
  }
1604
1713
  ]
1605
1714
  },
1606
1715
  {
1607
1716
  "kind": "javascript-module",
1608
- "path": "src/actions-menu/actions-menu.ts",
1717
+ "path": "src/accordion-item/accordion-item.ts",
1609
1718
  "declarations": [
1610
1719
  {
1611
1720
  "kind": "class",
1612
1721
  "description": "",
1613
- "name": "ActionsMenu",
1614
- "members": [
1722
+ "name": "AccordionItem",
1723
+ "superclass": {
1724
+ "name": "FASTAccordionItem",
1725
+ "package": "@microsoft/fast-components"
1726
+ },
1727
+ "tagName": "%%prefix%%-accordion-item",
1728
+ "customElement": true,
1729
+ "attributes": [
1615
1730
  {
1616
- "kind": "field",
1617
- "name": "actions",
1731
+ "name": "heading-level",
1618
1732
  "type": {
1619
- "text": "ActionMenuItem[]"
1733
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1734
+ },
1735
+ "default": "2",
1736
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1737
+ "fieldName": "headinglevel",
1738
+ "inheritedFrom": {
1739
+ "name": "AccordionItem",
1740
+ "module": "src/accordion-item/accordion-item.ts"
1620
1741
  }
1621
1742
  },
1622
1743
  {
1623
- "kind": "field",
1624
- "name": "isVertical",
1625
1744
  "type": {
1626
1745
  "text": "boolean"
1627
1746
  },
1628
- "default": "false"
1747
+ "default": "false",
1748
+ "description": "Expands or collapses the item.",
1749
+ "fieldName": "expanded",
1750
+ "inheritedFrom": {
1751
+ "name": "AccordionItem",
1752
+ "module": "src/accordion-item/accordion-item.ts"
1753
+ }
1629
1754
  },
1755
+ {
1756
+ "name": "id",
1757
+ "type": {
1758
+ "text": "string"
1759
+ },
1760
+ "description": "The item ID",
1761
+ "fieldName": "id",
1762
+ "inheritedFrom": {
1763
+ "name": "AccordionItem",
1764
+ "module": "src/accordion-item/accordion-item.ts"
1765
+ }
1766
+ }
1767
+ ],
1768
+ "members": [
1630
1769
  {
1631
1770
  "kind": "field",
1632
- "name": "addDefaultActions",
1771
+ "name": "headinglevel",
1633
1772
  "type": {
1634
- "text": "boolean"
1773
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1635
1774
  },
1636
- "default": "true"
1775
+ "privacy": "public",
1776
+ "default": "2",
1777
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1778
+ "inheritedFrom": {
1779
+ "name": "AccordionItem",
1780
+ "module": "src/accordion-item/accordion-item.ts"
1781
+ }
1637
1782
  },
1638
1783
  {
1639
1784
  "kind": "field",
1640
- "name": "autoCloseOnAction",
1785
+ "name": "expanded",
1641
1786
  "type": {
1642
1787
  "text": "boolean"
1643
1788
  },
1644
- "default": "true"
1789
+ "privacy": "public",
1790
+ "default": "false",
1791
+ "description": "Expands or collapses the item.",
1792
+ "inheritedFrom": {
1793
+ "name": "AccordionItem",
1794
+ "module": "src/accordion-item/accordion-item.ts"
1795
+ }
1645
1796
  },
1646
1797
  {
1647
1798
  "kind": "field",
1648
- "name": "classNames",
1799
+ "name": "id",
1649
1800
  "type": {
1650
1801
  "text": "string"
1802
+ },
1803
+ "privacy": "public",
1804
+ "description": "The item ID",
1805
+ "inheritedFrom": {
1806
+ "name": "AccordionItem",
1807
+ "module": "src/accordion-item/accordion-item.ts"
1651
1808
  }
1652
1809
  },
1653
1810
  {
1654
1811
  "kind": "field",
1655
- "name": "definition",
1656
- "type": {
1657
- "text": "any"
1812
+ "name": "change",
1813
+ "privacy": "private",
1814
+ "inheritedFrom": {
1815
+ "name": "AccordionItem",
1816
+ "module": "src/accordion-item/accordion-item.ts"
1658
1817
  }
1659
1818
  },
1660
1819
  {
1661
1820
  "kind": "field",
1662
- "name": "name",
1821
+ "name": "_presentation",
1663
1822
  "type": {
1664
- "text": "string"
1823
+ "text": "ComponentPresentation | null | undefined"
1665
1824
  },
1666
- "default": "'Actions'"
1825
+ "privacy": "private",
1826
+ "default": "void 0",
1827
+ "inheritedFrom": {
1828
+ "name": "FoundationElement",
1829
+ "module": "src/foundation-element/foundation-element.ts"
1830
+ }
1667
1831
  },
1668
1832
  {
1669
1833
  "kind": "field",
1670
- "name": "open",
1834
+ "name": "$presentation",
1671
1835
  "type": {
1672
- "text": "boolean"
1836
+ "text": "ComponentPresentation | null"
1673
1837
  },
1674
- "default": "false"
1838
+ "privacy": "public",
1839
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1840
+ "inheritedFrom": {
1841
+ "name": "FoundationElement",
1842
+ "module": "src/foundation-element/foundation-element.ts"
1843
+ }
1675
1844
  },
1676
1845
  {
1677
1846
  "kind": "field",
1678
- "name": "buttonAppearance",
1847
+ "name": "template",
1679
1848
  "type": {
1680
- "text": "string"
1849
+ "text": "ElementViewTemplate | void | null"
1850
+ },
1851
+ "privacy": "public",
1852
+ "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.",
1853
+ "inheritedFrom": {
1854
+ "name": "FoundationElement",
1855
+ "module": "src/foundation-element/foundation-element.ts"
1681
1856
  }
1682
1857
  },
1683
1858
  {
1684
- "kind": "field",
1685
- "name": "hideDisabled",
1686
- "type": {
1687
- "text": "boolean"
1859
+ "kind": "method",
1860
+ "name": "templateChanged",
1861
+ "privacy": "protected",
1862
+ "return": {
1863
+ "type": {
1864
+ "text": "void"
1865
+ }
1688
1866
  },
1689
- "default": "false"
1867
+ "inheritedFrom": {
1868
+ "name": "FoundationElement",
1869
+ "module": "src/foundation-element/foundation-element.ts"
1870
+ }
1690
1871
  },
1691
1872
  {
1692
1873
  "kind": "field",
1693
- "name": "hideMenuSingleOption",
1874
+ "name": "styles",
1694
1875
  "type": {
1695
- "text": "boolean"
1696
- },
1697
- "default": "false"
1698
- },
1699
- {
1700
- "kind": "field",
1701
- "name": "singleOption",
1702
- "type": {
1703
- "text": "ActionMenuItem"
1704
- }
1705
- },
1706
- {
1707
- "kind": "field",
1708
- "name": "actionsMenu",
1709
- "type": {
1710
- "text": "HTMLElement"
1711
- }
1712
- },
1713
- {
1714
- "kind": "method",
1715
- "name": "definitionChanged",
1716
- "privacy": "protected",
1717
- "parameters": [
1718
- {
1719
- "name": "oldValue",
1720
- "type": {
1721
- "text": "any"
1722
- }
1723
- },
1724
- {
1725
- "name": "newValue",
1726
- "type": {
1727
- "text": "any"
1728
- }
1729
- }
1730
- ]
1731
- },
1732
- {
1733
- "kind": "method",
1734
- "name": "openChanged",
1735
- "privacy": "protected"
1736
- },
1737
- {
1738
- "kind": "method",
1739
- "name": "toggleActionsMenuVisibility"
1740
- },
1741
- {
1742
- "kind": "method",
1743
- "name": "onActionMenuItemClick",
1744
- "parameters": [
1745
- {
1746
- "name": "callback",
1747
- "type": {
1748
- "text": "(rowData) => void | any"
1749
- }
1750
- }
1751
- ]
1752
- },
1753
- {
1754
- "kind": "field",
1755
- "name": "allActions",
1756
- "type": {
1757
- "text": "ActionMenuItem[]"
1758
- },
1759
- "readonly": true
1760
- },
1761
- {
1762
- "kind": "field",
1763
- "name": "rowData",
1764
- "readonly": true
1765
- },
1766
- {
1767
- "kind": "method",
1768
- "name": "getLabel",
1769
- "parameters": [
1770
- {
1771
- "name": "name",
1772
- "type": {
1773
- "text": "string | ((rowData: any) => string)"
1774
- }
1775
- }
1776
- ]
1777
- },
1778
- {
1779
- "kind": "method",
1780
- "name": "getTemplate",
1781
- "parameters": [
1782
- {
1783
- "name": "prefix",
1784
- "type": {
1785
- "text": "string"
1786
- }
1787
- }
1788
- ]
1789
- },
1790
- {
1791
- "kind": "field",
1792
- "name": "_presentation",
1793
- "type": {
1794
- "text": "ComponentPresentation | null | undefined"
1795
- },
1796
- "privacy": "private",
1797
- "default": "void 0",
1798
- "inheritedFrom": {
1799
- "name": "FoundationElement",
1800
- "module": "src/foundation-element/foundation-element.ts"
1801
- }
1802
- },
1803
- {
1804
- "kind": "field",
1805
- "name": "$presentation",
1806
- "type": {
1807
- "text": "ComponentPresentation | null"
1808
- },
1809
- "privacy": "public",
1810
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1811
- "inheritedFrom": {
1812
- "name": "FoundationElement",
1813
- "module": "src/foundation-element/foundation-element.ts"
1814
- }
1815
- },
1816
- {
1817
- "kind": "field",
1818
- "name": "template",
1819
- "type": {
1820
- "text": "ElementViewTemplate | void | null"
1821
- },
1822
- "privacy": "public",
1823
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1824
- "inheritedFrom": {
1825
- "name": "FoundationElement",
1826
- "module": "src/foundation-element/foundation-element.ts"
1827
- }
1828
- },
1829
- {
1830
- "kind": "method",
1831
- "name": "templateChanged",
1832
- "privacy": "protected",
1833
- "return": {
1834
- "type": {
1835
- "text": "void"
1836
- }
1837
- },
1838
- "inheritedFrom": {
1839
- "name": "FoundationElement",
1840
- "module": "src/foundation-element/foundation-element.ts"
1841
- }
1842
- },
1843
- {
1844
- "kind": "field",
1845
- "name": "styles",
1846
- "type": {
1847
- "text": "ElementStyles | void | null"
1876
+ "text": "ElementStyles | void | null"
1848
1877
  },
1849
1878
  "privacy": "public",
1850
1879
  "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.",
@@ -1899,107 +1928,78 @@
1899
1928
  }
1900
1929
  }
1901
1930
  ],
1902
- "attributes": [
1903
- {
1904
- "name": "is-vertical",
1905
- "type": {
1906
- "text": "boolean"
1907
- },
1908
- "default": "false",
1909
- "fieldName": "isVertical"
1910
- },
1911
- {
1912
- "name": "add-default-actions",
1913
- "type": {
1914
- "text": "boolean"
1915
- },
1916
- "default": "true",
1917
- "fieldName": "addDefaultActions"
1918
- },
1919
- {
1920
- "name": "auto-close-on-action",
1921
- "type": {
1922
- "text": "boolean"
1923
- },
1924
- "default": "true",
1925
- "fieldName": "autoCloseOnAction"
1926
- },
1927
- {
1928
- "name": "name",
1929
- "type": {
1930
- "text": "string"
1931
- },
1932
- "default": "'Actions'",
1933
- "fieldName": "name"
1934
- },
1935
- {
1936
- "name": "open",
1937
- "type": {
1938
- "text": "boolean"
1939
- },
1940
- "default": "false",
1941
- "fieldName": "open"
1942
- },
1943
- {
1944
- "name": "buttonAppearance",
1945
- "type": {
1946
- "text": "string"
1947
- },
1948
- "fieldName": "buttonAppearance"
1949
- },
1950
- {
1951
- "name": "hide-disabled",
1952
- "type": {
1953
- "text": "boolean"
1954
- },
1955
- "default": "false",
1956
- "fieldName": "hideDisabled"
1957
- },
1931
+ "events": [
1958
1932
  {
1959
- "name": "hide-menu-single-option",
1960
- "type": {
1961
- "text": "boolean"
1962
- },
1963
- "default": "false",
1964
- "fieldName": "hideMenuSingleOption"
1933
+ "description": "Fires a custom 'change' event when the button is invoked",
1934
+ "name": "change",
1935
+ "inheritedFrom": {
1936
+ "name": "AccordionItem",
1937
+ "module": "src/accordion-item/accordion-item.ts"
1938
+ }
1965
1939
  }
1966
- ],
1967
- "superclass": {
1968
- "name": "FoundationElement",
1969
- "package": "@microsoft/fast-foundation"
1940
+ ]
1941
+ },
1942
+ {
1943
+ "kind": "variable",
1944
+ "name": "foundationAccordionItemShadowOptions",
1945
+ "type": {
1946
+ "text": "ShadowRootInit"
1970
1947
  },
1971
- "tagName": "%%prefix%%-actions-menu",
1972
- "customElement": true
1948
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1973
1949
  },
1974
1950
  {
1975
1951
  "kind": "variable",
1976
- "name": "foundationActionsMenu",
1977
- "description": "The Foundation Actions Menu",
1952
+ "name": "defaultAccordionItemConfig",
1953
+ "type": {
1954
+ "text": "object"
1955
+ },
1956
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1957
+ },
1958
+ {
1959
+ "kind": "variable",
1960
+ "name": "foundationAccordionItem",
1961
+ "description": "The Foundation Accordion Item",
1978
1962
  "privacy": "public"
1979
1963
  }
1980
1964
  ],
1981
1965
  "exports": [
1982
1966
  {
1983
1967
  "kind": "js",
1984
- "name": "ActionsMenu",
1968
+ "name": "AccordionItem",
1985
1969
  "declaration": {
1986
- "name": "ActionsMenu",
1987
- "module": "src/actions-menu/actions-menu.ts"
1970
+ "name": "AccordionItem",
1971
+ "module": "src/accordion-item/accordion-item.ts"
1988
1972
  }
1989
1973
  },
1990
1974
  {
1991
1975
  "kind": "js",
1992
- "name": "foundationActionsMenu",
1976
+ "name": "foundationAccordionItemShadowOptions",
1993
1977
  "declaration": {
1994
- "name": "foundationActionsMenu",
1995
- "module": "src/actions-menu/actions-menu.ts"
1978
+ "name": "foundationAccordionItemShadowOptions",
1979
+ "module": "src/accordion-item/accordion-item.ts"
1980
+ }
1981
+ },
1982
+ {
1983
+ "kind": "js",
1984
+ "name": "defaultAccordionItemConfig",
1985
+ "declaration": {
1986
+ "name": "defaultAccordionItemConfig",
1987
+ "module": "src/accordion-item/accordion-item.ts"
1988
+ }
1989
+ },
1990
+ {
1991
+ "kind": "js",
1992
+ "name": "foundationAccordionItem",
1993
+ "declaration": {
1994
+ "name": "foundationAccordionItem",
1995
+ "module": "src/accordion-item/accordion-item.ts"
1996
1996
  }
1997
1997
  }
1998
1998
  ]
1999
1999
  },
2000
2000
  {
2001
2001
  "kind": "javascript-module",
2002
- "path": "src/actions-menu/index.ts",
2002
+ "path": "src/accordion-item/index.ts",
2003
2003
  "declarations": [],
2004
2004
  "exports": [
2005
2005
  {
@@ -2007,7 +2007,7 @@
2007
2007
  "name": "*",
2008
2008
  "declaration": {
2009
2009
  "name": "*",
2010
- "package": "./actions-menu.styles"
2010
+ "package": "./accordion-item.template"
2011
2011
  }
2012
2012
  },
2013
2013
  {
@@ -2015,7 +2015,7 @@
2015
2015
  "name": "*",
2016
2016
  "declaration": {
2017
2017
  "name": "*",
2018
- "package": "./actions-menu.template"
2018
+ "package": "./accordion-item.styles"
2019
2019
  }
2020
2020
  },
2021
2021
  {
@@ -2023,7 +2023,7 @@
2023
2023
  "name": "*",
2024
2024
  "declaration": {
2025
2025
  "name": "*",
2026
- "package": "./actions-menu"
2026
+ "package": "./accordion-item"
2027
2027
  }
2028
2028
  }
2029
2029
  ]
@@ -5236,11 +5236,11 @@
5236
5236
  },
5237
5237
  {
5238
5238
  "kind": "javascript-module",
5239
- "path": "src/breadcrumb-item/breadcrumb-item.styles.ts",
5239
+ "path": "src/breadcrumb/breadcrumb.styles.ts",
5240
5240
  "declarations": [
5241
5241
  {
5242
5242
  "kind": "function",
5243
- "name": "foundationBreadcrumbItemStyles",
5243
+ "name": "foundationBreadcrumbStyles",
5244
5244
  "return": {
5245
5245
  "type": {
5246
5246
  "text": "ElementStyles"
@@ -5265,24 +5265,24 @@
5265
5265
  "exports": [
5266
5266
  {
5267
5267
  "kind": "js",
5268
- "name": "foundationBreadcrumbItemStyles",
5268
+ "name": "foundationBreadcrumbStyles",
5269
5269
  "declaration": {
5270
- "name": "foundationBreadcrumbItemStyles",
5271
- "module": "src/breadcrumb-item/breadcrumb-item.styles.ts"
5270
+ "name": "foundationBreadcrumbStyles",
5271
+ "module": "src/breadcrumb/breadcrumb.styles.ts"
5272
5272
  }
5273
5273
  }
5274
5274
  ]
5275
5275
  },
5276
5276
  {
5277
5277
  "kind": "javascript-module",
5278
- "path": "src/breadcrumb-item/breadcrumb-item.template.ts",
5278
+ "path": "src/breadcrumb/breadcrumb.template.ts",
5279
5279
  "declarations": [
5280
5280
  {
5281
5281
  "kind": "function",
5282
- "name": "foundationBreadcrumbItemTemplate",
5282
+ "name": "foundationBreadcrumbTemplate",
5283
5283
  "return": {
5284
5284
  "type": {
5285
- "text": "ViewTemplate<BreadcrumbItem>"
5285
+ "text": "ViewTemplate<Breadcrumb>"
5286
5286
  }
5287
5287
  },
5288
5288
  "parameters": [
@@ -5304,252 +5304,116 @@
5304
5304
  "exports": [
5305
5305
  {
5306
5306
  "kind": "js",
5307
- "name": "foundationBreadcrumbItemTemplate",
5307
+ "name": "foundationBreadcrumbTemplate",
5308
5308
  "declaration": {
5309
- "name": "foundationBreadcrumbItemTemplate",
5310
- "module": "src/breadcrumb-item/breadcrumb-item.template.ts"
5309
+ "name": "foundationBreadcrumbTemplate",
5310
+ "module": "src/breadcrumb/breadcrumb.template.ts"
5311
5311
  }
5312
5312
  }
5313
5313
  ]
5314
5314
  },
5315
5315
  {
5316
5316
  "kind": "javascript-module",
5317
- "path": "src/breadcrumb-item/breadcrumb-item.ts",
5317
+ "path": "src/breadcrumb/breadcrumb.ts",
5318
5318
  "declarations": [
5319
5319
  {
5320
5320
  "kind": "class",
5321
5321
  "description": "",
5322
- "name": "BreadcrumbItem",
5322
+ "name": "Breadcrumb",
5323
5323
  "superclass": {
5324
- "name": "FASTBreadcrumbItem",
5324
+ "name": "FASTBreadcrumb",
5325
5325
  "package": "@microsoft/fast-components"
5326
5326
  },
5327
- "tagName": "%%prefix%%-breadcrumb-item",
5327
+ "tagName": "%%prefix%%-breadcrumb",
5328
5328
  "customElement": true,
5329
- "attributes": [
5330
- {
5331
- "name": "download",
5332
- "type": {
5333
- "text": "string"
5334
- },
5335
- "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.",
5336
- "fieldName": "download",
5337
- "inheritedFrom": {
5338
- "name": "Anchor",
5339
- "module": "src/anchor/anchor.ts"
5340
- }
5341
- },
5342
- {
5343
- "name": "href",
5344
- "type": {
5345
- "text": "string"
5346
- },
5347
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
5348
- "fieldName": "href",
5349
- "inheritedFrom": {
5350
- "name": "Anchor",
5351
- "module": "src/anchor/anchor.ts"
5352
- }
5353
- },
5354
- {
5355
- "name": "hreflang",
5356
- "type": {
5357
- "text": "string"
5358
- },
5359
- "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.",
5360
- "fieldName": "hreflang",
5361
- "inheritedFrom": {
5362
- "name": "Anchor",
5363
- "module": "src/anchor/anchor.ts"
5364
- }
5365
- },
5366
- {
5367
- "name": "ping",
5368
- "type": {
5369
- "text": "string"
5370
- },
5371
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
5372
- "fieldName": "ping",
5373
- "inheritedFrom": {
5374
- "name": "Anchor",
5375
- "module": "src/anchor/anchor.ts"
5376
- }
5377
- },
5378
- {
5379
- "name": "referrerpolicy",
5380
- "type": {
5381
- "text": "string"
5382
- },
5383
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
5384
- "fieldName": "referrerpolicy",
5385
- "inheritedFrom": {
5386
- "name": "Anchor",
5387
- "module": "src/anchor/anchor.ts"
5388
- }
5389
- },
5390
- {
5391
- "name": "rel",
5392
- "type": {
5393
- "text": "string"
5394
- },
5395
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
5396
- "fieldName": "rel",
5397
- "inheritedFrom": {
5398
- "name": "Anchor",
5399
- "module": "src/anchor/anchor.ts"
5400
- }
5401
- },
5402
- {
5403
- "name": "target",
5404
- "type": {
5405
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
5406
- },
5407
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
5408
- "fieldName": "target",
5409
- "inheritedFrom": {
5410
- "name": "Anchor",
5411
- "module": "src/anchor/anchor.ts"
5412
- }
5413
- },
5414
- {
5415
- "name": "type",
5416
- "type": {
5417
- "text": "string"
5418
- },
5419
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
5420
- "fieldName": "type",
5421
- "inheritedFrom": {
5422
- "name": "Anchor",
5423
- "module": "src/anchor/anchor.ts"
5424
- }
5425
- }
5426
- ],
5427
5329
  "members": [
5428
5330
  {
5429
- "kind": "field",
5430
- "name": "download",
5431
- "type": {
5432
- "text": "string"
5433
- },
5434
- "privacy": "public",
5435
- "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.",
5436
- "inheritedFrom": {
5437
- "name": "Anchor",
5438
- "module": "src/anchor/anchor.ts"
5439
- }
5440
- },
5441
- {
5442
- "kind": "field",
5443
- "name": "href",
5444
- "type": {
5445
- "text": "string"
5446
- },
5447
- "privacy": "public",
5448
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
5449
- "inheritedFrom": {
5450
- "name": "Anchor",
5451
- "module": "src/anchor/anchor.ts"
5452
- }
5453
- },
5454
- {
5455
- "kind": "field",
5456
- "name": "hreflang",
5457
- "type": {
5458
- "text": "string"
5459
- },
5460
- "privacy": "public",
5461
- "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.",
5462
- "inheritedFrom": {
5463
- "name": "Anchor",
5464
- "module": "src/anchor/anchor.ts"
5465
- }
5466
- },
5467
- {
5468
- "kind": "field",
5469
- "name": "ping",
5470
- "type": {
5471
- "text": "string"
5472
- },
5473
- "privacy": "public",
5474
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
5475
- "inheritedFrom": {
5476
- "name": "Anchor",
5477
- "module": "src/anchor/anchor.ts"
5478
- }
5479
- },
5480
- {
5481
- "kind": "field",
5482
- "name": "referrerpolicy",
5483
- "type": {
5484
- "text": "string"
5485
- },
5486
- "privacy": "public",
5487
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
5488
- "inheritedFrom": {
5489
- "name": "Anchor",
5490
- "module": "src/anchor/anchor.ts"
5491
- }
5492
- },
5493
- {
5494
- "kind": "field",
5495
- "name": "rel",
5496
- "type": {
5497
- "text": "string"
5498
- },
5499
- "privacy": "public",
5500
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
5501
- "inheritedFrom": {
5502
- "name": "Anchor",
5503
- "module": "src/anchor/anchor.ts"
5504
- }
5505
- },
5506
- {
5507
- "kind": "field",
5508
- "name": "target",
5509
- "type": {
5510
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
5511
- },
5331
+ "kind": "method",
5332
+ "name": "slottedBreadcrumbItemsChanged",
5512
5333
  "privacy": "public",
5513
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
5514
5334
  "inheritedFrom": {
5515
- "name": "Anchor",
5516
- "module": "src/anchor/anchor.ts"
5335
+ "name": "Breadcrumb",
5336
+ "module": "src/breadcrumb/breadcrumb.ts"
5517
5337
  }
5518
5338
  },
5519
5339
  {
5520
- "kind": "field",
5521
- "name": "type",
5522
- "type": {
5523
- "text": "string"
5340
+ "kind": "method",
5341
+ "name": "setItemSeparator",
5342
+ "privacy": "private",
5343
+ "return": {
5344
+ "type": {
5345
+ "text": "void"
5346
+ }
5524
5347
  },
5525
- "privacy": "public",
5526
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
5348
+ "parameters": [
5349
+ {
5350
+ "name": "item",
5351
+ "type": {
5352
+ "text": "HTMLElement"
5353
+ }
5354
+ },
5355
+ {
5356
+ "name": "isLastNode",
5357
+ "type": {
5358
+ "text": "boolean"
5359
+ }
5360
+ }
5361
+ ],
5527
5362
  "inheritedFrom": {
5528
- "name": "Anchor",
5529
- "module": "src/anchor/anchor.ts"
5363
+ "name": "Breadcrumb",
5364
+ "module": "src/breadcrumb/breadcrumb.ts"
5530
5365
  }
5531
5366
  },
5532
5367
  {
5533
- "kind": "field",
5534
- "name": "control",
5535
- "type": {
5536
- "text": "HTMLAnchorElement | undefined"
5368
+ "kind": "method",
5369
+ "name": "findChildWithHref",
5370
+ "privacy": "private",
5371
+ "return": {
5372
+ "type": {
5373
+ "text": "HTMLElement | null"
5374
+ }
5537
5375
  },
5538
- "privacy": "public",
5539
- "description": "References the root element",
5376
+ "parameters": [
5377
+ {
5378
+ "name": "node",
5379
+ "type": {
5380
+ "text": "HTMLElement"
5381
+ }
5382
+ }
5383
+ ],
5384
+ "description": "Finds href on childnodes in the light DOM or shadow DOM.\nWe look in the shadow DOM because we insert an anchor when breadcrumb-item has an href.",
5540
5385
  "inheritedFrom": {
5541
- "name": "Anchor",
5542
- "module": "src/anchor/anchor.ts"
5386
+ "name": "Breadcrumb",
5387
+ "module": "src/breadcrumb/breadcrumb.ts"
5543
5388
  }
5544
5389
  },
5545
5390
  {
5546
- "kind": "field",
5547
- "name": "handleUnsupportedDelegatesFocus",
5391
+ "kind": "method",
5392
+ "name": "setAriaCurrent",
5548
5393
  "privacy": "private",
5549
- "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",
5394
+ "return": {
5395
+ "type": {
5396
+ "text": "void"
5397
+ }
5398
+ },
5399
+ "parameters": [
5400
+ {
5401
+ "name": "item",
5402
+ "type": {
5403
+ "text": "HTMLElement"
5404
+ }
5405
+ },
5406
+ {
5407
+ "name": "isLastNode",
5408
+ "type": {
5409
+ "text": "boolean"
5410
+ }
5411
+ }
5412
+ ],
5413
+ "description": "Sets ARIA Current for the current node\nIf child node with an anchor tag and with href is found then set aria-current to correct value for the child node,\notherwise apply aria-current to the host element, with an href",
5550
5414
  "inheritedFrom": {
5551
- "name": "Anchor",
5552
- "module": "src/anchor/anchor.ts"
5415
+ "name": "Breadcrumb",
5416
+ "module": "src/breadcrumb/breadcrumb.ts"
5553
5417
  }
5554
5418
  },
5555
5419
  {
@@ -5667,7 +5531,7 @@
5667
5531
  },
5668
5532
  {
5669
5533
  "kind": "variable",
5670
- "name": "foundationBreadcrumbItemShadowOptions",
5534
+ "name": "foundationBreadcrumbShadowOptions",
5671
5535
  "type": {
5672
5536
  "text": "ShadowRootInit"
5673
5537
  },
@@ -5675,57 +5539,57 @@
5675
5539
  },
5676
5540
  {
5677
5541
  "kind": "variable",
5678
- "name": "defaultBreadcrumbItemConfig",
5542
+ "name": "defaultBreadcrumbConfig",
5679
5543
  "type": {
5680
5544
  "text": "object"
5681
5545
  },
5682
- "default": "{\n separator: '/',\n}"
5546
+ "default": "{}"
5683
5547
  },
5684
5548
  {
5685
5549
  "kind": "variable",
5686
- "name": "foundationBreadcrumbItem",
5687
- "description": "The Foundation Breadcrumb Item",
5550
+ "name": "foundationBreadcrumb",
5551
+ "description": "The Foundation Breadcrumb",
5688
5552
  "privacy": "public"
5689
5553
  }
5690
5554
  ],
5691
5555
  "exports": [
5692
5556
  {
5693
5557
  "kind": "js",
5694
- "name": "BreadcrumbItem",
5558
+ "name": "Breadcrumb",
5695
5559
  "declaration": {
5696
- "name": "BreadcrumbItem",
5697
- "module": "src/breadcrumb-item/breadcrumb-item.ts"
5560
+ "name": "Breadcrumb",
5561
+ "module": "src/breadcrumb/breadcrumb.ts"
5698
5562
  }
5699
5563
  },
5700
5564
  {
5701
5565
  "kind": "js",
5702
- "name": "foundationBreadcrumbItemShadowOptions",
5566
+ "name": "foundationBreadcrumbShadowOptions",
5703
5567
  "declaration": {
5704
- "name": "foundationBreadcrumbItemShadowOptions",
5705
- "module": "src/breadcrumb-item/breadcrumb-item.ts"
5568
+ "name": "foundationBreadcrumbShadowOptions",
5569
+ "module": "src/breadcrumb/breadcrumb.ts"
5706
5570
  }
5707
5571
  },
5708
5572
  {
5709
5573
  "kind": "js",
5710
- "name": "defaultBreadcrumbItemConfig",
5574
+ "name": "defaultBreadcrumbConfig",
5711
5575
  "declaration": {
5712
- "name": "defaultBreadcrumbItemConfig",
5713
- "module": "src/breadcrumb-item/breadcrumb-item.ts"
5576
+ "name": "defaultBreadcrumbConfig",
5577
+ "module": "src/breadcrumb/breadcrumb.ts"
5714
5578
  }
5715
5579
  },
5716
5580
  {
5717
5581
  "kind": "js",
5718
- "name": "foundationBreadcrumbItem",
5582
+ "name": "foundationBreadcrumb",
5719
5583
  "declaration": {
5720
- "name": "foundationBreadcrumbItem",
5721
- "module": "src/breadcrumb-item/breadcrumb-item.ts"
5584
+ "name": "foundationBreadcrumb",
5585
+ "module": "src/breadcrumb/breadcrumb.ts"
5722
5586
  }
5723
5587
  }
5724
5588
  ]
5725
5589
  },
5726
5590
  {
5727
5591
  "kind": "javascript-module",
5728
- "path": "src/breadcrumb-item/index.ts",
5592
+ "path": "src/breadcrumb/index.ts",
5729
5593
  "declarations": [],
5730
5594
  "exports": [
5731
5595
  {
@@ -5733,7 +5597,7 @@
5733
5597
  "name": "*",
5734
5598
  "declaration": {
5735
5599
  "name": "*",
5736
- "package": "./breadcrumb-item.template"
5600
+ "package": "./breadcrumb.template"
5737
5601
  }
5738
5602
  },
5739
5603
  {
@@ -5741,7 +5605,7 @@
5741
5605
  "name": "*",
5742
5606
  "declaration": {
5743
5607
  "name": "*",
5744
- "package": "./breadcrumb-item.styles"
5608
+ "package": "./breadcrumb.styles"
5745
5609
  }
5746
5610
  },
5747
5611
  {
@@ -5749,18 +5613,18 @@
5749
5613
  "name": "*",
5750
5614
  "declaration": {
5751
5615
  "name": "*",
5752
- "package": "./breadcrumb-item"
5616
+ "package": "./breadcrumb"
5753
5617
  }
5754
5618
  }
5755
5619
  ]
5756
5620
  },
5757
5621
  {
5758
5622
  "kind": "javascript-module",
5759
- "path": "src/breadcrumb/breadcrumb.styles.ts",
5623
+ "path": "src/breadcrumb-item/breadcrumb-item.styles.ts",
5760
5624
  "declarations": [
5761
5625
  {
5762
5626
  "kind": "function",
5763
- "name": "foundationBreadcrumbStyles",
5627
+ "name": "foundationBreadcrumbItemStyles",
5764
5628
  "return": {
5765
5629
  "type": {
5766
5630
  "text": "ElementStyles"
@@ -5768,172 +5632,308 @@
5768
5632
  },
5769
5633
  "parameters": [
5770
5634
  {
5771
- "name": "context",
5635
+ "name": "context",
5636
+ "type": {
5637
+ "text": "ElementDefinitionContext"
5638
+ }
5639
+ },
5640
+ {
5641
+ "name": "definition",
5642
+ "type": {
5643
+ "text": "FoundationElementDefinition"
5644
+ }
5645
+ }
5646
+ ]
5647
+ }
5648
+ ],
5649
+ "exports": [
5650
+ {
5651
+ "kind": "js",
5652
+ "name": "foundationBreadcrumbItemStyles",
5653
+ "declaration": {
5654
+ "name": "foundationBreadcrumbItemStyles",
5655
+ "module": "src/breadcrumb-item/breadcrumb-item.styles.ts"
5656
+ }
5657
+ }
5658
+ ]
5659
+ },
5660
+ {
5661
+ "kind": "javascript-module",
5662
+ "path": "src/breadcrumb-item/breadcrumb-item.template.ts",
5663
+ "declarations": [
5664
+ {
5665
+ "kind": "function",
5666
+ "name": "foundationBreadcrumbItemTemplate",
5667
+ "return": {
5668
+ "type": {
5669
+ "text": "ViewTemplate<BreadcrumbItem>"
5670
+ }
5671
+ },
5672
+ "parameters": [
5673
+ {
5674
+ "name": "context",
5675
+ "type": {
5676
+ "text": "ElementDefinitionContext"
5677
+ }
5678
+ },
5679
+ {
5680
+ "name": "definition",
5681
+ "type": {
5682
+ "text": "FoundationElementDefinition"
5683
+ }
5684
+ }
5685
+ ]
5686
+ }
5687
+ ],
5688
+ "exports": [
5689
+ {
5690
+ "kind": "js",
5691
+ "name": "foundationBreadcrumbItemTemplate",
5692
+ "declaration": {
5693
+ "name": "foundationBreadcrumbItemTemplate",
5694
+ "module": "src/breadcrumb-item/breadcrumb-item.template.ts"
5695
+ }
5696
+ }
5697
+ ]
5698
+ },
5699
+ {
5700
+ "kind": "javascript-module",
5701
+ "path": "src/breadcrumb-item/breadcrumb-item.ts",
5702
+ "declarations": [
5703
+ {
5704
+ "kind": "class",
5705
+ "description": "",
5706
+ "name": "BreadcrumbItem",
5707
+ "superclass": {
5708
+ "name": "FASTBreadcrumbItem",
5709
+ "package": "@microsoft/fast-components"
5710
+ },
5711
+ "tagName": "%%prefix%%-breadcrumb-item",
5712
+ "customElement": true,
5713
+ "attributes": [
5714
+ {
5715
+ "name": "download",
5716
+ "type": {
5717
+ "text": "string"
5718
+ },
5719
+ "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.",
5720
+ "fieldName": "download",
5721
+ "inheritedFrom": {
5722
+ "name": "Anchor",
5723
+ "module": "src/anchor/anchor.ts"
5724
+ }
5725
+ },
5726
+ {
5727
+ "name": "href",
5728
+ "type": {
5729
+ "text": "string"
5730
+ },
5731
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
5732
+ "fieldName": "href",
5733
+ "inheritedFrom": {
5734
+ "name": "Anchor",
5735
+ "module": "src/anchor/anchor.ts"
5736
+ }
5737
+ },
5738
+ {
5739
+ "name": "hreflang",
5740
+ "type": {
5741
+ "text": "string"
5742
+ },
5743
+ "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.",
5744
+ "fieldName": "hreflang",
5745
+ "inheritedFrom": {
5746
+ "name": "Anchor",
5747
+ "module": "src/anchor/anchor.ts"
5748
+ }
5749
+ },
5750
+ {
5751
+ "name": "ping",
5752
+ "type": {
5753
+ "text": "string"
5754
+ },
5755
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
5756
+ "fieldName": "ping",
5757
+ "inheritedFrom": {
5758
+ "name": "Anchor",
5759
+ "module": "src/anchor/anchor.ts"
5760
+ }
5761
+ },
5762
+ {
5763
+ "name": "referrerpolicy",
5764
+ "type": {
5765
+ "text": "string"
5766
+ },
5767
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
5768
+ "fieldName": "referrerpolicy",
5769
+ "inheritedFrom": {
5770
+ "name": "Anchor",
5771
+ "module": "src/anchor/anchor.ts"
5772
+ }
5773
+ },
5774
+ {
5775
+ "name": "rel",
5776
+ "type": {
5777
+ "text": "string"
5778
+ },
5779
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
5780
+ "fieldName": "rel",
5781
+ "inheritedFrom": {
5782
+ "name": "Anchor",
5783
+ "module": "src/anchor/anchor.ts"
5784
+ }
5785
+ },
5786
+ {
5787
+ "name": "target",
5788
+ "type": {
5789
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
5790
+ },
5791
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
5792
+ "fieldName": "target",
5793
+ "inheritedFrom": {
5794
+ "name": "Anchor",
5795
+ "module": "src/anchor/anchor.ts"
5796
+ }
5797
+ },
5798
+ {
5799
+ "name": "type",
5800
+ "type": {
5801
+ "text": "string"
5802
+ },
5803
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
5804
+ "fieldName": "type",
5805
+ "inheritedFrom": {
5806
+ "name": "Anchor",
5807
+ "module": "src/anchor/anchor.ts"
5808
+ }
5809
+ }
5810
+ ],
5811
+ "members": [
5812
+ {
5813
+ "kind": "field",
5814
+ "name": "download",
5815
+ "type": {
5816
+ "text": "string"
5817
+ },
5818
+ "privacy": "public",
5819
+ "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.",
5820
+ "inheritedFrom": {
5821
+ "name": "Anchor",
5822
+ "module": "src/anchor/anchor.ts"
5823
+ }
5824
+ },
5825
+ {
5826
+ "kind": "field",
5827
+ "name": "href",
5828
+ "type": {
5829
+ "text": "string"
5830
+ },
5831
+ "privacy": "public",
5832
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
5833
+ "inheritedFrom": {
5834
+ "name": "Anchor",
5835
+ "module": "src/anchor/anchor.ts"
5836
+ }
5837
+ },
5838
+ {
5839
+ "kind": "field",
5840
+ "name": "hreflang",
5772
5841
  "type": {
5773
- "text": "ElementDefinitionContext"
5842
+ "text": "string"
5843
+ },
5844
+ "privacy": "public",
5845
+ "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.",
5846
+ "inheritedFrom": {
5847
+ "name": "Anchor",
5848
+ "module": "src/anchor/anchor.ts"
5774
5849
  }
5775
5850
  },
5776
5851
  {
5777
- "name": "definition",
5852
+ "kind": "field",
5853
+ "name": "ping",
5778
5854
  "type": {
5779
- "text": "FoundationElementDefinition"
5855
+ "text": "string"
5856
+ },
5857
+ "privacy": "public",
5858
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
5859
+ "inheritedFrom": {
5860
+ "name": "Anchor",
5861
+ "module": "src/anchor/anchor.ts"
5780
5862
  }
5781
- }
5782
- ]
5783
- }
5784
- ],
5785
- "exports": [
5786
- {
5787
- "kind": "js",
5788
- "name": "foundationBreadcrumbStyles",
5789
- "declaration": {
5790
- "name": "foundationBreadcrumbStyles",
5791
- "module": "src/breadcrumb/breadcrumb.styles.ts"
5792
- }
5793
- }
5794
- ]
5795
- },
5796
- {
5797
- "kind": "javascript-module",
5798
- "path": "src/breadcrumb/breadcrumb.template.ts",
5799
- "declarations": [
5800
- {
5801
- "kind": "function",
5802
- "name": "foundationBreadcrumbTemplate",
5803
- "return": {
5804
- "type": {
5805
- "text": "ViewTemplate<Breadcrumb>"
5806
- }
5807
- },
5808
- "parameters": [
5863
+ },
5809
5864
  {
5810
- "name": "context",
5865
+ "kind": "field",
5866
+ "name": "referrerpolicy",
5811
5867
  "type": {
5812
- "text": "ElementDefinitionContext"
5868
+ "text": "string"
5869
+ },
5870
+ "privacy": "public",
5871
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
5872
+ "inheritedFrom": {
5873
+ "name": "Anchor",
5874
+ "module": "src/anchor/anchor.ts"
5813
5875
  }
5814
5876
  },
5815
5877
  {
5816
- "name": "definition",
5878
+ "kind": "field",
5879
+ "name": "rel",
5817
5880
  "type": {
5818
- "text": "FoundationElementDefinition"
5881
+ "text": "string"
5882
+ },
5883
+ "privacy": "public",
5884
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
5885
+ "inheritedFrom": {
5886
+ "name": "Anchor",
5887
+ "module": "src/anchor/anchor.ts"
5819
5888
  }
5820
- }
5821
- ]
5822
- }
5823
- ],
5824
- "exports": [
5825
- {
5826
- "kind": "js",
5827
- "name": "foundationBreadcrumbTemplate",
5828
- "declaration": {
5829
- "name": "foundationBreadcrumbTemplate",
5830
- "module": "src/breadcrumb/breadcrumb.template.ts"
5831
- }
5832
- }
5833
- ]
5834
- },
5835
- {
5836
- "kind": "javascript-module",
5837
- "path": "src/breadcrumb/breadcrumb.ts",
5838
- "declarations": [
5839
- {
5840
- "kind": "class",
5841
- "description": "",
5842
- "name": "Breadcrumb",
5843
- "superclass": {
5844
- "name": "FASTBreadcrumb",
5845
- "package": "@microsoft/fast-components"
5846
- },
5847
- "tagName": "%%prefix%%-breadcrumb",
5848
- "customElement": true,
5849
- "members": [
5889
+ },
5850
5890
  {
5851
- "kind": "method",
5852
- "name": "slottedBreadcrumbItemsChanged",
5891
+ "kind": "field",
5892
+ "name": "target",
5893
+ "type": {
5894
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
5895
+ },
5853
5896
  "privacy": "public",
5897
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
5854
5898
  "inheritedFrom": {
5855
- "name": "Breadcrumb",
5856
- "module": "src/breadcrumb/breadcrumb.ts"
5899
+ "name": "Anchor",
5900
+ "module": "src/anchor/anchor.ts"
5857
5901
  }
5858
5902
  },
5859
5903
  {
5860
- "kind": "method",
5861
- "name": "setItemSeparator",
5862
- "privacy": "private",
5863
- "return": {
5864
- "type": {
5865
- "text": "void"
5866
- }
5904
+ "kind": "field",
5905
+ "name": "type",
5906
+ "type": {
5907
+ "text": "string"
5867
5908
  },
5868
- "parameters": [
5869
- {
5870
- "name": "item",
5871
- "type": {
5872
- "text": "HTMLElement"
5873
- }
5874
- },
5875
- {
5876
- "name": "isLastNode",
5877
- "type": {
5878
- "text": "boolean"
5879
- }
5880
- }
5881
- ],
5909
+ "privacy": "public",
5910
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
5882
5911
  "inheritedFrom": {
5883
- "name": "Breadcrumb",
5884
- "module": "src/breadcrumb/breadcrumb.ts"
5912
+ "name": "Anchor",
5913
+ "module": "src/anchor/anchor.ts"
5885
5914
  }
5886
5915
  },
5887
5916
  {
5888
- "kind": "method",
5889
- "name": "findChildWithHref",
5890
- "privacy": "private",
5891
- "return": {
5892
- "type": {
5893
- "text": "HTMLElement | null"
5894
- }
5917
+ "kind": "field",
5918
+ "name": "control",
5919
+ "type": {
5920
+ "text": "HTMLAnchorElement | undefined"
5895
5921
  },
5896
- "parameters": [
5897
- {
5898
- "name": "node",
5899
- "type": {
5900
- "text": "HTMLElement"
5901
- }
5902
- }
5903
- ],
5904
- "description": "Finds href on childnodes in the light DOM or shadow DOM.\nWe look in the shadow DOM because we insert an anchor when breadcrumb-item has an href.",
5922
+ "privacy": "public",
5923
+ "description": "References the root element",
5905
5924
  "inheritedFrom": {
5906
- "name": "Breadcrumb",
5907
- "module": "src/breadcrumb/breadcrumb.ts"
5925
+ "name": "Anchor",
5926
+ "module": "src/anchor/anchor.ts"
5908
5927
  }
5909
5928
  },
5910
5929
  {
5911
- "kind": "method",
5912
- "name": "setAriaCurrent",
5930
+ "kind": "field",
5931
+ "name": "handleUnsupportedDelegatesFocus",
5913
5932
  "privacy": "private",
5914
- "return": {
5915
- "type": {
5916
- "text": "void"
5917
- }
5918
- },
5919
- "parameters": [
5920
- {
5921
- "name": "item",
5922
- "type": {
5923
- "text": "HTMLElement"
5924
- }
5925
- },
5926
- {
5927
- "name": "isLastNode",
5928
- "type": {
5929
- "text": "boolean"
5930
- }
5931
- }
5932
- ],
5933
- "description": "Sets ARIA Current for the current node\nIf child node with an anchor tag and with href is found then set aria-current to correct value for the child node,\notherwise apply aria-current to the host element, with an href",
5933
+ "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",
5934
5934
  "inheritedFrom": {
5935
- "name": "Breadcrumb",
5936
- "module": "src/breadcrumb/breadcrumb.ts"
5935
+ "name": "Anchor",
5936
+ "module": "src/anchor/anchor.ts"
5937
5937
  }
5938
5938
  },
5939
5939
  {
@@ -6051,7 +6051,7 @@
6051
6051
  },
6052
6052
  {
6053
6053
  "kind": "variable",
6054
- "name": "foundationBreadcrumbShadowOptions",
6054
+ "name": "foundationBreadcrumbItemShadowOptions",
6055
6055
  "type": {
6056
6056
  "text": "ShadowRootInit"
6057
6057
  },
@@ -6059,57 +6059,57 @@
6059
6059
  },
6060
6060
  {
6061
6061
  "kind": "variable",
6062
- "name": "defaultBreadcrumbConfig",
6062
+ "name": "defaultBreadcrumbItemConfig",
6063
6063
  "type": {
6064
6064
  "text": "object"
6065
6065
  },
6066
- "default": "{}"
6066
+ "default": "{\n separator: '/',\n}"
6067
6067
  },
6068
6068
  {
6069
6069
  "kind": "variable",
6070
- "name": "foundationBreadcrumb",
6071
- "description": "The Foundation Breadcrumb",
6070
+ "name": "foundationBreadcrumbItem",
6071
+ "description": "The Foundation Breadcrumb Item",
6072
6072
  "privacy": "public"
6073
6073
  }
6074
6074
  ],
6075
6075
  "exports": [
6076
6076
  {
6077
6077
  "kind": "js",
6078
- "name": "Breadcrumb",
6078
+ "name": "BreadcrumbItem",
6079
6079
  "declaration": {
6080
- "name": "Breadcrumb",
6081
- "module": "src/breadcrumb/breadcrumb.ts"
6080
+ "name": "BreadcrumbItem",
6081
+ "module": "src/breadcrumb-item/breadcrumb-item.ts"
6082
6082
  }
6083
6083
  },
6084
6084
  {
6085
6085
  "kind": "js",
6086
- "name": "foundationBreadcrumbShadowOptions",
6086
+ "name": "foundationBreadcrumbItemShadowOptions",
6087
6087
  "declaration": {
6088
- "name": "foundationBreadcrumbShadowOptions",
6089
- "module": "src/breadcrumb/breadcrumb.ts"
6088
+ "name": "foundationBreadcrumbItemShadowOptions",
6089
+ "module": "src/breadcrumb-item/breadcrumb-item.ts"
6090
6090
  }
6091
6091
  },
6092
6092
  {
6093
6093
  "kind": "js",
6094
- "name": "defaultBreadcrumbConfig",
6094
+ "name": "defaultBreadcrumbItemConfig",
6095
6095
  "declaration": {
6096
- "name": "defaultBreadcrumbConfig",
6097
- "module": "src/breadcrumb/breadcrumb.ts"
6096
+ "name": "defaultBreadcrumbItemConfig",
6097
+ "module": "src/breadcrumb-item/breadcrumb-item.ts"
6098
6098
  }
6099
6099
  },
6100
6100
  {
6101
6101
  "kind": "js",
6102
- "name": "foundationBreadcrumb",
6102
+ "name": "foundationBreadcrumbItem",
6103
6103
  "declaration": {
6104
- "name": "foundationBreadcrumb",
6105
- "module": "src/breadcrumb/breadcrumb.ts"
6104
+ "name": "foundationBreadcrumbItem",
6105
+ "module": "src/breadcrumb-item/breadcrumb-item.ts"
6106
6106
  }
6107
6107
  }
6108
6108
  ]
6109
6109
  },
6110
6110
  {
6111
6111
  "kind": "javascript-module",
6112
- "path": "src/breadcrumb/index.ts",
6112
+ "path": "src/breadcrumb-item/index.ts",
6113
6113
  "declarations": [],
6114
6114
  "exports": [
6115
6115
  {
@@ -6117,7 +6117,7 @@
6117
6117
  "name": "*",
6118
6118
  "declaration": {
6119
6119
  "name": "*",
6120
- "package": "./breadcrumb.template"
6120
+ "package": "./breadcrumb-item.template"
6121
6121
  }
6122
6122
  },
6123
6123
  {
@@ -6125,7 +6125,7 @@
6125
6125
  "name": "*",
6126
6126
  "declaration": {
6127
6127
  "name": "*",
6128
- "package": "./breadcrumb.styles"
6128
+ "package": "./breadcrumb-item.styles"
6129
6129
  }
6130
6130
  },
6131
6131
  {
@@ -6133,7 +6133,7 @@
6133
6133
  "name": "*",
6134
6134
  "declaration": {
6135
6135
  "name": "*",
6136
- "package": "./breadcrumb"
6136
+ "package": "./breadcrumb-item"
6137
6137
  }
6138
6138
  }
6139
6139
  ]