@genesislcap/foundation-utils 14.217.2-alpha-53d4080.0 → 14.217.2-alpha-721aa9c.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -167,59 +167,6 @@
167
167
  }
168
168
  ]
169
169
  },
170
- {
171
- "kind": "javascript-module",
172
- "path": "src/decorators/index.ts",
173
- "declarations": [],
174
- "exports": [
175
- {
176
- "kind": "js",
177
- "name": "*",
178
- "declaration": {
179
- "name": "*",
180
- "package": "./renderOnChange"
181
- }
182
- }
183
- ]
184
- },
185
- {
186
- "kind": "javascript-module",
187
- "path": "src/decorators/renderOnChange.ts",
188
- "declarations": [
189
- {
190
- "kind": "function",
191
- "name": "renderOnChange",
192
- "parameters": [
193
- {
194
- "name": "target",
195
- "type": {
196
- "text": "FASTElement & { render(): void }"
197
- },
198
- "description": "The target to define the property change handler on."
199
- },
200
- {
201
- "name": "name",
202
- "type": {
203
- "text": "string"
204
- },
205
- "description": "The property name."
206
- }
207
- ],
208
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
209
- "privacy": "public"
210
- }
211
- ],
212
- "exports": [
213
- {
214
- "kind": "js",
215
- "name": "renderOnChange",
216
- "declaration": {
217
- "name": "renderOnChange",
218
- "module": "src/decorators/renderOnChange.ts"
219
- }
220
- }
221
- ]
222
- },
223
170
  {
224
171
  "kind": "javascript-module",
225
172
  "path": "src/data/inMemoryDatabase.ts",
@@ -468,6 +415,59 @@
468
415
  }
469
416
  ]
470
417
  },
418
+ {
419
+ "kind": "javascript-module",
420
+ "path": "src/decorators/index.ts",
421
+ "declarations": [],
422
+ "exports": [
423
+ {
424
+ "kind": "js",
425
+ "name": "*",
426
+ "declaration": {
427
+ "name": "*",
428
+ "package": "./renderOnChange"
429
+ }
430
+ }
431
+ ]
432
+ },
433
+ {
434
+ "kind": "javascript-module",
435
+ "path": "src/decorators/renderOnChange.ts",
436
+ "declarations": [
437
+ {
438
+ "kind": "function",
439
+ "name": "renderOnChange",
440
+ "parameters": [
441
+ {
442
+ "name": "target",
443
+ "type": {
444
+ "text": "FASTElement & { render(): void }"
445
+ },
446
+ "description": "The target to define the property change handler on."
447
+ },
448
+ {
449
+ "name": "name",
450
+ "type": {
451
+ "text": "string"
452
+ },
453
+ "description": "The property name."
454
+ }
455
+ ],
456
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
457
+ "privacy": "public"
458
+ }
459
+ ],
460
+ "exports": [
461
+ {
462
+ "kind": "js",
463
+ "name": "renderOnChange",
464
+ "declaration": {
465
+ "name": "renderOnChange",
466
+ "module": "src/decorators/renderOnChange.ts"
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/promise/index.ts",
1342
+ "path": "src/observer/index.ts",
1343
1343
  "declarations": [],
1344
1344
  "exports": [
1345
1345
  {
@@ -1347,55 +1347,71 @@
1347
1347
  "name": "*",
1348
1348
  "declaration": {
1349
1349
  "name": "*",
1350
- "package": "./resolveAfter"
1350
+ "package": "./observer"
1351
1351
  }
1352
1352
  }
1353
1353
  ]
1354
1354
  },
1355
1355
  {
1356
1356
  "kind": "javascript-module",
1357
- "path": "src/promise/resolveAfter.ts",
1357
+ "path": "src/observer/observer.ts",
1358
1358
  "declarations": [
1359
1359
  {
1360
1360
  "kind": "function",
1361
- "name": "resolveAfter",
1361
+ "name": "createObserver",
1362
1362
  "return": {
1363
1363
  "type": {
1364
- "text": "Promise<T>"
1364
+ "text": "Observer<EventType>"
1365
1365
  }
1366
1366
  },
1367
+ "description": "Creates a new event observer instance.",
1368
+ "privacy": "public"
1369
+ },
1370
+ {
1371
+ "kind": "function",
1372
+ "name": "respondToVisibility",
1367
1373
  "parameters": [
1368
1374
  {
1369
- "name": "ms",
1375
+ "name": "element",
1370
1376
  "type": {
1371
- "text": "number"
1372
- }
1377
+ "text": "HTMLElement"
1378
+ },
1379
+ "description": "HTMLElement to observe"
1373
1380
  },
1374
1381
  {
1375
- "name": "valueCreator",
1382
+ "name": "callback",
1376
1383
  "type": {
1377
- "text": "() => T"
1378
- }
1384
+ "text": "(arg0: boolean) => any"
1385
+ },
1386
+ "description": "any function called when the visibility changes"
1379
1387
  }
1380
1388
  ],
1381
- "description": "Resolve a promise after a timeout.",
1389
+ "description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
1382
1390
  "privacy": "public"
1383
1391
  }
1384
1392
  ],
1385
1393
  "exports": [
1386
1394
  {
1387
1395
  "kind": "js",
1388
- "name": "resolveAfter",
1396
+ "name": "createObserver",
1389
1397
  "declaration": {
1390
- "name": "resolveAfter",
1391
- "module": "src/promise/resolveAfter.ts"
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"
1392
1408
  }
1393
1409
  }
1394
1410
  ]
1395
1411
  },
1396
1412
  {
1397
1413
  "kind": "javascript-module",
1398
- "path": "src/observer/index.ts",
1414
+ "path": "src/promise/index.ts",
1399
1415
  "declarations": [],
1400
1416
  "exports": [
1401
1417
  {
@@ -1403,64 +1419,48 @@
1403
1419
  "name": "*",
1404
1420
  "declaration": {
1405
1421
  "name": "*",
1406
- "package": "./observer"
1422
+ "package": "./resolveAfter"
1407
1423
  }
1408
1424
  }
1409
1425
  ]
1410
1426
  },
1411
1427
  {
1412
1428
  "kind": "javascript-module",
1413
- "path": "src/observer/observer.ts",
1429
+ "path": "src/promise/resolveAfter.ts",
1414
1430
  "declarations": [
1415
1431
  {
1416
1432
  "kind": "function",
1417
- "name": "createObserver",
1433
+ "name": "resolveAfter",
1418
1434
  "return": {
1419
1435
  "type": {
1420
- "text": "Observer<EventType>"
1436
+ "text": "Promise<T>"
1421
1437
  }
1422
1438
  },
1423
- "description": "Creates a new event observer instance.",
1424
- "privacy": "public"
1425
- },
1426
- {
1427
- "kind": "function",
1428
- "name": "respondToVisibility",
1429
1439
  "parameters": [
1430
1440
  {
1431
- "name": "element",
1441
+ "name": "ms",
1432
1442
  "type": {
1433
- "text": "HTMLElement"
1434
- },
1435
- "description": "HTMLElement to observe"
1443
+ "text": "number"
1444
+ }
1436
1445
  },
1437
1446
  {
1438
- "name": "callback",
1447
+ "name": "valueCreator",
1439
1448
  "type": {
1440
- "text": "(arg0: boolean) => any"
1441
- },
1442
- "description": "any function called when the visibility changes"
1449
+ "text": "() => T"
1450
+ }
1443
1451
  }
1444
1452
  ],
1445
- "description": "Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen",
1453
+ "description": "Resolve a promise after a timeout.",
1446
1454
  "privacy": "public"
1447
1455
  }
1448
1456
  ],
1449
1457
  "exports": [
1450
1458
  {
1451
1459
  "kind": "js",
1452
- "name": "createObserver",
1453
- "declaration": {
1454
- "name": "createObserver",
1455
- "module": "src/observer/observer.ts"
1456
- }
1457
- },
1458
- {
1459
- "kind": "js",
1460
- "name": "respondToVisibility",
1460
+ "name": "resolveAfter",
1461
1461
  "declaration": {
1462
- "name": "respondToVisibility",
1463
- "module": "src/observer/observer.ts"
1462
+ "name": "resolveAfter",
1463
+ "module": "src/promise/resolveAfter.ts"
1464
1464
  }
1465
1465
  }
1466
1466
  ]
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.217.2-alpha-53d4080.0",
4
+ "version": "14.217.2-alpha-721aa9c.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.217.2-alpha-53d4080.0",
31
- "@genesislcap/genx": "14.217.2-alpha-53d4080.0",
32
- "@genesislcap/rollup-builder": "14.217.2-alpha-53d4080.0",
33
- "@genesislcap/ts-builder": "14.217.2-alpha-53d4080.0",
34
- "@genesislcap/uvu-playwright-builder": "14.217.2-alpha-53d4080.0",
35
- "@genesislcap/vite-builder": "14.217.2-alpha-53d4080.0",
36
- "@genesislcap/webpack-builder": "14.217.2-alpha-53d4080.0",
30
+ "@genesislcap/foundation-testing": "14.217.2-alpha-721aa9c.0",
31
+ "@genesislcap/genx": "14.217.2-alpha-721aa9c.0",
32
+ "@genesislcap/rollup-builder": "14.217.2-alpha-721aa9c.0",
33
+ "@genesislcap/ts-builder": "14.217.2-alpha-721aa9c.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.217.2-alpha-721aa9c.0",
35
+ "@genesislcap/vite-builder": "14.217.2-alpha-721aa9c.0",
36
+ "@genesislcap/webpack-builder": "14.217.2-alpha-721aa9c.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.217.2-alpha-53d4080.0",
40
+ "@genesislcap/foundation-logger": "14.217.2-alpha-721aa9c.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": "9a5ce3a8fa95d7c5cdc1d670ce69e3403d85e7c6"
58
+ "gitHead": "926c2720924007a1360de068b8f7793416bfe1a0"
59
59
  }