@genesislcap/foundation-ui 15.8.1 → 15.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -958,97 +958,44 @@
|
|
|
958
958
|
},
|
|
959
959
|
{
|
|
960
960
|
"kind": "javascript-module",
|
|
961
|
-
"path": "src/
|
|
962
|
-
"declarations": [],
|
|
963
|
-
"exports": [
|
|
964
|
-
{
|
|
965
|
-
"kind": "js",
|
|
966
|
-
"name": "*",
|
|
967
|
-
"declaration": {
|
|
968
|
-
"name": "*",
|
|
969
|
-
"package": "./styles"
|
|
970
|
-
}
|
|
971
|
-
},
|
|
972
|
-
{
|
|
973
|
-
"kind": "js",
|
|
974
|
-
"name": "*",
|
|
975
|
-
"declaration": {
|
|
976
|
-
"name": "*",
|
|
977
|
-
"package": "./tokens"
|
|
978
|
-
}
|
|
979
|
-
},
|
|
980
|
-
{
|
|
981
|
-
"kind": "js",
|
|
982
|
-
"name": "*",
|
|
983
|
-
"declaration": {
|
|
984
|
-
"name": "*",
|
|
985
|
-
"package": "./values"
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
]
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
"kind": "javascript-module",
|
|
992
|
-
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
961
|
+
"path": "src/_common/affix-mixin.ts",
|
|
993
962
|
"declarations": [
|
|
994
963
|
{
|
|
995
|
-
"kind": "
|
|
996
|
-
"
|
|
997
|
-
"
|
|
998
|
-
|
|
999
|
-
"text": "ElementStyles"
|
|
1000
|
-
}
|
|
1001
|
-
},
|
|
1002
|
-
"parameters": [
|
|
964
|
+
"kind": "mixin",
|
|
965
|
+
"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.",
|
|
966
|
+
"name": "AffixMixin",
|
|
967
|
+
"members": [
|
|
1003
968
|
{
|
|
1004
|
-
"
|
|
969
|
+
"kind": "field",
|
|
970
|
+
"name": "prefix",
|
|
1005
971
|
"type": {
|
|
1006
|
-
"text": "
|
|
1007
|
-
}
|
|
972
|
+
"text": "string"
|
|
973
|
+
},
|
|
974
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
1008
975
|
},
|
|
1009
976
|
{
|
|
1010
|
-
"
|
|
977
|
+
"kind": "field",
|
|
978
|
+
"name": "suffix",
|
|
1011
979
|
"type": {
|
|
1012
|
-
"text": "
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
}
|
|
1017
|
-
],
|
|
1018
|
-
"exports": [
|
|
1019
|
-
{
|
|
1020
|
-
"kind": "js",
|
|
1021
|
-
"name": "foundationAccordionItemStyles",
|
|
1022
|
-
"declaration": {
|
|
1023
|
-
"name": "foundationAccordionItemStyles",
|
|
1024
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
]
|
|
1028
|
-
},
|
|
1029
|
-
{
|
|
1030
|
-
"kind": "javascript-module",
|
|
1031
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1032
|
-
"declarations": [
|
|
1033
|
-
{
|
|
1034
|
-
"kind": "function",
|
|
1035
|
-
"name": "foundationAccordionItemTemplate",
|
|
1036
|
-
"return": {
|
|
1037
|
-
"type": {
|
|
1038
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
1039
|
-
}
|
|
1040
|
-
},
|
|
1041
|
-
"parameters": [
|
|
980
|
+
"text": "string"
|
|
981
|
+
},
|
|
982
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
983
|
+
},
|
|
1042
984
|
{
|
|
1043
|
-
"
|
|
985
|
+
"kind": "field",
|
|
986
|
+
"name": "hideAffixFromScreenReader",
|
|
1044
987
|
"type": {
|
|
1045
|
-
"text": "
|
|
1046
|
-
}
|
|
1047
|
-
|
|
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": [
|
|
1048
995
|
{
|
|
1049
|
-
"name": "
|
|
996
|
+
"name": "Base",
|
|
1050
997
|
"type": {
|
|
1051
|
-
"text": "
|
|
998
|
+
"text": "TBase"
|
|
1052
999
|
}
|
|
1053
1000
|
}
|
|
1054
1001
|
]
|
|
@@ -1057,118 +1004,170 @@
|
|
|
1057
1004
|
"exports": [
|
|
1058
1005
|
{
|
|
1059
1006
|
"kind": "js",
|
|
1060
|
-
"name": "
|
|
1007
|
+
"name": "AffixMixin",
|
|
1061
1008
|
"declaration": {
|
|
1062
|
-
"name": "
|
|
1063
|
-
"module": "src/
|
|
1009
|
+
"name": "AffixMixin",
|
|
1010
|
+
"module": "src/_common/affix-mixin.ts"
|
|
1064
1011
|
}
|
|
1065
1012
|
}
|
|
1066
1013
|
]
|
|
1067
1014
|
},
|
|
1068
1015
|
{
|
|
1069
1016
|
"kind": "javascript-module",
|
|
1070
|
-
"path": "src/
|
|
1017
|
+
"path": "src/_common/base-file-component.ts",
|
|
1071
1018
|
"declarations": [
|
|
1072
1019
|
{
|
|
1073
1020
|
"kind": "class",
|
|
1074
|
-
"description": "",
|
|
1075
|
-
"name": "
|
|
1076
|
-
"
|
|
1077
|
-
"name": "FASTAccordionItem",
|
|
1078
|
-
"package": "@microsoft/fast-components"
|
|
1079
|
-
},
|
|
1080
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
1081
|
-
"customElement": true,
|
|
1082
|
-
"attributes": [
|
|
1021
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1022
|
+
"name": "BaseFileComponent",
|
|
1023
|
+
"members": [
|
|
1083
1024
|
{
|
|
1084
|
-
"
|
|
1025
|
+
"kind": "field",
|
|
1026
|
+
"name": "fileInput",
|
|
1085
1027
|
"type": {
|
|
1086
|
-
"text": "
|
|
1028
|
+
"text": "HTMLInputElement"
|
|
1087
1029
|
},
|
|
1088
|
-
"
|
|
1089
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1090
|
-
"fieldName": "headinglevel",
|
|
1091
|
-
"inheritedFrom": {
|
|
1092
|
-
"name": "AccordionItem",
|
|
1093
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1094
|
-
}
|
|
1030
|
+
"privacy": "public"
|
|
1095
1031
|
},
|
|
1096
1032
|
{
|
|
1033
|
+
"kind": "field",
|
|
1034
|
+
"name": "selectedFile",
|
|
1097
1035
|
"type": {
|
|
1098
|
-
"text": "
|
|
1036
|
+
"text": "File | null"
|
|
1099
1037
|
},
|
|
1100
|
-
"
|
|
1101
|
-
"
|
|
1102
|
-
"fieldName": "expanded",
|
|
1103
|
-
"inheritedFrom": {
|
|
1104
|
-
"name": "AccordionItem",
|
|
1105
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1106
|
-
}
|
|
1038
|
+
"privacy": "protected",
|
|
1039
|
+
"default": "null"
|
|
1107
1040
|
},
|
|
1108
1041
|
{
|
|
1109
|
-
"
|
|
1042
|
+
"kind": "field",
|
|
1043
|
+
"name": "label",
|
|
1110
1044
|
"type": {
|
|
1111
1045
|
"text": "string"
|
|
1112
|
-
},
|
|
1113
|
-
"description": "The item ID",
|
|
1114
|
-
"fieldName": "id",
|
|
1115
|
-
"inheritedFrom": {
|
|
1116
|
-
"name": "AccordionItem",
|
|
1117
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1118
1046
|
}
|
|
1119
|
-
}
|
|
1120
|
-
],
|
|
1121
|
-
"members": [
|
|
1047
|
+
},
|
|
1122
1048
|
{
|
|
1123
1049
|
"kind": "field",
|
|
1124
|
-
"name": "
|
|
1050
|
+
"name": "accept",
|
|
1125
1051
|
"type": {
|
|
1126
|
-
"text": "
|
|
1052
|
+
"text": "string"
|
|
1127
1053
|
},
|
|
1128
|
-
"
|
|
1129
|
-
"default": "2",
|
|
1130
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1131
|
-
"inheritedFrom": {
|
|
1132
|
-
"name": "AccordionItem",
|
|
1133
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1134
|
-
}
|
|
1054
|
+
"default": "''"
|
|
1135
1055
|
},
|
|
1136
1056
|
{
|
|
1137
1057
|
"kind": "field",
|
|
1138
|
-
"name": "
|
|
1058
|
+
"name": "fileSizeLimitBytes",
|
|
1059
|
+
"default": "10_485_760",
|
|
1139
1060
|
"type": {
|
|
1140
|
-
"text": "
|
|
1141
|
-
},
|
|
1142
|
-
"privacy": "public",
|
|
1143
|
-
"default": "false",
|
|
1144
|
-
"description": "Expands or collapses the item.",
|
|
1145
|
-
"inheritedFrom": {
|
|
1146
|
-
"name": "AccordionItem",
|
|
1147
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1061
|
+
"text": "number"
|
|
1148
1062
|
}
|
|
1149
1063
|
},
|
|
1150
1064
|
{
|
|
1151
1065
|
"kind": "field",
|
|
1152
|
-
"name": "
|
|
1066
|
+
"name": "fileName",
|
|
1153
1067
|
"type": {
|
|
1154
1068
|
"text": "string"
|
|
1155
1069
|
},
|
|
1156
|
-
"
|
|
1157
|
-
"description": "The item ID",
|
|
1158
|
-
"inheritedFrom": {
|
|
1159
|
-
"name": "AccordionItem",
|
|
1160
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1161
|
-
}
|
|
1070
|
+
"default": "''"
|
|
1162
1071
|
},
|
|
1163
1072
|
{
|
|
1164
1073
|
"kind": "field",
|
|
1165
|
-
"name": "
|
|
1166
|
-
"
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1074
|
+
"name": "isProcessing",
|
|
1075
|
+
"type": {
|
|
1076
|
+
"text": "boolean"
|
|
1077
|
+
},
|
|
1078
|
+
"default": "false"
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"kind": "method",
|
|
1082
|
+
"name": "handleClick",
|
|
1083
|
+
"privacy": "public",
|
|
1084
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
"kind": "method",
|
|
1088
|
+
"name": "onInputChange",
|
|
1089
|
+
"privacy": "public",
|
|
1090
|
+
"parameters": [
|
|
1091
|
+
{
|
|
1092
|
+
"name": "e",
|
|
1093
|
+
"type": {
|
|
1094
|
+
"text": "Event"
|
|
1095
|
+
},
|
|
1096
|
+
"description": "The change event from the file input"
|
|
1097
|
+
}
|
|
1098
|
+
],
|
|
1099
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"kind": "method",
|
|
1103
|
+
"name": "clearSelection",
|
|
1104
|
+
"privacy": "public",
|
|
1105
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"kind": "method",
|
|
1109
|
+
"name": "getSelectedFile",
|
|
1110
|
+
"privacy": "public",
|
|
1111
|
+
"description": "Gets the currently selected file object",
|
|
1112
|
+
"return": {
|
|
1113
|
+
"type": {
|
|
1114
|
+
"text": ""
|
|
1115
|
+
}
|
|
1170
1116
|
}
|
|
1171
1117
|
},
|
|
1118
|
+
{
|
|
1119
|
+
"kind": "method",
|
|
1120
|
+
"name": "showError",
|
|
1121
|
+
"privacy": "protected",
|
|
1122
|
+
"parameters": [
|
|
1123
|
+
{
|
|
1124
|
+
"name": "title",
|
|
1125
|
+
"type": {
|
|
1126
|
+
"text": "string"
|
|
1127
|
+
},
|
|
1128
|
+
"description": "The error title"
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"name": "message",
|
|
1132
|
+
"type": {
|
|
1133
|
+
"text": "string"
|
|
1134
|
+
},
|
|
1135
|
+
"description": "The error message"
|
|
1136
|
+
}
|
|
1137
|
+
],
|
|
1138
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
"kind": "method",
|
|
1142
|
+
"name": "onFileSelected",
|
|
1143
|
+
"privacy": "protected",
|
|
1144
|
+
"return": {
|
|
1145
|
+
"type": {
|
|
1146
|
+
"text": "void"
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1149
|
+
"parameters": [
|
|
1150
|
+
{
|
|
1151
|
+
"name": "files",
|
|
1152
|
+
"type": {
|
|
1153
|
+
"text": "File[]"
|
|
1154
|
+
},
|
|
1155
|
+
"description": "The selected file"
|
|
1156
|
+
}
|
|
1157
|
+
],
|
|
1158
|
+
"description": "Abstract method called when a file is selected"
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"kind": "method",
|
|
1162
|
+
"name": "onFileCleared",
|
|
1163
|
+
"privacy": "protected",
|
|
1164
|
+
"return": {
|
|
1165
|
+
"type": {
|
|
1166
|
+
"text": "void"
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
"description": "Abstract method called when file selection is cleared"
|
|
1170
|
+
},
|
|
1172
1171
|
{
|
|
1173
1172
|
"kind": "field",
|
|
1174
1173
|
"name": "_presentation",
|
|
@@ -1283,76 +1282,110 @@
|
|
|
1283
1282
|
],
|
|
1284
1283
|
"events": [
|
|
1285
1284
|
{
|
|
1286
|
-
"description": "
|
|
1287
|
-
"name": "
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1285
|
+
"description": "Fired when file size validation fails. detail: `Error`",
|
|
1286
|
+
"name": "error"
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"description": "Fired when selection is cleared",
|
|
1290
|
+
"name": "clear"
|
|
1292
1291
|
}
|
|
1293
|
-
]
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1292
|
+
],
|
|
1293
|
+
"attributes": [
|
|
1294
|
+
{
|
|
1295
|
+
"name": "label",
|
|
1296
|
+
"type": {
|
|
1297
|
+
"text": "string"
|
|
1298
|
+
},
|
|
1299
|
+
"fieldName": "label"
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"name": "accept",
|
|
1303
|
+
"type": {
|
|
1304
|
+
"text": "string"
|
|
1305
|
+
},
|
|
1306
|
+
"default": "''",
|
|
1307
|
+
"fieldName": "accept"
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"name": "file-size-limit-bytes",
|
|
1311
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1312
|
+
"resolveInitializer": {
|
|
1313
|
+
"module": "src/_common/base-file-component.ts"
|
|
1314
|
+
},
|
|
1315
|
+
"fieldName": "fileSizeLimitBytes"
|
|
1316
|
+
}
|
|
1317
|
+
],
|
|
1318
|
+
"superclass": {
|
|
1319
|
+
"name": "FoundationElement",
|
|
1320
|
+
"package": "@microsoft/fast-foundation"
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
],
|
|
1324
|
+
"exports": [
|
|
1303
1325
|
{
|
|
1304
|
-
"kind": "
|
|
1305
|
-
"name": "
|
|
1306
|
-
"
|
|
1307
|
-
"
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
}
|
|
1326
|
+
"kind": "js",
|
|
1327
|
+
"name": "BaseFileComponent",
|
|
1328
|
+
"declaration": {
|
|
1329
|
+
"name": "BaseFileComponent",
|
|
1330
|
+
"module": "src/_common/base-file-component.ts"
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
]
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
"kind": "javascript-module",
|
|
1337
|
+
"path": "src/_common/field-styles.ts",
|
|
1338
|
+
"declarations": [
|
|
1311
1339
|
{
|
|
1312
|
-
"kind": "variable",
|
|
1313
|
-
"name": "
|
|
1314
|
-
"
|
|
1315
|
-
"privacy": "public"
|
|
1340
|
+
"kind": "variable",
|
|
1341
|
+
"name": "sharedFieldStyles",
|
|
1342
|
+
"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`"
|
|
1316
1343
|
}
|
|
1317
1344
|
],
|
|
1318
1345
|
"exports": [
|
|
1319
1346
|
{
|
|
1320
1347
|
"kind": "js",
|
|
1321
|
-
"name": "
|
|
1322
|
-
"declaration": {
|
|
1323
|
-
"name": "AccordionItem",
|
|
1324
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
1325
|
-
}
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"kind": "js",
|
|
1329
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
1348
|
+
"name": "sharedFieldStyles",
|
|
1330
1349
|
"declaration": {
|
|
1331
|
-
"name": "
|
|
1332
|
-
"module": "src/
|
|
1350
|
+
"name": "sharedFieldStyles",
|
|
1351
|
+
"module": "src/_common/field-styles.ts"
|
|
1333
1352
|
}
|
|
1334
|
-
}
|
|
1353
|
+
}
|
|
1354
|
+
]
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"kind": "javascript-module",
|
|
1358
|
+
"path": "src/_common/icons.ts",
|
|
1359
|
+
"declarations": [
|
|
1335
1360
|
{
|
|
1336
|
-
"kind": "
|
|
1337
|
-
"name": "
|
|
1338
|
-
"
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1361
|
+
"kind": "function",
|
|
1362
|
+
"name": "closeIcon",
|
|
1363
|
+
"parameters": [
|
|
1364
|
+
{
|
|
1365
|
+
"name": "slot",
|
|
1366
|
+
"default": "'start'"
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"name": "fill",
|
|
1370
|
+
"default": "'#879ba6'"
|
|
1371
|
+
}
|
|
1372
|
+
]
|
|
1373
|
+
}
|
|
1374
|
+
],
|
|
1375
|
+
"exports": [
|
|
1343
1376
|
{
|
|
1344
1377
|
"kind": "js",
|
|
1345
|
-
"name": "
|
|
1378
|
+
"name": "closeIcon",
|
|
1346
1379
|
"declaration": {
|
|
1347
|
-
"name": "
|
|
1348
|
-
"module": "src/
|
|
1380
|
+
"name": "closeIcon",
|
|
1381
|
+
"module": "src/_common/icons.ts"
|
|
1349
1382
|
}
|
|
1350
1383
|
}
|
|
1351
1384
|
]
|
|
1352
1385
|
},
|
|
1353
1386
|
{
|
|
1354
1387
|
"kind": "javascript-module",
|
|
1355
|
-
"path": "src/
|
|
1388
|
+
"path": "src/_common/index.ts",
|
|
1356
1389
|
"declarations": [],
|
|
1357
1390
|
"exports": [
|
|
1358
1391
|
{
|
|
@@ -1360,7 +1393,7 @@
|
|
|
1360
1393
|
"name": "*",
|
|
1361
1394
|
"declaration": {
|
|
1362
1395
|
"name": "*",
|
|
1363
|
-
"package": "./
|
|
1396
|
+
"package": "./affix-mixin"
|
|
1364
1397
|
}
|
|
1365
1398
|
},
|
|
1366
1399
|
{
|
|
@@ -1368,7 +1401,7 @@
|
|
|
1368
1401
|
"name": "*",
|
|
1369
1402
|
"declaration": {
|
|
1370
1403
|
"name": "*",
|
|
1371
|
-
"package": "./
|
|
1404
|
+
"package": "./base-file-component"
|
|
1372
1405
|
}
|
|
1373
1406
|
},
|
|
1374
1407
|
{
|
|
@@ -1376,51 +1409,81 @@
|
|
|
1376
1409
|
"name": "*",
|
|
1377
1410
|
"declaration": {
|
|
1378
1411
|
"name": "*",
|
|
1379
|
-
"package": "./
|
|
1412
|
+
"package": "./field-styles"
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"kind": "js",
|
|
1417
|
+
"name": "*",
|
|
1418
|
+
"declaration": {
|
|
1419
|
+
"name": "*",
|
|
1420
|
+
"package": "./icons"
|
|
1380
1421
|
}
|
|
1381
1422
|
}
|
|
1382
1423
|
]
|
|
1383
1424
|
},
|
|
1384
1425
|
{
|
|
1385
1426
|
"kind": "javascript-module",
|
|
1386
|
-
"path": "src/
|
|
1427
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1387
1428
|
"declarations": [
|
|
1388
1429
|
{
|
|
1389
|
-
"kind": "
|
|
1390
|
-
"
|
|
1391
|
-
"
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
"text": "string"
|
|
1398
|
-
},
|
|
1399
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
1400
|
-
},
|
|
1430
|
+
"kind": "function",
|
|
1431
|
+
"name": "foundationAccordionItemStyles",
|
|
1432
|
+
"return": {
|
|
1433
|
+
"type": {
|
|
1434
|
+
"text": "ElementStyles"
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1437
|
+
"parameters": [
|
|
1401
1438
|
{
|
|
1402
|
-
"
|
|
1403
|
-
"name": "suffix",
|
|
1439
|
+
"name": "context",
|
|
1404
1440
|
"type": {
|
|
1405
|
-
"text": "
|
|
1406
|
-
}
|
|
1407
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
1441
|
+
"text": "ElementDefinitionContext"
|
|
1442
|
+
}
|
|
1408
1443
|
},
|
|
1409
1444
|
{
|
|
1410
|
-
"
|
|
1411
|
-
"name": "hideAffixFromScreenReader",
|
|
1445
|
+
"name": "definition",
|
|
1412
1446
|
"type": {
|
|
1413
|
-
"text": "
|
|
1414
|
-
}
|
|
1415
|
-
"default": "false",
|
|
1416
|
-
"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."
|
|
1447
|
+
"text": "FoundationElementDefinition"
|
|
1448
|
+
}
|
|
1417
1449
|
}
|
|
1418
|
-
]
|
|
1450
|
+
]
|
|
1451
|
+
}
|
|
1452
|
+
],
|
|
1453
|
+
"exports": [
|
|
1454
|
+
{
|
|
1455
|
+
"kind": "js",
|
|
1456
|
+
"name": "foundationAccordionItemStyles",
|
|
1457
|
+
"declaration": {
|
|
1458
|
+
"name": "foundationAccordionItemStyles",
|
|
1459
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
]
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"kind": "javascript-module",
|
|
1466
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1467
|
+
"declarations": [
|
|
1468
|
+
{
|
|
1469
|
+
"kind": "function",
|
|
1470
|
+
"name": "foundationAccordionItemTemplate",
|
|
1471
|
+
"return": {
|
|
1472
|
+
"type": {
|
|
1473
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1474
|
+
}
|
|
1475
|
+
},
|
|
1419
1476
|
"parameters": [
|
|
1420
1477
|
{
|
|
1421
|
-
"name": "
|
|
1478
|
+
"name": "context",
|
|
1422
1479
|
"type": {
|
|
1423
|
-
"text": "
|
|
1480
|
+
"text": "ElementDefinitionContext"
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"name": "definition",
|
|
1485
|
+
"type": {
|
|
1486
|
+
"text": "FoundationElementDefinition"
|
|
1424
1487
|
}
|
|
1425
1488
|
}
|
|
1426
1489
|
]
|
|
@@ -1429,169 +1492,117 @@
|
|
|
1429
1492
|
"exports": [
|
|
1430
1493
|
{
|
|
1431
1494
|
"kind": "js",
|
|
1432
|
-
"name": "
|
|
1495
|
+
"name": "foundationAccordionItemTemplate",
|
|
1433
1496
|
"declaration": {
|
|
1434
|
-
"name": "
|
|
1435
|
-
"module": "src/
|
|
1497
|
+
"name": "foundationAccordionItemTemplate",
|
|
1498
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1436
1499
|
}
|
|
1437
1500
|
}
|
|
1438
1501
|
]
|
|
1439
1502
|
},
|
|
1440
1503
|
{
|
|
1441
1504
|
"kind": "javascript-module",
|
|
1442
|
-
"path": "src/
|
|
1505
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1443
1506
|
"declarations": [
|
|
1444
1507
|
{
|
|
1445
1508
|
"kind": "class",
|
|
1446
|
-
"description": "
|
|
1447
|
-
"name": "
|
|
1448
|
-
"
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
"privacy": "public"
|
|
1456
|
-
},
|
|
1509
|
+
"description": "",
|
|
1510
|
+
"name": "AccordionItem",
|
|
1511
|
+
"superclass": {
|
|
1512
|
+
"name": "FASTAccordionItem",
|
|
1513
|
+
"package": "@microsoft/fast-components"
|
|
1514
|
+
},
|
|
1515
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1516
|
+
"customElement": true,
|
|
1517
|
+
"attributes": [
|
|
1457
1518
|
{
|
|
1458
|
-
"
|
|
1459
|
-
"name": "selectedFile",
|
|
1519
|
+
"name": "heading-level",
|
|
1460
1520
|
"type": {
|
|
1461
|
-
"text": "
|
|
1521
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1462
1522
|
},
|
|
1463
|
-
"
|
|
1464
|
-
"
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
"type": {
|
|
1470
|
-
"text": "string"
|
|
1523
|
+
"default": "2",
|
|
1524
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1525
|
+
"fieldName": "headinglevel",
|
|
1526
|
+
"inheritedFrom": {
|
|
1527
|
+
"name": "AccordionItem",
|
|
1528
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1471
1529
|
}
|
|
1472
1530
|
},
|
|
1473
1531
|
{
|
|
1474
|
-
"kind": "field",
|
|
1475
|
-
"name": "accept",
|
|
1476
1532
|
"type": {
|
|
1477
|
-
"text": "
|
|
1533
|
+
"text": "boolean"
|
|
1478
1534
|
},
|
|
1479
|
-
"default": "
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
"
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
"type": {
|
|
1486
|
-
"text": "number"
|
|
1535
|
+
"default": "false",
|
|
1536
|
+
"description": "Expands or collapses the item.",
|
|
1537
|
+
"fieldName": "expanded",
|
|
1538
|
+
"inheritedFrom": {
|
|
1539
|
+
"name": "AccordionItem",
|
|
1540
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1487
1541
|
}
|
|
1488
1542
|
},
|
|
1489
1543
|
{
|
|
1490
|
-
"
|
|
1491
|
-
"name": "fileName",
|
|
1544
|
+
"name": "id",
|
|
1492
1545
|
"type": {
|
|
1493
1546
|
"text": "string"
|
|
1494
1547
|
},
|
|
1495
|
-
"
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
},
|
|
1505
|
-
{
|
|
1506
|
-
"kind": "method",
|
|
1507
|
-
"name": "handleClick",
|
|
1508
|
-
"privacy": "public",
|
|
1509
|
-
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1510
|
-
},
|
|
1511
|
-
{
|
|
1512
|
-
"kind": "method",
|
|
1513
|
-
"name": "onInputChange",
|
|
1514
|
-
"privacy": "public",
|
|
1515
|
-
"parameters": [
|
|
1516
|
-
{
|
|
1517
|
-
"name": "e",
|
|
1518
|
-
"type": {
|
|
1519
|
-
"text": "Event"
|
|
1520
|
-
},
|
|
1521
|
-
"description": "The change event from the file input"
|
|
1522
|
-
}
|
|
1523
|
-
],
|
|
1524
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1525
|
-
},
|
|
1526
|
-
{
|
|
1527
|
-
"kind": "method",
|
|
1528
|
-
"name": "clearSelection",
|
|
1529
|
-
"privacy": "public",
|
|
1530
|
-
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1531
|
-
},
|
|
1548
|
+
"description": "The item ID",
|
|
1549
|
+
"fieldName": "id",
|
|
1550
|
+
"inheritedFrom": {
|
|
1551
|
+
"name": "AccordionItem",
|
|
1552
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
],
|
|
1556
|
+
"members": [
|
|
1532
1557
|
{
|
|
1533
|
-
"kind": "
|
|
1534
|
-
"name": "
|
|
1558
|
+
"kind": "field",
|
|
1559
|
+
"name": "headinglevel",
|
|
1560
|
+
"type": {
|
|
1561
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1562
|
+
},
|
|
1535
1563
|
"privacy": "public",
|
|
1536
|
-
"
|
|
1537
|
-
"
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1564
|
+
"default": "2",
|
|
1565
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1566
|
+
"inheritedFrom": {
|
|
1567
|
+
"name": "AccordionItem",
|
|
1568
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1541
1569
|
}
|
|
1542
1570
|
},
|
|
1543
1571
|
{
|
|
1544
|
-
"kind": "
|
|
1545
|
-
"name": "
|
|
1546
|
-
"
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
"name": "message",
|
|
1557
|
-
"type": {
|
|
1558
|
-
"text": "string"
|
|
1559
|
-
},
|
|
1560
|
-
"description": "The error message"
|
|
1561
|
-
}
|
|
1562
|
-
],
|
|
1563
|
-
"description": "Shows an error notification using the unified error handling system"
|
|
1572
|
+
"kind": "field",
|
|
1573
|
+
"name": "expanded",
|
|
1574
|
+
"type": {
|
|
1575
|
+
"text": "boolean"
|
|
1576
|
+
},
|
|
1577
|
+
"privacy": "public",
|
|
1578
|
+
"default": "false",
|
|
1579
|
+
"description": "Expands or collapses the item.",
|
|
1580
|
+
"inheritedFrom": {
|
|
1581
|
+
"name": "AccordionItem",
|
|
1582
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1583
|
+
}
|
|
1564
1584
|
},
|
|
1565
1585
|
{
|
|
1566
|
-
"kind": "
|
|
1567
|
-
"name": "
|
|
1568
|
-
"
|
|
1569
|
-
|
|
1570
|
-
"type": {
|
|
1571
|
-
"text": "void"
|
|
1572
|
-
}
|
|
1586
|
+
"kind": "field",
|
|
1587
|
+
"name": "id",
|
|
1588
|
+
"type": {
|
|
1589
|
+
"text": "string"
|
|
1573
1590
|
},
|
|
1574
|
-
"
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
"description": "The selected file"
|
|
1581
|
-
}
|
|
1582
|
-
],
|
|
1583
|
-
"description": "Abstract method called when a file is selected"
|
|
1591
|
+
"privacy": "public",
|
|
1592
|
+
"description": "The item ID",
|
|
1593
|
+
"inheritedFrom": {
|
|
1594
|
+
"name": "AccordionItem",
|
|
1595
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1596
|
+
}
|
|
1584
1597
|
},
|
|
1585
1598
|
{
|
|
1586
|
-
"kind": "
|
|
1587
|
-
"name": "
|
|
1588
|
-
"privacy": "
|
|
1589
|
-
"
|
|
1590
|
-
"
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
},
|
|
1594
|
-
"description": "Abstract method called when file selection is cleared"
|
|
1599
|
+
"kind": "field",
|
|
1600
|
+
"name": "change",
|
|
1601
|
+
"privacy": "private",
|
|
1602
|
+
"inheritedFrom": {
|
|
1603
|
+
"name": "AccordionItem",
|
|
1604
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1605
|
+
}
|
|
1595
1606
|
},
|
|
1596
1607
|
{
|
|
1597
1608
|
"kind": "field",
|
|
@@ -1707,110 +1718,76 @@
|
|
|
1707
1718
|
],
|
|
1708
1719
|
"events": [
|
|
1709
1720
|
{
|
|
1710
|
-
"description": "
|
|
1711
|
-
"name": "
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
}
|
|
1717
|
-
],
|
|
1718
|
-
"attributes": [
|
|
1719
|
-
{
|
|
1720
|
-
"name": "label",
|
|
1721
|
-
"type": {
|
|
1722
|
-
"text": "string"
|
|
1723
|
-
},
|
|
1724
|
-
"fieldName": "label"
|
|
1725
|
-
},
|
|
1726
|
-
{
|
|
1727
|
-
"name": "accept",
|
|
1728
|
-
"type": {
|
|
1729
|
-
"text": "string"
|
|
1730
|
-
},
|
|
1731
|
-
"default": "''",
|
|
1732
|
-
"fieldName": "accept"
|
|
1733
|
-
},
|
|
1734
|
-
{
|
|
1735
|
-
"name": "file-size-limit-bytes",
|
|
1736
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1737
|
-
"resolveInitializer": {
|
|
1738
|
-
"module": "src/_common/base-file-component.ts"
|
|
1739
|
-
},
|
|
1740
|
-
"fieldName": "fileSizeLimitBytes"
|
|
1721
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1722
|
+
"name": "change",
|
|
1723
|
+
"inheritedFrom": {
|
|
1724
|
+
"name": "AccordionItem",
|
|
1725
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1726
|
+
}
|
|
1741
1727
|
}
|
|
1742
|
-
]
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1728
|
+
]
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"kind": "variable",
|
|
1732
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1733
|
+
"type": {
|
|
1734
|
+
"text": "ShadowRootInit"
|
|
1735
|
+
},
|
|
1736
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
"kind": "variable",
|
|
1740
|
+
"name": "defaultAccordionItemConfig",
|
|
1741
|
+
"type": {
|
|
1742
|
+
"text": "object"
|
|
1743
|
+
},
|
|
1744
|
+
"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}"
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
"kind": "variable",
|
|
1748
|
+
"name": "foundationAccordionItem",
|
|
1749
|
+
"description": "The Foundation Accordion Item",
|
|
1750
|
+
"privacy": "public"
|
|
1747
1751
|
}
|
|
1748
1752
|
],
|
|
1749
1753
|
"exports": [
|
|
1750
1754
|
{
|
|
1751
1755
|
"kind": "js",
|
|
1752
|
-
"name": "
|
|
1756
|
+
"name": "AccordionItem",
|
|
1753
1757
|
"declaration": {
|
|
1754
|
-
"name": "
|
|
1755
|
-
"module": "src/
|
|
1758
|
+
"name": "AccordionItem",
|
|
1759
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1756
1760
|
}
|
|
1757
|
-
}
|
|
1758
|
-
]
|
|
1759
|
-
},
|
|
1760
|
-
{
|
|
1761
|
-
"kind": "javascript-module",
|
|
1762
|
-
"path": "src/_common/field-styles.ts",
|
|
1763
|
-
"declarations": [
|
|
1764
|
-
{
|
|
1765
|
-
"kind": "variable",
|
|
1766
|
-
"name": "sharedFieldStyles",
|
|
1767
|
-
"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`"
|
|
1768
|
-
}
|
|
1769
|
-
],
|
|
1770
|
-
"exports": [
|
|
1761
|
+
},
|
|
1771
1762
|
{
|
|
1772
1763
|
"kind": "js",
|
|
1773
|
-
"name": "
|
|
1764
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1774
1765
|
"declaration": {
|
|
1775
|
-
"name": "
|
|
1776
|
-
"module": "src/
|
|
1766
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1767
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1777
1768
|
}
|
|
1778
|
-
}
|
|
1779
|
-
]
|
|
1780
|
-
},
|
|
1781
|
-
{
|
|
1782
|
-
"kind": "javascript-module",
|
|
1783
|
-
"path": "src/_common/icons.ts",
|
|
1784
|
-
"declarations": [
|
|
1769
|
+
},
|
|
1785
1770
|
{
|
|
1786
|
-
"kind": "
|
|
1787
|
-
"name": "
|
|
1788
|
-
"
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
{
|
|
1794
|
-
"name": "fill",
|
|
1795
|
-
"default": "'#879ba6'"
|
|
1796
|
-
}
|
|
1797
|
-
]
|
|
1798
|
-
}
|
|
1799
|
-
],
|
|
1800
|
-
"exports": [
|
|
1771
|
+
"kind": "js",
|
|
1772
|
+
"name": "defaultAccordionItemConfig",
|
|
1773
|
+
"declaration": {
|
|
1774
|
+
"name": "defaultAccordionItemConfig",
|
|
1775
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1776
|
+
}
|
|
1777
|
+
},
|
|
1801
1778
|
{
|
|
1802
1779
|
"kind": "js",
|
|
1803
|
-
"name": "
|
|
1780
|
+
"name": "foundationAccordionItem",
|
|
1804
1781
|
"declaration": {
|
|
1805
|
-
"name": "
|
|
1806
|
-
"module": "src/
|
|
1782
|
+
"name": "foundationAccordionItem",
|
|
1783
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1807
1784
|
}
|
|
1808
1785
|
}
|
|
1809
1786
|
]
|
|
1810
1787
|
},
|
|
1811
1788
|
{
|
|
1812
1789
|
"kind": "javascript-module",
|
|
1813
|
-
"path": "src/
|
|
1790
|
+
"path": "src/accordion-item/index.ts",
|
|
1814
1791
|
"declarations": [],
|
|
1815
1792
|
"exports": [
|
|
1816
1793
|
{
|
|
@@ -1818,7 +1795,7 @@
|
|
|
1818
1795
|
"name": "*",
|
|
1819
1796
|
"declaration": {
|
|
1820
1797
|
"name": "*",
|
|
1821
|
-
"package": "./
|
|
1798
|
+
"package": "./accordion-item.template"
|
|
1822
1799
|
}
|
|
1823
1800
|
},
|
|
1824
1801
|
{
|
|
@@ -1826,7 +1803,7 @@
|
|
|
1826
1803
|
"name": "*",
|
|
1827
1804
|
"declaration": {
|
|
1828
1805
|
"name": "*",
|
|
1829
|
-
"package": "./
|
|
1806
|
+
"package": "./accordion-item.styles"
|
|
1830
1807
|
}
|
|
1831
1808
|
},
|
|
1832
1809
|
{
|
|
@@ -1834,7 +1811,22 @@
|
|
|
1834
1811
|
"name": "*",
|
|
1835
1812
|
"declaration": {
|
|
1836
1813
|
"name": "*",
|
|
1837
|
-
"package": "./
|
|
1814
|
+
"package": "./accordion-item"
|
|
1815
|
+
}
|
|
1816
|
+
}
|
|
1817
|
+
]
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
"kind": "javascript-module",
|
|
1821
|
+
"path": "src/_config/index.ts",
|
|
1822
|
+
"declarations": [],
|
|
1823
|
+
"exports": [
|
|
1824
|
+
{
|
|
1825
|
+
"kind": "js",
|
|
1826
|
+
"name": "*",
|
|
1827
|
+
"declaration": {
|
|
1828
|
+
"name": "*",
|
|
1829
|
+
"package": "./styles"
|
|
1838
1830
|
}
|
|
1839
1831
|
},
|
|
1840
1832
|
{
|
|
@@ -1842,7 +1834,15 @@
|
|
|
1842
1834
|
"name": "*",
|
|
1843
1835
|
"declaration": {
|
|
1844
1836
|
"name": "*",
|
|
1845
|
-
"package": "./
|
|
1837
|
+
"package": "./tokens"
|
|
1838
|
+
}
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
"kind": "js",
|
|
1842
|
+
"name": "*",
|
|
1843
|
+
"declaration": {
|
|
1844
|
+
"name": "*",
|
|
1845
|
+
"package": "./values"
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
1848
1848
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-bar.d.ts","sourceRoot":"","sources":["../../../src/search-bar/search-bar.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EACL,eAAe,EACf,cAAc,EAGf,MAAM,oBAAoB,CAAC;AAE5B;;;;GAIG;AACH,qBAAa,SAAU,SAAQ,iBAAiB;IACvC,QAAQ,EAAE,iBAAiB,CAAC;IACvB,mBAAmB,MAAC;IAEpB,OAAO,EAAE,eAAe,EAAE,CAAC;IAE3B,UAAU,EAAE,MAAM,CAAM;IAE9B,UAAU,EAAE,MAAM,CAAa;IAC/B,SAAS,EAAE,MAAM,CAAoB;IACrC,QAAQ,EAAE,QAAQ,CAAkB;IAEpC,WAAW,EAAE,MAAM,CAA4B;IAC/C,QAAQ,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACmD,WAAW,EAAE,OAAO,CAAQ;IAEtE,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,cAAc,EAAE,CAAM;IACvC,eAAe,EAAE,eAAe,EAAE,CAAC;IAExC,kBAAkB,EAAE,cAAc,CAAC;IAE1C;;;OAGG;IACI,KAAK;IAUZ;;;OAGG;IACI,WAAW,IAAI,IAAI;IAI1B;;OAEG;IACH,IAAI,mBAAmB,IAAI,OAAO,CAMjC;IAED;;;OAGG;IACH,IAAI,mBAAmB,IAAI,OAAO,CAOjC;IAED;;;;OAIG;IACH,eAAe,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO;IAUjD,sBAAsB;IAItB,cAAc;IAId,OAAO,CAAC,oBAAoB;IAarB,YAAY;IAMZ,aAAa;IAyCb,YAAY,CAAC,KAAK,EAAE,cAAc;
|
|
1
|
+
{"version":3,"file":"search-bar.d.ts","sourceRoot":"","sources":["../../../src/search-bar/search-bar.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EACL,eAAe,EACf,cAAc,EAGf,MAAM,oBAAoB,CAAC;AAE5B;;;;GAIG;AACH,qBAAa,SAAU,SAAQ,iBAAiB;IACvC,QAAQ,EAAE,iBAAiB,CAAC;IACvB,mBAAmB,MAAC;IAEpB,OAAO,EAAE,eAAe,EAAE,CAAC;IAE3B,UAAU,EAAE,MAAM,CAAM;IAE9B,UAAU,EAAE,MAAM,CAAa;IAC/B,SAAS,EAAE,MAAM,CAAoB;IACrC,QAAQ,EAAE,QAAQ,CAAkB;IAEpC,WAAW,EAAE,MAAM,CAA4B;IAC/C,QAAQ,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACmD,WAAW,EAAE,OAAO,CAAQ;IAEtE,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,cAAc,EAAE,CAAM;IACvC,eAAe,EAAE,eAAe,EAAE,CAAC;IAExC,kBAAkB,EAAE,cAAc,CAAC;IAE1C;;;OAGG;IACI,KAAK;IAUZ;;;OAGG;IACI,WAAW,IAAI,IAAI;IAI1B;;OAEG;IACH,IAAI,mBAAmB,IAAI,OAAO,CAMjC;IAED;;;OAGG;IACH,IAAI,mBAAmB,IAAI,OAAO,CAOjC;IAED;;;;OAIG;IACH,eAAe,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO;IAUjD,sBAAsB;IAItB,cAAc;IAId,OAAO,CAAC,oBAAoB;IAarB,YAAY;IAMZ,aAAa;IAyCb,YAAY,CAAC,KAAK,EAAE,cAAc;IAqBlC,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAM7C,cAAc,CAAC,MAAM,EAAE,GAAG;IAKpB,YAAY;IAazB,OAAO,CAAC,qBAAqB;IAU7B,OAAO,CAAC,kBAAkB,CAExB;IAEF,OAAO,CAAC,wBAAwB,CAQ9B;CACH;AAGD,eAAO,MAAM,gCAAgC,EAAE,cAA0B,CAAC;AAE1E,eAAO,MAAM,sBAAsB,IAAK,CAAC;AAEzC;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;oBAM9B,CAAC"}
|
|
@@ -151,6 +151,9 @@ export class SearchBar extends FoundationElement {
|
|
|
151
151
|
if ((newText === null || newText === void 0 ? void 0 : newText.length) >= this.minlength) {
|
|
152
152
|
this.combobox.value = newText;
|
|
153
153
|
this.searchTerm = newText;
|
|
154
|
+
if (this.options) {
|
|
155
|
+
this.filterSelectedOptions(newText);
|
|
156
|
+
}
|
|
154
157
|
this.combobox.open = true;
|
|
155
158
|
}
|
|
156
159
|
this.loading = false;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-ui",
|
|
3
3
|
"description": "Genesis Foundation UI",
|
|
4
|
-
"version": "15.8.
|
|
4
|
+
"version": "15.8.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@genesislcap/foundation-testing": "15.8.
|
|
89
|
-
"@genesislcap/genx": "15.8.
|
|
90
|
-
"@genesislcap/rollup-builder": "15.8.
|
|
91
|
-
"@genesislcap/ts-builder": "15.8.
|
|
92
|
-
"@genesislcap/uvu-playwright-builder": "15.8.
|
|
93
|
-
"@genesislcap/vite-builder": "15.8.
|
|
94
|
-
"@genesislcap/webpack-builder": "15.8.
|
|
88
|
+
"@genesislcap/foundation-testing": "15.8.2",
|
|
89
|
+
"@genesislcap/genx": "15.8.2",
|
|
90
|
+
"@genesislcap/rollup-builder": "15.8.2",
|
|
91
|
+
"@genesislcap/ts-builder": "15.8.2",
|
|
92
|
+
"@genesislcap/uvu-playwright-builder": "15.8.2",
|
|
93
|
+
"@genesislcap/vite-builder": "15.8.2",
|
|
94
|
+
"@genesislcap/webpack-builder": "15.8.2",
|
|
95
95
|
"copyfiles": "^2.4.1"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
@@ -100,16 +100,16 @@
|
|
|
100
100
|
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
|
101
101
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
|
102
102
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
103
|
-
"@genesislcap/expression-builder": "15.8.
|
|
104
|
-
"@genesislcap/foundation-ai": "15.8.
|
|
105
|
-
"@genesislcap/foundation-comms": "15.8.
|
|
106
|
-
"@genesislcap/foundation-criteria": "15.8.
|
|
107
|
-
"@genesislcap/foundation-errors": "15.8.
|
|
108
|
-
"@genesislcap/foundation-events": "15.8.
|
|
109
|
-
"@genesislcap/foundation-logger": "15.8.
|
|
110
|
-
"@genesislcap/foundation-notifications": "15.8.
|
|
111
|
-
"@genesislcap/foundation-user": "15.8.
|
|
112
|
-
"@genesislcap/foundation-utils": "15.8.
|
|
103
|
+
"@genesislcap/expression-builder": "15.8.2",
|
|
104
|
+
"@genesislcap/foundation-ai": "15.8.2",
|
|
105
|
+
"@genesislcap/foundation-comms": "15.8.2",
|
|
106
|
+
"@genesislcap/foundation-criteria": "15.8.2",
|
|
107
|
+
"@genesislcap/foundation-errors": "15.8.2",
|
|
108
|
+
"@genesislcap/foundation-events": "15.8.2",
|
|
109
|
+
"@genesislcap/foundation-logger": "15.8.2",
|
|
110
|
+
"@genesislcap/foundation-notifications": "15.8.2",
|
|
111
|
+
"@genesislcap/foundation-user": "15.8.2",
|
|
112
|
+
"@genesislcap/foundation-utils": "15.8.2",
|
|
113
113
|
"@microsoft/fast-colors": "5.3.1",
|
|
114
114
|
"@microsoft/fast-components": "2.30.6",
|
|
115
115
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"require": "./dist/react.cjs"
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "c62567e4acee7219798579d18a023be909bdd0a0"
|
|
146
146
|
}
|