@genesislcap/foundation-utils 14.445.1 → 14.445.2

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 +196 -196
  2. package/package.json +11 -11
@@ -252,53 +252,202 @@
252
252
  },
253
253
  {
254
254
  "kind": "javascript-module",
255
- "path": "src/decorators/index.ts",
256
- "declarations": [],
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
+ ],
257
331
  "exports": [
258
332
  {
259
333
  "kind": "js",
260
- "name": "*",
334
+ "name": "assureDesignSystem",
261
335
  "declaration": {
262
- "name": "*",
263
- "package": "./renderOnChange"
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"
264
354
  }
265
355
  }
266
356
  ]
267
357
  },
268
358
  {
269
359
  "kind": "javascript-module",
270
- "path": "src/decorators/renderOnChange.ts",
360
+ "path": "src/design-system/editable-elements.ts",
271
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
+ },
272
380
  {
273
381
  "kind": "function",
274
- "name": "renderOnChange",
382
+ "name": "buildEditableElementSelector",
383
+ "return": {
384
+ "type": {
385
+ "text": "string"
386
+ }
387
+ },
275
388
  "parameters": [
276
389
  {
277
- "name": "target",
390
+ "name": "designSystems",
278
391
  "type": {
279
- "text": "FASTElement & { render(): void }"
280
- },
281
- "description": "The target to define the property change handler on."
392
+ "text": "readonly EditableDesignSystemPrefix[]"
393
+ }
282
394
  },
283
395
  {
284
- "name": "name",
396
+ "name": "customEditableSelectors",
397
+ "default": "[]",
285
398
  "type": {
286
- "text": "string"
287
- },
288
- "description": "The property name."
399
+ "text": "readonly string[]"
400
+ }
289
401
  }
290
- ],
291
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
292
- "privacy": "public"
402
+ ]
293
403
  }
294
404
  ],
295
405
  "exports": [
296
406
  {
297
407
  "kind": "js",
298
- "name": "renderOnChange",
408
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
299
409
  "declaration": {
300
- "name": "renderOnChange",
301
- "module": "src/decorators/renderOnChange.ts"
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"
302
451
  }
303
452
  }
304
453
  ]
@@ -503,186 +652,60 @@
503
652
  },
504
653
  {
505
654
  "kind": "javascript-module",
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
- ],
655
+ "path": "src/decorators/index.ts",
656
+ "declarations": [],
582
657
  "exports": [
583
658
  {
584
659
  "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",
660
+ "name": "*",
602
661
  "declaration": {
603
- "name": "getCurrentDesignSystemPrefix",
604
- "module": "src/design-system/design-system.ts"
662
+ "name": "*",
663
+ "package": "./renderOnChange"
605
664
  }
606
665
  }
607
666
  ]
608
667
  },
609
668
  {
610
669
  "kind": "javascript-module",
611
- "path": "src/design-system/editable-elements.ts",
670
+ "path": "src/decorators/renderOnChange.ts",
612
671
  "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
672
  {
632
673
  "kind": "function",
633
- "name": "buildEditableElementSelector",
634
- "return": {
635
- "type": {
636
- "text": "string"
637
- }
638
- },
674
+ "name": "renderOnChange",
639
675
  "parameters": [
640
676
  {
641
- "name": "designSystems",
677
+ "name": "target",
642
678
  "type": {
643
- "text": "readonly EditableDesignSystemPrefix[]"
644
- }
679
+ "text": "FASTElement & { render(): void }"
680
+ },
681
+ "description": "The target to define the property change handler on."
645
682
  },
646
683
  {
647
- "name": "customEditableSelectors",
648
- "default": "[]",
684
+ "name": "name",
649
685
  "type": {
650
- "text": "readonly string[]"
651
- }
686
+ "text": "string"
687
+ },
688
+ "description": "The property name."
652
689
  }
653
- ]
690
+ ],
691
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
692
+ "privacy": "public"
654
693
  }
655
694
  ],
656
695
  "exports": [
657
696
  {
658
697
  "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",
698
+ "name": "renderOnChange",
676
699
  "declaration": {
677
- "name": "buildEditableElementSelector",
678
- "module": "src/design-system/editable-elements.ts"
700
+ "name": "renderOnChange",
701
+ "module": "src/decorators/renderOnChange.ts"
679
702
  }
680
703
  }
681
704
  ]
682
705
  },
683
706
  {
684
707
  "kind": "javascript-module",
685
- "path": "src/design-system/index.ts",
708
+ "path": "src/directives/index.ts",
686
709
  "declarations": [],
687
710
  "exports": [
688
711
  {
@@ -690,7 +713,7 @@
690
713
  "name": "*",
691
714
  "declaration": {
692
715
  "name": "*",
693
- "package": "./design-system"
716
+ "package": "./sync"
694
717
  }
695
718
  },
696
719
  {
@@ -698,14 +721,14 @@
698
721
  "name": "*",
699
722
  "declaration": {
700
723
  "name": "*",
701
- "package": "./editable-elements"
724
+ "package": "./when-else"
702
725
  }
703
726
  }
704
727
  ]
705
728
  },
706
729
  {
707
730
  "kind": "javascript-module",
708
- "path": "src/directives/index.ts",
731
+ "path": "src/encoding/index.ts",
709
732
  "declarations": [],
710
733
  "exports": [
711
734
  {
@@ -713,15 +736,7 @@
713
736
  "name": "*",
714
737
  "declaration": {
715
738
  "name": "*",
716
- "package": "./sync"
717
- }
718
- },
719
- {
720
- "kind": "js",
721
- "name": "*",
722
- "declaration": {
723
- "name": "*",
724
- "package": "./when-else"
739
+ "package": "./base64"
725
740
  }
726
741
  }
727
742
  ]
@@ -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.445.1",
4
+ "version": "14.445.2",
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.445.1",
33
- "@genesislcap/genx": "14.445.1",
34
- "@genesislcap/rollup-builder": "14.445.1",
35
- "@genesislcap/ts-builder": "14.445.1",
36
- "@genesislcap/uvu-playwright-builder": "14.445.1",
37
- "@genesislcap/vite-builder": "14.445.1",
38
- "@genesislcap/webpack-builder": "14.445.1",
32
+ "@genesislcap/foundation-testing": "14.445.2",
33
+ "@genesislcap/genx": "14.445.2",
34
+ "@genesislcap/rollup-builder": "14.445.2",
35
+ "@genesislcap/ts-builder": "14.445.2",
36
+ "@genesislcap/uvu-playwright-builder": "14.445.2",
37
+ "@genesislcap/vite-builder": "14.445.2",
38
+ "@genesislcap/webpack-builder": "14.445.2",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.445.1",
43
- "@genesislcap/foundation-logger": "14.445.1",
42
+ "@genesislcap/expression-builder": "14.445.2",
43
+ "@genesislcap/foundation-logger": "14.445.2",
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": "893e8b2ffadacaedb39f1935c1979278191b6730"
61
+ "gitHead": "bc0c48b46bdb022bfb6f8b88c0daca6beae97a4b"
62
62
  }