@genesislcap/foundation-ui 15.8.1 → 15.8.3
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,149 @@
|
|
|
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
|
-
|
|
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": [
|
|
1325
|
+
{
|
|
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": [
|
|
1295
1339
|
{
|
|
1296
1340
|
"kind": "variable",
|
|
1297
|
-
"name": "
|
|
1298
|
-
"
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
},
|
|
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`"
|
|
1343
|
+
}
|
|
1344
|
+
],
|
|
1345
|
+
"exports": [
|
|
1303
1346
|
{
|
|
1304
|
-
"kind": "
|
|
1305
|
-
"name": "
|
|
1306
|
-
"
|
|
1307
|
-
"
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
}
|
|
1347
|
+
"kind": "js",
|
|
1348
|
+
"name": "sharedFieldStyles",
|
|
1349
|
+
"declaration": {
|
|
1350
|
+
"name": "sharedFieldStyles",
|
|
1351
|
+
"module": "src/_common/field-styles.ts"
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
]
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"kind": "javascript-module",
|
|
1358
|
+
"path": "src/_common/icons.ts",
|
|
1359
|
+
"declarations": [
|
|
1311
1360
|
{
|
|
1312
|
-
"kind": "
|
|
1313
|
-
"name": "
|
|
1314
|
-
"
|
|
1315
|
-
|
|
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
|
+
]
|
|
1316
1373
|
}
|
|
1317
1374
|
],
|
|
1318
1375
|
"exports": [
|
|
1319
1376
|
{
|
|
1320
1377
|
"kind": "js",
|
|
1321
|
-
"name": "
|
|
1378
|
+
"name": "closeIcon",
|
|
1322
1379
|
"declaration": {
|
|
1323
|
-
"name": "
|
|
1324
|
-
"module": "src/
|
|
1380
|
+
"name": "closeIcon",
|
|
1381
|
+
"module": "src/_common/icons.ts"
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
]
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"kind": "javascript-module",
|
|
1388
|
+
"path": "src/_common/index.ts",
|
|
1389
|
+
"declarations": [],
|
|
1390
|
+
"exports": [
|
|
1391
|
+
{
|
|
1392
|
+
"kind": "js",
|
|
1393
|
+
"name": "*",
|
|
1394
|
+
"declaration": {
|
|
1395
|
+
"name": "*",
|
|
1396
|
+
"package": "./affix-mixin"
|
|
1325
1397
|
}
|
|
1326
1398
|
},
|
|
1327
1399
|
{
|
|
1328
1400
|
"kind": "js",
|
|
1329
|
-
"name": "
|
|
1401
|
+
"name": "*",
|
|
1330
1402
|
"declaration": {
|
|
1331
|
-
"name": "
|
|
1332
|
-
"
|
|
1403
|
+
"name": "*",
|
|
1404
|
+
"package": "./base-file-component"
|
|
1333
1405
|
}
|
|
1334
1406
|
},
|
|
1335
1407
|
{
|
|
1336
1408
|
"kind": "js",
|
|
1337
|
-
"name": "
|
|
1409
|
+
"name": "*",
|
|
1338
1410
|
"declaration": {
|
|
1339
|
-
"name": "
|
|
1340
|
-
"
|
|
1411
|
+
"name": "*",
|
|
1412
|
+
"package": "./field-styles"
|
|
1341
1413
|
}
|
|
1342
1414
|
},
|
|
1343
1415
|
{
|
|
1344
1416
|
"kind": "js",
|
|
1345
|
-
"name": "
|
|
1417
|
+
"name": "*",
|
|
1346
1418
|
"declaration": {
|
|
1347
|
-
"name": "
|
|
1348
|
-
"
|
|
1419
|
+
"name": "*",
|
|
1420
|
+
"package": "./icons"
|
|
1349
1421
|
}
|
|
1350
1422
|
}
|
|
1351
1423
|
]
|
|
1352
1424
|
},
|
|
1353
1425
|
{
|
|
1354
1426
|
"kind": "javascript-module",
|
|
1355
|
-
"path": "src/
|
|
1427
|
+
"path": "src/_config/index.ts",
|
|
1356
1428
|
"declarations": [],
|
|
1357
1429
|
"exports": [
|
|
1358
1430
|
{
|
|
@@ -1360,7 +1432,7 @@
|
|
|
1360
1432
|
"name": "*",
|
|
1361
1433
|
"declaration": {
|
|
1362
1434
|
"name": "*",
|
|
1363
|
-
"package": "./
|
|
1435
|
+
"package": "./styles"
|
|
1364
1436
|
}
|
|
1365
1437
|
},
|
|
1366
1438
|
{
|
|
@@ -1368,7 +1440,7 @@
|
|
|
1368
1440
|
"name": "*",
|
|
1369
1441
|
"declaration": {
|
|
1370
1442
|
"name": "*",
|
|
1371
|
-
"package": "./
|
|
1443
|
+
"package": "./tokens"
|
|
1372
1444
|
}
|
|
1373
1445
|
},
|
|
1374
1446
|
{
|
|
@@ -1376,51 +1448,73 @@
|
|
|
1376
1448
|
"name": "*",
|
|
1377
1449
|
"declaration": {
|
|
1378
1450
|
"name": "*",
|
|
1379
|
-
"package": "./
|
|
1451
|
+
"package": "./values"
|
|
1380
1452
|
}
|
|
1381
1453
|
}
|
|
1382
1454
|
]
|
|
1383
1455
|
},
|
|
1384
1456
|
{
|
|
1385
1457
|
"kind": "javascript-module",
|
|
1386
|
-
"path": "src/
|
|
1458
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1387
1459
|
"declarations": [
|
|
1388
1460
|
{
|
|
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
|
-
},
|
|
1461
|
+
"kind": "function",
|
|
1462
|
+
"name": "foundationAccordionItemStyles",
|
|
1463
|
+
"return": {
|
|
1464
|
+
"type": {
|
|
1465
|
+
"text": "ElementStyles"
|
|
1466
|
+
}
|
|
1467
|
+
},
|
|
1468
|
+
"parameters": [
|
|
1401
1469
|
{
|
|
1402
|
-
"
|
|
1403
|
-
"name": "suffix",
|
|
1470
|
+
"name": "context",
|
|
1404
1471
|
"type": {
|
|
1405
|
-
"text": "
|
|
1406
|
-
}
|
|
1407
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
1472
|
+
"text": "ElementDefinitionContext"
|
|
1473
|
+
}
|
|
1408
1474
|
},
|
|
1409
1475
|
{
|
|
1410
|
-
"
|
|
1411
|
-
"name": "hideAffixFromScreenReader",
|
|
1476
|
+
"name": "definition",
|
|
1412
1477
|
"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."
|
|
1478
|
+
"text": "FoundationElementDefinition"
|
|
1479
|
+
}
|
|
1417
1480
|
}
|
|
1418
|
-
]
|
|
1481
|
+
]
|
|
1482
|
+
}
|
|
1483
|
+
],
|
|
1484
|
+
"exports": [
|
|
1485
|
+
{
|
|
1486
|
+
"kind": "js",
|
|
1487
|
+
"name": "foundationAccordionItemStyles",
|
|
1488
|
+
"declaration": {
|
|
1489
|
+
"name": "foundationAccordionItemStyles",
|
|
1490
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
]
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"kind": "javascript-module",
|
|
1497
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1498
|
+
"declarations": [
|
|
1499
|
+
{
|
|
1500
|
+
"kind": "function",
|
|
1501
|
+
"name": "foundationAccordionItemTemplate",
|
|
1502
|
+
"return": {
|
|
1503
|
+
"type": {
|
|
1504
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1419
1507
|
"parameters": [
|
|
1420
1508
|
{
|
|
1421
|
-
"name": "
|
|
1509
|
+
"name": "context",
|
|
1422
1510
|
"type": {
|
|
1423
|
-
"text": "
|
|
1511
|
+
"text": "ElementDefinitionContext"
|
|
1512
|
+
}
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
"name": "definition",
|
|
1516
|
+
"type": {
|
|
1517
|
+
"text": "FoundationElementDefinition"
|
|
1424
1518
|
}
|
|
1425
1519
|
}
|
|
1426
1520
|
]
|
|
@@ -1429,169 +1523,117 @@
|
|
|
1429
1523
|
"exports": [
|
|
1430
1524
|
{
|
|
1431
1525
|
"kind": "js",
|
|
1432
|
-
"name": "
|
|
1526
|
+
"name": "foundationAccordionItemTemplate",
|
|
1433
1527
|
"declaration": {
|
|
1434
|
-
"name": "
|
|
1435
|
-
"module": "src/
|
|
1528
|
+
"name": "foundationAccordionItemTemplate",
|
|
1529
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1436
1530
|
}
|
|
1437
1531
|
}
|
|
1438
1532
|
]
|
|
1439
1533
|
},
|
|
1440
1534
|
{
|
|
1441
1535
|
"kind": "javascript-module",
|
|
1442
|
-
"path": "src/
|
|
1536
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1443
1537
|
"declarations": [
|
|
1444
1538
|
{
|
|
1445
1539
|
"kind": "class",
|
|
1446
|
-
"description": "
|
|
1447
|
-
"name": "
|
|
1448
|
-
"
|
|
1540
|
+
"description": "",
|
|
1541
|
+
"name": "AccordionItem",
|
|
1542
|
+
"superclass": {
|
|
1543
|
+
"name": "FASTAccordionItem",
|
|
1544
|
+
"package": "@microsoft/fast-components"
|
|
1545
|
+
},
|
|
1546
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1547
|
+
"customElement": true,
|
|
1548
|
+
"attributes": [
|
|
1449
1549
|
{
|
|
1450
|
-
"
|
|
1451
|
-
"name": "fileInput",
|
|
1550
|
+
"name": "heading-level",
|
|
1452
1551
|
"type": {
|
|
1453
|
-
"text": "
|
|
1552
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1454
1553
|
},
|
|
1455
|
-
"
|
|
1554
|
+
"default": "2",
|
|
1555
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1556
|
+
"fieldName": "headinglevel",
|
|
1557
|
+
"inheritedFrom": {
|
|
1558
|
+
"name": "AccordionItem",
|
|
1559
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1560
|
+
}
|
|
1456
1561
|
},
|
|
1457
1562
|
{
|
|
1458
|
-
"kind": "field",
|
|
1459
|
-
"name": "selectedFile",
|
|
1460
1563
|
"type": {
|
|
1461
|
-
"text": "
|
|
1564
|
+
"text": "boolean"
|
|
1462
1565
|
},
|
|
1463
|
-
"
|
|
1464
|
-
"
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
"type": {
|
|
1470
|
-
"text": "string"
|
|
1566
|
+
"default": "false",
|
|
1567
|
+
"description": "Expands or collapses the item.",
|
|
1568
|
+
"fieldName": "expanded",
|
|
1569
|
+
"inheritedFrom": {
|
|
1570
|
+
"name": "AccordionItem",
|
|
1571
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1471
1572
|
}
|
|
1472
1573
|
},
|
|
1473
1574
|
{
|
|
1474
|
-
"
|
|
1475
|
-
"name": "accept",
|
|
1575
|
+
"name": "id",
|
|
1476
1576
|
"type": {
|
|
1477
1577
|
"text": "string"
|
|
1478
1578
|
},
|
|
1479
|
-
"
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
"default": "10_485_760",
|
|
1485
|
-
"type": {
|
|
1486
|
-
"text": "number"
|
|
1579
|
+
"description": "The item ID",
|
|
1580
|
+
"fieldName": "id",
|
|
1581
|
+
"inheritedFrom": {
|
|
1582
|
+
"name": "AccordionItem",
|
|
1583
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1487
1584
|
}
|
|
1488
|
-
}
|
|
1585
|
+
}
|
|
1586
|
+
],
|
|
1587
|
+
"members": [
|
|
1489
1588
|
{
|
|
1490
1589
|
"kind": "field",
|
|
1491
|
-
"name": "
|
|
1590
|
+
"name": "headinglevel",
|
|
1492
1591
|
"type": {
|
|
1493
|
-
"text": "
|
|
1592
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1494
1593
|
},
|
|
1495
|
-
"
|
|
1594
|
+
"privacy": "public",
|
|
1595
|
+
"default": "2",
|
|
1596
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1597
|
+
"inheritedFrom": {
|
|
1598
|
+
"name": "AccordionItem",
|
|
1599
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1600
|
+
}
|
|
1496
1601
|
},
|
|
1497
1602
|
{
|
|
1498
1603
|
"kind": "field",
|
|
1499
|
-
"name": "
|
|
1604
|
+
"name": "expanded",
|
|
1500
1605
|
"type": {
|
|
1501
1606
|
"text": "boolean"
|
|
1502
1607
|
},
|
|
1503
|
-
"default": "false"
|
|
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
|
-
},
|
|
1532
|
-
{
|
|
1533
|
-
"kind": "method",
|
|
1534
|
-
"name": "getSelectedFile",
|
|
1535
1608
|
"privacy": "public",
|
|
1536
|
-
"
|
|
1537
|
-
"
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1609
|
+
"default": "false",
|
|
1610
|
+
"description": "Expands or collapses the item.",
|
|
1611
|
+
"inheritedFrom": {
|
|
1612
|
+
"name": "AccordionItem",
|
|
1613
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1541
1614
|
}
|
|
1542
1615
|
},
|
|
1543
1616
|
{
|
|
1544
|
-
"kind": "
|
|
1545
|
-
"name": "
|
|
1546
|
-
"
|
|
1547
|
-
|
|
1548
|
-
{
|
|
1549
|
-
"name": "title",
|
|
1550
|
-
"type": {
|
|
1551
|
-
"text": "string"
|
|
1552
|
-
},
|
|
1553
|
-
"description": "The error title"
|
|
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"
|
|
1564
|
-
},
|
|
1565
|
-
{
|
|
1566
|
-
"kind": "method",
|
|
1567
|
-
"name": "onFileSelected",
|
|
1568
|
-
"privacy": "protected",
|
|
1569
|
-
"return": {
|
|
1570
|
-
"type": {
|
|
1571
|
-
"text": "void"
|
|
1572
|
-
}
|
|
1617
|
+
"kind": "field",
|
|
1618
|
+
"name": "id",
|
|
1619
|
+
"type": {
|
|
1620
|
+
"text": "string"
|
|
1573
1621
|
},
|
|
1574
|
-
"
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
"description": "The selected file"
|
|
1581
|
-
}
|
|
1582
|
-
],
|
|
1583
|
-
"description": "Abstract method called when a file is selected"
|
|
1622
|
+
"privacy": "public",
|
|
1623
|
+
"description": "The item ID",
|
|
1624
|
+
"inheritedFrom": {
|
|
1625
|
+
"name": "AccordionItem",
|
|
1626
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1627
|
+
}
|
|
1584
1628
|
},
|
|
1585
1629
|
{
|
|
1586
|
-
"kind": "
|
|
1587
|
-
"name": "
|
|
1588
|
-
"privacy": "
|
|
1589
|
-
"
|
|
1590
|
-
"
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
},
|
|
1594
|
-
"description": "Abstract method called when file selection is cleared"
|
|
1630
|
+
"kind": "field",
|
|
1631
|
+
"name": "change",
|
|
1632
|
+
"privacy": "private",
|
|
1633
|
+
"inheritedFrom": {
|
|
1634
|
+
"name": "AccordionItem",
|
|
1635
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1636
|
+
}
|
|
1595
1637
|
},
|
|
1596
1638
|
{
|
|
1597
1639
|
"kind": "field",
|
|
@@ -1707,110 +1749,76 @@
|
|
|
1707
1749
|
],
|
|
1708
1750
|
"events": [
|
|
1709
1751
|
{
|
|
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"
|
|
1752
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1753
|
+
"name": "change",
|
|
1754
|
+
"inheritedFrom": {
|
|
1755
|
+
"name": "AccordionItem",
|
|
1756
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1757
|
+
}
|
|
1741
1758
|
}
|
|
1742
|
-
]
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1759
|
+
]
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"kind": "variable",
|
|
1763
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1764
|
+
"type": {
|
|
1765
|
+
"text": "ShadowRootInit"
|
|
1766
|
+
},
|
|
1767
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
"kind": "variable",
|
|
1771
|
+
"name": "defaultAccordionItemConfig",
|
|
1772
|
+
"type": {
|
|
1773
|
+
"text": "object"
|
|
1774
|
+
},
|
|
1775
|
+
"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}"
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"kind": "variable",
|
|
1779
|
+
"name": "foundationAccordionItem",
|
|
1780
|
+
"description": "The Foundation Accordion Item",
|
|
1781
|
+
"privacy": "public"
|
|
1747
1782
|
}
|
|
1748
1783
|
],
|
|
1749
1784
|
"exports": [
|
|
1750
1785
|
{
|
|
1751
1786
|
"kind": "js",
|
|
1752
|
-
"name": "
|
|
1787
|
+
"name": "AccordionItem",
|
|
1753
1788
|
"declaration": {
|
|
1754
|
-
"name": "
|
|
1755
|
-
"module": "src/
|
|
1789
|
+
"name": "AccordionItem",
|
|
1790
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1756
1791
|
}
|
|
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": [
|
|
1792
|
+
},
|
|
1771
1793
|
{
|
|
1772
1794
|
"kind": "js",
|
|
1773
|
-
"name": "
|
|
1795
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1774
1796
|
"declaration": {
|
|
1775
|
-
"name": "
|
|
1776
|
-
"module": "src/
|
|
1797
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1798
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1777
1799
|
}
|
|
1778
|
-
}
|
|
1779
|
-
]
|
|
1780
|
-
},
|
|
1781
|
-
{
|
|
1782
|
-
"kind": "javascript-module",
|
|
1783
|
-
"path": "src/_common/icons.ts",
|
|
1784
|
-
"declarations": [
|
|
1800
|
+
},
|
|
1785
1801
|
{
|
|
1786
|
-
"kind": "
|
|
1787
|
-
"name": "
|
|
1788
|
-
"
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
{
|
|
1794
|
-
"name": "fill",
|
|
1795
|
-
"default": "'#879ba6'"
|
|
1796
|
-
}
|
|
1797
|
-
]
|
|
1798
|
-
}
|
|
1799
|
-
],
|
|
1800
|
-
"exports": [
|
|
1802
|
+
"kind": "js",
|
|
1803
|
+
"name": "defaultAccordionItemConfig",
|
|
1804
|
+
"declaration": {
|
|
1805
|
+
"name": "defaultAccordionItemConfig",
|
|
1806
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1807
|
+
}
|
|
1808
|
+
},
|
|
1801
1809
|
{
|
|
1802
1810
|
"kind": "js",
|
|
1803
|
-
"name": "
|
|
1811
|
+
"name": "foundationAccordionItem",
|
|
1804
1812
|
"declaration": {
|
|
1805
|
-
"name": "
|
|
1806
|
-
"module": "src/
|
|
1813
|
+
"name": "foundationAccordionItem",
|
|
1814
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1807
1815
|
}
|
|
1808
1816
|
}
|
|
1809
1817
|
]
|
|
1810
1818
|
},
|
|
1811
1819
|
{
|
|
1812
1820
|
"kind": "javascript-module",
|
|
1813
|
-
"path": "src/
|
|
1821
|
+
"path": "src/accordion-item/index.ts",
|
|
1814
1822
|
"declarations": [],
|
|
1815
1823
|
"exports": [
|
|
1816
1824
|
{
|
|
@@ -1818,15 +1826,7 @@
|
|
|
1818
1826
|
"name": "*",
|
|
1819
1827
|
"declaration": {
|
|
1820
1828
|
"name": "*",
|
|
1821
|
-
"package": "./
|
|
1822
|
-
}
|
|
1823
|
-
},
|
|
1824
|
-
{
|
|
1825
|
-
"kind": "js",
|
|
1826
|
-
"name": "*",
|
|
1827
|
-
"declaration": {
|
|
1828
|
-
"name": "*",
|
|
1829
|
-
"package": "./base-file-component"
|
|
1829
|
+
"package": "./accordion-item.template"
|
|
1830
1830
|
}
|
|
1831
1831
|
},
|
|
1832
1832
|
{
|
|
@@ -1834,7 +1834,7 @@
|
|
|
1834
1834
|
"name": "*",
|
|
1835
1835
|
"declaration": {
|
|
1836
1836
|
"name": "*",
|
|
1837
|
-
"package": "./
|
|
1837
|
+
"package": "./accordion-item.styles"
|
|
1838
1838
|
}
|
|
1839
1839
|
},
|
|
1840
1840
|
{
|
|
@@ -1842,7 +1842,7 @@
|
|
|
1842
1842
|
"name": "*",
|
|
1843
1843
|
"declaration": {
|
|
1844
1844
|
"name": "*",
|
|
1845
|
-
"package": "./
|
|
1845
|
+
"package": "./accordion-item"
|
|
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.3",
|
|
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.3",
|
|
89
|
+
"@genesislcap/genx": "15.8.3",
|
|
90
|
+
"@genesislcap/rollup-builder": "15.8.3",
|
|
91
|
+
"@genesislcap/ts-builder": "15.8.3",
|
|
92
|
+
"@genesislcap/uvu-playwright-builder": "15.8.3",
|
|
93
|
+
"@genesislcap/vite-builder": "15.8.3",
|
|
94
|
+
"@genesislcap/webpack-builder": "15.8.3",
|
|
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.3",
|
|
104
|
+
"@genesislcap/foundation-ai": "15.8.3",
|
|
105
|
+
"@genesislcap/foundation-comms": "15.8.3",
|
|
106
|
+
"@genesislcap/foundation-criteria": "15.8.3",
|
|
107
|
+
"@genesislcap/foundation-errors": "15.8.3",
|
|
108
|
+
"@genesislcap/foundation-events": "15.8.3",
|
|
109
|
+
"@genesislcap/foundation-logger": "15.8.3",
|
|
110
|
+
"@genesislcap/foundation-notifications": "15.8.3",
|
|
111
|
+
"@genesislcap/foundation-user": "15.8.3",
|
|
112
|
+
"@genesislcap/foundation-utils": "15.8.3",
|
|
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": "0001fb4c5a056b22bb1a3d316cc4f2e2aa79cff4"
|
|
146
146
|
}
|