@genesislcap/foundation-utils 15.53.0 → 15.55.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.
@@ -258,208 +258,6 @@
258
258
  }
259
259
  ]
260
260
  },
261
- {
262
- "kind": "javascript-module",
263
- "path": "src/design-system/design-system.ts",
264
- "declarations": [
265
- {
266
- "kind": "function",
267
- "name": "assureDesignSystem",
268
- "return": {
269
- "type": {
270
- "text": "DesignSystemModule"
271
- }
272
- },
273
- "parameters": [
274
- {
275
- "name": "module",
276
- "type": {
277
- "text": "DesignSystemModule"
278
- }
279
- }
280
- ],
281
- "description": "assureDesignSystem.",
282
- "privacy": "public"
283
- },
284
- {
285
- "kind": "function",
286
- "name": "getCurrentDesignSystem",
287
- "return": {
288
- "type": {
289
- "text": ""
290
- }
291
- },
292
- "parameters": [
293
- {
294
- "name": "element",
295
- "type": {
296
- "text": "HTMLElement"
297
- },
298
- "description": "The starting HTML element"
299
- },
300
- {
301
- "name": "fallbackPrefix",
302
- "type": {
303
- "text": "string"
304
- },
305
- "description": "The prefix to fallback to if the provider is not available"
306
- }
307
- ],
308
- "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.",
309
- "privacy": "public"
310
- },
311
- {
312
- "kind": "function",
313
- "name": "getCurrentDesignSystemPrefix",
314
- "return": {
315
- "type": {
316
- "text": ""
317
- }
318
- },
319
- "parameters": [
320
- {
321
- "name": "element",
322
- "type": {
323
- "text": "HTMLElement"
324
- },
325
- "description": "The starting HTML element"
326
- },
327
- {
328
- "name": "fallbackPrefix",
329
- "type": {
330
- "text": "string"
331
- },
332
- "description": "The prefix to fallback to if the provider is not available"
333
- }
334
- ],
335
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
336
- "privacy": "public"
337
- }
338
- ],
339
- "exports": [
340
- {
341
- "kind": "js",
342
- "name": "assureDesignSystem",
343
- "declaration": {
344
- "name": "assureDesignSystem",
345
- "module": "src/design-system/design-system.ts"
346
- }
347
- },
348
- {
349
- "kind": "js",
350
- "name": "getCurrentDesignSystem",
351
- "declaration": {
352
- "name": "getCurrentDesignSystem",
353
- "module": "src/design-system/design-system.ts"
354
- }
355
- },
356
- {
357
- "kind": "js",
358
- "name": "getCurrentDesignSystemPrefix",
359
- "declaration": {
360
- "name": "getCurrentDesignSystemPrefix",
361
- "module": "src/design-system/design-system.ts"
362
- }
363
- }
364
- ]
365
- },
366
- {
367
- "kind": "javascript-module",
368
- "path": "src/design-system/editable-elements.ts",
369
- "declarations": [
370
- {
371
- "kind": "variable",
372
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
373
- "type": {
374
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
375
- },
376
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
377
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
378
- },
379
- {
380
- "kind": "variable",
381
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
382
- "type": {
383
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
384
- },
385
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
386
- "description": "Design-system specific editable host selectors."
387
- },
388
- {
389
- "kind": "function",
390
- "name": "buildEditableElementSelector",
391
- "return": {
392
- "type": {
393
- "text": "string"
394
- }
395
- },
396
- "parameters": [
397
- {
398
- "name": "designSystems",
399
- "type": {
400
- "text": "readonly EditableDesignSystemPrefix[]"
401
- }
402
- },
403
- {
404
- "name": "customEditableSelectors",
405
- "default": "[]",
406
- "type": {
407
- "text": "readonly string[]"
408
- }
409
- }
410
- ]
411
- }
412
- ],
413
- "exports": [
414
- {
415
- "kind": "js",
416
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
417
- "declaration": {
418
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
419
- "module": "src/design-system/editable-elements.ts"
420
- }
421
- },
422
- {
423
- "kind": "js",
424
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
425
- "declaration": {
426
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
427
- "module": "src/design-system/editable-elements.ts"
428
- }
429
- },
430
- {
431
- "kind": "js",
432
- "name": "buildEditableElementSelector",
433
- "declaration": {
434
- "name": "buildEditableElementSelector",
435
- "module": "src/design-system/editable-elements.ts"
436
- }
437
- }
438
- ]
439
- },
440
- {
441
- "kind": "javascript-module",
442
- "path": "src/design-system/index.ts",
443
- "declarations": [],
444
- "exports": [
445
- {
446
- "kind": "js",
447
- "name": "*",
448
- "declaration": {
449
- "name": "*",
450
- "package": "./design-system"
451
- }
452
- },
453
- {
454
- "kind": "js",
455
- "name": "*",
456
- "declaration": {
457
- "name": "*",
458
- "package": "./editable-elements"
459
- }
460
- }
461
- ]
462
- },
463
261
  {
464
262
  "kind": "javascript-module",
465
263
  "path": "src/data/inMemoryDatabase.ts",
@@ -660,7 +458,186 @@
660
458
  },
661
459
  {
662
460
  "kind": "javascript-module",
663
- "path": "src/directives/index.ts",
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 zero: buildDesignSystemEditableSelectors('zero'),\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
+ "exports": [
612
+ {
613
+ "kind": "js",
614
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
615
+ "declaration": {
616
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
617
+ "module": "src/design-system/editable-elements.ts"
618
+ }
619
+ },
620
+ {
621
+ "kind": "js",
622
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
623
+ "declaration": {
624
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
625
+ "module": "src/design-system/editable-elements.ts"
626
+ }
627
+ },
628
+ {
629
+ "kind": "js",
630
+ "name": "buildEditableElementSelector",
631
+ "declaration": {
632
+ "name": "buildEditableElementSelector",
633
+ "module": "src/design-system/editable-elements.ts"
634
+ }
635
+ }
636
+ ]
637
+ },
638
+ {
639
+ "kind": "javascript-module",
640
+ "path": "src/design-system/index.ts",
664
641
  "declarations": [],
665
642
  "exports": [
666
643
  {
@@ -668,7 +645,7 @@
668
645
  "name": "*",
669
646
  "declaration": {
670
647
  "name": "*",
671
- "package": "./sync"
648
+ "package": "./design-system"
672
649
  }
673
650
  },
674
651
  {
@@ -676,14 +653,14 @@
676
653
  "name": "*",
677
654
  "declaration": {
678
655
  "name": "*",
679
- "package": "./when-else"
656
+ "package": "./editable-elements"
680
657
  }
681
658
  }
682
659
  ]
683
660
  },
684
661
  {
685
662
  "kind": "javascript-module",
686
- "path": "src/encoding/index.ts",
663
+ "path": "src/directives/index.ts",
687
664
  "declarations": [],
688
665
  "exports": [
689
666
  {
@@ -691,7 +668,15 @@
691
668
  "name": "*",
692
669
  "declaration": {
693
670
  "name": "*",
694
- "package": "./base64"
671
+ "package": "./sync"
672
+ }
673
+ },
674
+ {
675
+ "kind": "js",
676
+ "name": "*",
677
+ "declaration": {
678
+ "name": "*",
679
+ "package": "./when-else"
695
680
  }
696
681
  }
697
682
  ]
@@ -749,6 +734,21 @@
749
734
  }
750
735
  ]
751
736
  },
737
+ {
738
+ "kind": "javascript-module",
739
+ "path": "src/encoding/index.ts",
740
+ "declarations": [],
741
+ "exports": [
742
+ {
743
+ "kind": "js",
744
+ "name": "*",
745
+ "declaration": {
746
+ "name": "*",
747
+ "package": "./base64"
748
+ }
749
+ }
750
+ ]
751
+ },
752
752
  {
753
753
  "kind": "javascript-module",
754
754
  "path": "src/env/index.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.53.0",
4
+ "version": "15.55.0",
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.53.0",
33
- "@genesislcap/genx": "15.53.0",
34
- "@genesislcap/ts-builder": "15.53.0",
35
- "@genesislcap/uvu-playwright-builder": "15.53.0",
36
- "@genesislcap/vite-builder": "15.53.0",
37
- "@genesislcap/webpack-builder": "15.53.0",
32
+ "@genesislcap/foundation-testing": "15.55.0",
33
+ "@genesislcap/genx": "15.55.0",
34
+ "@genesislcap/ts-builder": "15.55.0",
35
+ "@genesislcap/uvu-playwright-builder": "15.55.0",
36
+ "@genesislcap/vite-builder": "15.55.0",
37
+ "@genesislcap/webpack-builder": "15.55.0",
38
38
  "@types/json-schema": "^7.0.11"
39
39
  },
40
40
  "dependencies": {
41
- "@genesislcap/expression-builder": "15.53.0",
42
- "@genesislcap/foundation-logger": "15.53.0",
41
+ "@genesislcap/expression-builder": "15.55.0",
42
+ "@genesislcap/foundation-logger": "15.55.0",
43
43
  "@microsoft/fast-components": "2.30.6",
44
44
  "@microsoft/fast-element": "1.14.0",
45
45
  "@microsoft/fast-foundation": "2.50.0",