@mml-io/3d-web-client-core 0.0.0-experimental-2ed8f19-20241118 → 0.0.0-experimental-19bc481-20241121

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,8 +1,29 @@
1
1
  import { LoadingProgressManager } from "mml-web";
2
+ export type LoadingScreenConfig = {
3
+ background?: string;
4
+ backgroundImageUrl?: string;
5
+ backgroundBlurAmount?: number;
6
+ overlayLayers?: Array<{
7
+ overlayImageUrl: string;
8
+ overlayAnchor: "top-left" | "top-right" | "bottom-left" | "bottom-right";
9
+ overlayOffset?: {
10
+ x: number;
11
+ y: number;
12
+ };
13
+ }>;
14
+ title?: string;
15
+ subtitle?: string;
16
+ color?: string;
17
+ };
2
18
  export declare class LoadingScreen {
3
19
  private loadingProgressManager;
20
+ private config?;
4
21
  readonly element: HTMLDivElement;
5
- private loadingBannerText;
22
+ private readonly backgroundBlur;
23
+ private overlayLayers;
24
+ private loadingBanner;
25
+ private loadingBannerTitle;
26
+ private loadingBannerSubtitle;
6
27
  private progressBarBackground;
7
28
  private progressBarHolder;
8
29
  private progressBar;
@@ -15,6 +36,6 @@ export declare class LoadingScreen {
15
36
  private hasCompleted;
16
37
  private loadingCallback;
17
38
  private disposed;
18
- constructor(loadingProgressManager: LoadingProgressManager);
39
+ constructor(loadingProgressManager: LoadingProgressManager, config?: LoadingScreenConfig | undefined);
19
40
  dispose(): void;
20
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mml-io/3d-web-client-core",
3
- "version": "0.0.0-experimental-2ed8f19-20241118",
3
+ "version": "0.0.0-experimental-19bc481-20241121",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -18,7 +18,7 @@
18
18
  "lint-fix": "eslint \"./{src,test}/**/*.{js,jsx,ts,tsx}\" --fix"
19
19
  },
20
20
  "dependencies": {
21
- "@mml-io/3d-web-avatar": "0.0.0-experimental-2ed8f19-20241118",
21
+ "@mml-io/3d-web-avatar": "0.0.0-experimental-19bc481-20241121",
22
22
  "@mml-io/model-loader": "0.18.1",
23
23
  "@monogrid/gainmap-js": "^3.0.5",
24
24
  "@tweakpane/core": "2.0.4",
@@ -34,5 +34,5 @@
34
34
  "devDependencies": {
35
35
  "@types/three": "0.163.0"
36
36
  },
37
- "gitHead": "b4439060b5554399c8ee2ad0d3152b35d342ca06"
37
+ "gitHead": "27c09cc2f0477299e8f452b8e9c28801ac55c3d5"
38
38
  }