babylonjs-gui-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.
@@ -38612,7 +38612,7 @@ const Icons = {
38612
38612
  },
38613
38613
  size40: {
38614
38614
  on: _imgs_toggleOnIcon_40px_svg__WEBPACK_IMPORTED_MODULE_8__,
38615
- mixed: "",
38615
+ mixed: "", // unneeded
38616
38616
  off: _imgs_toggleOffIcon_40px_svg__WEBPACK_IMPORTED_MODULE_9__,
38617
38617
  },
38618
38618
  };
@@ -185,7 +185,6 @@ export class GUIEditor {
185
185
 
186
186
  }
187
187
  declare module "babylonjs-gui-editor/globalState" {
188
- /// <reference types="react" />
189
188
  import { Nullable } from "babylonjs/types";
190
189
  import { Observable } from "babylonjs/Misc/observable";
191
190
  import { LogEntry } from "babylonjs-gui-editor/components/log/logComponent";
@@ -329,7 +328,7 @@ export interface IWorkbenchComponentProps {
329
328
  }
330
329
  export enum ConstraintDirection {
331
330
  NONE = 0,
332
- X = 2,
331
+ X = 2,// Horizontal constraint
333
332
  Y = 3
334
333
  }
335
334
  export class WorkbenchComponent extends React.Component<IWorkbenchComponentProps> {
@@ -1921,7 +1920,6 @@ export {};
1921
1920
 
1922
1921
  }
1923
1922
  declare module "babylonjs-gui-editor/split/splitter" {
1924
- /// <reference types="react" />
1925
1923
  import { ControlledSize } from "babylonjs-gui-editor/split/splitContext";
1926
1924
  /**
1927
1925
  * Splitter component properties
@@ -1965,7 +1963,6 @@ export const Splitter: React.FC<ISplitterProps>;
1965
1963
 
1966
1964
  }
1967
1965
  declare module "babylonjs-gui-editor/split/splitContext" {
1968
- /// <reference types="react" />
1969
1966
  export enum ControlledSize {
1970
1967
  First = 0,
1971
1968
  Second = 1
@@ -2011,7 +2008,6 @@ export const SplitContext: import("react").Context<ISplitContext>;
2011
2008
 
2012
2009
  }
2013
2010
  declare module "babylonjs-gui-editor/split/splitContainer" {
2014
- /// <reference types="react" />
2015
2011
  import { SplitDirection } from "babylonjs-gui-editor/split/splitContext";
2016
2012
  /**
2017
2013
  * Split container properties
@@ -2132,8 +2128,8 @@ export class StateManager {
2132
2128
  type: string;
2133
2129
  targetX: number;
2134
2130
  targetY: number;
2135
- needRepositioning?: boolean | undefined;
2136
- smartAdd?: boolean | undefined;
2131
+ needRepositioning?: boolean;
2132
+ smartAdd?: boolean;
2137
2133
  }>;
2138
2134
  onHighlightNodeObservable: Observable<{
2139
2135
  data: any;
@@ -2280,7 +2276,6 @@ export class NodeLedger {
2280
2276
 
2281
2277
  }
2282
2278
  declare module "babylonjs-gui-editor/nodeGraphSystem/graphNode" {
2283
- /// <reference types="react" />
2284
2279
  import { Nullable } from "babylonjs/types";
2285
2280
  import { GraphCanvasComponent } from "babylonjs-gui-editor/nodeGraphSystem/graphCanvas";
2286
2281
  import { NodePort } from "babylonjs-gui-editor/nodeGraphSystem/nodePort";
@@ -3630,7 +3625,7 @@ export class ColorPickerLine extends React.Component<IColorPickerLineProps, ICol
3630
3625
  syncPositions(): void;
3631
3626
  shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
3632
3627
  getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
3633
- children?: React.ReactNode;
3628
+ children?: React.ReactNode | undefined;
3634
3629
  }>): string;
3635
3630
  componentDidUpdate(): void;
3636
3631
  componentDidMount(): void;
@@ -3665,7 +3660,7 @@ export class ColorLine extends React.Component<IColorLineProps, IColorLineCompon
3665
3660
  constructor(props: IColorLineProps);
3666
3661
  shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
3667
3662
  getValue(props?: Readonly<IColorLineProps> & Readonly<{
3668
- children?: React.ReactNode;
3663
+ children?: React.ReactNode | undefined;
3669
3664
  }>): Color4;
3670
3665
  setColorFromString(colorString: string): void;
3671
3666
  setColor(newColor: Color4): void;
@@ -3799,7 +3794,6 @@ export function JoinClassNames(styleObject: any, ...names: string[]): string;
3799
3794
 
3800
3795
  }
3801
3796
  declare module "babylonjs-gui-editor/components/Toggle" {
3802
- /// <reference types="react" />
3803
3797
  export type ToggleProps = {
3804
3798
  toggled: "on" | "mixed" | "off";
3805
3799
  onToggle?: () => void;
@@ -3846,7 +3840,6 @@ export const Label: React.FC<LabelProps>;
3846
3840
 
3847
3841
  }
3848
3842
  declare module "babylonjs-gui-editor/components/Icon" {
3849
- /// <reference types="react" />
3850
3843
  export type IconProps = {
3851
3844
  color?: "dark" | "light";
3852
3845
  icon: string;
@@ -3855,7 +3848,6 @@ export const Icon: React.FC<IconProps>;
3855
3848
 
3856
3849
  }
3857
3850
  declare module "babylonjs-gui-editor/components/Button" {
3858
- /// <reference types="react" />
3859
3851
  export type ButtonProps = {
3860
3852
  disabled?: boolean;
3861
3853
  active?: boolean;
@@ -4043,7 +4035,6 @@ export const GraphLine: FC<IGraphLineProps>;
4043
4035
 
4044
4036
  }
4045
4037
  declare module "babylonjs-gui-editor/components/reactGraphSystem/GraphContextManager" {
4046
- /// <reference types="react" />
4047
4038
  /**
4048
4039
  * this context is used to pass callbacks to the graph nodes and connections
4049
4040
  */
@@ -4218,7 +4209,7 @@ export class ColorPickerLineComponent extends React.Component<IColorPickerLineCo
4218
4209
  syncPositions(): void;
4219
4210
  shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
4220
4211
  getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
4221
- children?: React.ReactNode;
4212
+ children?: React.ReactNode | undefined;
4222
4213
  }>): string;
4223
4214
  componentDidUpdate(): void;
4224
4215
  componentDidMount(): void;
@@ -4253,7 +4244,7 @@ export class ColorLineComponent extends React.Component<IColorLineComponentProps
4253
4244
  constructor(props: IColorLineComponentProps);
4254
4245
  shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
4255
4246
  getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
4256
- children?: React.ReactNode;
4247
+ children?: React.ReactNode | undefined;
4257
4248
  }>): Color4;
4258
4249
  setColorFromString(colorString: string): void;
4259
4250
  setColor(newColor: Color4): void;
@@ -4388,7 +4379,6 @@ export enum ResizeDirections {
4388
4379
 
4389
4380
  }
4390
4381
  declare module "babylonjs-gui-editor/components/layout/LayoutContext" {
4391
- /// <reference types="react" />
4392
4382
  import { Layout } from "babylonjs-gui-editor/components/layout/types";
4393
4383
  export const LayoutContext: import("react").Context<{
4394
4384
  /**
@@ -5044,7 +5034,6 @@ declare module BABYLON {
5044
5034
  }
5045
5035
 
5046
5036
 
5047
- /// <reference types="react" />
5048
5037
  export enum DragOverLocation {
5049
5038
  ABOVE = 0,
5050
5039
  BELOW = 1,
@@ -5162,7 +5151,7 @@ declare module BABYLON {
5162
5151
  }
5163
5152
  export enum ConstraintDirection {
5164
5153
  NONE = 0,
5165
- X = 2,
5154
+ X = 2,// Horizontal constraint
5166
5155
  Y = 3
5167
5156
  }
5168
5157
  export class WorkbenchComponent extends React.Component<IWorkbenchComponentProps> {
@@ -6536,8 +6525,7 @@ declare module BABYLON {
6536
6525
 
6537
6526
  }
6538
6527
  declare module BABYLON.GuiEditor.SharedUIComponents {
6539
- /// <reference types="react" />
6540
- /**
6528
+ /**
6541
6529
  * Splitter component properties
6542
6530
  */
6543
6531
  export interface ISplitterProps {
@@ -6585,8 +6573,7 @@ declare module BABYLON {
6585
6573
 
6586
6574
  }
6587
6575
  declare module BABYLON.GuiEditor.SharedUIComponents {
6588
- /// <reference types="react" />
6589
- export enum ControlledSize {
6576
+ export enum ControlledSize {
6590
6577
  First = 0,
6591
6578
  Second = 1
6592
6579
  }
@@ -6637,8 +6624,7 @@ declare module BABYLON {
6637
6624
 
6638
6625
  }
6639
6626
  declare module BABYLON.GuiEditor.SharedUIComponents {
6640
- /// <reference types="react" />
6641
- /**
6627
+ /**
6642
6628
  * Split container properties
6643
6629
  */
6644
6630
  export interface ISplitContainerProps {
@@ -6754,8 +6740,8 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
6754
6740
  type: string;
6755
6741
  targetX: number;
6756
6742
  targetY: number;
6757
- needRepositioning?: boolean | undefined;
6758
- smartAdd?: boolean | undefined;
6743
+ needRepositioning?: boolean;
6744
+ smartAdd?: boolean;
6759
6745
  }>;
6760
6746
  onHighlightNodeObservable: Observable<{
6761
6747
  data: any;
@@ -6919,8 +6905,7 @@ declare module BABYLON {
6919
6905
 
6920
6906
  }
6921
6907
  declare module BABYLON.GuiEditor.SharedUIComponents {
6922
- /// <reference types="react" />
6923
- export class GraphNode {
6908
+ export class GraphNode {
6924
6909
  content: BABYLON.GuiEditor.SharedUIComponents.INodeData;
6925
6910
  private _visual;
6926
6911
  private _headerContainer;
@@ -8377,7 +8362,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
8377
8362
  syncPositions(): void;
8378
8363
  shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
8379
8364
  getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
8380
- children?: React.ReactNode;
8365
+ children?: React.ReactNode | undefined;
8381
8366
  }>): string;
8382
8367
  componentDidUpdate(): void;
8383
8368
  componentDidMount(): void;
@@ -8412,7 +8397,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
8412
8397
  constructor(props: IColorLineProps);
8413
8398
  shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
8414
8399
  getValue(props?: Readonly<IColorLineProps> & Readonly<{
8415
- children?: React.ReactNode;
8400
+ children?: React.ReactNode | undefined;
8416
8401
  }>): Color4;
8417
8402
  setColorFromString(colorString: string): void;
8418
8403
  setColor(newColor: Color4): void;
@@ -8573,8 +8558,7 @@ declare module BABYLON {
8573
8558
 
8574
8559
  }
8575
8560
  declare module BABYLON.GuiEditor.SharedUIComponents {
8576
- /// <reference types="react" />
8577
- export type ToggleProps = {
8561
+ export type ToggleProps = {
8578
8562
  toggled: "on" | "mixed" | "off";
8579
8563
  onToggle?: () => void;
8580
8564
  padded?: boolean;
@@ -8642,8 +8626,7 @@ declare module BABYLON {
8642
8626
 
8643
8627
  }
8644
8628
  declare module BABYLON.GuiEditor.SharedUIComponents {
8645
- /// <reference types="react" />
8646
- export type IconProps = {
8629
+ export type IconProps = {
8647
8630
  color?: "dark" | "light";
8648
8631
  icon: string;
8649
8632
  };
@@ -8657,8 +8640,7 @@ declare module BABYLON {
8657
8640
 
8658
8641
  }
8659
8642
  declare module BABYLON.GuiEditor.SharedUIComponents {
8660
- /// <reference types="react" />
8661
- export type ButtonProps = {
8643
+ export type ButtonProps = {
8662
8644
  disabled?: boolean;
8663
8645
  active?: boolean;
8664
8646
  onClick?: () => void;
@@ -8881,8 +8863,7 @@ declare module BABYLON {
8881
8863
 
8882
8864
  }
8883
8865
  declare module BABYLON.GuiEditor.SharedUIComponents {
8884
- /// <reference types="react" />
8885
- /**
8866
+ /**
8886
8867
  * this context is used to pass callbacks to the graph nodes and connections
8887
8868
  */
8888
8869
  export interface IGraphContext {
@@ -9083,7 +9064,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
9083
9064
  syncPositions(): void;
9084
9065
  shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
9085
9066
  getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
9086
- children?: React.ReactNode;
9067
+ children?: React.ReactNode | undefined;
9087
9068
  }>): string;
9088
9069
  componentDidUpdate(): void;
9089
9070
  componentDidMount(): void;
@@ -9118,7 +9099,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
9118
9099
  constructor(props: IColorLineComponentProps);
9119
9100
  shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
9120
9101
  getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
9121
- children?: React.ReactNode;
9102
+ children?: React.ReactNode | undefined;
9122
9103
  }>): Color4;
9123
9104
  setColorFromString(colorString: string): void;
9124
9105
  setColor(newColor: Color4): void;
@@ -9268,8 +9249,7 @@ declare module BABYLON {
9268
9249
 
9269
9250
  }
9270
9251
  declare module BABYLON.GuiEditor.SharedUIComponents {
9271
- /// <reference types="react" />
9272
- export var LayoutContext: import("react").Context<{
9252
+ export var LayoutContext: import("react").Context<{
9273
9253
  /**
9274
9254
  * The layout object
9275
9255
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui-editor",
3
- "version": "7.34.3",
3
+ "version": "7.35.0",
4
4
  "main": "babylon.guiEditor.max.js",
5
5
  "types": "babylon.guiEditor.module.d.ts",
6
6
  "files": [
@@ -14,8 +14,8 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^7.34.3",
18
- "babylonjs-gui": "^7.34.3"
17
+ "babylonjs": "^7.35.0",
18
+ "babylonjs-gui": "^7.35.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",