babylonjs-node-editor 5.25.0 → 5.26.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.
@@ -1012,6 +1012,76 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1012
1012
 
1013
1013
 
1014
1014
 
1015
+ }
1016
+ declare module BABYLON.NodeEditor {
1017
+
1018
+ }
1019
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1020
+ export interface ICommandBarComponentProps {
1021
+ onSaveButtonClicked?: () => void;
1022
+ onSaveToSnippetButtonClicked?: () => void;
1023
+ onLoadFromSnippetButtonClicked?: () => void;
1024
+ onHelpButtonClicked?: () => void;
1025
+ onGiveFeedbackButtonClicked?: () => void;
1026
+ onSelectButtonClicked?: () => void;
1027
+ onPanButtonClicked?: () => void;
1028
+ onZoomButtonClicked?: () => void;
1029
+ onFitButtonClicked?: () => void;
1030
+ }
1031
+ export var CommandBarComponent: React.FC<ICommandBarComponentProps>;
1032
+
1033
+
1034
+
1035
+ }
1036
+ declare module BABYLON.NodeEditor {
1037
+
1038
+ }
1039
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1040
+ export interface ICommandButtonComponentProps {
1041
+ tooltip: string;
1042
+ shortcut?: string;
1043
+ icon: string;
1044
+ iconLabel?: string;
1045
+ isActive: boolean;
1046
+ onClick: () => void;
1047
+ disabled?: boolean;
1048
+ }
1049
+ export var CommandButtonComponent: React.FC<ICommandButtonComponentProps>;
1050
+
1051
+
1052
+
1053
+ }
1054
+ declare module BABYLON.NodeEditor {
1055
+
1056
+ }
1057
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1058
+ interface ICommandDropdownComponentProps {
1059
+ icon?: string;
1060
+ tooltip: string;
1061
+ defaultValue?: string;
1062
+ items: {
1063
+ label: string;
1064
+ icon?: string;
1065
+ fileButton?: boolean;
1066
+ onClick?: () => void;
1067
+ onCheck?: (value: boolean) => void;
1068
+ storeKey?: string;
1069
+ isActive?: boolean;
1070
+ defaultValue?: boolean | string;
1071
+ subItems?: string[];
1072
+ }[];
1073
+ toRight?: boolean;
1074
+ }
1075
+ export class CommandDropdownComponent extends React.Component<ICommandDropdownComponentProps, {
1076
+ isExpanded: boolean;
1077
+ activeState: string;
1078
+ }> {
1079
+ constructor(props: ICommandDropdownComponentProps);
1080
+ render(): JSX.Element;
1081
+ }
1082
+
1083
+
1084
+
1015
1085
  }
1016
1086
  declare module BABYLON.NodeEditor {
1017
1087
 
@@ -1036,6 +1106,7 @@ declare module BABYLON.NodeEditor {
1036
1106
  }
1037
1107
  declare module BABYLON.NodeEditor.SharedUIComponents {
1038
1108
  export function ClassNames(names: any, styleObject: any): string;
1109
+ export function JoinClassNames(styleObject: any, ...names: string[]): string;
1039
1110
 
1040
1111
 
1041
1112
 
@@ -1067,6 +1138,29 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1067
1138
 
1068
1139
 
1069
1140
 
1141
+ }
1142
+ declare module BABYLON.NodeEditor {
1143
+
1144
+ }
1145
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1146
+ export interface IFileButtonLineComponentProps {
1147
+ label: string;
1148
+ onClick: (file: File) => void;
1149
+ accept: string;
1150
+ icon?: string;
1151
+ iconLabel?: string;
1152
+ }
1153
+ export class FileButtonLineComponent extends React.Component<IFileButtonLineComponentProps> {
1154
+ private static _IDGenerator;
1155
+ private _id;
1156
+ private _uploadInputRef;
1157
+ constructor(props: IFileButtonLineComponentProps);
1158
+ onChange(evt: any): void;
1159
+ render(): JSX.Element;
1160
+ }
1161
+
1162
+
1163
+
1070
1164
  }
1071
1165
  declare module BABYLON.NodeEditor {
1072
1166
 
@@ -1702,6 +1796,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1702
1796
  defaultIfNull?: number;
1703
1797
  fromFontDropdown?: boolean;
1704
1798
  valueProp?: number;
1799
+ fallbackValue?: number;
1705
1800
  }
1706
1801
  export class OptionsLineComponent extends React.Component<IOptionsLineComponentProps, {
1707
1802
  value: number | string;
@@ -2756,6 +2851,32 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
2756
2851
 
2757
2852
 
2758
2853
 
2854
+ }
2855
+ declare module BABYLON.NodeEditor {
2856
+
2857
+ }
2858
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2859
+ /// <reference types="react" />
2860
+ var _default: {
2861
+ component: ICommandBarComponentProps>;
2862
+ };
2863
+ export var Default: {};
2864
+
2865
+
2866
+
2867
+ }
2868
+ declare module BABYLON.NodeEditor {
2869
+
2870
+ }
2871
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2872
+ /// <reference types="react" />
2873
+ var _default: {
2874
+ component: ICommandButtonComponentProps>;
2875
+ };
2876
+ export var Default: {};
2877
+
2878
+
2879
+
2759
2880
  }
2760
2881
  declare module BABYLON.NodeEditor {
2761
2882
 
@@ -2801,6 +2922,18 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
2801
2922
 
2802
2923
 
2803
2924
 
2925
+ }
2926
+ declare module BABYLON.NodeEditor {
2927
+
2928
+ }
2929
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2930
+ var _default: {
2931
+ component: typeof BABYLON.NodeEditor.SharedUIComponents.FileButtonLineComponent;
2932
+ };
2933
+ export var Default: {};
2934
+
2935
+
2936
+
2804
2937
  }
2805
2938
  declare module BABYLON.NodeEditor {
2806
2939