babylonjs-node-render-graph-editor 7.23.4 → 7.24.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.
@@ -1148,8 +1148,7 @@ declare module BABYLON.NodeRenderGraphEditor {
1148
1148
 
1149
1149
  }
1150
1150
  declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
1151
- /// <reference types="react" />
1152
- /**
1151
+ /**
1153
1152
  * Splitter component properties
1154
1153
  */
1155
1154
  export interface ISplitterProps {
@@ -1197,8 +1196,7 @@ declare module BABYLON.NodeRenderGraphEditor {
1197
1196
 
1198
1197
  }
1199
1198
  declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
1200
- /// <reference types="react" />
1201
- export enum ControlledSize {
1199
+ export enum ControlledSize {
1202
1200
  First = 0,
1203
1201
  Second = 1
1204
1202
  }
@@ -1249,8 +1247,7 @@ declare module BABYLON.NodeRenderGraphEditor {
1249
1247
 
1250
1248
  }
1251
1249
  declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
1252
- /// <reference types="react" />
1253
- /**
1250
+ /**
1254
1251
  * Split container properties
1255
1252
  */
1256
1253
  export interface ISplitContainerProps {
@@ -1366,8 +1363,8 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
1366
1363
  type: string;
1367
1364
  targetX: number;
1368
1365
  targetY: number;
1369
- needRepositioning?: boolean | undefined;
1370
- smartAdd?: boolean | undefined;
1366
+ needRepositioning?: boolean;
1367
+ smartAdd?: boolean;
1371
1368
  }>;
1372
1369
  onHighlightNodeObservable: BABYLON.Observable<{
1373
1370
  data: any;
@@ -1531,8 +1528,7 @@ declare module BABYLON.NodeRenderGraphEditor {
1531
1528
 
1532
1529
  }
1533
1530
  declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
1534
- /// <reference types="react" />
1535
- export class GraphNode {
1531
+ export class GraphNode {
1536
1532
  content: BABYLON.NodeRenderGraphEditor.SharedUIComponents.INodeData;
1537
1533
  private _visual;
1538
1534
  private _headerContainer;
@@ -2989,7 +2985,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
2989
2985
  syncPositions(): void;
2990
2986
  shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
2991
2987
  getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
2992
- children?: React.ReactNode;
2988
+ children?: React.ReactNode | undefined;
2993
2989
  }>): string;
2994
2990
  componentDidUpdate(): void;
2995
2991
  componentDidMount(): void;
@@ -3024,7 +3020,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3024
3020
  constructor(props: IColorLineProps);
3025
3021
  shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
3026
3022
  getValue(props?: Readonly<IColorLineProps> & Readonly<{
3027
- children?: React.ReactNode;
3023
+ children?: React.ReactNode | undefined;
3028
3024
  }>): BABYLON.Color4;
3029
3025
  setColorFromString(colorString: string): void;
3030
3026
  setColor(newColor: BABYLON.Color4): void;
@@ -3185,8 +3181,7 @@ declare module BABYLON.NodeRenderGraphEditor {
3185
3181
 
3186
3182
  }
3187
3183
  declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3188
- /// <reference types="react" />
3189
- export type ToggleProps = {
3184
+ export type ToggleProps = {
3190
3185
  toggled: "on" | "mixed" | "off";
3191
3186
  onToggle?: () => void;
3192
3187
  padded?: boolean;
@@ -3254,8 +3249,7 @@ declare module BABYLON.NodeRenderGraphEditor {
3254
3249
 
3255
3250
  }
3256
3251
  declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3257
- /// <reference types="react" />
3258
- export type IconProps = {
3252
+ export type IconProps = {
3259
3253
  color?: "dark" | "light";
3260
3254
  icon: string;
3261
3255
  };
@@ -3269,8 +3263,7 @@ declare module BABYLON.NodeRenderGraphEditor {
3269
3263
 
3270
3264
  }
3271
3265
  declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3272
- /// <reference types="react" />
3273
- export type ButtonProps = {
3266
+ export type ButtonProps = {
3274
3267
  disabled?: boolean;
3275
3268
  active?: boolean;
3276
3269
  onClick?: () => void;
@@ -3493,8 +3486,7 @@ declare module BABYLON.NodeRenderGraphEditor {
3493
3486
 
3494
3487
  }
3495
3488
  declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3496
- /// <reference types="react" />
3497
- /**
3489
+ /**
3498
3490
  * this context is used to pass callbacks to the graph nodes and connections
3499
3491
  */
3500
3492
  export interface IGraphContext {
@@ -3695,7 +3687,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3695
3687
  syncPositions(): void;
3696
3688
  shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
3697
3689
  getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
3698
- children?: React.ReactNode;
3690
+ children?: React.ReactNode | undefined;
3699
3691
  }>): string;
3700
3692
  componentDidUpdate(): void;
3701
3693
  componentDidMount(): void;
@@ -3730,7 +3722,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3730
3722
  constructor(props: IColorLineComponentProps);
3731
3723
  shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
3732
3724
  getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
3733
- children?: React.ReactNode;
3725
+ children?: React.ReactNode | undefined;
3734
3726
  }>): BABYLON.Color4;
3735
3727
  setColorFromString(colorString: string): void;
3736
3728
  setColor(newColor: BABYLON.Color4): void;
@@ -3880,8 +3872,7 @@ declare module BABYLON.NodeRenderGraphEditor {
3880
3872
 
3881
3873
  }
3882
3874
  declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3883
- /// <reference types="react" />
3884
- export var LayoutContext: import("react").Context<{
3875
+ export var LayoutContext: import("react").Context<{
3885
3876
  /**
3886
3877
  * The layout object
3887
3878
  */