@genesislcap/foundation-utils 14.257.1 → 14.258.1

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 +133 -133
  2. package/package.json +10 -10
@@ -367,29 +367,6 @@
367
367
  }
368
368
  ]
369
369
  },
370
- {
371
- "kind": "javascript-module",
372
- "path": "src/directives/index.ts",
373
- "declarations": [],
374
- "exports": [
375
- {
376
- "kind": "js",
377
- "name": "*",
378
- "declaration": {
379
- "name": "*",
380
- "package": "./sync"
381
- }
382
- },
383
- {
384
- "kind": "js",
385
- "name": "*",
386
- "declaration": {
387
- "name": "*",
388
- "package": "./when-else"
389
- }
390
- }
391
- ]
392
- },
393
370
  {
394
371
  "kind": "javascript-module",
395
372
  "path": "src/decorators/index.ts",
@@ -443,6 +420,79 @@
443
420
  }
444
421
  ]
445
422
  },
423
+ {
424
+ "kind": "javascript-module",
425
+ "path": "src/directives/index.ts",
426
+ "declarations": [],
427
+ "exports": [
428
+ {
429
+ "kind": "js",
430
+ "name": "*",
431
+ "declaration": {
432
+ "name": "*",
433
+ "package": "./sync"
434
+ }
435
+ },
436
+ {
437
+ "kind": "js",
438
+ "name": "*",
439
+ "declaration": {
440
+ "name": "*",
441
+ "package": "./when-else"
442
+ }
443
+ }
444
+ ]
445
+ },
446
+ {
447
+ "kind": "javascript-module",
448
+ "path": "src/design-system/design-system.ts",
449
+ "declarations": [
450
+ {
451
+ "kind": "function",
452
+ "name": "assureDesignSystem",
453
+ "return": {
454
+ "type": {
455
+ "text": "DesignSystemModule"
456
+ }
457
+ },
458
+ "parameters": [
459
+ {
460
+ "name": "module",
461
+ "type": {
462
+ "text": "DesignSystemModule"
463
+ }
464
+ }
465
+ ],
466
+ "description": "assureDesignSystem.",
467
+ "privacy": "public"
468
+ }
469
+ ],
470
+ "exports": [
471
+ {
472
+ "kind": "js",
473
+ "name": "assureDesignSystem",
474
+ "declaration": {
475
+ "name": "assureDesignSystem",
476
+ "module": "src/design-system/design-system.ts"
477
+ }
478
+ }
479
+ ]
480
+ },
481
+ {
482
+ "kind": "javascript-module",
483
+ "path": "src/design-system/index.ts",
484
+ "declarations": [],
485
+ "exports": [
486
+ {
487
+ "kind": "js",
488
+ "name": "*",
489
+ "declaration": {
490
+ "name": "*",
491
+ "package": "./design-system"
492
+ }
493
+ }
494
+ ]
495
+ },
446
496
  {
447
497
  "kind": "javascript-module",
448
498
  "path": "src/encoding/index.ts",
@@ -899,56 +949,6 @@
899
949
  }
900
950
  ]
901
951
  },
902
- {
903
- "kind": "javascript-module",
904
- "path": "src/design-system/design-system.ts",
905
- "declarations": [
906
- {
907
- "kind": "function",
908
- "name": "assureDesignSystem",
909
- "return": {
910
- "type": {
911
- "text": "DesignSystemModule"
912
- }
913
- },
914
- "parameters": [
915
- {
916
- "name": "module",
917
- "type": {
918
- "text": "DesignSystemModule"
919
- }
920
- }
921
- ],
922
- "description": "assureDesignSystem.",
923
- "privacy": "public"
924
- }
925
- ],
926
- "exports": [
927
- {
928
- "kind": "js",
929
- "name": "assureDesignSystem",
930
- "declaration": {
931
- "name": "assureDesignSystem",
932
- "module": "src/design-system/design-system.ts"
933
- }
934
- }
935
- ]
936
- },
937
- {
938
- "kind": "javascript-module",
939
- "path": "src/design-system/index.ts",
940
- "declarations": [],
941
- "exports": [
942
- {
943
- "kind": "js",
944
- "name": "*",
945
- "declaration": {
946
- "name": "*",
947
- "package": "./design-system"
948
- }
949
- }
950
- ]
951
- },
952
952
  {
953
953
  "kind": "javascript-module",
954
954
  "path": "src/error/errorMap.ts",
@@ -2438,7 +2438,7 @@
2438
2438
  },
2439
2439
  {
2440
2440
  "kind": "javascript-module",
2441
- "path": "src/directives/when-else/index.ts",
2441
+ "path": "src/directives/sync/index.ts",
2442
2442
  "declarations": [],
2443
2443
  "exports": [
2444
2444
  {
@@ -2446,18 +2446,28 @@
2446
2446
  "name": "*",
2447
2447
  "declaration": {
2448
2448
  "name": "*",
2449
- "package": "./when-else"
2449
+ "package": "./sync"
2450
2450
  }
2451
2451
  }
2452
2452
  ]
2453
2453
  },
2454
2454
  {
2455
2455
  "kind": "javascript-module",
2456
- "path": "src/directives/when-else/when-else.ts",
2456
+ "path": "src/directives/sync/sync.ts",
2457
2457
  "declarations": [
2458
+ {
2459
+ "kind": "variable",
2460
+ "name": "defaultEventMap",
2461
+ "type": {
2462
+ "text": "Map<string, EventName>"
2463
+ },
2464
+ "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
2465
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2466
+ "privacy": "public"
2467
+ },
2458
2468
  {
2459
2469
  "kind": "function",
2460
- "name": "whenElse",
2470
+ "name": "sync",
2461
2471
  "return": {
2462
2472
  "type": {
2463
2473
  "text": "CaptureType<TSource>"
@@ -2468,42 +2478,56 @@
2468
2478
  "name": "binding",
2469
2479
  "type": {
2470
2480
  "text": "Binding<TSource, TReturn>"
2471
- },
2472
- "description": "The condition to test for rendering."
2481
+ }
2473
2482
  },
2474
2483
  {
2475
- "name": "trueTemplateOrTemplateBinding",
2484
+ "name": "conversionType",
2485
+ "default": "'string'",
2476
2486
  "type": {
2477
- "text": "WhenTemplate<TSource>"
2478
- },
2479
- "description": "The template or a binding that gets the template to render when the condition is true."
2487
+ "text": "ConversionType"
2488
+ }
2480
2489
  },
2481
2490
  {
2482
- "name": "falseTemplateOrTemplateBinding",
2491
+ "name": "eventName",
2492
+ "default": "'default'",
2483
2493
  "type": {
2484
- "text": "WhenTemplate<TSource>"
2485
- },
2486
- "description": "The template or a binding that gets the template to render when the condition is false."
2494
+ "text": "EventName"
2495
+ }
2496
+ },
2497
+ {
2498
+ "name": "keyAttr",
2499
+ "optional": true,
2500
+ "type": {
2501
+ "text": "string"
2502
+ }
2487
2503
  }
2488
2504
  ],
2489
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2505
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2490
2506
  "privacy": "public"
2491
2507
  }
2492
2508
  ],
2493
2509
  "exports": [
2494
2510
  {
2495
2511
  "kind": "js",
2496
- "name": "whenElse",
2512
+ "name": "defaultEventMap",
2497
2513
  "declaration": {
2498
- "name": "whenElse",
2499
- "module": "src/directives/when-else/when-else.ts"
2514
+ "name": "defaultEventMap",
2515
+ "module": "src/directives/sync/sync.ts"
2516
+ }
2517
+ },
2518
+ {
2519
+ "kind": "js",
2520
+ "name": "sync",
2521
+ "declaration": {
2522
+ "name": "sync",
2523
+ "module": "src/directives/sync/sync.ts"
2500
2524
  }
2501
2525
  }
2502
2526
  ]
2503
2527
  },
2504
2528
  {
2505
2529
  "kind": "javascript-module",
2506
- "path": "src/directives/sync/index.ts",
2530
+ "path": "src/directives/when-else/index.ts",
2507
2531
  "declarations": [],
2508
2532
  "exports": [
2509
2533
  {
@@ -2511,28 +2535,18 @@
2511
2535
  "name": "*",
2512
2536
  "declaration": {
2513
2537
  "name": "*",
2514
- "package": "./sync"
2538
+ "package": "./when-else"
2515
2539
  }
2516
2540
  }
2517
2541
  ]
2518
2542
  },
2519
2543
  {
2520
2544
  "kind": "javascript-module",
2521
- "path": "src/directives/sync/sync.ts",
2545
+ "path": "src/directives/when-else/when-else.ts",
2522
2546
  "declarations": [
2523
- {
2524
- "kind": "variable",
2525
- "name": "defaultEventMap",
2526
- "type": {
2527
- "text": "Map<string, EventName>"
2528
- },
2529
- "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
2530
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2531
- "privacy": "public"
2532
- },
2533
2547
  {
2534
2548
  "kind": "function",
2535
- "name": "sync",
2549
+ "name": "whenElse",
2536
2550
  "return": {
2537
2551
  "type": {
2538
2552
  "text": "CaptureType<TSource>"
@@ -2543,49 +2557,35 @@
2543
2557
  "name": "binding",
2544
2558
  "type": {
2545
2559
  "text": "Binding<TSource, TReturn>"
2546
- }
2547
- },
2548
- {
2549
- "name": "conversionType",
2550
- "default": "'string'",
2551
- "type": {
2552
- "text": "ConversionType"
2553
- }
2560
+ },
2561
+ "description": "The condition to test for rendering."
2554
2562
  },
2555
2563
  {
2556
- "name": "eventName",
2557
- "default": "'default'",
2564
+ "name": "trueTemplateOrTemplateBinding",
2558
2565
  "type": {
2559
- "text": "EventName"
2560
- }
2566
+ "text": "WhenTemplate<TSource>"
2567
+ },
2568
+ "description": "The template or a binding that gets the template to render when the condition is true."
2561
2569
  },
2562
2570
  {
2563
- "name": "keyAttr",
2564
- "optional": true,
2571
+ "name": "falseTemplateOrTemplateBinding",
2565
2572
  "type": {
2566
- "text": "string"
2567
- }
2573
+ "text": "WhenTemplate<TSource>"
2574
+ },
2575
+ "description": "The template or a binding that gets the template to render when the condition is false."
2568
2576
  }
2569
2577
  ],
2570
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2578
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2571
2579
  "privacy": "public"
2572
2580
  }
2573
2581
  ],
2574
2582
  "exports": [
2575
2583
  {
2576
2584
  "kind": "js",
2577
- "name": "defaultEventMap",
2578
- "declaration": {
2579
- "name": "defaultEventMap",
2580
- "module": "src/directives/sync/sync.ts"
2581
- }
2582
- },
2583
- {
2584
- "kind": "js",
2585
- "name": "sync",
2585
+ "name": "whenElse",
2586
2586
  "declaration": {
2587
- "name": "sync",
2588
- "module": "src/directives/sync/sync.ts"
2587
+ "name": "whenElse",
2588
+ "module": "src/directives/when-else/when-else.ts"
2589
2589
  }
2590
2590
  }
2591
2591
  ]
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.257.1",
4
+ "version": "14.258.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,17 +27,17 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.257.1",
31
- "@genesislcap/genx": "14.257.1",
32
- "@genesislcap/rollup-builder": "14.257.1",
33
- "@genesislcap/ts-builder": "14.257.1",
34
- "@genesislcap/uvu-playwright-builder": "14.257.1",
35
- "@genesislcap/vite-builder": "14.257.1",
36
- "@genesislcap/webpack-builder": "14.257.1",
30
+ "@genesislcap/foundation-testing": "14.258.1",
31
+ "@genesislcap/genx": "14.258.1",
32
+ "@genesislcap/rollup-builder": "14.258.1",
33
+ "@genesislcap/ts-builder": "14.258.1",
34
+ "@genesislcap/uvu-playwright-builder": "14.258.1",
35
+ "@genesislcap/vite-builder": "14.258.1",
36
+ "@genesislcap/webpack-builder": "14.258.1",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.257.1",
40
+ "@genesislcap/foundation-logger": "14.258.1",
41
41
  "@microsoft/fast-components": "2.30.6",
42
42
  "@microsoft/fast-element": "1.14.0",
43
43
  "@microsoft/fast-foundation": "2.49.6",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "5c0faecb4a8c7564cbf4de1f27c009e0a5d12d41"
58
+ "gitHead": "2221f0c21f02e203e2aa89f9a7fbc684de954a72"
59
59
  }