@genesislcap/foundation-utils 14.30.2-bny.1 → 14.30.2

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.
@@ -333,6 +333,55 @@
333
333
  }
334
334
  ]
335
335
  },
336
+ {
337
+ "kind": "javascript-module",
338
+ "path": "src/design-system/design-system.ts",
339
+ "declarations": [
340
+ {
341
+ "kind": "function",
342
+ "name": "assureDesignSystem",
343
+ "return": {
344
+ "type": {
345
+ "text": "DesignSystemModule"
346
+ }
347
+ },
348
+ "parameters": [
349
+ {
350
+ "name": "module",
351
+ "type": {
352
+ "text": "DesignSystemModule"
353
+ }
354
+ }
355
+ ],
356
+ "privacy": "public"
357
+ }
358
+ ],
359
+ "exports": [
360
+ {
361
+ "kind": "js",
362
+ "name": "assureDesignSystem",
363
+ "declaration": {
364
+ "name": "assureDesignSystem",
365
+ "module": "src/design-system/design-system.ts"
366
+ }
367
+ }
368
+ ]
369
+ },
370
+ {
371
+ "kind": "javascript-module",
372
+ "path": "src/design-system/index.ts",
373
+ "declarations": [],
374
+ "exports": [
375
+ {
376
+ "kind": "js",
377
+ "name": "*",
378
+ "declaration": {
379
+ "name": "*",
380
+ "package": "./design-system"
381
+ }
382
+ }
383
+ ]
384
+ },
336
385
  {
337
386
  "kind": "javascript-module",
338
387
  "path": "src/directives/index.ts",
@@ -356,6 +405,59 @@
356
405
  }
357
406
  ]
358
407
  },
408
+ {
409
+ "kind": "javascript-module",
410
+ "path": "src/decorators/index.ts",
411
+ "declarations": [],
412
+ "exports": [
413
+ {
414
+ "kind": "js",
415
+ "name": "*",
416
+ "declaration": {
417
+ "name": "*",
418
+ "package": "./renderOnChange"
419
+ }
420
+ }
421
+ ]
422
+ },
423
+ {
424
+ "kind": "javascript-module",
425
+ "path": "src/decorators/renderOnChange.ts",
426
+ "declarations": [
427
+ {
428
+ "kind": "function",
429
+ "name": "renderOnChange",
430
+ "parameters": [
431
+ {
432
+ "name": "target",
433
+ "type": {
434
+ "text": "FASTElement & { render(): void }"
435
+ },
436
+ "description": "The target to define the property change handler on."
437
+ },
438
+ {
439
+ "name": "name",
440
+ "type": {
441
+ "text": "string"
442
+ },
443
+ "description": "The property name."
444
+ }
445
+ ],
446
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
447
+ "privacy": "public"
448
+ }
449
+ ],
450
+ "exports": [
451
+ {
452
+ "kind": "js",
453
+ "name": "renderOnChange",
454
+ "declaration": {
455
+ "name": "renderOnChange",
456
+ "module": "src/decorators/renderOnChange.ts"
457
+ }
458
+ }
459
+ ]
460
+ },
359
461
  {
360
462
  "kind": "javascript-module",
361
463
  "path": "src/env/index.ts",
@@ -689,108 +791,6 @@
689
791
  }
690
792
  ]
691
793
  },
692
- {
693
- "kind": "javascript-module",
694
- "path": "src/design-system/design-system.ts",
695
- "declarations": [
696
- {
697
- "kind": "function",
698
- "name": "assureDesignSystem",
699
- "return": {
700
- "type": {
701
- "text": "DesignSystemModule"
702
- }
703
- },
704
- "parameters": [
705
- {
706
- "name": "module",
707
- "type": {
708
- "text": "DesignSystemModule"
709
- }
710
- }
711
- ],
712
- "privacy": "public"
713
- }
714
- ],
715
- "exports": [
716
- {
717
- "kind": "js",
718
- "name": "assureDesignSystem",
719
- "declaration": {
720
- "name": "assureDesignSystem",
721
- "module": "src/design-system/design-system.ts"
722
- }
723
- }
724
- ]
725
- },
726
- {
727
- "kind": "javascript-module",
728
- "path": "src/design-system/index.ts",
729
- "declarations": [],
730
- "exports": [
731
- {
732
- "kind": "js",
733
- "name": "*",
734
- "declaration": {
735
- "name": "*",
736
- "package": "./design-system"
737
- }
738
- }
739
- ]
740
- },
741
- {
742
- "kind": "javascript-module",
743
- "path": "src/decorators/index.ts",
744
- "declarations": [],
745
- "exports": [
746
- {
747
- "kind": "js",
748
- "name": "*",
749
- "declaration": {
750
- "name": "*",
751
- "package": "./renderOnChange"
752
- }
753
- }
754
- ]
755
- },
756
- {
757
- "kind": "javascript-module",
758
- "path": "src/decorators/renderOnChange.ts",
759
- "declarations": [
760
- {
761
- "kind": "function",
762
- "name": "renderOnChange",
763
- "parameters": [
764
- {
765
- "name": "target",
766
- "type": {
767
- "text": "FASTElement & { render(): void }"
768
- },
769
- "description": "The target to define the property change handler on."
770
- },
771
- {
772
- "name": "name",
773
- "type": {
774
- "text": "string"
775
- },
776
- "description": "The property name."
777
- }
778
- ],
779
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
780
- "privacy": "public"
781
- }
782
- ],
783
- "exports": [
784
- {
785
- "kind": "js",
786
- "name": "renderOnChange",
787
- "declaration": {
788
- "name": "renderOnChange",
789
- "module": "src/decorators/renderOnChange.ts"
790
- }
791
- }
792
- ]
793
- },
794
794
  {
795
795
  "kind": "javascript-module",
796
796
  "path": "src/logger/index.ts",
@@ -1567,7 +1567,7 @@
1567
1567
  },
1568
1568
  {
1569
1569
  "kind": "javascript-module",
1570
- "path": "src/directives/sync/index.ts",
1570
+ "path": "src/directives/when-else/index.ts",
1571
1571
  "declarations": [],
1572
1572
  "exports": [
1573
1573
  {
@@ -1575,28 +1575,18 @@
1575
1575
  "name": "*",
1576
1576
  "declaration": {
1577
1577
  "name": "*",
1578
- "package": "./sync"
1578
+ "package": "./when-else"
1579
1579
  }
1580
1580
  }
1581
1581
  ]
1582
1582
  },
1583
1583
  {
1584
1584
  "kind": "javascript-module",
1585
- "path": "src/directives/sync/sync.ts",
1585
+ "path": "src/directives/when-else/when-else.ts",
1586
1586
  "declarations": [
1587
- {
1588
- "kind": "variable",
1589
- "name": "defaultEventMap",
1590
- "type": {
1591
- "text": "Map<string, EventName>"
1592
- },
1593
- "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])",
1594
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
1595
- "privacy": "public"
1596
- },
1597
1587
  {
1598
1588
  "kind": "function",
1599
- "name": "sync",
1589
+ "name": "whenElse",
1600
1590
  "return": {
1601
1591
  "type": {
1602
1592
  "text": "CaptureType<TSource>"
@@ -1607,56 +1597,42 @@
1607
1597
  "name": "binding",
1608
1598
  "type": {
1609
1599
  "text": "Binding<TSource, TReturn>"
1610
- }
1611
- },
1612
- {
1613
- "name": "conversionType",
1614
- "default": "'string'",
1615
- "type": {
1616
- "text": "ConversionType"
1617
- }
1600
+ },
1601
+ "description": "The condition to test for rendering."
1618
1602
  },
1619
1603
  {
1620
- "name": "eventName",
1621
- "default": "'default'",
1604
+ "name": "trueTemplateOrTemplateBinding",
1622
1605
  "type": {
1623
- "text": "EventName"
1624
- }
1606
+ "text": "WhenTemplate<TSource>"
1607
+ },
1608
+ "description": "The template or a binding that gets the template to render when the condition is true."
1625
1609
  },
1626
1610
  {
1627
- "name": "keyAttr",
1628
- "optional": true,
1611
+ "name": "falseTemplateOrTemplateBinding",
1629
1612
  "type": {
1630
- "text": "string"
1631
- }
1613
+ "text": "WhenTemplate<TSource>"
1614
+ },
1615
+ "description": "The template or a binding that gets the template to render when the condition is false."
1632
1616
  }
1633
1617
  ],
1634
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
1618
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
1635
1619
  "privacy": "public"
1636
1620
  }
1637
1621
  ],
1638
1622
  "exports": [
1639
1623
  {
1640
1624
  "kind": "js",
1641
- "name": "defaultEventMap",
1642
- "declaration": {
1643
- "name": "defaultEventMap",
1644
- "module": "src/directives/sync/sync.ts"
1645
- }
1646
- },
1647
- {
1648
- "kind": "js",
1649
- "name": "sync",
1625
+ "name": "whenElse",
1650
1626
  "declaration": {
1651
- "name": "sync",
1652
- "module": "src/directives/sync/sync.ts"
1627
+ "name": "whenElse",
1628
+ "module": "src/directives/when-else/when-else.ts"
1653
1629
  }
1654
1630
  }
1655
1631
  ]
1656
1632
  },
1657
1633
  {
1658
1634
  "kind": "javascript-module",
1659
- "path": "src/directives/when-else/index.ts",
1635
+ "path": "src/directives/sync/index.ts",
1660
1636
  "declarations": [],
1661
1637
  "exports": [
1662
1638
  {
@@ -1664,18 +1640,28 @@
1664
1640
  "name": "*",
1665
1641
  "declaration": {
1666
1642
  "name": "*",
1667
- "package": "./when-else"
1643
+ "package": "./sync"
1668
1644
  }
1669
1645
  }
1670
1646
  ]
1671
1647
  },
1672
1648
  {
1673
1649
  "kind": "javascript-module",
1674
- "path": "src/directives/when-else/when-else.ts",
1650
+ "path": "src/directives/sync/sync.ts",
1675
1651
  "declarations": [
1652
+ {
1653
+ "kind": "variable",
1654
+ "name": "defaultEventMap",
1655
+ "type": {
1656
+ "text": "Map<string, EventName>"
1657
+ },
1658
+ "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])",
1659
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
1660
+ "privacy": "public"
1661
+ },
1676
1662
  {
1677
1663
  "kind": "function",
1678
- "name": "whenElse",
1664
+ "name": "sync",
1679
1665
  "return": {
1680
1666
  "type": {
1681
1667
  "text": "CaptureType<TSource>"
@@ -1686,35 +1672,49 @@
1686
1672
  "name": "binding",
1687
1673
  "type": {
1688
1674
  "text": "Binding<TSource, TReturn>"
1689
- },
1690
- "description": "The condition to test for rendering."
1675
+ }
1691
1676
  },
1692
1677
  {
1693
- "name": "trueTemplateOrTemplateBinding",
1678
+ "name": "conversionType",
1679
+ "default": "'string'",
1694
1680
  "type": {
1695
- "text": "WhenTemplate<TSource>"
1696
- },
1697
- "description": "The template or a binding that gets the template to render when the condition is true."
1681
+ "text": "ConversionType"
1682
+ }
1698
1683
  },
1699
1684
  {
1700
- "name": "falseTemplateOrTemplateBinding",
1685
+ "name": "eventName",
1686
+ "default": "'default'",
1701
1687
  "type": {
1702
- "text": "WhenTemplate<TSource>"
1703
- },
1704
- "description": "The template or a binding that gets the template to render when the condition is false."
1688
+ "text": "EventName"
1689
+ }
1690
+ },
1691
+ {
1692
+ "name": "keyAttr",
1693
+ "optional": true,
1694
+ "type": {
1695
+ "text": "string"
1696
+ }
1705
1697
  }
1706
1698
  ],
1707
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
1699
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
1708
1700
  "privacy": "public"
1709
1701
  }
1710
1702
  ],
1711
1703
  "exports": [
1712
1704
  {
1713
1705
  "kind": "js",
1714
- "name": "whenElse",
1706
+ "name": "defaultEventMap",
1715
1707
  "declaration": {
1716
- "name": "whenElse",
1717
- "module": "src/directives/when-else/when-else.ts"
1708
+ "name": "defaultEventMap",
1709
+ "module": "src/directives/sync/sync.ts"
1710
+ }
1711
+ },
1712
+ {
1713
+ "kind": "js",
1714
+ "name": "sync",
1715
+ "declaration": {
1716
+ "name": "sync",
1717
+ "module": "src/directives/sync/sync.ts"
1718
1718
  }
1719
1719
  }
1720
1720
  ]
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.30.2-bny.1",
4
+ "version": "14.30.2",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -23,7 +23,7 @@
23
23
  "serve": "genx serve"
24
24
  },
25
25
  "devDependencies": {
26
- "@genesislcap/genx": "14.30.2-bny.1",
26
+ "@genesislcap/genx": "^14.30.2",
27
27
  "@playwright/test": "^1.18.1",
28
28
  "@types/node": "^16.4.3",
29
29
  "analytics": "^0.8.0",
@@ -53,5 +53,5 @@
53
53
  "access": "public"
54
54
  },
55
55
  "customElements": "dist/custom-elements.json",
56
- "gitHead": "63f9dfb5e58f87fc514c73b185788088b7fac94a"
56
+ "gitHead": "4ea8f548f55cde9b895b115a43f39f45c62d60af"
57
57
  }