@babylonjs/node-editor 7.51.0 → 7.51.2
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.
@@ -2953,32 +2953,30 @@ export interface ITextInputLineComponentProps {
|
|
2953
2953
|
max?: number;
|
2954
2954
|
placeholder?: string;
|
2955
2955
|
unit?: React.ReactNode;
|
2956
|
-
validator?: (
|
2957
|
-
onValidateChangeFailed?: (invalidInput: string) => void;
|
2956
|
+
validator?: (value: string) => boolean;
|
2958
2957
|
multilines?: boolean;
|
2959
2958
|
throttlePropertyChangedNotification?: boolean;
|
2960
2959
|
throttlePropertyChangedNotificationDelay?: number;
|
2961
2960
|
disabled?: boolean;
|
2962
2961
|
}
|
2963
|
-
|
2964
|
-
|
2962
|
+
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
2963
|
+
value: string;
|
2965
2964
|
dragging: boolean;
|
2966
|
-
|
2967
|
-
}
|
2968
|
-
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
|
2965
|
+
}> {
|
2969
2966
|
private _localChange;
|
2970
2967
|
constructor(props: ITextInputLineComponentProps);
|
2971
2968
|
componentWillUnmount(): void;
|
2972
|
-
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState:
|
2969
|
+
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
|
2970
|
+
value: string;
|
2971
|
+
dragging: boolean;
|
2972
|
+
}): boolean;
|
2973
2973
|
raiseOnPropertyChanged(newValue: string, previousValue: string): void;
|
2974
2974
|
getCurrentNumericValue(value: string): number;
|
2975
|
-
|
2976
|
-
updateValue(adjustedInput?: string, updateState?: boolean): void;
|
2975
|
+
updateValue(value: string, valueToValidate?: string): void;
|
2977
2976
|
incrementValue(amount: number): void;
|
2978
2977
|
onKeyDown(event: React.KeyboardEvent): void;
|
2979
2978
|
|
2980
2979
|
}
|
2981
|
-
export {};
|
2982
2980
|
|
2983
2981
|
}
|
2984
2982
|
declare module "@babylonjs/node-editor/lines/targetsProxy" {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/node-editor",
|
3
|
-
"version": "7.51.
|
3
|
+
"version": "7.51.2",
|
4
4
|
"main": "dist/babylon.nodeEditor.max.js",
|
5
5
|
"module": "dist/babylon.nodeEditor.max.js",
|
6
6
|
"esnext": "dist/babylon.nodeEditor.max.js",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"@types/react-dom": ">=16.0.9"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
|
-
"@babylonjs/core": "^7.51.
|
26
|
+
"@babylonjs/core": "^7.51.2",
|
27
27
|
"react": "^17.0.2",
|
28
28
|
"react-dom": "^17.0.2"
|
29
29
|
},
|