@genesislcap/foundation-utils 14.273.0 → 14.274.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.
@@ -443,6 +443,21 @@
443
443
  }
444
444
  ]
445
445
  },
446
+ {
447
+ "kind": "javascript-module",
448
+ "path": "src/encoding/index.ts",
449
+ "declarations": [],
450
+ "exports": [
451
+ {
452
+ "kind": "js",
453
+ "name": "*",
454
+ "declaration": {
455
+ "name": "*",
456
+ "package": "./base64"
457
+ }
458
+ }
459
+ ]
460
+ },
446
461
  {
447
462
  "kind": "javascript-module",
448
463
  "path": "src/design-system/design-system.ts",
@@ -493,21 +508,6 @@
493
508
  }
494
509
  ]
495
510
  },
496
- {
497
- "kind": "javascript-module",
498
- "path": "src/encoding/index.ts",
499
- "declarations": [],
500
- "exports": [
501
- {
502
- "kind": "js",
503
- "name": "*",
504
- "declaration": {
505
- "name": "*",
506
- "package": "./base64"
507
- }
508
- }
509
- ]
510
- },
511
511
  {
512
512
  "kind": "javascript-module",
513
513
  "path": "src/env/index.ts",
@@ -2446,7 +2446,7 @@
2446
2446
  },
2447
2447
  {
2448
2448
  "kind": "javascript-module",
2449
- "path": "src/directives/sync/index.ts",
2449
+ "path": "src/directives/when-else/index.ts",
2450
2450
  "declarations": [],
2451
2451
  "exports": [
2452
2452
  {
@@ -2454,28 +2454,18 @@
2454
2454
  "name": "*",
2455
2455
  "declaration": {
2456
2456
  "name": "*",
2457
- "package": "./sync"
2457
+ "package": "./when-else"
2458
2458
  }
2459
2459
  }
2460
2460
  ]
2461
2461
  },
2462
2462
  {
2463
2463
  "kind": "javascript-module",
2464
- "path": "src/directives/sync/sync.ts",
2464
+ "path": "src/directives/when-else/when-else.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
- },
2476
2466
  {
2477
2467
  "kind": "function",
2478
- "name": "sync",
2468
+ "name": "whenElse",
2479
2469
  "return": {
2480
2470
  "type": {
2481
2471
  "text": "CaptureType<TSource>"
@@ -2486,56 +2476,42 @@
2486
2476
  "name": "binding",
2487
2477
  "type": {
2488
2478
  "text": "Binding<TSource, TReturn>"
2489
- }
2490
- },
2491
- {
2492
- "name": "conversionType",
2493
- "default": "'string'",
2494
- "type": {
2495
- "text": "ConversionType"
2496
- }
2479
+ },
2480
+ "description": "The condition to test for rendering."
2497
2481
  },
2498
2482
  {
2499
- "name": "eventName",
2500
- "default": "'default'",
2483
+ "name": "trueTemplateOrTemplateBinding",
2501
2484
  "type": {
2502
- "text": "EventName"
2503
- }
2485
+ "text": "WhenTemplate<TSource>"
2486
+ },
2487
+ "description": "The template or a binding that gets the template to render when the condition is true."
2504
2488
  },
2505
2489
  {
2506
- "name": "keyAttr",
2507
- "optional": true,
2490
+ "name": "falseTemplateOrTemplateBinding",
2508
2491
  "type": {
2509
- "text": "string"
2510
- }
2492
+ "text": "WhenTemplate<TSource>"
2493
+ },
2494
+ "description": "The template or a binding that gets the template to render when the condition is false."
2511
2495
  }
2512
2496
  ],
2513
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2497
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2514
2498
  "privacy": "public"
2515
2499
  }
2516
2500
  ],
2517
2501
  "exports": [
2518
2502
  {
2519
2503
  "kind": "js",
2520
- "name": "defaultEventMap",
2521
- "declaration": {
2522
- "name": "defaultEventMap",
2523
- "module": "src/directives/sync/sync.ts"
2524
- }
2525
- },
2526
- {
2527
- "kind": "js",
2528
- "name": "sync",
2504
+ "name": "whenElse",
2529
2505
  "declaration": {
2530
- "name": "sync",
2531
- "module": "src/directives/sync/sync.ts"
2506
+ "name": "whenElse",
2507
+ "module": "src/directives/when-else/when-else.ts"
2532
2508
  }
2533
2509
  }
2534
2510
  ]
2535
2511
  },
2536
2512
  {
2537
2513
  "kind": "javascript-module",
2538
- "path": "src/directives/when-else/index.ts",
2514
+ "path": "src/directives/sync/index.ts",
2539
2515
  "declarations": [],
2540
2516
  "exports": [
2541
2517
  {
@@ -2543,18 +2519,28 @@
2543
2519
  "name": "*",
2544
2520
  "declaration": {
2545
2521
  "name": "*",
2546
- "package": "./when-else"
2522
+ "package": "./sync"
2547
2523
  }
2548
2524
  }
2549
2525
  ]
2550
2526
  },
2551
2527
  {
2552
2528
  "kind": "javascript-module",
2553
- "path": "src/directives/when-else/when-else.ts",
2529
+ "path": "src/directives/sync/sync.ts",
2554
2530
  "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
+ },
2555
2541
  {
2556
2542
  "kind": "function",
2557
- "name": "whenElse",
2543
+ "name": "sync",
2558
2544
  "return": {
2559
2545
  "type": {
2560
2546
  "text": "CaptureType<TSource>"
@@ -2565,35 +2551,49 @@
2565
2551
  "name": "binding",
2566
2552
  "type": {
2567
2553
  "text": "Binding<TSource, TReturn>"
2568
- },
2569
- "description": "The condition to test for rendering."
2554
+ }
2570
2555
  },
2571
2556
  {
2572
- "name": "trueTemplateOrTemplateBinding",
2557
+ "name": "conversionType",
2558
+ "default": "'string'",
2573
2559
  "type": {
2574
- "text": "WhenTemplate<TSource>"
2575
- },
2576
- "description": "The template or a binding that gets the template to render when the condition is true."
2560
+ "text": "ConversionType"
2561
+ }
2577
2562
  },
2578
2563
  {
2579
- "name": "falseTemplateOrTemplateBinding",
2564
+ "name": "eventName",
2565
+ "default": "'default'",
2580
2566
  "type": {
2581
- "text": "WhenTemplate<TSource>"
2582
- },
2583
- "description": "The template or a binding that gets the template to render when the condition is false."
2567
+ "text": "EventName"
2568
+ }
2569
+ },
2570
+ {
2571
+ "name": "keyAttr",
2572
+ "optional": true,
2573
+ "type": {
2574
+ "text": "string"
2575
+ }
2584
2576
  }
2585
2577
  ],
2586
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2578
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2587
2579
  "privacy": "public"
2588
2580
  }
2589
2581
  ],
2590
2582
  "exports": [
2591
2583
  {
2592
2584
  "kind": "js",
2593
- "name": "whenElse",
2585
+ "name": "defaultEventMap",
2594
2586
  "declaration": {
2595
- "name": "whenElse",
2596
- "module": "src/directives/when-else/when-else.ts"
2587
+ "name": "defaultEventMap",
2588
+ "module": "src/directives/sync/sync.ts"
2589
+ }
2590
+ },
2591
+ {
2592
+ "kind": "js",
2593
+ "name": "sync",
2594
+ "declaration": {
2595
+ "name": "sync",
2596
+ "module": "src/directives/sync/sync.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.273.0",
4
+ "version": "14.274.0",
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.273.0",
31
- "@genesislcap/genx": "14.273.0",
32
- "@genesislcap/rollup-builder": "14.273.0",
33
- "@genesislcap/ts-builder": "14.273.0",
34
- "@genesislcap/uvu-playwright-builder": "14.273.0",
35
- "@genesislcap/vite-builder": "14.273.0",
36
- "@genesislcap/webpack-builder": "14.273.0",
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",
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.273.0",
42
+ "@genesislcap/foundation-logger": "14.274.0",
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": "06838df20d39cb79d0f9ab27c3ca2a9654441a66"
60
+ "gitHead": "d8e62a0e949ea0d8c4d97663e0987099778f9c5a"
61
61
  }