@genesislcap/foundation-utils 14.203.2-alpha-9f2807c.0 → 14.204.0

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 +182 -182
  2. package/package.json +10 -10
@@ -365,6 +365,56 @@
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
+ },
368
418
  {
369
419
  "kind": "javascript-module",
370
420
  "path": "src/decorators/index.ts",
@@ -418,56 +468,6 @@
418
468
  }
419
469
  ]
420
470
  },
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",
@@ -1337,78 +1337,6 @@
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
- },
1412
1340
  {
1413
1341
  "kind": "javascript-module",
1414
1342
  "path": "src/promise/index.ts",
@@ -1647,6 +1575,78 @@
1647
1575
  }
1648
1576
  ]
1649
1577
  },
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",
@@ -2218,7 +2218,7 @@
2218
2218
  },
2219
2219
  {
2220
2220
  "kind": "javascript-module",
2221
- "path": "src/directives/sync/index.ts",
2221
+ "path": "src/directives/when-else/index.ts",
2222
2222
  "declarations": [],
2223
2223
  "exports": [
2224
2224
  {
@@ -2226,28 +2226,18 @@
2226
2226
  "name": "*",
2227
2227
  "declaration": {
2228
2228
  "name": "*",
2229
- "package": "./sync"
2229
+ "package": "./when-else"
2230
2230
  }
2231
2231
  }
2232
2232
  ]
2233
2233
  },
2234
2234
  {
2235
2235
  "kind": "javascript-module",
2236
- "path": "src/directives/sync/sync.ts",
2236
+ "path": "src/directives/when-else/when-else.ts",
2237
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
2238
  {
2249
2239
  "kind": "function",
2250
- "name": "sync",
2240
+ "name": "whenElse",
2251
2241
  "return": {
2252
2242
  "type": {
2253
2243
  "text": "CaptureType<TSource>"
@@ -2258,56 +2248,42 @@
2258
2248
  "name": "binding",
2259
2249
  "type": {
2260
2250
  "text": "Binding<TSource, TReturn>"
2261
- }
2262
- },
2263
- {
2264
- "name": "conversionType",
2265
- "default": "'string'",
2266
- "type": {
2267
- "text": "ConversionType"
2268
- }
2251
+ },
2252
+ "description": "The condition to test for rendering."
2269
2253
  },
2270
2254
  {
2271
- "name": "eventName",
2272
- "default": "'default'",
2255
+ "name": "trueTemplateOrTemplateBinding",
2273
2256
  "type": {
2274
- "text": "EventName"
2275
- }
2257
+ "text": "WhenTemplate<TSource>"
2258
+ },
2259
+ "description": "The template or a binding that gets the template to render when the condition is true."
2276
2260
  },
2277
2261
  {
2278
- "name": "keyAttr",
2279
- "optional": true,
2262
+ "name": "falseTemplateOrTemplateBinding",
2280
2263
  "type": {
2281
- "text": "string"
2282
- }
2264
+ "text": "WhenTemplate<TSource>"
2265
+ },
2266
+ "description": "The template or a binding that gets the template to render when the condition is false."
2283
2267
  }
2284
2268
  ],
2285
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2269
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2286
2270
  "privacy": "public"
2287
2271
  }
2288
2272
  ],
2289
2273
  "exports": [
2290
2274
  {
2291
2275
  "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",
2276
+ "name": "whenElse",
2301
2277
  "declaration": {
2302
- "name": "sync",
2303
- "module": "src/directives/sync/sync.ts"
2278
+ "name": "whenElse",
2279
+ "module": "src/directives/when-else/when-else.ts"
2304
2280
  }
2305
2281
  }
2306
2282
  ]
2307
2283
  },
2308
2284
  {
2309
2285
  "kind": "javascript-module",
2310
- "path": "src/directives/when-else/index.ts",
2286
+ "path": "src/directives/sync/index.ts",
2311
2287
  "declarations": [],
2312
2288
  "exports": [
2313
2289
  {
@@ -2315,18 +2291,28 @@
2315
2291
  "name": "*",
2316
2292
  "declaration": {
2317
2293
  "name": "*",
2318
- "package": "./when-else"
2294
+ "package": "./sync"
2319
2295
  }
2320
2296
  }
2321
2297
  ]
2322
2298
  },
2323
2299
  {
2324
2300
  "kind": "javascript-module",
2325
- "path": "src/directives/when-else/when-else.ts",
2301
+ "path": "src/directives/sync/sync.ts",
2326
2302
  "declarations": [
2303
+ {
2304
+ "kind": "variable",
2305
+ "name": "defaultEventMap",
2306
+ "type": {
2307
+ "text": "Map<string, EventName>"
2308
+ },
2309
+ "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])",
2310
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2311
+ "privacy": "public"
2312
+ },
2327
2313
  {
2328
2314
  "kind": "function",
2329
- "name": "whenElse",
2315
+ "name": "sync",
2330
2316
  "return": {
2331
2317
  "type": {
2332
2318
  "text": "CaptureType<TSource>"
@@ -2337,35 +2323,49 @@
2337
2323
  "name": "binding",
2338
2324
  "type": {
2339
2325
  "text": "Binding<TSource, TReturn>"
2340
- },
2341
- "description": "The condition to test for rendering."
2326
+ }
2342
2327
  },
2343
2328
  {
2344
- "name": "trueTemplateOrTemplateBinding",
2329
+ "name": "conversionType",
2330
+ "default": "'string'",
2345
2331
  "type": {
2346
- "text": "WhenTemplate<TSource>"
2347
- },
2348
- "description": "The template or a binding that gets the template to render when the condition is true."
2332
+ "text": "ConversionType"
2333
+ }
2349
2334
  },
2350
2335
  {
2351
- "name": "falseTemplateOrTemplateBinding",
2336
+ "name": "eventName",
2337
+ "default": "'default'",
2352
2338
  "type": {
2353
- "text": "WhenTemplate<TSource>"
2354
- },
2355
- "description": "The template or a binding that gets the template to render when the condition is false."
2339
+ "text": "EventName"
2340
+ }
2341
+ },
2342
+ {
2343
+ "name": "keyAttr",
2344
+ "optional": true,
2345
+ "type": {
2346
+ "text": "string"
2347
+ }
2356
2348
  }
2357
2349
  ],
2358
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2350
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2359
2351
  "privacy": "public"
2360
2352
  }
2361
2353
  ],
2362
2354
  "exports": [
2363
2355
  {
2364
2356
  "kind": "js",
2365
- "name": "whenElse",
2357
+ "name": "defaultEventMap",
2366
2358
  "declaration": {
2367
- "name": "whenElse",
2368
- "module": "src/directives/when-else/when-else.ts"
2359
+ "name": "defaultEventMap",
2360
+ "module": "src/directives/sync/sync.ts"
2361
+ }
2362
+ },
2363
+ {
2364
+ "kind": "js",
2365
+ "name": "sync",
2366
+ "declaration": {
2367
+ "name": "sync",
2368
+ "module": "src/directives/sync/sync.ts"
2369
2369
  }
2370
2370
  }
2371
2371
  ]
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.203.2-alpha-9f2807c.0",
4
+ "version": "14.204.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.203.2-alpha-9f2807c.0",
31
- "@genesislcap/genx": "14.203.2-alpha-9f2807c.0",
32
- "@genesislcap/rollup-builder": "14.203.2-alpha-9f2807c.0",
33
- "@genesislcap/ts-builder": "14.203.2-alpha-9f2807c.0",
34
- "@genesislcap/uvu-playwright-builder": "14.203.2-alpha-9f2807c.0",
35
- "@genesislcap/vite-builder": "14.203.2-alpha-9f2807c.0",
36
- "@genesislcap/webpack-builder": "14.203.2-alpha-9f2807c.0",
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",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.203.2-alpha-9f2807c.0",
40
+ "@genesislcap/foundation-logger": "14.204.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": "387e4c10a1ada9189d6cb3bed778a7aabdda6ee5"
58
+ "gitHead": "8394ff8dd41ae065ab90d2afb7ca789c3aad0f9e"
59
59
  }