@genesislcap/foundation-ui 15.88.0 → 15.88.2-canary.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.
- package/dist/custom-elements.json +1206 -1206
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +17 -17
|
@@ -958,44 +958,27 @@
|
|
|
958
958
|
},
|
|
959
959
|
{
|
|
960
960
|
"kind": "javascript-module",
|
|
961
|
-
"path": "src/
|
|
961
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
962
962
|
"declarations": [
|
|
963
963
|
{
|
|
964
|
-
"kind": "
|
|
965
|
-
"
|
|
966
|
-
"
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
"text": "string"
|
|
973
|
-
},
|
|
974
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
975
|
-
},
|
|
964
|
+
"kind": "function",
|
|
965
|
+
"name": "foundationAccordionItemStyles",
|
|
966
|
+
"return": {
|
|
967
|
+
"type": {
|
|
968
|
+
"text": "ElementStyles"
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
"parameters": [
|
|
976
972
|
{
|
|
977
|
-
"
|
|
978
|
-
"name": "suffix",
|
|
973
|
+
"name": "context",
|
|
979
974
|
"type": {
|
|
980
|
-
"text": "
|
|
981
|
-
}
|
|
982
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
975
|
+
"text": "ElementDefinitionContext"
|
|
976
|
+
}
|
|
983
977
|
},
|
|
984
978
|
{
|
|
985
|
-
"
|
|
986
|
-
"name": "hideAffixFromScreenReader",
|
|
987
|
-
"type": {
|
|
988
|
-
"text": "boolean"
|
|
989
|
-
},
|
|
990
|
-
"default": "false",
|
|
991
|
-
"description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
|
|
992
|
-
}
|
|
993
|
-
],
|
|
994
|
-
"parameters": [
|
|
995
|
-
{
|
|
996
|
-
"name": "Base",
|
|
979
|
+
"name": "definition",
|
|
997
980
|
"type": {
|
|
998
|
-
"text": "
|
|
981
|
+
"text": "FoundationElementDefinition"
|
|
999
982
|
}
|
|
1000
983
|
}
|
|
1001
984
|
]
|
|
@@ -1004,271 +987,195 @@
|
|
|
1004
987
|
"exports": [
|
|
1005
988
|
{
|
|
1006
989
|
"kind": "js",
|
|
1007
|
-
"name": "
|
|
990
|
+
"name": "foundationAccordionItemStyles",
|
|
1008
991
|
"declaration": {
|
|
1009
|
-
"name": "
|
|
1010
|
-
"module": "src/
|
|
992
|
+
"name": "foundationAccordionItemStyles",
|
|
993
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1011
994
|
}
|
|
1012
995
|
}
|
|
1013
996
|
]
|
|
1014
997
|
},
|
|
1015
998
|
{
|
|
1016
999
|
"kind": "javascript-module",
|
|
1017
|
-
"path": "src/
|
|
1000
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1018
1001
|
"declarations": [
|
|
1019
|
-
{
|
|
1020
|
-
"kind": "variable",
|
|
1021
|
-
"name": "alertFlashPhaseProperty",
|
|
1022
|
-
"type": {
|
|
1023
|
-
"text": "string"
|
|
1024
|
-
},
|
|
1025
|
-
"default": "'--alert-flash-t'",
|
|
1026
|
-
"description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
|
|
1027
|
-
"privacy": "public"
|
|
1028
|
-
},
|
|
1029
|
-
{
|
|
1030
|
-
"kind": "variable",
|
|
1031
|
-
"name": "alertFlashDurationProperty",
|
|
1032
|
-
"type": {
|
|
1033
|
-
"text": "string"
|
|
1034
|
-
},
|
|
1035
|
-
"default": "'--alert-flash-duration'",
|
|
1036
|
-
"description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
|
|
1037
|
-
"privacy": "public"
|
|
1038
|
-
},
|
|
1039
1002
|
{
|
|
1040
1003
|
"kind": "function",
|
|
1041
|
-
"name": "
|
|
1004
|
+
"name": "foundationAccordionItemTemplate",
|
|
1042
1005
|
"return": {
|
|
1043
1006
|
"type": {
|
|
1044
|
-
"text": "
|
|
1007
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1045
1008
|
}
|
|
1046
1009
|
},
|
|
1047
|
-
"
|
|
1048
|
-
|
|
1010
|
+
"parameters": [
|
|
1011
|
+
{
|
|
1012
|
+
"name": "context",
|
|
1013
|
+
"type": {
|
|
1014
|
+
"text": "ElementDefinitionContext"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "definition",
|
|
1019
|
+
"type": {
|
|
1020
|
+
"text": "FoundationElementDefinition"
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
]
|
|
1049
1024
|
}
|
|
1050
1025
|
],
|
|
1051
1026
|
"exports": [
|
|
1052
1027
|
{
|
|
1053
1028
|
"kind": "js",
|
|
1054
|
-
"name": "
|
|
1055
|
-
"declaration": {
|
|
1056
|
-
"name": "alertFlashPhaseProperty",
|
|
1057
|
-
"module": "src/_common/alert-flash-clock.ts"
|
|
1058
|
-
}
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
"kind": "js",
|
|
1062
|
-
"name": "alertFlashDurationProperty",
|
|
1063
|
-
"declaration": {
|
|
1064
|
-
"name": "alertFlashDurationProperty",
|
|
1065
|
-
"module": "src/_common/alert-flash-clock.ts"
|
|
1066
|
-
}
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
"kind": "js",
|
|
1070
|
-
"name": "installAlertFlashClock",
|
|
1029
|
+
"name": "foundationAccordionItemTemplate",
|
|
1071
1030
|
"declaration": {
|
|
1072
|
-
"name": "
|
|
1073
|
-
"module": "src/
|
|
1031
|
+
"name": "foundationAccordionItemTemplate",
|
|
1032
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1074
1033
|
}
|
|
1075
1034
|
}
|
|
1076
1035
|
]
|
|
1077
1036
|
},
|
|
1078
1037
|
{
|
|
1079
1038
|
"kind": "javascript-module",
|
|
1080
|
-
"path": "src/
|
|
1039
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1081
1040
|
"declarations": [
|
|
1082
1041
|
{
|
|
1083
1042
|
"kind": "class",
|
|
1084
|
-
"description": "
|
|
1085
|
-
"name": "
|
|
1086
|
-
"
|
|
1043
|
+
"description": "",
|
|
1044
|
+
"name": "AccordionItem",
|
|
1045
|
+
"superclass": {
|
|
1046
|
+
"name": "FASTAccordionItem",
|
|
1047
|
+
"package": "@microsoft/fast-components"
|
|
1048
|
+
},
|
|
1049
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1050
|
+
"customElement": true,
|
|
1051
|
+
"attributes": [
|
|
1087
1052
|
{
|
|
1088
|
-
"
|
|
1089
|
-
"name": "fileInput",
|
|
1053
|
+
"name": "heading-level",
|
|
1090
1054
|
"type": {
|
|
1091
|
-
"text": "
|
|
1055
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1092
1056
|
},
|
|
1093
|
-
"
|
|
1057
|
+
"default": "2",
|
|
1058
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1059
|
+
"fieldName": "headinglevel",
|
|
1060
|
+
"inheritedFrom": {
|
|
1061
|
+
"name": "AccordionItem",
|
|
1062
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1063
|
+
}
|
|
1094
1064
|
},
|
|
1095
1065
|
{
|
|
1096
|
-
"kind": "field",
|
|
1097
|
-
"name": "selectedFile",
|
|
1098
1066
|
"type": {
|
|
1099
|
-
"text": "
|
|
1067
|
+
"text": "boolean"
|
|
1100
1068
|
},
|
|
1101
|
-
"
|
|
1102
|
-
"
|
|
1069
|
+
"default": "false",
|
|
1070
|
+
"description": "Expands or collapses the item.",
|
|
1071
|
+
"fieldName": "expanded",
|
|
1072
|
+
"inheritedFrom": {
|
|
1073
|
+
"name": "AccordionItem",
|
|
1074
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1075
|
+
}
|
|
1103
1076
|
},
|
|
1104
1077
|
{
|
|
1105
|
-
"
|
|
1106
|
-
"name": "label",
|
|
1078
|
+
"name": "id",
|
|
1107
1079
|
"type": {
|
|
1108
1080
|
"text": "string"
|
|
1081
|
+
},
|
|
1082
|
+
"description": "The item ID",
|
|
1083
|
+
"fieldName": "id",
|
|
1084
|
+
"inheritedFrom": {
|
|
1085
|
+
"name": "AccordionItem",
|
|
1086
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1109
1087
|
}
|
|
1110
|
-
}
|
|
1088
|
+
}
|
|
1089
|
+
],
|
|
1090
|
+
"members": [
|
|
1111
1091
|
{
|
|
1112
1092
|
"kind": "field",
|
|
1113
|
-
"name": "
|
|
1093
|
+
"name": "headinglevel",
|
|
1114
1094
|
"type": {
|
|
1115
|
-
"text": "
|
|
1095
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1116
1096
|
},
|
|
1117
|
-
"
|
|
1097
|
+
"privacy": "public",
|
|
1098
|
+
"default": "2",
|
|
1099
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1100
|
+
"inheritedFrom": {
|
|
1101
|
+
"name": "AccordionItem",
|
|
1102
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1103
|
+
}
|
|
1118
1104
|
},
|
|
1119
1105
|
{
|
|
1120
1106
|
"kind": "field",
|
|
1121
|
-
"name": "
|
|
1122
|
-
"default": "10_485_760",
|
|
1107
|
+
"name": "expanded",
|
|
1123
1108
|
"type": {
|
|
1124
|
-
"text": "
|
|
1109
|
+
"text": "boolean"
|
|
1110
|
+
},
|
|
1111
|
+
"privacy": "public",
|
|
1112
|
+
"default": "false",
|
|
1113
|
+
"description": "Expands or collapses the item.",
|
|
1114
|
+
"inheritedFrom": {
|
|
1115
|
+
"name": "AccordionItem",
|
|
1116
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1125
1117
|
}
|
|
1126
1118
|
},
|
|
1127
1119
|
{
|
|
1128
1120
|
"kind": "field",
|
|
1129
|
-
"name": "
|
|
1121
|
+
"name": "id",
|
|
1130
1122
|
"type": {
|
|
1131
1123
|
"text": "string"
|
|
1132
1124
|
},
|
|
1133
|
-
"
|
|
1125
|
+
"privacy": "public",
|
|
1126
|
+
"description": "The item ID",
|
|
1127
|
+
"inheritedFrom": {
|
|
1128
|
+
"name": "AccordionItem",
|
|
1129
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1130
|
+
}
|
|
1134
1131
|
},
|
|
1135
1132
|
{
|
|
1136
1133
|
"kind": "field",
|
|
1137
|
-
"name": "
|
|
1134
|
+
"name": "change",
|
|
1135
|
+
"privacy": "private",
|
|
1136
|
+
"inheritedFrom": {
|
|
1137
|
+
"name": "AccordionItem",
|
|
1138
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
"kind": "field",
|
|
1143
|
+
"name": "_presentation",
|
|
1138
1144
|
"type": {
|
|
1139
|
-
"text": "
|
|
1145
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1140
1146
|
},
|
|
1141
|
-
"
|
|
1147
|
+
"privacy": "private",
|
|
1148
|
+
"default": "void 0",
|
|
1149
|
+
"inheritedFrom": {
|
|
1150
|
+
"name": "FoundationElement",
|
|
1151
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1152
|
+
}
|
|
1142
1153
|
},
|
|
1143
1154
|
{
|
|
1144
|
-
"kind": "
|
|
1145
|
-
"name": "
|
|
1155
|
+
"kind": "field",
|
|
1156
|
+
"name": "$presentation",
|
|
1157
|
+
"type": {
|
|
1158
|
+
"text": "ComponentPresentation | null"
|
|
1159
|
+
},
|
|
1146
1160
|
"privacy": "public",
|
|
1147
|
-
"description": "
|
|
1161
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1162
|
+
"inheritedFrom": {
|
|
1163
|
+
"name": "FoundationElement",
|
|
1164
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1165
|
+
}
|
|
1148
1166
|
},
|
|
1149
1167
|
{
|
|
1150
|
-
"kind": "
|
|
1151
|
-
"name": "
|
|
1168
|
+
"kind": "field",
|
|
1169
|
+
"name": "template",
|
|
1170
|
+
"type": {
|
|
1171
|
+
"text": "ElementViewTemplate | void | null"
|
|
1172
|
+
},
|
|
1152
1173
|
"privacy": "public",
|
|
1153
|
-
"
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
},
|
|
1159
|
-
"description": "The change event from the file input"
|
|
1160
|
-
}
|
|
1161
|
-
],
|
|
1162
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
"kind": "method",
|
|
1166
|
-
"name": "clearSelection",
|
|
1167
|
-
"privacy": "public",
|
|
1168
|
-
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1169
|
-
},
|
|
1170
|
-
{
|
|
1171
|
-
"kind": "method",
|
|
1172
|
-
"name": "getSelectedFile",
|
|
1173
|
-
"privacy": "public",
|
|
1174
|
-
"description": "Gets the currently selected file object",
|
|
1175
|
-
"return": {
|
|
1176
|
-
"type": {
|
|
1177
|
-
"text": ""
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
{
|
|
1182
|
-
"kind": "method",
|
|
1183
|
-
"name": "showError",
|
|
1184
|
-
"privacy": "protected",
|
|
1185
|
-
"parameters": [
|
|
1186
|
-
{
|
|
1187
|
-
"name": "title",
|
|
1188
|
-
"type": {
|
|
1189
|
-
"text": "string"
|
|
1190
|
-
},
|
|
1191
|
-
"description": "The error title"
|
|
1192
|
-
},
|
|
1193
|
-
{
|
|
1194
|
-
"name": "message",
|
|
1195
|
-
"type": {
|
|
1196
|
-
"text": "string"
|
|
1197
|
-
},
|
|
1198
|
-
"description": "The error message"
|
|
1199
|
-
}
|
|
1200
|
-
],
|
|
1201
|
-
"description": "Shows an error notification using the unified error handling system"
|
|
1202
|
-
},
|
|
1203
|
-
{
|
|
1204
|
-
"kind": "method",
|
|
1205
|
-
"name": "onFileSelected",
|
|
1206
|
-
"privacy": "protected",
|
|
1207
|
-
"return": {
|
|
1208
|
-
"type": {
|
|
1209
|
-
"text": "void"
|
|
1210
|
-
}
|
|
1211
|
-
},
|
|
1212
|
-
"parameters": [
|
|
1213
|
-
{
|
|
1214
|
-
"name": "files",
|
|
1215
|
-
"type": {
|
|
1216
|
-
"text": "File[]"
|
|
1217
|
-
},
|
|
1218
|
-
"description": "The selected file"
|
|
1219
|
-
}
|
|
1220
|
-
],
|
|
1221
|
-
"description": "Abstract method called when a file is selected"
|
|
1222
|
-
},
|
|
1223
|
-
{
|
|
1224
|
-
"kind": "method",
|
|
1225
|
-
"name": "onFileCleared",
|
|
1226
|
-
"privacy": "protected",
|
|
1227
|
-
"return": {
|
|
1228
|
-
"type": {
|
|
1229
|
-
"text": "void"
|
|
1230
|
-
}
|
|
1231
|
-
},
|
|
1232
|
-
"description": "Abstract method called when file selection is cleared"
|
|
1233
|
-
},
|
|
1234
|
-
{
|
|
1235
|
-
"kind": "field",
|
|
1236
|
-
"name": "_presentation",
|
|
1237
|
-
"type": {
|
|
1238
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1239
|
-
},
|
|
1240
|
-
"privacy": "private",
|
|
1241
|
-
"default": "void 0",
|
|
1242
|
-
"inheritedFrom": {
|
|
1243
|
-
"name": "FoundationElement",
|
|
1244
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1245
|
-
}
|
|
1246
|
-
},
|
|
1247
|
-
{
|
|
1248
|
-
"kind": "field",
|
|
1249
|
-
"name": "$presentation",
|
|
1250
|
-
"type": {
|
|
1251
|
-
"text": "ComponentPresentation | null"
|
|
1252
|
-
},
|
|
1253
|
-
"privacy": "public",
|
|
1254
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1255
|
-
"inheritedFrom": {
|
|
1256
|
-
"name": "FoundationElement",
|
|
1257
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1258
|
-
}
|
|
1259
|
-
},
|
|
1260
|
-
{
|
|
1261
|
-
"kind": "field",
|
|
1262
|
-
"name": "template",
|
|
1263
|
-
"type": {
|
|
1264
|
-
"text": "ElementViewTemplate | void | null"
|
|
1265
|
-
},
|
|
1266
|
-
"privacy": "public",
|
|
1267
|
-
"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.",
|
|
1268
|
-
"inheritedFrom": {
|
|
1269
|
-
"name": "FoundationElement",
|
|
1270
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1271
|
-
}
|
|
1174
|
+
"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.",
|
|
1175
|
+
"inheritedFrom": {
|
|
1176
|
+
"name": "FoundationElement",
|
|
1177
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1178
|
+
}
|
|
1272
1179
|
},
|
|
1273
1180
|
{
|
|
1274
1181
|
"kind": "method",
|
|
@@ -1345,110 +1252,76 @@
|
|
|
1345
1252
|
],
|
|
1346
1253
|
"events": [
|
|
1347
1254
|
{
|
|
1348
|
-
"description": "
|
|
1349
|
-
"name": "
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
}
|
|
1355
|
-
],
|
|
1356
|
-
"attributes": [
|
|
1357
|
-
{
|
|
1358
|
-
"name": "label",
|
|
1359
|
-
"type": {
|
|
1360
|
-
"text": "string"
|
|
1361
|
-
},
|
|
1362
|
-
"fieldName": "label"
|
|
1363
|
-
},
|
|
1364
|
-
{
|
|
1365
|
-
"name": "accept",
|
|
1366
|
-
"type": {
|
|
1367
|
-
"text": "string"
|
|
1368
|
-
},
|
|
1369
|
-
"default": "''",
|
|
1370
|
-
"fieldName": "accept"
|
|
1371
|
-
},
|
|
1372
|
-
{
|
|
1373
|
-
"name": "file-size-limit-bytes",
|
|
1374
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1375
|
-
"resolveInitializer": {
|
|
1376
|
-
"module": "src/_common/base-file-component.ts"
|
|
1377
|
-
},
|
|
1378
|
-
"fieldName": "fileSizeLimitBytes"
|
|
1255
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1256
|
+
"name": "change",
|
|
1257
|
+
"inheritedFrom": {
|
|
1258
|
+
"name": "AccordionItem",
|
|
1259
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1260
|
+
}
|
|
1379
1261
|
}
|
|
1380
|
-
]
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1262
|
+
]
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"kind": "variable",
|
|
1266
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1267
|
+
"type": {
|
|
1268
|
+
"text": "ShadowRootInit"
|
|
1269
|
+
},
|
|
1270
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"kind": "variable",
|
|
1274
|
+
"name": "defaultAccordionItemConfig",
|
|
1275
|
+
"type": {
|
|
1276
|
+
"text": "object"
|
|
1277
|
+
},
|
|
1278
|
+
"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}"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"kind": "variable",
|
|
1282
|
+
"name": "foundationAccordionItem",
|
|
1283
|
+
"description": "The Foundation Accordion Item",
|
|
1284
|
+
"privacy": "public"
|
|
1385
1285
|
}
|
|
1386
1286
|
],
|
|
1387
1287
|
"exports": [
|
|
1388
1288
|
{
|
|
1389
1289
|
"kind": "js",
|
|
1390
|
-
"name": "
|
|
1290
|
+
"name": "AccordionItem",
|
|
1391
1291
|
"declaration": {
|
|
1392
|
-
"name": "
|
|
1393
|
-
"module": "src/
|
|
1292
|
+
"name": "AccordionItem",
|
|
1293
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1394
1294
|
}
|
|
1395
|
-
}
|
|
1396
|
-
]
|
|
1397
|
-
},
|
|
1398
|
-
{
|
|
1399
|
-
"kind": "javascript-module",
|
|
1400
|
-
"path": "src/_common/field-styles.ts",
|
|
1401
|
-
"declarations": [
|
|
1402
|
-
{
|
|
1403
|
-
"kind": "variable",
|
|
1404
|
-
"name": "sharedFieldStyles",
|
|
1405
|
-
"default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
|
|
1406
|
-
}
|
|
1407
|
-
],
|
|
1408
|
-
"exports": [
|
|
1295
|
+
},
|
|
1409
1296
|
{
|
|
1410
1297
|
"kind": "js",
|
|
1411
|
-
"name": "
|
|
1298
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1412
1299
|
"declaration": {
|
|
1413
|
-
"name": "
|
|
1414
|
-
"module": "src/
|
|
1300
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1301
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1415
1302
|
}
|
|
1416
|
-
}
|
|
1417
|
-
]
|
|
1418
|
-
},
|
|
1419
|
-
{
|
|
1420
|
-
"kind": "javascript-module",
|
|
1421
|
-
"path": "src/_common/icons.ts",
|
|
1422
|
-
"declarations": [
|
|
1303
|
+
},
|
|
1423
1304
|
{
|
|
1424
|
-
"kind": "
|
|
1425
|
-
"name": "
|
|
1426
|
-
"
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
{
|
|
1432
|
-
"name": "fill",
|
|
1433
|
-
"default": "'#879ba6'"
|
|
1434
|
-
}
|
|
1435
|
-
]
|
|
1436
|
-
}
|
|
1437
|
-
],
|
|
1438
|
-
"exports": [
|
|
1305
|
+
"kind": "js",
|
|
1306
|
+
"name": "defaultAccordionItemConfig",
|
|
1307
|
+
"declaration": {
|
|
1308
|
+
"name": "defaultAccordionItemConfig",
|
|
1309
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1439
1312
|
{
|
|
1440
1313
|
"kind": "js",
|
|
1441
|
-
"name": "
|
|
1314
|
+
"name": "foundationAccordionItem",
|
|
1442
1315
|
"declaration": {
|
|
1443
|
-
"name": "
|
|
1444
|
-
"module": "src/
|
|
1316
|
+
"name": "foundationAccordionItem",
|
|
1317
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1445
1318
|
}
|
|
1446
1319
|
}
|
|
1447
1320
|
]
|
|
1448
1321
|
},
|
|
1449
1322
|
{
|
|
1450
1323
|
"kind": "javascript-module",
|
|
1451
|
-
"path": "src/
|
|
1324
|
+
"path": "src/accordion-item/index.ts",
|
|
1452
1325
|
"declarations": [],
|
|
1453
1326
|
"exports": [
|
|
1454
1327
|
{
|
|
@@ -1456,7 +1329,7 @@
|
|
|
1456
1329
|
"name": "*",
|
|
1457
1330
|
"declaration": {
|
|
1458
1331
|
"name": "*",
|
|
1459
|
-
"package": "./
|
|
1332
|
+
"package": "./accordion-item.template"
|
|
1460
1333
|
}
|
|
1461
1334
|
},
|
|
1462
1335
|
{
|
|
@@ -1464,7 +1337,7 @@
|
|
|
1464
1337
|
"name": "*",
|
|
1465
1338
|
"declaration": {
|
|
1466
1339
|
"name": "*",
|
|
1467
|
-
"package": "./
|
|
1340
|
+
"package": "./accordion-item.styles"
|
|
1468
1341
|
}
|
|
1469
1342
|
},
|
|
1470
1343
|
{
|
|
@@ -1472,65 +1345,18 @@
|
|
|
1472
1345
|
"name": "*",
|
|
1473
1346
|
"declaration": {
|
|
1474
1347
|
"name": "*",
|
|
1475
|
-
"package": "./
|
|
1348
|
+
"package": "./accordion-item"
|
|
1476
1349
|
}
|
|
1477
|
-
}
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
}
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
"kind": "js",
|
|
1488
|
-
"name": "*",
|
|
1489
|
-
"declaration": {
|
|
1490
|
-
"name": "*",
|
|
1491
|
-
"package": "./icons"
|
|
1492
|
-
}
|
|
1493
|
-
}
|
|
1494
|
-
]
|
|
1495
|
-
},
|
|
1496
|
-
{
|
|
1497
|
-
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/_config/index.ts",
|
|
1499
|
-
"declarations": [],
|
|
1500
|
-
"exports": [
|
|
1501
|
-
{
|
|
1502
|
-
"kind": "js",
|
|
1503
|
-
"name": "*",
|
|
1504
|
-
"declaration": {
|
|
1505
|
-
"name": "*",
|
|
1506
|
-
"package": "./styles"
|
|
1507
|
-
}
|
|
1508
|
-
},
|
|
1509
|
-
{
|
|
1510
|
-
"kind": "js",
|
|
1511
|
-
"name": "*",
|
|
1512
|
-
"declaration": {
|
|
1513
|
-
"name": "*",
|
|
1514
|
-
"package": "./tokens"
|
|
1515
|
-
}
|
|
1516
|
-
},
|
|
1517
|
-
{
|
|
1518
|
-
"kind": "js",
|
|
1519
|
-
"name": "*",
|
|
1520
|
-
"declaration": {
|
|
1521
|
-
"name": "*",
|
|
1522
|
-
"package": "./values"
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
]
|
|
1526
|
-
},
|
|
1527
|
-
{
|
|
1528
|
-
"kind": "javascript-module",
|
|
1529
|
-
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1530
|
-
"declarations": [
|
|
1350
|
+
}
|
|
1351
|
+
]
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"kind": "javascript-module",
|
|
1355
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1356
|
+
"declarations": [
|
|
1531
1357
|
{
|
|
1532
1358
|
"kind": "function",
|
|
1533
|
-
"name": "
|
|
1359
|
+
"name": "actionsMenuBaseStyles",
|
|
1534
1360
|
"return": {
|
|
1535
1361
|
"type": {
|
|
1536
1362
|
"text": "ElementStyles"
|
|
@@ -1550,29 +1376,13 @@
|
|
|
1550
1376
|
}
|
|
1551
1377
|
}
|
|
1552
1378
|
]
|
|
1553
|
-
}
|
|
1554
|
-
],
|
|
1555
|
-
"exports": [
|
|
1556
|
-
{
|
|
1557
|
-
"kind": "js",
|
|
1558
|
-
"name": "foundationAccordionItemStyles",
|
|
1559
|
-
"declaration": {
|
|
1560
|
-
"name": "foundationAccordionItemStyles",
|
|
1561
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
]
|
|
1565
|
-
},
|
|
1566
|
-
{
|
|
1567
|
-
"kind": "javascript-module",
|
|
1568
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1569
|
-
"declarations": [
|
|
1379
|
+
},
|
|
1570
1380
|
{
|
|
1571
1381
|
"kind": "function",
|
|
1572
|
-
"name": "
|
|
1382
|
+
"name": "foundationActionsMenuStyles",
|
|
1573
1383
|
"return": {
|
|
1574
1384
|
"type": {
|
|
1575
|
-
"text": "
|
|
1385
|
+
"text": "ElementStyles"
|
|
1576
1386
|
}
|
|
1577
1387
|
},
|
|
1578
1388
|
"parameters": [
|
|
@@ -1594,154 +1404,413 @@
|
|
|
1594
1404
|
"exports": [
|
|
1595
1405
|
{
|
|
1596
1406
|
"kind": "js",
|
|
1597
|
-
"name": "
|
|
1407
|
+
"name": "actionsMenuBaseStyles",
|
|
1598
1408
|
"declaration": {
|
|
1599
|
-
"name": "
|
|
1600
|
-
"module": "src/
|
|
1409
|
+
"name": "actionsMenuBaseStyles",
|
|
1410
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1411
|
+
}
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"kind": "js",
|
|
1415
|
+
"name": "foundationActionsMenuStyles",
|
|
1416
|
+
"declaration": {
|
|
1417
|
+
"name": "foundationActionsMenuStyles",
|
|
1418
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1601
1419
|
}
|
|
1602
1420
|
}
|
|
1603
1421
|
]
|
|
1604
1422
|
},
|
|
1605
1423
|
{
|
|
1606
1424
|
"kind": "javascript-module",
|
|
1607
|
-
"path": "src/
|
|
1425
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1426
|
+
"declarations": [
|
|
1427
|
+
{
|
|
1428
|
+
"kind": "variable",
|
|
1429
|
+
"name": "menuTemplate"
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
"kind": "variable",
|
|
1433
|
+
"name": "singleOptionTemplate"
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"kind": "variable",
|
|
1437
|
+
"name": "foundationActionsMenuTemplate",
|
|
1438
|
+
"type": {
|
|
1439
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1440
|
+
},
|
|
1441
|
+
"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`"
|
|
1442
|
+
}
|
|
1443
|
+
],
|
|
1444
|
+
"exports": [
|
|
1445
|
+
{
|
|
1446
|
+
"kind": "js",
|
|
1447
|
+
"name": "menuTemplate",
|
|
1448
|
+
"declaration": {
|
|
1449
|
+
"name": "menuTemplate",
|
|
1450
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1451
|
+
}
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"kind": "js",
|
|
1455
|
+
"name": "singleOptionTemplate",
|
|
1456
|
+
"declaration": {
|
|
1457
|
+
"name": "singleOptionTemplate",
|
|
1458
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"kind": "js",
|
|
1463
|
+
"name": "foundationActionsMenuTemplate",
|
|
1464
|
+
"declaration": {
|
|
1465
|
+
"name": "foundationActionsMenuTemplate",
|
|
1466
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
]
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
"kind": "javascript-module",
|
|
1473
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1608
1474
|
"declarations": [
|
|
1609
1475
|
{
|
|
1610
1476
|
"kind": "class",
|
|
1611
1477
|
"description": "",
|
|
1612
|
-
"name": "
|
|
1613
|
-
"
|
|
1614
|
-
"name": "FASTAccordionItem",
|
|
1615
|
-
"package": "@microsoft/fast-components"
|
|
1616
|
-
},
|
|
1617
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1618
|
-
"customElement": true,
|
|
1619
|
-
"attributes": [
|
|
1478
|
+
"name": "ActionsMenu",
|
|
1479
|
+
"members": [
|
|
1620
1480
|
{
|
|
1621
|
-
"
|
|
1481
|
+
"kind": "field",
|
|
1482
|
+
"name": "actions",
|
|
1622
1483
|
"type": {
|
|
1623
|
-
"text": "
|
|
1624
|
-
},
|
|
1625
|
-
"default": "2",
|
|
1626
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1627
|
-
"fieldName": "headinglevel",
|
|
1628
|
-
"inheritedFrom": {
|
|
1629
|
-
"name": "AccordionItem",
|
|
1630
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1484
|
+
"text": "ActionMenuItem[]"
|
|
1631
1485
|
}
|
|
1632
1486
|
},
|
|
1633
1487
|
{
|
|
1488
|
+
"kind": "field",
|
|
1489
|
+
"name": "actionsResolver",
|
|
1634
1490
|
"type": {
|
|
1635
|
-
"text": "
|
|
1491
|
+
"text": "ActionMenuItemsResolver | undefined"
|
|
1636
1492
|
},
|
|
1637
|
-
"
|
|
1638
|
-
"description": "Expands or collapses the item.",
|
|
1639
|
-
"fieldName": "expanded",
|
|
1640
|
-
"inheritedFrom": {
|
|
1641
|
-
"name": "AccordionItem",
|
|
1642
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1643
|
-
}
|
|
1493
|
+
"description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
|
|
1644
1494
|
},
|
|
1645
1495
|
{
|
|
1646
|
-
"
|
|
1496
|
+
"kind": "field",
|
|
1497
|
+
"name": "isVertical",
|
|
1647
1498
|
"type": {
|
|
1648
|
-
"text": "
|
|
1499
|
+
"text": "boolean"
|
|
1649
1500
|
},
|
|
1650
|
-
"
|
|
1651
|
-
|
|
1652
|
-
"inheritedFrom": {
|
|
1653
|
-
"name": "AccordionItem",
|
|
1654
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1655
|
-
}
|
|
1656
|
-
}
|
|
1657
|
-
],
|
|
1658
|
-
"members": [
|
|
1501
|
+
"default": "false"
|
|
1502
|
+
},
|
|
1659
1503
|
{
|
|
1660
1504
|
"kind": "field",
|
|
1661
|
-
"name": "
|
|
1505
|
+
"name": "addDefaultActions",
|
|
1662
1506
|
"type": {
|
|
1663
|
-
"text": "
|
|
1507
|
+
"text": "boolean"
|
|
1664
1508
|
},
|
|
1665
|
-
"
|
|
1666
|
-
"default": "2",
|
|
1667
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1668
|
-
"inheritedFrom": {
|
|
1669
|
-
"name": "AccordionItem",
|
|
1670
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1671
|
-
}
|
|
1509
|
+
"default": "true"
|
|
1672
1510
|
},
|
|
1673
1511
|
{
|
|
1674
1512
|
"kind": "field",
|
|
1675
|
-
"name": "
|
|
1513
|
+
"name": "autoCloseOnAction",
|
|
1676
1514
|
"type": {
|
|
1677
1515
|
"text": "boolean"
|
|
1678
1516
|
},
|
|
1679
|
-
"
|
|
1680
|
-
"default": "false",
|
|
1681
|
-
"description": "Expands or collapses the item.",
|
|
1682
|
-
"inheritedFrom": {
|
|
1683
|
-
"name": "AccordionItem",
|
|
1684
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1685
|
-
}
|
|
1517
|
+
"default": "true"
|
|
1686
1518
|
},
|
|
1687
1519
|
{
|
|
1688
1520
|
"kind": "field",
|
|
1689
|
-
"name": "
|
|
1521
|
+
"name": "classNames",
|
|
1690
1522
|
"type": {
|
|
1691
1523
|
"text": "string"
|
|
1692
|
-
},
|
|
1693
|
-
"privacy": "public",
|
|
1694
|
-
"description": "The item ID",
|
|
1695
|
-
"inheritedFrom": {
|
|
1696
|
-
"name": "AccordionItem",
|
|
1697
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1698
1524
|
}
|
|
1699
1525
|
},
|
|
1700
1526
|
{
|
|
1701
1527
|
"kind": "field",
|
|
1702
|
-
"name": "
|
|
1703
|
-
"
|
|
1704
|
-
|
|
1705
|
-
"name": "AccordionItem",
|
|
1706
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1528
|
+
"name": "definition",
|
|
1529
|
+
"type": {
|
|
1530
|
+
"text": "any"
|
|
1707
1531
|
}
|
|
1708
1532
|
},
|
|
1709
1533
|
{
|
|
1710
1534
|
"kind": "field",
|
|
1711
|
-
"name": "
|
|
1535
|
+
"name": "name",
|
|
1712
1536
|
"type": {
|
|
1713
|
-
"text": "
|
|
1537
|
+
"text": "string"
|
|
1714
1538
|
},
|
|
1715
|
-
"
|
|
1716
|
-
"default": "void 0",
|
|
1717
|
-
"inheritedFrom": {
|
|
1718
|
-
"name": "FoundationElement",
|
|
1719
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1720
|
-
}
|
|
1539
|
+
"default": "'Actions'"
|
|
1721
1540
|
},
|
|
1722
1541
|
{
|
|
1723
1542
|
"kind": "field",
|
|
1724
|
-
"name": "
|
|
1543
|
+
"name": "iconName",
|
|
1725
1544
|
"type": {
|
|
1726
|
-
"text": "
|
|
1545
|
+
"text": "string"
|
|
1727
1546
|
},
|
|
1728
|
-
"
|
|
1729
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1730
|
-
"inheritedFrom": {
|
|
1731
|
-
"name": "FoundationElement",
|
|
1732
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1733
|
-
}
|
|
1547
|
+
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
|
|
1734
1548
|
},
|
|
1735
1549
|
{
|
|
1736
1550
|
"kind": "field",
|
|
1737
|
-
"name": "
|
|
1551
|
+
"name": "open",
|
|
1738
1552
|
"type": {
|
|
1739
|
-
"text": "
|
|
1553
|
+
"text": "boolean"
|
|
1740
1554
|
},
|
|
1741
|
-
"
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1555
|
+
"default": "false"
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
"kind": "field",
|
|
1559
|
+
"name": "buttonAppearance",
|
|
1560
|
+
"type": {
|
|
1561
|
+
"text": "string"
|
|
1562
|
+
}
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"kind": "field",
|
|
1566
|
+
"name": "hideDisabled",
|
|
1567
|
+
"type": {
|
|
1568
|
+
"text": "boolean"
|
|
1569
|
+
},
|
|
1570
|
+
"default": "false"
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
"kind": "field",
|
|
1574
|
+
"name": "hideMenuSingleOption",
|
|
1575
|
+
"type": {
|
|
1576
|
+
"text": "boolean"
|
|
1577
|
+
},
|
|
1578
|
+
"default": "false"
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"kind": "field",
|
|
1582
|
+
"name": "singleOption",
|
|
1583
|
+
"type": {
|
|
1584
|
+
"text": "ActionMenuItem"
|
|
1585
|
+
}
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"kind": "field",
|
|
1589
|
+
"name": "actionsMenu",
|
|
1590
|
+
"type": {
|
|
1591
|
+
"text": "HTMLElement"
|
|
1592
|
+
}
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"kind": "field",
|
|
1596
|
+
"name": "actionsOpener",
|
|
1597
|
+
"type": {
|
|
1598
|
+
"text": "HTMLElement"
|
|
1599
|
+
}
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
"kind": "field",
|
|
1603
|
+
"name": "positionTracker",
|
|
1604
|
+
"type": {
|
|
1605
|
+
"text": "AnchoredPopoverPositionTracker | undefined"
|
|
1606
|
+
},
|
|
1607
|
+
"privacy": "private"
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
"kind": "field",
|
|
1611
|
+
"name": "focusMenuOnOpen",
|
|
1612
|
+
"type": {
|
|
1613
|
+
"text": "boolean"
|
|
1614
|
+
},
|
|
1615
|
+
"privacy": "private",
|
|
1616
|
+
"default": "false",
|
|
1617
|
+
"description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
"kind": "method",
|
|
1621
|
+
"name": "updateMenuPosition",
|
|
1622
|
+
"privacy": "private"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"kind": "method",
|
|
1626
|
+
"name": "startTrackingPosition",
|
|
1627
|
+
"privacy": "private"
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"kind": "method",
|
|
1631
|
+
"name": "stopTrackingPosition",
|
|
1632
|
+
"privacy": "private"
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"kind": "method",
|
|
1636
|
+
"name": "definitionChanged",
|
|
1637
|
+
"privacy": "protected",
|
|
1638
|
+
"parameters": [
|
|
1639
|
+
{
|
|
1640
|
+
"name": "oldValue",
|
|
1641
|
+
"type": {
|
|
1642
|
+
"text": "any"
|
|
1643
|
+
}
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"name": "newValue",
|
|
1647
|
+
"type": {
|
|
1648
|
+
"text": "any"
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
]
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"kind": "method",
|
|
1655
|
+
"name": "openChanged",
|
|
1656
|
+
"privacy": "protected"
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
"kind": "method",
|
|
1660
|
+
"name": "toggleActionsMenuVisibility"
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"kind": "method",
|
|
1664
|
+
"name": "onPopoverToggle",
|
|
1665
|
+
"parameters": [
|
|
1666
|
+
{
|
|
1667
|
+
"name": "event",
|
|
1668
|
+
"type": {
|
|
1669
|
+
"text": "Event"
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
],
|
|
1673
|
+
"description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"kind": "method",
|
|
1677
|
+
"name": "onIconOpenerKeydown",
|
|
1678
|
+
"return": {
|
|
1679
|
+
"type": {
|
|
1680
|
+
"text": "boolean"
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1683
|
+
"parameters": [
|
|
1684
|
+
{
|
|
1685
|
+
"name": "event",
|
|
1686
|
+
"type": {
|
|
1687
|
+
"text": "KeyboardEvent"
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
],
|
|
1691
|
+
"description": "Opens the icon-only opener from the keyboard, as a native button would."
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
"kind": "method",
|
|
1695
|
+
"name": "onActionMenuItemClick",
|
|
1696
|
+
"parameters": [
|
|
1697
|
+
{
|
|
1698
|
+
"name": "callback",
|
|
1699
|
+
"type": {
|
|
1700
|
+
"text": "(rowData) => void | any"
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
]
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
"kind": "method",
|
|
1707
|
+
"name": "isActionDisabled",
|
|
1708
|
+
"return": {
|
|
1709
|
+
"type": {
|
|
1710
|
+
"text": "boolean"
|
|
1711
|
+
}
|
|
1712
|
+
},
|
|
1713
|
+
"parameters": [
|
|
1714
|
+
{
|
|
1715
|
+
"name": "action",
|
|
1716
|
+
"type": {
|
|
1717
|
+
"text": "ActionMenuItem"
|
|
1718
|
+
}
|
|
1719
|
+
}
|
|
1720
|
+
],
|
|
1721
|
+
"description": "Resolves an action's `isDisabled` for the current row."
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"kind": "field",
|
|
1725
|
+
"name": "resolvedActions",
|
|
1726
|
+
"type": {
|
|
1727
|
+
"text": "ActionMenuItem[]"
|
|
1728
|
+
},
|
|
1729
|
+
"description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
|
|
1730
|
+
"readonly": true
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"kind": "field",
|
|
1734
|
+
"name": "hasVisibleActions",
|
|
1735
|
+
"type": {
|
|
1736
|
+
"text": "boolean"
|
|
1737
|
+
},
|
|
1738
|
+
"description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
|
|
1739
|
+
"readonly": true
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
"kind": "field",
|
|
1743
|
+
"name": "allActions",
|
|
1744
|
+
"type": {
|
|
1745
|
+
"text": "ActionMenuItem[]"
|
|
1746
|
+
},
|
|
1747
|
+
"readonly": true
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"kind": "field",
|
|
1751
|
+
"name": "rowData",
|
|
1752
|
+
"readonly": true
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"kind": "method",
|
|
1756
|
+
"name": "getLabel",
|
|
1757
|
+
"parameters": [
|
|
1758
|
+
{
|
|
1759
|
+
"name": "name",
|
|
1760
|
+
"type": {
|
|
1761
|
+
"text": "string | ((rowData: any) => string)"
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
]
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"kind": "method",
|
|
1768
|
+
"name": "getTemplate",
|
|
1769
|
+
"parameters": [
|
|
1770
|
+
{
|
|
1771
|
+
"name": "prefix",
|
|
1772
|
+
"type": {
|
|
1773
|
+
"text": "string"
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
]
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"kind": "field",
|
|
1780
|
+
"name": "_presentation",
|
|
1781
|
+
"type": {
|
|
1782
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1783
|
+
},
|
|
1784
|
+
"privacy": "private",
|
|
1785
|
+
"default": "void 0",
|
|
1786
|
+
"inheritedFrom": {
|
|
1787
|
+
"name": "FoundationElement",
|
|
1788
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1789
|
+
}
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
"kind": "field",
|
|
1793
|
+
"name": "$presentation",
|
|
1794
|
+
"type": {
|
|
1795
|
+
"text": "ComponentPresentation | null"
|
|
1796
|
+
},
|
|
1797
|
+
"privacy": "public",
|
|
1798
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1799
|
+
"inheritedFrom": {
|
|
1800
|
+
"name": "FoundationElement",
|
|
1801
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1802
|
+
}
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"kind": "field",
|
|
1806
|
+
"name": "template",
|
|
1807
|
+
"type": {
|
|
1808
|
+
"text": "ElementViewTemplate | void | null"
|
|
1809
|
+
},
|
|
1810
|
+
"privacy": "public",
|
|
1811
|
+
"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.",
|
|
1812
|
+
"inheritedFrom": {
|
|
1813
|
+
"name": "FoundationElement",
|
|
1745
1814
|
"module": "src/foundation-element/foundation-element.ts"
|
|
1746
1815
|
}
|
|
1747
1816
|
},
|
|
@@ -1818,78 +1887,197 @@
|
|
|
1818
1887
|
}
|
|
1819
1888
|
}
|
|
1820
1889
|
],
|
|
1821
|
-
"
|
|
1890
|
+
"attributes": [
|
|
1822
1891
|
{
|
|
1823
|
-
"
|
|
1824
|
-
"
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1892
|
+
"name": "is-vertical",
|
|
1893
|
+
"type": {
|
|
1894
|
+
"text": "boolean"
|
|
1895
|
+
},
|
|
1896
|
+
"default": "false",
|
|
1897
|
+
"fieldName": "isVertical"
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
"name": "add-default-actions",
|
|
1901
|
+
"type": {
|
|
1902
|
+
"text": "boolean"
|
|
1903
|
+
},
|
|
1904
|
+
"default": "true",
|
|
1905
|
+
"fieldName": "addDefaultActions"
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
"name": "auto-close-on-action",
|
|
1909
|
+
"type": {
|
|
1910
|
+
"text": "boolean"
|
|
1911
|
+
},
|
|
1912
|
+
"default": "true",
|
|
1913
|
+
"fieldName": "autoCloseOnAction"
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"name": "name",
|
|
1917
|
+
"type": {
|
|
1918
|
+
"text": "string"
|
|
1919
|
+
},
|
|
1920
|
+
"default": "'Actions'",
|
|
1921
|
+
"fieldName": "name"
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
"name": "icon-name",
|
|
1925
|
+
"type": {
|
|
1926
|
+
"text": "string"
|
|
1927
|
+
},
|
|
1928
|
+
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
|
|
1929
|
+
"fieldName": "iconName"
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
"name": "open",
|
|
1933
|
+
"type": {
|
|
1934
|
+
"text": "boolean"
|
|
1935
|
+
},
|
|
1936
|
+
"default": "false",
|
|
1937
|
+
"fieldName": "open"
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
"name": "buttonAppearance",
|
|
1941
|
+
"type": {
|
|
1942
|
+
"text": "string"
|
|
1943
|
+
},
|
|
1944
|
+
"fieldName": "buttonAppearance"
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"name": "hide-disabled",
|
|
1948
|
+
"type": {
|
|
1949
|
+
"text": "boolean"
|
|
1950
|
+
},
|
|
1951
|
+
"default": "false",
|
|
1952
|
+
"fieldName": "hideDisabled"
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
"name": "hide-menu-single-option",
|
|
1956
|
+
"type": {
|
|
1957
|
+
"text": "boolean"
|
|
1958
|
+
},
|
|
1959
|
+
"default": "false",
|
|
1960
|
+
"fieldName": "hideMenuSingleOption"
|
|
1829
1961
|
}
|
|
1830
|
-
]
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1835
|
-
"type": {
|
|
1836
|
-
"text": "ShadowRootInit"
|
|
1962
|
+
],
|
|
1963
|
+
"superclass": {
|
|
1964
|
+
"name": "FoundationElement",
|
|
1965
|
+
"package": "@microsoft/fast-foundation"
|
|
1837
1966
|
},
|
|
1838
|
-
"
|
|
1967
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
1968
|
+
"customElement": true
|
|
1839
1969
|
},
|
|
1840
1970
|
{
|
|
1841
1971
|
"kind": "variable",
|
|
1842
|
-
"name": "
|
|
1843
|
-
"
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1972
|
+
"name": "foundationActionsMenu",
|
|
1973
|
+
"description": "The Foundation Actions Menu",
|
|
1974
|
+
"privacy": "public"
|
|
1975
|
+
}
|
|
1976
|
+
],
|
|
1977
|
+
"exports": [
|
|
1978
|
+
{
|
|
1979
|
+
"kind": "js",
|
|
1980
|
+
"name": "ActionsMenu",
|
|
1981
|
+
"declaration": {
|
|
1982
|
+
"name": "ActionsMenu",
|
|
1983
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1984
|
+
}
|
|
1847
1985
|
},
|
|
1848
1986
|
{
|
|
1849
|
-
"kind": "
|
|
1850
|
-
"name": "
|
|
1851
|
-
"
|
|
1987
|
+
"kind": "js",
|
|
1988
|
+
"name": "foundationActionsMenu",
|
|
1989
|
+
"declaration": {
|
|
1990
|
+
"name": "foundationActionsMenu",
|
|
1991
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
]
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
"kind": "javascript-module",
|
|
1998
|
+
"path": "src/actions-menu/ag-menu.styles.ts",
|
|
1999
|
+
"declarations": [
|
|
2000
|
+
{
|
|
2001
|
+
"kind": "function",
|
|
2002
|
+
"name": "agMenuStyles",
|
|
2003
|
+
"return": {
|
|
2004
|
+
"type": {
|
|
2005
|
+
"text": ""
|
|
2006
|
+
}
|
|
2007
|
+
},
|
|
2008
|
+
"parameters": [
|
|
2009
|
+
{
|
|
2010
|
+
"name": "menuSelector",
|
|
2011
|
+
"type": {
|
|
2012
|
+
"text": "string"
|
|
2013
|
+
},
|
|
2014
|
+
"description": "Selects the menu surface. May be a selector list."
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
"name": "itemSelector",
|
|
2018
|
+
"type": {
|
|
2019
|
+
"text": "string"
|
|
2020
|
+
},
|
|
2021
|
+
"description": "Selects a menu item. Must be a single selector, as states are appended to it."
|
|
2022
|
+
}
|
|
2023
|
+
],
|
|
2024
|
+
"description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
|
|
1852
2025
|
"privacy": "public"
|
|
1853
2026
|
}
|
|
1854
2027
|
],
|
|
1855
2028
|
"exports": [
|
|
1856
2029
|
{
|
|
1857
2030
|
"kind": "js",
|
|
1858
|
-
"name": "
|
|
2031
|
+
"name": "agMenuStyles",
|
|
1859
2032
|
"declaration": {
|
|
1860
|
-
"name": "
|
|
1861
|
-
"module": "src/
|
|
2033
|
+
"name": "agMenuStyles",
|
|
2034
|
+
"module": "src/actions-menu/ag-menu.styles.ts"
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
]
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
"kind": "javascript-module",
|
|
2041
|
+
"path": "src/actions-menu/index.ts",
|
|
2042
|
+
"declarations": [],
|
|
2043
|
+
"exports": [
|
|
2044
|
+
{
|
|
2045
|
+
"kind": "js",
|
|
2046
|
+
"name": "*",
|
|
2047
|
+
"declaration": {
|
|
2048
|
+
"name": "*",
|
|
2049
|
+
"package": "./actions-menu.styles"
|
|
1862
2050
|
}
|
|
1863
2051
|
},
|
|
1864
2052
|
{
|
|
1865
2053
|
"kind": "js",
|
|
1866
|
-
"name": "
|
|
2054
|
+
"name": "*",
|
|
1867
2055
|
"declaration": {
|
|
1868
|
-
"name": "
|
|
1869
|
-
"
|
|
2056
|
+
"name": "*",
|
|
2057
|
+
"package": "./actions-menu.template"
|
|
1870
2058
|
}
|
|
1871
2059
|
},
|
|
1872
2060
|
{
|
|
1873
2061
|
"kind": "js",
|
|
1874
|
-
"name": "
|
|
2062
|
+
"name": "*",
|
|
1875
2063
|
"declaration": {
|
|
1876
|
-
"name": "
|
|
1877
|
-
"
|
|
2064
|
+
"name": "*",
|
|
2065
|
+
"package": "./actions-menu"
|
|
1878
2066
|
}
|
|
1879
2067
|
},
|
|
1880
2068
|
{
|
|
1881
2069
|
"kind": "js",
|
|
1882
|
-
"name": "
|
|
2070
|
+
"name": "*",
|
|
1883
2071
|
"declaration": {
|
|
1884
|
-
"name": "
|
|
1885
|
-
"
|
|
2072
|
+
"name": "*",
|
|
2073
|
+
"package": "./ag-menu.styles"
|
|
1886
2074
|
}
|
|
1887
2075
|
}
|
|
1888
2076
|
]
|
|
1889
2077
|
},
|
|
1890
2078
|
{
|
|
1891
2079
|
"kind": "javascript-module",
|
|
1892
|
-
"path": "src/
|
|
2080
|
+
"path": "src/_config/index.ts",
|
|
1893
2081
|
"declarations": [],
|
|
1894
2082
|
"exports": [
|
|
1895
2083
|
{
|
|
@@ -1897,7 +2085,7 @@
|
|
|
1897
2085
|
"name": "*",
|
|
1898
2086
|
"declaration": {
|
|
1899
2087
|
"name": "*",
|
|
1900
|
-
"package": "./
|
|
2088
|
+
"package": "./styles"
|
|
1901
2089
|
}
|
|
1902
2090
|
},
|
|
1903
2091
|
{
|
|
@@ -1905,7 +2093,7 @@
|
|
|
1905
2093
|
"name": "*",
|
|
1906
2094
|
"declaration": {
|
|
1907
2095
|
"name": "*",
|
|
1908
|
-
"package": "./
|
|
2096
|
+
"package": "./tokens"
|
|
1909
2097
|
}
|
|
1910
2098
|
},
|
|
1911
2099
|
{
|
|
@@ -1913,41 +2101,18 @@
|
|
|
1913
2101
|
"name": "*",
|
|
1914
2102
|
"declaration": {
|
|
1915
2103
|
"name": "*",
|
|
1916
|
-
"package": "./
|
|
2104
|
+
"package": "./values"
|
|
1917
2105
|
}
|
|
1918
2106
|
}
|
|
1919
2107
|
]
|
|
1920
2108
|
},
|
|
1921
2109
|
{
|
|
1922
2110
|
"kind": "javascript-module",
|
|
1923
|
-
"path": "src/
|
|
2111
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1924
2112
|
"declarations": [
|
|
1925
2113
|
{
|
|
1926
2114
|
"kind": "function",
|
|
1927
|
-
"name": "
|
|
1928
|
-
"return": {
|
|
1929
|
-
"type": {
|
|
1930
|
-
"text": "ElementStyles"
|
|
1931
|
-
}
|
|
1932
|
-
},
|
|
1933
|
-
"parameters": [
|
|
1934
|
-
{
|
|
1935
|
-
"name": "context",
|
|
1936
|
-
"type": {
|
|
1937
|
-
"text": "ElementDefinitionContext"
|
|
1938
|
-
}
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"name": "definition",
|
|
1942
|
-
"type": {
|
|
1943
|
-
"text": "FoundationElementDefinition"
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1946
|
-
]
|
|
1947
|
-
},
|
|
1948
|
-
{
|
|
1949
|
-
"kind": "function",
|
|
1950
|
-
"name": "foundationActionsMenuStyles",
|
|
2115
|
+
"name": "foundationAccordionStyles",
|
|
1951
2116
|
"return": {
|
|
1952
2117
|
"type": {
|
|
1953
2118
|
"text": "ElementStyles"
|
|
@@ -1972,376 +2137,277 @@
|
|
|
1972
2137
|
"exports": [
|
|
1973
2138
|
{
|
|
1974
2139
|
"kind": "js",
|
|
1975
|
-
"name": "
|
|
1976
|
-
"declaration": {
|
|
1977
|
-
"name": "actionsMenuBaseStyles",
|
|
1978
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1979
|
-
}
|
|
1980
|
-
},
|
|
1981
|
-
{
|
|
1982
|
-
"kind": "js",
|
|
1983
|
-
"name": "foundationActionsMenuStyles",
|
|
1984
|
-
"declaration": {
|
|
1985
|
-
"name": "foundationActionsMenuStyles",
|
|
1986
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1987
|
-
}
|
|
1988
|
-
}
|
|
1989
|
-
]
|
|
1990
|
-
},
|
|
1991
|
-
{
|
|
1992
|
-
"kind": "javascript-module",
|
|
1993
|
-
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1994
|
-
"declarations": [
|
|
1995
|
-
{
|
|
1996
|
-
"kind": "variable",
|
|
1997
|
-
"name": "menuTemplate"
|
|
1998
|
-
},
|
|
1999
|
-
{
|
|
2000
|
-
"kind": "variable",
|
|
2001
|
-
"name": "singleOptionTemplate"
|
|
2002
|
-
},
|
|
2003
|
-
{
|
|
2004
|
-
"kind": "variable",
|
|
2005
|
-
"name": "foundationActionsMenuTemplate",
|
|
2006
|
-
"type": {
|
|
2007
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2008
|
-
},
|
|
2009
|
-
"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`"
|
|
2010
|
-
}
|
|
2011
|
-
],
|
|
2012
|
-
"exports": [
|
|
2013
|
-
{
|
|
2014
|
-
"kind": "js",
|
|
2015
|
-
"name": "menuTemplate",
|
|
2016
|
-
"declaration": {
|
|
2017
|
-
"name": "menuTemplate",
|
|
2018
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2019
|
-
}
|
|
2020
|
-
},
|
|
2021
|
-
{
|
|
2022
|
-
"kind": "js",
|
|
2023
|
-
"name": "singleOptionTemplate",
|
|
2024
|
-
"declaration": {
|
|
2025
|
-
"name": "singleOptionTemplate",
|
|
2026
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2027
|
-
}
|
|
2028
|
-
},
|
|
2029
|
-
{
|
|
2030
|
-
"kind": "js",
|
|
2031
|
-
"name": "foundationActionsMenuTemplate",
|
|
2140
|
+
"name": "foundationAccordionStyles",
|
|
2032
2141
|
"declaration": {
|
|
2033
|
-
"name": "
|
|
2034
|
-
"module": "src/
|
|
2142
|
+
"name": "foundationAccordionStyles",
|
|
2143
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2035
2144
|
}
|
|
2036
2145
|
}
|
|
2037
2146
|
]
|
|
2038
2147
|
},
|
|
2039
2148
|
{
|
|
2040
2149
|
"kind": "javascript-module",
|
|
2041
|
-
"path": "src/
|
|
2150
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2042
2151
|
"declarations": [
|
|
2043
2152
|
{
|
|
2044
|
-
"kind": "
|
|
2045
|
-
"
|
|
2046
|
-
"
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
"text": "ActionMenuItem[]"
|
|
2053
|
-
}
|
|
2054
|
-
},
|
|
2055
|
-
{
|
|
2056
|
-
"kind": "field",
|
|
2057
|
-
"name": "actionsResolver",
|
|
2058
|
-
"type": {
|
|
2059
|
-
"text": "ActionMenuItemsResolver | undefined"
|
|
2060
|
-
},
|
|
2061
|
-
"description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
|
|
2062
|
-
},
|
|
2063
|
-
{
|
|
2064
|
-
"kind": "field",
|
|
2065
|
-
"name": "isVertical",
|
|
2066
|
-
"type": {
|
|
2067
|
-
"text": "boolean"
|
|
2068
|
-
},
|
|
2069
|
-
"default": "false"
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
"kind": "field",
|
|
2073
|
-
"name": "addDefaultActions",
|
|
2074
|
-
"type": {
|
|
2075
|
-
"text": "boolean"
|
|
2076
|
-
},
|
|
2077
|
-
"default": "true"
|
|
2078
|
-
},
|
|
2079
|
-
{
|
|
2080
|
-
"kind": "field",
|
|
2081
|
-
"name": "autoCloseOnAction",
|
|
2082
|
-
"type": {
|
|
2083
|
-
"text": "boolean"
|
|
2084
|
-
},
|
|
2085
|
-
"default": "true"
|
|
2086
|
-
},
|
|
2087
|
-
{
|
|
2088
|
-
"kind": "field",
|
|
2089
|
-
"name": "classNames",
|
|
2090
|
-
"type": {
|
|
2091
|
-
"text": "string"
|
|
2092
|
-
}
|
|
2093
|
-
},
|
|
2094
|
-
{
|
|
2095
|
-
"kind": "field",
|
|
2096
|
-
"name": "definition",
|
|
2097
|
-
"type": {
|
|
2098
|
-
"text": "any"
|
|
2099
|
-
}
|
|
2100
|
-
},
|
|
2101
|
-
{
|
|
2102
|
-
"kind": "field",
|
|
2103
|
-
"name": "name",
|
|
2104
|
-
"type": {
|
|
2105
|
-
"text": "string"
|
|
2106
|
-
},
|
|
2107
|
-
"default": "'Actions'"
|
|
2108
|
-
},
|
|
2109
|
-
{
|
|
2110
|
-
"kind": "field",
|
|
2111
|
-
"name": "iconName",
|
|
2112
|
-
"type": {
|
|
2113
|
-
"text": "string"
|
|
2114
|
-
},
|
|
2115
|
-
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
|
|
2116
|
-
},
|
|
2153
|
+
"kind": "function",
|
|
2154
|
+
"name": "foundationAccordionTemplate",
|
|
2155
|
+
"return": {
|
|
2156
|
+
"type": {
|
|
2157
|
+
"text": "ViewTemplate<Accordion>"
|
|
2158
|
+
}
|
|
2159
|
+
},
|
|
2160
|
+
"parameters": [
|
|
2117
2161
|
{
|
|
2118
|
-
"
|
|
2119
|
-
"name": "open",
|
|
2162
|
+
"name": "context",
|
|
2120
2163
|
"type": {
|
|
2121
|
-
"text": "
|
|
2122
|
-
}
|
|
2123
|
-
"default": "false"
|
|
2164
|
+
"text": "ElementDefinitionContext"
|
|
2165
|
+
}
|
|
2124
2166
|
},
|
|
2125
2167
|
{
|
|
2126
|
-
"
|
|
2127
|
-
"name": "buttonAppearance",
|
|
2168
|
+
"name": "definition",
|
|
2128
2169
|
"type": {
|
|
2129
|
-
"text": "
|
|
2170
|
+
"text": "FoundationElementDefinition"
|
|
2130
2171
|
}
|
|
2131
|
-
}
|
|
2172
|
+
}
|
|
2173
|
+
]
|
|
2174
|
+
}
|
|
2175
|
+
],
|
|
2176
|
+
"exports": [
|
|
2177
|
+
{
|
|
2178
|
+
"kind": "js",
|
|
2179
|
+
"name": "foundationAccordionTemplate",
|
|
2180
|
+
"declaration": {
|
|
2181
|
+
"name": "foundationAccordionTemplate",
|
|
2182
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
]
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"kind": "javascript-module",
|
|
2189
|
+
"path": "src/accordion/accordion.ts",
|
|
2190
|
+
"declarations": [
|
|
2191
|
+
{
|
|
2192
|
+
"kind": "class",
|
|
2193
|
+
"description": "",
|
|
2194
|
+
"name": "Accordion",
|
|
2195
|
+
"superclass": {
|
|
2196
|
+
"name": "FASTAccordion",
|
|
2197
|
+
"package": "@microsoft/fast-foundation"
|
|
2198
|
+
},
|
|
2199
|
+
"tagName": "%%prefix%%-accordion",
|
|
2200
|
+
"customElement": true,
|
|
2201
|
+
"attributes": [
|
|
2132
2202
|
{
|
|
2133
|
-
"
|
|
2134
|
-
"name": "hideDisabled",
|
|
2203
|
+
"name": "expand-mode",
|
|
2135
2204
|
"type": {
|
|
2136
|
-
"text": "
|
|
2205
|
+
"text": "AccordionExpandMode"
|
|
2137
2206
|
},
|
|
2138
|
-
"
|
|
2139
|
-
|
|
2207
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2208
|
+
"fieldName": "expandmode",
|
|
2209
|
+
"inheritedFrom": {
|
|
2210
|
+
"name": "Accordion",
|
|
2211
|
+
"module": "src/accordion/accordion.ts"
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
],
|
|
2215
|
+
"members": [
|
|
2140
2216
|
{
|
|
2141
2217
|
"kind": "field",
|
|
2142
|
-
"name": "
|
|
2218
|
+
"name": "expandmode",
|
|
2143
2219
|
"type": {
|
|
2144
|
-
"text": "
|
|
2220
|
+
"text": "AccordionExpandMode"
|
|
2145
2221
|
},
|
|
2146
|
-
"
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
"type": {
|
|
2152
|
-
"text": "ActionMenuItem"
|
|
2222
|
+
"privacy": "public",
|
|
2223
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2224
|
+
"inheritedFrom": {
|
|
2225
|
+
"name": "Accordion",
|
|
2226
|
+
"module": "src/accordion/accordion.ts"
|
|
2153
2227
|
}
|
|
2154
2228
|
},
|
|
2155
2229
|
{
|
|
2156
2230
|
"kind": "field",
|
|
2157
|
-
"name": "
|
|
2231
|
+
"name": "activeid",
|
|
2158
2232
|
"type": {
|
|
2159
|
-
"text": "
|
|
2233
|
+
"text": "string | null"
|
|
2234
|
+
},
|
|
2235
|
+
"privacy": "private",
|
|
2236
|
+
"inheritedFrom": {
|
|
2237
|
+
"name": "Accordion",
|
|
2238
|
+
"module": "src/accordion/accordion.ts"
|
|
2160
2239
|
}
|
|
2161
2240
|
},
|
|
2162
2241
|
{
|
|
2163
2242
|
"kind": "field",
|
|
2164
|
-
"name": "
|
|
2243
|
+
"name": "activeItemIndex",
|
|
2165
2244
|
"type": {
|
|
2166
|
-
"text": "
|
|
2245
|
+
"text": "number"
|
|
2246
|
+
},
|
|
2247
|
+
"privacy": "private",
|
|
2248
|
+
"default": "0",
|
|
2249
|
+
"inheritedFrom": {
|
|
2250
|
+
"name": "Accordion",
|
|
2251
|
+
"module": "src/accordion/accordion.ts"
|
|
2167
2252
|
}
|
|
2168
2253
|
},
|
|
2169
2254
|
{
|
|
2170
2255
|
"kind": "field",
|
|
2171
|
-
"name": "
|
|
2256
|
+
"name": "accordionIds",
|
|
2172
2257
|
"type": {
|
|
2173
|
-
"text": "
|
|
2258
|
+
"text": "Array<string | null>"
|
|
2174
2259
|
},
|
|
2175
|
-
"privacy": "private"
|
|
2260
|
+
"privacy": "private",
|
|
2261
|
+
"inheritedFrom": {
|
|
2262
|
+
"name": "Accordion",
|
|
2263
|
+
"module": "src/accordion/accordion.ts"
|
|
2264
|
+
}
|
|
2176
2265
|
},
|
|
2177
2266
|
{
|
|
2178
2267
|
"kind": "field",
|
|
2179
|
-
"name": "
|
|
2180
|
-
"type": {
|
|
2181
|
-
"text": "boolean"
|
|
2182
|
-
},
|
|
2268
|
+
"name": "change",
|
|
2183
2269
|
"privacy": "private",
|
|
2184
|
-
"
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
"kind": "method",
|
|
2189
|
-
"name": "updateMenuPosition",
|
|
2190
|
-
"privacy": "private"
|
|
2191
|
-
},
|
|
2192
|
-
{
|
|
2193
|
-
"kind": "method",
|
|
2194
|
-
"name": "startTrackingPosition",
|
|
2195
|
-
"privacy": "private"
|
|
2196
|
-
},
|
|
2197
|
-
{
|
|
2198
|
-
"kind": "method",
|
|
2199
|
-
"name": "stopTrackingPosition",
|
|
2200
|
-
"privacy": "private"
|
|
2270
|
+
"inheritedFrom": {
|
|
2271
|
+
"name": "Accordion",
|
|
2272
|
+
"module": "src/accordion/accordion.ts"
|
|
2273
|
+
}
|
|
2201
2274
|
},
|
|
2202
2275
|
{
|
|
2203
2276
|
"kind": "method",
|
|
2204
|
-
"name": "
|
|
2205
|
-
"privacy": "
|
|
2206
|
-
"
|
|
2207
|
-
{
|
|
2208
|
-
"
|
|
2209
|
-
"type": {
|
|
2210
|
-
"text": "any"
|
|
2211
|
-
}
|
|
2212
|
-
},
|
|
2213
|
-
{
|
|
2214
|
-
"name": "newValue",
|
|
2215
|
-
"type": {
|
|
2216
|
-
"text": "any"
|
|
2217
|
-
}
|
|
2277
|
+
"name": "findExpandedItem",
|
|
2278
|
+
"privacy": "private",
|
|
2279
|
+
"return": {
|
|
2280
|
+
"type": {
|
|
2281
|
+
"text": "AccordionItem | null"
|
|
2218
2282
|
}
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
"privacy": "protected"
|
|
2225
|
-
},
|
|
2226
|
-
{
|
|
2227
|
-
"kind": "method",
|
|
2228
|
-
"name": "toggleActionsMenuVisibility"
|
|
2283
|
+
},
|
|
2284
|
+
"inheritedFrom": {
|
|
2285
|
+
"name": "Accordion",
|
|
2286
|
+
"module": "src/accordion/accordion.ts"
|
|
2287
|
+
}
|
|
2229
2288
|
},
|
|
2230
2289
|
{
|
|
2231
|
-
"kind": "
|
|
2232
|
-
"name": "
|
|
2233
|
-
"
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
}
|
|
2239
|
-
}
|
|
2240
|
-
],
|
|
2241
|
-
"description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
|
|
2290
|
+
"kind": "field",
|
|
2291
|
+
"name": "setItems",
|
|
2292
|
+
"privacy": "private",
|
|
2293
|
+
"inheritedFrom": {
|
|
2294
|
+
"name": "Accordion",
|
|
2295
|
+
"module": "src/accordion/accordion.ts"
|
|
2296
|
+
}
|
|
2242
2297
|
},
|
|
2243
2298
|
{
|
|
2244
2299
|
"kind": "method",
|
|
2245
|
-
"name": "
|
|
2300
|
+
"name": "resetItems",
|
|
2301
|
+
"privacy": "private",
|
|
2246
2302
|
"return": {
|
|
2247
2303
|
"type": {
|
|
2248
|
-
"text": "
|
|
2304
|
+
"text": "void"
|
|
2249
2305
|
}
|
|
2250
2306
|
},
|
|
2251
|
-
"
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
"text": "KeyboardEvent"
|
|
2256
|
-
}
|
|
2257
|
-
}
|
|
2258
|
-
],
|
|
2259
|
-
"description": "Opens the icon-only opener from the keyboard, as a native button would."
|
|
2307
|
+
"inheritedFrom": {
|
|
2308
|
+
"name": "Accordion",
|
|
2309
|
+
"module": "src/accordion/accordion.ts"
|
|
2310
|
+
}
|
|
2260
2311
|
},
|
|
2261
2312
|
{
|
|
2262
|
-
"kind": "
|
|
2263
|
-
"name": "
|
|
2264
|
-
"
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2313
|
+
"kind": "field",
|
|
2314
|
+
"name": "removeItemListeners",
|
|
2315
|
+
"privacy": "private",
|
|
2316
|
+
"inheritedFrom": {
|
|
2317
|
+
"name": "Accordion",
|
|
2318
|
+
"module": "src/accordion/accordion.ts"
|
|
2319
|
+
}
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"kind": "field",
|
|
2323
|
+
"name": "activeItemChange",
|
|
2324
|
+
"privacy": "private",
|
|
2325
|
+
"inheritedFrom": {
|
|
2326
|
+
"name": "Accordion",
|
|
2327
|
+
"module": "src/accordion/accordion.ts"
|
|
2328
|
+
}
|
|
2272
2329
|
},
|
|
2273
2330
|
{
|
|
2274
2331
|
"kind": "method",
|
|
2275
|
-
"name": "
|
|
2332
|
+
"name": "getItemIds",
|
|
2333
|
+
"privacy": "private",
|
|
2276
2334
|
"return": {
|
|
2277
2335
|
"type": {
|
|
2278
|
-
"text": "
|
|
2279
|
-
}
|
|
2280
|
-
},
|
|
2281
|
-
"parameters": [
|
|
2282
|
-
{
|
|
2283
|
-
"name": "action",
|
|
2284
|
-
"type": {
|
|
2285
|
-
"text": "ActionMenuItem"
|
|
2286
|
-
}
|
|
2287
|
-
}
|
|
2288
|
-
],
|
|
2289
|
-
"description": "Resolves an action's `isDisabled` for the current row."
|
|
2290
|
-
},
|
|
2291
|
-
{
|
|
2292
|
-
"kind": "field",
|
|
2293
|
-
"name": "resolvedActions",
|
|
2294
|
-
"type": {
|
|
2295
|
-
"text": "ActionMenuItem[]"
|
|
2336
|
+
"text": "Array<string | null>"
|
|
2337
|
+
}
|
|
2296
2338
|
},
|
|
2297
|
-
"
|
|
2298
|
-
|
|
2339
|
+
"inheritedFrom": {
|
|
2340
|
+
"name": "Accordion",
|
|
2341
|
+
"module": "src/accordion/accordion.ts"
|
|
2342
|
+
}
|
|
2299
2343
|
},
|
|
2300
2344
|
{
|
|
2301
|
-
"kind": "
|
|
2302
|
-
"name": "
|
|
2303
|
-
"
|
|
2304
|
-
|
|
2345
|
+
"kind": "method",
|
|
2346
|
+
"name": "isSingleExpandMode",
|
|
2347
|
+
"privacy": "private",
|
|
2348
|
+
"return": {
|
|
2349
|
+
"type": {
|
|
2350
|
+
"text": "boolean"
|
|
2351
|
+
}
|
|
2305
2352
|
},
|
|
2306
|
-
"
|
|
2307
|
-
|
|
2353
|
+
"inheritedFrom": {
|
|
2354
|
+
"name": "Accordion",
|
|
2355
|
+
"module": "src/accordion/accordion.ts"
|
|
2356
|
+
}
|
|
2308
2357
|
},
|
|
2309
2358
|
{
|
|
2310
2359
|
"kind": "field",
|
|
2311
|
-
"name": "
|
|
2312
|
-
"
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2360
|
+
"name": "handleItemKeyDown",
|
|
2361
|
+
"privacy": "private",
|
|
2362
|
+
"inheritedFrom": {
|
|
2363
|
+
"name": "Accordion",
|
|
2364
|
+
"module": "src/accordion/accordion.ts"
|
|
2365
|
+
}
|
|
2316
2366
|
},
|
|
2317
2367
|
{
|
|
2318
2368
|
"kind": "field",
|
|
2319
|
-
"name": "
|
|
2320
|
-
"
|
|
2369
|
+
"name": "handleItemFocus",
|
|
2370
|
+
"privacy": "private",
|
|
2371
|
+
"inheritedFrom": {
|
|
2372
|
+
"name": "Accordion",
|
|
2373
|
+
"module": "src/accordion/accordion.ts"
|
|
2374
|
+
}
|
|
2321
2375
|
},
|
|
2322
2376
|
{
|
|
2323
2377
|
"kind": "method",
|
|
2324
|
-
"name": "
|
|
2378
|
+
"name": "adjust",
|
|
2379
|
+
"privacy": "private",
|
|
2380
|
+
"return": {
|
|
2381
|
+
"type": {
|
|
2382
|
+
"text": "void"
|
|
2383
|
+
}
|
|
2384
|
+
},
|
|
2325
2385
|
"parameters": [
|
|
2326
2386
|
{
|
|
2327
|
-
"name": "
|
|
2387
|
+
"name": "adjustment",
|
|
2328
2388
|
"type": {
|
|
2329
|
-
"text": "
|
|
2389
|
+
"text": "number"
|
|
2330
2390
|
}
|
|
2331
2391
|
}
|
|
2332
|
-
]
|
|
2392
|
+
],
|
|
2393
|
+
"inheritedFrom": {
|
|
2394
|
+
"name": "Accordion",
|
|
2395
|
+
"module": "src/accordion/accordion.ts"
|
|
2396
|
+
}
|
|
2333
2397
|
},
|
|
2334
2398
|
{
|
|
2335
2399
|
"kind": "method",
|
|
2336
|
-
"name": "
|
|
2337
|
-
"
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
"
|
|
2341
|
-
"text": "string"
|
|
2342
|
-
}
|
|
2400
|
+
"name": "focusItem",
|
|
2401
|
+
"privacy": "private",
|
|
2402
|
+
"return": {
|
|
2403
|
+
"type": {
|
|
2404
|
+
"text": "void"
|
|
2343
2405
|
}
|
|
2344
|
-
|
|
2406
|
+
},
|
|
2407
|
+
"inheritedFrom": {
|
|
2408
|
+
"name": "Accordion",
|
|
2409
|
+
"module": "src/accordion/accordion.ts"
|
|
2410
|
+
}
|
|
2345
2411
|
},
|
|
2346
2412
|
{
|
|
2347
2413
|
"kind": "field",
|
|
@@ -2455,174 +2521,86 @@
|
|
|
2455
2521
|
}
|
|
2456
2522
|
}
|
|
2457
2523
|
],
|
|
2458
|
-
"
|
|
2459
|
-
{
|
|
2460
|
-
"name": "is-vertical",
|
|
2461
|
-
"type": {
|
|
2462
|
-
"text": "boolean"
|
|
2463
|
-
},
|
|
2464
|
-
"default": "false",
|
|
2465
|
-
"fieldName": "isVertical"
|
|
2466
|
-
},
|
|
2467
|
-
{
|
|
2468
|
-
"name": "add-default-actions",
|
|
2469
|
-
"type": {
|
|
2470
|
-
"text": "boolean"
|
|
2471
|
-
},
|
|
2472
|
-
"default": "true",
|
|
2473
|
-
"fieldName": "addDefaultActions"
|
|
2474
|
-
},
|
|
2475
|
-
{
|
|
2476
|
-
"name": "auto-close-on-action",
|
|
2477
|
-
"type": {
|
|
2478
|
-
"text": "boolean"
|
|
2479
|
-
},
|
|
2480
|
-
"default": "true",
|
|
2481
|
-
"fieldName": "autoCloseOnAction"
|
|
2482
|
-
},
|
|
2483
|
-
{
|
|
2484
|
-
"name": "name",
|
|
2485
|
-
"type": {
|
|
2486
|
-
"text": "string"
|
|
2487
|
-
},
|
|
2488
|
-
"default": "'Actions'",
|
|
2489
|
-
"fieldName": "name"
|
|
2490
|
-
},
|
|
2491
|
-
{
|
|
2492
|
-
"name": "icon-name",
|
|
2493
|
-
"type": {
|
|
2494
|
-
"text": "string"
|
|
2495
|
-
},
|
|
2496
|
-
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
|
|
2497
|
-
"fieldName": "iconName"
|
|
2498
|
-
},
|
|
2499
|
-
{
|
|
2500
|
-
"name": "open",
|
|
2501
|
-
"type": {
|
|
2502
|
-
"text": "boolean"
|
|
2503
|
-
},
|
|
2504
|
-
"default": "false",
|
|
2505
|
-
"fieldName": "open"
|
|
2506
|
-
},
|
|
2507
|
-
{
|
|
2508
|
-
"name": "buttonAppearance",
|
|
2509
|
-
"type": {
|
|
2510
|
-
"text": "string"
|
|
2511
|
-
},
|
|
2512
|
-
"fieldName": "buttonAppearance"
|
|
2513
|
-
},
|
|
2514
|
-
{
|
|
2515
|
-
"name": "hide-disabled",
|
|
2516
|
-
"type": {
|
|
2517
|
-
"text": "boolean"
|
|
2518
|
-
},
|
|
2519
|
-
"default": "false",
|
|
2520
|
-
"fieldName": "hideDisabled"
|
|
2521
|
-
},
|
|
2524
|
+
"events": [
|
|
2522
2525
|
{
|
|
2523
|
-
"
|
|
2524
|
-
"
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2526
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2527
|
+
"name": "change",
|
|
2528
|
+
"inheritedFrom": {
|
|
2529
|
+
"name": "Accordion",
|
|
2530
|
+
"module": "src/accordion/accordion.ts"
|
|
2531
|
+
}
|
|
2529
2532
|
}
|
|
2530
|
-
]
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2533
|
+
]
|
|
2534
|
+
},
|
|
2535
|
+
{
|
|
2536
|
+
"kind": "variable",
|
|
2537
|
+
"name": "foundationAccordionShadowOptions",
|
|
2538
|
+
"type": {
|
|
2539
|
+
"text": "ShadowRootInit"
|
|
2534
2540
|
},
|
|
2535
|
-
"
|
|
2536
|
-
"customElement": true
|
|
2541
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2537
2542
|
},
|
|
2538
2543
|
{
|
|
2539
2544
|
"kind": "variable",
|
|
2540
|
-
"name": "
|
|
2541
|
-
"
|
|
2545
|
+
"name": "defaultAccordionConfig",
|
|
2546
|
+
"type": {
|
|
2547
|
+
"text": "object"
|
|
2548
|
+
},
|
|
2549
|
+
"default": "{}"
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
"kind": "variable",
|
|
2553
|
+
"name": "foundationAccordion",
|
|
2554
|
+
"description": "The Foundation Accordion",
|
|
2542
2555
|
"privacy": "public"
|
|
2543
2556
|
}
|
|
2544
2557
|
],
|
|
2545
2558
|
"exports": [
|
|
2546
2559
|
{
|
|
2547
2560
|
"kind": "js",
|
|
2548
|
-
"name": "
|
|
2561
|
+
"name": "Accordion",
|
|
2549
2562
|
"declaration": {
|
|
2550
|
-
"name": "
|
|
2551
|
-
"module": "src/
|
|
2563
|
+
"name": "Accordion",
|
|
2564
|
+
"module": "src/accordion/accordion.ts"
|
|
2552
2565
|
}
|
|
2553
2566
|
},
|
|
2554
2567
|
{
|
|
2555
2568
|
"kind": "js",
|
|
2556
|
-
"name": "
|
|
2569
|
+
"name": "foundationAccordionShadowOptions",
|
|
2557
2570
|
"declaration": {
|
|
2558
|
-
"name": "
|
|
2559
|
-
"module": "src/
|
|
2571
|
+
"name": "foundationAccordionShadowOptions",
|
|
2572
|
+
"module": "src/accordion/accordion.ts"
|
|
2560
2573
|
}
|
|
2561
|
-
}
|
|
2562
|
-
]
|
|
2563
|
-
},
|
|
2564
|
-
{
|
|
2565
|
-
"kind": "javascript-module",
|
|
2566
|
-
"path": "src/actions-menu/ag-menu.styles.ts",
|
|
2567
|
-
"declarations": [
|
|
2574
|
+
},
|
|
2568
2575
|
{
|
|
2569
|
-
"kind": "
|
|
2570
|
-
"name": "
|
|
2571
|
-
"
|
|
2572
|
-
"
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
"parameters": [
|
|
2577
|
-
{
|
|
2578
|
-
"name": "menuSelector",
|
|
2579
|
-
"type": {
|
|
2580
|
-
"text": "string"
|
|
2581
|
-
},
|
|
2582
|
-
"description": "Selects the menu surface. May be a selector list."
|
|
2583
|
-
},
|
|
2584
|
-
{
|
|
2585
|
-
"name": "itemSelector",
|
|
2586
|
-
"type": {
|
|
2587
|
-
"text": "string"
|
|
2588
|
-
},
|
|
2589
|
-
"description": "Selects a menu item. Must be a single selector, as states are appended to it."
|
|
2590
|
-
}
|
|
2591
|
-
],
|
|
2592
|
-
"description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
|
|
2593
|
-
"privacy": "public"
|
|
2594
|
-
}
|
|
2595
|
-
],
|
|
2596
|
-
"exports": [
|
|
2576
|
+
"kind": "js",
|
|
2577
|
+
"name": "defaultAccordionConfig",
|
|
2578
|
+
"declaration": {
|
|
2579
|
+
"name": "defaultAccordionConfig",
|
|
2580
|
+
"module": "src/accordion/accordion.ts"
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2597
2583
|
{
|
|
2598
2584
|
"kind": "js",
|
|
2599
|
-
"name": "
|
|
2585
|
+
"name": "foundationAccordion",
|
|
2600
2586
|
"declaration": {
|
|
2601
|
-
"name": "
|
|
2602
|
-
"module": "src/
|
|
2587
|
+
"name": "foundationAccordion",
|
|
2588
|
+
"module": "src/accordion/accordion.ts"
|
|
2603
2589
|
}
|
|
2604
2590
|
}
|
|
2605
2591
|
]
|
|
2606
2592
|
},
|
|
2607
2593
|
{
|
|
2608
2594
|
"kind": "javascript-module",
|
|
2609
|
-
"path": "src/
|
|
2610
|
-
"declarations": [],
|
|
2611
|
-
"exports": [
|
|
2612
|
-
{
|
|
2613
|
-
"kind": "js",
|
|
2614
|
-
"name": "*",
|
|
2615
|
-
"declaration": {
|
|
2616
|
-
"name": "*",
|
|
2617
|
-
"package": "./actions-menu.styles"
|
|
2618
|
-
}
|
|
2619
|
-
},
|
|
2595
|
+
"path": "src/accordion/index.ts",
|
|
2596
|
+
"declarations": [],
|
|
2597
|
+
"exports": [
|
|
2620
2598
|
{
|
|
2621
2599
|
"kind": "js",
|
|
2622
2600
|
"name": "*",
|
|
2623
2601
|
"declaration": {
|
|
2624
2602
|
"name": "*",
|
|
2625
|
-
"package": "./
|
|
2603
|
+
"package": "./accordion.template"
|
|
2626
2604
|
}
|
|
2627
2605
|
},
|
|
2628
2606
|
{
|
|
@@ -2630,7 +2608,7 @@
|
|
|
2630
2608
|
"name": "*",
|
|
2631
2609
|
"declaration": {
|
|
2632
2610
|
"name": "*",
|
|
2633
|
-
"package": "./
|
|
2611
|
+
"package": "./accordion.styles"
|
|
2634
2612
|
}
|
|
2635
2613
|
},
|
|
2636
2614
|
{
|
|
@@ -2638,7 +2616,7 @@
|
|
|
2638
2616
|
"name": "*",
|
|
2639
2617
|
"declaration": {
|
|
2640
2618
|
"name": "*",
|
|
2641
|
-
"package": "./
|
|
2619
|
+
"package": "./accordion"
|
|
2642
2620
|
}
|
|
2643
2621
|
}
|
|
2644
2622
|
]
|
|
@@ -3703,27 +3681,44 @@
|
|
|
3703
3681
|
},
|
|
3704
3682
|
{
|
|
3705
3683
|
"kind": "javascript-module",
|
|
3706
|
-
"path": "src/
|
|
3684
|
+
"path": "src/_common/affix-mixin.ts",
|
|
3707
3685
|
"declarations": [
|
|
3708
3686
|
{
|
|
3709
|
-
"kind": "
|
|
3710
|
-
"
|
|
3711
|
-
"
|
|
3712
|
-
|
|
3713
|
-
"text": "ElementStyles"
|
|
3714
|
-
}
|
|
3715
|
-
},
|
|
3716
|
-
"parameters": [
|
|
3687
|
+
"kind": "mixin",
|
|
3688
|
+
"description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
|
|
3689
|
+
"name": "AffixMixin",
|
|
3690
|
+
"members": [
|
|
3717
3691
|
{
|
|
3718
|
-
"
|
|
3692
|
+
"kind": "field",
|
|
3693
|
+
"name": "prefix",
|
|
3719
3694
|
"type": {
|
|
3720
|
-
"text": "
|
|
3721
|
-
}
|
|
3695
|
+
"text": "string"
|
|
3696
|
+
},
|
|
3697
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
3722
3698
|
},
|
|
3723
3699
|
{
|
|
3724
|
-
"
|
|
3700
|
+
"kind": "field",
|
|
3701
|
+
"name": "suffix",
|
|
3725
3702
|
"type": {
|
|
3726
|
-
"text": "
|
|
3703
|
+
"text": "string"
|
|
3704
|
+
},
|
|
3705
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
3706
|
+
},
|
|
3707
|
+
{
|
|
3708
|
+
"kind": "field",
|
|
3709
|
+
"name": "hideAffixFromScreenReader",
|
|
3710
|
+
"type": {
|
|
3711
|
+
"text": "boolean"
|
|
3712
|
+
},
|
|
3713
|
+
"default": "false",
|
|
3714
|
+
"description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
|
|
3715
|
+
}
|
|
3716
|
+
],
|
|
3717
|
+
"parameters": [
|
|
3718
|
+
{
|
|
3719
|
+
"name": "Base",
|
|
3720
|
+
"type": {
|
|
3721
|
+
"text": "TBase"
|
|
3727
3722
|
}
|
|
3728
3723
|
}
|
|
3729
3724
|
]
|
|
@@ -3732,246 +3727,206 @@
|
|
|
3732
3727
|
"exports": [
|
|
3733
3728
|
{
|
|
3734
3729
|
"kind": "js",
|
|
3735
|
-
"name": "
|
|
3730
|
+
"name": "AffixMixin",
|
|
3736
3731
|
"declaration": {
|
|
3737
|
-
"name": "
|
|
3738
|
-
"module": "src/
|
|
3732
|
+
"name": "AffixMixin",
|
|
3733
|
+
"module": "src/_common/affix-mixin.ts"
|
|
3739
3734
|
}
|
|
3740
3735
|
}
|
|
3741
3736
|
]
|
|
3742
3737
|
},
|
|
3743
3738
|
{
|
|
3744
3739
|
"kind": "javascript-module",
|
|
3745
|
-
"path": "src/
|
|
3740
|
+
"path": "src/_common/alert-flash-clock.ts",
|
|
3746
3741
|
"declarations": [
|
|
3742
|
+
{
|
|
3743
|
+
"kind": "variable",
|
|
3744
|
+
"name": "alertFlashPhaseProperty",
|
|
3745
|
+
"type": {
|
|
3746
|
+
"text": "string"
|
|
3747
|
+
},
|
|
3748
|
+
"default": "'--alert-flash-t'",
|
|
3749
|
+
"description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
|
|
3750
|
+
"privacy": "public"
|
|
3751
|
+
},
|
|
3752
|
+
{
|
|
3753
|
+
"kind": "variable",
|
|
3754
|
+
"name": "alertFlashDurationProperty",
|
|
3755
|
+
"type": {
|
|
3756
|
+
"text": "string"
|
|
3757
|
+
},
|
|
3758
|
+
"default": "'--alert-flash-duration'",
|
|
3759
|
+
"description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
|
|
3760
|
+
"privacy": "public"
|
|
3761
|
+
},
|
|
3747
3762
|
{
|
|
3748
3763
|
"kind": "function",
|
|
3749
|
-
"name": "
|
|
3764
|
+
"name": "installAlertFlashClock",
|
|
3750
3765
|
"return": {
|
|
3751
3766
|
"type": {
|
|
3752
|
-
"text": "
|
|
3767
|
+
"text": "void"
|
|
3753
3768
|
}
|
|
3754
3769
|
},
|
|
3755
|
-
"
|
|
3756
|
-
|
|
3757
|
-
"name": "context",
|
|
3758
|
-
"type": {
|
|
3759
|
-
"text": "ElementDefinitionContext"
|
|
3760
|
-
}
|
|
3761
|
-
},
|
|
3762
|
-
{
|
|
3763
|
-
"name": "definition",
|
|
3764
|
-
"type": {
|
|
3765
|
-
"text": "FoundationElementDefinition"
|
|
3766
|
-
}
|
|
3767
|
-
}
|
|
3768
|
-
]
|
|
3770
|
+
"description": "Starts the document-level clock that alert flashes sample.\n\nSafe to call repeatedly and from any number of components — the first call does the work. Called\nautomatically by the components that flash, so apps only need this to start the clock earlier.\n\nDoes nothing where `CSS.registerProperty` or constructable stylesheets are unavailable, which\nleaves alerting surfaces on their static fallback colour rather than breaking them.",
|
|
3771
|
+
"privacy": "public"
|
|
3769
3772
|
}
|
|
3770
3773
|
],
|
|
3771
3774
|
"exports": [
|
|
3772
3775
|
{
|
|
3773
3776
|
"kind": "js",
|
|
3774
|
-
"name": "
|
|
3777
|
+
"name": "alertFlashPhaseProperty",
|
|
3775
3778
|
"declaration": {
|
|
3776
|
-
"name": "
|
|
3777
|
-
"module": "src/
|
|
3779
|
+
"name": "alertFlashPhaseProperty",
|
|
3780
|
+
"module": "src/_common/alert-flash-clock.ts"
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
{
|
|
3784
|
+
"kind": "js",
|
|
3785
|
+
"name": "alertFlashDurationProperty",
|
|
3786
|
+
"declaration": {
|
|
3787
|
+
"name": "alertFlashDurationProperty",
|
|
3788
|
+
"module": "src/_common/alert-flash-clock.ts"
|
|
3789
|
+
}
|
|
3790
|
+
},
|
|
3791
|
+
{
|
|
3792
|
+
"kind": "js",
|
|
3793
|
+
"name": "installAlertFlashClock",
|
|
3794
|
+
"declaration": {
|
|
3795
|
+
"name": "installAlertFlashClock",
|
|
3796
|
+
"module": "src/_common/alert-flash-clock.ts"
|
|
3778
3797
|
}
|
|
3779
3798
|
}
|
|
3780
3799
|
]
|
|
3781
3800
|
},
|
|
3782
3801
|
{
|
|
3783
3802
|
"kind": "javascript-module",
|
|
3784
|
-
"path": "src/
|
|
3803
|
+
"path": "src/_common/base-file-component.ts",
|
|
3785
3804
|
"declarations": [
|
|
3786
3805
|
{
|
|
3787
3806
|
"kind": "class",
|
|
3788
|
-
"description": "",
|
|
3789
|
-
"name": "
|
|
3790
|
-
"superclass": {
|
|
3791
|
-
"name": "FASTAccordion",
|
|
3792
|
-
"package": "@microsoft/fast-foundation"
|
|
3793
|
-
},
|
|
3794
|
-
"tagName": "%%prefix%%-accordion",
|
|
3795
|
-
"customElement": true,
|
|
3796
|
-
"attributes": [
|
|
3797
|
-
{
|
|
3798
|
-
"name": "expand-mode",
|
|
3799
|
-
"type": {
|
|
3800
|
-
"text": "AccordionExpandMode"
|
|
3801
|
-
},
|
|
3802
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3803
|
-
"fieldName": "expandmode",
|
|
3804
|
-
"inheritedFrom": {
|
|
3805
|
-
"name": "Accordion",
|
|
3806
|
-
"module": "src/accordion/accordion.ts"
|
|
3807
|
-
}
|
|
3808
|
-
}
|
|
3809
|
-
],
|
|
3807
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
3808
|
+
"name": "BaseFileComponent",
|
|
3810
3809
|
"members": [
|
|
3811
3810
|
{
|
|
3812
3811
|
"kind": "field",
|
|
3813
|
-
"name": "
|
|
3812
|
+
"name": "fileInput",
|
|
3814
3813
|
"type": {
|
|
3815
|
-
"text": "
|
|
3814
|
+
"text": "HTMLInputElement"
|
|
3816
3815
|
},
|
|
3817
|
-
"privacy": "public"
|
|
3818
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3819
|
-
"inheritedFrom": {
|
|
3820
|
-
"name": "Accordion",
|
|
3821
|
-
"module": "src/accordion/accordion.ts"
|
|
3822
|
-
}
|
|
3816
|
+
"privacy": "public"
|
|
3823
3817
|
},
|
|
3824
3818
|
{
|
|
3825
3819
|
"kind": "field",
|
|
3826
|
-
"name": "
|
|
3820
|
+
"name": "selectedFile",
|
|
3827
3821
|
"type": {
|
|
3828
|
-
"text": "
|
|
3822
|
+
"text": "File | null"
|
|
3829
3823
|
},
|
|
3830
|
-
"privacy": "
|
|
3831
|
-
"
|
|
3832
|
-
"name": "Accordion",
|
|
3833
|
-
"module": "src/accordion/accordion.ts"
|
|
3834
|
-
}
|
|
3824
|
+
"privacy": "protected",
|
|
3825
|
+
"default": "null"
|
|
3835
3826
|
},
|
|
3836
3827
|
{
|
|
3837
3828
|
"kind": "field",
|
|
3838
|
-
"name": "
|
|
3829
|
+
"name": "label",
|
|
3839
3830
|
"type": {
|
|
3840
|
-
"text": "
|
|
3841
|
-
},
|
|
3842
|
-
"privacy": "private",
|
|
3843
|
-
"default": "0",
|
|
3844
|
-
"inheritedFrom": {
|
|
3845
|
-
"name": "Accordion",
|
|
3846
|
-
"module": "src/accordion/accordion.ts"
|
|
3831
|
+
"text": "string"
|
|
3847
3832
|
}
|
|
3848
3833
|
},
|
|
3849
3834
|
{
|
|
3850
3835
|
"kind": "field",
|
|
3851
|
-
"name": "
|
|
3836
|
+
"name": "accept",
|
|
3852
3837
|
"type": {
|
|
3853
|
-
"text": "
|
|
3838
|
+
"text": "string"
|
|
3854
3839
|
},
|
|
3855
|
-
"
|
|
3856
|
-
"inheritedFrom": {
|
|
3857
|
-
"name": "Accordion",
|
|
3858
|
-
"module": "src/accordion/accordion.ts"
|
|
3859
|
-
}
|
|
3840
|
+
"default": "''"
|
|
3860
3841
|
},
|
|
3861
3842
|
{
|
|
3862
3843
|
"kind": "field",
|
|
3863
|
-
"name": "
|
|
3864
|
-
"
|
|
3865
|
-
"
|
|
3866
|
-
"
|
|
3867
|
-
"module": "src/accordion/accordion.ts"
|
|
3868
|
-
}
|
|
3869
|
-
},
|
|
3870
|
-
{
|
|
3871
|
-
"kind": "method",
|
|
3872
|
-
"name": "findExpandedItem",
|
|
3873
|
-
"privacy": "private",
|
|
3874
|
-
"return": {
|
|
3875
|
-
"type": {
|
|
3876
|
-
"text": "AccordionItem | null"
|
|
3877
|
-
}
|
|
3878
|
-
},
|
|
3879
|
-
"inheritedFrom": {
|
|
3880
|
-
"name": "Accordion",
|
|
3881
|
-
"module": "src/accordion/accordion.ts"
|
|
3844
|
+
"name": "fileSizeLimitBytes",
|
|
3845
|
+
"default": "10_485_760",
|
|
3846
|
+
"type": {
|
|
3847
|
+
"text": "number"
|
|
3882
3848
|
}
|
|
3883
3849
|
},
|
|
3884
3850
|
{
|
|
3885
3851
|
"kind": "field",
|
|
3886
|
-
"name": "
|
|
3887
|
-
"
|
|
3888
|
-
|
|
3889
|
-
"name": "Accordion",
|
|
3890
|
-
"module": "src/accordion/accordion.ts"
|
|
3891
|
-
}
|
|
3892
|
-
},
|
|
3893
|
-
{
|
|
3894
|
-
"kind": "method",
|
|
3895
|
-
"name": "resetItems",
|
|
3896
|
-
"privacy": "private",
|
|
3897
|
-
"return": {
|
|
3898
|
-
"type": {
|
|
3899
|
-
"text": "void"
|
|
3900
|
-
}
|
|
3852
|
+
"name": "fileName",
|
|
3853
|
+
"type": {
|
|
3854
|
+
"text": "string"
|
|
3901
3855
|
},
|
|
3902
|
-
"
|
|
3903
|
-
"name": "Accordion",
|
|
3904
|
-
"module": "src/accordion/accordion.ts"
|
|
3905
|
-
}
|
|
3856
|
+
"default": "''"
|
|
3906
3857
|
},
|
|
3907
3858
|
{
|
|
3908
3859
|
"kind": "field",
|
|
3909
|
-
"name": "
|
|
3910
|
-
"
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
}
|
|
3860
|
+
"name": "isProcessing",
|
|
3861
|
+
"type": {
|
|
3862
|
+
"text": "boolean"
|
|
3863
|
+
},
|
|
3864
|
+
"default": "false"
|
|
3915
3865
|
},
|
|
3916
|
-
{
|
|
3917
|
-
"kind": "
|
|
3918
|
-
"name": "
|
|
3919
|
-
"privacy": "
|
|
3920
|
-
"
|
|
3921
|
-
"name": "Accordion",
|
|
3922
|
-
"module": "src/accordion/accordion.ts"
|
|
3923
|
-
}
|
|
3866
|
+
{
|
|
3867
|
+
"kind": "method",
|
|
3868
|
+
"name": "handleClick",
|
|
3869
|
+
"privacy": "public",
|
|
3870
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
3924
3871
|
},
|
|
3925
3872
|
{
|
|
3926
3873
|
"kind": "method",
|
|
3927
|
-
"name": "
|
|
3928
|
-
"privacy": "
|
|
3929
|
-
"
|
|
3930
|
-
|
|
3931
|
-
"
|
|
3874
|
+
"name": "onInputChange",
|
|
3875
|
+
"privacy": "public",
|
|
3876
|
+
"parameters": [
|
|
3877
|
+
{
|
|
3878
|
+
"name": "e",
|
|
3879
|
+
"type": {
|
|
3880
|
+
"text": "Event"
|
|
3881
|
+
},
|
|
3882
|
+
"description": "The change event from the file input"
|
|
3932
3883
|
}
|
|
3933
|
-
|
|
3934
|
-
"
|
|
3935
|
-
"name": "Accordion",
|
|
3936
|
-
"module": "src/accordion/accordion.ts"
|
|
3937
|
-
}
|
|
3884
|
+
],
|
|
3885
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
3938
3886
|
},
|
|
3939
3887
|
{
|
|
3940
3888
|
"kind": "method",
|
|
3941
|
-
"name": "
|
|
3942
|
-
"privacy": "
|
|
3889
|
+
"name": "clearSelection",
|
|
3890
|
+
"privacy": "public",
|
|
3891
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
3892
|
+
},
|
|
3893
|
+
{
|
|
3894
|
+
"kind": "method",
|
|
3895
|
+
"name": "getSelectedFile",
|
|
3896
|
+
"privacy": "public",
|
|
3897
|
+
"description": "Gets the currently selected file object",
|
|
3943
3898
|
"return": {
|
|
3944
3899
|
"type": {
|
|
3945
|
-
"text": "
|
|
3900
|
+
"text": ""
|
|
3946
3901
|
}
|
|
3947
|
-
},
|
|
3948
|
-
"inheritedFrom": {
|
|
3949
|
-
"name": "Accordion",
|
|
3950
|
-
"module": "src/accordion/accordion.ts"
|
|
3951
|
-
}
|
|
3952
|
-
},
|
|
3953
|
-
{
|
|
3954
|
-
"kind": "field",
|
|
3955
|
-
"name": "handleItemKeyDown",
|
|
3956
|
-
"privacy": "private",
|
|
3957
|
-
"inheritedFrom": {
|
|
3958
|
-
"name": "Accordion",
|
|
3959
|
-
"module": "src/accordion/accordion.ts"
|
|
3960
3902
|
}
|
|
3961
3903
|
},
|
|
3962
3904
|
{
|
|
3963
|
-
"kind": "
|
|
3964
|
-
"name": "
|
|
3965
|
-
"privacy": "
|
|
3966
|
-
"
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3905
|
+
"kind": "method",
|
|
3906
|
+
"name": "showError",
|
|
3907
|
+
"privacy": "protected",
|
|
3908
|
+
"parameters": [
|
|
3909
|
+
{
|
|
3910
|
+
"name": "title",
|
|
3911
|
+
"type": {
|
|
3912
|
+
"text": "string"
|
|
3913
|
+
},
|
|
3914
|
+
"description": "The error title"
|
|
3915
|
+
},
|
|
3916
|
+
{
|
|
3917
|
+
"name": "message",
|
|
3918
|
+
"type": {
|
|
3919
|
+
"text": "string"
|
|
3920
|
+
},
|
|
3921
|
+
"description": "The error message"
|
|
3922
|
+
}
|
|
3923
|
+
],
|
|
3924
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
3970
3925
|
},
|
|
3971
3926
|
{
|
|
3972
3927
|
"kind": "method",
|
|
3973
|
-
"name": "
|
|
3974
|
-
"privacy": "
|
|
3928
|
+
"name": "onFileSelected",
|
|
3929
|
+
"privacy": "protected",
|
|
3975
3930
|
"return": {
|
|
3976
3931
|
"type": {
|
|
3977
3932
|
"text": "void"
|
|
@@ -3979,30 +3934,25 @@
|
|
|
3979
3934
|
},
|
|
3980
3935
|
"parameters": [
|
|
3981
3936
|
{
|
|
3982
|
-
"name": "
|
|
3937
|
+
"name": "files",
|
|
3983
3938
|
"type": {
|
|
3984
|
-
"text": "
|
|
3985
|
-
}
|
|
3939
|
+
"text": "File[]"
|
|
3940
|
+
},
|
|
3941
|
+
"description": "The selected file"
|
|
3986
3942
|
}
|
|
3987
3943
|
],
|
|
3988
|
-
"
|
|
3989
|
-
"name": "Accordion",
|
|
3990
|
-
"module": "src/accordion/accordion.ts"
|
|
3991
|
-
}
|
|
3944
|
+
"description": "Abstract method called when a file is selected"
|
|
3992
3945
|
},
|
|
3993
3946
|
{
|
|
3994
3947
|
"kind": "method",
|
|
3995
|
-
"name": "
|
|
3996
|
-
"privacy": "
|
|
3948
|
+
"name": "onFileCleared",
|
|
3949
|
+
"privacy": "protected",
|
|
3997
3950
|
"return": {
|
|
3998
3951
|
"type": {
|
|
3999
3952
|
"text": "void"
|
|
4000
3953
|
}
|
|
4001
3954
|
},
|
|
4002
|
-
"
|
|
4003
|
-
"name": "Accordion",
|
|
4004
|
-
"module": "src/accordion/accordion.ts"
|
|
4005
|
-
}
|
|
3955
|
+
"description": "Abstract method called when file selection is cleared"
|
|
4006
3956
|
},
|
|
4007
3957
|
{
|
|
4008
3958
|
"kind": "field",
|
|
@@ -4118,76 +4068,110 @@
|
|
|
4118
4068
|
],
|
|
4119
4069
|
"events": [
|
|
4120
4070
|
{
|
|
4121
|
-
"description": "
|
|
4122
|
-
"name": "
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4071
|
+
"description": "Fired when file size validation fails. detail: `Error`",
|
|
4072
|
+
"name": "error"
|
|
4073
|
+
},
|
|
4074
|
+
{
|
|
4075
|
+
"description": "Fired when selection is cleared",
|
|
4076
|
+
"name": "clear"
|
|
4127
4077
|
}
|
|
4128
|
-
]
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4078
|
+
],
|
|
4079
|
+
"attributes": [
|
|
4080
|
+
{
|
|
4081
|
+
"name": "label",
|
|
4082
|
+
"type": {
|
|
4083
|
+
"text": "string"
|
|
4084
|
+
},
|
|
4085
|
+
"fieldName": "label"
|
|
4086
|
+
},
|
|
4087
|
+
{
|
|
4088
|
+
"name": "accept",
|
|
4089
|
+
"type": {
|
|
4090
|
+
"text": "string"
|
|
4091
|
+
},
|
|
4092
|
+
"default": "''",
|
|
4093
|
+
"fieldName": "accept"
|
|
4094
|
+
},
|
|
4095
|
+
{
|
|
4096
|
+
"name": "file-size-limit-bytes",
|
|
4097
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
4098
|
+
"resolveInitializer": {
|
|
4099
|
+
"module": "src/_common/base-file-component.ts"
|
|
4100
|
+
},
|
|
4101
|
+
"fieldName": "fileSizeLimitBytes"
|
|
4102
|
+
}
|
|
4103
|
+
],
|
|
4104
|
+
"superclass": {
|
|
4105
|
+
"name": "FoundationElement",
|
|
4106
|
+
"package": "@microsoft/fast-foundation"
|
|
4107
|
+
}
|
|
4151
4108
|
}
|
|
4152
4109
|
],
|
|
4153
4110
|
"exports": [
|
|
4154
4111
|
{
|
|
4155
4112
|
"kind": "js",
|
|
4156
|
-
"name": "
|
|
4113
|
+
"name": "BaseFileComponent",
|
|
4157
4114
|
"declaration": {
|
|
4158
|
-
"name": "
|
|
4159
|
-
"module": "src/
|
|
4115
|
+
"name": "BaseFileComponent",
|
|
4116
|
+
"module": "src/_common/base-file-component.ts"
|
|
4160
4117
|
}
|
|
4161
|
-
}
|
|
4118
|
+
}
|
|
4119
|
+
]
|
|
4120
|
+
},
|
|
4121
|
+
{
|
|
4122
|
+
"kind": "javascript-module",
|
|
4123
|
+
"path": "src/_common/field-styles.ts",
|
|
4124
|
+
"declarations": [
|
|
4162
4125
|
{
|
|
4163
|
-
"kind": "
|
|
4164
|
-
"name": "
|
|
4165
|
-
"
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
},
|
|
4126
|
+
"kind": "variable",
|
|
4127
|
+
"name": "sharedFieldStyles",
|
|
4128
|
+
"default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
|
|
4129
|
+
}
|
|
4130
|
+
],
|
|
4131
|
+
"exports": [
|
|
4170
4132
|
{
|
|
4171
4133
|
"kind": "js",
|
|
4172
|
-
"name": "
|
|
4134
|
+
"name": "sharedFieldStyles",
|
|
4173
4135
|
"declaration": {
|
|
4174
|
-
"name": "
|
|
4175
|
-
"module": "src/
|
|
4136
|
+
"name": "sharedFieldStyles",
|
|
4137
|
+
"module": "src/_common/field-styles.ts"
|
|
4176
4138
|
}
|
|
4177
|
-
}
|
|
4139
|
+
}
|
|
4140
|
+
]
|
|
4141
|
+
},
|
|
4142
|
+
{
|
|
4143
|
+
"kind": "javascript-module",
|
|
4144
|
+
"path": "src/_common/icons.ts",
|
|
4145
|
+
"declarations": [
|
|
4146
|
+
{
|
|
4147
|
+
"kind": "function",
|
|
4148
|
+
"name": "closeIcon",
|
|
4149
|
+
"parameters": [
|
|
4150
|
+
{
|
|
4151
|
+
"name": "slot",
|
|
4152
|
+
"default": "'start'"
|
|
4153
|
+
},
|
|
4154
|
+
{
|
|
4155
|
+
"name": "fill",
|
|
4156
|
+
"default": "'#879ba6'"
|
|
4157
|
+
}
|
|
4158
|
+
]
|
|
4159
|
+
}
|
|
4160
|
+
],
|
|
4161
|
+
"exports": [
|
|
4178
4162
|
{
|
|
4179
4163
|
"kind": "js",
|
|
4180
|
-
"name": "
|
|
4164
|
+
"name": "closeIcon",
|
|
4181
4165
|
"declaration": {
|
|
4182
|
-
"name": "
|
|
4183
|
-
"module": "src/
|
|
4166
|
+
"name": "closeIcon",
|
|
4167
|
+
"module": "src/_common/icons.ts"
|
|
4184
4168
|
}
|
|
4185
4169
|
}
|
|
4186
4170
|
]
|
|
4187
4171
|
},
|
|
4188
4172
|
{
|
|
4189
4173
|
"kind": "javascript-module",
|
|
4190
|
-
"path": "src/
|
|
4174
|
+
"path": "src/_common/index.ts",
|
|
4191
4175
|
"declarations": [],
|
|
4192
4176
|
"exports": [
|
|
4193
4177
|
{
|
|
@@ -4195,7 +4179,7 @@
|
|
|
4195
4179
|
"name": "*",
|
|
4196
4180
|
"declaration": {
|
|
4197
4181
|
"name": "*",
|
|
4198
|
-
"package": "./
|
|
4182
|
+
"package": "./affix-mixin"
|
|
4199
4183
|
}
|
|
4200
4184
|
},
|
|
4201
4185
|
{
|
|
@@ -4203,7 +4187,7 @@
|
|
|
4203
4187
|
"name": "*",
|
|
4204
4188
|
"declaration": {
|
|
4205
4189
|
"name": "*",
|
|
4206
|
-
"package": "./
|
|
4190
|
+
"package": "./alert-flash-clock"
|
|
4207
4191
|
}
|
|
4208
4192
|
},
|
|
4209
4193
|
{
|
|
@@ -4211,7 +4195,23 @@
|
|
|
4211
4195
|
"name": "*",
|
|
4212
4196
|
"declaration": {
|
|
4213
4197
|
"name": "*",
|
|
4214
|
-
"package": "./
|
|
4198
|
+
"package": "./base-file-component"
|
|
4199
|
+
}
|
|
4200
|
+
},
|
|
4201
|
+
{
|
|
4202
|
+
"kind": "js",
|
|
4203
|
+
"name": "*",
|
|
4204
|
+
"declaration": {
|
|
4205
|
+
"name": "*",
|
|
4206
|
+
"package": "./field-styles"
|
|
4207
|
+
}
|
|
4208
|
+
},
|
|
4209
|
+
{
|
|
4210
|
+
"kind": "js",
|
|
4211
|
+
"name": "*",
|
|
4212
|
+
"declaration": {
|
|
4213
|
+
"name": "*",
|
|
4214
|
+
"package": "./icons"
|
|
4215
4215
|
}
|
|
4216
4216
|
}
|
|
4217
4217
|
]
|