@genesislcap/foundation-utils 14.204.0 → 14.205.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +194 -194
  2. package/package.json +10 -10
@@ -367,50 +367,23 @@
367
367
  },
368
368
  {
369
369
  "kind": "javascript-module",
370
- "path": "src/design-system/design-system.ts",
371
- "declarations": [
372
- {
373
- "kind": "function",
374
- "name": "assureDesignSystem",
375
- "return": {
376
- "type": {
377
- "text": "DesignSystemModule"
378
- }
379
- },
380
- "parameters": [
381
- {
382
- "name": "module",
383
- "type": {
384
- "text": "DesignSystemModule"
385
- }
386
- }
387
- ],
388
- "description": "assureDesignSystem.",
389
- "privacy": "public"
390
- }
391
- ],
370
+ "path": "src/directives/index.ts",
371
+ "declarations": [],
392
372
  "exports": [
393
373
  {
394
374
  "kind": "js",
395
- "name": "assureDesignSystem",
375
+ "name": "*",
396
376
  "declaration": {
397
- "name": "assureDesignSystem",
398
- "module": "src/design-system/design-system.ts"
377
+ "name": "*",
378
+ "package": "./sync"
399
379
  }
400
- }
401
- ]
402
- },
403
- {
404
- "kind": "javascript-module",
405
- "path": "src/design-system/index.ts",
406
- "declarations": [],
407
- "exports": [
380
+ },
408
381
  {
409
382
  "kind": "js",
410
383
  "name": "*",
411
384
  "declaration": {
412
385
  "name": "*",
413
- "package": "./design-system"
386
+ "package": "./when-else"
414
387
  }
415
388
  }
416
389
  ]
@@ -468,29 +441,6 @@
468
441
  }
469
442
  ]
470
443
  },
471
- {
472
- "kind": "javascript-module",
473
- "path": "src/directives/index.ts",
474
- "declarations": [],
475
- "exports": [
476
- {
477
- "kind": "js",
478
- "name": "*",
479
- "declaration": {
480
- "name": "*",
481
- "package": "./sync"
482
- }
483
- },
484
- {
485
- "kind": "js",
486
- "name": "*",
487
- "declaration": {
488
- "name": "*",
489
- "package": "./when-else"
490
- }
491
- }
492
- ]
493
- },
494
444
  {
495
445
  "kind": "javascript-module",
496
446
  "path": "src/env/index.ts",
@@ -928,6 +878,56 @@
928
878
  }
929
879
  ]
930
880
  },
881
+ {
882
+ "kind": "javascript-module",
883
+ "path": "src/design-system/design-system.ts",
884
+ "declarations": [
885
+ {
886
+ "kind": "function",
887
+ "name": "assureDesignSystem",
888
+ "return": {
889
+ "type": {
890
+ "text": "DesignSystemModule"
891
+ }
892
+ },
893
+ "parameters": [
894
+ {
895
+ "name": "module",
896
+ "type": {
897
+ "text": "DesignSystemModule"
898
+ }
899
+ }
900
+ ],
901
+ "description": "assureDesignSystem.",
902
+ "privacy": "public"
903
+ }
904
+ ],
905
+ "exports": [
906
+ {
907
+ "kind": "js",
908
+ "name": "assureDesignSystem",
909
+ "declaration": {
910
+ "name": "assureDesignSystem",
911
+ "module": "src/design-system/design-system.ts"
912
+ }
913
+ }
914
+ ]
915
+ },
916
+ {
917
+ "kind": "javascript-module",
918
+ "path": "src/design-system/index.ts",
919
+ "declarations": [],
920
+ "exports": [
921
+ {
922
+ "kind": "js",
923
+ "name": "*",
924
+ "declaration": {
925
+ "name": "*",
926
+ "package": "./design-system"
927
+ }
928
+ }
929
+ ]
930
+ },
931
931
  {
932
932
  "kind": "javascript-module",
933
933
  "path": "src/formatters/datetime.ts",
@@ -1337,6 +1337,78 @@
1337
1337
  }
1338
1338
  ]
1339
1339
  },
1340
+ {
1341
+ "kind": "javascript-module",
1342
+ "path": "src/observer/index.ts",
1343
+ "declarations": [],
1344
+ "exports": [
1345
+ {
1346
+ "kind": "js",
1347
+ "name": "*",
1348
+ "declaration": {
1349
+ "name": "*",
1350
+ "package": "./observer"
1351
+ }
1352
+ }
1353
+ ]
1354
+ },
1355
+ {
1356
+ "kind": "javascript-module",
1357
+ "path": "src/observer/observer.ts",
1358
+ "declarations": [
1359
+ {
1360
+ "kind": "function",
1361
+ "name": "createObserver",
1362
+ "return": {
1363
+ "type": {
1364
+ "text": "Observer<EventType>"
1365
+ }
1366
+ },
1367
+ "description": "Creates a new event observer instance.",
1368
+ "privacy": "public"
1369
+ },
1370
+ {
1371
+ "kind": "function",
1372
+ "name": "respondToVisibility",
1373
+ "parameters": [
1374
+ {
1375
+ "name": "element",
1376
+ "type": {
1377
+ "text": "HTMLElement"
1378
+ },
1379
+ "description": "HTMLElement to observe"
1380
+ },
1381
+ {
1382
+ "name": "callback",
1383
+ "type": {
1384
+ "text": "(arg0: boolean) => any"
1385
+ },
1386
+ "description": "any function called when the visibility changes"
1387
+ }
1388
+ ],
1389
+ "description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
1390
+ "privacy": "public"
1391
+ }
1392
+ ],
1393
+ "exports": [
1394
+ {
1395
+ "kind": "js",
1396
+ "name": "createObserver",
1397
+ "declaration": {
1398
+ "name": "createObserver",
1399
+ "module": "src/observer/observer.ts"
1400
+ }
1401
+ },
1402
+ {
1403
+ "kind": "js",
1404
+ "name": "respondToVisibility",
1405
+ "declaration": {
1406
+ "name": "respondToVisibility",
1407
+ "module": "src/observer/observer.ts"
1408
+ }
1409
+ }
1410
+ ]
1411
+ },
1340
1412
  {
1341
1413
  "kind": "javascript-module",
1342
1414
  "path": "src/promise/index.ts",
@@ -1575,78 +1647,6 @@
1575
1647
  }
1576
1648
  ]
1577
1649
  },
1578
- {
1579
- "kind": "javascript-module",
1580
- "path": "src/observer/index.ts",
1581
- "declarations": [],
1582
- "exports": [
1583
- {
1584
- "kind": "js",
1585
- "name": "*",
1586
- "declaration": {
1587
- "name": "*",
1588
- "package": "./observer"
1589
- }
1590
- }
1591
- ]
1592
- },
1593
- {
1594
- "kind": "javascript-module",
1595
- "path": "src/observer/observer.ts",
1596
- "declarations": [
1597
- {
1598
- "kind": "function",
1599
- "name": "createObserver",
1600
- "return": {
1601
- "type": {
1602
- "text": "Observer<EventType>"
1603
- }
1604
- },
1605
- "description": "Creates a new event observer instance.",
1606
- "privacy": "public"
1607
- },
1608
- {
1609
- "kind": "function",
1610
- "name": "respondToVisibility",
1611
- "parameters": [
1612
- {
1613
- "name": "element",
1614
- "type": {
1615
- "text": "HTMLElement"
1616
- },
1617
- "description": "HTMLElement to observe"
1618
- },
1619
- {
1620
- "name": "callback",
1621
- "type": {
1622
- "text": "(arg0: boolean) => any"
1623
- },
1624
- "description": "any function called when the visibility changes"
1625
- }
1626
- ],
1627
- "description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
1628
- "privacy": "public"
1629
- }
1630
- ],
1631
- "exports": [
1632
- {
1633
- "kind": "js",
1634
- "name": "createObserver",
1635
- "declaration": {
1636
- "name": "createObserver",
1637
- "module": "src/observer/observer.ts"
1638
- }
1639
- },
1640
- {
1641
- "kind": "js",
1642
- "name": "respondToVisibility",
1643
- "declaration": {
1644
- "name": "respondToVisibility",
1645
- "module": "src/observer/observer.ts"
1646
- }
1647
- }
1648
- ]
1649
- },
1650
1650
  {
1651
1651
  "kind": "javascript-module",
1652
1652
  "path": "src/styles/color.ts",
@@ -2216,71 +2216,6 @@
2216
2216
  }
2217
2217
  ]
2218
2218
  },
2219
- {
2220
- "kind": "javascript-module",
2221
- "path": "src/directives/when-else/index.ts",
2222
- "declarations": [],
2223
- "exports": [
2224
- {
2225
- "kind": "js",
2226
- "name": "*",
2227
- "declaration": {
2228
- "name": "*",
2229
- "package": "./when-else"
2230
- }
2231
- }
2232
- ]
2233
- },
2234
- {
2235
- "kind": "javascript-module",
2236
- "path": "src/directives/when-else/when-else.ts",
2237
- "declarations": [
2238
- {
2239
- "kind": "function",
2240
- "name": "whenElse",
2241
- "return": {
2242
- "type": {
2243
- "text": "CaptureType<TSource>"
2244
- }
2245
- },
2246
- "parameters": [
2247
- {
2248
- "name": "binding",
2249
- "type": {
2250
- "text": "Binding<TSource, TReturn>"
2251
- },
2252
- "description": "The condition to test for rendering."
2253
- },
2254
- {
2255
- "name": "trueTemplateOrTemplateBinding",
2256
- "type": {
2257
- "text": "WhenTemplate<TSource>"
2258
- },
2259
- "description": "The template or a binding that gets the template to render when the condition is true."
2260
- },
2261
- {
2262
- "name": "falseTemplateOrTemplateBinding",
2263
- "type": {
2264
- "text": "WhenTemplate<TSource>"
2265
- },
2266
- "description": "The template or a binding that gets the template to render when the condition is false."
2267
- }
2268
- ],
2269
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2270
- "privacy": "public"
2271
- }
2272
- ],
2273
- "exports": [
2274
- {
2275
- "kind": "js",
2276
- "name": "whenElse",
2277
- "declaration": {
2278
- "name": "whenElse",
2279
- "module": "src/directives/when-else/when-else.ts"
2280
- }
2281
- }
2282
- ]
2283
- },
2284
2219
  {
2285
2220
  "kind": "javascript-module",
2286
2221
  "path": "src/directives/sync/index.ts",
@@ -2470,6 +2405,71 @@
2470
2405
  "declarations": [],
2471
2406
  "exports": []
2472
2407
  },
2408
+ {
2409
+ "kind": "javascript-module",
2410
+ "path": "src/directives/when-else/index.ts",
2411
+ "declarations": [],
2412
+ "exports": [
2413
+ {
2414
+ "kind": "js",
2415
+ "name": "*",
2416
+ "declaration": {
2417
+ "name": "*",
2418
+ "package": "./when-else"
2419
+ }
2420
+ }
2421
+ ]
2422
+ },
2423
+ {
2424
+ "kind": "javascript-module",
2425
+ "path": "src/directives/when-else/when-else.ts",
2426
+ "declarations": [
2427
+ {
2428
+ "kind": "function",
2429
+ "name": "whenElse",
2430
+ "return": {
2431
+ "type": {
2432
+ "text": "CaptureType<TSource>"
2433
+ }
2434
+ },
2435
+ "parameters": [
2436
+ {
2437
+ "name": "binding",
2438
+ "type": {
2439
+ "text": "Binding<TSource, TReturn>"
2440
+ },
2441
+ "description": "The condition to test for rendering."
2442
+ },
2443
+ {
2444
+ "name": "trueTemplateOrTemplateBinding",
2445
+ "type": {
2446
+ "text": "WhenTemplate<TSource>"
2447
+ },
2448
+ "description": "The template or a binding that gets the template to render when the condition is true."
2449
+ },
2450
+ {
2451
+ "name": "falseTemplateOrTemplateBinding",
2452
+ "type": {
2453
+ "text": "WhenTemplate<TSource>"
2454
+ },
2455
+ "description": "The template or a binding that gets the template to render when the condition is false."
2456
+ }
2457
+ ],
2458
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2459
+ "privacy": "public"
2460
+ }
2461
+ ],
2462
+ "exports": [
2463
+ {
2464
+ "kind": "js",
2465
+ "name": "whenElse",
2466
+ "declaration": {
2467
+ "name": "whenElse",
2468
+ "module": "src/directives/when-else/when-else.ts"
2469
+ }
2470
+ }
2471
+ ]
2472
+ },
2473
2473
  {
2474
2474
  "kind": "javascript-module",
2475
2475
  "path": "src/mixins/lifecycle/index.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.204.0",
4
+ "version": "14.205.0",
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.204.0",
31
- "@genesislcap/genx": "14.204.0",
32
- "@genesislcap/rollup-builder": "14.204.0",
33
- "@genesislcap/ts-builder": "14.204.0",
34
- "@genesislcap/uvu-playwright-builder": "14.204.0",
35
- "@genesislcap/vite-builder": "14.204.0",
36
- "@genesislcap/webpack-builder": "14.204.0",
30
+ "@genesislcap/foundation-testing": "14.205.0",
31
+ "@genesislcap/genx": "14.205.0",
32
+ "@genesislcap/rollup-builder": "14.205.0",
33
+ "@genesislcap/ts-builder": "14.205.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.205.0",
35
+ "@genesislcap/vite-builder": "14.205.0",
36
+ "@genesislcap/webpack-builder": "14.205.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.204.0",
40
+ "@genesislcap/foundation-logger": "14.205.0",
41
41
  "@microsoft/fast-components": "^2.30.6",
42
42
  "@microsoft/fast-element": "^1.12.0",
43
43
  "@microsoft/fast-foundation": "^2.49.4",
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "8394ff8dd41ae065ab90d2afb7ca789c3aad0f9e"
58
+ "gitHead": "2fe6ad833270c5eaf6188b0dff23f1db1496ff7f"
59
59
  }