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