@babylonjs/node-geometry-editor 7.34.3 → 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.
@@ -54960,7 +54960,7 @@ class GraphFrame {
54960
54960
  height: this._height,
54961
54961
  color: this._color.asArray(),
54962
54962
  name: this.name,
54963
- isCollapsed: saveCollapsedState ? this.isCollapsed : true,
54963
+ isCollapsed: saveCollapsedState ? this.isCollapsed : true, //keeping closed for stand along exporting.
54964
54964
  blocks: this.nodes.map((n) => n.content.uniqueId),
54965
54965
  comments: this._comments,
54966
54966
  };
@@ -1395,7 +1395,6 @@ export {};
1395
1395
 
1396
1396
  }
1397
1397
  declare module "@babylonjs/node-geometry-editor/split/splitter" {
1398
- /// <reference types="react" />
1399
1398
  import { ControlledSize } from "@babylonjs/node-geometry-editor/split/splitContext";
1400
1399
  /**
1401
1400
  * Splitter component properties
@@ -1439,7 +1438,6 @@ export const Splitter: React.FC<ISplitterProps>;
1439
1438
 
1440
1439
  }
1441
1440
  declare module "@babylonjs/node-geometry-editor/split/splitContext" {
1442
- /// <reference types="react" />
1443
1441
  export enum ControlledSize {
1444
1442
  First = 0,
1445
1443
  Second = 1
@@ -1485,7 +1483,6 @@ export const SplitContext: import("react").Context<ISplitContext>;
1485
1483
 
1486
1484
  }
1487
1485
  declare module "@babylonjs/node-geometry-editor/split/splitContainer" {
1488
- /// <reference types="react" />
1489
1486
  import { SplitDirection } from "@babylonjs/node-geometry-editor/split/splitContext";
1490
1487
  /**
1491
1488
  * Split container properties
@@ -1606,8 +1603,8 @@ export class StateManager {
1606
1603
  type: string;
1607
1604
  targetX: number;
1608
1605
  targetY: number;
1609
- needRepositioning?: boolean | undefined;
1610
- smartAdd?: boolean | undefined;
1606
+ needRepositioning?: boolean;
1607
+ smartAdd?: boolean;
1611
1608
  }>;
1612
1609
  onHighlightNodeObservable: Observable<{
1613
1610
  data: any;
@@ -1754,7 +1751,6 @@ export class NodeLedger {
1754
1751
 
1755
1752
  }
1756
1753
  declare module "@babylonjs/node-geometry-editor/nodeGraphSystem/graphNode" {
1757
- /// <reference types="react" />
1758
1754
  import { Nullable } from "@babylonjs/core/types";
1759
1755
  import { GraphCanvasComponent } from "@babylonjs/node-geometry-editor/nodeGraphSystem/graphCanvas";
1760
1756
  import { NodePort } from "@babylonjs/node-geometry-editor/nodeGraphSystem/nodePort";
@@ -3104,7 +3100,7 @@ export class ColorPickerLine extends React.Component<IColorPickerLineProps, ICol
3104
3100
  syncPositions(): void;
3105
3101
  shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
3106
3102
  getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
3107
- children?: React.ReactNode;
3103
+ children?: React.ReactNode | undefined;
3108
3104
  }>): string;
3109
3105
  componentDidUpdate(): void;
3110
3106
  componentDidMount(): void;
@@ -3139,7 +3135,7 @@ export class ColorLine extends React.Component<IColorLineProps, IColorLineCompon
3139
3135
  constructor(props: IColorLineProps);
3140
3136
  shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
3141
3137
  getValue(props?: Readonly<IColorLineProps> & Readonly<{
3142
- children?: React.ReactNode;
3138
+ children?: React.ReactNode | undefined;
3143
3139
  }>): Color4;
3144
3140
  setColorFromString(colorString: string): void;
3145
3141
  setColor(newColor: Color4): void;
@@ -3273,7 +3269,6 @@ export function JoinClassNames(styleObject: any, ...names: string[]): string;
3273
3269
 
3274
3270
  }
3275
3271
  declare module "@babylonjs/node-geometry-editor/components/Toggle" {
3276
- /// <reference types="react" />
3277
3272
  export type ToggleProps = {
3278
3273
  toggled: "on" | "mixed" | "off";
3279
3274
  onToggle?: () => void;
@@ -3320,7 +3315,6 @@ export const Label: React.FC<LabelProps>;
3320
3315
 
3321
3316
  }
3322
3317
  declare module "@babylonjs/node-geometry-editor/components/Icon" {
3323
- /// <reference types="react" />
3324
3318
  export type IconProps = {
3325
3319
  color?: "dark" | "light";
3326
3320
  icon: string;
@@ -3329,7 +3323,6 @@ export const Icon: React.FC<IconProps>;
3329
3323
 
3330
3324
  }
3331
3325
  declare module "@babylonjs/node-geometry-editor/components/Button" {
3332
- /// <reference types="react" />
3333
3326
  export type ButtonProps = {
3334
3327
  disabled?: boolean;
3335
3328
  active?: boolean;
@@ -3517,7 +3510,6 @@ export const GraphLine: FC<IGraphLineProps>;
3517
3510
 
3518
3511
  }
3519
3512
  declare module "@babylonjs/node-geometry-editor/components/reactGraphSystem/GraphContextManager" {
3520
- /// <reference types="react" />
3521
3513
  /**
3522
3514
  * this context is used to pass callbacks to the graph nodes and connections
3523
3515
  */
@@ -3692,7 +3684,7 @@ export class ColorPickerLineComponent extends React.Component<IColorPickerLineCo
3692
3684
  syncPositions(): void;
3693
3685
  shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
3694
3686
  getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
3695
- children?: React.ReactNode;
3687
+ children?: React.ReactNode | undefined;
3696
3688
  }>): string;
3697
3689
  componentDidUpdate(): void;
3698
3690
  componentDidMount(): void;
@@ -3727,7 +3719,7 @@ export class ColorLineComponent extends React.Component<IColorLineComponentProps
3727
3719
  constructor(props: IColorLineComponentProps);
3728
3720
  shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
3729
3721
  getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
3730
- children?: React.ReactNode;
3722
+ children?: React.ReactNode | undefined;
3731
3723
  }>): Color4;
3732
3724
  setColorFromString(colorString: string): void;
3733
3725
  setColor(newColor: Color4): void;
@@ -3862,7 +3854,6 @@ export enum ResizeDirections {
3862
3854
 
3863
3855
  }
3864
3856
  declare module "@babylonjs/node-geometry-editor/components/layout/LayoutContext" {
3865
- /// <reference types="react" />
3866
3857
  import { Layout } from "@babylonjs/node-geometry-editor/components/layout/types";
3867
3858
  export const LayoutContext: import("react").Context<{
3868
3859
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-geometry-editor",
3
- "version": "7.34.3",
3
+ "version": "7.35.0",
4
4
  "main": "dist/babylon.nodeGeometryEditor.max.js",
5
5
  "module": "dist/babylon.nodeGeometryEditor.max.js",
6
6
  "esnext": "dist/babylon.nodeGeometryEditor.max.js",
@@ -23,7 +23,7 @@
23
23
  "@types/react-dom": ">=16.0.9"
24
24
  },
25
25
  "devDependencies": {
26
- "@babylonjs/core": "^7.34.3",
26
+ "@babylonjs/core": "^7.35.0",
27
27
  "react": "^17.0.2",
28
28
  "react-dom": "^17.0.2"
29
29
  },