@babylonjs/inspector 7.51.0 → 7.51.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.
@@ -6312,32 +6312,30 @@ export interface ITextInputLineComponentProps {
6312
6312
  max?: number;
6313
6313
  placeholder?: string;
6314
6314
  unit?: React.ReactNode;
6315
- validator?: (input: string) => boolean;
6316
- onValidateChangeFailed?: (invalidInput: string) => void;
6315
+ validator?: (value: string) => boolean;
6317
6316
  multilines?: boolean;
6318
6317
  throttlePropertyChangedNotification?: boolean;
6319
6318
  throttlePropertyChangedNotificationDelay?: number;
6320
6319
  disabled?: boolean;
6321
6320
  }
6322
- interface ITextInputLineComponentState {
6323
- input: string;
6321
+ export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
6322
+ value: string;
6324
6323
  dragging: boolean;
6325
- inputValid: boolean;
6326
- }
6327
- export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
6324
+ }> {
6328
6325
  private _localChange;
6329
6326
  constructor(props: ITextInputLineComponentProps);
6330
6327
  componentWillUnmount(): void;
6331
- shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: ITextInputLineComponentState): boolean;
6328
+ shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
6329
+ value: string;
6330
+ dragging: boolean;
6331
+ }): boolean;
6332
6332
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
6333
6333
  getCurrentNumericValue(value: string): number;
6334
- updateInput(input: string): void;
6335
- updateValue(adjustedInput?: string, updateState?: boolean): void;
6334
+ updateValue(value: string, valueToValidate?: string): void;
6336
6335
  incrementValue(amount: number): void;
6337
6336
  onKeyDown(event: React.KeyboardEvent): void;
6338
6337
 
6339
6338
  }
6340
- export {};
6341
6339
 
6342
6340
  }
6343
6341
  declare module "@babylonjs/inspector/lines/targetsProxy" {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "7.51.0",
3
+ "version": "7.51.1",
4
4
  "module": "dist/babylon.inspector.bundle.max.js",
5
5
  "main": "dist/babylon.inspector.bundle.max.js",
6
6
  "typings": "dist/babylon.inspector.module.d.ts",
@@ -32,12 +32,12 @@
32
32
  "@types/react-dom": ">=16.0.9"
33
33
  },
34
34
  "devDependencies": {
35
- "@babylonjs/core": "^7.51.0",
36
- "@babylonjs/gui": "^7.51.0",
37
- "@babylonjs/gui-editor": "^7.51.0",
38
- "@babylonjs/loaders": "^7.51.0",
39
- "@babylonjs/materials": "^7.51.0",
40
- "@babylonjs/serializers": "^7.51.0",
35
+ "@babylonjs/core": "^7.51.1",
36
+ "@babylonjs/gui": "^7.51.1",
37
+ "@babylonjs/gui-editor": "^7.51.1",
38
+ "@babylonjs/loaders": "^7.51.1",
39
+ "@babylonjs/materials": "^7.51.1",
40
+ "@babylonjs/serializers": "^7.51.1",
41
41
  "@lts/gui": "1.0.0",
42
42
  "react": "^17.0.2",
43
43
  "react-dom": "^17.0.2"