@genesislcap/foundation-utils 14.293.2 → 14.294.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +104 -104
  2. package/package.json +10 -10
@@ -369,7 +369,7 @@
369
369
  },
370
370
  {
371
371
  "kind": "javascript-module",
372
- "path": "src/directives/index.ts",
372
+ "path": "src/decorators/index.ts",
373
373
  "declarations": [],
374
374
  "exports": [
375
375
  {
@@ -377,22 +377,52 @@
377
377
  "name": "*",
378
378
  "declaration": {
379
379
  "name": "*",
380
- "package": "./sync"
380
+ "package": "./renderOnChange"
381
381
  }
382
- },
382
+ }
383
+ ]
384
+ },
385
+ {
386
+ "kind": "javascript-module",
387
+ "path": "src/decorators/renderOnChange.ts",
388
+ "declarations": [
389
+ {
390
+ "kind": "function",
391
+ "name": "renderOnChange",
392
+ "parameters": [
393
+ {
394
+ "name": "target",
395
+ "type": {
396
+ "text": "FASTElement & { render(): void }"
397
+ },
398
+ "description": "The target to define the property change handler on."
399
+ },
400
+ {
401
+ "name": "name",
402
+ "type": {
403
+ "text": "string"
404
+ },
405
+ "description": "The property name."
406
+ }
407
+ ],
408
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
409
+ "privacy": "public"
410
+ }
411
+ ],
412
+ "exports": [
383
413
  {
384
414
  "kind": "js",
385
- "name": "*",
415
+ "name": "renderOnChange",
386
416
  "declaration": {
387
- "name": "*",
388
- "package": "./when-else"
417
+ "name": "renderOnChange",
418
+ "module": "src/decorators/renderOnChange.ts"
389
419
  }
390
420
  }
391
421
  ]
392
422
  },
393
423
  {
394
424
  "kind": "javascript-module",
395
- "path": "src/decorators/index.ts",
425
+ "path": "src/directives/index.ts",
396
426
  "declarations": [],
397
427
  "exports": [
398
428
  {
@@ -400,45 +430,100 @@
400
430
  "name": "*",
401
431
  "declaration": {
402
432
  "name": "*",
403
- "package": "./renderOnChange"
433
+ "package": "./sync"
434
+ }
435
+ },
436
+ {
437
+ "kind": "js",
438
+ "name": "*",
439
+ "declaration": {
440
+ "name": "*",
441
+ "package": "./when-else"
404
442
  }
405
443
  }
406
444
  ]
407
445
  },
408
446
  {
409
447
  "kind": "javascript-module",
410
- "path": "src/decorators/renderOnChange.ts",
448
+ "path": "src/design-system/design-system.ts",
411
449
  "declarations": [
412
450
  {
413
451
  "kind": "function",
414
- "name": "renderOnChange",
452
+ "name": "assureDesignSystem",
453
+ "return": {
454
+ "type": {
455
+ "text": "DesignSystemModule"
456
+ }
457
+ },
415
458
  "parameters": [
416
459
  {
417
- "name": "target",
460
+ "name": "module",
418
461
  "type": {
419
- "text": "FASTElement & { render(): void }"
462
+ "text": "DesignSystemModule"
463
+ }
464
+ }
465
+ ],
466
+ "description": "assureDesignSystem.",
467
+ "privacy": "public"
468
+ },
469
+ {
470
+ "kind": "function",
471
+ "name": "getCurrentDesignSystemPrefix",
472
+ "return": {
473
+ "type": {
474
+ "text": ""
475
+ }
476
+ },
477
+ "parameters": [
478
+ {
479
+ "name": "element",
480
+ "type": {
481
+ "text": "HTMLElement"
420
482
  },
421
- "description": "The target to define the property change handler on."
483
+ "description": "The starting HTML element"
422
484
  },
423
485
  {
424
- "name": "name",
486
+ "name": "fallbackPrefix",
425
487
  "type": {
426
488
  "text": "string"
427
489
  },
428
- "description": "The property name."
490
+ "description": "The prefix to fallback to if the provider is not available"
429
491
  }
430
492
  ],
431
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
493
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
432
494
  "privacy": "public"
433
495
  }
434
496
  ],
435
497
  "exports": [
436
498
  {
437
499
  "kind": "js",
438
- "name": "renderOnChange",
500
+ "name": "assureDesignSystem",
439
501
  "declaration": {
440
- "name": "renderOnChange",
441
- "module": "src/decorators/renderOnChange.ts"
502
+ "name": "assureDesignSystem",
503
+ "module": "src/design-system/design-system.ts"
504
+ }
505
+ },
506
+ {
507
+ "kind": "js",
508
+ "name": "getCurrentDesignSystemPrefix",
509
+ "declaration": {
510
+ "name": "getCurrentDesignSystemPrefix",
511
+ "module": "src/design-system/design-system.ts"
512
+ }
513
+ }
514
+ ]
515
+ },
516
+ {
517
+ "kind": "javascript-module",
518
+ "path": "src/design-system/index.ts",
519
+ "declarations": [],
520
+ "exports": [
521
+ {
522
+ "kind": "js",
523
+ "name": "*",
524
+ "declaration": {
525
+ "name": "*",
526
+ "package": "./design-system"
442
527
  }
443
528
  }
444
529
  ]
@@ -916,91 +1001,6 @@
916
1001
  }
917
1002
  ]
918
1003
  },
919
- {
920
- "kind": "javascript-module",
921
- "path": "src/design-system/design-system.ts",
922
- "declarations": [
923
- {
924
- "kind": "function",
925
- "name": "assureDesignSystem",
926
- "return": {
927
- "type": {
928
- "text": "DesignSystemModule"
929
- }
930
- },
931
- "parameters": [
932
- {
933
- "name": "module",
934
- "type": {
935
- "text": "DesignSystemModule"
936
- }
937
- }
938
- ],
939
- "description": "assureDesignSystem.",
940
- "privacy": "public"
941
- },
942
- {
943
- "kind": "function",
944
- "name": "getCurrentDesignSystemPrefix",
945
- "return": {
946
- "type": {
947
- "text": ""
948
- }
949
- },
950
- "parameters": [
951
- {
952
- "name": "element",
953
- "type": {
954
- "text": "HTMLElement"
955
- },
956
- "description": "The starting HTML element"
957
- },
958
- {
959
- "name": "fallbackPrefix",
960
- "type": {
961
- "text": "string"
962
- },
963
- "description": "The prefix to fallback to if the provider is not available"
964
- }
965
- ],
966
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
967
- "privacy": "public"
968
- }
969
- ],
970
- "exports": [
971
- {
972
- "kind": "js",
973
- "name": "assureDesignSystem",
974
- "declaration": {
975
- "name": "assureDesignSystem",
976
- "module": "src/design-system/design-system.ts"
977
- }
978
- },
979
- {
980
- "kind": "js",
981
- "name": "getCurrentDesignSystemPrefix",
982
- "declaration": {
983
- "name": "getCurrentDesignSystemPrefix",
984
- "module": "src/design-system/design-system.ts"
985
- }
986
- }
987
- ]
988
- },
989
- {
990
- "kind": "javascript-module",
991
- "path": "src/design-system/index.ts",
992
- "declarations": [],
993
- "exports": [
994
- {
995
- "kind": "js",
996
- "name": "*",
997
- "declaration": {
998
- "name": "*",
999
- "package": "./design-system"
1000
- }
1001
- }
1002
- ]
1003
- },
1004
1004
  {
1005
1005
  "kind": "javascript-module",
1006
1006
  "path": "src/error/errorMap.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.293.2",
4
+ "version": "14.294.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,19 +27,19 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.293.2",
31
- "@genesislcap/genx": "14.293.2",
32
- "@genesislcap/rollup-builder": "14.293.2",
33
- "@genesislcap/ts-builder": "14.293.2",
34
- "@genesislcap/uvu-playwright-builder": "14.293.2",
35
- "@genesislcap/vite-builder": "14.293.2",
36
- "@genesislcap/webpack-builder": "14.293.2",
30
+ "@genesislcap/foundation-testing": "14.294.0",
31
+ "@genesislcap/genx": "14.294.0",
32
+ "@genesislcap/rollup-builder": "14.294.0",
33
+ "@genesislcap/ts-builder": "14.294.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.294.0",
35
+ "@genesislcap/vite-builder": "14.294.0",
36
+ "@genesislcap/webpack-builder": "14.294.0",
37
37
  "@types/json-schema": "^7.0.11",
38
38
  "rimraf": "^5.0.0"
39
39
  },
40
40
  "dependencies": {
41
41
  "@genesislcap/expression-builder": "14.258.1",
42
- "@genesislcap/foundation-logger": "14.293.2",
42
+ "@genesislcap/foundation-logger": "14.294.0",
43
43
  "@microsoft/fast-components": "2.30.6",
44
44
  "@microsoft/fast-element": "1.14.0",
45
45
  "@microsoft/fast-foundation": "2.49.6",
@@ -57,5 +57,5 @@
57
57
  "access": "public"
58
58
  },
59
59
  "customElements": "dist/custom-elements.json",
60
- "gitHead": "a5107ae0a1670f5ed14eef84504d7e16385a0601"
60
+ "gitHead": "f7e3720d6f7bd3810a4a8350e4a3e9f436edb078"
61
61
  }