@genesislcap/foundation-ui 15.15.0 → 15.15.1-alpha-30daf2b.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +411 -394
- package/dist/dts/number-field/number-field.d.ts +1 -0
- package/dist/dts/number-field/number-field.d.ts.map +1 -1
- package/dist/dts/react.d.ts +8 -8
- package/dist/esm/number-field/number-field.js +12 -1
- package/dist/foundation-ui.api.json +49 -0
- package/dist/foundation-ui.d.ts +1 -0
- package/dist/react.cjs +5 -5
- package/dist/react.mjs +4 -4
- package/package.json +19 -19
|
@@ -956,6 +956,400 @@
|
|
|
956
956
|
}
|
|
957
957
|
]
|
|
958
958
|
},
|
|
959
|
+
{
|
|
960
|
+
"kind": "javascript-module",
|
|
961
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
962
|
+
"declarations": [
|
|
963
|
+
{
|
|
964
|
+
"kind": "function",
|
|
965
|
+
"name": "foundationAccordionItemStyles",
|
|
966
|
+
"return": {
|
|
967
|
+
"type": {
|
|
968
|
+
"text": "ElementStyles"
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
"parameters": [
|
|
972
|
+
{
|
|
973
|
+
"name": "context",
|
|
974
|
+
"type": {
|
|
975
|
+
"text": "ElementDefinitionContext"
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"name": "definition",
|
|
980
|
+
"type": {
|
|
981
|
+
"text": "FoundationElementDefinition"
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
]
|
|
985
|
+
}
|
|
986
|
+
],
|
|
987
|
+
"exports": [
|
|
988
|
+
{
|
|
989
|
+
"kind": "js",
|
|
990
|
+
"name": "foundationAccordionItemStyles",
|
|
991
|
+
"declaration": {
|
|
992
|
+
"name": "foundationAccordionItemStyles",
|
|
993
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
]
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"kind": "javascript-module",
|
|
1000
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1001
|
+
"declarations": [
|
|
1002
|
+
{
|
|
1003
|
+
"kind": "function",
|
|
1004
|
+
"name": "foundationAccordionItemTemplate",
|
|
1005
|
+
"return": {
|
|
1006
|
+
"type": {
|
|
1007
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
1010
|
+
"parameters": [
|
|
1011
|
+
{
|
|
1012
|
+
"name": "context",
|
|
1013
|
+
"type": {
|
|
1014
|
+
"text": "ElementDefinitionContext"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "definition",
|
|
1019
|
+
"type": {
|
|
1020
|
+
"text": "FoundationElementDefinition"
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
]
|
|
1024
|
+
}
|
|
1025
|
+
],
|
|
1026
|
+
"exports": [
|
|
1027
|
+
{
|
|
1028
|
+
"kind": "js",
|
|
1029
|
+
"name": "foundationAccordionItemTemplate",
|
|
1030
|
+
"declaration": {
|
|
1031
|
+
"name": "foundationAccordionItemTemplate",
|
|
1032
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
]
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"kind": "javascript-module",
|
|
1039
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1040
|
+
"declarations": [
|
|
1041
|
+
{
|
|
1042
|
+
"kind": "class",
|
|
1043
|
+
"description": "",
|
|
1044
|
+
"name": "AccordionItem",
|
|
1045
|
+
"superclass": {
|
|
1046
|
+
"name": "FASTAccordionItem",
|
|
1047
|
+
"package": "@microsoft/fast-components"
|
|
1048
|
+
},
|
|
1049
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1050
|
+
"customElement": true,
|
|
1051
|
+
"attributes": [
|
|
1052
|
+
{
|
|
1053
|
+
"name": "heading-level",
|
|
1054
|
+
"type": {
|
|
1055
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1056
|
+
},
|
|
1057
|
+
"default": "2",
|
|
1058
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1059
|
+
"fieldName": "headinglevel",
|
|
1060
|
+
"inheritedFrom": {
|
|
1061
|
+
"name": "AccordionItem",
|
|
1062
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1063
|
+
}
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"type": {
|
|
1067
|
+
"text": "boolean"
|
|
1068
|
+
},
|
|
1069
|
+
"default": "false",
|
|
1070
|
+
"description": "Expands or collapses the item.",
|
|
1071
|
+
"fieldName": "expanded",
|
|
1072
|
+
"inheritedFrom": {
|
|
1073
|
+
"name": "AccordionItem",
|
|
1074
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"name": "id",
|
|
1079
|
+
"type": {
|
|
1080
|
+
"text": "string"
|
|
1081
|
+
},
|
|
1082
|
+
"description": "The item ID",
|
|
1083
|
+
"fieldName": "id",
|
|
1084
|
+
"inheritedFrom": {
|
|
1085
|
+
"name": "AccordionItem",
|
|
1086
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
],
|
|
1090
|
+
"members": [
|
|
1091
|
+
{
|
|
1092
|
+
"kind": "field",
|
|
1093
|
+
"name": "headinglevel",
|
|
1094
|
+
"type": {
|
|
1095
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1096
|
+
},
|
|
1097
|
+
"privacy": "public",
|
|
1098
|
+
"default": "2",
|
|
1099
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1100
|
+
"inheritedFrom": {
|
|
1101
|
+
"name": "AccordionItem",
|
|
1102
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1103
|
+
}
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"kind": "field",
|
|
1107
|
+
"name": "expanded",
|
|
1108
|
+
"type": {
|
|
1109
|
+
"text": "boolean"
|
|
1110
|
+
},
|
|
1111
|
+
"privacy": "public",
|
|
1112
|
+
"default": "false",
|
|
1113
|
+
"description": "Expands or collapses the item.",
|
|
1114
|
+
"inheritedFrom": {
|
|
1115
|
+
"name": "AccordionItem",
|
|
1116
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"kind": "field",
|
|
1121
|
+
"name": "id",
|
|
1122
|
+
"type": {
|
|
1123
|
+
"text": "string"
|
|
1124
|
+
},
|
|
1125
|
+
"privacy": "public",
|
|
1126
|
+
"description": "The item ID",
|
|
1127
|
+
"inheritedFrom": {
|
|
1128
|
+
"name": "AccordionItem",
|
|
1129
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"kind": "field",
|
|
1134
|
+
"name": "change",
|
|
1135
|
+
"privacy": "private",
|
|
1136
|
+
"inheritedFrom": {
|
|
1137
|
+
"name": "AccordionItem",
|
|
1138
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
"kind": "field",
|
|
1143
|
+
"name": "_presentation",
|
|
1144
|
+
"type": {
|
|
1145
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1146
|
+
},
|
|
1147
|
+
"privacy": "private",
|
|
1148
|
+
"default": "void 0",
|
|
1149
|
+
"inheritedFrom": {
|
|
1150
|
+
"name": "FoundationElement",
|
|
1151
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1152
|
+
}
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"kind": "field",
|
|
1156
|
+
"name": "$presentation",
|
|
1157
|
+
"type": {
|
|
1158
|
+
"text": "ComponentPresentation | null"
|
|
1159
|
+
},
|
|
1160
|
+
"privacy": "public",
|
|
1161
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1162
|
+
"inheritedFrom": {
|
|
1163
|
+
"name": "FoundationElement",
|
|
1164
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1165
|
+
}
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"kind": "field",
|
|
1169
|
+
"name": "template",
|
|
1170
|
+
"type": {
|
|
1171
|
+
"text": "ElementViewTemplate | void | null"
|
|
1172
|
+
},
|
|
1173
|
+
"privacy": "public",
|
|
1174
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1175
|
+
"inheritedFrom": {
|
|
1176
|
+
"name": "FoundationElement",
|
|
1177
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"kind": "method",
|
|
1182
|
+
"name": "templateChanged",
|
|
1183
|
+
"privacy": "protected",
|
|
1184
|
+
"return": {
|
|
1185
|
+
"type": {
|
|
1186
|
+
"text": "void"
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
"inheritedFrom": {
|
|
1190
|
+
"name": "FoundationElement",
|
|
1191
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"kind": "field",
|
|
1196
|
+
"name": "styles",
|
|
1197
|
+
"type": {
|
|
1198
|
+
"text": "ElementStyles | void | null"
|
|
1199
|
+
},
|
|
1200
|
+
"privacy": "public",
|
|
1201
|
+
"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.",
|
|
1202
|
+
"inheritedFrom": {
|
|
1203
|
+
"name": "FoundationElement",
|
|
1204
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1205
|
+
}
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"kind": "method",
|
|
1209
|
+
"name": "stylesChanged",
|
|
1210
|
+
"privacy": "protected",
|
|
1211
|
+
"return": {
|
|
1212
|
+
"type": {
|
|
1213
|
+
"text": "void"
|
|
1214
|
+
}
|
|
1215
|
+
},
|
|
1216
|
+
"inheritedFrom": {
|
|
1217
|
+
"name": "FoundationElement",
|
|
1218
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1219
|
+
}
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"kind": "method",
|
|
1223
|
+
"name": "compose",
|
|
1224
|
+
"privacy": "public",
|
|
1225
|
+
"static": true,
|
|
1226
|
+
"return": {
|
|
1227
|
+
"type": {
|
|
1228
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1229
|
+
}
|
|
1230
|
+
},
|
|
1231
|
+
"parameters": [
|
|
1232
|
+
{
|
|
1233
|
+
"name": "this",
|
|
1234
|
+
"type": {
|
|
1235
|
+
"text": "K"
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"name": "elementDefinition",
|
|
1240
|
+
"type": {
|
|
1241
|
+
"text": "T"
|
|
1242
|
+
},
|
|
1243
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1244
|
+
}
|
|
1245
|
+
],
|
|
1246
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1247
|
+
"inheritedFrom": {
|
|
1248
|
+
"name": "FoundationElement",
|
|
1249
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
],
|
|
1253
|
+
"events": [
|
|
1254
|
+
{
|
|
1255
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1256
|
+
"name": "change",
|
|
1257
|
+
"inheritedFrom": {
|
|
1258
|
+
"name": "AccordionItem",
|
|
1259
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
]
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"kind": "variable",
|
|
1266
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1267
|
+
"type": {
|
|
1268
|
+
"text": "ShadowRootInit"
|
|
1269
|
+
},
|
|
1270
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"kind": "variable",
|
|
1274
|
+
"name": "defaultAccordionItemConfig",
|
|
1275
|
+
"type": {
|
|
1276
|
+
"text": "object"
|
|
1277
|
+
},
|
|
1278
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"kind": "variable",
|
|
1282
|
+
"name": "foundationAccordionItem",
|
|
1283
|
+
"description": "The Foundation Accordion Item",
|
|
1284
|
+
"privacy": "public"
|
|
1285
|
+
}
|
|
1286
|
+
],
|
|
1287
|
+
"exports": [
|
|
1288
|
+
{
|
|
1289
|
+
"kind": "js",
|
|
1290
|
+
"name": "AccordionItem",
|
|
1291
|
+
"declaration": {
|
|
1292
|
+
"name": "AccordionItem",
|
|
1293
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"kind": "js",
|
|
1298
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1299
|
+
"declaration": {
|
|
1300
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1301
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1302
|
+
}
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
"kind": "js",
|
|
1306
|
+
"name": "defaultAccordionItemConfig",
|
|
1307
|
+
"declaration": {
|
|
1308
|
+
"name": "defaultAccordionItemConfig",
|
|
1309
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"kind": "js",
|
|
1314
|
+
"name": "foundationAccordionItem",
|
|
1315
|
+
"declaration": {
|
|
1316
|
+
"name": "foundationAccordionItem",
|
|
1317
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
]
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"kind": "javascript-module",
|
|
1324
|
+
"path": "src/accordion-item/index.ts",
|
|
1325
|
+
"declarations": [],
|
|
1326
|
+
"exports": [
|
|
1327
|
+
{
|
|
1328
|
+
"kind": "js",
|
|
1329
|
+
"name": "*",
|
|
1330
|
+
"declaration": {
|
|
1331
|
+
"name": "*",
|
|
1332
|
+
"package": "./accordion-item.template"
|
|
1333
|
+
}
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
"kind": "js",
|
|
1337
|
+
"name": "*",
|
|
1338
|
+
"declaration": {
|
|
1339
|
+
"name": "*",
|
|
1340
|
+
"package": "./accordion-item.styles"
|
|
1341
|
+
}
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"kind": "js",
|
|
1345
|
+
"name": "*",
|
|
1346
|
+
"declaration": {
|
|
1347
|
+
"name": "*",
|
|
1348
|
+
"package": "./accordion-item"
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
]
|
|
1352
|
+
},
|
|
959
1353
|
{
|
|
960
1354
|
"kind": "javascript-module",
|
|
961
1355
|
"path": "src/_common/affix-mixin.ts",
|
|
@@ -1993,400 +2387,6 @@
|
|
|
1993
2387
|
}
|
|
1994
2388
|
]
|
|
1995
2389
|
},
|
|
1996
|
-
{
|
|
1997
|
-
"kind": "javascript-module",
|
|
1998
|
-
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1999
|
-
"declarations": [
|
|
2000
|
-
{
|
|
2001
|
-
"kind": "function",
|
|
2002
|
-
"name": "foundationAccordionItemStyles",
|
|
2003
|
-
"return": {
|
|
2004
|
-
"type": {
|
|
2005
|
-
"text": "ElementStyles"
|
|
2006
|
-
}
|
|
2007
|
-
},
|
|
2008
|
-
"parameters": [
|
|
2009
|
-
{
|
|
2010
|
-
"name": "context",
|
|
2011
|
-
"type": {
|
|
2012
|
-
"text": "ElementDefinitionContext"
|
|
2013
|
-
}
|
|
2014
|
-
},
|
|
2015
|
-
{
|
|
2016
|
-
"name": "definition",
|
|
2017
|
-
"type": {
|
|
2018
|
-
"text": "FoundationElementDefinition"
|
|
2019
|
-
}
|
|
2020
|
-
}
|
|
2021
|
-
]
|
|
2022
|
-
}
|
|
2023
|
-
],
|
|
2024
|
-
"exports": [
|
|
2025
|
-
{
|
|
2026
|
-
"kind": "js",
|
|
2027
|
-
"name": "foundationAccordionItemStyles",
|
|
2028
|
-
"declaration": {
|
|
2029
|
-
"name": "foundationAccordionItemStyles",
|
|
2030
|
-
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2031
|
-
}
|
|
2032
|
-
}
|
|
2033
|
-
]
|
|
2034
|
-
},
|
|
2035
|
-
{
|
|
2036
|
-
"kind": "javascript-module",
|
|
2037
|
-
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2038
|
-
"declarations": [
|
|
2039
|
-
{
|
|
2040
|
-
"kind": "function",
|
|
2041
|
-
"name": "foundationAccordionItemTemplate",
|
|
2042
|
-
"return": {
|
|
2043
|
-
"type": {
|
|
2044
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
2045
|
-
}
|
|
2046
|
-
},
|
|
2047
|
-
"parameters": [
|
|
2048
|
-
{
|
|
2049
|
-
"name": "context",
|
|
2050
|
-
"type": {
|
|
2051
|
-
"text": "ElementDefinitionContext"
|
|
2052
|
-
}
|
|
2053
|
-
},
|
|
2054
|
-
{
|
|
2055
|
-
"name": "definition",
|
|
2056
|
-
"type": {
|
|
2057
|
-
"text": "FoundationElementDefinition"
|
|
2058
|
-
}
|
|
2059
|
-
}
|
|
2060
|
-
]
|
|
2061
|
-
}
|
|
2062
|
-
],
|
|
2063
|
-
"exports": [
|
|
2064
|
-
{
|
|
2065
|
-
"kind": "js",
|
|
2066
|
-
"name": "foundationAccordionItemTemplate",
|
|
2067
|
-
"declaration": {
|
|
2068
|
-
"name": "foundationAccordionItemTemplate",
|
|
2069
|
-
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2070
|
-
}
|
|
2071
|
-
}
|
|
2072
|
-
]
|
|
2073
|
-
},
|
|
2074
|
-
{
|
|
2075
|
-
"kind": "javascript-module",
|
|
2076
|
-
"path": "src/accordion-item/accordion-item.ts",
|
|
2077
|
-
"declarations": [
|
|
2078
|
-
{
|
|
2079
|
-
"kind": "class",
|
|
2080
|
-
"description": "",
|
|
2081
|
-
"name": "AccordionItem",
|
|
2082
|
-
"superclass": {
|
|
2083
|
-
"name": "FASTAccordionItem",
|
|
2084
|
-
"package": "@microsoft/fast-components"
|
|
2085
|
-
},
|
|
2086
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2087
|
-
"customElement": true,
|
|
2088
|
-
"attributes": [
|
|
2089
|
-
{
|
|
2090
|
-
"name": "heading-level",
|
|
2091
|
-
"type": {
|
|
2092
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2093
|
-
},
|
|
2094
|
-
"default": "2",
|
|
2095
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2096
|
-
"fieldName": "headinglevel",
|
|
2097
|
-
"inheritedFrom": {
|
|
2098
|
-
"name": "AccordionItem",
|
|
2099
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2100
|
-
}
|
|
2101
|
-
},
|
|
2102
|
-
{
|
|
2103
|
-
"type": {
|
|
2104
|
-
"text": "boolean"
|
|
2105
|
-
},
|
|
2106
|
-
"default": "false",
|
|
2107
|
-
"description": "Expands or collapses the item.",
|
|
2108
|
-
"fieldName": "expanded",
|
|
2109
|
-
"inheritedFrom": {
|
|
2110
|
-
"name": "AccordionItem",
|
|
2111
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2112
|
-
}
|
|
2113
|
-
},
|
|
2114
|
-
{
|
|
2115
|
-
"name": "id",
|
|
2116
|
-
"type": {
|
|
2117
|
-
"text": "string"
|
|
2118
|
-
},
|
|
2119
|
-
"description": "The item ID",
|
|
2120
|
-
"fieldName": "id",
|
|
2121
|
-
"inheritedFrom": {
|
|
2122
|
-
"name": "AccordionItem",
|
|
2123
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2124
|
-
}
|
|
2125
|
-
}
|
|
2126
|
-
],
|
|
2127
|
-
"members": [
|
|
2128
|
-
{
|
|
2129
|
-
"kind": "field",
|
|
2130
|
-
"name": "headinglevel",
|
|
2131
|
-
"type": {
|
|
2132
|
-
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2133
|
-
},
|
|
2134
|
-
"privacy": "public",
|
|
2135
|
-
"default": "2",
|
|
2136
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2137
|
-
"inheritedFrom": {
|
|
2138
|
-
"name": "AccordionItem",
|
|
2139
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2140
|
-
}
|
|
2141
|
-
},
|
|
2142
|
-
{
|
|
2143
|
-
"kind": "field",
|
|
2144
|
-
"name": "expanded",
|
|
2145
|
-
"type": {
|
|
2146
|
-
"text": "boolean"
|
|
2147
|
-
},
|
|
2148
|
-
"privacy": "public",
|
|
2149
|
-
"default": "false",
|
|
2150
|
-
"description": "Expands or collapses the item.",
|
|
2151
|
-
"inheritedFrom": {
|
|
2152
|
-
"name": "AccordionItem",
|
|
2153
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2154
|
-
}
|
|
2155
|
-
},
|
|
2156
|
-
{
|
|
2157
|
-
"kind": "field",
|
|
2158
|
-
"name": "id",
|
|
2159
|
-
"type": {
|
|
2160
|
-
"text": "string"
|
|
2161
|
-
},
|
|
2162
|
-
"privacy": "public",
|
|
2163
|
-
"description": "The item ID",
|
|
2164
|
-
"inheritedFrom": {
|
|
2165
|
-
"name": "AccordionItem",
|
|
2166
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2167
|
-
}
|
|
2168
|
-
},
|
|
2169
|
-
{
|
|
2170
|
-
"kind": "field",
|
|
2171
|
-
"name": "change",
|
|
2172
|
-
"privacy": "private",
|
|
2173
|
-
"inheritedFrom": {
|
|
2174
|
-
"name": "AccordionItem",
|
|
2175
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2176
|
-
}
|
|
2177
|
-
},
|
|
2178
|
-
{
|
|
2179
|
-
"kind": "field",
|
|
2180
|
-
"name": "_presentation",
|
|
2181
|
-
"type": {
|
|
2182
|
-
"text": "ComponentPresentation | null | undefined"
|
|
2183
|
-
},
|
|
2184
|
-
"privacy": "private",
|
|
2185
|
-
"default": "void 0",
|
|
2186
|
-
"inheritedFrom": {
|
|
2187
|
-
"name": "FoundationElement",
|
|
2188
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2189
|
-
}
|
|
2190
|
-
},
|
|
2191
|
-
{
|
|
2192
|
-
"kind": "field",
|
|
2193
|
-
"name": "$presentation",
|
|
2194
|
-
"type": {
|
|
2195
|
-
"text": "ComponentPresentation | null"
|
|
2196
|
-
},
|
|
2197
|
-
"privacy": "public",
|
|
2198
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2199
|
-
"inheritedFrom": {
|
|
2200
|
-
"name": "FoundationElement",
|
|
2201
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2202
|
-
}
|
|
2203
|
-
},
|
|
2204
|
-
{
|
|
2205
|
-
"kind": "field",
|
|
2206
|
-
"name": "template",
|
|
2207
|
-
"type": {
|
|
2208
|
-
"text": "ElementViewTemplate | void | null"
|
|
2209
|
-
},
|
|
2210
|
-
"privacy": "public",
|
|
2211
|
-
"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.",
|
|
2212
|
-
"inheritedFrom": {
|
|
2213
|
-
"name": "FoundationElement",
|
|
2214
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2215
|
-
}
|
|
2216
|
-
},
|
|
2217
|
-
{
|
|
2218
|
-
"kind": "method",
|
|
2219
|
-
"name": "templateChanged",
|
|
2220
|
-
"privacy": "protected",
|
|
2221
|
-
"return": {
|
|
2222
|
-
"type": {
|
|
2223
|
-
"text": "void"
|
|
2224
|
-
}
|
|
2225
|
-
},
|
|
2226
|
-
"inheritedFrom": {
|
|
2227
|
-
"name": "FoundationElement",
|
|
2228
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2229
|
-
}
|
|
2230
|
-
},
|
|
2231
|
-
{
|
|
2232
|
-
"kind": "field",
|
|
2233
|
-
"name": "styles",
|
|
2234
|
-
"type": {
|
|
2235
|
-
"text": "ElementStyles | void | null"
|
|
2236
|
-
},
|
|
2237
|
-
"privacy": "public",
|
|
2238
|
-
"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.",
|
|
2239
|
-
"inheritedFrom": {
|
|
2240
|
-
"name": "FoundationElement",
|
|
2241
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2242
|
-
}
|
|
2243
|
-
},
|
|
2244
|
-
{
|
|
2245
|
-
"kind": "method",
|
|
2246
|
-
"name": "stylesChanged",
|
|
2247
|
-
"privacy": "protected",
|
|
2248
|
-
"return": {
|
|
2249
|
-
"type": {
|
|
2250
|
-
"text": "void"
|
|
2251
|
-
}
|
|
2252
|
-
},
|
|
2253
|
-
"inheritedFrom": {
|
|
2254
|
-
"name": "FoundationElement",
|
|
2255
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2256
|
-
}
|
|
2257
|
-
},
|
|
2258
|
-
{
|
|
2259
|
-
"kind": "method",
|
|
2260
|
-
"name": "compose",
|
|
2261
|
-
"privacy": "public",
|
|
2262
|
-
"static": true,
|
|
2263
|
-
"return": {
|
|
2264
|
-
"type": {
|
|
2265
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2266
|
-
}
|
|
2267
|
-
},
|
|
2268
|
-
"parameters": [
|
|
2269
|
-
{
|
|
2270
|
-
"name": "this",
|
|
2271
|
-
"type": {
|
|
2272
|
-
"text": "K"
|
|
2273
|
-
}
|
|
2274
|
-
},
|
|
2275
|
-
{
|
|
2276
|
-
"name": "elementDefinition",
|
|
2277
|
-
"type": {
|
|
2278
|
-
"text": "T"
|
|
2279
|
-
},
|
|
2280
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
2281
|
-
}
|
|
2282
|
-
],
|
|
2283
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2284
|
-
"inheritedFrom": {
|
|
2285
|
-
"name": "FoundationElement",
|
|
2286
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2287
|
-
}
|
|
2288
|
-
}
|
|
2289
|
-
],
|
|
2290
|
-
"events": [
|
|
2291
|
-
{
|
|
2292
|
-
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2293
|
-
"name": "change",
|
|
2294
|
-
"inheritedFrom": {
|
|
2295
|
-
"name": "AccordionItem",
|
|
2296
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2297
|
-
}
|
|
2298
|
-
}
|
|
2299
|
-
]
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
"kind": "variable",
|
|
2303
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2304
|
-
"type": {
|
|
2305
|
-
"text": "ShadowRootInit"
|
|
2306
|
-
},
|
|
2307
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
"kind": "variable",
|
|
2311
|
-
"name": "defaultAccordionItemConfig",
|
|
2312
|
-
"type": {
|
|
2313
|
-
"text": "object"
|
|
2314
|
-
},
|
|
2315
|
-
"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}"
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
"kind": "variable",
|
|
2319
|
-
"name": "foundationAccordionItem",
|
|
2320
|
-
"description": "The Foundation Accordion Item",
|
|
2321
|
-
"privacy": "public"
|
|
2322
|
-
}
|
|
2323
|
-
],
|
|
2324
|
-
"exports": [
|
|
2325
|
-
{
|
|
2326
|
-
"kind": "js",
|
|
2327
|
-
"name": "AccordionItem",
|
|
2328
|
-
"declaration": {
|
|
2329
|
-
"name": "AccordionItem",
|
|
2330
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2331
|
-
}
|
|
2332
|
-
},
|
|
2333
|
-
{
|
|
2334
|
-
"kind": "js",
|
|
2335
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2336
|
-
"declaration": {
|
|
2337
|
-
"name": "foundationAccordionItemShadowOptions",
|
|
2338
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2339
|
-
}
|
|
2340
|
-
},
|
|
2341
|
-
{
|
|
2342
|
-
"kind": "js",
|
|
2343
|
-
"name": "defaultAccordionItemConfig",
|
|
2344
|
-
"declaration": {
|
|
2345
|
-
"name": "defaultAccordionItemConfig",
|
|
2346
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2347
|
-
}
|
|
2348
|
-
},
|
|
2349
|
-
{
|
|
2350
|
-
"kind": "js",
|
|
2351
|
-
"name": "foundationAccordionItem",
|
|
2352
|
-
"declaration": {
|
|
2353
|
-
"name": "foundationAccordionItem",
|
|
2354
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2355
|
-
}
|
|
2356
|
-
}
|
|
2357
|
-
]
|
|
2358
|
-
},
|
|
2359
|
-
{
|
|
2360
|
-
"kind": "javascript-module",
|
|
2361
|
-
"path": "src/accordion-item/index.ts",
|
|
2362
|
-
"declarations": [],
|
|
2363
|
-
"exports": [
|
|
2364
|
-
{
|
|
2365
|
-
"kind": "js",
|
|
2366
|
-
"name": "*",
|
|
2367
|
-
"declaration": {
|
|
2368
|
-
"name": "*",
|
|
2369
|
-
"package": "./accordion-item.template"
|
|
2370
|
-
}
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
"kind": "js",
|
|
2374
|
-
"name": "*",
|
|
2375
|
-
"declaration": {
|
|
2376
|
-
"name": "*",
|
|
2377
|
-
"package": "./accordion-item.styles"
|
|
2378
|
-
}
|
|
2379
|
-
},
|
|
2380
|
-
{
|
|
2381
|
-
"kind": "js",
|
|
2382
|
-
"name": "*",
|
|
2383
|
-
"declaration": {
|
|
2384
|
-
"name": "*",
|
|
2385
|
-
"package": "./accordion-item"
|
|
2386
|
-
}
|
|
2387
|
-
}
|
|
2388
|
-
]
|
|
2389
|
-
},
|
|
2390
2390
|
{
|
|
2391
2391
|
"kind": "javascript-module",
|
|
2392
2392
|
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
@@ -34163,6 +34163,23 @@
|
|
|
34163
34163
|
}
|
|
34164
34164
|
}
|
|
34165
34165
|
},
|
|
34166
|
+
{
|
|
34167
|
+
"kind": "method",
|
|
34168
|
+
"name": "handleKeyDown",
|
|
34169
|
+
"return": {
|
|
34170
|
+
"type": {
|
|
34171
|
+
"text": "boolean"
|
|
34172
|
+
}
|
|
34173
|
+
},
|
|
34174
|
+
"parameters": [
|
|
34175
|
+
{
|
|
34176
|
+
"name": "e",
|
|
34177
|
+
"type": {
|
|
34178
|
+
"text": "KeyboardEvent"
|
|
34179
|
+
}
|
|
34180
|
+
}
|
|
34181
|
+
]
|
|
34182
|
+
},
|
|
34166
34183
|
{
|
|
34167
34184
|
"kind": "method",
|
|
34168
34185
|
"name": "handleTextInput",
|
|
@@ -29,6 +29,7 @@ export declare class NumberField extends NumberField_base {
|
|
|
29
29
|
stepDown(): void;
|
|
30
30
|
hasSeparatorWithoutDecimals(): RegExp;
|
|
31
31
|
private restoreControlToCommittedValue;
|
|
32
|
+
handleKeyDown(e: KeyboardEvent): boolean;
|
|
32
33
|
handleTextInput(): void;
|
|
33
34
|
valueChanged(previous: any, next: any): void;
|
|
34
35
|
handleBlur(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-field.d.ts","sourceRoot":"","sources":["../../../src/number-field/number-field.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"number-field.d.ts","sourceRoot":"","sources":["../../../src/number-field/number-field.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;;AAqBrE;;;;GAIG;AACH,qBAAa,WAAY,SAAQ,gBAA2B;IACpD,YAAY,EAAE,MAAM,CAAS;IACnC,OAAO,CAAC,mBAAmB;IAKA,QAAQ,EAAE,OAAO,CAAS;IAQrD,KAAK,EAAE,MAAM,CAAM;IACQ,cAAc,EAAE,OAAO,CAAS;IACrD,MAAM,EAAE,MAAM,CAAW;IACJ,iBAAiB,EAAE,OAAO,CAAS;IACxD,qBAAqB,EAAE,MAAM,CAAuB;IAE1D,OAAO,EAAE,IAAI,CAAC,mBAAmB,CAG/B;IAEF,MAAM,IAAI,IAAI;IAuCd,QAAQ,IAAI,IAAI;IA0ChB,2BAA2B;IAK3B,OAAO,CAAC,8BAA8B;IAetC,aAAa,CAAC,CAAC,EAAE,aAAa,GAAG,OAAO;IAUxC,eAAe,IAAI,IAAI;IA+DvB,YAAY,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,GAAG,IAAI;IAsC5C,UAAU,IAAI,IAAI;CA4BnB;AAED,eAAO,MAAM,kCAAkC,EAAE,cAGhD,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;CAWpC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,oTAMhC,CAAC"}
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -133,23 +133,23 @@ interface HTMLWCProps extends React.AriaAttributes {
|
|
|
133
133
|
onInput?(e: Event): void;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
export declare const
|
|
136
|
+
export declare const AccordionItem: React.ForwardRefExoticComponent<
|
|
137
137
|
React.PropsWithChildren<
|
|
138
|
-
Omit<PublicOf<
|
|
138
|
+
Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
|
|
139
139
|
HTMLWCProps & {
|
|
140
140
|
}
|
|
141
|
-
> & React.RefAttributes<
|
|
141
|
+
> & React.RefAttributes<AccordionItemWC>
|
|
142
142
|
>;
|
|
143
|
-
export type
|
|
143
|
+
export type AccordionItemRef = AccordionItemWC;
|
|
144
144
|
|
|
145
|
-
export declare const
|
|
145
|
+
export declare const ActionsMenu: React.ForwardRefExoticComponent<
|
|
146
146
|
React.PropsWithChildren<
|
|
147
|
-
Omit<PublicOf<
|
|
147
|
+
Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
|
|
148
148
|
HTMLWCProps & {
|
|
149
149
|
}
|
|
150
|
-
> & React.RefAttributes<
|
|
150
|
+
> & React.RefAttributes<ActionsMenuWC>
|
|
151
151
|
>;
|
|
152
|
-
export type
|
|
152
|
+
export type ActionsMenuRef = ActionsMenuWC;
|
|
153
153
|
|
|
154
154
|
export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
|
|
155
155
|
React.PropsWithChildren<
|
|
@@ -2,6 +2,7 @@ import { __decorate } from "tslib";
|
|
|
2
2
|
import { NumberParser } from '@genesislcap/foundation-utils';
|
|
3
3
|
import { NumberField as FASTNumberField } from '@microsoft/fast-components';
|
|
4
4
|
import { DOM, attr } from '@microsoft/fast-element';
|
|
5
|
+
import { keyEnter } from '@microsoft/fast-web-utilities';
|
|
5
6
|
import { AffixMixin } from '../_common';
|
|
6
7
|
import { foundationNumberFieldStyles as styles } from './number-field.styles';
|
|
7
8
|
import { foundationNumberFieldTemplate as template } from './number-field.template';
|
|
@@ -109,6 +110,15 @@ export class NumberField extends AffixMixin(FASTNumberField) {
|
|
|
109
110
|
: formatControlValue(String(previousValue), this.locale);
|
|
110
111
|
this['isUserInput'] = false;
|
|
111
112
|
}
|
|
113
|
+
handleKeyDown(e) {
|
|
114
|
+
if (e.key === keyEnter) {
|
|
115
|
+
// Enter commits the current input the same way blur does: stop suppressing
|
|
116
|
+
// programmatic value writes so a reset issued right after submit (e.g. the
|
|
117
|
+
// host clearing this field) isn't silently dropped by valueChanged() below.
|
|
118
|
+
this['isUserInput'] = false;
|
|
119
|
+
}
|
|
120
|
+
return super.handleKeyDown(e);
|
|
121
|
+
}
|
|
112
122
|
handleTextInput() {
|
|
113
123
|
if (!this.control)
|
|
114
124
|
return;
|
|
@@ -174,7 +184,8 @@ export class NumberField extends AffixMixin(FASTNumberField) {
|
|
|
174
184
|
});
|
|
175
185
|
return;
|
|
176
186
|
}
|
|
177
|
-
// While the user is typing, handleTextInput
|
|
187
|
+
// While the user is typing, handleTextInput owns value + display; handleBlur and
|
|
188
|
+
// handleKeyDown (Enter) both clear isUserInput to release that ownership on commit.
|
|
178
189
|
return;
|
|
179
190
|
}
|
|
180
191
|
}
|
|
@@ -58330,6 +58330,55 @@
|
|
|
58330
58330
|
"isAbstract": false,
|
|
58331
58331
|
"name": "handleBlur"
|
|
58332
58332
|
},
|
|
58333
|
+
{
|
|
58334
|
+
"kind": "Method",
|
|
58335
|
+
"canonicalReference": "@genesislcap/foundation-ui!NumberField#handleKeyDown:member(1)",
|
|
58336
|
+
"docComment": "",
|
|
58337
|
+
"excerptTokens": [
|
|
58338
|
+
{
|
|
58339
|
+
"kind": "Content",
|
|
58340
|
+
"text": "handleKeyDown(e: "
|
|
58341
|
+
},
|
|
58342
|
+
{
|
|
58343
|
+
"kind": "Reference",
|
|
58344
|
+
"text": "KeyboardEvent",
|
|
58345
|
+
"canonicalReference": "!KeyboardEvent:interface"
|
|
58346
|
+
},
|
|
58347
|
+
{
|
|
58348
|
+
"kind": "Content",
|
|
58349
|
+
"text": "): "
|
|
58350
|
+
},
|
|
58351
|
+
{
|
|
58352
|
+
"kind": "Content",
|
|
58353
|
+
"text": "boolean"
|
|
58354
|
+
},
|
|
58355
|
+
{
|
|
58356
|
+
"kind": "Content",
|
|
58357
|
+
"text": ";"
|
|
58358
|
+
}
|
|
58359
|
+
],
|
|
58360
|
+
"isStatic": false,
|
|
58361
|
+
"returnTypeTokenRange": {
|
|
58362
|
+
"startIndex": 3,
|
|
58363
|
+
"endIndex": 4
|
|
58364
|
+
},
|
|
58365
|
+
"releaseTag": "Public",
|
|
58366
|
+
"isProtected": false,
|
|
58367
|
+
"overloadIndex": 1,
|
|
58368
|
+
"parameters": [
|
|
58369
|
+
{
|
|
58370
|
+
"parameterName": "e",
|
|
58371
|
+
"parameterTypeTokenRange": {
|
|
58372
|
+
"startIndex": 1,
|
|
58373
|
+
"endIndex": 2
|
|
58374
|
+
},
|
|
58375
|
+
"isOptional": false
|
|
58376
|
+
}
|
|
58377
|
+
],
|
|
58378
|
+
"isOptional": false,
|
|
58379
|
+
"isAbstract": false,
|
|
58380
|
+
"name": "handleKeyDown"
|
|
58381
|
+
},
|
|
58333
58382
|
{
|
|
58334
58383
|
"kind": "Method",
|
|
58335
58384
|
"canonicalReference": "@genesislcap/foundation-ui!NumberField#handleTextInput:member(1)",
|
package/dist/foundation-ui.d.ts
CHANGED
|
@@ -5842,6 +5842,7 @@ export declare class NumberField extends NumberField_base {
|
|
|
5842
5842
|
stepDown(): void;
|
|
5843
5843
|
hasSeparatorWithoutDecimals(): RegExp;
|
|
5844
5844
|
private restoreControlToCommittedValue;
|
|
5845
|
+
handleKeyDown(e: KeyboardEvent): boolean;
|
|
5845
5846
|
handleTextInput(): void;
|
|
5846
5847
|
valueChanged(previous: any, next: any): void;
|
|
5847
5848
|
handleBlur(): void;
|
package/dist/react.cjs
CHANGED
|
@@ -113,14 +113,14 @@ function _mergeRefs(...refs) {
|
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
const
|
|
116
|
+
const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
|
|
117
117
|
const { children, ...rest } = props;
|
|
118
|
-
return React.createElement(customElements.getName(
|
|
118
|
+
return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
const
|
|
121
|
+
const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
|
122
122
|
const { children, ...rest } = props;
|
|
123
|
-
return React.createElement(customElements.getName(
|
|
123
|
+
return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
|
|
124
124
|
});
|
|
125
125
|
|
|
126
126
|
const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
|
|
@@ -1143,8 +1143,8 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
|
|
|
1143
1143
|
});
|
|
1144
1144
|
|
|
1145
1145
|
module.exports = {
|
|
1146
|
-
ActionsMenu,
|
|
1147
1146
|
AccordionItem,
|
|
1147
|
+
ActionsMenu,
|
|
1148
1148
|
AiCriteriaSearch,
|
|
1149
1149
|
AiIndicator,
|
|
1150
1150
|
Accordion,
|
package/dist/react.mjs
CHANGED
|
@@ -111,14 +111,14 @@ function _mergeRefs(...refs) {
|
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
export const
|
|
114
|
+
export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
|
|
115
115
|
const { children, ...rest } = props;
|
|
116
|
-
return React.createElement(customElements.getName(
|
|
116
|
+
return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
-
export const
|
|
119
|
+
export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
|
|
120
120
|
const { children, ...rest } = props;
|
|
121
|
-
return React.createElement(customElements.getName(
|
|
121
|
+
return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
|
|
122
122
|
});
|
|
123
123
|
|
|
124
124
|
export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
|
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.15.0",
|
|
4
|
+
"version": "15.15.1-alpha-30daf2b.0",
|
|
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.15.0",
|
|
89
|
-
"@genesislcap/genx": "15.15.0",
|
|
90
|
-
"@genesislcap/rollup-builder": "15.15.0",
|
|
91
|
-
"@genesislcap/ts-builder": "15.15.0",
|
|
92
|
-
"@genesislcap/uvu-playwright-builder": "15.15.0",
|
|
93
|
-
"@genesislcap/vite-builder": "15.15.0",
|
|
94
|
-
"@genesislcap/webpack-builder": "15.15.0",
|
|
88
|
+
"@genesislcap/foundation-testing": "15.15.1-alpha-30daf2b.0",
|
|
89
|
+
"@genesislcap/genx": "15.15.1-alpha-30daf2b.0",
|
|
90
|
+
"@genesislcap/rollup-builder": "15.15.1-alpha-30daf2b.0",
|
|
91
|
+
"@genesislcap/ts-builder": "15.15.1-alpha-30daf2b.0",
|
|
92
|
+
"@genesislcap/uvu-playwright-builder": "15.15.1-alpha-30daf2b.0",
|
|
93
|
+
"@genesislcap/vite-builder": "15.15.1-alpha-30daf2b.0",
|
|
94
|
+
"@genesislcap/webpack-builder": "15.15.1-alpha-30daf2b.0",
|
|
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.15.0",
|
|
104
|
-
"@genesislcap/foundation-ai": "15.15.0",
|
|
105
|
-
"@genesislcap/foundation-comms": "15.15.0",
|
|
106
|
-
"@genesislcap/foundation-criteria": "15.15.0",
|
|
107
|
-
"@genesislcap/foundation-errors": "15.15.0",
|
|
108
|
-
"@genesislcap/foundation-events": "15.15.0",
|
|
109
|
-
"@genesislcap/foundation-logger": "15.15.0",
|
|
110
|
-
"@genesislcap/foundation-notifications": "15.15.0",
|
|
111
|
-
"@genesislcap/foundation-user": "15.15.0",
|
|
112
|
-
"@genesislcap/foundation-utils": "15.15.0",
|
|
103
|
+
"@genesislcap/expression-builder": "15.15.1-alpha-30daf2b.0",
|
|
104
|
+
"@genesislcap/foundation-ai": "15.15.1-alpha-30daf2b.0",
|
|
105
|
+
"@genesislcap/foundation-comms": "15.15.1-alpha-30daf2b.0",
|
|
106
|
+
"@genesislcap/foundation-criteria": "15.15.1-alpha-30daf2b.0",
|
|
107
|
+
"@genesislcap/foundation-errors": "15.15.1-alpha-30daf2b.0",
|
|
108
|
+
"@genesislcap/foundation-events": "15.15.1-alpha-30daf2b.0",
|
|
109
|
+
"@genesislcap/foundation-logger": "15.15.1-alpha-30daf2b.0",
|
|
110
|
+
"@genesislcap/foundation-notifications": "15.15.1-alpha-30daf2b.0",
|
|
111
|
+
"@genesislcap/foundation-user": "15.15.1-alpha-30daf2b.0",
|
|
112
|
+
"@genesislcap/foundation-utils": "15.15.1-alpha-30daf2b.0",
|
|
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": "bf935357eb6ce308c0028631c934f44be6fa1147"
|
|
146
146
|
}
|