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