@babylonjs/gui-editor 5.22.1 → 5.24.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.
@@ -1504,6 +1504,7 @@ import * as React from "react";
|
|
1504
1504
|
export interface MessageDialogProps {
|
1505
1505
|
message: string;
|
1506
1506
|
isError: boolean;
|
1507
|
+
onClose?: () => void;
|
1507
1508
|
}
|
1508
1509
|
export const MessageDialog: React.FC<MessageDialogProps>;
|
1509
1510
|
|
@@ -2455,7 +2456,6 @@ import { StateManager } from "@babylonjs/gui-editor/nodeGraphSystem/stateManager
|
|
2455
2456
|
import { INodeData } from "@babylonjs/gui-editor/nodeGraphSystem/interfaces/nodeData";
|
2456
2457
|
import { IPortData } from "@babylonjs/gui-editor/nodeGraphSystem/interfaces/portData";
|
2457
2458
|
import { INodeContainer } from "@babylonjs/gui-editor/nodeGraphSystem/interfaces/nodeContainer";
|
2458
|
-
import "@babylonjs/gui-editor/nodeGraphSystem/scss/graphCanvas.scss";
|
2459
2459
|
export interface IGraphCanvasComponentProps {
|
2460
2460
|
stateManager: StateManager;
|
2461
2461
|
onEmitNewNode: (nodeData: INodeData) => GraphNode;
|
@@ -2736,6 +2736,7 @@ export class GraphNode {
|
|
2736
2736
|
private _outputsContainer;
|
2737
2737
|
private _content;
|
2738
2738
|
private _comments;
|
2739
|
+
private _selectionBorder;
|
2739
2740
|
private _inputPorts;
|
2740
2741
|
private _outputPorts;
|
2741
2742
|
private _links;
|
@@ -2798,10 +2799,14 @@ export class GraphNode {
|
|
2798
2799
|
declare module "@babylonjs/gui-editor/nodeGraphSystem/interfaces/displayManager" {
|
2799
2800
|
import { INodeData } from "@babylonjs/gui-editor/nodeGraphSystem/interfaces/nodeData";
|
2800
2801
|
import { IPortData } from "@babylonjs/gui-editor/nodeGraphSystem/interfaces/portData";
|
2802
|
+
export interface VisualContentDescription {
|
2803
|
+
[key: string]: HTMLElement;
|
2804
|
+
}
|
2801
2805
|
export interface IDisplayManager {
|
2802
2806
|
getHeaderClass(data: INodeData): string;
|
2803
2807
|
shouldDisplayPortLabels(data: IPortData): boolean;
|
2804
2808
|
updatePreviewContent(data: INodeData, contentArea: HTMLDivElement): void;
|
2809
|
+
updateFullVisualContent?(data: INodeData, visualContent: VisualContentDescription): void;
|
2805
2810
|
getBackgroundColor(data: INodeData): string;
|
2806
2811
|
getHeaderText(data: INodeData): string;
|
2807
2812
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/gui-editor",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.24.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.24.0",
|
28
|
+
"@babylonjs/gui": "^5.24.0",
|
29
29
|
"react": "^17.0.2",
|
30
30
|
"react-dom": "^17.0.2",
|
31
31
|
"rimraf": "^3.0.2",
|