babylonjs-node-render-graph-editor 8.1.1 → 8.2.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.
@@ -15,10 +15,11 @@ export class SerializationTools {
15
15
  declare module "babylonjs-node-render-graph-editor/portal" {
16
16
  import * as React from "react";
17
17
  import { GlobalState } from "babylonjs-node-render-graph-editor/globalState";
18
+ import { PropsWithChildren } from "react";
18
19
  interface IPortalProps {
19
20
  globalState: GlobalState;
20
21
  }
21
- export class Portal extends React.Component<IPortalProps> {
22
+ export class Portal extends React.Component<PropsWithChildren<IPortalProps>> {
22
23
  render(): React.ReactPortal;
23
24
  }
24
25
  export {};
@@ -229,11 +230,12 @@ import { NodeRenderGraphUtilityLayerRendererBlock } from "babylonjs/FrameGraph/N
229
230
  import { NodeRenderGraphSSRPostProcessBlock } from "babylonjs/FrameGraph/Node/Blocks/PostProcesses/ssrPostProcessBlock";
230
231
  import { NodeRenderGraphAnaglyphPostProcessBlock } from "babylonjs/FrameGraph/Node/Blocks/PostProcesses/anaglyphPostProcessBlock";
231
232
  import { NodeRenderGraphChromaticAberrationPostProcessBlock } from "babylonjs/FrameGraph/Node/Blocks/PostProcesses/chromaticAberrationPostProcessBlock";
233
+ import { NodeRenderGraphImageProcessingPostProcessBlock } from "babylonjs/FrameGraph/Node/Blocks/PostProcesses/imageProcessingPostProcessBlock";
232
234
  /**
233
235
  * Static class for BlockTools
234
236
  */
235
237
  export class BlockTools {
236
- static GetBlockFromString(data: string, frameGraph: FrameGraph, scene: Scene): NodeRenderGraphTeleportInBlock | NodeRenderGraphTeleportOutBlock | NodeRenderGraphOutputBlock | NodeRenderGraphElbowBlock | NodeRenderGraphResourceContainerBlock | NodeRenderGraphExecuteBlock | NodeRenderGraphUtilityLayerRendererBlock | NodeRenderGraphInputBlock | NodeRenderGraphClearBlock | NodeRenderGraphCopyTextureBlock | NodeRenderGraphGenerateMipmapsBlock | NodeRenderGraphBlackAndWhitePostProcessBlock | NodeRenderGraphBloomPostProcessBlock | NodeRenderGraphBlurPostProcessBlock | NodeRenderGraphPassPostProcessBlock | NodeRenderGraphPassCubePostProcessBlock | NodeRenderGraphGUIBlock | NodeRenderGraphObjectRendererBlock | NodeRenderGraphGeometryRendererBlock | NodeRenderGraphTAAObjectRendererBlock | NodeRenderGraphCullObjectsBlock | NodeRenderGraphCircleOfConfusionPostProcessBlock | NodeRenderGraphDepthOfFieldPostProcessBlock | NodeRenderGraphExtractHighlightsPostProcessBlock | NodeRenderGraphShadowGeneratorBlock | NodeRenderGraphCascadedShadowGeneratorBlock | NodeRenderGraphGlowLayerBlock | NodeRenderGraphHighlightLayerBlock | NodeRenderGraphSSRPostProcessBlock | NodeRenderGraphAnaglyphPostProcessBlock | NodeRenderGraphChromaticAberrationPostProcessBlock | null;
238
+ static GetBlockFromString(data: string, frameGraph: FrameGraph, scene: Scene): NodeRenderGraphTeleportInBlock | NodeRenderGraphTeleportOutBlock | NodeRenderGraphOutputBlock | NodeRenderGraphElbowBlock | NodeRenderGraphResourceContainerBlock | NodeRenderGraphExecuteBlock | NodeRenderGraphUtilityLayerRendererBlock | NodeRenderGraphInputBlock | NodeRenderGraphClearBlock | NodeRenderGraphCopyTextureBlock | NodeRenderGraphGenerateMipmapsBlock | NodeRenderGraphBlackAndWhitePostProcessBlock | NodeRenderGraphBloomPostProcessBlock | NodeRenderGraphBlurPostProcessBlock | NodeRenderGraphPassPostProcessBlock | NodeRenderGraphPassCubePostProcessBlock | NodeRenderGraphGUIBlock | NodeRenderGraphObjectRendererBlock | NodeRenderGraphGeometryRendererBlock | NodeRenderGraphTAAObjectRendererBlock | NodeRenderGraphCullObjectsBlock | NodeRenderGraphCircleOfConfusionPostProcessBlock | NodeRenderGraphDepthOfFieldPostProcessBlock | NodeRenderGraphExtractHighlightsPostProcessBlock | NodeRenderGraphShadowGeneratorBlock | NodeRenderGraphCascadedShadowGeneratorBlock | NodeRenderGraphGlowLayerBlock | NodeRenderGraphHighlightLayerBlock | NodeRenderGraphSSRPostProcessBlock | NodeRenderGraphAnaglyphPostProcessBlock | NodeRenderGraphChromaticAberrationPostProcessBlock | NodeRenderGraphImageProcessingPostProcessBlock | null;
237
239
  static GetColorFromConnectionNodeType(type: NodeRenderGraphBlockConnectionPointTypes): string;
238
240
  static GetConnectionNodeTypeFromString(type: string): NodeRenderGraphBlockConnectionPointTypes.Texture | NodeRenderGraphBlockConnectionPointTypes.TextureBackBuffer | NodeRenderGraphBlockConnectionPointTypes.TextureBackBufferDepthStencilAttachment | NodeRenderGraphBlockConnectionPointTypes.TextureDepthStencilAttachment | NodeRenderGraphBlockConnectionPointTypes.TextureViewDepth | NodeRenderGraphBlockConnectionPointTypes.TextureViewNormal | NodeRenderGraphBlockConnectionPointTypes.TextureAlbedo | NodeRenderGraphBlockConnectionPointTypes.TextureReflectivity | NodeRenderGraphBlockConnectionPointTypes.TextureWorldPosition | NodeRenderGraphBlockConnectionPointTypes.TextureVelocity | NodeRenderGraphBlockConnectionPointTypes.TextureScreenDepth | NodeRenderGraphBlockConnectionPointTypes.TextureWorldNormal | NodeRenderGraphBlockConnectionPointTypes.TextureLocalPosition | NodeRenderGraphBlockConnectionPointTypes.TextureLinearVelocity | NodeRenderGraphBlockConnectionPointTypes.ResourceContainer | NodeRenderGraphBlockConnectionPointTypes.ShadowGenerator | NodeRenderGraphBlockConnectionPointTypes.ShadowLight | NodeRenderGraphBlockConnectionPointTypes.Camera | NodeRenderGraphBlockConnectionPointTypes.ObjectList | NodeRenderGraphBlockConnectionPointTypes.AutoDetect;
239
241
  static GetStringFromConnectionNodeType(type: NodeRenderGraphBlockConnectionPointTypes): "" | "Texture" | "Camera" | "TextureBackBuffer" | "TextureBackBufferDepthStencilAttachment" | "TextureDepthStencilAttachment" | "ObjectList" | "TextureNormal" | "TextureAlbedo" | "TextureReflectivity" | "TexturePosition" | "TextureVelocity" | "TextureScreenDepth" | "TextureLocalPosition" | "TextureWorldNormal" | "TextureLinearVelocity" | "ResourceContainer" | "ShadowGenerator" | "ShadowLight" | "TextureDepth";
@@ -1424,6 +1426,7 @@ export const SplitContext: import("react").Context<ISplitContext>;
1424
1426
 
1425
1427
  }
1426
1428
  declare module "babylonjs-node-render-graph-editor/split/splitContainer" {
1429
+ import { PropsWithChildren } from "react";
1427
1430
  import { SplitDirection } from "babylonjs-node-render-graph-editor/split/splitContext";
1428
1431
  /**
1429
1432
  * Split container properties
@@ -1480,7 +1483,7 @@ export interface ISplitContainerProps {
1480
1483
  * @param props defines the split container properties
1481
1484
  * @returns the split container component
1482
1485
  */
1483
- export const SplitContainer: React.FC<ISplitContainerProps>;
1486
+ export const SplitContainer: React.FC<PropsWithChildren<ISplitContainerProps>>;
1484
1487
 
1485
1488
  }
1486
1489
  declare module "babylonjs-node-render-graph-editor/nodeGraphSystem/typeLedger" {
@@ -3119,9 +3122,7 @@ export class ColorPickerLine extends React.Component<IColorPickerLineProps, ICol
3119
3122
  constructor(props: IColorPickerLineProps);
3120
3123
  syncPositions(): void;
3121
3124
  shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
3122
- getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
3123
- children?: React.ReactNode | undefined;
3124
- }>): string;
3125
+ getHexString(props?: Readonly<IColorPickerLineProps>): string;
3125
3126
  componentDidUpdate(): void;
3126
3127
  componentDidMount(): void;
3127
3128
 
@@ -3154,9 +3155,7 @@ interface IColorLineComponentState {
3154
3155
  export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
3155
3156
  constructor(props: IColorLineProps);
3156
3157
  shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
3157
- getValue(props?: Readonly<IColorLineProps> & Readonly<{
3158
- children?: React.ReactNode | undefined;
3159
- }>): Color4;
3158
+ getValue(props?: Readonly<IColorLineProps>): Color4;
3160
3159
  setColorFromString(colorString: string): void;
3161
3160
  setColor(newColor: Color4): void;
3162
3161
  switchExpandState(): void;
@@ -3343,6 +3342,7 @@ export const Icon: React.FC<IconProps>;
3343
3342
 
3344
3343
  }
3345
3344
  declare module "babylonjs-node-render-graph-editor/components/Button" {
3345
+ import { PropsWithChildren } from "react";
3346
3346
  export type ButtonProps = {
3347
3347
  disabled?: boolean;
3348
3348
  active?: boolean;
@@ -3352,7 +3352,7 @@ export type ButtonProps = {
3352
3352
  title?: string;
3353
3353
  backgroundColor?: string;
3354
3354
  };
3355
- export const Button: React.FC<ButtonProps>;
3355
+ export const Button: React.FC<PropsWithChildren<ButtonProps>>;
3356
3356
 
3357
3357
  }
3358
3358
  declare module "babylonjs-node-render-graph-editor/components/reactGraphSystem/useGraphContext" {
@@ -3364,7 +3364,7 @@ export const useGraphContext: () => import("babylonjs-node-render-graph-editor/c
3364
3364
 
3365
3365
  }
3366
3366
  declare module "babylonjs-node-render-graph-editor/components/reactGraphSystem/NodeRenderer" {
3367
- import { ComponentType } from "react";
3367
+ import { ComponentType, PropsWithChildren } from "react";
3368
3368
  import { Nullable } from "babylonjs/types";
3369
3369
  export type IVisualRecordsType = Record<string, {
3370
3370
  x: number;
@@ -3436,7 +3436,7 @@ export interface INodeRendererProps {
3436
3436
 
3437
3437
  }
3438
3438
  declare module "babylonjs-node-render-graph-editor/components/reactGraphSystem/GraphNodesContainer" {
3439
- import { FC } from "react";
3439
+ import { FC, PropsWithChildren } from "react";
3440
3440
  export interface IGraphContainerProps {
3441
3441
  onNodeMoved: (id: string, x: number, y: number) => void;
3442
3442
  id: string;
@@ -3446,11 +3446,11 @@ export interface IGraphContainerProps {
3446
3446
  * @param props properties
3447
3447
  * @returns graph node container element
3448
3448
  */
3449
- export const GraphNodesContainer: FC<IGraphContainerProps>;
3449
+ export const GraphNodesContainer: FC<PropsWithChildren<IGraphContainerProps>>;
3450
3450
 
3451
3451
  }
3452
3452
  declare module "babylonjs-node-render-graph-editor/components/reactGraphSystem/GraphNode" {
3453
- import { FC } from "react";
3453
+ import { FC, PropsWithChildren } from "react";
3454
3454
  export interface IGraphNodeProps {
3455
3455
  id: string;
3456
3456
  name: string;
@@ -3462,11 +3462,11 @@ export interface IGraphNodeProps {
3462
3462
  highlighted?: boolean;
3463
3463
  parentContainerId: string;
3464
3464
  }
3465
- export const SingleGraphNode: FC<IGraphNodeProps>;
3465
+ export const SingleGraphNode: FC<PropsWithChildren<IGraphNodeProps>>;
3466
3466
 
3467
3467
  }
3468
3468
  declare module "babylonjs-node-render-graph-editor/components/reactGraphSystem/GraphLinesContainer" {
3469
- import { FC } from "react";
3469
+ import { FC, PropsWithChildren } from "react";
3470
3470
  /**
3471
3471
  * props for the GraphLineContainer
3472
3472
  */
@@ -3481,7 +3481,7 @@ export interface IGraphLinesContainerProps {
3481
3481
  * @param props
3482
3482
  * @returns
3483
3483
  */
3484
- export const GraphLinesContainer: FC<IGraphLinesContainerProps>;
3484
+ export const GraphLinesContainer: FC<PropsWithChildren<IGraphLinesContainerProps>>;
3485
3485
 
3486
3486
  }
3487
3487
  declare module "babylonjs-node-render-graph-editor/components/reactGraphSystem/GraphLine" {
@@ -3542,7 +3542,7 @@ export const GraphContextManager: import("react").Context<IGraphContext>;
3542
3542
 
3543
3543
  }
3544
3544
  declare module "babylonjs-node-render-graph-editor/components/reactGraphSystem/GraphContainer" {
3545
- import { FC } from "react";
3545
+ import { FC, PropsWithChildren } from "react";
3546
3546
  export interface IGraphContainerProps {
3547
3547
  }
3548
3548
  /**
@@ -3551,11 +3551,11 @@ export interface IGraphContainerProps {
3551
3551
  * @param props
3552
3552
  * @returns
3553
3553
  */
3554
- export const GraphContainer: FC<IGraphContainerProps>;
3554
+ export const GraphContainer: FC<PropsWithChildren<IGraphContainerProps>>;
3555
3555
 
3556
3556
  }
3557
3557
  declare module "babylonjs-node-render-graph-editor/components/reactGraphSystem/GraphConnectorHandle" {
3558
- import { FC } from "react";
3558
+ import { FC, PropsWithChildren } from "react";
3559
3559
  /**
3560
3560
  * Props for the connector
3561
3561
  */
@@ -3598,7 +3598,7 @@ export interface IGraphConnectorHandlerProps {
3598
3598
  * drag the handle in a node and drop it in another node to create a connection.
3599
3599
  * @returns connector element
3600
3600
  */
3601
- export const GraphConnectorHandler: FC<IGraphConnectorHandlerProps>;
3601
+ export const GraphConnectorHandler: FC<PropsWithChildren<IGraphConnectorHandlerProps>>;
3602
3602
 
3603
3603
  }
3604
3604
  declare module "babylonjs-node-render-graph-editor/components/lines/OptionsLineComponent" {
@@ -3703,9 +3703,7 @@ export class ColorPickerLineComponent extends React.Component<IColorPickerLineCo
3703
3703
  constructor(props: IColorPickerLineComponentProps);
3704
3704
  syncPositions(): void;
3705
3705
  shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
3706
- getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
3707
- children?: React.ReactNode | undefined;
3708
- }>): string;
3706
+ getHexString(props?: Readonly<IColorPickerLineComponentProps>): string;
3709
3707
  componentDidUpdate(): void;
3710
3708
  componentDidMount(): void;
3711
3709
 
@@ -3738,9 +3736,7 @@ interface IColorLineComponentState {
3738
3736
  export class ColorLineComponent extends React.Component<IColorLineComponentProps, IColorLineComponentState> {
3739
3737
  constructor(props: IColorLineComponentProps);
3740
3738
  shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
3741
- getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
3742
- children?: React.ReactNode | undefined;
3743
- }>): Color4;
3739
+ getValue(props?: Readonly<IColorLineComponentProps>): Color4;
3744
3740
  setColorFromString(colorString: string): void;
3745
3741
  setColor(newColor: Color4): void;
3746
3742
  switchExpandState(): void;
@@ -4040,7 +4036,7 @@ export const FlexibleGridContainer: FC<IFlexibleGridContainerProps>;
4040
4036
 
4041
4037
  }
4042
4038
  declare module "babylonjs-node-render-graph-editor/components/layout/FlexibleDropZone" {
4043
- import { FC } from "react";
4039
+ import { FC, PropsWithChildren } from "react";
4044
4040
  /**
4045
4041
  * Arguments for the FlexibleDropZone component.
4046
4042
  */
@@ -4060,11 +4056,11 @@ export interface IFlexibleDropZoneProps {
4060
4056
  * @param props properties
4061
4057
  * @returns drop zone element
4062
4058
  */
4063
- export const FlexibleDropZone: FC<IFlexibleDropZoneProps>;
4059
+ export const FlexibleDropZone: FC<PropsWithChildren<IFlexibleDropZoneProps>>;
4064
4060
 
4065
4061
  }
4066
4062
  declare module "babylonjs-node-render-graph-editor/components/layout/FlexibleDragHandler" {
4067
- import { FC } from "react";
4063
+ import { FC, PropsWithChildren } from "react";
4068
4064
  /**
4069
4065
  * Arguments for the DragHandler component.
4070
4066
  */
@@ -4083,11 +4079,11 @@ export interface IFlexibleDragHandlerProps {
4083
4079
  * @param props properties
4084
4080
  * @returns DragHandler element
4085
4081
  */
4086
- export const FlexibleDragHandler: FC<IFlexibleDragHandlerProps>;
4082
+ export const FlexibleDragHandler: FC<PropsWithChildren<IFlexibleDragHandlerProps>>;
4087
4083
 
4088
4084
  }
4089
4085
  declare module "babylonjs-node-render-graph-editor/components/layout/FlexibleColumn" {
4090
- import { FC } from "react";
4086
+ import { FC, PropsWithChildren } from "react";
4091
4087
  /**
4092
4088
  * Arguments for the Column component.
4093
4089
  */
@@ -4103,7 +4099,7 @@ export interface IFlexibleColumnProps {
4103
4099
  * @param props
4104
4100
  * @returns
4105
4101
  */
4106
- export const FlexibleColumn: FC<IFlexibleColumnProps>;
4102
+ export const FlexibleColumn: FC<PropsWithChildren<IFlexibleColumnProps>>;
4107
4103
 
4108
4104
  }
4109
4105
  declare module "babylonjs-node-render-graph-editor/components/layout/DraggableIcon" {
@@ -4268,7 +4264,7 @@ export const CommandButtonComponent: React.FC<ICommandButtonComponentProps>;
4268
4264
 
4269
4265
  }
4270
4266
  declare module "babylonjs-node-render-graph-editor/components/bars/CommandBarComponent" {
4271
- import { FC } from "react";
4267
+ import { FC, PropsWithChildren } from "react";
4272
4268
  export interface ICommandBarComponentProps {
4273
4269
  onSaveButtonClicked?: () => void;
4274
4270
  onSaveToSnippetButtonClicked?: () => void;
@@ -4283,7 +4279,7 @@ export interface ICommandBarComponentProps {
4283
4279
  artboardColor?: string;
4284
4280
  artboardColorPickerColor?: string;
4285
4281
  }
4286
- export const CommandBarComponent: FC<ICommandBarComponentProps>;
4282
+ export const CommandBarComponent: FC<PropsWithChildren<ICommandBarComponentProps>>;
4287
4283
 
4288
4284
  }
4289
4285
  declare module "babylonjs-node-render-graph-editor/colorPicker/hexColor" {
@@ -4394,7 +4390,7 @@ declare module BABYLON.NodeRenderGraphEditor {
4394
4390
  interface IPortalProps {
4395
4391
  globalState: GlobalState;
4396
4392
  }
4397
- export class Portal extends React.Component<IPortalProps> {
4393
+ export class Portal extends React.Component<React.PropsWithChildren<IPortalProps>> {
4398
4394
  render(): React.ReactPortal;
4399
4395
  }
4400
4396
 
@@ -4544,7 +4540,7 @@ declare module BABYLON.NodeRenderGraphEditor {
4544
4540
  * Static class for BlockTools
4545
4541
  */
4546
4542
  export class BlockTools {
4547
- static GetBlockFromString(data: string, frameGraph: BABYLON.FrameGraph, scene: BABYLON.Scene): BABYLON.NodeRenderGraphTeleportInBlock | BABYLON.NodeRenderGraphTeleportOutBlock | BABYLON.NodeRenderGraphOutputBlock | BABYLON.NodeRenderGraphElbowBlock | BABYLON.NodeRenderGraphResourceContainerBlock | BABYLON.NodeRenderGraphExecuteBlock | BABYLON.NodeRenderGraphUtilityLayerRendererBlock | BABYLON.NodeRenderGraphInputBlock | BABYLON.NodeRenderGraphClearBlock | BABYLON.NodeRenderGraphCopyTextureBlock | BABYLON.NodeRenderGraphGenerateMipmapsBlock | BABYLON.NodeRenderGraphBlackAndWhitePostProcessBlock | BABYLON.NodeRenderGraphBloomPostProcessBlock | BABYLON.NodeRenderGraphBlurPostProcessBlock | BABYLON.NodeRenderGraphPassPostProcessBlock | BABYLON.NodeRenderGraphPassCubePostProcessBlock | BABYLON.GUI.NodeRenderGraphGUIBlock | BABYLON.NodeRenderGraphObjectRendererBlock | BABYLON.NodeRenderGraphGeometryRendererBlock | BABYLON.NodeRenderGraphTAAObjectRendererBlock | BABYLON.NodeRenderGraphCullObjectsBlock | BABYLON.NodeRenderGraphCircleOfConfusionPostProcessBlock | BABYLON.NodeRenderGraphDepthOfFieldPostProcessBlock | BABYLON.NodeRenderGraphExtractHighlightsPostProcessBlock | BABYLON.NodeRenderGraphShadowGeneratorBlock | BABYLON.NodeRenderGraphCascadedShadowGeneratorBlock | BABYLON.NodeRenderGraphGlowLayerBlock | BABYLON.NodeRenderGraphHighlightLayerBlock | BABYLON.NodeRenderGraphSSRPostProcessBlock | BABYLON.NodeRenderGraphAnaglyphPostProcessBlock | BABYLON.NodeRenderGraphChromaticAberrationPostProcessBlock | null;
4543
+ static GetBlockFromString(data: string, frameGraph: BABYLON.FrameGraph, scene: BABYLON.Scene): BABYLON.NodeRenderGraphTeleportInBlock | BABYLON.NodeRenderGraphTeleportOutBlock | BABYLON.NodeRenderGraphOutputBlock | BABYLON.NodeRenderGraphElbowBlock | BABYLON.NodeRenderGraphResourceContainerBlock | BABYLON.NodeRenderGraphExecuteBlock | BABYLON.NodeRenderGraphUtilityLayerRendererBlock | BABYLON.NodeRenderGraphInputBlock | BABYLON.NodeRenderGraphClearBlock | BABYLON.NodeRenderGraphCopyTextureBlock | BABYLON.NodeRenderGraphGenerateMipmapsBlock | BABYLON.NodeRenderGraphBlackAndWhitePostProcessBlock | BABYLON.NodeRenderGraphBloomPostProcessBlock | BABYLON.NodeRenderGraphBlurPostProcessBlock | BABYLON.NodeRenderGraphPassPostProcessBlock | BABYLON.NodeRenderGraphPassCubePostProcessBlock | BABYLON.GUI.NodeRenderGraphGUIBlock | BABYLON.NodeRenderGraphObjectRendererBlock | BABYLON.NodeRenderGraphGeometryRendererBlock | BABYLON.NodeRenderGraphTAAObjectRendererBlock | BABYLON.NodeRenderGraphCullObjectsBlock | BABYLON.NodeRenderGraphCircleOfConfusionPostProcessBlock | BABYLON.NodeRenderGraphDepthOfFieldPostProcessBlock | BABYLON.NodeRenderGraphExtractHighlightsPostProcessBlock | BABYLON.NodeRenderGraphShadowGeneratorBlock | BABYLON.NodeRenderGraphCascadedShadowGeneratorBlock | BABYLON.NodeRenderGraphGlowLayerBlock | BABYLON.NodeRenderGraphHighlightLayerBlock | BABYLON.NodeRenderGraphSSRPostProcessBlock | BABYLON.NodeRenderGraphAnaglyphPostProcessBlock | BABYLON.NodeRenderGraphChromaticAberrationPostProcessBlock | BABYLON.NodeRenderGraphImageProcessingPostProcessBlock | null;
4548
4544
  static GetColorFromConnectionNodeType(type: BABYLON.NodeRenderGraphBlockConnectionPointTypes): string;
4549
4545
  static GetConnectionNodeTypeFromString(type: string): BABYLON.NodeRenderGraphBlockConnectionPointTypes.Texture | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureBackBuffer | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureBackBufferDepthStencilAttachment | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureDepthStencilAttachment | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureViewDepth | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureViewNormal | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureAlbedo | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureReflectivity | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureWorldPosition | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureVelocity | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureScreenDepth | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureWorldNormal | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureLocalPosition | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureLinearVelocity | BABYLON.NodeRenderGraphBlockConnectionPointTypes.ResourceContainer | BABYLON.NodeRenderGraphBlockConnectionPointTypes.ShadowGenerator | BABYLON.NodeRenderGraphBlockConnectionPointTypes.ShadowLight | BABYLON.NodeRenderGraphBlockConnectionPointTypes.Camera | BABYLON.NodeRenderGraphBlockConnectionPointTypes.ObjectList | BABYLON.NodeRenderGraphBlockConnectionPointTypes.AutoDetect;
4550
4546
  static GetStringFromConnectionNodeType(type: BABYLON.NodeRenderGraphBlockConnectionPointTypes): "" | "Texture" | "Camera" | "TextureBackBuffer" | "TextureBackBufferDepthStencilAttachment" | "TextureDepthStencilAttachment" | "ObjectList" | "TextureNormal" | "TextureAlbedo" | "TextureReflectivity" | "TexturePosition" | "TextureVelocity" | "TextureScreenDepth" | "TextureLocalPosition" | "TextureWorldNormal" | "TextureLinearVelocity" | "ResourceContainer" | "ShadowGenerator" | "ShadowLight" | "TextureDepth";
@@ -5702,7 +5698,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
5702
5698
  * @param props defines the split container properties
5703
5699
  * @returns the split container component
5704
5700
  */
5705
- export var SplitContainer: React.FC<ISplitContainerProps>;
5701
+ export var SplitContainer: React.FC<React.PropsWithChildren<ISplitContainerProps>>;
5706
5702
 
5707
5703
 
5708
5704
 
@@ -7464,9 +7460,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
7464
7460
  constructor(props: IColorPickerLineProps);
7465
7461
  syncPositions(): void;
7466
7462
  shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
7467
- getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
7468
- children?: React.ReactNode | undefined;
7469
- }>): string;
7463
+ getHexString(props?: Readonly<IColorPickerLineProps>): string;
7470
7464
  componentDidUpdate(): void;
7471
7465
  componentDidMount(): void;
7472
7466
  render(): import("react/jsx-runtime").JSX.Element;
@@ -7499,9 +7493,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
7499
7493
  export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
7500
7494
  constructor(props: IColorLineProps);
7501
7495
  shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
7502
- getValue(props?: Readonly<IColorLineProps> & Readonly<{
7503
- children?: React.ReactNode | undefined;
7504
- }>): BABYLON.Color4;
7496
+ getValue(props?: Readonly<IColorLineProps>): BABYLON.Color4;
7505
7497
  setColorFromString(colorString: string): void;
7506
7498
  setColor(newColor: BABYLON.Color4): void;
7507
7499
  switchExpandState(): void;
@@ -7752,7 +7744,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
7752
7744
  title?: string;
7753
7745
  backgroundColor?: string;
7754
7746
  };
7755
- export var Button: React.FC<ButtonProps>;
7747
+ export var Button: React.FC<React.PropsWithChildren<ButtonProps>>;
7756
7748
 
7757
7749
 
7758
7750
 
@@ -7842,7 +7834,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
7842
7834
  * @param props
7843
7835
  * @returns
7844
7836
  */
7845
- export const NodeRenderer: (props: INodeRendererProps) => import("react/jsx-runtime").JSX.Element;
7837
+ export const NodeRenderer: (props: React.PropsWithChildren<INodeRendererProps>) => import("react/jsx-runtime").JSX.Element;
7846
7838
 
7847
7839
 
7848
7840
 
@@ -7861,7 +7853,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
7861
7853
  * @param props properties
7862
7854
  * @returns graph node container element
7863
7855
  */
7864
- export var GraphNodesContainer: React.FC<IGraphContainerProps>;
7856
+ export var GraphNodesContainer: React.FC<React.PropsWithChildren<IGraphContainerProps>>;
7865
7857
 
7866
7858
 
7867
7859
 
@@ -7882,7 +7874,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
7882
7874
  highlighted?: boolean;
7883
7875
  parentContainerId: string;
7884
7876
  }
7885
- export var SingleGraphNode: React.FC<IGraphNodeProps>;
7877
+ export var SingleGraphNode: React.FC<React.PropsWithChildren<IGraphNodeProps>>;
7886
7878
 
7887
7879
 
7888
7880
 
@@ -7906,7 +7898,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
7906
7898
  * @param props
7907
7899
  * @returns
7908
7900
  */
7909
- export var GraphLinesContainer: React.FC<IGraphLinesContainerProps>;
7901
+ export var GraphLinesContainer: React.FC<React.PropsWithChildren<IGraphLinesContainerProps>>;
7910
7902
 
7911
7903
 
7912
7904
 
@@ -7992,7 +7984,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
7992
7984
  * @param props
7993
7985
  * @returns
7994
7986
  */
7995
- export var GraphContainer: React.FC<IGraphContainerProps>;
7987
+ export var GraphContainer: React.FC<React.PropsWithChildren<IGraphContainerProps>>;
7996
7988
 
7997
7989
 
7998
7990
 
@@ -8044,7 +8036,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
8044
8036
  * drag the handle in a node and drop it in another node to create a connection.
8045
8037
  * @returns connector element
8046
8038
  */
8047
- export var GraphConnectorHandler: React.FC<IGraphConnectorHandlerProps>;
8039
+ export var GraphConnectorHandler: React.FC<React.PropsWithChildren<IGraphConnectorHandlerProps>>;
8048
8040
 
8049
8041
 
8050
8042
 
@@ -8166,9 +8158,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
8166
8158
  constructor(props: IColorPickerLineComponentProps);
8167
8159
  syncPositions(): void;
8168
8160
  shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
8169
- getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
8170
- children?: React.ReactNode | undefined;
8171
- }>): string;
8161
+ getHexString(props?: Readonly<IColorPickerLineComponentProps>): string;
8172
8162
  componentDidUpdate(): void;
8173
8163
  componentDidMount(): void;
8174
8164
  render(): import("react/jsx-runtime").JSX.Element;
@@ -8201,9 +8191,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
8201
8191
  export class ColorLineComponent extends React.Component<IColorLineComponentProps, IColorLineComponentState> {
8202
8192
  constructor(props: IColorLineComponentProps);
8203
8193
  shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
8204
- getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
8205
- children?: React.ReactNode | undefined;
8206
- }>): BABYLON.Color4;
8194
+ getValue(props?: Readonly<IColorLineComponentProps>): BABYLON.Color4;
8207
8195
  setColorFromString(colorString: string): void;
8208
8196
  setColor(newColor: BABYLON.Color4): void;
8209
8197
  switchExpandState(): void;
@@ -8563,7 +8551,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
8563
8551
  * @param props properties
8564
8552
  * @returns drop zone element
8565
8553
  */
8566
- export var FlexibleDropZone: React.FC<IFlexibleDropZoneProps>;
8554
+ export var FlexibleDropZone: React.FC<React.PropsWithChildren<IFlexibleDropZoneProps>>;
8567
8555
 
8568
8556
 
8569
8557
 
@@ -8591,7 +8579,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
8591
8579
  * @param props properties
8592
8580
  * @returns DragHandler element
8593
8581
  */
8594
- export var FlexibleDragHandler: React.FC<IFlexibleDragHandlerProps>;
8582
+ export var FlexibleDragHandler: React.FC<React.PropsWithChildren<IFlexibleDragHandlerProps>>;
8595
8583
 
8596
8584
 
8597
8585
 
@@ -8616,7 +8604,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
8616
8604
  * @param props
8617
8605
  * @returns
8618
8606
  */
8619
- export var FlexibleColumn: React.FC<IFlexibleColumnProps>;
8607
+ export var FlexibleColumn: React.FC<React.PropsWithChildren<IFlexibleColumnProps>>;
8620
8608
 
8621
8609
 
8622
8610
 
@@ -8825,7 +8813,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
8825
8813
  artboardColor?: string;
8826
8814
  artboardColorPickerColor?: string;
8827
8815
  }
8828
- export var CommandBarComponent: React.FC<ICommandBarComponentProps>;
8816
+ export var CommandBarComponent: React.FC<React.PropsWithChildren<ICommandBarComponentProps>>;
8829
8817
 
8830
8818
 
8831
8819
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-render-graph-editor",
3
- "version": "8.1.1",
3
+ "version": "8.2.0",
4
4
  "main": "babylon.nodeRenderGraphEditor.js",
5
5
  "types": "babylon.nodeRenderGraphEditor.module.d.ts",
6
6
  "files": [
@@ -14,22 +14,22 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^8.1.1"
17
+ "babylonjs": "^8.2.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",
21
21
  "@dev/shared-ui-components": "1.0.0",
22
22
  "@tools/node-render-graph-editor": "1.0.0",
23
- "@types/react": "^17.0.30",
24
- "@types/react-dom": "^17.0.10",
23
+ "@types/react": "^18.0.0",
24
+ "@types/react-dom": "^18.0.0",
25
25
  "css-loader": "^7.1.0",
26
- "react": "^17.0.2",
26
+ "react": "^18.2.0",
27
27
  "react-contextmenu": "RaananW/react-contextmenu",
28
- "react-dom": "^17.0.2",
28
+ "react-dom": "^18.2.0",
29
29
  "sass-loader": "^13.0.0",
30
30
  "source-map-loader": "^4.0.0",
31
31
  "ts-loader": "^9.2.6",
32
- "webpack": "^5.73.0",
32
+ "webpack": "^5.98.0",
33
33
  "webpack-cli": "^5.1.0",
34
34
  "webpack-merge": "^5.8.0"
35
35
  },