@genesislcap/foundation-utils 15.84.2-GENC-1737.1 → 15.84.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.
@@ -258,6 +258,297 @@
258
258
  }
259
259
  ]
260
260
  },
261
+ {
262
+ "kind": "javascript-module",
263
+ "path": "src/decorators/index.ts",
264
+ "declarations": [],
265
+ "exports": [
266
+ {
267
+ "kind": "js",
268
+ "name": "*",
269
+ "declaration": {
270
+ "name": "*",
271
+ "package": "./renderOnChange"
272
+ }
273
+ }
274
+ ]
275
+ },
276
+ {
277
+ "kind": "javascript-module",
278
+ "path": "src/decorators/renderOnChange.ts",
279
+ "declarations": [
280
+ {
281
+ "kind": "function",
282
+ "name": "renderOnChange",
283
+ "parameters": [
284
+ {
285
+ "name": "target",
286
+ "type": {
287
+ "text": "FASTElement & { render(): void }"
288
+ },
289
+ "description": "The target to define the property change handler on."
290
+ },
291
+ {
292
+ "name": "name",
293
+ "type": {
294
+ "text": "string"
295
+ },
296
+ "description": "The property name."
297
+ }
298
+ ],
299
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
300
+ "privacy": "public"
301
+ }
302
+ ],
303
+ "exports": [
304
+ {
305
+ "kind": "js",
306
+ "name": "renderOnChange",
307
+ "declaration": {
308
+ "name": "renderOnChange",
309
+ "module": "src/decorators/renderOnChange.ts"
310
+ }
311
+ }
312
+ ]
313
+ },
314
+ {
315
+ "kind": "javascript-module",
316
+ "path": "src/design-system/design-system.ts",
317
+ "declarations": [
318
+ {
319
+ "kind": "function",
320
+ "name": "assureDesignSystem",
321
+ "return": {
322
+ "type": {
323
+ "text": "DesignSystemModule"
324
+ }
325
+ },
326
+ "parameters": [
327
+ {
328
+ "name": "module",
329
+ "type": {
330
+ "text": "DesignSystemModule"
331
+ }
332
+ }
333
+ ],
334
+ "description": "assureDesignSystem.",
335
+ "privacy": "public"
336
+ },
337
+ {
338
+ "kind": "function",
339
+ "name": "getCurrentDesignSystem",
340
+ "return": {
341
+ "type": {
342
+ "text": ""
343
+ }
344
+ },
345
+ "parameters": [
346
+ {
347
+ "name": "element",
348
+ "type": {
349
+ "text": "HTMLElement"
350
+ },
351
+ "description": "The starting HTML element"
352
+ },
353
+ {
354
+ "name": "fallbackPrefix",
355
+ "type": {
356
+ "text": "string"
357
+ },
358
+ "description": "The prefix to fallback to if the provider is not available"
359
+ }
360
+ ],
361
+ "description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
362
+ "privacy": "public"
363
+ },
364
+ {
365
+ "kind": "function",
366
+ "name": "getCurrentDesignSystemPrefix",
367
+ "return": {
368
+ "type": {
369
+ "text": ""
370
+ }
371
+ },
372
+ "parameters": [
373
+ {
374
+ "name": "element",
375
+ "type": {
376
+ "text": "HTMLElement"
377
+ },
378
+ "description": "The starting HTML element"
379
+ },
380
+ {
381
+ "name": "fallbackPrefix",
382
+ "type": {
383
+ "text": "string"
384
+ },
385
+ "description": "The prefix to fallback to if the provider is not available"
386
+ }
387
+ ],
388
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
389
+ "privacy": "public"
390
+ }
391
+ ],
392
+ "exports": [
393
+ {
394
+ "kind": "js",
395
+ "name": "assureDesignSystem",
396
+ "declaration": {
397
+ "name": "assureDesignSystem",
398
+ "module": "src/design-system/design-system.ts"
399
+ }
400
+ },
401
+ {
402
+ "kind": "js",
403
+ "name": "getCurrentDesignSystem",
404
+ "declaration": {
405
+ "name": "getCurrentDesignSystem",
406
+ "module": "src/design-system/design-system.ts"
407
+ }
408
+ },
409
+ {
410
+ "kind": "js",
411
+ "name": "getCurrentDesignSystemPrefix",
412
+ "declaration": {
413
+ "name": "getCurrentDesignSystemPrefix",
414
+ "module": "src/design-system/design-system.ts"
415
+ }
416
+ }
417
+ ]
418
+ },
419
+ {
420
+ "kind": "javascript-module",
421
+ "path": "src/design-system/editable-elements.ts",
422
+ "declarations": [
423
+ {
424
+ "kind": "variable",
425
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
426
+ "type": {
427
+ "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
428
+ },
429
+ "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
430
+ "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
431
+ },
432
+ {
433
+ "kind": "variable",
434
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
435
+ "type": {
436
+ "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
437
+ },
438
+ "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n}",
439
+ "description": "Design-system specific editable host selectors."
440
+ },
441
+ {
442
+ "kind": "function",
443
+ "name": "buildEditableElementSelector",
444
+ "return": {
445
+ "type": {
446
+ "text": "string"
447
+ }
448
+ },
449
+ "parameters": [
450
+ {
451
+ "name": "designSystems",
452
+ "type": {
453
+ "text": "readonly EditableDesignSystemPrefix[]"
454
+ }
455
+ },
456
+ {
457
+ "name": "customEditableSelectors",
458
+ "default": "[]",
459
+ "type": {
460
+ "text": "readonly string[]"
461
+ }
462
+ }
463
+ ]
464
+ },
465
+ {
466
+ "kind": "function",
467
+ "name": "isEditableKeyboardEvent",
468
+ "return": {
469
+ "type": {
470
+ "text": "boolean"
471
+ }
472
+ },
473
+ "parameters": [
474
+ {
475
+ "name": "event",
476
+ "type": {
477
+ "text": "KeyboardEvent"
478
+ },
479
+ "description": "The keyboard event."
480
+ },
481
+ {
482
+ "name": "editableSelector",
483
+ "default": "DEFAULT_EDITABLE_ELEMENT_SELECTOR",
484
+ "type": {
485
+ "text": "string"
486
+ },
487
+ "description": "CSS selector for editable elements. Defaults to the base selectors plus\nrapid editable hosts."
488
+ }
489
+ ],
490
+ "description": "Whether a keyboard event comes from an editable element, i.e. the user is typing.",
491
+ "privacy": "public"
492
+ }
493
+ ],
494
+ "exports": [
495
+ {
496
+ "kind": "js",
497
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
498
+ "declaration": {
499
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
500
+ "module": "src/design-system/editable-elements.ts"
501
+ }
502
+ },
503
+ {
504
+ "kind": "js",
505
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
506
+ "declaration": {
507
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
508
+ "module": "src/design-system/editable-elements.ts"
509
+ }
510
+ },
511
+ {
512
+ "kind": "js",
513
+ "name": "buildEditableElementSelector",
514
+ "declaration": {
515
+ "name": "buildEditableElementSelector",
516
+ "module": "src/design-system/editable-elements.ts"
517
+ }
518
+ },
519
+ {
520
+ "kind": "js",
521
+ "name": "isEditableKeyboardEvent",
522
+ "declaration": {
523
+ "name": "isEditableKeyboardEvent",
524
+ "module": "src/design-system/editable-elements.ts"
525
+ }
526
+ }
527
+ ]
528
+ },
529
+ {
530
+ "kind": "javascript-module",
531
+ "path": "src/design-system/index.ts",
532
+ "declarations": [],
533
+ "exports": [
534
+ {
535
+ "kind": "js",
536
+ "name": "*",
537
+ "declaration": {
538
+ "name": "*",
539
+ "package": "./design-system"
540
+ }
541
+ },
542
+ {
543
+ "kind": "js",
544
+ "name": "*",
545
+ "declaration": {
546
+ "name": "*",
547
+ "package": "./editable-elements"
548
+ }
549
+ }
550
+ ]
551
+ },
261
552
  {
262
553
  "kind": "javascript-module",
263
554
  "path": "src/data/inMemoryDatabase.ts",
@@ -433,78 +724,25 @@
433
724
  "exports": [
434
725
  {
435
726
  "kind": "js",
436
- "name": "InMemoryDatabase",
437
- "declaration": {
438
- "name": "InMemoryDatabase",
439
- "module": "src/data/inMemoryDatabase.ts"
440
- }
441
- }
442
- ]
443
- },
444
- {
445
- "kind": "javascript-module",
446
- "path": "src/data/index.ts",
447
- "declarations": [],
448
- "exports": [
449
- {
450
- "kind": "js",
451
- "name": "*",
452
- "declaration": {
453
- "name": "*",
454
- "package": "./inMemoryDatabase"
455
- }
456
- }
457
- ]
458
- },
459
- {
460
- "kind": "javascript-module",
461
- "path": "src/decorators/index.ts",
462
- "declarations": [],
463
- "exports": [
464
- {
465
- "kind": "js",
466
- "name": "*",
467
- "declaration": {
468
- "name": "*",
469
- "package": "./renderOnChange"
470
- }
471
- }
472
- ]
473
- },
474
- {
475
- "kind": "javascript-module",
476
- "path": "src/decorators/renderOnChange.ts",
477
- "declarations": [
478
- {
479
- "kind": "function",
480
- "name": "renderOnChange",
481
- "parameters": [
482
- {
483
- "name": "target",
484
- "type": {
485
- "text": "FASTElement & { render(): void }"
486
- },
487
- "description": "The target to define the property change handler on."
488
- },
489
- {
490
- "name": "name",
491
- "type": {
492
- "text": "string"
493
- },
494
- "description": "The property name."
495
- }
496
- ],
497
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
498
- "privacy": "public"
727
+ "name": "InMemoryDatabase",
728
+ "declaration": {
729
+ "name": "InMemoryDatabase",
730
+ "module": "src/data/inMemoryDatabase.ts"
731
+ }
499
732
  }
500
- ],
733
+ ]
734
+ },
735
+ {
736
+ "kind": "javascript-module",
737
+ "path": "src/data/index.ts",
738
+ "declarations": [],
501
739
  "exports": [
502
740
  {
503
741
  "kind": "js",
504
- "name": "renderOnChange",
742
+ "name": "*",
505
743
  "declaration": {
506
- "name": "renderOnChange",
507
- "module": "src/decorators/renderOnChange.ts"
744
+ "name": "*",
745
+ "package": "./inMemoryDatabase"
508
746
  }
509
747
  }
510
748
  ]
@@ -1046,244 +1284,6 @@
1046
1284
  }
1047
1285
  ]
1048
1286
  },
1049
- {
1050
- "kind": "javascript-module",
1051
- "path": "src/design-system/design-system.ts",
1052
- "declarations": [
1053
- {
1054
- "kind": "function",
1055
- "name": "assureDesignSystem",
1056
- "return": {
1057
- "type": {
1058
- "text": "DesignSystemModule"
1059
- }
1060
- },
1061
- "parameters": [
1062
- {
1063
- "name": "module",
1064
- "type": {
1065
- "text": "DesignSystemModule"
1066
- }
1067
- }
1068
- ],
1069
- "description": "assureDesignSystem.",
1070
- "privacy": "public"
1071
- },
1072
- {
1073
- "kind": "function",
1074
- "name": "getCurrentDesignSystem",
1075
- "return": {
1076
- "type": {
1077
- "text": ""
1078
- }
1079
- },
1080
- "parameters": [
1081
- {
1082
- "name": "element",
1083
- "type": {
1084
- "text": "HTMLElement"
1085
- },
1086
- "description": "The starting HTML element"
1087
- },
1088
- {
1089
- "name": "fallbackPrefix",
1090
- "type": {
1091
- "text": "string"
1092
- },
1093
- "description": "The prefix to fallback to if the provider is not available"
1094
- }
1095
- ],
1096
- "description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1097
- "privacy": "public"
1098
- },
1099
- {
1100
- "kind": "function",
1101
- "name": "getCurrentDesignSystemPrefix",
1102
- "return": {
1103
- "type": {
1104
- "text": ""
1105
- }
1106
- },
1107
- "parameters": [
1108
- {
1109
- "name": "element",
1110
- "type": {
1111
- "text": "HTMLElement"
1112
- },
1113
- "description": "The starting HTML element"
1114
- },
1115
- {
1116
- "name": "fallbackPrefix",
1117
- "type": {
1118
- "text": "string"
1119
- },
1120
- "description": "The prefix to fallback to if the provider is not available"
1121
- }
1122
- ],
1123
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1124
- "privacy": "public"
1125
- }
1126
- ],
1127
- "exports": [
1128
- {
1129
- "kind": "js",
1130
- "name": "assureDesignSystem",
1131
- "declaration": {
1132
- "name": "assureDesignSystem",
1133
- "module": "src/design-system/design-system.ts"
1134
- }
1135
- },
1136
- {
1137
- "kind": "js",
1138
- "name": "getCurrentDesignSystem",
1139
- "declaration": {
1140
- "name": "getCurrentDesignSystem",
1141
- "module": "src/design-system/design-system.ts"
1142
- }
1143
- },
1144
- {
1145
- "kind": "js",
1146
- "name": "getCurrentDesignSystemPrefix",
1147
- "declaration": {
1148
- "name": "getCurrentDesignSystemPrefix",
1149
- "module": "src/design-system/design-system.ts"
1150
- }
1151
- }
1152
- ]
1153
- },
1154
- {
1155
- "kind": "javascript-module",
1156
- "path": "src/design-system/editable-elements.ts",
1157
- "declarations": [
1158
- {
1159
- "kind": "variable",
1160
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
1161
- "type": {
1162
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
1163
- },
1164
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
1165
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
1166
- },
1167
- {
1168
- "kind": "variable",
1169
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
1170
- "type": {
1171
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
1172
- },
1173
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n}",
1174
- "description": "Design-system specific editable host selectors."
1175
- },
1176
- {
1177
- "kind": "function",
1178
- "name": "buildEditableElementSelector",
1179
- "return": {
1180
- "type": {
1181
- "text": "string"
1182
- }
1183
- },
1184
- "parameters": [
1185
- {
1186
- "name": "designSystems",
1187
- "type": {
1188
- "text": "readonly EditableDesignSystemPrefix[]"
1189
- }
1190
- },
1191
- {
1192
- "name": "customEditableSelectors",
1193
- "default": "[]",
1194
- "type": {
1195
- "text": "readonly string[]"
1196
- }
1197
- }
1198
- ]
1199
- },
1200
- {
1201
- "kind": "function",
1202
- "name": "isEditableKeyboardEvent",
1203
- "return": {
1204
- "type": {
1205
- "text": "boolean"
1206
- }
1207
- },
1208
- "parameters": [
1209
- {
1210
- "name": "event",
1211
- "type": {
1212
- "text": "KeyboardEvent"
1213
- },
1214
- "description": "The keyboard event."
1215
- },
1216
- {
1217
- "name": "editableSelector",
1218
- "default": "DEFAULT_EDITABLE_ELEMENT_SELECTOR",
1219
- "type": {
1220
- "text": "string"
1221
- },
1222
- "description": "CSS selector for editable elements. Defaults to the base selectors plus\nrapid editable hosts."
1223
- }
1224
- ],
1225
- "description": "Whether a keyboard event comes from an editable element, i.e. the user is typing.",
1226
- "privacy": "public"
1227
- }
1228
- ],
1229
- "exports": [
1230
- {
1231
- "kind": "js",
1232
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
1233
- "declaration": {
1234
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
1235
- "module": "src/design-system/editable-elements.ts"
1236
- }
1237
- },
1238
- {
1239
- "kind": "js",
1240
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
1241
- "declaration": {
1242
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
1243
- "module": "src/design-system/editable-elements.ts"
1244
- }
1245
- },
1246
- {
1247
- "kind": "js",
1248
- "name": "buildEditableElementSelector",
1249
- "declaration": {
1250
- "name": "buildEditableElementSelector",
1251
- "module": "src/design-system/editable-elements.ts"
1252
- }
1253
- },
1254
- {
1255
- "kind": "js",
1256
- "name": "isEditableKeyboardEvent",
1257
- "declaration": {
1258
- "name": "isEditableKeyboardEvent",
1259
- "module": "src/design-system/editable-elements.ts"
1260
- }
1261
- }
1262
- ]
1263
- },
1264
- {
1265
- "kind": "javascript-module",
1266
- "path": "src/design-system/index.ts",
1267
- "declarations": [],
1268
- "exports": [
1269
- {
1270
- "kind": "js",
1271
- "name": "*",
1272
- "declaration": {
1273
- "name": "*",
1274
- "package": "./design-system"
1275
- }
1276
- },
1277
- {
1278
- "kind": "js",
1279
- "name": "*",
1280
- "declaration": {
1281
- "name": "*",
1282
- "package": "./editable-elements"
1283
- }
1284
- }
1285
- ]
1286
- },
1287
1287
  {
1288
1288
  "kind": "javascript-module",
1289
1289
  "path": "src/error/errorMap.ts",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-utils",
3
3
  "description": "Genesis Foundation Utils",
4
- "version": "15.84.2-GENC-1737.1",
4
+ "version": "15.84.3",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -29,17 +29,17 @@
29
29
  }
30
30
  },
31
31
  "devDependencies": {
32
- "@genesislcap/foundation-testing": "15.84.2-GENC-1737.1",
33
- "@genesislcap/genx": "15.84.2-GENC-1737.1",
34
- "@genesislcap/ts-builder": "15.84.2-GENC-1737.1",
35
- "@genesislcap/uvu-playwright-builder": "15.84.2-GENC-1737.1",
36
- "@genesislcap/vite-builder": "15.84.2-GENC-1737.1",
37
- "@genesislcap/webpack-builder": "15.84.2-GENC-1737.1",
32
+ "@genesislcap/foundation-testing": "15.84.3",
33
+ "@genesislcap/genx": "15.84.3",
34
+ "@genesislcap/ts-builder": "15.84.3",
35
+ "@genesislcap/uvu-playwright-builder": "15.84.3",
36
+ "@genesislcap/vite-builder": "15.84.3",
37
+ "@genesislcap/webpack-builder": "15.84.3",
38
38
  "@types/json-schema": "^7.0.11"
39
39
  },
40
40
  "dependencies": {
41
- "@genesislcap/expression-builder": "15.84.2-GENC-1737.1",
42
- "@genesislcap/foundation-logger": "15.84.2-GENC-1737.1",
41
+ "@genesislcap/expression-builder": "15.84.3",
42
+ "@genesislcap/foundation-logger": "15.84.3",
43
43
  "@microsoft/fast-components": "2.30.6",
44
44
  "@microsoft/fast-element": "1.14.0",
45
45
  "@microsoft/fast-foundation": "2.50.0",