@genesislcap/foundation-ui 14.155.2-alpha-d9bfff1.0 → 14.156.1

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 (34) hide show
  1. package/dist/custom-elements.json +1082 -827
  2. package/dist/dts/base-components.d.ts +1 -0
  3. package/dist/dts/base-components.d.ts.map +1 -1
  4. package/dist/dts/dialog/dialog.d.ts +1 -3
  5. package/dist/dts/dialog/dialog.d.ts.map +1 -1
  6. package/dist/dts/dialog/dialog.styles.d.ts.map +1 -1
  7. package/dist/dts/icon/icon.d.ts +3 -1
  8. package/dist/dts/icon/icon.d.ts.map +1 -1
  9. package/dist/dts/icon/icon.styles.d.ts.map +1 -1
  10. package/dist/dts/index.d.ts +1 -0
  11. package/dist/dts/index.d.ts.map +1 -1
  12. package/dist/dts/stacking-icons/index.d.ts +4 -0
  13. package/dist/dts/stacking-icons/index.d.ts.map +1 -0
  14. package/dist/dts/stacking-icons/stacking-icons.d.ts +20 -0
  15. package/dist/dts/stacking-icons/stacking-icons.d.ts.map +1 -0
  16. package/dist/dts/stacking-icons/stacking-icons.styles.d.ts +4 -0
  17. package/dist/dts/stacking-icons/stacking-icons.styles.d.ts.map +1 -0
  18. package/dist/dts/stacking-icons/stacking-icons.template.d.ts +3 -0
  19. package/dist/dts/stacking-icons/stacking-icons.template.d.ts.map +1 -0
  20. package/dist/esm/base-components.js +2 -0
  21. package/dist/esm/dialog/dialog.js +1 -8
  22. package/dist/esm/dialog/dialog.styles.js +0 -25
  23. package/dist/esm/dialog/dialog.template.js +1 -1
  24. package/dist/esm/icon/icon.js +21 -0
  25. package/dist/esm/icon/icon.styles.js +8 -0
  26. package/dist/esm/index.js +1 -0
  27. package/dist/esm/stacking-icons/index.js +3 -0
  28. package/dist/esm/stacking-icons/stacking-icons.js +34 -0
  29. package/dist/esm/stacking-icons/stacking-icons.styles.js +29 -0
  30. package/dist/esm/stacking-icons/stacking-icons.template.js +9 -0
  31. package/package.json +15 -15
  32. package/dist/dts/dialog/dialog.types.d.ts +0 -3
  33. package/dist/dts/dialog/dialog.types.d.ts.map +0 -1
  34. package/dist/esm/dialog/dialog.types.js +0 -1
@@ -12,7 +12,7 @@
12
12
  "type": {
13
13
  "text": "object"
14
14
  },
15
- "default": "{\n foundationAccordion,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumbItem,\n foundationBreadcrumb,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBoundary,\n foundationErrorBanner,\n foundationErrorDialog,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationProgress,\n foundationPopper,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStepper,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
15
+ "default": "{\n foundationAccordion,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumbItem,\n foundationBreadcrumb,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBoundary,\n foundationErrorBanner,\n foundationErrorDialog,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationProgress,\n foundationPopper,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStepper,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationStackingIcons,\n foundationSwitch,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
16
16
  }
17
17
  ],
18
18
  "exports": [
@@ -594,6 +594,14 @@
594
594
  "package": "./slider-label"
595
595
  }
596
596
  },
597
+ {
598
+ "kind": "js",
599
+ "name": "*",
600
+ "declaration": {
601
+ "name": "*",
602
+ "package": "./stacking-icons"
603
+ }
604
+ },
597
605
  {
598
606
  "kind": "js",
599
607
  "name": "*",
@@ -834,37 +842,6 @@
834
842
  }
835
843
  ]
836
844
  },
837
- {
838
- "kind": "javascript-module",
839
- "path": "src/_config/index.ts",
840
- "declarations": [],
841
- "exports": [
842
- {
843
- "kind": "js",
844
- "name": "*",
845
- "declaration": {
846
- "name": "*",
847
- "package": "./styles"
848
- }
849
- },
850
- {
851
- "kind": "js",
852
- "name": "*",
853
- "declaration": {
854
- "name": "*",
855
- "package": "./tokens"
856
- }
857
- },
858
- {
859
- "kind": "js",
860
- "name": "*",
861
- "declaration": {
862
- "name": "*",
863
- "package": "./values"
864
- }
865
- }
866
- ]
867
- },
868
845
  {
869
846
  "kind": "javascript-module",
870
847
  "path": "src/accordion/accordion.styles.ts",
@@ -1049,11 +1026,65 @@
1049
1026
  },
1050
1027
  {
1051
1028
  "kind": "javascript-module",
1052
- "path": "src/accordion-item/accordion-item.styles.ts",
1029
+ "path": "src/_config/index.ts",
1030
+ "declarations": [],
1031
+ "exports": [
1032
+ {
1033
+ "kind": "js",
1034
+ "name": "*",
1035
+ "declaration": {
1036
+ "name": "*",
1037
+ "package": "./styles"
1038
+ }
1039
+ },
1040
+ {
1041
+ "kind": "js",
1042
+ "name": "*",
1043
+ "declaration": {
1044
+ "name": "*",
1045
+ "package": "./tokens"
1046
+ }
1047
+ },
1048
+ {
1049
+ "kind": "js",
1050
+ "name": "*",
1051
+ "declaration": {
1052
+ "name": "*",
1053
+ "package": "./values"
1054
+ }
1055
+ }
1056
+ ]
1057
+ },
1058
+ {
1059
+ "kind": "javascript-module",
1060
+ "path": "src/actions-menu/actions-menu.styles.ts",
1053
1061
  "declarations": [
1054
1062
  {
1055
1063
  "kind": "function",
1056
- "name": "foundationAccordionItemStyles",
1064
+ "name": "actionsMenuBaseStyles",
1065
+ "return": {
1066
+ "type": {
1067
+ "text": "ElementStyles"
1068
+ }
1069
+ },
1070
+ "parameters": [
1071
+ {
1072
+ "name": "context",
1073
+ "type": {
1074
+ "text": "ElementDefinitionContext"
1075
+ }
1076
+ },
1077
+ {
1078
+ "name": "definition",
1079
+ "type": {
1080
+ "text": "FoundationElementDefinition"
1081
+ }
1082
+ }
1083
+ ]
1084
+ },
1085
+ {
1086
+ "kind": "function",
1087
+ "name": "foundationActionsMenuStyles",
1057
1088
  "return": {
1058
1089
  "type": {
1059
1090
  "text": "ElementStyles"
@@ -1078,157 +1109,270 @@
1078
1109
  "exports": [
1079
1110
  {
1080
1111
  "kind": "js",
1081
- "name": "foundationAccordionItemStyles",
1112
+ "name": "actionsMenuBaseStyles",
1082
1113
  "declaration": {
1083
- "name": "foundationAccordionItemStyles",
1084
- "module": "src/accordion-item/accordion-item.styles.ts"
1114
+ "name": "actionsMenuBaseStyles",
1115
+ "module": "src/actions-menu/actions-menu.styles.ts"
1116
+ }
1117
+ },
1118
+ {
1119
+ "kind": "js",
1120
+ "name": "foundationActionsMenuStyles",
1121
+ "declaration": {
1122
+ "name": "foundationActionsMenuStyles",
1123
+ "module": "src/actions-menu/actions-menu.styles.ts"
1085
1124
  }
1086
1125
  }
1087
1126
  ]
1088
1127
  },
1089
1128
  {
1090
1129
  "kind": "javascript-module",
1091
- "path": "src/accordion-item/accordion-item.template.ts",
1130
+ "path": "src/actions-menu/actions-menu.template.ts",
1092
1131
  "declarations": [
1093
1132
  {
1094
1133
  "kind": "function",
1095
- "name": "foundationAccordionItemTemplate",
1096
- "return": {
1097
- "type": {
1098
- "text": "ViewTemplate<AccordionItem>"
1099
- }
1100
- },
1134
+ "name": "menuTemplate",
1101
1135
  "parameters": [
1102
1136
  {
1103
- "name": "context",
1137
+ "name": "prefix",
1104
1138
  "type": {
1105
- "text": "ElementDefinitionContext"
1139
+ "text": "string"
1106
1140
  }
1107
- },
1141
+ }
1142
+ ]
1143
+ },
1144
+ {
1145
+ "kind": "function",
1146
+ "name": "singleOptionTemplate",
1147
+ "parameters": [
1108
1148
  {
1109
- "name": "definition",
1149
+ "name": "prefix",
1110
1150
  "type": {
1111
- "text": "FoundationElementDefinition"
1151
+ "text": "string"
1112
1152
  }
1113
1153
  }
1114
1154
  ]
1155
+ },
1156
+ {
1157
+ "kind": "variable",
1158
+ "name": "foundationActionsMenuTemplate",
1159
+ "type": {
1160
+ "text": "ViewTemplate<ActionsMenu>"
1161
+ },
1162
+ "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`"
1115
1163
  }
1116
1164
  ],
1117
1165
  "exports": [
1118
1166
  {
1119
1167
  "kind": "js",
1120
- "name": "foundationAccordionItemTemplate",
1168
+ "name": "menuTemplate",
1121
1169
  "declaration": {
1122
- "name": "foundationAccordionItemTemplate",
1123
- "module": "src/accordion-item/accordion-item.template.ts"
1170
+ "name": "menuTemplate",
1171
+ "module": "src/actions-menu/actions-menu.template.ts"
1172
+ }
1173
+ },
1174
+ {
1175
+ "kind": "js",
1176
+ "name": "singleOptionTemplate",
1177
+ "declaration": {
1178
+ "name": "singleOptionTemplate",
1179
+ "module": "src/actions-menu/actions-menu.template.ts"
1180
+ }
1181
+ },
1182
+ {
1183
+ "kind": "js",
1184
+ "name": "foundationActionsMenuTemplate",
1185
+ "declaration": {
1186
+ "name": "foundationActionsMenuTemplate",
1187
+ "module": "src/actions-menu/actions-menu.template.ts"
1124
1188
  }
1125
1189
  }
1126
1190
  ]
1127
1191
  },
1128
1192
  {
1129
1193
  "kind": "javascript-module",
1130
- "path": "src/accordion-item/accordion-item.ts",
1194
+ "path": "src/actions-menu/actions-menu.ts",
1131
1195
  "declarations": [
1132
1196
  {
1133
1197
  "kind": "class",
1134
1198
  "description": "",
1135
- "name": "AccordionItem",
1136
- "superclass": {
1137
- "name": "FASTAccordionItem",
1138
- "package": "@microsoft/fast-components"
1139
- },
1140
- "tagName": "%%prefix%%-accordion-item",
1141
- "customElement": true,
1142
- "attributes": [
1199
+ "name": "ActionsMenu",
1200
+ "members": [
1143
1201
  {
1144
- "name": "heading-level",
1202
+ "kind": "field",
1203
+ "name": "actions",
1145
1204
  "type": {
1146
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1147
- },
1148
- "default": "2",
1149
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1150
- "fieldName": "headinglevel",
1151
- "inheritedFrom": {
1152
- "name": "AccordionItem",
1153
- "module": "src/accordion-item/accordion-item.ts"
1205
+ "text": "ActionMenuItem[]"
1154
1206
  }
1155
1207
  },
1156
1208
  {
1209
+ "kind": "field",
1210
+ "name": "isVertical",
1157
1211
  "type": {
1158
1212
  "text": "boolean"
1159
1213
  },
1160
- "default": "false",
1161
- "description": "Expands or collapses the item.",
1162
- "fieldName": "expanded",
1163
- "inheritedFrom": {
1164
- "name": "AccordionItem",
1165
- "module": "src/accordion-item/accordion-item.ts"
1214
+ "default": "false"
1215
+ },
1216
+ {
1217
+ "kind": "field",
1218
+ "name": "addDefaultActions",
1219
+ "type": {
1220
+ "text": "boolean"
1221
+ },
1222
+ "default": "true"
1223
+ },
1224
+ {
1225
+ "kind": "field",
1226
+ "name": "autoCloseOnAction",
1227
+ "type": {
1228
+ "text": "boolean"
1229
+ },
1230
+ "default": "true"
1231
+ },
1232
+ {
1233
+ "kind": "field",
1234
+ "name": "classNames",
1235
+ "type": {
1236
+ "text": "string"
1166
1237
  }
1167
1238
  },
1168
1239
  {
1169
- "name": "id",
1240
+ "kind": "field",
1241
+ "name": "definition",
1242
+ "type": {
1243
+ "text": "any"
1244
+ }
1245
+ },
1246
+ {
1247
+ "kind": "field",
1248
+ "name": "name",
1170
1249
  "type": {
1171
1250
  "text": "string"
1172
1251
  },
1173
- "description": "The item ID",
1174
- "fieldName": "id",
1175
- "inheritedFrom": {
1176
- "name": "AccordionItem",
1177
- "module": "src/accordion-item/accordion-item.ts"
1178
- }
1179
- }
1180
- ],
1181
- "members": [
1252
+ "default": "'Actions'"
1253
+ },
1182
1254
  {
1183
1255
  "kind": "field",
1184
- "name": "headinglevel",
1256
+ "name": "open",
1185
1257
  "type": {
1186
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1258
+ "text": "boolean"
1187
1259
  },
1188
- "privacy": "public",
1189
- "default": "2",
1190
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1191
- "inheritedFrom": {
1192
- "name": "AccordionItem",
1193
- "module": "src/accordion-item/accordion-item.ts"
1260
+ "default": "false"
1261
+ },
1262
+ {
1263
+ "kind": "field",
1264
+ "name": "buttonAppearance",
1265
+ "type": {
1266
+ "text": "string"
1194
1267
  }
1195
1268
  },
1196
1269
  {
1197
1270
  "kind": "field",
1198
- "name": "expanded",
1271
+ "name": "hideDisabled",
1199
1272
  "type": {
1200
1273
  "text": "boolean"
1201
1274
  },
1202
- "privacy": "public",
1203
- "default": "false",
1204
- "description": "Expands or collapses the item.",
1205
- "inheritedFrom": {
1206
- "name": "AccordionItem",
1207
- "module": "src/accordion-item/accordion-item.ts"
1208
- }
1275
+ "default": "false"
1209
1276
  },
1210
1277
  {
1211
1278
  "kind": "field",
1212
- "name": "id",
1279
+ "name": "hideMenuSingleOption",
1213
1280
  "type": {
1214
- "text": "string"
1281
+ "text": "boolean"
1215
1282
  },
1216
- "privacy": "public",
1217
- "description": "The item ID",
1218
- "inheritedFrom": {
1219
- "name": "AccordionItem",
1220
- "module": "src/accordion-item/accordion-item.ts"
1283
+ "default": "false"
1284
+ },
1285
+ {
1286
+ "kind": "field",
1287
+ "name": "singleOption",
1288
+ "type": {
1289
+ "text": "ActionMenuItem"
1221
1290
  }
1222
1291
  },
1223
1292
  {
1224
1293
  "kind": "field",
1225
- "name": "change",
1226
- "privacy": "private",
1227
- "inheritedFrom": {
1228
- "name": "AccordionItem",
1229
- "module": "src/accordion-item/accordion-item.ts"
1294
+ "name": "actionsMenu",
1295
+ "type": {
1296
+ "text": "HTMLElement"
1230
1297
  }
1231
1298
  },
1299
+ {
1300
+ "kind": "method",
1301
+ "name": "definitionChanged",
1302
+ "privacy": "protected",
1303
+ "parameters": [
1304
+ {
1305
+ "name": "oldValue",
1306
+ "type": {
1307
+ "text": "any"
1308
+ }
1309
+ },
1310
+ {
1311
+ "name": "newValue",
1312
+ "type": {
1313
+ "text": "any"
1314
+ }
1315
+ }
1316
+ ]
1317
+ },
1318
+ {
1319
+ "kind": "method",
1320
+ "name": "openChanged",
1321
+ "privacy": "protected"
1322
+ },
1323
+ {
1324
+ "kind": "method",
1325
+ "name": "toggleActionsMenuVisibility"
1326
+ },
1327
+ {
1328
+ "kind": "method",
1329
+ "name": "onActionMenuItemClick",
1330
+ "parameters": [
1331
+ {
1332
+ "name": "callback",
1333
+ "type": {
1334
+ "text": "(rowData) => void | any"
1335
+ }
1336
+ }
1337
+ ]
1338
+ },
1339
+ {
1340
+ "kind": "field",
1341
+ "name": "allActions",
1342
+ "type": {
1343
+ "text": "ActionMenuItem[]"
1344
+ },
1345
+ "readonly": true
1346
+ },
1347
+ {
1348
+ "kind": "field",
1349
+ "name": "rowData",
1350
+ "readonly": true
1351
+ },
1352
+ {
1353
+ "kind": "method",
1354
+ "name": "getLabel",
1355
+ "parameters": [
1356
+ {
1357
+ "name": "name",
1358
+ "type": {
1359
+ "text": "string | ((rowData: any) => string)"
1360
+ }
1361
+ }
1362
+ ]
1363
+ },
1364
+ {
1365
+ "kind": "method",
1366
+ "name": "getTemplate",
1367
+ "parameters": [
1368
+ {
1369
+ "name": "prefix",
1370
+ "type": {
1371
+ "text": "string"
1372
+ }
1373
+ }
1374
+ ]
1375
+ },
1232
1376
  {
1233
1377
  "kind": "field",
1234
1378
  "name": "_presentation",
@@ -1341,78 +1485,107 @@
1341
1485
  }
1342
1486
  }
1343
1487
  ],
1344
- "events": [
1488
+ "attributes": [
1345
1489
  {
1346
- "description": "Fires a custom 'change' event when the button is invoked",
1347
- "name": "change",
1348
- "inheritedFrom": {
1349
- "name": "AccordionItem",
1350
- "module": "src/accordion-item/accordion-item.ts"
1351
- }
1490
+ "name": "is-vertical",
1491
+ "type": {
1492
+ "text": "boolean"
1493
+ },
1494
+ "default": "false",
1495
+ "fieldName": "isVertical"
1496
+ },
1497
+ {
1498
+ "name": "add-default-actions",
1499
+ "type": {
1500
+ "text": "boolean"
1501
+ },
1502
+ "default": "true",
1503
+ "fieldName": "addDefaultActions"
1504
+ },
1505
+ {
1506
+ "name": "auto-close-on-action",
1507
+ "type": {
1508
+ "text": "boolean"
1509
+ },
1510
+ "default": "true",
1511
+ "fieldName": "autoCloseOnAction"
1512
+ },
1513
+ {
1514
+ "name": "name",
1515
+ "type": {
1516
+ "text": "string"
1517
+ },
1518
+ "default": "'Actions'",
1519
+ "fieldName": "name"
1520
+ },
1521
+ {
1522
+ "name": "open",
1523
+ "type": {
1524
+ "text": "boolean"
1525
+ },
1526
+ "default": "false",
1527
+ "fieldName": "open"
1528
+ },
1529
+ {
1530
+ "name": "buttonAppearance",
1531
+ "type": {
1532
+ "text": "string"
1533
+ },
1534
+ "fieldName": "buttonAppearance"
1535
+ },
1536
+ {
1537
+ "name": "hide-disabled",
1538
+ "type": {
1539
+ "text": "boolean"
1540
+ },
1541
+ "default": "false",
1542
+ "fieldName": "hideDisabled"
1543
+ },
1544
+ {
1545
+ "name": "hide-menu-single-option",
1546
+ "type": {
1547
+ "text": "boolean"
1548
+ },
1549
+ "default": "false",
1550
+ "fieldName": "hideMenuSingleOption"
1352
1551
  }
1353
- ]
1354
- },
1355
- {
1356
- "kind": "variable",
1357
- "name": "foundationAccordionItemShadowOptions",
1358
- "type": {
1359
- "text": "ShadowRootInit"
1360
- },
1361
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1362
- },
1363
- {
1364
- "kind": "variable",
1365
- "name": "defaultAccordionItemConfig",
1366
- "type": {
1367
- "text": "object"
1552
+ ],
1553
+ "superclass": {
1554
+ "name": "FoundationElement",
1555
+ "package": "@microsoft/fast-foundation"
1368
1556
  },
1369
- "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}"
1557
+ "tagName": "%%prefix%%-actions-menu",
1558
+ "customElement": true
1370
1559
  },
1371
1560
  {
1372
1561
  "kind": "variable",
1373
- "name": "foundationAccordionItem",
1374
- "description": "The Foundation Accordion Item",
1562
+ "name": "foundationActionsMenu",
1563
+ "description": "The Foundation Actions Menu",
1375
1564
  "privacy": "public"
1376
1565
  }
1377
1566
  ],
1378
1567
  "exports": [
1379
1568
  {
1380
1569
  "kind": "js",
1381
- "name": "AccordionItem",
1382
- "declaration": {
1383
- "name": "AccordionItem",
1384
- "module": "src/accordion-item/accordion-item.ts"
1385
- }
1386
- },
1387
- {
1388
- "kind": "js",
1389
- "name": "foundationAccordionItemShadowOptions",
1390
- "declaration": {
1391
- "name": "foundationAccordionItemShadowOptions",
1392
- "module": "src/accordion-item/accordion-item.ts"
1393
- }
1394
- },
1395
- {
1396
- "kind": "js",
1397
- "name": "defaultAccordionItemConfig",
1570
+ "name": "ActionsMenu",
1398
1571
  "declaration": {
1399
- "name": "defaultAccordionItemConfig",
1400
- "module": "src/accordion-item/accordion-item.ts"
1572
+ "name": "ActionsMenu",
1573
+ "module": "src/actions-menu/actions-menu.ts"
1401
1574
  }
1402
1575
  },
1403
1576
  {
1404
1577
  "kind": "js",
1405
- "name": "foundationAccordionItem",
1578
+ "name": "foundationActionsMenu",
1406
1579
  "declaration": {
1407
- "name": "foundationAccordionItem",
1408
- "module": "src/accordion-item/accordion-item.ts"
1580
+ "name": "foundationActionsMenu",
1581
+ "module": "src/actions-menu/actions-menu.ts"
1409
1582
  }
1410
1583
  }
1411
1584
  ]
1412
1585
  },
1413
1586
  {
1414
1587
  "kind": "javascript-module",
1415
- "path": "src/accordion-item/index.ts",
1588
+ "path": "src/actions-menu/index.ts",
1416
1589
  "declarations": [],
1417
1590
  "exports": [
1418
1591
  {
@@ -1420,7 +1593,7 @@
1420
1593
  "name": "*",
1421
1594
  "declaration": {
1422
1595
  "name": "*",
1423
- "package": "./accordion-item.template"
1596
+ "package": "./actions-menu.styles"
1424
1597
  }
1425
1598
  },
1426
1599
  {
@@ -1428,7 +1601,7 @@
1428
1601
  "name": "*",
1429
1602
  "declaration": {
1430
1603
  "name": "*",
1431
- "package": "./accordion-item.styles"
1604
+ "package": "./actions-menu.template"
1432
1605
  }
1433
1606
  },
1434
1607
  {
@@ -1436,41 +1609,18 @@
1436
1609
  "name": "*",
1437
1610
  "declaration": {
1438
1611
  "name": "*",
1439
- "package": "./accordion-item"
1612
+ "package": "./actions-menu"
1440
1613
  }
1441
1614
  }
1442
1615
  ]
1443
1616
  },
1444
1617
  {
1445
1618
  "kind": "javascript-module",
1446
- "path": "src/actions-menu/actions-menu.styles.ts",
1619
+ "path": "src/accordion-item/accordion-item.styles.ts",
1447
1620
  "declarations": [
1448
1621
  {
1449
1622
  "kind": "function",
1450
- "name": "actionsMenuBaseStyles",
1451
- "return": {
1452
- "type": {
1453
- "text": "ElementStyles"
1454
- }
1455
- },
1456
- "parameters": [
1457
- {
1458
- "name": "context",
1459
- "type": {
1460
- "text": "ElementDefinitionContext"
1461
- }
1462
- },
1463
- {
1464
- "name": "definition",
1465
- "type": {
1466
- "text": "FoundationElementDefinition"
1467
- }
1468
- }
1469
- ]
1470
- },
1471
- {
1472
- "kind": "function",
1473
- "name": "foundationActionsMenuStyles",
1623
+ "name": "foundationAccordionItemStyles",
1474
1624
  "return": {
1475
1625
  "type": {
1476
1626
  "text": "ElementStyles"
@@ -1495,270 +1645,157 @@
1495
1645
  "exports": [
1496
1646
  {
1497
1647
  "kind": "js",
1498
- "name": "actionsMenuBaseStyles",
1499
- "declaration": {
1500
- "name": "actionsMenuBaseStyles",
1501
- "module": "src/actions-menu/actions-menu.styles.ts"
1502
- }
1503
- },
1504
- {
1505
- "kind": "js",
1506
- "name": "foundationActionsMenuStyles",
1648
+ "name": "foundationAccordionItemStyles",
1507
1649
  "declaration": {
1508
- "name": "foundationActionsMenuStyles",
1509
- "module": "src/actions-menu/actions-menu.styles.ts"
1650
+ "name": "foundationAccordionItemStyles",
1651
+ "module": "src/accordion-item/accordion-item.styles.ts"
1510
1652
  }
1511
1653
  }
1512
1654
  ]
1513
1655
  },
1514
1656
  {
1515
1657
  "kind": "javascript-module",
1516
- "path": "src/actions-menu/actions-menu.template.ts",
1658
+ "path": "src/accordion-item/accordion-item.template.ts",
1517
1659
  "declarations": [
1518
1660
  {
1519
1661
  "kind": "function",
1520
- "name": "menuTemplate",
1662
+ "name": "foundationAccordionItemTemplate",
1663
+ "return": {
1664
+ "type": {
1665
+ "text": "ViewTemplate<AccordionItem>"
1666
+ }
1667
+ },
1521
1668
  "parameters": [
1522
1669
  {
1523
- "name": "prefix",
1670
+ "name": "context",
1524
1671
  "type": {
1525
- "text": "string"
1672
+ "text": "ElementDefinitionContext"
1526
1673
  }
1527
- }
1528
- ]
1529
- },
1530
- {
1531
- "kind": "function",
1532
- "name": "singleOptionTemplate",
1533
- "parameters": [
1674
+ },
1534
1675
  {
1535
- "name": "prefix",
1676
+ "name": "definition",
1536
1677
  "type": {
1537
- "text": "string"
1678
+ "text": "FoundationElementDefinition"
1538
1679
  }
1539
1680
  }
1540
1681
  ]
1541
- },
1542
- {
1543
- "kind": "variable",
1544
- "name": "foundationActionsMenuTemplate",
1545
- "type": {
1546
- "text": "ViewTemplate<ActionsMenu>"
1547
- },
1548
- "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`"
1549
1682
  }
1550
1683
  ],
1551
1684
  "exports": [
1552
1685
  {
1553
1686
  "kind": "js",
1554
- "name": "menuTemplate",
1555
- "declaration": {
1556
- "name": "menuTemplate",
1557
- "module": "src/actions-menu/actions-menu.template.ts"
1558
- }
1559
- },
1560
- {
1561
- "kind": "js",
1562
- "name": "singleOptionTemplate",
1563
- "declaration": {
1564
- "name": "singleOptionTemplate",
1565
- "module": "src/actions-menu/actions-menu.template.ts"
1566
- }
1567
- },
1568
- {
1569
- "kind": "js",
1570
- "name": "foundationActionsMenuTemplate",
1687
+ "name": "foundationAccordionItemTemplate",
1571
1688
  "declaration": {
1572
- "name": "foundationActionsMenuTemplate",
1573
- "module": "src/actions-menu/actions-menu.template.ts"
1689
+ "name": "foundationAccordionItemTemplate",
1690
+ "module": "src/accordion-item/accordion-item.template.ts"
1574
1691
  }
1575
1692
  }
1576
1693
  ]
1577
1694
  },
1578
1695
  {
1579
1696
  "kind": "javascript-module",
1580
- "path": "src/actions-menu/actions-menu.ts",
1697
+ "path": "src/accordion-item/accordion-item.ts",
1581
1698
  "declarations": [
1582
1699
  {
1583
1700
  "kind": "class",
1584
1701
  "description": "",
1585
- "name": "ActionsMenu",
1586
- "members": [
1587
- {
1588
- "kind": "field",
1589
- "name": "actions",
1590
- "type": {
1591
- "text": "ActionMenuItem[]"
1592
- }
1593
- },
1594
- {
1595
- "kind": "field",
1596
- "name": "isVertical",
1597
- "type": {
1598
- "text": "boolean"
1599
- },
1600
- "default": "false"
1601
- },
1702
+ "name": "AccordionItem",
1703
+ "superclass": {
1704
+ "name": "FASTAccordionItem",
1705
+ "package": "@microsoft/fast-components"
1706
+ },
1707
+ "tagName": "%%prefix%%-accordion-item",
1708
+ "customElement": true,
1709
+ "attributes": [
1602
1710
  {
1603
- "kind": "field",
1604
- "name": "addDefaultActions",
1711
+ "name": "heading-level",
1605
1712
  "type": {
1606
- "text": "boolean"
1713
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1607
1714
  },
1608
- "default": "true"
1715
+ "default": "2",
1716
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1717
+ "fieldName": "headinglevel",
1718
+ "inheritedFrom": {
1719
+ "name": "AccordionItem",
1720
+ "module": "src/accordion-item/accordion-item.ts"
1721
+ }
1609
1722
  },
1610
1723
  {
1611
- "kind": "field",
1612
- "name": "autoCloseOnAction",
1613
1724
  "type": {
1614
1725
  "text": "boolean"
1615
1726
  },
1616
- "default": "true"
1617
- },
1618
- {
1619
- "kind": "field",
1620
- "name": "classNames",
1621
- "type": {
1622
- "text": "string"
1623
- }
1624
- },
1625
- {
1626
- "kind": "field",
1627
- "name": "definition",
1628
- "type": {
1629
- "text": "any"
1727
+ "default": "false",
1728
+ "description": "Expands or collapses the item.",
1729
+ "fieldName": "expanded",
1730
+ "inheritedFrom": {
1731
+ "name": "AccordionItem",
1732
+ "module": "src/accordion-item/accordion-item.ts"
1630
1733
  }
1631
1734
  },
1632
1735
  {
1633
- "kind": "field",
1634
- "name": "name",
1736
+ "name": "id",
1635
1737
  "type": {
1636
1738
  "text": "string"
1637
1739
  },
1638
- "default": "'Actions'"
1639
- },
1740
+ "description": "The item ID",
1741
+ "fieldName": "id",
1742
+ "inheritedFrom": {
1743
+ "name": "AccordionItem",
1744
+ "module": "src/accordion-item/accordion-item.ts"
1745
+ }
1746
+ }
1747
+ ],
1748
+ "members": [
1640
1749
  {
1641
1750
  "kind": "field",
1642
- "name": "open",
1751
+ "name": "headinglevel",
1643
1752
  "type": {
1644
- "text": "boolean"
1753
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1645
1754
  },
1646
- "default": "false"
1647
- },
1648
- {
1649
- "kind": "field",
1650
- "name": "buttonAppearance",
1651
- "type": {
1652
- "text": "string"
1755
+ "privacy": "public",
1756
+ "default": "2",
1757
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1758
+ "inheritedFrom": {
1759
+ "name": "AccordionItem",
1760
+ "module": "src/accordion-item/accordion-item.ts"
1653
1761
  }
1654
1762
  },
1655
1763
  {
1656
1764
  "kind": "field",
1657
- "name": "hideDisabled",
1765
+ "name": "expanded",
1658
1766
  "type": {
1659
1767
  "text": "boolean"
1660
1768
  },
1661
- "default": "false"
1769
+ "privacy": "public",
1770
+ "default": "false",
1771
+ "description": "Expands or collapses the item.",
1772
+ "inheritedFrom": {
1773
+ "name": "AccordionItem",
1774
+ "module": "src/accordion-item/accordion-item.ts"
1775
+ }
1662
1776
  },
1663
1777
  {
1664
1778
  "kind": "field",
1665
- "name": "hideMenuSingleOption",
1779
+ "name": "id",
1666
1780
  "type": {
1667
- "text": "boolean"
1781
+ "text": "string"
1668
1782
  },
1669
- "default": "false"
1670
- },
1671
- {
1672
- "kind": "field",
1673
- "name": "singleOption",
1674
- "type": {
1675
- "text": "ActionMenuItem"
1783
+ "privacy": "public",
1784
+ "description": "The item ID",
1785
+ "inheritedFrom": {
1786
+ "name": "AccordionItem",
1787
+ "module": "src/accordion-item/accordion-item.ts"
1676
1788
  }
1677
1789
  },
1678
1790
  {
1679
1791
  "kind": "field",
1680
- "name": "actionsMenu",
1681
- "type": {
1682
- "text": "HTMLElement"
1792
+ "name": "change",
1793
+ "privacy": "private",
1794
+ "inheritedFrom": {
1795
+ "name": "AccordionItem",
1796
+ "module": "src/accordion-item/accordion-item.ts"
1683
1797
  }
1684
1798
  },
1685
- {
1686
- "kind": "method",
1687
- "name": "definitionChanged",
1688
- "privacy": "protected",
1689
- "parameters": [
1690
- {
1691
- "name": "oldValue",
1692
- "type": {
1693
- "text": "any"
1694
- }
1695
- },
1696
- {
1697
- "name": "newValue",
1698
- "type": {
1699
- "text": "any"
1700
- }
1701
- }
1702
- ]
1703
- },
1704
- {
1705
- "kind": "method",
1706
- "name": "openChanged",
1707
- "privacy": "protected"
1708
- },
1709
- {
1710
- "kind": "method",
1711
- "name": "toggleActionsMenuVisibility"
1712
- },
1713
- {
1714
- "kind": "method",
1715
- "name": "onActionMenuItemClick",
1716
- "parameters": [
1717
- {
1718
- "name": "callback",
1719
- "type": {
1720
- "text": "(rowData) => void | any"
1721
- }
1722
- }
1723
- ]
1724
- },
1725
- {
1726
- "kind": "field",
1727
- "name": "allActions",
1728
- "type": {
1729
- "text": "ActionMenuItem[]"
1730
- },
1731
- "readonly": true
1732
- },
1733
- {
1734
- "kind": "field",
1735
- "name": "rowData",
1736
- "readonly": true
1737
- },
1738
- {
1739
- "kind": "method",
1740
- "name": "getLabel",
1741
- "parameters": [
1742
- {
1743
- "name": "name",
1744
- "type": {
1745
- "text": "string | ((rowData: any) => string)"
1746
- }
1747
- }
1748
- ]
1749
- },
1750
- {
1751
- "kind": "method",
1752
- "name": "getTemplate",
1753
- "parameters": [
1754
- {
1755
- "name": "prefix",
1756
- "type": {
1757
- "text": "string"
1758
- }
1759
- }
1760
- ]
1761
- },
1762
1799
  {
1763
1800
  "kind": "field",
1764
1801
  "name": "_presentation",
@@ -1871,107 +1908,78 @@
1871
1908
  }
1872
1909
  }
1873
1910
  ],
1874
- "attributes": [
1875
- {
1876
- "name": "is-vertical",
1877
- "type": {
1878
- "text": "boolean"
1879
- },
1880
- "default": "false",
1881
- "fieldName": "isVertical"
1882
- },
1883
- {
1884
- "name": "add-default-actions",
1885
- "type": {
1886
- "text": "boolean"
1887
- },
1888
- "default": "true",
1889
- "fieldName": "addDefaultActions"
1890
- },
1891
- {
1892
- "name": "auto-close-on-action",
1893
- "type": {
1894
- "text": "boolean"
1895
- },
1896
- "default": "true",
1897
- "fieldName": "autoCloseOnAction"
1898
- },
1899
- {
1900
- "name": "name",
1901
- "type": {
1902
- "text": "string"
1903
- },
1904
- "default": "'Actions'",
1905
- "fieldName": "name"
1906
- },
1907
- {
1908
- "name": "open",
1909
- "type": {
1910
- "text": "boolean"
1911
- },
1912
- "default": "false",
1913
- "fieldName": "open"
1914
- },
1915
- {
1916
- "name": "buttonAppearance",
1917
- "type": {
1918
- "text": "string"
1919
- },
1920
- "fieldName": "buttonAppearance"
1921
- },
1922
- {
1923
- "name": "hide-disabled",
1924
- "type": {
1925
- "text": "boolean"
1926
- },
1927
- "default": "false",
1928
- "fieldName": "hideDisabled"
1929
- },
1911
+ "events": [
1930
1912
  {
1931
- "name": "hide-menu-single-option",
1932
- "type": {
1933
- "text": "boolean"
1934
- },
1935
- "default": "false",
1936
- "fieldName": "hideMenuSingleOption"
1913
+ "description": "Fires a custom 'change' event when the button is invoked",
1914
+ "name": "change",
1915
+ "inheritedFrom": {
1916
+ "name": "AccordionItem",
1917
+ "module": "src/accordion-item/accordion-item.ts"
1918
+ }
1937
1919
  }
1938
- ],
1939
- "superclass": {
1940
- "name": "FoundationElement",
1941
- "package": "@microsoft/fast-foundation"
1920
+ ]
1921
+ },
1922
+ {
1923
+ "kind": "variable",
1924
+ "name": "foundationAccordionItemShadowOptions",
1925
+ "type": {
1926
+ "text": "ShadowRootInit"
1942
1927
  },
1943
- "tagName": "%%prefix%%-actions-menu",
1944
- "customElement": true
1928
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1945
1929
  },
1946
1930
  {
1947
1931
  "kind": "variable",
1948
- "name": "foundationActionsMenu",
1949
- "description": "The Foundation Actions Menu",
1932
+ "name": "defaultAccordionItemConfig",
1933
+ "type": {
1934
+ "text": "object"
1935
+ },
1936
+ "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}"
1937
+ },
1938
+ {
1939
+ "kind": "variable",
1940
+ "name": "foundationAccordionItem",
1941
+ "description": "The Foundation Accordion Item",
1950
1942
  "privacy": "public"
1951
1943
  }
1952
1944
  ],
1953
1945
  "exports": [
1954
1946
  {
1955
1947
  "kind": "js",
1956
- "name": "ActionsMenu",
1948
+ "name": "AccordionItem",
1957
1949
  "declaration": {
1958
- "name": "ActionsMenu",
1959
- "module": "src/actions-menu/actions-menu.ts"
1950
+ "name": "AccordionItem",
1951
+ "module": "src/accordion-item/accordion-item.ts"
1960
1952
  }
1961
1953
  },
1962
1954
  {
1963
1955
  "kind": "js",
1964
- "name": "foundationActionsMenu",
1956
+ "name": "foundationAccordionItemShadowOptions",
1965
1957
  "declaration": {
1966
- "name": "foundationActionsMenu",
1967
- "module": "src/actions-menu/actions-menu.ts"
1958
+ "name": "foundationAccordionItemShadowOptions",
1959
+ "module": "src/accordion-item/accordion-item.ts"
1960
+ }
1961
+ },
1962
+ {
1963
+ "kind": "js",
1964
+ "name": "defaultAccordionItemConfig",
1965
+ "declaration": {
1966
+ "name": "defaultAccordionItemConfig",
1967
+ "module": "src/accordion-item/accordion-item.ts"
1968
+ }
1969
+ },
1970
+ {
1971
+ "kind": "js",
1972
+ "name": "foundationAccordionItem",
1973
+ "declaration": {
1974
+ "name": "foundationAccordionItem",
1975
+ "module": "src/accordion-item/accordion-item.ts"
1968
1976
  }
1969
1977
  }
1970
1978
  ]
1971
1979
  },
1972
1980
  {
1973
1981
  "kind": "javascript-module",
1974
- "path": "src/actions-menu/index.ts",
1982
+ "path": "src/accordion-item/index.ts",
1975
1983
  "declarations": [],
1976
1984
  "exports": [
1977
1985
  {
@@ -1979,7 +1987,7 @@
1979
1987
  "name": "*",
1980
1988
  "declaration": {
1981
1989
  "name": "*",
1982
- "package": "./actions-menu.styles"
1990
+ "package": "./accordion-item.template"
1983
1991
  }
1984
1992
  },
1985
1993
  {
@@ -1987,7 +1995,7 @@
1987
1995
  "name": "*",
1988
1996
  "declaration": {
1989
1997
  "name": "*",
1990
- "package": "./actions-menu.template"
1998
+ "package": "./accordion-item.styles"
1991
1999
  }
1992
2000
  },
1993
2001
  {
@@ -1995,7 +2003,7 @@
1995
2003
  "name": "*",
1996
2004
  "declaration": {
1997
2005
  "name": "*",
1998
- "package": "./actions-menu"
2006
+ "package": "./accordion-item"
1999
2007
  }
2000
2008
  }
2001
2009
  ]
@@ -13668,7 +13676,7 @@
13668
13676
  "type": {
13669
13677
  "text": "ElementStyles"
13670
13678
  },
13671
- "default": "css`\n dialog[type='error'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--color-error);\n }\n\n dialog[type='success']::before {\n background-color: var(--color-success);\n }\n :host {\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n .close-icon {\n position: absolute;\n right: calc(var(--design-unit) * 2px);\n top: calc(var(--design-unit) * 2px);\n cursor: pointer;\n }\n\n .close-icon svg {\n border-radius: calc(var(--control-corner-radius) * 1px);\n padding: calc(var(--design-unit) * 2px);\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 4px);\n overflow: inherit;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n }\n`"
13679
+ "default": "css`\n :host {\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n .close-icon {\n position: absolute;\n right: calc(var(--design-unit) * 2px);\n top: calc(var(--design-unit) * 2px);\n cursor: pointer;\n }\n\n .close-icon svg {\n border-radius: calc(var(--control-corner-radius) * 1px);\n padding: calc(var(--design-unit) * 2px);\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 4px);\n overflow: inherit;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n }\n`"
13672
13680
  }
13673
13681
  ],
13674
13682
  "exports": [
@@ -13767,21 +13775,13 @@
13767
13775
  "kind": "method",
13768
13776
  "name": "notificationChanged"
13769
13777
  },
13770
- {
13771
- "kind": "field",
13772
- "name": "type",
13773
- "type": {
13774
- "text": "DialogType"
13775
- },
13776
- "default": "'default'"
13777
- },
13778
13778
  {
13779
13779
  "kind": "field",
13780
13780
  "name": "position",
13781
13781
  "type": {
13782
- "text": "DialogPosition"
13782
+ "text": "'centre' | 'left' | 'right'"
13783
13783
  },
13784
- "default": "'center'"
13784
+ "default": "'centre'"
13785
13785
  },
13786
13786
  {
13787
13787
  "kind": "field",
@@ -13968,336 +13968,304 @@
13968
13968
  ],
13969
13969
  "attributes": [
13970
13970
  {
13971
- "name": "type",
13972
- "type": {
13973
- "text": "DialogType"
13974
- },
13975
- "default": "'default'",
13976
- "fieldName": "type"
13977
- },
13978
- {
13979
- "name": "position",
13980
- "type": {
13981
- "text": "DialogPosition"
13982
- },
13983
- "default": "'center'",
13984
- "fieldName": "position"
13985
- },
13986
- {
13987
- "name": "show-close-icon",
13988
- "type": {
13989
- "text": "boolean"
13990
- },
13991
- "default": "true",
13992
- "description": "Whether or not to show the close icon",
13993
- "fieldName": "showCloseIcon"
13994
- }
13995
- ],
13996
- "superclass": {
13997
- "name": "FoundationElement",
13998
- "package": "@microsoft/fast-foundation"
13999
- }
14000
- },
14001
- {
14002
- "kind": "class",
14003
- "description": "",
14004
- "name": "Dialog",
14005
- "members": [
14006
- {
14007
- "kind": "method",
14008
- "name": "show",
14009
- "return": {
14010
- "type": {
14011
- "text": "void"
14012
- }
14013
- },
14014
- "description": "Show the HTMLDialogElement and its contents",
14015
- "inheritedFrom": {
14016
- "name": "<local>_DialogElement",
14017
- "module": "src/dialog/dialog.ts"
14018
- }
14019
- },
14020
- {
14021
- "kind": "field",
14022
- "name": "mainElement",
14023
- "type": {
14024
- "text": "HTMLDialogElement"
14025
- },
14026
- "description": "A reference to the dialog element\nin the component Shadow DOM.",
14027
- "inheritedFrom": {
14028
- "name": "<local>_DialogElement",
14029
- "module": "src/dialog/dialog.ts"
14030
- }
14031
- },
14032
- {
14033
- "kind": "field",
14034
- "name": "notification",
14035
- "type": {
14036
- "text": "NotificationStructure"
14037
- },
14038
- "inheritedFrom": {
14039
- "name": "<local>_DialogElement",
14040
- "module": "src/dialog/dialog.ts"
14041
- }
14042
- },
14043
- {
14044
- "kind": "method",
14045
- "name": "notificationChanged",
14046
- "inheritedFrom": {
14047
- "name": "<local>_DialogElement",
14048
- "module": "src/dialog/dialog.ts"
14049
- }
14050
- },
14051
- {
14052
- "kind": "field",
14053
- "name": "type",
14054
- "type": {
14055
- "text": "DialogType"
14056
- },
14057
- "default": "'default'",
14058
- "inheritedFrom": {
14059
- "name": "<local>_DialogElement",
14060
- "module": "src/dialog/dialog.ts"
14061
- }
14062
- },
14063
- {
14064
- "kind": "field",
14065
- "name": "position",
14066
- "type": {
14067
- "text": "DialogPosition"
14068
- },
14069
- "default": "'center'",
14070
- "inheritedFrom": {
14071
- "name": "<local>_DialogElement",
14072
- "module": "src/dialog/dialog.ts"
14073
- }
14074
- },
14075
- {
14076
- "kind": "field",
14077
- "name": "showCloseIcon",
14078
- "type": {
14079
- "text": "boolean"
14080
- },
14081
- "default": "true",
14082
- "description": "Whether or not to show the close icon",
14083
- "inheritedFrom": {
14084
- "name": "<local>_DialogElement",
14085
- "module": "src/dialog/dialog.ts"
14086
- }
14087
- },
14088
- {
14089
- "kind": "field",
14090
- "name": "onShowCallback",
14091
- "type": {
14092
- "text": "() => void"
14093
- },
14094
- "description": "Callback to run *before* HTMLDialogElement is shown",
14095
- "inheritedFrom": {
14096
- "name": "<local>_DialogElement",
14097
- "module": "src/dialog/dialog.ts"
14098
- }
14099
- },
14100
- {
14101
- "kind": "field",
14102
- "name": "onCloseCallback",
14103
- "type": {
14104
- "text": "() => void"
14105
- },
14106
- "description": "Callback to run *after* HTMLDialogElement is closed",
14107
- "inheritedFrom": {
14108
- "name": "<local>_DialogElement",
14109
- "module": "src/dialog/dialog.ts"
14110
- }
14111
- },
14112
- {
14113
- "kind": "field",
14114
- "name": "open",
14115
- "type": {
14116
- "text": "boolean"
14117
- },
14118
- "description": "Determine if the dialog is showing or closed.",
14119
- "readonly": true,
14120
- "inheritedFrom": {
14121
- "name": "<local>_DialogElement",
14122
- "module": "src/dialog/dialog.ts"
14123
- }
14124
- },
14125
- {
14126
- "kind": "method",
14127
- "name": "close",
14128
- "return": {
14129
- "type": {
14130
- "text": "void"
14131
- }
14132
- },
14133
- "description": "Remove the HTMLDialogElement from display",
14134
- "inheritedFrom": {
14135
- "name": "<local>_DialogElement",
14136
- "module": "src/dialog/dialog.ts"
14137
- }
14138
- },
14139
- {
14140
- "kind": "method",
14141
- "name": "dismiss",
14142
- "privacy": "public",
14143
- "description": "Dismiss the Dialog from display and calls the dismissing action.",
14144
- "inheritedFrom": {
14145
- "name": "<local>_DialogElement",
14146
- "module": "src/dialog/dialog.ts"
14147
- }
14148
- },
14149
- {
14150
- "kind": "method",
14151
- "name": "closeDialog",
14152
- "privacy": "public",
14153
- "return": {
14154
- "type": {
14155
- "text": "void"
14156
- }
14157
- },
14158
- "description": "Dismiss the Dialog from display.",
14159
- "inheritedFrom": {
14160
- "name": "<local>_DialogElement",
14161
- "module": "src/dialog/dialog.ts"
14162
- }
14163
- },
14164
- {
14165
- "kind": "field",
14166
- "name": "_presentation",
14167
- "type": {
14168
- "text": "ComponentPresentation | null | undefined"
14169
- },
14170
- "privacy": "private",
14171
- "default": "void 0",
14172
- "inheritedFrom": {
14173
- "name": "FoundationElement",
14174
- "module": "src/foundation-element/foundation-element.ts"
14175
- }
14176
- },
14177
- {
14178
- "kind": "field",
14179
- "name": "$presentation",
14180
- "type": {
14181
- "text": "ComponentPresentation | null"
14182
- },
14183
- "privacy": "public",
14184
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
14185
- "inheritedFrom": {
14186
- "name": "FoundationElement",
14187
- "module": "src/foundation-element/foundation-element.ts"
14188
- }
14189
- },
14190
- {
14191
- "kind": "field",
14192
- "name": "template",
14193
- "type": {
14194
- "text": "ElementViewTemplate | void | null"
14195
- },
14196
- "privacy": "public",
14197
- "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.",
14198
- "inheritedFrom": {
14199
- "name": "FoundationElement",
14200
- "module": "src/foundation-element/foundation-element.ts"
14201
- }
14202
- },
14203
- {
14204
- "kind": "method",
14205
- "name": "templateChanged",
14206
- "privacy": "protected",
14207
- "return": {
14208
- "type": {
14209
- "text": "void"
14210
- }
14211
- },
14212
- "inheritedFrom": {
14213
- "name": "FoundationElement",
14214
- "module": "src/foundation-element/foundation-element.ts"
14215
- }
14216
- },
14217
- {
14218
- "kind": "field",
14219
- "name": "styles",
14220
- "type": {
14221
- "text": "ElementStyles | void | null"
14222
- },
14223
- "privacy": "public",
14224
- "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.",
14225
- "inheritedFrom": {
14226
- "name": "FoundationElement",
14227
- "module": "src/foundation-element/foundation-element.ts"
14228
- }
14229
- },
14230
- {
14231
- "kind": "method",
14232
- "name": "stylesChanged",
14233
- "privacy": "protected",
14234
- "return": {
14235
- "type": {
14236
- "text": "void"
14237
- }
14238
- },
14239
- "inheritedFrom": {
14240
- "name": "FoundationElement",
14241
- "module": "src/foundation-element/foundation-element.ts"
14242
- }
14243
- },
14244
- {
14245
- "kind": "method",
14246
- "name": "compose",
14247
- "privacy": "public",
14248
- "static": true,
14249
- "return": {
14250
- "type": {
14251
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
14252
- }
14253
- },
14254
- "parameters": [
14255
- {
14256
- "name": "this",
14257
- "type": {
14258
- "text": "K"
14259
- }
14260
- },
14261
- {
14262
- "name": "elementDefinition",
14263
- "type": {
14264
- "text": "T"
14265
- },
14266
- "description": "The definition of the element to create the registry\nfunction for."
14267
- }
14268
- ],
14269
- "description": "Defines an element registry function with a set of element definition defaults.",
14270
- "inheritedFrom": {
14271
- "name": "FoundationElement",
14272
- "module": "src/foundation-element/foundation-element.ts"
14273
- }
14274
- }
14275
- ],
14276
- "superclass": {
14277
- "name": "DialogElement",
14278
- "module": "src/dialog/dialog.ts"
14279
- },
14280
- "tagName": "%%prefix%%-dialog",
14281
- "customElement": true,
14282
- "attributes": [
14283
- {
14284
- "name": "type",
13971
+ "name": "position",
14285
13972
  "type": {
14286
- "text": "DialogType"
13973
+ "text": "'centre' | 'left' | 'right'"
14287
13974
  },
14288
- "default": "'default'",
14289
- "fieldName": "type",
13975
+ "default": "'centre'",
13976
+ "fieldName": "position"
13977
+ },
13978
+ {
13979
+ "name": "show-close-icon",
13980
+ "type": {
13981
+ "text": "boolean"
13982
+ },
13983
+ "default": "true",
13984
+ "description": "Whether or not to show the close icon",
13985
+ "fieldName": "showCloseIcon"
13986
+ }
13987
+ ],
13988
+ "superclass": {
13989
+ "name": "FoundationElement",
13990
+ "package": "@microsoft/fast-foundation"
13991
+ }
13992
+ },
13993
+ {
13994
+ "kind": "class",
13995
+ "description": "",
13996
+ "name": "Dialog",
13997
+ "members": [
13998
+ {
13999
+ "kind": "method",
14000
+ "name": "show",
14001
+ "return": {
14002
+ "type": {
14003
+ "text": "void"
14004
+ }
14005
+ },
14006
+ "description": "Show the HTMLDialogElement and its contents",
14007
+ "inheritedFrom": {
14008
+ "name": "<local>_DialogElement",
14009
+ "module": "src/dialog/dialog.ts"
14010
+ }
14011
+ },
14012
+ {
14013
+ "kind": "field",
14014
+ "name": "mainElement",
14015
+ "type": {
14016
+ "text": "HTMLDialogElement"
14017
+ },
14018
+ "description": "A reference to the dialog element\nin the component Shadow DOM.",
14019
+ "inheritedFrom": {
14020
+ "name": "<local>_DialogElement",
14021
+ "module": "src/dialog/dialog.ts"
14022
+ }
14023
+ },
14024
+ {
14025
+ "kind": "field",
14026
+ "name": "notification",
14027
+ "type": {
14028
+ "text": "NotificationStructure"
14029
+ },
14030
+ "inheritedFrom": {
14031
+ "name": "<local>_DialogElement",
14032
+ "module": "src/dialog/dialog.ts"
14033
+ }
14034
+ },
14035
+ {
14036
+ "kind": "method",
14037
+ "name": "notificationChanged",
14038
+ "inheritedFrom": {
14039
+ "name": "<local>_DialogElement",
14040
+ "module": "src/dialog/dialog.ts"
14041
+ }
14042
+ },
14043
+ {
14044
+ "kind": "field",
14045
+ "name": "position",
14046
+ "type": {
14047
+ "text": "'centre' | 'left' | 'right'"
14048
+ },
14049
+ "default": "'centre'",
14050
+ "inheritedFrom": {
14051
+ "name": "<local>_DialogElement",
14052
+ "module": "src/dialog/dialog.ts"
14053
+ }
14054
+ },
14055
+ {
14056
+ "kind": "field",
14057
+ "name": "showCloseIcon",
14058
+ "type": {
14059
+ "text": "boolean"
14060
+ },
14061
+ "default": "true",
14062
+ "description": "Whether or not to show the close icon",
14063
+ "inheritedFrom": {
14064
+ "name": "<local>_DialogElement",
14065
+ "module": "src/dialog/dialog.ts"
14066
+ }
14067
+ },
14068
+ {
14069
+ "kind": "field",
14070
+ "name": "onShowCallback",
14071
+ "type": {
14072
+ "text": "() => void"
14073
+ },
14074
+ "description": "Callback to run *before* HTMLDialogElement is shown",
14075
+ "inheritedFrom": {
14076
+ "name": "<local>_DialogElement",
14077
+ "module": "src/dialog/dialog.ts"
14078
+ }
14079
+ },
14080
+ {
14081
+ "kind": "field",
14082
+ "name": "onCloseCallback",
14083
+ "type": {
14084
+ "text": "() => void"
14085
+ },
14086
+ "description": "Callback to run *after* HTMLDialogElement is closed",
14087
+ "inheritedFrom": {
14088
+ "name": "<local>_DialogElement",
14089
+ "module": "src/dialog/dialog.ts"
14090
+ }
14091
+ },
14092
+ {
14093
+ "kind": "field",
14094
+ "name": "open",
14095
+ "type": {
14096
+ "text": "boolean"
14097
+ },
14098
+ "description": "Determine if the dialog is showing or closed.",
14099
+ "readonly": true,
14100
+ "inheritedFrom": {
14101
+ "name": "<local>_DialogElement",
14102
+ "module": "src/dialog/dialog.ts"
14103
+ }
14104
+ },
14105
+ {
14106
+ "kind": "method",
14107
+ "name": "close",
14108
+ "return": {
14109
+ "type": {
14110
+ "text": "void"
14111
+ }
14112
+ },
14113
+ "description": "Remove the HTMLDialogElement from display",
14114
+ "inheritedFrom": {
14115
+ "name": "<local>_DialogElement",
14116
+ "module": "src/dialog/dialog.ts"
14117
+ }
14118
+ },
14119
+ {
14120
+ "kind": "method",
14121
+ "name": "dismiss",
14122
+ "privacy": "public",
14123
+ "description": "Dismiss the Dialog from display and calls the dismissing action.",
14124
+ "inheritedFrom": {
14125
+ "name": "<local>_DialogElement",
14126
+ "module": "src/dialog/dialog.ts"
14127
+ }
14128
+ },
14129
+ {
14130
+ "kind": "method",
14131
+ "name": "closeDialog",
14132
+ "privacy": "public",
14133
+ "return": {
14134
+ "type": {
14135
+ "text": "void"
14136
+ }
14137
+ },
14138
+ "description": "Dismiss the Dialog from display.",
14290
14139
  "inheritedFrom": {
14291
14140
  "name": "<local>_DialogElement",
14292
14141
  "module": "src/dialog/dialog.ts"
14293
14142
  }
14294
14143
  },
14144
+ {
14145
+ "kind": "field",
14146
+ "name": "_presentation",
14147
+ "type": {
14148
+ "text": "ComponentPresentation | null | undefined"
14149
+ },
14150
+ "privacy": "private",
14151
+ "default": "void 0",
14152
+ "inheritedFrom": {
14153
+ "name": "FoundationElement",
14154
+ "module": "src/foundation-element/foundation-element.ts"
14155
+ }
14156
+ },
14157
+ {
14158
+ "kind": "field",
14159
+ "name": "$presentation",
14160
+ "type": {
14161
+ "text": "ComponentPresentation | null"
14162
+ },
14163
+ "privacy": "public",
14164
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
14165
+ "inheritedFrom": {
14166
+ "name": "FoundationElement",
14167
+ "module": "src/foundation-element/foundation-element.ts"
14168
+ }
14169
+ },
14170
+ {
14171
+ "kind": "field",
14172
+ "name": "template",
14173
+ "type": {
14174
+ "text": "ElementViewTemplate | void | null"
14175
+ },
14176
+ "privacy": "public",
14177
+ "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.",
14178
+ "inheritedFrom": {
14179
+ "name": "FoundationElement",
14180
+ "module": "src/foundation-element/foundation-element.ts"
14181
+ }
14182
+ },
14183
+ {
14184
+ "kind": "method",
14185
+ "name": "templateChanged",
14186
+ "privacy": "protected",
14187
+ "return": {
14188
+ "type": {
14189
+ "text": "void"
14190
+ }
14191
+ },
14192
+ "inheritedFrom": {
14193
+ "name": "FoundationElement",
14194
+ "module": "src/foundation-element/foundation-element.ts"
14195
+ }
14196
+ },
14197
+ {
14198
+ "kind": "field",
14199
+ "name": "styles",
14200
+ "type": {
14201
+ "text": "ElementStyles | void | null"
14202
+ },
14203
+ "privacy": "public",
14204
+ "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.",
14205
+ "inheritedFrom": {
14206
+ "name": "FoundationElement",
14207
+ "module": "src/foundation-element/foundation-element.ts"
14208
+ }
14209
+ },
14210
+ {
14211
+ "kind": "method",
14212
+ "name": "stylesChanged",
14213
+ "privacy": "protected",
14214
+ "return": {
14215
+ "type": {
14216
+ "text": "void"
14217
+ }
14218
+ },
14219
+ "inheritedFrom": {
14220
+ "name": "FoundationElement",
14221
+ "module": "src/foundation-element/foundation-element.ts"
14222
+ }
14223
+ },
14224
+ {
14225
+ "kind": "method",
14226
+ "name": "compose",
14227
+ "privacy": "public",
14228
+ "static": true,
14229
+ "return": {
14230
+ "type": {
14231
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
14232
+ }
14233
+ },
14234
+ "parameters": [
14235
+ {
14236
+ "name": "this",
14237
+ "type": {
14238
+ "text": "K"
14239
+ }
14240
+ },
14241
+ {
14242
+ "name": "elementDefinition",
14243
+ "type": {
14244
+ "text": "T"
14245
+ },
14246
+ "description": "The definition of the element to create the registry\nfunction for."
14247
+ }
14248
+ ],
14249
+ "description": "Defines an element registry function with a set of element definition defaults.",
14250
+ "inheritedFrom": {
14251
+ "name": "FoundationElement",
14252
+ "module": "src/foundation-element/foundation-element.ts"
14253
+ }
14254
+ }
14255
+ ],
14256
+ "superclass": {
14257
+ "name": "DialogElement",
14258
+ "module": "src/dialog/dialog.ts"
14259
+ },
14260
+ "tagName": "%%prefix%%-dialog",
14261
+ "customElement": true,
14262
+ "attributes": [
14295
14263
  {
14296
14264
  "name": "position",
14297
14265
  "type": {
14298
- "text": "DialogPosition"
14266
+ "text": "'centre' | 'left' | 'right'"
14299
14267
  },
14300
- "default": "'center'",
14268
+ "default": "'centre'",
14301
14269
  "fieldName": "position",
14302
14270
  "inheritedFrom": {
14303
14271
  "name": "<local>_DialogElement",
@@ -14369,12 +14337,6 @@
14369
14337
  }
14370
14338
  ]
14371
14339
  },
14372
- {
14373
- "kind": "javascript-module",
14374
- "path": "src/dialog/dialog.types.ts",
14375
- "declarations": [],
14376
- "exports": []
14377
- },
14378
14340
  {
14379
14341
  "kind": "javascript-module",
14380
14342
  "path": "src/dialog/index.ts",
@@ -20758,6 +20720,22 @@
20758
20720
  },
20759
20721
  "default": "{}"
20760
20722
  },
20723
+ {
20724
+ "kind": "variable",
20725
+ "name": "faSizeValueDefault",
20726
+ "type": {
20727
+ "text": "'1x'"
20728
+ },
20729
+ "default": "'1x'"
20730
+ },
20731
+ {
20732
+ "kind": "variable",
20733
+ "name": "faSizeValues",
20734
+ "type": {
20735
+ "text": "[\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n faSizeValueDefault,\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n 'stack-1x',\n 'stack-2x',\n]"
20736
+ },
20737
+ "default": "[\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n faSizeValueDefault,\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n 'stack-1x',\n 'stack-2x',\n]"
20738
+ },
20761
20739
  {
20762
20740
  "kind": "class",
20763
20741
  "description": "",
@@ -21036,6 +21014,22 @@
21036
21014
  "module": "src/icon/icon.ts"
21037
21015
  }
21038
21016
  },
21017
+ {
21018
+ "kind": "js",
21019
+ "name": "faSizeValueDefault",
21020
+ "declaration": {
21021
+ "name": "faSizeValueDefault",
21022
+ "module": "src/icon/icon.ts"
21023
+ }
21024
+ },
21025
+ {
21026
+ "kind": "js",
21027
+ "name": "faSizeValues",
21028
+ "declaration": {
21029
+ "name": "faSizeValues",
21030
+ "module": "src/icon/icon.ts"
21031
+ }
21032
+ },
21039
21033
  {
21040
21034
  "kind": "js",
21041
21035
  "name": "Icon",
@@ -23273,25 +23267,13 @@
23273
23267
  "module": "src/dialog/dialog.ts"
23274
23268
  }
23275
23269
  },
23276
- {
23277
- "kind": "field",
23278
- "name": "type",
23279
- "type": {
23280
- "text": "DialogType"
23281
- },
23282
- "default": "'default'",
23283
- "inheritedFrom": {
23284
- "name": "<local>_DialogElement",
23285
- "module": "src/dialog/dialog.ts"
23286
- }
23287
- },
23288
23270
  {
23289
23271
  "kind": "field",
23290
23272
  "name": "position",
23291
23273
  "type": {
23292
- "text": "DialogPosition"
23274
+ "text": "'centre' | 'left' | 'right'"
23293
23275
  },
23294
- "default": "'center'",
23276
+ "default": "'centre'",
23295
23277
  "inheritedFrom": {
23296
23278
  "name": "<local>_DialogElement",
23297
23279
  "module": "src/dialog/dialog.ts"
@@ -23505,24 +23487,12 @@
23505
23487
  "tagName": "%%prefix%%-modal",
23506
23488
  "customElement": true,
23507
23489
  "attributes": [
23508
- {
23509
- "name": "type",
23510
- "type": {
23511
- "text": "DialogType"
23512
- },
23513
- "default": "'default'",
23514
- "fieldName": "type",
23515
- "inheritedFrom": {
23516
- "name": "<local>_DialogElement",
23517
- "module": "src/dialog/dialog.ts"
23518
- }
23519
- },
23520
23490
  {
23521
23491
  "name": "position",
23522
23492
  "type": {
23523
- "text": "DialogPosition"
23493
+ "text": "'centre' | 'left' | 'right'"
23524
23494
  },
23525
- "default": "'center'",
23495
+ "default": "'centre'",
23526
23496
  "fieldName": "position",
23527
23497
  "inheritedFrom": {
23528
23498
  "name": "<local>_DialogElement",
@@ -33891,6 +33861,291 @@
33891
33861
  }
33892
33862
  ]
33893
33863
  },
33864
+ {
33865
+ "kind": "javascript-module",
33866
+ "path": "src/stacking-icons/index.ts",
33867
+ "declarations": [],
33868
+ "exports": [
33869
+ {
33870
+ "kind": "js",
33871
+ "name": "*",
33872
+ "declaration": {
33873
+ "name": "*",
33874
+ "package": "./stacking-icons.styles"
33875
+ }
33876
+ },
33877
+ {
33878
+ "kind": "js",
33879
+ "name": "*",
33880
+ "declaration": {
33881
+ "name": "*",
33882
+ "package": "./stacking-icons.template"
33883
+ }
33884
+ },
33885
+ {
33886
+ "kind": "js",
33887
+ "name": "*",
33888
+ "declaration": {
33889
+ "name": "*",
33890
+ "package": "./stacking-icons"
33891
+ }
33892
+ }
33893
+ ]
33894
+ },
33895
+ {
33896
+ "kind": "javascript-module",
33897
+ "path": "src/stacking-icons/stacking-icons.styles.ts",
33898
+ "declarations": [
33899
+ {
33900
+ "kind": "function",
33901
+ "name": "foundationStackingIconsStyles",
33902
+ "return": {
33903
+ "type": {
33904
+ "text": "ElementStyles"
33905
+ }
33906
+ },
33907
+ "parameters": [
33908
+ {
33909
+ "name": "context",
33910
+ "type": {
33911
+ "text": "ElementDefinitionContext"
33912
+ }
33913
+ },
33914
+ {
33915
+ "name": "definition",
33916
+ "type": {
33917
+ "text": "FoundationElementDefinition"
33918
+ }
33919
+ }
33920
+ ]
33921
+ }
33922
+ ],
33923
+ "exports": [
33924
+ {
33925
+ "kind": "js",
33926
+ "name": "foundationStackingIconsStyles",
33927
+ "declaration": {
33928
+ "name": "foundationStackingIconsStyles",
33929
+ "module": "src/stacking-icons/stacking-icons.styles.ts"
33930
+ }
33931
+ }
33932
+ ]
33933
+ },
33934
+ {
33935
+ "kind": "javascript-module",
33936
+ "path": "src/stacking-icons/stacking-icons.template.ts",
33937
+ "declarations": [
33938
+ {
33939
+ "kind": "variable",
33940
+ "name": "foundationStackingIconsTemplate",
33941
+ "type": {
33942
+ "text": "ViewTemplate"
33943
+ },
33944
+ "default": "html<StackingIcons>`\n <span\n class=${(x) => `fa-stack fa-${x.size}`}\n style=${(x) => `vertical-align: ${x['vertical-align']};`}\n >\n <slot></slot>\n </span>\n`"
33945
+ }
33946
+ ],
33947
+ "exports": [
33948
+ {
33949
+ "kind": "js",
33950
+ "name": "foundationStackingIconsTemplate",
33951
+ "declaration": {
33952
+ "name": "foundationStackingIconsTemplate",
33953
+ "module": "src/stacking-icons/stacking-icons.template.ts"
33954
+ }
33955
+ }
33956
+ ]
33957
+ },
33958
+ {
33959
+ "kind": "javascript-module",
33960
+ "path": "src/stacking-icons/stacking-icons.ts",
33961
+ "declarations": [
33962
+ {
33963
+ "kind": "class",
33964
+ "description": "",
33965
+ "name": "StackingIcons",
33966
+ "members": [
33967
+ {
33968
+ "kind": "field",
33969
+ "name": "size",
33970
+ "type": {
33971
+ "text": "StackingIconsSize"
33972
+ },
33973
+ "default": "faSizeValueDefault"
33974
+ },
33975
+ {
33976
+ "kind": "field",
33977
+ "name": "['vertical-align']",
33978
+ "type": {
33979
+ "text": "VerticalAlign"
33980
+ },
33981
+ "default": "'baseline'"
33982
+ },
33983
+ {
33984
+ "kind": "field",
33985
+ "name": "_presentation",
33986
+ "type": {
33987
+ "text": "ComponentPresentation | null | undefined"
33988
+ },
33989
+ "privacy": "private",
33990
+ "default": "void 0",
33991
+ "inheritedFrom": {
33992
+ "name": "FoundationElement",
33993
+ "module": "src/foundation-element/foundation-element.ts"
33994
+ }
33995
+ },
33996
+ {
33997
+ "kind": "field",
33998
+ "name": "$presentation",
33999
+ "type": {
34000
+ "text": "ComponentPresentation | null"
34001
+ },
34002
+ "privacy": "public",
34003
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
34004
+ "inheritedFrom": {
34005
+ "name": "FoundationElement",
34006
+ "module": "src/foundation-element/foundation-element.ts"
34007
+ }
34008
+ },
34009
+ {
34010
+ "kind": "field",
34011
+ "name": "template",
34012
+ "type": {
34013
+ "text": "ElementViewTemplate | void | null"
34014
+ },
34015
+ "privacy": "public",
34016
+ "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.",
34017
+ "inheritedFrom": {
34018
+ "name": "FoundationElement",
34019
+ "module": "src/foundation-element/foundation-element.ts"
34020
+ }
34021
+ },
34022
+ {
34023
+ "kind": "method",
34024
+ "name": "templateChanged",
34025
+ "privacy": "protected",
34026
+ "return": {
34027
+ "type": {
34028
+ "text": "void"
34029
+ }
34030
+ },
34031
+ "inheritedFrom": {
34032
+ "name": "FoundationElement",
34033
+ "module": "src/foundation-element/foundation-element.ts"
34034
+ }
34035
+ },
34036
+ {
34037
+ "kind": "field",
34038
+ "name": "styles",
34039
+ "type": {
34040
+ "text": "ElementStyles | void | null"
34041
+ },
34042
+ "privacy": "public",
34043
+ "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.",
34044
+ "inheritedFrom": {
34045
+ "name": "FoundationElement",
34046
+ "module": "src/foundation-element/foundation-element.ts"
34047
+ }
34048
+ },
34049
+ {
34050
+ "kind": "method",
34051
+ "name": "stylesChanged",
34052
+ "privacy": "protected",
34053
+ "return": {
34054
+ "type": {
34055
+ "text": "void"
34056
+ }
34057
+ },
34058
+ "inheritedFrom": {
34059
+ "name": "FoundationElement",
34060
+ "module": "src/foundation-element/foundation-element.ts"
34061
+ }
34062
+ },
34063
+ {
34064
+ "kind": "method",
34065
+ "name": "compose",
34066
+ "privacy": "public",
34067
+ "static": true,
34068
+ "return": {
34069
+ "type": {
34070
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
34071
+ }
34072
+ },
34073
+ "parameters": [
34074
+ {
34075
+ "name": "this",
34076
+ "type": {
34077
+ "text": "K"
34078
+ }
34079
+ },
34080
+ {
34081
+ "name": "elementDefinition",
34082
+ "type": {
34083
+ "text": "T"
34084
+ },
34085
+ "description": "The definition of the element to create the registry\nfunction for."
34086
+ }
34087
+ ],
34088
+ "description": "Defines an element registry function with a set of element definition defaults.",
34089
+ "inheritedFrom": {
34090
+ "name": "FoundationElement",
34091
+ "module": "src/foundation-element/foundation-element.ts"
34092
+ }
34093
+ }
34094
+ ],
34095
+ "attributes": [
34096
+ {
34097
+ "name": "size",
34098
+ "type": {
34099
+ "text": "StackingIconsSize"
34100
+ },
34101
+ "default": "faSizeValueDefault",
34102
+ "resolveInitializer": {
34103
+ "module": "/src/icon"
34104
+ },
34105
+ "fieldName": "size"
34106
+ },
34107
+ {
34108
+ "name": "['vertical-align']",
34109
+ "type": {
34110
+ "text": "VerticalAlign"
34111
+ },
34112
+ "default": "'baseline'",
34113
+ "fieldName": "['vertical-align']"
34114
+ }
34115
+ ],
34116
+ "superclass": {
34117
+ "name": "FoundationElement",
34118
+ "package": "@microsoft/fast-foundation"
34119
+ },
34120
+ "tagName": "%%prefix%%-stacking-icons",
34121
+ "customElement": true
34122
+ },
34123
+ {
34124
+ "kind": "variable",
34125
+ "name": "foundationStackingIcons",
34126
+ "description": "The Foundation Stacking Icon",
34127
+ "privacy": "public"
34128
+ }
34129
+ ],
34130
+ "exports": [
34131
+ {
34132
+ "kind": "js",
34133
+ "name": "StackingIcons",
34134
+ "declaration": {
34135
+ "name": "StackingIcons",
34136
+ "module": "src/stacking-icons/stacking-icons.ts"
34137
+ }
34138
+ },
34139
+ {
34140
+ "kind": "js",
34141
+ "name": "foundationStackingIcons",
34142
+ "declaration": {
34143
+ "name": "foundationStackingIcons",
34144
+ "module": "src/stacking-icons/stacking-icons.ts"
34145
+ }
34146
+ }
34147
+ ]
34148
+ },
33894
34149
  {
33895
34150
  "kind": "javascript-module",
33896
34151
  "path": "src/stepper/index.ts",