@genesislcap/foundation-utils 15.7.3-alpha-94532c4.0 → 15.8.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +238 -238
  2. package/package.json +11 -11
@@ -250,59 +250,6 @@
250
250
  }
251
251
  ]
252
252
  },
253
- {
254
- "kind": "javascript-module",
255
- "path": "src/decorators/index.ts",
256
- "declarations": [],
257
- "exports": [
258
- {
259
- "kind": "js",
260
- "name": "*",
261
- "declaration": {
262
- "name": "*",
263
- "package": "./renderOnChange"
264
- }
265
- }
266
- ]
267
- },
268
- {
269
- "kind": "javascript-module",
270
- "path": "src/decorators/renderOnChange.ts",
271
- "declarations": [
272
- {
273
- "kind": "function",
274
- "name": "renderOnChange",
275
- "parameters": [
276
- {
277
- "name": "target",
278
- "type": {
279
- "text": "FASTElement & { render(): void }"
280
- },
281
- "description": "The target to define the property change handler on."
282
- },
283
- {
284
- "name": "name",
285
- "type": {
286
- "text": "string"
287
- },
288
- "description": "The property name."
289
- }
290
- ],
291
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
292
- "privacy": "public"
293
- }
294
- ],
295
- "exports": [
296
- {
297
- "kind": "js",
298
- "name": "renderOnChange",
299
- "declaration": {
300
- "name": "renderOnChange",
301
- "module": "src/decorators/renderOnChange.ts"
302
- }
303
- }
304
- ]
305
- },
306
253
  {
307
254
  "kind": "javascript-module",
308
255
  "path": "src/data/inMemoryDatabase.ts",
@@ -503,202 +450,53 @@
503
450
  },
504
451
  {
505
452
  "kind": "javascript-module",
506
- "path": "src/design-system/design-system.ts",
507
- "declarations": [
508
- {
509
- "kind": "function",
510
- "name": "assureDesignSystem",
511
- "return": {
512
- "type": {
513
- "text": "DesignSystemModule"
514
- }
515
- },
516
- "parameters": [
517
- {
518
- "name": "module",
519
- "type": {
520
- "text": "DesignSystemModule"
521
- }
522
- }
523
- ],
524
- "description": "assureDesignSystem.",
525
- "privacy": "public"
526
- },
527
- {
528
- "kind": "function",
529
- "name": "getCurrentDesignSystem",
530
- "return": {
531
- "type": {
532
- "text": ""
533
- }
534
- },
535
- "parameters": [
536
- {
537
- "name": "element",
538
- "type": {
539
- "text": "HTMLElement"
540
- },
541
- "description": "The starting HTML element"
542
- },
543
- {
544
- "name": "fallbackPrefix",
545
- "type": {
546
- "text": "string"
547
- },
548
- "description": "The prefix to fallback to if the provider is not available"
549
- }
550
- ],
551
- "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.",
552
- "privacy": "public"
553
- },
554
- {
555
- "kind": "function",
556
- "name": "getCurrentDesignSystemPrefix",
557
- "return": {
558
- "type": {
559
- "text": ""
560
- }
561
- },
562
- "parameters": [
563
- {
564
- "name": "element",
565
- "type": {
566
- "text": "HTMLElement"
567
- },
568
- "description": "The starting HTML element"
569
- },
570
- {
571
- "name": "fallbackPrefix",
572
- "type": {
573
- "text": "string"
574
- },
575
- "description": "The prefix to fallback to if the provider is not available"
576
- }
577
- ],
578
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
579
- "privacy": "public"
580
- }
581
- ],
453
+ "path": "src/decorators/index.ts",
454
+ "declarations": [],
582
455
  "exports": [
583
456
  {
584
457
  "kind": "js",
585
- "name": "assureDesignSystem",
586
- "declaration": {
587
- "name": "assureDesignSystem",
588
- "module": "src/design-system/design-system.ts"
589
- }
590
- },
591
- {
592
- "kind": "js",
593
- "name": "getCurrentDesignSystem",
594
- "declaration": {
595
- "name": "getCurrentDesignSystem",
596
- "module": "src/design-system/design-system.ts"
597
- }
598
- },
599
- {
600
- "kind": "js",
601
- "name": "getCurrentDesignSystemPrefix",
458
+ "name": "*",
602
459
  "declaration": {
603
- "name": "getCurrentDesignSystemPrefix",
604
- "module": "src/design-system/design-system.ts"
460
+ "name": "*",
461
+ "package": "./renderOnChange"
605
462
  }
606
463
  }
607
464
  ]
608
465
  },
609
466
  {
610
467
  "kind": "javascript-module",
611
- "path": "src/design-system/editable-elements.ts",
468
+ "path": "src/decorators/renderOnChange.ts",
612
469
  "declarations": [
613
- {
614
- "kind": "variable",
615
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
616
- "type": {
617
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
618
- },
619
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
620
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
621
- },
622
- {
623
- "kind": "variable",
624
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
625
- "type": {
626
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
627
- },
628
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
629
- "description": "Design-system specific editable host selectors."
630
- },
631
470
  {
632
471
  "kind": "function",
633
- "name": "buildEditableElementSelector",
634
- "return": {
635
- "type": {
636
- "text": "string"
637
- }
638
- },
472
+ "name": "renderOnChange",
639
473
  "parameters": [
640
474
  {
641
- "name": "designSystems",
475
+ "name": "target",
642
476
  "type": {
643
- "text": "readonly EditableDesignSystemPrefix[]"
644
- }
477
+ "text": "FASTElement & { render(): void }"
478
+ },
479
+ "description": "The target to define the property change handler on."
645
480
  },
646
481
  {
647
- "name": "customEditableSelectors",
648
- "default": "[]",
482
+ "name": "name",
649
483
  "type": {
650
- "text": "readonly string[]"
651
- }
484
+ "text": "string"
485
+ },
486
+ "description": "The property name."
652
487
  }
653
- ]
488
+ ],
489
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
490
+ "privacy": "public"
654
491
  }
655
492
  ],
656
493
  "exports": [
657
494
  {
658
495
  "kind": "js",
659
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
660
- "declaration": {
661
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
662
- "module": "src/design-system/editable-elements.ts"
663
- }
664
- },
665
- {
666
- "kind": "js",
667
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
668
- "declaration": {
669
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
670
- "module": "src/design-system/editable-elements.ts"
671
- }
672
- },
673
- {
674
- "kind": "js",
675
- "name": "buildEditableElementSelector",
676
- "declaration": {
677
- "name": "buildEditableElementSelector",
678
- "module": "src/design-system/editable-elements.ts"
679
- }
680
- }
681
- ]
682
- },
683
- {
684
- "kind": "javascript-module",
685
- "path": "src/design-system/index.ts",
686
- "declarations": [],
687
- "exports": [
688
- {
689
- "kind": "js",
690
- "name": "*",
691
- "declaration": {
692
- "name": "*",
693
- "package": "./design-system"
694
- }
695
- },
696
- {
697
- "kind": "js",
698
- "name": "*",
496
+ "name": "renderOnChange",
699
497
  "declaration": {
700
- "name": "*",
701
- "package": "./editable-elements"
498
+ "name": "renderOnChange",
499
+ "module": "src/decorators/renderOnChange.ts"
702
500
  }
703
501
  }
704
502
  ]
@@ -726,21 +524,6 @@
726
524
  }
727
525
  ]
728
526
  },
729
- {
730
- "kind": "javascript-module",
731
- "path": "src/encoding/index.ts",
732
- "declarations": [],
733
- "exports": [
734
- {
735
- "kind": "js",
736
- "name": "*",
737
- "declaration": {
738
- "name": "*",
739
- "package": "./base64"
740
- }
741
- }
742
- ]
743
- },
744
527
  {
745
528
  "kind": "javascript-module",
746
529
  "path": "src/env/index.ts",
@@ -1240,6 +1023,223 @@
1240
1023
  }
1241
1024
  ]
1242
1025
  },
1026
+ {
1027
+ "kind": "javascript-module",
1028
+ "path": "src/encoding/index.ts",
1029
+ "declarations": [],
1030
+ "exports": [
1031
+ {
1032
+ "kind": "js",
1033
+ "name": "*",
1034
+ "declaration": {
1035
+ "name": "*",
1036
+ "package": "./base64"
1037
+ }
1038
+ }
1039
+ ]
1040
+ },
1041
+ {
1042
+ "kind": "javascript-module",
1043
+ "path": "src/design-system/design-system.ts",
1044
+ "declarations": [
1045
+ {
1046
+ "kind": "function",
1047
+ "name": "assureDesignSystem",
1048
+ "return": {
1049
+ "type": {
1050
+ "text": "DesignSystemModule"
1051
+ }
1052
+ },
1053
+ "parameters": [
1054
+ {
1055
+ "name": "module",
1056
+ "type": {
1057
+ "text": "DesignSystemModule"
1058
+ }
1059
+ }
1060
+ ],
1061
+ "description": "assureDesignSystem.",
1062
+ "privacy": "public"
1063
+ },
1064
+ {
1065
+ "kind": "function",
1066
+ "name": "getCurrentDesignSystem",
1067
+ "return": {
1068
+ "type": {
1069
+ "text": ""
1070
+ }
1071
+ },
1072
+ "parameters": [
1073
+ {
1074
+ "name": "element",
1075
+ "type": {
1076
+ "text": "HTMLElement"
1077
+ },
1078
+ "description": "The starting HTML element"
1079
+ },
1080
+ {
1081
+ "name": "fallbackPrefix",
1082
+ "type": {
1083
+ "text": "string"
1084
+ },
1085
+ "description": "The prefix to fallback to if the provider is not available"
1086
+ }
1087
+ ],
1088
+ "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.",
1089
+ "privacy": "public"
1090
+ },
1091
+ {
1092
+ "kind": "function",
1093
+ "name": "getCurrentDesignSystemPrefix",
1094
+ "return": {
1095
+ "type": {
1096
+ "text": ""
1097
+ }
1098
+ },
1099
+ "parameters": [
1100
+ {
1101
+ "name": "element",
1102
+ "type": {
1103
+ "text": "HTMLElement"
1104
+ },
1105
+ "description": "The starting HTML element"
1106
+ },
1107
+ {
1108
+ "name": "fallbackPrefix",
1109
+ "type": {
1110
+ "text": "string"
1111
+ },
1112
+ "description": "The prefix to fallback to if the provider is not available"
1113
+ }
1114
+ ],
1115
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
1116
+ "privacy": "public"
1117
+ }
1118
+ ],
1119
+ "exports": [
1120
+ {
1121
+ "kind": "js",
1122
+ "name": "assureDesignSystem",
1123
+ "declaration": {
1124
+ "name": "assureDesignSystem",
1125
+ "module": "src/design-system/design-system.ts"
1126
+ }
1127
+ },
1128
+ {
1129
+ "kind": "js",
1130
+ "name": "getCurrentDesignSystem",
1131
+ "declaration": {
1132
+ "name": "getCurrentDesignSystem",
1133
+ "module": "src/design-system/design-system.ts"
1134
+ }
1135
+ },
1136
+ {
1137
+ "kind": "js",
1138
+ "name": "getCurrentDesignSystemPrefix",
1139
+ "declaration": {
1140
+ "name": "getCurrentDesignSystemPrefix",
1141
+ "module": "src/design-system/design-system.ts"
1142
+ }
1143
+ }
1144
+ ]
1145
+ },
1146
+ {
1147
+ "kind": "javascript-module",
1148
+ "path": "src/design-system/editable-elements.ts",
1149
+ "declarations": [
1150
+ {
1151
+ "kind": "variable",
1152
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
1153
+ "type": {
1154
+ "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
1155
+ },
1156
+ "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
1157
+ "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
1158
+ },
1159
+ {
1160
+ "kind": "variable",
1161
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
1162
+ "type": {
1163
+ "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
1164
+ },
1165
+ "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
1166
+ "description": "Design-system specific editable host selectors."
1167
+ },
1168
+ {
1169
+ "kind": "function",
1170
+ "name": "buildEditableElementSelector",
1171
+ "return": {
1172
+ "type": {
1173
+ "text": "string"
1174
+ }
1175
+ },
1176
+ "parameters": [
1177
+ {
1178
+ "name": "designSystems",
1179
+ "type": {
1180
+ "text": "readonly EditableDesignSystemPrefix[]"
1181
+ }
1182
+ },
1183
+ {
1184
+ "name": "customEditableSelectors",
1185
+ "default": "[]",
1186
+ "type": {
1187
+ "text": "readonly string[]"
1188
+ }
1189
+ }
1190
+ ]
1191
+ }
1192
+ ],
1193
+ "exports": [
1194
+ {
1195
+ "kind": "js",
1196
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
1197
+ "declaration": {
1198
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
1199
+ "module": "src/design-system/editable-elements.ts"
1200
+ }
1201
+ },
1202
+ {
1203
+ "kind": "js",
1204
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
1205
+ "declaration": {
1206
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
1207
+ "module": "src/design-system/editable-elements.ts"
1208
+ }
1209
+ },
1210
+ {
1211
+ "kind": "js",
1212
+ "name": "buildEditableElementSelector",
1213
+ "declaration": {
1214
+ "name": "buildEditableElementSelector",
1215
+ "module": "src/design-system/editable-elements.ts"
1216
+ }
1217
+ }
1218
+ ]
1219
+ },
1220
+ {
1221
+ "kind": "javascript-module",
1222
+ "path": "src/design-system/index.ts",
1223
+ "declarations": [],
1224
+ "exports": [
1225
+ {
1226
+ "kind": "js",
1227
+ "name": "*",
1228
+ "declaration": {
1229
+ "name": "*",
1230
+ "package": "./design-system"
1231
+ }
1232
+ },
1233
+ {
1234
+ "kind": "js",
1235
+ "name": "*",
1236
+ "declaration": {
1237
+ "name": "*",
1238
+ "package": "./editable-elements"
1239
+ }
1240
+ }
1241
+ ]
1242
+ },
1243
1243
  {
1244
1244
  "kind": "javascript-module",
1245
1245
  "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.7.3-alpha-94532c4.0",
4
+ "version": "15.8.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -29,18 +29,18 @@
29
29
  }
30
30
  },
31
31
  "devDependencies": {
32
- "@genesislcap/foundation-testing": "15.7.3-alpha-94532c4.0",
33
- "@genesislcap/genx": "15.7.3-alpha-94532c4.0",
34
- "@genesislcap/rollup-builder": "15.7.3-alpha-94532c4.0",
35
- "@genesislcap/ts-builder": "15.7.3-alpha-94532c4.0",
36
- "@genesislcap/uvu-playwright-builder": "15.7.3-alpha-94532c4.0",
37
- "@genesislcap/vite-builder": "15.7.3-alpha-94532c4.0",
38
- "@genesislcap/webpack-builder": "15.7.3-alpha-94532c4.0",
32
+ "@genesislcap/foundation-testing": "15.8.0",
33
+ "@genesislcap/genx": "15.8.0",
34
+ "@genesislcap/rollup-builder": "15.8.0",
35
+ "@genesislcap/ts-builder": "15.8.0",
36
+ "@genesislcap/uvu-playwright-builder": "15.8.0",
37
+ "@genesislcap/vite-builder": "15.8.0",
38
+ "@genesislcap/webpack-builder": "15.8.0",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "15.7.3-alpha-94532c4.0",
43
- "@genesislcap/foundation-logger": "15.7.3-alpha-94532c4.0",
42
+ "@genesislcap/expression-builder": "15.8.0",
43
+ "@genesislcap/foundation-logger": "15.8.0",
44
44
  "@microsoft/fast-components": "2.30.6",
45
45
  "@microsoft/fast-element": "1.14.0",
46
46
  "@microsoft/fast-foundation": "2.50.0",
@@ -70,5 +70,5 @@
70
70
  },
71
71
  "./package.json": "./package.json"
72
72
  },
73
- "gitHead": "85a871e7a46382dbfc7cc262a508e0cc95d3b3e3"
73
+ "gitHead": "10412a7d63fbdf104e0c8f8704a03a7f3b7ad347"
74
74
  }