@genesislcap/foundation-header 14.224.0 → 14.224.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.
- package/dist/custom-elements.json +0 -6
- package/dist/dts/components/zero-components.d.ts.map +1 -1
- package/dist/esm/components/zero-components.js +4 -32
- package/package.json +21 -21
- package/dist/dts/index.federated.d.ts +0 -1
- package/dist/dts/index.federated.d.ts.map +0 -1
- package/dist/esm/index.federated.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zero-components.d.ts","sourceRoot":"","sources":["../../../src/components/zero-components.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zero-components.d.ts","sourceRoot":"","sources":["../../../src/components/zero-components.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,4BAA4B,qBA+BxC,CAAC"}
|
|
@@ -1,39 +1,11 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
|
-
import { assureDesignSystem, ResourceType, } from '@genesislcap/foundation-utils';
|
|
3
|
-
import { logger } from '../utils';
|
|
4
|
-
/**
|
|
5
|
-
* @remarks
|
|
6
|
-
* Attempts to use a module federation version of zero before falling back to the version that was bundled with the app.
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
|
-
function zeroDesignSystemImport() {
|
|
10
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
11
|
-
let module;
|
|
12
|
-
let type = ResourceType.remote;
|
|
13
|
-
try {
|
|
14
|
-
module = yield import(
|
|
15
|
-
/* webpackChunkName: "foundation-zero" */
|
|
16
|
-
'foundationZero/ZeroDesignSystem');
|
|
17
|
-
return assureDesignSystem(module);
|
|
18
|
-
}
|
|
19
|
-
catch (e) {
|
|
20
|
-
logger.info(`Please note remoteEntry.js load errors are expected if module federated dependencies are offline. Falling back to locally bundled versions.`);
|
|
21
|
-
type = ResourceType.local;
|
|
22
|
-
module = yield import(
|
|
23
|
-
/* webpackChunkName: "foundation-zero" */
|
|
24
|
-
'@genesislcap/foundation-zero');
|
|
25
|
-
return assureDesignSystem(module);
|
|
26
|
-
}
|
|
27
|
-
finally {
|
|
28
|
-
logger.debug(`Using '${type}' version of foundation-zero`);
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
2
|
/**
|
|
33
3
|
* @public
|
|
34
4
|
*/
|
|
35
5
|
export const registerCommonZeroComponents = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
36
|
-
const { provideDesignSystem, zeroIcon, zeroButton, zeroDesignSystemProvider, zeroSelect, zeroListboxOption, zeroFlyout,
|
|
6
|
+
const { provideDesignSystem, zeroIcon, zeroButton, zeroDesignSystemProvider, zeroSelect, zeroListboxOption, zeroFlyout, } = yield import(
|
|
7
|
+
/* webpackChunkName: "foundation-zero" */
|
|
8
|
+
'@genesislcap/foundation-zero');
|
|
37
9
|
/**
|
|
38
10
|
* Register the components the app is using with the system.
|
|
39
11
|
*/
|
|
@@ -45,5 +17,5 @@ export const registerCommonZeroComponents = () => __awaiter(void 0, void 0, void
|
|
|
45
17
|
/**
|
|
46
18
|
* Common across most routes, so batch register these lightweight components upfront.
|
|
47
19
|
*/
|
|
48
|
-
zeroIcon(), zeroButton(), zeroSelect(), zeroListboxOption(), zeroFlyout()
|
|
20
|
+
zeroIcon(), zeroButton(), zeroSelect(), zeroListboxOption(), zeroFlyout());
|
|
49
21
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-header",
|
|
3
3
|
"description": "Genesis Foundation Header",
|
|
4
|
-
"version": "14.224.
|
|
4
|
+
"version": "14.224.2",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/foundation-header.d.ts",
|
|
@@ -77,28 +77,28 @@
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@genesislcap/foundation-testing": "14.224.
|
|
81
|
-
"@genesislcap/genx": "14.224.
|
|
82
|
-
"@genesislcap/rollup-builder": "14.224.
|
|
83
|
-
"@genesislcap/ts-builder": "14.224.
|
|
84
|
-
"@genesislcap/uvu-playwright-builder": "14.224.
|
|
85
|
-
"@genesislcap/vite-builder": "14.224.
|
|
86
|
-
"@genesislcap/webpack-builder": "14.224.
|
|
80
|
+
"@genesislcap/foundation-testing": "14.224.2",
|
|
81
|
+
"@genesislcap/genx": "14.224.2",
|
|
82
|
+
"@genesislcap/rollup-builder": "14.224.2",
|
|
83
|
+
"@genesislcap/ts-builder": "14.224.2",
|
|
84
|
+
"@genesislcap/uvu-playwright-builder": "14.224.2",
|
|
85
|
+
"@genesislcap/vite-builder": "14.224.2",
|
|
86
|
+
"@genesislcap/webpack-builder": "14.224.2",
|
|
87
87
|
"rimraf": "^5.0.0"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@genesislcap/foundation-auth": "14.224.
|
|
91
|
-
"@genesislcap/foundation-comms": "14.224.
|
|
92
|
-
"@genesislcap/foundation-events": "14.224.
|
|
93
|
-
"@genesislcap/foundation-i18n": "14.224.
|
|
94
|
-
"@genesislcap/foundation-logger": "14.224.
|
|
95
|
-
"@genesislcap/foundation-shell": "14.224.
|
|
96
|
-
"@genesislcap/foundation-ui": "14.224.
|
|
97
|
-
"@genesislcap/foundation-user": "14.224.
|
|
98
|
-
"@genesislcap/foundation-utils": "14.224.
|
|
99
|
-
"@genesislcap/foundation-zero": "14.224.
|
|
100
|
-
"@genesislcap/rapid-design-system": "14.224.
|
|
101
|
-
"@genesislcap/web-core": "14.224.
|
|
90
|
+
"@genesislcap/foundation-auth": "14.224.2",
|
|
91
|
+
"@genesislcap/foundation-comms": "14.224.2",
|
|
92
|
+
"@genesislcap/foundation-events": "14.224.2",
|
|
93
|
+
"@genesislcap/foundation-i18n": "14.224.2",
|
|
94
|
+
"@genesislcap/foundation-logger": "14.224.2",
|
|
95
|
+
"@genesislcap/foundation-shell": "14.224.2",
|
|
96
|
+
"@genesislcap/foundation-ui": "14.224.2",
|
|
97
|
+
"@genesislcap/foundation-user": "14.224.2",
|
|
98
|
+
"@genesislcap/foundation-utils": "14.224.2",
|
|
99
|
+
"@genesislcap/foundation-zero": "14.224.2",
|
|
100
|
+
"@genesislcap/rapid-design-system": "14.224.2",
|
|
101
|
+
"@genesislcap/web-core": "14.224.2",
|
|
102
102
|
"tslib": "^2.3.1"
|
|
103
103
|
},
|
|
104
104
|
"repository": {
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"access": "public"
|
|
111
111
|
},
|
|
112
112
|
"customElements": "dist/custom-elements.json",
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "18c2b90ffb7ba7234a5adac416589a81969b6ae9"
|
|
114
114
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.federated.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.federated.d.ts","sourceRoot":"","sources":["../../src/index.federated.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import('./index');
|