@genesislcap/foundation-utils 14.274.0 → 14.274.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.
@@ -2446,7 +2446,7 @@
2446
2446
  },
2447
2447
  {
2448
2448
  "kind": "javascript-module",
2449
- "path": "src/directives/when-else/index.ts",
2449
+ "path": "src/directives/sync/index.ts",
2450
2450
  "declarations": [],
2451
2451
  "exports": [
2452
2452
  {
@@ -2454,18 +2454,28 @@
2454
2454
  "name": "*",
2455
2455
  "declaration": {
2456
2456
  "name": "*",
2457
- "package": "./when-else"
2457
+ "package": "./sync"
2458
2458
  }
2459
2459
  }
2460
2460
  ]
2461
2461
  },
2462
2462
  {
2463
2463
  "kind": "javascript-module",
2464
- "path": "src/directives/when-else/when-else.ts",
2464
+ "path": "src/directives/sync/sync.ts",
2465
2465
  "declarations": [
2466
+ {
2467
+ "kind": "variable",
2468
+ "name": "defaultEventMap",
2469
+ "type": {
2470
+ "text": "Map<string, EventName>"
2471
+ },
2472
+ "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])",
2473
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2474
+ "privacy": "public"
2475
+ },
2466
2476
  {
2467
2477
  "kind": "function",
2468
- "name": "whenElse",
2478
+ "name": "sync",
2469
2479
  "return": {
2470
2480
  "type": {
2471
2481
  "text": "CaptureType<TSource>"
@@ -2476,42 +2486,56 @@
2476
2486
  "name": "binding",
2477
2487
  "type": {
2478
2488
  "text": "Binding<TSource, TReturn>"
2479
- },
2480
- "description": "The condition to test for rendering."
2489
+ }
2481
2490
  },
2482
2491
  {
2483
- "name": "trueTemplateOrTemplateBinding",
2492
+ "name": "conversionType",
2493
+ "default": "'string'",
2484
2494
  "type": {
2485
- "text": "WhenTemplate<TSource>"
2486
- },
2487
- "description": "The template or a binding that gets the template to render when the condition is true."
2495
+ "text": "ConversionType"
2496
+ }
2488
2497
  },
2489
2498
  {
2490
- "name": "falseTemplateOrTemplateBinding",
2499
+ "name": "eventName",
2500
+ "default": "'default'",
2491
2501
  "type": {
2492
- "text": "WhenTemplate<TSource>"
2493
- },
2494
- "description": "The template or a binding that gets the template to render when the condition is false."
2502
+ "text": "EventName"
2503
+ }
2504
+ },
2505
+ {
2506
+ "name": "keyAttr",
2507
+ "optional": true,
2508
+ "type": {
2509
+ "text": "string"
2510
+ }
2495
2511
  }
2496
2512
  ],
2497
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2513
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2498
2514
  "privacy": "public"
2499
2515
  }
2500
2516
  ],
2501
2517
  "exports": [
2502
2518
  {
2503
2519
  "kind": "js",
2504
- "name": "whenElse",
2520
+ "name": "defaultEventMap",
2505
2521
  "declaration": {
2506
- "name": "whenElse",
2507
- "module": "src/directives/when-else/when-else.ts"
2522
+ "name": "defaultEventMap",
2523
+ "module": "src/directives/sync/sync.ts"
2524
+ }
2525
+ },
2526
+ {
2527
+ "kind": "js",
2528
+ "name": "sync",
2529
+ "declaration": {
2530
+ "name": "sync",
2531
+ "module": "src/directives/sync/sync.ts"
2508
2532
  }
2509
2533
  }
2510
2534
  ]
2511
2535
  },
2512
2536
  {
2513
2537
  "kind": "javascript-module",
2514
- "path": "src/directives/sync/index.ts",
2538
+ "path": "src/directives/when-else/index.ts",
2515
2539
  "declarations": [],
2516
2540
  "exports": [
2517
2541
  {
@@ -2519,28 +2543,18 @@
2519
2543
  "name": "*",
2520
2544
  "declaration": {
2521
2545
  "name": "*",
2522
- "package": "./sync"
2546
+ "package": "./when-else"
2523
2547
  }
2524
2548
  }
2525
2549
  ]
2526
2550
  },
2527
2551
  {
2528
2552
  "kind": "javascript-module",
2529
- "path": "src/directives/sync/sync.ts",
2553
+ "path": "src/directives/when-else/when-else.ts",
2530
2554
  "declarations": [
2531
- {
2532
- "kind": "variable",
2533
- "name": "defaultEventMap",
2534
- "type": {
2535
- "text": "Map<string, EventName>"
2536
- },
2537
- "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])",
2538
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2539
- "privacy": "public"
2540
- },
2541
2555
  {
2542
2556
  "kind": "function",
2543
- "name": "sync",
2557
+ "name": "whenElse",
2544
2558
  "return": {
2545
2559
  "type": {
2546
2560
  "text": "CaptureType<TSource>"
@@ -2551,49 +2565,35 @@
2551
2565
  "name": "binding",
2552
2566
  "type": {
2553
2567
  "text": "Binding<TSource, TReturn>"
2554
- }
2555
- },
2556
- {
2557
- "name": "conversionType",
2558
- "default": "'string'",
2559
- "type": {
2560
- "text": "ConversionType"
2561
- }
2568
+ },
2569
+ "description": "The condition to test for rendering."
2562
2570
  },
2563
2571
  {
2564
- "name": "eventName",
2565
- "default": "'default'",
2572
+ "name": "trueTemplateOrTemplateBinding",
2566
2573
  "type": {
2567
- "text": "EventName"
2568
- }
2574
+ "text": "WhenTemplate<TSource>"
2575
+ },
2576
+ "description": "The template or a binding that gets the template to render when the condition is true."
2569
2577
  },
2570
2578
  {
2571
- "name": "keyAttr",
2572
- "optional": true,
2579
+ "name": "falseTemplateOrTemplateBinding",
2573
2580
  "type": {
2574
- "text": "string"
2575
- }
2581
+ "text": "WhenTemplate<TSource>"
2582
+ },
2583
+ "description": "The template or a binding that gets the template to render when the condition is false."
2576
2584
  }
2577
2585
  ],
2578
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2586
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2579
2587
  "privacy": "public"
2580
2588
  }
2581
2589
  ],
2582
2590
  "exports": [
2583
2591
  {
2584
2592
  "kind": "js",
2585
- "name": "defaultEventMap",
2586
- "declaration": {
2587
- "name": "defaultEventMap",
2588
- "module": "src/directives/sync/sync.ts"
2589
- }
2590
- },
2591
- {
2592
- "kind": "js",
2593
- "name": "sync",
2593
+ "name": "whenElse",
2594
2594
  "declaration": {
2595
- "name": "sync",
2596
- "module": "src/directives/sync/sync.ts"
2595
+ "name": "whenElse",
2596
+ "module": "src/directives/when-else/when-else.ts"
2597
2597
  }
2598
2598
  }
2599
2599
  ]
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.274.0",
4
+ "version": "14.274.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,19 +27,19 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.274.0",
31
- "@genesislcap/genx": "14.274.0",
32
- "@genesislcap/rollup-builder": "14.274.0",
33
- "@genesislcap/ts-builder": "14.274.0",
34
- "@genesislcap/uvu-playwright-builder": "14.274.0",
35
- "@genesislcap/vite-builder": "14.274.0",
36
- "@genesislcap/webpack-builder": "14.274.0",
30
+ "@genesislcap/foundation-testing": "14.274.1",
31
+ "@genesislcap/genx": "14.274.1",
32
+ "@genesislcap/rollup-builder": "14.274.1",
33
+ "@genesislcap/ts-builder": "14.274.1",
34
+ "@genesislcap/uvu-playwright-builder": "14.274.1",
35
+ "@genesislcap/vite-builder": "14.274.1",
36
+ "@genesislcap/webpack-builder": "14.274.1",
37
37
  "@types/json-schema": "^7.0.11",
38
38
  "rimraf": "^5.0.0"
39
39
  },
40
40
  "dependencies": {
41
41
  "@genesislcap/expression-builder": "14.258.1",
42
- "@genesislcap/foundation-logger": "14.274.0",
42
+ "@genesislcap/foundation-logger": "14.274.1",
43
43
  "@microsoft/fast-components": "2.30.6",
44
44
  "@microsoft/fast-element": "1.14.0",
45
45
  "@microsoft/fast-foundation": "2.49.6",
@@ -57,5 +57,5 @@
57
57
  "access": "public"
58
58
  },
59
59
  "customElements": "dist/custom-elements.json",
60
- "gitHead": "d8e62a0e949ea0d8c4d97663e0987099778f9c5a"
60
+ "gitHead": "a4925dc9d6c9da09f282cc5255ade13937cba2cd"
61
61
  }