@genesislcap/foundation-utils 15.84.0 → 15.84.2-GENC-1737.1

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.
@@ -456,244 +456,6 @@
456
456
  }
457
457
  ]
458
458
  },
459
- {
460
- "kind": "javascript-module",
461
- "path": "src/design-system/design-system.ts",
462
- "declarations": [
463
- {
464
- "kind": "function",
465
- "name": "assureDesignSystem",
466
- "return": {
467
- "type": {
468
- "text": "DesignSystemModule"
469
- }
470
- },
471
- "parameters": [
472
- {
473
- "name": "module",
474
- "type": {
475
- "text": "DesignSystemModule"
476
- }
477
- }
478
- ],
479
- "description": "assureDesignSystem.",
480
- "privacy": "public"
481
- },
482
- {
483
- "kind": "function",
484
- "name": "getCurrentDesignSystem",
485
- "return": {
486
- "type": {
487
- "text": ""
488
- }
489
- },
490
- "parameters": [
491
- {
492
- "name": "element",
493
- "type": {
494
- "text": "HTMLElement"
495
- },
496
- "description": "The starting HTML element"
497
- },
498
- {
499
- "name": "fallbackPrefix",
500
- "type": {
501
- "text": "string"
502
- },
503
- "description": "The prefix to fallback to if the provider is not available"
504
- }
505
- ],
506
- "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.",
507
- "privacy": "public"
508
- },
509
- {
510
- "kind": "function",
511
- "name": "getCurrentDesignSystemPrefix",
512
- "return": {
513
- "type": {
514
- "text": ""
515
- }
516
- },
517
- "parameters": [
518
- {
519
- "name": "element",
520
- "type": {
521
- "text": "HTMLElement"
522
- },
523
- "description": "The starting HTML element"
524
- },
525
- {
526
- "name": "fallbackPrefix",
527
- "type": {
528
- "text": "string"
529
- },
530
- "description": "The prefix to fallback to if the provider is not available"
531
- }
532
- ],
533
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
534
- "privacy": "public"
535
- }
536
- ],
537
- "exports": [
538
- {
539
- "kind": "js",
540
- "name": "assureDesignSystem",
541
- "declaration": {
542
- "name": "assureDesignSystem",
543
- "module": "src/design-system/design-system.ts"
544
- }
545
- },
546
- {
547
- "kind": "js",
548
- "name": "getCurrentDesignSystem",
549
- "declaration": {
550
- "name": "getCurrentDesignSystem",
551
- "module": "src/design-system/design-system.ts"
552
- }
553
- },
554
- {
555
- "kind": "js",
556
- "name": "getCurrentDesignSystemPrefix",
557
- "declaration": {
558
- "name": "getCurrentDesignSystemPrefix",
559
- "module": "src/design-system/design-system.ts"
560
- }
561
- }
562
- ]
563
- },
564
- {
565
- "kind": "javascript-module",
566
- "path": "src/design-system/editable-elements.ts",
567
- "declarations": [
568
- {
569
- "kind": "variable",
570
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
571
- "type": {
572
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
573
- },
574
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
575
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
576
- },
577
- {
578
- "kind": "variable",
579
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
580
- "type": {
581
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
582
- },
583
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n}",
584
- "description": "Design-system specific editable host selectors."
585
- },
586
- {
587
- "kind": "function",
588
- "name": "buildEditableElementSelector",
589
- "return": {
590
- "type": {
591
- "text": "string"
592
- }
593
- },
594
- "parameters": [
595
- {
596
- "name": "designSystems",
597
- "type": {
598
- "text": "readonly EditableDesignSystemPrefix[]"
599
- }
600
- },
601
- {
602
- "name": "customEditableSelectors",
603
- "default": "[]",
604
- "type": {
605
- "text": "readonly string[]"
606
- }
607
- }
608
- ]
609
- },
610
- {
611
- "kind": "function",
612
- "name": "isEditableKeyboardEvent",
613
- "return": {
614
- "type": {
615
- "text": "boolean"
616
- }
617
- },
618
- "parameters": [
619
- {
620
- "name": "event",
621
- "type": {
622
- "text": "KeyboardEvent"
623
- },
624
- "description": "The keyboard event."
625
- },
626
- {
627
- "name": "editableSelector",
628
- "default": "DEFAULT_EDITABLE_ELEMENT_SELECTOR",
629
- "type": {
630
- "text": "string"
631
- },
632
- "description": "CSS selector for editable elements. Defaults to the base selectors plus\nrapid editable hosts."
633
- }
634
- ],
635
- "description": "Whether a keyboard event comes from an editable element, i.e. the user is typing.",
636
- "privacy": "public"
637
- }
638
- ],
639
- "exports": [
640
- {
641
- "kind": "js",
642
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
643
- "declaration": {
644
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
645
- "module": "src/design-system/editable-elements.ts"
646
- }
647
- },
648
- {
649
- "kind": "js",
650
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
651
- "declaration": {
652
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
653
- "module": "src/design-system/editable-elements.ts"
654
- }
655
- },
656
- {
657
- "kind": "js",
658
- "name": "buildEditableElementSelector",
659
- "declaration": {
660
- "name": "buildEditableElementSelector",
661
- "module": "src/design-system/editable-elements.ts"
662
- }
663
- },
664
- {
665
- "kind": "js",
666
- "name": "isEditableKeyboardEvent",
667
- "declaration": {
668
- "name": "isEditableKeyboardEvent",
669
- "module": "src/design-system/editable-elements.ts"
670
- }
671
- }
672
- ]
673
- },
674
- {
675
- "kind": "javascript-module",
676
- "path": "src/design-system/index.ts",
677
- "declarations": [],
678
- "exports": [
679
- {
680
- "kind": "js",
681
- "name": "*",
682
- "declaration": {
683
- "name": "*",
684
- "package": "./design-system"
685
- }
686
- },
687
- {
688
- "kind": "js",
689
- "name": "*",
690
- "declaration": {
691
- "name": "*",
692
- "package": "./editable-elements"
693
- }
694
- }
695
- ]
696
- },
697
459
  {
698
460
  "kind": "javascript-module",
699
461
  "path": "src/decorators/index.ts",
@@ -1284,6 +1046,244 @@
1284
1046
  }
1285
1047
  ]
1286
1048
  },
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.0",
4
+ "version": "15.84.2-GENC-1737.1",
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.0",
33
- "@genesislcap/genx": "15.84.0",
34
- "@genesislcap/ts-builder": "15.84.0",
35
- "@genesislcap/uvu-playwright-builder": "15.84.0",
36
- "@genesislcap/vite-builder": "15.84.0",
37
- "@genesislcap/webpack-builder": "15.84.0",
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",
38
38
  "@types/json-schema": "^7.0.11"
39
39
  },
40
40
  "dependencies": {
41
- "@genesislcap/expression-builder": "15.84.0",
42
- "@genesislcap/foundation-logger": "15.84.0",
41
+ "@genesislcap/expression-builder": "15.84.2-GENC-1737.1",
42
+ "@genesislcap/foundation-logger": "15.84.2-GENC-1737.1",
43
43
  "@microsoft/fast-components": "2.30.6",
44
44
  "@microsoft/fast-element": "1.14.0",
45
45
  "@microsoft/fast-foundation": "2.50.0",