babylonjs-node-geometry-editor 7.34.4 → 7.35.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.
@@ -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/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
  /**
@@ -5521,8 +5512,7 @@ declare module BABYLON.NodeGeometryEditor {
5521
5512
 
5522
5513
  }
5523
5514
  declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
5524
- /// <reference types="react" />
5525
- /**
5515
+ /**
5526
5516
  * Splitter component properties
5527
5517
  */
5528
5518
  export interface ISplitterProps {
@@ -5570,8 +5560,7 @@ declare module BABYLON.NodeGeometryEditor {
5570
5560
 
5571
5561
  }
5572
5562
  declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
5573
- /// <reference types="react" />
5574
- export enum ControlledSize {
5563
+ export enum ControlledSize {
5575
5564
  First = 0,
5576
5565
  Second = 1
5577
5566
  }
@@ -5622,8 +5611,7 @@ declare module BABYLON.NodeGeometryEditor {
5622
5611
 
5623
5612
  }
5624
5613
  declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
5625
- /// <reference types="react" />
5626
- /**
5614
+ /**
5627
5615
  * Split container properties
5628
5616
  */
5629
5617
  export interface ISplitContainerProps {
@@ -5739,8 +5727,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
5739
5727
  type: string;
5740
5728
  targetX: number;
5741
5729
  targetY: number;
5742
- needRepositioning?: boolean | undefined;
5743
- smartAdd?: boolean | undefined;
5730
+ needRepositioning?: boolean;
5731
+ smartAdd?: boolean;
5744
5732
  }>;
5745
5733
  onHighlightNodeObservable: BABYLON.Observable<{
5746
5734
  data: any;
@@ -5904,8 +5892,7 @@ declare module BABYLON.NodeGeometryEditor {
5904
5892
 
5905
5893
  }
5906
5894
  declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
5907
- /// <reference types="react" />
5908
- export class GraphNode {
5895
+ export class GraphNode {
5909
5896
  content: BABYLON.NodeGeometryEditor.SharedUIComponents.INodeData;
5910
5897
  private _visual;
5911
5898
  private _headerContainer;
@@ -7362,7 +7349,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
7362
7349
  syncPositions(): void;
7363
7350
  shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
7364
7351
  getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
7365
- children?: React.ReactNode;
7352
+ children?: React.ReactNode | undefined;
7366
7353
  }>): string;
7367
7354
  componentDidUpdate(): void;
7368
7355
  componentDidMount(): void;
@@ -7397,7 +7384,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
7397
7384
  constructor(props: IColorLineProps);
7398
7385
  shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
7399
7386
  getValue(props?: Readonly<IColorLineProps> & Readonly<{
7400
- children?: React.ReactNode;
7387
+ children?: React.ReactNode | undefined;
7401
7388
  }>): BABYLON.Color4;
7402
7389
  setColorFromString(colorString: string): void;
7403
7390
  setColor(newColor: BABYLON.Color4): void;
@@ -7558,8 +7545,7 @@ declare module BABYLON.NodeGeometryEditor {
7558
7545
 
7559
7546
  }
7560
7547
  declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
7561
- /// <reference types="react" />
7562
- export type ToggleProps = {
7548
+ export type ToggleProps = {
7563
7549
  toggled: "on" | "mixed" | "off";
7564
7550
  onToggle?: () => void;
7565
7551
  padded?: boolean;
@@ -7627,8 +7613,7 @@ declare module BABYLON.NodeGeometryEditor {
7627
7613
 
7628
7614
  }
7629
7615
  declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
7630
- /// <reference types="react" />
7631
- export type IconProps = {
7616
+ export type IconProps = {
7632
7617
  color?: "dark" | "light";
7633
7618
  icon: string;
7634
7619
  };
@@ -7642,8 +7627,7 @@ declare module BABYLON.NodeGeometryEditor {
7642
7627
 
7643
7628
  }
7644
7629
  declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
7645
- /// <reference types="react" />
7646
- export type ButtonProps = {
7630
+ export type ButtonProps = {
7647
7631
  disabled?: boolean;
7648
7632
  active?: boolean;
7649
7633
  onClick?: () => void;
@@ -7866,8 +7850,7 @@ declare module BABYLON.NodeGeometryEditor {
7866
7850
 
7867
7851
  }
7868
7852
  declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
7869
- /// <reference types="react" />
7870
- /**
7853
+ /**
7871
7854
  * this context is used to pass callbacks to the graph nodes and connections
7872
7855
  */
7873
7856
  export interface IGraphContext {
@@ -8068,7 +8051,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
8068
8051
  syncPositions(): void;
8069
8052
  shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
8070
8053
  getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
8071
- children?: React.ReactNode;
8054
+ children?: React.ReactNode | undefined;
8072
8055
  }>): string;
8073
8056
  componentDidUpdate(): void;
8074
8057
  componentDidMount(): void;
@@ -8103,7 +8086,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
8103
8086
  constructor(props: IColorLineComponentProps);
8104
8087
  shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
8105
8088
  getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
8106
- children?: React.ReactNode;
8089
+ children?: React.ReactNode | undefined;
8107
8090
  }>): BABYLON.Color4;
8108
8091
  setColorFromString(colorString: string): void;
8109
8092
  setColor(newColor: BABYLON.Color4): void;
@@ -8253,8 +8236,7 @@ declare module BABYLON.NodeGeometryEditor {
8253
8236
 
8254
8237
  }
8255
8238
  declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
8256
- /// <reference types="react" />
8257
- export var LayoutContext: import("react").Context<{
8239
+ export var LayoutContext: import("react").Context<{
8258
8240
  /**
8259
8241
  * The layout object
8260
8242
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-geometry-editor",
3
- "version": "7.34.4",
3
+ "version": "7.35.1",
4
4
  "main": "babylon.nodeGeometryEditor.js",
5
5
  "types": "babylon.nodeGeometryEditor.module.d.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^7.34.4"
17
+ "babylonjs": "^7.35.1"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",