@genesislcap/foundation-utils 14.207.3 → 14.208.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 +185 -185
  2. package/package.json +10 -10
@@ -365,56 +365,6 @@
365
365
  }
366
366
  ]
367
367
  },
368
- {
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
- ],
392
- "exports": [
393
- {
394
- "kind": "js",
395
- "name": "assureDesignSystem",
396
- "declaration": {
397
- "name": "assureDesignSystem",
398
- "module": "src/design-system/design-system.ts"
399
- }
400
- }
401
- ]
402
- },
403
- {
404
- "kind": "javascript-module",
405
- "path": "src/design-system/index.ts",
406
- "declarations": [],
407
- "exports": [
408
- {
409
- "kind": "js",
410
- "name": "*",
411
- "declaration": {
412
- "name": "*",
413
- "package": "./design-system"
414
- }
415
- }
416
- ]
417
- },
418
368
  {
419
369
  "kind": "javascript-module",
420
370
  "path": "src/decorators/index.ts",
@@ -468,6 +418,56 @@
468
418
  }
469
419
  ]
470
420
  },
421
+ {
422
+ "kind": "javascript-module",
423
+ "path": "src/design-system/design-system.ts",
424
+ "declarations": [
425
+ {
426
+ "kind": "function",
427
+ "name": "assureDesignSystem",
428
+ "return": {
429
+ "type": {
430
+ "text": "DesignSystemModule"
431
+ }
432
+ },
433
+ "parameters": [
434
+ {
435
+ "name": "module",
436
+ "type": {
437
+ "text": "DesignSystemModule"
438
+ }
439
+ }
440
+ ],
441
+ "description": "assureDesignSystem.",
442
+ "privacy": "public"
443
+ }
444
+ ],
445
+ "exports": [
446
+ {
447
+ "kind": "js",
448
+ "name": "assureDesignSystem",
449
+ "declaration": {
450
+ "name": "assureDesignSystem",
451
+ "module": "src/design-system/design-system.ts"
452
+ }
453
+ }
454
+ ]
455
+ },
456
+ {
457
+ "kind": "javascript-module",
458
+ "path": "src/design-system/index.ts",
459
+ "declarations": [],
460
+ "exports": [
461
+ {
462
+ "kind": "js",
463
+ "name": "*",
464
+ "declaration": {
465
+ "name": "*",
466
+ "package": "./design-system"
467
+ }
468
+ }
469
+ ]
470
+ },
471
471
  {
472
472
  "kind": "javascript-module",
473
473
  "path": "src/directives/index.ts",
@@ -1339,7 +1339,7 @@
1339
1339
  },
1340
1340
  {
1341
1341
  "kind": "javascript-module",
1342
- "path": "src/observer/index.ts",
1342
+ "path": "src/promise/index.ts",
1343
1343
  "declarations": [],
1344
1344
  "exports": [
1345
1345
  {
@@ -1347,71 +1347,55 @@
1347
1347
  "name": "*",
1348
1348
  "declaration": {
1349
1349
  "name": "*",
1350
- "package": "./observer"
1350
+ "package": "./resolveAfter"
1351
1351
  }
1352
1352
  }
1353
1353
  ]
1354
1354
  },
1355
1355
  {
1356
1356
  "kind": "javascript-module",
1357
- "path": "src/observer/observer.ts",
1357
+ "path": "src/promise/resolveAfter.ts",
1358
1358
  "declarations": [
1359
1359
  {
1360
1360
  "kind": "function",
1361
- "name": "createObserver",
1361
+ "name": "resolveAfter",
1362
1362
  "return": {
1363
1363
  "type": {
1364
- "text": "Observer<EventType>"
1364
+ "text": "Promise<T>"
1365
1365
  }
1366
1366
  },
1367
- "description": "Creates a new event observer instance.",
1368
- "privacy": "public"
1369
- },
1370
- {
1371
- "kind": "function",
1372
- "name": "respondToVisibility",
1373
1367
  "parameters": [
1374
1368
  {
1375
- "name": "element",
1369
+ "name": "ms",
1376
1370
  "type": {
1377
- "text": "HTMLElement"
1378
- },
1379
- "description": "HTMLElement to observe"
1371
+ "text": "number"
1372
+ }
1380
1373
  },
1381
1374
  {
1382
- "name": "callback",
1375
+ "name": "valueCreator",
1383
1376
  "type": {
1384
- "text": "(arg0: boolean) => any"
1385
- },
1386
- "description": "any function called when the visibility changes"
1377
+ "text": "() => T"
1378
+ }
1387
1379
  }
1388
1380
  ],
1389
- "description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
1381
+ "description": "Resolve a promise after a timeout.",
1390
1382
  "privacy": "public"
1391
1383
  }
1392
1384
  ],
1393
1385
  "exports": [
1394
1386
  {
1395
1387
  "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",
1388
+ "name": "resolveAfter",
1405
1389
  "declaration": {
1406
- "name": "respondToVisibility",
1407
- "module": "src/observer/observer.ts"
1390
+ "name": "resolveAfter",
1391
+ "module": "src/promise/resolveAfter.ts"
1408
1392
  }
1409
1393
  }
1410
1394
  ]
1411
1395
  },
1412
1396
  {
1413
1397
  "kind": "javascript-module",
1414
- "path": "src/promise/index.ts",
1398
+ "path": "src/observer/index.ts",
1415
1399
  "declarations": [],
1416
1400
  "exports": [
1417
1401
  {
@@ -1419,48 +1403,64 @@
1419
1403
  "name": "*",
1420
1404
  "declaration": {
1421
1405
  "name": "*",
1422
- "package": "./resolveAfter"
1406
+ "package": "./observer"
1423
1407
  }
1424
1408
  }
1425
1409
  ]
1426
1410
  },
1427
1411
  {
1428
1412
  "kind": "javascript-module",
1429
- "path": "src/promise/resolveAfter.ts",
1413
+ "path": "src/observer/observer.ts",
1430
1414
  "declarations": [
1431
1415
  {
1432
1416
  "kind": "function",
1433
- "name": "resolveAfter",
1417
+ "name": "createObserver",
1434
1418
  "return": {
1435
1419
  "type": {
1436
- "text": "Promise<T>"
1420
+ "text": "Observer<EventType>"
1437
1421
  }
1438
1422
  },
1423
+ "description": "Creates a new event observer instance.",
1424
+ "privacy": "public"
1425
+ },
1426
+ {
1427
+ "kind": "function",
1428
+ "name": "respondToVisibility",
1439
1429
  "parameters": [
1440
1430
  {
1441
- "name": "ms",
1431
+ "name": "element",
1442
1432
  "type": {
1443
- "text": "number"
1444
- }
1433
+ "text": "HTMLElement"
1434
+ },
1435
+ "description": "HTMLElement to observe"
1445
1436
  },
1446
1437
  {
1447
- "name": "valueCreator",
1438
+ "name": "callback",
1448
1439
  "type": {
1449
- "text": "() => T"
1450
- }
1440
+ "text": "(arg0: boolean) => any"
1441
+ },
1442
+ "description": "any function called when the visibility changes"
1451
1443
  }
1452
1444
  ],
1453
- "description": "Resolve a promise after a timeout.",
1445
+ "description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
1454
1446
  "privacy": "public"
1455
1447
  }
1456
1448
  ],
1457
1449
  "exports": [
1458
1450
  {
1459
1451
  "kind": "js",
1460
- "name": "resolveAfter",
1452
+ "name": "createObserver",
1461
1453
  "declaration": {
1462
- "name": "resolveAfter",
1463
- "module": "src/promise/resolveAfter.ts"
1454
+ "name": "createObserver",
1455
+ "module": "src/observer/observer.ts"
1456
+ }
1457
+ },
1458
+ {
1459
+ "kind": "js",
1460
+ "name": "respondToVisibility",
1461
+ "declaration": {
1462
+ "name": "respondToVisibility",
1463
+ "module": "src/observer/observer.ts"
1464
1464
  }
1465
1465
  }
1466
1466
  ]
@@ -2068,6 +2068,95 @@
2068
2068
  }
2069
2069
  ]
2070
2070
  },
2071
+ {
2072
+ "kind": "javascript-module",
2073
+ "path": "src/directives/sync/index.ts",
2074
+ "declarations": [],
2075
+ "exports": [
2076
+ {
2077
+ "kind": "js",
2078
+ "name": "*",
2079
+ "declaration": {
2080
+ "name": "*",
2081
+ "package": "./sync"
2082
+ }
2083
+ }
2084
+ ]
2085
+ },
2086
+ {
2087
+ "kind": "javascript-module",
2088
+ "path": "src/directives/sync/sync.ts",
2089
+ "declarations": [
2090
+ {
2091
+ "kind": "variable",
2092
+ "name": "defaultEventMap",
2093
+ "type": {
2094
+ "text": "Map<string, EventName>"
2095
+ },
2096
+ "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])",
2097
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2098
+ "privacy": "public"
2099
+ },
2100
+ {
2101
+ "kind": "function",
2102
+ "name": "sync",
2103
+ "return": {
2104
+ "type": {
2105
+ "text": "CaptureType<TSource>"
2106
+ }
2107
+ },
2108
+ "parameters": [
2109
+ {
2110
+ "name": "binding",
2111
+ "type": {
2112
+ "text": "Binding<TSource, TReturn>"
2113
+ }
2114
+ },
2115
+ {
2116
+ "name": "conversionType",
2117
+ "default": "'string'",
2118
+ "type": {
2119
+ "text": "ConversionType"
2120
+ }
2121
+ },
2122
+ {
2123
+ "name": "eventName",
2124
+ "default": "'default'",
2125
+ "type": {
2126
+ "text": "EventName"
2127
+ }
2128
+ },
2129
+ {
2130
+ "name": "keyAttr",
2131
+ "optional": true,
2132
+ "type": {
2133
+ "text": "string"
2134
+ }
2135
+ }
2136
+ ],
2137
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2138
+ "privacy": "public"
2139
+ }
2140
+ ],
2141
+ "exports": [
2142
+ {
2143
+ "kind": "js",
2144
+ "name": "defaultEventMap",
2145
+ "declaration": {
2146
+ "name": "defaultEventMap",
2147
+ "module": "src/directives/sync/sync.ts"
2148
+ }
2149
+ },
2150
+ {
2151
+ "kind": "js",
2152
+ "name": "sync",
2153
+ "declaration": {
2154
+ "name": "sync",
2155
+ "module": "src/directives/sync/sync.ts"
2156
+ }
2157
+ }
2158
+ ]
2159
+ },
2071
2160
  {
2072
2161
  "kind": "javascript-module",
2073
2162
  "path": "src/window/index.ts",
@@ -2216,95 +2305,6 @@
2216
2305
  }
2217
2306
  ]
2218
2307
  },
2219
- {
2220
- "kind": "javascript-module",
2221
- "path": "src/directives/sync/index.ts",
2222
- "declarations": [],
2223
- "exports": [
2224
- {
2225
- "kind": "js",
2226
- "name": "*",
2227
- "declaration": {
2228
- "name": "*",
2229
- "package": "./sync"
2230
- }
2231
- }
2232
- ]
2233
- },
2234
- {
2235
- "kind": "javascript-module",
2236
- "path": "src/directives/sync/sync.ts",
2237
- "declarations": [
2238
- {
2239
- "kind": "variable",
2240
- "name": "defaultEventMap",
2241
- "type": {
2242
- "text": "Map<string, EventName>"
2243
- },
2244
- "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])",
2245
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2246
- "privacy": "public"
2247
- },
2248
- {
2249
- "kind": "function",
2250
- "name": "sync",
2251
- "return": {
2252
- "type": {
2253
- "text": "CaptureType<TSource>"
2254
- }
2255
- },
2256
- "parameters": [
2257
- {
2258
- "name": "binding",
2259
- "type": {
2260
- "text": "Binding<TSource, TReturn>"
2261
- }
2262
- },
2263
- {
2264
- "name": "conversionType",
2265
- "default": "'string'",
2266
- "type": {
2267
- "text": "ConversionType"
2268
- }
2269
- },
2270
- {
2271
- "name": "eventName",
2272
- "default": "'default'",
2273
- "type": {
2274
- "text": "EventName"
2275
- }
2276
- },
2277
- {
2278
- "name": "keyAttr",
2279
- "optional": true,
2280
- "type": {
2281
- "text": "string"
2282
- }
2283
- }
2284
- ],
2285
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2286
- "privacy": "public"
2287
- }
2288
- ],
2289
- "exports": [
2290
- {
2291
- "kind": "js",
2292
- "name": "defaultEventMap",
2293
- "declaration": {
2294
- "name": "defaultEventMap",
2295
- "module": "src/directives/sync/sync.ts"
2296
- }
2297
- },
2298
- {
2299
- "kind": "js",
2300
- "name": "sync",
2301
- "declaration": {
2302
- "name": "sync",
2303
- "module": "src/directives/sync/sync.ts"
2304
- }
2305
- }
2306
- ]
2307
- },
2308
2308
  {
2309
2309
  "kind": "javascript-module",
2310
2310
  "path": "src/directives/when-else/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.207.3",
4
+ "version": "14.208.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.207.3",
31
- "@genesislcap/genx": "14.207.3",
32
- "@genesislcap/rollup-builder": "14.207.3",
33
- "@genesislcap/ts-builder": "14.207.3",
34
- "@genesislcap/uvu-playwright-builder": "14.207.3",
35
- "@genesislcap/vite-builder": "14.207.3",
36
- "@genesislcap/webpack-builder": "14.207.3",
30
+ "@genesislcap/foundation-testing": "14.208.1",
31
+ "@genesislcap/genx": "14.208.1",
32
+ "@genesislcap/rollup-builder": "14.208.1",
33
+ "@genesislcap/ts-builder": "14.208.1",
34
+ "@genesislcap/uvu-playwright-builder": "14.208.1",
35
+ "@genesislcap/vite-builder": "14.208.1",
36
+ "@genesislcap/webpack-builder": "14.208.1",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.207.3",
40
+ "@genesislcap/foundation-logger": "14.208.1",
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": "a493ddd16a01f21eef4f35d7c98c1bdd2a922792"
58
+ "gitHead": "61bea44371fb0f88f1953aa9ea5200a4429f6523"
59
59
  }