babylonjs-node-editor 5.20.0 → 5.21.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.
@@ -499,6 +499,8 @@ interface IGraphEditorProps {
499
499
  }
500
500
  interface IGraphEditorState {
501
501
  showPreviewPopUp: boolean;
502
+ message: string;
503
+ isError: boolean;
502
504
  }
503
505
  interface IInternalPreviewAreaOptions extends IInspectorOptions {
504
506
  popup: boolean;
@@ -1238,22 +1240,6 @@ export class LineWithFileButtonComponent extends React.Component<ILineWithFileBu
1238
1240
  }
1239
1241
  export {};
1240
1242
 
1241
- }
1242
- declare module "babylonjs-node-editor/sharedComponents/messageDialog" {
1243
- import * as React from "react";
1244
- import { GlobalState } from "babylonjs-node-editor/globalState";
1245
- interface IMessageDialogComponentProps {
1246
- globalState: GlobalState;
1247
- }
1248
- export class MessageDialogComponent extends React.Component<IMessageDialogComponentProps, {
1249
- message: string;
1250
- isError: boolean;
1251
- }> {
1252
- constructor(props: IMessageDialogComponentProps);
1253
- render(): JSX.Element | null;
1254
- }
1255
- export {};
1256
-
1257
1243
  }
1258
1244
  declare module "babylonjs-node-editor/sharedComponents/popup" {
1259
1245
  export class Popup {
@@ -1417,6 +1403,15 @@ export type LabelProps = {
1417
1403
  };
1418
1404
  export const Label: React.FC<LabelProps>;
1419
1405
 
1406
+ }
1407
+ declare module "babylonjs-node-editor/components/MessageDialog" {
1408
+ import * as React from "react";
1409
+ export interface MessageDialogProps {
1410
+ message: string;
1411
+ isError: boolean;
1412
+ }
1413
+ export const MessageDialog: React.FC<MessageDialogProps>;
1414
+
1420
1415
  }
1421
1416
  declare module "babylonjs-node-editor/components/Toggle" {
1422
1417
  /// <reference types="react" />
@@ -3032,6 +3027,18 @@ const _default: {
3032
3027
  export default _default;
3033
3028
  export const Default: any;
3034
3029
 
3030
+ }
3031
+ declare module "babylonjs-node-editor/stories/MessageDialog.stories" {
3032
+ /// <reference types="react" />
3033
+ import { MessageDialogProps } from "babylonjs-node-editor/components/MessageDialog";
3034
+ const _default: {
3035
+ title: string;
3036
+ component: import("react").FC<MessageDialogProps>;
3037
+ };
3038
+ export default _default;
3039
+ export const NoError: any;
3040
+ export const Error: any;
3041
+
3035
3042
  }
3036
3043
  declare module "babylonjs-node-editor/stories/Toggle.stories" {
3037
3044
  /// <reference types="react" />
@@ -3676,6 +3683,8 @@ declare module BABYLON.NodeEditor {
3676
3683
  }
3677
3684
  interface IGraphEditorState {
3678
3685
  showPreviewPopUp: boolean;
3686
+ message: string;
3687
+ isError: boolean;
3679
3688
  }
3680
3689
  interface IInternalPreviewAreaOptions extends BABYLON.IInspectorOptions {
3681
3690
  popup: boolean;
@@ -4253,18 +4262,6 @@ declare module BABYLON.NodeEditor {
4253
4262
  }
4254
4263
 
4255
4264
 
4256
- interface IMessageDialogComponentProps {
4257
- globalState: GlobalState;
4258
- }
4259
- export class MessageDialogComponent extends React.Component<IMessageDialogComponentProps, {
4260
- message: string;
4261
- isError: boolean;
4262
- }> {
4263
- constructor(props: IMessageDialogComponentProps);
4264
- render(): JSX.Element | null;
4265
- }
4266
-
4267
-
4268
4265
  export class Popup {
4269
4266
  static CreatePopup(title: string, windowVariableName: string, width?: number, height?: number): HTMLDivElement | null;
4270
4267
  static _CopyStyles(sourceDoc: HTMLDocument, targetDoc: HTMLDocument): void;
@@ -4447,6 +4444,19 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
4447
4444
 
4448
4445
 
4449
4446
 
4447
+ }
4448
+ declare module BABYLON.NodeEditor {
4449
+
4450
+ }
4451
+ declare module BABYLON.NodeEditor.SharedUIComponents {
4452
+ export interface MessageDialogProps {
4453
+ message: string;
4454
+ isError: boolean;
4455
+ }
4456
+ export var MessageDialog: React.FC<MessageDialogProps>;
4457
+
4458
+
4459
+
4450
4460
  }
4451
4461
  declare module BABYLON.NodeEditor {
4452
4462
 
@@ -6152,6 +6162,21 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
6152
6162
 
6153
6163
 
6154
6164
 
6165
+ }
6166
+ declare module BABYLON.NodeEditor {
6167
+
6168
+ }
6169
+ declare module BABYLON.NodeEditor.SharedUIComponents {
6170
+ /// <reference types="react" />
6171
+ var _default: {
6172
+ title: string;
6173
+ component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.MessageDialogProps>;
6174
+ };
6175
+ export var NoError: any;
6176
+ export var Error: any;
6177
+
6178
+
6179
+
6155
6180
  }
6156
6181
  declare module BABYLON.NodeEditor {
6157
6182
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-editor",
3
- "version": "5.20.0",
3
+ "version": "5.21.0",
4
4
  "main": "babylon.nodeEditor.js",
5
5
  "types": "babylon.nodeEditor.module.d.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.*"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^5.20.0"
17
+ "babylonjs": "^5.21.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",