@genesislcap/foundation-ui 14.141.2 → 14.141.3
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.
|
@@ -826,37 +826,6 @@
|
|
|
826
826
|
}
|
|
827
827
|
]
|
|
828
828
|
},
|
|
829
|
-
{
|
|
830
|
-
"kind": "javascript-module",
|
|
831
|
-
"path": "src/_config/index.ts",
|
|
832
|
-
"declarations": [],
|
|
833
|
-
"exports": [
|
|
834
|
-
{
|
|
835
|
-
"kind": "js",
|
|
836
|
-
"name": "*",
|
|
837
|
-
"declaration": {
|
|
838
|
-
"name": "*",
|
|
839
|
-
"package": "./styles"
|
|
840
|
-
}
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"kind": "js",
|
|
844
|
-
"name": "*",
|
|
845
|
-
"declaration": {
|
|
846
|
-
"name": "*",
|
|
847
|
-
"package": "./tokens"
|
|
848
|
-
}
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
"kind": "js",
|
|
852
|
-
"name": "*",
|
|
853
|
-
"declaration": {
|
|
854
|
-
"name": "*",
|
|
855
|
-
"package": "./values"
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
]
|
|
859
|
-
},
|
|
860
829
|
{
|
|
861
830
|
"kind": "javascript-module",
|
|
862
831
|
"path": "src/accordion/accordion.styles.ts",
|
|
@@ -1039,6 +1008,37 @@
|
|
|
1039
1008
|
}
|
|
1040
1009
|
]
|
|
1041
1010
|
},
|
|
1011
|
+
{
|
|
1012
|
+
"kind": "javascript-module",
|
|
1013
|
+
"path": "src/_config/index.ts",
|
|
1014
|
+
"declarations": [],
|
|
1015
|
+
"exports": [
|
|
1016
|
+
{
|
|
1017
|
+
"kind": "js",
|
|
1018
|
+
"name": "*",
|
|
1019
|
+
"declaration": {
|
|
1020
|
+
"name": "*",
|
|
1021
|
+
"package": "./styles"
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"kind": "js",
|
|
1026
|
+
"name": "*",
|
|
1027
|
+
"declaration": {
|
|
1028
|
+
"name": "*",
|
|
1029
|
+
"package": "./tokens"
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"kind": "js",
|
|
1034
|
+
"name": "*",
|
|
1035
|
+
"declaration": {
|
|
1036
|
+
"name": "*",
|
|
1037
|
+
"package": "./values"
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
]
|
|
1041
|
+
},
|
|
1042
1042
|
{
|
|
1043
1043
|
"kind": "javascript-module",
|
|
1044
1044
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -53,10 +53,9 @@ export class NotificationListener extends FoundationElement {
|
|
|
53
53
|
const rows = dataServerResult.inserts;
|
|
54
54
|
if (rows.length > 0) {
|
|
55
55
|
rows.forEach((row) => {
|
|
56
|
-
var _a;
|
|
57
56
|
const { HEADER: title, MESSAGE: message, NOTIFY_SEVERITY: type } = row;
|
|
58
57
|
const createdAt = row.CREATED_AT ? new Date(row.CREATED_AT) : undefined;
|
|
59
|
-
const expiry = row.EXPIRY ? row.EXPIRY - row.CREATED_AT :
|
|
58
|
+
const expiry = row.EXPIRY ? row.EXPIRY - row.CREATED_AT : undefined;
|
|
60
59
|
let buttons = [];
|
|
61
60
|
if (this.toastButtons && this.toastButtons.length > 0) {
|
|
62
61
|
buttons = this.toastButtons.filter(({ condition }) => !!condition ? condition({ details: row }) : true);
|
|
@@ -69,7 +68,7 @@ export class NotificationListener extends FoundationElement {
|
|
|
69
68
|
details: row,
|
|
70
69
|
type: type === null || type === void 0 ? void 0 : type.toLowerCase(),
|
|
71
70
|
buttons: buttons,
|
|
72
|
-
autoClose:
|
|
71
|
+
autoClose: expiry !== undefined ? !!expiry : !!this.closeTimeout,
|
|
73
72
|
closeTimeout: expiry !== null && expiry !== void 0 ? expiry : this.closeTimeout,
|
|
74
73
|
},
|
|
75
74
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-ui",
|
|
3
3
|
"description": "Genesis Foundation UI",
|
|
4
|
-
"version": "14.141.
|
|
4
|
+
"version": "14.141.3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"test:debug": "genx test --debug"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@genesislcap/foundation-testing": "14.141.
|
|
78
|
-
"@genesislcap/genx": "14.141.
|
|
77
|
+
"@genesislcap/foundation-testing": "14.141.3",
|
|
78
|
+
"@genesislcap/genx": "14.141.3",
|
|
79
79
|
"copyfiles": "^2.4.1",
|
|
80
80
|
"rimraf": "^3.0.2",
|
|
81
81
|
"rxjs": "^7.5.4"
|
|
@@ -86,12 +86,12 @@
|
|
|
86
86
|
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
|
87
87
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
|
88
88
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^4.0.0",
|
|
89
|
-
"@genesislcap/foundation-comms": "14.141.
|
|
90
|
-
"@genesislcap/foundation-criteria": "14.141.
|
|
91
|
-
"@genesislcap/foundation-errors": "14.141.
|
|
92
|
-
"@genesislcap/foundation-logger": "14.141.
|
|
93
|
-
"@genesislcap/foundation-notifications": "14.141.
|
|
94
|
-
"@genesislcap/foundation-utils": "14.141.
|
|
89
|
+
"@genesislcap/foundation-comms": "14.141.3",
|
|
90
|
+
"@genesislcap/foundation-criteria": "14.141.3",
|
|
91
|
+
"@genesislcap/foundation-errors": "14.141.3",
|
|
92
|
+
"@genesislcap/foundation-logger": "14.141.3",
|
|
93
|
+
"@genesislcap/foundation-notifications": "14.141.3",
|
|
94
|
+
"@genesislcap/foundation-utils": "14.141.3",
|
|
95
95
|
"@microsoft/fast-colors": "^5.3.1",
|
|
96
96
|
"@microsoft/fast-components": "^2.30.6",
|
|
97
97
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"access": "public"
|
|
114
114
|
},
|
|
115
115
|
"customElements": "dist/custom-elements.json",
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "37b360922e11609ac87d08b72cb66de130732b8d"
|
|
117
117
|
}
|