@genesislcap/foundation-progress-overlay 14.224.0 → 14.224.1
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/dts/components/components.d.ts +2 -6
- package/dist/dts/components/components.d.ts.map +1 -1
- package/dist/esm/components/components.js +4 -35
- package/package.json +11 -11
- 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,14 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Granular
|
|
3
|
-
*/
|
|
4
|
-
declare function loadZeroDesignSystem(): Promise<any>;
|
|
5
1
|
type LoadRemotesOptions = {};
|
|
6
2
|
declare function loadRemotes(options: LoadRemotesOptions): Promise<{
|
|
7
|
-
ZeroDesignSystem:
|
|
3
|
+
ZeroDesignSystem: import("@microsoft/fast-foundation").DesignSystem;
|
|
8
4
|
}>;
|
|
9
5
|
/**
|
|
10
6
|
* Ensure tree shaking doesn't remove these
|
|
11
7
|
* Perhaps we keep these MFs style free, ie. they need to get wrapped to have style applied. Keeping it simple for now.
|
|
12
8
|
*/
|
|
13
|
-
export { LoadRemotesOptions, loadRemotes
|
|
9
|
+
export { LoadRemotesOptions, loadRemotes };
|
|
14
10
|
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":"AAIA,KAAK,kBAAkB,GAAG,EAAE,CAAC;AAE7B,iBAAe,WAAW,CAAC,OAAO,EAAE,kBAAkB;;GAQrD;AAED;;;GAGG;AACH,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,42 +1,11 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import { fastProgress, provideFASTDesignSystem } from '@microsoft/fast-components';
|
|
3
|
-
import { logger } from '../utils';
|
|
4
3
|
provideFASTDesignSystem().register(fastProgress());
|
|
5
|
-
var ResourceType;
|
|
6
|
-
(function (ResourceType) {
|
|
7
|
-
ResourceType["LOCAL"] = "LOCAL";
|
|
8
|
-
ResourceType["REMOTE"] = "REMOTE";
|
|
9
|
-
})(ResourceType || (ResourceType = {}));
|
|
10
|
-
/**
|
|
11
|
-
* TODO: Think about sharing import functions across micro frontends.
|
|
12
|
-
*/
|
|
13
|
-
function loadZeroFallback() {
|
|
14
|
-
return import(
|
|
15
|
-
/* webpackMode: "lazy" */
|
|
16
|
-
'@genesislcap/foundation-zero');
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Granular
|
|
20
|
-
*/
|
|
21
|
-
function loadZeroDesignSystem() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
let type = ResourceType.REMOTE;
|
|
24
|
-
try {
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
return yield import('foundationZero/ZeroDesignSystem');
|
|
27
|
-
}
|
|
28
|
-
catch (e) {
|
|
29
|
-
type = ResourceType.LOCAL;
|
|
30
|
-
return yield loadZeroFallback();
|
|
31
|
-
}
|
|
32
|
-
finally {
|
|
33
|
-
logger.debug(`Using '${type}' version of foundationZero/ZeroDesignSystem`);
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
4
|
function loadRemotes(options) {
|
|
38
5
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
-
const { registerZeroDesignSystem } = yield
|
|
6
|
+
const { registerZeroDesignSystem } = yield import(
|
|
7
|
+
/* webpackMode: "lazy" */
|
|
8
|
+
'@genesislcap/foundation-zero');
|
|
40
9
|
return {
|
|
41
10
|
ZeroDesignSystem: registerZeroDesignSystem(),
|
|
42
11
|
};
|
|
@@ -46,4 +15,4 @@ function loadRemotes(options) {
|
|
|
46
15
|
* Ensure tree shaking doesn't remove these
|
|
47
16
|
* Perhaps we keep these MFs style free, ie. they need to get wrapped to have style applied. Keeping it simple for now.
|
|
48
17
|
*/
|
|
49
|
-
export { loadRemotes
|
|
18
|
+
export { loadRemotes };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-progress-overlay",
|
|
3
3
|
"description": "Genesis Foundation Progress Overlay",
|
|
4
|
-
"version": "14.224.
|
|
4
|
+
"version": "14.224.1",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/tbd.js",
|
|
7
7
|
"engines": {
|
|
@@ -41,18 +41,18 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@genesislcap/genx": "14.224.
|
|
45
|
-
"@genesislcap/rollup-builder": "14.224.
|
|
46
|
-
"@genesislcap/ts-builder": "14.224.
|
|
47
|
-
"@genesislcap/uvu-playwright-builder": "14.224.
|
|
48
|
-
"@genesislcap/vite-builder": "14.224.
|
|
49
|
-
"@genesislcap/webpack-builder": "14.224.
|
|
44
|
+
"@genesislcap/genx": "14.224.1",
|
|
45
|
+
"@genesislcap/rollup-builder": "14.224.1",
|
|
46
|
+
"@genesislcap/ts-builder": "14.224.1",
|
|
47
|
+
"@genesislcap/uvu-playwright-builder": "14.224.1",
|
|
48
|
+
"@genesislcap/vite-builder": "14.224.1",
|
|
49
|
+
"@genesislcap/webpack-builder": "14.224.1",
|
|
50
50
|
"rimraf": "^5.0.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@genesislcap/foundation-logger": "14.224.
|
|
54
|
-
"@genesislcap/foundation-utils": "14.224.
|
|
55
|
-
"@genesislcap/foundation-zero": "14.224.
|
|
53
|
+
"@genesislcap/foundation-logger": "14.224.1",
|
|
54
|
+
"@genesislcap/foundation-utils": "14.224.1",
|
|
55
|
+
"@genesislcap/foundation-zero": "14.224.1",
|
|
56
56
|
"@microsoft/fast-components": "^2.30.6",
|
|
57
57
|
"@microsoft/fast-element": "^1.12.0",
|
|
58
58
|
"tslib": "^2.3.1"
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "84efb166d0f84f3908014b548f58207cc29cedc6"
|
|
69
69
|
}
|
|
@@ -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');
|