@babylonjs/gui-editor 9.4.1 → 9.5.0
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.
|
@@ -103,6 +103,19 @@ export interface IEditorData {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
+
}
|
|
107
|
+
declare module "@babylonjs/gui-editor/main" {
|
|
108
|
+
/**
|
|
109
|
+
* Vite dev server entry point for the GUI Editor.
|
|
110
|
+
*
|
|
111
|
+
* Uses dynamic import so the editor module graph (which contains
|
|
112
|
+
* `const { X } = window.BABYLON ?? {}` bindings) loads only after
|
|
113
|
+
* the CDN bootstrap has set window.BABYLON.
|
|
114
|
+
*/
|
|
115
|
+
type ShowArgs = Parameters<(typeof import("@babylonjs/gui-editor/guiEditor"))["GUIEditor"]["Show"]>;
|
|
116
|
+
function StartEditor(args: ShowArgs): Promise<void>;
|
|
117
|
+
const Win: Record<string, unknown>;
|
|
118
|
+
|
|
106
119
|
}
|
|
107
120
|
declare module "@babylonjs/gui-editor/keyboardManager" {
|
|
108
121
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/gui-editor",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.0",
|
|
4
4
|
"main": "dist/babylon.guiEditor.js",
|
|
5
5
|
"module": "dist/babylon.guiEditor.js",
|
|
6
6
|
"esnext": "dist/babylon.guiEditor.js",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@types/react-dom": ">=16.0.9"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@babylonjs/core": "9.
|
|
28
|
-
"@babylonjs/gui": "9.
|
|
27
|
+
"@babylonjs/core": "9.5.0",
|
|
28
|
+
"@babylonjs/gui": "9.5.0",
|
|
29
29
|
"@tools/gui-editor": "1.0.0",
|
|
30
30
|
"react": "^18.2.0",
|
|
31
31
|
"react-dom": "^18.2.0"
|