@genesislcap/foundation-utils 14.95.0 → 14.96.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.
@@ -466,6 +466,229 @@
466
466
  }
467
467
  ]
468
468
  },
469
+ {
470
+ "kind": "javascript-module",
471
+ "path": "src/env/index.ts",
472
+ "declarations": [],
473
+ "exports": [
474
+ {
475
+ "kind": "js",
476
+ "name": "*",
477
+ "declaration": {
478
+ "name": "*",
479
+ "package": "./is-dev"
480
+ }
481
+ },
482
+ {
483
+ "kind": "js",
484
+ "name": "*",
485
+ "declaration": {
486
+ "name": "*",
487
+ "package": "./variables"
488
+ }
489
+ }
490
+ ]
491
+ },
492
+ {
493
+ "kind": "javascript-module",
494
+ "path": "src/env/is-dev.ts",
495
+ "declarations": [
496
+ {
497
+ "kind": "function",
498
+ "name": "isDev",
499
+ "description": "Determines if the current environment is a development environment.",
500
+ "privacy": "public"
501
+ }
502
+ ],
503
+ "exports": [
504
+ {
505
+ "kind": "js",
506
+ "name": "isDev",
507
+ "declaration": {
508
+ "name": "isDev",
509
+ "module": "src/env/is-dev.ts"
510
+ }
511
+ }
512
+ ]
513
+ },
514
+ {
515
+ "kind": "javascript-module",
516
+ "path": "src/env/variables.ts",
517
+ "declarations": [
518
+ {
519
+ "kind": "variable",
520
+ "name": "SOCKET_EXT",
521
+ "type": {
522
+ "text": "string"
523
+ }
524
+ },
525
+ {
526
+ "kind": "variable",
527
+ "name": "_SOCKET_EXT",
528
+ "type": {
529
+ "text": "string"
530
+ },
531
+ "default": "'gwf'",
532
+ "description": "The sub-path used for WebSocket connections when API_HOST is not set",
533
+ "privacy": "public"
534
+ },
535
+ {
536
+ "kind": "variable",
537
+ "name": "FORCE_HTTP",
538
+ "type": {
539
+ "text": "string"
540
+ }
541
+ },
542
+ {
543
+ "kind": "variable",
544
+ "name": "_FORCE_HTTP",
545
+ "type": {
546
+ "text": "string"
547
+ },
548
+ "description": "The path to a JSON config file for the HTTP mode.",
549
+ "privacy": "public"
550
+ },
551
+ {
552
+ "kind": "variable",
553
+ "name": "API_HOST",
554
+ "type": {
555
+ "text": "string"
556
+ }
557
+ },
558
+ {
559
+ "kind": "variable",
560
+ "name": "_API_HOST",
561
+ "type": {
562
+ "text": "string"
563
+ },
564
+ "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
565
+ "description": "The Genesis Server URL (WebSocket or HTTP).",
566
+ "privacy": "public"
567
+ },
568
+ {
569
+ "kind": "variable",
570
+ "name": "HTTP_CONFIG",
571
+ "type": {
572
+ "text": "string"
573
+ }
574
+ },
575
+ {
576
+ "kind": "variable",
577
+ "name": "_HTTP_CONFIG",
578
+ "type": {
579
+ "text": "string"
580
+ },
581
+ "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
582
+ "privacy": "public"
583
+ },
584
+ {
585
+ "kind": "variable",
586
+ "name": "DEFAULT_ORGANISATION",
587
+ "type": {
588
+ "text": "string"
589
+ }
590
+ },
591
+ {
592
+ "kind": "variable",
593
+ "name": "_DEFAULT_ORGANISATION",
594
+ "type": {
595
+ "text": "string"
596
+ },
597
+ "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
598
+ "privacy": "public"
599
+ },
600
+ {
601
+ "kind": "variable",
602
+ "name": "DEFAULT_PASSWORD",
603
+ "type": {
604
+ "text": "string"
605
+ }
606
+ },
607
+ {
608
+ "kind": "variable",
609
+ "name": "_DEFAULT_PASSWORD",
610
+ "type": {
611
+ "text": "string"
612
+ },
613
+ "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
614
+ "privacy": "public"
615
+ },
616
+ {
617
+ "kind": "variable",
618
+ "name": "DEFAULT_USER",
619
+ "type": {
620
+ "text": "string"
621
+ }
622
+ },
623
+ {
624
+ "kind": "variable",
625
+ "name": "_DEFAULT_USER",
626
+ "type": {
627
+ "text": "string"
628
+ },
629
+ "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
630
+ "privacy": "public"
631
+ }
632
+ ],
633
+ "exports": [
634
+ {
635
+ "kind": "js",
636
+ "name": "SOCKET_EXT",
637
+ "declaration": {
638
+ "name": "_SOCKET_EXT",
639
+ "module": "src/env/variables.ts"
640
+ }
641
+ },
642
+ {
643
+ "kind": "js",
644
+ "name": "FORCE_HTTP",
645
+ "declaration": {
646
+ "name": "_FORCE_HTTP",
647
+ "module": "src/env/variables.ts"
648
+ }
649
+ },
650
+ {
651
+ "kind": "js",
652
+ "name": "API_HOST",
653
+ "declaration": {
654
+ "name": "_API_HOST",
655
+ "module": "src/env/variables.ts"
656
+ }
657
+ },
658
+ {
659
+ "kind": "js",
660
+ "name": "HTTP_CONFIG",
661
+ "declaration": {
662
+ "name": "_HTTP_CONFIG",
663
+ "module": "src/env/variables.ts"
664
+ }
665
+ },
666
+ {
667
+ "kind": "js",
668
+ "name": "DEFAULT_ORGANISATION",
669
+ "declaration": {
670
+ "name": "_DEFAULT_ORGANISATION",
671
+ "module": "src/env/variables.ts"
672
+ }
673
+ },
674
+ {
675
+ "kind": "js",
676
+ "name": "DEFAULT_PASSWORD",
677
+ "declaration": {
678
+ "name": "_DEFAULT_PASSWORD",
679
+ "module": "src/env/variables.ts"
680
+ }
681
+ },
682
+ {
683
+ "kind": "js",
684
+ "name": "DEFAULT_USER",
685
+ "declaration": {
686
+ "name": "_DEFAULT_USER",
687
+ "module": "src/env/variables.ts"
688
+ }
689
+ }
690
+ ]
691
+ },
469
692
  {
470
693
  "kind": "javascript-module",
471
694
  "path": "src/error/errorMap.ts",
@@ -958,229 +1181,6 @@
958
1181
  }
959
1182
  ]
960
1183
  },
961
- {
962
- "kind": "javascript-module",
963
- "path": "src/env/index.ts",
964
- "declarations": [],
965
- "exports": [
966
- {
967
- "kind": "js",
968
- "name": "*",
969
- "declaration": {
970
- "name": "*",
971
- "package": "./is-dev"
972
- }
973
- },
974
- {
975
- "kind": "js",
976
- "name": "*",
977
- "declaration": {
978
- "name": "*",
979
- "package": "./variables"
980
- }
981
- }
982
- ]
983
- },
984
- {
985
- "kind": "javascript-module",
986
- "path": "src/env/is-dev.ts",
987
- "declarations": [
988
- {
989
- "kind": "function",
990
- "name": "isDev",
991
- "description": "Determines if the current environment is a development environment.",
992
- "privacy": "public"
993
- }
994
- ],
995
- "exports": [
996
- {
997
- "kind": "js",
998
- "name": "isDev",
999
- "declaration": {
1000
- "name": "isDev",
1001
- "module": "src/env/is-dev.ts"
1002
- }
1003
- }
1004
- ]
1005
- },
1006
- {
1007
- "kind": "javascript-module",
1008
- "path": "src/env/variables.ts",
1009
- "declarations": [
1010
- {
1011
- "kind": "variable",
1012
- "name": "SOCKET_EXT",
1013
- "type": {
1014
- "text": "string"
1015
- }
1016
- },
1017
- {
1018
- "kind": "variable",
1019
- "name": "_SOCKET_EXT",
1020
- "type": {
1021
- "text": "string"
1022
- },
1023
- "default": "'gwf'",
1024
- "description": "The sub-path used for WebSocket connections when API_HOST is not set",
1025
- "privacy": "public"
1026
- },
1027
- {
1028
- "kind": "variable",
1029
- "name": "FORCE_HTTP",
1030
- "type": {
1031
- "text": "string"
1032
- }
1033
- },
1034
- {
1035
- "kind": "variable",
1036
- "name": "_FORCE_HTTP",
1037
- "type": {
1038
- "text": "string"
1039
- },
1040
- "description": "The path to a JSON config file for the HTTP mode.",
1041
- "privacy": "public"
1042
- },
1043
- {
1044
- "kind": "variable",
1045
- "name": "API_HOST",
1046
- "type": {
1047
- "text": "string"
1048
- }
1049
- },
1050
- {
1051
- "kind": "variable",
1052
- "name": "_API_HOST",
1053
- "type": {
1054
- "text": "string"
1055
- },
1056
- "default": "`${PROTOCOL}//${location.host}/${_SOCKET_EXT}/`",
1057
- "description": "The Genesis Server URL (WebSocket or HTTP).",
1058
- "privacy": "public"
1059
- },
1060
- {
1061
- "kind": "variable",
1062
- "name": "HTTP_CONFIG",
1063
- "type": {
1064
- "text": "string"
1065
- }
1066
- },
1067
- {
1068
- "kind": "variable",
1069
- "name": "_HTTP_CONFIG",
1070
- "type": {
1071
- "text": "string"
1072
- },
1073
- "description": "Configuration settings for HTTP, used in http connect flow [`genesislcap-foundation-comms.HttpConnectConfig`](https://link-to-docs).",
1074
- "privacy": "public"
1075
- },
1076
- {
1077
- "kind": "variable",
1078
- "name": "DEFAULT_ORGANISATION",
1079
- "type": {
1080
- "text": "string"
1081
- }
1082
- },
1083
- {
1084
- "kind": "variable",
1085
- "name": "_DEFAULT_ORGANISATION",
1086
- "type": {
1087
- "text": "string"
1088
- },
1089
- "description": "The default Organisation value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1090
- "privacy": "public"
1091
- },
1092
- {
1093
- "kind": "variable",
1094
- "name": "DEFAULT_PASSWORD",
1095
- "type": {
1096
- "text": "string"
1097
- }
1098
- },
1099
- {
1100
- "kind": "variable",
1101
- "name": "_DEFAULT_PASSWORD",
1102
- "type": {
1103
- "text": "string"
1104
- },
1105
- "description": "The default Password value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1106
- "privacy": "public"
1107
- },
1108
- {
1109
- "kind": "variable",
1110
- "name": "DEFAULT_USER",
1111
- "type": {
1112
- "text": "string"
1113
- }
1114
- },
1115
- {
1116
- "kind": "variable",
1117
- "name": "_DEFAULT_USER",
1118
- "type": {
1119
- "text": "string"
1120
- },
1121
- "description": "The default Username value, used in auth/login flow [`genesislcap-foundation-login`](https://link-to-docs).",
1122
- "privacy": "public"
1123
- }
1124
- ],
1125
- "exports": [
1126
- {
1127
- "kind": "js",
1128
- "name": "SOCKET_EXT",
1129
- "declaration": {
1130
- "name": "_SOCKET_EXT",
1131
- "module": "src/env/variables.ts"
1132
- }
1133
- },
1134
- {
1135
- "kind": "js",
1136
- "name": "FORCE_HTTP",
1137
- "declaration": {
1138
- "name": "_FORCE_HTTP",
1139
- "module": "src/env/variables.ts"
1140
- }
1141
- },
1142
- {
1143
- "kind": "js",
1144
- "name": "API_HOST",
1145
- "declaration": {
1146
- "name": "_API_HOST",
1147
- "module": "src/env/variables.ts"
1148
- }
1149
- },
1150
- {
1151
- "kind": "js",
1152
- "name": "HTTP_CONFIG",
1153
- "declaration": {
1154
- "name": "_HTTP_CONFIG",
1155
- "module": "src/env/variables.ts"
1156
- }
1157
- },
1158
- {
1159
- "kind": "js",
1160
- "name": "DEFAULT_ORGANISATION",
1161
- "declaration": {
1162
- "name": "_DEFAULT_ORGANISATION",
1163
- "module": "src/env/variables.ts"
1164
- }
1165
- },
1166
- {
1167
- "kind": "js",
1168
- "name": "DEFAULT_PASSWORD",
1169
- "declaration": {
1170
- "name": "_DEFAULT_PASSWORD",
1171
- "module": "src/env/variables.ts"
1172
- }
1173
- },
1174
- {
1175
- "kind": "js",
1176
- "name": "DEFAULT_USER",
1177
- "declaration": {
1178
- "name": "_DEFAULT_USER",
1179
- "module": "src/env/variables.ts"
1180
- }
1181
- }
1182
- ]
1183
- },
1184
1184
  {
1185
1185
  "kind": "javascript-module",
1186
1186
  "path": "src/mappers/index.ts",
@@ -1471,6 +1471,14 @@
1471
1471
  "name": "*",
1472
1472
  "package": "./typography"
1473
1473
  }
1474
+ },
1475
+ {
1476
+ "kind": "js",
1477
+ "name": "*",
1478
+ "declaration": {
1479
+ "name": "*",
1480
+ "package": "./toElementStyles"
1481
+ }
1474
1482
  }
1475
1483
  ]
1476
1484
  },
@@ -1545,6 +1553,42 @@
1545
1553
  }
1546
1554
  ]
1547
1555
  },
1556
+ {
1557
+ "kind": "javascript-module",
1558
+ "path": "src/styles/toElementStyles.ts",
1559
+ "declarations": [
1560
+ {
1561
+ "kind": "function",
1562
+ "name": "toElementStyles",
1563
+ "return": {
1564
+ "type": {
1565
+ "text": "ElementStyles"
1566
+ }
1567
+ },
1568
+ "parameters": [
1569
+ {
1570
+ "name": "styles",
1571
+ "type": {
1572
+ "text": "ComposableStyles | ComposableStyles[]"
1573
+ },
1574
+ "description": "ComposableStyles or a ComposableStyles array."
1575
+ }
1576
+ ],
1577
+ "description": "toElementStyles.",
1578
+ "privacy": "public"
1579
+ }
1580
+ ],
1581
+ "exports": [
1582
+ {
1583
+ "kind": "js",
1584
+ "name": "toElementStyles",
1585
+ "declaration": {
1586
+ "name": "toElementStyles",
1587
+ "module": "src/styles/toElementStyles.ts"
1588
+ }
1589
+ }
1590
+ ]
1591
+ },
1548
1592
  {
1549
1593
  "kind": "javascript-module",
1550
1594
  "path": "src/styles/typography.ts",
@@ -2,4 +2,5 @@ export * from './color';
2
2
  export * from './dom';
3
3
  export * from './slotted-styles';
4
4
  export * from './typography';
5
+ export * from './toElementStyles';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { ComposableStyles, ElementStyles } from '@microsoft/fast-element';
2
+ /**
3
+ * toElementStyles.
4
+ * @remarks
5
+ * Converts {@link @microsoft/fast-element#ComposableStyles} or a ComposableStyles array to {@link @microsoft/fast-element#ElementStyles}.
6
+ * @param styles - ComposableStyles or a ComposableStyles array.
7
+ * @public
8
+ */
9
+ export declare function toElementStyles(styles: ComposableStyles | ComposableStyles[]): ElementStyles;
10
+ //# sourceMappingURL=toElementStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toElementStyles.d.ts","sourceRoot":"","sources":["../../../src/styles/toElementStyles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE1E;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,gBAAgB,GAAG,gBAAgB,EAAE,GAAG,aAAa,CAW5F"}
@@ -2,3 +2,4 @@ export * from './color';
2
2
  export * from './dom';
3
3
  export * from './slotted-styles';
4
4
  export * from './typography';
5
+ export * from './toElementStyles';
@@ -0,0 +1,20 @@
1
+ import { ElementStyles } from '@microsoft/fast-element';
2
+ /**
3
+ * toElementStyles.
4
+ * @remarks
5
+ * Converts {@link @microsoft/fast-element#ComposableStyles} or a ComposableStyles array to {@link @microsoft/fast-element#ElementStyles}.
6
+ * @param styles - ComposableStyles or a ComposableStyles array.
7
+ * @public
8
+ */
9
+ export function toElementStyles(styles) {
10
+ if (!styles) {
11
+ return;
12
+ }
13
+ if (Array.isArray(styles)) {
14
+ return ElementStyles.create(styles);
15
+ }
16
+ if (styles instanceof ElementStyles) {
17
+ return styles;
18
+ }
19
+ return ElementStyles.create([styles]);
20
+ }
@@ -12053,6 +12053,66 @@
12053
12053
  ],
12054
12054
  "name": "sync"
12055
12055
  },
12056
+ {
12057
+ "kind": "Function",
12058
+ "canonicalReference": "@genesislcap/foundation-utils!toElementStyles:function(1)",
12059
+ "docComment": "/**\n * toElementStyles.\n *\n * @remarks\n *\n * Converts {@link @microsoft/fast-element#ComposableStyles} or a ComposableStyles array to {@link @microsoft/fast-element#ElementStyles}.\n *\n * @param styles - ComposableStyles or a ComposableStyles array.\n *\n * @public\n */\n",
12060
+ "excerptTokens": [
12061
+ {
12062
+ "kind": "Content",
12063
+ "text": "export declare function toElementStyles(styles: "
12064
+ },
12065
+ {
12066
+ "kind": "Reference",
12067
+ "text": "ComposableStyles",
12068
+ "canonicalReference": "@microsoft/fast-element!ComposableStyles:type"
12069
+ },
12070
+ {
12071
+ "kind": "Content",
12072
+ "text": " | "
12073
+ },
12074
+ {
12075
+ "kind": "Reference",
12076
+ "text": "ComposableStyles",
12077
+ "canonicalReference": "@microsoft/fast-element!ComposableStyles:type"
12078
+ },
12079
+ {
12080
+ "kind": "Content",
12081
+ "text": "[]"
12082
+ },
12083
+ {
12084
+ "kind": "Content",
12085
+ "text": "): "
12086
+ },
12087
+ {
12088
+ "kind": "Reference",
12089
+ "text": "ElementStyles",
12090
+ "canonicalReference": "@microsoft/fast-element!ElementStyles:class"
12091
+ },
12092
+ {
12093
+ "kind": "Content",
12094
+ "text": ";"
12095
+ }
12096
+ ],
12097
+ "fileUrlPath": "src/styles/toElementStyles.ts",
12098
+ "returnTypeTokenRange": {
12099
+ "startIndex": 6,
12100
+ "endIndex": 7
12101
+ },
12102
+ "releaseTag": "Public",
12103
+ "overloadIndex": 1,
12104
+ "parameters": [
12105
+ {
12106
+ "parameterName": "styles",
12107
+ "parameterTypeTokenRange": {
12108
+ "startIndex": 1,
12109
+ "endIndex": 5
12110
+ },
12111
+ "isOptional": false
12112
+ }
12113
+ ],
12114
+ "name": "toElementStyles"
12115
+ },
12056
12116
  {
12057
12117
  "kind": "Variable",
12058
12118
  "canonicalReference": "@genesislcap/foundation-utils!TypeRampValues:var",
@@ -1,5 +1,6 @@
1
1
  import { Binding } from '@microsoft/fast-element';
2
2
  import { CaptureType } from '@microsoft/fast-element';
3
+ import { ComposableStyles } from '@microsoft/fast-element';
3
4
  import { Consola } from 'consola';
4
5
  import { ConsolaOptions } from 'consola';
5
6
  import { Constructable } from '@microsoft/fast-element';
@@ -1601,6 +1602,15 @@ export declare type Subscribe<EventType> = (listener: Listener<EventType>) => ()
1601
1602
  */
1602
1603
  export declare function sync<TSource = any, TReturn = any>(binding: Binding<TSource, TReturn>, conversionType?: ConversionType, eventName?: EventName, keyAttr?: string): CaptureType<TSource>;
1603
1604
 
1605
+ /**
1606
+ * toElementStyles.
1607
+ * @remarks
1608
+ * Converts {@link @microsoft/fast-element#ComposableStyles} or a ComposableStyles array to {@link @microsoft/fast-element#ElementStyles}.
1609
+ * @param styles - ComposableStyles or a ComposableStyles array.
1610
+ * @public
1611
+ */
1612
+ export declare function toElementStyles(styles: ComposableStyles | ComposableStyles[]): ElementStyles;
1613
+
1604
1614
  /**
1605
1615
  * An object containing type ramp values.
1606
1616
  * @public
@@ -36,6 +36,7 @@
36
36
  | [JSONReviver(key, value)](./foundation-utils.jsonreviver.md) | JSON reviver function. |
37
37
  | [renderOnChange(target, name)](./foundation-utils.renderonchange.md) | Defines a property changed handler that calls a render() method on the target as an internal observation enhancement. |
38
38
  | [sync(binding, conversionType, eventName, keyAttr)](./foundation-utils.sync.md) | Creates a synchronization directive that binds a data source to an HTML element, |
39
+ | [toElementStyles(styles)](./foundation-utils.toelementstyles.md) | toElementStyles. |
39
40
  | [whenElse(binding, trueTemplateOrTemplateBinding, falseTemplateOrTemplateBinding)](./foundation-utils.whenelse.md) | Directive that allows supplying an "else" template to the traditional [https://www.fast.design/docs/api/fast-element.when/\#when-function](https://www.fast.design/docs/api/fast-element.when/#when-function) directive |
40
41
 
41
42
  ## Interfaces
@@ -0,0 +1,28 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-utils](./foundation-utils.md) &gt; [toElementStyles](./foundation-utils.toelementstyles.md)
4
+
5
+ ## toElementStyles() function
6
+
7
+ toElementStyles.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export declare function toElementStyles(styles: ComposableStyles | ComposableStyles[]): ElementStyles;
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | styles | ComposableStyles \| ComposableStyles\[\] | ComposableStyles or a ComposableStyles array. |
20
+
21
+ **Returns:**
22
+
23
+ ElementStyles
24
+
25
+ ## Remarks
26
+
27
+ Converts or a ComposableStyles array to .
28
+
@@ -6,6 +6,7 @@
6
6
 
7
7
  import { Binding } from '@microsoft/fast-element';
8
8
  import { CaptureType } from '@microsoft/fast-element';
9
+ import { ComposableStyles } from '@microsoft/fast-element';
9
10
  import { Consola } from 'consola';
10
11
  import { ConsolaOptions } from 'consola';
11
12
  import { Constructable } from '@microsoft/fast-element';
@@ -1112,6 +1113,9 @@ export type Subscribe<EventType> = (listener: Listener<EventType>) => () => void
1112
1113
  // @public
1113
1114
  export function sync<TSource = any, TReturn = any>(binding: Binding<TSource, TReturn>, conversionType?: ConversionType, eventName?: EventName, keyAttr?: string): CaptureType<TSource>;
1114
1115
 
1116
+ // @public
1117
+ export function toElementStyles(styles: ComposableStyles | ComposableStyles[]): ElementStyles;
1118
+
1115
1119
  // @public
1116
1120
  export const TypeRampValues: {
1117
1121
  readonly minusOne: -1;
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.95.0",
4
+ "version": "14.96.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -19,12 +19,12 @@
19
19
  "test": "genx test"
20
20
  },
21
21
  "devDependencies": {
22
- "@genesislcap/foundation-testing": "14.95.0",
23
- "@genesislcap/genx": "14.95.0",
22
+ "@genesislcap/foundation-testing": "14.96.0",
23
+ "@genesislcap/genx": "14.96.0",
24
24
  "rimraf": "^3.0.2"
25
25
  },
26
26
  "dependencies": {
27
- "@genesislcap/foundation-logger": "14.95.0",
27
+ "@genesislcap/foundation-logger": "14.96.0",
28
28
  "@microsoft/fast-components": "^2.21.3",
29
29
  "@microsoft/fast-element": "^1.7.0",
30
30
  "@microsoft/fast-foundation": "^2.33.2",
@@ -42,5 +42,5 @@
42
42
  "access": "public"
43
43
  },
44
44
  "customElements": "dist/custom-elements.json",
45
- "gitHead": "c104bd1dbc712b08c2e279f71f1f3ba2fca5c34c"
45
+ "gitHead": "65b7a0ee750748ce8a8a5ac374e56fd50623118e"
46
46
  }