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.
@@ -2658,27 +2658,26 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
2658
2658
  max?: number;
2659
2659
  placeholder?: string;
2660
2660
  unit?: React.ReactNode;
2661
- validator?: (input: string) => boolean;
2662
- onValidateChangeFailed?: (invalidInput: string) => void;
2661
+ validator?: (value: string) => boolean;
2663
2662
  multilines?: boolean;
2664
2663
  throttlePropertyChangedNotification?: boolean;
2665
2664
  throttlePropertyChangedNotificationDelay?: number;
2666
2665
  disabled?: boolean;
2667
2666
  }
2668
- interface ITextInputLineComponentState {
2669
- input: string;
2667
+ export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
2668
+ value: string;
2670
2669
  dragging: boolean;
2671
- inputValid: boolean;
2672
- }
2673
- export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
2670
+ }> {
2674
2671
  private _localChange;
2675
2672
  constructor(props: ITextInputLineComponentProps);
2676
2673
  componentWillUnmount(): void;
2677
- shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: ITextInputLineComponentState): boolean;
2674
+ shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
2675
+ value: string;
2676
+ dragging: boolean;
2677
+ }): boolean;
2678
2678
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
2679
2679
  getCurrentNumericValue(value: string): number;
2680
- updateInput(input: string): void;
2681
- updateValue(adjustedInput?: string, updateState?: boolean): void;
2680
+ updateValue(value: string, valueToValidate?: string): void;
2682
2681
  incrementValue(amount: number): void;
2683
2682
  onKeyDown(event: React.KeyboardEvent): void;
2684
2683
  render(): import("react/jsx-runtime").JSX.Element;