@babylonjs/node-editor 9.5.1 → 9.6.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.
|
@@ -2485,8 +2485,9 @@ export class GraphNode {
|
|
|
2485
2485
|
* Shows a validation badge on the node header.
|
|
2486
2486
|
* @param severity - "error" | "warning" | null. Pass null to hide the badge.
|
|
2487
2487
|
* @param tooltip - tooltip text shown on hover.
|
|
2488
|
+
* @param onClick - optional callback invoked when the badge is clicked.
|
|
2488
2489
|
*/
|
|
2489
|
-
setValidationState(severity: "error" | "warning" | null, tooltip?: string): void;
|
|
2490
|
+
setValidationState(severity: "error" | "warning" | null, tooltip?: string, onClick?: () => void): void;
|
|
2490
2491
|
/**
|
|
2491
2492
|
* Shows or hides a breakpoint indicator on the node.
|
|
2492
2493
|
* @param active - true to show the red breakpoint dot, false to hide.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/node-editor",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.6.0",
|
|
4
4
|
"main": "dist/babylon.nodeEditor.js",
|
|
5
5
|
"module": "dist/babylon.nodeEditor.js",
|
|
6
6
|
"esnext": "dist/babylon.nodeEditor.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@types/react-dom": ">=16.0.9"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@babylonjs/core": "9.
|
|
26
|
+
"@babylonjs/core": "9.6.0",
|
|
27
27
|
"@tools/node-editor": "1.0.0",
|
|
28
28
|
"react": "^18.2.0",
|
|
29
29
|
"react-dom": "^18.2.0"
|