babylonjs-gui-editor 5.29.0 → 5.30.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.
- package/babylon.guiEditor.d.ts +13 -1
- package/babylon.guiEditor.module.d.ts +27 -3
- package/package.json +3 -3
package/babylon.guiEditor.d.ts
CHANGED
|
@@ -1744,7 +1744,11 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1744
1744
|
/**
|
|
1745
1745
|
* React component rendered by tab
|
|
1746
1746
|
*/
|
|
1747
|
-
component: React.
|
|
1747
|
+
component: React.ReactElement;
|
|
1748
|
+
/**
|
|
1749
|
+
* Tab title
|
|
1750
|
+
*/
|
|
1751
|
+
title: string;
|
|
1748
1752
|
};
|
|
1749
1753
|
export type LayoutTabsRow = {
|
|
1750
1754
|
/**
|
|
@@ -3030,11 +3034,17 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
3030
3034
|
static readonly NodeWidth = 100;
|
|
3031
3035
|
private readonly _minZoom;
|
|
3032
3036
|
private readonly _maxZoom;
|
|
3037
|
+
private _hostCanvasRef;
|
|
3033
3038
|
private _hostCanvas;
|
|
3039
|
+
private _graphCanvasRef;
|
|
3034
3040
|
private _graphCanvas;
|
|
3041
|
+
private _selectionContainerRef;
|
|
3035
3042
|
private _selectionContainer;
|
|
3043
|
+
private _frameContainerRef;
|
|
3036
3044
|
private _frameContainer;
|
|
3045
|
+
private _svgCanvasRef;
|
|
3037
3046
|
private _svgCanvas;
|
|
3047
|
+
private _rootContainerRef;
|
|
3038
3048
|
private _rootContainer;
|
|
3039
3049
|
private _nodes;
|
|
3040
3050
|
private _links;
|
|
@@ -3317,6 +3327,8 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
3317
3327
|
private _displayManager;
|
|
3318
3328
|
private _isVisible;
|
|
3319
3329
|
private _enclosingFrameId;
|
|
3330
|
+
addClassToVisual(className: string): void;
|
|
3331
|
+
removeClassFromVisual(className: string): void;
|
|
3320
3332
|
get isVisible(): boolean;
|
|
3321
3333
|
set isVisible(value: boolean);
|
|
3322
3334
|
private _upateNodePortNames;
|
|
@@ -1978,7 +1978,7 @@ export const LayoutContext: import("react").Context<{
|
|
|
1978
1978
|
|
|
1979
1979
|
}
|
|
1980
1980
|
declare module "babylonjs-gui-editor/components/layout/types" {
|
|
1981
|
-
import {
|
|
1981
|
+
import { ReactElement } from "react";
|
|
1982
1982
|
export type LayoutTab = {
|
|
1983
1983
|
/**
|
|
1984
1984
|
* Tab id
|
|
@@ -1987,7 +1987,11 @@ export type LayoutTab = {
|
|
|
1987
1987
|
/**
|
|
1988
1988
|
* React component rendered by tab
|
|
1989
1989
|
*/
|
|
1990
|
-
component:
|
|
1990
|
+
component: ReactElement;
|
|
1991
|
+
/**
|
|
1992
|
+
* Tab title
|
|
1993
|
+
*/
|
|
1994
|
+
title: string;
|
|
1991
1995
|
};
|
|
1992
1996
|
export type LayoutTabsRow = {
|
|
1993
1997
|
/**
|
|
@@ -3194,11 +3198,17 @@ export class GraphCanvasComponent extends React.Component<IGraphCanvasComponentP
|
|
|
3194
3198
|
static readonly NodeWidth: number;
|
|
3195
3199
|
private readonly _minZoom;
|
|
3196
3200
|
private readonly _maxZoom;
|
|
3201
|
+
private _hostCanvasRef;
|
|
3197
3202
|
private _hostCanvas;
|
|
3203
|
+
private _graphCanvasRef;
|
|
3198
3204
|
private _graphCanvas;
|
|
3205
|
+
private _selectionContainerRef;
|
|
3199
3206
|
private _selectionContainer;
|
|
3207
|
+
private _frameContainerRef;
|
|
3200
3208
|
private _frameContainer;
|
|
3209
|
+
private _svgCanvasRef;
|
|
3201
3210
|
private _svgCanvas;
|
|
3211
|
+
private _rootContainerRef;
|
|
3202
3212
|
private _rootContainer;
|
|
3203
3213
|
private _nodes;
|
|
3204
3214
|
private _links;
|
|
@@ -3486,6 +3496,8 @@ export class GraphNode {
|
|
|
3486
3496
|
private _displayManager;
|
|
3487
3497
|
private _isVisible;
|
|
3488
3498
|
private _enclosingFrameId;
|
|
3499
|
+
addClassToVisual(className: string): void;
|
|
3500
|
+
removeClassFromVisual(className: string): void;
|
|
3489
3501
|
get isVisible(): boolean;
|
|
3490
3502
|
set isVisible(value: boolean);
|
|
3491
3503
|
private _upateNodePortNames;
|
|
@@ -6102,7 +6114,11 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6102
6114
|
/**
|
|
6103
6115
|
* React component rendered by tab
|
|
6104
6116
|
*/
|
|
6105
|
-
component: React.
|
|
6117
|
+
component: React.ReactElement;
|
|
6118
|
+
/**
|
|
6119
|
+
* Tab title
|
|
6120
|
+
*/
|
|
6121
|
+
title: string;
|
|
6106
6122
|
};
|
|
6107
6123
|
export type LayoutTabsRow = {
|
|
6108
6124
|
/**
|
|
@@ -7388,11 +7404,17 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
7388
7404
|
static readonly NodeWidth = 100;
|
|
7389
7405
|
private readonly _minZoom;
|
|
7390
7406
|
private readonly _maxZoom;
|
|
7407
|
+
private _hostCanvasRef;
|
|
7391
7408
|
private _hostCanvas;
|
|
7409
|
+
private _graphCanvasRef;
|
|
7392
7410
|
private _graphCanvas;
|
|
7411
|
+
private _selectionContainerRef;
|
|
7393
7412
|
private _selectionContainer;
|
|
7413
|
+
private _frameContainerRef;
|
|
7394
7414
|
private _frameContainer;
|
|
7415
|
+
private _svgCanvasRef;
|
|
7395
7416
|
private _svgCanvas;
|
|
7417
|
+
private _rootContainerRef;
|
|
7396
7418
|
private _rootContainer;
|
|
7397
7419
|
private _nodes;
|
|
7398
7420
|
private _links;
|
|
@@ -7675,6 +7697,8 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
7675
7697
|
private _displayManager;
|
|
7676
7698
|
private _isVisible;
|
|
7677
7699
|
private _enclosingFrameId;
|
|
7700
|
+
addClassToVisual(className: string): void;
|
|
7701
|
+
removeClassFromVisual(className: string): void;
|
|
7678
7702
|
get isVisible(): boolean;
|
|
7679
7703
|
set isVisible(value: boolean);
|
|
7680
7704
|
private _upateNodePortNames;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-gui-editor",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.30.0",
|
|
4
4
|
"main": "babylon.guiEditor.max.js",
|
|
5
5
|
"types": "babylon.guiEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^5.
|
|
18
|
-
"babylonjs-gui": "^5.
|
|
17
|
+
"babylonjs": "^5.30.0",
|
|
18
|
+
"babylonjs-gui": "^5.30.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@dev/build-tools": "1.0.0",
|