babylonjs-gui-editor 9.5.2 → 9.6.1

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.
@@ -2340,8 +2340,9 @@ declare namespace BABYLON.GuiEditor.SharedUIComponents {
2340
2340
  * Shows a validation badge on the node header.
2341
2341
  * @param severity - "error" | "warning" | null. Pass null to hide the badge.
2342
2342
  * @param tooltip - tooltip text shown on hover.
2343
+ * @param onClick - optional callback invoked when the badge is clicked.
2343
2344
  */
2344
- setValidationState(severity: "error" | "warning" | null, tooltip?: string): void;
2345
+ setValidationState(severity: "error" | "warning" | null, tooltip?: string, onClick?: () => void): void;
2345
2346
  /**
2346
2347
  * Shows or hides a breakpoint indicator on the node.
2347
2348
  * @param active - true to show the red breakpoint dot, false to hide.
@@ -2600,8 +2600,9 @@ export class GraphNode {
2600
2600
  * Shows a validation badge on the node header.
2601
2601
  * @param severity - "error" | "warning" | null. Pass null to hide the badge.
2602
2602
  * @param tooltip - tooltip text shown on hover.
2603
+ * @param onClick - optional callback invoked when the badge is clicked.
2603
2604
  */
2604
- setValidationState(severity: "error" | "warning" | null, tooltip?: string): void;
2605
+ setValidationState(severity: "error" | "warning" | null, tooltip?: string, onClick?: () => void): void;
2605
2606
  /**
2606
2607
  * Shows or hides a breakpoint indicator on the node.
2607
2608
  * @param active - true to show the red breakpoint dot, false to hide.
@@ -11203,8 +11204,9 @@ declare namespace BABYLON.GuiEditor.SharedUIComponents {
11203
11204
  * Shows a validation badge on the node header.
11204
11205
  * @param severity - "error" | "warning" | null. Pass null to hide the badge.
11205
11206
  * @param tooltip - tooltip text shown on hover.
11207
+ * @param onClick - optional callback invoked when the badge is clicked.
11206
11208
  */
11207
- setValidationState(severity: "error" | "warning" | null, tooltip?: string): void;
11209
+ setValidationState(severity: "error" | "warning" | null, tooltip?: string, onClick?: () => void): void;
11208
11210
  /**
11209
11211
  * Shows or hides a breakpoint indicator on the node.
11210
11212
  * @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-gui-editor",
3
- "version": "9.5.2",
3
+ "version": "9.6.1",
4
4
  "main": "babylon.guiEditor.js",
5
5
  "types": "babylon.guiEditor.module.d.ts",
6
6
  "files": [
@@ -15,8 +15,8 @@
15
15
  "clean": "rimraf dist && rimraf babylon*.* -g"
16
16
  },
17
17
  "dependencies": {
18
- "babylonjs": "9.5.2",
19
- "babylonjs-gui": "9.5.2"
18
+ "babylonjs": "9.6.1",
19
+ "babylonjs-gui": "9.6.1"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@dev/build-tools": "1.0.0",