@genesislcap/foundation-utils 14.217.0 → 14.217.2-alpha-53d4080.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.
- package/dist/custom-elements.json +99 -99
- package/package.json +10 -10
|
@@ -167,6 +167,59 @@
|
|
|
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
|
+
},
|
|
170
223
|
{
|
|
171
224
|
"kind": "javascript-module",
|
|
172
225
|
"path": "src/data/inMemoryDatabase.ts",
|
|
@@ -365,59 +418,6 @@
|
|
|
365
418
|
}
|
|
366
419
|
]
|
|
367
420
|
},
|
|
368
|
-
{
|
|
369
|
-
"kind": "javascript-module",
|
|
370
|
-
"path": "src/decorators/index.ts",
|
|
371
|
-
"declarations": [],
|
|
372
|
-
"exports": [
|
|
373
|
-
{
|
|
374
|
-
"kind": "js",
|
|
375
|
-
"name": "*",
|
|
376
|
-
"declaration": {
|
|
377
|
-
"name": "*",
|
|
378
|
-
"package": "./renderOnChange"
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
]
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
"kind": "javascript-module",
|
|
385
|
-
"path": "src/decorators/renderOnChange.ts",
|
|
386
|
-
"declarations": [
|
|
387
|
-
{
|
|
388
|
-
"kind": "function",
|
|
389
|
-
"name": "renderOnChange",
|
|
390
|
-
"parameters": [
|
|
391
|
-
{
|
|
392
|
-
"name": "target",
|
|
393
|
-
"type": {
|
|
394
|
-
"text": "FASTElement & { render(): void }"
|
|
395
|
-
},
|
|
396
|
-
"description": "The target to define the property change handler on."
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
"name": "name",
|
|
400
|
-
"type": {
|
|
401
|
-
"text": "string"
|
|
402
|
-
},
|
|
403
|
-
"description": "The property name."
|
|
404
|
-
}
|
|
405
|
-
],
|
|
406
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
|
407
|
-
"privacy": "public"
|
|
408
|
-
}
|
|
409
|
-
],
|
|
410
|
-
"exports": [
|
|
411
|
-
{
|
|
412
|
-
"kind": "js",
|
|
413
|
-
"name": "renderOnChange",
|
|
414
|
-
"declaration": {
|
|
415
|
-
"name": "renderOnChange",
|
|
416
|
-
"module": "src/decorators/renderOnChange.ts"
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
]
|
|
420
|
-
},
|
|
421
421
|
{
|
|
422
422
|
"kind": "javascript-module",
|
|
423
423
|
"path": "src/design-system/design-system.ts",
|
|
@@ -1339,7 +1339,7 @@
|
|
|
1339
1339
|
},
|
|
1340
1340
|
{
|
|
1341
1341
|
"kind": "javascript-module",
|
|
1342
|
-
"path": "src/
|
|
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": "./
|
|
1350
|
+
"package": "./resolveAfter"
|
|
1351
1351
|
}
|
|
1352
1352
|
}
|
|
1353
1353
|
]
|
|
1354
1354
|
},
|
|
1355
1355
|
{
|
|
1356
1356
|
"kind": "javascript-module",
|
|
1357
|
-
"path": "src/
|
|
1357
|
+
"path": "src/promise/resolveAfter.ts",
|
|
1358
1358
|
"declarations": [
|
|
1359
1359
|
{
|
|
1360
1360
|
"kind": "function",
|
|
1361
|
-
"name": "
|
|
1361
|
+
"name": "resolveAfter",
|
|
1362
1362
|
"return": {
|
|
1363
1363
|
"type": {
|
|
1364
|
-
"text": "
|
|
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": "
|
|
1369
|
+
"name": "ms",
|
|
1376
1370
|
"type": {
|
|
1377
|
-
"text": "
|
|
1378
|
-
}
|
|
1379
|
-
"description": "HTMLElement to observe"
|
|
1371
|
+
"text": "number"
|
|
1372
|
+
}
|
|
1380
1373
|
},
|
|
1381
1374
|
{
|
|
1382
|
-
"name": "
|
|
1375
|
+
"name": "valueCreator",
|
|
1383
1376
|
"type": {
|
|
1384
|
-
"text": "(
|
|
1385
|
-
}
|
|
1386
|
-
"description": "any function called when the visibility changes"
|
|
1377
|
+
"text": "() => T"
|
|
1378
|
+
}
|
|
1387
1379
|
}
|
|
1388
1380
|
],
|
|
1389
|
-
"description": "
|
|
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": "
|
|
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": "
|
|
1407
|
-
"module": "src/
|
|
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/
|
|
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": "./
|
|
1406
|
+
"package": "./observer"
|
|
1423
1407
|
}
|
|
1424
1408
|
}
|
|
1425
1409
|
]
|
|
1426
1410
|
},
|
|
1427
1411
|
{
|
|
1428
1412
|
"kind": "javascript-module",
|
|
1429
|
-
"path": "src/
|
|
1413
|
+
"path": "src/observer/observer.ts",
|
|
1430
1414
|
"declarations": [
|
|
1431
1415
|
{
|
|
1432
1416
|
"kind": "function",
|
|
1433
|
-
"name": "
|
|
1417
|
+
"name": "createObserver",
|
|
1434
1418
|
"return": {
|
|
1435
1419
|
"type": {
|
|
1436
|
-
"text": "
|
|
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": "
|
|
1431
|
+
"name": "element",
|
|
1442
1432
|
"type": {
|
|
1443
|
-
"text": "
|
|
1444
|
-
}
|
|
1433
|
+
"text": "HTMLElement"
|
|
1434
|
+
},
|
|
1435
|
+
"description": "HTMLElement to observe"
|
|
1445
1436
|
},
|
|
1446
1437
|
{
|
|
1447
|
-
"name": "
|
|
1438
|
+
"name": "callback",
|
|
1448
1439
|
"type": {
|
|
1449
|
-
"text": "() =>
|
|
1450
|
-
}
|
|
1440
|
+
"text": "(arg0: boolean) => any"
|
|
1441
|
+
},
|
|
1442
|
+
"description": "any function called when the visibility changes"
|
|
1451
1443
|
}
|
|
1452
1444
|
],
|
|
1453
|
-
"description": "
|
|
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": "
|
|
1452
|
+
"name": "createObserver",
|
|
1461
1453
|
"declaration": {
|
|
1462
|
-
"name": "
|
|
1463
|
-
"module": "src/
|
|
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
|
]
|
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.0",
|
|
4
|
+
"version": "14.217.2-alpha-53d4080.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.0",
|
|
31
|
-
"@genesislcap/genx": "14.217.0",
|
|
32
|
-
"@genesislcap/rollup-builder": "14.217.0",
|
|
33
|
-
"@genesislcap/ts-builder": "14.217.0",
|
|
34
|
-
"@genesislcap/uvu-playwright-builder": "14.217.0",
|
|
35
|
-
"@genesislcap/vite-builder": "14.217.0",
|
|
36
|
-
"@genesislcap/webpack-builder": "14.217.0",
|
|
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",
|
|
37
37
|
"rimraf": "^5.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@genesislcap/foundation-logger": "14.217.0",
|
|
40
|
+
"@genesislcap/foundation-logger": "14.217.2-alpha-53d4080.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": "
|
|
58
|
+
"gitHead": "9a5ce3a8fa95d7c5cdc1d670ce69e3403d85e7c6"
|
|
59
59
|
}
|