babylonjs-node-editor 5.6.0 → 5.8.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.nodeEditor.d.ts
CHANGED
|
@@ -1085,6 +1085,7 @@ declare module BABYLON.NodeEditor {
|
|
|
1085
1085
|
reOrganize(editorData?: BABYLON.Nullable<IEditorData>, isImportingAFrame?: boolean): void;
|
|
1086
1086
|
onPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1087
1087
|
onPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1088
|
+
onWheel(this: any, evt: WheelEvent): void;
|
|
1088
1089
|
resizeColumns(evt: React.PointerEvent<HTMLDivElement>, forLeft?: boolean): void;
|
|
1089
1090
|
buildColumnLayout(): string;
|
|
1090
1091
|
emitNewBlock(blockType: string, targetX: number, targetY: number): void;
|
|
@@ -1776,6 +1777,77 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1776
1777
|
|
|
1777
1778
|
|
|
1778
1779
|
|
|
1780
|
+
}
|
|
1781
|
+
declare module BABYLON.NodeEditor {
|
|
1782
|
+
|
|
1783
|
+
}
|
|
1784
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
1785
|
+
/// <reference types="react" />
|
|
1786
|
+
export type ButtonProps = {
|
|
1787
|
+
disabled?: boolean;
|
|
1788
|
+
active?: boolean;
|
|
1789
|
+
onClick?: () => void;
|
|
1790
|
+
color: "light" | "dark";
|
|
1791
|
+
size: "default" | "small" | "wide";
|
|
1792
|
+
title?: string;
|
|
1793
|
+
};
|
|
1794
|
+
export var Button: React.FC<ButtonProps>;
|
|
1795
|
+
|
|
1796
|
+
|
|
1797
|
+
|
|
1798
|
+
}
|
|
1799
|
+
declare module BABYLON.NodeEditor {
|
|
1800
|
+
|
|
1801
|
+
}
|
|
1802
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
1803
|
+
export function ClassNames(names: any, styleObject: any): string;
|
|
1804
|
+
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
}
|
|
1808
|
+
declare module BABYLON.NodeEditor {
|
|
1809
|
+
|
|
1810
|
+
}
|
|
1811
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
1812
|
+
/// <reference types="react" />
|
|
1813
|
+
export type IconProps = {
|
|
1814
|
+
color?: "dark" | "light";
|
|
1815
|
+
icon: string;
|
|
1816
|
+
};
|
|
1817
|
+
export var Icon: React.FC<IconProps>;
|
|
1818
|
+
|
|
1819
|
+
|
|
1820
|
+
|
|
1821
|
+
}
|
|
1822
|
+
declare module BABYLON.NodeEditor {
|
|
1823
|
+
|
|
1824
|
+
}
|
|
1825
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
1826
|
+
export type LabelProps = {
|
|
1827
|
+
text: string;
|
|
1828
|
+
children?: React.ReactChild;
|
|
1829
|
+
color?: "dark" | "light";
|
|
1830
|
+
};
|
|
1831
|
+
export var Label: React.FC<LabelProps>;
|
|
1832
|
+
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
}
|
|
1836
|
+
declare module BABYLON.NodeEditor {
|
|
1837
|
+
|
|
1838
|
+
}
|
|
1839
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
1840
|
+
/// <reference types="react" />
|
|
1841
|
+
export type ToggleProps = {
|
|
1842
|
+
toggled: "on" | "mixed" | "off";
|
|
1843
|
+
onToggle?: () => void;
|
|
1844
|
+
padded?: boolean;
|
|
1845
|
+
color?: "dark" | "light";
|
|
1846
|
+
};
|
|
1847
|
+
export var Toggle: React.FC<ToggleProps>;
|
|
1848
|
+
|
|
1849
|
+
|
|
1850
|
+
|
|
1779
1851
|
}
|
|
1780
1852
|
declare module BABYLON.NodeEditor {
|
|
1781
1853
|
|
|
@@ -2689,6 +2761,66 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2689
2761
|
|
|
2690
2762
|
|
|
2691
2763
|
|
|
2764
|
+
}
|
|
2765
|
+
declare module BABYLON.NodeEditor {
|
|
2766
|
+
|
|
2767
|
+
}
|
|
2768
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
2769
|
+
/// <reference types="react" />
|
|
2770
|
+
var _default: {
|
|
2771
|
+
title: string;
|
|
2772
|
+
component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.ButtonProps>;
|
|
2773
|
+
};
|
|
2774
|
+
export var Default: any;
|
|
2775
|
+
export var Wide: any;
|
|
2776
|
+
export var Small: any;
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
}
|
|
2781
|
+
declare module BABYLON.NodeEditor {
|
|
2782
|
+
|
|
2783
|
+
}
|
|
2784
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
2785
|
+
/// <reference types="react" />
|
|
2786
|
+
var _default: {
|
|
2787
|
+
title: string;
|
|
2788
|
+
component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.IconProps>;
|
|
2789
|
+
};
|
|
2790
|
+
export var Light: any;
|
|
2791
|
+
export var Dark: any;
|
|
2792
|
+
|
|
2793
|
+
|
|
2794
|
+
|
|
2795
|
+
}
|
|
2796
|
+
declare module BABYLON.NodeEditor {
|
|
2797
|
+
|
|
2798
|
+
}
|
|
2799
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
2800
|
+
/// <reference types="react" />
|
|
2801
|
+
var _default: {
|
|
2802
|
+
title: string;
|
|
2803
|
+
component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.LabelProps>;
|
|
2804
|
+
};
|
|
2805
|
+
export var Default: any;
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
|
|
2809
|
+
}
|
|
2810
|
+
declare module BABYLON.NodeEditor {
|
|
2811
|
+
|
|
2812
|
+
}
|
|
2813
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
2814
|
+
/// <reference types="react" />
|
|
2815
|
+
var _default: {
|
|
2816
|
+
title: string;
|
|
2817
|
+
component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.ToggleProps>;
|
|
2818
|
+
};
|
|
2819
|
+
export var Default: any;
|
|
2820
|
+
export var Padded: any;
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
|
|
2692
2824
|
}
|
|
2693
2825
|
declare module BABYLON.NodeEditor {
|
|
2694
2826
|
|