@babylonjs/inspector 5.19.0 → 5.22.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.
@@ -3782,8 +3782,9 @@ export function SetGUIEditorURL(guiEditorURL: string): void;
3782
3782
  * if you are in an ES6 environment, you must first call InjectGUIEditor to provide the gui-editor package
3783
3783
  * If you are in a UMD environment, it will load the package from a URL
3784
3784
  * @param adt
3785
+ * @param embed defines whether editor is being opened from the Playground
3785
3786
  */
3786
- export function EditAdvancedDynamicTexture(adt: AdvancedDynamicTexture): Promise<void>;
3787
+ export function EditAdvancedDynamicTexture(adt: AdvancedDynamicTexture, embed?: boolean): Promise<void>;
3787
3788
 
3788
3789
  }
3789
3790
  declare module "@babylonjs/inspector/components/sceneExplorer/entities/lightTreeItemComponent" {
@@ -4467,6 +4468,15 @@ export type LabelProps = {
4467
4468
  };
4468
4469
  export const Label: React.FC<LabelProps>;
4469
4470
 
4471
+ }
4472
+ declare module "@babylonjs/inspector/components/MessageDialog" {
4473
+ import * as React from "react";
4474
+ export interface MessageDialogProps {
4475
+ message: string;
4476
+ isError: boolean;
4477
+ }
4478
+ export const MessageDialog: React.FC<MessageDialogProps>;
4479
+
4470
4480
  }
4471
4481
  declare module "@babylonjs/inspector/components/Toggle" {
4472
4482
  /// <reference types="react" />
@@ -6001,10 +6011,10 @@ export class StateManager {
6001
6011
  getEditorDataMap: () => {
6002
6012
  [key: number]: number;
6003
6013
  };
6004
- createDefaultInputData: (rootData: any, portData: IPortData, nodeContainer: INodeContainer) => {
6014
+ createDefaultInputData: (rootData: any, portData: IPortData, nodeContainer: INodeContainer) => Nullable<{
6005
6015
  data: INodeData;
6006
6016
  name: string;
6007
- };
6017
+ }>;
6008
6018
  }
6009
6019
 
6010
6020
  }
@@ -6082,6 +6092,18 @@ const _default: {
6082
6092
  export default _default;
6083
6093
  export const Default: any;
6084
6094
 
6095
+ }
6096
+ declare module "@babylonjs/inspector/stories/MessageDialog.stories" {
6097
+ /// <reference types="react" />
6098
+ import { MessageDialogProps } from "@babylonjs/inspector/components/MessageDialog";
6099
+ const _default: {
6100
+ title: string;
6101
+ component: import("react").FC<MessageDialogProps>;
6102
+ };
6103
+ export default _default;
6104
+ export const NoError: any;
6105
+ export const Error: any;
6106
+
6085
6107
  }
6086
6108
  declare module "@babylonjs/inspector/stories/Toggle.stories" {
6087
6109
  /// <reference types="react" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "5.19.0",
3
+ "version": "5.22.0",
4
4
  "module": "dist/babylon.inspector.bundle.max.js",
5
5
  "main": "dist/babylon.inspector.bundle.max.js",
6
6
  "typings": "dist/babylon.inspector.module.d.ts",
@@ -32,12 +32,12 @@
32
32
  "@types/react-dom": ">=16.0.9"
33
33
  },
34
34
  "devDependencies": {
35
- "@babylonjs/core": "^5.19.0",
36
- "@babylonjs/gui": "^5.19.0",
37
- "@babylonjs/gui-editor": "^5.19.0",
38
- "@babylonjs/loaders": "^5.19.0",
39
- "@babylonjs/materials": "^5.19.0",
40
- "@babylonjs/serializers": "^5.19.0",
35
+ "@babylonjs/core": "^5.22.0",
36
+ "@babylonjs/gui": "^5.22.0",
37
+ "@babylonjs/gui-editor": "^5.22.0",
38
+ "@babylonjs/loaders": "^5.22.0",
39
+ "@babylonjs/materials": "^5.22.0",
40
+ "@babylonjs/serializers": "^5.22.0",
41
41
  "@lts/gui": "1.0.0",
42
42
  "react": "^17.0.2",
43
43
  "react-dom": "^17.0.2",