@genesislcap/foundation-utils 14.479.1-alpha-af2aa5c.0 → 14.480.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 +205 -205
  2. package/package.json +11 -11
@@ -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",
@@ -652,7 +450,186 @@
652
450
  },
653
451
  {
654
452
  "kind": "javascript-module",
655
- "path": "src/directives/index.ts",
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",
656
633
  "declarations": [],
657
634
  "exports": [
658
635
  {
@@ -660,7 +637,7 @@
660
637
  "name": "*",
661
638
  "declaration": {
662
639
  "name": "*",
663
- "package": "./sync"
640
+ "package": "./design-system"
664
641
  }
665
642
  },
666
643
  {
@@ -668,7 +645,7 @@
668
645
  "name": "*",
669
646
  "declaration": {
670
647
  "name": "*",
671
- "package": "./when-else"
648
+ "package": "./editable-elements"
672
649
  }
673
650
  }
674
651
  ]
@@ -726,6 +703,29 @@
726
703
  }
727
704
  ]
728
705
  },
706
+ {
707
+ "kind": "javascript-module",
708
+ "path": "src/directives/index.ts",
709
+ "declarations": [],
710
+ "exports": [
711
+ {
712
+ "kind": "js",
713
+ "name": "*",
714
+ "declaration": {
715
+ "name": "*",
716
+ "package": "./sync"
717
+ }
718
+ },
719
+ {
720
+ "kind": "js",
721
+ "name": "*",
722
+ "declaration": {
723
+ "name": "*",
724
+ "package": "./when-else"
725
+ }
726
+ }
727
+ ]
728
+ },
729
729
  {
730
730
  "kind": "javascript-module",
731
731
  "path": "src/encoding/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": "14.479.1-alpha-af2aa5c.0",
4
+ "version": "14.480.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.479.1-alpha-af2aa5c.0",
33
- "@genesislcap/genx": "14.479.1-alpha-af2aa5c.0",
34
- "@genesislcap/rollup-builder": "14.479.1-alpha-af2aa5c.0",
35
- "@genesislcap/ts-builder": "14.479.1-alpha-af2aa5c.0",
36
- "@genesislcap/uvu-playwright-builder": "14.479.1-alpha-af2aa5c.0",
37
- "@genesislcap/vite-builder": "14.479.1-alpha-af2aa5c.0",
38
- "@genesislcap/webpack-builder": "14.479.1-alpha-af2aa5c.0",
32
+ "@genesislcap/foundation-testing": "14.480.0",
33
+ "@genesislcap/genx": "14.480.0",
34
+ "@genesislcap/rollup-builder": "14.480.0",
35
+ "@genesislcap/ts-builder": "14.480.0",
36
+ "@genesislcap/uvu-playwright-builder": "14.480.0",
37
+ "@genesislcap/vite-builder": "14.480.0",
38
+ "@genesislcap/webpack-builder": "14.480.0",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.479.1-alpha-af2aa5c.0",
43
- "@genesislcap/foundation-logger": "14.479.1-alpha-af2aa5c.0",
42
+ "@genesislcap/expression-builder": "14.480.0",
43
+ "@genesislcap/foundation-logger": "14.480.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": "1e2a6bf47217b47efcce81a19ab73218cda0f675"
61
+ "gitHead": "6d2bc60f9700ab9f5a6d8c1834baebbd66ae5e6b"
62
62
  }