@genesislcap/foundation-ui 14.456.1 → 14.456.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +661 -661
  2. package/package.json +19 -19
@@ -932,472 +932,6 @@
932
932
  }
933
933
  ]
934
934
  },
935
- {
936
- "kind": "javascript-module",
937
- "path": "src/_common/affix-mixin.ts",
938
- "declarations": [
939
- {
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": [
944
- {
945
- "kind": "field",
946
- "name": "prefix",
947
- "type": {
948
- "text": "string"
949
- },
950
- "description": "Optional non-editable label shown on the left inside the field, before the input."
951
- },
952
- {
953
- "kind": "field",
954
- "name": "suffix",
955
- "type": {
956
- "text": "string"
957
- },
958
- "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
959
- },
960
- {
961
- "kind": "field",
962
- "name": "hideAffixFromScreenReader",
963
- "type": {
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": [
971
- {
972
- "name": "Base",
973
- "type": {
974
- "text": "TBase"
975
- }
976
- }
977
- ]
978
- }
979
- ],
980
- "exports": [
981
- {
982
- "kind": "js",
983
- "name": "AffixMixin",
984
- "declaration": {
985
- "name": "AffixMixin",
986
- "module": "src/_common/affix-mixin.ts"
987
- }
988
- }
989
- ]
990
- },
991
- {
992
- "kind": "javascript-module",
993
- "path": "src/_common/base-file-component.ts",
994
- "declarations": [
995
- {
996
- "kind": "class",
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": [
1000
- {
1001
- "kind": "field",
1002
- "name": "fileInput",
1003
- "type": {
1004
- "text": "HTMLInputElement"
1005
- },
1006
- "privacy": "public"
1007
- },
1008
- {
1009
- "kind": "field",
1010
- "name": "selectedFile",
1011
- "type": {
1012
- "text": "File | null"
1013
- },
1014
- "privacy": "protected",
1015
- "default": "null"
1016
- },
1017
- {
1018
- "kind": "field",
1019
- "name": "label",
1020
- "type": {
1021
- "text": "string"
1022
- }
1023
- },
1024
- {
1025
- "kind": "field",
1026
- "name": "accept",
1027
- "type": {
1028
- "text": "string"
1029
- },
1030
- "default": "''"
1031
- },
1032
- {
1033
- "kind": "field",
1034
- "name": "fileSizeLimitBytes",
1035
- "default": "10_485_760",
1036
- "type": {
1037
- "text": "number"
1038
- }
1039
- },
1040
- {
1041
- "kind": "field",
1042
- "name": "fileName",
1043
- "type": {
1044
- "text": "string"
1045
- },
1046
- "default": "''"
1047
- },
1048
- {
1049
- "kind": "field",
1050
- "name": "isProcessing",
1051
- "type": {
1052
- "text": "boolean"
1053
- },
1054
- "default": "false"
1055
- },
1056
- {
1057
- "kind": "method",
1058
- "name": "handleClick",
1059
- "privacy": "public",
1060
- "description": "Opens the file picker dialog\nClears any previous file selection before opening"
1061
- },
1062
- {
1063
- "kind": "method",
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"
1073
- }
1074
- ],
1075
- "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
1076
- },
1077
- {
1078
- "kind": "method",
1079
- "name": "clearSelection",
1080
- "privacy": "public",
1081
- "description": "Clears all file selection and processing state\nResets the component to its initial state"
1082
- },
1083
- {
1084
- "kind": "method",
1085
- "name": "getSelectedFile",
1086
- "privacy": "public",
1087
- "description": "Gets the currently selected file object",
1088
- "return": {
1089
- "type": {
1090
- "text": ""
1091
- }
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",
1224
- "module": "src/foundation-element/foundation-element.ts"
1225
- }
1226
- },
1227
- {
1228
- "kind": "method",
1229
- "name": "compose",
1230
- "privacy": "public",
1231
- "static": true,
1232
- "return": {
1233
- "type": {
1234
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1235
- }
1236
- },
1237
- "parameters": [
1238
- {
1239
- "name": "this",
1240
- "type": {
1241
- "text": "K"
1242
- }
1243
- },
1244
- {
1245
- "name": "elementDefinition",
1246
- "type": {
1247
- "text": "T"
1248
- },
1249
- "description": "The definition of the element to create the registry\nfunction for."
1250
- }
1251
- ],
1252
- "description": "Defines an element registry function with a set of element definition defaults.",
1253
- "inheritedFrom": {
1254
- "name": "FoundationElement",
1255
- "module": "src/foundation-element/foundation-element.ts"
1256
- }
1257
- }
1258
- ],
1259
- "events": [
1260
- {
1261
- "description": "Fired when file size validation fails",
1262
- "name": "error"
1263
- },
1264
- {
1265
- "description": "Fired when selection is cleared",
1266
- "name": "clear"
1267
- }
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
- }
1298
- }
1299
- ],
1300
- "exports": [
1301
- {
1302
- "kind": "js",
1303
- "name": "BaseFileComponent",
1304
- "declaration": {
1305
- "name": "BaseFileComponent",
1306
- "module": "src/_common/base-file-component.ts"
1307
- }
1308
- }
1309
- ]
1310
- },
1311
- {
1312
- "kind": "javascript-module",
1313
- "path": "src/_common/field-styles.ts",
1314
- "declarations": [
1315
- {
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": [
1322
- {
1323
- "kind": "js",
1324
- "name": "sharedFieldStyles",
1325
- "declaration": {
1326
- "name": "sharedFieldStyles",
1327
- "module": "src/_common/field-styles.ts"
1328
- }
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": [
1352
- {
1353
- "kind": "js",
1354
- "name": "closeIcon",
1355
- "declaration": {
1356
- "name": "closeIcon",
1357
- "module": "src/_common/icons.ts"
1358
- }
1359
- }
1360
- ]
1361
- },
1362
- {
1363
- "kind": "javascript-module",
1364
- "path": "src/_common/index.ts",
1365
- "declarations": [],
1366
- "exports": [
1367
- {
1368
- "kind": "js",
1369
- "name": "*",
1370
- "declaration": {
1371
- "name": "*",
1372
- "package": "./affix-mixin"
1373
- }
1374
- },
1375
- {
1376
- "kind": "js",
1377
- "name": "*",
1378
- "declaration": {
1379
- "name": "*",
1380
- "package": "./base-file-component"
1381
- }
1382
- },
1383
- {
1384
- "kind": "js",
1385
- "name": "*",
1386
- "declaration": {
1387
- "name": "*",
1388
- "package": "./field-styles"
1389
- }
1390
- },
1391
- {
1392
- "kind": "js",
1393
- "name": "*",
1394
- "declaration": {
1395
- "name": "*",
1396
- "package": "./icons"
1397
- }
1398
- }
1399
- ]
1400
- },
1401
935
  {
1402
936
  "kind": "javascript-module",
1403
937
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -2353,7 +1887,434 @@
2353
1887
  },
2354
1888
  {
2355
1889
  "kind": "javascript-module",
2356
- "path": "src/_config/index.ts",
1890
+ "path": "src/_common/affix-mixin.ts",
1891
+ "declarations": [
1892
+ {
1893
+ "kind": "mixin",
1894
+ "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.",
1895
+ "name": "AffixMixin",
1896
+ "members": [
1897
+ {
1898
+ "kind": "field",
1899
+ "name": "prefix",
1900
+ "type": {
1901
+ "text": "string"
1902
+ },
1903
+ "description": "Optional non-editable label shown on the left inside the field, before the input."
1904
+ },
1905
+ {
1906
+ "kind": "field",
1907
+ "name": "suffix",
1908
+ "type": {
1909
+ "text": "string"
1910
+ },
1911
+ "description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
1912
+ },
1913
+ {
1914
+ "kind": "field",
1915
+ "name": "hideAffixFromScreenReader",
1916
+ "type": {
1917
+ "text": "boolean"
1918
+ },
1919
+ "default": "false",
1920
+ "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."
1921
+ }
1922
+ ],
1923
+ "parameters": [
1924
+ {
1925
+ "name": "Base",
1926
+ "type": {
1927
+ "text": "TBase"
1928
+ }
1929
+ }
1930
+ ]
1931
+ }
1932
+ ],
1933
+ "exports": [
1934
+ {
1935
+ "kind": "js",
1936
+ "name": "AffixMixin",
1937
+ "declaration": {
1938
+ "name": "AffixMixin",
1939
+ "module": "src/_common/affix-mixin.ts"
1940
+ }
1941
+ }
1942
+ ]
1943
+ },
1944
+ {
1945
+ "kind": "javascript-module",
1946
+ "path": "src/_common/base-file-component.ts",
1947
+ "declarations": [
1948
+ {
1949
+ "kind": "class",
1950
+ "description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
1951
+ "name": "BaseFileComponent",
1952
+ "members": [
1953
+ {
1954
+ "kind": "field",
1955
+ "name": "fileInput",
1956
+ "type": {
1957
+ "text": "HTMLInputElement"
1958
+ },
1959
+ "privacy": "public"
1960
+ },
1961
+ {
1962
+ "kind": "field",
1963
+ "name": "selectedFile",
1964
+ "type": {
1965
+ "text": "File | null"
1966
+ },
1967
+ "privacy": "protected",
1968
+ "default": "null"
1969
+ },
1970
+ {
1971
+ "kind": "field",
1972
+ "name": "label",
1973
+ "type": {
1974
+ "text": "string"
1975
+ }
1976
+ },
1977
+ {
1978
+ "kind": "field",
1979
+ "name": "accept",
1980
+ "type": {
1981
+ "text": "string"
1982
+ },
1983
+ "default": "''"
1984
+ },
1985
+ {
1986
+ "kind": "field",
1987
+ "name": "fileSizeLimitBytes",
1988
+ "default": "10_485_760",
1989
+ "type": {
1990
+ "text": "number"
1991
+ }
1992
+ },
1993
+ {
1994
+ "kind": "field",
1995
+ "name": "fileName",
1996
+ "type": {
1997
+ "text": "string"
1998
+ },
1999
+ "default": "''"
2000
+ },
2001
+ {
2002
+ "kind": "field",
2003
+ "name": "isProcessing",
2004
+ "type": {
2005
+ "text": "boolean"
2006
+ },
2007
+ "default": "false"
2008
+ },
2009
+ {
2010
+ "kind": "method",
2011
+ "name": "handleClick",
2012
+ "privacy": "public",
2013
+ "description": "Opens the file picker dialog\nClears any previous file selection before opening"
2014
+ },
2015
+ {
2016
+ "kind": "method",
2017
+ "name": "onInputChange",
2018
+ "privacy": "public",
2019
+ "parameters": [
2020
+ {
2021
+ "name": "e",
2022
+ "type": {
2023
+ "text": "Event"
2024
+ },
2025
+ "description": "The change event from the file input"
2026
+ }
2027
+ ],
2028
+ "description": "Handles file selection from the file input\nValidates file size and sets up for processing"
2029
+ },
2030
+ {
2031
+ "kind": "method",
2032
+ "name": "clearSelection",
2033
+ "privacy": "public",
2034
+ "description": "Clears all file selection and processing state\nResets the component to its initial state"
2035
+ },
2036
+ {
2037
+ "kind": "method",
2038
+ "name": "getSelectedFile",
2039
+ "privacy": "public",
2040
+ "description": "Gets the currently selected file object",
2041
+ "return": {
2042
+ "type": {
2043
+ "text": ""
2044
+ }
2045
+ }
2046
+ },
2047
+ {
2048
+ "kind": "method",
2049
+ "name": "showError",
2050
+ "privacy": "protected",
2051
+ "parameters": [
2052
+ {
2053
+ "name": "title",
2054
+ "type": {
2055
+ "text": "string"
2056
+ },
2057
+ "description": "The error title"
2058
+ },
2059
+ {
2060
+ "name": "message",
2061
+ "type": {
2062
+ "text": "string"
2063
+ },
2064
+ "description": "The error message"
2065
+ }
2066
+ ],
2067
+ "description": "Shows an error notification using the unified error handling system"
2068
+ },
2069
+ {
2070
+ "kind": "method",
2071
+ "name": "onFileSelected",
2072
+ "privacy": "protected",
2073
+ "return": {
2074
+ "type": {
2075
+ "text": "void"
2076
+ }
2077
+ },
2078
+ "parameters": [
2079
+ {
2080
+ "name": "files",
2081
+ "type": {
2082
+ "text": "File[]"
2083
+ },
2084
+ "description": "The selected file"
2085
+ }
2086
+ ],
2087
+ "description": "Abstract method called when a file is selected"
2088
+ },
2089
+ {
2090
+ "kind": "method",
2091
+ "name": "onFileCleared",
2092
+ "privacy": "protected",
2093
+ "return": {
2094
+ "type": {
2095
+ "text": "void"
2096
+ }
2097
+ },
2098
+ "description": "Abstract method called when file selection is cleared"
2099
+ },
2100
+ {
2101
+ "kind": "field",
2102
+ "name": "_presentation",
2103
+ "type": {
2104
+ "text": "ComponentPresentation | null | undefined"
2105
+ },
2106
+ "privacy": "private",
2107
+ "default": "void 0",
2108
+ "inheritedFrom": {
2109
+ "name": "FoundationElement",
2110
+ "module": "src/foundation-element/foundation-element.ts"
2111
+ }
2112
+ },
2113
+ {
2114
+ "kind": "field",
2115
+ "name": "$presentation",
2116
+ "type": {
2117
+ "text": "ComponentPresentation | null"
2118
+ },
2119
+ "privacy": "public",
2120
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2121
+ "inheritedFrom": {
2122
+ "name": "FoundationElement",
2123
+ "module": "src/foundation-element/foundation-element.ts"
2124
+ }
2125
+ },
2126
+ {
2127
+ "kind": "field",
2128
+ "name": "template",
2129
+ "type": {
2130
+ "text": "ElementViewTemplate | void | null"
2131
+ },
2132
+ "privacy": "public",
2133
+ "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.",
2134
+ "inheritedFrom": {
2135
+ "name": "FoundationElement",
2136
+ "module": "src/foundation-element/foundation-element.ts"
2137
+ }
2138
+ },
2139
+ {
2140
+ "kind": "method",
2141
+ "name": "templateChanged",
2142
+ "privacy": "protected",
2143
+ "return": {
2144
+ "type": {
2145
+ "text": "void"
2146
+ }
2147
+ },
2148
+ "inheritedFrom": {
2149
+ "name": "FoundationElement",
2150
+ "module": "src/foundation-element/foundation-element.ts"
2151
+ }
2152
+ },
2153
+ {
2154
+ "kind": "field",
2155
+ "name": "styles",
2156
+ "type": {
2157
+ "text": "ElementStyles | void | null"
2158
+ },
2159
+ "privacy": "public",
2160
+ "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.",
2161
+ "inheritedFrom": {
2162
+ "name": "FoundationElement",
2163
+ "module": "src/foundation-element/foundation-element.ts"
2164
+ }
2165
+ },
2166
+ {
2167
+ "kind": "method",
2168
+ "name": "stylesChanged",
2169
+ "privacy": "protected",
2170
+ "return": {
2171
+ "type": {
2172
+ "text": "void"
2173
+ }
2174
+ },
2175
+ "inheritedFrom": {
2176
+ "name": "FoundationElement",
2177
+ "module": "src/foundation-element/foundation-element.ts"
2178
+ }
2179
+ },
2180
+ {
2181
+ "kind": "method",
2182
+ "name": "compose",
2183
+ "privacy": "public",
2184
+ "static": true,
2185
+ "return": {
2186
+ "type": {
2187
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2188
+ }
2189
+ },
2190
+ "parameters": [
2191
+ {
2192
+ "name": "this",
2193
+ "type": {
2194
+ "text": "K"
2195
+ }
2196
+ },
2197
+ {
2198
+ "name": "elementDefinition",
2199
+ "type": {
2200
+ "text": "T"
2201
+ },
2202
+ "description": "The definition of the element to create the registry\nfunction for."
2203
+ }
2204
+ ],
2205
+ "description": "Defines an element registry function with a set of element definition defaults.",
2206
+ "inheritedFrom": {
2207
+ "name": "FoundationElement",
2208
+ "module": "src/foundation-element/foundation-element.ts"
2209
+ }
2210
+ }
2211
+ ],
2212
+ "events": [
2213
+ {
2214
+ "description": "Fired when file size validation fails",
2215
+ "name": "error"
2216
+ },
2217
+ {
2218
+ "description": "Fired when selection is cleared",
2219
+ "name": "clear"
2220
+ }
2221
+ ],
2222
+ "attributes": [
2223
+ {
2224
+ "name": "label",
2225
+ "type": {
2226
+ "text": "string"
2227
+ },
2228
+ "fieldName": "label"
2229
+ },
2230
+ {
2231
+ "name": "accept",
2232
+ "type": {
2233
+ "text": "string"
2234
+ },
2235
+ "default": "''",
2236
+ "fieldName": "accept"
2237
+ },
2238
+ {
2239
+ "name": "file-size-limit-bytes",
2240
+ "default": "DEFAULT_FILE_SIZE_LIMIT",
2241
+ "resolveInitializer": {
2242
+ "module": "src/_common/base-file-component.ts"
2243
+ },
2244
+ "fieldName": "fileSizeLimitBytes"
2245
+ }
2246
+ ],
2247
+ "superclass": {
2248
+ "name": "FoundationElement",
2249
+ "package": "@microsoft/fast-foundation"
2250
+ }
2251
+ }
2252
+ ],
2253
+ "exports": [
2254
+ {
2255
+ "kind": "js",
2256
+ "name": "BaseFileComponent",
2257
+ "declaration": {
2258
+ "name": "BaseFileComponent",
2259
+ "module": "src/_common/base-file-component.ts"
2260
+ }
2261
+ }
2262
+ ]
2263
+ },
2264
+ {
2265
+ "kind": "javascript-module",
2266
+ "path": "src/_common/field-styles.ts",
2267
+ "declarations": [
2268
+ {
2269
+ "kind": "variable",
2270
+ "name": "sharedFieldStyles",
2271
+ "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`"
2272
+ }
2273
+ ],
2274
+ "exports": [
2275
+ {
2276
+ "kind": "js",
2277
+ "name": "sharedFieldStyles",
2278
+ "declaration": {
2279
+ "name": "sharedFieldStyles",
2280
+ "module": "src/_common/field-styles.ts"
2281
+ }
2282
+ }
2283
+ ]
2284
+ },
2285
+ {
2286
+ "kind": "javascript-module",
2287
+ "path": "src/_common/icons.ts",
2288
+ "declarations": [
2289
+ {
2290
+ "kind": "function",
2291
+ "name": "closeIcon",
2292
+ "parameters": [
2293
+ {
2294
+ "name": "slot",
2295
+ "default": "'start'"
2296
+ },
2297
+ {
2298
+ "name": "fill",
2299
+ "default": "'#879ba6'"
2300
+ }
2301
+ ]
2302
+ }
2303
+ ],
2304
+ "exports": [
2305
+ {
2306
+ "kind": "js",
2307
+ "name": "closeIcon",
2308
+ "declaration": {
2309
+ "name": "closeIcon",
2310
+ "module": "src/_common/icons.ts"
2311
+ }
2312
+ }
2313
+ ]
2314
+ },
2315
+ {
2316
+ "kind": "javascript-module",
2317
+ "path": "src/_common/index.ts",
2357
2318
  "declarations": [],
2358
2319
  "exports": [
2359
2320
  {
@@ -2361,7 +2322,7 @@
2361
2322
  "name": "*",
2362
2323
  "declaration": {
2363
2324
  "name": "*",
2364
- "package": "./styles"
2325
+ "package": "./affix-mixin"
2365
2326
  }
2366
2327
  },
2367
2328
  {
@@ -2369,7 +2330,7 @@
2369
2330
  "name": "*",
2370
2331
  "declaration": {
2371
2332
  "name": "*",
2372
- "package": "./tokens"
2333
+ "package": "./base-file-component"
2373
2334
  }
2374
2335
  },
2375
2336
  {
@@ -2377,7 +2338,15 @@
2377
2338
  "name": "*",
2378
2339
  "declaration": {
2379
2340
  "name": "*",
2380
- "package": "./values"
2341
+ "package": "./field-styles"
2342
+ }
2343
+ },
2344
+ {
2345
+ "kind": "js",
2346
+ "name": "*",
2347
+ "declaration": {
2348
+ "name": "*",
2349
+ "package": "./icons"
2381
2350
  }
2382
2351
  }
2383
2352
  ]
@@ -3440,6 +3409,37 @@
3440
3409
  }
3441
3410
  ]
3442
3411
  },
3412
+ {
3413
+ "kind": "javascript-module",
3414
+ "path": "src/_config/index.ts",
3415
+ "declarations": [],
3416
+ "exports": [
3417
+ {
3418
+ "kind": "js",
3419
+ "name": "*",
3420
+ "declaration": {
3421
+ "name": "*",
3422
+ "package": "./styles"
3423
+ }
3424
+ },
3425
+ {
3426
+ "kind": "js",
3427
+ "name": "*",
3428
+ "declaration": {
3429
+ "name": "*",
3430
+ "package": "./tokens"
3431
+ }
3432
+ },
3433
+ {
3434
+ "kind": "js",
3435
+ "name": "*",
3436
+ "declaration": {
3437
+ "name": "*",
3438
+ "package": "./values"
3439
+ }
3440
+ }
3441
+ ]
3442
+ },
3443
3443
  {
3444
3444
  "kind": "javascript-module",
3445
3445
  "path": "src/accordion/accordion.styles.ts",
@@ -57691,6 +57691,197 @@
57691
57691
  }
57692
57692
  ]
57693
57693
  },
57694
+ {
57695
+ "kind": "javascript-module",
57696
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57697
+ "declarations": [],
57698
+ "exports": []
57699
+ },
57700
+ {
57701
+ "kind": "javascript-module",
57702
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
57703
+ "declarations": [
57704
+ {
57705
+ "kind": "function",
57706
+ "name": "groupsToCriteria",
57707
+ "return": {
57708
+ "type": {
57709
+ "text": "string"
57710
+ }
57711
+ },
57712
+ "parameters": [
57713
+ {
57714
+ "name": "groups",
57715
+ "type": {
57716
+ "text": "CriteriaGroup[]"
57717
+ }
57718
+ }
57719
+ ],
57720
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
57721
+ },
57722
+ {
57723
+ "kind": "variable",
57724
+ "name": "STRING_OPERATORS",
57725
+ "type": {
57726
+ "text": "CriteriaOperator[]"
57727
+ },
57728
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57729
+ },
57730
+ {
57731
+ "kind": "variable",
57732
+ "name": "NUMERIC_OPERATORS",
57733
+ "type": {
57734
+ "text": "CriteriaOperator[]"
57735
+ },
57736
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57737
+ },
57738
+ {
57739
+ "kind": "variable",
57740
+ "name": "DATE_OPERATORS",
57741
+ "type": {
57742
+ "text": "CriteriaOperator[]"
57743
+ },
57744
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57745
+ },
57746
+ {
57747
+ "kind": "variable",
57748
+ "name": "DATETIME_OPERATORS",
57749
+ "type": {
57750
+ "text": "CriteriaOperator[]"
57751
+ },
57752
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57753
+ },
57754
+ {
57755
+ "kind": "variable",
57756
+ "name": "OPERATOR_DISPLAY_LABEL",
57757
+ "type": {
57758
+ "text": "Record<CriteriaOperator, string>"
57759
+ },
57760
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
57761
+ }
57762
+ ],
57763
+ "exports": [
57764
+ {
57765
+ "kind": "js",
57766
+ "name": "groupsToCriteria",
57767
+ "declaration": {
57768
+ "name": "groupsToCriteria",
57769
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57770
+ }
57771
+ },
57772
+ {
57773
+ "kind": "js",
57774
+ "name": "STRING_OPERATORS",
57775
+ "declaration": {
57776
+ "name": "STRING_OPERATORS",
57777
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57778
+ }
57779
+ },
57780
+ {
57781
+ "kind": "js",
57782
+ "name": "NUMERIC_OPERATORS",
57783
+ "declaration": {
57784
+ "name": "NUMERIC_OPERATORS",
57785
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57786
+ }
57787
+ },
57788
+ {
57789
+ "kind": "js",
57790
+ "name": "DATE_OPERATORS",
57791
+ "declaration": {
57792
+ "name": "DATE_OPERATORS",
57793
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57794
+ }
57795
+ },
57796
+ {
57797
+ "kind": "js",
57798
+ "name": "DATETIME_OPERATORS",
57799
+ "declaration": {
57800
+ "name": "DATETIME_OPERATORS",
57801
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57802
+ }
57803
+ },
57804
+ {
57805
+ "kind": "js",
57806
+ "name": "OPERATOR_DISPLAY_LABEL",
57807
+ "declaration": {
57808
+ "name": "OPERATOR_DISPLAY_LABEL",
57809
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57810
+ }
57811
+ }
57812
+ ]
57813
+ },
57814
+ {
57815
+ "kind": "javascript-module",
57816
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
57817
+ "declarations": [
57818
+ {
57819
+ "kind": "function",
57820
+ "name": "validateClauses",
57821
+ "return": {
57822
+ "type": {
57823
+ "text": "ValidationResult"
57824
+ }
57825
+ },
57826
+ "parameters": [
57827
+ {
57828
+ "name": "clauses",
57829
+ "type": {
57830
+ "text": "CriteriaClause[]"
57831
+ }
57832
+ },
57833
+ {
57834
+ "name": "fieldMetadata",
57835
+ "type": {
57836
+ "text": "MetadataDetail[] | string[]"
57837
+ }
57838
+ }
57839
+ ]
57840
+ },
57841
+ {
57842
+ "kind": "function",
57843
+ "name": "validateGroups",
57844
+ "return": {
57845
+ "type": {
57846
+ "text": "GroupsValidationResult"
57847
+ }
57848
+ },
57849
+ "parameters": [
57850
+ {
57851
+ "name": "groups",
57852
+ "type": {
57853
+ "text": "CriteriaGroup[]"
57854
+ }
57855
+ },
57856
+ {
57857
+ "name": "fieldMetadata",
57858
+ "type": {
57859
+ "text": "MetadataDetail[] | string[]"
57860
+ }
57861
+ }
57862
+ ],
57863
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
57864
+ }
57865
+ ],
57866
+ "exports": [
57867
+ {
57868
+ "kind": "js",
57869
+ "name": "validateClauses",
57870
+ "declaration": {
57871
+ "name": "validateClauses",
57872
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
57873
+ }
57874
+ },
57875
+ {
57876
+ "kind": "js",
57877
+ "name": "validateGroups",
57878
+ "declaration": {
57879
+ "name": "validateGroups",
57880
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
57881
+ }
57882
+ }
57883
+ ]
57884
+ },
57694
57885
  {
57695
57886
  "kind": "javascript-module",
57696
57887
  "path": "src/_config/styles/colors.ts",
@@ -59063,197 +59254,6 @@
59063
59254
  "declarations": [],
59064
59255
  "exports": []
59065
59256
  },
59066
- {
59067
- "kind": "javascript-module",
59068
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59069
- "declarations": [],
59070
- "exports": []
59071
- },
59072
- {
59073
- "kind": "javascript-module",
59074
- "path": "src/ai-criteria-search/validation/operator-map.ts",
59075
- "declarations": [
59076
- {
59077
- "kind": "function",
59078
- "name": "groupsToCriteria",
59079
- "return": {
59080
- "type": {
59081
- "text": "string"
59082
- }
59083
- },
59084
- "parameters": [
59085
- {
59086
- "name": "groups",
59087
- "type": {
59088
- "text": "CriteriaGroup[]"
59089
- }
59090
- }
59091
- ],
59092
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
59093
- },
59094
- {
59095
- "kind": "variable",
59096
- "name": "STRING_OPERATORS",
59097
- "type": {
59098
- "text": "CriteriaOperator[]"
59099
- },
59100
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
59101
- },
59102
- {
59103
- "kind": "variable",
59104
- "name": "NUMERIC_OPERATORS",
59105
- "type": {
59106
- "text": "CriteriaOperator[]"
59107
- },
59108
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
59109
- },
59110
- {
59111
- "kind": "variable",
59112
- "name": "DATE_OPERATORS",
59113
- "type": {
59114
- "text": "CriteriaOperator[]"
59115
- },
59116
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
59117
- },
59118
- {
59119
- "kind": "variable",
59120
- "name": "DATETIME_OPERATORS",
59121
- "type": {
59122
- "text": "CriteriaOperator[]"
59123
- },
59124
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
59125
- },
59126
- {
59127
- "kind": "variable",
59128
- "name": "OPERATOR_DISPLAY_LABEL",
59129
- "type": {
59130
- "text": "Record<CriteriaOperator, string>"
59131
- },
59132
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
59133
- }
59134
- ],
59135
- "exports": [
59136
- {
59137
- "kind": "js",
59138
- "name": "groupsToCriteria",
59139
- "declaration": {
59140
- "name": "groupsToCriteria",
59141
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59142
- }
59143
- },
59144
- {
59145
- "kind": "js",
59146
- "name": "STRING_OPERATORS",
59147
- "declaration": {
59148
- "name": "STRING_OPERATORS",
59149
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59150
- }
59151
- },
59152
- {
59153
- "kind": "js",
59154
- "name": "NUMERIC_OPERATORS",
59155
- "declaration": {
59156
- "name": "NUMERIC_OPERATORS",
59157
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59158
- }
59159
- },
59160
- {
59161
- "kind": "js",
59162
- "name": "DATE_OPERATORS",
59163
- "declaration": {
59164
- "name": "DATE_OPERATORS",
59165
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59166
- }
59167
- },
59168
- {
59169
- "kind": "js",
59170
- "name": "DATETIME_OPERATORS",
59171
- "declaration": {
59172
- "name": "DATETIME_OPERATORS",
59173
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59174
- }
59175
- },
59176
- {
59177
- "kind": "js",
59178
- "name": "OPERATOR_DISPLAY_LABEL",
59179
- "declaration": {
59180
- "name": "OPERATOR_DISPLAY_LABEL",
59181
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59182
- }
59183
- }
59184
- ]
59185
- },
59186
- {
59187
- "kind": "javascript-module",
59188
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
59189
- "declarations": [
59190
- {
59191
- "kind": "function",
59192
- "name": "validateClauses",
59193
- "return": {
59194
- "type": {
59195
- "text": "ValidationResult"
59196
- }
59197
- },
59198
- "parameters": [
59199
- {
59200
- "name": "clauses",
59201
- "type": {
59202
- "text": "CriteriaClause[]"
59203
- }
59204
- },
59205
- {
59206
- "name": "fieldMetadata",
59207
- "type": {
59208
- "text": "MetadataDetail[] | string[]"
59209
- }
59210
- }
59211
- ]
59212
- },
59213
- {
59214
- "kind": "function",
59215
- "name": "validateGroups",
59216
- "return": {
59217
- "type": {
59218
- "text": "GroupsValidationResult"
59219
- }
59220
- },
59221
- "parameters": [
59222
- {
59223
- "name": "groups",
59224
- "type": {
59225
- "text": "CriteriaGroup[]"
59226
- }
59227
- },
59228
- {
59229
- "name": "fieldMetadata",
59230
- "type": {
59231
- "text": "MetadataDetail[] | string[]"
59232
- }
59233
- }
59234
- ],
59235
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
59236
- }
59237
- ],
59238
- "exports": [
59239
- {
59240
- "kind": "js",
59241
- "name": "validateClauses",
59242
- "declaration": {
59243
- "name": "validateClauses",
59244
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
59245
- }
59246
- },
59247
- {
59248
- "kind": "js",
59249
- "name": "validateGroups",
59250
- "declaration": {
59251
- "name": "validateGroups",
59252
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
59253
- }
59254
- }
59255
- ]
59256
- },
59257
59257
  {
59258
59258
  "kind": "javascript-module",
59259
59259
  "path": "src/environment-indicator/utils/configure.ts",