@genesislcap/foundation-utils 15.41.0 → 15.43.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 +204 -204
  2. package/package.json +10 -10
@@ -303,208 +303,6 @@
303
303
  }
304
304
  ]
305
305
  },
306
- {
307
- "kind": "javascript-module",
308
- "path": "src/design-system/design-system.ts",
309
- "declarations": [
310
- {
311
- "kind": "function",
312
- "name": "assureDesignSystem",
313
- "return": {
314
- "type": {
315
- "text": "DesignSystemModule"
316
- }
317
- },
318
- "parameters": [
319
- {
320
- "name": "module",
321
- "type": {
322
- "text": "DesignSystemModule"
323
- }
324
- }
325
- ],
326
- "description": "assureDesignSystem.",
327
- "privacy": "public"
328
- },
329
- {
330
- "kind": "function",
331
- "name": "getCurrentDesignSystem",
332
- "return": {
333
- "type": {
334
- "text": ""
335
- }
336
- },
337
- "parameters": [
338
- {
339
- "name": "element",
340
- "type": {
341
- "text": "HTMLElement"
342
- },
343
- "description": "The starting HTML element"
344
- },
345
- {
346
- "name": "fallbackPrefix",
347
- "type": {
348
- "text": "string"
349
- },
350
- "description": "The prefix to fallback to if the provider is not available"
351
- }
352
- ],
353
- "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.",
354
- "privacy": "public"
355
- },
356
- {
357
- "kind": "function",
358
- "name": "getCurrentDesignSystemPrefix",
359
- "return": {
360
- "type": {
361
- "text": ""
362
- }
363
- },
364
- "parameters": [
365
- {
366
- "name": "element",
367
- "type": {
368
- "text": "HTMLElement"
369
- },
370
- "description": "The starting HTML element"
371
- },
372
- {
373
- "name": "fallbackPrefix",
374
- "type": {
375
- "text": "string"
376
- },
377
- "description": "The prefix to fallback to if the provider is not available"
378
- }
379
- ],
380
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
381
- "privacy": "public"
382
- }
383
- ],
384
- "exports": [
385
- {
386
- "kind": "js",
387
- "name": "assureDesignSystem",
388
- "declaration": {
389
- "name": "assureDesignSystem",
390
- "module": "src/design-system/design-system.ts"
391
- }
392
- },
393
- {
394
- "kind": "js",
395
- "name": "getCurrentDesignSystem",
396
- "declaration": {
397
- "name": "getCurrentDesignSystem",
398
- "module": "src/design-system/design-system.ts"
399
- }
400
- },
401
- {
402
- "kind": "js",
403
- "name": "getCurrentDesignSystemPrefix",
404
- "declaration": {
405
- "name": "getCurrentDesignSystemPrefix",
406
- "module": "src/design-system/design-system.ts"
407
- }
408
- }
409
- ]
410
- },
411
- {
412
- "kind": "javascript-module",
413
- "path": "src/design-system/editable-elements.ts",
414
- "declarations": [
415
- {
416
- "kind": "variable",
417
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
418
- "type": {
419
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
420
- },
421
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
422
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
423
- },
424
- {
425
- "kind": "variable",
426
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
427
- "type": {
428
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
429
- },
430
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
431
- "description": "Design-system specific editable host selectors."
432
- },
433
- {
434
- "kind": "function",
435
- "name": "buildEditableElementSelector",
436
- "return": {
437
- "type": {
438
- "text": "string"
439
- }
440
- },
441
- "parameters": [
442
- {
443
- "name": "designSystems",
444
- "type": {
445
- "text": "readonly EditableDesignSystemPrefix[]"
446
- }
447
- },
448
- {
449
- "name": "customEditableSelectors",
450
- "default": "[]",
451
- "type": {
452
- "text": "readonly string[]"
453
- }
454
- }
455
- ]
456
- }
457
- ],
458
- "exports": [
459
- {
460
- "kind": "js",
461
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
462
- "declaration": {
463
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
464
- "module": "src/design-system/editable-elements.ts"
465
- }
466
- },
467
- {
468
- "kind": "js",
469
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
470
- "declaration": {
471
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
472
- "module": "src/design-system/editable-elements.ts"
473
- }
474
- },
475
- {
476
- "kind": "js",
477
- "name": "buildEditableElementSelector",
478
- "declaration": {
479
- "name": "buildEditableElementSelector",
480
- "module": "src/design-system/editable-elements.ts"
481
- }
482
- }
483
- ]
484
- },
485
- {
486
- "kind": "javascript-module",
487
- "path": "src/design-system/index.ts",
488
- "declarations": [],
489
- "exports": [
490
- {
491
- "kind": "js",
492
- "name": "*",
493
- "declaration": {
494
- "name": "*",
495
- "package": "./design-system"
496
- }
497
- },
498
- {
499
- "kind": "js",
500
- "name": "*",
501
- "declaration": {
502
- "name": "*",
503
- "package": "./editable-elements"
504
- }
505
- }
506
- ]
507
- },
508
306
  {
509
307
  "kind": "javascript-module",
510
308
  "path": "src/data/inMemoryDatabase.ts",
@@ -705,7 +503,186 @@
705
503
  },
706
504
  {
707
505
  "kind": "javascript-module",
708
- "path": "src/encoding/index.ts",
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
+ ],
582
+ "exports": [
583
+ {
584
+ "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",
602
+ "declaration": {
603
+ "name": "getCurrentDesignSystemPrefix",
604
+ "module": "src/design-system/design-system.ts"
605
+ }
606
+ }
607
+ ]
608
+ },
609
+ {
610
+ "kind": "javascript-module",
611
+ "path": "src/design-system/editable-elements.ts",
612
+ "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
+ {
632
+ "kind": "function",
633
+ "name": "buildEditableElementSelector",
634
+ "return": {
635
+ "type": {
636
+ "text": "string"
637
+ }
638
+ },
639
+ "parameters": [
640
+ {
641
+ "name": "designSystems",
642
+ "type": {
643
+ "text": "readonly EditableDesignSystemPrefix[]"
644
+ }
645
+ },
646
+ {
647
+ "name": "customEditableSelectors",
648
+ "default": "[]",
649
+ "type": {
650
+ "text": "readonly string[]"
651
+ }
652
+ }
653
+ ]
654
+ }
655
+ ],
656
+ "exports": [
657
+ {
658
+ "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",
709
686
  "declarations": [],
710
687
  "exports": [
711
688
  {
@@ -713,7 +690,15 @@
713
690
  "name": "*",
714
691
  "declaration": {
715
692
  "name": "*",
716
- "package": "./base64"
693
+ "package": "./design-system"
694
+ }
695
+ },
696
+ {
697
+ "kind": "js",
698
+ "name": "*",
699
+ "declaration": {
700
+ "name": "*",
701
+ "package": "./editable-elements"
717
702
  }
718
703
  }
719
704
  ]
@@ -1217,6 +1202,21 @@
1217
1202
  }
1218
1203
  ]
1219
1204
  },
1205
+ {
1206
+ "kind": "javascript-module",
1207
+ "path": "src/encoding/index.ts",
1208
+ "declarations": [],
1209
+ "exports": [
1210
+ {
1211
+ "kind": "js",
1212
+ "name": "*",
1213
+ "declaration": {
1214
+ "name": "*",
1215
+ "package": "./base64"
1216
+ }
1217
+ }
1218
+ ]
1219
+ },
1220
1220
  {
1221
1221
  "kind": "javascript-module",
1222
1222
  "path": "src/directives/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.41.0",
4
+ "version": "15.43.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.41.0",
33
- "@genesislcap/genx": "15.41.0",
34
- "@genesislcap/rollup-builder": "15.41.0",
35
- "@genesislcap/ts-builder": "15.41.0",
36
- "@genesislcap/uvu-playwright-builder": "15.41.0",
37
- "@genesislcap/vite-builder": "15.41.0",
38
- "@genesislcap/webpack-builder": "15.41.0",
32
+ "@genesislcap/foundation-testing": "15.43.0",
33
+ "@genesislcap/genx": "15.43.0",
34
+ "@genesislcap/rollup-builder": "15.43.0",
35
+ "@genesislcap/ts-builder": "15.43.0",
36
+ "@genesislcap/uvu-playwright-builder": "15.43.0",
37
+ "@genesislcap/vite-builder": "15.43.0",
38
+ "@genesislcap/webpack-builder": "15.43.0",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "15.41.0",
43
- "@genesislcap/foundation-logger": "15.41.0",
42
+ "@genesislcap/expression-builder": "15.43.0",
43
+ "@genesislcap/foundation-logger": "15.43.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",