babylonjs-node-geometry-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.NodeGeometryEditor {
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
 
@@ -1335,7 +1335,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1335
1335
  * @param props defines the split container properties
1336
1336
  * @returns the split container component
1337
1337
  */
1338
- export var SplitContainer: React.FC<ISplitContainerProps>;
1338
+ export var SplitContainer: React.FC<React.PropsWithChildren<ISplitContainerProps>>;
1339
1339
 
1340
1340
 
1341
1341
 
@@ -3097,9 +3097,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3097
3097
  constructor(props: IColorPickerLineProps);
3098
3098
  syncPositions(): void;
3099
3099
  shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
3100
- getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
3101
- children?: React.ReactNode | undefined;
3102
- }>): string;
3100
+ getHexString(props?: Readonly<IColorPickerLineProps>): string;
3103
3101
  componentDidUpdate(): void;
3104
3102
  componentDidMount(): void;
3105
3103
  render(): import("react/jsx-runtime").JSX.Element;
@@ -3132,9 +3130,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3132
3130
  export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
3133
3131
  constructor(props: IColorLineProps);
3134
3132
  shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
3135
- getValue(props?: Readonly<IColorLineProps> & Readonly<{
3136
- children?: React.ReactNode | undefined;
3137
- }>): BABYLON.Color4;
3133
+ getValue(props?: Readonly<IColorLineProps>): BABYLON.Color4;
3138
3134
  setColorFromString(colorString: string): void;
3139
3135
  setColor(newColor: BABYLON.Color4): void;
3140
3136
  switchExpandState(): void;
@@ -3385,7 +3381,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3385
3381
  title?: string;
3386
3382
  backgroundColor?: string;
3387
3383
  };
3388
- export var Button: React.FC<ButtonProps>;
3384
+ export var Button: React.FC<React.PropsWithChildren<ButtonProps>>;
3389
3385
 
3390
3386
 
3391
3387
 
@@ -3475,7 +3471,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3475
3471
  * @param props
3476
3472
  * @returns
3477
3473
  */
3478
- export const NodeRenderer: (props: INodeRendererProps) => import("react/jsx-runtime").JSX.Element;
3474
+ export const NodeRenderer: (props: React.PropsWithChildren<INodeRendererProps>) => import("react/jsx-runtime").JSX.Element;
3479
3475
 
3480
3476
 
3481
3477
 
@@ -3494,7 +3490,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3494
3490
  * @param props properties
3495
3491
  * @returns graph node container element
3496
3492
  */
3497
- export var GraphNodesContainer: React.FC<IGraphContainerProps>;
3493
+ export var GraphNodesContainer: React.FC<React.PropsWithChildren<IGraphContainerProps>>;
3498
3494
 
3499
3495
 
3500
3496
 
@@ -3515,7 +3511,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3515
3511
  highlighted?: boolean;
3516
3512
  parentContainerId: string;
3517
3513
  }
3518
- export var SingleGraphNode: React.FC<IGraphNodeProps>;
3514
+ export var SingleGraphNode: React.FC<React.PropsWithChildren<IGraphNodeProps>>;
3519
3515
 
3520
3516
 
3521
3517
 
@@ -3539,7 +3535,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3539
3535
  * @param props
3540
3536
  * @returns
3541
3537
  */
3542
- export var GraphLinesContainer: React.FC<IGraphLinesContainerProps>;
3538
+ export var GraphLinesContainer: React.FC<React.PropsWithChildren<IGraphLinesContainerProps>>;
3543
3539
 
3544
3540
 
3545
3541
 
@@ -3625,7 +3621,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3625
3621
  * @param props
3626
3622
  * @returns
3627
3623
  */
3628
- export var GraphContainer: React.FC<IGraphContainerProps>;
3624
+ export var GraphContainer: React.FC<React.PropsWithChildren<IGraphContainerProps>>;
3629
3625
 
3630
3626
 
3631
3627
 
@@ -3677,7 +3673,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3677
3673
  * drag the handle in a node and drop it in another node to create a connection.
3678
3674
  * @returns connector element
3679
3675
  */
3680
- export var GraphConnectorHandler: React.FC<IGraphConnectorHandlerProps>;
3676
+ export var GraphConnectorHandler: React.FC<React.PropsWithChildren<IGraphConnectorHandlerProps>>;
3681
3677
 
3682
3678
 
3683
3679
 
@@ -3799,9 +3795,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3799
3795
  constructor(props: IColorPickerLineComponentProps);
3800
3796
  syncPositions(): void;
3801
3797
  shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
3802
- getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
3803
- children?: React.ReactNode | undefined;
3804
- }>): string;
3798
+ getHexString(props?: Readonly<IColorPickerLineComponentProps>): string;
3805
3799
  componentDidUpdate(): void;
3806
3800
  componentDidMount(): void;
3807
3801
  render(): import("react/jsx-runtime").JSX.Element;
@@ -3834,9 +3828,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
3834
3828
  export class ColorLineComponent extends React.Component<IColorLineComponentProps, IColorLineComponentState> {
3835
3829
  constructor(props: IColorLineComponentProps);
3836
3830
  shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
3837
- getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
3838
- children?: React.ReactNode | undefined;
3839
- }>): BABYLON.Color4;
3831
+ getValue(props?: Readonly<IColorLineComponentProps>): BABYLON.Color4;
3840
3832
  setColorFromString(colorString: string): void;
3841
3833
  setColor(newColor: BABYLON.Color4): void;
3842
3834
  switchExpandState(): void;
@@ -4196,7 +4188,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
4196
4188
  * @param props properties
4197
4189
  * @returns drop zone element
4198
4190
  */
4199
- export var FlexibleDropZone: React.FC<IFlexibleDropZoneProps>;
4191
+ export var FlexibleDropZone: React.FC<React.PropsWithChildren<IFlexibleDropZoneProps>>;
4200
4192
 
4201
4193
 
4202
4194
 
@@ -4224,7 +4216,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
4224
4216
  * @param props properties
4225
4217
  * @returns DragHandler element
4226
4218
  */
4227
- export var FlexibleDragHandler: React.FC<IFlexibleDragHandlerProps>;
4219
+ export var FlexibleDragHandler: React.FC<React.PropsWithChildren<IFlexibleDragHandlerProps>>;
4228
4220
 
4229
4221
 
4230
4222
 
@@ -4249,7 +4241,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
4249
4241
  * @param props
4250
4242
  * @returns
4251
4243
  */
4252
- export var FlexibleColumn: React.FC<IFlexibleColumnProps>;
4244
+ export var FlexibleColumn: React.FC<React.PropsWithChildren<IFlexibleColumnProps>>;
4253
4245
 
4254
4246
 
4255
4247
 
@@ -4458,7 +4450,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
4458
4450
  artboardColor?: string;
4459
4451
  artboardColorPickerColor?: string;
4460
4452
  }
4461
- export var CommandBarComponent: React.FC<ICommandBarComponentProps>;
4453
+ export var CommandBarComponent: React.FC<React.PropsWithChildren<ICommandBarComponentProps>>;
4462
4454
 
4463
4455
 
4464
4456