babylonjs-gui-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.
- package/babylon.guiEditor.d.ts +9 -10
- package/babylon.guiEditor.js +1 -1
- package/babylon.guiEditor.js.map +1 -1
- package/babylon.guiEditor.max.js +37 -46
- package/babylon.guiEditor.module.d.ts +18 -21
- package/package.json +3 -3
package/babylon.guiEditor.d.ts
CHANGED
|
@@ -2879,27 +2879,26 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2879
2879
|
max?: number;
|
|
2880
2880
|
placeholder?: string;
|
|
2881
2881
|
unit?: React.ReactNode;
|
|
2882
|
-
validator?: (
|
|
2883
|
-
onValidateChangeFailed?: (invalidInput: string) => void;
|
|
2882
|
+
validator?: (value: string) => boolean;
|
|
2884
2883
|
multilines?: boolean;
|
|
2885
2884
|
throttlePropertyChangedNotification?: boolean;
|
|
2886
2885
|
throttlePropertyChangedNotificationDelay?: number;
|
|
2887
2886
|
disabled?: boolean;
|
|
2888
2887
|
}
|
|
2889
|
-
|
|
2890
|
-
|
|
2888
|
+
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
|
2889
|
+
value: string;
|
|
2891
2890
|
dragging: boolean;
|
|
2892
|
-
|
|
2893
|
-
}
|
|
2894
|
-
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
|
|
2891
|
+
}> {
|
|
2895
2892
|
private _localChange;
|
|
2896
2893
|
constructor(props: ITextInputLineComponentProps);
|
|
2897
2894
|
componentWillUnmount(): void;
|
|
2898
|
-
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState:
|
|
2895
|
+
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
|
|
2896
|
+
value: string;
|
|
2897
|
+
dragging: boolean;
|
|
2898
|
+
}): boolean;
|
|
2899
2899
|
raiseOnPropertyChanged(newValue: string, previousValue: string): void;
|
|
2900
2900
|
getCurrentNumericValue(value: string): number;
|
|
2901
|
-
|
|
2902
|
-
updateValue(adjustedInput?: string, updateState?: boolean): void;
|
|
2901
|
+
updateValue(value: string, valueToValidate?: string): void;
|
|
2903
2902
|
incrementValue(amount: number): void;
|
|
2904
2903
|
onKeyDown(event: React.KeyboardEvent): void;
|
|
2905
2904
|
render(): import("react/jsx-runtime").JSX.Element;
|