@genesislcap/foundation-utils 15.36.2-alpha-ec480ce5f.0 → 15.37.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 +234 -234
  2. package/package.json +10 -10
@@ -250,208 +250,6 @@
250
250
  }
251
251
  ]
252
252
  },
253
- {
254
- "kind": "javascript-module",
255
- "path": "src/design-system/design-system.ts",
256
- "declarations": [
257
- {
258
- "kind": "function",
259
- "name": "assureDesignSystem",
260
- "return": {
261
- "type": {
262
- "text": "DesignSystemModule"
263
- }
264
- },
265
- "parameters": [
266
- {
267
- "name": "module",
268
- "type": {
269
- "text": "DesignSystemModule"
270
- }
271
- }
272
- ],
273
- "description": "assureDesignSystem.",
274
- "privacy": "public"
275
- },
276
- {
277
- "kind": "function",
278
- "name": "getCurrentDesignSystem",
279
- "return": {
280
- "type": {
281
- "text": ""
282
- }
283
- },
284
- "parameters": [
285
- {
286
- "name": "element",
287
- "type": {
288
- "text": "HTMLElement"
289
- },
290
- "description": "The starting HTML element"
291
- },
292
- {
293
- "name": "fallbackPrefix",
294
- "type": {
295
- "text": "string"
296
- },
297
- "description": "The prefix to fallback to if the provider is not available"
298
- }
299
- ],
300
- "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.",
301
- "privacy": "public"
302
- },
303
- {
304
- "kind": "function",
305
- "name": "getCurrentDesignSystemPrefix",
306
- "return": {
307
- "type": {
308
- "text": ""
309
- }
310
- },
311
- "parameters": [
312
- {
313
- "name": "element",
314
- "type": {
315
- "text": "HTMLElement"
316
- },
317
- "description": "The starting HTML element"
318
- },
319
- {
320
- "name": "fallbackPrefix",
321
- "type": {
322
- "text": "string"
323
- },
324
- "description": "The prefix to fallback to if the provider is not available"
325
- }
326
- ],
327
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
328
- "privacy": "public"
329
- }
330
- ],
331
- "exports": [
332
- {
333
- "kind": "js",
334
- "name": "assureDesignSystem",
335
- "declaration": {
336
- "name": "assureDesignSystem",
337
- "module": "src/design-system/design-system.ts"
338
- }
339
- },
340
- {
341
- "kind": "js",
342
- "name": "getCurrentDesignSystem",
343
- "declaration": {
344
- "name": "getCurrentDesignSystem",
345
- "module": "src/design-system/design-system.ts"
346
- }
347
- },
348
- {
349
- "kind": "js",
350
- "name": "getCurrentDesignSystemPrefix",
351
- "declaration": {
352
- "name": "getCurrentDesignSystemPrefix",
353
- "module": "src/design-system/design-system.ts"
354
- }
355
- }
356
- ]
357
- },
358
- {
359
- "kind": "javascript-module",
360
- "path": "src/design-system/editable-elements.ts",
361
- "declarations": [
362
- {
363
- "kind": "variable",
364
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
365
- "type": {
366
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
367
- },
368
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
369
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
370
- },
371
- {
372
- "kind": "variable",
373
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
374
- "type": {
375
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
376
- },
377
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
378
- "description": "Design-system specific editable host selectors."
379
- },
380
- {
381
- "kind": "function",
382
- "name": "buildEditableElementSelector",
383
- "return": {
384
- "type": {
385
- "text": "string"
386
- }
387
- },
388
- "parameters": [
389
- {
390
- "name": "designSystems",
391
- "type": {
392
- "text": "readonly EditableDesignSystemPrefix[]"
393
- }
394
- },
395
- {
396
- "name": "customEditableSelectors",
397
- "default": "[]",
398
- "type": {
399
- "text": "readonly string[]"
400
- }
401
- }
402
- ]
403
- }
404
- ],
405
- "exports": [
406
- {
407
- "kind": "js",
408
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
409
- "declaration": {
410
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
411
- "module": "src/design-system/editable-elements.ts"
412
- }
413
- },
414
- {
415
- "kind": "js",
416
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
417
- "declaration": {
418
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
419
- "module": "src/design-system/editable-elements.ts"
420
- }
421
- },
422
- {
423
- "kind": "js",
424
- "name": "buildEditableElementSelector",
425
- "declaration": {
426
- "name": "buildEditableElementSelector",
427
- "module": "src/design-system/editable-elements.ts"
428
- }
429
- }
430
- ]
431
- },
432
- {
433
- "kind": "javascript-module",
434
- "path": "src/design-system/index.ts",
435
- "declarations": [],
436
- "exports": [
437
- {
438
- "kind": "js",
439
- "name": "*",
440
- "declaration": {
441
- "name": "*",
442
- "package": "./design-system"
443
- }
444
- },
445
- {
446
- "kind": "js",
447
- "name": "*",
448
- "declaration": {
449
- "name": "*",
450
- "package": "./editable-elements"
451
- }
452
- }
453
- ]
454
- },
455
253
  {
456
254
  "kind": "javascript-module",
457
255
  "path": "src/data/inMemoryDatabase.ts",
@@ -675,68 +473,217 @@
675
473
  },
676
474
  {
677
475
  "kind": "javascript-module",
678
- "path": "src/encoding/index.ts",
679
- "declarations": [],
476
+ "path": "src/design-system/design-system.ts",
477
+ "declarations": [
478
+ {
479
+ "kind": "function",
480
+ "name": "assureDesignSystem",
481
+ "return": {
482
+ "type": {
483
+ "text": "DesignSystemModule"
484
+ }
485
+ },
486
+ "parameters": [
487
+ {
488
+ "name": "module",
489
+ "type": {
490
+ "text": "DesignSystemModule"
491
+ }
492
+ }
493
+ ],
494
+ "description": "assureDesignSystem.",
495
+ "privacy": "public"
496
+ },
497
+ {
498
+ "kind": "function",
499
+ "name": "getCurrentDesignSystem",
500
+ "return": {
501
+ "type": {
502
+ "text": ""
503
+ }
504
+ },
505
+ "parameters": [
506
+ {
507
+ "name": "element",
508
+ "type": {
509
+ "text": "HTMLElement"
510
+ },
511
+ "description": "The starting HTML element"
512
+ },
513
+ {
514
+ "name": "fallbackPrefix",
515
+ "type": {
516
+ "text": "string"
517
+ },
518
+ "description": "The prefix to fallback to if the provider is not available"
519
+ }
520
+ ],
521
+ "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.",
522
+ "privacy": "public"
523
+ },
524
+ {
525
+ "kind": "function",
526
+ "name": "getCurrentDesignSystemPrefix",
527
+ "return": {
528
+ "type": {
529
+ "text": ""
530
+ }
531
+ },
532
+ "parameters": [
533
+ {
534
+ "name": "element",
535
+ "type": {
536
+ "text": "HTMLElement"
537
+ },
538
+ "description": "The starting HTML element"
539
+ },
540
+ {
541
+ "name": "fallbackPrefix",
542
+ "type": {
543
+ "text": "string"
544
+ },
545
+ "description": "The prefix to fallback to if the provider is not available"
546
+ }
547
+ ],
548
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
549
+ "privacy": "public"
550
+ }
551
+ ],
680
552
  "exports": [
681
553
  {
682
554
  "kind": "js",
683
- "name": "*",
555
+ "name": "assureDesignSystem",
684
556
  "declaration": {
685
- "name": "*",
686
- "package": "./base64"
557
+ "name": "assureDesignSystem",
558
+ "module": "src/design-system/design-system.ts"
687
559
  }
688
- }
689
- ]
690
- },
691
- {
692
- "kind": "javascript-module",
693
- "path": "src/decorators/index.ts",
694
- "declarations": [],
695
- "exports": [
560
+ },
696
561
  {
697
562
  "kind": "js",
698
- "name": "*",
563
+ "name": "getCurrentDesignSystem",
699
564
  "declaration": {
700
- "name": "*",
701
- "package": "./renderOnChange"
565
+ "name": "getCurrentDesignSystem",
566
+ "module": "src/design-system/design-system.ts"
567
+ }
568
+ },
569
+ {
570
+ "kind": "js",
571
+ "name": "getCurrentDesignSystemPrefix",
572
+ "declaration": {
573
+ "name": "getCurrentDesignSystemPrefix",
574
+ "module": "src/design-system/design-system.ts"
702
575
  }
703
576
  }
704
577
  ]
705
578
  },
706
579
  {
707
580
  "kind": "javascript-module",
708
- "path": "src/decorators/renderOnChange.ts",
581
+ "path": "src/design-system/editable-elements.ts",
709
582
  "declarations": [
583
+ {
584
+ "kind": "variable",
585
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
586
+ "type": {
587
+ "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
588
+ },
589
+ "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
590
+ "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
591
+ },
592
+ {
593
+ "kind": "variable",
594
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
595
+ "type": {
596
+ "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
597
+ },
598
+ "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
599
+ "description": "Design-system specific editable host selectors."
600
+ },
710
601
  {
711
602
  "kind": "function",
712
- "name": "renderOnChange",
603
+ "name": "buildEditableElementSelector",
604
+ "return": {
605
+ "type": {
606
+ "text": "string"
607
+ }
608
+ },
713
609
  "parameters": [
714
610
  {
715
- "name": "target",
611
+ "name": "designSystems",
716
612
  "type": {
717
- "text": "FASTElement & { render(): void }"
718
- },
719
- "description": "The target to define the property change handler on."
613
+ "text": "readonly EditableDesignSystemPrefix[]"
614
+ }
720
615
  },
721
616
  {
722
- "name": "name",
617
+ "name": "customEditableSelectors",
618
+ "default": "[]",
723
619
  "type": {
724
- "text": "string"
725
- },
726
- "description": "The property name."
620
+ "text": "readonly string[]"
621
+ }
727
622
  }
728
- ],
729
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
730
- "privacy": "public"
623
+ ]
731
624
  }
732
625
  ],
733
626
  "exports": [
734
627
  {
735
628
  "kind": "js",
736
- "name": "renderOnChange",
629
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
737
630
  "declaration": {
738
- "name": "renderOnChange",
739
- "module": "src/decorators/renderOnChange.ts"
631
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
632
+ "module": "src/design-system/editable-elements.ts"
633
+ }
634
+ },
635
+ {
636
+ "kind": "js",
637
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
638
+ "declaration": {
639
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
640
+ "module": "src/design-system/editable-elements.ts"
641
+ }
642
+ },
643
+ {
644
+ "kind": "js",
645
+ "name": "buildEditableElementSelector",
646
+ "declaration": {
647
+ "name": "buildEditableElementSelector",
648
+ "module": "src/design-system/editable-elements.ts"
649
+ }
650
+ }
651
+ ]
652
+ },
653
+ {
654
+ "kind": "javascript-module",
655
+ "path": "src/design-system/index.ts",
656
+ "declarations": [],
657
+ "exports": [
658
+ {
659
+ "kind": "js",
660
+ "name": "*",
661
+ "declaration": {
662
+ "name": "*",
663
+ "package": "./design-system"
664
+ }
665
+ },
666
+ {
667
+ "kind": "js",
668
+ "name": "*",
669
+ "declaration": {
670
+ "name": "*",
671
+ "package": "./editable-elements"
672
+ }
673
+ }
674
+ ]
675
+ },
676
+ {
677
+ "kind": "javascript-module",
678
+ "path": "src/encoding/index.ts",
679
+ "declarations": [],
680
+ "exports": [
681
+ {
682
+ "kind": "js",
683
+ "name": "*",
684
+ "declaration": {
685
+ "name": "*",
686
+ "package": "./base64"
740
687
  }
741
688
  }
742
689
  ]
@@ -1240,6 +1187,59 @@
1240
1187
  }
1241
1188
  ]
1242
1189
  },
1190
+ {
1191
+ "kind": "javascript-module",
1192
+ "path": "src/decorators/index.ts",
1193
+ "declarations": [],
1194
+ "exports": [
1195
+ {
1196
+ "kind": "js",
1197
+ "name": "*",
1198
+ "declaration": {
1199
+ "name": "*",
1200
+ "package": "./renderOnChange"
1201
+ }
1202
+ }
1203
+ ]
1204
+ },
1205
+ {
1206
+ "kind": "javascript-module",
1207
+ "path": "src/decorators/renderOnChange.ts",
1208
+ "declarations": [
1209
+ {
1210
+ "kind": "function",
1211
+ "name": "renderOnChange",
1212
+ "parameters": [
1213
+ {
1214
+ "name": "target",
1215
+ "type": {
1216
+ "text": "FASTElement & { render(): void }"
1217
+ },
1218
+ "description": "The target to define the property change handler on."
1219
+ },
1220
+ {
1221
+ "name": "name",
1222
+ "type": {
1223
+ "text": "string"
1224
+ },
1225
+ "description": "The property name."
1226
+ }
1227
+ ],
1228
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1229
+ "privacy": "public"
1230
+ }
1231
+ ],
1232
+ "exports": [
1233
+ {
1234
+ "kind": "js",
1235
+ "name": "renderOnChange",
1236
+ "declaration": {
1237
+ "name": "renderOnChange",
1238
+ "module": "src/decorators/renderOnChange.ts"
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.36.2-alpha-ec480ce5f.0",
4
+ "version": "15.37.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.36.2-alpha-ec480ce5f.0",
33
- "@genesislcap/genx": "15.36.2-alpha-ec480ce5f.0",
34
- "@genesislcap/rollup-builder": "15.36.2-alpha-ec480ce5f.0",
35
- "@genesislcap/ts-builder": "15.36.2-alpha-ec480ce5f.0",
36
- "@genesislcap/uvu-playwright-builder": "15.36.2-alpha-ec480ce5f.0",
37
- "@genesislcap/vite-builder": "15.36.2-alpha-ec480ce5f.0",
38
- "@genesislcap/webpack-builder": "15.36.2-alpha-ec480ce5f.0",
32
+ "@genesislcap/foundation-testing": "15.37.0",
33
+ "@genesislcap/genx": "15.37.0",
34
+ "@genesislcap/rollup-builder": "15.37.0",
35
+ "@genesislcap/ts-builder": "15.37.0",
36
+ "@genesislcap/uvu-playwright-builder": "15.37.0",
37
+ "@genesislcap/vite-builder": "15.37.0",
38
+ "@genesislcap/webpack-builder": "15.37.0",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "15.36.2-alpha-ec480ce5f.0",
43
- "@genesislcap/foundation-logger": "15.36.2-alpha-ec480ce5f.0",
42
+ "@genesislcap/expression-builder": "15.37.0",
43
+ "@genesislcap/foundation-logger": "15.37.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",