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.
- package/babylon.guiEditor.d.ts +16 -26
- package/babylon.guiEditor.js.map +1 -1
- package/babylon.guiEditor.max.js +1 -1
- package/babylon.guiEditor.module.d.ts +23 -43
- package/package.json +3 -3
package/babylon.guiEditor.d.ts
CHANGED
|
@@ -146,7 +146,6 @@ declare module BABYLON {
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
|
|
149
|
-
/// <reference types="react" />
|
|
150
149
|
export enum DragOverLocation {
|
|
151
150
|
ABOVE = 0,
|
|
152
151
|
BELOW = 1,
|
|
@@ -264,7 +263,7 @@ declare module BABYLON {
|
|
|
264
263
|
}
|
|
265
264
|
export enum ConstraintDirection {
|
|
266
265
|
NONE = 0,
|
|
267
|
-
X = 2
|
|
266
|
+
X = 2,// Horizontal constraint
|
|
268
267
|
Y = 3
|
|
269
268
|
}
|
|
270
269
|
export class WorkbenchComponent extends React.Component<IWorkbenchComponentProps> {
|
|
@@ -1638,8 +1637,7 @@ declare module BABYLON {
|
|
|
1638
1637
|
|
|
1639
1638
|
}
|
|
1640
1639
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1641
|
-
|
|
1642
|
-
/**
|
|
1640
|
+
/**
|
|
1643
1641
|
* Splitter component properties
|
|
1644
1642
|
*/
|
|
1645
1643
|
export interface ISplitterProps {
|
|
@@ -1687,8 +1685,7 @@ declare module BABYLON {
|
|
|
1687
1685
|
|
|
1688
1686
|
}
|
|
1689
1687
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1690
|
-
|
|
1691
|
-
export enum ControlledSize {
|
|
1688
|
+
export enum ControlledSize {
|
|
1692
1689
|
First = 0,
|
|
1693
1690
|
Second = 1
|
|
1694
1691
|
}
|
|
@@ -1739,8 +1736,7 @@ declare module BABYLON {
|
|
|
1739
1736
|
|
|
1740
1737
|
}
|
|
1741
1738
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1742
|
-
|
|
1743
|
-
/**
|
|
1739
|
+
/**
|
|
1744
1740
|
* Split container properties
|
|
1745
1741
|
*/
|
|
1746
1742
|
export interface ISplitContainerProps {
|
|
@@ -1856,8 +1852,8 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1856
1852
|
type: string;
|
|
1857
1853
|
targetX: number;
|
|
1858
1854
|
targetY: number;
|
|
1859
|
-
needRepositioning?: boolean
|
|
1860
|
-
smartAdd?: boolean
|
|
1855
|
+
needRepositioning?: boolean;
|
|
1856
|
+
smartAdd?: boolean;
|
|
1861
1857
|
}>;
|
|
1862
1858
|
onHighlightNodeObservable: Observable<{
|
|
1863
1859
|
data: any;
|
|
@@ -2021,8 +2017,7 @@ declare module BABYLON {
|
|
|
2021
2017
|
|
|
2022
2018
|
}
|
|
2023
2019
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2024
|
-
|
|
2025
|
-
export class GraphNode {
|
|
2020
|
+
export class GraphNode {
|
|
2026
2021
|
content: BABYLON.GuiEditor.SharedUIComponents.INodeData;
|
|
2027
2022
|
private _visual;
|
|
2028
2023
|
private _headerContainer;
|
|
@@ -3479,7 +3474,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
3479
3474
|
syncPositions(): void;
|
|
3480
3475
|
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
3481
3476
|
getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
|
|
3482
|
-
children?: React.ReactNode;
|
|
3477
|
+
children?: React.ReactNode | undefined;
|
|
3483
3478
|
}>): string;
|
|
3484
3479
|
componentDidUpdate(): void;
|
|
3485
3480
|
componentDidMount(): void;
|
|
@@ -3514,7 +3509,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
3514
3509
|
constructor(props: IColorLineProps);
|
|
3515
3510
|
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
3516
3511
|
getValue(props?: Readonly<IColorLineProps> & Readonly<{
|
|
3517
|
-
children?: React.ReactNode;
|
|
3512
|
+
children?: React.ReactNode | undefined;
|
|
3518
3513
|
}>): Color4;
|
|
3519
3514
|
setColorFromString(colorString: string): void;
|
|
3520
3515
|
setColor(newColor: Color4): void;
|
|
@@ -3675,8 +3670,7 @@ declare module BABYLON {
|
|
|
3675
3670
|
|
|
3676
3671
|
}
|
|
3677
3672
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
3678
|
-
|
|
3679
|
-
export type ToggleProps = {
|
|
3673
|
+
export type ToggleProps = {
|
|
3680
3674
|
toggled: "on" | "mixed" | "off";
|
|
3681
3675
|
onToggle?: () => void;
|
|
3682
3676
|
padded?: boolean;
|
|
@@ -3744,8 +3738,7 @@ declare module BABYLON {
|
|
|
3744
3738
|
|
|
3745
3739
|
}
|
|
3746
3740
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
3747
|
-
|
|
3748
|
-
export type IconProps = {
|
|
3741
|
+
export type IconProps = {
|
|
3749
3742
|
color?: "dark" | "light";
|
|
3750
3743
|
icon: string;
|
|
3751
3744
|
};
|
|
@@ -3759,8 +3752,7 @@ declare module BABYLON {
|
|
|
3759
3752
|
|
|
3760
3753
|
}
|
|
3761
3754
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
3762
|
-
|
|
3763
|
-
export type ButtonProps = {
|
|
3755
|
+
export type ButtonProps = {
|
|
3764
3756
|
disabled?: boolean;
|
|
3765
3757
|
active?: boolean;
|
|
3766
3758
|
onClick?: () => void;
|
|
@@ -3983,8 +3975,7 @@ declare module BABYLON {
|
|
|
3983
3975
|
|
|
3984
3976
|
}
|
|
3985
3977
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
3986
|
-
|
|
3987
|
-
/**
|
|
3978
|
+
/**
|
|
3988
3979
|
* this context is used to pass callbacks to the graph nodes and connections
|
|
3989
3980
|
*/
|
|
3990
3981
|
export interface IGraphContext {
|
|
@@ -4185,7 +4176,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
4185
4176
|
syncPositions(): void;
|
|
4186
4177
|
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
4187
4178
|
getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
|
|
4188
|
-
children?: React.ReactNode;
|
|
4179
|
+
children?: React.ReactNode | undefined;
|
|
4189
4180
|
}>): string;
|
|
4190
4181
|
componentDidUpdate(): void;
|
|
4191
4182
|
componentDidMount(): void;
|
|
@@ -4220,7 +4211,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
4220
4211
|
constructor(props: IColorLineComponentProps);
|
|
4221
4212
|
shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
|
|
4222
4213
|
getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
|
|
4223
|
-
children?: React.ReactNode;
|
|
4214
|
+
children?: React.ReactNode | undefined;
|
|
4224
4215
|
}>): Color4;
|
|
4225
4216
|
setColorFromString(colorString: string): void;
|
|
4226
4217
|
setColor(newColor: Color4): void;
|
|
@@ -4370,8 +4361,7 @@ declare module BABYLON {
|
|
|
4370
4361
|
|
|
4371
4362
|
}
|
|
4372
4363
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
4373
|
-
|
|
4374
|
-
export var LayoutContext: import("react").Context<{
|
|
4364
|
+
export var LayoutContext: import("react").Context<{
|
|
4375
4365
|
/**
|
|
4376
4366
|
* The layout object
|
|
4377
4367
|
*/
|