@genesislcap/foundation-utils 14.458.2 → 14.458.3-alpha-81b30f1.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 +207 -207
  2. package/package.json +11 -11
@@ -250,6 +250,208 @@
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
+ },
253
455
  {
254
456
  "kind": "javascript-module",
255
457
  "path": "src/data/inMemoryDatabase.ts",
@@ -450,186 +652,7 @@
450
652
  },
451
653
  {
452
654
  "kind": "javascript-module",
453
- "path": "src/design-system/design-system.ts",
454
- "declarations": [
455
- {
456
- "kind": "function",
457
- "name": "assureDesignSystem",
458
- "return": {
459
- "type": {
460
- "text": "DesignSystemModule"
461
- }
462
- },
463
- "parameters": [
464
- {
465
- "name": "module",
466
- "type": {
467
- "text": "DesignSystemModule"
468
- }
469
- }
470
- ],
471
- "description": "assureDesignSystem.",
472
- "privacy": "public"
473
- },
474
- {
475
- "kind": "function",
476
- "name": "getCurrentDesignSystem",
477
- "return": {
478
- "type": {
479
- "text": ""
480
- }
481
- },
482
- "parameters": [
483
- {
484
- "name": "element",
485
- "type": {
486
- "text": "HTMLElement"
487
- },
488
- "description": "The starting HTML element"
489
- },
490
- {
491
- "name": "fallbackPrefix",
492
- "type": {
493
- "text": "string"
494
- },
495
- "description": "The prefix to fallback to if the provider is not available"
496
- }
497
- ],
498
- "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.",
499
- "privacy": "public"
500
- },
501
- {
502
- "kind": "function",
503
- "name": "getCurrentDesignSystemPrefix",
504
- "return": {
505
- "type": {
506
- "text": ""
507
- }
508
- },
509
- "parameters": [
510
- {
511
- "name": "element",
512
- "type": {
513
- "text": "HTMLElement"
514
- },
515
- "description": "The starting HTML element"
516
- },
517
- {
518
- "name": "fallbackPrefix",
519
- "type": {
520
- "text": "string"
521
- },
522
- "description": "The prefix to fallback to if the provider is not available"
523
- }
524
- ],
525
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
526
- "privacy": "public"
527
- }
528
- ],
529
- "exports": [
530
- {
531
- "kind": "js",
532
- "name": "assureDesignSystem",
533
- "declaration": {
534
- "name": "assureDesignSystem",
535
- "module": "src/design-system/design-system.ts"
536
- }
537
- },
538
- {
539
- "kind": "js",
540
- "name": "getCurrentDesignSystem",
541
- "declaration": {
542
- "name": "getCurrentDesignSystem",
543
- "module": "src/design-system/design-system.ts"
544
- }
545
- },
546
- {
547
- "kind": "js",
548
- "name": "getCurrentDesignSystemPrefix",
549
- "declaration": {
550
- "name": "getCurrentDesignSystemPrefix",
551
- "module": "src/design-system/design-system.ts"
552
- }
553
- }
554
- ]
555
- },
556
- {
557
- "kind": "javascript-module",
558
- "path": "src/design-system/editable-elements.ts",
559
- "declarations": [
560
- {
561
- "kind": "variable",
562
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
563
- "type": {
564
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
565
- },
566
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
567
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
568
- },
569
- {
570
- "kind": "variable",
571
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
572
- "type": {
573
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
574
- },
575
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
576
- "description": "Design-system specific editable host selectors."
577
- },
578
- {
579
- "kind": "function",
580
- "name": "buildEditableElementSelector",
581
- "return": {
582
- "type": {
583
- "text": "string"
584
- }
585
- },
586
- "parameters": [
587
- {
588
- "name": "designSystems",
589
- "type": {
590
- "text": "readonly EditableDesignSystemPrefix[]"
591
- }
592
- },
593
- {
594
- "name": "customEditableSelectors",
595
- "default": "[]",
596
- "type": {
597
- "text": "readonly string[]"
598
- }
599
- }
600
- ]
601
- }
602
- ],
603
- "exports": [
604
- {
605
- "kind": "js",
606
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
607
- "declaration": {
608
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
609
- "module": "src/design-system/editable-elements.ts"
610
- }
611
- },
612
- {
613
- "kind": "js",
614
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
615
- "declaration": {
616
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
617
- "module": "src/design-system/editable-elements.ts"
618
- }
619
- },
620
- {
621
- "kind": "js",
622
- "name": "buildEditableElementSelector",
623
- "declaration": {
624
- "name": "buildEditableElementSelector",
625
- "module": "src/design-system/editable-elements.ts"
626
- }
627
- }
628
- ]
629
- },
630
- {
631
- "kind": "javascript-module",
632
- "path": "src/design-system/index.ts",
655
+ "path": "src/directives/index.ts",
633
656
  "declarations": [],
634
657
  "exports": [
635
658
  {
@@ -637,7 +660,7 @@
637
660
  "name": "*",
638
661
  "declaration": {
639
662
  "name": "*",
640
- "package": "./design-system"
663
+ "package": "./sync"
641
664
  }
642
665
  },
643
666
  {
@@ -645,14 +668,14 @@
645
668
  "name": "*",
646
669
  "declaration": {
647
670
  "name": "*",
648
- "package": "./editable-elements"
671
+ "package": "./when-else"
649
672
  }
650
673
  }
651
674
  ]
652
675
  },
653
676
  {
654
677
  "kind": "javascript-module",
655
- "path": "src/directives/index.ts",
678
+ "path": "src/encoding/index.ts",
656
679
  "declarations": [],
657
680
  "exports": [
658
681
  {
@@ -660,15 +683,7 @@
660
683
  "name": "*",
661
684
  "declaration": {
662
685
  "name": "*",
663
- "package": "./sync"
664
- }
665
- },
666
- {
667
- "kind": "js",
668
- "name": "*",
669
- "declaration": {
670
- "name": "*",
671
- "package": "./when-else"
686
+ "package": "./base64"
672
687
  }
673
688
  }
674
689
  ]
@@ -1201,21 +1216,6 @@
1201
1216
  }
1202
1217
  ]
1203
1218
  },
1204
- {
1205
- "kind": "javascript-module",
1206
- "path": "src/encoding/index.ts",
1207
- "declarations": [],
1208
- "exports": [
1209
- {
1210
- "kind": "js",
1211
- "name": "*",
1212
- "declaration": {
1213
- "name": "*",
1214
- "package": "./base64"
1215
- }
1216
- }
1217
- ]
1218
- },
1219
1219
  {
1220
1220
  "kind": "javascript-module",
1221
1221
  "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": "14.458.2",
4
+ "version": "14.458.3-alpha-81b30f1.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": "14.458.2",
33
- "@genesislcap/genx": "14.458.2",
34
- "@genesislcap/rollup-builder": "14.458.2",
35
- "@genesislcap/ts-builder": "14.458.2",
36
- "@genesislcap/uvu-playwright-builder": "14.458.2",
37
- "@genesislcap/vite-builder": "14.458.2",
38
- "@genesislcap/webpack-builder": "14.458.2",
32
+ "@genesislcap/foundation-testing": "14.458.3-alpha-81b30f1.0",
33
+ "@genesislcap/genx": "14.458.3-alpha-81b30f1.0",
34
+ "@genesislcap/rollup-builder": "14.458.3-alpha-81b30f1.0",
35
+ "@genesislcap/ts-builder": "14.458.3-alpha-81b30f1.0",
36
+ "@genesislcap/uvu-playwright-builder": "14.458.3-alpha-81b30f1.0",
37
+ "@genesislcap/vite-builder": "14.458.3-alpha-81b30f1.0",
38
+ "@genesislcap/webpack-builder": "14.458.3-alpha-81b30f1.0",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.458.2",
43
- "@genesislcap/foundation-logger": "14.458.2",
42
+ "@genesislcap/expression-builder": "14.458.3-alpha-81b30f1.0",
43
+ "@genesislcap/foundation-logger": "14.458.3-alpha-81b30f1.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",
@@ -58,5 +58,5 @@
58
58
  "access": "public"
59
59
  },
60
60
  "customElements": "dist/custom-elements.json",
61
- "gitHead": "d2445453c001d9ab1377d1c0a6d90e2b65adb448"
61
+ "gitHead": "026355e2663b8fa4b1e65f8c05214f83feb543f7"
62
62
  }