@genesislcap/foundation-utils 14.208.1 → 14.208.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/custom-elements.json +238 -238
  2. package/package.json +10 -10
@@ -167,6 +167,56 @@
167
167
  }
168
168
  ]
169
169
  },
170
+ {
171
+ "kind": "javascript-module",
172
+ "path": "src/design-system/design-system.ts",
173
+ "declarations": [
174
+ {
175
+ "kind": "function",
176
+ "name": "assureDesignSystem",
177
+ "return": {
178
+ "type": {
179
+ "text": "DesignSystemModule"
180
+ }
181
+ },
182
+ "parameters": [
183
+ {
184
+ "name": "module",
185
+ "type": {
186
+ "text": "DesignSystemModule"
187
+ }
188
+ }
189
+ ],
190
+ "description": "assureDesignSystem.",
191
+ "privacy": "public"
192
+ }
193
+ ],
194
+ "exports": [
195
+ {
196
+ "kind": "js",
197
+ "name": "assureDesignSystem",
198
+ "declaration": {
199
+ "name": "assureDesignSystem",
200
+ "module": "src/design-system/design-system.ts"
201
+ }
202
+ }
203
+ ]
204
+ },
205
+ {
206
+ "kind": "javascript-module",
207
+ "path": "src/design-system/index.ts",
208
+ "declarations": [],
209
+ "exports": [
210
+ {
211
+ "kind": "js",
212
+ "name": "*",
213
+ "declaration": {
214
+ "name": "*",
215
+ "package": "./design-system"
216
+ }
217
+ }
218
+ ]
219
+ },
170
220
  {
171
221
  "kind": "javascript-module",
172
222
  "path": "src/data/inMemoryDatabase.ts",
@@ -365,109 +415,6 @@
365
415
  }
366
416
  ]
367
417
  },
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
- {
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
418
  {
472
419
  "kind": "javascript-module",
473
420
  "path": "src/directives/index.ts",
@@ -928,6 +875,59 @@
928
875
  }
929
876
  ]
930
877
  },
878
+ {
879
+ "kind": "javascript-module",
880
+ "path": "src/decorators/index.ts",
881
+ "declarations": [],
882
+ "exports": [
883
+ {
884
+ "kind": "js",
885
+ "name": "*",
886
+ "declaration": {
887
+ "name": "*",
888
+ "package": "./renderOnChange"
889
+ }
890
+ }
891
+ ]
892
+ },
893
+ {
894
+ "kind": "javascript-module",
895
+ "path": "src/decorators/renderOnChange.ts",
896
+ "declarations": [
897
+ {
898
+ "kind": "function",
899
+ "name": "renderOnChange",
900
+ "parameters": [
901
+ {
902
+ "name": "target",
903
+ "type": {
904
+ "text": "FASTElement & { render(): void }"
905
+ },
906
+ "description": "The target to define the property change handler on."
907
+ },
908
+ {
909
+ "name": "name",
910
+ "type": {
911
+ "text": "string"
912
+ },
913
+ "description": "The property name."
914
+ }
915
+ ],
916
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
917
+ "privacy": "public"
918
+ }
919
+ ],
920
+ "exports": [
921
+ {
922
+ "kind": "js",
923
+ "name": "renderOnChange",
924
+ "declaration": {
925
+ "name": "renderOnChange",
926
+ "module": "src/decorators/renderOnChange.ts"
927
+ }
928
+ }
929
+ ]
930
+ },
931
931
  {
932
932
  "kind": "javascript-module",
933
933
  "path": "src/formatters/datetime.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
  ]
@@ -2068,95 +2068,6 @@
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
- },
2160
2071
  {
2161
2072
  "kind": "javascript-module",
2162
2073
  "path": "src/window/index.ts",
@@ -2305,6 +2216,95 @@
2305
2216
  }
2306
2217
  ]
2307
2218
  },
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.208.1",
4
+ "version": "14.208.2",
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.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",
30
+ "@genesislcap/foundation-testing": "14.208.2",
31
+ "@genesislcap/genx": "14.208.2",
32
+ "@genesislcap/rollup-builder": "14.208.2",
33
+ "@genesislcap/ts-builder": "14.208.2",
34
+ "@genesislcap/uvu-playwright-builder": "14.208.2",
35
+ "@genesislcap/vite-builder": "14.208.2",
36
+ "@genesislcap/webpack-builder": "14.208.2",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.208.1",
40
+ "@genesislcap/foundation-logger": "14.208.2",
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": "61bea44371fb0f88f1953aa9ea5200a4429f6523"
58
+ "gitHead": "6e8bcdbd7a90cc39adef48f79ae5b073ff38c358"
59
59
  }