@genesislcap/foundation-ui 14.476.0 → 14.476.1-alpha-58615db.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +706 -706
- package/dist/dts/react.d.ts +8 -8
- package/dist/react.cjs +5 -5
- package/dist/react.mjs +4 -4
- package/package.json +19 -19
|
@@ -934,66 +934,44 @@
|
|
|
934
934
|
},
|
|
935
935
|
{
|
|
936
936
|
"kind": "javascript-module",
|
|
937
|
-
"path": "src/
|
|
937
|
+
"path": "src/_common/affix-mixin.ts",
|
|
938
938
|
"declarations": [
|
|
939
939
|
{
|
|
940
|
-
"kind": "
|
|
941
|
-
"
|
|
942
|
-
"
|
|
943
|
-
|
|
944
|
-
"text": "ElementStyles"
|
|
945
|
-
}
|
|
946
|
-
},
|
|
947
|
-
"parameters": [
|
|
940
|
+
"kind": "mixin",
|
|
941
|
+
"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.",
|
|
942
|
+
"name": "AffixMixin",
|
|
943
|
+
"members": [
|
|
948
944
|
{
|
|
949
|
-
"
|
|
945
|
+
"kind": "field",
|
|
946
|
+
"name": "prefix",
|
|
950
947
|
"type": {
|
|
951
|
-
"text": "
|
|
952
|
-
}
|
|
948
|
+
"text": "string"
|
|
949
|
+
},
|
|
950
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
953
951
|
},
|
|
954
952
|
{
|
|
955
|
-
"
|
|
953
|
+
"kind": "field",
|
|
954
|
+
"name": "suffix",
|
|
956
955
|
"type": {
|
|
957
|
-
"text": "
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
}
|
|
962
|
-
],
|
|
963
|
-
"exports": [
|
|
964
|
-
{
|
|
965
|
-
"kind": "js",
|
|
966
|
-
"name": "foundationAccordionItemStyles",
|
|
967
|
-
"declaration": {
|
|
968
|
-
"name": "foundationAccordionItemStyles",
|
|
969
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
970
|
-
}
|
|
971
|
-
}
|
|
972
|
-
]
|
|
973
|
-
},
|
|
974
|
-
{
|
|
975
|
-
"kind": "javascript-module",
|
|
976
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
977
|
-
"declarations": [
|
|
978
|
-
{
|
|
979
|
-
"kind": "function",
|
|
980
|
-
"name": "foundationAccordionItemTemplate",
|
|
981
|
-
"return": {
|
|
982
|
-
"type": {
|
|
983
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
984
|
-
}
|
|
985
|
-
},
|
|
986
|
-
"parameters": [
|
|
956
|
+
"text": "string"
|
|
957
|
+
},
|
|
958
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
959
|
+
},
|
|
987
960
|
{
|
|
988
|
-
"
|
|
961
|
+
"kind": "field",
|
|
962
|
+
"name": "hideAffixFromScreenReader",
|
|
989
963
|
"type": {
|
|
990
|
-
"text": "
|
|
991
|
-
}
|
|
992
|
-
|
|
964
|
+
"text": "boolean"
|
|
965
|
+
},
|
|
966
|
+
"default": "false",
|
|
967
|
+
"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."
|
|
968
|
+
}
|
|
969
|
+
],
|
|
970
|
+
"parameters": [
|
|
993
971
|
{
|
|
994
|
-
"name": "
|
|
972
|
+
"name": "Base",
|
|
995
973
|
"type": {
|
|
996
|
-
"text": "
|
|
974
|
+
"text": "TBase"
|
|
997
975
|
}
|
|
998
976
|
}
|
|
999
977
|
]
|
|
@@ -1002,195 +980,247 @@
|
|
|
1002
980
|
"exports": [
|
|
1003
981
|
{
|
|
1004
982
|
"kind": "js",
|
|
1005
|
-
"name": "
|
|
983
|
+
"name": "AffixMixin",
|
|
1006
984
|
"declaration": {
|
|
1007
|
-
"name": "
|
|
1008
|
-
"module": "src/
|
|
985
|
+
"name": "AffixMixin",
|
|
986
|
+
"module": "src/_common/affix-mixin.ts"
|
|
1009
987
|
}
|
|
1010
988
|
}
|
|
1011
989
|
]
|
|
1012
990
|
},
|
|
1013
991
|
{
|
|
1014
992
|
"kind": "javascript-module",
|
|
1015
|
-
"path": "src/
|
|
993
|
+
"path": "src/_common/base-file-component.ts",
|
|
1016
994
|
"declarations": [
|
|
1017
995
|
{
|
|
1018
996
|
"kind": "class",
|
|
1019
|
-
"description": "",
|
|
1020
|
-
"name": "
|
|
1021
|
-
"
|
|
1022
|
-
"name": "FASTAccordionItem",
|
|
1023
|
-
"package": "@microsoft/fast-components"
|
|
1024
|
-
},
|
|
1025
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1026
|
-
"customElement": true,
|
|
1027
|
-
"attributes": [
|
|
1028
|
-
{
|
|
1029
|
-
"name": "heading-level",
|
|
1030
|
-
"type": {
|
|
1031
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1032
|
-
},
|
|
1033
|
-
"default": "2",
|
|
1034
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1035
|
-
"fieldName": "headinglevel",
|
|
1036
|
-
"inheritedFrom": {
|
|
1037
|
-
"name": "AccordionItem",
|
|
1038
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1039
|
-
}
|
|
1040
|
-
},
|
|
997
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
998
|
+
"name": "BaseFileComponent",
|
|
999
|
+
"members": [
|
|
1041
1000
|
{
|
|
1001
|
+
"kind": "field",
|
|
1002
|
+
"name": "fileInput",
|
|
1042
1003
|
"type": {
|
|
1043
|
-
"text": "
|
|
1004
|
+
"text": "HTMLInputElement"
|
|
1044
1005
|
},
|
|
1045
|
-
"
|
|
1046
|
-
"description": "Expands or collapses the item.",
|
|
1047
|
-
"fieldName": "expanded",
|
|
1048
|
-
"inheritedFrom": {
|
|
1049
|
-
"name": "AccordionItem",
|
|
1050
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1051
|
-
}
|
|
1006
|
+
"privacy": "public"
|
|
1052
1007
|
},
|
|
1053
|
-
{
|
|
1054
|
-
"name": "id",
|
|
1055
|
-
"type": {
|
|
1056
|
-
"text": "string"
|
|
1057
|
-
},
|
|
1058
|
-
"description": "The item ID",
|
|
1059
|
-
"fieldName": "id",
|
|
1060
|
-
"inheritedFrom": {
|
|
1061
|
-
"name": "AccordionItem",
|
|
1062
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
],
|
|
1066
|
-
"members": [
|
|
1067
1008
|
{
|
|
1068
1009
|
"kind": "field",
|
|
1069
|
-
"name": "
|
|
1010
|
+
"name": "selectedFile",
|
|
1070
1011
|
"type": {
|
|
1071
|
-
"text": "
|
|
1012
|
+
"text": "File | null"
|
|
1072
1013
|
},
|
|
1073
|
-
"privacy": "
|
|
1074
|
-
"default": "
|
|
1075
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1076
|
-
"inheritedFrom": {
|
|
1077
|
-
"name": "AccordionItem",
|
|
1078
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1079
|
-
}
|
|
1014
|
+
"privacy": "protected",
|
|
1015
|
+
"default": "null"
|
|
1080
1016
|
},
|
|
1081
1017
|
{
|
|
1082
1018
|
"kind": "field",
|
|
1083
|
-
"name": "
|
|
1019
|
+
"name": "label",
|
|
1084
1020
|
"type": {
|
|
1085
|
-
"text": "
|
|
1086
|
-
},
|
|
1087
|
-
"privacy": "public",
|
|
1088
|
-
"default": "false",
|
|
1089
|
-
"description": "Expands or collapses the item.",
|
|
1090
|
-
"inheritedFrom": {
|
|
1091
|
-
"name": "AccordionItem",
|
|
1092
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1021
|
+
"text": "string"
|
|
1093
1022
|
}
|
|
1094
1023
|
},
|
|
1095
1024
|
{
|
|
1096
1025
|
"kind": "field",
|
|
1097
|
-
"name": "
|
|
1026
|
+
"name": "accept",
|
|
1098
1027
|
"type": {
|
|
1099
1028
|
"text": "string"
|
|
1100
1029
|
},
|
|
1101
|
-
"
|
|
1102
|
-
"description": "The item ID",
|
|
1103
|
-
"inheritedFrom": {
|
|
1104
|
-
"name": "AccordionItem",
|
|
1105
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1106
|
-
}
|
|
1030
|
+
"default": "''"
|
|
1107
1031
|
},
|
|
1108
1032
|
{
|
|
1109
1033
|
"kind": "field",
|
|
1110
|
-
"name": "
|
|
1111
|
-
"
|
|
1112
|
-
"
|
|
1113
|
-
"
|
|
1114
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1034
|
+
"name": "fileSizeLimitBytes",
|
|
1035
|
+
"default": "10_485_760",
|
|
1036
|
+
"type": {
|
|
1037
|
+
"text": "number"
|
|
1115
1038
|
}
|
|
1116
1039
|
},
|
|
1117
1040
|
{
|
|
1118
1041
|
"kind": "field",
|
|
1119
|
-
"name": "
|
|
1042
|
+
"name": "fileName",
|
|
1120
1043
|
"type": {
|
|
1121
|
-
"text": "
|
|
1044
|
+
"text": "string"
|
|
1122
1045
|
},
|
|
1123
|
-
"
|
|
1124
|
-
"default": "void 0",
|
|
1125
|
-
"inheritedFrom": {
|
|
1126
|
-
"name": "FoundationElement",
|
|
1127
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1128
|
-
}
|
|
1046
|
+
"default": "''"
|
|
1129
1047
|
},
|
|
1130
1048
|
{
|
|
1131
1049
|
"kind": "field",
|
|
1132
|
-
"name": "
|
|
1050
|
+
"name": "isProcessing",
|
|
1133
1051
|
"type": {
|
|
1134
|
-
"text": "
|
|
1052
|
+
"text": "boolean"
|
|
1135
1053
|
},
|
|
1136
|
-
"
|
|
1137
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1138
|
-
"inheritedFrom": {
|
|
1139
|
-
"name": "FoundationElement",
|
|
1140
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1141
|
-
}
|
|
1054
|
+
"default": "false"
|
|
1142
1055
|
},
|
|
1143
1056
|
{
|
|
1144
|
-
"kind": "
|
|
1145
|
-
"name": "
|
|
1146
|
-
"type": {
|
|
1147
|
-
"text": "ElementViewTemplate | void | null"
|
|
1148
|
-
},
|
|
1057
|
+
"kind": "method",
|
|
1058
|
+
"name": "handleClick",
|
|
1149
1059
|
"privacy": "public",
|
|
1150
|
-
"description": "
|
|
1151
|
-
"inheritedFrom": {
|
|
1152
|
-
"name": "FoundationElement",
|
|
1153
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1154
|
-
}
|
|
1060
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1155
1061
|
},
|
|
1156
1062
|
{
|
|
1157
1063
|
"kind": "method",
|
|
1158
|
-
"name": "
|
|
1159
|
-
"privacy": "
|
|
1160
|
-
"
|
|
1161
|
-
|
|
1162
|
-
"
|
|
1064
|
+
"name": "onInputChange",
|
|
1065
|
+
"privacy": "public",
|
|
1066
|
+
"parameters": [
|
|
1067
|
+
{
|
|
1068
|
+
"name": "e",
|
|
1069
|
+
"type": {
|
|
1070
|
+
"text": "Event"
|
|
1071
|
+
},
|
|
1072
|
+
"description": "The change event from the file input"
|
|
1163
1073
|
}
|
|
1164
|
-
|
|
1165
|
-
"
|
|
1166
|
-
"name": "FoundationElement",
|
|
1167
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1168
|
-
}
|
|
1074
|
+
],
|
|
1075
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1169
1076
|
},
|
|
1170
1077
|
{
|
|
1171
|
-
"kind": "
|
|
1172
|
-
"name": "
|
|
1173
|
-
"type": {
|
|
1174
|
-
"text": "ElementStyles | void | null"
|
|
1175
|
-
},
|
|
1078
|
+
"kind": "method",
|
|
1079
|
+
"name": "clearSelection",
|
|
1176
1080
|
"privacy": "public",
|
|
1177
|
-
"description": "
|
|
1178
|
-
"inheritedFrom": {
|
|
1179
|
-
"name": "FoundationElement",
|
|
1180
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1181
|
-
}
|
|
1081
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1182
1082
|
},
|
|
1183
1083
|
{
|
|
1184
1084
|
"kind": "method",
|
|
1185
|
-
"name": "
|
|
1186
|
-
"privacy": "
|
|
1085
|
+
"name": "getSelectedFile",
|
|
1086
|
+
"privacy": "public",
|
|
1087
|
+
"description": "Gets the currently selected file object",
|
|
1187
1088
|
"return": {
|
|
1188
1089
|
"type": {
|
|
1189
|
-
"text": "
|
|
1090
|
+
"text": ""
|
|
1190
1091
|
}
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"kind": "method",
|
|
1096
|
+
"name": "showError",
|
|
1097
|
+
"privacy": "protected",
|
|
1098
|
+
"parameters": [
|
|
1099
|
+
{
|
|
1100
|
+
"name": "title",
|
|
1101
|
+
"type": {
|
|
1102
|
+
"text": "string"
|
|
1103
|
+
},
|
|
1104
|
+
"description": "The error title"
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"name": "message",
|
|
1108
|
+
"type": {
|
|
1109
|
+
"text": "string"
|
|
1110
|
+
},
|
|
1111
|
+
"description": "The error message"
|
|
1112
|
+
}
|
|
1113
|
+
],
|
|
1114
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"kind": "method",
|
|
1118
|
+
"name": "onFileSelected",
|
|
1119
|
+
"privacy": "protected",
|
|
1120
|
+
"return": {
|
|
1121
|
+
"type": {
|
|
1122
|
+
"text": "void"
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
"parameters": [
|
|
1126
|
+
{
|
|
1127
|
+
"name": "files",
|
|
1128
|
+
"type": {
|
|
1129
|
+
"text": "File[]"
|
|
1130
|
+
},
|
|
1131
|
+
"description": "The selected file"
|
|
1132
|
+
}
|
|
1133
|
+
],
|
|
1134
|
+
"description": "Abstract method called when a file is selected"
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"kind": "method",
|
|
1138
|
+
"name": "onFileCleared",
|
|
1139
|
+
"privacy": "protected",
|
|
1140
|
+
"return": {
|
|
1141
|
+
"type": {
|
|
1142
|
+
"text": "void"
|
|
1143
|
+
}
|
|
1144
|
+
},
|
|
1145
|
+
"description": "Abstract method called when file selection is cleared"
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"kind": "field",
|
|
1149
|
+
"name": "_presentation",
|
|
1150
|
+
"type": {
|
|
1151
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1152
|
+
},
|
|
1153
|
+
"privacy": "private",
|
|
1154
|
+
"default": "void 0",
|
|
1155
|
+
"inheritedFrom": {
|
|
1156
|
+
"name": "FoundationElement",
|
|
1157
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"kind": "field",
|
|
1162
|
+
"name": "$presentation",
|
|
1163
|
+
"type": {
|
|
1164
|
+
"text": "ComponentPresentation | null"
|
|
1165
|
+
},
|
|
1166
|
+
"privacy": "public",
|
|
1167
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1168
|
+
"inheritedFrom": {
|
|
1169
|
+
"name": "FoundationElement",
|
|
1170
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1171
|
+
}
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"kind": "field",
|
|
1175
|
+
"name": "template",
|
|
1176
|
+
"type": {
|
|
1177
|
+
"text": "ElementViewTemplate | void | null"
|
|
1178
|
+
},
|
|
1179
|
+
"privacy": "public",
|
|
1180
|
+
"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.",
|
|
1181
|
+
"inheritedFrom": {
|
|
1182
|
+
"name": "FoundationElement",
|
|
1183
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"kind": "method",
|
|
1188
|
+
"name": "templateChanged",
|
|
1189
|
+
"privacy": "protected",
|
|
1190
|
+
"return": {
|
|
1191
|
+
"type": {
|
|
1192
|
+
"text": "void"
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1195
|
+
"inheritedFrom": {
|
|
1196
|
+
"name": "FoundationElement",
|
|
1197
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1198
|
+
}
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"kind": "field",
|
|
1202
|
+
"name": "styles",
|
|
1203
|
+
"type": {
|
|
1204
|
+
"text": "ElementStyles | void | null"
|
|
1205
|
+
},
|
|
1206
|
+
"privacy": "public",
|
|
1207
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1208
|
+
"inheritedFrom": {
|
|
1209
|
+
"name": "FoundationElement",
|
|
1210
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"kind": "method",
|
|
1215
|
+
"name": "stylesChanged",
|
|
1216
|
+
"privacy": "protected",
|
|
1217
|
+
"return": {
|
|
1218
|
+
"type": {
|
|
1219
|
+
"text": "void"
|
|
1220
|
+
}
|
|
1221
|
+
},
|
|
1222
|
+
"inheritedFrom": {
|
|
1223
|
+
"name": "FoundationElement",
|
|
1194
1224
|
"module": "src/foundation-element/foundation-element.ts"
|
|
1195
1225
|
}
|
|
1196
1226
|
},
|
|
@@ -1228,76 +1258,110 @@
|
|
|
1228
1258
|
],
|
|
1229
1259
|
"events": [
|
|
1230
1260
|
{
|
|
1231
|
-
"description": "
|
|
1232
|
-
"name": "
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1261
|
+
"description": "Fired when file size validation fails",
|
|
1262
|
+
"name": "error"
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"description": "Fired when selection is cleared",
|
|
1266
|
+
"name": "clear"
|
|
1237
1267
|
}
|
|
1238
|
-
]
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1268
|
+
],
|
|
1269
|
+
"attributes": [
|
|
1270
|
+
{
|
|
1271
|
+
"name": "label",
|
|
1272
|
+
"type": {
|
|
1273
|
+
"text": "string"
|
|
1274
|
+
},
|
|
1275
|
+
"fieldName": "label"
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
"name": "accept",
|
|
1279
|
+
"type": {
|
|
1280
|
+
"text": "string"
|
|
1281
|
+
},
|
|
1282
|
+
"default": "''",
|
|
1283
|
+
"fieldName": "accept"
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"name": "file-size-limit-bytes",
|
|
1287
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1288
|
+
"resolveInitializer": {
|
|
1289
|
+
"module": "src/_common/base-file-component.ts"
|
|
1290
|
+
},
|
|
1291
|
+
"fieldName": "fileSizeLimitBytes"
|
|
1292
|
+
}
|
|
1293
|
+
],
|
|
1294
|
+
"superclass": {
|
|
1295
|
+
"name": "FoundationElement",
|
|
1296
|
+
"package": "@microsoft/fast-foundation"
|
|
1297
|
+
}
|
|
1261
1298
|
}
|
|
1262
1299
|
],
|
|
1263
1300
|
"exports": [
|
|
1264
1301
|
{
|
|
1265
1302
|
"kind": "js",
|
|
1266
|
-
"name": "
|
|
1303
|
+
"name": "BaseFileComponent",
|
|
1267
1304
|
"declaration": {
|
|
1268
|
-
"name": "
|
|
1269
|
-
"module": "src/
|
|
1305
|
+
"name": "BaseFileComponent",
|
|
1306
|
+
"module": "src/_common/base-file-component.ts"
|
|
1270
1307
|
}
|
|
1271
|
-
}
|
|
1308
|
+
}
|
|
1309
|
+
]
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"kind": "javascript-module",
|
|
1313
|
+
"path": "src/_common/field-styles.ts",
|
|
1314
|
+
"declarations": [
|
|
1272
1315
|
{
|
|
1273
|
-
"kind": "
|
|
1274
|
-
"name": "
|
|
1275
|
-
"
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
},
|
|
1316
|
+
"kind": "variable",
|
|
1317
|
+
"name": "sharedFieldStyles",
|
|
1318
|
+
"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`"
|
|
1319
|
+
}
|
|
1320
|
+
],
|
|
1321
|
+
"exports": [
|
|
1280
1322
|
{
|
|
1281
1323
|
"kind": "js",
|
|
1282
|
-
"name": "
|
|
1324
|
+
"name": "sharedFieldStyles",
|
|
1283
1325
|
"declaration": {
|
|
1284
|
-
"name": "
|
|
1285
|
-
"module": "src/
|
|
1326
|
+
"name": "sharedFieldStyles",
|
|
1327
|
+
"module": "src/_common/field-styles.ts"
|
|
1286
1328
|
}
|
|
1287
|
-
}
|
|
1329
|
+
}
|
|
1330
|
+
]
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"kind": "javascript-module",
|
|
1334
|
+
"path": "src/_common/icons.ts",
|
|
1335
|
+
"declarations": [
|
|
1336
|
+
{
|
|
1337
|
+
"kind": "function",
|
|
1338
|
+
"name": "closeIcon",
|
|
1339
|
+
"parameters": [
|
|
1340
|
+
{
|
|
1341
|
+
"name": "slot",
|
|
1342
|
+
"default": "'start'"
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"name": "fill",
|
|
1346
|
+
"default": "'#879ba6'"
|
|
1347
|
+
}
|
|
1348
|
+
]
|
|
1349
|
+
}
|
|
1350
|
+
],
|
|
1351
|
+
"exports": [
|
|
1288
1352
|
{
|
|
1289
1353
|
"kind": "js",
|
|
1290
|
-
"name": "
|
|
1354
|
+
"name": "closeIcon",
|
|
1291
1355
|
"declaration": {
|
|
1292
|
-
"name": "
|
|
1293
|
-
"module": "src/
|
|
1356
|
+
"name": "closeIcon",
|
|
1357
|
+
"module": "src/_common/icons.ts"
|
|
1294
1358
|
}
|
|
1295
1359
|
}
|
|
1296
1360
|
]
|
|
1297
1361
|
},
|
|
1298
1362
|
{
|
|
1299
1363
|
"kind": "javascript-module",
|
|
1300
|
-
"path": "src/
|
|
1364
|
+
"path": "src/_common/index.ts",
|
|
1301
1365
|
"declarations": [],
|
|
1302
1366
|
"exports": [
|
|
1303
1367
|
{
|
|
@@ -1305,7 +1369,7 @@
|
|
|
1305
1369
|
"name": "*",
|
|
1306
1370
|
"declaration": {
|
|
1307
1371
|
"name": "*",
|
|
1308
|
-
"package": "./
|
|
1372
|
+
"package": "./affix-mixin"
|
|
1309
1373
|
}
|
|
1310
1374
|
},
|
|
1311
1375
|
{
|
|
@@ -1313,7 +1377,7 @@
|
|
|
1313
1377
|
"name": "*",
|
|
1314
1378
|
"declaration": {
|
|
1315
1379
|
"name": "*",
|
|
1316
|
-
"package": "./
|
|
1380
|
+
"package": "./base-file-component"
|
|
1317
1381
|
}
|
|
1318
1382
|
},
|
|
1319
1383
|
{
|
|
@@ -1321,51 +1385,81 @@
|
|
|
1321
1385
|
"name": "*",
|
|
1322
1386
|
"declaration": {
|
|
1323
1387
|
"name": "*",
|
|
1324
|
-
"package": "./
|
|
1388
|
+
"package": "./field-styles"
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"kind": "js",
|
|
1393
|
+
"name": "*",
|
|
1394
|
+
"declaration": {
|
|
1395
|
+
"name": "*",
|
|
1396
|
+
"package": "./icons"
|
|
1325
1397
|
}
|
|
1326
1398
|
}
|
|
1327
1399
|
]
|
|
1328
1400
|
},
|
|
1329
1401
|
{
|
|
1330
1402
|
"kind": "javascript-module",
|
|
1331
|
-
"path": "src/
|
|
1403
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1332
1404
|
"declarations": [
|
|
1333
1405
|
{
|
|
1334
|
-
"kind": "
|
|
1335
|
-
"
|
|
1336
|
-
"
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
"text": "string"
|
|
1343
|
-
},
|
|
1344
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
1345
|
-
},
|
|
1406
|
+
"kind": "function",
|
|
1407
|
+
"name": "foundationAccordionStyles",
|
|
1408
|
+
"return": {
|
|
1409
|
+
"type": {
|
|
1410
|
+
"text": "ElementStyles"
|
|
1411
|
+
}
|
|
1412
|
+
},
|
|
1413
|
+
"parameters": [
|
|
1346
1414
|
{
|
|
1347
|
-
"
|
|
1348
|
-
"name": "suffix",
|
|
1415
|
+
"name": "context",
|
|
1349
1416
|
"type": {
|
|
1350
|
-
"text": "
|
|
1351
|
-
}
|
|
1352
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
1417
|
+
"text": "ElementDefinitionContext"
|
|
1418
|
+
}
|
|
1353
1419
|
},
|
|
1354
1420
|
{
|
|
1355
|
-
"
|
|
1356
|
-
"name": "hideAffixFromScreenReader",
|
|
1421
|
+
"name": "definition",
|
|
1357
1422
|
"type": {
|
|
1358
|
-
"text": "
|
|
1359
|
-
}
|
|
1360
|
-
"default": "false",
|
|
1361
|
-
"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."
|
|
1423
|
+
"text": "FoundationElementDefinition"
|
|
1424
|
+
}
|
|
1362
1425
|
}
|
|
1363
|
-
]
|
|
1426
|
+
]
|
|
1427
|
+
}
|
|
1428
|
+
],
|
|
1429
|
+
"exports": [
|
|
1430
|
+
{
|
|
1431
|
+
"kind": "js",
|
|
1432
|
+
"name": "foundationAccordionStyles",
|
|
1433
|
+
"declaration": {
|
|
1434
|
+
"name": "foundationAccordionStyles",
|
|
1435
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
]
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"kind": "javascript-module",
|
|
1442
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1443
|
+
"declarations": [
|
|
1444
|
+
{
|
|
1445
|
+
"kind": "function",
|
|
1446
|
+
"name": "foundationAccordionTemplate",
|
|
1447
|
+
"return": {
|
|
1448
|
+
"type": {
|
|
1449
|
+
"text": "ViewTemplate<Accordion>"
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1364
1452
|
"parameters": [
|
|
1365
1453
|
{
|
|
1366
|
-
"name": "
|
|
1454
|
+
"name": "context",
|
|
1367
1455
|
"type": {
|
|
1368
|
-
"text": "
|
|
1456
|
+
"text": "ElementDefinitionContext"
|
|
1457
|
+
}
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"name": "definition",
|
|
1461
|
+
"type": {
|
|
1462
|
+
"text": "FoundationElementDefinition"
|
|
1369
1463
|
}
|
|
1370
1464
|
}
|
|
1371
1465
|
]
|
|
@@ -1374,143 +1468,207 @@
|
|
|
1374
1468
|
"exports": [
|
|
1375
1469
|
{
|
|
1376
1470
|
"kind": "js",
|
|
1377
|
-
"name": "
|
|
1471
|
+
"name": "foundationAccordionTemplate",
|
|
1378
1472
|
"declaration": {
|
|
1379
|
-
"name": "
|
|
1380
|
-
"module": "src/
|
|
1473
|
+
"name": "foundationAccordionTemplate",
|
|
1474
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1381
1475
|
}
|
|
1382
1476
|
}
|
|
1383
1477
|
]
|
|
1384
1478
|
},
|
|
1385
1479
|
{
|
|
1386
1480
|
"kind": "javascript-module",
|
|
1387
|
-
"path": "src/
|
|
1481
|
+
"path": "src/accordion/accordion.ts",
|
|
1388
1482
|
"declarations": [
|
|
1389
1483
|
{
|
|
1390
1484
|
"kind": "class",
|
|
1391
|
-
"description": "
|
|
1392
|
-
"name": "
|
|
1485
|
+
"description": "",
|
|
1486
|
+
"name": "Accordion",
|
|
1487
|
+
"superclass": {
|
|
1488
|
+
"name": "FASTAccordion",
|
|
1489
|
+
"package": "@microsoft/fast-foundation"
|
|
1490
|
+
},
|
|
1491
|
+
"tagName": "%%prefix%%-accordion",
|
|
1492
|
+
"customElement": true,
|
|
1493
|
+
"attributes": [
|
|
1494
|
+
{
|
|
1495
|
+
"name": "expand-mode",
|
|
1496
|
+
"type": {
|
|
1497
|
+
"text": "AccordionExpandMode"
|
|
1498
|
+
},
|
|
1499
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1500
|
+
"fieldName": "expandmode",
|
|
1501
|
+
"inheritedFrom": {
|
|
1502
|
+
"name": "Accordion",
|
|
1503
|
+
"module": "src/accordion/accordion.ts"
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
],
|
|
1393
1507
|
"members": [
|
|
1394
1508
|
{
|
|
1395
1509
|
"kind": "field",
|
|
1396
|
-
"name": "
|
|
1510
|
+
"name": "expandmode",
|
|
1397
1511
|
"type": {
|
|
1398
|
-
"text": "
|
|
1512
|
+
"text": "AccordionExpandMode"
|
|
1399
1513
|
},
|
|
1400
|
-
"privacy": "public"
|
|
1514
|
+
"privacy": "public",
|
|
1515
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1516
|
+
"inheritedFrom": {
|
|
1517
|
+
"name": "Accordion",
|
|
1518
|
+
"module": "src/accordion/accordion.ts"
|
|
1519
|
+
}
|
|
1401
1520
|
},
|
|
1402
1521
|
{
|
|
1403
1522
|
"kind": "field",
|
|
1404
|
-
"name": "
|
|
1523
|
+
"name": "activeid",
|
|
1405
1524
|
"type": {
|
|
1406
|
-
"text": "
|
|
1525
|
+
"text": "string | null"
|
|
1407
1526
|
},
|
|
1408
|
-
"privacy": "
|
|
1409
|
-
"
|
|
1527
|
+
"privacy": "private",
|
|
1528
|
+
"inheritedFrom": {
|
|
1529
|
+
"name": "Accordion",
|
|
1530
|
+
"module": "src/accordion/accordion.ts"
|
|
1531
|
+
}
|
|
1410
1532
|
},
|
|
1411
1533
|
{
|
|
1412
1534
|
"kind": "field",
|
|
1413
|
-
"name": "
|
|
1535
|
+
"name": "activeItemIndex",
|
|
1414
1536
|
"type": {
|
|
1415
|
-
"text": "
|
|
1537
|
+
"text": "number"
|
|
1538
|
+
},
|
|
1539
|
+
"privacy": "private",
|
|
1540
|
+
"default": "0",
|
|
1541
|
+
"inheritedFrom": {
|
|
1542
|
+
"name": "Accordion",
|
|
1543
|
+
"module": "src/accordion/accordion.ts"
|
|
1416
1544
|
}
|
|
1417
1545
|
},
|
|
1418
1546
|
{
|
|
1419
1547
|
"kind": "field",
|
|
1420
|
-
"name": "
|
|
1548
|
+
"name": "accordionIds",
|
|
1421
1549
|
"type": {
|
|
1422
|
-
"text": "string"
|
|
1550
|
+
"text": "Array<string | null>"
|
|
1423
1551
|
},
|
|
1424
|
-
"
|
|
1552
|
+
"privacy": "private",
|
|
1553
|
+
"inheritedFrom": {
|
|
1554
|
+
"name": "Accordion",
|
|
1555
|
+
"module": "src/accordion/accordion.ts"
|
|
1556
|
+
}
|
|
1425
1557
|
},
|
|
1426
1558
|
{
|
|
1427
1559
|
"kind": "field",
|
|
1428
|
-
"name": "
|
|
1429
|
-
"
|
|
1430
|
-
"
|
|
1431
|
-
"
|
|
1560
|
+
"name": "change",
|
|
1561
|
+
"privacy": "private",
|
|
1562
|
+
"inheritedFrom": {
|
|
1563
|
+
"name": "Accordion",
|
|
1564
|
+
"module": "src/accordion/accordion.ts"
|
|
1432
1565
|
}
|
|
1433
1566
|
},
|
|
1434
1567
|
{
|
|
1435
|
-
"kind": "
|
|
1436
|
-
"name": "
|
|
1437
|
-
"
|
|
1438
|
-
|
|
1568
|
+
"kind": "method",
|
|
1569
|
+
"name": "findExpandedItem",
|
|
1570
|
+
"privacy": "private",
|
|
1571
|
+
"return": {
|
|
1572
|
+
"type": {
|
|
1573
|
+
"text": "AccordionItem | null"
|
|
1574
|
+
}
|
|
1439
1575
|
},
|
|
1440
|
-
"
|
|
1576
|
+
"inheritedFrom": {
|
|
1577
|
+
"name": "Accordion",
|
|
1578
|
+
"module": "src/accordion/accordion.ts"
|
|
1579
|
+
}
|
|
1441
1580
|
},
|
|
1442
1581
|
{
|
|
1443
1582
|
"kind": "field",
|
|
1444
|
-
"name": "
|
|
1445
|
-
"
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1583
|
+
"name": "setItems",
|
|
1584
|
+
"privacy": "private",
|
|
1585
|
+
"inheritedFrom": {
|
|
1586
|
+
"name": "Accordion",
|
|
1587
|
+
"module": "src/accordion/accordion.ts"
|
|
1588
|
+
}
|
|
1449
1589
|
},
|
|
1450
1590
|
{
|
|
1451
1591
|
"kind": "method",
|
|
1452
|
-
"name": "
|
|
1453
|
-
"privacy": "
|
|
1454
|
-
"
|
|
1592
|
+
"name": "resetItems",
|
|
1593
|
+
"privacy": "private",
|
|
1594
|
+
"return": {
|
|
1595
|
+
"type": {
|
|
1596
|
+
"text": "void"
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
"inheritedFrom": {
|
|
1600
|
+
"name": "Accordion",
|
|
1601
|
+
"module": "src/accordion/accordion.ts"
|
|
1602
|
+
}
|
|
1455
1603
|
},
|
|
1456
1604
|
{
|
|
1457
|
-
"kind": "
|
|
1458
|
-
"name": "
|
|
1459
|
-
"privacy": "
|
|
1460
|
-
"
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
"text": "Event"
|
|
1465
|
-
},
|
|
1466
|
-
"description": "The change event from the file input"
|
|
1467
|
-
}
|
|
1468
|
-
],
|
|
1469
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1605
|
+
"kind": "field",
|
|
1606
|
+
"name": "removeItemListeners",
|
|
1607
|
+
"privacy": "private",
|
|
1608
|
+
"inheritedFrom": {
|
|
1609
|
+
"name": "Accordion",
|
|
1610
|
+
"module": "src/accordion/accordion.ts"
|
|
1611
|
+
}
|
|
1470
1612
|
},
|
|
1471
1613
|
{
|
|
1472
|
-
"kind": "
|
|
1473
|
-
"name": "
|
|
1474
|
-
"privacy": "
|
|
1475
|
-
"
|
|
1614
|
+
"kind": "field",
|
|
1615
|
+
"name": "activeItemChange",
|
|
1616
|
+
"privacy": "private",
|
|
1617
|
+
"inheritedFrom": {
|
|
1618
|
+
"name": "Accordion",
|
|
1619
|
+
"module": "src/accordion/accordion.ts"
|
|
1620
|
+
}
|
|
1476
1621
|
},
|
|
1477
1622
|
{
|
|
1478
1623
|
"kind": "method",
|
|
1479
|
-
"name": "
|
|
1480
|
-
"privacy": "
|
|
1481
|
-
"description": "Gets the currently selected file object",
|
|
1624
|
+
"name": "getItemIds",
|
|
1625
|
+
"privacy": "private",
|
|
1482
1626
|
"return": {
|
|
1483
1627
|
"type": {
|
|
1484
|
-
"text": ""
|
|
1628
|
+
"text": "Array<string | null>"
|
|
1485
1629
|
}
|
|
1630
|
+
},
|
|
1631
|
+
"inheritedFrom": {
|
|
1632
|
+
"name": "Accordion",
|
|
1633
|
+
"module": "src/accordion/accordion.ts"
|
|
1486
1634
|
}
|
|
1487
1635
|
},
|
|
1488
1636
|
{
|
|
1489
1637
|
"kind": "method",
|
|
1490
|
-
"name": "
|
|
1491
|
-
"privacy": "
|
|
1492
|
-
"
|
|
1493
|
-
{
|
|
1494
|
-
"
|
|
1495
|
-
"type": {
|
|
1496
|
-
"text": "string"
|
|
1497
|
-
},
|
|
1498
|
-
"description": "The error title"
|
|
1499
|
-
},
|
|
1500
|
-
{
|
|
1501
|
-
"name": "message",
|
|
1502
|
-
"type": {
|
|
1503
|
-
"text": "string"
|
|
1504
|
-
},
|
|
1505
|
-
"description": "The error message"
|
|
1638
|
+
"name": "isSingleExpandMode",
|
|
1639
|
+
"privacy": "private",
|
|
1640
|
+
"return": {
|
|
1641
|
+
"type": {
|
|
1642
|
+
"text": "boolean"
|
|
1506
1643
|
}
|
|
1507
|
-
|
|
1508
|
-
"
|
|
1644
|
+
},
|
|
1645
|
+
"inheritedFrom": {
|
|
1646
|
+
"name": "Accordion",
|
|
1647
|
+
"module": "src/accordion/accordion.ts"
|
|
1648
|
+
}
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"kind": "field",
|
|
1652
|
+
"name": "handleItemKeyDown",
|
|
1653
|
+
"privacy": "private",
|
|
1654
|
+
"inheritedFrom": {
|
|
1655
|
+
"name": "Accordion",
|
|
1656
|
+
"module": "src/accordion/accordion.ts"
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"kind": "field",
|
|
1661
|
+
"name": "handleItemFocus",
|
|
1662
|
+
"privacy": "private",
|
|
1663
|
+
"inheritedFrom": {
|
|
1664
|
+
"name": "Accordion",
|
|
1665
|
+
"module": "src/accordion/accordion.ts"
|
|
1666
|
+
}
|
|
1509
1667
|
},
|
|
1510
1668
|
{
|
|
1511
1669
|
"kind": "method",
|
|
1512
|
-
"name": "
|
|
1513
|
-
"privacy": "
|
|
1670
|
+
"name": "adjust",
|
|
1671
|
+
"privacy": "private",
|
|
1514
1672
|
"return": {
|
|
1515
1673
|
"type": {
|
|
1516
1674
|
"text": "void"
|
|
@@ -1518,25 +1676,30 @@
|
|
|
1518
1676
|
},
|
|
1519
1677
|
"parameters": [
|
|
1520
1678
|
{
|
|
1521
|
-
"name": "
|
|
1679
|
+
"name": "adjustment",
|
|
1522
1680
|
"type": {
|
|
1523
|
-
"text": "
|
|
1524
|
-
}
|
|
1525
|
-
"description": "The selected file"
|
|
1681
|
+
"text": "number"
|
|
1682
|
+
}
|
|
1526
1683
|
}
|
|
1527
1684
|
],
|
|
1528
|
-
"
|
|
1685
|
+
"inheritedFrom": {
|
|
1686
|
+
"name": "Accordion",
|
|
1687
|
+
"module": "src/accordion/accordion.ts"
|
|
1688
|
+
}
|
|
1529
1689
|
},
|
|
1530
1690
|
{
|
|
1531
1691
|
"kind": "method",
|
|
1532
|
-
"name": "
|
|
1533
|
-
"privacy": "
|
|
1692
|
+
"name": "focusItem",
|
|
1693
|
+
"privacy": "private",
|
|
1534
1694
|
"return": {
|
|
1535
1695
|
"type": {
|
|
1536
1696
|
"text": "void"
|
|
1537
1697
|
}
|
|
1538
1698
|
},
|
|
1539
|
-
"
|
|
1699
|
+
"inheritedFrom": {
|
|
1700
|
+
"name": "Accordion",
|
|
1701
|
+
"module": "src/accordion/accordion.ts"
|
|
1702
|
+
}
|
|
1540
1703
|
},
|
|
1541
1704
|
{
|
|
1542
1705
|
"kind": "field",
|
|
@@ -1652,110 +1815,76 @@
|
|
|
1652
1815
|
],
|
|
1653
1816
|
"events": [
|
|
1654
1817
|
{
|
|
1655
|
-
"description": "
|
|
1656
|
-
"name": "
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
}
|
|
1662
|
-
],
|
|
1663
|
-
"attributes": [
|
|
1664
|
-
{
|
|
1665
|
-
"name": "label",
|
|
1666
|
-
"type": {
|
|
1667
|
-
"text": "string"
|
|
1668
|
-
},
|
|
1669
|
-
"fieldName": "label"
|
|
1670
|
-
},
|
|
1671
|
-
{
|
|
1672
|
-
"name": "accept",
|
|
1673
|
-
"type": {
|
|
1674
|
-
"text": "string"
|
|
1675
|
-
},
|
|
1676
|
-
"default": "''",
|
|
1677
|
-
"fieldName": "accept"
|
|
1678
|
-
},
|
|
1679
|
-
{
|
|
1680
|
-
"name": "file-size-limit-bytes",
|
|
1681
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1682
|
-
"resolveInitializer": {
|
|
1683
|
-
"module": "src/_common/base-file-component.ts"
|
|
1684
|
-
},
|
|
1685
|
-
"fieldName": "fileSizeLimitBytes"
|
|
1818
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
1819
|
+
"name": "change",
|
|
1820
|
+
"inheritedFrom": {
|
|
1821
|
+
"name": "Accordion",
|
|
1822
|
+
"module": "src/accordion/accordion.ts"
|
|
1823
|
+
}
|
|
1686
1824
|
}
|
|
1687
|
-
]
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1825
|
+
]
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"kind": "variable",
|
|
1829
|
+
"name": "foundationAccordionShadowOptions",
|
|
1830
|
+
"type": {
|
|
1831
|
+
"text": "ShadowRootInit"
|
|
1832
|
+
},
|
|
1833
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"kind": "variable",
|
|
1837
|
+
"name": "defaultAccordionConfig",
|
|
1838
|
+
"type": {
|
|
1839
|
+
"text": "object"
|
|
1840
|
+
},
|
|
1841
|
+
"default": "{}"
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"kind": "variable",
|
|
1845
|
+
"name": "foundationAccordion",
|
|
1846
|
+
"description": "The Foundation Accordion",
|
|
1847
|
+
"privacy": "public"
|
|
1692
1848
|
}
|
|
1693
1849
|
],
|
|
1694
1850
|
"exports": [
|
|
1695
1851
|
{
|
|
1696
1852
|
"kind": "js",
|
|
1697
|
-
"name": "
|
|
1853
|
+
"name": "Accordion",
|
|
1698
1854
|
"declaration": {
|
|
1699
|
-
"name": "
|
|
1700
|
-
"module": "src/
|
|
1855
|
+
"name": "Accordion",
|
|
1856
|
+
"module": "src/accordion/accordion.ts"
|
|
1701
1857
|
}
|
|
1702
|
-
}
|
|
1703
|
-
]
|
|
1704
|
-
},
|
|
1705
|
-
{
|
|
1706
|
-
"kind": "javascript-module",
|
|
1707
|
-
"path": "src/_common/field-styles.ts",
|
|
1708
|
-
"declarations": [
|
|
1709
|
-
{
|
|
1710
|
-
"kind": "variable",
|
|
1711
|
-
"name": "sharedFieldStyles",
|
|
1712
|
-
"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`"
|
|
1713
|
-
}
|
|
1714
|
-
],
|
|
1715
|
-
"exports": [
|
|
1858
|
+
},
|
|
1716
1859
|
{
|
|
1717
1860
|
"kind": "js",
|
|
1718
|
-
"name": "
|
|
1861
|
+
"name": "foundationAccordionShadowOptions",
|
|
1719
1862
|
"declaration": {
|
|
1720
|
-
"name": "
|
|
1721
|
-
"module": "src/
|
|
1863
|
+
"name": "foundationAccordionShadowOptions",
|
|
1864
|
+
"module": "src/accordion/accordion.ts"
|
|
1722
1865
|
}
|
|
1723
|
-
}
|
|
1724
|
-
]
|
|
1725
|
-
},
|
|
1726
|
-
{
|
|
1727
|
-
"kind": "javascript-module",
|
|
1728
|
-
"path": "src/_common/icons.ts",
|
|
1729
|
-
"declarations": [
|
|
1866
|
+
},
|
|
1730
1867
|
{
|
|
1731
|
-
"kind": "
|
|
1732
|
-
"name": "
|
|
1733
|
-
"
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
{
|
|
1739
|
-
"name": "fill",
|
|
1740
|
-
"default": "'#879ba6'"
|
|
1741
|
-
}
|
|
1742
|
-
]
|
|
1743
|
-
}
|
|
1744
|
-
],
|
|
1745
|
-
"exports": [
|
|
1868
|
+
"kind": "js",
|
|
1869
|
+
"name": "defaultAccordionConfig",
|
|
1870
|
+
"declaration": {
|
|
1871
|
+
"name": "defaultAccordionConfig",
|
|
1872
|
+
"module": "src/accordion/accordion.ts"
|
|
1873
|
+
}
|
|
1874
|
+
},
|
|
1746
1875
|
{
|
|
1747
1876
|
"kind": "js",
|
|
1748
|
-
"name": "
|
|
1877
|
+
"name": "foundationAccordion",
|
|
1749
1878
|
"declaration": {
|
|
1750
|
-
"name": "
|
|
1751
|
-
"module": "src/
|
|
1879
|
+
"name": "foundationAccordion",
|
|
1880
|
+
"module": "src/accordion/accordion.ts"
|
|
1752
1881
|
}
|
|
1753
1882
|
}
|
|
1754
1883
|
]
|
|
1755
1884
|
},
|
|
1756
1885
|
{
|
|
1757
1886
|
"kind": "javascript-module",
|
|
1758
|
-
"path": "src/
|
|
1887
|
+
"path": "src/accordion/index.ts",
|
|
1759
1888
|
"declarations": [],
|
|
1760
1889
|
"exports": [
|
|
1761
1890
|
{
|
|
@@ -1763,15 +1892,7 @@
|
|
|
1763
1892
|
"name": "*",
|
|
1764
1893
|
"declaration": {
|
|
1765
1894
|
"name": "*",
|
|
1766
|
-
"package": "./
|
|
1767
|
-
}
|
|
1768
|
-
},
|
|
1769
|
-
{
|
|
1770
|
-
"kind": "js",
|
|
1771
|
-
"name": "*",
|
|
1772
|
-
"declaration": {
|
|
1773
|
-
"name": "*",
|
|
1774
|
-
"package": "./base-file-component"
|
|
1895
|
+
"package": "./accordion.template"
|
|
1775
1896
|
}
|
|
1776
1897
|
},
|
|
1777
1898
|
{
|
|
@@ -1779,7 +1900,7 @@
|
|
|
1779
1900
|
"name": "*",
|
|
1780
1901
|
"declaration": {
|
|
1781
1902
|
"name": "*",
|
|
1782
|
-
"package": "./
|
|
1903
|
+
"package": "./accordion.styles"
|
|
1783
1904
|
}
|
|
1784
1905
|
},
|
|
1785
1906
|
{
|
|
@@ -1787,18 +1908,18 @@
|
|
|
1787
1908
|
"name": "*",
|
|
1788
1909
|
"declaration": {
|
|
1789
1910
|
"name": "*",
|
|
1790
|
-
"package": "./
|
|
1911
|
+
"package": "./accordion"
|
|
1791
1912
|
}
|
|
1792
1913
|
}
|
|
1793
1914
|
]
|
|
1794
1915
|
},
|
|
1795
1916
|
{
|
|
1796
1917
|
"kind": "javascript-module",
|
|
1797
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
1918
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1798
1919
|
"declarations": [
|
|
1799
1920
|
{
|
|
1800
1921
|
"kind": "function",
|
|
1801
|
-
"name": "
|
|
1922
|
+
"name": "foundationAccordionItemStyles",
|
|
1802
1923
|
"return": {
|
|
1803
1924
|
"type": {
|
|
1804
1925
|
"text": "ElementStyles"
|
|
@@ -1807,292 +1928,171 @@
|
|
|
1807
1928
|
"parameters": [
|
|
1808
1929
|
{
|
|
1809
1930
|
"name": "context",
|
|
1810
|
-
"type": {
|
|
1811
|
-
"text": "ElementDefinitionContext"
|
|
1812
|
-
}
|
|
1813
|
-
},
|
|
1814
|
-
{
|
|
1815
|
-
"name": "definition",
|
|
1816
|
-
"type": {
|
|
1817
|
-
"text": "FoundationElementDefinition"
|
|
1818
|
-
}
|
|
1819
|
-
}
|
|
1820
|
-
]
|
|
1821
|
-
}
|
|
1822
|
-
],
|
|
1823
|
-
"exports": [
|
|
1824
|
-
{
|
|
1825
|
-
"kind": "js",
|
|
1826
|
-
"name": "foundationAccordionStyles",
|
|
1827
|
-
"declaration": {
|
|
1828
|
-
"name": "foundationAccordionStyles",
|
|
1829
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1830
|
-
}
|
|
1831
|
-
}
|
|
1832
|
-
]
|
|
1833
|
-
},
|
|
1834
|
-
{
|
|
1835
|
-
"kind": "javascript-module",
|
|
1836
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1837
|
-
"declarations": [
|
|
1838
|
-
{
|
|
1839
|
-
"kind": "function",
|
|
1840
|
-
"name": "foundationAccordionTemplate",
|
|
1841
|
-
"return": {
|
|
1842
|
-
"type": {
|
|
1843
|
-
"text": "ViewTemplate<Accordion>"
|
|
1844
|
-
}
|
|
1845
|
-
},
|
|
1846
|
-
"parameters": [
|
|
1847
|
-
{
|
|
1848
|
-
"name": "context",
|
|
1849
|
-
"type": {
|
|
1850
|
-
"text": "ElementDefinitionContext"
|
|
1851
|
-
}
|
|
1852
|
-
},
|
|
1853
|
-
{
|
|
1854
|
-
"name": "definition",
|
|
1855
|
-
"type": {
|
|
1856
|
-
"text": "FoundationElementDefinition"
|
|
1857
|
-
}
|
|
1858
|
-
}
|
|
1859
|
-
]
|
|
1860
|
-
}
|
|
1861
|
-
],
|
|
1862
|
-
"exports": [
|
|
1863
|
-
{
|
|
1864
|
-
"kind": "js",
|
|
1865
|
-
"name": "foundationAccordionTemplate",
|
|
1866
|
-
"declaration": {
|
|
1867
|
-
"name": "foundationAccordionTemplate",
|
|
1868
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1869
|
-
}
|
|
1870
|
-
}
|
|
1871
|
-
]
|
|
1872
|
-
},
|
|
1873
|
-
{
|
|
1874
|
-
"kind": "javascript-module",
|
|
1875
|
-
"path": "src/accordion/accordion.ts",
|
|
1876
|
-
"declarations": [
|
|
1877
|
-
{
|
|
1878
|
-
"kind": "class",
|
|
1879
|
-
"description": "",
|
|
1880
|
-
"name": "Accordion",
|
|
1881
|
-
"superclass": {
|
|
1882
|
-
"name": "FASTAccordion",
|
|
1883
|
-
"package": "@microsoft/fast-foundation"
|
|
1884
|
-
},
|
|
1885
|
-
"tagName": "%%prefix%%-accordion",
|
|
1886
|
-
"customElement": true,
|
|
1887
|
-
"attributes": [
|
|
1888
|
-
{
|
|
1889
|
-
"name": "expand-mode",
|
|
1890
|
-
"type": {
|
|
1891
|
-
"text": "AccordionExpandMode"
|
|
1892
|
-
},
|
|
1893
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1894
|
-
"fieldName": "expandmode",
|
|
1895
|
-
"inheritedFrom": {
|
|
1896
|
-
"name": "Accordion",
|
|
1897
|
-
"module": "src/accordion/accordion.ts"
|
|
1898
|
-
}
|
|
1899
|
-
}
|
|
1900
|
-
],
|
|
1901
|
-
"members": [
|
|
1902
|
-
{
|
|
1903
|
-
"kind": "field",
|
|
1904
|
-
"name": "expandmode",
|
|
1905
|
-
"type": {
|
|
1906
|
-
"text": "AccordionExpandMode"
|
|
1907
|
-
},
|
|
1908
|
-
"privacy": "public",
|
|
1909
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1910
|
-
"inheritedFrom": {
|
|
1911
|
-
"name": "Accordion",
|
|
1912
|
-
"module": "src/accordion/accordion.ts"
|
|
1913
|
-
}
|
|
1914
|
-
},
|
|
1915
|
-
{
|
|
1916
|
-
"kind": "field",
|
|
1917
|
-
"name": "activeid",
|
|
1918
|
-
"type": {
|
|
1919
|
-
"text": "string | null"
|
|
1920
|
-
},
|
|
1921
|
-
"privacy": "private",
|
|
1922
|
-
"inheritedFrom": {
|
|
1923
|
-
"name": "Accordion",
|
|
1924
|
-
"module": "src/accordion/accordion.ts"
|
|
1925
|
-
}
|
|
1926
|
-
},
|
|
1927
|
-
{
|
|
1928
|
-
"kind": "field",
|
|
1929
|
-
"name": "activeItemIndex",
|
|
1930
|
-
"type": {
|
|
1931
|
-
"text": "number"
|
|
1932
|
-
},
|
|
1933
|
-
"privacy": "private",
|
|
1934
|
-
"default": "0",
|
|
1935
|
-
"inheritedFrom": {
|
|
1936
|
-
"name": "Accordion",
|
|
1937
|
-
"module": "src/accordion/accordion.ts"
|
|
1938
|
-
}
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"kind": "field",
|
|
1942
|
-
"name": "accordionIds",
|
|
1943
|
-
"type": {
|
|
1944
|
-
"text": "Array<string | null>"
|
|
1945
|
-
},
|
|
1946
|
-
"privacy": "private",
|
|
1947
|
-
"inheritedFrom": {
|
|
1948
|
-
"name": "Accordion",
|
|
1949
|
-
"module": "src/accordion/accordion.ts"
|
|
1950
|
-
}
|
|
1951
|
-
},
|
|
1952
|
-
{
|
|
1953
|
-
"kind": "field",
|
|
1954
|
-
"name": "change",
|
|
1955
|
-
"privacy": "private",
|
|
1956
|
-
"inheritedFrom": {
|
|
1957
|
-
"name": "Accordion",
|
|
1958
|
-
"module": "src/accordion/accordion.ts"
|
|
1959
|
-
}
|
|
1960
|
-
},
|
|
1961
|
-
{
|
|
1962
|
-
"kind": "method",
|
|
1963
|
-
"name": "findExpandedItem",
|
|
1964
|
-
"privacy": "private",
|
|
1965
|
-
"return": {
|
|
1966
|
-
"type": {
|
|
1967
|
-
"text": "AccordionItem | null"
|
|
1968
|
-
}
|
|
1969
|
-
},
|
|
1970
|
-
"inheritedFrom": {
|
|
1971
|
-
"name": "Accordion",
|
|
1972
|
-
"module": "src/accordion/accordion.ts"
|
|
1931
|
+
"type": {
|
|
1932
|
+
"text": "ElementDefinitionContext"
|
|
1973
1933
|
}
|
|
1974
1934
|
},
|
|
1975
1935
|
{
|
|
1976
|
-
"
|
|
1977
|
-
"
|
|
1978
|
-
|
|
1979
|
-
"inheritedFrom": {
|
|
1980
|
-
"name": "Accordion",
|
|
1981
|
-
"module": "src/accordion/accordion.ts"
|
|
1936
|
+
"name": "definition",
|
|
1937
|
+
"type": {
|
|
1938
|
+
"text": "FoundationElementDefinition"
|
|
1982
1939
|
}
|
|
1983
|
-
}
|
|
1940
|
+
}
|
|
1941
|
+
]
|
|
1942
|
+
}
|
|
1943
|
+
],
|
|
1944
|
+
"exports": [
|
|
1945
|
+
{
|
|
1946
|
+
"kind": "js",
|
|
1947
|
+
"name": "foundationAccordionItemStyles",
|
|
1948
|
+
"declaration": {
|
|
1949
|
+
"name": "foundationAccordionItemStyles",
|
|
1950
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
]
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
"kind": "javascript-module",
|
|
1957
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1958
|
+
"declarations": [
|
|
1959
|
+
{
|
|
1960
|
+
"kind": "function",
|
|
1961
|
+
"name": "foundationAccordionItemTemplate",
|
|
1962
|
+
"return": {
|
|
1963
|
+
"type": {
|
|
1964
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1965
|
+
}
|
|
1966
|
+
},
|
|
1967
|
+
"parameters": [
|
|
1984
1968
|
{
|
|
1985
|
-
"
|
|
1986
|
-
"
|
|
1987
|
-
|
|
1988
|
-
"return": {
|
|
1989
|
-
"type": {
|
|
1990
|
-
"text": "void"
|
|
1991
|
-
}
|
|
1992
|
-
},
|
|
1993
|
-
"inheritedFrom": {
|
|
1994
|
-
"name": "Accordion",
|
|
1995
|
-
"module": "src/accordion/accordion.ts"
|
|
1969
|
+
"name": "context",
|
|
1970
|
+
"type": {
|
|
1971
|
+
"text": "ElementDefinitionContext"
|
|
1996
1972
|
}
|
|
1997
1973
|
},
|
|
1998
1974
|
{
|
|
1999
|
-
"
|
|
2000
|
-
"
|
|
2001
|
-
|
|
2002
|
-
"inheritedFrom": {
|
|
2003
|
-
"name": "Accordion",
|
|
2004
|
-
"module": "src/accordion/accordion.ts"
|
|
1975
|
+
"name": "definition",
|
|
1976
|
+
"type": {
|
|
1977
|
+
"text": "FoundationElementDefinition"
|
|
2005
1978
|
}
|
|
2006
|
-
}
|
|
1979
|
+
}
|
|
1980
|
+
]
|
|
1981
|
+
}
|
|
1982
|
+
],
|
|
1983
|
+
"exports": [
|
|
1984
|
+
{
|
|
1985
|
+
"kind": "js",
|
|
1986
|
+
"name": "foundationAccordionItemTemplate",
|
|
1987
|
+
"declaration": {
|
|
1988
|
+
"name": "foundationAccordionItemTemplate",
|
|
1989
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1990
|
+
}
|
|
1991
|
+
}
|
|
1992
|
+
]
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"kind": "javascript-module",
|
|
1996
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1997
|
+
"declarations": [
|
|
1998
|
+
{
|
|
1999
|
+
"kind": "class",
|
|
2000
|
+
"description": "",
|
|
2001
|
+
"name": "AccordionItem",
|
|
2002
|
+
"superclass": {
|
|
2003
|
+
"name": "FASTAccordionItem",
|
|
2004
|
+
"package": "@microsoft/fast-components"
|
|
2005
|
+
},
|
|
2006
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2007
|
+
"customElement": true,
|
|
2008
|
+
"attributes": [
|
|
2007
2009
|
{
|
|
2008
|
-
"
|
|
2009
|
-
"
|
|
2010
|
-
|
|
2010
|
+
"name": "heading-level",
|
|
2011
|
+
"type": {
|
|
2012
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2013
|
+
},
|
|
2014
|
+
"default": "2",
|
|
2015
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2016
|
+
"fieldName": "headinglevel",
|
|
2011
2017
|
"inheritedFrom": {
|
|
2012
|
-
"name": "
|
|
2013
|
-
"module": "src/accordion/accordion.ts"
|
|
2018
|
+
"name": "AccordionItem",
|
|
2019
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2014
2020
|
}
|
|
2015
2021
|
},
|
|
2016
2022
|
{
|
|
2017
|
-
"
|
|
2018
|
-
|
|
2019
|
-
"privacy": "private",
|
|
2020
|
-
"return": {
|
|
2021
|
-
"type": {
|
|
2022
|
-
"text": "Array<string | null>"
|
|
2023
|
-
}
|
|
2023
|
+
"type": {
|
|
2024
|
+
"text": "boolean"
|
|
2024
2025
|
},
|
|
2026
|
+
"default": "false",
|
|
2027
|
+
"description": "Expands or collapses the item.",
|
|
2028
|
+
"fieldName": "expanded",
|
|
2025
2029
|
"inheritedFrom": {
|
|
2026
|
-
"name": "
|
|
2027
|
-
"module": "src/accordion/accordion.ts"
|
|
2030
|
+
"name": "AccordionItem",
|
|
2031
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2028
2032
|
}
|
|
2029
2033
|
},
|
|
2030
2034
|
{
|
|
2031
|
-
"
|
|
2032
|
-
"
|
|
2033
|
-
|
|
2034
|
-
"return": {
|
|
2035
|
-
"type": {
|
|
2036
|
-
"text": "boolean"
|
|
2037
|
-
}
|
|
2035
|
+
"name": "id",
|
|
2036
|
+
"type": {
|
|
2037
|
+
"text": "string"
|
|
2038
2038
|
},
|
|
2039
|
+
"description": "The item ID",
|
|
2040
|
+
"fieldName": "id",
|
|
2039
2041
|
"inheritedFrom": {
|
|
2040
|
-
"name": "
|
|
2041
|
-
"module": "src/accordion/accordion.ts"
|
|
2042
|
+
"name": "AccordionItem",
|
|
2043
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2042
2044
|
}
|
|
2043
|
-
}
|
|
2045
|
+
}
|
|
2046
|
+
],
|
|
2047
|
+
"members": [
|
|
2044
2048
|
{
|
|
2045
2049
|
"kind": "field",
|
|
2046
|
-
"name": "
|
|
2047
|
-
"
|
|
2050
|
+
"name": "headinglevel",
|
|
2051
|
+
"type": {
|
|
2052
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2053
|
+
},
|
|
2054
|
+
"privacy": "public",
|
|
2055
|
+
"default": "2",
|
|
2056
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2048
2057
|
"inheritedFrom": {
|
|
2049
|
-
"name": "
|
|
2050
|
-
"module": "src/accordion/accordion.ts"
|
|
2058
|
+
"name": "AccordionItem",
|
|
2059
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2051
2060
|
}
|
|
2052
2061
|
},
|
|
2053
2062
|
{
|
|
2054
2063
|
"kind": "field",
|
|
2055
|
-
"name": "
|
|
2056
|
-
"
|
|
2064
|
+
"name": "expanded",
|
|
2065
|
+
"type": {
|
|
2066
|
+
"text": "boolean"
|
|
2067
|
+
},
|
|
2068
|
+
"privacy": "public",
|
|
2069
|
+
"default": "false",
|
|
2070
|
+
"description": "Expands or collapses the item.",
|
|
2057
2071
|
"inheritedFrom": {
|
|
2058
|
-
"name": "
|
|
2059
|
-
"module": "src/accordion/accordion.ts"
|
|
2072
|
+
"name": "AccordionItem",
|
|
2073
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2060
2074
|
}
|
|
2061
2075
|
},
|
|
2062
2076
|
{
|
|
2063
|
-
"kind": "
|
|
2064
|
-
"name": "
|
|
2065
|
-
"
|
|
2066
|
-
|
|
2067
|
-
"type": {
|
|
2068
|
-
"text": "void"
|
|
2069
|
-
}
|
|
2077
|
+
"kind": "field",
|
|
2078
|
+
"name": "id",
|
|
2079
|
+
"type": {
|
|
2080
|
+
"text": "string"
|
|
2070
2081
|
},
|
|
2071
|
-
"
|
|
2072
|
-
|
|
2073
|
-
"name": "adjustment",
|
|
2074
|
-
"type": {
|
|
2075
|
-
"text": "number"
|
|
2076
|
-
}
|
|
2077
|
-
}
|
|
2078
|
-
],
|
|
2082
|
+
"privacy": "public",
|
|
2083
|
+
"description": "The item ID",
|
|
2079
2084
|
"inheritedFrom": {
|
|
2080
|
-
"name": "
|
|
2081
|
-
"module": "src/accordion/accordion.ts"
|
|
2085
|
+
"name": "AccordionItem",
|
|
2086
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2082
2087
|
}
|
|
2083
2088
|
},
|
|
2084
2089
|
{
|
|
2085
|
-
"kind": "
|
|
2086
|
-
"name": "
|
|
2090
|
+
"kind": "field",
|
|
2091
|
+
"name": "change",
|
|
2087
2092
|
"privacy": "private",
|
|
2088
|
-
"return": {
|
|
2089
|
-
"type": {
|
|
2090
|
-
"text": "void"
|
|
2091
|
-
}
|
|
2092
|
-
},
|
|
2093
2093
|
"inheritedFrom": {
|
|
2094
|
-
"name": "
|
|
2095
|
-
"module": "src/accordion/accordion.ts"
|
|
2094
|
+
"name": "AccordionItem",
|
|
2095
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2096
2096
|
}
|
|
2097
2097
|
},
|
|
2098
2098
|
{
|
|
@@ -2209,18 +2209,18 @@
|
|
|
2209
2209
|
],
|
|
2210
2210
|
"events": [
|
|
2211
2211
|
{
|
|
2212
|
-
"description": "Fires a custom 'change' event when the
|
|
2212
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2213
2213
|
"name": "change",
|
|
2214
2214
|
"inheritedFrom": {
|
|
2215
|
-
"name": "
|
|
2216
|
-
"module": "src/accordion/accordion.ts"
|
|
2215
|
+
"name": "AccordionItem",
|
|
2216
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2217
2217
|
}
|
|
2218
2218
|
}
|
|
2219
2219
|
]
|
|
2220
2220
|
},
|
|
2221
2221
|
{
|
|
2222
2222
|
"kind": "variable",
|
|
2223
|
-
"name": "
|
|
2223
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2224
2224
|
"type": {
|
|
2225
2225
|
"text": "ShadowRootInit"
|
|
2226
2226
|
},
|
|
@@ -2228,57 +2228,57 @@
|
|
|
2228
2228
|
},
|
|
2229
2229
|
{
|
|
2230
2230
|
"kind": "variable",
|
|
2231
|
-
"name": "
|
|
2231
|
+
"name": "defaultAccordionItemConfig",
|
|
2232
2232
|
"type": {
|
|
2233
2233
|
"text": "object"
|
|
2234
2234
|
},
|
|
2235
|
-
"default": "{}"
|
|
2235
|
+
"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}"
|
|
2236
2236
|
},
|
|
2237
2237
|
{
|
|
2238
2238
|
"kind": "variable",
|
|
2239
|
-
"name": "
|
|
2240
|
-
"description": "The Foundation Accordion",
|
|
2239
|
+
"name": "foundationAccordionItem",
|
|
2240
|
+
"description": "The Foundation Accordion Item",
|
|
2241
2241
|
"privacy": "public"
|
|
2242
2242
|
}
|
|
2243
2243
|
],
|
|
2244
2244
|
"exports": [
|
|
2245
2245
|
{
|
|
2246
2246
|
"kind": "js",
|
|
2247
|
-
"name": "
|
|
2247
|
+
"name": "AccordionItem",
|
|
2248
2248
|
"declaration": {
|
|
2249
|
-
"name": "
|
|
2250
|
-
"module": "src/accordion/accordion.ts"
|
|
2249
|
+
"name": "AccordionItem",
|
|
2250
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2251
2251
|
}
|
|
2252
2252
|
},
|
|
2253
2253
|
{
|
|
2254
2254
|
"kind": "js",
|
|
2255
|
-
"name": "
|
|
2255
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2256
2256
|
"declaration": {
|
|
2257
|
-
"name": "
|
|
2258
|
-
"module": "src/accordion/accordion.ts"
|
|
2257
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2258
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2259
2259
|
}
|
|
2260
2260
|
},
|
|
2261
2261
|
{
|
|
2262
2262
|
"kind": "js",
|
|
2263
|
-
"name": "
|
|
2263
|
+
"name": "defaultAccordionItemConfig",
|
|
2264
2264
|
"declaration": {
|
|
2265
|
-
"name": "
|
|
2266
|
-
"module": "src/accordion/accordion.ts"
|
|
2265
|
+
"name": "defaultAccordionItemConfig",
|
|
2266
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2267
2267
|
}
|
|
2268
2268
|
},
|
|
2269
2269
|
{
|
|
2270
2270
|
"kind": "js",
|
|
2271
|
-
"name": "
|
|
2271
|
+
"name": "foundationAccordionItem",
|
|
2272
2272
|
"declaration": {
|
|
2273
|
-
"name": "
|
|
2274
|
-
"module": "src/accordion/accordion.ts"
|
|
2273
|
+
"name": "foundationAccordionItem",
|
|
2274
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2275
2275
|
}
|
|
2276
2276
|
}
|
|
2277
2277
|
]
|
|
2278
2278
|
},
|
|
2279
2279
|
{
|
|
2280
2280
|
"kind": "javascript-module",
|
|
2281
|
-
"path": "src/accordion/index.ts",
|
|
2281
|
+
"path": "src/accordion-item/index.ts",
|
|
2282
2282
|
"declarations": [],
|
|
2283
2283
|
"exports": [
|
|
2284
2284
|
{
|
|
@@ -2286,7 +2286,7 @@
|
|
|
2286
2286
|
"name": "*",
|
|
2287
2287
|
"declaration": {
|
|
2288
2288
|
"name": "*",
|
|
2289
|
-
"package": "./accordion.template"
|
|
2289
|
+
"package": "./accordion-item.template"
|
|
2290
2290
|
}
|
|
2291
2291
|
},
|
|
2292
2292
|
{
|
|
@@ -2294,7 +2294,7 @@
|
|
|
2294
2294
|
"name": "*",
|
|
2295
2295
|
"declaration": {
|
|
2296
2296
|
"name": "*",
|
|
2297
|
-
"package": "./accordion.styles"
|
|
2297
|
+
"package": "./accordion-item.styles"
|
|
2298
2298
|
}
|
|
2299
2299
|
},
|
|
2300
2300
|
{
|
|
@@ -2302,7 +2302,7 @@
|
|
|
2302
2302
|
"name": "*",
|
|
2303
2303
|
"declaration": {
|
|
2304
2304
|
"name": "*",
|
|
2305
|
-
"package": "./accordion"
|
|
2305
|
+
"package": "./accordion-item"
|
|
2306
2306
|
}
|
|
2307
2307
|
}
|
|
2308
2308
|
]
|