babylonjs-node-editor 8.1.0 → 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.
@@ -11,7 +11,7 @@ declare module BABYLON.NodeEditor {
11
11
  interface IPortalProps {
12
12
  globalState: GlobalState;
13
13
  }
14
- export class Portal extends React.Component<IPortalProps> {
14
+ export class Portal extends React.Component<React.PropsWithChildren<IPortalProps>> {
15
15
  render(): React.ReactPortal;
16
16
  }
17
17
 
@@ -1580,7 +1580,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1580
1580
  * @param props defines the split container properties
1581
1581
  * @returns the split container component
1582
1582
  */
1583
- export var SplitContainer: React.FC<ISplitContainerProps>;
1583
+ export var SplitContainer: React.FC<React.PropsWithChildren<ISplitContainerProps>>;
1584
1584
 
1585
1585
 
1586
1586
 
@@ -3342,9 +3342,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
3342
3342
  constructor(props: IColorPickerLineProps);
3343
3343
  syncPositions(): void;
3344
3344
  shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
3345
- getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
3346
- children?: React.ReactNode | undefined;
3347
- }>): string;
3345
+ getHexString(props?: Readonly<IColorPickerLineProps>): string;
3348
3346
  componentDidUpdate(): void;
3349
3347
  componentDidMount(): void;
3350
3348
  render(): import("react/jsx-runtime").JSX.Element;
@@ -3377,9 +3375,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
3377
3375
  export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
3378
3376
  constructor(props: IColorLineProps);
3379
3377
  shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
3380
- getValue(props?: Readonly<IColorLineProps> & Readonly<{
3381
- children?: React.ReactNode | undefined;
3382
- }>): BABYLON.Color4;
3378
+ getValue(props?: Readonly<IColorLineProps>): BABYLON.Color4;
3383
3379
  setColorFromString(colorString: string): void;
3384
3380
  setColor(newColor: BABYLON.Color4): void;
3385
3381
  switchExpandState(): void;
@@ -3630,7 +3626,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
3630
3626
  title?: string;
3631
3627
  backgroundColor?: string;
3632
3628
  };
3633
- export var Button: React.FC<ButtonProps>;
3629
+ export var Button: React.FC<React.PropsWithChildren<ButtonProps>>;
3634
3630
 
3635
3631
 
3636
3632
 
@@ -3720,7 +3716,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
3720
3716
  * @param props
3721
3717
  * @returns
3722
3718
  */
3723
- export const NodeRenderer: (props: INodeRendererProps) => import("react/jsx-runtime").JSX.Element;
3719
+ export const NodeRenderer: (props: React.PropsWithChildren<INodeRendererProps>) => import("react/jsx-runtime").JSX.Element;
3724
3720
 
3725
3721
 
3726
3722
 
@@ -3739,7 +3735,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
3739
3735
  * @param props properties
3740
3736
  * @returns graph node container element
3741
3737
  */
3742
- export var GraphNodesContainer: React.FC<IGraphContainerProps>;
3738
+ export var GraphNodesContainer: React.FC<React.PropsWithChildren<IGraphContainerProps>>;
3743
3739
 
3744
3740
 
3745
3741
 
@@ -3760,7 +3756,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
3760
3756
  highlighted?: boolean;
3761
3757
  parentContainerId: string;
3762
3758
  }
3763
- export var SingleGraphNode: React.FC<IGraphNodeProps>;
3759
+ export var SingleGraphNode: React.FC<React.PropsWithChildren<IGraphNodeProps>>;
3764
3760
 
3765
3761
 
3766
3762
 
@@ -3784,7 +3780,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
3784
3780
  * @param props
3785
3781
  * @returns
3786
3782
  */
3787
- export var GraphLinesContainer: React.FC<IGraphLinesContainerProps>;
3783
+ export var GraphLinesContainer: React.FC<React.PropsWithChildren<IGraphLinesContainerProps>>;
3788
3784
 
3789
3785
 
3790
3786
 
@@ -3870,7 +3866,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
3870
3866
  * @param props
3871
3867
  * @returns
3872
3868
  */
3873
- export var GraphContainer: React.FC<IGraphContainerProps>;
3869
+ export var GraphContainer: React.FC<React.PropsWithChildren<IGraphContainerProps>>;
3874
3870
 
3875
3871
 
3876
3872
 
@@ -3922,7 +3918,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
3922
3918
  * drag the handle in a node and drop it in another node to create a connection.
3923
3919
  * @returns connector element
3924
3920
  */
3925
- export var GraphConnectorHandler: React.FC<IGraphConnectorHandlerProps>;
3921
+ export var GraphConnectorHandler: React.FC<React.PropsWithChildren<IGraphConnectorHandlerProps>>;
3926
3922
 
3927
3923
 
3928
3924
 
@@ -4044,9 +4040,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
4044
4040
  constructor(props: IColorPickerLineComponentProps);
4045
4041
  syncPositions(): void;
4046
4042
  shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
4047
- getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
4048
- children?: React.ReactNode | undefined;
4049
- }>): string;
4043
+ getHexString(props?: Readonly<IColorPickerLineComponentProps>): string;
4050
4044
  componentDidUpdate(): void;
4051
4045
  componentDidMount(): void;
4052
4046
  render(): import("react/jsx-runtime").JSX.Element;
@@ -4079,9 +4073,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
4079
4073
  export class ColorLineComponent extends React.Component<IColorLineComponentProps, IColorLineComponentState> {
4080
4074
  constructor(props: IColorLineComponentProps);
4081
4075
  shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
4082
- getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
4083
- children?: React.ReactNode | undefined;
4084
- }>): BABYLON.Color4;
4076
+ getValue(props?: Readonly<IColorLineComponentProps>): BABYLON.Color4;
4085
4077
  setColorFromString(colorString: string): void;
4086
4078
  setColor(newColor: BABYLON.Color4): void;
4087
4079
  switchExpandState(): void;
@@ -4441,7 +4433,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
4441
4433
  * @param props properties
4442
4434
  * @returns drop zone element
4443
4435
  */
4444
- export var FlexibleDropZone: React.FC<IFlexibleDropZoneProps>;
4436
+ export var FlexibleDropZone: React.FC<React.PropsWithChildren<IFlexibleDropZoneProps>>;
4445
4437
 
4446
4438
 
4447
4439
 
@@ -4469,7 +4461,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
4469
4461
  * @param props properties
4470
4462
  * @returns DragHandler element
4471
4463
  */
4472
- export var FlexibleDragHandler: React.FC<IFlexibleDragHandlerProps>;
4464
+ export var FlexibleDragHandler: React.FC<React.PropsWithChildren<IFlexibleDragHandlerProps>>;
4473
4465
 
4474
4466
 
4475
4467
 
@@ -4494,7 +4486,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
4494
4486
  * @param props
4495
4487
  * @returns
4496
4488
  */
4497
- export var FlexibleColumn: React.FC<IFlexibleColumnProps>;
4489
+ export var FlexibleColumn: React.FC<React.PropsWithChildren<IFlexibleColumnProps>>;
4498
4490
 
4499
4491
 
4500
4492
 
@@ -4703,7 +4695,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
4703
4695
  artboardColor?: string;
4704
4696
  artboardColorPickerColor?: string;
4705
4697
  }
4706
- export var CommandBarComponent: React.FC<ICommandBarComponentProps>;
4698
+ export var CommandBarComponent: React.FC<React.PropsWithChildren<ICommandBarComponentProps>>;
4707
4699
 
4708
4700
 
4709
4701