@genesislcap/foundation-login 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,5 +1,5 @@
1
1
  export type LoadRemotesOptions = {};
2
2
  export declare function loadRemotes(options: LoadRemotesOptions): Promise<{
3
- ZeroDesignSystem: any;
3
+ ZeroDesignSystem: import("@microsoft/fast-foundation").DesignSystem;
4
4
  }>;
5
5
  //# sourceMappingURL=components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":"AAkCA,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAEpC,wBAAsB,WAAW,CAAC,OAAO,EAAE,kBAAkB;;GAK5D"}
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":"AASA,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAEpC,wBAAsB,WAAW,CAAC,OAAO,EAAE,kBAAkB;;GAK5D"}
@@ -1,38 +1,10 @@
1
1
  import { __awaiter } from "tslib";
2
2
  import { FoundationRouter } from '@genesislcap/foundation-ui';
3
- import { logger } from '../utils';
4
- var ResourceType;
5
- (function (ResourceType) {
6
- ResourceType["LOCAL"] = "LOCAL";
7
- ResourceType["REMOTE"] = "REMOTE";
8
- })(ResourceType || (ResourceType = {}));
9
- /**
10
- * TODO: Think about sharing import functions across micro frontends.
11
- */
12
- function loadZeroFallback() {
3
+ function loadZeroDesignSystem() {
13
4
  return import(
14
5
  /* webpackMode: "lazy" */
15
6
  '@genesislcap/foundation-zero');
16
7
  }
17
- /**
18
- * Granular
19
- */
20
- function loadZeroDesignSystem() {
21
- return __awaiter(this, void 0, void 0, function* () {
22
- let type = ResourceType.REMOTE;
23
- try {
24
- // @ts-ignore
25
- return yield import('foundationZero/ZeroDesignSystem');
26
- }
27
- catch (e) {
28
- type = ResourceType.LOCAL;
29
- return yield loadZeroFallback();
30
- }
31
- finally {
32
- logger.debug(`Using '${type}' version of foundationZero/ZeroDesignSystem`);
33
- }
34
- });
35
- }
36
8
  export function loadRemotes(options) {
37
9
  return __awaiter(this, void 0, void 0, function* () {
38
10
  const { registerZeroDesignSystem } = yield loadZeroDesignSystem();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-login",
3
3
  "description": "Genesis Foundation Login",
4
- "version": "14.224.0",
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-login.d.ts",
@@ -67,22 +67,22 @@
67
67
  }
68
68
  },
69
69
  "devDependencies": {
70
- "@genesislcap/foundation-testing": "14.224.0",
71
- "@genesislcap/genx": "14.224.0",
72
- "@genesislcap/rollup-builder": "14.224.0",
73
- "@genesislcap/ts-builder": "14.224.0",
74
- "@genesislcap/uvu-playwright-builder": "14.224.0",
75
- "@genesislcap/vite-builder": "14.224.0",
76
- "@genesislcap/webpack-builder": "14.224.0",
70
+ "@genesislcap/foundation-testing": "14.224.2",
71
+ "@genesislcap/genx": "14.224.2",
72
+ "@genesislcap/rollup-builder": "14.224.2",
73
+ "@genesislcap/ts-builder": "14.224.2",
74
+ "@genesislcap/uvu-playwright-builder": "14.224.2",
75
+ "@genesislcap/vite-builder": "14.224.2",
76
+ "@genesislcap/webpack-builder": "14.224.2",
77
77
  "rimraf": "^5.0.0"
78
78
  },
79
79
  "dependencies": {
80
- "@genesislcap/foundation-comms": "14.224.0",
81
- "@genesislcap/foundation-i18n": "14.224.0",
82
- "@genesislcap/foundation-logger": "14.224.0",
83
- "@genesislcap/foundation-ui": "14.224.0",
84
- "@genesislcap/foundation-utils": "14.224.0",
85
- "@genesislcap/foundation-zero": "14.224.0",
80
+ "@genesislcap/foundation-comms": "14.224.2",
81
+ "@genesislcap/foundation-i18n": "14.224.2",
82
+ "@genesislcap/foundation-logger": "14.224.2",
83
+ "@genesislcap/foundation-ui": "14.224.2",
84
+ "@genesislcap/foundation-utils": "14.224.2",
85
+ "@genesislcap/foundation-zero": "14.224.2",
86
86
  "@microsoft/fast-components": "^2.30.6",
87
87
  "@microsoft/fast-element": "^1.12.0",
88
88
  "@microsoft/fast-foundation": "2.49.6",
@@ -100,5 +100,5 @@
100
100
  "access": "public"
101
101
  },
102
102
  "customElements": "dist/custom-elements.json",
103
- "gitHead": "3a419e0c35fae338860ed7f0d468e170357c7dc8"
103
+ "gitHead": "18c2b90ffb7ba7234a5adac416589a81969b6ae9"
104
104
  }