babylonjs-node-render-graph-editor 7.40.0 → 7.40.1

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.
@@ -2388,27 +2388,26 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
2388
2388
  max?: number;
2389
2389
  placeholder?: string;
2390
2390
  unit?: React.ReactNode;
2391
- validator?: (input: string) => boolean;
2392
- onValidateChangeFailed?: (invalidInput: string) => void;
2391
+ validator?: (value: string) => boolean;
2393
2392
  multilines?: boolean;
2394
2393
  throttlePropertyChangedNotification?: boolean;
2395
2394
  throttlePropertyChangedNotificationDelay?: number;
2396
2395
  disabled?: boolean;
2397
2396
  }
2398
- interface ITextInputLineComponentState {
2399
- input: string;
2397
+ export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
2398
+ value: string;
2400
2399
  dragging: boolean;
2401
- inputValid: boolean;
2402
- }
2403
- export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
2400
+ }> {
2404
2401
  private _localChange;
2405
2402
  constructor(props: ITextInputLineComponentProps);
2406
2403
  componentWillUnmount(): void;
2407
- shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: ITextInputLineComponentState): boolean;
2404
+ shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
2405
+ value: string;
2406
+ dragging: boolean;
2407
+ }): boolean;
2408
2408
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
2409
2409
  getCurrentNumericValue(value: string): number;
2410
- updateInput(input: string): void;
2411
- updateValue(adjustedInput?: string, updateState?: boolean): void;
2410
+ updateValue(value: string, valueToValidate?: string): void;
2412
2411
  incrementValue(amount: number): void;
2413
2412
  onKeyDown(event: React.KeyboardEvent): void;
2414
2413
  render(): import("react/jsx-runtime").JSX.Element;