@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.
@@ -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;
|
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": "dist/babylon.guiEditor.max.js",
|
5
5
|
"module": "dist/babylon.guiEditor.max.js",
|
6
6
|
"esnext": "dist/babylon.guiEditor.max.js",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
"@types/react-dom": ">=16.0.9"
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
27
|
-
"@babylonjs/core": "^5.
|
28
|
-
"@babylonjs/gui": "^5.
|
27
|
+
"@babylonjs/core": "^5.30.0",
|
28
|
+
"@babylonjs/gui": "^5.30.0",
|
29
29
|
"react": "^17.0.2",
|
30
30
|
"react-dom": "^17.0.2",
|
31
31
|
"rimraf": "^3.0.2",
|