@genesislcap/foundation-utils 14.256.0 → 14.257.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,6 +367,29 @@
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
+ },
370
393
  {
371
394
  "kind": "javascript-module",
372
395
  "path": "src/decorators/index.ts",
@@ -420,79 +443,6 @@
420
443
  }
421
444
  ]
422
445
  },
423
- {
424
- "kind": "javascript-module",
425
- "path": "src/design-system/design-system.ts",
426
- "declarations": [
427
- {
428
- "kind": "function",
429
- "name": "assureDesignSystem",
430
- "return": {
431
- "type": {
432
- "text": "DesignSystemModule"
433
- }
434
- },
435
- "parameters": [
436
- {
437
- "name": "module",
438
- "type": {
439
- "text": "DesignSystemModule"
440
- }
441
- }
442
- ],
443
- "description": "assureDesignSystem.",
444
- "privacy": "public"
445
- }
446
- ],
447
- "exports": [
448
- {
449
- "kind": "js",
450
- "name": "assureDesignSystem",
451
- "declaration": {
452
- "name": "assureDesignSystem",
453
- "module": "src/design-system/design-system.ts"
454
- }
455
- }
456
- ]
457
- },
458
- {
459
- "kind": "javascript-module",
460
- "path": "src/design-system/index.ts",
461
- "declarations": [],
462
- "exports": [
463
- {
464
- "kind": "js",
465
- "name": "*",
466
- "declaration": {
467
- "name": "*",
468
- "package": "./design-system"
469
- }
470
- }
471
- ]
472
- },
473
- {
474
- "kind": "javascript-module",
475
- "path": "src/directives/index.ts",
476
- "declarations": [],
477
- "exports": [
478
- {
479
- "kind": "js",
480
- "name": "*",
481
- "declaration": {
482
- "name": "*",
483
- "package": "./sync"
484
- }
485
- },
486
- {
487
- "kind": "js",
488
- "name": "*",
489
- "declaration": {
490
- "name": "*",
491
- "package": "./when-else"
492
- }
493
- }
494
- ]
495
- },
496
446
  {
497
447
  "kind": "javascript-module",
498
448
  "path": "src/encoding/index.ts",
@@ -949,6 +899,56 @@
949
899
  }
950
900
  ]
951
901
  },
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/sync/index.ts",
2441
+ "path": "src/directives/when-else/index.ts",
2442
2442
  "declarations": [],
2443
2443
  "exports": [
2444
2444
  {
@@ -2446,28 +2446,18 @@
2446
2446
  "name": "*",
2447
2447
  "declaration": {
2448
2448
  "name": "*",
2449
- "package": "./sync"
2449
+ "package": "./when-else"
2450
2450
  }
2451
2451
  }
2452
2452
  ]
2453
2453
  },
2454
2454
  {
2455
2455
  "kind": "javascript-module",
2456
- "path": "src/directives/sync/sync.ts",
2456
+ "path": "src/directives/when-else/when-else.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
- },
2468
2458
  {
2469
2459
  "kind": "function",
2470
- "name": "sync",
2460
+ "name": "whenElse",
2471
2461
  "return": {
2472
2462
  "type": {
2473
2463
  "text": "CaptureType<TSource>"
@@ -2478,56 +2468,42 @@
2478
2468
  "name": "binding",
2479
2469
  "type": {
2480
2470
  "text": "Binding<TSource, TReturn>"
2481
- }
2482
- },
2483
- {
2484
- "name": "conversionType",
2485
- "default": "'string'",
2486
- "type": {
2487
- "text": "ConversionType"
2488
- }
2471
+ },
2472
+ "description": "The condition to test for rendering."
2489
2473
  },
2490
2474
  {
2491
- "name": "eventName",
2492
- "default": "'default'",
2475
+ "name": "trueTemplateOrTemplateBinding",
2493
2476
  "type": {
2494
- "text": "EventName"
2495
- }
2477
+ "text": "WhenTemplate<TSource>"
2478
+ },
2479
+ "description": "The template or a binding that gets the template to render when the condition is true."
2496
2480
  },
2497
2481
  {
2498
- "name": "keyAttr",
2499
- "optional": true,
2482
+ "name": "falseTemplateOrTemplateBinding",
2500
2483
  "type": {
2501
- "text": "string"
2502
- }
2484
+ "text": "WhenTemplate<TSource>"
2485
+ },
2486
+ "description": "The template or a binding that gets the template to render when the condition is false."
2503
2487
  }
2504
2488
  ],
2505
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2489
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2506
2490
  "privacy": "public"
2507
2491
  }
2508
2492
  ],
2509
2493
  "exports": [
2510
2494
  {
2511
2495
  "kind": "js",
2512
- "name": "defaultEventMap",
2513
- "declaration": {
2514
- "name": "defaultEventMap",
2515
- "module": "src/directives/sync/sync.ts"
2516
- }
2517
- },
2518
- {
2519
- "kind": "js",
2520
- "name": "sync",
2496
+ "name": "whenElse",
2521
2497
  "declaration": {
2522
- "name": "sync",
2523
- "module": "src/directives/sync/sync.ts"
2498
+ "name": "whenElse",
2499
+ "module": "src/directives/when-else/when-else.ts"
2524
2500
  }
2525
2501
  }
2526
2502
  ]
2527
2503
  },
2528
2504
  {
2529
2505
  "kind": "javascript-module",
2530
- "path": "src/directives/when-else/index.ts",
2506
+ "path": "src/directives/sync/index.ts",
2531
2507
  "declarations": [],
2532
2508
  "exports": [
2533
2509
  {
@@ -2535,18 +2511,28 @@
2535
2511
  "name": "*",
2536
2512
  "declaration": {
2537
2513
  "name": "*",
2538
- "package": "./when-else"
2514
+ "package": "./sync"
2539
2515
  }
2540
2516
  }
2541
2517
  ]
2542
2518
  },
2543
2519
  {
2544
2520
  "kind": "javascript-module",
2545
- "path": "src/directives/when-else/when-else.ts",
2521
+ "path": "src/directives/sync/sync.ts",
2546
2522
  "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
+ },
2547
2533
  {
2548
2534
  "kind": "function",
2549
- "name": "whenElse",
2535
+ "name": "sync",
2550
2536
  "return": {
2551
2537
  "type": {
2552
2538
  "text": "CaptureType<TSource>"
@@ -2557,35 +2543,49 @@
2557
2543
  "name": "binding",
2558
2544
  "type": {
2559
2545
  "text": "Binding<TSource, TReturn>"
2560
- },
2561
- "description": "The condition to test for rendering."
2546
+ }
2562
2547
  },
2563
2548
  {
2564
- "name": "trueTemplateOrTemplateBinding",
2549
+ "name": "conversionType",
2550
+ "default": "'string'",
2565
2551
  "type": {
2566
- "text": "WhenTemplate<TSource>"
2567
- },
2568
- "description": "The template or a binding that gets the template to render when the condition is true."
2552
+ "text": "ConversionType"
2553
+ }
2569
2554
  },
2570
2555
  {
2571
- "name": "falseTemplateOrTemplateBinding",
2556
+ "name": "eventName",
2557
+ "default": "'default'",
2572
2558
  "type": {
2573
- "text": "WhenTemplate<TSource>"
2574
- },
2575
- "description": "The template or a binding that gets the template to render when the condition is false."
2559
+ "text": "EventName"
2560
+ }
2561
+ },
2562
+ {
2563
+ "name": "keyAttr",
2564
+ "optional": true,
2565
+ "type": {
2566
+ "text": "string"
2567
+ }
2576
2568
  }
2577
2569
  ],
2578
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2570
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2579
2571
  "privacy": "public"
2580
2572
  }
2581
2573
  ],
2582
2574
  "exports": [
2583
2575
  {
2584
2576
  "kind": "js",
2585
- "name": "whenElse",
2577
+ "name": "defaultEventMap",
2586
2578
  "declaration": {
2587
- "name": "whenElse",
2588
- "module": "src/directives/when-else/when-else.ts"
2579
+ "name": "defaultEventMap",
2580
+ "module": "src/directives/sync/sync.ts"
2581
+ }
2582
+ },
2583
+ {
2584
+ "kind": "js",
2585
+ "name": "sync",
2586
+ "declaration": {
2587
+ "name": "sync",
2588
+ "module": "src/directives/sync/sync.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.256.0",
4
+ "version": "14.257.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.256.0",
31
- "@genesislcap/genx": "14.256.0",
32
- "@genesislcap/rollup-builder": "14.256.0",
33
- "@genesislcap/ts-builder": "14.256.0",
34
- "@genesislcap/uvu-playwright-builder": "14.256.0",
35
- "@genesislcap/vite-builder": "14.256.0",
36
- "@genesislcap/webpack-builder": "14.256.0",
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",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.256.0",
40
+ "@genesislcap/foundation-logger": "14.257.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": "bd99b542c14e7f402e36373b566888f24e4a8c7b"
58
+ "gitHead": "5c0faecb4a8c7564cbf4de1f27c009e0a5d12d41"
59
59
  }