@genesislcap/foundation-progress-overlay 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.
@@ -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: any;
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, loadZeroDesignSystem };
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":"AAqBA;;GAEG;AACH,iBAAe,oBAAoB,iBAWlC;AAED,KAAK,kBAAkB,GAAG,EAAE,CAAC;AAE7B,iBAAe,WAAW,CAAC,OAAO,EAAE,kBAAkB;;GAKrD;AAED;;;GAGG;AACH,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,oBAAoB,EAAE,CAAC"}
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 loadZeroDesignSystem();
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, loadZeroDesignSystem };
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.0",
4
+ "version": "14.224.2",
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.0",
45
- "@genesislcap/rollup-builder": "14.224.0",
46
- "@genesislcap/ts-builder": "14.224.0",
47
- "@genesislcap/uvu-playwright-builder": "14.224.0",
48
- "@genesislcap/vite-builder": "14.224.0",
49
- "@genesislcap/webpack-builder": "14.224.0",
44
+ "@genesislcap/genx": "14.224.2",
45
+ "@genesislcap/rollup-builder": "14.224.2",
46
+ "@genesislcap/ts-builder": "14.224.2",
47
+ "@genesislcap/uvu-playwright-builder": "14.224.2",
48
+ "@genesislcap/vite-builder": "14.224.2",
49
+ "@genesislcap/webpack-builder": "14.224.2",
50
50
  "rimraf": "^5.0.0"
51
51
  },
52
52
  "dependencies": {
53
- "@genesislcap/foundation-logger": "14.224.0",
54
- "@genesislcap/foundation-utils": "14.224.0",
55
- "@genesislcap/foundation-zero": "14.224.0",
53
+ "@genesislcap/foundation-logger": "14.224.2",
54
+ "@genesislcap/foundation-utils": "14.224.2",
55
+ "@genesislcap/foundation-zero": "14.224.2",
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": "3a419e0c35fae338860ed7f0d468e170357c7dc8"
68
+ "gitHead": "18c2b90ffb7ba7234a5adac416589a81969b6ae9"
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');